Lines Matching refs:rec
20 u16 hfs_brec_lenoff(struct hfs_bnode *node, u16 rec, u16 *off) in hfs_brec_lenoff() argument
25 dataoff = node->tree->node_size - (rec + 2) * 2; in hfs_brec_lenoff()
32 u16 hfs_brec_keylen(struct hfs_bnode *node, u16 rec) in hfs_brec_keylen() argument
45 node->tree->node_size - (rec + 1) * 2); in hfs_brec_keylen()
67 int size, key_len, rec; in hfs_brec_insert() local
85 rec = fd->record + 1; in hfs_brec_insert()
95 rec, size, end_off, end_rec_off); in hfs_brec_insert()
116 idx_rec_off = tree->node_size - (rec + 1) * 2; in hfs_brec_insert()
139 if (!rec && new_node != node) { in hfs_brec_insert()
360 int rec, rec_off, end_rec_off; in hfs_brec_update_parent() local
377 rec = fd->record; in hfs_brec_update_parent()
386 rec, fd->keylength, newkeylen); in hfs_brec_update_parent()
388 rec_off = tree->node_size - (rec + 2) * 2; in hfs_brec_update_parent()
403 rec = fd->record; in hfs_brec_update_parent()
404 rec_off = tree->node_size - (rec + 2) * 2; in hfs_brec_update_parent()
445 if (!rec) { in hfs_brec_update_parent()
454 if (!rec && node->parent) in hfs_brec_update_parent()
465 int key_size, rec; in hfs_btree_inc_height() local
502 rec = tree->node_size - 2; in hfs_btree_inc_height()
503 hfs_bnode_write_u16(new_node, rec, 14); in hfs_btree_inc_height()
524 rec -= 2; in hfs_btree_inc_height()
525 hfs_bnode_write_u16(new_node, rec, 14 + key_size + 4); in hfs_btree_inc_height()