Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linuxkpi/common/include/linux/slab.h
Show First 20 Lines • Show All 204 Lines • ▼ Show 20 Lines | |||||
extern struct linux_kmem_cache *linux_kmem_cache_create(const char *name, | extern struct linux_kmem_cache *linux_kmem_cache_create(const char *name, | ||||
size_t size, size_t align, unsigned flags, linux_kmem_ctor_t *ctor); | size_t size, size_t align, unsigned flags, linux_kmem_ctor_t *ctor); | ||||
extern void *lkpi_kmem_cache_alloc(struct linux_kmem_cache *, gfp_t); | extern void *lkpi_kmem_cache_alloc(struct linux_kmem_cache *, gfp_t); | ||||
extern void *lkpi_kmem_cache_zalloc(struct linux_kmem_cache *, gfp_t); | extern void *lkpi_kmem_cache_zalloc(struct linux_kmem_cache *, gfp_t); | ||||
extern void lkpi_kmem_cache_free(struct linux_kmem_cache *, void *); | extern void lkpi_kmem_cache_free(struct linux_kmem_cache *, void *); | ||||
extern void linux_kmem_cache_destroy(struct linux_kmem_cache *); | extern void linux_kmem_cache_destroy(struct linux_kmem_cache *); | ||||
void linux_kfree_async(void *); | void linux_kfree_async(void *); | ||||
void linux_kmem_cache_free_rcu_callback(struct rcu_head *head); | |||||
wulf: I have to place
`void linux_kmem_cache_free_rcu(struct linux_kmem_cache *, void *);`
line here… | |||||
void linux_kmem_cache_free_rcu(struct linux_kmem_cache *, void *); | |||||
#endif /* _LINUX_SLAB_H_ */ | #endif /* _LINUX_SLAB_H_ */ |
I have to place
void linux_kmem_cache_free_rcu(struct linux_kmem_cache *, void *);
line here to fix build.