Home
last modified time | relevance | path

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

/linux-4.19.296/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()
386 affs_copy_name(AFFS_TAIL(sb, bh)->name, dentry); in affs_add_entry()
387 AFFS_TAIL(sb, bh)->stype = cpu_to_be32(type); in affs_add_entry()
388 AFFS_TAIL(sb, bh)->parent = cpu_to_be32(dir->i_ino); in affs_add_entry()
392 chain = AFFS_TAIL(sb, inode_bh)->link_chain; in affs_add_entry()
393 AFFS_TAIL(sb, bh)->original = cpu_to_be32(inode->i_ino); in affs_add_entry()
394 AFFS_TAIL(sb, bh)->link_chain = chain; in affs_add_entry()
395 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()
435 affs_copy_name(AFFS_TAIL(sb, bh)->name, new_dentry); in affs_rename()
483 affs_copy_name(AFFS_TAIL(sb, bh_old)->name, new_dentry); in affs_xrename()
490 affs_copy_name(AFFS_TAIL(sb, bh_new)->name, old_dentry); in affs_xrename()
530 be32_to_cpu(AFFS_TAIL(child->d_sb, bh)->parent)); in affs_get_parent()
Dfile.c103 key = be32_to_cpu(AFFS_TAIL(sb, bh)->extension); in affs_grow_extcache()
136 AFFS_TAIL(sb, new_bh)->stype = cpu_to_be32(ST_FILE); in affs_alloc_extblock()
137 AFFS_TAIL(sb, new_bh)->parent = cpu_to_be32(inode->i_ino); in affs_alloc_extblock()
142 tmp = be32_to_cpu(AFFS_TAIL(sb, bh)->extension); in affs_alloc_extblock()
145 AFFS_TAIL(sb, bh)->extension = cpu_to_be32(blocknr); in affs_alloc_extblock()
181 ext_key = be32_to_cpu(AFFS_TAIL(sb, bh)->extension); in affs_get_extblock_slow()
261 ext_key = be32_to_cpu(AFFS_TAIL(sb, bh)->extension); in affs_get_extblock_slow()
916 ext_key = be32_to_cpu(AFFS_TAIL(sb, ext_bh)->extension); in affs_truncate()
934 AFFS_TAIL(sb, ext_bh)->extension = 0; in affs_truncate()
971 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