Home
last modified time | relevance | path

Searched refs:i_pos (Results 1 – 8 of 8) sorted by relevance

/fs/fat/
Dnfs.c53 static struct inode *fat_ilookup(struct super_block *sb, u64 ino, loff_t i_pos) in fat_ilookup() argument
56 return fat_iget(sb, i_pos); in fat_ilookup()
66 u64 ino, u32 generation, loff_t i_pos) in __fat_nfs_get_inode() argument
68 struct inode *inode = fat_ilookup(sb, ino, i_pos); in __fat_nfs_get_inode()
79 fat_get_blknr_offset(MSDOS_SB(sb), i_pos, &blocknr, &offset); in __fat_nfs_get_inode()
94 inode = fat_build_inode(sb, &de[offset], i_pos); in __fat_nfs_get_inode()
115 loff_t i_pos; in fat_encode_fh_nostale() local
130 i_pos = fat_i_pos_read(sbi, inode); in fat_encode_fh_nostale()
133 fid->i_pos_low = i_pos & 0xFFFFFFFF; in fat_encode_fh_nostale()
134 fid->i_pos_hi = (i_pos >> 32) & 0xFFFF; in fat_encode_fh_nostale()
[all …]
Dfat.h124 loff_t i_pos; /* on-disk position of directory entry or 0 */ member
132 loff_t i_pos; /* on-disk position of directory entry */ member
223 loff_t i_pos, sector_t *blknr, int *offset) in fat_get_blknr_offset() argument
225 *blknr = i_pos >> sbi->dir_per_block_bits; in fat_get_blknr_offset()
226 *offset = i_pos & (sbi->dir_per_block - 1); in fat_get_blknr_offset()
232 loff_t i_pos; in fat_i_pos_read() local
236 i_pos = MSDOS_I(inode)->i_pos; in fat_i_pos_read()
240 return i_pos; in fat_i_pos_read()
374 extern void fat_attach(struct inode *inode, loff_t i_pos);
376 extern struct inode *fat_iget(struct super_block *sb, loff_t i_pos);
[all …]
Dinode.c134 MSDOS_I(inode)->i_pos, MSDOS_I(inode)->mmu_private); in __fat_get_block()
376 static inline unsigned long fat_hash(loff_t i_pos) in fat_hash() argument
378 return hash_32(i_pos, FAT_HASH_BITS); in fat_hash()
391 void fat_attach(struct inode *inode, loff_t i_pos) in fat_attach() argument
397 + fat_hash(i_pos); in fat_attach()
400 MSDOS_I(inode)->i_pos = i_pos; in fat_attach()
424 MSDOS_I(inode)->i_pos = 0; in fat_detach()
436 struct inode *fat_iget(struct super_block *sb, loff_t i_pos) in fat_iget() argument
439 struct hlist_head *head = sbi->inode_hashtable + fat_hash(i_pos); in fat_iget()
446 if (i->i_pos != i_pos) in fat_iget()
[all …]
Dnamei_msdos.c214 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in msdos_lookup()
290 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in msdos_create()
378 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in msdos_mkdir()
502 new_i_pos = MSDOS_I(new_inode)->i_pos; in do_msdos_rename()
509 new_i_pos = sinfo.i_pos; in do_msdos_rename()
573 fat_attach(old_inode, old_sinfo.i_pos); in do_msdos_rename()
592 __func__, sinfo.i_pos); in do_msdos_rename()
Ddir.c531 sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de); in fat_search_long()
669 loff_t i_pos = fat_make_i_pos(sb, bh, de); in __fat_readdir() local
670 struct inode *tmp = fat_iget(sb, i_pos); in __fat_readdir()
966 sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de); in fat_scan()
990 sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de); in fat_scan_logstart()
1197 struct buffer_head **bh, loff_t *i_pos) in fat_add_new_entries() argument
1254 *i_pos = fat_make_i_pos(sb, *bh, *de); in fat_add_new_entries()
1283 loff_t pos, i_pos; in fat_add_entries() local
1318 MSDOS_I(dir)->i_pos); in fat_add_entries()
1371 &de, &bh, &i_pos); in fat_add_entries()
[all …]
Dnamei_vfat.c740 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in vfat_lookup()
797 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in vfat_create()
892 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in vfat_mkdir()
956 new_i_pos = MSDOS_I(new_inode)->i_pos; in vfat_rename()
963 new_i_pos = sinfo.i_pos; in vfat_rename()
1025 fat_attach(old_inode, old_sinfo.i_pos); in vfat_rename()
1043 __func__, sinfo.i_pos); in vfat_rename()
Dcache.c254 MSDOS_I(inode)->i_pos); in fat_get_cluster()
266 MSDOS_I(inode)->i_pos); in fat_get_cluster()
298 __func__, MSDOS_I(inode)->i_pos); in fat_bmap_cluster()
Dfile.c330 __func__, MSDOS_I(inode)->i_pos); in fat_free()