Lines Matching refs:rec_off
587 int rec, rec_off, end_rec_off; in hfsplus_update_idx_rec() local
606 rec_off = tree->node_size - (rec + 2) * 2; in hfsplus_update_idx_rec()
622 rec_off = tree->node_size - (rec + 2) * 2; in hfsplus_update_idx_rec()
627 end_off = start_off = hfsplus_bnode_read_u16(parent, rec_off); in hfsplus_update_idx_rec()
628 hfsplus_bnode_write_u16(parent, rec_off, start_off + diff); in hfsplus_update_idx_rec()
631 while (rec_off > end_rec_off) { in hfsplus_update_idx_rec()
632 rec_off -= 2; in hfsplus_update_idx_rec()
633 end_off = hfsplus_bnode_read_u16(parent, rec_off); in hfsplus_update_idx_rec()
634 hfsplus_bnode_write_u16(parent, rec_off, end_off + diff); in hfsplus_update_idx_rec()
677 int end_off, rec_off, data_off, size; in hfsplus_bnode_remove_rec() local
682 rec_off = tree->node_size - (fd->record + 2) * 2; in hfsplus_bnode_remove_rec()
706 if (rec_off == end_off) in hfsplus_bnode_remove_rec()
711 data_off = hfsplus_bnode_read_u16(node, rec_off); in hfsplus_bnode_remove_rec()
712 hfsplus_bnode_write_u16(node, rec_off + 2, data_off - size); in hfsplus_bnode_remove_rec()
713 rec_off -= 2; in hfsplus_bnode_remove_rec()
714 } while (rec_off >= end_off); in hfsplus_bnode_remove_rec()
866 int i, rec_off, off, next_off; in hfsplus_find_bnode() local
897 rec_off = tree->node_size - 2; in hfsplus_find_bnode()
898 off = hfsplus_bnode_read_u16(node, rec_off); in hfsplus_find_bnode()
902 rec_off -= 2; in hfsplus_find_bnode()
903 next_off = hfsplus_bnode_read_u16(node, rec_off); in hfsplus_find_bnode()