XenevaOS
Loading...
Searching...
No Matches
Functions
cdev.h File Reference
#include <linux/kobject.h>
#include <linux/kdev_t.h>
#include <linux/list.h>
#include <linux/device.h>
#include <linux/fs.h>
#include <linux/file.h>
Include dependency graph for cdev.h:

Go to the source code of this file.

Functions

void cdev_init (struct cdev *, const struct file_operations *)
 
struct cdev * cdev_alloc (void)
 
void cdev_put (struct cdev *p)
 
int cdev_add (struct cdev *, dev_t, unsigned)
 
void cdev_set_parent (struct cdev *p, struct kobject *kobj)
 
int cdev_device_add (struct cdev *cdev, struct device *dev)
 
void cdev_device_del (struct cdev *cdev, struct device *dev)
 
void cdev_del (struct cdev *)
 
void cd_forget (struct inode *)
 

Function Documentation

◆ cd_forget()

void cd_forget ( struct inode *  )

◆ cdev_add()

int cdev_add ( struct cdev *  ,
dev_t  ,
unsigned   
)

◆ cdev_alloc()

struct cdev * cdev_alloc ( void  )

◆ cdev_del()

void cdev_del ( struct cdev *  )

◆ cdev_device_add()

int cdev_device_add ( struct cdev *  cdev,
struct device *  dev 
)

◆ cdev_device_del()

void cdev_device_del ( struct cdev *  cdev,
struct device *  dev 
)

◆ cdev_init()

void cdev_init ( struct cdev *  ,
const struct file_operations *   
)

◆ cdev_put()

void cdev_put ( struct cdev *  p)

◆ cdev_set_parent()

void cdev_set_parent ( struct cdev *  p,
struct kobject *  kobj 
)