Home
last modified time | relevance | path

Searched refs:p_s_path (Results 1 – 3 of 3) sorted by relevance

/fs/reiserfs/
Dstree.c886 int comp_items(const struct item_head *stored_ih, const struct treepath *p_s_path) in comp_items() argument
892 if (!B_IS_IN_TREE(p_s_bh = PATH_PLAST_BUFFER(p_s_path))) in comp_items()
896 if (PATH_LAST_POSITION(p_s_path) >= B_NR_ITEMS(p_s_bh)) in comp_items()
900 ih = get_ih(p_s_path); in comp_items()
989 … reiserfs_transaction_handle *th, struct inode *inode, struct treepath *p_s_path, const struct cpu… in prepare_for_delete_or_cut() argument
995 struct item_head *p_le_ih = PATH_PITEM_HEAD(p_s_path); in prepare_for_delete_or_cut()
996 struct buffer_head *p_s_bh = PATH_PLAST_BUFFER(p_s_path); in prepare_for_delete_or_cut()
1012 return prepare_for_direntry_item(p_s_path, p_le_ih, inode, in prepare_for_delete_or_cut()
1018 return prepare_for_direct_item(p_s_path, p_le_ih, inode, in prepare_for_delete_or_cut()
1040 p_s_bh = PATH_PLAST_BUFFER(p_s_path); in prepare_for_delete_or_cut()
[all …]
Dtail_conversion.c174 …andle *th, struct inode *p_s_inode, struct page *page, struct treepath *p_s_path, /* path to the i… in indirect2direct() argument
194 copy_item_head(&s_ih, PATH_PITEM_HEAD(p_s_path)); in indirect2direct()
213 if (path_changed(&s_ih, p_s_path)) { in indirect2direct()
215 if (search_for_position_by_key(p_s_sb, p_s_item_key, p_s_path) in indirect2direct()
221 copy_item_head(&s_ih, PATH_PITEM_HEAD(p_s_path)); in indirect2direct()
243 PATH_LAST_POSITION(p_s_path)++; in indirect2direct()
249 if (reiserfs_insert_item(th, p_s_path, &key, &s_ih, p_s_inode, in indirect2direct()
Dfix_node.c962 struct treepath *p_s_path = p_s_tb->tb_path; in get_far_parent() local
967 n_path_offset = PATH_H_PATH_OFFSET(p_s_path, n_h); in get_far_parent()
980 (p_s_parent = PATH_OFFSET_PBUFFER(p_s_path, n_counter - 1))) in get_far_parent()
984 PATH_OFFSET_POSITION(p_s_path, in get_far_parent()
990 PATH_OFFSET_PBUFFER(p_s_path, n_counter)->b_blocknr) in get_far_parent()
1079 struct treepath *p_s_path = p_s_tb->tb_path; in get_parents() local
1099 if ((n_position = PATH_OFFSET_POSITION(p_s_path, n_path_offset - 1))) { in get_parents()
1103 PATH_OFFSET_PBUFFER(p_s_path, n_path_offset - 1); in get_parents()
1130 if (n_position == B_NR_ITEMS(PATH_H_PBUFFER(p_s_path, n_h + 1))) { in get_parents()
1142 PATH_OFFSET_PBUFFER(p_s_path, n_path_offset - 1); in get_parents()
[all …]