/fs/reiserfs/ |
D | xattr_security.c | 45 struct reiserfs_security_handle *sec) in reiserfs_security_init() argument 50 sec->name = NULL; in reiserfs_security_init() 56 error = security_old_inode_init_security(inode, dir, qstr, &sec->name, in reiserfs_security_init() 57 &sec->value, &sec->length); in reiserfs_security_init() 62 sec->name = NULL; in reiserfs_security_init() 63 sec->value = NULL; in reiserfs_security_init() 64 sec->length = 0; in reiserfs_security_init() 68 if (sec->length && reiserfs_xattrs_initialized(inode->i_sb)) { in reiserfs_security_init() 70 reiserfs_xattr_nblocks(inode, sec->length); in reiserfs_security_init() 80 struct reiserfs_security_handle *sec) in reiserfs_security_write() argument [all …]
|
D | xattr.h | 36 struct reiserfs_security_handle *sec); 39 struct reiserfs_security_handle *sec); 40 void reiserfs_security_free(struct reiserfs_security_handle *sec); 102 struct reiserfs_security_handle *sec) in reiserfs_security_init() argument 109 struct reiserfs_security_handle *sec) in reiserfs_security_write() argument 113 static inline void reiserfs_security_free(struct reiserfs_security_handle *sec) in reiserfs_security_free() argument
|
/fs/hpfs/ |
D | alloc.c | 11 static void hpfs_claim_alloc(struct super_block *s, secno sec) in hpfs_claim_alloc() argument 16 hpfs_error(s, "free count underflow, allocating sector %08x", sec); in hpfs_claim_alloc() 24 static void hpfs_claim_free(struct super_block *s, secno sec) in hpfs_claim_free() argument 29 hpfs_error(s, "free count overflow, freeing sector %08x", sec); in hpfs_claim_free() 37 static void hpfs_claim_dirband_alloc(struct super_block *s, secno sec) in hpfs_claim_dirband_alloc() argument 42 hpfs_error(s, "dirband free count underflow, allocating sector %08x", sec); in hpfs_claim_dirband_alloc() 50 static void hpfs_claim_dirband_free(struct super_block *s, secno sec) in hpfs_claim_dirband_free() argument 55 hpfs_error(s, "dirband free count overflow, freeing sector %08x", sec); in hpfs_claim_dirband_free() 68 static int chk_if_allocated(struct super_block *s, secno sec, char *msg) in chk_if_allocated() argument 72 if (!(bmp = hpfs_map_bitmap(s, sec >> 14, &qbh, "chk"))) goto fail; in chk_if_allocated() [all …]
|
D | anode.c | 14 struct bplus_header *btree, unsigned sec, in hpfs_bplus_lookup() argument 25 if (le32_to_cpu(btree->u.internal[i].file_secno) > sec) { in hpfs_bplus_lookup() 32 hpfs_error(s, "sector %08x not found in internal anode %08x", sec, a); in hpfs_bplus_lookup() 37 if (le32_to_cpu(btree->u.external[i].file_secno) <= sec && in hpfs_bplus_lookup() 38 … le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) > sec) { in hpfs_bplus_lookup() 39 …a = le32_to_cpu(btree->u.external[i].disk_secno) + sec - le32_to_cpu(btree->u.external[i].file_sec… in hpfs_bplus_lookup() 53 hpfs_error(s, "sector %08x not found in external anode %08x", sec, a); in hpfs_bplus_lookup() 329 static secno anode_lookup(struct super_block *s, anode_secno a, unsigned sec) in anode_lookup() argument 334 return hpfs_bplus_lookup(s, NULL, &anode->btree, sec, bh); in anode_lookup() 342 secno sec; in hpfs_ea_read() local [all …]
|
D | buffer.c | 13 secno hpfs_search_hotfix_map(struct super_block *s, secno sec) in hpfs_search_hotfix_map() argument 18 if (sbi->hotfix_from[i] == sec) { in hpfs_search_hotfix_map() 22 return sec; in hpfs_search_hotfix_map() 25 unsigned hpfs_search_hotfix_map_for_range(struct super_block *s, secno sec, unsigned n) in hpfs_search_hotfix_map_for_range() argument 30 if (sbi->hotfix_from[i] >= sec && sbi->hotfix_from[i] < sec + n) { in hpfs_search_hotfix_map_for_range() 31 n = sbi->hotfix_from[i] - sec; in hpfs_search_hotfix_map_for_range()
|
D | map.c | 19 secno sec; in hpfs_map_bitmap() local 26 sec = le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[bmp_block]); in hpfs_map_bitmap() 27 if (!sec || sec > hpfs_sb(s)->sb_fs_size-4) { in hpfs_map_bitmap() 28 hpfs_error(s, "invalid bitmap block pointer %08x -> %08x at %s", bmp_block, sec, id); in hpfs_map_bitmap() 31 ret = hpfs_map_4sectors(s, sec, qbh, 4); in hpfs_map_bitmap()
|
D | hpfs_fn.h | 224 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/ |
D | hfs_fs.h | 249 #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/ |
D | stats.c | 55 unsigned int sec = jifs / HZ, msec = (jifs % HZ)*1000/HZ; in nfsd_proc_show() local 56 seq_printf(seq, " %u.%03u", sec, msec); in nfsd_proc_show()
|
D | nfs4xdr.c | 247 u64 sec; in nfsd4_decode_time() local 250 p = xdr_decode_hyper(p, &sec); in nfsd4_decode_time() 251 tv->tv_sec = sec; in nfsd4_decode_time()
|
/fs/isofs/ |
D | inode.c | 573 struct iso_supplementary_descriptor *sec = NULL; in isofs_fill_super() local 641 sec = (struct iso_supplementary_descriptor *)vdp; in isofs_fill_super() 642 if (sec->escape[0] == 0x25 && sec->escape[1] == 0x2f) { in isofs_fill_super() 644 if (sec->escape[2] == 0x40) in isofs_fill_super() 646 else if (sec->escape[2] == 0x43) in isofs_fill_super() 648 else if (sec->escape[2] == 0x45) in isofs_fill_super() 658 sec = NULL; in isofs_fill_super() 700 pri = (struct iso_primary_descriptor *) sec; in isofs_fill_super() 771 pri = (struct iso_primary_descriptor *) sec; in isofs_fill_super()
|
/fs/cifs/ |
D | netmisc.c | 965 int sec, min, days, month, year; in cnvrtDosUnixTm() local 973 sec = 2 * st->TwoSeconds; in cnvrtDosUnixTm() 975 if ((sec > 59) || (min > 59)) in cnvrtDosUnixTm() 976 cifs_dbg(VFS, "illegal time min %d sec %d\n", min, sec); in cnvrtDosUnixTm() 977 sec += (min * 60); in cnvrtDosUnixTm() 978 sec += 60 * 60 * st->Hours; in cnvrtDosUnixTm() 1006 sec += 24 * 60 * 60 * days; in cnvrtDosUnixTm() 1008 ts.tv_sec = sec + offset; in cnvrtDosUnixTm()
|
/fs/jffs2/ |
D | os-linux.h | 34 #define ITIME(sec) ((struct timespec){sec, 0}) argument
|
/fs/fat/ |
D | dir.c | 53 int sec; in fat_dir_readahead() local 64 for (sec = 0; sec < sbi->sec_per_clus; sec++) in fat_dir_readahead() 65 sb_breadahead(sb, phys + sec); in fat_dir_readahead()
|
/fs/ |
D | select.c | 273 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/btrfs/ |
D | ioctl.c | 72 __u64 sec; member 5154 sa->rtime.sec = ct.tv_sec; in _btrfs_ioctl_set_received_subvol() 5168 btrfs_set_stack_timespec_sec(&root_item->stime, sa->stime.sec); in _btrfs_ioctl_set_received_subvol() 5170 btrfs_set_stack_timespec_sec(&root_item->rtime, sa->rtime.sec); in _btrfs_ioctl_set_received_subvol() 5225 args64->stime.sec = args32->stime.sec; in btrfs_ioctl_set_received_subvol_32() 5227 args64->rtime.sec = args32->rtime.sec; in btrfs_ioctl_set_received_subvol_32() 5238 args32->stime.sec = args64->stime.sec; in btrfs_ioctl_set_received_subvol_32() 5240 args32->rtime.sec = args64->rtime.sec; in btrfs_ioctl_set_received_subvol_32()
|
D | ctree.h | 1691 BTRFS_SETGET_FUNCS(timespec_sec, struct btrfs_timespec, sec, 64); 1693 BTRFS_SETGET_STACK_FUNCS(stack_timespec_sec, struct btrfs_timespec, sec, 64);
|
/fs/xfs/libxfs/ |
D | xfs_format.h | 582 #define XFS_FSS_TO_BB(mp,sec) ((sec) << (mp)->m_sectbb_log) argument
|
/fs/fuse/ |
D | dir.c | 66 static u64 time_to_jiffies(u64 sec, u32 nsec) in time_to_jiffies() argument 68 if (sec || nsec) { in time_to_jiffies() 70 sec, in time_to_jiffies()
|
/fs/ocfs2/ |
D | dlmglue.c | 2089 u64 sec = spec->tv_sec; in ocfs2_pack_timespec() local 2092 res = (sec << OCFS2_SEC_SHIFT) | (nsec & OCFS2_NSEC_MASK); in ocfs2_pack_timespec()
|
/fs/nfs/ |
D | nfs4xdr.c | 4067 uint64_t sec; in decode_attr_time() local 4073 p = xdr_decode_hyper(p, &sec); in decode_attr_time() 4075 time->tv_sec = (time_t)sec; in decode_attr_time()
|