Lines Matching refs:p

32 	__le32	*p;  member
37 static inline void add_chain(Indirect *p, struct buffer_head *bh, __le32 *v) in add_chain() argument
39 p->key = *(p->p = v); in add_chain()
40 p->bh = bh; in add_chain()
149 Indirect *p = chain; in ext4_get_branch() local
157 if (!p->key) in ext4_get_branch()
160 key = le32_to_cpu(p->key); in ext4_get_branch()
184 add_chain(++p, bh, (__le32 *)bh->b_data + *++offsets); in ext4_get_branch()
186 if (!p->key) in ext4_get_branch()
194 return p; in ext4_get_branch()
221 __le32 *p; in ext4_find_near() local
224 for (p = ind->p - 1; p >= start; p--) { in ext4_find_near()
225 if (*p) in ext4_find_near()
226 return le32_to_cpu(*p); in ext4_find_near()
297 le32_to_cpu(*(branch[0].p + count)) == 0) { in ext4_blks_to_allocate()
335 __le32 *p; in ext4_alloc_branch() local
372 p = branch[i].p = (__le32 *) bh->b_data + offsets[i]; in ext4_alloc_branch()
378 *p++ = cpu_to_le32(b++); in ext4_alloc_branch()
447 *where->p = where->key; in ext4_splice_branch()
456 *(where->p + i) = cpu_to_le32(current_block++); in ext4_splice_branch()
564 blk = le32_to_cpu(*(chain[depth-1].p + count)); in ext4_ind_map_blocks()
761 static inline int all_zeroes(__le32 *p, __le32 *q) in all_zeroes() argument
763 while (p < q) in all_zeroes()
764 if (*p++) in all_zeroes()
808 Indirect *partial, *p; in ext4_find_shared() local
823 if (!partial->key && *partial->p) in ext4_find_shared()
826 for (p = partial; (p > chain) && all_zeroes((__le32 *) p->bh->b_data, p->p); p--) in ext4_find_shared()
834 if (p == chain + k - 1 && p > chain) { in ext4_find_shared()
835 p->p--; in ext4_find_shared()
837 *top = *p->p; in ext4_find_shared()
840 *p->p = 0; in ext4_find_shared()
845 while (partial > p) { in ext4_find_shared()
870 __le32 *p; in ext4_clear_blocks() local
892 for (p = first; p < last; p++) in ext4_clear_blocks()
893 *p = 0; in ext4_clear_blocks()
931 __le32 *p; /* Pointer into inode/ind in ext4_free_data() local
945 for (p = first; p < last; p++) { in ext4_free_data()
946 nr = le32_to_cpu(*p); in ext4_free_data()
951 block_to_free_p = p; in ext4_free_data()
958 block_to_free_p, p); in ext4_free_data()
962 block_to_free_p = p; in ext4_free_data()
970 count, block_to_free_p, p); in ext4_free_data()
1012 __le32 *p; in ext4_free_branches() local
1020 p = last; in ext4_free_branches()
1021 while (--p >= first) { in ext4_free_branches()
1022 nr = le32_to_cpu(*p); in ext4_free_branches()
1103 *p = 0; in ext4_free_branches()
1173 *partial->p = 0; in ext4_ind_truncate()
1182 partial->p, in ext4_ind_truncate()
1183 partial->p+1, (chain+n-1) - partial); in ext4_ind_truncate()
1188 ext4_free_branches(handle, inode, partial->bh, partial->p + 1, in ext4_ind_truncate()
1243 Indirect *p = NULL, *p2 = NULL; in ext4_ind_remove_space() local
1285 partial = p = ext4_find_shared(inode, n, offsets, chain, &nr); in ext4_ind_remove_space()
1291 *partial->p = 0; in ext4_ind_remove_space()
1296 partial->p, in ext4_ind_remove_space()
1297 partial->p+1, (chain+n-1) - partial); in ext4_ind_remove_space()
1307 partial->p + 1, in ext4_ind_remove_space()
1332 partial2->p++; in ext4_ind_remove_space()
1342 partial2->p, in ext4_ind_remove_space()
1350 partial = p = ext4_find_shared(inode, n, offsets, chain, &nr); in ext4_ind_remove_space()
1372 *partial->p = 0; in ext4_ind_remove_space()
1377 partial->p, in ext4_ind_remove_space()
1378 partial->p+1, in ext4_ind_remove_space()
1391 partial2->p++; in ext4_ind_remove_space()
1405 partial->p + 1, in ext4_ind_remove_space()
1406 partial2->p, in ext4_ind_remove_space()
1420 partial->p + 1, in ext4_ind_remove_space()
1428 partial2->p, in ext4_ind_remove_space()
1435 while (p && p > chain) { in ext4_ind_remove_space()
1436 BUFFER_TRACE(p->bh, "call brelse"); in ext4_ind_remove_space()
1437 brelse(p->bh); in ext4_ind_remove_space()
1438 p--; in ext4_ind_remove_space()