Lines Matching refs:path
1018 * Returns: PATH_INCORRECT - path in the tree is not correct
1030 struct treepath *path = tb->tb_path;
1035 path_offset = PATH_H_PATH_OFFSET(path, h);
1045 "PAP-8180: invalid path length");
1049 * Check whether parent of the current buffer in the path
1053 (parent = PATH_OFFSET_PBUFFER(path, counter - 1)))
1058 PATH_OFFSET_POSITION(path,
1064 * Check whether parent at the path really points
1068 PATH_OFFSET_PBUFFER(path, counter)->b_blocknr)
1088 * Check whether first buffer in the path is the
1141 /* path is released */
1155 FIRST_PATH_ELEMENT_OFFSET, "PAP-8192: path length is too small");
1163 * Get parents of neighbors of node in the path(S[path_offset]) and
1174 struct treepath *path = tb->tb_path;
1199 position = PATH_OFFSET_POSITION(path, path_offset - 1);
1202 curf = PATH_OFFSET_PBUFFER(path, path_offset - 1);
1203 curcf = PATH_OFFSET_PBUFFER(path, path_offset - 1);
1234 if (position == B_NR_ITEMS(PATH_H_PBUFFER(path, h + 1))) {
1247 curf = PATH_OFFSET_PBUFFER(path, path_offset - 1);
1248 curcf = PATH_OFFSET_PBUFFER(path, path_offset - 1);
2089 /* Check whether parent at the path is the really parent of the current node.*/
2093 struct treepath *path = tb->tb_path;
2101 "PAP-8260: invalid offset in the path");
2103 if (PATH_OFFSET_PBUFFER(path, FIRST_PATH_ELEMENT_OFFSET)->
2106 PATH_OFFSET_PBUFFER(path, path_offset - 1) = NULL;
2107 PATH_OFFSET_POSITION(path, path_offset - 1) = 0;
2110 /* Root is changed and we must recalculate the path. */
2114 /* Parent in the path is not in the tree. */
2116 (bh = PATH_OFFSET_PBUFFER(path, path_offset - 1)))
2120 PATH_OFFSET_POSITION(path,
2124 /* Parent in the path is not parent of the current node in the tree. */
2126 PATH_OFFSET_PBUFFER(path, path_offset)->b_blocknr)
2138 * Parent in the path is unlocked and really parent
2291 * on dcache shrinking). So, release path and collected
2381 * be sure the last buffer in the path is
2726 /* Release path buffers. */
2782 /* Release path buffers. */