Searched refs:ih_item_len (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/fs/reiserfs/ |
D | lbalance.c | 42 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 …]
|
D | stree.c | 397 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 …]
|
D | do_balan.c | 86 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 …]
|
D | tail_conversion.c | 124 + 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()
|
D | item_ops.c | 116 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()
|
D | reiserfs.h | 1384 __le16 ih_item_len; /* total size of the item body */ member 1402 #define ih_item_len(ih) le16_to_cpu((ih)->ih_item_len) macro 1408 #define put_ih_item_len(ih, val) do { (ih)->ih_item_len = cpu_to_le16(val); } while (0) 2262 return ih_item_len(ih) - deh_location(deh); in entry_length() 2662 #define I_UNFM_NUM(ih) (ih_item_len(ih) / UNFM_P_SIZE)
|
D | inode.c | 339 ((ih_item_len(ih) / UNFM_P_SIZE) - 1)) { in _get_block_create_0() 416 if ((le_ih_k_offset(ih) - 1 + ih_item_len(ih)) > inode->i_size) { in _get_block_create_0() 422 chars = ih_item_len(ih) - path.pos_in_item; in _get_block_create_0() 1022 RFALSE(pos_in_item != ih_item_len(ih) / UNFM_P_SIZE, in reiserfs_get_block() 2428 copy_size = ih_item_len(ih) - pos_in_item; in map_block_for_writepage()
|
D | prints.c | 130 ih_item_len(ih), ih_location(ih), in scnprintf_item_head()
|
D | fix_node.c | 105 vi->vi_item_len += ih_item_len(ih + j) + IH_SIZE; in create_virtual_node()
|