Home
last modified time | relevance | path

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

/linux-4.1.27/fs/affs/
Ddir.c87 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); in affs_readdir()
104 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); in affs_readdir()
Damigaffs.c39 hash_ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[offset]); in affs_insert_hash()
52 AFFS_HEAD(dir_bh)->table[offset] = cpu_to_be32(ino); in affs_insert_hash()
91 hash_ino = be32_to_cpu(AFFS_HEAD(bh)->table[offset]); in affs_remove_hash()
96 AFFS_HEAD(bh)->table[offset] = ino; in affs_remove_hash()
244 if (AFFS_HEAD(bh)->table[size]) in affs_empty_dir()
Dinode.c41 if (affs_checksum_block(sb, bh) || be32_to_cpu(AFFS_HEAD(bh)->ptype) != T_SHORT) { in affs_iget()
44 AFFS_HEAD(bh)->ptype, block); in affs_iget()
379 AFFS_HEAD(bh)->ptype = cpu_to_be32(T_SHORT); in affs_add_entry()
380 AFFS_HEAD(bh)->key = cpu_to_be32(bh->b_blocknr); in affs_add_entry()
Dfile.c133 AFFS_HEAD(new_bh)->ptype = cpu_to_be32(T_LIST); in affs_alloc_extblock()
134 AFFS_HEAD(new_bh)->key = cpu_to_be32(blocknr); in affs_alloc_extblock()
335 AFFS_HEAD(ext_bh)->block_count = cpu_to_be32(block + 1); in affs_get_block()
341 u32 tmp = be32_to_cpu(AFFS_HEAD(ext_bh)->first_data); in affs_get_block()
344 AFFS_HEAD(ext_bh)->first_data = cpu_to_be32(blocknr); in affs_get_block()
900 AFFS_HEAD(ext_bh)->first_data = 0; in affs_truncate()
901 AFFS_HEAD(ext_bh)->block_count = cpu_to_be32(i); in affs_truncate()
Daffs.h18 #define AFFS_BLOCK(sb, bh, blk) (AFFS_HEAD(bh)->table[AFFS_SB(sb)->s_hashsize-1-(blk)])
20 #define AFFS_HEAD(bh) ((struct affs_head *)(bh)->b_data) macro
Dnamei.c201 …key = be32_to_cpu(AFFS_HEAD(bh)->table[affs_hash_name(sb, dentry->d_name.name, dentry->d_name.len)… in affs_find_entry()
356 p = (char *)AFFS_HEAD(bh)->table; in affs_symlink()