/* Encode the given size and next info into a free slob block s.  */
static void set_slob(slob_t *s, slobidx_t size, slob_t *next)
/* Encode the given size and next info into a free slob block s.  */
static void set_slob(slob_t *s, slobidx_t size, slob_t *next)
{
	slob_t *base = (slob_t *)((unsigned long)s & PAGE_MASK);
	slobidx_t offset = next - base;
	if (size > 1) {
		s[0].units = size;
		s[1].units = offset;
	} else
		s[0].units = -offset;
}