kobject_init_and_add 363 arch/ia64/kernel/topology.c retval = kobject_init_and_add(&all_cpu_cache_info[cpu].kobj, kobject_init_and_add 373 arch/ia64/kernel/topology.c retval = kobject_init_and_add(&(this_object->kobj), kobject_init_and_add 761 arch/powerpc/kernel/cacheinfo.c rc = kobject_init_and_add(&index_dir->kobj, &cache_index_type, kobject_init_and_add 348 arch/sh/kernel/cpu/sh4/sq.c error = kobject_init_and_add(kobj, &ktype_percpu_entry, &dev->kobj, kobject_init_and_add 1253 arch/x86/kernel/cpu/mce/amd.c err = kobject_init_and_add(&b->kobj, &threshold_ktype, tb->kobj, get_name(bank, b)); kobject_init_and_add 431 block/blk-integrity.c if (kobject_init_and_add(&disk->integrity_kobj, &integrity_ktype, kobject_init_and_add 864 drivers/acpi/cppc_acpi.c ret = kobject_init_and_add(&cpc_ptr->kobj, &cppc_ktype, &cpu_dev->kobj, kobject_init_and_add 98 drivers/acpi/device_sysfs.c ret = kobject_init_and_add(&dn->kobj, &acpi_data_node_ktype, kobject_init_and_add 994 drivers/acpi/sysfs.c error = kobject_init_and_add(&hotplug->kobj, kobject_init_and_add 614 drivers/base/bus.c error = kobject_init_and_add(&priv->kobj, &driver_ktype, NULL, kobject_init_and_add 734 drivers/base/swnode.c ret = kobject_init_and_add(&swnode->kobj, &software_node_type, kobject_init_and_add 738 drivers/base/swnode.c ret = kobject_init_and_add(&swnode->kobj, &software_node_type, kobject_init_and_add 131 drivers/block/pktcdvd.c error = kobject_init_and_add(&p->kobj, ktype, parent, "%s", name); kobject_init_and_add 1196 drivers/cpufreq/cpufreq.c ret = kobject_init_and_add(&policy->kobj, &ktype_cpufreq, kobject_init_and_add 450 drivers/cpufreq/cpufreq_governor.c ret = kobject_init_and_add(&dbs_data->attr_set.kobj, &gov->kobj_type, kobject_init_and_add 480 drivers/cpuidle/sysfs.c ret = kobject_init_and_add(&kobj->kobj, &ktype_state_cpuidle, kobject_init_and_add 611 drivers/cpuidle/sysfs.c ret = kobject_init_and_add(&kdrv->kobj, &ktype_driver_cpuidle, kobject_init_and_add 705 drivers/cpuidle/sysfs.c error = kobject_init_and_add(&kdev->kobj, &ktype_cpuidle, &cpu_dev->kobj, kobject_init_and_add 85 drivers/dma/ioat/sysfs.c err = kobject_init_and_add(&ioat_chan->kobj, type, kobject_init_and_add 258 drivers/edac/edac_device_sysfs.c err = kobject_init_and_add(&edac_dev->kobj, &ktype_device_ctrl, kobject_init_and_add 534 drivers/edac/edac_device_sysfs.c err = kobject_init_and_add(&block->kobj, &ktype_block_ctrl, kobject_init_and_add 633 drivers/edac/edac_device_sysfs.c err = kobject_init_and_add(&instance->kobj, &ktype_instance_ctrl, kobject_init_and_add 174 drivers/edac/edac_pci_sysfs.c err = kobject_init_and_add(&pci->kobj, &ktype_pci_instance, kobject_init_and_add 370 drivers/edac/edac_pci_sysfs.c err = kobject_init_and_add(edac_pci_top_main_kobj, kobject_init_and_add 456 drivers/firmware/dmi-sysfs.c ret = kobject_init_and_add(entry->child, kobject_init_and_add 602 drivers/firmware/dmi-sysfs.c *ret = kobject_init_and_add(&entry->kobj, &dmi_sysfs_entry_ktype, NULL, kobject_init_and_add 716 drivers/firmware/edd.c error = kobject_init_and_add(&edev->kobj, &edd_ktype, NULL, kobject_init_and_add 522 drivers/firmware/efi/efivars.c ret = kobject_init_and_add(&new_var->kobj, &efivar_ktype, kobject_init_and_add 181 drivers/firmware/efi/esrt.c rc = kobject_init_and_add(&entry->kobj, &esre1_ktype, NULL, kobject_init_and_add 606 drivers/firmware/qemu_fw_cfg.c err = kobject_init_and_add(&entry->kobj, &fw_cfg_sysfs_entry_ktype, kobject_init_and_add 116 drivers/gpu/drm/amd/amdkfd/kfd_process.c ret = kobject_init_and_add(procfs.kobj, &procfs_type, kobject_init_and_add 310 drivers/gpu/drm/amd/amdkfd/kfd_process.c ret = kobject_init_and_add(process->kobj, &procfs_type, kobject_init_and_add 613 drivers/gpu/drm/amd/amdkfd/kfd_topology.c ret = kobject_init_and_add(dev->kobj_node, &node_type, kobject_init_and_add 661 drivers/gpu/drm/amd/amdkfd/kfd_topology.c ret = kobject_init_and_add(mem->kobj, &mem_type, kobject_init_and_add 680 drivers/gpu/drm/amd/amdkfd/kfd_topology.c ret = kobject_init_and_add(cache->kobj, &cache_type, kobject_init_and_add 699 drivers/gpu/drm/amd/amdkfd/kfd_topology.c ret = kobject_init_and_add(iolink->kobj, &iolink_type, kobject_init_and_add 779 drivers/gpu/drm/amd/amdkfd/kfd_topology.c ret = kobject_init_and_add(sys_props.kobj_topology, kobject_init_and_add 1677 drivers/gpu/drm/ttm/ttm_bo.c ret = kobject_init_and_add( kobject_init_and_add 320 drivers/gpu/drm/ttm/ttm_memory.c ret = kobject_init_and_add( kobject_init_and_add 356 drivers/gpu/drm/ttm/ttm_memory.c ret = kobject_init_and_add( kobject_init_and_add 404 drivers/gpu/drm/ttm/ttm_memory.c ret = kobject_init_and_add( kobject_init_and_add 425 drivers/gpu/drm/ttm/ttm_memory.c ret = kobject_init_and_add( kobject_init_and_add 997 drivers/gpu/drm/ttm/ttm_page_alloc.c ret = kobject_init_and_add(&_manager->kobj, &ttm_pool_kobj_type, kobject_init_and_add 1181 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c ret = kobject_init_and_add(&_manager->kobj, &ttm_pool_kobj_type, kobject_init_and_add 1770 drivers/hv/vmbus_drv.c ret = kobject_init_and_add(kobj, &vmbus_chan_ktype, NULL, kobject_init_and_add 1059 drivers/infiniband/core/sysfs.c ret = kobject_init_and_add(&p->kobj, &port_type, kobject_init_and_add 1074 drivers/infiniband/core/sysfs.c ret = kobject_init_and_add(&p->gid_attr_group->kobj, &gid_attr_type, kobject_init_and_add 1407 drivers/infiniband/core/sysfs.c ret = kobject_init_and_add(kobj, ktype, &port->kobj, "%s", kobject_init_and_add 671 drivers/infiniband/hw/hfi1/sysfs.c ret = kobject_init_and_add(&ppd->sc2vl_kobj, &hfi1_sc2vl_ktype, kobj, kobject_init_and_add 685 drivers/infiniband/hw/hfi1/sysfs.c ret = kobject_init_and_add(&ppd->sl2sc_kobj, &hfi1_sl2sc_ktype, kobj, kobject_init_and_add 695 drivers/infiniband/hw/hfi1/sysfs.c ret = kobject_init_and_add(&ppd->vl2mtu_kobj, &hfi1_vl2mtu_ktype, kobj, kobject_init_and_add 705 drivers/infiniband/hw/hfi1/sysfs.c ret = kobject_init_and_add(&ppd->pport_cc_kobj, &port_cc_ktype, kobject_init_and_add 843 drivers/infiniband/hw/hfi1/sysfs.c ret = kobject_init_and_add(&dd->per_sdma[i].kobj, kobject_init_and_add 651 drivers/infiniband/hw/mlx4/sysfs.c ret = kobject_init_and_add(&p->kobj, &port_type, kobject_init_and_add 757 drivers/infiniband/hw/qib/qib_sysfs.c ret = kobject_init_and_add(&ppd->pport_kobj, &qib_port_ktype, kobj, kobject_init_and_add 767 drivers/infiniband/hw/qib/qib_sysfs.c ret = kobject_init_and_add(&ppd->sl2vl_kobj, &qib_sl2vl_ktype, kobj, kobject_init_and_add 777 drivers/infiniband/hw/qib/qib_sysfs.c ret = kobject_init_and_add(&ppd->diagc_kobj, &qib_diagc_ktype, kobj, kobject_init_and_add 790 drivers/infiniband/hw/qib/qib_sysfs.c ret = kobject_init_and_add(&ppd->pport_cc_kobj, &qib_port_cc_ktype, kobject_init_and_add 299 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c err = kobject_init_and_add(&qp_grp->kobj, &usnic_ib_qpn_type, kobject_init_and_add 491 drivers/iommu/iommu.c ret = kobject_init_and_add(&group->kobj, &iommu_group_ktype, kobject_init_and_add 709 drivers/lightnvm/pblk-sysfs.c ret = kobject_init_and_add(&pblk->kobj, &pblk_ktype, kobject_init_and_add 133 drivers/md/dm-sysfs.c return kobject_init_and_add(dm_kobject(md), &dm_ktype, kobject_init_and_add 624 drivers/misc/cxl/sysfs.c rc = kobject_init_and_add(&cr->kobj, &afu_config_record_type, kobject_init_and_add 150 drivers/net/bonding/bond_sysfs_slave.c err = kobject_init_and_add(&slave->kobj, &slave_ktype, kobject_init_and_add 1699 drivers/net/ethernet/ibm/ibmveth.c error = kobject_init_and_add(kobj, &ktype_veth_pool, kobject_init_and_add 980 drivers/parisc/pdc_stable.c err = kobject_init_and_add(&entry->kobj, &ktype_pdcspath, NULL, kobject_init_and_add 310 drivers/pci/slot.c err = kobject_init_and_add(&slot->kobj, &pci_slot_ktype, NULL, kobject_init_and_add 2541 drivers/power/supply/ab8500_fg.c ret = kobject_init_and_add(&di->fg_kobject, kobject_init_and_add 1906 drivers/power/supply/abx500_chargalg.c ret = kobject_init_and_add(&di->chargalg_kobject, kobject_init_and_add 508 drivers/s390/char/sclp_sd.c rc = kobject_init_and_add(&sd_file->kobj, &sclp_sd_file_ktype, NULL, kobject_init_and_add 353 drivers/scsi/iscsi_boot_sysfs.c if (kobject_init_and_add(&boot_kobj->kobj, &iscsi_boot_ktype, kobject_init_and_add 213 drivers/staging/greybus/audio_manager_module.c err = kobject_init_and_add(&m->kobj, &gb_audio_module_type, NULL, "%d", kobject_init_and_add 109 drivers/vfio/mdev/mdev_sysfs.c ret = kobject_init_and_add(&type->kobj, &mdev_type_ktype, NULL, kobject_init_and_add 315 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c r = kobject_init_and_add(&dssdev->kobj, &display_ktype, kobject_init_and_add 504 drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c return kobject_init_and_add(&mgr->kobj, &manager_ktype, kobject_init_and_add 437 drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c return kobject_init_and_add(&ovl->kobj, &overlay_ktype, kobject_init_and_add 914 fs/btrfs/sysfs.c ret = kobject_init_and_add(&space_info->kobj, &space_info_ktype, kobject_init_and_add 1041 fs/btrfs/sysfs.c error = kobject_init_and_add(&fs_devs->fsid_kobj, kobject_init_and_add 636 fs/dlm/lockspace.c error = kobject_init_and_add(&ls->ls_kobj, &dlm_ktype, NULL, kobject_init_and_add 406 fs/ext4/sysfs.c err = kobject_init_and_add(&sbi->s_kobj, &ext4_sb_ktype, ext4_root, kobject_init_and_add 451 fs/ext4/sysfs.c ret = kobject_init_and_add(ext4_feat, &ext4_feat_ktype, kobject_init_and_add 730 fs/f2fs/sysfs.c ret = kobject_init_and_add(&f2fs_feat, &f2fs_feat_ktype, kobject_init_and_add 756 fs/f2fs/sysfs.c err = kobject_init_and_add(&sbi->s_kobj, &f2fs_sb_ktype, NULL, kobject_init_and_add 656 fs/gfs2/sys.c error = kobject_init_and_add(&sdp->sd_kobj, &gfs2_ktype, NULL, kobject_init_and_add 48 fs/nfs/sysfs.c if (kobject_init_and_add(kobj, &nfs_netns_object_type, kobject_init_and_add 158 fs/nfs/sysfs.c if (kobject_init_and_add(&p->kobject, &nfs_netns_client_type, kobject_init_and_add 94 fs/nilfs2/sysfs.c err = kobject_init_and_add(kobj, &nilfs_##name##_ktype, parent, \ kobject_init_and_add 201 fs/nilfs2/sysfs.c err = kobject_init_and_add(&root->snapshot_kobj, kobject_init_and_add 206 fs/nilfs2/sysfs.c err = kobject_init_and_add(&root->snapshot_kobj, kobject_init_and_add 1000 fs/nilfs2/sysfs.c err = kobject_init_and_add(&nilfs->ns_dev_kobj, &nilfs_dev_ktype, NULL, kobject_init_and_add 185 fs/ocfs2/filecheck.c ret = kobject_init_and_add(&entry->fs_kobj, &ocfs2_ktype_filecheck, kobject_init_and_add 1123 fs/orangefs/orangefs-sysfs.c rc = kobject_init_and_add(orangefs_obj, kobject_init_and_add 1140 fs/orangefs/orangefs-sysfs.c rc = kobject_init_and_add(acache_orangefs_obj, kobject_init_and_add 1158 fs/orangefs/orangefs-sysfs.c rc = kobject_init_and_add(capcache_orangefs_obj, kobject_init_and_add 1175 fs/orangefs/orangefs-sysfs.c rc = kobject_init_and_add(ccache_orangefs_obj, kobject_init_and_add 1191 fs/orangefs/orangefs-sysfs.c rc = kobject_init_and_add(ncache_orangefs_obj, kobject_init_and_add 1208 fs/orangefs/orangefs-sysfs.c rc = kobject_init_and_add(pc_orangefs_obj, kobject_init_and_add 1225 fs/orangefs/orangefs-sysfs.c rc = kobject_init_and_add(stats_orangefs_obj, kobject_init_and_add 36 fs/xfs/xfs_sysfs.h return kobject_init_and_add(&kobj->kobject, ktype, kobject_init_and_add 99 include/linux/kobject.h int kobject_init_and_add(struct kobject *kobj, kobject_init_and_add 1841 kernel/module.c err = kobject_init_and_add(&mod->mkobj.kobj, &module_ktype, NULL, kobject_init_and_add 757 kernel/params.c err = kobject_init_and_add(&mk->kobj, &module_ktype, NULL, kobject_init_and_add 784 kernel/sched/cpufreq_schedutil.c ret = kobject_init_and_add(&tunables->attr_set.kobj, &sugov_tunables_ktype, kobject_init_and_add 478 lib/kobject.c EXPORT_SYMBOL_GPL(kobject_init_and_add); kobject_init_and_add 5778 mm/slub.c err = kobject_init_and_add(&s->kobj, &slab_ktype, NULL, "%s", name); kobject_init_and_add 606 net/bridge/br_if.c err = kobject_init_and_add(&p->kobj, &brport_ktype, &(dev->dev.kobj), kobject_init_and_add 928 net/core/net-sysfs.c error = kobject_init_and_add(kobj, &rx_queue_ktype, NULL, kobject_init_and_add 1471 net/core/net-sysfs.c error = kobject_init_and_add(kobj, &netdev_queue_ktype, NULL, kobject_init_and_add 221 samples/kobject/kset-example.c retval = kobject_init_and_add(&foo->kobj, &foo_ktype, NULL, "%s", name);