Lines Matching refs:rec_off
183 int end_off, rec_off, data_off, size; in hfs_brec_remove() local
188 rec_off = tree->node_size - (fd->record + 2) * 2; in hfs_brec_remove()
215 if (rec_off == end_off) in hfs_brec_remove()
220 data_off = hfs_bnode_read_u16(node, rec_off); in hfs_brec_remove()
221 hfs_bnode_write_u16(node, rec_off + 2, data_off - size); in hfs_brec_remove()
222 rec_off -= 2; in hfs_brec_remove()
223 } while (rec_off >= end_off); in hfs_brec_remove()
361 int rec, rec_off, end_rec_off; in hfs_brec_update_parent() local
389 rec_off = tree->node_size - (rec + 2) * 2; in hfs_brec_update_parent()
405 rec_off = tree->node_size - (rec + 2) * 2; in hfs_brec_update_parent()
411 end_off = start_off = hfs_bnode_read_u16(parent, rec_off); in hfs_brec_update_parent()
412 hfs_bnode_write_u16(parent, rec_off, start_off + diff); in hfs_brec_update_parent()
415 while (rec_off > end_rec_off) { in hfs_brec_update_parent()
416 rec_off -= 2; in hfs_brec_update_parent()
417 end_off = hfs_bnode_read_u16(parent, rec_off); in hfs_brec_update_parent()
418 hfs_bnode_write_u16(parent, rec_off, end_off + diff); in hfs_brec_update_parent()