• 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
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
371 p = branch[i].p = (__le32 *) bh->b_data + offsets[i]; in ext4_alloc_branch()
377 *p++ = cpu_to_le32(b++); in ext4_alloc_branch()
445 *where->p = where->key; in ext4_splice_branch()
454 *(where->p + i) = cpu_to_le32(current_block++); in ext4_splice_branch()
562 blk = le32_to_cpu(*(chain[depth-1].p + count)); in ext4_ind_map_blocks()
758 static inline int all_zeroes(__le32 *p, __le32 *q) in all_zeroes() argument
760 while (p < q) in all_zeroes()
761 if (*p++) in all_zeroes()
805 Indirect *partial, *p; in ext4_find_shared() local
820 if (!partial->key && *partial->p) in ext4_find_shared()
823 for (p = partial; (p > chain) && all_zeroes((__le32 *) p->bh->b_data, p->p); p--) in ext4_find_shared()
831 if (p == chain + k - 1 && p > chain) { in ext4_find_shared()
832 p->p--; in ext4_find_shared()
834 *top = *p->p; in ext4_find_shared()
837 *p->p = 0; in ext4_find_shared()
842 while (partial > p) { in ext4_find_shared()
867 __le32 *p; in ext4_clear_blocks() local
889 for (p = first; p < last; p++) in ext4_clear_blocks()
890 *p = 0; in ext4_clear_blocks()
928 __le32 *p; /* Pointer into inode/ind in ext4_free_data() local
941 for (p = first; p < last; p++) { in ext4_free_data()
942 nr = le32_to_cpu(*p); in ext4_free_data()
947 block_to_free_p = p; in ext4_free_data()
954 block_to_free_p, p); in ext4_free_data()
958 block_to_free_p = p; in ext4_free_data()
966 count, block_to_free_p, p); in ext4_free_data()
1008 __le32 *p; in ext4_free_branches() local
1016 p = last; in ext4_free_branches()
1017 while (--p >= first) { in ext4_free_branches()
1018 nr = le32_to_cpu(*p); in ext4_free_branches()
1098 *p = 0; in ext4_free_branches()
1168 *partial->p = 0; in ext4_ind_truncate()
1177 partial->p, in ext4_ind_truncate()
1178 partial->p+1, (chain+n-1) - partial); in ext4_ind_truncate()
1183 ext4_free_branches(handle, inode, partial->bh, partial->p + 1, in ext4_ind_truncate()
1238 Indirect *p = NULL, *p2 = NULL; in ext4_ind_remove_space() local
1280 partial = p = ext4_find_shared(inode, n, offsets, chain, &nr); in ext4_ind_remove_space()
1286 *partial->p = 0; in ext4_ind_remove_space()
1291 partial->p, in ext4_ind_remove_space()
1292 partial->p+1, (chain+n-1) - partial); in ext4_ind_remove_space()
1302 partial->p + 1, in ext4_ind_remove_space()
1327 partial2->p++; in ext4_ind_remove_space()
1337 partial2->p, in ext4_ind_remove_space()
1345 partial = p = ext4_find_shared(inode, n, offsets, chain, &nr); in ext4_ind_remove_space()
1367 *partial->p = 0; in ext4_ind_remove_space()
1372 partial->p, in ext4_ind_remove_space()
1373 partial->p+1, in ext4_ind_remove_space()
1386 partial2->p++; in ext4_ind_remove_space()
1400 partial->p + 1, in ext4_ind_remove_space()
1401 partial2->p, in ext4_ind_remove_space()
1415 partial->p + 1, in ext4_ind_remove_space()
1423 partial2->p, in ext4_ind_remove_space()
1430 while (p && p > chain) { in ext4_ind_remove_space()
1431 BUFFER_TRACE(p->bh, "call brelse"); in ext4_ind_remove_space()
1432 brelse(p->bh); in ext4_ind_remove_space()
1433 p--; in ext4_ind_remove_space()