Home
last modified time | relevance | path

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

/linux-5.19.10/fs/fat/
Dnfs.c44 static struct inode *fat_ilookup(struct super_block *sb, u64 ino, loff_t i_pos) in fat_ilookup() argument
47 return fat_iget(sb, i_pos); in fat_ilookup()
57 u64 ino, u32 generation, loff_t i_pos) in __fat_nfs_get_inode() argument
59 struct inode *inode = fat_ilookup(sb, ino, i_pos); in __fat_nfs_get_inode()
70 fat_get_blknr_offset(MSDOS_SB(sb), i_pos, &blocknr, &offset); in __fat_nfs_get_inode()
85 inode = fat_build_inode(sb, &de[offset], i_pos); in __fat_nfs_get_inode()
106 loff_t i_pos; in fat_encode_fh_nostale() local
121 i_pos = fat_i_pos_read(sbi, inode); in fat_encode_fh_nostale()
124 fid->i_pos_low = i_pos & 0xFFFFFFFF; in fat_encode_fh_nostale()
125 fid->i_pos_hi = (i_pos >> 32) & 0xFFFF; in fat_encode_fh_nostale()
[all …]
Dfat.h125 loff_t i_pos; /* on-disk position of directory entry or 0 */ member
134 loff_t i_pos; /* on-disk position of directory entry */ member
253 loff_t i_pos, sector_t *blknr, int *offset) in fat_get_blknr_offset() argument
255 *blknr = i_pos >> sbi->dir_per_block_bits; in fat_get_blknr_offset()
256 *offset = i_pos & (sbi->dir_per_block - 1); in fat_get_blknr_offset()
262 loff_t i_pos; in fat_i_pos_read() local
266 i_pos = MSDOS_I(inode)->i_pos; in fat_i_pos_read()
270 return i_pos; in fat_i_pos_read()
412 extern void fat_attach(struct inode *inode, loff_t i_pos);
414 extern struct inode *fat_iget(struct super_block *sb, loff_t i_pos);
[all …]
Dinode.c142 MSDOS_I(inode)->i_pos, MSDOS_I(inode)->mmu_private); in __fat_get_block()
171 MSDOS_I(inode)->i_pos, in __fat_get_block()
391 static inline unsigned long fat_hash(loff_t i_pos) in fat_hash() argument
393 return hash_32(i_pos, FAT_HASH_BITS); in fat_hash()
406 void fat_attach(struct inode *inode, loff_t i_pos) in fat_attach() argument
412 + fat_hash(i_pos); in fat_attach()
415 MSDOS_I(inode)->i_pos = i_pos; in fat_attach()
439 MSDOS_I(inode)->i_pos = 0; in fat_detach()
451 struct inode *fat_iget(struct super_block *sb, loff_t i_pos) in fat_iget() argument
454 struct hlist_head *head = sbi->inode_hashtable + fat_hash(i_pos); in fat_iget()
[all …]
Dnamei_msdos.c216 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in msdos_lookup()
292 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in msdos_create()
377 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in msdos_mkdir()
501 new_i_pos = MSDOS_I(new_inode)->i_pos; in do_msdos_rename()
508 new_i_pos = sinfo.i_pos; in do_msdos_rename()
572 fat_attach(old_inode, old_sinfo.i_pos); in do_msdos_rename()
591 __func__, sinfo.i_pos); in do_msdos_rename()
Dcache.c241 __func__, MSDOS_I(inode)->i_pos, *dclus); in fat_get_cluster()
261 __func__, MSDOS_I(inode)->i_pos); in fat_get_cluster()
272 __func__, MSDOS_I(inode)->i_pos); in fat_get_cluster()
304 __func__, MSDOS_I(inode)->i_pos); in fat_bmap_cluster()
Ddir.c532 sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de); in fat_search_long()
670 loff_t i_pos = fat_make_i_pos(sb, bh, de); in __fat_readdir() local
671 struct inode *tmp = fat_iget(sb, i_pos); in __fat_readdir()
963 sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de); in fat_scan()
987 sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de); in fat_scan_logstart()
1200 struct buffer_head **bh, loff_t *i_pos) in fat_add_new_entries() argument
1260 *i_pos = fat_make_i_pos(sb, *bh, *de); in fat_add_new_entries()
1289 loff_t pos, i_pos; in fat_add_entries() local
1324 MSDOS_I(dir)->i_pos); in fat_add_entries()
1377 &de, &bh, &i_pos); in fat_add_entries()
[all …]
Dnamei_vfat.c721 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in vfat_lookup()
776 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in vfat_create()
870 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in vfat_mkdir()
932 new_i_pos = MSDOS_I(new_inode)->i_pos; in vfat_rename()
939 new_i_pos = sinfo.i_pos; in vfat_rename()
1001 fat_attach(old_inode, old_sinfo.i_pos); in vfat_rename()
1019 __func__, sinfo.i_pos); in vfat_rename()
Dfile.c359 __func__, MSDOS_I(inode)->i_pos); in fat_free()
/linux-5.19.10/fs/exfat/
Dinode.c505 static inline unsigned long exfat_hash(loff_t i_pos) in exfat_hash() argument
507 return hash_32(i_pos, EXFAT_HASH_BITS); in exfat_hash()
510 void exfat_hash_inode(struct inode *inode, loff_t i_pos) in exfat_hash_inode() argument
513 struct hlist_head *head = sbi->inode_hashtable + exfat_hash(i_pos); in exfat_hash_inode()
516 EXFAT_I(inode)->i_pos = i_pos; in exfat_hash_inode()
527 EXFAT_I(inode)->i_pos = 0; in exfat_unhash_inode()
531 struct inode *exfat_iget(struct super_block *sb, loff_t i_pos) in exfat_iget() argument
535 struct hlist_head *head = sbi->inode_hashtable + exfat_hash(i_pos); in exfat_iget()
542 if (i_pos != info->i_pos) in exfat_iget()
571 ei->i_pos = 0; in exfat_fill_inode()
[all …]
Dnamei.c572 loff_t i_pos; in exfat_create() local
589 i_pos = exfat_make_i_pos(&info); in exfat_create()
590 inode = exfat_build_inode(sb, &info, i_pos); in exfat_create()
725 loff_t i_pos; in exfat_lookup() local
738 i_pos = exfat_make_i_pos(&info); in exfat_lookup()
739 inode = exfat_build_inode(sb, &info, i_pos); in exfat_lookup()
862 loff_t i_pos; in exfat_mkdir() local
880 i_pos = exfat_make_i_pos(&info); in exfat_mkdir()
881 inode = exfat_build_inode(sb, &info, i_pos); in exfat_mkdir()
1320 loff_t i_pos; in exfat_rename() local
[all …]
Dexfat_fs.h292 loff_t i_pos; member
482 struct exfat_dir_entry *info, loff_t i_pos);
483 void exfat_hash_inode(struct inode *inode, loff_t i_pos);
485 struct inode *exfat_iget(struct super_block *sb, loff_t i_pos);
Ddir.c224 loff_t cpos, i_pos; in exfat_iterate() local
270 i_pos = ((loff_t)ei->start_clu << 32) | (de.entry & 0xffffffff); in exfat_iterate()
271 tmp = exfat_iget(sb, i_pos); in exfat_iterate()
Dsuper.c378 ei->i_pos = ((loff_t)sbi->root_dir << 32) | 0xffffffff; in exfat_read_root()
691 exfat_hash_inode(root_inode, EXFAT_I(root_inode)->i_pos); in exfat_fill_super()