Lines Matching refs:next_entry
1756 struct delta_index_entry next_entry; in uds_put_delta_index_entry() local
1774 next_entry = *delta_entry; in uds_put_delta_index_entry()
1775 next_value = uds_get_delta_entry_value(&next_entry); in uds_put_delta_index_entry()
1778 set_delta(&next_entry, next_entry.key - key); in uds_put_delta_index_entry()
1779 next_entry.offset += delta_entry->entry_bits; in uds_put_delta_index_entry()
1782 next_entry.entry_bits - old_entry_size); in uds_put_delta_index_entry()
1787 encode_entry(&next_entry, next_value, NULL); in uds_put_delta_index_entry()
1849 struct delta_index_entry next_entry; in uds_remove_delta_index_entry() local
1857 next_entry = *delta_entry; in uds_remove_delta_index_entry()
1858 result = uds_next_delta_index_entry(&next_entry); in uds_remove_delta_index_entry()
1867 next_entry.offset = delta_entry->offset; in uds_remove_delta_index_entry()
1869 } else if (next_entry.at_end) { in uds_remove_delta_index_entry()
1872 next_entry.key -= delta_entry->delta; in uds_remove_delta_index_entry()
1873 next_entry.offset = delta_entry->offset; in uds_remove_delta_index_entry()
1876 u32 next_value = uds_get_delta_entry_value(&next_entry); in uds_remove_delta_index_entry()
1877 u16 old_size = delta_entry->entry_bits + next_entry.entry_bits; in uds_remove_delta_index_entry()
1879 if (next_entry.is_collision) { in uds_remove_delta_index_entry()
1880 next_entry.is_collision = false; in uds_remove_delta_index_entry()
1884 set_delta(&next_entry, delta_entry->delta + next_entry.delta); in uds_remove_delta_index_entry()
1885 next_entry.offset = delta_entry->offset; in uds_remove_delta_index_entry()
1887 delete_bits(delta_entry, old_size - next_entry.entry_bits); in uds_remove_delta_index_entry()
1888 encode_entry(&next_entry, next_value, NULL); in uds_remove_delta_index_entry()
1893 *delta_entry = next_entry; in uds_remove_delta_index_entry()