Lines Matching refs:block_t
4 block_t *p;
5 block_t key;
9 static inline void add_chain(Indirect *p, struct buffer_head *bh, block_t *v) in add_chain()
22 static inline block_t *block_end(struct buffer_head *bh) in block_end()
24 return (block_t *)((char*)bh->b_data + BLOCK_SIZE); in block_end()
49 add_chain(++p, bh, (block_t *)bh->b_data + *++offsets); in get_branch()
86 branch[n].p = (block_t*) bh->b_data + offsets[n]; in alloc_branch()
210 static inline int all_zeroes(block_t *p, block_t *q) in all_zeroes()
222 block_t *top) in find_shared()
237 for (p=partial;p>chain && all_zeroes((block_t*)p->bh->b_data,p->p);p--) in find_shared()
256 static inline void free_data(struct inode *inode, block_t *p, block_t *q) in free_data()
269 static void free_branches(struct inode *inode, block_t *p, block_t *q, int depth) in free_branches()
283 free_branches(inode, (block_t*)bh->b_data, in free_branches()
295 block_t *idata = i_data(inode); in truncate()
299 block_t nr = 0; in truncate()