Home
last modified time | relevance | path

Searched refs:AFFS_TAIL (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/fs/affs/ !
Damigaffs.c34 offset = affs_hash_name(sb, AFFS_TAIL(sb, bh)->name + 1, AFFS_TAIL(sb, bh)->name[0]); in affs_insert_hash()
48 hash_ino = be32_to_cpu(AFFS_TAIL(sb, dir_bh)->hash_chain); in affs_insert_hash()
50 AFFS_TAIL(sb, bh)->parent = cpu_to_be32(dir->i_ino); in affs_insert_hash()
51 AFFS_TAIL(sb, bh)->hash_chain = 0; in affs_insert_hash()
57 AFFS_TAIL(sb, dir_bh)->hash_chain = cpu_to_be32(ino); in affs_insert_hash()
85 offset = affs_hash_name(sb, AFFS_TAIL(sb, rem_bh)->name+1, AFFS_TAIL(sb, rem_bh)->name[0]); in affs_remove_hash()
97 ino = AFFS_TAIL(sb, rem_bh)->hash_chain; in affs_remove_hash()
101 AFFS_TAIL(sb, bh)->hash_chain = ino; in affs_remove_hash()
104 AFFS_TAIL(sb, rem_bh)->parent = 0; in affs_remove_hash()
112 hash_ino = be32_to_cpu(AFFS_TAIL(sb, bh)->hash_chain); in affs_remove_hash()
[all …]
Ddir.c97 ino = be32_to_cpu(AFFS_TAIL(sb, fh_bh)->hash_chain); in affs_readdir()
119 namelen = min(AFFS_TAIL(sb, fh_bh)->name[0], in affs_readdir()
121 name = AFFS_TAIL(sb, fh_bh)->name + 1; in affs_readdir()
128 ino = be32_to_cpu(AFFS_TAIL(sb, fh_bh)->hash_chain); in affs_readdir()
Dinode.c50 tail = AFFS_TAIL(sb, bh); in affs_iget()
188 tail = AFFS_TAIL(sb, bh); in affs_write_inode()
387 affs_copy_name(AFFS_TAIL(sb, bh)->name, dentry); in affs_add_entry()
388 AFFS_TAIL(sb, bh)->stype = cpu_to_be32(type); in affs_add_entry()
389 AFFS_TAIL(sb, bh)->parent = cpu_to_be32(dir->i_ino); in affs_add_entry()
393 chain = AFFS_TAIL(sb, inode_bh)->link_chain; in affs_add_entry()
394 AFFS_TAIL(sb, bh)->original = cpu_to_be32(inode->i_ino); in affs_add_entry()
395 AFFS_TAIL(sb, bh)->link_chain = chain; in affs_add_entry()
396 AFFS_TAIL(sb, inode_bh)->link_chain = cpu_to_be32(block); in affs_add_entry()
Dnamei.c192 if (affs_match(dentry, AFFS_TAIL(sb, bh)->name, toupper)) in affs_find_entry()
194 key = be32_to_cpu(AFFS_TAIL(sb, bh)->hash_chain); in affs_find_entry()
219 switch (be32_to_cpu(AFFS_TAIL(sb, bh)->stype)) { in affs_lookup()
223 ino = be32_to_cpu(AFFS_TAIL(sb, bh)->original); in affs_lookup()
438 affs_copy_name(AFFS_TAIL(sb, bh)->name, new_dentry); in affs_rename()
486 affs_copy_name(AFFS_TAIL(sb, bh_old)->name, new_dentry); in affs_xrename()
493 affs_copy_name(AFFS_TAIL(sb, bh_new)->name, old_dentry); in affs_xrename()
533 be32_to_cpu(AFFS_TAIL(child->d_sb, bh)->parent)); in affs_get_parent()
Dfile.c104 key = be32_to_cpu(AFFS_TAIL(sb, bh)->extension); in affs_grow_extcache()
137 AFFS_TAIL(sb, new_bh)->stype = cpu_to_be32(ST_FILE); in affs_alloc_extblock()
138 AFFS_TAIL(sb, new_bh)->parent = cpu_to_be32(inode->i_ino); in affs_alloc_extblock()
143 tmp = be32_to_cpu(AFFS_TAIL(sb, bh)->extension); in affs_alloc_extblock()
146 AFFS_TAIL(sb, bh)->extension = cpu_to_be32(blocknr); in affs_alloc_extblock()
182 ext_key = be32_to_cpu(AFFS_TAIL(sb, bh)->extension); in affs_get_extblock_slow()
262 ext_key = be32_to_cpu(AFFS_TAIL(sb, bh)->extension); in affs_get_extblock_slow()
922 ext_key = be32_to_cpu(AFFS_TAIL(sb, ext_bh)->extension); in affs_truncate()
940 AFFS_TAIL(sb, ext_bh)->extension = 0; in affs_truncate()
977 ext_key = be32_to_cpu(AFFS_TAIL(sb, ext_bh)->extension); in affs_truncate()
Daffs.h22 #define AFFS_TAIL(sb, bh) ((struct affs_tail *)((bh)->b_data+(sb)->s_blocksize-sizeof(struct affs_t… macro