/fs/hpfs/ |
D | alloc.c | 11 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 …]
|
D | anode.c | 14 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 …]
|
D | map.c | 19 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/ |
D | hfs_fs.h | 236 #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/ |
D | stats.c | 62 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/ |
D | inode.c | 553 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/ |
D | netmisc.c | 893 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()
|
D | CHANGES | 50 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).
|
D | README | 517 sec Security mode. Allowed values are:
|
/fs/jffs2/ |
D | os-linux.h | 34 #define ITIME(sec) ((struct timespec){sec, 0}) argument
|
/fs/hfsplus/ |
D | hfsplus_fs.h | 396 #define sb_bread512(sb, sec, data) ({ \ argument 402 __start = (loff_t)(sec) << HFSPLUS_SECTOR_SHIFT;\
|
/fs/xfs/ |
D | xfs_sb.h | 515 #define XFS_FSS_TO_BB(mp,sec) ((sec) << (mp)->m_sectbb_log) argument
|
/fs/fat/ |
D | dir.c | 39 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/ |
D | select.c | 251 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/ |
D | dir.c | 53 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/ |
D | ctree.h | 449 __le64 sec; member 1225 BTRFS_SETGET_FUNCS(timespec_sec, struct btrfs_timespec, sec, 64);
|
/fs/ocfs2/ |
D | dlmglue.c | 1852 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/ |
D | nfs4xdr.c | 2760 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()
|