Searched refs:n_position (Results 1 – 2 of 2) sorted by relevance
/linux-2.4.37.9/fs/reiserfs/ |
D | stree.c | 310 int n_position, n_path_offset = p_s_chk_path->path_length; in get_lkey() local 326 if ( (n_position = PATH_OFFSET_POSITION(p_s_chk_path, n_path_offset)) > B_NR_ITEMS(p_s_parent) ) in get_lkey() 329 if ( B_N_CHILD_NUM(p_s_parent, n_position) != in get_lkey() 333 if ( n_position ) in get_lkey() 334 return B_N_PDELIM_KEY(p_s_parent, n_position - 1); in get_lkey() 349 int n_position, in get_rkey() local 365 if ( (n_position = PATH_OFFSET_POSITION(p_s_chk_path, n_path_offset)) > B_NR_ITEMS(p_s_parent) ) in get_rkey() 368 if ( B_N_CHILD_NUM(p_s_parent, n_position) != in get_rkey() 372 if ( n_position != B_NR_ITEMS(p_s_parent) ) in get_rkey() 373 return B_N_PDELIM_KEY(p_s_parent, n_position); in get_rkey()
|
D | fix_node.c | 967 n_position = INT_MAX, in get_far_parent() local 985 if ( (n_position = PATH_OFFSET_POSITION(p_s_path, n_counter - 1)) > B_NR_ITEMS(p_s_parent) ) in get_far_parent() 988 if ( B_N_CHILD_NUM(p_s_parent, n_position) != in get_far_parent() 994 if ( n_position != n_first_last_position ) { in get_far_parent() 1032 (p_s_tb->lkey[n_h - 1] = n_position - 1) : (p_s_tb->rkey[n_h - 1] = n_position))); in get_far_parent() 1071 int n_position, in get_parents() local 1090 if ( (n_position = PATH_OFFSET_POSITION(p_s_path, n_path_offset - 1)) ) { in get_parents() 1096 p_s_tb->lkey[n_h] = n_position - 1; in get_parents() 1120 if ( n_position == B_NR_ITEMS (PATH_H_PBUFFER(p_s_path, n_h + 1)) ) { in get_parents() 1133 p_s_tb->rkey[n_h] = n_position; in get_parents() [all …]
|