/drivers/base/ |
D | base.h | 41 struct kset subsys; 42 struct kset *devices_kset; 46 struct kset *drivers_kset; 53 struct kset glue_dirs; 161 extern struct kset *devices_kset;
|
D | core.c | 2153 static int dev_uevent_filter(struct kset *kset, struct kobject *kobj) in dev_uevent_filter() argument 2167 static const char *dev_uevent_name(struct kset *kset, struct kobject *kobj) in dev_uevent_name() argument 2178 static int dev_uevent(struct kset *kset, struct kobject *kobj, in dev_uevent() argument 2255 struct kset *kset; in uevent_show() local 2263 while (!top_kobj->kset && top_kobj->parent) in uevent_show() 2265 if (!top_kobj->kset) in uevent_show() 2268 kset = top_kobj->kset; in uevent_show() 2269 if (!kset->uevent_ops || !kset->uevent_ops->uevent) in uevent_show() 2273 if (kset->uevent_ops && kset->uevent_ops->filter) in uevent_show() 2274 if (!kset->uevent_ops->filter(kset, &dev->kobj)) in uevent_show() [all …]
|
D | bus.c | 25 static struct kset *system_kset; 166 static int bus_uevent_filter(struct kset *kset, struct kobject *kobj) in bus_uevent_filter() argument 179 static struct kset *bus_kset; 614 priv->kobj.kset = bus->p->drivers_kset; in bus_add_driver() 823 priv->subsys.kobj.kset = bus_kset; in bus_register() 915 struct kset *bus_get_kset(struct bus_type *bus) in bus_get_kset()
|
D | class.c | 85 static struct kset *class_kset; 180 cp->subsys.kobj.kset = class_kset; in __class_register() 182 cp->subsys.kobj.kset = class_kset; in __class_register()
|
D | swnode.c | 30 static struct kset *swnode_kset; 675 swnode->kobj.kset = swnode_kset; in swnode_register()
|
/drivers/dma-buf/ |
D | dma-buf-sysfs-stats.c | 109 static int dmabuf_sysfs_uevent_filter(struct kset *kset, struct kobject *kobj) in dmabuf_sysfs_uevent_filter() argument 118 static struct kset *dma_buf_stats_kset; 119 static struct kset *dma_buf_per_buffer_stats_kset; 176 dmabuf->sysfs_entry->kobj.kset = dma_buf_per_buffer_stats_kset; in sysfs_add_workfn()
|
/drivers/firmware/ |
D | qemu_fw_cfg.c | 490 static int fw_cfg_build_symlink(struct kset *dir, in fw_cfg_build_symlink() 494 struct kset *subdir; in fw_cfg_build_symlink() 531 subdir = kzalloc(sizeof(struct kset), GFP_KERNEL); in fw_cfg_build_symlink() 536 subdir->kobj.kset = dir; in fw_cfg_build_symlink() 560 static void fw_cfg_kset_unregister_recursive(struct kset *kset) in fw_cfg_kset_unregister_recursive() argument 564 list_for_each_entry_safe(k, next, &kset->list, entry) in fw_cfg_kset_unregister_recursive() 566 if (k->ktype == kset->kobj.ktype) in fw_cfg_kset_unregister_recursive() 570 kset_unregister(kset); in fw_cfg_kset_unregister_recursive() 576 static struct kset *fw_cfg_fname_kset;
|
D | memmap.c | 178 static struct kset *mmap_kset; in add_sysfs_fw_map_entry() 189 entry->kobj.kset = mmap_kset; in add_sysfs_fw_map_entry()
|
D | dmi-sysfs.c | 571 static struct kset *dmi_kset; 601 entry->kobj.kset = dmi_kset; in dmi_sysfs_register_handle()
|
/drivers/net/phy/ |
D | phylink.c | 1355 struct ethtool_link_ksettings *kset) in phylink_get_ksettings() argument 1357 phylink_merge_link_mode(kset->link_modes.advertising, state->advertising); in phylink_get_ksettings() 1358 linkmode_copy(kset->link_modes.lp_advertising, state->lp_advertising); in phylink_get_ksettings() 1359 kset->base.speed = state->speed; in phylink_get_ksettings() 1360 kset->base.duplex = state->duplex; in phylink_get_ksettings() 1361 kset->base.autoneg = state->an_enabled ? AUTONEG_ENABLE : in phylink_get_ksettings() 1375 struct ethtool_link_ksettings *kset) in phylink_ethtool_ksettings_get() argument 1382 phy_ethtool_ksettings_get(pl->phydev, kset); in phylink_ethtool_ksettings_get() 1384 kset->base.port = pl->link_port; in phylink_ethtool_ksettings_get() 1387 linkmode_copy(kset->link_modes.supported, pl->supported); in phylink_ethtool_ksettings_get() [all …]
|
/drivers/scsi/ |
D | iscsi_boot_sysfs.c | 352 boot_kobj->kobj.kset = boot_kset->kset; in iscsi_boot_create_kobj() 504 boot_kset->kset = kset_create_and_add(set_name, NULL, firmware_kobj); in iscsi_boot_create_kset() 505 if (!boot_kset->kset) { in iscsi_boot_create_kset() 551 kset_unregister(boot_kset->kset); in iscsi_boot_destroy_kset()
|
/drivers/pci/ |
D | slot.c | 15 struct kset *pci_slots_kset; 266 slot->kobj.kset = pci_slots_kset; in pci_create_slot() 367 struct kset *pci_bus_kset; in pci_slot_init()
|
/drivers/firmware/efi/ |
D | runtime-map.c | 101 static struct kset *map_kset; 126 entry->kobj.kset = map_kset; in add_sysfs_runtime_map_entry()
|
D | esrt.c | 165 static struct kset *esrt_kset; 175 entry->kobj.kset = esrt_kset; in esre_create_sysfs_entry()
|
D | efivars.c | 28 static struct kset *efivars_kset; 518 new_var->kobj.kset = efivars_kset; in efivar_create_sysfs_entry()
|
/drivers/staging/greybus/ |
D | audio_manager_private.h | 17 struct kset *manager_kset,
|
D | audio_manager_module.c | 185 struct kset *manager_kset, in gb_audio_manager_module_create() 205 m->kobj.kset = manager_kset; in gb_audio_manager_module_create()
|
D | audio_manager.c | 18 static struct kset *manager_kset;
|
/drivers/vfio/mdev/ |
D | mdev_private.h | 21 struct kset *mdev_types_kset;
|
D | mdev_sysfs.c | 107 type->kobj.kset = parent->mdev_types_kset; in add_mdev_supported_type()
|
/drivers/s390/char/ |
D | sclp_sd.c | 95 static struct kset *sclp_sd_kset; 507 sd_file->kobj.kset = sclp_sd_kset; in sclp_sd_file_create()
|
D | sclp_ocf.c | 35 static struct kset *ocf_kset;
|
D | sclp_config.c | 153 struct kset *ofb_kset; in sclp_ofb_setup()
|
/drivers/of/ |
D | of_private.h | 40 extern struct kset *of_kset;
|
D | kobj.c | 125 np->kobj.kset = of_kset; in __of_attach_node_sysfs()
|