Lines Matching refs:chk_path
215 static inline const struct reiserfs_key *get_lkey(const struct treepath *chk_path, in get_lkey() argument
218 int position, path_offset = chk_path->path_length; in get_lkey()
228 (PATH_OFFSET_PBUFFER(chk_path, path_offset)), in get_lkey()
234 PATH_OFFSET_PBUFFER(chk_path, path_offset))) in get_lkey()
238 PATH_OFFSET_POSITION(chk_path, in get_lkey()
244 PATH_OFFSET_PBUFFER(chk_path, in get_lkey()
255 if (PATH_OFFSET_PBUFFER(chk_path, FIRST_PATH_ELEMENT_OFFSET)-> in get_lkey()
262 inline const struct reiserfs_key *get_rkey(const struct treepath *chk_path, in get_rkey() argument
265 int position, path_offset = chk_path->path_length; in get_rkey()
274 (PATH_OFFSET_PBUFFER(chk_path, path_offset)), in get_rkey()
280 PATH_OFFSET_PBUFFER(chk_path, path_offset))) in get_rkey()
284 PATH_OFFSET_POSITION(chk_path, in get_rkey()
293 PATH_OFFSET_PBUFFER(chk_path, in get_rkey()
306 if (PATH_OFFSET_PBUFFER(chk_path, FIRST_PATH_ELEMENT_OFFSET)-> in get_rkey()
323 struct treepath *chk_path, in key_in_buffer() argument
330 RFALSE(!key || chk_path->path_length < FIRST_PATH_ELEMENT_OFFSET in key_in_buffer()
331 || chk_path->path_length > MAX_HEIGHT, in key_in_buffer()
333 key, chk_path->path_length); in key_in_buffer()
334 RFALSE(!PATH_PLAST_BUFFER(chk_path)->b_bdev, in key_in_buffer()
337 if (comp_keys(get_lkey(chk_path, sb), key) == 1) in key_in_buffer()
341 if (comp_keys(get_rkey(chk_path, sb), key) != 1) in key_in_buffer()