Lines Matching refs:p

5 	block_t	*p;  member
12 static inline void add_chain(Indirect *p, struct buffer_head *bh, block_t *v) in add_chain() argument
14 p->key = *(p->p = v); in add_chain()
15 p->bh = bh; in add_chain()
20 while (from <= to && from->key == *from->p) in verify_chain()
37 Indirect *p = chain; in get_branch() local
43 if (!p->key) in get_branch()
46 bh = sb_bread(sb, block_to_cpu(p->key)); in get_branch()
50 if (!verify_chain(chain, p)) in get_branch()
52 add_chain(++p, bh, (block_t *)bh->b_data + *++offsets); in get_branch()
54 if (!p->key) in get_branch()
67 return p; in get_branch()
97 branch[n].p = (block_t*) bh->b_data + offsets[n]; in alloc_branch()
98 *branch[n].p = branch[n].key; in alloc_branch()
125 if (!verify_chain(chain, where-1) || *where->p) in splice_branch()
128 *where->p = where->key; in splice_branch()
215 static inline int all_zeroes(block_t *p, block_t *q) in all_zeroes() argument
217 while (p < q) in all_zeroes()
218 if (*p++) in all_zeroes()
229 Indirect *partial, *p; in find_shared() local
240 if (!partial->key && *partial->p) { in find_shared()
244 for (p=partial;p>chain && all_zeroes((block_t*)p->bh->b_data,p->p);p--) in find_shared()
246 if (p == chain + k - 1 && p > chain) { in find_shared()
247 p->p--; in find_shared()
249 *top = *p->p; in find_shared()
250 *p->p = 0; in find_shared()
254 while(partial > p) in find_shared()
263 static inline void free_data(struct inode *inode, block_t *p, block_t *q) in free_data() argument
267 for ( ; p < q ; p++) { in free_data()
268 nr = block_to_cpu(*p); in free_data()
270 *p = 0; in free_data()
276 static void free_branches(struct inode *inode, block_t *p, block_t *q, int depth) in free_branches() argument
282 for ( ; p < q ; p++) { in free_branches()
283 nr = block_to_cpu(*p); in free_branches()
286 *p = 0; in free_branches()
297 free_data(inode, p, q); in free_branches()
336 free_branches(inode, partial->p + 1, block_end(partial->bh), in truncate()