Home
last modified time | relevance | path

Searched refs:ih_item_len (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/fs/reiserfs/
Dlbalance.c42 ih_item_len(ih)) - in leaf_copy_dir_entries()
161 RFALSE(!ih_item_len(ih), in leaf_copy_boundary_item()
180 bytes_or_entries = ih_item_len(ih); in leaf_copy_boundary_item()
184 if (bytes_or_entries == ih_item_len(ih) in leaf_copy_boundary_item()
200 dest_nr_item - 1, ih_item_len(dih), in leaf_copy_boundary_item()
207 if (bytes_or_entries == ih_item_len(ih)) in leaf_copy_boundary_item()
255 bytes_or_entries = ih_item_len(ih); in leaf_copy_boundary_item()
269 RFALSE(ih_item_len(ih) <= bytes_or_entries, in leaf_copy_boundary_item()
271 (unsigned long)ih_item_len(ih), in leaf_copy_boundary_item()
298 ih) + ih_item_len(ih) - bytes_or_entries, in leaf_copy_boundary_item()
[all …]
Dstree.c397 if (deh_location(&deh[i]) > ih_item_len(ih)) { in has_valid_deh_location()
462 if (ih_item_len(ih) < 1 in is_leaf()
463 || ih_item_len(ih) > MAX_ITEM_LEN(blocksize)) { in is_leaf()
469 if (prev_location - ih_location(ih) != ih_item_len(ih)) { in is_leaf()
476 if (ih_item_len(ih) < (ih_entry_count(ih) * IH_SIZE)) { in is_leaf()
879 RFALSE(!ih_item_len in search_for_position_by_key()
922 ih_item_len(p_le_ih) / UNFM_P_SIZE; in search_for_position_by_key()
924 pos_in_item(search_path) = ih_item_len(p_le_ih); in search_for_position_by_key()
958 *cut_size = -(IH_SIZE + ih_item_len(le_ih)); in prepare_for_direct_item()
966 *cut_size = -(IH_SIZE + ih_item_len(le_ih)); in prepare_for_direct_item()
[all …]
Ddo_balan.c86 RFALSE(ih_item_len(ih) + IH_SIZE != -tb->insert_size[0], in balance_leaf_when_delete_del()
140 RFALSE(!ih_item_len(ih), in balance_leaf_when_delete_cut()
302 new_item_len = ih_item_len(ih) - tb->lbytes; in balance_leaf_insert_left()
305 put_ih_item_len(ih, ih_item_len(ih) - new_item_len); in balance_leaf_insert_left()
307 RFALSE(ih_item_len(ih) <= 0, in balance_leaf_insert_left()
309 "ih_item_len=%d", ih_item_len(ih)); in balance_leaf_insert_left()
314 min_t(int, tb->zeroes_num, ih_item_len(ih))); in balance_leaf_insert_left()
333 RFALSE(ih_item_len(ih) <= 0, in balance_leaf_insert_left()
335 "ih_item_len=%d", ih_item_len(ih)); in balance_leaf_insert_left()
430 RFALSE(tb->pos_in_item != ih_item_len(item_head(tbS0, tb->item_pos)), in balance_leaf_paste_left_shift()
[all …]
Dtail_conversion.c124 + ih_item_len(p_le_ih) - 1; in direct2indirect()
235 le_ih_k_offset(&s_ih) - 1 + (ih_item_len(&s_ih) / UNFM_P_SIZE - in indirect2direct()
257 (ih_item_len(&s_ih) / UNFM_P_SIZE - in indirect2direct()
Ditem_ops.c116 return ih_item_len(ih); in direct_bytes_number()
140 while (j < ih_item_len(ih)) in direct_print_item()
207 return ih_item_len(ih) / UNFM_P_SIZE * block_size; in indirect_bytes_number()
269 if (ih_item_len(ih) % UNFM_P_SIZE) in indirect_print_item()
387 (i ? (deh_location(deh - 1)) : ih_item_len(ih)) - in direntry_print_item()
486 (j ? deh_location(&deh[j - 1]) : ih_item_len(vi->vi_ih)) - in direntry_create_vi()
Dreiserfs.h1382 __le16 ih_item_len; /* total size of the item body */ member
1400 #define ih_item_len(ih) le16_to_cpu((ih)->ih_item_len) macro
1406 #define put_ih_item_len(ih, val) do { (ih)->ih_item_len = cpu_to_le16(val); } while (0)
2260 return ih_item_len(ih) - deh_location(deh); in entry_length()
2660 #define I_UNFM_NUM(ih) (ih_item_len(ih) / UNFM_P_SIZE)
Dinode.c337 ((ih_item_len(ih) / UNFM_P_SIZE) - 1)) { in _get_block_create_0()
408 if ((le_ih_k_offset(ih) - 1 + ih_item_len(ih)) > inode->i_size) { in _get_block_create_0()
414 chars = ih_item_len(ih) - path.pos_in_item; in _get_block_create_0()
1014 RFALSE(pos_in_item != ih_item_len(ih) / UNFM_P_SIZE, in reiserfs_get_block()
2420 copy_size = ih_item_len(ih) - pos_in_item; in map_block_for_writepage()
Dprints.c130 ih_item_len(ih), ih_location(ih), in scnprintf_item_head()
Dfix_node.c105 vi->vi_item_len += ih_item_len(ih + j) + IH_SIZE; in create_virtual_node()