/* SPDX-License-Identifier: GPL-2.0 */ #ifndef SLAB_H #define SLAB_H #include <linux/types.h> #include <linux/gfp.h> #define SLAB_HWCACHE_ALIGN 1 #define SLAB_PANIC 2 #define SLAB_RECLAIM_ACCOUNT 0x00020000UL /* Objects are reclaimable */ void *kmalloc(size_t size, gfp_t); void kfree(void *);
static inline void *kzalloc(size_t size, gfp_t gfp) { return kmalloc(size, gfp | __GFP_ZERO); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Matthew Wilcox | 24 | 100.00% | 1 | 100.00% |
Total | 24 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Matthew Wilcox | 126 | 99.21% | 3 | 75.00% |
Greg Kroah-Hartman | 1 | 0.79% | 1 | 25.00% |
Total | 127 | 100.00% | 4 | 100.00% |