<linux/slab.h>
void *kmalloc(size_t size, int flags);
void kfree(void *obj);
5/13/22About 2 min
void *kmalloc(size_t size, int flags);
void kfree(void *obj);
insmod
modprobe
rmmod
#include <linux/fs.h>
struct file_operations { ... };
#include <linux/fs.h>
struct file { ... };
dev_t
The include file that defines semaphores and the operations on them.
DECLARE_MUTEX(name);
DECLARE_MUTEX_LOCKED(name);
HZ