Home
last modified time | relevance | path

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

/linux/fs/fat/
H A 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 >> 3 in fat_encode_fh_nostale()
161 loff_t i_pos; fat_fh_to_dentry_nostale() local
199 loff_t i_pos; fat_fh_to_parent_nostale() local
[all...]
H A Dfat.h128 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);
[all...]
H A Dinode.c140 fat_fs_error(sb, "corrupted file size (i_pos %lld, %lld)", in __fat_get_block()
141 MSDOS_I(inode)->i_pos, MSDOS_I(inode)->mmu_private); in __fat_get_block()
169 "invalid FAT chain (i_pos %lld, last_block %llu)", in __fat_get_block()
170 MSDOS_I(inode)->i_pos, in __fat_get_block()
386 static inline unsigned long fat_hash(loff_t i_pos) in fat_hash() argument
388 return hash_32(i_pos, FAT_HASH_BITS); in fat_hash()
401 void fat_attach(struct inode *inode, loff_t i_pos) in fat_attach() argument
407 + fat_hash(i_pos); in fat_attach()
410 MSDOS_I(inode)->i_pos = i_pos; in fat_attach()
446 fat_iget(struct super_block * sb,loff_t i_pos) fat_iget() argument
594 fat_build_inode(struct super_block * sb,struct msdos_dir_entry * de,loff_t i_pos) fat_build_inode() argument
860 loff_t i_pos; __fat_write_inode() local
[all...]
H A 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()
590 "%s: Filesystem corrupted (i_pos %lld)", in do_msdos_rename()
591 __func__, sinfo.i_pos); in do_msdos_rename()
H A Dcache.c240 "%s: invalid start cluster (i_pos %lld, start %08x)", in fat_get_cluster()
241 __func__, MSDOS_I(inode)->i_pos, *dclus); in fat_get_cluster()
260 "%s: detected the cluster chain loop (i_pos %lld)", in fat_get_cluster()
261 __func__, MSDOS_I(inode)->i_pos); in fat_get_cluster()
271 "%s: invalid cluster chain (i_pos %lld)", in fat_get_cluster()
272 __func__, MSDOS_I(inode)->i_pos); in fat_get_cluster()
303 fat_fs_error(sb, "%s: request beyond EOF (i_pos %lld)", in fat_bmap_cluster()
304 __func__, MSDOS_I(inode)->i_pos); in fat_bmap_cluster()
H A Ddir.c544 sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de); in fat_search_long()
682 loff_t i_pos = fat_make_i_pos(sb, bh, de); in __fat_readdir() local
683 struct inode *tmp = fat_iget(sb, i_pos); in __fat_readdir()
895 * for inode, nor a usable i_pos. So, this function provides some information
975 sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de); in fat_scan()
999 sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de); in fat_scan_logstart()
1212 struct buffer_head **bh, loff_t *i_pos) in fat_add_new_entries() argument
1272 *i_pos = fat_make_i_pos(sb, *bh, *de); in fat_add_new_entries()
1301 loff_t pos, i_pos; in fat_add_entries() local
1335 fat_msg(sb, KERN_ERR, "Corrupted directory (i_pos in fat_add_entries()
[all...]
H A Dnamei_vfat.c718 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in vfat_lookup()
773 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in vfat_create()
867 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in vfat_mkdir()
962 new_i_pos = MSDOS_I(new_inode)->i_pos; in vfat_rename()
969 new_i_pos = sinfo.i_pos; in vfat_rename()
1019 fat_attach(old_inode, old_sinfo.i_pos); in vfat_rename()
1036 "%s: Filesystem corrupted (i_pos %lld)", in vfat_rename()
1087 old_i_pos = MSDOS_I(old_inode)->i_pos; in vfat_rename_exchange()
1088 new_i_pos = MSDOS_I(new_inode)->i_pos; in vfat_rename_exchange()
1152 "%s: Filesystem corrupted (i_pos in vfat_rename_exchange()
[all...]
H A Dfile.c359 "%s: invalid cluster chain (i_pos %lld)", in fat_free()
360 __func__, MSDOS_I(inode)->i_pos); in fat_free()
408 /* Use i_pos for ino. This is used as fileid of nfs. */ in fat_getattr()
/linux/fs/exfat/
H A Dinode.c572 static inline unsigned long exfat_hash(loff_t i_pos) in exfat_hash() argument
574 return hash_32(i_pos, EXFAT_HASH_BITS); in exfat_hash()
577 void exfat_hash_inode(struct inode *inode, loff_t i_pos) in exfat_hash_inode() argument
580 struct hlist_head *head = sbi->inode_hashtable + exfat_hash(i_pos); in exfat_hash_inode()
583 EXFAT_I(inode)->i_pos = i_pos; in exfat_hash_inode()
594 EXFAT_I(inode)->i_pos = 0; in exfat_unhash_inode()
598 struct inode *exfat_iget(struct super_block *sb, loff_t i_pos) in exfat_iget() argument
602 struct hlist_head *head = sbi->inode_hashtable + exfat_hash(i_pos); in exfat_iget()
609 if (i_pos ! in exfat_iget()
675 exfat_build_inode(struct super_block * sb,struct exfat_dir_entry * info,loff_t i_pos) exfat_build_inode() argument
[all...]
H A Dnamei.c551 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()
723 loff_t i_pos; in exfat_lookup() local
736 i_pos = exfat_make_i_pos(&info); in exfat_lookup()
737 inode = exfat_build_inode(sb, &info, i_pos); in exfat_lookup()
849 loff_t i_pos; in exfat_mkdir() local
870 i_pos = exfat_make_i_pos(&info); in exfat_mkdir()
871 inode = exfat_build_inode(sb, &info, i_pos); in exfat_mkdir()
1245 loff_t i_pos; in exfat_rename() local
[all...]
H A Dexfat_fs.h321 loff_t i_pos; member
525 struct exfat_dir_entry *info, loff_t i_pos);
526 void exfat_hash_inode(struct inode *inode, loff_t i_pos);
528 struct inode *exfat_iget(struct super_block *sb, loff_t i_pos);
H A Ddir.c217 loff_t cpos, i_pos; in exfat_iterate() local
261 i_pos = ((loff_t)de.dir.dir << 32) | (de.entry & 0xffffffff); in exfat_iterate()
262 tmp = exfat_iget(sb, i_pos); in exfat_iterate()
H A Dsuper.c378 ei->i_pos = ((loff_t)sbi->root_dir << 32) | 0xffffffff; in exfat_read_root()
699 exfat_hash_inode(root_inode, EXFAT_I(root_inode)->i_pos); in exfat_fill_super()