Lines Matching refs:block
382 static void slob_free(void *block, int size) in slob_free() argument
385 slob_t *prev, *next, *b = (slob_t *)block; in slob_free()
390 if (unlikely(ZERO_OR_NULL_PTR(block))) in slob_free()
394 sp = virt_to_page(block); in slob_free()
540 void kfree(const void *block) in kfree() argument
544 trace_kfree(_RET_IP_, block); in kfree()
546 if (unlikely(ZERO_OR_NULL_PTR(block))) in kfree()
548 kmemleak_free(block); in kfree()
550 sp = virt_to_page(block); in kfree()
555 unsigned int *m = (unsigned int *)(block - align); in kfree()
569 size_t __ksize(const void *block) in __ksize() argument
575 BUG_ON(!block); in __ksize()
576 if (unlikely(block == ZERO_SIZE_PTR)) in __ksize()
579 sp = virt_to_page(block); in __ksize()
585 m = (unsigned int *)(block - align); in __ksize()