Home
last modified time | relevance | path

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

/fs/affs/
Damigaffs.c43 hash_ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[offset]); in affs_insert_hash()
56 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()
250 if (AFFS_HEAD(bh)->table[size]) in affs_empty_dir()
Dinode.c45 if (affs_checksum_block(sb, bh) || be32_to_cpu(AFFS_HEAD(bh)->ptype) != T_SHORT) { in affs_iget()
48 AFFS_HEAD(bh)->ptype, block); in affs_iget()
52 head = AFFS_HEAD(bh); in affs_iget()
376 AFFS_HEAD(bh)->ptype = cpu_to_be32(T_SHORT); in affs_add_entry()
377 AFFS_HEAD(bh)->key = cpu_to_be32(bh->b_blocknr); in affs_add_entry()
Ddir.c103 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); in affs_readdir()
119 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); in affs_readdir()
Dfile.c159 AFFS_HEAD(new_bh)->ptype = cpu_to_be32(T_LIST); in affs_alloc_extblock()
160 AFFS_HEAD(new_bh)->key = cpu_to_be32(blocknr); in affs_alloc_extblock()
360 AFFS_HEAD(ext_bh)->block_count = cpu_to_be32(block + 1); in affs_get_block()
366 u32 tmp = be32_to_cpu(AFFS_HEAD(ext_bh)->first_data); in affs_get_block()
369 AFFS_HEAD(ext_bh)->first_data = cpu_to_be32(blocknr); in affs_get_block()
875 AFFS_HEAD(ext_bh)->first_data = 0; in affs_truncate()
876 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)])
29 #define AFFS_HEAD(bh) ((struct affs_head *)(bh)->b_data) macro
Dnamei.c198 …key = be32_to_cpu(AFFS_HEAD(bh)->table[affs_hash_name(sb, dentry->d_name.name, dentry->d_name.len)… in affs_find_entry()
354 p = (char *)AFFS_HEAD(bh)->table; in affs_symlink()