Searched refs:vn (Results 1 – 3 of 3) sorted by relevance
/fs/reiserfs/ |
D | fix_node.c | 54 struct virtual_node *vn = tb->tb_vn; in create_virtual_node() local 61 vn->vn_size = in create_virtual_node() 66 vn->vn_nr_item = (vn->vn_size - DC_SIZE) / (DC_SIZE + KEY_SIZE); in create_virtual_node() 71 vn->vn_nr_item = in create_virtual_node() 72 B_NR_ITEMS(Sh) + ((vn->vn_mode == M_INSERT) ? 1 : 0) - in create_virtual_node() 73 ((vn->vn_mode == M_DELETE) ? 1 : 0); in create_virtual_node() 76 vn->vn_vi = (struct virtual_item *)(tb->tb_vn + 1); in create_virtual_node() 77 memset(vn->vn_vi, 0, vn->vn_nr_item * sizeof(struct virtual_item)); in create_virtual_node() 78 vn->vn_free_ptr += vn->vn_nr_item * sizeof(struct virtual_item); in create_virtual_node() 85 && (vn->vn_mode != M_DELETE || vn->vn_affected_item_num)) in create_virtual_node() [all …]
|
D | item_ops.c | 60 static int sd_create_vi(struct virtual_node *vn, in sd_create_vi() argument 150 static int direct_create_vi(struct virtual_node *vn, in direct_create_vi() argument 288 static int indirect_create_vi(struct virtual_node *vn, in indirect_create_vi() argument 458 static int direntry_create_vi(struct virtual_node *vn, in direntry_create_vi() argument 479 ((is_affected) ? ((vn->vn_mode == M_CUT) ? -1 : in direntry_create_vi() 480 (vn->vn_mode == M_PASTE ? 1 : 0)) : 0); in direntry_create_vi() 483 j = old_entry_num(is_affected, i, vn->vn_pos_in_item, in direntry_create_vi() 484 vn->vn_mode); in direntry_create_vi() 493 if (is_affected && vn->vn_mode == M_PASTE) in direntry_create_vi() 494 dir_u->entry_sizes[vn->vn_pos_in_item] = insert_size; in direntry_create_vi() [all …]
|
D | reiserfs.h | 2636 int (*create_vi) (struct virtual_node * vn, struct virtual_item * vi, 2652 #define op_create_vi(vn,vi,is_affected,insert_size) item_ops[le_ih_k_type ((vi)->vi_ih)]->create_v… argument
|