| /linux/fs/fat/ |
| H A D | nfs.c | 44 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 …]
|
| H A D | fat.h | 128 loff_t i_pos; /* on-disk position of directory entry or 0 */ member 137 loff_t i_pos; /* on-disk position of directory entry */ member 256 loff_t i_pos, sector_t *blknr, int *offset) in fat_get_blknr_offset() argument 258 *blknr = i_pos >> sbi->dir_per_block_bits; in fat_get_blknr_offset() 259 *offset = i_pos & (sbi->dir_per_block - 1); in fat_get_blknr_offset() 265 loff_t i_pos; in fat_i_pos_read() local 269 i_pos = MSDOS_I(inode)->i_pos; in fat_i_pos_read() 273 return i_pos; in fat_i_pos_read() 415 extern void fat_attach(struct inode *inode, loff_t i_pos); 417 extern struct inode *fat_iget(struct super_block *sb, loff_t i_pos); [all …]
|
| H A D | inode.c | 142 MSDOS_I(inode)->i_pos, MSDOS_I(inode)->mmu_private); in __fat_get_block() 171 MSDOS_I(inode)->i_pos, in __fat_get_block() 387 static inline unsigned long fat_hash(loff_t i_pos) in fat_hash() argument 389 return hash_32(i_pos, FAT_HASH_BITS); in fat_hash() 402 void fat_attach(struct inode *inode, loff_t i_pos) in fat_attach() argument 408 + fat_hash(i_pos); in fat_attach() 411 MSDOS_I(inode)->i_pos = i_pos; in fat_attach() 435 MSDOS_I(inode)->i_pos = 0; in fat_detach() 447 struct inode *fat_iget(struct super_block *sb, loff_t i_pos) in fat_iget() argument 450 struct hlist_head *head = sbi->inode_hashtable + fat_hash(i_pos); in fat_iget() [all …]
|
| H A D | namei_msdos.c | 216 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() 381 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in msdos_mkdir() 504 new_i_pos = MSDOS_I(new_inode)->i_pos; in do_msdos_rename() 511 new_i_pos = sinfo.i_pos; in do_msdos_rename() 574 fat_attach(old_inode, old_sinfo.i_pos); in do_msdos_rename() 593 __func__, sinfo.i_pos); in do_msdos_rename()
|
| H A D | cache.c | 236 __func__, MSDOS_I(inode)->i_pos, *dclus); in fat_get_cluster() 256 __func__, MSDOS_I(inode)->i_pos); in fat_get_cluster() 267 __func__, MSDOS_I(inode)->i_pos); in fat_get_cluster() 299 __func__, MSDOS_I(inode)->i_pos); in fat_bmap_cluster()
|
| H A D | namei_vfat.c | 719 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in vfat_lookup() 774 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in vfat_create() 873 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in vfat_mkdir() 968 new_i_pos = MSDOS_I(new_inode)->i_pos; in vfat_rename() 975 new_i_pos = sinfo.i_pos; in vfat_rename() 1024 fat_attach(old_inode, old_sinfo.i_pos); in vfat_rename() 1092 old_i_pos = MSDOS_I(old_inode)->i_pos; in vfat_rename_exchange() 1093 new_i_pos = MSDOS_I(new_inode)->i_pos; in vfat_rename_exchange()
|
| H A D | dir.c | 546 sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de); in fat_search_long() 684 loff_t i_pos = fat_make_i_pos(sb, bh, de); in __fat_readdir() local 685 struct inode *tmp = fat_iget(sb, i_pos); in __fat_readdir() 978 sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de); in fat_scan() 1002 sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de); in fat_scan_logstart() 1338 MSDOS_I(dir)->i_pos); in fat_add_entries() 1412 sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de); in fat_add_entries()
|
| H A D | file.c | 361 __func__, MSDOS_I(inode)->i_pos); in fat_free()
|
| /linux/fs/exfat/ |
| H A D | inode.c | 557 static inline unsigned long exfat_hash(loff_t i_pos) in exfat_hash() argument 559 return hash_32(i_pos, EXFAT_HASH_BITS); in exfat_hash() 562 void exfat_hash_inode(struct inode *inode, loff_t i_pos) in exfat_hash_inode() argument 565 struct hlist_head *head = sbi->inode_hashtable + exfat_hash(i_pos); in exfat_hash_inode() 568 EXFAT_I(inode)->i_pos = i_pos; in exfat_hash_inode() 579 EXFAT_I(inode)->i_pos = 0; in exfat_unhash_inode() 583 struct inode *exfat_iget(struct super_block *sb, loff_t i_pos) in exfat_iget() argument 587 struct hlist_head *head = sbi->inode_hashtable + exfat_hash(i_pos); in exfat_iget() 594 if (i_pos != info->i_pos) in exfat_iget() 624 ei->i_pos = 0; in exfat_fill_inode() [all …]
|
| H A D | namei.c | 551 loff_t i_pos; in exfat_create() local 571 i_pos = exfat_make_i_pos(&info); in exfat_create() 572 inode = exfat_build_inode(sb, &info, i_pos); in exfat_create() 727 loff_t i_pos; in exfat_lookup() local 740 i_pos = exfat_make_i_pos(&info); in exfat_lookup() 741 inode = exfat_build_inode(sb, &info, i_pos); in exfat_lookup() 853 loff_t i_pos; in exfat_mkdir() local 874 i_pos = exfat_make_i_pos(&info); in exfat_mkdir() 875 inode = exfat_build_inode(sb, &info, i_pos); in exfat_mkdir() 1249 loff_t i_pos; in exfat_rename() local [all …]
|
| H A D | exfat_fs.h | 320 loff_t i_pos; member 531 struct exfat_dir_entry *info, loff_t i_pos); 532 void exfat_hash_inode(struct inode *inode, loff_t i_pos); 534 struct inode *exfat_iget(struct super_block *sb, loff_t i_pos);
|
| H A D | super.c | 388 ei->i_pos = ((loff_t)sbi->root_dir << 32) | 0xffffffff; in exfat_read_root() 719 exfat_hash_inode(root_inode, EXFAT_I(root_inode)->i_pos); in exfat_fill_super()
|
| H A D | dir.c | 218 loff_t cpos, i_pos; in exfat_iterate() local 262 i_pos = ((loff_t)de.dir.dir << 32) | (de.entry & 0xffffffff); in exfat_iterate() 263 tmp = exfat_iget(sb, i_pos); in exfat_iterate()
|