Lines Matching refs:end_off
69 int data_off, end_off; in hfs_brec_insert() local
93 end_off = hfs_bnode_read_u16(node, end_rec_off); in hfs_brec_insert()
96 rec, size, end_off, end_rec_off); in hfs_brec_insert()
97 if (size > end_rec_off - end_off) { in hfs_brec_insert()
112 hfs_bnode_write_u16(node, end_rec_off, end_off + size); in hfs_brec_insert()
113 data_off = end_off; in hfs_brec_insert()
127 end_off - data_off); in hfs_brec_insert()
179 int end_off, rec_off, data_off, size; in hfs_brec_remove() local
185 end_off = tree->node_size - (node->num_recs + 1) * 2; in hfs_brec_remove()
209 if (rec_off == end_off) in hfs_brec_remove()
217 } while (rec_off >= end_off); in hfs_brec_remove()
356 int start_off, end_off; in hfs_brec_update_parent() local
388 end_off = hfs_bnode_read_u16(parent, end_rec_off); in hfs_brec_update_parent()
389 if (end_rec_off - end_off < diff) { in hfs_brec_update_parent()
403 end_off = start_off = hfs_bnode_read_u16(parent, rec_off); in hfs_brec_update_parent()
409 end_off = hfs_bnode_read_u16(parent, rec_off); in hfs_brec_update_parent()
410 hfs_bnode_write_u16(parent, rec_off, end_off + diff); in hfs_brec_update_parent()
413 end_off - start_off); in hfs_brec_update_parent()