]>
git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - include/linux/kobj_map.h
1 /* SPDX-License-Identifier: GPL-2.0 */
9 #include <linux/mutex.h>
11 typedef struct kobject
*kobj_probe_t(dev_t
, int *, void *);
14 int kobj_map(struct kobj_map
*, dev_t
, unsigned long, struct module
*,
15 kobj_probe_t
*, int (*)(dev_t
, void *), void *);
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
*);
20 #endif /* _KOBJ_MAP_H_ */