Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
map.c File Reference
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/mutex.h>
#include <linux/kdev_t.h>
#include <linux/kobject.h>
#include <linux/kobj_map.h>

Go to the source code of this file.

Data Structures

struct  kobj_map
 
struct  kobj_map::probe
 

Functions

int kobj_map (struct kobj_map *domain, dev_t dev, unsigned long range, struct module *module, kobj_probe_t *probe, int(*lock)(dev_t, void *), void *data)
 
void kobj_unmap (struct kobj_map *domain, dev_t dev, unsigned long range)
 
struct kobjectkobj_lookup (struct kobj_map *domain, dev_t dev, int *index)
 
struct kobj_mapkobj_map_init (kobj_probe_t *base_probe, struct mutex *lock)
 

Function Documentation

struct kobject* kobj_lookup ( struct kobj_map domain,
dev_t  dev,
int index 
)
read

Definition at line 96 of file map.c.

int kobj_map ( struct kobj_map domain,
dev_t  dev,
unsigned long  range,
struct module module,
kobj_probe_t probe,
int(*)(dev_t, void *)  lock,
void data 
)

Definition at line 32 of file map.c.

struct kobj_map* kobj_map_init ( kobj_probe_t base_probe,
struct mutex lock 
)
read

Definition at line 136 of file map.c.

void kobj_unmap ( struct kobj_map domain,
dev_t  dev,
unsigned long  range 
)

Definition at line 69 of file map.c.