Home
last modified time | relevance | path

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

/fs/reiserfs/
Dxattr_security.c58 struct reiserfs_security_handle *sec) in reiserfs_security_init() argument
63 sec->name = NULL; in reiserfs_security_init()
69 error = security_old_inode_init_security(inode, dir, qstr, &sec->name, in reiserfs_security_init()
70 &sec->value, &sec->length); in reiserfs_security_init()
75 sec->name = NULL; in reiserfs_security_init()
76 sec->value = NULL; in reiserfs_security_init()
77 sec->length = 0; in reiserfs_security_init()
81 if (sec->length && reiserfs_xattrs_initialized(inode->i_sb)) { in reiserfs_security_init()
83 reiserfs_xattr_nblocks(inode, sec->length); in reiserfs_security_init()
93 struct reiserfs_security_handle *sec) in reiserfs_security_write() argument
[all …]
Dxattr.h41 struct reiserfs_security_handle *sec);
44 struct reiserfs_security_handle *sec);
45 void reiserfs_security_free(struct reiserfs_security_handle *sec);
109 struct reiserfs_security_handle *sec) in reiserfs_security_init() argument
116 struct reiserfs_security_handle *sec) in reiserfs_security_write() argument
120 static inline void reiserfs_security_free(struct reiserfs_security_handle *sec) in reiserfs_security_free() argument
/fs/hpfs/
Dalloc.c16 static int chk_if_allocated(struct super_block *s, secno sec, char *msg) in chk_if_allocated() argument
20 if (!(bmp = hpfs_map_bitmap(s, sec >> 14, &qbh, "chk"))) goto fail; in chk_if_allocated()
21 if ((le32_to_cpu(bmp[(sec & 0x3fff) >> 5]) >> (sec & 0x1f)) & 1) { in chk_if_allocated()
22 hpfs_error(s, "sector '%s' - %08x not allocated in bitmap", msg, sec); in chk_if_allocated()
26 …if (sec >= hpfs_sb(s)->sb_dirband_start && sec < hpfs_sb(s)->sb_dirband_start + hpfs_sb(s)->sb_dir… in chk_if_allocated()
27 unsigned ssec = (sec - hpfs_sb(s)->sb_dirband_start) / 4; in chk_if_allocated()
30 hpfs_error(s, "sector '%s' - %08x not allocated in directory bitmap", msg, sec); in chk_if_allocated()
152 secno sec; in hpfs_alloc_sector() local
164 if ((sec = alloc_in_bmp(s, near, n, f_p ? forward : forward/4))) goto ret; in hpfs_alloc_sector()
178 if (near_bmp+i < n_bmps && ((sec = alloc_in_bmp(s, (near_bmp+i) << 14, n, forward)))) { in hpfs_alloc_sector()
[all …]
Danode.c14 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 …]
Dmap.c19 secno sec; in hpfs_map_bitmap() local
24 sec = le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[bmp_block]); in hpfs_map_bitmap()
25 if (!sec || sec > hpfs_sb(s)->sb_fs_size-4) { in hpfs_map_bitmap()
26 hpfs_error(s, "invalid bitmap block pointer %08x -> %08x at %s", bmp_block, sec, id); in hpfs_map_bitmap()
29 return hpfs_map_4sectors(s, sec, qbh, 4); in hpfs_map_bitmap()
/fs/hfs/
Dhfs_fs.h257 #define __hfs_u_to_mtime(sec) cpu_to_be32(sec + 2082844800U - sys_tz.tz_minuteswest * 60) argument
258 #define __hfs_m_to_utime(sec) (be32_to_cpu(sec) - 2082844800U + sys_tz.tz_minuteswest * 60) argument
278 #define sb_bread512(sb, sec, data) ({ \ argument
284 __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.c612 struct iso_supplementary_descriptor *sec = NULL; in isofs_fill_super() local
680 sec = (struct iso_supplementary_descriptor *)vdp; in isofs_fill_super()
681 if (sec->escape[0] == 0x25 && sec->escape[1] == 0x2f) { in isofs_fill_super()
683 if (sec->escape[2] == 0x40) in isofs_fill_super()
685 else if (sec->escape[2] == 0x43) in isofs_fill_super()
687 else if (sec->escape[2] == 0x45) in isofs_fill_super()
697 sec = NULL; in isofs_fill_super()
734 pri = (struct iso_primary_descriptor *) sec; in isofs_fill_super()
814 pri = (struct iso_primary_descriptor *) sec; in isofs_fill_super()
/fs/cifs/
Dnetmisc.c948 int sec, min, days, month, year; in cnvrtDosUnixTm() local
956 sec = 2 * st->TwoSeconds; in cnvrtDosUnixTm()
958 if ((sec > 59) || (min > 59)) in cnvrtDosUnixTm()
959 cifs_dbg(VFS, "illegal time min %d sec %d\n", min, sec); in cnvrtDosUnixTm()
960 sec += (min * 60); in cnvrtDosUnixTm()
961 sec += 60 * 60 * st->Hours; in cnvrtDosUnixTm()
989 sec += 24 * 60 * 60 * days; in cnvrtDosUnixTm()
991 ts.tv_sec = sec + offset; in cnvrtDosUnixTm()
DCHANGES114 create. Update cifs.upcall version to handle new Kerberos sec flags
188 gids on the server do not match those of the client. Make "sec=none"
236 work to Windows servers (mount with option "sec=ntlmv2").
259 Allow override of global cifs security flags on mount via "sec=" option(s).
DREADME573 sec Security mode. Allowed values are:
/fs/jffs2/
Dos-linux.h34 #define ITIME(sec) ((struct timespec){sec, 0}) argument
/fs/fat/
Ddir.c57 int sec; in fat_dir_readahead() local
68 for (sec = 0; sec < sbi->sec_per_clus; sec++) in fat_dir_readahead()
69 sb_breadahead(sb, phys + sec); in fat_dir_readahead()
/fs/xfs/
Dxfs_sb.h638 #define XFS_FSS_TO_BB(mp,sec) ((sec) << (mp)->m_sectbb_log) argument
/fs/
Dselect.c272 int poll_select_set_timeout(struct timespec *to, long sec, long nsec) in poll_select_set_timeout() argument
274 struct timespec ts = {.tv_sec = sec, .tv_nsec = nsec}; in poll_select_set_timeout()
280 if (!sec && !nsec) { in poll_select_set_timeout()
/fs/btrfs/
Droot-tree.c552 item->ctime.sec = cpu_to_le64(ct.tv_sec); in btrfs_update_root_times()
Dioctl.c460 root_item.otime.sec = cpu_to_le64(cur_time.tv_sec); in create_subvol()
3987 sa->rtime.sec = ct.tv_sec; in btrfs_ioctl_set_received_subvol()
3993 root_item->stime.sec = cpu_to_le64(sa->stime.sec); in btrfs_ioctl_set_received_subvol()
3995 root_item->rtime.sec = cpu_to_le64(sa->rtime.sec); in btrfs_ioctl_set_received_subvol()
Dctree.h680 __le64 sec; member
2228 BTRFS_SETGET_FUNCS(timespec_sec, struct btrfs_timespec, sec, 64);
Dtransaction.c1180 new_root_item->otime.sec = cpu_to_le64(cur_time.tv_sec); in create_pending_snapshot()
Ddelayed-inode.c1752 BTRFS_SETGET_STACK_FUNCS(stack_timespec_sec, struct btrfs_timespec, sec, 64);
Dsend.c483 bts.sec = cpu_to_le64(ts->tv_sec);
/fs/fuse/
Ddir.c76 static u64 time_to_jiffies(unsigned long sec, unsigned long nsec) in time_to_jiffies() argument
78 if (sec || nsec) { in time_to_jiffies()
79 struct timespec ts = {sec, nsec}; in time_to_jiffies()
/fs/ocfs2/
Ddlmglue.c2016 u64 sec = spec->tv_sec; in ocfs2_pack_timespec() local
2019 res = (sec << OCFS2_SEC_SHIFT) | (nsec & OCFS2_NSEC_MASK); in ocfs2_pack_timespec()
/fs/nfs/
Dnfs4xdr.c3971 uint64_t sec; in decode_attr_time() local
3977 p = xdr_decode_hyper(p, &sec); in decode_attr_time()
3979 time->tv_sec = (time_t)sec; in decode_attr_time()