Searched defs:sec (Results 1 - 16 of 16) sorted by relevance

/fs/nfsd/
H A Dstats.c55 unsigned int sec = jifs / HZ, msec = (jifs % HZ)*1000/HZ; local
56 seq_printf(seq, " %u.%03u", sec, msec);
H A Dnfs4xdr.c270 u64 sec; local
365 p = xdr_decode_hyper(p, &sec);
366 iattr->ia_atime.tv_sec = (time_t)sec;
389 p = xdr_decode_hyper(p, &sec);
390 iattr->ia_mtime.tv_sec = sec;
/fs/reiserfs/
H A Dxattr.h40 struct reiserfs_security_handle *sec);
43 struct reiserfs_security_handle *sec);
44 void reiserfs_security_free(struct reiserfs_security_handle *sec);
109 struct reiserfs_security_handle *sec)
116 struct reiserfs_security_handle *sec)
120 static inline void reiserfs_security_free(struct reiserfs_security_handle *sec) argument
106 reiserfs_security_init(struct inode *dir, struct inode *inode, const struct qstr *qstr, struct reiserfs_security_handle *sec) argument
114 reiserfs_security_write(struct reiserfs_transaction_handle *th, struct inode *inode, struct reiserfs_security_handle *sec) argument
H A Dxattr_security.c58 struct reiserfs_security_handle *sec)
63 sec->name = NULL;
69 error = security_old_inode_init_security(inode, dir, qstr, &sec->name,
70 &sec->value, &sec->length);
75 sec->name = NULL;
76 sec->value = NULL;
77 sec->length = 0;
81 if (sec->length && reiserfs_xattrs_initialized(inode->i_sb)) {
83 reiserfs_xattr_nblocks(inode, sec
56 reiserfs_security_init(struct inode *dir, struct inode *inode, const struct qstr *qstr, struct reiserfs_security_handle *sec) argument
91 reiserfs_security_write(struct reiserfs_transaction_handle *th, struct inode *inode, struct reiserfs_security_handle *sec) argument
107 reiserfs_security_free(struct reiserfs_security_handle *sec) argument
[all...]
/fs/cifs/
H A Dnetmisc.c963 int sec, min, days, month, year; local
971 sec = 2 * st->TwoSeconds;
973 if ((sec > 59) || (min > 59))
974 cifs_dbg(VFS, "illegal time min %d sec %d\n", min, sec);
975 sec += (min * 60);
976 sec += 60 * 60 * st->Hours;
1004 sec += 24 * 60 * 60 * days;
1006 ts.tv_sec = sec + offset;
1008 /* cifs_dbg(FYI, "sec afte
[all...]
/fs/hpfs/
H A Dalloc.c11 static void hpfs_claim_alloc(struct super_block *s, secno sec) argument
16 hpfs_error(s, "free count underflow, allocating sector %08x", sec);
24 static void hpfs_claim_free(struct super_block *s, secno sec) argument
29 hpfs_error(s, "free count overflow, freeing sector %08x", sec);
37 static void hpfs_claim_dirband_alloc(struct super_block *s, secno sec) argument
42 hpfs_error(s, "dirband free count underflow, allocating sector %08x", sec);
50 static void hpfs_claim_dirband_free(struct super_block *s, secno sec) argument
55 hpfs_error(s, "dirband free count overflow, freeing sector %08x", sec);
68 static int chk_if_allocated(struct super_block *s, secno sec, char *msg) argument
72 if (!(bmp = hpfs_map_bitmap(s, sec >> 1
204 secno sec; local
279 secno sec; local
295 hpfs_alloc_if_possible(struct super_block *s, secno sec) argument
314 hpfs_free_sectors(struct super_block *s, secno sec, unsigned n) argument
[all...]
H A Danode.c14 struct bplus_header *btree, unsigned sec,
25 if (le32_to_cpu(btree->u.internal[i].file_secno) > sec) {
32 hpfs_error(s, "sector %08x not found in internal anode %08x", sec, a);
37 if (le32_to_cpu(btree->u.external[i].file_secno) <= sec &&
38 le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) > sec) {
39 a = le32_to_cpu(btree->u.external[i].disk_secno) + sec - le32_to_cpu(btree->u.external[i].file_secno);
53 hpfs_error(s, "sector %08x not found in external anode %08x", sec, a);
329 static secno anode_lookup(struct super_block *s, anode_secno a, unsigned sec) argument
334 return hpfs_bplus_lookup(s, NULL, &anode->btree, sec, bh);
342 secno sec; local
13 hpfs_bplus_lookup(struct super_block *s, struct inode *inode, struct bplus_header *btree, unsigned sec, struct buffer_head *bh) argument
365 secno sec; local
[all...]
H A Dmap.c19 secno sec; local
26 sec = le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[bmp_block]);
27 if (!sec || sec > hpfs_sb(s)->sb_fs_size-4) {
28 hpfs_error(s, "invalid bitmap block pointer %08x -> %08x at %s", bmp_block, sec, id);
31 ret = hpfs_map_4sectors(s, sec, qbh, 4);
/fs/fat/
H A Ddir.c57 int sec; local
68 for (sec = 0; sec < sbi->sec_per_clus; sec++)
69 sb_breadahead(sb, phys + sec);
/fs/fuse/
H A Ddir.c76 static u64 time_to_jiffies(unsigned long sec, unsigned long nsec) argument
78 if (sec || nsec) {
79 struct timespec ts = {sec, nsec};
/fs/
H A Dselect.c264 * @sec: seconds (from user space)
270 * Returns -EINVAL if sec/nsec are not normalized. Otherwise 0.
272 int poll_select_set_timeout(struct timespec *to, long sec, long nsec) argument
274 struct timespec ts = {.tv_sec = sec, .tv_nsec = nsec};
280 if (!sec && !nsec) {
/fs/isofs/
H A Dinode.c576 struct iso_supplementary_descriptor *sec = NULL; local
644 sec = (struct iso_supplementary_descriptor *)vdp;
645 if (sec->escape[0] == 0x25 && sec->escape[1] == 0x2f) {
647 if (sec->escape[2] == 0x40)
649 else if (sec->escape[2] == 0x43)
651 else if (sec->escape[2] == 0x45)
661 sec = NULL;
698 pri = (struct iso_primary_descriptor *) sec;
769 pri = (struct iso_primary_descriptor *) sec;
[all...]
/fs/ocfs2/
H A Ddlmglue.c2016 u64 sec = spec->tv_sec; local
2019 res = (sec << OCFS2_SEC_SHIFT) | (nsec & OCFS2_NSEC_MASK);
/fs/btrfs/
H A Dioctl.c70 __u64 sec; member in struct:btrfs_ioctl_timespec_32
4875 sa->rtime.sec = ct.tv_sec;
4889 btrfs_set_stack_timespec_sec(&root_item->stime, sa->stime.sec);
4891 btrfs_set_stack_timespec_sec(&root_item->rtime, sa->rtime.sec);
4946 args64->stime.sec = args32->stime.sec;
4948 args64->rtime.sec = args32->rtime.sec;
4959 args32->stime.sec = args64->stime.sec;
[all...]
H A Dctree.h701 __le64 sec; member in struct:btrfs_timespec
2429 BTRFS_SETGET_FUNCS(timespec_sec, struct btrfs_timespec, sec, 64);
2431 BTRFS_SETGET_STACK_FUNCS(stack_timespec_sec, struct btrfs_timespec, sec, 64);
/fs/nfs/
H A Dnfs4xdr.c4042 uint64_t sec; local
4048 p = xdr_decode_hyper(p, &sec);
4050 time->tv_sec = (time_t)sec;

Completed in 333 milliseconds