Home
last modified time | relevance | path

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

/fs/affs/
Damigaffs.c32 offset = affs_hash_name(sb, AFFS_TAIL(sb, bh)->name + 1, AFFS_TAIL(sb, bh)->name[0]); in affs_insert_hash()
46 hash_ino = be32_to_cpu(AFFS_TAIL(sb, dir_bh)->hash_chain); in affs_insert_hash()
48 AFFS_TAIL(sb, bh)->parent = cpu_to_be32(dir->i_ino); in affs_insert_hash()
49 AFFS_TAIL(sb, bh)->hash_chain = 0; in affs_insert_hash()
55 AFFS_TAIL(sb, dir_bh)->hash_chain = cpu_to_be32(ino); in affs_insert_hash()
83 offset = affs_hash_name(sb, AFFS_TAIL(sb, rem_bh)->name+1, AFFS_TAIL(sb, rem_bh)->name[0]); in affs_remove_hash()
95 ino = AFFS_TAIL(sb, rem_bh)->hash_chain; in affs_remove_hash()
99 AFFS_TAIL(sb, bh)->hash_chain = ino; in affs_remove_hash()
102 AFFS_TAIL(sb, rem_bh)->parent = 0; in affs_remove_hash()
110 hash_ino = be32_to_cpu(AFFS_TAIL(sb, bh)->hash_chain); in affs_remove_hash()
[all …]
Dinode.c48 tail = AFFS_TAIL(sb, bh); in affs_iget()
185 tail = AFFS_TAIL(sb, bh); in affs_write_inode()
382 affs_copy_name(AFFS_TAIL(sb, bh)->name, dentry); in affs_add_entry()
383 AFFS_TAIL(sb, bh)->stype = cpu_to_be32(type); in affs_add_entry()
384 AFFS_TAIL(sb, bh)->parent = cpu_to_be32(dir->i_ino); in affs_add_entry()
388 chain = AFFS_TAIL(sb, inode_bh)->link_chain; in affs_add_entry()
389 AFFS_TAIL(sb, bh)->original = cpu_to_be32(inode->i_ino); in affs_add_entry()
390 AFFS_TAIL(sb, bh)->link_chain = chain; in affs_add_entry()
391 AFFS_TAIL(sb, inode_bh)->link_chain = cpu_to_be32(block); in affs_add_entry()
Ddir.c95 ino = be32_to_cpu(AFFS_TAIL(sb, fh_bh)->hash_chain); in affs_readdir()
117 namelen = min(AFFS_TAIL(sb, fh_bh)->name[0], in affs_readdir()
119 name = AFFS_TAIL(sb, fh_bh)->name + 1; in affs_readdir()
126 ino = be32_to_cpu(AFFS_TAIL(sb, fh_bh)->hash_chain); in affs_readdir()
Dnamei.c210 if (affs_match(dentry, AFFS_TAIL(sb, bh)->name, toupper)) in affs_find_entry()
212 key = be32_to_cpu(AFFS_TAIL(sb, bh)->hash_chain); in affs_find_entry()
235 switch (be32_to_cpu(AFFS_TAIL(sb, bh)->stype)) { in affs_lookup()
239 ino = be32_to_cpu(AFFS_TAIL(sb, bh)->original); in affs_lookup()
456 affs_copy_name(AFFS_TAIL(sb, bh)->name, new_dentry); in affs_rename()
Dfile.c102 key = be32_to_cpu(AFFS_TAIL(sb, bh)->extension); in affs_grow_extcache()
135 AFFS_TAIL(sb, new_bh)->stype = cpu_to_be32(ST_FILE); in affs_alloc_extblock()
136 AFFS_TAIL(sb, new_bh)->parent = cpu_to_be32(inode->i_ino); in affs_alloc_extblock()
141 tmp = be32_to_cpu(AFFS_TAIL(sb, bh)->extension); in affs_alloc_extblock()
144 AFFS_TAIL(sb, bh)->extension = cpu_to_be32(blocknr); in affs_alloc_extblock()
180 ext_key = be32_to_cpu(AFFS_TAIL(sb, bh)->extension); in affs_get_extblock_slow()
260 ext_key = be32_to_cpu(AFFS_TAIL(sb, bh)->extension); in affs_get_extblock_slow()
891 ext_key = be32_to_cpu(AFFS_TAIL(sb, ext_bh)->extension); in affs_truncate()
909 AFFS_TAIL(sb, ext_bh)->extension = 0; in affs_truncate()
946 ext_key = be32_to_cpu(AFFS_TAIL(sb, ext_bh)->extension); in affs_truncate()
Daffs.h21 #define AFFS_TAIL(sb, bh) ((struct affs_tail *)((bh)->b_data+(sb)->s_blocksize-sizeof(struct affs_t… macro