Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/reiserfs/
Dlbalance.c47 records = source->b_data + ih_location(ih) + in leaf_copy_dir_entries()
294 j = location = (dest_before == 0) ? dest->b_size : ih_location(ih-1); in leaf_copy_items_entirely()
301 last_loc = ih_location( &(ih[nr+cpy_num-1-dest_before]) ); in leaf_copy_items_entirely()
302 last_inserted_loc = ih_location( &(ih[cpy_num-1]) ); in leaf_copy_items_entirely()
761 last_loc = nr ? ih_location( &(ih[nr - before - 1]) ) : bh->b_size; in leaf_insert_into_buf()
762 unmoved_loc = before ? ih_location( ih-1 ) : bh->b_size; in leaf_insert_into_buf()
840 last_loc = ih_location( &(ih[nr - affected_item_num - 1]) ); in leaf_paste_in_buffer()
841 unmoved_loc = affected_item_num ? ih_location( ih-1 ) : bh->b_size; in leaf_paste_in_buffer()
851 ih_location( &(ih[i-affected_item_num])) - paste_size ); in leaf_paste_in_buffer()
857 memmove (bh->b_data + ih_location(ih) + paste_size, in leaf_paste_in_buffer()
[all …]
Dstree.c513 used_space = BLKH_SIZE + IH_SIZE * nr + (blocksize - ih_location (ih)); in is_leaf()
531 if (ih_location (ih) >= blocksize || ih_location (ih) < IH_SIZE * nr) { in is_leaf()
539 if (prev_location - ih_location (ih) != ih_item_len (ih)) { in is_leaf()
543 prev_location = ih_location (ih); in is_leaf()
Dprints.c116 ih_item_len(ih), ih_location(ih), ih_free_space (ih)); in sprintf_item_head()
/linux-2.4.37.9/include/linux/
Dreiserfs_fs.h519 #define ih_location(ih) le16_to_cpu((ih)->ih_item_location) macro
1065 #define B_I_PITEM(bh,ih) ( (bh)->b_data + ih_location(ih) )
1097 #define B_I_E_NAME(bh,ih,entry_num) ((char *)(bh->b_data + ih_location(ih) + deh_location(B_I_DEH(b…
1593 #define B_N_PITEM(bh,item_num) ( (bh)->b_data + ih_location(B_N_PITEM_HEAD((bh),(item_num))))
1597 ( (struct stat_data *)((bh)->b_data + ih_location(B_N_PITEM_HEAD((bh),(nr))) ) )
1602 #define B_I_STAT_DATA(bh, ih) ( (struct stat_data * )((bh)->b_data + ih_location(ih)) )