Home
last modified time | relevance | path

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

/fs/affs/
Damigaffs.c31 offset = affs_hash_name(sb, AFFS_TAIL(sb, bh)->name + 1, AFFS_TAIL(sb, bh)->name[0]); in affs_insert_hash()
45 hash_ino = be32_to_cpu(AFFS_TAIL(sb, dir_bh)->hash_chain); in affs_insert_hash()
47 AFFS_TAIL(sb, bh)->parent = cpu_to_be32(dir->i_ino); in affs_insert_hash()
48 AFFS_TAIL(sb, bh)->hash_chain = 0; in affs_insert_hash()
54 AFFS_TAIL(sb, dir_bh)->hash_chain = cpu_to_be32(ino); in affs_insert_hash()
82 offset = affs_hash_name(sb, AFFS_TAIL(sb, rem_bh)->name+1, AFFS_TAIL(sb, rem_bh)->name[0]); in affs_remove_hash()
94 ino = AFFS_TAIL(sb, rem_bh)->hash_chain; in affs_remove_hash()
98 AFFS_TAIL(sb, bh)->hash_chain = ino; in affs_remove_hash()
101 AFFS_TAIL(sb, rem_bh)->parent = 0; in affs_remove_hash()
109 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()
184 tail = AFFS_TAIL(sb, bh); in affs_write_inode()
381 affs_copy_name(AFFS_TAIL(sb, bh)->name, dentry); in affs_add_entry()
382 AFFS_TAIL(sb, bh)->stype = cpu_to_be32(type); in affs_add_entry()
383 AFFS_TAIL(sb, bh)->parent = cpu_to_be32(dir->i_ino); in affs_add_entry()
387 chain = AFFS_TAIL(sb, inode_bh)->link_chain; in affs_add_entry()
388 AFFS_TAIL(sb, bh)->original = cpu_to_be32(inode->i_ino); in affs_add_entry()
389 AFFS_TAIL(sb, bh)->link_chain = chain; in affs_add_entry()
390 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()
236 switch (be32_to_cpu(AFFS_TAIL(sb, bh)->stype)) { in affs_lookup()
240 ino = be32_to_cpu(AFFS_TAIL(sb, bh)->original); in affs_lookup()
455 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()
915 ext_key = be32_to_cpu(AFFS_TAIL(sb, ext_bh)->extension); in affs_truncate()
933 AFFS_TAIL(sb, ext_bh)->extension = 0; in affs_truncate()
970 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