Home
last modified time | relevance | path

Searched refs:sec (Results 1 – 25 of 25) 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()
53 sec->value = NULL; in reiserfs_security_init()
59 error = security_old_inode_init_security(inode, dir, qstr, &sec->name, in reiserfs_security_init()
60 &sec->value, &sec->length); in reiserfs_security_init()
65 sec->name = NULL; in reiserfs_security_init()
66 sec->value = NULL; in reiserfs_security_init()
67 sec->length = 0; in reiserfs_security_init()
71 if (sec->length && reiserfs_xattrs_initialized(inode->i_sb)) { in reiserfs_security_init()
73 reiserfs_xattr_nblocks(inode, sec->length); in reiserfs_security_init()
[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/exfat/
Dfatent.c14 static int exfat_mirror_bh(struct super_block *sb, sector_t sec, in exfat_mirror_bh() argument
23 sec2 = sec - sbi->FAT1_start_sector + sbi->FAT2_start_sector; in exfat_mirror_bh()
42 sector_t sec; in __exfat_ent_get() local
45 sec = FAT_ENT_OFFSET_SECTOR(sb, loc); in __exfat_ent_get()
48 bh = sb_bread(sb, sec); in __exfat_ent_get()
66 sector_t sec; in exfat_ent_set() local
70 sec = FAT_ENT_OFFSET_SECTOR(sb, loc); in exfat_ent_set()
73 bh = sb_bread(sb, sec); in exfat_ent_set()
80 exfat_mirror_bh(sb, sec, bh); in exfat_ent_set()
Ddir.c682 static int exfat_dir_readahead(struct super_block *sb, sector_t sec) in exfat_dir_readahead() argument
695 if (sec < sbi->data_start_sector) { in exfat_dir_readahead()
697 (unsigned long long)sec, sbi->data_start_sector); in exfat_dir_readahead()
702 if ((sec - sbi->data_start_sector) & (ra_count - 1)) in exfat_dir_readahead()
705 bh = sb_find_get_block(sb, sec); in exfat_dir_readahead()
710 sb_breadahead(sb, (sector_t)(sec + i)); in exfat_dir_readahead()
722 sector_t sec; in exfat_get_dentry() local
729 if (exfat_find_location(sb, p_dir, entry, &sec, &off)) in exfat_get_dentry()
734 exfat_dir_readahead(sb, sec); in exfat_get_dentry()
736 *bh = sb_bread(sb, sec); in exfat_get_dentry()
[all …]
Dexfat_fs.h366 sector_t sec) in exfat_is_last_sector_in_cluster() argument
368 return ((sec - sbi->data_start_sector + 1) & in exfat_is_last_sector_in_cluster()
380 sector_t sec) in exfat_sector_to_cluster() argument
382 return ((sec - sbi->data_start_sector) >> sbi->sect_per_clus_bits) + in exfat_sector_to_cluster()
/fs/ceph/
Dmetric.h55 __le32 sec; member
67 __le32 sec; member
79 __le32 sec; member
Dmetric.c58 read->sec = cpu_to_le32(ts.tv_sec); in ceph_mdsc_send_metrics()
70 write->sec = cpu_to_le32(ts.tv_sec); in ceph_mdsc_send_metrics()
82 meta->sec = cpu_to_le32(ts.tv_sec); in ceph_mdsc_send_metrics()
/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.c622 struct iso_supplementary_descriptor *sec = NULL; in isofs_fill_super() local
696 sec = (struct iso_supplementary_descriptor *)vdp; in isofs_fill_super()
697 if (sec->escape[0] == 0x25 && sec->escape[1] == 0x2f) { in isofs_fill_super()
699 if (sec->escape[2] == 0x40) in isofs_fill_super()
701 else if (sec->escape[2] == 0x43) in isofs_fill_super()
703 else if (sec->escape[2] == 0x45) in isofs_fill_super()
713 sec = NULL; in isofs_fill_super()
755 pri = (struct iso_primary_descriptor *) sec; in isofs_fill_super()
830 pri = (struct iso_primary_descriptor *) sec; in isofs_fill_super()
/fs/cifs/
Dnetmisc.c975 time64_t sec, days; in cnvrtDosUnixTm() local
984 sec = 2 * st->TwoSeconds; in cnvrtDosUnixTm()
986 if ((sec > 59) || (min > 59)) in cnvrtDosUnixTm()
987 cifs_dbg(VFS, "Invalid time min %d sec %lld\n", min, sec); in cnvrtDosUnixTm()
988 sec += (min * 60); in cnvrtDosUnixTm()
989 sec += 60 * 60 * st->Hours; in cnvrtDosUnixTm()
1017 sec += 24 * 60 * 60 * days; in cnvrtDosUnixTm()
1019 ts.tv_sec = sec + offset; in cnvrtDosUnixTm()
/fs/hfs/
Dhfs_fs.h286 #define sb_bread512(sb, sec, data) ({ \ argument
292 __start = (loff_t)(sec) << HFS_SECTOR_SIZE_BITS;\
/fs/jffs2/
Dos-linux.h35 #define ITIME(sec) ((struct timespec64){sec, 0}) argument
/fs/btrfs/
Dioctl.c58 __u64 sec; member
2777 subvol_info->ctime.sec = btrfs_stack_timespec_sec(&root_item->ctime); in btrfs_ioctl_get_subvol_info()
2781 subvol_info->otime.sec = btrfs_stack_timespec_sec(&root_item->otime); in btrfs_ioctl_get_subvol_info()
2785 subvol_info->stime.sec = btrfs_stack_timespec_sec(&root_item->stime); in btrfs_ioctl_get_subvol_info()
2789 subvol_info->rtime.sec = btrfs_stack_timespec_sec(&root_item->rtime); in btrfs_ioctl_get_subvol_info()
4515 sa->rtime.sec = ct.tv_sec; in _btrfs_ioctl_set_received_subvol()
4534 btrfs_set_stack_timespec_sec(&root_item->stime, sa->stime.sec); in _btrfs_ioctl_set_received_subvol()
4536 btrfs_set_stack_timespec_sec(&root_item->rtime, sa->rtime.sec); in _btrfs_ioctl_set_received_subvol()
4583 args64->stime.sec = args32->stime.sec; in btrfs_ioctl_set_received_subvol_32()
4585 args64->rtime.sec = args32->rtime.sec; in btrfs_ioctl_set_received_subvol_32()
[all …]
Dctree.h1704 BTRFS_SETGET_FUNCS(timespec_sec, struct btrfs_timespec, sec, 64);
1706 BTRFS_SETGET_STACK_FUNCS(stack_timespec_sec, struct btrfs_timespec, sec, 64);
/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/
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.h611 #define XFS_FSS_TO_BB(mp,sec) ((sec) << (mp)->m_sectbb_log) argument
/fs/fuse/
Ddir.c86 static u64 time_to_jiffies(u64 sec, u32 nsec) in time_to_jiffies() argument
88 if (sec || nsec) { in time_to_jiffies()
90 sec, in time_to_jiffies()
/fs/ocfs2/
Ddlmglue.c2150 u64 sec = clamp_t(time64_t, spec->tv_sec, 0, 0x3ffffffffull); in ocfs2_pack_timespec() local
2153 res = (sec << OCFS2_SEC_SHIFT) | (nsec & OCFS2_NSEC_MASK); in ocfs2_pack_timespec()
/fs/nfs/
Dnfs4xdr.c4069 __u64 sec; in xdr_decode_nfstime4() local
4071 p = xdr_decode_hyper(p, &sec); in xdr_decode_nfstime4()
4072 t-> tv_sec = sec; in xdr_decode_nfstime4()