Lines Matching refs:p_s_search_path
427 struct path * p_s_search_path in decrement_counters_in_path() argument
429 int n_path_offset = p_s_search_path->path_length; in decrement_counters_in_path()
438 bh = PATH_OFFSET_PBUFFER(p_s_search_path, n_path_offset--); in decrement_counters_in_path()
441 p_s_search_path->path_length = ILLEGAL_PATH_ELEMENT_OFFSET; in decrement_counters_in_path()
459 struct path * p_s_search_path in pathrelse_and_restore() argument
461 int n_path_offset = p_s_search_path->path_length; in pathrelse_and_restore()
467 reiserfs_restore_prepared_buffer(s, PATH_OFFSET_PBUFFER(p_s_search_path, in pathrelse_and_restore()
469 brelse(PATH_OFFSET_PBUFFER(p_s_search_path, n_path_offset--)); in pathrelse_and_restore()
471 p_s_search_path->path_length = ILLEGAL_PATH_ELEMENT_OFFSET; in pathrelse_and_restore()
476 struct path * p_s_search_path in pathrelse() argument
478 int n_path_offset = p_s_search_path->path_length; in pathrelse()
484 brelse(PATH_OFFSET_PBUFFER(p_s_search_path, n_path_offset--)); in pathrelse()
486 p_s_search_path->path_length = ILLEGAL_PATH_ELEMENT_OFFSET; in pathrelse()
646 struct path * p_s_search_path, /* This structure was in search_by_key() argument
674 decrement_counters_in_path(p_s_search_path); in search_by_key()
692 p_s_last_element = PATH_OFFSET_PELEMENT(p_s_search_path, ++p_s_search_path->path_length); in search_by_key()
705 p_s_search_path->path_length --; in search_by_key()
706 pathrelse(p_s_search_path); in search_by_key()
719 (!B_IS_IN_TREE (p_s_bh) || !key_in_buffer(p_s_search_path, p_s_key, p_s_sb)) ) { in search_by_key()
722 decrement_counters_in_path(p_s_search_path); in search_by_key()
738 ! key_in_buffer(p_s_search_path, p_s_key, p_s_sb), in search_by_key()
753 pathrelse (p_s_search_path); in search_by_key()
815 struct path * p_s_search_path /* Filled up by this function. */ in search_for_position_by_key() argument
825 return search_by_entry_key (p_s_sb, p_cpu_key, p_s_search_path, &de); in search_for_position_by_key()
830 retval = search_item (p_s_sb, p_cpu_key, p_s_search_path); in search_for_position_by_key()
836 B_N_PITEM_HEAD(PATH_PLAST_BUFFER(p_s_search_path), in search_for_position_by_key()
837 PATH_LAST_POSITION(p_s_search_path))), in search_for_position_by_key()
840 pos_in_item(p_s_search_path) = 0; in search_for_position_by_key()
844 RFALSE( ! PATH_LAST_POSITION(p_s_search_path), in search_for_position_by_key()
848 …p_le_ih = B_N_PITEM_HEAD(PATH_PLAST_BUFFER(p_s_search_path), --PATH_LAST_POSITION(p_s_search_path)… in search_for_position_by_key()
863 pos_in_item (p_s_search_path) = offset - item_offset; in search_for_position_by_key()
865 pos_in_item (p_s_search_path) /= n_blk_size; 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()
1823 struct path * p_s_search_path, /* Path to the pasted item. */ in reiserfs_paste_into_item() argument
1831 init_tb_struct(th, &s_paste_balance, th->t_super, p_s_search_path, n_pasted_size); in reiserfs_paste_into_item()
1839 retval = search_for_position_by_key (th->t_super, p_s_key, p_s_search_path); in reiserfs_paste_into_item()
1851 check_research_for_paste (p_s_search_path, p_s_key); in reiserfs_paste_into_item()