<linux/slab.h>
void *kmalloc(size_t size, int flags);
void kfree(void *obj);
About 2 minAbout 724 words
void *kmalloc(size_t size, int flags);
void kfree(void *obj);
insmod
modprobe
rmmod
User-space utilities that load modules into the running kernels and remove them.
module_init(init_function);
module_exit(cleanup_function);
#include <linux/fs.h>
struct file_operations { ... };
#include <linux/fs.h>
struct file { ... };
dev_t
dev_t
is the type used to represent device numbers within the kernel.
int MAJOR(dev_t dev);
int MINOR(dev_t dev);
The include file that defines semaphores and the operations on them.
DECLARE_MUTEX(name);
DECLARE_MUTEX_LOCKED(name);
HZ
The HZ
symbol specifies the number of clock ticks generated per second.
volatile unsigned long jiffies
u64 jiffies_64