Lines Matching refs:end_off
67 int data_off, end_off; in hfs_brec_insert() local
91 end_off = hfs_bnode_read_u16(node, end_rec_off); in hfs_brec_insert()
94 rec, size, end_off, end_rec_off); in hfs_brec_insert()
95 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()
181 int end_off, rec_off, data_off, size; in hfs_brec_remove() local
187 end_off = tree->node_size - (node->num_recs + 1) * 2; in hfs_brec_remove()
213 if (rec_off == end_off) in hfs_brec_remove()
221 } while (rec_off >= end_off); in hfs_brec_remove()
360 int start_off, end_off; in hfs_brec_update_parent() local
393 end_off = hfs_bnode_read_u16(parent, end_rec_off); in hfs_brec_update_parent()
394 if (end_rec_off - end_off < diff) { in hfs_brec_update_parent()
409 end_off = start_off = hfs_bnode_read_u16(parent, rec_off); in hfs_brec_update_parent()
415 end_off = hfs_bnode_read_u16(parent, rec_off); in hfs_brec_update_parent()
416 hfs_bnode_write_u16(parent, rec_off, end_off + diff); in hfs_brec_update_parent()
419 end_off - start_off); in hfs_brec_update_parent()