• Home
  • Raw
  • Download

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
156 if (!p->key) in ext4_get_branch()
159 bh = sb_getblk(sb, le32_to_cpu(p->key)); in ext4_get_branch()
177 add_chain(++p, bh, (__le32 *)bh->b_data + *++offsets); in ext4_get_branch()
179 if (!p->key) in ext4_get_branch()
187 return p; in ext4_get_branch()
214 __le32 *p; in ext4_find_near() local
217 for (p = ind->p - 1; p >= start; p--) { in ext4_find_near()
218 if (*p) in ext4_find_near()
219 return le32_to_cpu(*p); in ext4_find_near()
290 le32_to_cpu(*(branch[0].p + count)) == 0) { in ext4_blks_to_allocate()
330 __le32 *p; in ext4_alloc_branch() local
363 p = branch[i].p = (__le32 *) bh->b_data + offsets[i]; in ext4_alloc_branch()
369 *p++ = cpu_to_le32(b++); in ext4_alloc_branch()
434 *where->p = where->key; in ext4_splice_branch()
443 *(where->p + i) = cpu_to_le32(current_block++); in ext4_splice_branch()
549 blk = le32_to_cpu(*(chain[depth-1].p + count)); in ext4_ind_map_blocks()
726 static inline int all_zeroes(__le32 *p, __le32 *q) in all_zeroes() argument
728 while (p < q) in all_zeroes()
729 if (*p++) in all_zeroes()
773 Indirect *partial, *p; in ext4_find_shared() local
788 if (!partial->key && *partial->p) in ext4_find_shared()
791 for (p = partial; (p > chain) && all_zeroes((__le32 *) p->bh->b_data, p->p); p--) in ext4_find_shared()
799 if (p == chain + k - 1 && p > chain) { in ext4_find_shared()
800 p->p--; in ext4_find_shared()
802 *top = *p->p; in ext4_find_shared()
805 *p->p = 0; in ext4_find_shared()
810 while (partial > p) { in ext4_find_shared()
835 __le32 *p; in ext4_clear_blocks() local
875 for (p = first; p < last; p++) in ext4_clear_blocks()
876 *p = 0; in ext4_clear_blocks()
914 __le32 *p; /* Pointer into inode/ind in ext4_free_data() local
927 for (p = first; p < last; p++) { in ext4_free_data()
928 nr = le32_to_cpu(*p); in ext4_free_data()
933 block_to_free_p = p; in ext4_free_data()
940 block_to_free_p, p); in ext4_free_data()
944 block_to_free_p = p; in ext4_free_data()
952 count, block_to_free_p, p); in ext4_free_data()
994 __le32 *p; in ext4_free_branches() local
1002 p = last; in ext4_free_branches()
1003 while (--p >= first) { in ext4_free_branches()
1004 nr = le32_to_cpu(*p); in ext4_free_branches()
1085 *p = 0; in ext4_free_branches()
1155 *partial->p = 0; in ext4_ind_truncate()
1164 partial->p, in ext4_ind_truncate()
1165 partial->p+1, (chain+n-1) - partial); in ext4_ind_truncate()
1170 ext4_free_branches(handle, inode, partial->bh, partial->p + 1, in ext4_ind_truncate()
1222 Indirect *p = NULL, *p2 = NULL; in ext4_ind_remove_space() local
1264 partial = p = ext4_find_shared(inode, n, offsets, chain, &nr); in ext4_ind_remove_space()
1270 *partial->p = 0; in ext4_ind_remove_space()
1275 partial->p, in ext4_ind_remove_space()
1276 partial->p+1, (chain+n-1) - partial); in ext4_ind_remove_space()
1286 partial->p + 1, in ext4_ind_remove_space()
1311 partial2->p++; in ext4_ind_remove_space()
1321 partial2->p, in ext4_ind_remove_space()
1329 partial = p = ext4_find_shared(inode, n, offsets, chain, &nr); in ext4_ind_remove_space()
1351 *partial->p = 0; in ext4_ind_remove_space()
1356 partial->p, in ext4_ind_remove_space()
1357 partial->p+1, in ext4_ind_remove_space()
1370 partial2->p++; in ext4_ind_remove_space()
1384 partial->p + 1, in ext4_ind_remove_space()
1385 partial2->p, in ext4_ind_remove_space()
1399 partial->p + 1, in ext4_ind_remove_space()
1407 partial2->p, in ext4_ind_remove_space()
1414 while (p && p > chain) { in ext4_ind_remove_space()
1415 BUFFER_TRACE(p->bh, "call brelse"); in ext4_ind_remove_space()
1416 brelse(p->bh); in ext4_ind_remove_space()
1417 p--; in ext4_ind_remove_space()