Home
last modified time | relevance | path

Searched refs:sec (Results 1 – 20 of 20) sorted by relevance

/fs/reiserfs/
Dxattr_security.c47 struct reiserfs_security_handle *sec) in reiserfs_security_init() argument
52 sec->name = NULL; in reiserfs_security_init()
58 error = security_old_inode_init_security(inode, dir, qstr, &sec->name, in reiserfs_security_init()
59 &sec->value, &sec->length); in reiserfs_security_init()
64 sec->name = NULL; in reiserfs_security_init()
65 sec->value = NULL; in reiserfs_security_init()
66 sec->length = 0; in reiserfs_security_init()
70 if (sec->length && reiserfs_xattrs_initialized(inode->i_sb)) { in reiserfs_security_init()
72 reiserfs_xattr_nblocks(inode, sec->length); in reiserfs_security_init()
82 struct reiserfs_security_handle *sec) in reiserfs_security_write() argument
[all …]
Dxattr.h37 struct reiserfs_security_handle *sec);
40 struct reiserfs_security_handle *sec);
41 void reiserfs_security_free(struct reiserfs_security_handle *sec);
103 struct reiserfs_security_handle *sec) in reiserfs_security_init() argument
110 struct reiserfs_security_handle *sec) in reiserfs_security_write() argument
114 static inline void reiserfs_security_free(struct reiserfs_security_handle *sec) in reiserfs_security_free() argument
/fs/hpfs/
Dalloc.c12 static void hpfs_claim_alloc(struct super_block *s, secno sec) in hpfs_claim_alloc() argument
17 hpfs_error(s, "free count underflow, allocating sector %08x", sec); in hpfs_claim_alloc()
25 static void hpfs_claim_free(struct super_block *s, secno sec) in hpfs_claim_free() argument
30 hpfs_error(s, "free count overflow, freeing sector %08x", sec); in hpfs_claim_free()
38 static void hpfs_claim_dirband_alloc(struct super_block *s, secno sec) in hpfs_claim_dirband_alloc() argument
43 hpfs_error(s, "dirband free count underflow, allocating sector %08x", sec); in hpfs_claim_dirband_alloc()
51 static void hpfs_claim_dirband_free(struct super_block *s, secno sec) in hpfs_claim_dirband_free() argument
56 hpfs_error(s, "dirband free count overflow, freeing sector %08x", sec); in hpfs_claim_dirband_free()
69 static int chk_if_allocated(struct super_block *s, secno sec, char *msg) in chk_if_allocated() argument
73 if (!(bmp = hpfs_map_bitmap(s, sec >> 14, &qbh, "chk"))) goto fail; in chk_if_allocated()
[all …]
Danode.c15 struct bplus_header *btree, unsigned sec, in hpfs_bplus_lookup() argument
26 if (le32_to_cpu(btree->u.internal[i].file_secno) > sec) { in hpfs_bplus_lookup()
33 hpfs_error(s, "sector %08x not found in internal anode %08x", sec, a); in hpfs_bplus_lookup()
38 if (le32_to_cpu(btree->u.external[i].file_secno) <= sec && in hpfs_bplus_lookup()
39 … le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) > sec) { in hpfs_bplus_lookup()
40 …a = le32_to_cpu(btree->u.external[i].disk_secno) + sec - le32_to_cpu(btree->u.external[i].file_sec… in hpfs_bplus_lookup()
54 hpfs_error(s, "sector %08x not found in external anode %08x", sec, a); in hpfs_bplus_lookup()
330 static secno anode_lookup(struct super_block *s, anode_secno a, unsigned sec) in anode_lookup() argument
335 return hpfs_bplus_lookup(s, NULL, &anode->btree, sec, bh); in anode_lookup()
343 secno sec; in hpfs_ea_read() local
[all …]
Dbuffer.c14 secno hpfs_search_hotfix_map(struct super_block *s, secno sec) in hpfs_search_hotfix_map() argument
19 if (sbi->hotfix_from[i] == sec) { in hpfs_search_hotfix_map()
23 return sec; in hpfs_search_hotfix_map()
26 unsigned hpfs_search_hotfix_map_for_range(struct super_block *s, secno sec, unsigned n) in hpfs_search_hotfix_map_for_range() argument
31 if (sbi->hotfix_from[i] >= sec && sbi->hotfix_from[i] < sec + n) { in hpfs_search_hotfix_map_for_range()
32 n = sbi->hotfix_from[i] - sec; in hpfs_search_hotfix_map_for_range()
Dmap.c20 secno sec; in hpfs_map_bitmap() local
27 sec = le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[bmp_block]); in hpfs_map_bitmap()
28 if (!sec || sec > hpfs_sb(s)->sb_fs_size-4) { in hpfs_map_bitmap()
29 hpfs_error(s, "invalid bitmap block pointer %08x -> %08x at %s", bmp_block, sec, id); in hpfs_map_bitmap()
32 ret = hpfs_map_4sectors(s, sec, qbh, 4); in hpfs_map_bitmap()
Dhpfs_fn.h224 secno hpfs_search_hotfix_map(struct super_block *s, secno sec);
225 unsigned hpfs_search_hotfix_map_for_range(struct super_block *s, secno sec, unsigned n);
/fs/hfs/
Dhfs_fs.h249 #define __hfs_u_to_mtime(sec) cpu_to_be32(sec + 2082844800U - sys_tz.tz_minuteswest * 60) argument
250 #define __hfs_m_to_utime(sec) (be32_to_cpu(sec) - 2082844800U + sys_tz.tz_minuteswest * 60) argument
270 #define sb_bread512(sb, sec, data) ({ \ argument
276 __start = (loff_t)(sec) << HFS_SECTOR_SIZE_BITS;\
/fs/nfsd/
Dstats.c56 unsigned int sec = jifs / HZ, msec = (jifs % HZ)*1000/HZ; in nfsd_proc_show() local
57 seq_printf(seq, " %u.%03u", sec, msec); in nfsd_proc_show()
/fs/isofs/
Dinode.c626 struct iso_supplementary_descriptor *sec = NULL; in isofs_fill_super() local
700 sec = (struct iso_supplementary_descriptor *)vdp; in isofs_fill_super()
701 if (sec->escape[0] == 0x25 && sec->escape[1] == 0x2f) { in isofs_fill_super()
703 if (sec->escape[2] == 0x40) in isofs_fill_super()
705 else if (sec->escape[2] == 0x43) in isofs_fill_super()
707 else if (sec->escape[2] == 0x45) in isofs_fill_super()
717 sec = NULL; in isofs_fill_super()
759 pri = (struct iso_primary_descriptor *) sec; in isofs_fill_super()
834 pri = (struct iso_primary_descriptor *) sec; in isofs_fill_super()
/fs/cifs/
Dnetmisc.c948 time64_t sec, days; in cnvrtDosUnixTm() local
957 sec = 2 * st->TwoSeconds; in cnvrtDosUnixTm()
959 if ((sec > 59) || (min > 59)) in cnvrtDosUnixTm()
960 cifs_dbg(VFS, "illegal time min %d sec %lld\n", min, sec); in cnvrtDosUnixTm()
961 sec += (min * 60); in cnvrtDosUnixTm()
962 sec += 60 * 60 * st->Hours; in cnvrtDosUnixTm()
990 sec += 24 * 60 * 60 * days; in cnvrtDosUnixTm()
992 ts.tv_sec = sec + offset; in cnvrtDosUnixTm()
/fs/jffs2/
Dos-linux.h35 #define ITIME(sec) ((struct timespec64){sec, 0}) argument
/fs/fat/
Ddir.c55 int sec; in fat_dir_readahead() local
66 for (sec = 0; sec < sbi->sec_per_clus; sec++) in fat_dir_readahead()
67 sb_breadahead(sb, phys + sec); in fat_dir_readahead()
/fs/btrfs/
Dioctl.c57 __u64 sec; member
2676 subvol_info->ctime.sec = btrfs_stack_timespec_sec(&root_item->ctime); in btrfs_ioctl_get_subvol_info()
2680 subvol_info->otime.sec = btrfs_stack_timespec_sec(&root_item->otime); in btrfs_ioctl_get_subvol_info()
2684 subvol_info->stime.sec = btrfs_stack_timespec_sec(&root_item->stime); in btrfs_ioctl_get_subvol_info()
2688 subvol_info->rtime.sec = btrfs_stack_timespec_sec(&root_item->rtime); in btrfs_ioctl_get_subvol_info()
5047 sa->rtime.sec = ct.tv_sec; in _btrfs_ioctl_set_received_subvol()
5066 btrfs_set_stack_timespec_sec(&root_item->stime, sa->stime.sec); in _btrfs_ioctl_set_received_subvol()
5068 btrfs_set_stack_timespec_sec(&root_item->rtime, sa->rtime.sec); in _btrfs_ioctl_set_received_subvol()
5115 args64->stime.sec = args32->stime.sec; in btrfs_ioctl_set_received_subvol_32()
5117 args64->rtime.sec = args32->rtime.sec; in btrfs_ioctl_set_received_subvol_32()
[all …]
Dctree.h1582 BTRFS_SETGET_FUNCS(timespec_sec, struct btrfs_timespec, sec, 64);
1584 BTRFS_SETGET_STACK_FUNCS(stack_timespec_sec, struct btrfs_timespec, sec, 64);
/fs/
Dselect.c273 int poll_select_set_timeout(struct timespec64 *to, time64_t sec, long nsec) in poll_select_set_timeout() argument
275 struct timespec64 ts = {.tv_sec = sec, .tv_nsec = nsec}; in poll_select_set_timeout()
281 if (!sec && !nsec) { in poll_select_set_timeout()
/fs/xfs/libxfs/
Dxfs_format.h574 #define XFS_FSS_TO_BB(mp,sec) ((sec) << (mp)->m_sectbb_log) argument
/fs/fuse/
Ddir.c85 static u64 time_to_jiffies(u64 sec, u32 nsec) in time_to_jiffies() argument
87 if (sec || nsec) { in time_to_jiffies()
89 sec, in time_to_jiffies()
/fs/ocfs2/
Ddlmglue.c2144 u64 sec = clamp_t(time64_t, spec->tv_sec, 0, 0x3ffffffffull); in ocfs2_pack_timespec() local
2147 res = (sec << OCFS2_SEC_SHIFT) | (nsec & OCFS2_NSEC_MASK); in ocfs2_pack_timespec()
/fs/nfs/
Dnfs4xdr.c4070 __u64 sec; in xdr_decode_nfstime4() local
4072 p = xdr_decode_hyper(p, &sec); in xdr_decode_nfstime4()
4073 t-> tv_sec = (time_t)sec; in xdr_decode_nfstime4()