pub unsafe extern "C" fn state_entry_resize(
    entry: u64,
    new_size: u32
) -> u32
Expand description

Resize the entry to the given size. Returns

  • u32::MAX if the entry has already been invalidated
  • 0 if the attempt was unsuccessful because new_size exceeds maximum entry size
  • 1 if the entry was successfully resized.