Searched refs:ih_item_len (Results 1 – 9 of 9) sorted by relevance
/linux-2.4.37.9/fs/reiserfs/ |
D | lbalance.c | 46 ih_item_len(ih)) - deh_location( &(deh[from + copy_count - 1])); in leaf_copy_dir_entries() 127 RFALSE( ! ih_item_len(ih), "vs-10010: item can not have empty length"); in leaf_copy_boundary_item() 141 bytes_or_entries = ih_item_len(ih); in leaf_copy_boundary_item() 145 if (bytes_or_entries == ih_item_len(ih) && is_indirect_le_ih(ih)) in leaf_copy_boundary_item() 156 dest_nr_item - 1, ih_item_len(dih), bytes_or_entries, B_I_PITEM(src,ih), 0 in leaf_copy_boundary_item() 163 if (bytes_or_entries == ih_item_len(ih)) in leaf_copy_boundary_item() 203 bytes_or_entries = ih_item_len(ih); in leaf_copy_boundary_item() 217 RFALSE( ih_item_len(ih) <= bytes_or_entries, in leaf_copy_boundary_item() 219 ( unsigned long )ih_item_len(ih), ( unsigned long )bytes_or_entries); in leaf_copy_boundary_item() 235 …leaf_paste_in_buffer (dest_bi, 0, 0, bytes_or_entries, B_I_PITEM(src,ih) + ih_item_len(ih) - bytes… in leaf_copy_boundary_item() [all …]
|
D | stree.c | 535 if (ih_item_len (ih) < 1 || ih_item_len (ih) > MAX_ITEM_LEN (blocksize)) { in is_leaf() 539 if (prev_location - ih_location (ih) != ih_item_len (ih)) { in is_leaf() 835 RFALSE( ! ih_item_len( in search_for_position_by_key() 873 pos_in_item (p_s_search_path) = ih_item_len(p_le_ih) / UNFM_P_SIZE; in search_for_position_by_key() 875 pos_in_item (p_s_search_path) = ih_item_len( p_le_ih ); in search_for_position_by_key() 923 *cut_size = -(IH_SIZE + ih_item_len(le_ih)); in prepare_for_direct_item() 933 *cut_size = -(IH_SIZE + ih_item_len(le_ih)); in prepare_for_direct_item() 938 *cut_size = -(ih_item_len(le_ih) - pos_in_item(path)); in prepare_for_direct_item() 947 *cut_size = -(IH_SIZE + ih_item_len(le_ih)); in prepare_for_direct_item() 951 *cut_size = -(ih_item_len(le_ih) - in prepare_for_direct_item() [all …]
|
D | do_balan.c | 107 RFALSE( ih_item_len(ih) + IH_SIZE != -tb->insert_size[0], in balance_leaf_when_delete() 154 RFALSE( ! ih_item_len(ih), in balance_leaf_when_delete() 285 zeros_num = ih_item_len( ih ); in balance_leaf() 310 new_item_len = ih_item_len(ih) - tb->lbytes; in balance_leaf() 312 put_ih_item_len(ih, ih_item_len(ih) - new_item_len ); in balance_leaf() 314 RFALSE( ih_item_len(ih) <= 0, in balance_leaf() 316 ih_item_len(ih)); in balance_leaf() 324 zeros_num > ih_item_len(ih) ? ih_item_len(ih) : zeros_num); in balance_leaf() 339 RFALSE( ih_item_len(ih) <= 0, in balance_leaf() 341 ih_item_len(ih)); in balance_leaf() [all …]
|
D | tail_conversion.c | 102 + ih_item_len(p_le_ih) - 1; in direct2indirect() 223 pos = le_ih_k_offset (&s_ih) - 1 + (ih_item_len(&s_ih) / UNFM_P_SIZE - 1) * p_s_sb->s_blocksize; in indirect2direct() 240 (ih_item_len(&s_ih) / UNFM_P_SIZE - 1) * p_s_sb->s_blocksize; in indirect2direct()
|
D | item_ops.c | 135 return ih_item_len(ih); in direct_bytes_number() 161 while (j < ih_item_len(ih)) in direct_print_item() 239 return ih_item_len(ih) / UNFM_P_SIZE * block_size; //- get_ih_free_space (ih); in indirect_bytes_number() 304 if (ih_item_len(ih) % UNFM_P_SIZE) in indirect_print_item() 429 namelen = (i ? (deh_location(deh - 1)) : ih_item_len(ih)) - deh_location(deh); in direntry_print_item() 530 ih_item_len (vi->vi_ih)) - in direntry_create_vi()
|
D | inode.c | 342 if ((le_ih_k_offset(ih) - 1 + ih_item_len(ih)) > inode->i_size) { in _get_block_create_0() 346 chars = ih_item_len(ih) - path.pos_in_item; in _get_block_create_0() 807 RFALSE( pos_in_item != ih_item_len(ih) / UNFM_P_SIZE, in reiserfs_get_block() 1937 copy_size = ih_item_len(ih) - pos_in_item; in map_block_for_writepage()
|
D | prints.c | 116 ih_item_len(ih), ih_location(ih), ih_free_space (ih)); in sprintf_item_head()
|
D | fix_node.c | 127 vi->vi_item_len += ih_item_len(ih + j) + IH_SIZE; in create_virtual_node()
|
/linux-2.4.37.9/include/linux/ |
D | reiserfs_fs.h | 505 __u16 ih_item_len; /* total size of the item body */ member 520 #define ih_item_len(ih) le16_to_cpu((ih)->ih_item_len) macro 526 #define put_ih_item_len(ih, val) do { (ih)->ih_item_len = cpu_to_le16(val); } while (0) 1087 return ih_item_len(ih) - deh_location(deh); in entry_length() 1575 #define I_UNFM_NUM(p_s_ih) ( ih_item_len(p_s_ih) / UNFM_P_SIZE )
|