Home
last modified time | relevance | path

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

/Linux-v6.6/fs/affs/
Damigaffs.c42 hash_ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[offset]); in affs_insert_hash()
55 AFFS_HEAD(dir_bh)->table[offset] = cpu_to_be32(ino); in affs_insert_hash()
94 hash_ino = be32_to_cpu(AFFS_HEAD(bh)->table[offset]); in affs_remove_hash()
99 AFFS_HEAD(bh)->table[offset] = ino; in affs_remove_hash()
247 if (AFFS_HEAD(bh)->table[size]) in affs_empty_dir()
Dinode.c43 if (affs_checksum_block(sb, bh) || be32_to_cpu(AFFS_HEAD(bh)->ptype) != T_SHORT) { in affs_iget()
46 AFFS_HEAD(bh)->ptype, block); in affs_iget()
144 inode->i_size = strlen((char *)AFFS_HEAD(bh)->table); in affs_iget()
385 AFFS_HEAD(bh)->ptype = cpu_to_be32(T_SHORT); in affs_add_entry()
386 AFFS_HEAD(bh)->key = cpu_to_be32(bh->b_blocknr); in affs_add_entry()
Ddir.c89 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); in affs_readdir()
106 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); in affs_readdir()
Dfile.c136 AFFS_HEAD(new_bh)->ptype = cpu_to_be32(T_LIST); in affs_alloc_extblock()
137 AFFS_HEAD(new_bh)->key = cpu_to_be32(blocknr); in affs_alloc_extblock()
338 AFFS_HEAD(ext_bh)->block_count = cpu_to_be32(block + 1); in affs_get_block()
344 u32 tmp = be32_to_cpu(AFFS_HEAD(ext_bh)->first_data); in affs_get_block()
347 AFFS_HEAD(ext_bh)->first_data = cpu_to_be32(blocknr); in affs_get_block()
930 AFFS_HEAD(ext_bh)->first_data = 0; in affs_truncate()
931 AFFS_HEAD(ext_bh)->block_count = cpu_to_be32(i); in affs_truncate()
Daffs.h19 #define AFFS_BLOCK(sb, bh, blk) (AFFS_HEAD(bh)->table[AFFS_SB(sb)->s_hashsize-1-(blk)])
21 #define AFFS_HEAD(bh) ((struct affs_head *)(bh)->b_data) macro
Dnamei.c183 …key = be32_to_cpu(AFFS_HEAD(bh)->table[affs_hash_name(sb, dentry->d_name.name, dentry->d_name.len)… in affs_find_entry()
345 p = (char *)AFFS_HEAD(bh)->table; in affs_symlink()