Lines Matching refs:rec_off
181 int end_off, rec_off, data_off, size; in hfs_brec_remove() local
186 rec_off = tree->node_size - (fd->record + 2) * 2; in hfs_brec_remove()
211 if (rec_off == end_off) in hfs_brec_remove()
216 data_off = hfs_bnode_read_u16(node, rec_off); in hfs_brec_remove()
217 hfs_bnode_write_u16(node, rec_off + 2, data_off - size); in hfs_brec_remove()
218 rec_off -= 2; in hfs_brec_remove()
219 } while (rec_off >= end_off); in hfs_brec_remove()
357 int rec, rec_off, end_rec_off; in hfs_brec_update_parent() local
384 rec_off = tree->node_size - (rec + 2) * 2; in hfs_brec_update_parent()
400 rec_off = tree->node_size - (rec + 2) * 2; in hfs_brec_update_parent()
405 end_off = start_off = hfs_bnode_read_u16(parent, rec_off); in hfs_brec_update_parent()
406 hfs_bnode_write_u16(parent, rec_off, start_off + diff); in hfs_brec_update_parent()
409 while (rec_off > end_rec_off) { in hfs_brec_update_parent()
410 rec_off -= 2; in hfs_brec_update_parent()
411 end_off = hfs_bnode_read_u16(parent, rec_off); in hfs_brec_update_parent()
412 hfs_bnode_write_u16(parent, rec_off, end_off + diff); in hfs_brec_update_parent()