Lines Matching refs:end_rec_off
490 int idx_rec_off, data_rec_off, end_rec_off; in hfsplus_bnode_insert_rec() local
510 end_rec_off = tree->node_size - (node->num_recs + 1) * 2; in hfsplus_bnode_insert_rec()
511 end_off = hfsplus_bnode_read_u16(node, end_rec_off); in hfsplus_bnode_insert_rec()
512 end_rec_off -= 2; in hfsplus_bnode_insert_rec()
513 dprint(DBG_BNODE_MOD, "insert_rec: %d, %d, %d, %d\n", rec, size, end_off, end_rec_off); in hfsplus_bnode_insert_rec()
514 if (size > end_rec_off - end_off) { in hfsplus_bnode_insert_rec()
529 hfsplus_bnode_write_u16(node, end_rec_off, end_off + size); in hfsplus_bnode_insert_rec()
531 data_rec_off = end_rec_off + 2; in hfsplus_bnode_insert_rec()
587 int rec, rec_off, end_rec_off; in hfsplus_update_idx_rec() local
607 end_rec_off = tree->node_size - (parent->num_recs + 1) * 2; in hfsplus_update_idx_rec()
612 end_off = hfsplus_bnode_read_u16(parent, end_rec_off); in hfsplus_update_idx_rec()
613 if (end_rec_off - end_off < diff) { in hfsplus_update_idx_rec()
623 end_rec_off = tree->node_size - (parent->num_recs + 1) * 2; in hfsplus_update_idx_rec()
631 while (rec_off > end_rec_off) { in hfsplus_update_idx_rec()