Lines Matching refs:s
146 static void set_slob(slob_t *s, slobidx_t size, slob_t *next) in set_slob() argument
148 slob_t *base = (slob_t *)((unsigned long)s & PAGE_MASK); in set_slob()
152 s[0].units = size; in set_slob()
153 s[1].units = offset; in set_slob()
155 s[0].units = -offset; in set_slob()
161 static slobidx_t slob_units(slob_t *s) in slob_units() argument
163 if (s->units > 0) in slob_units()
164 return s->units; in slob_units()
171 static slob_t *slob_next(slob_t *s) in slob_next() argument
173 slob_t *base = (slob_t *)((unsigned long)s & PAGE_MASK); in slob_next()
176 if (s[0].units < 0) in slob_next()
177 next = -s[0].units; in slob_next()
179 next = s[1].units; in slob_next()
186 static int slob_last(slob_t *s) in slob_last() argument
188 return !((unsigned long)slob_next(s) & ~PAGE_MASK); in slob_last()
682 void kmem_cache_free_bulk(struct kmem_cache *s, size_t size, void **p) in kmem_cache_free_bulk() argument
684 __kmem_cache_free_bulk(s, size, p); in kmem_cache_free_bulk()
688 int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, in kmem_cache_alloc_bulk() argument
691 return __kmem_cache_alloc_bulk(s, flags, size, p); in kmem_cache_alloc_bulk()