Lines Matching refs:block_t
4 block_t *p;
5 block_t key;
11 static inline void add_chain(Indirect *p, struct buffer_head *bh, block_t *v)
24 static inline block_t *block_end(struct buffer_head *bh)
26 return (block_t *)((char*)bh->b_data + bh->b_size);
51 add_chain(++p, bh, (block_t *)bh->b_data + *++offsets);
90 branch[n].p = (block_t*) bh->b_data + offsets[n];
208 static inline int all_zeroes(block_t *p, block_t *q)
220 block_t *top)
237 for (p=partial;p>chain && all_zeroes((block_t*)p->bh->b_data,p->p);p--)
256 static inline void free_data(struct inode *inode, block_t *p, block_t *q)
269 static void free_branches(struct inode *inode, block_t *p, block_t *q, int depth)
283 free_branches(inode, (block_t*)bh->b_data,
296 block_t *idata = i_data(inode);
300 block_t nr = 0;
358 blocks += sb->s_blocksize/sizeof(block_t) - 1;
359 blocks /= sb->s_blocksize/sizeof(block_t);