Searched refs:kobj_map (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/include/linux/ |
D | kobj_map.h | 12 struct kobj_map; typedef 14 int kobj_map(struct kobj_map *, dev_t, unsigned long, struct module *, 16 void kobj_unmap(struct kobj_map *, dev_t, unsigned long); 17 struct kobject *kobj_lookup(struct kobj_map *, dev_t, int *); 18 struct kobj_map *kobj_map_init(kobj_probe_t *, struct mutex *);
|
/Linux-v5.10/drivers/base/ |
D | map.c | 19 struct kobj_map { struct 32 int kobj_map(struct kobj_map *domain, dev_t dev, unsigned long range, in kobj_map() argument 68 void kobj_unmap(struct kobj_map *domain, dev_t dev, unsigned long range) in kobj_unmap() 95 struct kobject *kobj_lookup(struct kobj_map *domain, dev_t dev, int *index) in kobj_lookup() 135 struct kobj_map *kobj_map_init(kobj_probe_t *base_probe, struct mutex *lock) in kobj_map_init() 137 struct kobj_map *p = kmalloc(sizeof(struct kobj_map), GFP_KERNEL); in kobj_map_init()
|
/Linux-v5.10/fs/ |
D | char_dev.c | 28 static struct kobj_map *cdev_map; 489 error = kobj_map(cdev_map, dev, count, NULL, in cdev_add()
|
/Linux-v5.10/block/ |
D | genhd.c | 523 static struct kobj_map *bdev_map; 651 kobj_map(bdev_map, devt, range, module, probe, lock, data); in blk_register_region()
|