Lines Matching refs:b_data
28 #define AFFS_HEAD(bh) ((struct affs_head *)(bh)->b_data)
29 #define AFFS_TAIL(sb, bh) ((struct affs_tail *)((bh)->b_data+(sb)->s_blocksize-sizeof(struct affs_tail)))
30 #define AFFS_ROOT_HEAD(bh) ((struct affs_root_head *)(bh)->b_data)
31 #define AFFS_ROOT_TAIL(sb, bh) ((struct affs_root_tail *)((bh)->b_data+(sb)->s_blocksize-sizeof(struct affs_root_tail)))
32 #define AFFS_DATA_HEAD(bh) ((struct affs_data_head *)(bh)->b_data)
33 #define AFFS_DATA(bh) (((struct affs_data_head *)(bh)->b_data)->data)
234 memset(bh->b_data, 0 , sb->s_blocksize);
265 u32 tmp = be32_to_cpu(((__be32 *)bh->b_data)[5]);
266 ((__be32 *)bh->b_data)[5] = cpu_to_be32(tmp - val);
271 u32 tmp = be32_to_cpu(((__be32 *)bh->b_data)[0]);
272 ((__be32 *)bh->b_data)[0] = cpu_to_be32(tmp - val);