Home
last modified time | relevance | path

Searched refs:ih_location (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/fs/reiserfs/
Dlbalance.c49 source->b_data + ih_location(ih) + in leaf_copy_dir_entries()
334 j = location = (dest_before == 0) ? dest->b_size : ih_location(ih - 1); in leaf_copy_items_entirely()
341 last_loc = ih_location(&(ih[nr + cpy_num - 1 - dest_before])); in leaf_copy_items_entirely()
342 last_inserted_loc = ih_location(&(ih[cpy_num - 1])); in leaf_copy_items_entirely()
826 last_loc = nr ? ih_location(&(ih[nr - before - 1])) : bh->b_size; in leaf_insert_into_buf()
827 unmoved_loc = before ? ih_location(ih - 1) : bh->b_size; in leaf_insert_into_buf()
907 last_loc = ih_location(&(ih[nr - affected_item_num - 1])); in leaf_paste_in_buffer()
908 unmoved_loc = affected_item_num ? ih_location(ih - 1) : bh->b_size; in leaf_paste_in_buffer()
917 ih_location(&(ih[i - affected_item_num])) - in leaf_paste_in_buffer()
924 memmove(bh->b_data + ih_location(ih) + in leaf_paste_in_buffer()
[all …]
Dstree.c420 used_space = BLKH_SIZE + IH_SIZE * nr + (blocksize - ih_location(ih)); in is_leaf()
440 if (ih_location(ih) >= blocksize in is_leaf()
441 || ih_location(ih) < IH_SIZE * nr) { in is_leaf()
454 if (prev_location - ih_location(ih) != ih_item_len(ih)) { in is_leaf()
460 prev_location = ih_location(ih); in is_leaf()
Dreiserfs.h1186 #define ih_location(ih) le16_to_cpu((ih)->ih_item_location) macro
1725 #define B_I_PITEM(bh,ih) ( (bh)->b_data + ih_location(ih) )
1754 #define B_I_E_NAME(bh,ih,entry_num) ((char *)(bh->b_data + ih_location(ih) + deh_location(B_I_DEH(b…
2238 #define B_N_PITEM(bh,item_num) ( (bh)->b_data + ih_location(B_N_PITEM_HEAD((bh),(item_num))))
2242 ( (struct stat_data *)((bh)->b_data + ih_location(B_N_PITEM_HEAD((bh),(nr))) ) )
2247 #define B_I_STAT_DATA(bh, ih) ( (struct stat_data * )((bh)->b_data + ih_location(ih)) )
Dprints.c120 ih_item_len(ih), ih_location(ih), ih_free_space(ih)); in sprintf_item_head()