Home
last modified time | relevance | path

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

/fs/hpfs/
Dalloc.c11 static int hpfs_alloc_if_possible_nolock(struct super_block *s, secno sec);
18 static int chk_if_allocated(struct super_block *s, secno sec, char *msg) in chk_if_allocated() argument
22 if (!(bmp = hpfs_map_bitmap(s, sec >> 14, &qbh, "chk"))) goto fail; in chk_if_allocated()
23 if ((bmp[(sec & 0x3fff) >> 5] >> (sec & 0x1f)) & 1) { in chk_if_allocated()
24 hpfs_error(s, "sector '%s' - %08x not allocated in bitmap", msg, sec); in chk_if_allocated()
28 …if (sec >= hpfs_sb(s)->sb_dirband_start && sec < hpfs_sb(s)->sb_dirband_start + hpfs_sb(s)->sb_dir… in chk_if_allocated()
29 unsigned ssec = (sec - hpfs_sb(s)->sb_dirband_start) / 4; in chk_if_allocated()
32 hpfs_error(s, "sector '%s' - %08x not allocated in directory bitmap", msg, sec); in chk_if_allocated()
160 secno sec; in hpfs_alloc_sector() local
173 if ((sec = alloc_in_bmp(s, near, n, f_p ? forward : forward/4))) goto ret; in hpfs_alloc_sector()
[all …]
Danode.c14 struct bplus_header *btree, unsigned sec, in hpfs_bplus_lookup() argument
25 if (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 (btree->u.external[i].file_secno <= sec && in hpfs_bplus_lookup()
38 btree->u.external[i].file_secno + btree->u.external[i].length > sec) { in hpfs_bplus_lookup()
39 a = btree->u.external[i].disk_secno + sec - btree->u.external[i].file_secno; in hpfs_bplus_lookup()
53 hpfs_error(s, "sector %08x not found in external anode %08x", sec, a); in hpfs_bplus_lookup()
324 static secno anode_lookup(struct super_block *s, anode_secno a, unsigned sec) in anode_lookup() argument
329 return hpfs_bplus_lookup(s, NULL, &anode->btree, sec, bh); in anode_lookup()
337 secno sec; in hpfs_ea_read() local
[all …]
Dmap.c19 secno sec; in hpfs_map_bitmap() local
24 sec = 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.h236 #define __hfs_u_to_mtime(sec) cpu_to_be32(sec + 2082844800U - sys_tz.tz_minuteswest * 60) argument
237 #define __hfs_m_to_utime(sec) (be32_to_cpu(sec) - 2082844800U + sys_tz.tz_minuteswest * 60) argument
268 #define sb_bread512(sb, sec, data) ({ \ argument
274 __start = (loff_t)(sec) << HFS_SECTOR_SIZE_BITS;\
/fs/nfsd/
Dstats.c62 unsigned int sec = jifs / HZ, msec = (jifs % HZ)*1000/HZ; in nfsd_proc_show() local
63 seq_printf(seq, " %u.%03u", sec, msec); in nfsd_proc_show()
/fs/isofs/
Dinode.c553 struct iso_supplementary_descriptor *sec = NULL; in isofs_fill_super() local
621 sec = (struct iso_supplementary_descriptor *)vdp; in isofs_fill_super()
622 if (sec->escape[0] == 0x25 && sec->escape[1] == 0x2f) { in isofs_fill_super()
624 if (sec->escape[2] == 0x40) in isofs_fill_super()
626 else if (sec->escape[2] == 0x43) in isofs_fill_super()
628 else if (sec->escape[2] == 0x45) in isofs_fill_super()
638 sec = NULL; in isofs_fill_super()
675 pri = (struct iso_primary_descriptor *) sec; in isofs_fill_super()
750 pri = (struct iso_primary_descriptor *) sec; in isofs_fill_super()
/fs/cifs/
Dnetmisc.c893 int sec, min, days, month, year; in cnvrtDosUnixTm() local
899 sec = 2 * st->TwoSeconds; in cnvrtDosUnixTm()
901 if ((sec > 59) || (min > 59)) in cnvrtDosUnixTm()
902 cERROR(1, ("illegal time min %d sec %d", min, sec)); in cnvrtDosUnixTm()
903 sec += (min * 60); in cnvrtDosUnixTm()
904 sec += 60 * 60 * st->Hours; in cnvrtDosUnixTm()
932 sec += 24 * 60 * 60 * days; in cnvrtDosUnixTm()
934 ts.tv_sec = sec; in cnvrtDosUnixTm()
DCHANGES50 create. Update cifs.upcall version to handle new Kerberos sec flags
124 gids on the server do not match those of the client. Make "sec=none"
172 work to Windows servers (mount with option "sec=ntlmv2").
195 Allow override of global cifs security flags on mount via "sec=" option(s).
DREADME517 sec Security mode. Allowed values are:
/fs/jffs2/
Dos-linux.h34 #define ITIME(sec) ((struct timespec){sec, 0}) argument
/fs/hfsplus/
Dhfsplus_fs.h396 #define sb_bread512(sb, sec, data) ({ \ argument
402 __start = (loff_t)(sec) << HFSPLUS_SECTOR_SHIFT;\
/fs/xfs/
Dxfs_sb.h515 #define XFS_FSS_TO_BB(mp,sec) ((sec) << (mp)->m_sectbb_log) argument
/fs/fat/
Ddir.c39 int sec; in fat_dir_readahead() local
50 for (sec = 0; sec < sbi->sec_per_clus; sec++) in fat_dir_readahead()
51 sb_breadahead(sb, phys + sec); in fat_dir_readahead()
/fs/
Dselect.c251 int poll_select_set_timeout(struct timespec *to, long sec, long nsec) in poll_select_set_timeout() argument
253 struct timespec ts = {.tv_sec = sec, .tv_nsec = nsec}; in poll_select_set_timeout()
259 if (!sec && !nsec) { in poll_select_set_timeout()
/fs/fuse/
Ddir.c53 static u64 time_to_jiffies(unsigned long sec, unsigned long nsec) in time_to_jiffies() argument
55 if (sec || nsec) { in time_to_jiffies()
56 struct timespec ts = {sec, nsec}; in time_to_jiffies()
/fs/btrfs/
Dctree.h449 __le64 sec; member
1225 BTRFS_SETGET_FUNCS(timespec_sec, struct btrfs_timespec, sec, 64);
/fs/ocfs2/
Ddlmglue.c1852 u64 sec = spec->tv_sec; in ocfs2_pack_timespec() local
1855 res = (sec << OCFS2_SEC_SHIFT) | (nsec & OCFS2_NSEC_MASK); in ocfs2_pack_timespec()
/fs/nfs/
Dnfs4xdr.c2760 uint64_t sec; in decode_attr_time() local
2764 READ64(sec); in decode_attr_time()
2766 time->tv_sec = (time_t)sec; in decode_attr_time()