/linux-4.19.296/include/linux/ |
D | kobject.h | 69 struct kset *kset; member 157 int (* const filter)(struct kset *kset, struct kobject *kobj); 158 const char *(* const name)(struct kset *kset, struct kobject *kobj); 159 int (* const uevent)(struct kset *kset, struct kobject *kobj, 192 struct kset { struct 199 extern void kset_init(struct kset *kset); argument 200 extern int __must_check kset_register(struct kset *kset); 201 extern void kset_unregister(struct kset *kset); 202 extern struct kset * __must_check kset_create_and_add(const char *name, 206 static inline struct kset *to_kset(struct kobject *kobj) in to_kset() [all …]
|
D | iscsi_boot_sysfs.h | 113 struct kset *kset; member
|
D | slub_def.h | 116 struct kset *memcg_kset;
|
/linux-4.19.296/lib/ |
D | kobject.c | 183 if (!kobj->kset) in kobj_kset_join() 186 kset_get(kobj->kset); in kobj_kset_join() 187 spin_lock(&kobj->kset->list_lock); in kobj_kset_join() 188 list_add_tail(&kobj->entry, &kobj->kset->list); in kobj_kset_join() 189 spin_unlock(&kobj->kset->list_lock); in kobj_kset_join() 195 if (!kobj->kset) in kobj_kset_leave() 198 spin_lock(&kobj->kset->list_lock); in kobj_kset_leave() 200 spin_unlock(&kobj->kset->list_lock); in kobj_kset_leave() 201 kset_put(kobj->kset); in kobj_kset_leave() 235 if (kobj->kset) { in kobject_add_internal() [all …]
|
D | kobject_uevent.c | 392 if (!ops && kobj->kset) { in kobject_uevent_net_broadcast() 393 struct kobject *ksobj = &kobj->kset->kobj; in kobject_uevent_net_broadcast() 463 struct kset *kset; in kobject_uevent_env() local 480 while (!top_kobj->kset && top_kobj->parent) in kobject_uevent_env() 483 if (!top_kobj->kset) { in kobject_uevent_env() 490 kset = top_kobj->kset; in kobject_uevent_env() 491 uevent_ops = kset->uevent_ops; in kobject_uevent_env() 502 if (!uevent_ops->filter(kset, kobj)) { in kobject_uevent_env() 511 subsystem = uevent_ops->name(kset, kobj); in kobject_uevent_env() 513 subsystem = kobject_name(&kset->kobj); in kobject_uevent_env() [all …]
|
/linux-4.19.296/drivers/base/ |
D | base.h | 30 struct kset subsys; 31 struct kset *devices_kset; 35 struct kset *drivers_kset; 42 struct kset glue_dirs; 139 extern struct kset *devices_kset;
|
D | core.c | 1111 static int dev_uevent_filter(struct kset *kset, struct kobject *kobj) in dev_uevent_filter() argument 1125 static const char *dev_uevent_name(struct kset *kset, struct kobject *kobj) in dev_uevent_name() argument 1136 static int dev_uevent(struct kset *kset, struct kobject *kobj, in dev_uevent() argument 1213 struct kset *kset; in uevent_show() local 1221 while (!top_kobj->kset && top_kobj->parent) in uevent_show() 1223 if (!top_kobj->kset) in uevent_show() 1226 kset = top_kobj->kset; in uevent_show() 1227 if (!kset->uevent_ops || !kset->uevent_ops->uevent) in uevent_show() 1231 if (kset->uevent_ops && kset->uevent_ops->filter) in uevent_show() 1232 if (!kset->uevent_ops->filter(kset, &dev->kobj)) in uevent_show() [all …]
|
D | bus.c | 24 static struct kset *system_kset; 165 static int bus_uevent_filter(struct kset *kset, struct kobject *kobj) in bus_uevent_filter() argument 178 static struct kset *bus_kset; 659 priv->kobj.kset = bus->p->drivers_kset; in bus_add_driver() 870 priv->subsys.kobj.kset = bus_kset; in bus_register() 962 struct kset *bus_get_kset(struct bus_type *bus) in bus_get_kset()
|
D | class.c | 84 static struct kset *class_kset; 173 cp->subsys.kobj.kset = class_kset; in __class_register() 175 cp->subsys.kobj.kset = class_kset; in __class_register()
|
/linux-4.19.296/fs/ocfs2/cluster/ |
D | masklog.c | 167 static struct kset mlog_kset = { 171 int mlog_sys_init(struct kset *o2cb_kset) in mlog_sys_init() 182 mlog_kset.kobj.kset = o2cb_kset; in mlog_sys_init()
|
D | sys.c | 55 static struct kset *o2cb_kset;
|
D | masklog.h | 209 int mlog_sys_init(struct kset *o2cb_subsys);
|
/linux-4.19.296/fs/exofs/ |
D | sys.c | 57 static struct kset *exofs_kset; 161 s_kobj->kset = exofs_kset; in exofs_sysfs_sb_add() 181 d_kobj->kset = exofs_kset; in exofs_sysfs_odev_add()
|
/linux-4.19.296/drivers/pci/ |
D | slot.c | 15 struct kset *pci_slots_kset; 302 slot->kobj.kset = pci_slots_kset; in pci_create_slot() 403 struct kset *pci_bus_kset; in pci_slot_init()
|
/linux-4.19.296/fs/gfs2/ |
D | sys.c | 61 static struct kset *gfs2_kset; 658 sdp->sd_kobj.kset = gfs2_kset; in gfs2_sys_fs_add() 706 static int gfs2_uevent(struct kset *kset, struct kobject *kobj, in gfs2_uevent() argument
|
/linux-4.19.296/fs/dlm/ |
D | lockspace.c | 197 static struct kset *dlm_kset; 229 static int dlm_uevent(struct kset *kset, struct kobject *kobj, in dlm_uevent() argument 639 ls->ls_kobj.kset = dlm_kset; in new_lockspace()
|
/linux-4.19.296/fs/ocfs2/ |
D | stackglue.h | 301 extern struct kset *ocfs2_kset;
|
/linux-4.19.296/drivers/s390/char/ |
D | sclp_ocf.c | 35 static struct kset *ocf_kset;
|
D | sclp_config.c | 153 struct kset *ofb_kset; in sclp_ofb_setup()
|
D | sclp_sd.c | 95 static struct kset *sclp_sd_kset; 507 sd_file->kobj.kset = sclp_sd_kset; in sclp_sd_file_create()
|
/linux-4.19.296/drivers/of/ |
D | of_private.h | 32 extern struct kset *of_kset;
|
D | kobj.c | 125 np->kobj.kset = of_kset; in __of_attach_node_sysfs()
|
/linux-4.19.296/fs/nilfs2/ |
D | sysfs.c | 20 static struct kset *nilfs_kset; 90 kobj->kset = nilfs_kset; \ 195 root->snapshot_kobj.kset = nilfs_kset; in nilfs_sysfs_create_snapshot_group() 996 nilfs->ns_dev_kobj.kset = nilfs_kset; in nilfs_sysfs_create_device_group()
|
/linux-4.19.296/crypto/ |
D | pcrypt.c | 61 static struct kset *pcrypt_kset; 399 pinst->kobj.kset = pcrypt_kset; in pcrypt_sysfs_add()
|
/linux-4.19.296/fs/f2fs/ |
D | sysfs.c | 518 static struct kset f2fs_kset = { 528 .kset = &f2fs_kset, 683 sbi->s_kobj.kset = &f2fs_kset; in f2fs_register_sysfs()
|