kobj               64 arch/alpha/kernel/pci-sysfs.c static int pci_mmap_resource(struct kobject *kobj,
kobj               68 arch/alpha/kernel/pci-sysfs.c 	struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj));
kobj               93 arch/alpha/kernel/pci-sysfs.c static int pci_mmap_resource_sparse(struct file *filp, struct kobject *kobj,
kobj               97 arch/alpha/kernel/pci-sysfs.c 	return pci_mmap_resource(kobj, attr, vma, 1);
kobj              100 arch/alpha/kernel/pci-sysfs.c static int pci_mmap_resource_dense(struct file *filp, struct kobject *kobj,
kobj              104 arch/alpha/kernel/pci-sysfs.c 	return pci_mmap_resource(kobj, attr, vma, 0);
kobj              123 arch/alpha/kernel/pci-sysfs.c 			sysfs_remove_bin_file(&pdev->dev.kobj, res_attr);
kobj              129 arch/alpha/kernel/pci-sysfs.c 			sysfs_remove_bin_file(&pdev->dev.kobj, res_attr);
kobj              167 arch/alpha/kernel/pci-sysfs.c 	return sysfs_create_bin_file(&pdev->dev.kobj, res_attr);
kobj              670 arch/arm/common/bL_switcher.c static ssize_t bL_switcher_active_show(struct kobject *kobj,
kobj              676 arch/arm/common/bL_switcher.c static ssize_t bL_switcher_active_store(struct kobject *kobj,
kobj              696 arch/arm/common/bL_switcher.c static ssize_t bL_switcher_trace_trigger_store(struct kobject *kobj,
kobj               77 arch/arm/mach-omap1/pm.c static ssize_t idle_show(struct kobject *kobj, struct kobj_attribute *attr,
kobj               83 arch/arm/mach-omap1/pm.c static ssize_t idle_store(struct kobject *kobj, struct kobj_attribute *attr,
kobj              461 arch/arm/mach-orion5x/ts78xx-setup.c static ssize_t ts78xx_fpga_show(struct kobject *kobj,
kobj              470 arch/arm/mach-orion5x/ts78xx-setup.c static ssize_t ts78xx_fpga_store(struct kobject *kobj,
kobj              349 arch/arm/mm/cache-l2x0-pmu.c static umode_t l2x0_pmu_event_attr_is_visible(struct kobject *kobj,
kobj              353 arch/arm/mm/cache-l2x0-pmu.c 	struct device *dev = kobj_to_dev(kobj);
kobj               17 arch/arm64/include/asm/cpu.h 	struct kobject	kobj;
kobj              223 arch/arm64/kernel/cpuinfo.c #define kobj_to_cpuinfo(kobj)	container_of(kobj, struct cpuinfo_arm64, kobj)
kobj              225 arch/arm64/kernel/cpuinfo.c 	static ssize_t _name##_show(struct kobject *kobj,			\
kobj              228 arch/arm64/kernel/cpuinfo.c 		struct cpuinfo_arm64 *info = kobj_to_cpuinfo(kobj);		\
kobj              262 arch/arm64/kernel/cpuinfo.c 	rc = kobject_add(&info->kobj, &dev->kobj, "regs");
kobj              265 arch/arm64/kernel/cpuinfo.c 	rc = sysfs_create_group(&info->kobj, &cpuregs_attr_group);
kobj              267 arch/arm64/kernel/cpuinfo.c 		kobject_del(&info->kobj);
kobj              280 arch/arm64/kernel/cpuinfo.c 	if (info->kobj.parent) {
kobj              281 arch/arm64/kernel/cpuinfo.c 		sysfs_remove_group(&info->kobj, &cpuregs_attr_group);
kobj              282 arch/arm64/kernel/cpuinfo.c 		kobject_del(&info->kobj);
kobj              295 arch/arm64/kernel/cpuinfo.c 		kobject_init(&info->kobj, &cpuregs_kobj_type);
kobj              292 arch/arm64/kernel/perf_event.c armv8pmu_event_attr_is_visible(struct kobject *kobj,
kobj              295 arch/arm64/kernel/perf_event.c 	struct device *dev = kobj_to_dev(kobj);
kobj              231 arch/ia64/kernel/err_inject.c 	return sysfs_create_group(&sys_dev->kobj, &err_inject_attr_group);
kobj              238 arch/ia64/kernel/err_inject.c 	sysfs_remove_group(&sys_dev->kobj, &err_inject_attr_group);
kobj              125 arch/ia64/kernel/topology.c 	struct kobject kobj;
kobj              131 arch/ia64/kernel/topology.c 	struct kobject kobj;
kobj              269 arch/ia64/kernel/topology.c #define to_object(k) container_of(k, struct cache_info, kobj)
kobj              272 arch/ia64/kernel/topology.c static ssize_t ia64_cache_show(struct kobject * kobj, struct attribute * attr, char * buf)
kobj              275 arch/ia64/kernel/topology.c 	struct cache_info *this_leaf = to_object(kobj);
kobj              300 arch/ia64/kernel/topology.c 	memset(&all_cpu_cache_info[cpu].kobj, 0, sizeof(struct kobject));
kobj              342 arch/ia64/kernel/topology.c 	memset(&all_cpu_cache_info[cpu].kobj, 0, sizeof(struct kobject));
kobj              355 arch/ia64/kernel/topology.c 	if (all_cpu_cache_info[cpu].kobj.parent)
kobj              363 arch/ia64/kernel/topology.c 	retval = kobject_init_and_add(&all_cpu_cache_info[cpu].kobj,
kobj              364 arch/ia64/kernel/topology.c 				      &cache_ktype_percpu_entry, &sys_dev->kobj,
kobj              373 arch/ia64/kernel/topology.c 		retval = kobject_init_and_add(&(this_object->kobj),
kobj              375 arch/ia64/kernel/topology.c 					      &all_cpu_cache_info[cpu].kobj,
kobj              379 arch/ia64/kernel/topology.c 				kobject_put(&(LEAF_KOBJECT_PTR(cpu,j)->kobj));
kobj              381 arch/ia64/kernel/topology.c 			kobject_put(&all_cpu_cache_info[cpu].kobj);
kobj              385 arch/ia64/kernel/topology.c 		kobject_uevent(&(this_object->kobj), KOBJ_ADD);
kobj              387 arch/ia64/kernel/topology.c 	kobject_uevent(&all_cpu_cache_info[cpu].kobj, KOBJ_ADD);
kobj              397 arch/ia64/kernel/topology.c 		kobject_put(&(LEAF_KOBJECT_PTR(cpu,i)->kobj));
kobj              399 arch/ia64/kernel/topology.c 	if (all_cpu_cache_info[cpu].kobj.parent) {
kobj              400 arch/ia64/kernel/topology.c 		kobject_put(&all_cpu_cache_info[cpu].kobj);
kobj              401 arch/ia64/kernel/topology.c 		memset(&all_cpu_cache_info[cpu].kobj,
kobj              118 arch/mips/alchemy/devboards/pm.c static ssize_t db1x_pmattr_show(struct kobject *kobj,
kobj              148 arch/mips/alchemy/devboards/pm.c static ssize_t db1x_pmattr_store(struct kobject *kobj,
kobj              888 arch/mips/txx9/generic/setup.c static ssize_t txx9_sram_read(struct file *filp, struct kobject *kobj,
kobj              903 arch/mips/txx9/generic/setup.c static ssize_t txx9_sram_write(struct file *filp, struct kobject *kobj,
kobj              956 arch/mips/txx9/generic/setup.c 	err = sysfs_create_bin_file(&dev->dev.kobj, &dev->bindata_attr);
kobj               30 arch/powerpc/kernel/cacheinfo.c 	struct kobject *kobj; /* bare (not embedded) kobject for cache
kobj               40 arch/powerpc/kernel/cacheinfo.c 	struct kobject kobj;
kobj              134 arch/powerpc/kernel/cacheinfo.c 	return container_of(k, struct cache_index_dir, kobj);
kobj              479 arch/powerpc/kernel/cacheinfo.c 	struct kobject *kobj = NULL;
kobj              486 arch/powerpc/kernel/cacheinfo.c 	kobj = kobject_create_and_add("cache", &dev->kobj);
kobj              487 arch/powerpc/kernel/cacheinfo.c 	if (!kobj)
kobj              494 arch/powerpc/kernel/cacheinfo.c 	cache_dir->kobj = kobj;
kobj              502 arch/powerpc/kernel/cacheinfo.c 	kobject_put(kobj);
kobj              506 arch/powerpc/kernel/cacheinfo.c static void cache_index_release(struct kobject *kobj)
kobj              510 arch/powerpc/kernel/cacheinfo.c 	index = kobj_to_cache_index_dir(kobj);
kobj              629 arch/powerpc/kernel/cacheinfo.c 	struct kobject *index_dir_kobj = &index->kobj;
kobj              733 arch/powerpc/kernel/cacheinfo.c 		rc = attr->show(&dir->kobj, attr, buf);
kobj              741 arch/powerpc/kernel/cacheinfo.c 		if (sysfs_create_file(&dir->kobj, &attr->attr))
kobj              761 arch/powerpc/kernel/cacheinfo.c 	rc = kobject_init_and_add(&index_dir->kobj, &cache_index_type,
kobj              762 arch/powerpc/kernel/cacheinfo.c 				  cache_dir->kobj, "index%d", index);
kobj              764 arch/powerpc/kernel/cacheinfo.c 		kobject_put(&index_dir->kobj);
kobj              835 arch/powerpc/kernel/cacheinfo.c 		kobject_put(&index->kobj);
kobj              845 arch/powerpc/kernel/cacheinfo.c 	kobject_del(cache_dir->kobj);
kobj              847 arch/powerpc/kernel/cacheinfo.c 	kobject_put(cache_dir->kobj);
kobj              183 arch/powerpc/kernel/eeh_sysfs.c 	if (!pdev->dev.kobj.sd) {
kobj             1326 arch/powerpc/kernel/fadump.c static ssize_t fadump_release_memory_store(struct kobject *kobj,
kobj             1353 arch/powerpc/kernel/fadump.c static ssize_t fadump_enabled_show(struct kobject *kobj,
kobj             1360 arch/powerpc/kernel/fadump.c static ssize_t fadump_register_show(struct kobject *kobj,
kobj             1367 arch/powerpc/kernel/fadump.c static ssize_t fadump_register_store(struct kobject *kobj,
kobj              962 arch/powerpc/kernel/sysfs.c 		ret = sysfs_create_group(&dev->kobj, attrs);
kobj              995 arch/powerpc/kernel/sysfs.c 		sysfs_remove_group(&dev->kobj, attrs);
kobj             1017 arch/powerpc/kernel/sysfs.c 	return sysfs_create_link(&node->dev.kobj, &dev->kobj,
kobj             1018 arch/powerpc/kernel/sysfs.c 			kobject_name(&dev->kobj));
kobj             1025 arch/powerpc/kernel/sysfs.c 	sysfs_remove_link(&node->dev.kobj, kobject_name(&dev->kobj));
kobj             1431 arch/powerpc/mm/numa.c 			kobject_uevent(&dev->kobj, KOBJ_CHANGE);
kobj              922 arch/powerpc/perf/hv-24x7.c static ssize_t catalog_read(struct file *filp, struct kobject *kobj,
kobj              124 arch/powerpc/platforms/4xx/cpm.c static ssize_t cpm_idle_show(struct kobject *kobj,
kobj              142 arch/powerpc/platforms/4xx/cpm.c static ssize_t cpm_idle_store(struct kobject *kobj,
kobj              173 arch/powerpc/platforms/4xx/cpm.c 	ret = sysfs_create_file(&dev->kobj,
kobj              500 arch/powerpc/platforms/cell/spu_base.c 		rc = sysfs_create_group(&spu->dev.kobj, attrs);
kobj              509 arch/powerpc/platforms/cell/spu_base.c 				sysfs_remove_group(&spu->dev.kobj, attrs);
kobj              538 arch/powerpc/platforms/cell/spu_base.c 		sysfs_remove_group(&spu->dev.kobj, attrs);
kobj              160 arch/powerpc/platforms/powernv/opal-core.c static ssize_t read_opalcore(struct file *file, struct kobject *kobj,
kobj              566 arch/powerpc/platforms/powernv/opal-core.c static ssize_t fadump_release_opalcore_store(struct kobject *kobj,
kobj               21 arch/powerpc/platforms/powernv/opal-dump.c 	struct kobject  kobj;
kobj               28 arch/powerpc/platforms/powernv/opal-dump.c #define to_dump_obj(x) container_of(x, struct dump_obj, kobj)
kobj               92 arch/powerpc/platforms/powernv/opal-dump.c 	sysfs_remove_file_self(&dump_obj->kobj, &attr->attr);
kobj               93 arch/powerpc/platforms/powernv/opal-dump.c 	kobject_put(&dump_obj->kobj);
kobj              154 arch/powerpc/platforms/powernv/opal-dump.c static ssize_t dump_attr_show(struct kobject *kobj,
kobj              162 arch/powerpc/platforms/powernv/opal-dump.c 	dump = to_dump_obj(kobj);
kobj              170 arch/powerpc/platforms/powernv/opal-dump.c static ssize_t dump_attr_store(struct kobject *kobj,
kobj              178 arch/powerpc/platforms/powernv/opal-dump.c 	dump = to_dump_obj(kobj);
kobj              191 arch/powerpc/platforms/powernv/opal-dump.c static void dump_release(struct kobject *kobj)
kobj              195 arch/powerpc/platforms/powernv/opal-dump.c 	dump = to_dump_obj(kobj);
kobj              282 arch/powerpc/platforms/powernv/opal-dump.c static ssize_t dump_attr_read(struct file *filep, struct kobject *kobj,
kobj              288 arch/powerpc/platforms/powernv/opal-dump.c 	struct dump_obj *dump = to_dump_obj(kobj);
kobj              331 arch/powerpc/platforms/powernv/opal-dump.c 	dump->kobj.kset = dump_kset;
kobj              333 arch/powerpc/platforms/powernv/opal-dump.c 	kobject_init(&dump->kobj, &dump_ktype);
kobj              346 arch/powerpc/platforms/powernv/opal-dump.c 	rc = kobject_add(&dump->kobj, NULL, "0x%x-0x%x", type, id);
kobj              348 arch/powerpc/platforms/powernv/opal-dump.c 		kobject_put(&dump->kobj);
kobj              352 arch/powerpc/platforms/powernv/opal-dump.c 	rc = sysfs_create_bin_file(&dump->kobj, &dump->dump_attr);
kobj              354 arch/powerpc/platforms/powernv/opal-dump.c 		kobject_put(&dump->kobj);
kobj              361 arch/powerpc/platforms/powernv/opal-dump.c 	kobject_uevent(&dump->kobj, KOBJ_ADD);
kobj              371 arch/powerpc/platforms/powernv/opal-dump.c 	struct kobject *kobj;
kobj              383 arch/powerpc/platforms/powernv/opal-dump.c 	kobj = kset_find_obj(dump_kset, name);
kobj              384 arch/powerpc/platforms/powernv/opal-dump.c 	if (kobj) {
kobj              386 arch/powerpc/platforms/powernv/opal-dump.c 		kobject_put(kobj);
kobj              410 arch/powerpc/platforms/powernv/opal-dump.c 	rc = sysfs_create_group(&dump_kset->kobj, &initiate_attr_group);
kobj              414 arch/powerpc/platforms/powernv/opal-dump.c 		kobject_put(&dump_kset->kobj);
kobj               21 arch/powerpc/platforms/powernv/opal-elog.c 	struct kobject kobj;
kobj               28 arch/powerpc/platforms/powernv/opal-elog.c #define to_elog_obj(x) container_of(x, struct elog_obj, kobj)
kobj               76 arch/powerpc/platforms/powernv/opal-elog.c 	sysfs_remove_file_self(&elog_obj->kobj, &attr->attr);
kobj               77 arch/powerpc/platforms/powernv/opal-elog.c 	kobject_put(&elog_obj->kobj);
kobj               90 arch/powerpc/platforms/powernv/opal-elog.c static ssize_t elog_attr_show(struct kobject *kobj,
kobj               98 arch/powerpc/platforms/powernv/opal-elog.c 	elog = to_elog_obj(kobj);
kobj              106 arch/powerpc/platforms/powernv/opal-elog.c static ssize_t elog_attr_store(struct kobject *kobj,
kobj              114 arch/powerpc/platforms/powernv/opal-elog.c 	elog = to_elog_obj(kobj);
kobj              127 arch/powerpc/platforms/powernv/opal-elog.c static void elog_release(struct kobject *kobj)
kobj              131 arch/powerpc/platforms/powernv/opal-elog.c 	elog = to_elog_obj(kobj);
kobj              152 arch/powerpc/platforms/powernv/opal-elog.c static ssize_t raw_attr_read(struct file *filep, struct kobject *kobj,
kobj              158 arch/powerpc/platforms/powernv/opal-elog.c 	struct elog_obj *elog = to_elog_obj(kobj);
kobj              191 arch/powerpc/platforms/powernv/opal-elog.c 	elog->kobj.kset = elog_kset;
kobj              193 arch/powerpc/platforms/powernv/opal-elog.c 	kobject_init(&elog->kobj, &elog_ktype);
kobj              219 arch/powerpc/platforms/powernv/opal-elog.c 	rc = kobject_add(&elog->kobj, NULL, "0x%llx", id);
kobj              221 arch/powerpc/platforms/powernv/opal-elog.c 		kobject_put(&elog->kobj);
kobj              225 arch/powerpc/platforms/powernv/opal-elog.c 	rc = sysfs_create_bin_file(&elog->kobj, &elog->raw_attr);
kobj              227 arch/powerpc/platforms/powernv/opal-elog.c 		kobject_put(&elog->kobj);
kobj              231 arch/powerpc/platforms/powernv/opal-elog.c 	kobject_uevent(&elog->kobj, KOBJ_ADD);
kobj              246 arch/powerpc/platforms/powernv/opal-elog.c 	struct kobject *kobj;
kobj              269 arch/powerpc/platforms/powernv/opal-elog.c 	kobj = kset_find_obj(elog_kset, name);
kobj              270 arch/powerpc/platforms/powernv/opal-elog.c 	if (kobj) {
kobj              272 arch/powerpc/platforms/powernv/opal-elog.c 		kobject_put(kobj);
kobj              150 arch/powerpc/platforms/powernv/opal-flash.c static ssize_t validate_show(struct kobject *kobj,
kobj              190 arch/powerpc/platforms/powernv/opal-flash.c static ssize_t validate_store(struct kobject *kobj,
kobj              235 arch/powerpc/platforms/powernv/opal-flash.c static ssize_t manage_show(struct kobject *kobj,
kobj              252 arch/powerpc/platforms/powernv/opal-flash.c static ssize_t manage_store(struct kobject *kobj,
kobj              320 arch/powerpc/platforms/powernv/opal-flash.c static ssize_t update_show(struct kobject *kobj,
kobj              332 arch/powerpc/platforms/powernv/opal-flash.c static ssize_t update_store(struct kobject *kobj,
kobj              434 arch/powerpc/platforms/powernv/opal-flash.c static ssize_t image_data_write(struct file *filp, struct kobject *kobj,
kobj               94 arch/powerpc/platforms/powernv/opal-msglog.c static ssize_t opal_msglog_read(struct file *file, struct kobject *kobj,
kobj               30 arch/powerpc/platforms/powernv/opal-powercap.c static ssize_t powercap_show(struct kobject *kobj, struct kobj_attribute *attr,
kobj               81 arch/powerpc/platforms/powernv/opal-powercap.c static ssize_t powercap_store(struct kobject *kobj,
kobj               25 arch/powerpc/platforms/powernv/opal-psr.c static ssize_t psr_show(struct kobject *kobj, struct kobj_attribute *attr,
kobj               75 arch/powerpc/platforms/powernv/opal-psr.c static ssize_t psr_store(struct kobject *kobj, struct kobj_attribute *attr,
kobj               59 arch/powerpc/platforms/powernv/opal-sensor-groups.c static ssize_t sg_store(struct kobject *kobj, struct kobj_attribute *attr,
kobj              114 arch/powerpc/platforms/powernv/opal-sensor-groups.c 	ssize_t (*store)(struct kobject *kobj, struct kobj_attribute *attr,
kobj              101 arch/powerpc/platforms/powernv/opal-sysparam.c static ssize_t sys_param_show(struct kobject *kobj,
kobj              122 arch/powerpc/platforms/powernv/opal-sysparam.c static ssize_t sys_param_store(struct kobject *kobj,
kobj              711 arch/powerpc/platforms/powernv/opal.c static ssize_t symbol_map_read(struct file *fp, struct kobject *kobj,
kobj              747 arch/powerpc/platforms/powernv/opal.c static ssize_t export_attr_read(struct file *fp, struct kobject *kobj,
kobj              767 arch/powerpc/platforms/powernv/opal.c 	struct kobject *kobj;
kobj              776 arch/powerpc/platforms/powernv/opal.c 	kobj = kobject_create_and_add("exports", opal_kobj);
kobj              777 arch/powerpc/platforms/powernv/opal.c 	if (!kobj) {
kobj              809 arch/powerpc/platforms/powernv/opal.c 		rc = sysfs_create_bin_file(kobj, attr);
kobj               34 arch/powerpc/platforms/powernv/ultravisor.c static ssize_t uv_msglog_read(struct file *file, struct kobject *kobj,
kobj               22 arch/powerpc/platforms/pseries/power.c static ssize_t auto_poweron_show(struct kobject *kobj,
kobj               28 arch/powerpc/platforms/pseries/power.c static ssize_t auto_poweron_store(struct kobject *kobj,
kobj              354 arch/powerpc/platforms/pseries/pseries_energy.c 		sysfs_remove_file(&cpu_dev->kobj,
kobj              356 arch/powerpc/platforms/pseries/pseries_energy.c 		sysfs_remove_file(&cpu_dev->kobj,
kobj              870 arch/s390/crypto/prng.c 		ret = sysfs_create_group(&prng_sha512_dev.this_device->kobj,
kobj              901 arch/s390/crypto/prng.c 		ret = sysfs_create_group(&prng_tdes_dev.this_device->kobj,
kobj              919 arch/s390/crypto/prng.c 		sysfs_remove_group(&prng_sha512_dev.this_device->kobj,
kobj              924 arch/s390/crypto/prng.c 		sysfs_remove_group(&prng_tdes_dev.this_device->kobj,
kobj              173 arch/s390/kernel/ipl.c static ssize_t sys_##_prefix##_##_name##_show(struct kobject *kobj,	\
kobj              181 arch/s390/kernel/ipl.c static ssize_t sys_##_prefix##_##_name##_store(struct kobject *kobj,	\
kobj              214 arch/s390/kernel/ipl.c static ssize_t sys_##_prefix##_##_name##_store(struct kobject *kobj,	\
kobj              231 arch/s390/kernel/ipl.c static ssize_t sys_##_prefix##_##_name##_store(struct kobject *kobj,	\
kobj              268 arch/s390/kernel/ipl.c static ssize_t ipl_type_show(struct kobject *kobj, struct kobj_attribute *attr,
kobj              276 arch/s390/kernel/ipl.c static ssize_t ipl_secure_show(struct kobject *kobj,
kobj              285 arch/s390/kernel/ipl.c static ssize_t ipl_has_secure_show(struct kobject *kobj,
kobj              294 arch/s390/kernel/ipl.c static ssize_t ipl_vm_parm_show(struct kobject *kobj,
kobj              307 arch/s390/kernel/ipl.c static ssize_t sys_ipl_device_show(struct kobject *kobj,
kobj              325 arch/s390/kernel/ipl.c static ssize_t ipl_parameter_read(struct file *filp, struct kobject *kobj,
kobj              336 arch/s390/kernel/ipl.c static ssize_t ipl_scp_data_read(struct file *filp, struct kobject *kobj,
kobj              365 arch/s390/kernel/ipl.c static ssize_t ipl_ccw_loadparm_show(struct kobject *kobj,
kobj              464 arch/s390/kernel/ipl.c 			rc = sysfs_create_group(&ipl_kset->kobj,
kobj              467 arch/s390/kernel/ipl.c 			rc = sysfs_create_group(&ipl_kset->kobj,
kobj              472 arch/s390/kernel/ipl.c 		rc = sysfs_create_group(&ipl_kset->kobj, &ipl_fcp_attr_group);
kobj              475 arch/s390/kernel/ipl.c 		rc = sysfs_create_group(&ipl_kset->kobj,
kobj              539 arch/s390/kernel/ipl.c static ssize_t reipl_nss_vmparm_show(struct kobject *kobj,
kobj              545 arch/s390/kernel/ipl.c static ssize_t reipl_nss_vmparm_store(struct kobject *kobj,
kobj              553 arch/s390/kernel/ipl.c static ssize_t reipl_ccw_vmparm_show(struct kobject *kobj,
kobj              559 arch/s390/kernel/ipl.c static ssize_t reipl_ccw_vmparm_store(struct kobject *kobj,
kobj              575 arch/s390/kernel/ipl.c static ssize_t reipl_fcp_scpdata_read(struct file *filp, struct kobject *kobj,
kobj              585 arch/s390/kernel/ipl.c static ssize_t reipl_fcp_scpdata_write(struct file *filp, struct kobject *kobj,
kobj              677 arch/s390/kernel/ipl.c static ssize_t reipl_fcp_loadparm_show(struct kobject *kobj,
kobj              683 arch/s390/kernel/ipl.c static ssize_t reipl_fcp_loadparm_store(struct kobject *kobj,
kobj              713 arch/s390/kernel/ipl.c static ssize_t reipl_nss_loadparm_show(struct kobject *kobj,
kobj              719 arch/s390/kernel/ipl.c static ssize_t reipl_nss_loadparm_store(struct kobject *kobj,
kobj              727 arch/s390/kernel/ipl.c static ssize_t reipl_ccw_loadparm_show(struct kobject *kobj,
kobj              733 arch/s390/kernel/ipl.c static ssize_t reipl_ccw_loadparm_store(struct kobject *kobj,
kobj              777 arch/s390/kernel/ipl.c static ssize_t reipl_nss_name_show(struct kobject *kobj,
kobj              786 arch/s390/kernel/ipl.c static ssize_t reipl_nss_name_store(struct kobject *kobj,
kobj              863 arch/s390/kernel/ipl.c static ssize_t reipl_type_show(struct kobject *kobj,
kobj              869 arch/s390/kernel/ipl.c static ssize_t reipl_type_store(struct kobject *kobj,
kobj              960 arch/s390/kernel/ipl.c 	rc = sysfs_create_group(&reipl_kset->kobj, &reipl_nss_attr_group);
kobj              977 arch/s390/kernel/ipl.c 	rc = sysfs_create_group(&reipl_kset->kobj,
kobj             1004 arch/s390/kernel/ipl.c 					     &reipl_kset->kobj);
kobj             1010 arch/s390/kernel/ipl.c 	rc = sysfs_create_group(&reipl_fcp_kset->kobj, &reipl_fcp_attr_group);
kobj             1067 arch/s390/kernel/ipl.c 	rc = sysfs_create_file(&reipl_kset->kobj, &reipl_type_attr.attr);
kobj             1144 arch/s390/kernel/ipl.c static ssize_t dump_type_show(struct kobject *kobj,
kobj             1150 arch/s390/kernel/ipl.c static ssize_t dump_type_store(struct kobject *kobj,
kobj             1209 arch/s390/kernel/ipl.c 	rc = sysfs_create_group(&dump_kset->kobj, &dump_ccw_attr_group);
kobj             1231 arch/s390/kernel/ipl.c 	rc = sysfs_create_group(&dump_kset->kobj, &dump_fcp_attr_group);
kobj             1252 arch/s390/kernel/ipl.c 	rc = sysfs_create_file(&dump_kset->kobj, &dump_type_attr.attr);
kobj             1350 arch/s390/kernel/ipl.c 	return sysfs_create_group(&vmcmd_kset->kobj, &vmcmd_attr_group);
kobj             1407 arch/s390/kernel/ipl.c static ssize_t on_reboot_show(struct kobject *kobj,
kobj             1413 arch/s390/kernel/ipl.c static ssize_t on_reboot_store(struct kobject *kobj,
kobj             1433 arch/s390/kernel/ipl.c static ssize_t on_panic_show(struct kobject *kobj,
kobj             1439 arch/s390/kernel/ipl.c static ssize_t on_panic_store(struct kobject *kobj,
kobj             1459 arch/s390/kernel/ipl.c static ssize_t on_restart_show(struct kobject *kobj,
kobj             1465 arch/s390/kernel/ipl.c static ssize_t on_restart_store(struct kobject *kobj,
kobj             1496 arch/s390/kernel/ipl.c static ssize_t on_halt_show(struct kobject *kobj,
kobj             1502 arch/s390/kernel/ipl.c static ssize_t on_halt_store(struct kobject *kobj,
kobj             1522 arch/s390/kernel/ipl.c static ssize_t on_poff_show(struct kobject *kobj,
kobj             1528 arch/s390/kernel/ipl.c static ssize_t on_poff_store(struct kobject *kobj,
kobj             1563 arch/s390/kernel/ipl.c 	if (sysfs_create_group(&shutdown_actions_kset->kobj,
kobj             1134 arch/s390/kernel/smp.c 	return sysfs_create_group(&s->kobj, &cpu_online_attr_group);
kobj             1140 arch/s390/kernel/smp.c 	sysfs_remove_group(&s->kobj, &cpu_online_attr_group);
kobj             1159 arch/s390/kernel/smp.c 	rc = sysfs_create_group(&s->kobj, &cpu_common_attr_group);
kobj             1168 arch/s390/kernel/smp.c 	sysfs_remove_group(&s->kobj, &cpu_common_attr_group);
kobj              315 arch/s390/kernel/topology.c 			kobject_uevent(&dev->kobj, KOBJ_CHANGE);
kobj              474 arch/s390/kernel/topology.c 	rc = sysfs_create_group(&cpu->dev.kobj, &topology_cpu_attr_group);
kobj              477 arch/s390/kernel/topology.c 	rc = sysfs_create_group(&cpu->dev.kobj, &topology_extra_cpu_attr_group);
kobj              479 arch/s390/kernel/topology.c 		sysfs_remove_group(&cpu->dev.kobj, &topology_cpu_attr_group);
kobj               69 arch/s390/pci/pci_sysfs.c 	kn = sysfs_break_active_protection(&dev->kobj, &attr->attr);
kobj              101 arch/s390/pci/pci_sysfs.c static ssize_t util_string_read(struct file *filp, struct kobject *kobj,
kobj              105 arch/s390/pci/pci_sysfs.c 	struct device *dev = kobj_to_dev(kobj);
kobj              114 arch/s390/pci/pci_sysfs.c static ssize_t report_error_write(struct file *filp, struct kobject *kobj,
kobj              119 arch/s390/pci/pci_sysfs.c 	struct device *dev = kobj_to_dev(kobj);
kobj              146 arch/sh/drivers/dma/dma-sysfs.c 	return sysfs_create_link(&info->pdev->dev.kobj, &dev->kobj, name);
kobj              161 arch/sh/drivers/dma/dma-sysfs.c 	sysfs_remove_link(&info->pdev->dev.kobj, name);
kobj               40 arch/sh/drivers/push-switch.c 	kobject_uevent(&pdev->dev.kobj, KOBJ_CHANGE);
kobj              266 arch/sh/kernel/cpu/sh4/sq.c static ssize_t sq_sysfs_show(struct kobject *kobj, struct attribute *attr,
kobj              277 arch/sh/kernel/cpu/sh4/sq.c static ssize_t sq_sysfs_store(struct kobject *kobj, struct attribute *attr,
kobj              340 arch/sh/kernel/cpu/sh4/sq.c 	struct kobject *kobj;
kobj              347 arch/sh/kernel/cpu/sh4/sq.c 	kobj = sq_kobject[cpu];
kobj              348 arch/sh/kernel/cpu/sh4/sq.c 	error = kobject_init_and_add(kobj, &ktype_percpu_entry, &dev->kobj,
kobj              351 arch/sh/kernel/cpu/sh4/sq.c 		kobject_uevent(kobj, KOBJ_ADD);
kobj              358 arch/sh/kernel/cpu/sh4/sq.c 	struct kobject *kobj = sq_kobject[cpu];
kobj              360 arch/sh/kernel/cpu/sh4/sq.c 	kobject_put(kobj);
kobj              615 arch/sparc/kernel/pci.c 		err = sysfs_create_file(&dev->dev.kobj, &dev_attr_obppath.attr);
kobj              159 arch/sparc/kernel/sysfs.c 	return sysfs_create_group(&s->kobj, &mmu_stat_group);
kobj              167 arch/sparc/kernel/sysfs.c 	sysfs_remove_group(&s->kobj, &mmu_stat_group);
kobj              407 arch/sparc/kernel/vio.c 		err = sysfs_create_file(&vdev->dev.kobj,
kobj               88 arch/x86/events/amd/iommu.c static ssize_t _iommu_event_show(struct kobject *kobj,
kobj             1719 arch/x86/events/core.c is_visible(struct kobject *kobj, struct attribute *attr, int idx)
kobj             4427 arch/x86/events/intel/core.c tsx_is_visible(struct kobject *kobj, struct attribute *attr, int i)
kobj             4433 arch/x86/events/intel/core.c pebs_is_visible(struct kobject *kobj, struct attribute *attr, int i)
kobj             4439 arch/x86/events/intel/core.c lbr_is_visible(struct kobject *kobj, struct attribute *attr, int i)
kobj             4445 arch/x86/events/intel/core.c exra_is_visible(struct kobject *kobj, struct attribute *attr, int i)
kobj             4451 arch/x86/events/intel/core.c default_is_visible(struct kobject *kobj, struct attribute *attr, int i)
kobj              110 arch/x86/events/intel/cstate.c static ssize_t __cstate_##_var##_show(struct kobject *kobj,	\
kobj               95 arch/x86/events/intel/rapl.c static ssize_t __rapl_##_var##_show(struct kobject *kobj,	\
kobj               95 arch/x86/events/intel/uncore.c ssize_t uncore_event_show(struct kobject *kobj,
kobj              168 arch/x86/events/intel/uncore.h ssize_t uncore_event_show(struct kobject *kobj,
kobj              178 arch/x86/events/intel/uncore.h static ssize_t __uncore_##_var##_show(struct kobject *kobj,		\
kobj                8 arch/x86/events/probe.c not_visible(struct kobject *kobj, struct attribute *attr, int i)
kobj               48 arch/x86/include/asm/amd_nb.h 	struct kobject	 kobj;			/* sysfs object */
kobj               56 arch/x86/include/asm/amd_nb.h 	struct kobject		*kobj;
kobj              507 arch/x86/kernel/cpu/cacheinfo.c cache_private_attrs_is_visible(struct kobject *kobj,
kobj              510 arch/x86/kernel/cpu/cacheinfo.c 	struct device *dev = kobj_to_dev(kobj);
kobj              180 arch/x86/kernel/cpu/intel_epb.c 		sysfs_merge_group(&cpu_dev->kobj, &intel_epb_attr_group);
kobj              190 arch/x86/kernel/cpu/intel_epb.c 		sysfs_unmerge_group(&cpu_dev->kobj, &intel_epb_attr_group);
kobj             1133 arch/x86/kernel/cpu/mce/amd.c #define to_block(k)	container_of(k, struct threshold_block, kobj)
kobj             1136 arch/x86/kernel/cpu/mce/amd.c static ssize_t show(struct kobject *kobj, struct attribute *attr, char *buf)
kobj             1138 arch/x86/kernel/cpu/mce/amd.c 	struct threshold_block *b = to_block(kobj);
kobj             1147 arch/x86/kernel/cpu/mce/amd.c static ssize_t store(struct kobject *kobj, struct attribute *attr,
kobj             1150 arch/x86/kernel/cpu/mce/amd.c 	struct threshold_block *b = to_block(kobj);
kobj             1164 arch/x86/kernel/cpu/mce/amd.c static void threshold_block_release(struct kobject *kobj);
kobj             1253 arch/x86/kernel/cpu/mce/amd.c 	err = kobject_init_and_add(&b->kobj, &threshold_ktype, tb->kobj, get_name(bank, b));
kobj             1266 arch/x86/kernel/cpu/mce/amd.c 		kobject_uevent(&b->kobj, KOBJ_ADD);
kobj             1272 arch/x86/kernel/cpu/mce/amd.c 		kobject_put(&b->kobj);
kobj             1286 arch/x86/kernel/cpu/mce/amd.c 	err = kobject_add(&b->blocks->kobj, b->kobj, b->blocks->kobj.name);
kobj             1292 arch/x86/kernel/cpu/mce/amd.c 		err = kobject_add(&pos->kobj, b->kobj, pos->kobj.name);
kobj             1295 arch/x86/kernel/cpu/mce/amd.c 				kobject_del(&pos->kobj);
kobj             1321 arch/x86/kernel/cpu/mce/amd.c 			err = kobject_add(b->kobj, &dev->kobj, name);
kobj             1340 arch/x86/kernel/cpu/mce/amd.c 	b->kobj = kobject_create_and_add(name, &dev->kobj);
kobj             1341 arch/x86/kernel/cpu/mce/amd.c 	if (!b->kobj) {
kobj             1371 arch/x86/kernel/cpu/mce/amd.c static void threshold_block_release(struct kobject *kobj)
kobj             1373 arch/x86/kernel/cpu/mce/amd.c 	kfree(to_block(kobj));
kobj             1387 arch/x86/kernel/cpu/mce/amd.c 		kobject_put(&pos->kobj);
kobj             1390 arch/x86/kernel/cpu/mce/amd.c 	kobject_put(&head->blocks->kobj);
kobj             1398 arch/x86/kernel/cpu/mce/amd.c 	kobject_del(b->kobj);
kobj             1401 arch/x86/kernel/cpu/mce/amd.c 		kobject_del(&pos->kobj);
kobj             1434 arch/x86/kernel/cpu/mce/amd.c 	kobject_del(b->kobj);
kobj             1435 arch/x86/kernel/cpu/mce/amd.c 	kobject_put(b->kobj);
kobj              243 arch/x86/kernel/cpu/mce/therm_throt.c 	err = sysfs_create_group(&dev->kobj, &thermal_attr_group);
kobj              248 arch/x86/kernel/cpu/mce/therm_throt.c 		err = sysfs_add_file_to_group(&dev->kobj,
kobj              252 arch/x86/kernel/cpu/mce/therm_throt.c 		err = sysfs_add_file_to_group(&dev->kobj,
kobj              256 arch/x86/kernel/cpu/mce/therm_throt.c 			err = sysfs_add_file_to_group(&dev->kobj,
kobj              266 arch/x86/kernel/cpu/mce/therm_throt.c 	sysfs_remove_group(&dev->kobj, &thermal_attr_group);
kobj              745 arch/x86/kernel/cpu/microcode/core.c 	err = sysfs_create_group(&dev->kobj, &mc_attr_group);
kobj              764 arch/x86/kernel/cpu/microcode/core.c 	sysfs_remove_group(&dev->kobj, &mc_attr_group);
kobj              803 arch/x86/kernel/cpu/microcode/core.c 	if (sysfs_create_group(&dev->kobj, &mc_attr_group))
kobj              814 arch/x86/kernel/cpu/microcode/core.c 	sysfs_remove_group(&dev->kobj, &mc_attr_group);
kobj              865 arch/x86/kernel/cpu/microcode/core.c 	error = sysfs_create_group(&cpu_subsys.dev_root->kobj,
kobj              888 arch/x86/kernel/cpu/microcode/core.c 	sysfs_remove_group(&cpu_subsys.dev_root->kobj,
kobj              164 arch/x86/kernel/cpu/umwait.c max_time_show(struct device *kobj, struct device_attribute *attr, char *buf)
kobj              171 arch/x86/kernel/cpu/umwait.c static ssize_t max_time_store(struct device *kobj,
kobj              241 arch/x86/kernel/cpu/umwait.c 	return sysfs_create_group(&dev->kobj, &umwait_attr_group);
kobj               22 arch/x86/kernel/ksysfs.c static ssize_t version_show(struct kobject *kobj,
kobj               30 arch/x86/kernel/ksysfs.c static ssize_t boot_params_data_read(struct file *fp, struct kobject *kobj,
kobj               62 arch/x86/kernel/ksysfs.c static int kobj_to_setup_data_nr(struct kobject *kobj, int *nr)
kobj               66 arch/x86/kernel/ksysfs.c 	name = kobject_name(kobj);
kobj              115 arch/x86/kernel/ksysfs.c static ssize_t type_show(struct kobject *kobj,
kobj              122 arch/x86/kernel/ksysfs.c 	ret = kobj_to_setup_data_nr(kobj, &nr);
kobj              139 arch/x86/kernel/ksysfs.c 				    struct kobject *kobj,
kobj              149 arch/x86/kernel/ksysfs.c 	ret = kobj_to_setup_data_nr(kobj, &nr);
kobj              214 arch/x86/kernel/ksysfs.c 	struct kobject *kobj;
kobj              218 arch/x86/kernel/ksysfs.c 	kobj = kobject_create_and_add(name, parent);
kobj              219 arch/x86/kernel/ksysfs.c 	if (!kobj)
kobj              227 arch/x86/kernel/ksysfs.c 	ret = sysfs_create_group(kobj, &setup_data_attr_group);
kobj              230 arch/x86/kernel/ksysfs.c 	*kobjp = kobj;
kobj              234 arch/x86/kernel/ksysfs.c 	kobject_put(kobj);
kobj              238 arch/x86/kernel/ksysfs.c static void __init cleanup_setup_data_node(struct kobject *kobj)
kobj              240 arch/x86/kernel/ksysfs.c 	sysfs_remove_group(kobj, &setup_data_attr_group);
kobj              241 arch/x86/kernel/ksysfs.c 	kobject_put(kobj);
kobj               76 arch/x86/kernel/topology.c 			kobject_uevent(&dev->kobj, KOBJ_OFFLINE);
kobj               84 arch/x86/kernel/topology.c 			kobject_uevent(&dev->kobj, KOBJ_ONLINE);
kobj              164 arch/x86/platform/olpc/olpc-xo15-sci.c 	r = sysfs_create_file(&device->dev.kobj, &lid_wake_on_close_attr.attr);
kobj              191 arch/x86/platform/olpc/olpc-xo15-sci.c 	sysfs_remove_file(&device->dev.kobj, &lid_wake_on_close_attr.attr);
kobj              314 arch/x86/platform/ts5500/ts5500.c 	err = sysfs_create_group(&pdev->dev.kobj, &ts5500_attr_group);
kobj               15 arch/x86/platform/uv/uv_sysfs.c static ssize_t partition_id_show(struct kobject *kobj,
kobj               21 arch/x86/platform/uv/uv_sysfs.c static ssize_t coherence_id_show(struct kobject *kobj,
kobj             6434 block/bfq-iosched.c 		kobject_put(&eq->kobj);
kobj             6551 block/bfq-iosched.c 	kobject_put(&eq->kobj);
kobj              307 block/blk-core.c 	kobject_put(&q->kobj);
kobj              518 block/blk-core.c 	kobject_init(&q->kobj, &blk_queue_ktype);
kobj              223 block/blk-integrity.c static ssize_t integrity_attr_show(struct kobject *kobj, struct attribute *attr,
kobj              226 block/blk-integrity.c 	struct gendisk *disk = container_of(kobj, struct gendisk, integrity_kobj);
kobj              234 block/blk-integrity.c static ssize_t integrity_attr_store(struct kobject *kobj,
kobj              238 block/blk-integrity.c 	struct gendisk *disk = container_of(kobj, struct gendisk, integrity_kobj);
kobj              432 block/blk-integrity.c 				 &disk_to_dev(disk)->kobj, "%s", "integrity"))
kobj              624 block/blk-iocost.c 		return kobject_name(q->kobj.parent);
kobj              826 block/blk-mq-debugfs.c 	q->debugfs_dir = debugfs_create_dir(kobject_name(q->kobj.parent),
kobj              563 block/blk-mq-sched.c 				kobject_put(&eq->kobj);
kobj               18 block/blk-mq-sysfs.c static void blk_mq_sysfs_release(struct kobject *kobj)
kobj               20 block/blk-mq-sysfs.c 	struct blk_mq_ctxs *ctxs = container_of(kobj, struct blk_mq_ctxs, kobj);
kobj               26 block/blk-mq-sysfs.c static void blk_mq_ctx_sysfs_release(struct kobject *kobj)
kobj               28 block/blk-mq-sysfs.c 	struct blk_mq_ctx *ctx = container_of(kobj, struct blk_mq_ctx, kobj);
kobj               31 block/blk-mq-sysfs.c 	kobject_put(&ctx->ctxs->kobj);
kobj               34 block/blk-mq-sysfs.c static void blk_mq_hw_sysfs_release(struct kobject *kobj)
kobj               36 block/blk-mq-sysfs.c 	struct blk_mq_hw_ctx *hctx = container_of(kobj, struct blk_mq_hw_ctx,
kobj               37 block/blk-mq-sysfs.c 						  kobj);
kobj               62 block/blk-mq-sysfs.c static ssize_t blk_mq_sysfs_show(struct kobject *kobj, struct attribute *attr,
kobj               71 block/blk-mq-sysfs.c 	ctx = container_of(kobj, struct blk_mq_ctx, kobj);
kobj               85 block/blk-mq-sysfs.c static ssize_t blk_mq_sysfs_store(struct kobject *kobj, struct attribute *attr,
kobj               94 block/blk-mq-sysfs.c 	ctx = container_of(kobj, struct blk_mq_ctx, kobj);
kobj              108 block/blk-mq-sysfs.c static ssize_t blk_mq_hw_sysfs_show(struct kobject *kobj,
kobj              117 block/blk-mq-sysfs.c 	hctx = container_of(kobj, struct blk_mq_hw_ctx, kobj);
kobj              131 block/blk-mq-sysfs.c static ssize_t blk_mq_hw_sysfs_store(struct kobject *kobj,
kobj              141 block/blk-mq-sysfs.c 	hctx = container_of(kobj, struct blk_mq_hw_ctx, kobj);
kobj              246 block/blk-mq-sysfs.c 		kobject_del(&ctx->kobj);
kobj              248 block/blk-mq-sysfs.c 	kobject_del(&hctx->kobj);
kobj              260 block/blk-mq-sysfs.c 	ret = kobject_add(&hctx->kobj, q->mq_kobj, "%u", hctx->queue_num);
kobj              265 block/blk-mq-sysfs.c 		ret = kobject_add(&ctx->kobj, &hctx->kobj, "cpu%u", ctx->cpu);
kobj              285 block/blk-mq-sysfs.c 	kobject_put(&dev->kobj);
kobj              292 block/blk-mq-sysfs.c 	kobject_init(&hctx->kobj, &blk_mq_hw_ktype);
kobj              302 block/blk-mq-sysfs.c 		kobject_put(&ctx->kobj);
kobj              318 block/blk-mq-sysfs.c 		kobject_init(&ctx->kobj, &blk_mq_ctx_ktype);
kobj              327 block/blk-mq-sysfs.c 	WARN_ON_ONCE(!q->kobj.parent);
kobj              330 block/blk-mq-sysfs.c 	ret = kobject_add(q->mq_kobj, kobject_get(&dev->kobj), "%s", "mq");
kobj              353 block/blk-mq-sysfs.c 	kobject_put(&dev->kobj);
kobj             2666 block/blk-mq.c 	q->mq_kobj = &ctxs->kobj;
kobj             2692 block/blk-mq.c 		kobject_put(&hctx->kobj);
kobj             2787 block/blk-mq.c 	kobject_put(&hctx->kobj);
kobj               11 block/blk-mq.h 	struct kobject kobj;
kobj               37 block/blk-mq.h 	struct kobject		kobj;
kobj              772 block/blk-sysfs.c static umode_t queue_attr_visible(struct kobject *kobj, struct attribute *attr,
kobj              776 block/blk-sysfs.c 		container_of(kobj, struct request_queue, kobj);
kobj              794 block/blk-sysfs.c queue_attr_show(struct kobject *kobj, struct attribute *attr, char *page)
kobj              798 block/blk-sysfs.c 		container_of(kobj, struct request_queue, kobj);
kobj              814 block/blk-sysfs.c queue_attr_store(struct kobject *kobj, struct attribute *attr,
kobj              824 block/blk-sysfs.c 	q = container_of(kobj, struct request_queue, kobj);
kobj              915 block/blk-sysfs.c static void blk_release_queue(struct kobject *kobj)
kobj              918 block/blk-sysfs.c 		container_of(kobj, struct request_queue, kobj);
kobj              950 block/blk-sysfs.c 		  kobject_name(&dev->kobj));
kobj              972 block/blk-sysfs.c 	ret = kobject_add(&q->kobj, kobject_get(&dev->kobj), "%s", "queue");
kobj              978 block/blk-sysfs.c 	ret = sysfs_create_group(&q->kobj, &queue_attr_group);
kobj              981 block/blk-sysfs.c 		kobject_del(&q->kobj);
kobj              982 block/blk-sysfs.c 		kobject_put(&dev->kobj);
kobj              997 block/blk-sysfs.c 			kobject_del(&q->kobj);
kobj              999 block/blk-sysfs.c 			kobject_put(&dev->kobj);
kobj             1010 block/blk-sysfs.c 	kobject_uevent(&q->kobj, KOBJ_ADD);
kobj             1012 block/blk-sysfs.c 		kobject_uevent(&q->elevator->kobj, KOBJ_ADD);
kobj             1057 block/blk-sysfs.c 	kobject_uevent(&q->kobj, KOBJ_REMOVE);
kobj             1058 block/blk-sysfs.c 	kobject_del(&q->kobj);
kobj             1067 block/blk-sysfs.c 	kobject_put(&disk_to_dev(disk)->kobj);
kobj               49 block/blk.h    	kobject_get(&q->kobj);
kobj              399 block/bsg-lib.c 		       "initialize - register queue\n", dev->kobj.name);
kobj              398 block/bsg.c    	if (q->kobj.sd)
kobj              399 block/bsg.c    		sysfs_remove_link(&q->kobj, "bsg");
kobj              445 block/bsg.c    	if (q->kobj.sd) {
kobj              446 block/bsg.c    		ret = sysfs_create_link(&q->kobj, &bcd->class_dev->kobj, "bsg");
kobj              174 block/elevator.c 	kobject_init(&eq->kobj, &elv_ktype);
kobj              182 block/elevator.c static void elevator_release(struct kobject *kobj)
kobj              186 block/elevator.c 	e = container_of(kobj, struct elevator_queue, kobj);
kobj              198 block/elevator.c 	kobject_put(&e->kobj);
kobj              439 block/elevator.c elv_attr_show(struct kobject *kobj, struct attribute *attr, char *page)
kobj              448 block/elevator.c 	e = container_of(kobj, struct elevator_queue, kobj);
kobj              456 block/elevator.c elv_attr_store(struct kobject *kobj, struct attribute *attr,
kobj              466 block/elevator.c 	e = container_of(kobj, struct elevator_queue, kobj);
kobj              493 block/elevator.c 	error = kobject_add(&e->kobj, &q->kobj, "%s", "iosched");
kobj              498 block/elevator.c 				if (sysfs_create_file(&e->kobj, &attr->attr))
kobj              504 block/elevator.c 			kobject_uevent(&e->kobj, KOBJ_ADD);
kobj              521 block/elevator.c 		kobject_uevent(&e->kobj, KOBJ_REMOVE);
kobj              522 block/elevator.c 		kobject_del(&e->kobj);
kobj              584 block/genhd.c  	return &disk_to_dev(p)->kobj;
kobj              619 block/genhd.c  		err = sysfs_create_link(block_depr, &ddev->kobj,
kobj              620 block/genhd.c  					kobject_name(&ddev->kobj));
kobj              634 block/genhd.c  	disk->part0.holder_dir = kobject_create_and_add("holders", &ddev->kobj);
kobj              635 block/genhd.c  	disk->slave_dir = kobject_create_and_add("slaves", &ddev->kobj);
kobj              663 block/genhd.c  	kobject_uevent(&ddev->kobj, KOBJ_ADD);
kobj              668 block/genhd.c  		kobject_uevent(&part_to_dev(part)->kobj, KOBJ_ADD);
kobj              672 block/genhd.c  		err = sysfs_create_link(&ddev->kobj,
kobj              673 block/genhd.c  			  &disk->queue->backing_dev_info->dev->kobj,
kobj              803 block/genhd.c  		sysfs_remove_link(&disk_to_dev(disk)->kobj, "bdi");
kobj              876 block/genhd.c  		struct kobject *kobj;
kobj              878 block/genhd.c  		kobj = kobj_lookup(bdev_map, devt, partno);
kobj              879 block/genhd.c  		if (kobj)
kobj              880 block/genhd.c  			disk = dev_to_disk(kobj_to_dev(kobj));
kobj             1226 block/genhd.c  static umode_t disk_visible(struct kobject *kobj, struct attribute *a, int n)
kobj             1228 block/genhd.c  	struct device *dev = container_of(kobj, typeof(*dev), kobj);
kobj             1521 block/genhd.c  	struct kobject *kobj;
kobj             1528 block/genhd.c  	kobj = kobject_get_unless_zero(&disk_to_dev(disk)->kobj);
kobj             1529 block/genhd.c  	if (kobj == NULL) {
kobj             1533 block/genhd.c  	return kobj;
kobj             1541 block/genhd.c  		kobject_put(&disk_to_dev(disk)->kobj);
kobj             1567 block/genhd.c  	kobject_uevent_env(&disk_to_dev(gd)->kobj, KOBJ_CHANGE, envp);
kobj             1883 block/genhd.c  		kobject_uevent_env(&disk_to_dev(disk)->kobj, KOBJ_CHANGE, envp);
kobj             2044 block/genhd.c  	if (sysfs_create_files(&disk_to_dev(disk)->kobj, disk_events_attrs) < 0)
kobj             2072 block/genhd.c  	sysfs_remove_files(&disk_to_dev(disk)->kobj, disk_events_attrs);
kobj              427 block/kyber-iosched.c 		kobject_put(&eq->kobj);
kobj              417 block/mq-deadline.c 		kobject_put(&eq->kobj);
kobj              383 block/partition-generic.c 	p->holder_dir = kobject_create_and_add("holders", &pdev->kobj);
kobj              406 block/partition-generic.c 		kobject_uevent(&pdev->kobj, KOBJ_ADD);
kobj              561 block/partition-generic.c 	kobject_uevent(&disk_to_dev(disk)->kobj, KOBJ_CHANGE);
kobj              657 block/partition-generic.c 	kobject_uevent(&disk_to_dev(disk)->kobj, KOBJ_CHANGE);
kobj              328 crypto/pcrypt.c 	pinst->kobj.kset = pcrypt_kset;
kobj              329 crypto/pcrypt.c 	ret = kobject_add(&pinst->kobj, NULL, "%s", name);
kobj              331 crypto/pcrypt.c 		kobject_uevent(&pinst->kobj, KOBJ_ADD);
kobj              258 drivers/acpi/ac.c 		kobject_uevent(&ac->charger->dev.kobj, KOBJ_CHANGE);
kobj              400 drivers/acpi/ac.c 		kobject_uevent(&ac->charger->dev.kobj, KOBJ_CHANGE);
kobj              116 drivers/acpi/acpi_lpit.c 		sysfs_add_file_to_group(&cpu_subsys.dev_root->kobj,
kobj              124 drivers/acpi/acpi_lpit.c 		sysfs_add_file_to_group(&cpu_subsys.dev_root->kobj,
kobj             1300 drivers/acpi/acpi_lpss.c 			return sysfs_create_group(&pdev->dev.kobj,
kobj             1305 drivers/acpi/acpi_lpss.c 			sysfs_remove_group(&pdev->dev.kobj, &lpss_attr_group);
kobj              567 drivers/acpi/acpi_tad.c 		sysfs_remove_group(&dev->kobj, &acpi_tad_dc_attr_group);
kobj              569 drivers/acpi/acpi_tad.c 	sysfs_remove_group(&dev->kobj, &acpi_tad_attr_group);
kobj              636 drivers/acpi/acpi_tad.c 	ret = sysfs_create_group(&dev->kobj, &acpi_tad_attr_group);
kobj              641 drivers/acpi/acpi_tad.c 		ret = sysfs_create_group(&dev->kobj, &acpi_tad_dc_attr_group);
kobj              647 drivers/acpi/acpi_tad.c 		ret = sysfs_create_group(&dev->kobj, &acpi_tad_time_attr_group);
kobj             1807 drivers/acpi/acpi_video.c 	result = sysfs_create_link(&device->dev->dev.kobj,
kobj             1808 drivers/acpi/acpi_video.c 			&device->cooling_dev->device.kobj,
kobj             1812 drivers/acpi/acpi_video.c 	result = sysfs_create_link(&device->cooling_dev->device.kobj,
kobj             1813 drivers/acpi/acpi_video.c 			&device->dev->dev.kobj, "device");
kobj             1885 drivers/acpi/acpi_video.c 		sysfs_remove_link(&device->dev->dev.kobj, "thermal_cooling");
kobj             1886 drivers/acpi/acpi_video.c 		sysfs_remove_link(&device->cooling_dev->device.kobj, "device");
kobj               53 drivers/acpi/bgrt.c static ssize_t image_read(struct file *file, struct kobject *kobj,
kobj               89 drivers/acpi/container.c 	kobject_uevent(&dev->kobj, KOBJ_ONLINE);
kobj              123 drivers/acpi/cppc_acpi.c 	ssize_t (*show)(struct kobject *kobj,
kobj              125 drivers/acpi/cppc_acpi.c 	ssize_t (*store)(struct kobject *kobj,
kobj              133 drivers/acpi/cppc_acpi.c #define to_cpc_desc(a) container_of(a, struct cpc_desc, kobj)
kobj              136 drivers/acpi/cppc_acpi.c 	static ssize_t show_##member_name(struct kobject *kobj,		\
kobj              139 drivers/acpi/cppc_acpi.c 		struct cpc_desc *cpc_ptr = to_cpc_desc(kobj);		\
kobj              162 drivers/acpi/cppc_acpi.c static ssize_t show_feedback_ctrs(struct kobject *kobj,
kobj              165 drivers/acpi/cppc_acpi.c 	struct cpc_desc *cpc_ptr = to_cpc_desc(kobj);
kobj              864 drivers/acpi/cppc_acpi.c 	ret = kobject_init_and_add(&cpc_ptr->kobj, &cppc_ktype, &cpu_dev->kobj,
kobj              868 drivers/acpi/cppc_acpi.c 		kobject_put(&cpc_ptr->kobj);
kobj              926 drivers/acpi/cppc_acpi.c 	kobject_put(&cpc_ptr->kobj);
kobj               57 drivers/acpi/device_sysfs.c #define to_data_node(k) container_of(k, struct acpi_data_node, kobj)
kobj               60 drivers/acpi/device_sysfs.c static ssize_t acpi_data_node_attr_show(struct kobject *kobj,
kobj               63 drivers/acpi/device_sysfs.c 	struct acpi_data_node *dn = to_data_node(kobj);
kobj               73 drivers/acpi/device_sysfs.c static void acpi_data_node_release(struct kobject *kobj)
kobj               75 drivers/acpi/device_sysfs.c 	struct acpi_data_node *dn = to_data_node(kobj);
kobj               85 drivers/acpi/device_sysfs.c static void acpi_expose_nondev_subnodes(struct kobject *kobj,
kobj               98 drivers/acpi/device_sysfs.c 		ret = kobject_init_and_add(&dn->kobj, &acpi_data_node_ktype,
kobj               99 drivers/acpi/device_sysfs.c 					   kobj, "%s", dn->name);
kobj              101 drivers/acpi/device_sysfs.c 			acpi_expose_nondev_subnodes(&dn->kobj, &dn->data);
kobj              117 drivers/acpi/device_sysfs.c 		kobject_put(&dn->kobj);
kobj              595 drivers/acpi/device_sysfs.c 	acpi_expose_nondev_subnodes(&dev->dev.kobj, &dev->data);
kobj              298 drivers/acpi/dock.c 		kobject_uevent_env(&dev->kobj, KOBJ_CHANGE, envp);
kobj              304 drivers/acpi/dock.c 		kobject_uevent_env(&dev->kobj, KOBJ_CHANGE, envp);
kobj              623 drivers/acpi/dock.c 	ret = sysfs_create_group(&dd->dev.kobj, &dock_attribute_group);
kobj              640 drivers/acpi/dock.c 	sysfs_remove_group(&dd->dev.kobj, &dock_attribute_group);
kobj               81 drivers/acpi/dptf/dptf_power.c 	result = sysfs_create_group(&pdev->dev.kobj,
kobj               94 drivers/acpi/dptf/dptf_power.c 	sysfs_remove_group(&pdev->dev.kobj, &dptf_power_attribute_group);
kobj              359 drivers/acpi/fan.c 	result = sysfs_create_link(&pdev->dev.kobj,
kobj              360 drivers/acpi/fan.c 				   &cdev->device.kobj,
kobj              365 drivers/acpi/fan.c 	result = sysfs_create_link(&cdev->device.kobj,
kobj              366 drivers/acpi/fan.c 				   &pdev->dev.kobj,
kobj              379 drivers/acpi/fan.c 	sysfs_remove_link(&pdev->dev.kobj, "thermal_cooling");
kobj              380 drivers/acpi/fan.c 	sysfs_remove_link(&fan->cdev->device.kobj, "device");
kobj              238 drivers/acpi/glue.c 	retval = sysfs_create_link(&acpi_dev->dev.kobj, &dev->kobj,
kobj              244 drivers/acpi/glue.c 	retval = sysfs_create_link(&dev->kobj, &acpi_dev->dev.kobj,
kobj              283 drivers/acpi/glue.c 			sysfs_remove_link(&acpi_dev->dev.kobj, physnode_name);
kobj              284 drivers/acpi/glue.c 			sysfs_remove_link(&dev->kobj, "firmware_node");
kobj             1383 drivers/acpi/nfit/core.c static umode_t nfit_visible(struct kobject *kobj, struct attribute *a, int n)
kobj             1385 drivers/acpi/nfit/core.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             1668 drivers/acpi/nfit/core.c static umode_t acpi_nfit_dimm_attr_visible(struct kobject *kobj,
kobj             1671 drivers/acpi/nfit/core.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             3351 drivers/acpi/nfit/core.c 	nfit = sysfs_get_dirent(bus_dev->kobj.sd, "nfit");
kobj              534 drivers/acpi/power.c 		sysfs_remove_link_from_group(&adev->dev.kobj,
kobj              538 drivers/acpi/power.c 	sysfs_remove_group(&adev->dev.kobj, attr_group);
kobj              551 drivers/acpi/power.c 	ret = sysfs_create_group(&adev->dev.kobj, attr_group);
kobj              558 drivers/acpi/power.c 		ret = sysfs_add_link_to_group(&adev->dev.kobj,
kobj              560 drivers/acpi/power.c 					      &res_dev->dev.kobj,
kobj              164 drivers/acpi/processor_driver.c 	result = sysfs_create_link(&device->dev.kobj,
kobj              165 drivers/acpi/processor_driver.c 				   &pr->cdev->device.kobj,
kobj              173 drivers/acpi/processor_driver.c 	result = sysfs_create_link(&pr->cdev->device.kobj,
kobj              174 drivers/acpi/processor_driver.c 				   &device->dev.kobj,
kobj              185 drivers/acpi/processor_driver.c 	sysfs_remove_link(&device->dev.kobj, "thermal_cooling");
kobj              196 drivers/acpi/processor_driver.c 		sysfs_remove_link(&device->dev.kobj, "thermal_cooling");
kobj              197 drivers/acpi/processor_driver.c 		sysfs_remove_link(&pr->cdev->device.kobj, "device");
kobj              607 drivers/acpi/sbs.c 			kobject_uevent(&sbs->charger->dev.kobj, KOBJ_CHANGE);
kobj              619 drivers/acpi/sbs.c 			kobject_uevent(&bat->bat->dev.kobj, KOBJ_CHANGE);
kobj              131 drivers/acpi/scan.c 				kobject_uevent_env(&pn->dev->kobj, KOBJ_CHANGE, envp);
kobj             1613 drivers/acpi/scan.c 	kobject_uevent(&device->dev.kobj, KOBJ_ADD);
kobj              341 drivers/acpi/sysfs.c static ssize_t acpi_table_show(struct file *filp, struct kobject *kobj,
kobj              436 drivers/acpi/sysfs.c static ssize_t acpi_data_show(struct file *filp, struct kobject *kobj,
kobj              676 drivers/acpi/sysfs.c static ssize_t counter_show(struct kobject *kobj,
kobj              733 drivers/acpi/sysfs.c static ssize_t counter_set(struct kobject *kobj,
kobj              950 drivers/acpi/sysfs.c static ssize_t hotplug_enabled_show(struct kobject *kobj,
kobj              953 drivers/acpi/sysfs.c 	struct acpi_hotplug_profile *hotplug = to_acpi_hotplug_profile(kobj);
kobj              958 drivers/acpi/sysfs.c static ssize_t hotplug_enabled_store(struct kobject *kobj,
kobj              962 drivers/acpi/sysfs.c 	struct acpi_hotplug_profile *hotplug = to_acpi_hotplug_profile(kobj);
kobj              994 drivers/acpi/sysfs.c 	error = kobject_init_and_add(&hotplug->kobj,
kobj              997 drivers/acpi/sysfs.c 		kobject_put(&hotplug->kobj);
kobj             1001 drivers/acpi/sysfs.c 	kobject_uevent(&hotplug->kobj, KOBJ_ADD);
kobj             1008 drivers/acpi/sysfs.c static ssize_t force_remove_show(struct kobject *kobj,
kobj             1014 drivers/acpi/sysfs.c static ssize_t force_remove_store(struct kobject *kobj,
kobj              899 drivers/acpi/thermal.c 	result = sysfs_create_link(&tz->device->dev.kobj,
kobj              900 drivers/acpi/thermal.c 				   &tz->thermal_zone->device.kobj, "thermal_zone");
kobj              904 drivers/acpi/thermal.c 	result = sysfs_create_link(&tz->thermal_zone->device.kobj,
kobj              905 drivers/acpi/thermal.c 				   &tz->device->dev.kobj, "device");
kobj              923 drivers/acpi/thermal.c 	sysfs_remove_link(&tz->device->dev.kobj, "thermal_zone");
kobj              924 drivers/acpi/thermal.c 	sysfs_remove_link(&tz->thermal_zone->device.kobj, "device");
kobj              151 drivers/ata/libata-acpi.c 	struct kobject *kobj = NULL;
kobj              157 drivers/ata/libata-acpi.c 			kobj = &dev->sdev->sdev_gendev.kobj;
kobj              159 drivers/ata/libata-acpi.c 		kobj = &ap->dev->kobj;
kobj              161 drivers/ata/libata-acpi.c 	if (kobj) {
kobj              163 drivers/ata/libata-acpi.c 		kobject_uevent_env(kobj, KOBJ_CHANGE, envp);
kobj              168 drivers/atm/adummy.c 	if (sysfs_create_group(&atm_dev->class_dev.kobj, &adummy_group_attrs))
kobj             1332 drivers/atm/solos-pci.c 	    sysfs_create_group(&card->dev->dev.kobj, &gpio_attr_group))
kobj             1373 drivers/atm/solos-pci.c 		if (sysfs_create_group(&card->atmdev[i]->class_dev.kobj, &solos_attr_group))
kobj             1412 drivers/atm/solos-pci.c 			sysfs_remove_group(&card->atmdev[i]->class_dev.kobj, &solos_attr_group);
kobj             1446 drivers/atm/solos-pci.c 		sysfs_remove_group(&card->dev->dev.kobj, &gpio_attr_group);
kobj              327 drivers/base/attribute_container.c 		return sysfs_create_group(&classdev->kobj, cont->grp);
kobj              390 drivers/base/attribute_container.c 		sysfs_remove_group(&classdev->kobj, cont->grp);
kobj               45 drivers/base/base.h #define to_subsys_private(obj) container_of(obj, struct subsys_private, subsys.kobj)
kobj               48 drivers/base/base.h 	struct kobject kobj;
kobj               54 drivers/base/base.h #define to_driver(obj) container_of(obj, struct driver_private, kobj)
kobj              140 drivers/base/base.h extern char *make_class_name(const char *name, struct kobject *kobj);
kobj               56 drivers/base/bus.c static ssize_t drv_attr_show(struct kobject *kobj, struct attribute *attr,
kobj               60 drivers/base/bus.c 	struct driver_private *drv_priv = to_driver(kobj);
kobj               68 drivers/base/bus.c static ssize_t drv_attr_store(struct kobject *kobj, struct attribute *attr,
kobj               72 drivers/base/bus.c 	struct driver_private *drv_priv = to_driver(kobj);
kobj               85 drivers/base/bus.c static void driver_release(struct kobject *kobj)
kobj               87 drivers/base/bus.c 	struct driver_private *drv_priv = to_driver(kobj);
kobj               89 drivers/base/bus.c 	pr_debug("driver: '%s': %s\n", kobject_name(kobj), __func__);
kobj              101 drivers/base/bus.c static ssize_t bus_attr_show(struct kobject *kobj, struct attribute *attr,
kobj              105 drivers/base/bus.c 	struct subsys_private *subsys_priv = to_subsys_private(kobj);
kobj              113 drivers/base/bus.c static ssize_t bus_attr_store(struct kobject *kobj, struct attribute *attr,
kobj              117 drivers/base/bus.c 	struct subsys_private *subsys_priv = to_subsys_private(kobj);
kobj              134 drivers/base/bus.c 		error = sysfs_create_file(&bus->p->subsys.kobj, &attr->attr);
kobj              145 drivers/base/bus.c 		sysfs_remove_file(&bus->p->subsys.kobj, &attr->attr);
kobj              151 drivers/base/bus.c static void bus_release(struct kobject *kobj)
kobj              153 drivers/base/bus.c 	struct subsys_private *priv = to_subsys_private(kobj);
kobj              165 drivers/base/bus.c static int bus_uevent_filter(struct kset *kset, struct kobject *kobj)
kobj              167 drivers/base/bus.c 	struct kobj_type *ktype = get_ktype(kobj);
kobj              454 drivers/base/bus.c 		error = sysfs_create_link(&bus->p->devices_kset->kobj,
kobj              455 drivers/base/bus.c 						&dev->kobj, dev_name(dev));
kobj              458 drivers/base/bus.c 		error = sysfs_create_link(&dev->kobj,
kobj              459 drivers/base/bus.c 				&dev->bus->p->subsys.kobj, "subsystem");
kobj              467 drivers/base/bus.c 	sysfs_remove_link(&bus->p->devices_kset->kobj, dev_name(dev));
kobj              523 drivers/base/bus.c 	sysfs_remove_link(&dev->kobj, "subsystem");
kobj              524 drivers/base/bus.c 	sysfs_remove_link(&dev->bus->p->devices_kset->kobj,
kobj              584 drivers/base/bus.c 	rc = kobject_synth_uevent(&drv->p->kobj, buf, count);
kobj              613 drivers/base/bus.c 	priv->kobj.kset = bus->p->drivers_kset;
kobj              614 drivers/base/bus.c 	error = kobject_init_and_add(&priv->kobj, &driver_ktype, NULL,
kobj              651 drivers/base/bus.c 	kobject_put(&priv->kobj);
kobj              680 drivers/base/bus.c 	kobject_put(&drv->p->kobj);
kobj              751 drivers/base/bus.c 	return sysfs_create_groups(&bus->p->subsys.kobj, groups);
kobj              757 drivers/base/bus.c 	sysfs_remove_groups(&bus->p->subsys.kobj, groups);
kobj              781 drivers/base/bus.c 	rc = kobject_synth_uevent(&bus->p->subsys.kobj, buf, count);
kobj              816 drivers/base/bus.c 	retval = kobject_set_name(&priv->subsys.kobj, "%s", bus->name);
kobj              820 drivers/base/bus.c 	priv->subsys.kobj.kset = bus_kset;
kobj              821 drivers/base/bus.c 	priv->subsys.kobj.ktype = &bus_ktype;
kobj              833 drivers/base/bus.c 						 &priv->subsys.kobj);
kobj              840 drivers/base/bus.c 						 &priv->subsys.kobj);
kobj             1117 drivers/base/bus.c 	dev->kobj.parent = parent_of_root;
kobj             1159 drivers/base/bus.c 	return subsys_register(subsys, groups, &system_kset->kobj);
kobj             1193 drivers/base/bus.c 	system_kset = kset_create_and_add("system", NULL, &devices_kset->kobj);
kobj              480 drivers/base/cacheinfo.c cache_default_attrs_is_visible(struct kobject *kobj,
kobj              483 drivers/base/cacheinfo.c 	struct device *dev = kobj_to_dev(kobj);
kobj               24 drivers/base/class.c static ssize_t class_attr_show(struct kobject *kobj, struct attribute *attr,
kobj               28 drivers/base/class.c 	struct subsys_private *cp = to_subsys_private(kobj);
kobj               36 drivers/base/class.c static ssize_t class_attr_store(struct kobject *kobj, struct attribute *attr,
kobj               40 drivers/base/class.c 	struct subsys_private *cp = to_subsys_private(kobj);
kobj               48 drivers/base/class.c static void class_release(struct kobject *kobj)
kobj               50 drivers/base/class.c 	struct subsys_private *cp = to_subsys_private(kobj);
kobj               64 drivers/base/class.c static const struct kobj_ns_type_operations *class_child_ns_type(struct kobject *kobj)
kobj               66 drivers/base/class.c 	struct subsys_private *cp = to_subsys_private(kobj);
kobj               93 drivers/base/class.c 		error = sysfs_create_file_ns(&cls->p->subsys.kobj,
kobj              104 drivers/base/class.c 		sysfs_remove_file_ns(&cls->p->subsys.kobj, &attr->attr, ns);
kobj              143 drivers/base/class.c 	return sysfs_create_groups(&cls->p->subsys.kobj, groups);
kobj              149 drivers/base/class.c 	return sysfs_remove_groups(&cls->p->subsys.kobj, groups);
kobj              166 drivers/base/class.c 	error = kobject_set_name(&cp->subsys.kobj, "%s", cls->name);
kobj              179 drivers/base/class.c 		cp->subsys.kobj.kset = class_kset;
kobj              181 drivers/base/class.c 	cp->subsys.kobj.kset = class_kset;
kobj              183 drivers/base/class.c 	cp->subsys.kobj.ktype = &class_ktype;
kobj              486 drivers/base/class.c 	struct kobject *kobj;
kobj              503 drivers/base/class.c 	cls->kobj = kobject_create_and_add(name, &class_kset->kobj);
kobj              504 drivers/base/class.c 	if (!cls->kobj) {
kobj              518 drivers/base/class.c 	kobject_put(cls->kobj);
kobj              535 drivers/base/class.c 	error = sysfs_create_link(cls->kobj, &dev->kobj, dev_name(dev));
kobj              545 drivers/base/class.c 		error = sysfs_create_link(&dev->kobj, &device_link->kobj,
kobj              548 drivers/base/class.c 			sysfs_remove_link(cls->kobj, dev_name(dev));
kobj              567 drivers/base/class.c 		sysfs_remove_link(&dev->kobj, "device");
kobj              568 drivers/base/class.c 	sysfs_remove_link(cls->kobj, dev_name(dev));
kobj              960 drivers/base/core.c static ssize_t dev_attr_show(struct kobject *kobj, struct attribute *attr,
kobj              964 drivers/base/core.c 	struct device *dev = kobj_to_dev(kobj);
kobj              976 drivers/base/core.c static ssize_t dev_attr_store(struct kobject *kobj, struct attribute *attr,
kobj              980 drivers/base/core.c 	struct device *dev = kobj_to_dev(kobj);
kobj             1080 drivers/base/core.c static void device_release(struct kobject *kobj)
kobj             1082 drivers/base/core.c 	struct device *dev = kobj_to_dev(kobj);
kobj             1108 drivers/base/core.c static const void *device_namespace(struct kobject *kobj)
kobj             1110 drivers/base/core.c 	struct device *dev = kobj_to_dev(kobj);
kobj             1119 drivers/base/core.c static void device_get_ownership(struct kobject *kobj, kuid_t *uid, kgid_t *gid)
kobj             1121 drivers/base/core.c 	struct device *dev = kobj_to_dev(kobj);
kobj             1135 drivers/base/core.c static int dev_uevent_filter(struct kset *kset, struct kobject *kobj)
kobj             1137 drivers/base/core.c 	struct kobj_type *ktype = get_ktype(kobj);
kobj             1140 drivers/base/core.c 		struct device *dev = kobj_to_dev(kobj);
kobj             1149 drivers/base/core.c static const char *dev_uevent_name(struct kset *kset, struct kobject *kobj)
kobj             1151 drivers/base/core.c 	struct device *dev = kobj_to_dev(kobj);
kobj             1160 drivers/base/core.c static int dev_uevent(struct kset *kset, struct kobject *kobj,
kobj             1163 drivers/base/core.c 	struct device *dev = kobj_to_dev(kobj);
kobj             1244 drivers/base/core.c 	top_kobj = &dev->kobj;
kobj             1256 drivers/base/core.c 		if (!kset->uevent_ops->filter(kset, &dev->kobj))
kobj             1264 drivers/base/core.c 	retval = kset->uevent_ops->uevent(kset, &dev->kobj, env);
kobj             1281 drivers/base/core.c 	rc = kobject_synth_uevent(&dev->kobj, buf, count);
kobj             1325 drivers/base/core.c 	return sysfs_create_groups(&dev->kobj, groups);
kobj             1332 drivers/base/core.c 	sysfs_remove_groups(&dev->kobj, groups);
kobj             1352 drivers/base/core.c 	sysfs_remove_group(&dev->kobj, group);
kobj             1361 drivers/base/core.c 	sysfs_remove_groups(&dev->kobj, groups);
kobj             1384 drivers/base/core.c 	error = sysfs_create_group(&dev->kobj, grp);
kobj             1437 drivers/base/core.c 	error = sysfs_create_groups(&dev->kobj, groups);
kobj             1545 drivers/base/core.c 	list_move_tail(&deva->kobj.entry, &devb->kobj.entry);
kobj             1561 drivers/base/core.c 	list_move(&deva->kobj.entry, &devb->kobj.entry);
kobj             1575 drivers/base/core.c 	list_move_tail(&dev->kobj.entry, &devices_kset->list);
kobj             1596 drivers/base/core.c 		error = sysfs_create_file(&dev->kobj, &attr->attr);
kobj             1612 drivers/base/core.c 		sysfs_remove_file(&dev->kobj, &attr->attr);
kobj             1627 drivers/base/core.c 		return sysfs_remove_file_self(&dev->kobj, &attr->attr);
kobj             1643 drivers/base/core.c 		error = sysfs_create_bin_file(&dev->kobj, attr);
kobj             1657 drivers/base/core.c 		sysfs_remove_bin_file(&dev->kobj, attr);
kobj             1699 drivers/base/core.c 	dev->kobj.kset = devices_kset;
kobj             1700 drivers/base/core.c 	kobject_init(&dev->kobj, &device_ktype);
kobj             1726 drivers/base/core.c 						     &devices_kset->kobj);
kobj             1732 drivers/base/core.c 	struct kobject kobj;
kobj             1736 drivers/base/core.c #define to_class_dir(obj) container_of(obj, struct class_dir, kobj)
kobj             1738 drivers/base/core.c static void class_dir_release(struct kobject *kobj)
kobj             1740 drivers/base/core.c 	struct class_dir *dir = to_class_dir(kobj);
kobj             1745 drivers/base/core.c struct kobj_ns_type_operations *class_dir_child_ns_type(struct kobject *kobj)
kobj             1747 drivers/base/core.c 	struct class_dir *dir = to_class_dir(kobj);
kobj             1768 drivers/base/core.c 	kobject_init(&dir->kobj, &class_dir_ktype);
kobj             1770 drivers/base/core.c 	dir->kobj.kset = &class->p->glue_dirs;
kobj             1772 drivers/base/core.c 	retval = kobject_add(&dir->kobj, parent_kobj, "%s", class->name);
kobj             1774 drivers/base/core.c 		kobject_put(&dir->kobj);
kobj             1777 drivers/base/core.c 	return &dir->kobj;
kobj             1786 drivers/base/core.c 		struct kobject *kobj = NULL;
kobj             1794 drivers/base/core.c 				return &parent->kobj;
kobj             1795 drivers/base/core.c 			return &block_class.p->subsys.kobj;
kobj             1807 drivers/base/core.c 			return &parent->kobj;
kobj             1809 drivers/base/core.c 			parent_kobj = &parent->kobj;
kobj             1817 drivers/base/core.c 				kobj = kobject_get(k);
kobj             1821 drivers/base/core.c 		if (kobj) {
kobj             1823 drivers/base/core.c 			return kobj;
kobj             1835 drivers/base/core.c 		return &dev->bus->dev_root->kobj;
kobj             1838 drivers/base/core.c 		return &parent->kobj;
kobj             1842 drivers/base/core.c static inline bool live_in_glue_dir(struct kobject *kobj,
kobj             1845 drivers/base/core.c 	if (!kobj || !dev->class ||
kobj             1846 drivers/base/core.c 	    kobj->kset != &dev->class->p->glue_dirs)
kobj             1853 drivers/base/core.c 	return dev->kobj.parent;
kobj             1931 drivers/base/core.c 		error = sysfs_create_link(&dev->kobj, of_node_kobj(of_node), "of_node");
kobj             1940 drivers/base/core.c 	error = sysfs_create_link(&dev->kobj,
kobj             1941 drivers/base/core.c 				  &dev->class->p->subsys.kobj,
kobj             1947 drivers/base/core.c 		error = sysfs_create_link(&dev->kobj, &dev->parent->kobj,
kobj             1960 drivers/base/core.c 	error = sysfs_create_link(&dev->class->p->subsys.kobj,
kobj             1961 drivers/base/core.c 				  &dev->kobj, dev_name(dev));
kobj             1968 drivers/base/core.c 	sysfs_remove_link(&dev->kobj, "device");
kobj             1971 drivers/base/core.c 	sysfs_remove_link(&dev->kobj, "subsystem");
kobj             1973 drivers/base/core.c 	sysfs_remove_link(&dev->kobj, "of_node");
kobj             1980 drivers/base/core.c 		sysfs_remove_link(&dev->kobj, "of_node");
kobj             1986 drivers/base/core.c 		sysfs_remove_link(&dev->kobj, "device");
kobj             1987 drivers/base/core.c 	sysfs_remove_link(&dev->kobj, "subsystem");
kobj             1992 drivers/base/core.c 	sysfs_delete_link(&dev->class->p->subsys.kobj, &dev->kobj, dev_name(dev));
kobj             2006 drivers/base/core.c 	err = kobject_set_name_vargs(&dev->kobj, fmt, vargs);
kobj             2025 drivers/base/core.c 	struct kobject *kobj;
kobj             2028 drivers/base/core.c 		kobj = dev->class->dev_kobj;
kobj             2030 drivers/base/core.c 		kobj = sysfs_dev_char_kobj;
kobj             2032 drivers/base/core.c 	return kobj;
kobj             2037 drivers/base/core.c 	struct kobject *kobj = device_to_dev_kobj(dev);
kobj             2041 drivers/base/core.c 	if (kobj) {
kobj             2043 drivers/base/core.c 		error = sysfs_create_link(kobj, &dev->kobj, devt_str);
kobj             2051 drivers/base/core.c 	struct kobject *kobj = device_to_dev_kobj(dev);
kobj             2054 drivers/base/core.c 	if (kobj) {
kobj             2056 drivers/base/core.c 		sysfs_remove_link(kobj, devt_str);
kobj             2102 drivers/base/core.c 	struct kobject *kobj;
kobj             2139 drivers/base/core.c 	kobj = get_device_parent(dev, parent);
kobj             2140 drivers/base/core.c 	if (IS_ERR(kobj)) {
kobj             2141 drivers/base/core.c 		error = PTR_ERR(kobj);
kobj             2144 drivers/base/core.c 	if (kobj)
kobj             2145 drivers/base/core.c 		dev->kobj.parent = kobj;
kobj             2153 drivers/base/core.c 	error = kobject_add(&dev->kobj, dev->kobj.parent, NULL);
kobj             2201 drivers/base/core.c 	kobject_uevent(&dev->kobj, KOBJ_ADD);
kobj             2240 drivers/base/core.c 	kobject_uevent(&dev->kobj, KOBJ_REMOVE);
kobj             2242 drivers/base/core.c 	kobject_del(&dev->kobj);
kobj             2289 drivers/base/core.c 	return dev ? kobj_to_dev(kobject_get(&dev->kobj)) : NULL;
kobj             2301 drivers/base/core.c 		kobject_put(&dev->kobj);
kobj             2386 drivers/base/core.c 	kobject_uevent(&dev->kobj, KOBJ_REMOVE);
kobj             2388 drivers/base/core.c 	kobject_del(&dev->kobj);
kobj             2673 drivers/base/core.c 				kobject_uevent(&dev->kobj, KOBJ_OFFLINE);
kobj             2702 drivers/base/core.c 				kobject_uevent(&dev->kobj, KOBJ_ONLINE);
kobj             2778 drivers/base/core.c 		err = sysfs_create_link(&root->dev.kobj, &mk->kobj, "module");
kobj             2803 drivers/base/core.c 		sysfs_remove_link(&root->dev.kobj, "module");
kobj             2842 drivers/base/core.c 	retval = kobject_set_name_vargs(&dev->kobj, fmt, args);
kobj             3033 drivers/base/core.c 	struct kobject *kobj = &dev->kobj;
kobj             3050 drivers/base/core.c 		error = sysfs_rename_link_ns(&dev->class->p->subsys.kobj,
kobj             3051 drivers/base/core.c 					     kobj, old_device_name,
kobj             3052 drivers/base/core.c 					     new_name, kobject_namespace(kobj));
kobj             3057 drivers/base/core.c 	error = kobject_rename(kobj, new_name);
kobj             3077 drivers/base/core.c 		sysfs_remove_link(&dev->kobj, "device");
kobj             3079 drivers/base/core.c 		error = sysfs_create_link(&dev->kobj, &new_parent->kobj,
kobj             3112 drivers/base/core.c 	error = kobject_move(&dev->kobj, new_parent_kobj);
kobj             3133 drivers/base/core.c 			if (!kobject_move(&dev->kobj, &old_parent->kobj)) {
kobj             3193 drivers/base/core.c 				kobj.entry);
kobj             3206 drivers/base/core.c 		list_del_init(&dev->kobj.entry);
kobj              434 drivers/base/cpu.c 	retval = kobject_set_name_vargs(&dev->kobj, fmt, args);
kobj              606 drivers/base/cpu.c 	if (sysfs_create_group(&cpu_subsys.dev_root->kobj,
kobj              371 drivers/base/dd.c 			__func__, kobject_name(&dev->kobj));
kobj              394 drivers/base/dd.c 	kobject_uevent(&dev->kobj, KOBJ_BIND);
kobj              416 drivers/base/dd.c 	ret = sysfs_create_link(&dev->driver->p->kobj, &dev->kobj,
kobj              417 drivers/base/dd.c 				kobject_name(&dev->kobj));
kobj              421 drivers/base/dd.c 	ret = sysfs_create_link(&dev->kobj, &dev->driver->p->kobj,
kobj              430 drivers/base/dd.c 	sysfs_remove_link(&dev->kobj, "driver");
kobj              433 drivers/base/dd.c 	sysfs_remove_link(&dev->driver->p->kobj,
kobj              434 drivers/base/dd.c 			  kobject_name(&dev->kobj));
kobj              447 drivers/base/dd.c 		sysfs_remove_link(&drv->p->kobj, kobject_name(&dev->kobj));
kobj              448 drivers/base/dd.c 		sysfs_remove_link(&dev->kobj, "driver");
kobj             1157 drivers/base/dd.c 		kobject_uevent(&dev->kobj, KOBJ_UNBIND);
kobj               56 drivers/base/devcoredump.c 	if (devcd->failing_dev->kobj.sd)
kobj               57 drivers/base/devcoredump.c 		sysfs_delete_link(&devcd->failing_dev->kobj, &dev->kobj,
kobj               74 drivers/base/devcoredump.c static ssize_t devcd_data_read(struct file *filp, struct kobject *kobj,
kobj               78 drivers/base/devcoredump.c 	struct device *dev = kobj_to_dev(kobj);
kobj               84 drivers/base/devcoredump.c static ssize_t devcd_data_write(struct file *filp, struct kobject *kobj,
kobj               88 drivers/base/devcoredump.c 	struct device *dev = kobj_to_dev(kobj);
kobj              295 drivers/base/devcoredump.c 	if (sysfs_create_link(&devcd->devcd_dev.kobj, &dev->kobj,
kobj              299 drivers/base/devcoredump.c 	if (sysfs_create_link(&dev->kobj, &devcd->devcd_dev.kobj,
kobj              106 drivers/base/driver.c 		error = sysfs_create_file(&drv->p->kobj, &attr->attr);
kobj              122 drivers/base/driver.c 		sysfs_remove_file(&drv->p->kobj, &attr->attr);
kobj              129 drivers/base/driver.c 	return sysfs_create_groups(&drv->p->kobj, groups);
kobj              135 drivers/base/driver.c 	sysfs_remove_groups(&drv->p->kobj, groups);
kobj              178 drivers/base/driver.c 	kobject_uevent(&drv->p->kobj, KOBJ_ADD);
kobj              336 drivers/base/firmware_loader/fallback.c static ssize_t firmware_data_read(struct file *filp, struct kobject *kobj,
kobj              340 drivers/base/firmware_loader/fallback.c 	struct device *dev = kobj_to_dev(kobj);
kobj              393 drivers/base/firmware_loader/fallback.c static ssize_t firmware_data_write(struct file *filp, struct kobject *kobj,
kobj              397 drivers/base/firmware_loader/fallback.c 	struct device *dev = kobj_to_dev(kobj);
kobj              522 drivers/base/firmware_loader/fallback.c 		kobject_uevent(&fw_sysfs->dev.kobj, KOBJ_ADD);
kobj               97 drivers/base/map.c 	struct kobject *kobj;
kobj              124 drivers/base/map.c 		kobj = probe(dev, index, data);
kobj              127 drivers/base/map.c 		if (kobj)
kobj              128 drivers/base/map.c 			return kobj;
kobj               29 drivers/base/module.c 		mk->drivers_dir = kobject_create_and_add("drivers", &mk->kobj);
kobj               50 drivers/base/module.c 			mk = container_of(mkobj, struct module_kobject, kobj);
kobj               62 drivers/base/module.c 	no_warn = sysfs_create_link(&drv->p->kobj, &mk->kobj, "module");
kobj               66 drivers/base/module.c 		no_warn = sysfs_create_link(mk->drivers_dir, &drv->p->kobj,
kobj               80 drivers/base/module.c 	sysfs_remove_link(&drv->p->kobj, "module");
kobj              149 drivers/base/node.c 	kfree_const(dev->kobj.name);
kobj              201 drivers/base/node.c 		if (sysfs_add_file_to_group(&c->dev.kobj, access_attrs[i],
kobj              277 drivers/base/node.c 	kfree_const(dev->kobj.name);
kobj              332 drivers/base/node.c 	kfree_const(dev->kobj.name);
kobj              669 drivers/base/node.c 	ret = sysfs_create_link(&node_devices[nid]->dev.kobj,
kobj              670 drivers/base/node.c 				&obj->kobj,
kobj              671 drivers/base/node.c 				kobject_name(&obj->kobj));
kobj              675 drivers/base/node.c 	return sysfs_create_link(&obj->kobj,
kobj              676 drivers/base/node.c 				 &node_devices[nid]->dev.kobj,
kobj              677 drivers/base/node.c 				 kobject_name(&node_devices[nid]->dev.kobj));
kobj              711 drivers/base/node.c 	ret = sysfs_add_link_to_group(&initiator->dev.kobj, "targets",
kobj              712 drivers/base/node.c 				      &targ_node->dev.kobj,
kobj              717 drivers/base/node.c 	ret = sysfs_add_link_to_group(&target->dev.kobj, "initiators",
kobj              718 drivers/base/node.c 				      &init_node->dev.kobj,
kobj              725 drivers/base/node.c 	sysfs_remove_link_from_group(&initiator->dev.kobj, "targets",
kobj              741 drivers/base/node.c 	sysfs_remove_link(&node_devices[nid]->dev.kobj,
kobj              742 drivers/base/node.c 			  kobject_name(&obj->kobj));
kobj              743 drivers/base/node.c 	sysfs_remove_link(&obj->kobj,
kobj              744 drivers/base/node.c 			  kobject_name(&node_devices[nid]->dev.kobj));
kobj              803 drivers/base/node.c 		ret = sysfs_create_link_nowarn(&node_devices[nid]->dev.kobj,
kobj              804 drivers/base/node.c 					&mem_blk->dev.kobj,
kobj              805 drivers/base/node.c 					kobject_name(&mem_blk->dev.kobj));
kobj              809 drivers/base/node.c 		return sysfs_create_link_nowarn(&mem_blk->dev.kobj,
kobj              810 drivers/base/node.c 				&node_devices[nid]->dev.kobj,
kobj              811 drivers/base/node.c 				kobject_name(&node_devices[nid]->dev.kobj));
kobj              826 drivers/base/node.c 	sysfs_remove_link(&node_devices[mem_blk->nid]->dev.kobj,
kobj              827 drivers/base/node.c 			  kobject_name(&mem_blk->dev.kobj));
kobj              828 drivers/base/node.c 	sysfs_remove_link(&mem_blk->dev.kobj,
kobj              829 drivers/base/node.c 			  kobject_name(&node_devices[mem_blk->nid]->dev.kobj));
kobj             2802 drivers/base/power/domain.c 		kobj_path = kobject_get_path(&pm_data->dev->kobj,
kobj             2976 drivers/base/power/domain.c 		kobj_path = kobject_get_path(&pm_data->dev->kobj,
kobj              651 drivers/base/power/sysfs.c 	rc = sysfs_create_group(&dev->kobj, &pm_attr_group);
kobj              656 drivers/base/power/sysfs.c 		rc = sysfs_merge_group(&dev->kobj, &pm_runtime_attr_group);
kobj              661 drivers/base/power/sysfs.c 		rc = sysfs_merge_group(&dev->kobj, &pm_wakeup_attr_group);
kobj              666 drivers/base/power/sysfs.c 		rc = sysfs_merge_group(&dev->kobj,
kobj              677 drivers/base/power/sysfs.c 	sysfs_unmerge_group(&dev->kobj, &pm_qos_latency_tolerance_attr_group);
kobj              679 drivers/base/power/sysfs.c 	sysfs_unmerge_group(&dev->kobj, &pm_wakeup_attr_group);
kobj              681 drivers/base/power/sysfs.c 	sysfs_unmerge_group(&dev->kobj, &pm_runtime_attr_group);
kobj              683 drivers/base/power/sysfs.c 	sysfs_remove_group(&dev->kobj, &pm_attr_group);
kobj              689 drivers/base/power/sysfs.c 	return sysfs_merge_group(&dev->kobj, &pm_wakeup_attr_group);
kobj              694 drivers/base/power/sysfs.c 	sysfs_unmerge_group(&dev->kobj, &pm_wakeup_attr_group);
kobj              699 drivers/base/power/sysfs.c 	return sysfs_merge_group(&dev->kobj, &pm_qos_resume_latency_attr_group);
kobj              704 drivers/base/power/sysfs.c 	sysfs_unmerge_group(&dev->kobj, &pm_qos_resume_latency_attr_group);
kobj              709 drivers/base/power/sysfs.c 	return sysfs_merge_group(&dev->kobj, &pm_qos_flags_attr_group);
kobj              714 drivers/base/power/sysfs.c 	sysfs_unmerge_group(&dev->kobj, &pm_qos_flags_attr_group);
kobj              719 drivers/base/power/sysfs.c 	return sysfs_merge_group(&dev->kobj,
kobj              725 drivers/base/power/sysfs.c 	sysfs_unmerge_group(&dev->kobj, &pm_qos_latency_tolerance_attr_group);
kobj              730 drivers/base/power/sysfs.c 	sysfs_unmerge_group(&dev->kobj, &pm_runtime_attr_group);
kobj              737 drivers/base/power/sysfs.c 	sysfs_unmerge_group(&dev->kobj, &pm_qos_latency_tolerance_attr_group);
kobj              740 drivers/base/power/sysfs.c 	sysfs_unmerge_group(&dev->kobj, &pm_wakeup_attr_group);
kobj              741 drivers/base/power/sysfs.c 	sysfs_remove_group(&dev->kobj, &pm_attr_group);
kobj              154 drivers/base/power/wakeup_stats.c 	retval = kobject_set_name(&dev->kobj, "wakeup%d", ws->id);
kobj               45 drivers/base/soc.c static umode_t soc_attribute_mode(struct kobject *kobj,
kobj               49 drivers/base/soc.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj               16 drivers/base/swnode.c 	struct kobject kobj;
kobj               32 drivers/base/swnode.c #define kobj_to_swnode(_kobj_) container_of(_kobj_, struct swnode, kobj)
kobj              477 drivers/base/swnode.c 	kobject_get(&swnode->kobj);
kobj              486 drivers/base/swnode.c 	kobject_put(&swnode->kobj);
kobj              558 drivers/base/swnode.c 		if (!strcmp(childname, kobject_name(&child->kobj))) {
kobj              559 drivers/base/swnode.c 			kobject_get(&child->kobj);
kobj              651 drivers/base/swnode.c 			kobject_get(&swnode->kobj);
kobj              678 drivers/base/swnode.c static void software_node_release(struct kobject *kobj)
kobj              680 drivers/base/swnode.c 	struct swnode *swnode = kobj_to_swnode(kobj);
kobj              726 drivers/base/swnode.c 	swnode->kobj.kset = swnode_kset;
kobj              734 drivers/base/swnode.c 		ret = kobject_init_and_add(&swnode->kobj, &software_node_type,
kobj              735 drivers/base/swnode.c 					   parent ? &parent->kobj : NULL,
kobj              738 drivers/base/swnode.c 		ret = kobject_init_and_add(&swnode->kobj, &software_node_type,
kobj              739 drivers/base/swnode.c 					   parent ? &parent->kobj : NULL,
kobj              742 drivers/base/swnode.c 		kobject_put(&swnode->kobj);
kobj              749 drivers/base/swnode.c 	kobject_uevent(&swnode->kobj, KOBJ_ADD);
kobj              854 drivers/base/swnode.c 	kobject_put(&swnode->kobj);
kobj              876 drivers/base/swnode.c 		ret = sysfs_create_link(&dev->kobj, &swnode->kobj,
kobj              881 drivers/base/swnode.c 		ret = sysfs_create_link(&swnode->kobj, &dev->kobj,
kobj              884 drivers/base/swnode.c 			sysfs_remove_link(&dev->kobj, "software_node");
kobj              887 drivers/base/swnode.c 		kobject_get(&swnode->kobj);
kobj              890 drivers/base/swnode.c 		sysfs_remove_link(&swnode->kobj, dev_name(dev));
kobj              891 drivers/base/swnode.c 		sysfs_remove_link(&dev->kobj, "software_node");
kobj              892 drivers/base/swnode.c 		kobject_put(&swnode->kobj);
kobj              125 drivers/base/topology.c 	return sysfs_create_group(&dev->kobj, &topology_attr_group);
kobj              132 drivers/base/topology.c 	sysfs_remove_group(&dev->kobj, &topology_attr_group);
kobj              159 drivers/base/transport_class.c 		error = sysfs_create_group(&classdev->kobj, tcont->statistics);
kobj              226 drivers/base/transport_class.c 			sysfs_remove_group(&classdev->kobj, tcont->statistics);
kobj              459 drivers/block/brd.c 	struct kobject *kobj;
kobj              464 drivers/block/brd.c 	kobj = brd ? get_disk_and_module(brd->brd_disk) : NULL;
kobj              470 drivers/block/brd.c 	return kobj;
kobj              754 drivers/block/drbd/drbd_nl.c 	kobject_uevent(&disk_to_dev(device->vdisk)->kobj, KOBJ_CHANGE);
kobj             2184 drivers/block/drbd/drbd_nl.c 	kobject_uevent(&disk_to_dev(device->vdisk)->kobj, KOBJ_CHANGE);
kobj              245 drivers/block/loop.c 	kobject_uevent(&disk_to_dev(bdev->bd_disk)->kobj, KOBJ_CHANGE);
kobj              850 drivers/block/loop.c 	lo->sysfs_inited = !sysfs_create_group(&disk_to_dev(lo->lo_disk)->kobj,
kobj              857 drivers/block/loop.c 		sysfs_remove_group(&disk_to_dev(lo->lo_disk)->kobj,
kobj             1043 drivers/block/loop.c 	kobject_uevent(&disk_to_dev(bdev->bd_disk)->kobj, KOBJ_CHANGE);
kobj             1166 drivers/block/loop.c 		kobject_uevent(&disk_to_dev(bdev->bd_disk)->kobj, KOBJ_CHANGE);
kobj             2157 drivers/block/loop.c 	struct kobject *kobj;
kobj             2165 drivers/block/loop.c 		kobj = NULL;
kobj             2167 drivers/block/loop.c 		kobj = get_disk_and_module(lo->lo_disk);
kobj             2171 drivers/block/loop.c 	return kobj;
kobj             2396 drivers/block/mtip32xx/mtip32xx.c static int mtip_hw_sysfs_init(struct driver_data *dd, struct kobject *kobj)
kobj             2398 drivers/block/mtip32xx/mtip32xx.c 	if (!kobj || !dd)
kobj             2401 drivers/block/mtip32xx/mtip32xx.c 	if (sysfs_create_file(kobj, &dev_attr_status.attr))
kobj             2417 drivers/block/mtip32xx/mtip32xx.c static int mtip_hw_sysfs_exit(struct driver_data *dd, struct kobject *kobj)
kobj             2419 drivers/block/mtip32xx/mtip32xx.c 	if (!kobj || !dd)
kobj             2422 drivers/block/mtip32xx/mtip32xx.c 	sysfs_remove_file(kobj, &dev_attr_status.attr);
kobj             3581 drivers/block/mtip32xx/mtip32xx.c 	struct kobject *kobj;
kobj             3694 drivers/block/mtip32xx/mtip32xx.c 	kobj = kobject_get(&disk_to_dev(dd->disk)->kobj);
kobj             3695 drivers/block/mtip32xx/mtip32xx.c 	if (kobj) {
kobj             3696 drivers/block/mtip32xx/mtip32xx.c 		mtip_hw_sysfs_init(dd, kobj);
kobj             3697 drivers/block/mtip32xx/mtip32xx.c 		kobject_put(kobj);
kobj             3770 drivers/block/mtip32xx/mtip32xx.c 	struct kobject *kobj;
kobj             3782 drivers/block/mtip32xx/mtip32xx.c 		kobj = kobject_get(&disk_to_dev(dd->disk)->kobj);
kobj             3783 drivers/block/mtip32xx/mtip32xx.c 		if (kobj) {
kobj             3784 drivers/block/mtip32xx/mtip32xx.c 			mtip_hw_sysfs_exit(dd, kobj);
kobj             3785 drivers/block/mtip32xx/mtip32xx.c 			kobject_put(kobj);
kobj              295 drivers/block/nbd.c 		kobject_uevent(&nbd_to_dev(nbd)->kobj, KOBJ_CHANGE);
kobj              320 drivers/block/nbd.c 	kobject_uevent(&nbd_to_dev(nbd)->kobj, KOBJ_CHANGE);
kobj              131 drivers/block/pktcdvd.c 	error = kobject_init_and_add(&p->kobj, ktype, parent, "%s", name);
kobj              133 drivers/block/pktcdvd.c 		kobject_put(&p->kobj);
kobj              136 drivers/block/pktcdvd.c 	kobject_uevent(&p->kobj, KOBJ_ADD);
kobj              145 drivers/block/pktcdvd.c 		kobject_put(&p->kobj);
kobj              150 drivers/block/pktcdvd.c static void pkt_kobj_release(struct kobject *kobj)
kobj              152 drivers/block/pktcdvd.c 	kfree(to_pktcdvdkobj(kobj));
kobj              207 drivers/block/pktcdvd.c static ssize_t kobj_pkt_show(struct kobject *kobj,
kobj              210 drivers/block/pktcdvd.c 	struct pktcdvd_device *pd = to_pktcdvdkobj(kobj)->pd;
kobj              266 drivers/block/pktcdvd.c static ssize_t kobj_pkt_store(struct kobject *kobj,
kobj              270 drivers/block/pktcdvd.c 	struct pktcdvd_device *pd = to_pktcdvdkobj(kobj)->pd;
kobj              324 drivers/block/pktcdvd.c 					&pd->dev->kobj,
kobj              327 drivers/block/pktcdvd.c 					&pd->dev->kobj,
kobj              555 drivers/block/rbd.c static umode_t rbd_bus_is_visible(struct kobject *kobj,
kobj              562 drivers/block/virtio_blk.c 	kobject_uevent_env(&disk_to_dev(vblk->disk)->kobj, KOBJ_CHANGE, envp);
kobj              727 drivers/block/virtio_blk.c static umode_t virtblk_attrs_are_visible(struct kobject *kobj,
kobj              730 drivers/block/virtio_blk.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              426 drivers/block/xen-blkback/xenbus.c 	error = sysfs_create_group(&dev->dev.kobj, &xen_vbdstat_group);
kobj              432 drivers/block/xen-blkback/xenbus.c fail3:	sysfs_remove_group(&dev->dev.kobj, &xen_vbdstat_group);
kobj              440 drivers/block/xen-blkback/xenbus.c 	sysfs_remove_group(&dev->dev.kobj, &xen_vbdstat_group);
kobj             2364 drivers/block/xen-blkfront.c 		kobject_uevent_env(&disk_to_dev(info->gd)->kobj,
kobj              384 drivers/bus/brcmstb_gisb.c 	err = sysfs_create_group(&pdev->dev.kobj, &gisb_arb_sysfs_attr_group);
kobj             2796 drivers/char/ipmi/ipmi_msghandler.c static umode_t bmc_dev_attr_is_visible(struct kobject *kobj,
kobj             2799 drivers/char/ipmi/ipmi_msghandler.c 	struct device *dev = kobj_to_dev(kobj);
kobj             2951 drivers/char/ipmi/ipmi_msghandler.c 	sysfs_remove_link(&intf->si_dev->kobj, "bmc");
kobj             2952 drivers/char/ipmi/ipmi_msghandler.c 	sysfs_remove_link(&bmc->pdev.dev.kobj, intf->my_dev_name);
kobj             3077 drivers/char/ipmi/ipmi_msghandler.c 	rv = sysfs_create_link(&intf->si_dev->kobj, &bmc->pdev.dev.kobj, "bmc");
kobj             3093 drivers/char/ipmi/ipmi_msghandler.c 	rv = sysfs_create_link(&bmc->pdev.dev.kobj, &intf->si_dev->kobj,
kobj             3117 drivers/char/ipmi/ipmi_msghandler.c 	sysfs_remove_link(&intf->si_dev->kobj, "bmc");
kobj              824 drivers/char/tlclk.c 	ret = sysfs_create_group(&tlclk_device->dev.kobj,
kobj              847 drivers/char/tlclk.c 	sysfs_remove_group(&tlclk_device->dev.kobj, &tlclk_attribute_group);
kobj              499 drivers/char/tpm/tpm-chip.c 	sysfs_remove_link(&chip->dev.parent->kobj, "ppi");
kobj              502 drivers/char/tpm/tpm-chip.c 		sysfs_remove_link(&chip->dev.parent->kobj, (*i)->name);
kobj              518 drivers/char/tpm/tpm-chip.c 		    &chip->dev.parent->kobj, &chip->dev.kobj, "ppi");
kobj              525 drivers/char/tpm/tpm-chip.c 		    &chip->dev.parent->kobj, &chip->dev.kobj, (*i)->name);
kobj             1550 drivers/char/virtio_console.c 	sysfs_remove_group(&port->dev->kobj, &port_attribute_group);
kobj             1685 drivers/char/virtio_console.c 		err = sysfs_create_group(&port->dev->kobj,
kobj             1697 drivers/char/virtio_console.c 			kobject_uevent(&port->dev->kobj, KOBJ_CHANGE);
kobj              111 drivers/cpufreq/cpufreq.c 		return &policy->kobj;
kobj              228 drivers/cpufreq/cpufreq.c 			kobject_get(&policy->kobj);
kobj              243 drivers/cpufreq/cpufreq.c 	kobject_put(&policy->kobj);
kobj              580 drivers/cpufreq/cpufreq.c static ssize_t show_boost(struct kobject *kobj,
kobj              586 drivers/cpufreq/cpufreq.c static ssize_t store_boost(struct kobject *kobj, struct kobj_attribute *attr,
kobj              927 drivers/cpufreq/cpufreq.c #define to_policy(k) container_of(k, struct cpufreq_policy, kobj)
kobj              930 drivers/cpufreq/cpufreq.c static ssize_t show(struct kobject *kobj, struct attribute *attr, char *buf)
kobj              932 drivers/cpufreq/cpufreq.c 	struct cpufreq_policy *policy = to_policy(kobj);
kobj              946 drivers/cpufreq/cpufreq.c static ssize_t store(struct kobject *kobj, struct attribute *attr,
kobj              949 drivers/cpufreq/cpufreq.c 	struct cpufreq_policy *policy = to_policy(kobj);
kobj              974 drivers/cpufreq/cpufreq.c static void cpufreq_sysfs_release(struct kobject *kobj)
kobj              976 drivers/cpufreq/cpufreq.c 	struct cpufreq_policy *policy = to_policy(kobj);
kobj             1003 drivers/cpufreq/cpufreq.c 	if (sysfs_create_link(&dev->kobj, &policy->kobj, "cpufreq"))
kobj             1011 drivers/cpufreq/cpufreq.c 	sysfs_remove_link(&dev->kobj, "cpufreq");
kobj             1022 drivers/cpufreq/cpufreq.c 		ret = sysfs_create_file(&policy->kobj, &((*drv_attr)->attr));
kobj             1028 drivers/cpufreq/cpufreq.c 		ret = sysfs_create_file(&policy->kobj, &cpuinfo_cur_freq.attr);
kobj             1033 drivers/cpufreq/cpufreq.c 	ret = sysfs_create_file(&policy->kobj, &scaling_cur_freq.attr);
kobj             1038 drivers/cpufreq/cpufreq.c 		ret = sysfs_create_file(&policy->kobj, &bios_limit.attr);
kobj             1154 drivers/cpufreq/cpufreq.c 	struct kobject *kobj;
kobj             1159 drivers/cpufreq/cpufreq.c 	kobj = &policy->kobj;
kobj             1162 drivers/cpufreq/cpufreq.c 	kobject_put(kobj);
kobj             1196 drivers/cpufreq/cpufreq.c 	ret = kobject_init_and_add(&policy->kobj, &ktype_cpufreq,
kobj             1205 drivers/cpufreq/cpufreq.c 		kobject_put(&policy->kobj);
kobj             1479 drivers/cpufreq/cpufreq.c 	kobject_uevent(&policy->kobj, KOBJ_ADD);
kobj             2759 drivers/cpufreq/cpufreq.c 	cpufreq_global_kobject = kobject_create_and_add("cpufreq", &cpu_subsys.dev_root->kobj);
kobj              450 drivers/cpufreq/cpufreq_governor.c 	ret = kobject_init_and_add(&dbs_data->attr_set.kobj, &gov->kobj_type,
kobj              459 drivers/cpufreq/cpufreq_governor.c 	kobject_put(&dbs_data->attr_set.kobj);
kobj               11 drivers/cpufreq/cpufreq_governor_attr_set.c static inline struct gov_attr_set *to_gov_attr_set(struct kobject *kobj)
kobj               13 drivers/cpufreq/cpufreq_governor_attr_set.c 	return container_of(kobj, struct gov_attr_set, kobj);
kobj               21 drivers/cpufreq/cpufreq_governor_attr_set.c static ssize_t governor_show(struct kobject *kobj, struct attribute *attr,
kobj               26 drivers/cpufreq/cpufreq_governor_attr_set.c 	return gattr->show(to_gov_attr_set(kobj), buf);
kobj               29 drivers/cpufreq/cpufreq_governor_attr_set.c static ssize_t governor_store(struct kobject *kobj, struct attribute *attr,
kobj               32 drivers/cpufreq/cpufreq_governor_attr_set.c 	struct gov_attr_set *attr_set = to_gov_attr_set(kobj);
kobj               77 drivers/cpufreq/cpufreq_governor_attr_set.c 	kobject_put(&attr_set->kobj);
kobj              163 drivers/cpufreq/cpufreq_stats.c 	sysfs_remove_group(&policy->kobj, &stats_attr_group);
kobj              214 drivers/cpufreq/cpufreq_stats.c 	ret = sysfs_create_group(&policy->kobj, &stats_attr_group);
kobj              937 drivers/cpufreq/intel_pstate.c 	(struct kobject *kobj, struct kobj_attribute *attr, char *buf)	\
kobj              945 drivers/cpufreq/intel_pstate.c static ssize_t show_status(struct kobject *kobj,
kobj              970 drivers/cpufreq/intel_pstate.c static ssize_t show_turbo_pct(struct kobject *kobj,
kobj              996 drivers/cpufreq/intel_pstate.c static ssize_t show_num_pstates(struct kobject *kobj,
kobj             1017 drivers/cpufreq/intel_pstate.c static ssize_t show_no_turbo(struct kobject *kobj,
kobj             1195 drivers/cpufreq/intel_pstate.c static ssize_t show_hwp_dynamic_boost(struct kobject *kobj,
kobj             1249 drivers/cpufreq/intel_pstate.c 						&cpu_subsys.dev_root->kobj);
kobj              837 drivers/cpufreq/powernv-cpufreq.c 	kn = kernfs_find_and_get(policy->kobj.sd, throttle_attr_grp.name);
kobj              841 drivers/cpufreq/powernv-cpufreq.c 		ret = sysfs_create_group(&policy->kobj, &throttle_attr_grp);
kobj              151 drivers/cpuidle/sysfs.c 	return sysfs_create_group(&dev->kobj, &cpuidle_attr_group);
kobj              159 drivers/cpuidle/sysfs.c 	sysfs_remove_group(&dev->kobj, &cpuidle_attr_group);
kobj              178 drivers/cpuidle/sysfs.c 	struct kobject kobj;
kobj              181 drivers/cpuidle/sysfs.c static inline struct cpuidle_device *to_cpuidle_device(struct kobject *kobj)
kobj              184 drivers/cpuidle/sysfs.c 		container_of(kobj, struct cpuidle_device_kobj, kobj);
kobj              189 drivers/cpuidle/sysfs.c static ssize_t cpuidle_show(struct kobject *kobj, struct attribute *attr,
kobj              193 drivers/cpuidle/sysfs.c 	struct cpuidle_device *dev = to_cpuidle_device(kobj);
kobj              204 drivers/cpuidle/sysfs.c static ssize_t cpuidle_store(struct kobject *kobj, struct attribute *attr,
kobj              208 drivers/cpuidle/sysfs.c 	struct cpuidle_device *dev = to_cpuidle_device(kobj);
kobj              224 drivers/cpuidle/sysfs.c static void cpuidle_sysfs_release(struct kobject *kobj)
kobj              227 drivers/cpuidle/sysfs.c 		container_of(kobj, struct cpuidle_device_kobj, kobj);
kobj              336 drivers/cpuidle/sysfs.c 	struct kobject kobj;
kobj              370 drivers/cpuidle/sysfs.c static void cpuidle_add_s2idle_attr_group(struct cpuidle_state_kobj *kobj)
kobj              374 drivers/cpuidle/sysfs.c 	if (!kobj->state->enter_s2idle)
kobj              377 drivers/cpuidle/sysfs.c 	ret = sysfs_create_group(&kobj->kobj, &cpuidle_state_s2idle_group);
kobj              382 drivers/cpuidle/sysfs.c static void cpuidle_remove_s2idle_attr_group(struct cpuidle_state_kobj *kobj)
kobj              384 drivers/cpuidle/sysfs.c 	if (kobj->state->enter_s2idle)
kobj              385 drivers/cpuidle/sysfs.c 		sysfs_remove_group(&kobj->kobj, &cpuidle_state_s2idle_group);
kobj              388 drivers/cpuidle/sysfs.c static inline void cpuidle_add_s2idle_attr_group(struct cpuidle_state_kobj *kobj) { }
kobj              389 drivers/cpuidle/sysfs.c static inline void cpuidle_remove_s2idle_attr_group(struct cpuidle_state_kobj *kobj) { }
kobj              392 drivers/cpuidle/sysfs.c #define kobj_to_state_obj(k) container_of(k, struct cpuidle_state_kobj, kobj)
kobj              398 drivers/cpuidle/sysfs.c static ssize_t cpuidle_state_show(struct kobject *kobj, struct attribute *attr,
kobj              402 drivers/cpuidle/sysfs.c 	struct cpuidle_state *state = kobj_to_state(kobj);
kobj              403 drivers/cpuidle/sysfs.c 	struct cpuidle_state_usage *state_usage = kobj_to_state_usage(kobj);
kobj              412 drivers/cpuidle/sysfs.c static ssize_t cpuidle_state_store(struct kobject *kobj, struct attribute *attr,
kobj              416 drivers/cpuidle/sysfs.c 	struct cpuidle_state *state = kobj_to_state(kobj);
kobj              417 drivers/cpuidle/sysfs.c 	struct cpuidle_state_usage *state_usage = kobj_to_state_usage(kobj);
kobj              419 drivers/cpuidle/sysfs.c 	struct cpuidle_device *dev = kobj_to_device(kobj);
kobj              435 drivers/cpuidle/sysfs.c static void cpuidle_state_sysfs_release(struct kobject *kobj)
kobj              437 drivers/cpuidle/sysfs.c 	struct cpuidle_state_kobj *state_obj = kobj_to_state_obj(kobj);
kobj              451 drivers/cpuidle/sysfs.c 	kobject_put(&device->kobjs[i]->kobj);
kobj              464 drivers/cpuidle/sysfs.c 	struct cpuidle_state_kobj *kobj;
kobj              470 drivers/cpuidle/sysfs.c 		kobj = kzalloc(sizeof(struct cpuidle_state_kobj), GFP_KERNEL);
kobj              471 drivers/cpuidle/sysfs.c 		if (!kobj) {
kobj              475 drivers/cpuidle/sysfs.c 		kobj->state = &drv->states[i];
kobj              476 drivers/cpuidle/sysfs.c 		kobj->state_usage = &device->states_usage[i];
kobj              477 drivers/cpuidle/sysfs.c 		kobj->device = device;
kobj              478 drivers/cpuidle/sysfs.c 		init_completion(&kobj->kobj_unregister);
kobj              480 drivers/cpuidle/sysfs.c 		ret = kobject_init_and_add(&kobj->kobj, &ktype_state_cpuidle,
kobj              481 drivers/cpuidle/sysfs.c 					   &kdev->kobj, "state%d", i);
kobj              483 drivers/cpuidle/sysfs.c 			kfree(kobj);
kobj              486 drivers/cpuidle/sysfs.c 		cpuidle_add_s2idle_attr_group(kobj);
kobj              487 drivers/cpuidle/sysfs.c 		kobject_uevent(&kobj->kobj, KOBJ_ADD);
kobj              488 drivers/cpuidle/sysfs.c 		device->kobjs[i] = kobj;
kobj              513 drivers/cpuidle/sysfs.c #define kobj_to_driver_kobj(k) container_of(k, struct cpuidle_driver_kobj, kobj)
kobj              523 drivers/cpuidle/sysfs.c 	struct kobject kobj;
kobj              543 drivers/cpuidle/sysfs.c static void cpuidle_driver_sysfs_release(struct kobject *kobj)
kobj              545 drivers/cpuidle/sysfs.c 	struct cpuidle_driver_kobj *driver_kobj = kobj_to_driver_kobj(kobj);
kobj              549 drivers/cpuidle/sysfs.c static ssize_t cpuidle_driver_show(struct kobject *kobj, struct attribute *attr,
kobj              553 drivers/cpuidle/sysfs.c 	struct cpuidle_driver_kobj *driver_kobj = kobj_to_driver_kobj(kobj);
kobj              562 drivers/cpuidle/sysfs.c static ssize_t cpuidle_driver_store(struct kobject *kobj, struct attribute *attr,
kobj              566 drivers/cpuidle/sysfs.c 	struct cpuidle_driver_kobj *driver_kobj = kobj_to_driver_kobj(kobj);
kobj              611 drivers/cpuidle/sysfs.c 	ret = kobject_init_and_add(&kdrv->kobj, &ktype_driver_cpuidle,
kobj              612 drivers/cpuidle/sysfs.c 				   &kdev->kobj, "driver");
kobj              618 drivers/cpuidle/sysfs.c 	kobject_uevent(&kdrv->kobj, KOBJ_ADD);
kobj              631 drivers/cpuidle/sysfs.c 	kobject_put(&kdrv->kobj);
kobj              705 drivers/cpuidle/sysfs.c 	error = kobject_init_and_add(&kdev->kobj, &ktype_cpuidle, &cpu_dev->kobj,
kobj              712 drivers/cpuidle/sysfs.c 	kobject_uevent(&kdev->kobj, KOBJ_ADD);
kobj              725 drivers/cpuidle/sysfs.c 	kobject_put(&kdev->kobj);
kobj             1028 drivers/crypto/nx/nx-842-pseries.c 	if (sysfs_create_group(&viodev->dev.kobj, &nx842_attribute_group)) {
kobj             1051 drivers/crypto/nx/nx-842-pseries.c 	sysfs_remove_group(&viodev->dev.kobj, &nx842_attribute_group);
kobj             1245 drivers/crypto/omap-aes.c 	err = sysfs_create_group(&dev->kobj, &omap_aes_attr_group);
kobj             2182 drivers/crypto/omap-sham.c 	err = sysfs_create_group(&dev->kobj, &omap_sham_attr_group);
kobj              223 drivers/dax/bus.c 	sysfs_remove_groups(&dax_region->dev->kobj,
kobj              260 drivers/dax/bus.c 	if (sysfs_create_groups(&parent->kobj, dax_region_attribute_groups)) {
kobj              325 drivers/dax/bus.c static umode_t dev_dax_visible(struct kobject *kobj, struct attribute *a, int n)
kobj              327 drivers/dax/bus.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              444 drivers/dax/device.c 	cdev_set_parent(cdev, &dev->kobj);
kobj              257 drivers/dax/super.c static umode_t dax_visible(struct kobject *kobj, struct attribute *a, int n)
kobj              259 drivers/dax/super.c 	struct device *dev = container_of(kobj, typeof(*dev), kobj);
kobj               96 drivers/devfreq/governor_userspace.c 	err = sysfs_create_group(&devfreq->dev.kobj, &dev_attr_group);
kobj              107 drivers/devfreq/governor_userspace.c 	if (devfreq->dev.kobj.sd)
kobj              108 drivers/devfreq/governor_userspace.c 		sysfs_remove_group(&devfreq->dev.kobj, &dev_attr_group);
kobj              109 drivers/dma/ioat/dma.h 	struct kobject kobj;
kobj               42 drivers/dma/ioat/sysfs.c ioat_attr_show(struct kobject *kobj, struct attribute *attr, char *page)
kobj               48 drivers/dma/ioat/sysfs.c 	ioat_chan = container_of(kobj, struct ioatdma_chan, kobj);
kobj               56 drivers/dma/ioat/sysfs.c ioat_attr_store(struct kobject *kobj, struct attribute *attr,
kobj               63 drivers/dma/ioat/sysfs.c 	ioat_chan = container_of(kobj, struct ioatdma_chan, kobj);
kobj               82 drivers/dma/ioat/sysfs.c 		struct kobject *parent = &c->dev->device.kobj;
kobj               85 drivers/dma/ioat/sysfs.c 		err = kobject_init_and_add(&ioat_chan->kobj, type,
kobj               90 drivers/dma/ioat/sysfs.c 			kobject_put(&ioat_chan->kobj);
kobj              105 drivers/dma/ioat/sysfs.c 			kobject_del(&ioat_chan->kobj);
kobj              106 drivers/dma/ioat/sysfs.c 			kobject_put(&ioat_chan->kobj);
kobj              140 drivers/dma/qcom/hidma_mgmt_sys.c static ssize_t show_values_channel(struct kobject *kobj,
kobj              157 drivers/dma/qcom/hidma_mgmt_sys.c static ssize_t set_values_channel(struct kobject *kobj,
kobj              246 drivers/dma/qcom/hidma_mgmt_sys.c 	chanops = kobject_create_and_add("chanops", &mdev->pdev->dev.kobj);
kobj              220 drivers/edac/amd64_edac_inj.c static umode_t amd64_edac_inj_is_visible(struct kobject *kobj,
kobj              223 drivers/edac/amd64_edac_inj.c 	struct device *dev = kobj_to_dev(kobj);
kobj               61 drivers/edac/debugfs.c 	parent = debugfs_create_dir(mci->dev.kobj.name, edac_debugfs);
kobj              129 drivers/edac/edac_device.h 	struct kobject kobj;
kobj              143 drivers/edac/edac_device.h 	struct kobject kobj;
kobj              226 drivers/edac/edac_device.h 	struct kobject kobj;
kobj               23 drivers/edac/edac_device_sysfs.c #define to_edacdev(k) container_of(k, struct edac_device_ctl_info, kobj)
kobj              113 drivers/edac/edac_device_sysfs.c #define to_ctl_info(k) container_of(k, struct edac_device_ctl_info, kobj)
kobj              117 drivers/edac/edac_device_sysfs.c static ssize_t edac_dev_ctl_info_show(struct kobject *kobj,
kobj              120 drivers/edac/edac_device_sysfs.c 	struct edac_device_ctl_info *edac_dev = to_ctl_info(kobj);
kobj              129 drivers/edac/edac_device_sysfs.c static ssize_t edac_dev_ctl_info_store(struct kobject *kobj,
kobj              133 drivers/edac/edac_device_sysfs.c 	struct edac_device_ctl_info *edac_dev = to_ctl_info(kobj);
kobj              201 drivers/edac/edac_device_sysfs.c static void edac_device_ctrl_master_release(struct kobject *kobj)
kobj              203 drivers/edac/edac_device_sysfs.c 	struct edac_device_ctl_info *edac_dev = to_edacdev(kobj);
kobj              245 drivers/edac/edac_device_sysfs.c 	memset(&edac_dev->kobj, 0, sizeof(struct kobject));
kobj              258 drivers/edac/edac_device_sysfs.c 	err = kobject_init_and_add(&edac_dev->kobj, &ktype_device_ctrl,
kobj              259 drivers/edac/edac_device_sysfs.c 				   &edac_subsys->dev_root->kobj,
kobj              266 drivers/edac/edac_device_sysfs.c 	kobject_uevent(&edac_dev->kobj, KOBJ_ADD);
kobj              291 drivers/edac/edac_device_sysfs.c 	edac_dbg(4, "name of kobject is: %s\n", kobject_name(&dev->kobj));
kobj              300 drivers/edac/edac_device_sysfs.c 	kobject_put(&dev->kobj);
kobj              320 drivers/edac/edac_device_sysfs.c #define to_instance(k) container_of(k, struct edac_device_instance, kobj)
kobj              324 drivers/edac/edac_device_sysfs.c static void edac_device_ctrl_instance_release(struct kobject *kobj)
kobj              333 drivers/edac/edac_device_sysfs.c 	instance = to_instance(kobj);
kobj              334 drivers/edac/edac_device_sysfs.c 	kobject_put(&instance->ctl->kobj);
kobj              345 drivers/edac/edac_device_sysfs.c static ssize_t edac_dev_instance_show(struct kobject *kobj,
kobj              348 drivers/edac/edac_device_sysfs.c 	struct edac_device_instance *instance = to_instance(kobj);
kobj              357 drivers/edac/edac_device_sysfs.c static ssize_t edac_dev_instance_store(struct kobject *kobj,
kobj              361 drivers/edac/edac_device_sysfs.c 	struct edac_device_instance *instance = to_instance(kobj);
kobj              406 drivers/edac/edac_device_sysfs.c #define to_block(k) container_of(k, struct edac_device_block, kobj)
kobj              413 drivers/edac/edac_device_sysfs.c static ssize_t block_ue_count_show(struct kobject *kobj,
kobj              416 drivers/edac/edac_device_sysfs.c 	struct edac_device_block *block = to_block(kobj);
kobj              421 drivers/edac/edac_device_sysfs.c static ssize_t block_ce_count_show(struct kobject *kobj,
kobj              424 drivers/edac/edac_device_sysfs.c 	struct edac_device_block *block = to_block(kobj);
kobj              430 drivers/edac/edac_device_sysfs.c static void edac_device_ctrl_block_release(struct kobject *kobj)
kobj              437 drivers/edac/edac_device_sysfs.c 	block = to_block(kobj);
kobj              442 drivers/edac/edac_device_sysfs.c 	kobject_put(&block->instance->ctl->kobj);
kobj              447 drivers/edac/edac_device_sysfs.c static ssize_t edac_dev_block_show(struct kobject *kobj,
kobj              454 drivers/edac/edac_device_sysfs.c 		return block_attr->show(kobj, attr, buffer);
kobj              459 drivers/edac/edac_device_sysfs.c static ssize_t edac_dev_block_store(struct kobject *kobj,
kobj              468 drivers/edac/edac_device_sysfs.c 		return block_attr->store(kobj, attr, buffer, count);
kobj              519 drivers/edac/edac_device_sysfs.c 		 &block->kobj, &block->kobj.parent);
kobj              522 drivers/edac/edac_device_sysfs.c 	memset(&block->kobj, 0, sizeof(struct kobject));
kobj              527 drivers/edac/edac_device_sysfs.c 	main_kobj = kobject_get(&edac_dev->kobj);
kobj              534 drivers/edac/edac_device_sysfs.c 	err = kobject_init_and_add(&block->kobj, &ktype_block_ctrl,
kobj              535 drivers/edac/edac_device_sysfs.c 				   &instance->kobj,
kobj              553 drivers/edac/edac_device_sysfs.c 				 sysfs_attrib, &block->kobj);
kobj              556 drivers/edac/edac_device_sysfs.c 			err = sysfs_create_file(&block->kobj,
kobj              562 drivers/edac/edac_device_sysfs.c 	kobject_uevent(&block->kobj, KOBJ_ADD);
kobj              568 drivers/edac/edac_device_sysfs.c 	kobject_put(&block->kobj);
kobj              591 drivers/edac/edac_device_sysfs.c 			sysfs_remove_file(&block->kobj,
kobj              599 drivers/edac/edac_device_sysfs.c 	kobject_put(&block->kobj);
kobj              619 drivers/edac/edac_device_sysfs.c 	memset(&instance->kobj, 0, sizeof(struct kobject));
kobj              626 drivers/edac/edac_device_sysfs.c 	main_kobj = kobject_get(&edac_dev->kobj);
kobj              633 drivers/edac/edac_device_sysfs.c 	err = kobject_init_and_add(&instance->kobj, &ktype_instance_ctrl,
kobj              634 drivers/edac/edac_device_sysfs.c 				   &edac_dev->kobj, "%s", instance->name);
kobj              657 drivers/edac/edac_device_sysfs.c 	kobject_uevent(&instance->kobj, KOBJ_ADD);
kobj              666 drivers/edac/edac_device_sysfs.c 	kobject_put(&instance->kobj);
kobj              691 drivers/edac/edac_device_sysfs.c 	kobject_put(&instance->kobj);
kobj              751 drivers/edac/edac_device_sysfs.c 			err = sysfs_create_file(&edac_dev->kobj,
kobj              780 drivers/edac/edac_device_sysfs.c 			sysfs_remove_file(&edac_dev->kobj,
kobj              804 drivers/edac/edac_device_sysfs.c 	struct kobject *edac_kobj = &edac_dev->kobj;
kobj              819 drivers/edac/edac_device_sysfs.c 				&edac_dev->dev->kobj, EDAC_DEVICE_SYMLINK);
kobj              844 drivers/edac/edac_device_sysfs.c 	sysfs_remove_link(&edac_dev->kobj, EDAC_DEVICE_SYMLINK);
kobj              866 drivers/edac/edac_device_sysfs.c 	sysfs_remove_link(&edac_dev->kobj, EDAC_DEVICE_SYMLINK);
kobj              352 drivers/edac/edac_mc_sysfs.c static umode_t csrow_dev_is_visible(struct kobject *kobj,
kobj              355 drivers/edac/edac_mc_sysfs.c 	struct device *dev = kobj_to_dev(kobj);
kobj              874 drivers/edac/edac_mc_sysfs.c static umode_t mci_attr_is_visible(struct kobject *kobj,
kobj              877 drivers/edac/edac_mc_sysfs.c 	struct device *dev = kobj_to_dev(kobj);
kobj               92 drivers/edac/edac_pci.h 	struct kobject kobj;
kobj               70 drivers/edac/edac_pci_sysfs.c #define to_instance(k) container_of(k, struct edac_pci_ctl_info, kobj)
kobj               74 drivers/edac/edac_pci_sysfs.c static void edac_pci_instance_release(struct kobject *kobj)
kobj               81 drivers/edac/edac_pci_sysfs.c 	pci = to_instance(kobj);
kobj               97 drivers/edac/edac_pci_sysfs.c static ssize_t edac_pci_instance_show(struct kobject *kobj,
kobj              100 drivers/edac/edac_pci_sysfs.c 	struct edac_pci_ctl_info *pci = to_instance(kobj);
kobj              109 drivers/edac/edac_pci_sysfs.c static ssize_t edac_pci_instance_store(struct kobject *kobj,
kobj              113 drivers/edac/edac_pci_sysfs.c 	struct edac_pci_ctl_info *pci = to_instance(kobj);
kobj              174 drivers/edac/edac_pci_sysfs.c 	err = kobject_init_and_add(&pci->kobj, &ktype_pci_instance,
kobj              182 drivers/edac/edac_pci_sysfs.c 	kobject_uevent(&pci->kobj, KOBJ_ADD);
kobj              206 drivers/edac/edac_pci_sysfs.c 	kobject_put(&pci->kobj);
kobj              210 drivers/edac/edac_pci_sysfs.c #define to_edacpci(k) container_of(k, struct edac_pci_ctl_info, kobj)
kobj              238 drivers/edac/edac_pci_sysfs.c static ssize_t edac_pci_dev_show(struct kobject *kobj, struct attribute *attr,
kobj              249 drivers/edac/edac_pci_sysfs.c static ssize_t edac_pci_dev_store(struct kobject *kobj,
kobj              314 drivers/edac/edac_pci_sysfs.c static void edac_pci_release_main_kobj(struct kobject *kobj)
kobj              318 drivers/edac/edac_pci_sysfs.c 	kfree(kobj);
kobj              372 drivers/edac/edac_pci_sysfs.c 				   &edac_subsys->dev_root->kobj, "pci");
kobj              424 drivers/edac/edac_pci_sysfs.c 	struct kobject *edac_kobj = &pci->kobj;
kobj              438 drivers/edac/edac_pci_sysfs.c 	err = sysfs_create_link(edac_kobj, &pci->dev->kobj, EDAC_PCI_SYMLINK);
kobj              461 drivers/edac/edac_pci_sysfs.c 	sysfs_remove_link(&pci->kobj, EDAC_PCI_SYMLINK);
kobj             1428 drivers/edac/thunderx_edac.c 		ocx->debugfs = edac_debugfs_create_dir(pdev->dev.kobj.name);
kobj             2058 drivers/edac/thunderx_edac.c 		l2c->debugfs = edac_debugfs_create_dir(pdev->dev.kobj.name);
kobj             1939 drivers/edac/xgene_edac.c 	edac->dfs = edac_debugfs_create_dir(pdev->dev.kobj.name);
kobj              451 drivers/extcon/extcon.c 		kobject_uevent(&edev->dev.kobj, KOBJ_CHANGE);
kobj              475 drivers/extcon/extcon.c 	kobject_uevent_env(&edev->dev.kobj, KOBJ_CHANGE, envp);
kobj             1166 drivers/firewire/core-device.c 	kobject_uevent(&device->device.kobj, KOBJ_CHANGE);
kobj               36 drivers/firmware/dmi-sysfs.c 	struct kobject kobj;
kobj               83 drivers/firmware/dmi-sysfs.c static void dmi_entry_free(struct kobject *kobj)
kobj               85 drivers/firmware/dmi-sysfs.c 	kfree(kobj);
kobj               88 drivers/firmware/dmi-sysfs.c static struct dmi_sysfs_entry *to_entry(struct kobject *kobj)
kobj               90 drivers/firmware/dmi-sysfs.c 	return container_of(kobj, struct dmi_sysfs_entry, kobj);
kobj               98 drivers/firmware/dmi-sysfs.c static ssize_t dmi_sysfs_attr_show(struct kobject *kobj,
kobj              101 drivers/firmware/dmi-sysfs.c 	struct dmi_sysfs_entry *entry = to_entry(kobj);
kobj              215 drivers/firmware/dmi-sysfs.c static ssize_t dmi_entry_attr_show(struct kobject *kobj,
kobj              225 drivers/firmware/dmi-sysfs.c 	return find_dmi_entry(to_entry(kobj->parent),
kobj              430 drivers/firmware/dmi-sysfs.c static ssize_t dmi_sel_raw_read(struct file *filp, struct kobject *kobj,
kobj              434 drivers/firmware/dmi-sysfs.c 	struct dmi_sysfs_entry *entry = to_entry(kobj->parent);
kobj              458 drivers/firmware/dmi-sysfs.c 				   &entry->kobj,
kobj              536 drivers/firmware/dmi-sysfs.c 				  struct kobject *kobj,
kobj              540 drivers/firmware/dmi-sysfs.c 	struct dmi_sysfs_entry *entry = to_entry(kobj);
kobj              555 drivers/firmware/dmi-sysfs.c static void dmi_sysfs_entry_release(struct kobject *kobj)
kobj              557 drivers/firmware/dmi-sysfs.c 	struct dmi_sysfs_entry *entry = to_entry(kobj);
kobj              601 drivers/firmware/dmi-sysfs.c 	entry->kobj.kset = dmi_kset;
kobj              602 drivers/firmware/dmi-sysfs.c 	*ret = kobject_init_and_add(&entry->kobj, &dmi_sysfs_entry_ktype, NULL,
kobj              628 drivers/firmware/dmi-sysfs.c 	*ret = sysfs_create_bin_file(&entry->kobj, &dmi_entry_raw_attr);
kobj              635 drivers/firmware/dmi-sysfs.c 	kobject_put(&entry->kobj);
kobj              646 drivers/firmware/dmi-sysfs.c 		kobject_put(&entry->kobj);
kobj              706 drivers/firmware/dmi_scan.c static ssize_t raw_table_read(struct file *file, struct kobject *kobj,
kobj               51 drivers/firmware/edd.c 	struct kobject kobj;
kobj              102 drivers/firmware/edd.c #define to_edd_device(obj) container_of(obj,struct edd_device,kobj)
kobj              105 drivers/firmware/edd.c edd_attr_show(struct kobject * kobj, struct attribute *attr, char *buf)
kobj              107 drivers/firmware/edd.c 	struct edd_device *dev = to_edd_device(kobj);
kobj              613 drivers/firmware/edd.c static void edd_release(struct kobject * kobj)
kobj              615 drivers/firmware/edd.c 	struct edd_device * dev = to_edd_device(kobj);
kobj              679 drivers/firmware/edd.c 	ret = sysfs_create_link(&edev->kobj,&pci_dev->dev.kobj,"pci_dev");
kobj              687 drivers/firmware/edd.c 	kobject_put(&edev->kobj);
kobj              699 drivers/firmware/edd.c 			error = sysfs_create_file(&edev->kobj,&attr->attr);
kobj              715 drivers/firmware/edd.c 	edev->kobj.kset = edd_kset;
kobj              716 drivers/firmware/edd.c 	error = kobject_init_and_add(&edev->kobj, &edd_ktype, NULL,
kobj              720 drivers/firmware/edd.c 		kobject_uevent(&edev->kobj, KOBJ_ADD);
kobj              109 drivers/firmware/efi/efi.c static ssize_t systab_show(struct kobject *kobj,
kobj              114 drivers/firmware/efi/efi.c 	if (!kobj || !buf)
kobj              147 drivers/firmware/efi/efi.c static ssize_t name##_show(struct kobject *kobj, \
kobj              157 drivers/firmware/efi/efi.c static ssize_t fw_platform_size_show(struct kobject *kobj,
kobj              178 drivers/firmware/efi/efi.c static umode_t efi_attr_is_visible(struct kobject *kobj,
kobj               58 drivers/firmware/efi/efivars.c #define to_efivar_entry(obj)  container_of(obj, struct efivar_entry, kobj)
kobj              300 drivers/firmware/efi/efivars.c static ssize_t efivar_attr_show(struct kobject *kobj, struct attribute *attr,
kobj              303 drivers/firmware/efi/efivars.c 	struct efivar_entry *var = to_efivar_entry(kobj);
kobj              316 drivers/firmware/efi/efivars.c static ssize_t efivar_attr_store(struct kobject *kobj, struct attribute *attr,
kobj              319 drivers/firmware/efi/efivars.c 	struct efivar_entry *var = to_efivar_entry(kobj);
kobj              337 drivers/firmware/efi/efivars.c static void efivar_release(struct kobject *kobj)
kobj              339 drivers/firmware/efi/efivars.c 	struct efivar_entry *var = to_efivar_entry(kobj);
kobj              364 drivers/firmware/efi/efivars.c static ssize_t efivar_create(struct file *filp, struct kobject *kobj,
kobj              434 drivers/firmware/efi/efivars.c static ssize_t efivar_delete(struct file *filp, struct kobject *kobj,
kobj              520 drivers/firmware/efi/efivars.c 	new_var->kobj.kset = efivars_kset;
kobj              522 drivers/firmware/efi/efivars.c 	ret = kobject_init_and_add(&new_var->kobj, &efivar_ktype,
kobj              526 drivers/firmware/efi/efivars.c 		kobject_put(&new_var->kobj);
kobj              530 drivers/firmware/efi/efivars.c 	kobject_uevent(&new_var->kobj, KOBJ_ADD);
kobj              570 drivers/firmware/efi/efivars.c 	error = sysfs_create_bin_file(&efivars_kset->kobj, efivars_new_var);
kobj              577 drivers/firmware/efi/efivars.c 	error = sysfs_create_bin_file(&efivars_kset->kobj, efivars_del_var);
kobj              581 drivers/firmware/efi/efivars.c 		sysfs_remove_bin_file(&efivars_kset->kobj, efivars_new_var);
kobj              670 drivers/firmware/efi/efivars.c 		sysfs_remove_bin_file(&efivars_kset->kobj, efivars_new_var);
kobj              672 drivers/firmware/efi/efivars.c 		sysfs_remove_bin_file(&efivars_kset->kobj, efivars_del_var);
kobj               67 drivers/firmware/efi/esrt.c 	struct kobject kobj;
kobj               82 drivers/firmware/efi/esrt.c static struct esre_entry *to_entry(struct kobject *kobj)
kobj               84 drivers/firmware/efi/esrt.c 	return container_of(kobj, struct esre_entry, kobj);
kobj               92 drivers/firmware/efi/esrt.c static ssize_t esre_attr_show(struct kobject *kobj,
kobj               95 drivers/firmware/efi/esrt.c 	struct esre_entry *entry = to_entry(kobj);
kobj              149 drivers/firmware/efi/esrt.c static void esre_release(struct kobject *kobj)
kobj              151 drivers/firmware/efi/esrt.c 	struct esre_entry *entry = to_entry(kobj);
kobj              175 drivers/firmware/efi/esrt.c 	entry->kobj.kset = esrt_kset;
kobj              181 drivers/firmware/efi/esrt.c 		rc = kobject_init_and_add(&entry->kobj, &esre1_ktype, NULL,
kobj              195 drivers/firmware/efi/esrt.c static ssize_t name##_show(struct kobject *kobj, \
kobj              223 drivers/firmware/efi/esrt.c static umode_t esrt_attr_is_visible(struct kobject *kobj,
kobj              372 drivers/firmware/efi/esrt.c 		kobject_put(&entry->kobj);
kobj               43 drivers/firmware/efi/rci2-table.c static ssize_t raw_table_read(struct file *file, struct kobject *kobj,
kobj               18 drivers/firmware/efi/runtime-map.c 	struct kobject kobj;   /* kobject for each entry */
kobj               51 drivers/firmware/efi/runtime-map.c static inline struct efi_runtime_map_entry *to_map_entry(struct kobject *kobj)
kobj               53 drivers/firmware/efi/runtime-map.c 	return container_of(kobj, struct efi_runtime_map_entry, kobj);
kobj               56 drivers/firmware/efi/runtime-map.c static ssize_t map_attr_show(struct kobject *kobj, struct attribute *attr,
kobj               59 drivers/firmware/efi/runtime-map.c 	struct efi_runtime_map_entry *entry = to_map_entry(kobj);
kobj               87 drivers/firmware/efi/runtime-map.c static void map_release(struct kobject *kobj)
kobj               91 drivers/firmware/efi/runtime-map.c 	entry = to_map_entry(kobj);
kobj              104 drivers/firmware/efi/runtime-map.c add_sysfs_runtime_map_entry(struct kobject *kobj, int nr,
kobj              111 drivers/firmware/efi/runtime-map.c 		map_kset = kset_create_and_add("runtime-map", NULL, kobj);
kobj              125 drivers/firmware/efi/runtime-map.c 	kobject_init(&entry->kobj, &map_ktype);
kobj              126 drivers/firmware/efi/runtime-map.c 	entry->kobj.kset = map_kset;
kobj              127 drivers/firmware/efi/runtime-map.c 	ret = kobject_add(&entry->kobj, NULL, "%d", nr);
kobj              129 drivers/firmware/efi/runtime-map.c 		kobject_put(&entry->kobj);
kobj              188 drivers/firmware/efi/runtime-map.c 		kobject_put(&entry->kobj);
kobj              487 drivers/firmware/google/gsmi.c static ssize_t eventlog_write(struct file *filp, struct kobject *kobj,
kobj              533 drivers/firmware/google/gsmi.c static ssize_t gsmi_clear_eventlog_store(struct kobject *kobj,
kobj              580 drivers/firmware/google/gsmi.c static ssize_t gsmi_clear_config_store(struct kobject *kobj,
kobj               42 drivers/firmware/google/vpd.c 	struct kobject *kobj;          /* vpd/name directory */
kobj              131 drivers/firmware/google/vpd.c 	ret = sysfs_create_bin_file(sec->kobj, &info->bin_attr);
kobj              152 drivers/firmware/google/vpd.c 		sysfs_remove_bin_file(sec->kobj, &info->bin_attr);
kobj              211 drivers/firmware/google/vpd.c 	sec->kobj = kobject_create_and_add(name, vpd_kobj);
kobj              212 drivers/firmware/google/vpd.c 	if (!sec->kobj) {
kobj              237 drivers/firmware/google/vpd.c 		kobject_put(sec->kobj);
kobj              722 drivers/firmware/iscsi_ibft.c 			rc = sysfs_create_link(&boot_kobj->kobj,
kobj              723 drivers/firmware/iscsi_ibft.c 					       &pci_dev->dev.kobj, "device");
kobj              803 drivers/firmware/iscsi_ibft.c 			sysfs_remove_link(&boot_kobj->kobj, "device");
kobj               35 drivers/firmware/memmap.c 	struct kobject		kobj;   /* kobject for each entry */
kobj               41 drivers/firmware/memmap.c static ssize_t memmap_attr_show(struct kobject *kobj,
kobj               92 drivers/firmware/memmap.c to_memmap_entry(struct kobject *kobj)
kobj               94 drivers/firmware/memmap.c 	return container_of(kobj, struct firmware_map_entry, kobj);
kobj               97 drivers/firmware/memmap.c static void __meminit release_firmware_map_entry(struct kobject *kobj)
kobj               99 drivers/firmware/memmap.c 	struct firmware_map_entry *entry = to_memmap_entry(kobj);
kobj              151 drivers/firmware/memmap.c 	kobject_init(&entry->kobj, &memmap_ktype);
kobj              180 drivers/firmware/memmap.c 	if (entry->kobj.state_in_sysfs)
kobj              189 drivers/firmware/memmap.c 	entry->kobj.kset = mmap_kset;
kobj              190 drivers/firmware/memmap.c 	if (kobject_add(&entry->kobj, NULL, "%d", map_entries_nr++))
kobj              191 drivers/firmware/memmap.c 		kobject_put(&entry->kobj);
kobj              201 drivers/firmware/memmap.c 	kobject_put(&entry->kobj);
kobj              391 drivers/firmware/memmap.c static ssize_t memmap_attr_show(struct kobject *kobj,
kobj              394 drivers/firmware/memmap.c 	struct firmware_map_entry *entry = to_memmap_entry(kobj);
kobj              292 drivers/firmware/meson/meson_sm.c 	if (sysfs_create_group(&pdev->dev.kobj, &meson_sm_sysfs_attr_group))
kobj              314 drivers/firmware/qemu_fw_cfg.c 	struct kobject kobj;
kobj              348 drivers/firmware/qemu_fw_cfg.c static inline struct fw_cfg_sysfs_entry *to_entry(struct kobject *kobj)
kobj              350 drivers/firmware/qemu_fw_cfg.c 	return container_of(kobj, struct fw_cfg_sysfs_entry, kobj);
kobj              393 drivers/firmware/qemu_fw_cfg.c 		kobject_put(&entry->kobj);
kobj              432 drivers/firmware/qemu_fw_cfg.c static ssize_t fw_cfg_sysfs_attr_show(struct kobject *kobj, struct attribute *a,
kobj              435 drivers/firmware/qemu_fw_cfg.c 	struct fw_cfg_sysfs_entry *entry = to_entry(kobj);
kobj              446 drivers/firmware/qemu_fw_cfg.c static void fw_cfg_sysfs_release_entry(struct kobject *kobj)
kobj              448 drivers/firmware/qemu_fw_cfg.c 	struct fw_cfg_sysfs_entry *entry = to_entry(kobj);
kobj              462 drivers/firmware/qemu_fw_cfg.c static ssize_t fw_cfg_sysfs_read_raw(struct file *filp, struct kobject *kobj,
kobj              466 drivers/firmware/qemu_fw_cfg.c 	struct fw_cfg_sysfs_entry *entry = to_entry(kobj);
kobj              513 drivers/firmware/qemu_fw_cfg.c 			ret = sysfs_create_link(&dir->kobj, target, tok);
kobj              524 drivers/firmware/qemu_fw_cfg.c 			if (ko->ktype != dir->kobj.ktype) {
kobj              538 drivers/firmware/qemu_fw_cfg.c 			subdir->kobj.kset = dir;
kobj              539 drivers/firmware/qemu_fw_cfg.c 			subdir->kobj.ktype = dir->kobj.ktype;
kobj              540 drivers/firmware/qemu_fw_cfg.c 			ret = kobject_set_name(&subdir->kobj, "%s", tok);
kobj              568 drivers/firmware/qemu_fw_cfg.c 		if (k->ktype == kset->kobj.ktype)
kobj              606 drivers/firmware/qemu_fw_cfg.c 	err = kobject_init_and_add(&entry->kobj, &fw_cfg_sysfs_entry_ktype,
kobj              612 drivers/firmware/qemu_fw_cfg.c 	err = sysfs_create_bin_file(&entry->kobj, &fw_cfg_sysfs_attr_raw);
kobj              617 drivers/firmware/qemu_fw_cfg.c 	fw_cfg_build_symlink(fw_cfg_fname_kset, &entry->kobj, entry->name);
kobj              624 drivers/firmware/qemu_fw_cfg.c 	kobject_del(&entry->kobj);
kobj              668 drivers/firmware/qemu_fw_cfg.c static inline void fw_cfg_kobj_cleanup(struct kobject *kobj)
kobj              670 drivers/firmware/qemu_fw_cfg.c 	kobject_del(kobj);
kobj              671 drivers/firmware/qemu_fw_cfg.c 	kobject_put(kobj);
kobj               52 drivers/firmware/turris-mox-rwtm.c 	struct mox_kobject *kobj;
kobj               75 drivers/firmware/turris-mox-rwtm.c 	struct kobject kobj;
kobj               81 drivers/firmware/turris-mox-rwtm.c 	return &rwtm->kobj->kobj;
kobj               84 drivers/firmware/turris-mox-rwtm.c static inline struct mox_rwtm *to_rwtm(struct kobject *kobj)
kobj               86 drivers/firmware/turris-mox-rwtm.c 	return container_of(kobj, struct mox_kobject, kobj)->rwtm;
kobj               89 drivers/firmware/turris-mox-rwtm.c static void mox_kobj_release(struct kobject *kobj)
kobj               91 drivers/firmware/turris-mox-rwtm.c 	kfree(to_rwtm(kobj)->kobj);
kobj              101 drivers/firmware/turris-mox-rwtm.c 	rwtm->kobj = kzalloc(sizeof(*rwtm->kobj), GFP_KERNEL);
kobj              102 drivers/firmware/turris-mox-rwtm.c 	if (!rwtm->kobj)
kobj              111 drivers/firmware/turris-mox-rwtm.c 	rwtm->kobj->rwtm = rwtm;
kobj              118 drivers/firmware/turris-mox-rwtm.c name##_show(struct kobject *kobj, struct kobj_attribute *a,	\
kobj              121 drivers/firmware/turris-mox-rwtm.c 	struct mox_rwtm *rwtm = to_rwtm(kobj);	\
kobj              187 drivers/fpga/dfl-afu-error.c static umode_t port_err_attrs_visible(struct kobject *kobj,
kobj              190 drivers/fpga/dfl-afu-error.c 	struct device *dev = kobj_to_dev(kobj);
kobj              373 drivers/fpga/dfl-afu-main.c static umode_t port_hdr_attrs_visible(struct kobject *kobj,
kobj              376 drivers/fpga/dfl-afu-main.c 	struct device *dev = kobj_to_dev(kobj);
kobj              470 drivers/fpga/dfl-afu-main.c static umode_t port_afu_attrs_visible(struct kobject *kobj,
kobj              473 drivers/fpga/dfl-afu-main.c 	struct device *dev = kobj_to_dev(kobj);
kobj              293 drivers/fpga/dfl-fme-error.c static umode_t fme_global_err_attrs_visible(struct kobject *kobj,
kobj              296 drivers/fpga/dfl-fme-error.c 	struct device *dev = kobj_to_dev(kobj);
kobj              401 drivers/fpga/dfl.c 	pdata->cdev.kobj.parent = &pdev->dev.kobj;
kobj              573 drivers/fsi/fsi-core.c 		struct kobject *kobj, struct bin_attribute *attr, char *buf,
kobj              576 drivers/fsi/fsi-core.c 	struct fsi_slave *slave = to_fsi_slave(kobj_to_dev(kobj));
kobj              600 drivers/fsi/fsi-core.c 		struct kobject *kobj, struct bin_attribute *attr,
kobj              603 drivers/fsi/fsi-core.c 	struct fsi_slave *slave = to_fsi_slave(kobj_to_dev(kobj));
kobj              175 drivers/gpio/gpiolib-sysfs.c 	data->value_kn = sysfs_get_dirent(dev->kobj.sd, "value");
kobj              365 drivers/gpio/gpiolib-sysfs.c static umode_t gpio_is_visible(struct kobject *kobj, struct attribute *attr,
kobj              368 drivers/gpio/gpiolib-sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              684 drivers/gpio/gpiolib-sysfs.c 	ret = sysfs_create_link(&dev->kobj, &cdev->kobj, name);
kobj             2291 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c static umode_t hwmon_attributes_visible(struct kobject *kobj,
kobj             2294 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct device *dev = kobj_to_dev(kobj);
kobj              754 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 		struct kobject *kobj, struct bin_attribute *attr,
kobj              832 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 	return sysfs_create_group(&adev->dev->kobj, &group);
kobj              852 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 	sysfs_remove_group(&adev->dev->kobj, &group);
kobj              880 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 	if (sysfs_add_file_to_group(&adev->dev->kobj,
kobj              900 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 	sysfs_remove_file_from_group(&adev->dev->kobj,
kobj              436 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 	return sysfs_create_group(&adev->dev->kobj, &fw_attr_group);
kobj              441 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 	sysfs_remove_group(&adev->dev->kobj, &fw_attr_group);
kobj               85 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 	if (WARN_ON(hive->kobj))
kobj               88 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 	hive->kobj = kobject_create_and_add("xgmi_hive_info", &adev->dev->kobj);
kobj               89 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 	if (!hive->kobj) {
kobj              103 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 	ret = sysfs_create_file(hive->kobj, &hive->dev_attr.attr);
kobj              106 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 		kobject_del(hive->kobj);
kobj              107 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 		kobject_put(hive->kobj);
kobj              108 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 		hive->kobj = NULL;
kobj              117 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 	sysfs_remove_file(hive->kobj, &hive->dev_attr.attr);
kobj              118 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 	kobject_del(hive->kobj);
kobj              119 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 	kobject_put(hive->kobj);
kobj              120 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 	hive->kobj = NULL;
kobj              187 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 		ret = sysfs_create_link(&adev->dev->kobj, hive->kobj,
kobj              197 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 	ret = sysfs_create_link(hive->kobj, &adev->dev->kobj, node);
kobj              207 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 	sysfs_remove_link(&adev->dev->kobj, adev->ddev->unique);
kobj              220 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 	sysfs_remove_link(&adev->dev->kobj, adev->ddev->unique);
kobj              221 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 	sysfs_remove_link(hive->kobj, adev->ddev->unique);
kobj               32 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h 	struct kobject *kobj;
kobj              412 drivers/gpu/drm/amd/amdkfd/kfd_crat.c 		props2->kobj = NULL;
kobj              733 drivers/gpu/drm/amd/amdkfd/kfd_priv.h 	struct kobject *kobj;
kobj               72 drivers/gpu/drm/amd/amdkfd/kfd_process.c 	struct kobject *kobj;
kobj               77 drivers/gpu/drm/amd/amdkfd/kfd_process.c static ssize_t kfd_procfs_show(struct kobject *kobj, struct attribute *attr,
kobj               94 drivers/gpu/drm/amd/amdkfd/kfd_process.c static void kfd_procfs_kobj_release(struct kobject *kobj)
kobj               96 drivers/gpu/drm/amd/amdkfd/kfd_process.c 	kfree(kobj);
kobj              112 drivers/gpu/drm/amd/amdkfd/kfd_process.c 	procfs.kobj = kfd_alloc_struct(procfs.kobj);
kobj              113 drivers/gpu/drm/amd/amdkfd/kfd_process.c 	if (!procfs.kobj)
kobj              116 drivers/gpu/drm/amd/amdkfd/kfd_process.c 	ret = kobject_init_and_add(procfs.kobj, &procfs_type,
kobj              117 drivers/gpu/drm/amd/amdkfd/kfd_process.c 				   &kfd_device->kobj, "proc");
kobj              127 drivers/gpu/drm/amd/amdkfd/kfd_process.c 	if (procfs.kobj) {
kobj              128 drivers/gpu/drm/amd/amdkfd/kfd_process.c 		kobject_del(procfs.kobj);
kobj              129 drivers/gpu/drm/amd/amdkfd/kfd_process.c 		kobject_put(procfs.kobj);
kobj              130 drivers/gpu/drm/amd/amdkfd/kfd_process.c 		procfs.kobj = NULL;
kobj              302 drivers/gpu/drm/amd/amdkfd/kfd_process.c 		if (!procfs.kobj)
kobj              305 drivers/gpu/drm/amd/amdkfd/kfd_process.c 		process->kobj = kfd_alloc_struct(process->kobj);
kobj              306 drivers/gpu/drm/amd/amdkfd/kfd_process.c 		if (!process->kobj) {
kobj              310 drivers/gpu/drm/amd/amdkfd/kfd_process.c 		ret = kobject_init_and_add(process->kobj, &procfs_type,
kobj              311 drivers/gpu/drm/amd/amdkfd/kfd_process.c 					   procfs.kobj, "%d",
kobj              321 drivers/gpu/drm/amd/amdkfd/kfd_process.c 		ret = sysfs_create_file(process->kobj, &process->attr_pasid);
kobj              455 drivers/gpu/drm/amd/amdkfd/kfd_process.c 	if (p->kobj) {
kobj              456 drivers/gpu/drm/amd/amdkfd/kfd_process.c 		sysfs_remove_file(p->kobj, &p->attr_pasid);
kobj              457 drivers/gpu/drm/amd/amdkfd/kfd_process.c 		kobject_del(p->kobj);
kobj              458 drivers/gpu/drm/amd/amdkfd/kfd_process.c 		kobject_put(p->kobj);
kobj              459 drivers/gpu/drm/amd/amdkfd/kfd_process.c 		p->kobj = NULL;
kobj              224 drivers/gpu/drm/amd/amdkfd/kfd_topology.c static ssize_t sysprops_show(struct kobject *kobj, struct attribute *attr,
kobj              248 drivers/gpu/drm/amd/amdkfd/kfd_topology.c static void kfd_topology_kobj_release(struct kobject *kobj)
kobj              250 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 	kfree(kobj);
kobj              262 drivers/gpu/drm/amd/amdkfd/kfd_topology.c static ssize_t iolink_show(struct kobject *kobj, struct attribute *attr,
kobj              298 drivers/gpu/drm/amd/amdkfd/kfd_topology.c static ssize_t mem_show(struct kobject *kobj, struct attribute *attr,
kobj              326 drivers/gpu/drm/amd/amdkfd/kfd_topology.c static ssize_t kfd_cache_show(struct kobject *kobj, struct attribute *attr,
kobj              379 drivers/gpu/drm/amd/amdkfd/kfd_topology.c static ssize_t perf_show(struct kobject *kobj, struct kobj_attribute *attrs,
kobj              405 drivers/gpu/drm/amd/amdkfd/kfd_topology.c static ssize_t node_show(struct kobject *kobj, struct attribute *attr,
kobj              523 drivers/gpu/drm/amd/amdkfd/kfd_topology.c static void kfd_remove_sysfs_file(struct kobject *kobj, struct attribute *attr)
kobj              525 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 	sysfs_remove_file(kobj, attr);
kobj              526 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 	kobject_del(kobj);
kobj              527 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 	kobject_put(kobj);
kobj              539 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 			if (iolink->kobj) {
kobj              540 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 				kfd_remove_sysfs_file(iolink->kobj,
kobj              542 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 				iolink->kobj = NULL;
kobj              551 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 			if (cache->kobj) {
kobj              552 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 				kfd_remove_sysfs_file(cache->kobj,
kobj              554 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 				cache->kobj = NULL;
kobj              563 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 			if (mem->kobj) {
kobj              564 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 				kfd_remove_sysfs_file(mem->kobj, &mem->attr);
kobj              565 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 				mem->kobj = NULL;
kobj              658 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 		mem->kobj = kzalloc(sizeof(struct kobject), GFP_KERNEL);
kobj              659 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 		if (!mem->kobj)
kobj              661 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 		ret = kobject_init_and_add(mem->kobj, &mem_type,
kobj              669 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 		ret = sysfs_create_file(mem->kobj, &mem->attr);
kobj              677 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 		cache->kobj = kzalloc(sizeof(struct kobject), GFP_KERNEL);
kobj              678 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 		if (!cache->kobj)
kobj              680 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 		ret = kobject_init_and_add(cache->kobj, &cache_type,
kobj              688 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 		ret = sysfs_create_file(cache->kobj, &cache->attr);
kobj              696 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 		iolink->kobj = kzalloc(sizeof(struct kobject), GFP_KERNEL);
kobj              697 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 		if (!iolink->kobj)
kobj              699 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 		ret = kobject_init_and_add(iolink->kobj, &iolink_type,
kobj              707 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 		ret = sysfs_create_file(iolink->kobj, &iolink->attr);
kobj              780 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 				&sysprops_type,  &kfd_device->kobj,
kobj              105 drivers/gpu/drm/amd/amdkfd/kfd_topology.h 	struct kobject		*kobj;
kobj              126 drivers/gpu/drm/amd/amdkfd/kfd_topology.h 	struct kobject		*kobj;
kobj              144 drivers/gpu/drm/amd/amdkfd/kfd_topology.h 	struct kobject		*kobj;
kobj              262 drivers/gpu/drm/arm/display/komeda/komeda_dev.c 	err = sysfs_create_group(&dev->kobj, &komeda_sysfs_attr_group);
kobj              285 drivers/gpu/drm/arm/display/komeda/komeda_dev.c 	sysfs_remove_group(&dev->kobj, &komeda_sysfs_attr_group);
kobj             1595 drivers/gpu/drm/drm_dp_mst_topology.c 		      port->aux.name, connector->kdev->kobj.name);
kobj             1615 drivers/gpu/drm/drm_dp_mst_topology.c 		      port->aux.name, connector->kdev->kobj.name);
kobj              910 drivers/gpu/drm/drm_drv.c 	ret = sysfs_create_link(minor->kdev->kobj.parent,
kobj              911 drivers/gpu/drm/drm_drv.c 				&minor->kdev->kobj,
kobj              935 drivers/gpu/drm/drm_drv.c 	sysfs_remove_link(minor->kdev->kobj.parent, name);
kobj              190 drivers/gpu/drm/drm_sysfs.c static ssize_t edid_show(struct file *filp, struct kobject *kobj,
kobj              194 drivers/gpu/drm/drm_sysfs.c 	struct device *connector_dev = kobj_to_dev(kobj);
kobj              300 drivers/gpu/drm/drm_sysfs.c 		return sysfs_create_link(&connector->kdev->kobj,
kobj              301 drivers/gpu/drm/drm_sysfs.c 				 &connector->ddc->dev.kobj, "ddc");
kobj              311 drivers/gpu/drm/drm_sysfs.c 		sysfs_remove_link(&connector->kdev->kobj, "ddc");
kobj              327 drivers/gpu/drm/drm_sysfs.c 	kobject_uevent_env(&dev->primary->kdev->kobj, KOBJ_CHANGE, envp);
kobj              348 drivers/gpu/drm/drm_sysfs.c 	kobject_uevent_env(&dev->primary->kdev->kobj, KOBJ_CHANGE, envp);
kobj              379 drivers/gpu/drm/drm_sysfs.c 	kobject_uevent_env(&dev->primary->kdev->kobj, KOBJ_CHANGE, envp);
kobj             5519 drivers/gpu/drm/i915/display/intel_dp.c 		      intel_dp->aux.name, connector->kdev->kobj.name);
kobj             2724 drivers/gpu/drm/i915/display/intel_hdmi.c 	struct kobject *i2c_kobj = &adapter->dev.kobj;
kobj             2725 drivers/gpu/drm/i915/display/intel_hdmi.c 	struct kobject *connector_kobj = &connector->kdev->kobj;
kobj             2736 drivers/gpu/drm/i915/display/intel_hdmi.c 	struct kobject *i2c_kobj = &adapter->dev.kobj;
kobj             2737 drivers/gpu/drm/i915/display/intel_hdmi.c 	struct kobject *connector_kobj = &connector->kdev->kobj;
kobj             2389 drivers/gpu/drm/i915/display/intel_sdvo.c 	return sysfs_create_link(&connector->kdev->kobj,
kobj             2390 drivers/gpu/drm/i915/display/intel_sdvo.c 				 &sdvo->ddc.dev.kobj,
kobj             2391 drivers/gpu/drm/i915/display/intel_sdvo.c 				 sdvo->ddc.dev.kobj.name);
kobj             2399 drivers/gpu/drm/i915/display/intel_sdvo.c 	sysfs_remove_link(&connector->kdev->kobj,
kobj             2400 drivers/gpu/drm/i915/display/intel_sdvo.c 			  sdvo->ddc.dev.kobj.name);
kobj             1084 drivers/gpu/drm/i915/gt/intel_reset.c 	struct kobject *kobj = &gt->i915->drm.primary->kdev->kobj;
kobj             1090 drivers/gpu/drm/i915/gt/intel_reset.c 	kobject_uevent_env(kobj, KOBJ_CHANGE, error_event);
kobj             1093 drivers/gpu/drm/i915/gt/intel_reset.c 	kobject_uevent_env(kobj, KOBJ_CHANGE, reset_event);
kobj             1108 drivers/gpu/drm/i915/gt/intel_reset.c 		kobject_uevent_env(kobj, KOBJ_CHANGE, reset_done_event);
kobj               54 drivers/gpu/drm/i915/gvt/firmware.c gvt_firmware_read(struct file *filp, struct kobject *kobj,
kobj               67 drivers/gpu/drm/i915/gvt/gvt.c static ssize_t available_instances_show(struct kobject *kobj,
kobj               74 drivers/gpu/drm/i915/gvt/gvt.c 	type = intel_gvt_find_vgpu_type(gvt, kobject_name(kobj));
kobj               83 drivers/gpu/drm/i915/gvt/gvt.c static ssize_t device_api_show(struct kobject *kobj, struct device *dev,
kobj               89 drivers/gpu/drm/i915/gvt/gvt.c static ssize_t description_show(struct kobject *kobj, struct device *dev,
kobj               95 drivers/gpu/drm/i915/gvt/gvt.c 	type = intel_gvt_find_vgpu_type(gvt, kobject_name(kobj));
kobj             1240 drivers/gpu/drm/i915/gvt/handlers.c 	struct kobject *kobj = &dev_priv->drm.primary->kdev->kobj;
kobj             1251 drivers/gpu/drm/i915/gvt/handlers.c 	return kobject_uevent_env(kobj, KOBJ_ADD, env);
kobj              646 drivers/gpu/drm/i915/gvt/kvmgt.c static int intel_vgpu_create(struct kobject *kobj, struct mdev_device *mdev)
kobj              657 drivers/gpu/drm/i915/gvt/kvmgt.c 	type = intel_gvt_ops->gvt_find_vgpu_type(gvt, kobject_name(kobj));
kobj              660 drivers/gpu/drm/i915/gvt/kvmgt.c 						kobject_name(kobj));
kobj             1327 drivers/gpu/drm/i915/i915_irq.c 		kobject_uevent_env(&dev_priv->drm.primary->kdev->kobj,
kobj             3046 drivers/gpu/drm/i915/i915_perf.c 				       &dev_priv->drm.primary->kdev->kobj);
kobj              160 drivers/gpu/drm/i915/i915_sysfs.c i915_l3_read(struct file *filp, struct kobject *kobj,
kobj              164 drivers/gpu/drm/i915/i915_sysfs.c 	struct device *kdev = kobj_to_dev(kobj);
kobj              195 drivers/gpu/drm/i915/i915_sysfs.c i915_l3_write(struct file *filp, struct kobject *kobj,
kobj              199 drivers/gpu/drm/i915/i915_sysfs.c 	struct device *kdev = kobj_to_dev(kobj);
kobj              511 drivers/gpu/drm/i915/i915_sysfs.c static ssize_t error_state_read(struct file *filp, struct kobject *kobj,
kobj              516 drivers/gpu/drm/i915/i915_sysfs.c 	struct device *kdev = kobj_to_dev(kobj);
kobj              538 drivers/gpu/drm/i915/i915_sysfs.c static ssize_t error_state_write(struct file *file, struct kobject *kobj,
kobj              542 drivers/gpu/drm/i915/i915_sysfs.c 	struct device *kdev = kobj_to_dev(kobj);
kobj              561 drivers/gpu/drm/i915/i915_sysfs.c 	if (sysfs_create_bin_file(&kdev->kobj, &error_state_attr))
kobj              567 drivers/gpu/drm/i915/i915_sysfs.c 	sysfs_remove_bin_file(&kdev->kobj, &error_state_attr);
kobj              581 drivers/gpu/drm/i915/i915_sysfs.c 		ret = sysfs_merge_group(&kdev->kobj,
kobj              587 drivers/gpu/drm/i915/i915_sysfs.c 		ret = sysfs_merge_group(&kdev->kobj,
kobj              593 drivers/gpu/drm/i915/i915_sysfs.c 		ret = sysfs_merge_group(&kdev->kobj,
kobj              614 drivers/gpu/drm/i915/i915_sysfs.c 		ret = sysfs_create_files(&kdev->kobj, vlv_attrs);
kobj              616 drivers/gpu/drm/i915/i915_sysfs.c 		ret = sysfs_create_files(&kdev->kobj, gen6_attrs);
kobj              630 drivers/gpu/drm/i915/i915_sysfs.c 		sysfs_remove_files(&kdev->kobj, vlv_attrs);
kobj              632 drivers/gpu/drm/i915/i915_sysfs.c 		sysfs_remove_files(&kdev->kobj, gen6_attrs);
kobj              636 drivers/gpu/drm/i915/i915_sysfs.c 	sysfs_unmerge_group(&kdev->kobj, &rc6_attr_group);
kobj              637 drivers/gpu/drm/i915/i915_sysfs.c 	sysfs_unmerge_group(&kdev->kobj, &rc6p_attr_group);
kobj             1322 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 	r = sysfs_create_group(&dev->kobj, &dsicm_attr_group);
kobj             1352 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 	sysfs_remove_group(&pdev->dev.kobj, &dsicm_attr_group);
kobj              368 drivers/gpu/drm/panel/panel-sony-acx565akm.c 		ret = sysfs_create_group(&lcd->backlight->dev.kobj,
kobj              391 drivers/gpu/drm/panel/panel-sony-acx565akm.c 		sysfs_remove_group(&lcd->backlight->dev.kobj,
kobj              455 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c 	ret = sysfs_create_group(&spi->dev.kobj, &td043mtea1_attr_group);
kobj              467 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c 		sysfs_remove_group(&spi->dev.kobj, &td043mtea1_attr_group);
kobj              482 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c 	sysfs_remove_group(&spi->dev.kobj, &td043mtea1_attr_group);
kobj              727 drivers/gpu/drm/radeon/radeon_pm.c static umode_t hwmon_attributes_visible(struct kobject *kobj,
kobj              730 drivers/gpu/drm/radeon/radeon_pm.c 	struct device *dev = kobj_to_dev(kobj);
kobj               46 drivers/gpu/drm/ttm/ttm_bo.c static void ttm_bo_global_kobj_release(struct kobject *kobj);
kobj              115 drivers/gpu/drm/ttm/ttm_bo.c static ssize_t ttm_bo_global_show(struct kobject *kobj,
kobj              120 drivers/gpu/drm/ttm/ttm_bo.c 		container_of(kobj, struct ttm_bo_global, kobj);
kobj             1624 drivers/gpu/drm/ttm/ttm_bo.c static void ttm_bo_global_kobj_release(struct kobject *kobj)
kobj             1627 drivers/gpu/drm/ttm/ttm_bo.c 		container_of(kobj, struct ttm_bo_global, kobj);
kobj             1640 drivers/gpu/drm/ttm/ttm_bo.c 	kobject_del(&glob->kobj);
kobj             1641 drivers/gpu/drm/ttm/ttm_bo.c 	kobject_put(&glob->kobj);
kobj             1678 drivers/gpu/drm/ttm/ttm_bo.c 		&glob->kobj, &ttm_bo_glob_kobj_type, ttm_get_kobj(), "buffer_objects");
kobj             1680 drivers/gpu/drm/ttm/ttm_bo.c 		kobject_put(&glob->kobj);
kobj               48 drivers/gpu/drm/ttm/ttm_memory.c 	struct kobject kobj;
kobj               79 drivers/gpu/drm/ttm/ttm_memory.c static void ttm_mem_zone_kobj_release(struct kobject *kobj)
kobj               82 drivers/gpu/drm/ttm/ttm_memory.c 		container_of(kobj, struct ttm_mem_zone, kobj);
kobj               89 drivers/gpu/drm/ttm/ttm_memory.c static ssize_t ttm_mem_zone_show(struct kobject *kobj,
kobj               94 drivers/gpu/drm/ttm/ttm_memory.c 		container_of(kobj, struct ttm_mem_zone, kobj);
kobj              116 drivers/gpu/drm/ttm/ttm_memory.c static ssize_t ttm_mem_zone_store(struct kobject *kobj,
kobj              122 drivers/gpu/drm/ttm/ttm_memory.c 		container_of(kobj, struct ttm_mem_zone, kobj);
kobj              179 drivers/gpu/drm/ttm/ttm_memory.c static ssize_t ttm_mem_global_show(struct kobject *kobj,
kobj              184 drivers/gpu/drm/ttm/ttm_memory.c 		container_of(kobj, struct ttm_mem_global, kobj);
kobj              196 drivers/gpu/drm/ttm/ttm_memory.c static ssize_t ttm_mem_global_store(struct kobject *kobj,
kobj              205 drivers/gpu/drm/ttm/ttm_memory.c 		container_of(kobj, struct ttm_mem_global, kobj);
kobj              321 drivers/gpu/drm/ttm/ttm_memory.c 		&zone->kobj, &ttm_mem_zone_kobj_type, &glob->kobj, zone->name);
kobj              323 drivers/gpu/drm/ttm/ttm_memory.c 		kobject_put(&zone->kobj);
kobj              357 drivers/gpu/drm/ttm/ttm_memory.c 		&zone->kobj, &ttm_mem_zone_kobj_type, &glob->kobj, "%s",
kobj              360 drivers/gpu/drm/ttm/ttm_memory.c 		kobject_put(&zone->kobj);
kobj              405 drivers/gpu/drm/ttm/ttm_memory.c 		&zone->kobj, &ttm_mem_zone_kobj_type, &glob->kobj, zone->name);
kobj              407 drivers/gpu/drm/ttm/ttm_memory.c 		kobject_put(&zone->kobj);
kobj              426 drivers/gpu/drm/ttm/ttm_memory.c 		&glob->kobj, &ttm_mem_glob_kobj_type, ttm_get_kobj(), "memory_accounting");
kobj              428 drivers/gpu/drm/ttm/ttm_memory.c 		kobject_put(&glob->kobj);
kobj              476 drivers/gpu/drm/ttm/ttm_memory.c 		kobject_del(&zone->kobj);
kobj              477 drivers/gpu/drm/ttm/ttm_memory.c 		kobject_put(&zone->kobj);
kobj              479 drivers/gpu/drm/ttm/ttm_memory.c 	kobject_del(&glob->kobj);
kobj              480 drivers/gpu/drm/ttm/ttm_memory.c 	kobject_put(&glob->kobj);
kobj               61 drivers/gpu/drm/ttm/ttm_module.c 	struct kobject *kobj = &ttm_drm_class_device.kobj;
kobj               62 drivers/gpu/drm/ttm/ttm_module.c 	BUG_ON(kobj == NULL);
kobj               63 drivers/gpu/drm/ttm/ttm_module.c 	return kobj;
kobj              109 drivers/gpu/drm/ttm/ttm_page_alloc.c 	struct kobject		kobj;
kobj              146 drivers/gpu/drm/ttm/ttm_page_alloc.c static void ttm_pool_kobj_release(struct kobject *kobj)
kobj              149 drivers/gpu/drm/ttm/ttm_page_alloc.c 		container_of(kobj, struct ttm_pool_manager, kobj);
kobj              153 drivers/gpu/drm/ttm/ttm_page_alloc.c static ssize_t ttm_pool_store(struct kobject *kobj,
kobj              157 drivers/gpu/drm/ttm/ttm_page_alloc.c 		container_of(kobj, struct ttm_pool_manager, kobj);
kobj              187 drivers/gpu/drm/ttm/ttm_page_alloc.c static ssize_t ttm_pool_show(struct kobject *kobj,
kobj              191 drivers/gpu/drm/ttm/ttm_page_alloc.c 		container_of(kobj, struct ttm_pool_manager, kobj);
kobj              997 drivers/gpu/drm/ttm/ttm_page_alloc.c 	ret = kobject_init_and_add(&_manager->kobj, &ttm_pool_kobj_type,
kobj              998 drivers/gpu/drm/ttm/ttm_page_alloc.c 				   &glob->kobj, "pool");
kobj             1008 drivers/gpu/drm/ttm/ttm_page_alloc.c 	kobject_put(&_manager->kobj);
kobj             1024 drivers/gpu/drm/ttm/ttm_page_alloc.c 	kobject_put(&_manager->kobj);
kobj              169 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 	struct kobject		kobj;
kobj              194 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c static void ttm_pool_kobj_release(struct kobject *kobj)
kobj              197 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 		container_of(kobj, struct ttm_pool_manager, kobj);
kobj              201 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c static ssize_t ttm_pool_store(struct kobject *kobj, struct attribute *attr,
kobj              205 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 		container_of(kobj, struct ttm_pool_manager, kobj);
kobj              236 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c static ssize_t ttm_pool_show(struct kobject *kobj, struct attribute *attr,
kobj              240 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 		container_of(kobj, struct ttm_pool_manager, kobj);
kobj             1181 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 	ret = kobject_init_and_add(&_manager->kobj, &ttm_pool_kobj_type,
kobj             1182 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 				   &glob->kobj, "dma_pool");
kobj             1192 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 	kobject_put(&_manager->kobj);
kobj             1211 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 	kobject_put(&_manager->kobj);
kobj               52 drivers/greybus/bundle.c 	sysfs_notify(&bundle->dev.kobj, NULL, "state");
kobj              620 drivers/greybus/interface.c static umode_t interface_unipro_is_visible(struct kobject *kobj,
kobj              623 drivers/greybus/interface.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              635 drivers/greybus/interface.c static umode_t interface_greybus_is_visible(struct kobject *kobj,
kobj              638 drivers/greybus/interface.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              649 drivers/greybus/interface.c static umode_t interface_power_is_visible(struct kobject *kobj,
kobj              652 drivers/greybus/interface.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             1872 drivers/hid/hid-core.c read_report_descriptor(struct file *filp, struct kobject *kobj,
kobj             1876 drivers/hid/hid-core.c 	struct device *dev = kobj_to_dev(kobj);
kobj              502 drivers/hid/hid-corsair.c 	ret = sysfs_create_group(&dev->dev.kobj, &k90_attr_group);
kobj              540 drivers/hid/hid-corsair.c 		sysfs_remove_group(&dev->dev.kobj, &k90_attr_group);
kobj             1059 drivers/hid/hid-cp2112.c 		ret = sysfs_chmod_file(&hdev->dev.kobj, *attr, mode);
kobj             1347 drivers/hid/hid-cp2112.c 	ret = sysfs_create_group(&hdev->dev.kobj, &cp2112_attr_group);
kobj             1366 drivers/hid/hid-cp2112.c 	sysfs_remove_group(&hdev->dev.kobj, &cp2112_attr_group);
kobj             1385 drivers/hid/hid-cp2112.c 	sysfs_remove_group(&hdev->dev.kobj, &cp2112_attr_group);
kobj              710 drivers/hid/hid-lenovo.c 	ret = sysfs_create_group(&hdev->dev.kobj, &lenovo_attr_group_tpkbd);
kobj              763 drivers/hid/hid-lenovo.c 	sysfs_remove_group(&hdev->dev.kobj, &lenovo_attr_group_tpkbd);
kobj              807 drivers/hid/hid-lenovo.c 	ret = sysfs_create_group(&hdev->dev.kobj, &lenovo_attr_group_cptkbd);
kobj              864 drivers/hid/hid-lenovo.c 	sysfs_remove_group(&hdev->dev.kobj,
kobj              873 drivers/hid/hid-lenovo.c 	sysfs_remove_group(&hdev->dev.kobj,
kobj             3601 drivers/hid/hid-logitech-hidpp.c 	ret = sysfs_create_group(&hdev->dev.kobj, &ps_attribute_group);
kobj             3684 drivers/hid/hid-logitech-hidpp.c 	sysfs_remove_group(&hdev->dev.kobj, &ps_attribute_group);
kobj             3697 drivers/hid/hid-logitech-hidpp.c 	sysfs_remove_group(&hdev->dev.kobj, &ps_attribute_group);
kobj             1746 drivers/hid/hid-multitouch.c 	ret = sysfs_create_group(&hdev->dev.kobj, &mt_attribute_group);
kobj             1782 drivers/hid/hid-multitouch.c 	sysfs_remove_group(&hdev->dev.kobj, &mt_attribute_group);
kobj              952 drivers/hid/hid-ntrig.c 	ret = sysfs_create_group(&hdev->dev.kobj,
kobj              965 drivers/hid/hid-ntrig.c 	sysfs_remove_group(&hdev->dev.kobj,
kobj              188 drivers/hid/hid-roccat-arvo.c 		struct kobject *kobj, void const *buf,
kobj              191 drivers/hid/hid-roccat-arvo.c 	struct device *dev = kobj_to_dev(kobj)->parent->parent;
kobj              207 drivers/hid/hid-roccat-arvo.c 		struct kobject *kobj, void *buf, loff_t off,
kobj              210 drivers/hid/hid-roccat-arvo.c 	struct device *dev = kobj_to_dev(kobj)->parent->parent;
kobj              229 drivers/hid/hid-roccat-arvo.c 		struct kobject *kobj, struct bin_attribute *attr, char *buf,
kobj              232 drivers/hid/hid-roccat-arvo.c 	return arvo_sysfs_write(fp, kobj, buf, off, count,
kobj              239 drivers/hid/hid-roccat-arvo.c 		struct kobject *kobj, struct bin_attribute *attr, char *buf,
kobj              242 drivers/hid/hid-roccat-arvo.c 	return arvo_sysfs_read(fp, kobj, buf, off, count,
kobj              130 drivers/hid/hid-roccat-common.c ssize_t roccat_common2_sysfs_read(struct file *fp, struct kobject *kobj,
kobj              134 drivers/hid/hid-roccat-common.c 	struct device *dev = kobj_to_dev(kobj)->parent->parent;
kobj              153 drivers/hid/hid-roccat-common.c ssize_t roccat_common2_sysfs_write(struct file *fp, struct kobject *kobj,
kobj              157 drivers/hid/hid-roccat-common.c 	struct device *dev = kobj_to_dev(kobj)->parent->parent;
kobj               40 drivers/hid/hid-roccat-common.h ssize_t roccat_common2_sysfs_read(struct file *fp, struct kobject *kobj,
kobj               43 drivers/hid/hid-roccat-common.h ssize_t roccat_common2_sysfs_write(struct file *fp, struct kobject *kobj,
kobj               49 drivers/hid/hid-roccat-common.h 		struct kobject *kobj, struct bin_attribute *attr, char *buf, \
kobj               52 drivers/hid/hid-roccat-common.h 	return roccat_common2_sysfs_write(fp, kobj, buf, off, count, \
kobj               58 drivers/hid/hid-roccat-common.h 		struct kobject *kobj, struct bin_attribute *attr, char *buf, \
kobj               61 drivers/hid/hid-roccat-common.h 	return roccat_common2_sysfs_read(fp, kobj, buf, off, count, \
kobj              117 drivers/hid/hid-roccat-isku.c static ssize_t isku_sysfs_read(struct file *fp, struct kobject *kobj,
kobj              121 drivers/hid/hid-roccat-isku.c 	struct device *dev = kobj_to_dev(kobj)->parent->parent;
kobj              139 drivers/hid/hid-roccat-isku.c static ssize_t isku_sysfs_write(struct file *fp, struct kobject *kobj,
kobj              143 drivers/hid/hid-roccat-isku.c 	struct device *dev = kobj_to_dev(kobj)->parent->parent;
kobj              160 drivers/hid/hid-roccat-isku.c static ssize_t isku_sysfs_write_ ## thingy(struct file *fp, struct kobject *kobj, \
kobj              164 drivers/hid/hid-roccat-isku.c 	return isku_sysfs_write(fp, kobj, buf, off, count, \
kobj              169 drivers/hid/hid-roccat-isku.c static ssize_t isku_sysfs_read_ ## thingy(struct file *fp, struct kobject *kobj, \
kobj              173 drivers/hid/hid-roccat-isku.c 	return isku_sysfs_read(fp, kobj, buf, off, count, \
kobj              266 drivers/hid/hid-roccat-kone.c static ssize_t kone_sysfs_read_settings(struct file *fp, struct kobject *kobj,
kobj              269 drivers/hid/hid-roccat-kone.c 	struct device *dev = kobj_to_dev(kobj)->parent->parent;
kobj              290 drivers/hid/hid-roccat-kone.c static ssize_t kone_sysfs_write_settings(struct file *fp, struct kobject *kobj,
kobj              293 drivers/hid/hid-roccat-kone.c 	struct device *dev = kobj_to_dev(kobj)->parent->parent;
kobj              328 drivers/hid/hid-roccat-kone.c 		struct kobject *kobj, struct bin_attribute *attr,
kobj              330 drivers/hid/hid-roccat-kone.c 	struct device *dev = kobj_to_dev(kobj)->parent->parent;
kobj              348 drivers/hid/hid-roccat-kone.c 		struct kobject *kobj, struct bin_attribute *attr,
kobj              350 drivers/hid/hid-roccat-kone.c 	struct device *dev = kobj_to_dev(kobj)->parent->parent;
kobj               83 drivers/hid/hid-roccat-koneplus.c static ssize_t koneplus_sysfs_read(struct file *fp, struct kobject *kobj,
kobj               87 drivers/hid/hid-roccat-koneplus.c 	struct device *dev = kobj_to_dev(kobj)->parent->parent;
kobj              108 drivers/hid/hid-roccat-koneplus.c static ssize_t koneplus_sysfs_write(struct file *fp, struct kobject *kobj,
kobj              112 drivers/hid/hid-roccat-koneplus.c 	struct device *dev = kobj_to_dev(kobj)->parent->parent;
kobj              133 drivers/hid/hid-roccat-koneplus.c 		struct kobject *kobj, struct bin_attribute *attr, char *buf, \
kobj              136 drivers/hid/hid-roccat-koneplus.c 	return koneplus_sysfs_write(fp, kobj, buf, off, count, \
kobj              142 drivers/hid/hid-roccat-koneplus.c 		struct kobject *kobj, struct bin_attribute *attr, char *buf, \
kobj              145 drivers/hid/hid-roccat-koneplus.c 	return koneplus_sysfs_read(fp, kobj, buf, off, count, \
kobj              188 drivers/hid/hid-roccat-koneplus.c 		struct kobject *kobj, struct bin_attribute *attr, char *buf,
kobj              191 drivers/hid/hid-roccat-koneplus.c 	struct device *dev = kobj_to_dev(kobj)->parent->parent;
kobj              200 drivers/hid/hid-roccat-koneplus.c 	return koneplus_sysfs_read(fp, kobj, buf, off, count,
kobj              206 drivers/hid/hid-roccat-koneplus.c 		struct kobject *kobj, struct bin_attribute *attr, char *buf,
kobj              209 drivers/hid/hid-roccat-koneplus.c 	struct device *dev = kobj_to_dev(kobj)->parent->parent;
kobj              218 drivers/hid/hid-roccat-koneplus.c 	return koneplus_sysfs_read(fp, kobj, buf, off, count,
kobj              126 drivers/hid/hid-roccat-kovaplus.c static ssize_t kovaplus_sysfs_read(struct file *fp, struct kobject *kobj,
kobj              130 drivers/hid/hid-roccat-kovaplus.c 	struct device *dev = kobj_to_dev(kobj)->parent->parent;
kobj              151 drivers/hid/hid-roccat-kovaplus.c static ssize_t kovaplus_sysfs_write(struct file *fp, struct kobject *kobj,
kobj              155 drivers/hid/hid-roccat-kovaplus.c 	struct device *dev = kobj_to_dev(kobj)->parent->parent;
kobj              176 drivers/hid/hid-roccat-kovaplus.c 		struct kobject *kobj, struct bin_attribute *attr, char *buf, \
kobj              179 drivers/hid/hid-roccat-kovaplus.c 	return kovaplus_sysfs_write(fp, kobj, buf, off, count, \
kobj              185 drivers/hid/hid-roccat-kovaplus.c 		struct kobject *kobj, struct bin_attribute *attr, char *buf, \
kobj              188 drivers/hid/hid-roccat-kovaplus.c 	return kovaplus_sysfs_read(fp, kobj, buf, off, count, \
kobj              218 drivers/hid/hid-roccat-kovaplus.c 		struct kobject *kobj, struct bin_attribute *attr, char *buf,
kobj              221 drivers/hid/hid-roccat-kovaplus.c 	struct device *dev = kobj_to_dev(kobj)->parent->parent;
kobj              230 drivers/hid/hid-roccat-kovaplus.c 	return kovaplus_sysfs_read(fp, kobj, buf, off, count,
kobj              236 drivers/hid/hid-roccat-kovaplus.c 		struct kobject *kobj, struct bin_attribute *attr, char *buf,
kobj              239 drivers/hid/hid-roccat-kovaplus.c 	struct device *dev = kobj_to_dev(kobj)->parent->parent;
kobj              248 drivers/hid/hid-roccat-kovaplus.c 	return kovaplus_sysfs_read(fp, kobj, buf, off, count,
kobj               26 drivers/hid/hid-roccat-lua.c static ssize_t lua_sysfs_read(struct file *fp, struct kobject *kobj,
kobj               30 drivers/hid/hid-roccat-lua.c 	struct device *dev = kobj_to_dev(kobj);
kobj               48 drivers/hid/hid-roccat-lua.c static ssize_t lua_sysfs_write(struct file *fp, struct kobject *kobj,
kobj               52 drivers/hid/hid-roccat-lua.c 	struct device *dev = kobj_to_dev(kobj);
kobj               69 drivers/hid/hid-roccat-lua.c 		struct kobject *kobj, struct bin_attribute *attr, \
kobj               72 drivers/hid/hid-roccat-lua.c 	return lua_sysfs_write(fp, kobj, buf, off, count, \
kobj               78 drivers/hid/hid-roccat-lua.c 		struct kobject *kobj, struct bin_attribute *attr, \
kobj               81 drivers/hid/hid-roccat-lua.c 	return lua_sysfs_read(fp, kobj, buf, off, count, \
kobj               99 drivers/hid/hid-roccat-lua.c 	return sysfs_create_bin_file(&intf->dev.kobj, &lua_control_attr);
kobj              104 drivers/hid/hid-roccat-lua.c 	sysfs_remove_bin_file(&intf->dev.kobj, &lua_control_attr);
kobj               86 drivers/hid/hid-roccat-pyra.c static ssize_t pyra_sysfs_read(struct file *fp, struct kobject *kobj,
kobj               90 drivers/hid/hid-roccat-pyra.c 	struct device *dev = kobj_to_dev(kobj)->parent->parent;
kobj              111 drivers/hid/hid-roccat-pyra.c static ssize_t pyra_sysfs_write(struct file *fp, struct kobject *kobj,
kobj              115 drivers/hid/hid-roccat-pyra.c 	struct device *dev = kobj_to_dev(kobj)->parent->parent;
kobj              135 drivers/hid/hid-roccat-pyra.c 		struct kobject *kobj, struct bin_attribute *attr, char *buf, \
kobj              138 drivers/hid/hid-roccat-pyra.c 	return pyra_sysfs_write(fp, kobj, buf, off, count, \
kobj              144 drivers/hid/hid-roccat-pyra.c 		struct kobject *kobj, struct bin_attribute *attr, char *buf, \
kobj              147 drivers/hid/hid-roccat-pyra.c 	return pyra_sysfs_read(fp, kobj, buf, off, count, \
kobj              186 drivers/hid/hid-roccat-pyra.c 		struct kobject *kobj, struct bin_attribute *attr, char *buf,
kobj              189 drivers/hid/hid-roccat-pyra.c 	struct device *dev = kobj_to_dev(kobj)->parent->parent;
kobj              198 drivers/hid/hid-roccat-pyra.c 	return pyra_sysfs_read(fp, kobj, buf, off, count,
kobj              204 drivers/hid/hid-roccat-pyra.c 		struct kobject *kobj, struct bin_attribute *attr, char *buf,
kobj              207 drivers/hid/hid-roccat-pyra.c 	struct device *dev = kobj_to_dev(kobj)->parent->parent;
kobj              216 drivers/hid/hid-roccat-pyra.c 	return pyra_sysfs_read(fp, kobj, buf, off, count,
kobj              241 drivers/hid/hid-roccat-pyra.c 		struct kobject *kobj, struct bin_attribute *attr, char *buf,
kobj              244 drivers/hid/hid-roccat-pyra.c 	struct device *dev = kobj_to_dev(kobj)->parent->parent;
kobj              604 drivers/hid/hid-sensor-custom.c 		ret = sysfs_create_group(&sensor_inst->pdev->dev.kobj,
kobj              628 drivers/hid/hid-sensor-custom.c 		sysfs_remove_group(&sensor_inst->pdev->dev.kobj,
kobj              774 drivers/hid/hid-sensor-custom.c 	ret = sysfs_create_group(&sensor_inst->pdev->dev.kobj,
kobj              792 drivers/hid/hid-sensor-custom.c 	sysfs_remove_group(&sensor_inst->pdev->dev.kobj,
kobj              807 drivers/hid/hid-sensor-custom.c 	sysfs_remove_group(&sensor_inst->pdev->dev.kobj,
kobj             1218 drivers/hid/hid-wiimote-core.c 		kobject_uevent(&wdata->hdev->dev.kobj, KOBJ_CHANGE);
kobj             1232 drivers/hid/wacom_sys.c 	struct kobject *kobj = devres->root;
kobj             1236 drivers/hid/wacom_sys.c 	sysfs_remove_group(kobj, devres->group);
kobj             1269 drivers/hid/wacom_sys.c 	return __wacom_devm_sysfs_create_group(wacom, &wacom->hdev->dev.kobj,
kobj             1822 drivers/hid/wacom_sys.c static ssize_t wacom_show_remote_mode(struct kobject *kobj,
kobj             1826 drivers/hid/wacom_sys.c 	struct device *dev = kobj_to_dev(kobj->parent);
kobj             1836 drivers/hid/wacom_sys.c static ssize_t wacom_show_remote##SET_ID##_mode(struct kobject *kobj,	\
kobj             1839 drivers/hid/wacom_sys.c 	return wacom_show_remote_mode(kobj, kattr, buf, SET_ID);	\
kobj             1905 drivers/hid/wacom_sys.c static ssize_t wacom_store_unpair_remote(struct kobject *kobj,
kobj             1910 drivers/hid/wacom_sys.c 	struct device *dev = kobj_to_dev(kobj->parent);
kobj             1987 drivers/hid/wacom_sys.c 						    &wacom->hdev->dev.kobj);
kobj               67 drivers/hsi/clients/nokia-modem.c 		sysfs_remove_link(&dev->kobj, modem->gpios[i].name);
kobj              340 drivers/hv/channel_mgmt.c 	kobject_put(&channel->kobj);
kobj              656 drivers/hv/vmbus_drv.c static umode_t vmbus_dev_attr_is_visible(struct kobject *kobj,
kobj              659 drivers/hv/vmbus_drv.c 	struct device *dev = kobj_to_dev(kobj);
kobj             1517 drivers/hv/vmbus_drv.c static void vmbus_chan_release(struct kobject *kobj)
kobj             1520 drivers/hv/vmbus_drv.c 		= container_of(kobj, struct vmbus_channel, kobj);
kobj             1541 drivers/hv/vmbus_drv.c static ssize_t vmbus_chan_attr_show(struct kobject *kobj,
kobj             1547 drivers/hv/vmbus_drv.c 		= container_of(kobj, struct vmbus_channel, kobj);
kobj             1733 drivers/hv/vmbus_drv.c static umode_t vmbus_chan_attr_is_visible(struct kobject *kobj,
kobj             1737 drivers/hv/vmbus_drv.c 		container_of(kobj, struct vmbus_channel, kobj);
kobj             1765 drivers/hv/vmbus_drv.c 	struct kobject *kobj = &channel->kobj;
kobj             1769 drivers/hv/vmbus_drv.c 	kobj->kset = dev->channels_kset;
kobj             1770 drivers/hv/vmbus_drv.c 	ret = kobject_init_and_add(kobj, &vmbus_chan_ktype, NULL,
kobj             1775 drivers/hv/vmbus_drv.c 	ret = sysfs_create_group(kobj, &vmbus_chan_group);
kobj             1786 drivers/hv/vmbus_drv.c 	kobject_uevent(kobj, KOBJ_ADD);
kobj             1796 drivers/hv/vmbus_drv.c 	sysfs_remove_group(&channel->kobj, &vmbus_chan_group);
kobj             1828 drivers/hv/vmbus_drv.c 	struct kobject *kobj = &child_device_obj->device.kobj;
kobj             1849 drivers/hv/vmbus_drv.c 							      NULL, kobj);
kobj              111 drivers/hwmon/abx500.c 			sysfs_notify(&data->pdev->dev.kobj, NULL, alarm_node);
kobj              115 drivers/hwmon/abx500.c 			sysfs_notify(&data->pdev->dev.kobj, NULL, alarm_node);
kobj              263 drivers/hwmon/abx500.c static umode_t abx500_attrs_visible(struct kobject *kobj,
kobj              266 drivers/hwmon/abx500.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              405 drivers/hwmon/abx500.c 	err = sysfs_create_group(&pdev->dev.kobj, &abx500_temp_group);
kobj              428 drivers/hwmon/abx500.c 	sysfs_remove_group(&pdev->dev.kobj, &abx500_temp_group);
kobj              438 drivers/hwmon/abx500.c 	sysfs_remove_group(&pdev->dev.kobj, &abx500_temp_group);
kobj              529 drivers/hwmon/acpi_power_meter.c 				  kobject_name(&obj->dev.kobj));
kobj              574 drivers/hwmon/acpi_power_meter.c 					&resource->acpi_dev->dev.kobj);
kobj              599 drivers/hwmon/acpi_power_meter.c 		res = sysfs_create_link(resource->holders_dir, &obj->dev.kobj,
kobj              600 drivers/hwmon/acpi_power_meter.c 				      kobject_name(&obj->dev.kobj));
kobj              832 drivers/hwmon/acpi_power_meter.c 		sysfs_notify(&device->dev.kobj, NULL, POWER_AVERAGE_NAME);
kobj              836 drivers/hwmon/acpi_power_meter.c 		sysfs_notify(&device->dev.kobj, NULL, POWER_CAP_NAME);
kobj              840 drivers/hwmon/acpi_power_meter.c 		sysfs_notify(&device->dev.kobj, NULL, POWER_AVG_INTERVAL_NAME);
kobj              844 drivers/hwmon/acpi_power_meter.c 		sysfs_notify(&device->dev.kobj, NULL, POWER_ALARM_NAME);
kobj              248 drivers/hwmon/adc128d818.c static umode_t adc128_is_visible(struct kobject *kobj,
kobj              251 drivers/hwmon/adc128d818.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              113 drivers/hwmon/adt7x10.c 		sysfs_notify(&dev->kobj, NULL, "temp1_max_alarm");
kobj              115 drivers/hwmon/adt7x10.c 		sysfs_notify(&dev->kobj, NULL, "temp1_min_alarm");
kobj              117 drivers/hwmon/adt7x10.c 		sysfs_notify(&dev->kobj, NULL, "temp1_crit_alarm");
kobj              403 drivers/hwmon/adt7x10.c 	ret = sysfs_create_group(&dev->kobj, &adt7x10_group);
kobj              440 drivers/hwmon/adt7x10.c 	sysfs_remove_group(&dev->kobj, &adt7x10_group);
kobj              457 drivers/hwmon/adt7x10.c 	sysfs_remove_group(&dev->kobj, &adt7x10_group);
kobj             1086 drivers/hwmon/applesmc.c 			sysfs_remove_file(&pdev->dev.kobj,
kobj             1120 drivers/hwmon/applesmc.c 			ret = sysfs_create_file(&pdev->dev.kobj, attr);
kobj              807 drivers/hwmon/asb100.c 	err = sysfs_create_group(&client->dev.kobj, &asb100_group);
kobj              820 drivers/hwmon/asb100.c 	sysfs_remove_group(&client->dev.kobj, &asb100_group);
kobj              832 drivers/hwmon/asb100.c 	sysfs_remove_group(&client->dev.kobj, &asb100_group);
kobj              620 drivers/hwmon/aspeed-pwm-tacho.c static umode_t pwm_is_visible(struct kobject *kobj,
kobj              623 drivers/hwmon/aspeed-pwm-tacho.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              631 drivers/hwmon/aspeed-pwm-tacho.c static umode_t fan_dev_is_visible(struct kobject *kobj,
kobj              634 drivers/hwmon/aspeed-pwm-tacho.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              403 drivers/hwmon/coretemp.c 	return sysfs_create_group(&dev->kobj, &tdata->attr_group);
kobj              523 drivers/hwmon/coretemp.c 	sysfs_remove_group(&pdata->hwmon_dev->kobj, &tdata->attr_group);
kobj              299 drivers/hwmon/da9052-hwmon.c static umode_t da9052_channel_is_visible(struct kobject *kobj,
kobj              302 drivers/hwmon/da9052-hwmon.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              792 drivers/hwmon/dell-smm-hwmon.c static umode_t i8k_is_visible(struct kobject *kobj, struct attribute *attr,
kobj             2046 drivers/hwmon/dme1737.c 	if (sysfs_chmod_file(&dev->kobj, attr, mode)) {
kobj             2069 drivers/hwmon/dme1737.c 			sysfs_remove_group(&dev->kobj,
kobj             2076 drivers/hwmon/dme1737.c 			sysfs_remove_group(&dev->kobj,
kobj             2079 drivers/hwmon/dme1737.c 				sysfs_remove_file(&dev->kobj,
kobj             2086 drivers/hwmon/dme1737.c 		sysfs_remove_group(&dev->kobj, &dme1737_temp_offset_group);
kobj             2088 drivers/hwmon/dme1737.c 		sysfs_remove_group(&dev->kobj, &dme1737_vid_group);
kobj             2090 drivers/hwmon/dme1737.c 		sysfs_remove_group(&dev->kobj, &dme1737_zone3_group);
kobj             2092 drivers/hwmon/dme1737.c 		sysfs_remove_group(&dev->kobj, &dme1737_zone_hyst_group);
kobj             2094 drivers/hwmon/dme1737.c 		sysfs_remove_group(&dev->kobj, &dme1737_in7_group);
kobj             2095 drivers/hwmon/dme1737.c 	sysfs_remove_group(&dev->kobj, &dme1737_group);
kobj             2098 drivers/hwmon/dme1737.c 		sysfs_remove_file(&dev->kobj, &dev_attr_name.attr);
kobj             2108 drivers/hwmon/dme1737.c 		err = sysfs_create_file(&dev->kobj, &dev_attr_name.attr);
kobj             2114 drivers/hwmon/dme1737.c 	err = sysfs_create_group(&dev->kobj, &dme1737_group);
kobj             2120 drivers/hwmon/dme1737.c 		err = sysfs_create_group(&dev->kobj,
kobj             2126 drivers/hwmon/dme1737.c 		err = sysfs_create_group(&dev->kobj, &dme1737_vid_group);
kobj             2131 drivers/hwmon/dme1737.c 		err = sysfs_create_group(&dev->kobj, &dme1737_zone3_group);
kobj             2136 drivers/hwmon/dme1737.c 		err = sysfs_create_group(&dev->kobj, &dme1737_zone_hyst_group);
kobj             2141 drivers/hwmon/dme1737.c 		err = sysfs_create_group(&dev->kobj, &dme1737_in7_group);
kobj             2149 drivers/hwmon/dme1737.c 			err = sysfs_create_group(&dev->kobj,
kobj             2159 drivers/hwmon/dme1737.c 			err = sysfs_create_group(&dev->kobj,
kobj             2164 drivers/hwmon/dme1737.c 				err = sysfs_create_file(&dev->kobj,
kobj              326 drivers/hwmon/ds1621.c static umode_t ds1621_attribute_visible(struct kobject *kobj,
kobj              329 drivers/hwmon/ds1621.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              732 drivers/hwmon/f71805f.c 		if (sysfs_chmod_file(&dev->kobj, f71805f_attr_pwm[nr],
kobj              756 drivers/hwmon/f71805f.c 		if (sysfs_chmod_file(&dev->kobj, f71805f_attr_pwm[nr],
kobj             1418 drivers/hwmon/f71805f.c 	err = sysfs_create_group(&pdev->dev.kobj, &f71805f_group);
kobj             1422 drivers/hwmon/f71805f.c 		err = sysfs_create_group(&pdev->dev.kobj,
kobj             1428 drivers/hwmon/f71805f.c 		err = sysfs_create_group(&pdev->dev.kobj,
kobj             1434 drivers/hwmon/f71805f.c 		err = sysfs_create_group(&pdev->dev.kobj,
kobj             1440 drivers/hwmon/f71805f.c 		err = sysfs_create_group(&pdev->dev.kobj,
kobj             1448 drivers/hwmon/f71805f.c 			err = sysfs_create_file(&pdev->dev.kobj,
kobj             1455 drivers/hwmon/f71805f.c 			err = sysfs_chmod_file(&pdev->dev.kobj,
kobj             1476 drivers/hwmon/f71805f.c 	sysfs_remove_group(&pdev->dev.kobj, &f71805f_group);
kobj             1478 drivers/hwmon/f71805f.c 		sysfs_remove_group(&pdev->dev.kobj, &f71805f_group_optin[i]);
kobj             1479 drivers/hwmon/f71805f.c 	sysfs_remove_group(&pdev->dev.kobj, &f71805f_group_pwm_freq);
kobj             1489 drivers/hwmon/f71805f.c 	sysfs_remove_group(&pdev->dev.kobj, &f71805f_group);
kobj             1491 drivers/hwmon/f71805f.c 		sysfs_remove_group(&pdev->dev.kobj, &f71805f_group_optin[i]);
kobj             1492 drivers/hwmon/f71805f.c 	sysfs_remove_group(&pdev->dev.kobj, &f71805f_group_pwm_freq);
kobj              837 drivers/hwmon/f75375s.c 	err = sysfs_create_group(&client->dev.kobj, &f75375_group);
kobj              842 drivers/hwmon/f75375s.c 		err = sysfs_chmod_file(&client->dev.kobj,
kobj              847 drivers/hwmon/f75375s.c 		err = sysfs_chmod_file(&client->dev.kobj,
kobj              865 drivers/hwmon/f75375s.c 	sysfs_remove_group(&client->dev.kobj, &f75375_group);
kobj              873 drivers/hwmon/f75375s.c 	sysfs_remove_group(&client->dev.kobj, &f75375_group);
kobj               57 drivers/hwmon/gpio-fan.c 	sysfs_notify(&fan_data->hwmon_dev->kobj, NULL, "fan1_alarm");
kobj               58 drivers/hwmon/gpio-fan.c 	kobject_uevent(&fan_data->hwmon_dev->kobj, KOBJ_CHANGE);
kobj              299 drivers/hwmon/gpio-fan.c static umode_t gpio_fan_is_visible(struct kobject *kobj,
kobj              302 drivers/hwmon/gpio-fan.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj               78 drivers/hwmon/hwmon.c static umode_t hwmon_dev_name_is_visible(struct kobject *kobj,
kobj               81 drivers/hwmon/hwmon.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             1981 drivers/hwmon/it87.c static umode_t it87_in_is_visible(struct kobject *kobj,
kobj             1984 drivers/hwmon/it87.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             2065 drivers/hwmon/it87.c static umode_t it87_temp_is_visible(struct kobject *kobj,
kobj             2068 drivers/hwmon/it87.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             2126 drivers/hwmon/it87.c static umode_t it87_is_visible(struct kobject *kobj,
kobj             2129 drivers/hwmon/it87.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             2158 drivers/hwmon/it87.c static umode_t it87_fan_is_visible(struct kobject *kobj,
kobj             2161 drivers/hwmon/it87.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             2229 drivers/hwmon/it87.c static umode_t it87_pwm_is_visible(struct kobject *kobj,
kobj             2232 drivers/hwmon/it87.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             2290 drivers/hwmon/it87.c static umode_t it87_auto_pwm_is_visible(struct kobject *kobj,
kobj             2293 drivers/hwmon/it87.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              200 drivers/hwmon/k10temp.c static umode_t k10temp_is_visible(struct kobject *kobj,
kobj              203 drivers/hwmon/k10temp.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              931 drivers/hwmon/lm63.c static umode_t lm63_attribute_mode(struct kobject *kobj,
kobj              934 drivers/hwmon/lm63.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              153 drivers/hwmon/ltc2990.c static umode_t ltc2990_attrs_visible(struct kobject *kobj,
kobj              156 drivers/hwmon/ltc2990.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              225 drivers/hwmon/max1111.c 	err = sysfs_create_group(&spi->dev.kobj, &max1111_attr_group);
kobj              231 drivers/hwmon/max1111.c 		err = sysfs_create_group(&spi->dev.kobj, &max1110_attr_group);
kobj              252 drivers/hwmon/max1111.c 	sysfs_remove_group(&spi->dev.kobj, &max1110_attr_group);
kobj              253 drivers/hwmon/max1111.c 	sysfs_remove_group(&spi->dev.kobj, &max1111_attr_group);
kobj              265 drivers/hwmon/max1111.c 	sysfs_remove_group(&spi->dev.kobj, &max1110_attr_group);
kobj              266 drivers/hwmon/max1111.c 	sysfs_remove_group(&spi->dev.kobj, &max1111_attr_group);
kobj              454 drivers/hwmon/max16065.c static umode_t max16065_basic_is_visible(struct kobject *kobj,
kobj              457 drivers/hwmon/max16065.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              466 drivers/hwmon/max16065.c static umode_t max16065_secondary_is_visible(struct kobject *kobj,
kobj              469 drivers/hwmon/max16065.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              328 drivers/hwmon/max1668.c static umode_t max1668_attribute_mode(struct kobject *kobj,
kobj              295 drivers/hwmon/max197.c 	ret = sysfs_create_group(&pdev->dev.kobj, &max197_sysfs_group);
kobj              311 drivers/hwmon/max197.c 	sysfs_remove_group(&pdev->dev.kobj, &max197_sysfs_group);
kobj              320 drivers/hwmon/max197.c 	sysfs_remove_group(&pdev->dev.kobj, &max197_sysfs_group);
kobj              321 drivers/hwmon/max6650.c static umode_t max6650_attrs_visible(struct kobject *kobj, struct attribute *a,
kobj              324 drivers/hwmon/max6650.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              379 drivers/hwmon/max6697.c static umode_t max6697_is_visible(struct kobject *kobj, struct attribute *attr,
kobj              382 drivers/hwmon/max6697.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              247 drivers/hwmon/mc13783-adc.c 	ret = sysfs_create_group(&pdev->dev.kobj, &mc13783_group_base);
kobj              252 drivers/hwmon/mc13783-adc.c 		ret = sysfs_create_group(&pdev->dev.kobj,
kobj              259 drivers/hwmon/mc13783-adc.c 		ret = sysfs_create_group(&pdev->dev.kobj, &mc13783_group_ts);
kobj              277 drivers/hwmon/mc13783-adc.c 		sysfs_remove_group(&pdev->dev.kobj, &mc13783_group_ts);
kobj              281 drivers/hwmon/mc13783-adc.c 		sysfs_remove_group(&pdev->dev.kobj, &mc13783_group_16chans);
kobj              284 drivers/hwmon/mc13783-adc.c 	sysfs_remove_group(&pdev->dev.kobj, &mc13783_group_base);
kobj              296 drivers/hwmon/mc13783-adc.c 		sysfs_remove_group(&pdev->dev.kobj, &mc13783_group_ts);
kobj              299 drivers/hwmon/mc13783-adc.c 		sysfs_remove_group(&pdev->dev.kobj, &mc13783_group_16chans);
kobj              301 drivers/hwmon/mc13783-adc.c 	sysfs_remove_group(&pdev->dev.kobj, &mc13783_group_base);
kobj              152 drivers/hwmon/mcp3021.c 	err = sysfs_create_file(&client->dev.kobj, &dev_attr_in0_input.attr);
kobj              165 drivers/hwmon/mcp3021.c 	sysfs_remove_file(&client->dev.kobj, &dev_attr_in0_input.attr);
kobj              174 drivers/hwmon/mcp3021.c 	sysfs_remove_file(&client->dev.kobj, &dev_attr_in0_input.attr);
kobj              674 drivers/hwmon/nct6683.c static umode_t nct6683_in_is_visible(struct kobject *kobj,
kobj              677 drivers/hwmon/nct6683.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              739 drivers/hwmon/nct6683.c static umode_t nct6683_fan_is_visible(struct kobject *kobj,
kobj              742 drivers/hwmon/nct6683.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              857 drivers/hwmon/nct6683.c static umode_t nct6683_temp_is_visible(struct kobject *kobj,
kobj              860 drivers/hwmon/nct6683.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              944 drivers/hwmon/nct6683.c static umode_t nct6683_pwm_is_visible(struct kobject *kobj,
kobj              947 drivers/hwmon/nct6683.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             2047 drivers/hwmon/nct6775.c static umode_t nct6775_in_is_visible(struct kobject *kobj,
kobj             2050 drivers/hwmon/nct6775.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             2253 drivers/hwmon/nct6775.c static umode_t nct6775_fan_is_visible(struct kobject *kobj,
kobj             2256 drivers/hwmon/nct6775.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             2440 drivers/hwmon/nct6775.c static umode_t nct6775_temp_is_visible(struct kobject *kobj,
kobj             2443 drivers/hwmon/nct6775.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             3257 drivers/hwmon/nct6775.c static umode_t nct6775_pwm_is_visible(struct kobject *kobj,
kobj             3260 drivers/hwmon/nct6775.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             3459 drivers/hwmon/nct6775.c static umode_t nct6775_other_is_visible(struct kobject *kobj,
kobj             3462 drivers/hwmon/nct6775.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              679 drivers/hwmon/nct7802.c static umode_t nct7802_temp_is_visible(struct kobject *kobj,
kobj              682 drivers/hwmon/nct7802.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              778 drivers/hwmon/nct7802.c static umode_t nct7802_in_is_visible(struct kobject *kobj,
kobj              781 drivers/hwmon/nct7802.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              853 drivers/hwmon/nct7802.c static umode_t nct7802_fan_is_visible(struct kobject *kobj,
kobj              856 drivers/hwmon/nct7802.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              126 drivers/hwmon/occ/sysfs.c 		sysfs_notify(&occ->bus_dev->kobj, NULL, name);
kobj              132 drivers/hwmon/occ/sysfs.c 		sysfs_notify(&occ->bus_dev->kobj, NULL, name);
kobj              138 drivers/hwmon/occ/sysfs.c 		sysfs_notify(&occ->bus_dev->kobj, NULL, name);
kobj              144 drivers/hwmon/occ/sysfs.c 		sysfs_notify(&occ->bus_dev->kobj, NULL, name);
kobj              150 drivers/hwmon/occ/sysfs.c 		sysfs_notify(&occ->bus_dev->kobj, NULL, name);
kobj              156 drivers/hwmon/occ/sysfs.c 		sysfs_notify(&occ->bus_dev->kobj, NULL, name);
kobj              162 drivers/hwmon/occ/sysfs.c 		sysfs_notify(&occ->bus_dev->kobj, NULL, name);
kobj              167 drivers/hwmon/occ/sysfs.c 		sysfs_notify(&occ->bus_dev->kobj, NULL, name);
kobj              181 drivers/hwmon/occ/sysfs.c 	return sysfs_create_group(&occ->bus_dev->kobj, &occ_sysfs);
kobj              186 drivers/hwmon/occ/sysfs.c 	sysfs_remove_group(&occ->bus_dev->kobj, &occ_sysfs);
kobj             1184 drivers/hwmon/pc87360.c 		sysfs_remove_group(&dev->kobj, &pc8736x_temp_attr_group[i]);
kobj             1186 drivers/hwmon/pc87360.c 		sysfs_remove_group(&pdev->dev.kobj, &pc8736x_fan_attr_group[i]);
kobj             1189 drivers/hwmon/pc87360.c 	sysfs_remove_group(&dev->kobj, &pc8736x_therm_group);
kobj             1190 drivers/hwmon/pc87360.c 	sysfs_remove_group(&dev->kobj, &pc8736x_vin_group);
kobj             1292 drivers/hwmon/pc87360.c 		err = sysfs_create_group(&dev->kobj, &pc8736x_vin_group);
kobj             1298 drivers/hwmon/pc87360.c 		err = sysfs_create_group(&dev->kobj, &pc8736x_therm_group);
kobj             1307 drivers/hwmon/pc87360.c 			err = sysfs_create_group(&dev->kobj,
kobj             1319 drivers/hwmon/pc87360.c 			err = sysfs_create_group(&dev->kobj,
kobj             1037 drivers/hwmon/pc87427.c 		sysfs_remove_group(&dev->kobj, &pc87427_group_fan[i]);
kobj             1042 drivers/hwmon/pc87427.c 		sysfs_remove_group(&dev->kobj, &pc87427_group_pwm[i]);
kobj             1047 drivers/hwmon/pc87427.c 		sysfs_remove_group(&dev->kobj, &pc87427_group_temp[i]);
kobj             1082 drivers/hwmon/pc87427.c 		err = sysfs_create_group(&pdev->dev.kobj,
kobj             1090 drivers/hwmon/pc87427.c 		err = sysfs_create_group(&pdev->dev.kobj,
kobj             1098 drivers/hwmon/pc87427.c 		err = sysfs_create_group(&pdev->dev.kobj,
kobj              200 drivers/hwmon/pcf8591.c 	err = sysfs_create_group(&client->dev.kobj, &pcf8591_attr_group);
kobj              227 drivers/hwmon/pcf8591.c 	sysfs_remove_group(&client->dev.kobj, &pcf8591_attr_group_opt);
kobj              228 drivers/hwmon/pcf8591.c 	sysfs_remove_group(&client->dev.kobj, &pcf8591_attr_group);
kobj              237 drivers/hwmon/pcf8591.c 	sysfs_remove_group(&client->dev.kobj, &pcf8591_attr_group_opt);
kobj              238 drivers/hwmon/pcf8591.c 	sysfs_remove_group(&client->dev.kobj, &pcf8591_attr_group);
kobj              147 drivers/hwmon/pwm-fan.c static umode_t pwm_fan_attrs_visible(struct kobject *kobj, struct attribute *a,
kobj              150 drivers/hwmon/pwm-fan.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj               55 drivers/hwmon/raspberrypi-hwmon.c 	sysfs_notify(&data->hwmon_dev->kobj, NULL, "in0_lcrit_alarm");
kobj              125 drivers/hwmon/s3c-hwmon.c 	return sysfs_create_group(&dev->kobj, &s3c_hwmon_attrgroup);
kobj              130 drivers/hwmon/s3c-hwmon.c 	sysfs_remove_group(&dev->kobj, &s3c_hwmon_attrgroup);
kobj              450 drivers/hwmon/sch5627.c 	sysfs_remove_group(&pdev->dev.kobj, &sch5627_group);
kobj              556 drivers/hwmon/sch5627.c 	err = sysfs_create_group(&pdev->dev.kobj, &sch5627_group);
kobj              996 drivers/hwmon/sht15.c 	ret = sysfs_create_group(&pdev->dev.kobj, &sht15_attr_group);
kobj             1011 drivers/hwmon/sht15.c 	sysfs_remove_group(&pdev->dev.kobj, &sht15_attr_group);
kobj             1034 drivers/hwmon/sht15.c 	sysfs_remove_group(&pdev->dev.kobj, &sht15_attr_group);
kobj              620 drivers/hwmon/sis5595.c 	err = sysfs_create_group(&pdev->dev.kobj, &sis5595_group);
kobj              624 drivers/hwmon/sis5595.c 		err = sysfs_create_group(&pdev->dev.kobj, &sis5595_group_in4);
kobj              628 drivers/hwmon/sis5595.c 		err = sysfs_create_group(&pdev->dev.kobj, &sis5595_group_temp1);
kobj              642 drivers/hwmon/sis5595.c 	sysfs_remove_group(&pdev->dev.kobj, &sis5595_group);
kobj              643 drivers/hwmon/sis5595.c 	sysfs_remove_group(&pdev->dev.kobj, &sis5595_group_in4);
kobj              644 drivers/hwmon/sis5595.c 	sysfs_remove_group(&pdev->dev.kobj, &sis5595_group_temp1);
kobj              653 drivers/hwmon/sis5595.c 	sysfs_remove_group(&pdev->dev.kobj, &sis5595_group);
kobj              654 drivers/hwmon/sis5595.c 	sysfs_remove_group(&pdev->dev.kobj, &sis5595_group_in4);
kobj              655 drivers/hwmon/sis5595.c 	sysfs_remove_group(&pdev->dev.kobj, &sis5595_group_temp1);
kobj              698 drivers/hwmon/smsc47m1.c 	sysfs_remove_group(&dev->kobj, &smsc47m1_group);
kobj              699 drivers/hwmon/smsc47m1.c 	sysfs_remove_group(&dev->kobj, &smsc47m1_group_fan1);
kobj              700 drivers/hwmon/smsc47m1.c 	sysfs_remove_group(&dev->kobj, &smsc47m1_group_fan2);
kobj              701 drivers/hwmon/smsc47m1.c 	sysfs_remove_group(&dev->kobj, &smsc47m1_group_fan3);
kobj              702 drivers/hwmon/smsc47m1.c 	sysfs_remove_group(&dev->kobj, &smsc47m1_group_pwm1);
kobj              703 drivers/hwmon/smsc47m1.c 	sysfs_remove_group(&dev->kobj, &smsc47m1_group_pwm2);
kobj              704 drivers/hwmon/smsc47m1.c 	sysfs_remove_group(&dev->kobj, &smsc47m1_group_pwm3);
kobj              779 drivers/hwmon/smsc47m1.c 		err = sysfs_create_group(&dev->kobj,
kobj              787 drivers/hwmon/smsc47m1.c 		err = sysfs_create_group(&dev->kobj,
kobj              795 drivers/hwmon/smsc47m1.c 		err = sysfs_create_group(&dev->kobj,
kobj              803 drivers/hwmon/smsc47m1.c 		err = sysfs_create_group(&dev->kobj,
kobj              811 drivers/hwmon/smsc47m1.c 		err = sysfs_create_group(&dev->kobj,
kobj              819 drivers/hwmon/smsc47m1.c 		err = sysfs_create_group(&dev->kobj,
kobj              826 drivers/hwmon/smsc47m1.c 	err = sysfs_create_group(&dev->kobj, &smsc47m1_group);
kobj              337 drivers/hwmon/stts751.c 		sysfs_notify(&priv->dev->kobj, NULL, "temp1_max_alarm");
kobj              346 drivers/hwmon/stts751.c 		sysfs_notify(&priv->dev->kobj, NULL, "temp1_min_alarm");
kobj              350 drivers/hwmon/stts751.c 		kobject_uevent(&priv->dev->kobj, KOBJ_CHANGE);
kobj              268 drivers/hwmon/ultra45_env.c 	err = sysfs_create_group(&op->dev.kobj, &env_group);
kobj              285 drivers/hwmon/ultra45_env.c 	sysfs_remove_group(&op->dev.kobj, &env_group);
kobj              298 drivers/hwmon/ultra45_env.c 		sysfs_remove_group(&op->dev.kobj, &env_group);
kobj               68 drivers/hwmon/vexpress-hwmon.c static umode_t vexpress_hwmon_attr_is_visible(struct kobject *kobj,
kobj               71 drivers/hwmon/vexpress-hwmon.c 	struct device *dev = kobj_to_dev(kobj);
kobj              155 drivers/hwmon/via-cputemp.c 	err = sysfs_create_group(&pdev->dev.kobj, &via_cputemp_group);
kobj              181 drivers/hwmon/via-cputemp.c 	sysfs_remove_group(&pdev->dev.kobj, &via_cputemp_group);
kobj              192 drivers/hwmon/via-cputemp.c 	sysfs_remove_group(&pdev->dev.kobj, &via_cputemp_group);
kobj              695 drivers/hwmon/via686a.c 	err = sysfs_create_group(&pdev->dev.kobj, &via686a_group);
kobj              708 drivers/hwmon/via686a.c 	sysfs_remove_group(&pdev->dev.kobj, &via686a_group);
kobj              717 drivers/hwmon/via686a.c 	sysfs_remove_group(&pdev->dev.kobj, &via686a_group);
kobj             1130 drivers/hwmon/vt1211.c 		sysfs_remove_group(&dev->kobj, &vt1211_in_attr_group[i]);
kobj             1133 drivers/hwmon/vt1211.c 		sysfs_remove_group(&dev->kobj, &vt1211_temp_attr_group[i]);
kobj             1173 drivers/hwmon/vt1211.c 			err = sysfs_create_group(&dev->kobj,
kobj             1181 drivers/hwmon/vt1211.c 			err = sysfs_create_group(&dev->kobj,
kobj              805 drivers/hwmon/vt8231.c 	err = sysfs_create_group(&pdev->dev.kobj, &vt8231_group);
kobj              814 drivers/hwmon/vt8231.c 			err = sysfs_create_group(&pdev->dev.kobj,
kobj              823 drivers/hwmon/vt8231.c 			err = sysfs_create_group(&pdev->dev.kobj,
kobj              839 drivers/hwmon/vt8231.c 		sysfs_remove_group(&pdev->dev.kobj, &vt8231_group_volts[i]);
kobj              842 drivers/hwmon/vt8231.c 		sysfs_remove_group(&pdev->dev.kobj, &vt8231_group_temps[i]);
kobj              844 drivers/hwmon/vt8231.c 	sysfs_remove_group(&pdev->dev.kobj, &vt8231_group);
kobj              856 drivers/hwmon/vt8231.c 		sysfs_remove_group(&pdev->dev.kobj, &vt8231_group_volts[i]);
kobj              859 drivers/hwmon/vt8231.c 		sysfs_remove_group(&pdev->dev.kobj, &vt8231_group_temps[i]);
kobj              861 drivers/hwmon/vt8231.c 	sysfs_remove_group(&pdev->dev.kobj, &vt8231_group);
kobj             1438 drivers/hwmon/w83627hf.c 	err = sysfs_create_group(&dev->kobj, &w83627hf_group);
kobj             1554 drivers/hwmon/w83627hf.c 	sysfs_remove_group(&dev->kobj, &w83627hf_group);
kobj             1555 drivers/hwmon/w83627hf.c 	sysfs_remove_group(&dev->kobj, &w83627hf_group_opt);
kobj             1565 drivers/hwmon/w83627hf.c 	sysfs_remove_group(&pdev->dev.kobj, &w83627hf_group);
kobj             1566 drivers/hwmon/w83627hf.c 	sysfs_remove_group(&pdev->dev.kobj, &w83627hf_group_opt);
kobj             1023 drivers/hwmon/w83781d.c 	err = sysfs_create_group(&dev->kobj, &w83781d_group);
kobj             1028 drivers/hwmon/w83781d.c 		err = sysfs_create_group(&dev->kobj, &w83781d_group_in1);
kobj             1033 drivers/hwmon/w83781d.c 		err = sysfs_create_group(&dev->kobj, &w83781d_group_in78);
kobj             1038 drivers/hwmon/w83781d.c 		err = sysfs_create_group(&dev->kobj, &w83781d_group_temp3);
kobj             1043 drivers/hwmon/w83781d.c 			err = sysfs_chmod_file(&dev->kobj,
kobj             1052 drivers/hwmon/w83781d.c 		err = sysfs_create_group(&dev->kobj, &w83781d_group_pwm12);
kobj             1057 drivers/hwmon/w83781d.c 		err = sysfs_create_group(&dev->kobj, &w83781d_group_pwm34);
kobj             1186 drivers/hwmon/w83781d.c 	sysfs_remove_group(&dev->kobj, &w83781d_group);
kobj             1187 drivers/hwmon/w83781d.c 	sysfs_remove_group(&dev->kobj, &w83781d_group_in1);
kobj             1188 drivers/hwmon/w83781d.c 	sysfs_remove_group(&dev->kobj, &w83781d_group_in78);
kobj             1189 drivers/hwmon/w83781d.c 	sysfs_remove_group(&dev->kobj, &w83781d_group_temp3);
kobj             1190 drivers/hwmon/w83781d.c 	sysfs_remove_group(&dev->kobj, &w83781d_group_pwm12);
kobj             1191 drivers/hwmon/w83781d.c 	sysfs_remove_group(&dev->kobj, &w83781d_group_pwm34);
kobj             1192 drivers/hwmon/w83781d.c 	sysfs_remove_group(&dev->kobj, &w83781d_group_other);
kobj             1387 drivers/hwmon/w83791d.c 	err = sysfs_create_group(&client->dev.kobj, &w83791d_group);
kobj             1394 drivers/hwmon/w83791d.c 		err = sysfs_create_group(&client->dev.kobj,
kobj             1411 drivers/hwmon/w83791d.c 		sysfs_remove_group(&client->dev.kobj, &w83791d_group_fanpwm45);
kobj             1413 drivers/hwmon/w83791d.c 	sysfs_remove_group(&client->dev.kobj, &w83791d_group);
kobj             1422 drivers/hwmon/w83791d.c 	sysfs_remove_group(&client->dev.kobj, &w83791d_group);
kobj             1389 drivers/hwmon/w83792d.c 	err = sysfs_create_group(&dev->kobj, &w83792d_group);
kobj             1400 drivers/hwmon/w83792d.c 		err = sysfs_create_group(&dev->kobj, &w83792d_group_fan[0]);
kobj             1406 drivers/hwmon/w83792d.c 		err = sysfs_create_group(&dev->kobj, &w83792d_group_fan[1]);
kobj             1413 drivers/hwmon/w83792d.c 		err = sysfs_create_group(&dev->kobj, &w83792d_group_fan[2]);
kobj             1419 drivers/hwmon/w83792d.c 		err = sysfs_create_group(&dev->kobj, &w83792d_group_fan[3]);
kobj             1433 drivers/hwmon/w83792d.c 	sysfs_remove_group(&dev->kobj, &w83792d_group);
kobj             1435 drivers/hwmon/w83792d.c 		sysfs_remove_group(&dev->kobj, &w83792d_group_fan[i]);
kobj             1446 drivers/hwmon/w83792d.c 	sysfs_remove_group(&client->dev.kobj, &w83792d_group);
kobj             1448 drivers/hwmon/w83792d.c 		sysfs_remove_group(&client->dev.kobj,
kobj             2101 drivers/hwmon/w83795.c 		err_max = sysfs_chmod_file(&client->dev.kobj,
kobj             2104 drivers/hwmon/w83795.c 		err_min = sysfs_chmod_file(&client->dev.kobj,
kobj              420 drivers/hwmon/xgene-hwmon.c 	sysfs_notify(&ctx->dev->kobj, NULL, "temp1_critical_alarm");
kobj              498 drivers/hwtracing/coresight/coresight-etm-perf.c 		ret = sysfs_create_link(&pmu_dev->kobj, &cs_dev->kobj, entry);
kobj              503 drivers/hwtracing/coresight/coresight-etm-perf.c 		sysfs_remove_link(&pmu_dev->kobj, entry);
kobj              556 drivers/hwtracing/coresight/coresight-etm-perf.c 	ret = sysfs_add_file_to_group(&pmu_dev->kobj,
kobj              577 drivers/hwtracing/coresight/coresight-etm-perf.c 	sysfs_remove_file_from_group(&pmu_dev->kobj,
kobj               75 drivers/hwtracing/intel_th/core.c 		ret = sysfs_create_group(&thdev->dev.kobj, thdrv->attr_group);
kobj              147 drivers/hwtracing/intel_th/core.c 		sysfs_remove_group(&thdev->dev.kobj, thdrv->attr_group);
kobj              406 drivers/hwtracing/intel_th/gth.c 	return sysfs_create_group(&gth->dev->kobj, &gth->master_group);
kobj              461 drivers/hwtracing/intel_th/gth.c 	return sysfs_create_group(&gth->dev->kobj, &gth->output_group);
kobj              797 drivers/hwtracing/intel_th/gth.c 			sysfs_remove_group(&gth->dev->kobj, &gth->output_group);
kobj              808 drivers/hwtracing/intel_th/gth.c 	sysfs_remove_group(&gth->dev->kobj, &gth->output_group);
kobj              809 drivers/hwtracing/intel_th/gth.c 	sysfs_remove_group(&gth->dev->kobj, &gth->master_group);
kobj              902 drivers/hwtracing/stm/core.c 	err = kobject_set_name(&stm->dev.kobj, "%s", stm_data->name);
kobj             1251 drivers/hwtracing/stm/core.c 	err = kobject_set_name(&src->dev.kobj, "%s", data->name);
kobj              420 drivers/i2c/i2c-mux.c 	WARN(sysfs_create_link(&priv->adap.dev.kobj, &muxc->dev->kobj,
kobj              425 drivers/i2c/i2c-mux.c 	WARN(sysfs_create_link(&muxc->dev->kobj, &priv->adap.dev.kobj,
kobj              453 drivers/i2c/i2c-mux.c 		sysfs_remove_link(&muxc->dev->kobj, symlink_name);
kobj              455 drivers/i2c/i2c-mux.c 		sysfs_remove_link(&priv->adap.dev.kobj, "mux_device");
kobj               93 drivers/i2c/i2c-slave-eeprom.c static ssize_t i2c_slave_eeprom_bin_read(struct file *filp, struct kobject *kobj,
kobj               99 drivers/i2c/i2c-slave-eeprom.c 	eeprom = dev_get_drvdata(container_of(kobj, struct device, kobj));
kobj              108 drivers/i2c/i2c-slave-eeprom.c static ssize_t i2c_slave_eeprom_bin_write(struct file *filp, struct kobject *kobj,
kobj              114 drivers/i2c/i2c-slave-eeprom.c 	eeprom = dev_get_drvdata(container_of(kobj, struct device, kobj));
kobj              148 drivers/i2c/i2c-slave-eeprom.c 	ret = sysfs_create_bin_file(&client->dev.kobj, &eeprom->bin);
kobj              154 drivers/i2c/i2c-slave-eeprom.c 		sysfs_remove_bin_file(&client->dev.kobj, &eeprom->bin);
kobj              166 drivers/i2c/i2c-slave-eeprom.c 	sysfs_remove_bin_file(&client->dev.kobj, &eeprom->bin);
kobj              936 drivers/ide/ide-probe.c 	return &disk_to_dev(p)->kobj;
kobj              398 drivers/infiniband/core/core_priv.h 				 struct kobject *kobj, struct kobj_type *ktype,
kobj              400 drivers/infiniband/core/core_priv.h void ib_port_unregister_module_stat(struct kobject *kobj);
kobj             1388 drivers/infiniband/core/device.c 	kobject_uevent(&device->dev.kobj, KOBJ_ADD);
kobj             1453 drivers/infiniband/core/device.c 		WARN_ON(kref_read(&ib_dev->dev.kobj.kref) <= 1);
kobj             1597 drivers/infiniband/core/device.c 	kobject_uevent(&device->dev.kobj, KOBJ_REMOVE);
kobj             1632 drivers/infiniband/core/device.c 	kobject_uevent(&device->dev.kobj, KOBJ_ADD);
kobj               52 drivers/infiniband/core/sysfs.c 	struct kobject		kobj;
kobj               57 drivers/infiniband/core/sysfs.c 	struct kobject         kobj;
kobj               90 drivers/infiniband/core/sysfs.c 	ssize_t			(*show)(struct kobject *kobj,
kobj               92 drivers/infiniband/core/sysfs.c 	ssize_t			(*store)(struct kobject *kobj,
kobj              100 drivers/infiniband/core/sysfs.c static ssize_t port_attr_show(struct kobject *kobj,
kobj              105 drivers/infiniband/core/sysfs.c 	struct ib_port *p = container_of(kobj, struct ib_port, kobj);
kobj              113 drivers/infiniband/core/sysfs.c static ssize_t port_attr_store(struct kobject *kobj,
kobj              119 drivers/infiniband/core/sysfs.c 	struct ib_port *p = container_of(kobj, struct ib_port, kobj);
kobj              131 drivers/infiniband/core/sysfs.c static ssize_t gid_attr_show(struct kobject *kobj,
kobj              136 drivers/infiniband/core/sysfs.c 	struct ib_port *p = container_of(kobj, struct gid_attr_group,
kobj              137 drivers/infiniband/core/sysfs.c 					 kobj)->port;
kobj              673 drivers/infiniband/core/sysfs.c static void ib_port_release(struct kobject *kobj)
kobj              675 drivers/infiniband/core/sysfs.c 	struct ib_port *p = container_of(kobj, struct ib_port, kobj);
kobj              696 drivers/infiniband/core/sysfs.c static void ib_port_gid_attr_release(struct kobject *kobj)
kobj              698 drivers/infiniband/core/sysfs.c 	struct gid_attr_group *g = container_of(kobj, struct gid_attr_group,
kobj              699 drivers/infiniband/core/sysfs.c 						kobj);
kobj              822 drivers/infiniband/core/sysfs.c static ssize_t show_hw_stats(struct kobject *kobj, struct attribute *attr,
kobj              833 drivers/infiniband/core/sysfs.c 		dev = container_of((struct device *)kobj,
kobj              837 drivers/infiniband/core/sysfs.c 		port = container_of(kobj, struct ib_port, kobj);
kobj              852 drivers/infiniband/core/sysfs.c static ssize_t show_stats_lifespan(struct kobject *kobj,
kobj              862 drivers/infiniband/core/sysfs.c 		struct ib_device *dev = container_of((struct device *)kobj,
kobj              867 drivers/infiniband/core/sysfs.c 		struct ib_port *p = container_of(kobj, struct ib_port, kobj);
kobj              879 drivers/infiniband/core/sysfs.c static ssize_t set_stats_lifespan(struct kobject *kobj,
kobj              897 drivers/infiniband/core/sysfs.c 		struct ib_device *dev = container_of((struct device *)kobj,
kobj              902 drivers/infiniband/core/sysfs.c 		struct ib_port *p = container_of(kobj, struct ib_port, kobj);
kobj              914 drivers/infiniband/core/sysfs.c static void free_hsag(struct kobject *kobj, struct attribute_group *attr_group)
kobj              918 drivers/infiniband/core/sysfs.c 	sysfs_remove_group(kobj, attr_group);
kobj             1010 drivers/infiniband/core/sysfs.c 		struct kobject *kobj = &port->kobj;
kobj             1011 drivers/infiniband/core/sysfs.c 		ret = sysfs_create_group(kobj, hsag);
kobj             1019 drivers/infiniband/core/sysfs.c 		struct kobject *kobj = &device->dev.kobj;
kobj             1020 drivers/infiniband/core/sysfs.c 		ret = sysfs_create_group(kobj, hsag);
kobj             1059 drivers/infiniband/core/sysfs.c 	ret = kobject_init_and_add(&p->kobj, &port_type,
kobj             1074 drivers/infiniband/core/sysfs.c 	ret = kobject_init_and_add(&p->gid_attr_group->kobj, &gid_attr_type,
kobj             1075 drivers/infiniband/core/sysfs.c 				   &p->kobj, "gid_attrs");
kobj             1083 drivers/infiniband/core/sysfs.c 		ret = sysfs_create_group(&p->kobj, p->pma_table);
kobj             1095 drivers/infiniband/core/sysfs.c 	ret = sysfs_create_group(&p->kobj, &p->gid_group);
kobj             1107 drivers/infiniband/core/sysfs.c 	ret = sysfs_create_group(&p->gid_attr_group->kobj,
kobj             1120 drivers/infiniband/core/sysfs.c 	ret = sysfs_create_group(&p->gid_attr_group->kobj,
kobj             1133 drivers/infiniband/core/sysfs.c 	ret = sysfs_create_group(&p->kobj, &p->pkey_group);
kobj             1138 drivers/infiniband/core/sysfs.c 		ret = device->ops.init_port(device, port_num, &p->kobj);
kobj             1151 drivers/infiniband/core/sysfs.c 	list_add_tail(&p->kobj.entry, &coredev->port_list);
kobj             1153 drivers/infiniband/core/sysfs.c 	kobject_uevent(&p->kobj, KOBJ_ADD);
kobj             1157 drivers/infiniband/core/sysfs.c 	sysfs_remove_group(&p->kobj, &p->pkey_group);
kobj             1167 drivers/infiniband/core/sysfs.c 	sysfs_remove_group(&p->gid_attr_group->kobj,
kobj             1178 drivers/infiniband/core/sysfs.c 	sysfs_remove_group(&p->gid_attr_group->kobj,
kobj             1189 drivers/infiniband/core/sysfs.c 	sysfs_remove_group(&p->kobj, &p->gid_group);
kobj             1200 drivers/infiniband/core/sysfs.c 		sysfs_remove_group(&p->kobj, p->pma_table);
kobj             1203 drivers/infiniband/core/sysfs.c 	kobject_put(&p->gid_attr_group->kobj);
kobj             1206 drivers/infiniband/core/sysfs.c 	kobject_put(&p->kobj);
kobj             1313 drivers/infiniband/core/sysfs.c 		struct ib_port *port = container_of(p, struct ib_port, kobj);
kobj             1317 drivers/infiniband/core/sysfs.c 			free_hsag(&port->kobj, port->hw_stats_ag);
kobj             1326 drivers/infiniband/core/sysfs.c 		sysfs_remove_group(&port->gid_attr_group->kobj,
kobj             1328 drivers/infiniband/core/sysfs.c 		sysfs_remove_group(&port->gid_attr_group->kobj,
kobj             1330 drivers/infiniband/core/sysfs.c 		kobject_put(&port->gid_attr_group->kobj);
kobj             1344 drivers/infiniband/core/sysfs.c 						     &coredev->dev.kobj);
kobj             1378 drivers/infiniband/core/sysfs.c 		free_hsag(&device->dev.kobj, device->hw_stats_ag);
kobj             1395 drivers/infiniband/core/sysfs.c 				 struct kobject *kobj, struct kobj_type *ktype,
kobj             1402 drivers/infiniband/core/sysfs.c 		struct ib_port *port = container_of(p, struct ib_port, kobj);
kobj             1407 drivers/infiniband/core/sysfs.c 		ret = kobject_init_and_add(kobj, ktype, &port->kobj, "%s",
kobj             1421 drivers/infiniband/core/sysfs.c void ib_port_unregister_module_stat(struct kobject *kobj)
kobj             1423 drivers/infiniband/core/sysfs.c 	kobject_put(kobj);
kobj               73 drivers/infiniband/hw/hfi1/device.c 	kobject_set_name(&cdev->kobj, name);
kobj              212 drivers/infiniband/hw/hfi1/file_ops.c 	kobject_get(&fd->dd->kobj);
kobj              716 drivers/infiniband/hw/hfi1/file_ops.c 	kobject_put(&dd->kobj);
kobj             1699 drivers/infiniband/hw/hfi1/file_ops.c 			     true, &dd->kobj);
kobj             1410 drivers/infiniband/hw/hfi1/hfi.h 	struct kobject kobj;
kobj             2048 drivers/infiniband/hw/hfi1/hfi.h 			   struct kobject *kobj);
kobj             1250 drivers/infiniband/hw/hfi1/init.c static void __hfi1_free_devdata(struct kobject *kobj)
kobj             1253 drivers/infiniband/hw/hfi1/init.c 		container_of(kobj, struct hfi1_devdata, kobj);
kobj             1264 drivers/infiniband/hw/hfi1/init.c 	kobject_put(&dd->kobj);
kobj             1352 drivers/infiniband/hw/hfi1/init.c 	kobject_init(&dd->kobj, &hfi1_devdata_type);
kobj              408 drivers/infiniband/hw/hfi1/sdma.h 	struct kobject kobj;
kobj               60 drivers/infiniband/hw/hfi1/sysfs.c static ssize_t read_cc_table_bin(struct file *filp, struct kobject *kobj,
kobj               66 drivers/infiniband/hw/hfi1/sysfs.c 		container_of(kobj, struct hfi1_pportdata, pport_cc_kobj);
kobj               93 drivers/infiniband/hw/hfi1/sysfs.c static void port_release(struct kobject *kobj)
kobj              109 drivers/infiniband/hw/hfi1/sysfs.c static ssize_t read_cc_setting_bin(struct file *filp, struct kobject *kobj,
kobj              115 drivers/infiniband/hw/hfi1/sysfs.c 		container_of(kobj, struct hfi1_pportdata, pport_cc_kobj);
kobj              171 drivers/infiniband/hw/hfi1/sysfs.c static ssize_t cc_attr_show(struct kobject *kobj, struct attribute *attr,
kobj              177 drivers/infiniband/hw/hfi1/sysfs.c 		container_of(kobj, struct hfi1_pportdata, pport_cc_kobj);
kobj              182 drivers/infiniband/hw/hfi1/sysfs.c static ssize_t cc_attr_store(struct kobject *kobj, struct attribute *attr,
kobj              188 drivers/infiniband/hw/hfi1/sysfs.c 		container_of(kobj, struct hfi1_pportdata, pport_cc_kobj);
kobj              290 drivers/infiniband/hw/hfi1/sysfs.c static ssize_t sc2vl_attr_show(struct kobject *kobj, struct attribute *attr,
kobj              296 drivers/infiniband/hw/hfi1/sysfs.c 		container_of(kobj, struct hfi1_pportdata, sc2vl_kobj);
kobj              395 drivers/infiniband/hw/hfi1/sysfs.c static ssize_t sl2sc_attr_show(struct kobject *kobj, struct attribute *attr,
kobj              401 drivers/infiniband/hw/hfi1/sysfs.c 		container_of(kobj, struct hfi1_pportdata, sl2sc_kobj);
kobj              469 drivers/infiniband/hw/hfi1/sysfs.c static ssize_t vl2mtu_attr_show(struct kobject *kobj, struct attribute *attr,
kobj              475 drivers/infiniband/hw/hfi1/sysfs.c 		container_of(kobj, struct hfi1_pportdata, vl2mtu_kobj);
kobj              657 drivers/infiniband/hw/hfi1/sysfs.c 			   struct kobject *kobj)
kobj              671 drivers/infiniband/hw/hfi1/sysfs.c 	ret = kobject_init_and_add(&ppd->sc2vl_kobj, &hfi1_sc2vl_ktype, kobj,
kobj              685 drivers/infiniband/hw/hfi1/sysfs.c 	ret = kobject_init_and_add(&ppd->sl2sc_kobj, &hfi1_sl2sc_ktype, kobj,
kobj              695 drivers/infiniband/hw/hfi1/sysfs.c 	ret = kobject_init_and_add(&ppd->vl2mtu_kobj, &hfi1_vl2mtu_ktype, kobj,
kobj              706 drivers/infiniband/hw/hfi1/sysfs.c 				   kobj, "CCMgtA");
kobj              758 drivers/infiniband/hw/hfi1/sysfs.c static ssize_t sde_show(struct kobject *kobj, struct attribute *attr, char *buf)
kobj              763 drivers/infiniband/hw/hfi1/sysfs.c 		container_of(kobj, struct sdma_engine, kobj);
kobj              771 drivers/infiniband/hw/hfi1/sysfs.c static ssize_t sde_store(struct kobject *kobj, struct attribute *attr,
kobj              777 drivers/infiniband/hw/hfi1/sysfs.c 		container_of(kobj, struct sdma_engine, kobj);
kobj              843 drivers/infiniband/hw/hfi1/sysfs.c 		ret = kobject_init_and_add(&dd->per_sdma[i].kobj,
kobj              844 drivers/infiniband/hw/hfi1/sysfs.c 					   &sde_ktype, &class_dev->kobj,
kobj              850 drivers/infiniband/hw/hfi1/sysfs.c 			ret = sysfs_create_file(&dd->per_sdma[i].kobj,
kobj              865 drivers/infiniband/hw/hfi1/sysfs.c 		kobject_put(&dd->per_sdma[i].kobj);
kobj              880 drivers/infiniband/hw/hfi1/sysfs.c 		kobject_put(&dd->per_sdma[i].kobj);
kobj              535 drivers/infiniband/hw/mlx4/mlx4_ib.h 	struct kobject *kobj;
kobj              159 drivers/infiniband/hw/mlx4/sysfs.c 	sysfs_remove_file((_dentry)->kobj, &(_dentry)->dentry.attr);	\
kobj              181 drivers/infiniband/hw/mlx4/sysfs.c 	vdentry->kobj = _kobj;
kobj              190 drivers/infiniband/hw/mlx4/sysfs.c 	ret = sysfs_create_file(vdentry->kobj, &vdentry->dentry.attr);
kobj              365 drivers/infiniband/hw/mlx4/sysfs.c 	struct kobject         kobj;
kobj              376 drivers/infiniband/hw/mlx4/sysfs.c static void mlx4_port_release(struct kobject *kobj)
kobj              378 drivers/infiniband/hw/mlx4/sysfs.c 	struct mlx4_port *p = container_of(kobj, struct mlx4_port, kobj);
kobj              398 drivers/infiniband/hw/mlx4/sysfs.c static ssize_t port_attr_show(struct kobject *kobj,
kobj              403 drivers/infiniband/hw/mlx4/sysfs.c 	struct mlx4_port *p = container_of(kobj, struct mlx4_port, kobj);
kobj              410 drivers/infiniband/hw/mlx4/sysfs.c static ssize_t port_attr_store(struct kobject *kobj,
kobj              416 drivers/infiniband/hw/mlx4/sysfs.c 	struct mlx4_port *p = container_of(kobj, struct mlx4_port, kobj);
kobj              603 drivers/infiniband/hw/mlx4/sysfs.c 	ret = sysfs_create_file(&p->kobj, &p->smi_enabled.attr);
kobj              614 drivers/infiniband/hw/mlx4/sysfs.c 	ret = sysfs_create_file(&p->kobj, &p->enable_smi_admin.attr);
kobj              617 drivers/infiniband/hw/mlx4/sysfs.c 		sysfs_remove_file(&p->kobj, &p->smi_enabled.attr);
kobj              631 drivers/infiniband/hw/mlx4/sysfs.c 	sysfs_remove_file(&p->kobj, &p->smi_enabled.attr);
kobj              632 drivers/infiniband/hw/mlx4/sysfs.c 	sysfs_remove_file(&p->kobj, &p->enable_smi_admin.attr);
kobj              651 drivers/infiniband/hw/mlx4/sysfs.c 	ret = kobject_init_and_add(&p->kobj, &port_type,
kobj              667 drivers/infiniband/hw/mlx4/sysfs.c 	ret = sysfs_create_group(&p->kobj, &p->pkey_group);
kobj              678 drivers/infiniband/hw/mlx4/sysfs.c 	ret = sysfs_create_group(&p->kobj, &p->gid_group);
kobj              686 drivers/infiniband/hw/mlx4/sysfs.c 	list_add_tail(&p->kobj.entry, &dev->pkeys.pkey_port_list[slave]);
kobj              750 drivers/infiniband/hw/mlx4/sysfs.c 		mport = container_of(p, struct mlx4_port, kobj);
kobj              795 drivers/infiniband/hw/mlx4/sysfs.c 			port = container_of(p, struct mlx4_port, kobj);
kobj              817 drivers/infiniband/hw/mlx4/sysfs.c 	dev->iov_parent = kobject_create_and_add("iov", &dev->ib_dev.dev.kobj);
kobj             1399 drivers/infiniband/hw/qib/qib.h 			  struct kobject *kobj);
kobj             2276 drivers/infiniband/hw/qib/qib_file_ops.c 	kobject_set_name(&cdev->kobj, name);
kobj              211 drivers/infiniband/hw/qib/qib_sysfs.c static ssize_t read_cc_table_bin(struct file *filp, struct kobject *kobj,
kobj              217 drivers/infiniband/hw/qib/qib_sysfs.c 		container_of(kobj, struct qib_pportdata, pport_cc_kobj);
kobj              241 drivers/infiniband/hw/qib/qib_sysfs.c static void qib_port_release(struct kobject *kobj)
kobj              261 drivers/infiniband/hw/qib/qib_sysfs.c static ssize_t read_cc_setting_bin(struct file *filp, struct kobject *kobj,
kobj              267 drivers/infiniband/hw/qib/qib_sysfs.c 		container_of(kobj, struct qib_pportdata, pport_cc_kobj);
kobj              296 drivers/infiniband/hw/qib/qib_sysfs.c static ssize_t qib_portattr_show(struct kobject *kobj,
kobj              302 drivers/infiniband/hw/qib/qib_sysfs.c 		container_of(kobj, struct qib_pportdata, pport_kobj);
kobj              310 drivers/infiniband/hw/qib/qib_sysfs.c static ssize_t qib_portattr_store(struct kobject *kobj,
kobj              316 drivers/infiniband/hw/qib/qib_sysfs.c 		container_of(kobj, struct qib_pportdata, pport_kobj);
kobj              386 drivers/infiniband/hw/qib/qib_sysfs.c static ssize_t sl2vl_attr_show(struct kobject *kobj, struct attribute *attr,
kobj              392 drivers/infiniband/hw/qib/qib_sysfs.c 		container_of(kobj, struct qib_pportdata, sl2vl_kobj);
kobj              496 drivers/infiniband/hw/qib/qib_sysfs.c static ssize_t diagc_attr_show(struct kobject *kobj, struct attribute *attr,
kobj              502 drivers/infiniband/hw/qib/qib_sysfs.c 		container_of(kobj, struct qib_pportdata, diagc_kobj);
kobj              517 drivers/infiniband/hw/qib/qib_sysfs.c static ssize_t diagc_attr_store(struct kobject *kobj, struct attribute *attr,
kobj              523 drivers/infiniband/hw/qib/qib_sysfs.c 		container_of(kobj, struct qib_pportdata, diagc_kobj);
kobj              742 drivers/infiniband/hw/qib/qib_sysfs.c 			  struct kobject *kobj)
kobj              757 drivers/infiniband/hw/qib/qib_sysfs.c 	ret = kobject_init_and_add(&ppd->pport_kobj, &qib_port_ktype, kobj,
kobj              767 drivers/infiniband/hw/qib/qib_sysfs.c 	ret = kobject_init_and_add(&ppd->sl2vl_kobj, &qib_sl2vl_ktype, kobj,
kobj              777 drivers/infiniband/hw/qib/qib_sysfs.c 	ret = kobject_init_and_add(&ppd->diagc_kobj, &qib_diagc_ktype, kobj,
kobj              791 drivers/infiniband/hw/qib/qib_sysfs.c 				kobj, "CCMgtA");
kobj               65 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.h 	struct kobject				kobj;
kobj              200 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c usnic_ib_qpn_attr_show(struct kobject *kobj, struct attribute *attr, char *buf)
kobj              205 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c 	qp_grp = container_of(kobj, struct usnic_ib_qp_grp, kobj);
kobj              276 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c 	kobject_get(&us_ibdev->ib_dev.dev.kobj);
kobj              278 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c 			&us_ibdev->ib_dev.dev.kobj);
kobj              280 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c 		kobject_put(&us_ibdev->ib_dev.dev.kobj);
kobj              299 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c 	err = kobject_init_and_add(&qp_grp->kobj, &usnic_ib_qpn_type,
kobj              314 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c 	kobject_put(&qp_grp->kobj);
kobj              194 drivers/input/input-poller.c static umode_t input_poller_attrs_visible(struct kobject *kobj,
kobj              197 drivers/input/input-poller.c 	struct device *dev = kobj_to_dev(kobj);
kobj             1034 drivers/input/input.c 		       handler->name, kobject_name(&dev->dev.kobj), error);
kobj             1166 drivers/input/input.c 	const char *path = kobject_get_path(&dev->dev.kobj, GFP_KERNEL);
kobj             2218 drivers/input/input.c 	path = kobject_get_path(&dev->dev.kobj, GFP_KERNEL);
kobj              896 drivers/input/keyboard/atkbd.c 	sysfs_remove_group(&serio->dev.kobj, &atkbd_attribute_group);
kobj             1190 drivers/input/keyboard/atkbd.c 	err = sysfs_create_group(&serio->dev.kobj, &atkbd_attribute_group);
kobj             1204 drivers/input/keyboard/atkbd.c  fail4: sysfs_remove_group(&serio->dev.kobj, &atkbd_attribute_group);
kobj              821 drivers/input/misc/adxl34x.c 	err = sysfs_create_group(&dev->kobj, &adxl34x_attr_group);
kobj              888 drivers/input/misc/adxl34x.c 	sysfs_remove_group(&dev->kobj, &adxl34x_attr_group);
kobj              901 drivers/input/misc/adxl34x.c 	sysfs_remove_group(&ac->dev->kobj, &adxl34x_attr_group);
kobj              864 drivers/input/misc/ati_remote2.c 	r = sysfs_create_group(&udev->dev.kobj, &ati_remote2_attr_group);
kobj              879 drivers/input/misc/ati_remote2.c 	sysfs_remove_group(&udev->dev.kobj, &ati_remote2_attr_group);
kobj              903 drivers/input/misc/ati_remote2.c 	sysfs_remove_group(&ar2->udev->dev.kobj, &ati_remote2_attr_group);
kobj              908 drivers/input/misc/ims-pcu.c 	sysfs_notify(&pcu->dev->kobj, NULL, "update_firmware_status");
kobj             1228 drivers/input/misc/ims-pcu.c static umode_t ims_pcu_is_attr_visible(struct kobject *kobj,
kobj             1231 drivers/input/misc/ims-pcu.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             1897 drivers/input/misc/ims-pcu.c 		error = sysfs_create_group(&pcu->dev->kobj,
kobj             1941 drivers/input/misc/ims-pcu.c 			sysfs_remove_group(&pcu->dev->kobj,
kobj             2035 drivers/input/misc/ims-pcu.c 	error = sysfs_create_group(&intf->dev.kobj, &ims_pcu_attr_group);
kobj             2048 drivers/input/misc/ims-pcu.c 	sysfs_remove_group(&intf->dev.kobj, &ims_pcu_attr_group);
kobj             2074 drivers/input/misc/ims-pcu.c 	sysfs_remove_group(&intf->dev.kobj, &ims_pcu_attr_group);
kobj              559 drivers/input/misc/kxtj9.c 		err = sysfs_create_group(&client->dev.kobj, &kxtj9_attribute_group);
kobj              590 drivers/input/misc/kxtj9.c 		sysfs_remove_group(&client->dev.kobj, &kxtj9_attribute_group);
kobj              845 drivers/input/misc/yealink.c 	sysfs_remove_group(&intf->dev.kobj, &yld_attr_group);
kobj              979 drivers/input/misc/yealink.c 	ret = sysfs_create_group(&intf->dev.kobj, &yld_attr_group);
kobj              824 drivers/input/mouse/cyapa.c 	sysfs_unmerge_group(&cyapa->client->dev.kobj,
kobj              835 drivers/input/mouse/cyapa.c 		error = sysfs_merge_group(&dev->kobj,
kobj              940 drivers/input/mouse/cyapa.c 	sysfs_unmerge_group(&cyapa->client->dev.kobj,
kobj              953 drivers/input/mouse/cyapa.c 	error = sysfs_merge_group(&dev->kobj, &cyapa_power_runtime_group);
kobj             1418 drivers/input/mouse/elantech.c 	sysfs_remove_group(&psmouse->ps2dev.serio->dev.kobj,
kobj             1957 drivers/input/mouse/elantech.c 	error = sysfs_create_group(&psmouse->ps2dev.serio->dev.kobj,
kobj             2008 drivers/input/mouse/elantech.c 	sysfs_remove_group(&psmouse->ps2dev.serio->dev.kobj,
kobj             1484 drivers/input/mouse/psmouse-base.c 	sysfs_remove_group(&serio->dev.kobj, &psmouse_attribute_group);
kobj             1650 drivers/input/mouse/psmouse-base.c 	error = sysfs_create_group(&serio->dev.kobj, &psmouse_attribute_group);
kobj              989 drivers/input/mouse/sentelic.c 	sysfs_remove_group(&psmouse->ps2dev.serio->dev.kobj,
kobj             1053 drivers/input/mouse/sentelic.c 	error = sysfs_create_group(&psmouse->ps2dev.serio->dev.kobj,
kobj              212 drivers/input/mouse/trackpoint.c static umode_t trackpoint_is_attr_visible(struct kobject *kobj,
kobj              215 drivers/input/mouse/trackpoint.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              570 drivers/input/rmi4/rmi_f01.c 	error = sysfs_create_group(&fn->rmi_dev->dev.kobj, &rmi_f01_attr_group);
kobj              580 drivers/input/rmi4/rmi_f01.c 	sysfs_remove_group(&fn->rmi_dev->dev.kobj, &rmi_f01_attr_group);
kobj              593 drivers/input/rmi4/rmi_f34.c 	return sysfs_create_group(&rmi_dev->dev.kobj, &rmi_firmware_attr_group);
kobj              598 drivers/input/rmi4/rmi_f34.c 	sysfs_remove_group(&rmi_dev->dev.kobj, &rmi_firmware_attr_group);
kobj             1864 drivers/input/tablet/aiptek.c 	err = sysfs_create_group(&intf->dev.kobj, &aiptek_attribute_group);
kobj             1881 drivers/input/tablet/aiptek.c  fail4:	sysfs_remove_group(&intf->dev.kobj, &aiptek_attribute_group);
kobj             1906 drivers/input/tablet/aiptek.c 		sysfs_remove_group(&intf->dev.kobj, &aiptek_attribute_group);
kobj              597 drivers/input/touchscreen/ad7877.c static umode_t ad7877_attr_is_visible(struct kobject *kobj,
kobj              480 drivers/input/touchscreen/ads7846.c static umode_t ads7846_is_visible(struct kobject *kobj, struct attribute *attr,
kobj              483 drivers/input/touchscreen/ads7846.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             1438 drivers/input/touchscreen/ads7846.c 	err = sysfs_create_group(&spi->dev.kobj, &ads784x_attr_group);
kobj             1458 drivers/input/touchscreen/ads7846.c 	sysfs_remove_group(&spi->dev.kobj, &ads784x_attr_group);
kobj             1484 drivers/input/touchscreen/ads7846.c 	sysfs_remove_group(&spi->dev.kobj, &ads784x_attr_group);
kobj             3116 drivers/input/touchscreen/atmel_mxt_ts.c 	error = sysfs_create_group(&client->dev.kobj, &mxt_attr_group);
kobj             3136 drivers/input/touchscreen/atmel_mxt_ts.c 	sysfs_remove_group(&client->dev.kobj, &mxt_attr_group);
kobj              338 drivers/input/touchscreen/tsc200x-core.c static umode_t tsc200x_attr_is_visible(struct kobject *kobj,
kobj              341 drivers/input/touchscreen/tsc200x-core.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              555 drivers/input/touchscreen/tsc200x-core.c 	error = sysfs_create_group(&dev->kobj, &tsc200x_attr_group);
kobj              573 drivers/input/touchscreen/tsc200x-core.c 	sysfs_remove_group(&dev->kobj, &tsc200x_attr_group);
kobj              584 drivers/input/touchscreen/tsc200x-core.c 	sysfs_remove_group(&dev->kobj, &tsc200x_attr_group);
kobj              514 drivers/input/touchscreen/usbtouchscreen.c 	ret = sysfs_create_group(&usbtouch->interface->dev.kobj,
kobj              572 drivers/input/touchscreen/usbtouchscreen.c 	sysfs_remove_group(&usbtouch->interface->dev.kobj, &mtouch_attr_group);
kobj               73 drivers/iommu/iommu-sysfs.c 	ret = kobject_set_name_vargs(&iommu->dev->kobj, fmt, vargs);
kobj              110 drivers/iommu/iommu-sysfs.c 	ret = sysfs_add_link_to_group(&iommu->dev->kobj, "devices",
kobj              111 drivers/iommu/iommu-sysfs.c 				      &link->kobj, dev_name(link));
kobj              115 drivers/iommu/iommu-sysfs.c 	ret = sysfs_create_link_nowarn(&link->kobj, &iommu->dev->kobj, "iommu");
kobj              117 drivers/iommu/iommu-sysfs.c 		sysfs_remove_link_from_group(&iommu->dev->kobj, "devices",
kobj              128 drivers/iommu/iommu-sysfs.c 	sysfs_remove_link(&link->kobj, "iommu");
kobj              129 drivers/iommu/iommu-sysfs.c 	sysfs_remove_link_from_group(&iommu->dev->kobj, "devices", dev_name(link));
kobj               35 drivers/iommu/iommu.c 	struct kobject kobj;
kobj               88 drivers/iommu/iommu.c 	container_of(_kobj, struct iommu_group, kobj)
kobj              236 drivers/iommu/iommu.c static ssize_t iommu_group_attr_show(struct kobject *kobj,
kobj              240 drivers/iommu/iommu.c 	struct iommu_group *group = to_iommu_group(kobj);
kobj              248 drivers/iommu/iommu.c static ssize_t iommu_group_attr_store(struct kobject *kobj,
kobj              253 drivers/iommu/iommu.c 	struct iommu_group *group = to_iommu_group(kobj);
kobj              269 drivers/iommu/iommu.c 	return sysfs_create_file(&group->kobj, &attr->attr);
kobj              275 drivers/iommu/iommu.c 	sysfs_remove_file(&group->kobj, &attr->attr);
kobj              436 drivers/iommu/iommu.c static void iommu_group_release(struct kobject *kobj)
kobj              438 drivers/iommu/iommu.c 	struct iommu_group *group = to_iommu_group(kobj);
kobj              479 drivers/iommu/iommu.c 	group->kobj.kset = iommu_group_kset;
kobj              491 drivers/iommu/iommu.c 	ret = kobject_init_and_add(&group->kobj, &iommu_group_ktype,
kobj              495 drivers/iommu/iommu.c 		kobject_put(&group->kobj);
kobj              499 drivers/iommu/iommu.c 	group->devices_kobj = kobject_create_and_add("devices", &group->kobj);
kobj              501 drivers/iommu/iommu.c 		kobject_put(&group->kobj); /* triggers .release & free */
kobj              510 drivers/iommu/iommu.c 	kobject_put(&group->kobj);
kobj              546 drivers/iommu/iommu.c 	group = container_of(group_kobj, struct iommu_group, kobj);
kobj              550 drivers/iommu/iommu.c 	kobject_put(&group->kobj);
kobj              697 drivers/iommu/iommu.c 	ret = sysfs_create_link(&dev->kobj, &group->kobj, "iommu_group");
kobj              701 drivers/iommu/iommu.c 	device->name = kasprintf(GFP_KERNEL, "%s", kobject_name(&dev->kobj));
kobj              709 drivers/iommu/iommu.c 				       &dev->kobj, device->name);
kobj              718 drivers/iommu/iommu.c 						 kobject_name(&dev->kobj), i++);
kobj              758 drivers/iommu/iommu.c 	sysfs_remove_link(&dev->kobj, "iommu_group");
kobj              798 drivers/iommu/iommu.c 	sysfs_remove_link(&dev->kobj, "iommu_group");
kobj              131 drivers/leds/led-class.c 		sysfs_get_dirent(dev->kobj.sd, "brightness_hw_changed");
kobj              156 drivers/leds/led-triggers.c 		if (kobject_uevent_env(&led_cdev->dev->kobj, KOBJ_CHANGE, envp))
kobj              428 drivers/leds/leds-aat1290.c 	strlcpy(v4l2_sd_cfg->dev_name, led_cdev->dev->kobj.name,
kobj              652 drivers/leds/leds-as3645a.c 	strlcpy(cfg.dev_name, led->dev->kobj.name, sizeof(cfg.dev_name));
kobj              653 drivers/leds/leds-as3645a.c 	strlcpy(cfgind.dev_name, flash->iled_cdev.dev->kobj.name,
kobj              596 drivers/leds/leds-blinkm.c 	err = sysfs_create_group(&client->dev.kobj, &blinkm_group);
kobj              676 drivers/leds/leds-blinkm.c 	sysfs_remove_group(&client->dev.kobj, &blinkm_group);
kobj              719 drivers/leds/leds-blinkm.c 	sysfs_remove_group(&client->dev.kobj, &blinkm_group);
kobj              196 drivers/leds/leds-gpio.c 					led_dat->cdev.dev->kobj.name);
kobj              608 drivers/leds/leds-lm3533.c static umode_t lm3533_led_attr_is_visible(struct kobject *kobj,
kobj              611 drivers/leds/leds-lm3533.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              519 drivers/leds/leds-lp55xx-common.c 	ret = sysfs_create_group(&dev->kobj, &lp55xx_engine_attr_group);
kobj              525 drivers/leds/leds-lp55xx-common.c 		sysfs_create_group(&dev->kobj, cfg->dev_attr_group) : 0;
kobj              535 drivers/leds/leds-lp55xx-common.c 		sysfs_remove_group(&dev->kobj, cfg->dev_attr_group);
kobj              537 drivers/leds/leds-lp55xx-common.c 	sysfs_remove_group(&dev->kobj, &lp55xx_engine_attr_group);
kobj              331 drivers/leds/trigger/ledtrig-pattern.c static umode_t pattern_trig_attrs_mode(struct kobject *kobj,
kobj              334 drivers/leds/trigger/ledtrig-pattern.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              641 drivers/lightnvm/pblk-sysfs.c static ssize_t pblk_sysfs_show(struct kobject *kobj, struct attribute *attr,
kobj              644 drivers/lightnvm/pblk-sysfs.c 	struct pblk *pblk = container_of(kobj, struct pblk, kobj);
kobj              677 drivers/lightnvm/pblk-sysfs.c static ssize_t pblk_sysfs_store(struct kobject *kobj, struct attribute *attr,
kobj              680 drivers/lightnvm/pblk-sysfs.c 	struct pblk *pblk = container_of(kobj, struct pblk, kobj);
kobj              709 drivers/lightnvm/pblk-sysfs.c 	ret = kobject_init_and_add(&pblk->kobj, &pblk_ktype,
kobj              710 drivers/lightnvm/pblk-sysfs.c 					kobject_get(&parent_dev->kobj),
kobj              717 drivers/lightnvm/pblk-sysfs.c 	kobject_uevent(&pblk->kobj, KOBJ_ADD);
kobj              725 drivers/lightnvm/pblk-sysfs.c 	kobject_uevent(&pblk->kobj, KOBJ_REMOVE);
kobj              726 drivers/lightnvm/pblk-sysfs.c 	kobject_del(&pblk->kobj);
kobj              727 drivers/lightnvm/pblk-sysfs.c 	kobject_put(&pblk->kobj);
kobj              596 drivers/lightnvm/pblk.h 	struct kobject kobj;
kobj              398 drivers/macintosh/macio_asic.c 	       dev, &dev->ofdev, &dev->ofdev.dev, &dev->ofdev.dev.kobj);
kobj              252 drivers/md/bcache/bcache.h 	struct kobject		kobj;
kobj              412 drivers/md/bcache/bcache.h 	struct kobject		kobj;
kobj              509 drivers/md/bcache/bcache.h 	struct kobject		kobj;
kobj              997 drivers/md/bcache/bcache.h void bch_cached_dev_release(struct kobject *kobj);
kobj              998 drivers/md/bcache/bcache.h void bch_flash_dev_release(struct kobject *kobj);
kobj              999 drivers/md/bcache/bcache.h void bch_cache_set_release(struct kobject *kobj);
kobj             1000 drivers/md/bcache/bcache.h void bch_cache_release(struct kobject *kobj);
kobj               56 drivers/md/bcache/stats.c 		container_of(kobj, struct cache_stats, kobj);
kobj               99 drivers/md/bcache/stats.c 	int ret = kobject_add(&acc->total.kobj, parent,
kobj              101 drivers/md/bcache/stats.c 	ret = ret ?: kobject_add(&acc->five_minute.kobj, parent,
kobj              103 drivers/md/bcache/stats.c 	ret = ret ?: kobject_add(&acc->hour.kobj, parent,
kobj              105 drivers/md/bcache/stats.c 	ret = ret ?: kobject_add(&acc->day.kobj, parent,
kobj              123 drivers/md/bcache/stats.c 	kobject_put(&acc->total.kobj);
kobj              124 drivers/md/bcache/stats.c 	kobject_put(&acc->five_minute.kobj);
kobj              125 drivers/md/bcache/stats.c 	kobject_put(&acc->hour.kobj);
kobj              126 drivers/md/bcache/stats.c 	kobject_put(&acc->day.kobj);
kobj              238 drivers/md/bcache/stats.c 	kobject_init(&acc->total.kobj,		&bch_stats_ktype);
kobj              239 drivers/md/bcache/stats.c 	kobject_init(&acc->five_minute.kobj,	&bch_stats_ktype);
kobj              240 drivers/md/bcache/stats.c 	kobject_init(&acc->hour.kobj,		&bch_stats_ktype);
kobj              241 drivers/md/bcache/stats.c 	kobject_init(&acc->day.kobj,		&bch_stats_ktype);
kobj               16 drivers/md/bcache/stats.h 	struct kobject		kobj;
kobj              700 drivers/md/bcache/super.c 		sysfs_remove_link(&d->c->kobj, d->name);
kobj              701 drivers/md/bcache/super.c 		sysfs_remove_link(&d->kobj, "cache");
kobj              721 drivers/md/bcache/super.c 	ret = sysfs_create_link(&d->kobj, &c->kobj, "cache");
kobj              725 drivers/md/bcache/super.c 	ret = sysfs_create_link(&c->kobj, &d->kobj, d->name);
kobj              989 drivers/md/bcache/super.c 	kobject_uevent_env(&disk_to_dev(d->disk)->kobj, KOBJ_CHANGE, env);
kobj              994 drivers/md/bcache/super.c 	if (sysfs_create_link(&d->kobj, &disk_to_dev(d->disk)->kobj, "dev") ||
kobj              995 drivers/md/bcache/super.c 	    sysfs_create_link(&disk_to_dev(d->disk)->kobj,
kobj              996 drivers/md/bcache/super.c 			      &d->kobj, "bcache")) {
kobj             1248 drivers/md/bcache/super.c void bch_cached_dev_release(struct kobject *kobj)
kobj             1250 drivers/md/bcache/super.c 	struct cached_dev *dc = container_of(kobj, struct cached_dev,
kobj             1251 drivers/md/bcache/super.c 					     disk.kobj);
kobj             1285 drivers/md/bcache/super.c 	kobject_put(&dc->disk.kobj);
kobj             1298 drivers/md/bcache/super.c 	kobject_del(&d->kobj);
kobj             1313 drivers/md/bcache/super.c 	kobject_init(&dc->disk.kobj, &bch_cached_dev_ktype);
kobj             1377 drivers/md/bcache/super.c 	if (kobject_add(&dc->disk.kobj, &part_to_dev(bdev->bd_part)->kobj,
kobj             1380 drivers/md/bcache/super.c 	if (bch_cache_accounting_add_kobjs(&dc->accounting, &dc->disk.kobj))
kobj             1408 drivers/md/bcache/super.c void bch_flash_dev_release(struct kobject *kobj)
kobj             1410 drivers/md/bcache/super.c 	struct bcache_device *d = container_of(kobj, struct bcache_device,
kobj             1411 drivers/md/bcache/super.c 					       kobj);
kobj             1424 drivers/md/bcache/super.c 	kobject_put(&d->kobj);
kobj             1434 drivers/md/bcache/super.c 	kobject_del(&d->kobj);
kobj             1448 drivers/md/bcache/super.c 	kobject_init(&d->kobj, &bch_flash_dev_ktype);
kobj             1458 drivers/md/bcache/super.c 	if (kobject_add(&d->kobj, &disk_to_dev(d->disk)->kobj, "bcache"))
kobj             1465 drivers/md/bcache/super.c 	kobject_put(&d->kobj);
kobj             1562 drivers/md/bcache/super.c void bch_cache_set_release(struct kobject *kobj)
kobj             1564 drivers/md/bcache/super.c 	struct cache_set *c = container_of(kobj, struct cache_set, kobj);
kobj             1587 drivers/md/bcache/super.c 			kobject_put(&ca->kobj);
kobj             1608 drivers/md/bcache/super.c 	kobject_put(&c->kobj);
kobj             1621 drivers/md/bcache/super.c 	kobject_del(&c->kobj);
kobj             1775 drivers/md/bcache/super.c 	kobject_init(&c->kobj, &bch_cache_set_ktype);
kobj             2075 drivers/md/bcache/super.c 	if (kobject_add(&c->kobj, bcache_kobj, "%pU", c->sb.set_uuid) ||
kobj             2076 drivers/md/bcache/super.c 	    kobject_add(&c->internal, &c->kobj, "internal"))
kobj             2079 drivers/md/bcache/super.c 	if (bch_cache_accounting_add_kobjs(&c->accounting, &c->kobj))
kobj             2087 drivers/md/bcache/super.c 	if (sysfs_create_link(&ca->kobj, &c->kobj, "set") ||
kobj             2088 drivers/md/bcache/super.c 	    sysfs_create_link(&c->kobj, &ca->kobj, buf))
kobj             2099 drivers/md/bcache/super.c 	kobject_get(&ca->kobj);
kobj             2119 drivers/md/bcache/super.c void bch_cache_release(struct kobject *kobj)
kobj             2121 drivers/md/bcache/super.c 	struct cache *ca = container_of(kobj, struct cache, kobj);
kobj             2158 drivers/md/bcache/super.c 	kobject_init(&ca->kobj, &bch_cache_ktype);
kobj             2298 drivers/md/bcache/super.c 	if (kobject_add(&ca->kobj,
kobj             2299 drivers/md/bcache/super.c 			&part_to_dev(bdev->bd_part)->kobj,
kobj             2318 drivers/md/bcache/super.c 	kobject_put(&ca->kobj);
kobj              165 drivers/md/bcache/sysfs.c 	struct cached_dev *dc = container_of(kobj, struct cached_dev,
kobj              166 drivers/md/bcache/sysfs.c 					     disk.kobj);
kobj              282 drivers/md/bcache/sysfs.c 	struct cached_dev *dc = container_of(kobj, struct cached_dev,
kobj              283 drivers/md/bcache/sysfs.c 					     disk.kobj);
kobj              404 drivers/md/bcache/sysfs.c 		kobject_uevent_env(&disk_to_dev(dc->disk.disk)->kobj,
kobj              438 drivers/md/bcache/sysfs.c 	struct cached_dev *dc = container_of(kobj, struct cached_dev,
kobj              439 drivers/md/bcache/sysfs.c 					     disk.kobj);
kobj              446 drivers/md/bcache/sysfs.c 	size = __cached_dev_store(kobj, attr, buf, size);
kobj              526 drivers/md/bcache/sysfs.c 	struct bcache_device *d = container_of(kobj, struct bcache_device,
kobj              527 drivers/md/bcache/sysfs.c 					       kobj);
kobj              545 drivers/md/bcache/sysfs.c 	struct bcache_device *d = container_of(kobj, struct bcache_device,
kobj              546 drivers/md/bcache/sysfs.c 					       kobj);
kobj              707 drivers/md/bcache/sysfs.c 	struct cache_set *c = container_of(kobj, struct cache_set, kobj);
kobj              785 drivers/md/bcache/sysfs.c 	struct cache_set *c = container_of(kobj, struct cache_set, kobj);
kobj              902 drivers/md/bcache/sysfs.c 	struct cache_set *c = container_of(kobj, struct cache_set, internal);
kobj              904 drivers/md/bcache/sysfs.c 	return bch_cache_set_show(&c->kobj, attr, buf);
kobj              909 drivers/md/bcache/sysfs.c 	struct cache_set *c = container_of(kobj, struct cache_set, internal);
kobj              915 drivers/md/bcache/sysfs.c 	return bch_cache_set_store(&c->kobj, attr, buf, size);
kobj              995 drivers/md/bcache/sysfs.c 	struct cache *ca = container_of(kobj, struct cache, kobj);
kobj             1098 drivers/md/bcache/sysfs.c 	struct cache *ca = container_of(kobj, struct cache, kobj);
kobj               16 drivers/md/bcache/sysfs.h static ssize_t fn ## _show(struct kobject *kobj, struct attribute *attr,\
kobj               20 drivers/md/bcache/sysfs.h static ssize_t fn ## _store(struct kobject *kobj, struct attribute *attr,\
kobj               28 drivers/md/bcache/sysfs.h 	ret = __ ## fn ## _show(kobj, attr, buf);			\
kobj               38 drivers/md/bcache/sysfs.h 	ret = __ ## fn ## _store(kobj, attr, buf, size);		\
kobj               44 drivers/md/dm-builtin.c void dm_kobject_release(struct kobject *kobj)
kobj               46 drivers/md/dm-builtin.c 	complete(dm_get_completion_from_kobject(kobj));
kobj               23 drivers/md/dm-core.h 	struct kobject kobj;
kobj              122 drivers/md/dm-core.h static inline struct completion *dm_get_completion_from_kobject(struct kobject *kobj)
kobj              124 drivers/md/dm-core.h 	return &container_of(kobj, struct dm_kobject_holder, kobj)->completion;
kobj               22 drivers/md/dm-sysfs.c static ssize_t dm_attr_show(struct kobject *kobj, struct attribute *attr,
kobj               33 drivers/md/dm-sysfs.c 	md = dm_get_from_kobject(kobj);
kobj               47 drivers/md/dm-sysfs.c static ssize_t dm_attr_store(struct kobject *kobj, struct attribute *attr,
kobj               58 drivers/md/dm-sysfs.c 	md = dm_get_from_kobject(kobj);
kobj              134 drivers/md/dm-sysfs.c 				    &disk_to_dev(dm_disk(md))->kobj,
kobj              143 drivers/md/dm-sysfs.c 	struct kobject *kobj = dm_kobject(md);
kobj              144 drivers/md/dm-sysfs.c 	kobject_put(kobj);
kobj              145 drivers/md/dm-sysfs.c 	wait_for_completion(dm_get_completion_from_kobject(kobj));
kobj              121 drivers/md/dm-uevent.c void dm_send_uevents(struct list_head *events, struct kobject *kobj)
kobj              152 drivers/md/dm-uevent.c 		r = kobject_uevent_env(kobj, event->action, event->ku_env.envp);
kobj               20 drivers/md/dm-uevent.h extern void dm_send_uevents(struct list_head *events, struct kobject *kobj);
kobj               35 drivers/md/dm-uevent.h 				   struct kobject *kobj)
kobj              248 drivers/md/dm-verity-target.c 	kobject_uevent_env(&disk_to_dev(dm_disk(md))->kobj, KOBJ_CHANGE, envp);
kobj             2103 drivers/md/dm.c 	dm_send_uevents(&uevents, &disk_to_dev(md->disk)->kobj);
kobj             2893 drivers/md/dm.c 		return kobject_uevent(&disk_to_dev(md->disk)->kobj, action);
kobj             2897 drivers/md/dm.c 		return kobject_uevent_env(&disk_to_dev(md->disk)->kobj,
kobj             2939 drivers/md/dm.c 	return &md->kobj_holder.kobj;
kobj             2942 drivers/md/dm.c struct mapped_device *dm_get_from_kobject(struct kobject *kobj)
kobj             2946 drivers/md/dm.c 	md = container_of(kobj, struct mapped_device, kobj_holder.kobj);
kobj              158 drivers/md/dm.h struct mapped_device *dm_get_from_kobject(struct kobject *kobj);
kobj              163 drivers/md/dm.h void dm_kobject_release(struct kobject *kobj);
kobj             1639 drivers/md/md-bitmap.c 	sysfs_notify(&bitmap->mddev->kobj, NULL, "sync_completed");
kobj             1843 drivers/md/md-bitmap.c 	if (mddev->kobj.sd)
kobj             1844 drivers/md/md-bitmap.c 		bm = sysfs_get_dirent(mddev->kobj.sd, "bitmap");
kobj              519 drivers/md/md-cluster.c 	kobject_uevent_env(&disk_to_dev(mddev->gendisk)->kobj, KOBJ_CHANGE, envp);
kobj              624 drivers/md/md.c 	kobject_init(&mddev->kobj, &md_ktype);
kobj              743 drivers/md/md.c 		if (mddev->kobj.sd) {
kobj              745 drivers/md/md.c 				sysfs_remove_group(&mddev->kobj, to_remove);
kobj              748 drivers/md/md.c 				sysfs_remove_group(&mddev->kobj, &md_redundancy_group);
kobj             2342 drivers/md/md.c 	if ((err = kobject_add(&rdev->kobj, &mddev->kobj, "dev-%s", b)))
kobj             2345 drivers/md/md.c 	ko = &part_to_dev(rdev->bdev->bd_part)->kobj;
kobj             2346 drivers/md/md.c 	if (sysfs_create_link(&rdev->kobj, ko, "block"))
kobj             2348 drivers/md/md.c 	rdev->sysfs_state = sysfs_get_dirent_safe(rdev->kobj.sd, "state");
kobj             2367 drivers/md/md.c 	kobject_del(&rdev->kobj);
kobj             2368 drivers/md/md.c 	kobject_put(&rdev->kobj);
kobj             2380 drivers/md/md.c 	sysfs_remove_link(&rdev->kobj, "block");
kobj             2390 drivers/md/md.c 	kobject_get(&rdev->kobj);
kobj             2435 drivers/md/md.c 	kobject_put(&rdev->kobj);
kobj             2727 drivers/md/md.c 		sysfs_notify(&mddev->kobj, NULL, "sync_completed");
kobj             3483 drivers/md/md.c rdev_attr_show(struct kobject *kobj, struct attribute *attr, char *page)
kobj             3486 drivers/md/md.c 	struct md_rdev *rdev = container_of(kobj, struct md_rdev, kobj);
kobj             3496 drivers/md/md.c rdev_attr_store(struct kobject *kobj, struct attribute *attr,
kobj             3500 drivers/md/md.c 	struct md_rdev *rdev = container_of(kobj, struct md_rdev, kobj);
kobj             3521 drivers/md/md.c 	struct md_rdev *rdev = container_of(ko, struct md_rdev, kobj);
kobj             3592 drivers/md/md.c 	kobject_init(&rdev->kobj, &rdev_ktype);
kobj             3930 drivers/md/md.c 		if (sysfs_create_group(&mddev->kobj, &md_redundancy_group))
kobj             3933 drivers/md/md.c 		mddev->sysfs_action = sysfs_get_dirent(mddev->kobj.sd, "sync_action");
kobj             3981 drivers/md/md.c 	sysfs_notify(&mddev->kobj, NULL, "level");
kobj             4720 drivers/md/md.c 		sysfs_notify(&mddev->kobj, NULL, "degraded");
kobj             5323 drivers/md/md.c md_attr_show(struct kobject *kobj, struct attribute *attr, char *page)
kobj             5326 drivers/md/md.c 	struct mddev *mddev = container_of(kobj, struct mddev, kobj);
kobj             5345 drivers/md/md.c md_attr_store(struct kobject *kobj, struct attribute *attr,
kobj             5349 drivers/md/md.c 	struct mddev *mddev = container_of(kobj, struct mddev, kobj);
kobj             5370 drivers/md/md.c 	struct mddev *mddev = container_of(ko, struct mddev, kobj);
kobj             5404 drivers/md/md.c 	sysfs_remove_group(&mddev->kobj, &md_bitmap_group);
kobj             5405 drivers/md/md.c 	kobject_del(&mddev->kobj);
kobj             5406 drivers/md/md.c 	kobject_put(&mddev->kobj);
kobj             5519 drivers/md/md.c 	error = kobject_add(&mddev->kobj, &disk_to_dev(disk)->kobj, "%s", "md");
kobj             5528 drivers/md/md.c 	if (mddev->kobj.sd &&
kobj             5529 drivers/md/md.c 	    sysfs_create_group(&mddev->kobj, &md_bitmap_group))
kobj             5534 drivers/md/md.c 	if (!error && mddev->kobj.sd) {
kobj             5535 drivers/md/md.c 		kobject_uevent(&mddev->kobj, KOBJ_ADD);
kobj             5536 drivers/md/md.c 		mddev->sysfs_state = sysfs_get_dirent_safe(mddev->kobj.sd, "array_state");
kobj             5810 drivers/md/md.c 		if (mddev->kobj.sd &&
kobj             5811 drivers/md/md.c 		    sysfs_create_group(&mddev->kobj, &md_redundancy_group))
kobj             5814 drivers/md/md.c 		mddev->sysfs_action = sysfs_get_dirent_safe(mddev->kobj.sd, "sync_action");
kobj             5888 drivers/md/md.c 	kobject_uevent(&disk_to_dev(mddev->gendisk)->kobj, KOBJ_CHANGE);
kobj             5891 drivers/md/md.c 	sysfs_notify(&mddev->kobj, NULL, "degraded");
kobj             8607 drivers/md/md.c 	sysfs_notify(&mddev->kobj, NULL, "sync_completed");
kobj             8635 drivers/md/md.c 			sysfs_notify(&mddev->kobj, NULL, "sync_completed");
kobj             8742 drivers/md/md.c 		sysfs_notify(&mddev->kobj, NULL, "sync_completed");
kobj             8871 drivers/md/md.c 	if (removed && mddev->kobj.sd)
kobj             8872 drivers/md/md.c 		sysfs_notify(&mddev->kobj, NULL, "degraded");
kobj             9156 drivers/md/md.c 			sysfs_notify(&mddev->kobj, NULL,
kobj             9247 drivers/md/md.c 			sysfs_notify(&rdev->kobj, NULL,
kobj             9269 drivers/md/md.c 		sysfs_notify(&rdev->kobj, NULL, "bad_blocks");
kobj             9493 drivers/md/md.c 		sysfs_notify(&mddev->kobj, NULL, "degraded");
kobj               62 drivers/md/md.h 	struct kobject	kobj;
kobj              292 drivers/md/md.h 	struct kobject			kobj;
kobj              628 drivers/md/md.h 	    mddev->kobj.sd) {
kobj              630 drivers/md/md.h 		return sysfs_create_link(&mddev->kobj, &rdev->kobj, nm);
kobj              640 drivers/md/md.h 	    mddev->kobj.sd) {
kobj              642 drivers/md/md.h 		sysfs_remove_link(&mddev->kobj, nm);
kobj             4457 drivers/md/raid10.c 			sysfs_notify(&mddev->kobj, NULL, "sync_completed");
kobj             5795 drivers/md/raid5.c 			sysfs_notify(&mddev->kobj, NULL, "sync_completed");
kobj             5909 drivers/md/raid5.c 		sysfs_notify(&mddev->kobj, NULL, "sync_completed");
kobj             6016 drivers/md/raid5.c 		sysfs_notify(&mddev->kobj, NULL, "sync_completed");
kobj             7418 drivers/md/raid5.c 	else if (mddev->kobj.sd &&
kobj             7419 drivers/md/raid5.c 	    sysfs_create_group(&mddev->kobj, &raid5_attrs_group))
kobj              129 drivers/media/cec/cec-core.c 	kobject_set_name(&devnode->cdev.kobj, "cec%d", devnode->minor);
kobj              246 drivers/media/mc/mc-devnode.c 	kobject_set_name(&devnode->cdev.kobj, "media%d", devnode->minor);
kobj              367 drivers/media/pci/solo6x10/solo6x10-core.c static ssize_t sdram_show(struct file *file, struct kobject *kobj,
kobj              371 drivers/media/pci/solo6x10/solo6x10-core.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             2339 drivers/media/rc/imon.c 	ret = sysfs_create_group(&intf->dev.kobj, &imon_display_attr_group);
kobj             2422 drivers/media/rc/imon.c 			sysfs_err = sysfs_create_group(&interface->dev.kobj,
kobj             2472 drivers/media/rc/imon.c 	sysfs_remove_group(&interface->dev.kobj, &imon_display_attr_group);
kobj             2473 drivers/media/rc/imon.c 	sysfs_remove_group(&interface->dev.kobj, &imon_rf_attr_group);
kobj             1887 drivers/media/rc/rc-main.c 	path = kobject_get_path(&dev->dev.kobj, GFP_KERNEL);
kobj              395 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	ret = sysfs_create_group(&sfp->class_dev->kobj,&cip->grp);
kobj              482 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 			sysfs_remove_group(&sfp->class_dev->kobj,&cip1->grp);
kobj              860 drivers/memory/brcmstb_dpfe.c 	ret = sysfs_create_groups(&pdev->dev.kobj, priv->dpfe_api->sysfs_attrs);
kobj              872 drivers/memory/brcmstb_dpfe.c 	sysfs_remove_groups(&pdev->dev.kobj, priv->dpfe_api->sysfs_attrs);
kobj             1301 drivers/memstick/core/mspro_block.c 	rc = sysfs_create_group(&card->dev.kobj, &msb->attr_group);
kobj             1313 drivers/memstick/core/mspro_block.c 	sysfs_remove_group(&card->dev.kobj, &msb->attr_group);
kobj             1338 drivers/memstick/core/mspro_block.c 	sysfs_remove_group(&card->dev.kobj, &msb->attr_group);
kobj             1314 drivers/mfd/ab8500-core.c 		ret = sysfs_create_group(&ab8500->dev->kobj,
kobj             1317 drivers/mfd/ab8500-core.c 		ret = sysfs_create_group(&ab8500->dev->kobj,
kobj             1322 drivers/mfd/ab8500-core.c 		ret = sysfs_create_group(&ab8500->dev->kobj,
kobj             1264 drivers/mfd/ab8500-debugfs.c 	struct kobject *kobj = (struct kobject *)data;
kobj             1274 drivers/mfd/ab8500-debugfs.c 	sysfs_notify(kobj, NULL, buf);
kobj             2530 drivers/mfd/ab8500-debugfs.c 	err = sysfs_create_file(&dev->kobj, &dev_attr[irq_index]->attr);
kobj             2538 drivers/mfd/ab8500-debugfs.c 				   "ab8500-debug", &dev->kobj);
kobj             2542 drivers/mfd/ab8500-debugfs.c 		sysfs_remove_file(&dev->kobj, &dev_attr[irq_index]->attr);
kobj             2579 drivers/mfd/ab8500-debugfs.c 		sysfs_remove_file(&dev->kobj, &dev_attr[irq_index]->attr);
kobj             2582 drivers/mfd/ab8500-debugfs.c 	free_irq(user_val, &dev->kobj);
kobj              556 drivers/mfd/intel_soc_pmic_bxtwc.c 	ret = sysfs_create_group(&pdev->dev.kobj, &bxtwc_group);
kobj              577 drivers/mfd/intel_soc_pmic_bxtwc.c 	sysfs_remove_group(&pdev->dev.kobj, &bxtwc_group);
kobj              214 drivers/mfd/janz-cmodio.c 	ret = sysfs_create_group(&dev->dev.kobj, &cmodio_sysfs_attr_group);
kobj              236 drivers/mfd/janz-cmodio.c 	sysfs_remove_group(&dev->dev.kobj, &cmodio_sysfs_attr_group);
kobj              252 drivers/mfd/janz-cmodio.c 	sysfs_remove_group(&dev->dev.kobj, &cmodio_sysfs_attr_group);
kobj              426 drivers/mfd/kempld-core.c 	ret = sysfs_create_group(&pld->dev->kobj, &pld_attr_group);
kobj              432 drivers/mfd/kempld-core.c 		sysfs_remove_group(&pld->dev->kobj, &pld_attr_group);
kobj              474 drivers/mfd/kempld-core.c 	sysfs_remove_group(&pld->dev->kobj, &pld_attr_group);
kobj              358 drivers/mfd/lm3533-core.c static umode_t lm3533_attr_is_visible(struct kobject *kobj,
kobj              361 drivers/mfd/lm3533-core.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              511 drivers/mfd/lm3533-core.c 	ret = sysfs_create_group(&lm3533->dev->kobj, &lm3533_attribute_group);
kobj              531 drivers/mfd/lm3533-core.c 	sysfs_remove_group(&lm3533->dev->kobj, &lm3533_attribute_group);
kobj              258 drivers/mfd/pcf50633-core.c 	ret = sysfs_create_group(&client->dev.kobj, &pcf_attr_group);
kobj              281 drivers/mfd/pcf50633-core.c 	sysfs_remove_group(&client->dev.kobj, &pcf_attr_group);
kobj              638 drivers/misc/ad525x_dpot.c 	int err = sysfs_create_file(&dev->kobj,
kobj              641 drivers/misc/ad525x_dpot.c 		err |= sysfs_create_file(&dev->kobj,
kobj              644 drivers/misc/ad525x_dpot.c 		err |= sysfs_create_file(&dev->kobj,
kobj              647 drivers/misc/ad525x_dpot.c 		err |= sysfs_create_file(&dev->kobj,
kobj              649 drivers/misc/ad525x_dpot.c 		err |= sysfs_create_file(&dev->kobj,
kobj              663 drivers/misc/ad525x_dpot.c 	sysfs_remove_file(&dev->kobj,
kobj              666 drivers/misc/ad525x_dpot.c 		sysfs_remove_file(&dev->kobj,
kobj              669 drivers/misc/ad525x_dpot.c 		sysfs_remove_file(&dev->kobj,
kobj              672 drivers/misc/ad525x_dpot.c 		sysfs_remove_file(&dev->kobj,
kobj              674 drivers/misc/ad525x_dpot.c 		sysfs_remove_file(&dev->kobj,
kobj              716 drivers/misc/ad525x_dpot.c 		err = sysfs_create_group(&dev->kobj, &ad525x_group_commands);
kobj              227 drivers/misc/apds9802als.c 	res = sysfs_create_group(&client->dev.kobj, &m_als_gr);
kobj              252 drivers/misc/apds9802als.c 	sysfs_remove_group(&client->dev.kobj, &m_als_gr);
kobj              501 drivers/misc/apds990x.c 				sysfs_notify(&chip->client->dev.kobj,
kobj              528 drivers/misc/apds990x.c 			sysfs_notify(&chip->client->dev.kobj,
kobj             1155 drivers/misc/apds990x.c 	err = sysfs_create_group(&chip->client->dev.kobj,
kobj             1174 drivers/misc/apds990x.c 	sysfs_remove_group(&chip->client->dev.kobj,
kobj             1193 drivers/misc/apds990x.c 	sysfs_remove_group(&chip->client->dev.kobj,
kobj              499 drivers/misc/bh1770glc.c 		sysfs_notify(&chip->client->dev.kobj, NULL, "prox0_raw");
kobj              600 drivers/misc/bh1770glc.c 		sysfs_notify(&chip->client->dev.kobj, NULL, "lux0_input");
kobj             1248 drivers/misc/bh1770glc.c 	err = sysfs_create_group(&chip->client->dev.kobj,
kobj             1273 drivers/misc/bh1770glc.c 	sysfs_remove_group(&chip->client->dev.kobj,
kobj             1289 drivers/misc/bh1770glc.c 	sysfs_remove_group(&chip->client->dev.kobj,
kobj              716 drivers/misc/c2port/core.c static ssize_t c2port_read_flash_data(struct file *filp, struct kobject *kobj,
kobj              720 drivers/misc/c2port/core.c 	struct c2port_device *c2dev = dev_get_drvdata(kobj_to_dev(kobj));
kobj              831 drivers/misc/c2port/core.c static ssize_t c2port_write_flash_data(struct file *filp, struct kobject *kobj,
kobj              835 drivers/misc/c2port/core.c 	struct c2port_device *c2dev = dev_get_drvdata(kobj_to_dev(kobj));
kobj              446 drivers/misc/cxl/sysfs.c static ssize_t afu_eb_read(struct file *filp, struct kobject *kobj,
kobj              450 drivers/misc/cxl/sysfs.c 	struct cxl_afu *afu = to_cxl_afu(kobj_to_dev(kobj));
kobj              505 drivers/misc/cxl/sysfs.c 	struct kobject kobj;
kobj              514 drivers/misc/cxl/sysfs.c #define to_cr(obj) container_of(obj, struct afu_config_record, kobj)
kobj              516 drivers/misc/cxl/sysfs.c static ssize_t vendor_show(struct kobject *kobj,
kobj              519 drivers/misc/cxl/sysfs.c 	struct afu_config_record *cr = to_cr(kobj);
kobj              524 drivers/misc/cxl/sysfs.c static ssize_t device_show(struct kobject *kobj,
kobj              527 drivers/misc/cxl/sysfs.c 	struct afu_config_record *cr = to_cr(kobj);
kobj              532 drivers/misc/cxl/sysfs.c static ssize_t class_show(struct kobject *kobj,
kobj              535 drivers/misc/cxl/sysfs.c 	struct afu_config_record *cr = to_cr(kobj);
kobj              540 drivers/misc/cxl/sysfs.c static ssize_t afu_read_config(struct file *filp, struct kobject *kobj,
kobj              544 drivers/misc/cxl/sysfs.c 	struct afu_config_record *cr = to_cr(kobj);
kobj              545 drivers/misc/cxl/sysfs.c 	struct cxl_afu *afu = to_cxl_afu(kobj_to_dev(kobj->parent));
kobj              574 drivers/misc/cxl/sysfs.c static void release_afu_config_record(struct kobject *kobj)
kobj              576 drivers/misc/cxl/sysfs.c 	struct afu_config_record *cr = to_cr(kobj);
kobj              624 drivers/misc/cxl/sysfs.c 	rc = kobject_init_and_add(&cr->kobj, &afu_config_record_type,
kobj              625 drivers/misc/cxl/sysfs.c 				  &afu->dev.kobj, "cr%i", cr->cr);
kobj              629 drivers/misc/cxl/sysfs.c 	rc = sysfs_create_bin_file(&cr->kobj, &cr->config_attr);
kobj              633 drivers/misc/cxl/sysfs.c 	rc = kobject_uevent(&cr->kobj, KOBJ_ADD);
kobj              639 drivers/misc/cxl/sysfs.c 	sysfs_remove_bin_file(&cr->kobj, &cr->config_attr);
kobj              641 drivers/misc/cxl/sysfs.c 	kobject_put(&cr->kobj);
kobj              666 drivers/misc/cxl/sysfs.c 		sysfs_remove_bin_file(&cr->kobj, &cr->config_attr);
kobj              667 drivers/misc/cxl/sysfs.c 		kobject_put(&cr->kobj);
kobj              155 drivers/misc/ds1682.c static ssize_t ds1682_eeprom_read(struct file *filp, struct kobject *kobj,
kobj              159 drivers/misc/ds1682.c 	struct i2c_client *client = kobj_to_i2c_client(kobj);
kobj              173 drivers/misc/ds1682.c static ssize_t ds1682_eeprom_write(struct file *filp, struct kobject *kobj,
kobj              177 drivers/misc/ds1682.c 	struct i2c_client *client = kobj_to_i2c_client(kobj);
kobj              215 drivers/misc/ds1682.c 	rc = sysfs_create_group(&client->dev.kobj, &ds1682_group);
kobj              219 drivers/misc/ds1682.c 	rc = sysfs_create_bin_file(&client->dev.kobj, &ds1682_eeprom_attr);
kobj              226 drivers/misc/ds1682.c 	sysfs_remove_group(&client->dev.kobj, &ds1682_group);
kobj              233 drivers/misc/ds1682.c 	sysfs_remove_bin_file(&client->dev.kobj, &ds1682_eeprom_attr);
kobj              234 drivers/misc/ds1682.c 	sysfs_remove_group(&client->dev.kobj, &ds1682_group);
kobj               92 drivers/misc/eeprom/ee1004.c static ssize_t ee1004_read(struct file *filp, struct kobject *kobj,
kobj               96 drivers/misc/eeprom/ee1004.c 	struct device *dev = kobj_to_dev(kobj);
kobj              226 drivers/misc/eeprom/ee1004.c 	err = sysfs_create_bin_file(&client->dev.kobj, &eeprom_attr);
kobj              258 drivers/misc/eeprom/ee1004.c 	sysfs_remove_bin_file(&client->dev.kobj, &eeprom_attr);
kobj               75 drivers/misc/eeprom/eeprom.c static ssize_t eeprom_read(struct file *filp, struct kobject *kobj,
kobj               79 drivers/misc/eeprom/eeprom.c 	struct i2c_client *client = to_i2c_client(kobj_to_dev(kobj));
kobj              179 drivers/misc/eeprom/eeprom.c 	return sysfs_create_bin_file(&client->dev.kobj, &eeprom_attr);
kobj              184 drivers/misc/eeprom/eeprom.c 	sysfs_remove_bin_file(&client->dev.kobj, &eeprom_attr);
kobj              880 drivers/misc/eeprom/idt_89hpesx.c static ssize_t eeprom_write(struct file *filp, struct kobject *kobj,
kobj              888 drivers/misc/eeprom/idt_89hpesx.c 	pdev = dev_get_drvdata(kobj_to_dev(kobj));
kobj              904 drivers/misc/eeprom/idt_89hpesx.c static ssize_t eeprom_read(struct file *filp, struct kobject *kobj,
kobj              912 drivers/misc/eeprom/idt_89hpesx.c 	pdev = dev_get_drvdata(kobj_to_dev(kobj));
kobj             1339 drivers/misc/eeprom/idt_89hpesx.c 	ret = sysfs_create_bin_file(&dev->kobj, pdev->ee_file);
kobj             1361 drivers/misc/eeprom/idt_89hpesx.c 	sysfs_remove_bin_file(&dev->kobj, pdev->ee_file);
kobj              106 drivers/misc/eeprom/max6875.c static ssize_t max6875_read(struct file *filp, struct kobject *kobj,
kobj              110 drivers/misc/eeprom/max6875.c 	struct i2c_client *client = kobj_to_i2c_client(kobj);
kobj              163 drivers/misc/eeprom/max6875.c 	err = sysfs_create_bin_file(&client->dev.kobj, &user_eeprom_attr);
kobj              182 drivers/misc/eeprom/max6875.c 	sysfs_remove_bin_file(&client->dev.kobj, &user_eeprom_attr);
kobj              198 drivers/misc/enclosure.c 	if (cdev->dev->kobj.sd)
kobj              199 drivers/misc/enclosure.c 		sysfs_remove_link(&cdev->dev->kobj, name);
kobj              201 drivers/misc/enclosure.c 	if (cdev->cdev.kobj.sd)
kobj              202 drivers/misc/enclosure.c 		sysfs_remove_link(&cdev->cdev.kobj, "device");
kobj              210 drivers/misc/enclosure.c 	error = sysfs_create_link(&cdev->cdev.kobj, &cdev->dev->kobj, "device");
kobj              215 drivers/misc/enclosure.c 	error = sysfs_create_link(&cdev->dev->kobj, &cdev->cdev.kobj, name);
kobj              217 drivers/misc/enclosure.c 		sysfs_remove_link(&cdev->cdev.kobj, "device");
kobj             1386 drivers/misc/genwqe/card_dev.c 	rc = kref_read(&cd->cdev_genwqe.kobj.kref);
kobj              269 drivers/misc/genwqe/card_sysfs.c static umode_t genwqe_is_visible(struct kobject *kobj,
kobj              273 drivers/misc/genwqe/card_sysfs.c 	struct device *dev = kobj_to_dev(kobj);
kobj              316 drivers/misc/habanalabs/sysfs.c static ssize_t eeprom_read_handler(struct file *filp, struct kobject *kobj,
kobj              320 drivers/misc/habanalabs/sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              109 drivers/misc/hmc6352.c 	res = sysfs_create_group(&client->dev.kobj, &m_compass_gr);
kobj              121 drivers/misc/hmc6352.c 	sysfs_remove_group(&client->dev.kobj, &m_compass_gr);
kobj              451 drivers/misc/ics932s401.c 	err = sysfs_create_group(&client->dev.kobj, &data->attrs);
kobj              467 drivers/misc/ics932s401.c 	sysfs_remove_group(&client->dev.kobj, &data->attrs);
kobj              401 drivers/misc/isl29003.c 	err = sysfs_create_group(&client->dev.kobj, &isl29003_attr_group);
kobj              415 drivers/misc/isl29003.c 	sysfs_remove_group(&client->dev.kobj, &isl29003_attr_group);
kobj              163 drivers/misc/isl29020.c 	res = sysfs_create_group(&client->dev.kobj, &m_als_gr);
kobj              176 drivers/misc/isl29020.c 	sysfs_remove_group(&client->dev.kobj, &m_als_gr);
kobj              858 drivers/misc/lis3lv02d/lis3lv02d.c 	return sysfs_create_group(&lis3->pdev->dev.kobj, &lis3lv02d_attribute_group);
kobj              863 drivers/misc/lis3lv02d/lis3lv02d.c 	sysfs_remove_group(&lis3->pdev->dev.kobj, &lis3lv02d_attribute_group);
kobj              878 drivers/misc/mei/main.c 		sysfs_notify(&clsdev->kobj, NULL, "dev_state");
kobj              266 drivers/misc/mic/cosm/cosm_main.c 	cdev->state_sysfs = sysfs_get_dirent(cdev->sdev->kobj.sd,
kobj               61 drivers/misc/ocxl/sysfs.c static ssize_t global_mmio_read(struct file *filp, struct kobject *kobj,
kobj               65 drivers/misc/ocxl/sysfs.c 	struct ocxl_afu *afu = to_afu(kobj_to_dev(kobj));
kobj               92 drivers/misc/ocxl/sysfs.c static int global_mmio_mmap(struct file *filp, struct kobject *kobj,
kobj               96 drivers/misc/ocxl/sysfs.c 	struct ocxl_afu *afu = to_afu(kobj_to_dev(kobj));
kobj              482 drivers/misc/pch_phub.c static ssize_t pch_phub_bin_read(struct file *filp, struct kobject *kobj,
kobj              495 drivers/misc/pch_phub.c 	struct pch_phub_reg *chip = dev_get_drvdata(kobj_to_dev(kobj));
kobj              552 drivers/misc/pch_phub.c static ssize_t pch_phub_bin_write(struct file *filp, struct kobject *kobj,
kobj              560 drivers/misc/pch_phub.c 	struct pch_phub_reg *chip = dev_get_drvdata(kobj_to_dev(kobj));
kobj              710 drivers/misc/pch_phub.c 		ret = sysfs_create_file(&pdev->dev.kobj,
kobj              715 drivers/misc/pch_phub.c 		ret = sysfs_create_bin_file(&pdev->dev.kobj, &pch_bin_attr);
kobj              750 drivers/misc/pch_phub.c 		ret = sysfs_create_bin_file(&pdev->dev.kobj, &pch_bin_attr);
kobj              773 drivers/misc/pch_phub.c 		ret = sysfs_create_file(&pdev->dev.kobj,
kobj              777 drivers/misc/pch_phub.c 		ret = sysfs_create_bin_file(&pdev->dev.kobj, &pch_bin_attr);
kobj              790 drivers/misc/pch_phub.c 		ret = sysfs_create_file(&pdev->dev.kobj,
kobj              795 drivers/misc/pch_phub.c 		ret = sysfs_create_bin_file(&pdev->dev.kobj, &pch_bin_attr);
kobj              812 drivers/misc/pch_phub.c 	sysfs_remove_file(&pdev->dev.kobj, &dev_attr_pch_mac.attr);
kobj              830 drivers/misc/pch_phub.c 	sysfs_remove_file(&pdev->dev.kobj, &dev_attr_pch_mac.attr);
kobj              831 drivers/misc/pch_phub.c 	sysfs_remove_bin_file(&pdev->dev.kobj, &pch_bin_attr);
kobj               25 drivers/misc/sram.c static ssize_t sram_read(struct file *filp, struct kobject *kobj,
kobj               40 drivers/misc/sram.c static ssize_t sram_write(struct file *filp, struct kobject *kobj,
kobj              469 drivers/misc/ti-st/st_kim.c 		sysfs_notify(&kim_gdata->kim_pdev->dev.kobj,
kobj              527 drivers/misc/ti-st/st_kim.c 	sysfs_notify(&kim_gdata->kim_pdev->dev.kobj, NULL, "install");
kobj              738 drivers/misc/ti-st/st_kim.c 	err = sysfs_create_group(&pdev->dev.kobj, &uim_attr_grp);
kobj              782 drivers/misc/ti-st/st_kim.c 	sysfs_remove_group(&pdev->dev.kobj, &uim_attr_grp);
kobj              380 drivers/misc/tsl2550.c 	err = sysfs_create_group(&client->dev.kobj, &tsl2550_attr_group);
kobj              396 drivers/misc/tsl2550.c 	sysfs_remove_group(&client->dev.kobj, &tsl2550_attr_group);
kobj              869 drivers/mmc/host/omap.c 		sysfs_notify(&slot->mmc->class_dev.kobj, NULL, "cover_switch");
kobj              463 drivers/mtd/mtd_blkdevs.c 		ret = sysfs_create_group(&disk_to_dev(gd)->kobj,
kobj              488 drivers/mtd/mtd_blkdevs.c 		sysfs_remove_group(&disk_to_dev(old->disk)->kobj,
kobj              573 drivers/mtd/mtdpart.c 	int ret = sysfs_create_files(&new->mtd.dev.kobj, mtd_partition_attrs);
kobj              650 drivers/mtd/mtdpart.c 	sysfs_remove_files(&priv->mtd.dev.kobj, mtd_partition_attrs);
kobj              124 drivers/net/bonding/bond_sysfs_slave.c #define to_slave(obj)	container_of(obj, struct slave, kobj)
kobj              126 drivers/net/bonding/bond_sysfs_slave.c static ssize_t slave_show(struct kobject *kobj,
kobj              130 drivers/net/bonding/bond_sysfs_slave.c 	struct slave *slave = to_slave(kobj);
kobj              150 drivers/net/bonding/bond_sysfs_slave.c 	err = kobject_init_and_add(&slave->kobj, &slave_ktype,
kobj              151 drivers/net/bonding/bond_sysfs_slave.c 				   &(slave->dev->dev.kobj), "bonding_slave");
kobj              153 drivers/net/bonding/bond_sysfs_slave.c 		kobject_put(&slave->kobj);
kobj              158 drivers/net/bonding/bond_sysfs_slave.c 		err = sysfs_create_file(&slave->kobj, &((*a)->attr));
kobj              160 drivers/net/bonding/bond_sysfs_slave.c 			kobject_put(&slave->kobj);
kobj              173 drivers/net/bonding/bond_sysfs_slave.c 		sysfs_remove_file(&slave->kobj, &((*a)->attr));
kobj              175 drivers/net/bonding/bond_sysfs_slave.c 	kobject_put(&slave->kobj);
kobj              666 drivers/net/can/softing/softing_main.c 	if (sysfs_create_group(&netdev->dev.kobj, &netdev_sysfs_group) < 0)
kobj              674 drivers/net/can/softing/softing_main.c 	sysfs_remove_group(&netdev->dev.kobj, &netdev_sysfs_group);
kobj              739 drivers/net/can/softing/softing_main.c 	sysfs_remove_group(&pdev->dev.kobj, &softing_pdev_group);
kobj              800 drivers/net/can/softing/softing_main.c 	ret = sysfs_create_group(&pdev->dev.kobj, &softing_pdev_group);
kobj              835 drivers/net/can/softing/softing_main.c 	sysfs_remove_group(&pdev->dev.kobj, &softing_pdev_group);
kobj             1375 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	if (sysfs_create_group(&tdev->lldev->dev.kobj, &offload_attr_group))
kobj             1402 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	sysfs_remove_group(&tdev->lldev->dev.kobj, &offload_attr_group);
kobj             3383 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	err = sysfs_create_group(&adapter->port[0]->dev.kobj,
kobj             3424 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 		sysfs_remove_group(&adapter->port[0]->dev.kobj,
kobj             1693 drivers/net/ethernet/ibm/ibmveth.c 		struct kobject *kobj = &adapter->rx_buff_pool[i].kobj;
kobj             1699 drivers/net/ethernet/ibm/ibmveth.c 		error = kobject_init_and_add(kobj, &ktype_veth_pool,
kobj             1700 drivers/net/ethernet/ibm/ibmveth.c 					     &dev->dev.kobj, "pool%d", i);
kobj             1702 drivers/net/ethernet/ibm/ibmveth.c 			kobject_uevent(kobj, KOBJ_ADD);
kobj             1730 drivers/net/ethernet/ibm/ibmveth.c 		kobject_put(&adapter->rx_buff_pool[i].kobj);
kobj             1744 drivers/net/ethernet/ibm/ibmveth.c static ssize_t veth_pool_show(struct kobject *kobj,
kobj             1747 drivers/net/ethernet/ibm/ibmveth.c 	struct ibmveth_buff_pool *pool = container_of(kobj,
kobj             1749 drivers/net/ethernet/ibm/ibmveth.c 						      kobj);
kobj             1760 drivers/net/ethernet/ibm/ibmveth.c static ssize_t veth_pool_store(struct kobject *kobj, struct attribute *attr,
kobj             1763 drivers/net/ethernet/ibm/ibmveth.c 	struct ibmveth_buff_pool *pool = container_of(kobj,
kobj             1765 drivers/net/ethernet/ibm/ibmveth.c 						      kobj);
kobj             1767 drivers/net/ethernet/ibm/ibmveth.c 	    container_of(kobj->parent, struct device, kobj));
kobj              121 drivers/net/ethernet/ibm/ibmveth.h     struct kobject kobj;
kobj              722 drivers/net/ethernet/intel/i40e/i40e.h 	struct kobject *kobj;
kobj              820 drivers/net/ethernet/intel/i40e/i40e.h 	struct kobject *kobj;	/* sysfs object */
kobj             2850 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c netxen_sysfs_read_crb(struct file *filp, struct kobject *kobj,
kobj             2854 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	struct device *dev = kobj_to_dev(kobj);
kobj             2878 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c netxen_sysfs_write_crb(struct file *filp, struct kobject *kobj,
kobj             2882 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	struct device *dev = kobj_to_dev(kobj);
kobj             2919 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c netxen_sysfs_read_mem(struct file *filp, struct kobject *kobj,
kobj             2923 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	struct device *dev = kobj_to_dev(kobj);
kobj             2940 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c static ssize_t netxen_sysfs_write_mem(struct file *filp, struct kobject *kobj,
kobj             2944 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	struct device *dev = kobj_to_dev(kobj);
kobj             2977 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c netxen_sysfs_read_dimm(struct file *filp, struct kobject *kobj,
kobj             2981 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	struct device *dev = kobj_to_dev(kobj);
kobj             1397 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c 	kobject_uevent_env(&dev->kobj, KOBJ_CHANGE, msg);
kobj              268 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c static ssize_t qlcnic_sysfs_read_crb(struct file *filp, struct kobject *kobj,
kobj              272 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              285 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c static ssize_t qlcnic_sysfs_write_crb(struct file *filp, struct kobject *kobj,
kobj              289 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              314 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c static ssize_t qlcnic_sysfs_read_mem(struct file *filp, struct kobject *kobj,
kobj              318 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              336 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c static ssize_t qlcnic_sysfs_write_mem(struct file *filp, struct kobject *kobj,
kobj              340 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              400 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 					    struct kobject *kobj,
kobj              405 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              450 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 					   struct kobject *kobj,
kobj              455 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              543 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 					     struct kobject *kobj,
kobj              548 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              627 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 					    struct kobject *kobj,
kobj              632 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              679 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 					      struct kobject *kobj,
kobj              684 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              726 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 					     struct kobject *kobj,
kobj              731 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              773 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 					   struct kobject *kobj,
kobj              778 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              808 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 					  struct kobject *kobj,
kobj              813 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              843 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 					    struct kobject *kobj,
kobj              848 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              872 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 					     struct kobject *kobj,
kobj              878 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              902 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 					    struct kobject *kobj,
kobj              907 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              942 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 						    struct kobject *kobj,
kobj              949 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             1119 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 						     struct kobject *kobj,
kobj             1127 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             1422 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	if (sysfs_create_bin_file(&dev->kobj, &bin_attr_flash))
kobj             1431 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	sysfs_remove_bin_file(&dev->kobj, &bin_attr_flash);
kobj             9522 drivers/net/ethernet/sun/niu.c 		err = sysfs_create_link(&p->plat_dev->dev.kobj,
kobj             9523 drivers/net/ethernet/sun/niu.c 					&np->device->kobj,
kobj             9550 drivers/net/ethernet/sun/niu.c 	sysfs_remove_link(&p->plat_dev->dev.kobj, port_name);
kobj             1503 drivers/net/ethernet/xilinx/ll_temac_main.c 	rc = sysfs_create_group(&lp->dev->kobj, &temac_attr_group);
kobj             1518 drivers/net/ethernet/xilinx/ll_temac_main.c 	sysfs_remove_group(&lp->dev->kobj, &temac_attr_group);
kobj             1532 drivers/net/ethernet/xilinx/ll_temac_main.c 	sysfs_remove_group(&lp->dev->kobj, &temac_attr_group);
kobj              170 drivers/net/ipvlan/ipvtap.c 		err = sysfs_create_link(&dev->dev.kobj, &classdev->kobj,
kobj              179 drivers/net/ipvlan/ipvtap.c 		sysfs_remove_link(&dev->dev.kobj, tap_name);
kobj              177 drivers/net/macvtap.c 		err = sysfs_create_link(&dev->dev.kobj, &classdev->kobj,
kobj              186 drivers/net/macvtap.c 		sysfs_remove_link(&dev->dev.kobj, tap_name);
kobj             1155 drivers/net/phy/phy_device.c 	err = sysfs_create_link(&phydev->mdio.dev.kobj, &dev->dev.kobj,
kobj             1160 drivers/net/phy/phy_device.c 	err = sysfs_create_link_nowarn(&dev->dev.kobj,
kobj             1161 drivers/net/phy/phy_device.c 				       &phydev->mdio.dev.kobj,
kobj             1165 drivers/net/phy/phy_device.c 			kobject_name(&phydev->mdio.dev.kobj),
kobj             1275 drivers/net/phy/phy_device.c 		err = sysfs_create_file(&phydev->mdio.dev.kobj,
kobj             1405 drivers/net/phy/phy_device.c 			sysfs_remove_link(&dev->dev.kobj, "phydev");
kobj             1406 drivers/net/phy/phy_device.c 		sysfs_remove_link(&phydev->mdio.dev.kobj, "attached_dev");
kobj             1410 drivers/net/phy/phy_device.c 		sysfs_remove_file(&phydev->mdio.dev.kobj,
kobj              297 drivers/net/phy/spi_ks8995.c static ssize_t ks8995_registers_read(struct file *filp, struct kobject *kobj,
kobj              303 drivers/net/phy/spi_ks8995.c 	dev = container_of(kobj, struct device, kobj);
kobj              309 drivers/net/phy/spi_ks8995.c static ssize_t ks8995_registers_write(struct file *filp, struct kobject *kobj,
kobj              315 drivers/net/phy/spi_ks8995.c 	dev = container_of(kobj, struct device, kobj);
kobj              507 drivers/net/phy/spi_ks8995.c 	err = sysfs_create_bin_file(&spi->dev.kobj, &ks->regs_attr);
kobj              524 drivers/net/phy/spi_ks8995.c 	sysfs_remove_bin_file(&spi->dev.kobj, &ks->regs_attr);
kobj              902 drivers/net/wimax/i2400m/driver.c 	result = sysfs_create_group(&net_dev->dev.kobj, &i2400m_dev_attr_group);
kobj              918 drivers/net/wimax/i2400m/driver.c 	sysfs_remove_group(&i2400m->wimax_dev.net_dev->dev.kobj,
kobj              957 drivers/net/wimax/i2400m/driver.c 	sysfs_remove_group(&i2400m->wimax_dev.net_dev->dev.kobj,
kobj              172 drivers/net/wireless/ath/ath10k/thermal.c 	ret = sysfs_create_link(&ar->dev->kobj, &cdev->device.kobj,
kobj              206 drivers/net/wireless/ath/ath10k/thermal.c 	sysfs_remove_link(&ar->dev->kobj, "cooling_device");
kobj              217 drivers/net/wireless/ath/ath10k/thermal.c 	sysfs_remove_link(&ar->dev->kobj, "cooling_device");
kobj              108 drivers/net/wireless/ath/ath5k/sysfs.c 	err = sysfs_create_group(&dev->kobj, &ath5k_attribute_group_ani);
kobj              122 drivers/net/wireless/ath/ath5k/sysfs.c 	sysfs_remove_group(&dev->kobj, &ath5k_attribute_group_ani);
kobj              513 drivers/net/wireless/ath/wil6210/interrupt.c 	kobject_uevent_env(&dev->kobj, KOBJ_CHANGE, envp);
kobj             6284 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	err = sysfs_create_group(&pci_dev->dev.kobj, &ipw2100_attribute_group);
kobj             6337 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		sysfs_remove_group(&pci_dev->dev.kobj,
kobj             6359 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	sysfs_remove_group(&pci_dev->dev.kobj, &ipw2100_attribute_group);
kobj             11709 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	err = sysfs_create_group(&pdev->dev.kobj, &ipw_attribute_group);
kobj             11760 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	sysfs_remove_group(&pdev->dev.kobj, &ipw_attribute_group);
kobj             11788 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	sysfs_remove_group(&pdev->dev.kobj, &ipw_attribute_group);
kobj             3723 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	err = sysfs_create_group(&pdev->dev.kobj, &il3945_attribute_group);
kobj             3754 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	sysfs_remove_group(&pdev->dev.kobj, &il3945_attribute_group);
kobj             3819 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	sysfs_remove_group(&pdev->dev.kobj, &il3945_attribute_group);
kobj             4978 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	err = sysfs_create_group(&il->pci_dev->dev.kobj, &il_attribute_group);
kobj             6703 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	sysfs_remove_group(&pdev->dev.kobj, &il_attribute_group);
kobj             2035 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	kobject_uevent_env(&pdev->dev.kobj, KOBJ_CHANGE, prop);
kobj              807 drivers/net/wireless/marvell/libertas/mesh.c 	ret = sysfs_create_group(&(dev->dev.kobj), &boot_opts_group);
kobj              811 drivers/net/wireless/marvell/libertas/mesh.c 	ret = sysfs_create_group(&(dev->dev.kobj), &mesh_ie_group);
kobj              818 drivers/net/wireless/marvell/libertas/mesh.c 	sysfs_remove_group(&(dev->dev.kobj), &boot_opts_group);
kobj              819 drivers/net/wireless/marvell/libertas/mesh.c 	sysfs_remove_group(&(dev->dev.kobj), &mesh_ie_group);
kobj             1029 drivers/net/wireless/marvell/libertas/mesh.c 	ret = sysfs_create_group(&(mesh_dev->dev.kobj), &lbs_mesh_attr_group);
kobj             1062 drivers/net/wireless/marvell/libertas/mesh.c 	sysfs_remove_group(&(mesh_dev->dev.kobj), &lbs_mesh_attr_group);
kobj               99 drivers/net/wireless/ti/wlcore/sysfs.c static ssize_t wl1271_sysfs_read_fwlog(struct file *filp, struct kobject *kobj,
kobj              103 drivers/net/wireless/ti/wlcore/sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              206 drivers/net/xen-netback/xenbus.c 		kobject_uevent(&dev->dev.kobj, KOBJ_OFFLINE);
kobj              425 drivers/net/xen-netback/xenbus.c 	kobject_uevent(&dev->dev.kobj, KOBJ_ONLINE);
kobj              689 drivers/nvdimm/bus.c static umode_t nd_numa_attr_visible(struct kobject *kobj, struct attribute *a,
kobj              286 drivers/nvdimm/dimm_devs.c 	return &nvdimm->dev.kobj;
kobj              428 drivers/nvdimm/dimm_devs.c static umode_t nvdimm_visible(struct kobject *kobj, struct attribute *a, int n)
kobj              430 drivers/nvdimm/dimm_devs.c 	struct device *dev = container_of(kobj, typeof(*dev), kobj);
kobj              522 drivers/nvdimm/dimm_devs.c 	nvdimm->sec.overwrite_state = sysfs_get_dirent(dev->kobj.sd, "security");
kobj             1643 drivers/nvdimm/namespace_devs.c static umode_t namespace_visible(struct kobject *kobj,
kobj             1646 drivers/nvdimm/namespace_devs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              283 drivers/nvdimm/pfn_devs.c static umode_t pfn_visible(struct kobject *kobj, struct attribute *a, int n)
kobj              483 drivers/nvdimm/pmem.c 	pmem->bb_state = sysfs_get_dirent(disk_to_dev(disk)->kobj.sd,
kobj               42 drivers/nvdimm/region.c 		nd_region->bb_state = sysfs_get_dirent(nd_region->dev.kobj.sd,
kobj              622 drivers/nvdimm/region_devs.c static umode_t region_visible(struct kobject *kobj, struct attribute *a, int n)
kobj              624 drivers/nvdimm/region_devs.c 	struct device *dev = container_of(kobj, typeof(*dev), kobj);
kobj              812 drivers/nvdimm/region_devs.c static umode_t mapping_visible(struct kobject *kobj, struct attribute *a, int n)
kobj              814 drivers/nvdimm/region_devs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             2677 drivers/nvme/host/core.c 	ret = sysfs_create_link(&subsys->dev.kobj, &ctrl->device->kobj,
kobj             3116 drivers/nvme/host/core.c static umode_t nvme_ns_id_attrs_are_visible(struct kobject *kobj,
kobj             3119 drivers/nvme/host/core.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             3270 drivers/nvme/host/core.c static umode_t nvme_dev_attrs_are_visible(struct kobject *kobj,
kobj             3273 drivers/nvme/host/core.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             3834 drivers/nvme/host/core.c 	kobject_uevent_env(&ctrl->device->kobj, KOBJ_CHANGE, envp);
kobj             4016 drivers/nvme/host/core.c 		sysfs_remove_link(&subsys->dev.kobj, dev_name(ctrl->device));
kobj             4097 drivers/nvme/host/core.c 	kfree_const(ctrl->device->kobj.name);
kobj              491 drivers/nvme/host/fc.c 	kobject_uevent_env(&fc_udev_device->kobj, KOBJ_CHANGE, envp);
kobj             1238 drivers/nvme/host/lightnvm.c static umode_t nvm_dev_attrs_visible(struct kobject *kobj,
kobj             1241 drivers/nvme/host/lightnvm.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             1833 drivers/nvme/host/pci.c 	if (sysfs_add_file_to_group(&dev->ctrl.device->kobj,
kobj             1842 drivers/nvme/host/pci.c 		sysfs_remove_file_from_group(&dev->ctrl.device->kobj,
kobj               33 drivers/nvmem/nvmem-sysfs.c static ssize_t bin_attr_nvmem_read(struct file *filp, struct kobject *kobj,
kobj               44 drivers/nvmem/nvmem-sysfs.c 		dev = container_of(kobj, struct device, kobj);
kobj               70 drivers/nvmem/nvmem-sysfs.c static ssize_t bin_attr_nvmem_write(struct file *filp, struct kobject *kobj,
kobj               81 drivers/nvmem/nvmem-sysfs.c 		dev = container_of(kobj, struct device, kobj);
kobj               20 drivers/of/dynamic.c static struct device_node *kobj_to_device_node(struct kobject *kobj)
kobj               22 drivers/of/dynamic.c 	return container_of(kobj, struct device_node, kobj);
kobj               35 drivers/of/dynamic.c 		kobject_get(&node->kobj);
kobj               48 drivers/of/dynamic.c 		kobject_put(&node->kobj);
kobj              326 drivers/of/dynamic.c void of_node_release(struct kobject *kobj)
kobj              328 drivers/of/dynamic.c 	struct device_node *node = kobj_to_device_node(kobj);
kobj              464 drivers/of/dynamic.c 		if (kref_read(&ce->np->kobj.kref) > 1) {
kobj              466 drivers/of/dynamic.c 			       kref_read(&ce->np->kobj.kref), ce->np);
kobj             1269 drivers/of/fdt.c static ssize_t of_fdt_raw_read(struct file *filp, struct kobject *kobj,
kobj               10 drivers/of/kobj.c 	return node && node->kobj.state_initialized;
kobj               16 drivers/of/kobj.c 	return node && node->kobj.state_in_sysfs;
kobj               21 drivers/of/kobj.c static void of_node_release(struct kobject *kobj)
kobj               31 drivers/of/kobj.c static ssize_t of_node_property_read(struct file *filp, struct kobject *kobj,
kobj               40 drivers/of/kobj.c static const char *safe_name(struct kobject *kobj, const char *orig_name)
kobj               47 drivers/of/kobj.c 	while (i < 16 && (kn = sysfs_get_dirent(kobj->sd, name))) {
kobj               58 drivers/of/kobj.c 			kobject_name(kobj), name);
kobj               77 drivers/of/kobj.c 	pp->attr.attr.name = safe_name(&np->kobj, pp->name);
kobj               82 drivers/of/kobj.c 	rc = sysfs_create_bin_file(&np->kobj, &pp->attr);
kobj               92 drivers/of/kobj.c 	sysfs_remove_bin_file(&np->kobj, &prop->attr);
kobj              125 drivers/of/kobj.c 	np->kobj.kset = of_kset;
kobj              128 drivers/of/kobj.c 		name = safe_name(&of_kset->kobj, "base");
kobj              131 drivers/of/kobj.c 		name = safe_name(&np->parent->kobj, kbasename(np->full_name));
kobj              132 drivers/of/kobj.c 		parent = &np->parent->kobj;
kobj              139 drivers/of/kobj.c 	rc = kobject_add(&np->kobj, parent, "%s", name);
kobj              162 drivers/of/kobj.c 		kobject_del(&np->kobj);
kobj               45 drivers/of/of_private.h extern void of_node_release(struct kobject *kobj);
kobj               93 drivers/parisc/pdc_stable.c 	struct kobject kobj;
kobj              124 drivers/parisc/pdc_stable.c #define to_pdcspath_entry(obj)  container_of(obj, struct pdcspath_entry, kobj)
kobj              322 drivers/parisc/pdc_stable.c 	sysfs_remove_link(&entry->kobj, "device");
kobj              325 drivers/parisc/pdc_stable.c 	ret = sysfs_create_link(&entry->kobj, &entry->dev->kobj, "device");
kobj              435 drivers/parisc/pdc_stable.c pdcspath_attr_show(struct kobject *kobj, struct attribute *attr, char *buf)
kobj              437 drivers/parisc/pdc_stable.c 	struct pdcspath_entry *entry = to_pdcspath_entry(kobj);
kobj              455 drivers/parisc/pdc_stable.c pdcspath_attr_store(struct kobject *kobj, struct attribute *attr,
kobj              458 drivers/parisc/pdc_stable.c 	struct pdcspath_entry *entry = to_pdcspath_entry(kobj);
kobj              515 drivers/parisc/pdc_stable.c static ssize_t pdcs_size_read(struct kobject *kobj,
kobj              535 drivers/parisc/pdc_stable.c static ssize_t pdcs_auto_read(struct kobject *kobj,
kobj              560 drivers/parisc/pdc_stable.c static ssize_t pdcs_autoboot_read(struct kobject *kobj,
kobj              563 drivers/parisc/pdc_stable.c 	return pdcs_auto_read(kobj, attr, buf, PF_AUTOBOOT);
kobj              570 drivers/parisc/pdc_stable.c static ssize_t pdcs_autosearch_read(struct kobject *kobj,
kobj              573 drivers/parisc/pdc_stable.c 	return pdcs_auto_read(kobj, attr, buf, PF_AUTOSEARCH);
kobj              582 drivers/parisc/pdc_stable.c static ssize_t pdcs_timer_read(struct kobject *kobj,
kobj              607 drivers/parisc/pdc_stable.c static ssize_t pdcs_osid_read(struct kobject *kobj,
kobj              627 drivers/parisc/pdc_stable.c static ssize_t pdcs_osdep1_read(struct kobject *kobj,
kobj              653 drivers/parisc/pdc_stable.c static ssize_t pdcs_diagnostic_read(struct kobject *kobj,
kobj              677 drivers/parisc/pdc_stable.c static ssize_t pdcs_fastsize_read(struct kobject *kobj,
kobj              705 drivers/parisc/pdc_stable.c static ssize_t pdcs_osdep2_read(struct kobject *kobj,
kobj              741 drivers/parisc/pdc_stable.c static ssize_t pdcs_auto_write(struct kobject *kobj,
kobj              813 drivers/parisc/pdc_stable.c static ssize_t pdcs_autoboot_write(struct kobject *kobj,
kobj              817 drivers/parisc/pdc_stable.c 	return pdcs_auto_write(kobj, attr, buf, count, PF_AUTOBOOT);
kobj              829 drivers/parisc/pdc_stable.c static ssize_t pdcs_autosearch_write(struct kobject *kobj,
kobj              833 drivers/parisc/pdc_stable.c 	return pdcs_auto_write(kobj, attr, buf, count, PF_AUTOSEARCH);
kobj              845 drivers/parisc/pdc_stable.c static ssize_t pdcs_osdep1_write(struct kobject *kobj,
kobj              882 drivers/parisc/pdc_stable.c static ssize_t pdcs_osdep2_write(struct kobject *kobj,
kobj              979 drivers/parisc/pdc_stable.c 		entry->kobj.kset = paths_kset;
kobj              980 drivers/parisc/pdc_stable.c 		err = kobject_init_and_add(&entry->kobj, &ktype_pdcspath, NULL,
kobj              992 drivers/parisc/pdc_stable.c 			err = sysfs_create_link(&entry->kobj, &entry->dev->kobj, "device");
kobj              996 drivers/parisc/pdc_stable.c 		kobject_uevent(&entry->kobj, KOBJ_ADD);
kobj             1014 drivers/parisc/pdc_stable.c 			kobject_put(&entry->kobj);
kobj              714 drivers/pci/controller/vmd.c 	WARN(sysfs_create_link(&vmd->dev->dev.kobj, &vmd->bus->dev.kobj,
kobj              809 drivers/pci/controller/vmd.c 	sysfs_remove_link(&vmd->dev->dev.kobj, "domain");
kobj               32 drivers/pci/host-bridge.c 	kobject_get(&bridge->kobj);
kobj               38 drivers/pci/host-bridge.c 	kobject_put(&dev->kobj);
kobj               86 drivers/pci/hotplug/acpiphp_ibm.c static ssize_t ibm_read_apci_table(struct file *filp, struct kobject *kobj,
kobj              355 drivers/pci/hotplug/acpiphp_ibm.c static ssize_t ibm_read_apci_table(struct file *filp, struct kobject *kobj,
kobj              424 drivers/pci/hotplug/acpiphp_ibm.c 	struct kobject *sysdir = &pci_slots_kset->kobj;
kobj              471 drivers/pci/hotplug/acpiphp_ibm.c 	struct kobject *sysdir = &pci_slots_kset->kobj;
kobj              300 drivers/pci/hotplug/pci_hotplug_core.c 		retval = sysfs_create_file(&pci_slot->kobj,
kobj              307 drivers/pci/hotplug/pci_hotplug_core.c 		retval = sysfs_create_file(&pci_slot->kobj,
kobj              314 drivers/pci/hotplug/pci_hotplug_core.c 		retval = sysfs_create_file(&pci_slot->kobj,
kobj              321 drivers/pci/hotplug/pci_hotplug_core.c 		retval = sysfs_create_file(&pci_slot->kobj,
kobj              328 drivers/pci/hotplug/pci_hotplug_core.c 		retval = sysfs_create_file(&pci_slot->kobj,
kobj              338 drivers/pci/hotplug/pci_hotplug_core.c 		sysfs_remove_file(&pci_slot->kobj,
kobj              342 drivers/pci/hotplug/pci_hotplug_core.c 		sysfs_remove_file(&pci_slot->kobj, &hotplug_slot_attr_latch.attr);
kobj              345 drivers/pci/hotplug/pci_hotplug_core.c 		sysfs_remove_file(&pci_slot->kobj,
kobj              349 drivers/pci/hotplug/pci_hotplug_core.c 		sysfs_remove_file(&pci_slot->kobj, &hotplug_slot_attr_power.attr);
kobj              359 drivers/pci/hotplug/pci_hotplug_core.c 		sysfs_remove_file(&pci_slot->kobj, &hotplug_slot_attr_power.attr);
kobj              362 drivers/pci/hotplug/pci_hotplug_core.c 		sysfs_remove_file(&pci_slot->kobj,
kobj              366 drivers/pci/hotplug/pci_hotplug_core.c 		sysfs_remove_file(&pci_slot->kobj, &hotplug_slot_attr_latch.attr);
kobj              369 drivers/pci/hotplug/pci_hotplug_core.c 		sysfs_remove_file(&pci_slot->kobj,
kobj              373 drivers/pci/hotplug/pci_hotplug_core.c 		sysfs_remove_file(&pci_slot->kobj, &hotplug_slot_attr_test.attr);
kobj              486 drivers/pci/hotplug/pci_hotplug_core.c 	kobject_uevent(&pci_slot->kobj, KOBJ_ADD);
kobj              160 drivers/pci/hotplug/pnv_php.c 		refcount = kref_read(&dn->kobj.kref);
kobj               27 drivers/pci/hotplug/rpadlpar_sysfs.c static ssize_t add_slot_store(struct kobject *kobj, struct kobj_attribute *attr,
kobj               51 drivers/pci/hotplug/rpadlpar_sysfs.c static ssize_t add_slot_show(struct kobject *kobj,
kobj               57 drivers/pci/hotplug/rpadlpar_sysfs.c static ssize_t remove_slot_store(struct kobject *kobj,
kobj               82 drivers/pci/hotplug/rpadlpar_sysfs.c static ssize_t remove_slot_show(struct kobject *kobj,
kobj              111 drivers/pci/hotplug/rpadlpar_sysfs.c 					    &pci_slots_kset->kobj);
kobj              188 drivers/pci/iov.c 	rc = sysfs_create_link(&dev->dev.kobj, &virtfn->dev.kobj, buf);
kobj              191 drivers/pci/iov.c 	rc = sysfs_create_link(&virtfn->dev.kobj, &dev->dev.kobj, "physfn");
kobj              195 drivers/pci/iov.c 	kobject_uevent(&virtfn->dev.kobj, KOBJ_CHANGE);
kobj              202 drivers/pci/iov.c 	sysfs_remove_link(&dev->dev.kobj, buf);
kobj              225 drivers/pci/iov.c 	sysfs_remove_link(&dev->dev.kobj, buf);
kobj              231 drivers/pci/iov.c 	if (virtfn->dev.kobj.sd)
kobj              232 drivers/pci/iov.c 		sysfs_remove_link(&virtfn->dev.kobj, "physfn");
kobj              393 drivers/pci/iov.c static umode_t sriov_attrs_are_visible(struct kobject *kobj,
kobj              396 drivers/pci/iov.c 	struct device *dev = kobj_to_dev(kobj);
kobj              501 drivers/pci/iov.c 		rc = sysfs_create_link(&dev->dev.kobj,
kobj              502 drivers/pci/iov.c 					&pdev->dev.kobj, "dep_link");
kobj              529 drivers/pci/iov.c 	kobject_uevent(&dev->dev.kobj, KOBJ_CHANGE);
kobj              544 drivers/pci/iov.c 		sysfs_remove_link(&dev->dev.kobj, "dep_link");
kobj              579 drivers/pci/iov.c 		sysfs_remove_link(&dev->dev.kobj, "dep_link");
kobj              390 drivers/pci/msi.c 		sysfs_remove_groups(&dev->dev.kobj, dev->msi_irq_groups);
kobj              532 drivers/pci/msi.c 	ret = sysfs_create_groups(&pdev->dev.kobj, msi_irq_groups);
kobj              108 drivers/pci/p2pdma.c 	sysfs_remove_group(&pdev->dev.kobj, &p2pmem_group);
kobj              133 drivers/pci/p2pdma.c 	error = sysfs_create_group(&pdev->dev.kobj, &p2pmem_group);
kobj             1618 drivers/pci/pci-driver.c 		kobject_uevent_env(&pdev->dev.kobj, KOBJ_CHANGE, envp);
kobj               79 drivers/pci/pci-label.c static umode_t smbios_instance_string_exist(struct kobject *kobj,
kobj               85 drivers/pci/pci-label.c 	dev = kobj_to_dev(kobj);
kobj              135 drivers/pci/pci-label.c 	return sysfs_create_group(&pdev->dev.kobj, &smbios_attr_group);
kobj              140 drivers/pci/pci-label.c 	sysfs_remove_group(&pdev->dev.kobj, &smbios_attr_group);
kobj              224 drivers/pci/pci-label.c static umode_t acpi_index_string_exist(struct kobject *kobj,
kobj              229 drivers/pci/pci-label.c 	dev = kobj_to_dev(kobj);
kobj              272 drivers/pci/pci-label.c 	return sysfs_create_group(&pdev->dev.kobj, &acpi_attr_group);
kobj              277 drivers/pci/pci-label.c 	sysfs_remove_group(&pdev->dev.kobj, &acpi_attr_group);
kobj              676 drivers/pci/pci-sysfs.c static ssize_t pci_read_config(struct file *filp, struct kobject *kobj,
kobj              680 drivers/pci/pci-sysfs.c 	struct pci_dev *dev = to_pci_dev(kobj_to_dev(kobj));
kobj              752 drivers/pci/pci-sysfs.c static ssize_t pci_write_config(struct file *filp, struct kobject *kobj,
kobj              756 drivers/pci/pci-sysfs.c 	struct pci_dev *dev = to_pci_dev(kobj_to_dev(kobj));
kobj              831 drivers/pci/pci-sysfs.c static ssize_t pci_read_legacy_io(struct file *filp, struct kobject *kobj,
kobj              835 drivers/pci/pci-sysfs.c 	struct pci_bus *bus = to_pci_bus(kobj_to_dev(kobj));
kobj              856 drivers/pci/pci-sysfs.c static ssize_t pci_write_legacy_io(struct file *filp, struct kobject *kobj,
kobj              860 drivers/pci/pci-sysfs.c 	struct pci_bus *bus = to_pci_bus(kobj_to_dev(kobj));
kobj              880 drivers/pci/pci-sysfs.c static int pci_mmap_legacy_mem(struct file *filp, struct kobject *kobj,
kobj              884 drivers/pci/pci-sysfs.c 	struct pci_bus *bus = to_pci_bus(kobj_to_dev(kobj));
kobj              900 drivers/pci/pci-sysfs.c static int pci_mmap_legacy_io(struct file *filp, struct kobject *kobj,
kobj              904 drivers/pci/pci-sysfs.c 	struct pci_bus *bus = to_pci_bus(kobj_to_dev(kobj));
kobj             1019 drivers/pci/pci-sysfs.c static int pci_mmap_resource(struct kobject *kobj, struct bin_attribute *attr,
kobj             1022 drivers/pci/pci-sysfs.c 	struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj));
kobj             1043 drivers/pci/pci-sysfs.c static int pci_mmap_resource_uc(struct file *filp, struct kobject *kobj,
kobj             1047 drivers/pci/pci-sysfs.c 	return pci_mmap_resource(kobj, attr, vma, 0);
kobj             1050 drivers/pci/pci-sysfs.c static int pci_mmap_resource_wc(struct file *filp, struct kobject *kobj,
kobj             1054 drivers/pci/pci-sysfs.c 	return pci_mmap_resource(kobj, attr, vma, 1);
kobj             1057 drivers/pci/pci-sysfs.c static ssize_t pci_resource_io(struct file *filp, struct kobject *kobj,
kobj             1061 drivers/pci/pci-sysfs.c 	struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj));
kobj             1096 drivers/pci/pci-sysfs.c static ssize_t pci_read_resource_io(struct file *filp, struct kobject *kobj,
kobj             1100 drivers/pci/pci-sysfs.c 	return pci_resource_io(filp, kobj, attr, buf, off, count, false);
kobj             1103 drivers/pci/pci-sysfs.c static ssize_t pci_write_resource_io(struct file *filp, struct kobject *kobj,
kobj             1113 drivers/pci/pci-sysfs.c 	return pci_resource_io(filp, kobj, attr, buf, off, count, true);
kobj             1132 drivers/pci/pci-sysfs.c 			sysfs_remove_bin_file(&pdev->dev.kobj, res_attr);
kobj             1138 drivers/pci/pci-sysfs.c 			sysfs_remove_bin_file(&pdev->dev.kobj, res_attr);
kobj             1179 drivers/pci/pci-sysfs.c 	retval = sysfs_create_bin_file(&pdev->dev.kobj, res_attr);
kobj             1232 drivers/pci/pci-sysfs.c static ssize_t pci_write_rom(struct file *filp, struct kobject *kobj,
kobj             1236 drivers/pci/pci-sysfs.c 	struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj));
kobj             1258 drivers/pci/pci-sysfs.c static ssize_t pci_read_rom(struct file *filp, struct kobject *kobj,
kobj             1262 drivers/pci/pci-sysfs.c 	struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj));
kobj             1360 drivers/pci/pci-sysfs.c 		retval = sysfs_create_bin_file(&pdev->dev.kobj, &pcie_config_attr);
kobj             1362 drivers/pci/pci-sysfs.c 		retval = sysfs_create_bin_file(&pdev->dev.kobj, &pci_config_attr);
kobj             1384 drivers/pci/pci-sysfs.c 		retval = sysfs_create_bin_file(&pdev->dev.kobj, attr);
kobj             1403 drivers/pci/pci-sysfs.c 		sysfs_remove_bin_file(&pdev->dev.kobj, pdev->rom_attr);
kobj             1411 drivers/pci/pci-sysfs.c 		sysfs_remove_bin_file(&pdev->dev.kobj, &pcie_config_attr);
kobj             1413 drivers/pci/pci-sysfs.c 		sysfs_remove_bin_file(&pdev->dev.kobj, &pci_config_attr);
kobj             1442 drivers/pci/pci-sysfs.c 		sysfs_remove_bin_file(&pdev->dev.kobj, &pcie_config_attr);
kobj             1444 drivers/pci/pci-sysfs.c 		sysfs_remove_bin_file(&pdev->dev.kobj, &pci_config_attr);
kobj             1449 drivers/pci/pci-sysfs.c 		sysfs_remove_bin_file(&pdev->dev.kobj, pdev->rom_attr);
kobj             1480 drivers/pci/pci-sysfs.c static umode_t pci_dev_attrs_are_visible(struct kobject *kobj,
kobj             1483 drivers/pci/pci-sysfs.c 	struct device *dev = kobj_to_dev(kobj);
kobj             1499 drivers/pci/pci-sysfs.c static umode_t pci_dev_hp_attrs_are_visible(struct kobject *kobj,
kobj             1502 drivers/pci/pci-sysfs.c 	struct device *dev = kobj_to_dev(kobj);
kobj             1511 drivers/pci/pci-sysfs.c static umode_t pci_bridge_attrs_are_visible(struct kobject *kobj,
kobj             1514 drivers/pci/pci-sysfs.c 	struct device *dev = kobj_to_dev(kobj);
kobj             1523 drivers/pci/pci-sysfs.c static umode_t pcie_dev_attrs_are_visible(struct kobject *kobj,
kobj             1526 drivers/pci/pci-sysfs.c 	struct device *dev = kobj_to_dev(kobj);
kobj              249 drivers/pci/pci.h #define to_pci_slot(s) container_of(s, struct pci_slot, kobj)
kobj              634 drivers/pci/pcie/aer.c static umode_t aer_stats_attrs_are_visible(struct kobject *kobj,
kobj              637 drivers/pci/pcie/aer.c 	struct device *dev = kobj_to_dev(kobj);
kobj             1278 drivers/pci/pcie/aspm.c 		sysfs_add_file_to_group(&pdev->dev.kobj,
kobj             1281 drivers/pci/pcie/aspm.c 		sysfs_add_file_to_group(&pdev->dev.kobj,
kobj             1293 drivers/pci/pcie/aspm.c 		sysfs_remove_file_from_group(&pdev->dev.kobj,
kobj             1296 drivers/pci/pcie/aspm.c 		sysfs_remove_file_from_group(&pdev->dev.kobj,
kobj               32 drivers/pci/remove.c 	if (!dev->dev.kobj.parent)
kobj               18 drivers/pci/slot.c static ssize_t pci_slot_attr_show(struct kobject *kobj,
kobj               21 drivers/pci/slot.c 	struct pci_slot *slot = to_pci_slot(kobj);
kobj               26 drivers/pci/slot.c static ssize_t pci_slot_attr_store(struct kobject *kobj,
kobj               29 drivers/pci/slot.c 	struct pci_slot *slot = to_pci_slot(kobj);
kobj              103 drivers/pci/slot.c static void pci_slot_release(struct kobject *kobj)
kobj              106 drivers/pci/slot.c 	struct pci_slot *slot = to_pci_slot(kobj);
kobj              192 drivers/pci/slot.c 	result = kobject_rename(&slot->kobj, slot_name);
kobj              216 drivers/pci/slot.c 			kobject_get(&slot->kobj);
kobj              284 drivers/pci/slot.c 				kobject_put(&slot->kobj);
kobj              302 drivers/pci/slot.c 	slot->kobj.kset = pci_slots_kset;
kobj              310 drivers/pci/slot.c 	err = kobject_init_and_add(&slot->kobj, &pci_slot_ktype, NULL,
kobj              349 drivers/pci/slot.c 		slot->number, kref_read(&slot->kobj.kref) - 1);
kobj              352 drivers/pci/slot.c 	kobject_put(&slot->kobj);
kobj              369 drivers/pci/slot.c 	struct kobject *kobj = NULL;
kobj              374 drivers/pci/slot.c 	kobj = kset_find_obj(module_kset, slot->mod_name);
kobj              375 drivers/pci/slot.c 	if (!kobj)
kobj              377 drivers/pci/slot.c 	ret = sysfs_create_link(&pci_slot->kobj, kobj, "module");
kobj              381 drivers/pci/slot.c 	kobject_put(kobj);
kobj              394 drivers/pci/slot.c 	sysfs_remove_link(&pci_slot->kobj, "module");
kobj              405 drivers/pci/slot.c 						&pci_bus_kset->kobj);
kobj              400 drivers/pci/vpd.c static ssize_t read_vpd_attr(struct file *filp, struct kobject *kobj,
kobj              404 drivers/pci/vpd.c 	struct pci_dev *dev = to_pci_dev(kobj_to_dev(kobj));
kobj              416 drivers/pci/vpd.c static ssize_t write_vpd_attr(struct file *filp, struct kobject *kobj,
kobj              420 drivers/pci/vpd.c 	struct pci_dev *dev = to_pci_dev(kobj_to_dev(kobj));
kobj              450 drivers/pci/vpd.c 	retval = sysfs_create_bin_file(&dev->dev.kobj, attr);
kobj              462 drivers/pci/vpd.c 		sysfs_remove_bin_file(&dev->dev.kobj, dev->vpd->attr);
kobj             1541 drivers/pcmcia/cistpl.c static ssize_t pccard_show_cis(struct file *filp, struct kobject *kobj,
kobj             1556 drivers/pcmcia/cistpl.c 		s = to_socket(container_of(kobj, struct device, kobj));
kobj             1572 drivers/pcmcia/cistpl.c static ssize_t pccard_store_cis(struct file *filp, struct kobject *kobj,
kobj             1583 drivers/pcmcia/cistpl.c 	s = to_socket(container_of(kobj, struct device, kobj));
kobj             1357 drivers/pcmcia/ds.c 	ret = sysfs_create_bin_file(&dev->kobj, &pccard_cis_attr);
kobj             1395 drivers/pcmcia/ds.c 	sysfs_remove_bin_file(&dev->kobj, &pccard_cis_attr);
kobj             1204 drivers/pcmcia/rsrc_nonstatic.c 	return sysfs_create_group(&dev->kobj, &rsrc_attributes);
kobj             1214 drivers/pcmcia/rsrc_nonstatic.c 	sysfs_remove_group(&dev->kobj, &rsrc_attributes);
kobj              222 drivers/pcmcia/socket_sysfs.c 	return sysfs_create_group(&dev->kobj, &socket_attrs);
kobj              227 drivers/pcmcia/socket_sysfs.c 	sysfs_remove_group(&dev->kobj, &socket_attrs);
kobj              370 drivers/perf/arm-ccn.c static umode_t arm_ccn_pmu_events_is_visible(struct kobject *kobj,
kobj              373 drivers/perf/arm-ccn.c 	struct device *dev = kobj_to_dev(kobj);
kobj              198 drivers/perf/arm_dsu_pmu.c dsu_pmu_event_attr_is_visible(struct kobject *kobj, struct attribute *attr,
kobj              201 drivers/perf/arm_dsu_pmu.c 	struct pmu *pmu = dev_get_drvdata(kobj_to_dev(kobj));
kobj              534 drivers/perf/arm_smmuv3_pmu.c static umode_t smmu_pmu_event_is_visible(struct kobject *kobj,
kobj              537 drivers/perf/arm_smmuv3_pmu.c 	struct device *dev = kobj_to_dev(kobj);
kobj              353 drivers/phy/broadcom/phy-brcm-usb.c 	err = sysfs_create_group(&dev->kobj, &brcm_usb_phy_group);
kobj              373 drivers/phy/broadcom/phy-brcm-usb.c 	sysfs_remove_group(&pdev->dev.kobj, &brcm_usb_phy_group);
kobj              309 drivers/phy/ti/phy-twl4030-usb.c 	kobject_uevent(&twl->dev->kobj, linkstat == MUSB_VBUS_VALID
kobj              603 drivers/phy/ti/phy-twl4030-usb.c 		sysfs_notify(&twl->dev->kobj, NULL, "vbus");
kobj              580 drivers/platform/chrome/cros_ec_lightbar.c 	ret = sysfs_create_group(&ec_dev->class_dev.kobj,
kobj              593 drivers/platform/chrome/cros_ec_lightbar.c 	sysfs_remove_group(&ec_dev->class_dev.kobj,
kobj              327 drivers/platform/chrome/cros_ec_sysfs.c static umode_t cros_ec_ctrl_visible(struct kobject *kobj,
kobj              330 drivers/platform/chrome/cros_ec_sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              350 drivers/platform/chrome/cros_ec_sysfs.c 	ret = sysfs_create_group(&ec_dev->class_dev.kobj, &cros_ec_attr_group);
kobj              361 drivers/platform/chrome/cros_ec_sysfs.c 	sysfs_remove_group(&ec_dev->class_dev.kobj, &cros_ec_attr_group);
kobj               17 drivers/platform/chrome/cros_ec_vbc.c static ssize_t vboot_context_read(struct file *filp, struct kobject *kobj,
kobj               21 drivers/platform/chrome/cros_ec_vbc.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj               57 drivers/platform/chrome/cros_ec_vbc.c static ssize_t vboot_context_write(struct file *filp, struct kobject *kobj,
kobj               61 drivers/platform/chrome/cros_ec_vbc.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              116 drivers/platform/chrome/cros_ec_vbc.c 	ret = sysfs_create_group(&ec_dev->class_dev.kobj,
kobj              129 drivers/platform/chrome/cros_ec_vbc.c 	sysfs_remove_group(&ec_dev->class_dev.kobj,
kobj              150 drivers/platform/chrome/wilco_ec/sysfs.c 	return sysfs_create_group(&ec->dev->kobj, &wilco_dev_attr_group);
kobj              155 drivers/platform/chrome/wilco_ec/sysfs.c 	sysfs_remove_group(&ec->dev->kobj, &wilco_dev_attr_group);
kobj              106 drivers/platform/mellanox/mlxreg-hotplug.c 	kobject_uevent(&priv->hwmon->kobj, KOBJ_CHANGE);
kobj              144 drivers/platform/mellanox/mlxreg-hotplug.c 	kobject_uevent(&priv->hwmon->kobj, KOBJ_CHANGE);
kobj              119 drivers/platform/mips/cpu_hwmon.c static int create_sysfs_cputemp_files(struct kobject *kobj)
kobj              124 drivers/platform/mips/cpu_hwmon.c 		ret = sysfs_create_files(kobj, hwmon_cputemp[i]);
kobj              129 drivers/platform/mips/cpu_hwmon.c static void remove_sysfs_cputemp_files(struct kobject *kobj)
kobj              134 drivers/platform/mips/cpu_hwmon.c 		sysfs_remove_files(kobj, hwmon_cputemp[i]);
kobj              172 drivers/platform/mips/cpu_hwmon.c 	ret = sysfs_create_group(&cpu_hwmon_dev->kobj,
kobj              179 drivers/platform/mips/cpu_hwmon.c 	ret = create_sysfs_cputemp_files(&cpu_hwmon_dev->kobj);
kobj              191 drivers/platform/mips/cpu_hwmon.c 	sysfs_remove_group(&cpu_hwmon_dev->kobj,
kobj              204 drivers/platform/mips/cpu_hwmon.c 	remove_sysfs_cputemp_files(&cpu_hwmon_dev->kobj);
kobj              205 drivers/platform/mips/cpu_hwmon.c 	sysfs_remove_group(&cpu_hwmon_dev->kobj,
kobj              487 drivers/platform/x86/alienware-wmi.c 	return sysfs_create_group(&dev->dev.kobj, &zone_attribute_group);
kobj              494 drivers/platform/x86/alienware-wmi.c 	sysfs_remove_group(&dev->dev.kobj, &zone_attribute_group);
kobj              624 drivers/platform/x86/alienware-wmi.c 		sysfs_remove_group(&dev->dev.kobj, &hdmi_attribute_group);
kobj              631 drivers/platform/x86/alienware-wmi.c 	ret = sysfs_create_group(&dev->dev.kobj, &hdmi_attribute_group);
kobj              680 drivers/platform/x86/alienware-wmi.c 		sysfs_remove_group(&dev->dev.kobj, &amplifier_attribute_group);
kobj              687 drivers/platform/x86/alienware-wmi.c 	ret = sysfs_create_group(&dev->dev.kobj, &amplifier_attribute_group);
kobj              761 drivers/platform/x86/alienware-wmi.c 		sysfs_remove_group(&dev->dev.kobj, &deepsleep_attribute_group);
kobj              768 drivers/platform/x86/alienware-wmi.c 	ret = sysfs_create_group(&dev->dev.kobj, &deepsleep_attribute_group);
kobj             1553 drivers/platform/x86/asus-laptop.c 		kobject_uevent(&asus->pega_accel_poll->input->dev.kobj,
kobj             1576 drivers/platform/x86/asus-laptop.c static umode_t asus_sysfs_is_visible(struct kobject *kobj,
kobj             1580 drivers/platform/x86/asus-laptop.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             1653 drivers/platform/x86/asus-laptop.c 	result = sysfs_create_group(&asus->platform_device->dev.kobj,
kobj             1669 drivers/platform/x86/asus-laptop.c 	sysfs_remove_group(&asus->platform_device->dev.kobj, &asus_attr_group);
kobj             1536 drivers/platform/x86/asus-wmi.c static umode_t asus_hwmon_sysfs_is_visible(struct kobject *kobj,
kobj             1539 drivers/platform/x86/asus-wmi.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             2158 drivers/platform/x86/asus-wmi.c static umode_t asus_sysfs_is_visible(struct kobject *kobj,
kobj             2161 drivers/platform/x86/asus-wmi.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             2192 drivers/platform/x86/asus-wmi.c 	sysfs_remove_group(&device->dev.kobj, &platform_attribute_group);
kobj             2197 drivers/platform/x86/asus-wmi.c 	return sysfs_create_group(&device->dev.kobj, &platform_attribute_group);
kobj             1050 drivers/platform/x86/compal-laptop.c 	err = sysfs_create_group(&pdev->dev.kobj, &compal_platform_attr_group);
kobj             1077 drivers/platform/x86/compal-laptop.c 	sysfs_remove_group(&pdev->dev.kobj, &compal_platform_attr_group);
kobj             1107 drivers/platform/x86/compal-laptop.c 	sysfs_remove_group(&pdev->dev.kobj, &compal_platform_attr_group);
kobj              150 drivers/platform/x86/dcdbas.c static ssize_t smi_data_read(struct file *filp, struct kobject *kobj,
kobj              163 drivers/platform/x86/dcdbas.c static ssize_t smi_data_write(struct file *filp, struct kobject *kobj,
kobj              660 drivers/platform/x86/dcdbas.c 	error = sysfs_create_group(&dev->dev.kobj, &dcdbas_attr_group);
kobj              675 drivers/platform/x86/dcdbas.c 	sysfs_remove_group(&dev->dev.kobj, &dcdbas_attr_group);
kobj              528 drivers/platform/x86/dell-smbios-base.c 	ret = sysfs_create_group(&dev->dev.kobj, &smbios_attribute_group);
kobj              551 drivers/platform/x86/dell-smbios-base.c 	sysfs_remove_group(&pdev->dev.kobj,
kobj              503 drivers/platform/x86/dell_rbu.c static ssize_t read_rbu_data(struct file *filp, struct kobject *kobj,
kobj              557 drivers/platform/x86/dell_rbu.c static ssize_t read_rbu_image_type(struct file *filp, struct kobject *kobj,
kobj              567 drivers/platform/x86/dell_rbu.c static ssize_t write_rbu_image_type(struct file *filp, struct kobject *kobj,
kobj              628 drivers/platform/x86/dell_rbu.c static ssize_t read_rbu_packet_size(struct file *filp, struct kobject *kobj,
kobj              641 drivers/platform/x86/dell_rbu.c static ssize_t write_rbu_packet_size(struct file *filp, struct kobject *kobj,
kobj              687 drivers/platform/x86/dell_rbu.c 	rc = sysfs_create_bin_file(&rbu_device->dev.kobj, &rbu_data_attr);
kobj              690 drivers/platform/x86/dell_rbu.c 	rc = sysfs_create_bin_file(&rbu_device->dev.kobj, &rbu_image_type_attr);
kobj              693 drivers/platform/x86/dell_rbu.c 	rc = sysfs_create_bin_file(&rbu_device->dev.kobj,
kobj              702 drivers/platform/x86/dell_rbu.c 	sysfs_remove_bin_file(&rbu_device->dev.kobj, &rbu_image_type_attr);
kobj              704 drivers/platform/x86/dell_rbu.c 	sysfs_remove_bin_file(&rbu_device->dev.kobj, &rbu_data_attr);
kobj              456 drivers/platform/x86/eeepc-laptop.c 	result = sysfs_create_group(&eeepc->platform_device->dev.kobj,
kobj              471 drivers/platform/x86/eeepc-laptop.c 	sysfs_remove_group(&eeepc->platform_device->dev.kobj,
kobj              556 drivers/platform/x86/fujitsu-laptop.c 	ret = sysfs_create_group(&priv->pf_device->dev.kobj,
kobj              575 drivers/platform/x86/fujitsu-laptop.c 	sysfs_remove_group(&priv->pf_device->dev.kobj,
kobj              558 drivers/platform/x86/hdaps.c 	ret = sysfs_create_group(&pdev->dev.kobj, &hdaps_attribute_group);
kobj              596 drivers/platform/x86/hdaps.c 	sysfs_remove_group(&pdev->dev.kobj, &hdaps_attribute_group);
kobj              612 drivers/platform/x86/hdaps.c 	sysfs_remove_group(&pdev->dev.kobj, &hdaps_attribute_group);
kobj              518 drivers/platform/x86/ideapad-laptop.c static umode_t ideapad_is_visible(struct kobject *kobj,
kobj              522 drivers/platform/x86/ideapad-laptop.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              646 drivers/platform/x86/ideapad-laptop.c 	return sysfs_create_group(&priv->platform_device->dev.kobj,
kobj              652 drivers/platform/x86/ideapad-laptop.c 	sysfs_remove_group(&priv->platform_device->dev.kobj,
kobj               64 drivers/platform/x86/intel-wmi-thunderbolt.c 	ret = sysfs_create_group(&wdev->dev.kobj, &tbt_attribute_group);
kobj               65 drivers/platform/x86/intel-wmi-thunderbolt.c 	kobject_uevent(&wdev->dev.kobj, KOBJ_CHANGE);
kobj               71 drivers/platform/x86/intel-wmi-thunderbolt.c 	sysfs_remove_group(&wdev->dev.kobj, &tbt_attribute_group);
kobj               72 drivers/platform/x86/intel-wmi-thunderbolt.c 	kobject_uevent(&wdev->dev.kobj, KOBJ_CHANGE);
kobj              160 drivers/platform/x86/intel_menlow.c 	result = sysfs_create_link(&device->dev.kobj,
kobj              161 drivers/platform/x86/intel_menlow.c 				&cdev->device.kobj, "thermal_cooling");
kobj              165 drivers/platform/x86/intel_menlow.c 	result = sysfs_create_link(&cdev->device.kobj,
kobj              166 drivers/platform/x86/intel_menlow.c 				&device->dev.kobj, "device");
kobj              168 drivers/platform/x86/intel_menlow.c 		sysfs_remove_link(&device->dev.kobj, "thermal_cooling");
kobj              192 drivers/platform/x86/intel_menlow.c 	sysfs_remove_link(&device->dev.kobj, "thermal_cooling");
kobj              193 drivers/platform/x86/intel_menlow.c 	sysfs_remove_link(&cdev->device.kobj, "device");
kobj              961 drivers/platform/x86/intel_pmc_ipc.c 	ret = sysfs_create_group(&pdev->dev.kobj, &intel_ipc_group);
kobj              983 drivers/platform/x86/intel_pmc_ipc.c 	sysfs_remove_group(&pdev->dev.kobj, &intel_ipc_group);
kobj              625 drivers/platform/x86/lg-laptop.c 	ret = sysfs_create_group(&pf_device->dev.kobj, &dev_attribute_group);
kobj              648 drivers/platform/x86/lg-laptop.c 	sysfs_remove_group(&pf_device->dev.kobj, &dev_attribute_group);
kobj             1086 drivers/platform/x86/msi-laptop.c 	ret = sysfs_create_group(&msipf_device->dev.kobj,
kobj             1098 drivers/platform/x86/msi-laptop.c 		ret = sysfs_create_group(&msipf_device->dev.kobj,
kobj             1116 drivers/platform/x86/msi-laptop.c 	sysfs_remove_group(&msipf_device->dev.kobj, &msipf_attribute_group);
kobj             1146 drivers/platform/x86/msi-laptop.c 	sysfs_remove_group(&msipf_device->dev.kobj, &msipf_attribute_group);
kobj              605 drivers/platform/x86/panasonic-laptop.c 	result = sysfs_create_group(&device->dev.kobj, &pcc_attr_group);
kobj              630 drivers/platform/x86/panasonic-laptop.c 	sysfs_remove_group(&device->dev.kobj, &pcc_attr_group);
kobj             1211 drivers/platform/x86/samsung-laptop.c static umode_t samsung_sysfs_is_visible(struct kobject *kobj,
kobj             1214 drivers/platform/x86/samsung-laptop.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             1239 drivers/platform/x86/samsung-laptop.c 	sysfs_remove_group(&device->dev.kobj, &platform_attribute_group);
kobj             1246 drivers/platform/x86/samsung-laptop.c 	return sysfs_create_group(&device->dev.kobj, &platform_attribute_group);
kobj             4675 drivers/platform/x86/sony-laptop.c 	sysfs_remove_group(&sony_pf_device->dev.kobj, &spic_attribute_group);
kobj             4794 drivers/platform/x86/sony-laptop.c 	result = sysfs_create_group(&sony_pf_device->dev.kobj, &spic_attribute_group);
kobj              169 drivers/platform/x86/tc1100-wmi.c 	return sysfs_create_group(&device->dev.kobj, &tc1100_attribute_group);
kobj              175 drivers/platform/x86/tc1100-wmi.c 	sysfs_remove_group(&device->dev.kobj, &tc1100_attribute_group);
kobj             1078 drivers/platform/x86/thinkpad_acpi.c static void delete_attr_set(struct attribute_set *s, struct kobject *kobj)
kobj             1080 drivers/platform/x86/thinkpad_acpi.c 	sysfs_remove_group(kobj, &s->group);
kobj             2986 drivers/platform/x86/thinkpad_acpi.c 		sysfs_notify(&tpacpi_pdev->dev.kobj, NULL,
kobj             3008 drivers/platform/x86/thinkpad_acpi.c 		sysfs_notify(&tpacpi_pdev->dev.kobj, NULL,
kobj             3024 drivers/platform/x86/thinkpad_acpi.c 	sysfs_notify(&tpacpi_pdev->dev.kobj, NULL,
kobj             3041 drivers/platform/x86/thinkpad_acpi.c 	sysfs_notify(&tpacpi_pdev->dev.kobj, NULL,
kobj             3172 drivers/platform/x86/thinkpad_acpi.c 		delete_attr_set(hotkey_dev_attributes, &tpacpi_pdev->dev.kobj);
kobj             3578 drivers/platform/x86/thinkpad_acpi.c 						&tpacpi_pdev->dev.kobj,
kobj             3645 drivers/platform/x86/thinkpad_acpi.c 					   &tpacpi_pdev->dev.kobj);
kobj             3744 drivers/platform/x86/thinkpad_acpi.c 	delete_attr_set(hotkey_dev_attributes, &tpacpi_pdev->dev.kobj);
kobj             3745 drivers/platform/x86/thinkpad_acpi.c 	sysfs_remove_group(&tpacpi_pdev->dev.kobj,
kobj             4478 drivers/platform/x86/thinkpad_acpi.c 	sysfs_remove_group(&tpacpi_pdev->dev.kobj,
kobj             4599 drivers/platform/x86/thinkpad_acpi.c 	res = sysfs_create_group(&tpacpi_pdev->dev.kobj,
kobj             4735 drivers/platform/x86/thinkpad_acpi.c 	sysfs_remove_group(&tpacpi_pdev->dev.kobj,
kobj             4786 drivers/platform/x86/thinkpad_acpi.c 	res = sysfs_create_group(&tpacpi_pdev->dev.kobj,
kobj             6537 drivers/platform/x86/thinkpad_acpi.c 		res = sysfs_create_group(&tpacpi_hwmon->kobj,
kobj             6545 drivers/platform/x86/thinkpad_acpi.c 		res = sysfs_create_group(&tpacpi_hwmon->kobj,
kobj             6562 drivers/platform/x86/thinkpad_acpi.c 		sysfs_remove_group(&tpacpi_hwmon->kobj,
kobj             6568 drivers/platform/x86/thinkpad_acpi.c 		sysfs_remove_group(&tpacpi_hwmon->kobj,
kobj             8877 drivers/platform/x86/thinkpad_acpi.c 		rc = sysfs_create_group(&tpacpi_hwmon->kobj,
kobj             8885 drivers/platform/x86/thinkpad_acpi.c 			sysfs_remove_group(&tpacpi_hwmon->kobj,
kobj             8900 drivers/platform/x86/thinkpad_acpi.c 	sysfs_remove_group(&tpacpi_hwmon->kobj, &fan_attr_group);
kobj             2364 drivers/platform/x86/toshiba_acpi.c static umode_t toshiba_sysfs_is_visible(struct kobject *kobj,
kobj             2367 drivers/platform/x86/toshiba_acpi.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             2407 drivers/platform/x86/toshiba_acpi.c 	if (sysfs_update_group(&toshiba_acpi->acpi_dev->dev.kobj,
kobj             2987 drivers/platform/x86/toshiba_acpi.c 		sysfs_remove_group(&dev->acpi_dev->dev.kobj,
kobj             3187 drivers/platform/x86/toshiba_acpi.c 	ret = sysfs_create_group(&dev->acpi_dev->dev.kobj,
kobj             3240 drivers/platform/x86/toshiba_acpi.c 		if (sysfs_update_group(&acpi_dev->dev.kobj,
kobj              143 drivers/platform/x86/toshiba_haps.c 	sysfs_remove_group(&device->dev.kobj, &haps_attr_group);
kobj              202 drivers/platform/x86/toshiba_haps.c 	ret = sysfs_create_group(&acpi_dev->dev.kobj, &haps_attr_group);
kobj               29 drivers/platform/x86/wmi-bmof.c read_bmof(struct file *filp, struct kobject *kobj,
kobj               78 drivers/platform/x86/wmi-bmof.c 	ret = sysfs_create_bin_file(&wdev->dev.kobj, &priv->bmof_bin_attr);
kobj               93 drivers/platform/x86/wmi-bmof.c 	sysfs_remove_bin_file(&wdev->dev.kobj, &priv->bmof_bin_attr);
kobj              436 drivers/power/supply/ab8500_charger.c 		sysfs_notify(&di->usb_chg.psy->dev.kobj, NULL, "present");
kobj             2065 drivers/power/supply/ab8500_charger.c 	sysfs_notify(&di->ac_chg.psy->dev.kobj, NULL, "present");
kobj             3546 drivers/power/supply/ab8500_charger.c 		sysfs_notify(&di->ac_chg.psy->dev.kobj, NULL, "present");
kobj             2474 drivers/power/supply/ab8500_fg.c ab8500_fg_show(struct kobject *kobj, struct attribute *attr, char *buf)
kobj             2480 drivers/power/supply/ab8500_fg.c 	di = container_of(kobj, struct ab8500_fg, fg_kobject);
kobj             2488 drivers/power/supply/ab8500_fg.c ab8500_fg_store(struct kobject *kobj, struct attribute *attr, const char *buf,
kobj             2495 drivers/power/supply/ab8500_fg.c 	di = container_of(kobj, struct ab8500_fg, fg_kobject);
kobj             1838 drivers/power/supply/abx500_chargalg.c static ssize_t abx500_chargalg_sysfs_show(struct kobject *kobj,
kobj             1844 drivers/power/supply/abx500_chargalg.c 	struct abx500_chargalg *di = container_of(kobj,
kobj             1853 drivers/power/supply/abx500_chargalg.c static ssize_t abx500_chargalg_sysfs_charger(struct kobject *kobj,
kobj             1859 drivers/power/supply/abx500_chargalg.c 	struct abx500_chargalg *di = container_of(kobj,
kobj              780 drivers/power/supply/bq2415x_charger.c 	sysfs_notify(&bq->charger->dev.kobj, NULL, "mode");
kobj              876 drivers/power/supply/bq2415x_charger.c 	sysfs_notify(&bq->charger->dev.kobj, NULL, "timer");
kobj              894 drivers/power/supply/bq2415x_charger.c 		sysfs_notify(&bq->charger->dev.kobj, NULL, "reported_mode");
kobj              487 drivers/power/supply/charger-manager.c 		kobject_uevent(&cm->dev->kobj, KOBJ_CHANGE);
kobj              499 drivers/power/supply/charger-manager.c 	kobject_uevent(&cm->dev->kobj, KOBJ_CHANGE);
kobj              197 drivers/power/supply/ds2760_battery.c static ssize_t w1_slave_read(struct file *filp, struct kobject *kobj,
kobj              201 drivers/power/supply/ds2760_battery.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              623 drivers/power/supply/ds2780_battery.c 				struct kobject *kobj,
kobj              627 drivers/power/supply/ds2780_battery.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              636 drivers/power/supply/ds2780_battery.c 				struct kobject *kobj,
kobj              640 drivers/power/supply/ds2780_battery.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              668 drivers/power/supply/ds2780_battery.c 				struct kobject *kobj,
kobj              672 drivers/power/supply/ds2780_battery.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              681 drivers/power/supply/ds2780_battery.c 				struct kobject *kobj,
kobj              685 drivers/power/supply/ds2780_battery.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              625 drivers/power/supply/ds2781_battery.c 				struct kobject *kobj,
kobj              629 drivers/power/supply/ds2781_battery.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              638 drivers/power/supply/ds2781_battery.c 				struct kobject *kobj,
kobj              642 drivers/power/supply/ds2781_battery.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              670 drivers/power/supply/ds2781_battery.c 				struct kobject *kobj,
kobj              674 drivers/power/supply/ds2781_battery.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              684 drivers/power/supply/ds2781_battery.c 				struct kobject *kobj,
kobj              688 drivers/power/supply/ds2781_battery.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              529 drivers/power/supply/olpc_battery.c static ssize_t olpc_bat_eeprom_read(struct file *filp, struct kobject *kobj,
kobj              846 drivers/power/supply/pm2301_charger.c 	sysfs_notify(&pm2->ac_chg.psy->dev.kobj, NULL, "present");
kobj             1163 drivers/power/supply/pm2301_charger.c 		sysfs_notify(&pm2->ac_chg.psy->dev.kobj, NULL, "present");
kobj              100 drivers/power/supply/power_supply_core.c 		kobject_uevent(&psy->dev.kobj, KOBJ_CHANGE);
kobj              820 drivers/power/supply/power_supply_core.c 	return sysfs_create_link(&psy->dev.kobj, &dev->kobj, "powers");
kobj             1249 drivers/power/supply/power_supply_core.c 	sysfs_remove_link(&psy->dev.kobj, "powers");
kobj              318 drivers/power/supply/power_supply_sysfs.c static umode_t power_supply_attr_is_visible(struct kobject *kobj,
kobj              322 drivers/power/supply/power_supply_sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              304 drivers/pps/pps.c 	kobject_get(&pps->dev->kobj);
kobj              312 drivers/pps/pps.c 	kobject_put(&pps->dev->kobj);
kobj              168 drivers/ptp/ptp_sysfs.c static umode_t ptp_is_attribute_visible(struct kobject *kobj,
kobj              171 drivers/ptp/ptp_sysfs.c 	struct device *dev = kobj_to_dev(kobj);
kobj              274 drivers/pwm/sysfs.c 	kobject_uevent_env(&parent->kobj, KOBJ_CHANGE, pwm_prop);
kobj              299 drivers/pwm/sysfs.c 	kobject_uevent_env(&parent->kobj, KOBJ_CHANGE, pwm_prop);
kobj              116 drivers/rapidio/rio-sysfs.c rio_read_config(struct file *filp, struct kobject *kobj,
kobj              120 drivers/rapidio/rio-sysfs.c 	struct rio_dev *dev = to_rio_dev(kobj_to_dev(kobj));
kobj              187 drivers/rapidio/rio-sysfs.c rio_write_config(struct file *filp, struct kobject *kobj,
kobj              191 drivers/rapidio/rio-sysfs.c 	struct rio_dev *dev = to_rio_dev(kobj_to_dev(kobj));
kobj              259 drivers/rapidio/rio-sysfs.c static umode_t rio_dev_is_attr_visible(struct kobject *kobj,
kobj              262 drivers/rapidio/rio-sysfs.c 	struct rio_dev *rdev = to_rio_dev(kobj_to_dev(kobj));
kobj             1594 drivers/regulator/core.c 				dev->kobj.name, supply_name);
kobj             1602 drivers/regulator/core.c 		err = sysfs_create_link_nowarn(&rdev->dev.kobj, &dev->kobj,
kobj             1606 drivers/regulator/core.c 				  dev->kobj.name, err);
kobj             2054 drivers/regulator/core.c 		sysfs_remove_link(&rdev->dev.kobj, regulator->supply_name);
kobj             4663 drivers/regulator/core.c static umode_t regulator_attr_is_visible(struct kobject *kobj,
kobj             4666 drivers/regulator/core.c 	struct device *dev = kobj_to_dev(kobj);
kobj              132 drivers/regulator/userspace-consumer.c 	ret = sysfs_create_group(&pdev->dev.kobj, &attr_group);
kobj              152 drivers/regulator/userspace-consumer.c 	sysfs_remove_group(&pdev->dev.kobj, &attr_group);
kobj              161 drivers/regulator/userspace-consumer.c 	sysfs_remove_group(&pdev->dev.kobj, &attr_group);
kobj              305 drivers/regulator/virtual.c 	ret = sysfs_create_group(&pdev->dev.kobj,
kobj              324 drivers/regulator/virtual.c 	sysfs_remove_group(&pdev->dev.kobj, &regulator_virtual_attr_group);
kobj               22 drivers/rtc/nvmem.c rtc_nvram_read(struct file *filp, struct kobject *kobj,
kobj               26 drivers/rtc/nvmem.c 	dev_warn_once(kobj_to_dev(kobj), nvram_warning);
kobj               32 drivers/rtc/nvmem.c rtc_nvram_write(struct file *filp, struct kobject *kobj,
kobj               36 drivers/rtc/nvmem.c 	dev_warn_once(kobj_to_dev(kobj), nvram_warning);
kobj               60 drivers/rtc/nvmem.c 	err = sysfs_create_bin_file(&rtc->dev.parent->kobj,
kobj               72 drivers/rtc/nvmem.c 	sysfs_remove_bin_file(&rtc->dev.parent->kobj, rtc->nvram);
kobj              640 drivers/rtc/rtc-isl1208.c 			sysfs_notify(&isl1208->rtc->dev.kobj, NULL,
kobj              204 drivers/rtc/rtc-rv3028.c 		sysfs_notify(&rv3028->rtc->dev.kobj, NULL,
kobj              276 drivers/rtc/sysfs.c static umode_t rtc_attr_is_visible(struct kobject *kobj,
kobj              279 drivers/rtc/sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              356 drivers/s390/block/dasd.c 				kobject_uevent(&disk_to_dev(disk)->kobj,
kobj              442 drivers/s390/block/dasd.c 			kobject_uevent(&disk_to_dev(disk)->kobj, KOBJ_CHANGE);
kobj              448 drivers/s390/block/dasd.c 			kobject_uevent(&part_to_dev(part)->kobj, KOBJ_CHANGE);
kobj              475 drivers/s390/block/dasd.c 			kobject_uevent(&part_to_dev(part)->kobj, KOBJ_CHANGE);
kobj              571 drivers/s390/block/dasd.c 	kobject_uevent(&device->cdev->dev.kobj, KOBJ_CHANGE);
kobj             1783 drivers/s390/block/dasd_devmap.c 	return sysfs_create_groups(&cdev->dev.kobj, dasd_attr_groups);
kobj             1789 drivers/s390/block/dasd_devmap.c 	sysfs_remove_groups(&cdev->dev.kobj, dasd_attr_groups);
kobj             1093 drivers/s390/char/raw3270.c 	return sysfs_create_group(&rp->cdev->dev.kobj, &raw3270_attr_group);
kobj             1173 drivers/s390/char/raw3270.c 	sysfs_remove_group(&cdev->dev.kobj, &raw3270_attr_group);
kobj               56 drivers/s390/char/sclp_config.c 		kobject_uevent(&dev->kobj, KOBJ_CHANGE);
kobj              131 drivers/s390/char/sclp_config.c static ssize_t sysfs_ofb_data_write(struct file *filp, struct kobject *kobj,
kobj              159 drivers/s390/char/sclp_config.c 	rc = sysfs_create_bin_file(&ofb_kset->kobj, &ofb_bin_attr);
kobj              220 drivers/s390/char/sclp_cpi_sys.c static ssize_t system_name_show(struct kobject *kobj,
kobj              231 drivers/s390/char/sclp_cpi_sys.c static ssize_t system_name_store(struct kobject *kobj,
kobj              252 drivers/s390/char/sclp_cpi_sys.c static ssize_t sysplex_name_show(struct kobject *kobj,
kobj              263 drivers/s390/char/sclp_cpi_sys.c static ssize_t sysplex_name_store(struct kobject *kobj,
kobj              284 drivers/s390/char/sclp_cpi_sys.c static ssize_t system_type_show(struct kobject *kobj,
kobj              295 drivers/s390/char/sclp_cpi_sys.c static ssize_t system_type_store(struct kobject *kobj,
kobj              316 drivers/s390/char/sclp_cpi_sys.c static ssize_t system_level_show(struct kobject *kobj,
kobj              327 drivers/s390/char/sclp_cpi_sys.c static ssize_t system_level_store(struct kobject *kobj,
kobj              353 drivers/s390/char/sclp_cpi_sys.c static ssize_t set_store(struct kobject *kobj,
kobj              421 drivers/s390/char/sclp_cpi_sys.c 	rc = sysfs_create_group(&cpi_kset->kobj, &cpi_attr_group);
kobj               39 drivers/s390/char/sclp_ocf.c 	kobject_uevent(&ocf_kset->kobj, KOBJ_CHANGE);
kobj               96 drivers/s390/char/sclp_ocf.c static ssize_t cpc_name_show(struct kobject *kobj,
kobj              110 drivers/s390/char/sclp_ocf.c static ssize_t hmc_network_show(struct kobject *kobj,
kobj              143 drivers/s390/char/sclp_ocf.c 	rc = sysfs_create_group(&ocf_kset->kobj, &ocf_attr_group);
kobj               87 drivers/s390/char/sclp_sd.c 	struct kobject kobj;
kobj               93 drivers/s390/char/sclp_sd.c #define to_sd_file(x) container_of(x, struct sclp_sd_file, kobj)
kobj              358 drivers/s390/char/sclp_sd.c static void sclp_sd_file_release(struct kobject *kobj)
kobj              360 drivers/s390/char/sclp_sd.c 	struct sclp_sd_file *sd_file = to_sd_file(kobj);
kobj              378 drivers/s390/char/sclp_sd.c 	const char *name = kobject_name(&sd_file->kobj);
kobj              398 drivers/s390/char/sclp_sd.c 	kobject_uevent(&sd_file->kobj, KOBJ_CHANGE);
kobj              420 drivers/s390/char/sclp_sd.c static ssize_t reload_store(struct kobject *kobj, struct kobj_attribute *attr,
kobj              423 drivers/s390/char/sclp_sd.c 	struct sclp_sd_file *sd_file = to_sd_file(kobj);
kobj              454 drivers/s390/char/sclp_sd.c static ssize_t data_read(struct file *file, struct kobject *kobj,
kobj              458 drivers/s390/char/sclp_sd.c 	struct sclp_sd_file *sd_file = to_sd_file(kobj);
kobj              507 drivers/s390/char/sclp_sd.c 	sd_file->kobj.kset = sclp_sd_kset;
kobj              508 drivers/s390/char/sclp_sd.c 	rc = kobject_init_and_add(&sd_file->kobj, &sclp_sd_file_ktype, NULL,
kobj              511 drivers/s390/char/sclp_sd.c 		kobject_put(&sd_file->kobj);
kobj              520 drivers/s390/char/sclp_sd.c 	rc = sysfs_create_bin_file(&sd_file->kobj, &sd_file->data_attr);
kobj              522 drivers/s390/char/sclp_sd.c 		kobject_put(&sd_file->kobj);
kobj              530 drivers/s390/char/sclp_sd.c 	kobject_uevent(&sd_file->kobj, KOBJ_ADD);
kobj               84 drivers/s390/char/tape_class.c 		&device->kobj,
kobj               85 drivers/s390/char/tape_class.c 		&tcd->class_device->kobj,
kobj              109 drivers/s390/char/tape_class.c 		sysfs_remove_link(&device->kobj, tcd->mode_name);
kobj              233 drivers/s390/char/tape_core.c 		kobject_uevent_env(&device->cdev->dev.kobj, KOBJ_CHANGE, envp);
kobj              239 drivers/s390/char/tape_core.c 		kobject_uevent_env(&device->cdev->dev.kobj, KOBJ_CHANGE, envp);
kobj              625 drivers/s390/char/tape_core.c 	ret = sysfs_create_group(&cdev->dev.kobj, &tape_attr_group);
kobj              713 drivers/s390/char/tape_core.c 		sysfs_remove_group(&cdev->dev.kobj, &tape_attr_group);
kobj              821 drivers/s390/char/vmlogrdr.c 	kobject_put(&vmlogrdr_cdev->kobj);
kobj               43 drivers/s390/cio/ccwgroup.c 		sysfs_remove_link(&gdev->dev.kobj, str);
kobj               44 drivers/s390/cio/ccwgroup.c 		sysfs_remove_link(&gdev->cdev[i]->dev.kobj, "group_device");
kobj              246 drivers/s390/cio/ccwgroup.c 		rc = sysfs_create_link(&gdev->cdev[i]->dev.kobj,
kobj              247 drivers/s390/cio/ccwgroup.c 				       &gdev->dev.kobj, "group_device");
kobj              250 drivers/s390/cio/ccwgroup.c 				sysfs_remove_link(&gdev->cdev[i]->dev.kobj,
kobj              257 drivers/s390/cio/ccwgroup.c 		rc = sysfs_create_link(&gdev->dev.kobj,
kobj              258 drivers/s390/cio/ccwgroup.c 				       &gdev->cdev[i]->dev.kobj, str);
kobj              262 drivers/s390/cio/ccwgroup.c 				sysfs_remove_link(&gdev->dev.kobj, str);
kobj              265 drivers/s390/cio/ccwgroup.c 				sysfs_remove_link(&gdev->cdev[i]->dev.kobj,
kobj              131 drivers/s390/cio/chp.c 					  struct kobject *kobj,
kobj              138 drivers/s390/cio/chp.c 	device = container_of(kobj, struct device, kobj);
kobj              178 drivers/s390/cio/chp.c static ssize_t chp_measurement_read(struct file *filp, struct kobject *kobj,
kobj              187 drivers/s390/cio/chp.c 	device = container_of(kobj, struct device, kobj);
kobj              387 drivers/s390/cio/chp.c static ssize_t util_string_read(struct file *filp, struct kobject *kobj,
kobj              391 drivers/s390/cio/chp.c 	struct channel_path *chp = to_channelpath(kobj_to_dev(kobj));
kobj               97 drivers/s390/cio/chsc_sch.c 			kobject_uevent(&sch->dev.kobj, KOBJ_ADD);
kobj             1142 drivers/s390/cio/cmf.c 	ret = sysfs_create_group(&cdev->dev.kobj, cmbops->attr_group);
kobj             1149 drivers/s390/cio/cmf.c 		sysfs_remove_group(&cdev->dev.kobj, cmbops->attr_group);
kobj             1177 drivers/s390/cio/cmf.c 	sysfs_remove_group(&cdev->dev.kobj, cmbops->attr_group);
kobj              477 drivers/s390/cio/css.c 		kobject_uevent(&sch->dev.kobj, KOBJ_ADD);
kobj              920 drivers/s390/cio/css.c static umode_t cm_enable_mode(struct kobject *kobj, struct attribute *attr,
kobj              854 drivers/s390/cio/device.c 		kobject_uevent(&sch->dev.kobj, KOBJ_ADD);
kobj             1051 drivers/s390/cio/device.c 		rc = sysfs_create_group(&sch->dev.kobj,
kobj             1066 drivers/s390/cio/device.c 			kobject_uevent(&sch->dev.kobj, KOBJ_ADD);
kobj             1083 drivers/s390/cio/device.c 	rc = sysfs_create_group(&sch->dev.kobj,
kobj             1129 drivers/s390/cio/device.c 	sysfs_remove_group(&sch->dev.kobj, &io_subchannel_attr_group);
kobj              249 drivers/s390/cio/eadm_sch.c 		kobject_uevent(&sch->dev.kobj, KOBJ_ADD);
kobj              174 drivers/s390/cio/scm.c 		kobject_uevent(&scmdev->dev.kobj, KOBJ_CHANGE);
kobj              172 drivers/s390/cio/vfio_ccw_drv.c 		kobject_uevent(&sch->dev.kobj, KOBJ_ADD);
kobj               74 drivers/s390/cio/vfio_ccw_ops.c static ssize_t name_show(struct kobject *kobj, struct device *dev, char *buf)
kobj               80 drivers/s390/cio/vfio_ccw_ops.c static ssize_t device_api_show(struct kobject *kobj, struct device *dev,
kobj               87 drivers/s390/cio/vfio_ccw_ops.c static ssize_t available_instances_show(struct kobject *kobj,
kobj              113 drivers/s390/cio/vfio_ccw_ops.c static int vfio_ccw_mdev_create(struct kobject *kobj, struct mdev_device *mdev)
kobj             1195 drivers/s390/crypto/pkey_api.c 				    struct kobject *kobj,
kobj             1205 drivers/s390/crypto/pkey_api.c 				    struct kobject *kobj,
kobj             1215 drivers/s390/crypto/pkey_api.c 				    struct kobject *kobj,
kobj             1225 drivers/s390/crypto/pkey_api.c 					struct kobject *kobj,
kobj             1235 drivers/s390/crypto/pkey_api.c 					struct kobject *kobj,
kobj             1299 drivers/s390/crypto/pkey_api.c 				    struct kobject *kobj,
kobj             1309 drivers/s390/crypto/pkey_api.c 				    struct kobject *kobj,
kobj             1319 drivers/s390/crypto/pkey_api.c 				    struct kobject *kobj,
kobj             1329 drivers/s390/crypto/pkey_api.c 					struct kobject *kobj,
kobj             1339 drivers/s390/crypto/pkey_api.c 					struct kobject *kobj,
kobj             1411 drivers/s390/crypto/pkey_api.c 				      struct kobject *kobj,
kobj             1421 drivers/s390/crypto/pkey_api.c 				      struct kobject *kobj,
kobj             1431 drivers/s390/crypto/pkey_api.c 				      struct kobject *kobj,
kobj             1441 drivers/s390/crypto/pkey_api.c 					  struct kobject *kobj,
kobj             1451 drivers/s390/crypto/pkey_api.c 					  struct kobject *kobj,
kobj              324 drivers/s390/crypto/vfio_ap_ops.c static int vfio_ap_mdev_create(struct kobject *kobj, struct mdev_device *mdev)
kobj              368 drivers/s390/crypto/vfio_ap_ops.c static ssize_t name_show(struct kobject *kobj, struct device *dev, char *buf)
kobj              375 drivers/s390/crypto/vfio_ap_ops.c static ssize_t available_instances_show(struct kobject *kobj,
kobj              384 drivers/s390/crypto/vfio_ap_ops.c static ssize_t device_api_show(struct kobject *kobj, struct device *dev,
kobj              154 drivers/s390/crypto/zcrypt_card.c 	rc = sysfs_create_group(&zc->card->ap_dev.device.kobj,
kobj              184 drivers/s390/crypto/zcrypt_card.c 	sysfs_remove_group(&zc->card->ap_dev.device.kobj,
kobj              315 drivers/s390/crypto/zcrypt_cex4.c 		rc = sysfs_create_group(&ap_dev->device.kobj,
kobj              335 drivers/s390/crypto/zcrypt_cex4.c 		sysfs_remove_group(&ap_dev->device.kobj, &cca_card_attr_group);
kobj              396 drivers/s390/crypto/zcrypt_cex4.c 		rc = sysfs_create_group(&ap_dev->device.kobj,
kobj              416 drivers/s390/crypto/zcrypt_cex4.c 		sysfs_remove_group(&ap_dev->device.kobj, &cca_queue_attr_group);
kobj              174 drivers/s390/crypto/zcrypt_queue.c 	rc = sysfs_create_group(&zq->queue->ap_dev.device.kobj,
kobj              188 drivers/s390/crypto/zcrypt_queue.c 	sysfs_remove_group(&zq->queue->ap_dev.device.kobj,
kobj              221 drivers/s390/crypto/zcrypt_queue.c 	sysfs_remove_group(&zq->queue->ap_dev.device.kobj,
kobj              873 drivers/s390/net/qeth_l2_main.c 	kobject_uevent(&gdev->dev.kobj, KOBJ_CHANGE);
kobj              923 drivers/s390/net/qeth_l2_main.c 	kobject_uevent(&cgdev->dev.kobj, KOBJ_CHANGE);
kobj             1146 drivers/s390/net/qeth_l2_main.c 	kobject_uevent_env(&card->gdev->dev.kobj, KOBJ_CHANGE, env);
kobj             1188 drivers/s390/net/qeth_l2_main.c 	kobject_uevent_env(&data->card->gdev->dev.kobj,
kobj              449 drivers/s390/net/qeth_l2_sys.c 	return sysfs_create_groups(&dev->kobj, qeth_l2_only_attr_groups);
kobj              454 drivers/s390/net/qeth_l2_sys.c 	sysfs_remove_groups(&dev->kobj, qeth_l2_only_attr_groups);
kobj             2380 drivers/s390/net/qeth_l3_main.c 	kobject_uevent(&gdev->dev.kobj, KOBJ_CHANGE);
kobj             2435 drivers/s390/net/qeth_l3_main.c 	kobject_uevent(&cgdev->dev.kobj, KOBJ_CHANGE);
kobj             1002 drivers/s390/net/qeth_l3_sys.c 	return sysfs_create_groups(&dev->kobj, qeth_l3_only_attr_groups);
kobj             1007 drivers/s390/net/qeth_l3_sys.c 	sysfs_remove_groups(&dev->kobj, qeth_l3_only_attr_groups);
kobj              113 drivers/s390/net/smsgiucv_app.c 		kobject_uevent_env(&dev->kobj, KOBJ_CHANGE, p->envp);
kobj              401 drivers/s390/scsi/zfcp_aux.c 	if (sysfs_create_group(&ccw_device->dev.kobj,
kobj              429 drivers/s390/scsi/zfcp_aux.c 	sysfs_remove_group(&cdev->dev.kobj, &zfcp_sysfs_adapter_attrs);
kobj               98 drivers/scsi/3w-sas.c static ssize_t twl_sysfs_aen_read(struct file *filp, struct kobject *kobj,
kobj              102 drivers/scsi/3w-sas.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              129 drivers/scsi/3w-sas.c static ssize_t twl_sysfs_compat_info(struct file *filp, struct kobject *kobj,
kobj              133 drivers/scsi/3w-sas.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             1683 drivers/scsi/3w-sas.c 	if (sysfs_create_bin_file(&host->shost_dev.kobj, &twl_sysfs_aen_read_attr))
kobj             1685 drivers/scsi/3w-sas.c 	if (sysfs_create_bin_file(&host->shost_dev.kobj, &twl_sysfs_compat_info_attr))
kobj             1727 drivers/scsi/3w-sas.c 	sysfs_remove_bin_file(&host->shost_dev.kobj, &twl_sysfs_aen_read_attr);
kobj             1728 drivers/scsi/3w-sas.c 	sysfs_remove_bin_file(&host->shost_dev.kobj, &twl_sysfs_compat_info_attr);
kobj               64 drivers/scsi/arcmsr/arcmsr_attr.c 					     struct kobject *kobj,
kobj               69 drivers/scsi/arcmsr/arcmsr_attr.c 	struct device *dev = container_of(kobj,struct device,kobj);
kobj              111 drivers/scsi/arcmsr/arcmsr_attr.c 					      struct kobject *kobj,
kobj              116 drivers/scsi/arcmsr/arcmsr_attr.c 	struct device *dev = container_of(kobj,struct device,kobj);
kobj              159 drivers/scsi/arcmsr/arcmsr_attr.c 					      struct kobject *kobj,
kobj              164 drivers/scsi/arcmsr/arcmsr_attr.c 	struct device *dev = container_of(kobj,struct device,kobj);
kobj              225 drivers/scsi/arcmsr/arcmsr_attr.c 	error = sysfs_create_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_read_attr);
kobj              230 drivers/scsi/arcmsr/arcmsr_attr.c 	error = sysfs_create_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_write_attr);
kobj              235 drivers/scsi/arcmsr/arcmsr_attr.c 	error = sysfs_create_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_clear_attr);
kobj              242 drivers/scsi/arcmsr/arcmsr_attr.c 	sysfs_remove_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_write_attr);
kobj              244 drivers/scsi/arcmsr/arcmsr_attr.c 	sysfs_remove_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_read_attr);
kobj              253 drivers/scsi/arcmsr/arcmsr_attr.c 	sysfs_remove_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_clear_attr);
kobj              254 drivers/scsi/arcmsr/arcmsr_attr.c 	sysfs_remove_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_write_attr);
kobj              255 drivers/scsi/arcmsr/arcmsr_attr.c 	sysfs_remove_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_read_attr);
kobj              458 drivers/scsi/esas2r/esas2r_init.c 		sysfs_remove_bin_file(&a->host->shost_dev.kobj, &bin_attr_fw);
kobj              463 drivers/scsi/esas2r/esas2r_init.c 		sysfs_remove_bin_file(&a->host->shost_dev.kobj, &bin_attr_fs);
kobj              468 drivers/scsi/esas2r/esas2r_init.c 		sysfs_remove_bin_file(&a->host->shost_dev.kobj, &bin_attr_vda);
kobj              473 drivers/scsi/esas2r/esas2r_init.c 		sysfs_remove_bin_file(&a->host->shost_dev.kobj, &bin_attr_hw);
kobj              478 drivers/scsi/esas2r/esas2r_init.c 		sysfs_remove_bin_file(&a->host->shost_dev.kobj,
kobj              484 drivers/scsi/esas2r/esas2r_init.c 		sysfs_remove_bin_file(&a->host->shost_dev.kobj,
kobj               60 drivers/scsi/esas2r/esas2r_main.c static struct esas2r_adapter *esas2r_adapter_from_kobj(struct kobject *kobj)
kobj               62 drivers/scsi/esas2r/esas2r_main.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj               68 drivers/scsi/esas2r/esas2r_main.c static ssize_t read_fw(struct file *file, struct kobject *kobj,
kobj               72 drivers/scsi/esas2r/esas2r_main.c 	struct esas2r_adapter *a = esas2r_adapter_from_kobj(kobj);
kobj               77 drivers/scsi/esas2r/esas2r_main.c static ssize_t write_fw(struct file *file, struct kobject *kobj,
kobj               81 drivers/scsi/esas2r/esas2r_main.c 	struct esas2r_adapter *a = esas2r_adapter_from_kobj(kobj);
kobj               86 drivers/scsi/esas2r/esas2r_main.c static ssize_t read_fs(struct file *file, struct kobject *kobj,
kobj               90 drivers/scsi/esas2r/esas2r_main.c 	struct esas2r_adapter *a = esas2r_adapter_from_kobj(kobj);
kobj               95 drivers/scsi/esas2r/esas2r_main.c static ssize_t write_fs(struct file *file, struct kobject *kobj,
kobj               99 drivers/scsi/esas2r/esas2r_main.c 	struct esas2r_adapter *a = esas2r_adapter_from_kobj(kobj);
kobj              111 drivers/scsi/esas2r/esas2r_main.c static ssize_t read_vda(struct file *file, struct kobject *kobj,
kobj              115 drivers/scsi/esas2r/esas2r_main.c 	struct esas2r_adapter *a = esas2r_adapter_from_kobj(kobj);
kobj              120 drivers/scsi/esas2r/esas2r_main.c static ssize_t write_vda(struct file *file, struct kobject *kobj,
kobj              124 drivers/scsi/esas2r/esas2r_main.c 	struct esas2r_adapter *a = esas2r_adapter_from_kobj(kobj);
kobj              129 drivers/scsi/esas2r/esas2r_main.c static ssize_t read_live_nvram(struct file *file, struct kobject *kobj,
kobj              133 drivers/scsi/esas2r/esas2r_main.c 	struct esas2r_adapter *a = esas2r_adapter_from_kobj(kobj);
kobj              140 drivers/scsi/esas2r/esas2r_main.c static ssize_t write_live_nvram(struct file *file, struct kobject *kobj,
kobj              144 drivers/scsi/esas2r/esas2r_main.c 	struct esas2r_adapter *a = esas2r_adapter_from_kobj(kobj);
kobj              160 drivers/scsi/esas2r/esas2r_main.c static ssize_t read_default_nvram(struct file *file, struct kobject *kobj,
kobj              164 drivers/scsi/esas2r/esas2r_main.c 	struct esas2r_adapter *a = esas2r_adapter_from_kobj(kobj);
kobj              171 drivers/scsi/esas2r/esas2r_main.c static ssize_t read_hw(struct file *file, struct kobject *kobj,
kobj              175 drivers/scsi/esas2r/esas2r_main.c 	struct esas2r_adapter *a = esas2r_adapter_from_kobj(kobj);
kobj              189 drivers/scsi/esas2r/esas2r_main.c static ssize_t write_hw(struct file *file, struct kobject *kobj,
kobj              193 drivers/scsi/esas2r/esas2r_main.c 	struct esas2r_adapter *a = esas2r_adapter_from_kobj(kobj);
kobj              477 drivers/scsi/esas2r/esas2r_main.c 	if (sysfs_create_bin_file(&host->shost_dev.kobj, &bin_attr_fw))
kobj              483 drivers/scsi/esas2r/esas2r_main.c 	if (sysfs_create_bin_file(&host->shost_dev.kobj, &bin_attr_fs))
kobj              489 drivers/scsi/esas2r/esas2r_main.c 	if (sysfs_create_bin_file(&host->shost_dev.kobj, &bin_attr_vda))
kobj              495 drivers/scsi/esas2r/esas2r_main.c 	if (sysfs_create_bin_file(&host->shost_dev.kobj, &bin_attr_hw))
kobj              501 drivers/scsi/esas2r/esas2r_main.c 	if (sysfs_create_bin_file(&host->shost_dev.kobj, &bin_attr_live_nvram))
kobj              507 drivers/scsi/esas2r/esas2r_main.c 	if (sysfs_create_bin_file(&host->shost_dev.kobj,
kobj             3029 drivers/scsi/ibmvscsi/ibmvfc.c static ssize_t ibmvfc_read_trace(struct file *filp, struct kobject *kobj,
kobj             3033 drivers/scsi/ibmvscsi/ibmvfc.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             4809 drivers/scsi/ibmvscsi/ibmvfc.c 	if ((rc = ibmvfc_create_trace_file(&shost->shost_dev.kobj,
kobj             4856 drivers/scsi/ibmvscsi/ibmvfc.c 	ibmvfc_remove_trace_file(&vhost->host->shost_dev.kobj, &ibmvfc_trace_attr);
kobj              760 drivers/scsi/ibmvscsi/ibmvfc.h #define ibmvfc_create_trace_file(kobj, attr) sysfs_create_bin_file(kobj, attr)
kobj              761 drivers/scsi/ibmvscsi/ibmvfc.h #define ibmvfc_remove_trace_file(kobj, attr) sysfs_remove_bin_file(kobj, attr)
kobj              763 drivers/scsi/ibmvscsi/ibmvfc.h #define ibmvfc_create_trace_file(kobj, attr) 0
kobj              764 drivers/scsi/ibmvscsi/ibmvfc.h #define ibmvfc_remove_trace_file(kobj, attr) do { } while (0)
kobj             3379 drivers/scsi/ipr.c 	kobject_uevent(&ioa_cfg->host->shost_dev.kobj, KOBJ_CHANGE);
kobj             3456 drivers/scsi/ipr.c static ssize_t ipr_read_trace(struct file *filp, struct kobject *kobj,
kobj             3460 drivers/scsi/ipr.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             4169 drivers/scsi/ipr.c static ssize_t ipr_read_async_err_log(struct file *filep, struct kobject *kobj,
kobj             4173 drivers/scsi/ipr.c 	struct device *cdev = container_of(kobj, struct device, kobj);
kobj             4193 drivers/scsi/ipr.c static ssize_t ipr_next_async_err_log(struct file *filep, struct kobject *kobj,
kobj             4197 drivers/scsi/ipr.c 	struct device *cdev = container_of(kobj, struct device, kobj);
kobj             4252 drivers/scsi/ipr.c static ssize_t ipr_read_dump(struct file *filp, struct kobject *kobj,
kobj             4256 drivers/scsi/ipr.c 	struct device *cdev = container_of(kobj, struct device, kobj);
kobj             4441 drivers/scsi/ipr.c static ssize_t ipr_write_dump(struct file *filp, struct kobject *kobj,
kobj             4445 drivers/scsi/ipr.c 	struct device *cdev = container_of(kobj, struct device, kobj);
kobj             10515 drivers/scsi/ipr.c 	ipr_remove_trace_file(&ioa_cfg->host->shost_dev.kobj,
kobj             10517 drivers/scsi/ipr.c 	ipr_remove_dump_file(&ioa_cfg->host->shost_dev.kobj,
kobj             10519 drivers/scsi/ipr.c 	sysfs_remove_bin_file(&ioa_cfg->host->shost_dev.kobj,
kobj             10560 drivers/scsi/ipr.c 	rc = ipr_create_trace_file(&ioa_cfg->host->shost_dev.kobj,
kobj             10569 drivers/scsi/ipr.c 	rc = sysfs_create_bin_file(&ioa_cfg->host->shost_dev.kobj,
kobj             10573 drivers/scsi/ipr.c 		ipr_remove_dump_file(&ioa_cfg->host->shost_dev.kobj,
kobj             10575 drivers/scsi/ipr.c 		ipr_remove_trace_file(&ioa_cfg->host->shost_dev.kobj,
kobj             10582 drivers/scsi/ipr.c 	rc = ipr_create_dump_file(&ioa_cfg->host->shost_dev.kobj,
kobj             10586 drivers/scsi/ipr.c 		sysfs_remove_bin_file(&ioa_cfg->host->shost_dev.kobj,
kobj             10588 drivers/scsi/ipr.c 		ipr_remove_trace_file(&ioa_cfg->host->shost_dev.kobj,
kobj             1760 drivers/scsi/ipr.h #define ipr_create_trace_file(kobj, attr) sysfs_create_bin_file(kobj, attr)
kobj             1761 drivers/scsi/ipr.h #define ipr_remove_trace_file(kobj, attr) sysfs_remove_bin_file(kobj, attr)
kobj             1763 drivers/scsi/ipr.h #define ipr_create_trace_file(kobj, attr) 0
kobj             1764 drivers/scsi/ipr.h #define ipr_remove_trace_file(kobj, attr) do { } while(0)
kobj             1768 drivers/scsi/ipr.h #define ipr_create_dump_file(kobj, attr) sysfs_create_bin_file(kobj, attr)
kobj             1769 drivers/scsi/ipr.h #define ipr_remove_dump_file(kobj, attr) sysfs_remove_bin_file(kobj, attr)
kobj             1771 drivers/scsi/ipr.h #define ipr_create_dump_file(kobj, attr) 0
kobj             1772 drivers/scsi/ipr.h #define ipr_remove_dump_file(kobj, attr) do { } while(0)
kobj               32 drivers/scsi/iscsi_boot_sysfs.c static ssize_t iscsi_boot_show_attribute(struct kobject *kobj,
kobj               36 drivers/scsi/iscsi_boot_sysfs.c 			container_of(kobj, struct iscsi_boot_kobj, kobj);
kobj               54 drivers/scsi/iscsi_boot_sysfs.c static void iscsi_boot_kobj_release(struct kobject *kobj)
kobj               57 drivers/scsi/iscsi_boot_sysfs.c 			container_of(kobj, struct iscsi_boot_kobj, kobj);
kobj              107 drivers/scsi/iscsi_boot_sysfs.c static umode_t iscsi_boot_tgt_attr_is_visible(struct kobject *kobj,
kobj              111 drivers/scsi/iscsi_boot_sysfs.c 			container_of(kobj, struct iscsi_boot_kobj, kobj);
kobj              190 drivers/scsi/iscsi_boot_sysfs.c static umode_t iscsi_boot_eth_attr_is_visible(struct kobject *kobj,
kobj              194 drivers/scsi/iscsi_boot_sysfs.c 			container_of(kobj, struct iscsi_boot_kobj, kobj);
kobj              265 drivers/scsi/iscsi_boot_sysfs.c static umode_t iscsi_boot_ini_attr_is_visible(struct kobject *kobj,
kobj              269 drivers/scsi/iscsi_boot_sysfs.c 			container_of(kobj, struct iscsi_boot_kobj, kobj);
kobj              314 drivers/scsi/iscsi_boot_sysfs.c static umode_t iscsi_boot_acpitbl_attr_is_visible(struct kobject *kobj,
kobj              318 drivers/scsi/iscsi_boot_sysfs.c 			container_of(kobj, struct iscsi_boot_kobj, kobj);
kobj              352 drivers/scsi/iscsi_boot_sysfs.c 	boot_kobj->kobj.kset = boot_kset->kset;
kobj              353 drivers/scsi/iscsi_boot_sysfs.c 	if (kobject_init_and_add(&boot_kobj->kobj, &iscsi_boot_ktype,
kobj              363 drivers/scsi/iscsi_boot_sysfs.c 	if (sysfs_create_group(&boot_kobj->kobj, attr_group)) {
kobj              371 drivers/scsi/iscsi_boot_sysfs.c 		kobject_put(&boot_kobj->kobj);
kobj              376 drivers/scsi/iscsi_boot_sysfs.c 	kobject_uevent(&boot_kobj->kobj, KOBJ_ADD);
kobj              385 drivers/scsi/iscsi_boot_sysfs.c 	sysfs_remove_group(&boot_kobj->kobj, boot_kobj->attr_group);
kobj              386 drivers/scsi/iscsi_boot_sysfs.c 	kobject_put(&boot_kobj->kobj);
kobj             4416 drivers/scsi/lpfc/lpfc_attr.c sysfs_drvr_stat_data_read(struct file *filp, struct kobject *kobj,
kobj             4420 drivers/scsi/lpfc/lpfc_attr.c 	struct device *dev = container_of(kobj, struct device,
kobj             4421 drivers/scsi/lpfc/lpfc_attr.c 		kobj);
kobj             6141 drivers/scsi/lpfc/lpfc_attr.c sysfs_ctlreg_write(struct file *filp, struct kobject *kobj,
kobj             6146 drivers/scsi/lpfc/lpfc_attr.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             6200 drivers/scsi/lpfc/lpfc_attr.c sysfs_ctlreg_read(struct file *filp, struct kobject *kobj,
kobj             6206 drivers/scsi/lpfc/lpfc_attr.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             6264 drivers/scsi/lpfc/lpfc_attr.c sysfs_mbox_write(struct file *filp, struct kobject *kobj,
kobj             6288 drivers/scsi/lpfc/lpfc_attr.c sysfs_mbox_read(struct file *filp, struct kobject *kobj,
kobj             6319 drivers/scsi/lpfc/lpfc_attr.c 	error = sysfs_create_bin_file(&shost->shost_dev.kobj,
kobj             6326 drivers/scsi/lpfc/lpfc_attr.c 	error = sysfs_create_bin_file(&shost->shost_dev.kobj,
kobj             6331 drivers/scsi/lpfc/lpfc_attr.c 	error = sysfs_create_bin_file(&shost->shost_dev.kobj,
kobj             6338 drivers/scsi/lpfc/lpfc_attr.c 	sysfs_remove_bin_file(&shost->shost_dev.kobj, &sysfs_ctlreg_attr);
kobj             6340 drivers/scsi/lpfc/lpfc_attr.c 	sysfs_remove_bin_file(&shost->shost_dev.kobj,
kobj             6354 drivers/scsi/lpfc/lpfc_attr.c 	sysfs_remove_bin_file(&shost->shost_dev.kobj,
kobj             6359 drivers/scsi/lpfc/lpfc_attr.c 	sysfs_remove_bin_file(&shost->shost_dev.kobj, &sysfs_mbox_attr);
kobj             6360 drivers/scsi/lpfc/lpfc_attr.c 	sysfs_remove_bin_file(&shost->shost_dev.kobj, &sysfs_ctlreg_attr);
kobj               99 drivers/scsi/qedf/qedf_attr.c qedf_sysfs_read_grcdump(struct file *filep, struct kobject *kobj,
kobj              104 drivers/scsi/qedf/qedf_attr.c 	struct fc_lport *lport = shost_priv(dev_to_shost(container_of(kobj,
kobj              105 drivers/scsi/qedf/qedf_attr.c 							struct device, kobj)));
kobj              119 drivers/scsi/qedf/qedf_attr.c qedf_sysfs_write_grcdump(struct file *filep, struct kobject *kobj,
kobj              133 drivers/scsi/qedf/qedf_attr.c 	lport = shost_priv(dev_to_shost(container_of(kobj,
kobj              134 drivers/scsi/qedf/qedf_attr.c 	    struct device, kobj)));
kobj              153 drivers/scsi/qedf/qedf_dbg.c 	kobject_uevent_env(&shost->shost_gendev.kobj, KOBJ_CHANGE, envp);
kobj              162 drivers/scsi/qedf/qedf_dbg.c 		ret = sysfs_create_bin_file(&shost->shost_gendev.kobj,
kobj              175 drivers/scsi/qedf/qedf_dbg.c 		sysfs_remove_bin_file(&shost->shost_gendev.kobj, iter->attr);
kobj              113 drivers/scsi/qedi/qedi_dbg.c 		ret = sysfs_create_bin_file(&shost->shost_gendev.kobj,
kobj              126 drivers/scsi/qedi/qedi_dbg.c 		sysfs_remove_bin_file(&shost->shost_gendev.kobj, iter->attr);
kobj               20 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_read_fw_dump(struct file *filp, struct kobject *kobj,
kobj               24 drivers/scsi/qla2xxx/qla_attr.c 	struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj,
kobj               25 drivers/scsi/qla2xxx/qla_attr.c 	    struct device, kobj)));
kobj               56 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_write_fw_dump(struct file *filp, struct kobject *kobj,
kobj               60 drivers/scsi/qla2xxx/qla_attr.c 	struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj,
kobj               61 drivers/scsi/qla2xxx/qla_attr.c 	    struct device, kobj)));
kobj              153 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_read_nvram(struct file *filp, struct kobject *kobj,
kobj              157 drivers/scsi/qla2xxx/qla_attr.c 	struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj,
kobj              158 drivers/scsi/qla2xxx/qla_attr.c 	    struct device, kobj)));
kobj              193 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_write_nvram(struct file *filp, struct kobject *kobj,
kobj              197 drivers/scsi/qla2xxx/qla_attr.c 	struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj,
kobj              198 drivers/scsi/qla2xxx/qla_attr.c 	    struct device, kobj)));
kobj              268 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_read_optrom(struct file *filp, struct kobject *kobj,
kobj              272 drivers/scsi/qla2xxx/qla_attr.c 	struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj,
kobj              273 drivers/scsi/qla2xxx/qla_attr.c 	    struct device, kobj)));
kobj              292 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_write_optrom(struct file *filp, struct kobject *kobj,
kobj              296 drivers/scsi/qla2xxx/qla_attr.c 	struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj,
kobj              297 drivers/scsi/qla2xxx/qla_attr.c 	    struct device, kobj)));
kobj              330 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_write_optrom_ctl(struct file *filp, struct kobject *kobj,
kobj              334 drivers/scsi/qla2xxx/qla_attr.c 	struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj,
kobj              335 drivers/scsi/qla2xxx/qla_attr.c 	    struct device, kobj)));
kobj              514 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_read_vpd(struct file *filp, struct kobject *kobj,
kobj              518 drivers/scsi/qla2xxx/qla_attr.c 	struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj,
kobj              519 drivers/scsi/qla2xxx/qla_attr.c 	    struct device, kobj)));
kobj              561 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_write_vpd(struct file *filp, struct kobject *kobj,
kobj              565 drivers/scsi/qla2xxx/qla_attr.c 	struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj,
kobj              566 drivers/scsi/qla2xxx/qla_attr.c 	    struct device, kobj)));
kobj              628 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_read_sfp(struct file *filp, struct kobject *kobj,
kobj              632 drivers/scsi/qla2xxx/qla_attr.c 	struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj,
kobj              633 drivers/scsi/qla2xxx/qla_attr.c 	    struct device, kobj)));
kobj              664 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_write_reset(struct file *filp, struct kobject *kobj,
kobj              668 drivers/scsi/qla2xxx/qla_attr.c 	struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj,
kobj              669 drivers/scsi/qla2xxx/qla_attr.c 	    struct device, kobj)));
kobj              800 drivers/scsi/qla2xxx/qla_attr.c qla2x00_issue_logo(struct file *filp, struct kobject *kobj,
kobj              804 drivers/scsi/qla2xxx/qla_attr.c 	struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj,
kobj              805 drivers/scsi/qla2xxx/qla_attr.c 	    struct device, kobj)));
kobj              843 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_read_xgmac_stats(struct file *filp, struct kobject *kobj,
kobj              847 drivers/scsi/qla2xxx/qla_attr.c 	struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj,
kobj              848 drivers/scsi/qla2xxx/qla_attr.c 	    struct device, kobj)));
kobj              906 drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_read_dcbx_tlv(struct file *filp, struct kobject *kobj,
kobj              910 drivers/scsi/qla2xxx/qla_attr.c 	struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj,
kobj              911 drivers/scsi/qla2xxx/qla_attr.c 	    struct device, kobj)));
kobj              996 drivers/scsi/qla2xxx/qla_attr.c 		ret = sysfs_create_bin_file(&host->shost_gendev.kobj,
kobj             1027 drivers/scsi/qla2xxx/qla_attr.c 		sysfs_remove_bin_file(&host->shost_gendev.kobj,
kobj             4982 drivers/scsi/qla2xxx/qla_os.c 	kobject_uevent_env(&vha->hw->pdev->dev.kobj, KOBJ_CHANGE, envp);
kobj               13 drivers/scsi/qla4xxx/ql4_attr.c qla4_8xxx_sysfs_read_fw_dump(struct file *filep, struct kobject *kobj,
kobj               17 drivers/scsi/qla4xxx/ql4_attr.c 	struct scsi_qla_host *ha = to_qla_host(dev_to_shost(container_of(kobj,
kobj               18 drivers/scsi/qla4xxx/ql4_attr.c 					       struct device, kobj)));
kobj               31 drivers/scsi/qla4xxx/ql4_attr.c qla4_8xxx_sysfs_write_fw_dump(struct file *filep, struct kobject *kobj,
kobj               35 drivers/scsi/qla4xxx/ql4_attr.c 	struct scsi_qla_host *ha = to_qla_host(dev_to_shost(container_of(kobj,
kobj               36 drivers/scsi/qla4xxx/ql4_attr.c 					       struct device, kobj)));
kobj              133 drivers/scsi/qla4xxx/ql4_attr.c 		ret = sysfs_create_bin_file(&host->shost_gendev.kobj,
kobj              148 drivers/scsi/qla4xxx/ql4_attr.c 		sysfs_remove_bin_file(&host->shost_gendev.kobj,
kobj             3239 drivers/scsi/qla4xxx/ql4_nx.c 	kobject_uevent_env(&(&ha->pdev->dev)->kobj, KOBJ_CHANGE, envp);
kobj             7240 drivers/scsi/qla4xxx/ql4_os.c 		   __func__, fnode_sess->dev.kobj.name);
kobj             7243 drivers/scsi/qla4xxx/ql4_os.c 		   __func__, fnode_conn->dev.kobj.name);
kobj             7299 drivers/scsi/qla4xxx/ql4_os.c 			   __func__, dev->kobj.name);
kobj             2401 drivers/scsi/scsi_lib.c 	kobject_uevent_env(&sdev->sdev_gendev.kobj, KOBJ_CHANGE, envp);
kobj              742 drivers/scsi/scsi_sysfs.c 	kn = sysfs_break_active_protection(&dev->kobj, &attr->attr);
kobj              846 drivers/scsi/scsi_sysfs.c show_vpd_##_page(struct file *filp, struct kobject *kobj,	\
kobj              850 drivers/scsi/scsi_sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);	\
kobj              872 drivers/scsi/scsi_sysfs.c static ssize_t show_inquiry(struct file *filep, struct kobject *kobj,
kobj              876 drivers/scsi/scsi_sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             1170 drivers/scsi/scsi_sysfs.c static umode_t scsi_sdev_attr_is_visible(struct kobject *kobj,
kobj             1173 drivers/scsi/scsi_sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             1196 drivers/scsi/scsi_sysfs.c static umode_t scsi_sdev_bin_attr_is_visible(struct kobject *kobj,
kobj             1199 drivers/scsi/scsi_sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             1356 drivers/scsi/scsi_sysfs.c 		error = sysfs_create_groups(&sdev->sdev_gendev.kobj,
kobj             1402 drivers/scsi/scsi_sysfs.c 			sysfs_remove_groups(&sdev->sdev_gendev.kobj,
kobj             3411 drivers/scsi/scsi_transport_fc.c 		error = sysfs_create_link(&shost->shost_gendev.kobj,
kobj             3412 drivers/scsi/scsi_transport_fc.c 				 &dev->kobj, dev_name(dev));
kobj             3509 drivers/scsi/scsi_transport_fc.c 		sysfs_remove_link(&shost->shost_gendev.kobj, dev_name(dev));
kobj              234 drivers/scsi/scsi_transport_iscsi.c 	err = sysfs_create_group(&ep->dev.kobj, &iscsi_endpoint_group);
kobj              254 drivers/scsi/scsi_transport_iscsi.c 	sysfs_remove_group(&ep->dev.kobj, &iscsi_endpoint_group);
kobj              425 drivers/scsi/scsi_transport_iscsi.c static umode_t iscsi_iface_attr_is_visible(struct kobject *kobj,
kobj              428 drivers/scsi/scsi_transport_iscsi.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              779 drivers/scsi/scsi_transport_iscsi.c 	err = sysfs_create_group(&iface->dev.kobj, &iscsi_iface_group);
kobj              800 drivers/scsi/scsi_transport_iscsi.c 	sysfs_remove_group(&iface->dev.kobj, &iscsi_iface_group);
kobj              914 drivers/scsi/scsi_transport_iscsi.c static umode_t iscsi_flashnode_sess_attr_is_visible(struct kobject *kobj,
kobj              918 drivers/scsi/scsi_transport_iscsi.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             1116 drivers/scsi/scsi_transport_iscsi.c static umode_t iscsi_flashnode_conn_attr_is_visible(struct kobject *kobj,
kobj             1120 drivers/scsi/scsi_transport_iscsi.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             1448 drivers/scsi/scsi_transport_iscsi.c 		       fnode_sess->dev.kobj.name, err);
kobj             3873 drivers/scsi/scsi_transport_iscsi.c static umode_t iscsi_conn_attr_is_visible(struct kobject *kobj,
kobj             3876 drivers/scsi/scsi_transport_iscsi.c 	struct device *cdev = container_of(kobj, struct device, kobj);
kobj             4140 drivers/scsi/scsi_transport_iscsi.c static umode_t iscsi_session_attr_is_visible(struct kobject *kobj,
kobj             4143 drivers/scsi/scsi_transport_iscsi.c 	struct device *cdev = container_of(kobj, struct device, kobj);
kobj             4284 drivers/scsi/scsi_transport_iscsi.c static umode_t iscsi_host_attr_is_visible(struct kobject *kobj,
kobj             4287 drivers/scsi/scsi_transport_iscsi.c 	struct device *cdev = container_of(kobj, struct device, kobj);
kobj             4466 drivers/scsi/scsi_transport_iscsi.c 	err = sysfs_create_group(&priv->dev.kobj, &iscsi_transport_group);
kobj             4525 drivers/scsi/scsi_transport_iscsi.c 	sysfs_remove_group(&priv->dev.kobj, &iscsi_transport_group);
kobj              837 drivers/scsi/scsi_transport_sas.c 	res = sysfs_create_link(&port->dev.kobj, &phy->dev.kobj,
kobj              841 drivers/scsi/scsi_transport_sas.c 	res = sysfs_create_link(&phy->dev.kobj, &port->dev.kobj, "port");
kobj              853 drivers/scsi/scsi_transport_sas.c 	sysfs_remove_link(&port->dev.kobj, dev_name(&phy->dev));
kobj              854 drivers/scsi/scsi_transport_sas.c 	sysfs_remove_link(&phy->dev.kobj, "port");
kobj             1003 drivers/scsi/scsi_transport_sas.c 		sysfs_remove_link(&port->dev.kobj, dev_name(parent));
kobj             1114 drivers/scsi/scsi_transport_sas.c 	res = sysfs_create_link(&port->dev.kobj, &parent->kobj,
kobj             1438 drivers/scsi/scsi_transport_spi.c 	struct kobject *kobj = &cdev->kobj;
kobj             1445 drivers/scsi/scsi_transport_spi.c 		rc = sysfs_chmod_file(kobj, attr, attr->mode | S_IWUSR);
kobj             1457 drivers/scsi/scsi_transport_spi.c static umode_t target_attribute_is_visible(struct kobject *kobj,
kobj             1460 drivers/scsi/scsi_transport_spi.c 	struct device *cdev = container_of(kobj, struct device, kobj);
kobj             1549 drivers/scsi/scsi_transport_spi.c 	struct kobject *kobj = &cdev->kobj;
kobj             1552 drivers/scsi/scsi_transport_spi.c 	sysfs_update_group(kobj, &target_attribute_group);
kobj              489 drivers/scsi/ses.c 			kobject_uevent(&efd->dev->kobj, KOBJ_CHANGE);
kobj             1549 drivers/scsi/sg.c 		error = sysfs_create_link(&scsidp->sdev_gendev.kobj,
kobj             1550 drivers/scsi/sg.c 					  &sg_class_member->kobj, "generic");
kobj             1626 drivers/scsi/sg.c 	sysfs_remove_link(&scsidp->sdev_gendev.kobj, "generic");
kobj             4236 drivers/scsi/st.c 	return sysfs_create_link(&tape->device->sdev_gendev.kobj,
kobj             4237 drivers/scsi/st.c 				 &tape->modes[0].devs[0]->kobj, "tape");
kobj             4243 drivers/scsi/st.c 	sysfs_remove_link(&tape->device->sdev_gendev.kobj, "tape");
kobj              810 drivers/scsi/ufs/ufs-sysfs.c 	ret = sysfs_create_groups(&dev->kobj, ufs_sysfs_groups);
kobj              819 drivers/scsi/ufs/ufs-sysfs.c 	sysfs_remove_groups(&dev->kobj, ufs_sysfs_groups);
kobj              175 drivers/sfi/sfi_acpi.c static ssize_t sfi_acpi_table_show(struct file *filp, struct kobject *kobj,
kobj              390 drivers/sfi/sfi_core.c static ssize_t sfi_table_show(struct file *filp, struct kobject *kobj,
kobj              823 drivers/siox/siox-core.c 	sdevice->status_errors_kn = sysfs_get_dirent(sdevice->dev.kobj.sd,
kobj              825 drivers/siox/siox-core.c 	sdevice->watchdog_kn = sysfs_get_dirent(sdevice->dev.kobj.sd,
kobj              827 drivers/siox/siox-core.c 	sdevice->watchdog_errors_kn = sysfs_get_dirent(sdevice->dev.kobj.sd,
kobj              829 drivers/siox/siox-core.c 	sdevice->connected_kn = sysfs_get_dirent(sdevice->dev.kobj.sd,
kobj               45 drivers/soc/tegra/fuse/fuse-tegra.c static ssize_t fuse_read(struct file *fd, struct kobject *kobj,
kobj               49 drivers/soc/tegra/fuse/fuse-tegra.c 	struct device *dev = kobj_to_dev(kobj);
kobj              150 drivers/soc/xilinx/zynqmp_power.c 	ret = sysfs_create_file(&pdev->dev.kobj, &dev_attr_suspend_mode.attr);
kobj              161 drivers/soc/xilinx/zynqmp_power.c 	sysfs_remove_file(&pdev->dev.kobj, &dev_attr_suspend_mode.attr);
kobj             1025 drivers/staging/axis-fifo/axis-fifo.c 	rc = sysfs_create_group(&fifo->device->kobj, &axis_fifo_attrs_group);
kobj             1059 drivers/staging/axis-fifo/axis-fifo.c 	sysfs_remove_group(&fifo->device->kobj, &axis_fifo_attrs_group);
kobj             3016 drivers/staging/comedi/comedi_fops.c 	retval = kobject_set_name(&comedi_cdev.kobj, "comedi");
kobj              137 drivers/staging/fieldbus/dev_core.c static umode_t fieldbus_is_visible(struct kobject *kobj, struct attribute *attr,
kobj              140 drivers/staging/fieldbus/dev_core.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              247 drivers/staging/fieldbus/dev_core.c 	kobject_uevent(&fb->dev->kobj, KOBJ_CHANGE);
kobj             1504 drivers/staging/gasket/gasket_core.c 	ret = sysfs_create_link(&gasket_dev->dev_info.device->kobj,
kobj             1505 drivers/staging/gasket/gasket_core.c 				&pci_dev->dev.kobj, dev_name(&pci_dev->dev));
kobj               72 drivers/staging/gasket/gasket_sysfs.c 		__func__, device->kobj.name);
kobj              193 drivers/staging/gasket/gasket_sysfs.c 		device->kobj.name);
kobj               79 drivers/staging/greybus/audio_manager.c 	kobject_put(&module->kobj);
kobj               96 drivers/staging/greybus/audio_manager.c 		kobject_put(&module->kobj);
kobj              114 drivers/staging/greybus/audio_manager.c 	kobject_get(&module->kobj);
kobj              122 drivers/staging/greybus/audio_manager.c 	kobject_put(&module->kobj);
kobj              169 drivers/staging/greybus/audio_manager.c 	gb_audio_manager_sysfs_init(&manager_kset->kobj);
kobj               28 drivers/staging/greybus/audio_manager.h 	struct kobject kobj;
kobj               16 drivers/staging/greybus/audio_manager_module.c 		container_of(x, struct gb_audio_manager_module, kobj)
kobj               28 drivers/staging/greybus/audio_manager_module.c static ssize_t gb_audio_module_attr_show(struct kobject *kobj,
kobj               35 drivers/staging/greybus/audio_manager_module.c 	module = to_gb_audio_module(kobj);
kobj               43 drivers/staging/greybus/audio_manager_module.c static ssize_t gb_audio_module_attr_store(struct kobject *kobj,
kobj               51 drivers/staging/greybus/audio_manager_module.c 	module = to_gb_audio_module(kobj);
kobj               64 drivers/staging/greybus/audio_manager_module.c static void gb_audio_module_release(struct kobject *kobj)
kobj               66 drivers/staging/greybus/audio_manager_module.c 	struct gb_audio_manager_module *module = to_gb_audio_module(kobj);
kobj              180 drivers/staging/greybus/audio_manager_module.c 	kobject_uevent_env(&module->kobj, KOBJ_ADD, envp);
kobj              205 drivers/staging/greybus/audio_manager_module.c 	m->kobj.kset = manager_kset;
kobj              213 drivers/staging/greybus/audio_manager_module.c 	err = kobject_init_and_add(&m->kobj, &gb_audio_module_type, NULL, "%d",
kobj              218 drivers/staging/greybus/audio_manager_module.c 		kobject_put(&m->kobj);
kobj               25 drivers/staging/greybus/audio_manager_private.h void gb_audio_manager_sysfs_init(struct kobject *kobj);
kobj               14 drivers/staging/greybus/audio_manager_sysfs.c static ssize_t manager_sysfs_add_store(struct kobject *kobj,
kobj               39 drivers/staging/greybus/audio_manager_sysfs.c static ssize_t manager_sysfs_remove_store(struct kobject *kobj,
kobj               60 drivers/staging/greybus/audio_manager_sysfs.c static ssize_t manager_sysfs_dump_store(struct kobject *kobj,
kobj               84 drivers/staging/greybus/audio_manager_sysfs.c static void manager_sysfs_init_attribute(struct kobject *kobj,
kobj               89 drivers/staging/greybus/audio_manager_sysfs.c 	err = sysfs_create_file(kobj, &kattr->attr);
kobj               96 drivers/staging/greybus/audio_manager_sysfs.c void gb_audio_manager_sysfs_init(struct kobject *kobj)
kobj               98 drivers/staging/greybus/audio_manager_sysfs.c 	manager_sysfs_init_attribute(kobj, &manager_add_attribute);
kobj               99 drivers/staging/greybus/audio_manager_sysfs.c 	manager_sysfs_init_attribute(kobj, &manager_remove_attribute);
kobj              100 drivers/staging/greybus/audio_manager_sysfs.c 	manager_sysfs_init_attribute(kobj, &manager_dump_attribute);
kobj              881 drivers/staging/greybus/loopback.c 				sysfs_notify(&gb->dev->kobj,  NULL,
kobj              455 drivers/staging/kpc2000/kpc2000/core.c 	err = sysfs_create_files(&pdev->dev.kobj, kp_attr_list);
kobj              473 drivers/staging/kpc2000/kpc2000/core.c 	sysfs_remove_files(&pdev->dev.kobj, kp_attr_list);
kobj              506 drivers/staging/kpc2000/kpc2000/core.c 	sysfs_remove_files(&pdev->dev.kobj, kp_attr_list);
kobj              156 drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c 	rv = sysfs_create_files(&(ldev->pldev->dev.kobj), ndd_attr_list);
kobj              185 drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c 	sysfs_remove_files(&(ldev->pldev->dev.kobj), ndd_attr_list);
kobj               26 drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.h 	struct kobject              kobj;
kobj              480 drivers/staging/most/cdev/cdev.c 	kobject_uevent(&c->dev->kobj, KOBJ_ADD);
kobj              339 drivers/staging/most/core.c static umode_t channel_attr_is_visible(struct kobject *kobj,
kobj              343 drivers/staging/most/core.c 	struct device *dev = kobj_to_dev(kobj);
kobj               29 drivers/staging/speakup/kobjects.c static ssize_t chars_chartab_show(struct kobject *kobj,
kobj              109 drivers/staging/speakup/kobjects.c static ssize_t chars_chartab_store(struct kobject *kobj,
kobj              229 drivers/staging/speakup/kobjects.c static ssize_t keymap_show(struct kobject *kobj, struct kobj_attribute *attr,
kobj              265 drivers/staging/speakup/kobjects.c static ssize_t keymap_store(struct kobject *kobj, struct kobj_attribute *attr,
kobj              332 drivers/staging/speakup/kobjects.c static ssize_t silent_store(struct kobject *kobj, struct kobj_attribute *attr,
kobj              371 drivers/staging/speakup/kobjects.c static ssize_t synth_show(struct kobject *kobj, struct kobj_attribute *attr,
kobj              386 drivers/staging/speakup/kobjects.c static ssize_t synth_store(struct kobject *kobj, struct kobj_attribute *attr,
kobj              412 drivers/staging/speakup/kobjects.c static ssize_t synth_direct_store(struct kobject *kobj,
kobj              443 drivers/staging/speakup/kobjects.c static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr,
kobj              459 drivers/staging/speakup/kobjects.c static ssize_t punc_show(struct kobject *kobj, struct kobj_attribute *attr,
kobj              499 drivers/staging/speakup/kobjects.c static ssize_t punc_store(struct kobject *kobj, struct kobj_attribute *attr,
kobj              546 drivers/staging/speakup/kobjects.c ssize_t spk_var_show(struct kobject *kobj, struct kobj_attribute *attr,
kobj              622 drivers/staging/speakup/kobjects.c ssize_t spk_var_store(struct kobject *kobj, struct kobj_attribute *attr,
kobj              839 drivers/staging/speakup/kobjects.c static ssize_t message_show(struct kobject *kobj,
kobj              855 drivers/staging/speakup/kobjects.c static ssize_t message_store(struct kobject *kobj, struct kobj_attribute *attr,
kobj               50 drivers/staging/speakup/spk_priv.h ssize_t spk_var_show(struct kobject *kobj, struct kobj_attribute *attr,
kobj               52 drivers/staging/speakup/spk_priv.h ssize_t spk_var_store(struct kobject *kobj, struct kobj_attribute *attr,
kobj              226 drivers/staging/uwb/lc-rc.c 	return sysfs_create_group(&rc->uwb_dev.dev.kobj, &rc_attr_group);
kobj              232 drivers/staging/uwb/lc-rc.c 	sysfs_remove_group(&rc->uwb_dev.dev.kobj, &rc_attr_group);
kobj               37 drivers/staging/uwb/pal.c 		ret = sysfs_create_link(&pal->device->kobj,
kobj               38 drivers/staging/uwb/pal.c 					&rc->uwb_dev.dev.kobj, "uwb_rc");
kobj               42 drivers/staging/uwb/pal.c 		ret = sysfs_create_link(&rc->uwb_dev.dev.kobj,
kobj               43 drivers/staging/uwb/pal.c 					&pal->device->kobj, pal->name);
kobj               45 drivers/staging/uwb/pal.c 			sysfs_remove_link(&pal->device->kobj, "uwb_rc");
kobj              113 drivers/staging/uwb/pal.c 			sysfs_remove_link(&rc->uwb_dev.dev.kobj, pal->name);
kobj              116 drivers/staging/uwb/pal.c 		sysfs_remove_link(&pal->device->kobj, "uwb_rc");
kobj              596 drivers/staging/wusbcore/cbaf.c 	result = sysfs_create_group(&dev->kobj, &cbaf_dev_attr_group);
kobj              619 drivers/staging/wusbcore/cbaf.c 	sysfs_remove_group(&dev->kobj, &cbaf_dev_attr_group);
kobj              110 drivers/staging/wusbcore/dev-sysfs.c 	int result = sysfs_create_group(&usb_dev->dev.kobj,
kobj              123 drivers/staging/wusbcore/dev-sysfs.c 		sysfs_remove_group(&usb_dev->dev.kobj, &wusb_dev_attr_group);
kobj              286 drivers/staging/wusbcore/wusbhc.c 	return &wusbhc->usb_hcd.self.controller->kobj;
kobj              762 drivers/tee/tee_core.c 	teedev->cdev.kobj.parent = &teedev->dev.kobj;
kobj              848 drivers/tee/tee_core.c 	rc = sysfs_create_group(&teedev->dev.kobj, &tee_dev_group);
kobj              906 drivers/tee/tee_core.c 		sysfs_remove_group(&teedev->dev.kobj, &tee_dev_group);
kobj              217 drivers/thermal/intel/int340x_thermal/int3400_thermal.c 		kobject_uevent_env(&priv->thermal->device.kobj, KOBJ_CHANGE,
kobj              326 drivers/thermal/intel/int340x_thermal/int3400_thermal.c 	result = sysfs_create_group(&pdev->dev.kobj, &uuid_attribute_group);
kobj              339 drivers/thermal/intel/int340x_thermal/int3400_thermal.c 	sysfs_remove_group(&pdev->dev.kobj, &uuid_attribute_group);
kobj              363 drivers/thermal/intel/int340x_thermal/int3400_thermal.c 	sysfs_remove_group(&pdev->dev.kobj, &uuid_attribute_group);
kobj              404 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c 	sysfs_remove_file(&proc_priv->dev->kobj, &dev_attr_tcc_offset_degree_celsius.attr);
kobj              405 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c 	sysfs_remove_group(&proc_priv->dev->kobj,
kobj              428 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c 	ret = sysfs_create_file(&pdev->dev.kobj, &dev_attr_tcc_offset_degree_celsius.attr);
kobj              432 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c 	ret = sysfs_create_group(&pdev->dev.kobj, &power_limit_attribute_group);
kobj              434 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c 		sysfs_remove_file(&pdev->dev.kobj, &dev_attr_tcc_offset_degree_celsius.attr);
kobj              668 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c 	ret = sysfs_create_file(&pdev->dev.kobj, &dev_attr_tcc_offset_degree_celsius.attr);
kobj              672 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c 	ret = sysfs_create_group(&pdev->dev.kobj, &power_limit_attribute_group);
kobj              674 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c 		sysfs_remove_file(&pdev->dev.kobj, &dev_attr_tcc_offset_degree_celsius.attr);
kobj              738 drivers/thermal/thermal_core.c 	    sysfs_create_link(&tz->device.kobj, &cdev->device.kobj, dev->name);
kobj              783 drivers/thermal/thermal_core.c 	sysfs_remove_link(&tz->device.kobj, dev->name);
kobj              831 drivers/thermal/thermal_core.c 	sysfs_remove_link(&tz->device.kobj, pos->name);
kobj              437 drivers/thermal/thermal_sysfs.c static umode_t thermal_zone_mode_is_visible(struct kobject *kobj,
kobj              441 drivers/thermal/thermal_sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              463 drivers/thermal/thermal_sysfs.c static umode_t thermal_zone_passive_is_visible(struct kobject *kobj,
kobj              467 drivers/thermal/thermal_sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj               36 drivers/thermal/user_space.c 	kobject_uevent_env(&tz->device.kobj, KOBJ_CHANGE, thermal_prop);
kobj              225 drivers/thunderbolt/domain.c 		kobject_uevent(&tb->dev.kobj, KOBJ_CHANGE);
kobj              275 drivers/thunderbolt/domain.c static umode_t domain_attr_is_visible(struct kobject *kobj,
kobj              278 drivers/thunderbolt/domain.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             1085 drivers/thunderbolt/switch.c 		kobject_uevent(&sw->dev.kobj, KOBJ_CHANGE);
kobj             1355 drivers/thunderbolt/switch.c static umode_t switch_attr_is_visible(struct kobject *kobj,
kobj             1358 drivers/thunderbolt/switch.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              644 drivers/thunderbolt/tb.c 		kobject_uevent(&dev->kobj, KOBJ_ADD);
kobj             1024 drivers/thunderbolt/xdomain.c 		kobject_uevent(&xd->dev.kobj, KOBJ_CHANGE);
kobj              718 drivers/tty/hvc/hvcs.c 	sysfs_remove_group(&vdev->dev.kobj, &hvcs_attr_group);
kobj              808 drivers/tty/hvc/hvcs.c 	retval = sysfs_create_group(&dev->dev.kobj, &hvcs_attr_group);
kobj              340 drivers/tty/serial/8250/8250_aspeed_vuart.c 	rc = sysfs_create_group(&vuart->dev->kobj, &aspeed_vuart_attr_group);
kobj              414 drivers/tty/serial/8250/8250_aspeed_vuart.c 	sysfs_remove_group(&vuart->dev->kobj, &aspeed_vuart_attr_group);
kobj              425 drivers/tty/serial/8250/8250_aspeed_vuart.c 	sysfs_remove_group(&vuart->dev->kobj, &aspeed_vuart_attr_group);
kobj             3048 drivers/tty/tty_io.c 		kobject_put(&driver->cdevs[index]->kobj);
kobj             3161 drivers/tty/tty_io.c 	kobject_uevent(&dev->kobj, KOBJ_ADD);
kobj             3477 drivers/tty/tty_io.c 		sysfs_notify(&consdev->kobj, NULL, "active");
kobj              637 drivers/tty/vcc.c 	rv = sysfs_create_group(&vdev->dev.kobj, &vcc_attribute_group);
kobj              708 drivers/tty/vcc.c 	sysfs_remove_group(&vdev->dev.kobj, &vcc_attribute_group);
kobj             1004 drivers/tty/vt/vt.c 			sysfs_notify(&tty0dev->kobj, NULL, "active");
kobj               43 drivers/uio/uio.c 	struct kobject kobj;
kobj               46 drivers/uio/uio.c #define to_map(map) container_of(map, struct uio_map, kobj)
kobj               94 drivers/uio/uio.c static void map_release(struct kobject *kobj)
kobj               96 drivers/uio/uio.c 	struct uio_map *map = to_map(kobj);
kobj              100 drivers/uio/uio.c static ssize_t map_type_show(struct kobject *kobj, struct attribute *attr,
kobj              103 drivers/uio/uio.c 	struct uio_map *map = to_map(kobj);
kobj              126 drivers/uio/uio.c 	struct kobject kobj;
kobj              129 drivers/uio/uio.c #define to_portio(portio) container_of(portio, struct uio_portio, kobj)
kobj              182 drivers/uio/uio.c static void portio_release(struct kobject *kobj)
kobj              184 drivers/uio/uio.c 	struct uio_portio *portio = to_portio(kobj);
kobj              188 drivers/uio/uio.c static ssize_t portio_type_show(struct kobject *kobj, struct attribute *attr,
kobj              191 drivers/uio/uio.c 	struct uio_portio *portio = to_portio(kobj);
kobj              300 drivers/uio/uio.c 							&idev->dev.kobj);
kobj              311 drivers/uio/uio.c 		kobject_init(&map->kobj, &map_attr_type);
kobj              314 drivers/uio/uio.c 		ret = kobject_add(&map->kobj, idev->map_dir, "map%d", mi);
kobj              317 drivers/uio/uio.c 		ret = kobject_uevent(&map->kobj, KOBJ_ADD);
kobj              329 drivers/uio/uio.c 							&idev->dev.kobj);
kobj              340 drivers/uio/uio.c 		kobject_init(&portio->kobj, &portio_attr_type);
kobj              343 drivers/uio/uio.c 		ret = kobject_add(&portio->kobj, idev->portio_dir,
kobj              347 drivers/uio/uio.c 		ret = kobject_uevent(&portio->kobj, KOBJ_ADD);
kobj              360 drivers/uio/uio.c 		kobject_put(&portio->kobj);
kobj              369 drivers/uio/uio.c 		kobject_put(&map->kobj);
kobj              386 drivers/uio/uio.c 		kobject_put(&mem->map->kobj);
kobj              394 drivers/uio/uio.c 		kobject_put(&port->portio->kobj);
kobj              846 drivers/uio/uio.c 	kobject_set_name(&cdev->kobj, "%s", name);
kobj              856 drivers/uio/uio.c 	kobject_put(&cdev->kobj);
kobj              126 drivers/uio/uio_hv_generic.c static int hv_uio_ring_mmap(struct file *filp, struct kobject *kobj,
kobj              131 drivers/uio/uio_hv_generic.c 		= container_of(kobj, struct vmbus_channel, kobj);
kobj              171 drivers/uio/uio_hv_generic.c 	ret = sysfs_create_bin_file(&new_sc->kobj, &ring_buffer_bin_attr);
kobj              339 drivers/uio/uio_hv_generic.c 	ret = sysfs_create_bin_file(&channel->kobj, &ring_buffer_bin_attr);
kobj              819 drivers/usb/chipidea/otg_fsm.c 	retval = sysfs_create_group(&ci->dev->kobj, &inputs_attr_group);
kobj              843 drivers/usb/chipidea/otg_fsm.c 	sysfs_remove_group(&ci->dev->kobj, &inputs_attr_group);
kobj             2347 drivers/usb/core/hcd.c 	kobject_uevent_env(&hcd->self.root_hub->dev.kobj, KOBJ_OFFLINE, env);
kobj             2224 drivers/usb/core/hub.c 		sysfs_remove_link(&udev->dev.kobj, "port");
kobj             2225 drivers/usb/core/hub.c 		sysfs_remove_link(&port_dev->dev.kobj, "device");
kobj             2565 drivers/usb/core/hub.c 		err = sysfs_create_link(&udev->dev.kobj,
kobj             2566 drivers/usb/core/hub.c 				&port_dev->dev.kobj, "port");
kobj             2570 drivers/usb/core/hub.c 		err = sysfs_create_link(&port_dev->dev.kobj,
kobj             2571 drivers/usb/core/hub.c 				&udev->dev.kobj, "device");
kobj             2573 drivers/usb/core/hub.c 			sysfs_remove_link(&udev->dev.kobj, "port");
kobj             5248 drivers/usb/core/hub.c 	sysfs_notify(&port_dev->dev.kobj, NULL, "over_current_count");
kobj             5255 drivers/usb/core/hub.c 	port_dev_path = kobject_get_path(&port_dev->dev.kobj, GFP_KERNEL);
kobj             5269 drivers/usb/core/hub.c 	kobject_uevent_env(&hub_dev->kobj, KOBJ_CHANGE, envp);
kobj              218 drivers/usb/core/ledtrig-usbport.c 	err = sysfs_add_file_to_group(&led_cdev->dev->kobj, &port->attr.attr,
kobj              254 drivers/usb/core/ledtrig-usbport.c 	sysfs_remove_file_from_group(&led_cdev->dev->kobj, &port->attr.attr,
kobj              314 drivers/usb/core/ledtrig-usbport.c 	err = sysfs_create_group(&led_cdev->dev->kobj, &ports_group);
kobj              340 drivers/usb/core/ledtrig-usbport.c 	sysfs_remove_group(&led_cdev->dev->kobj, &ports_group);
kobj              348 drivers/usb/core/port.c 	rc = sysfs_create_link(&left->dev.kobj, &right->dev.kobj, "peer");
kobj              351 drivers/usb/core/port.c 	rc = sysfs_create_link(&right->dev.kobj, &left->dev.kobj, "peer");
kobj              353 drivers/usb/core/port.c 		sysfs_remove_link(&left->dev.kobj, "peer");
kobj              428 drivers/usb/core/port.c 	sysfs_remove_link(&left->dev.kobj, "peer");
kobj              430 drivers/usb/core/port.c 	sysfs_remove_link(&right->dev.kobj, "peer");
kobj              376 drivers/usb/core/sysfs.c 			rc = sysfs_add_file_to_group(&dev->kobj,
kobj              385 drivers/usb/core/sysfs.c 	sysfs_remove_file_from_group(&dev->kobj,
kobj              677 drivers/usb/core/sysfs.c 		rc = sysfs_merge_group(&dev->kobj, &power_attr_group);
kobj              679 drivers/usb/core/sysfs.c 			rc = sysfs_merge_group(&dev->kobj,
kobj              684 drivers/usb/core/sysfs.c 			rc = sysfs_merge_group(&dev->kobj,
kobj              693 drivers/usb/core/sysfs.c 	sysfs_unmerge_group(&dev->kobj, &usb2_hardware_lpm_attr_group);
kobj              694 drivers/usb/core/sysfs.c 	sysfs_unmerge_group(&dev->kobj, &power_attr_group);
kobj              849 drivers/usb/core/sysfs.c static umode_t dev_string_attrs_are_visible(struct kobject *kobj,
kobj              852 drivers/usb/core/sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              882 drivers/usb/core/sysfs.c read_descriptors(struct file *filp, struct kobject *kobj,
kobj              886 drivers/usb/core/sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             1024 drivers/usb/core/sysfs.c 		rc = sysfs_create_group(&dev->kobj, &usb_bus_attr_group);
kobj             1032 drivers/usb/core/sysfs.c 		sysfs_remove_group(&dev->kobj, &usb_bus_attr_group);
kobj             1233 drivers/usb/core/sysfs.c static umode_t intf_assoc_attrs_are_visible(struct kobject *kobj,
kobj             1236 drivers/usb/core/sysfs.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             2715 drivers/usb/gadget/function/f_mass_storage.c static umode_t fsg_lun_dev_is_visible(struct kobject *kobj,
kobj             2718 drivers/usb/gadget/function/f_mass_storage.c 	struct device *dev = kobj_to_dev(kobj);
kobj             1009 drivers/usb/gadget/udc/core.c 		sysfs_notify(&udc->dev.kobj, NULL, "state");
kobj             1200 drivers/usb/gadget/udc/core.c 	ret = dev_set_name(&udc->dev, "%s", kobject_name(&parent->kobj));
kobj             1297 drivers/usb/gadget/udc/core.c 	kobject_uevent(&udc->dev.kobj, KOBJ_CHANGE);
kobj             1335 drivers/usb/gadget/udc/core.c 	kobject_uevent(&udc->dev.kobj, KOBJ_REMOVE);
kobj             1368 drivers/usb/gadget/udc/core.c 	kobject_uevent(&udc->dev.kobj, KOBJ_CHANGE);
kobj             1942 drivers/usb/musb/musb_core.c 		sysfs_notify(&musb->controller->kobj, NULL, "mode");
kobj              117 drivers/usb/phy/phy-tahvo.c 		sysfs_notify(&tu->pt_dev->dev.kobj, NULL, "vbus_state");
kobj              242 drivers/usb/phy/phy-twl6030-usb.c 	sysfs_notify(&twl->dev->kobj, NULL, "vbus");
kobj              125 drivers/usb/phy/phy.c 	kobject_uevent_env(&usb_phy->dev->kobj, KOBJ_CHANGE, envp);
kobj              179 drivers/usb/roles/class.c usb_role_switch_is_visible(struct kobject *kobj, struct attribute *attr, int n)
kobj              181 drivers/usb/roles/class.c 	struct device *dev = container_of(kobj, typeof(*dev), kobj);
kobj              141 drivers/usb/typec/altmodes/displayport.c 	sysfs_notify(&dp->alt->dev.kobj, "displayport", "configuration");
kobj              151 drivers/usb/typec/altmodes/displayport.c 	sysfs_notify(&dp->alt->dev.kobj, "displayport", "pin_assignment");
kobj              525 drivers/usb/typec/altmodes/displayport.c 	ret = sysfs_create_group(&alt->dev.kobj, &dp_altmode_group);
kobj              554 drivers/usb/typec/altmodes/displayport.c 	sysfs_remove_group(&alt->dev.kobj, &dp_altmode_group);
kobj              336 drivers/usb/typec/bus.c 	err = sysfs_create_link(&dev->kobj, &port_dev->kobj, "port");
kobj              340 drivers/usb/typec/bus.c 	err = sysfs_create_link(&port_dev->kobj, &dev->kobj, "partner");
kobj              342 drivers/usb/typec/bus.c 		sysfs_remove_link(&dev->kobj, "port");
kobj              349 drivers/usb/typec/bus.c 	sysfs_remove_link(&alt->partner->adev.dev.kobj, "partner");
kobj              350 drivers/usb/typec/bus.c 	sysfs_remove_link(&alt->adev.dev.kobj, "port");
kobj              143 drivers/usb/typec/class.c 	sysfs_notify(&dev->kobj, "identity", "id_header");
kobj              144 drivers/usb/typec/class.c 	sysfs_notify(&dev->kobj, "identity", "cert_stat");
kobj              145 drivers/usb/typec/class.c 	sysfs_notify(&dev->kobj, "identity", "product");
kobj              295 drivers/usb/typec/class.c 	sysfs_notify(&adev->dev.kobj, dir, "active");
kobj              296 drivers/usb/typec/class.c 	sysfs_notify(&adev->dev.kobj, NULL, "active");
kobj              297 drivers/usb/typec/class.c 	kobject_uevent(&adev->dev.kobj, KOBJ_CHANGE);
kobj             1307 drivers/usb/typec/class.c 	sysfs_notify(&port->dev.kobj, NULL, "data_role");
kobj             1308 drivers/usb/typec/class.c 	kobject_uevent(&port->dev.kobj, KOBJ_CHANGE);
kobj             1325 drivers/usb/typec/class.c 	sysfs_notify(&port->dev.kobj, NULL, "power_role");
kobj             1326 drivers/usb/typec/class.c 	kobject_uevent(&port->dev.kobj, KOBJ_CHANGE);
kobj             1344 drivers/usb/typec/class.c 	sysfs_notify(&port->dev.kobj, NULL, "vconn_source");
kobj             1345 drivers/usb/typec/class.c 	kobject_uevent(&port->dev.kobj, KOBJ_CHANGE);
kobj             1373 drivers/usb/typec/class.c 	sysfs_notify(&port->dev.kobj, NULL, "power_operation_mode");
kobj             1374 drivers/usb/typec/class.c 	kobject_uevent(&port->dev.kobj, KOBJ_CHANGE);
kobj             1382 drivers/usb/typec/class.c 			sysfs_notify(&partner_dev->kobj, NULL,
kobj             1201 drivers/usb/usbip/vhci_hcd.c 		err = sysfs_create_group(&hcd_dev(hcd)->kobj, &vhci_attr_group);
kobj             1223 drivers/usb/usbip/vhci_hcd.c 		sysfs_remove_group(&hcd_dev(hcd)->kobj, &vhci_attr_group);
kobj             1495 drivers/usb/usbip/vhci_hcd.c 	sysfs_remove_link(&platform_bus.kobj, driver_name);
kobj               69 drivers/usb/usbip/vudc_sysfs.c static ssize_t dev_desc_read(struct file *file, struct kobject *kobj,
kobj               73 drivers/usb/usbip/vudc_sysfs.c 	struct device *dev = kobj_to_dev(kobj);
kobj              199 drivers/vfio/mdev/mdev_core.c 	kobject_uevent_env(&dev->kobj, KOBJ_CHANGE, envp);
kobj              251 drivers/vfio/mdev/mdev_core.c 	kobject_uevent_env(&dev->kobj, KOBJ_CHANGE, envp);
kobj              272 drivers/vfio/mdev/mdev_core.c int mdev_device_create(struct kobject *kobj,
kobj              278 drivers/vfio/mdev/mdev_core.c 	struct mdev_type *type = to_mdev_type(kobj);
kobj              321 drivers/vfio/mdev/mdev_core.c 	mdev->type_kobj = kobj;
kobj              323 drivers/vfio/mdev/mdev_core.c 	ret = parent->ops->create(kobj, mdev);
kobj               42 drivers/vfio/mdev/mdev_private.h 	struct kobject kobj;
kobj               52 drivers/vfio/mdev/mdev_private.h 	container_of(_kobj, struct mdev_type, kobj)
kobj               60 drivers/vfio/mdev/mdev_private.h int  mdev_device_create(struct kobject *kobj,
kobj               21 drivers/vfio/mdev/mdev_sysfs.c static ssize_t mdev_type_attr_show(struct kobject *kobj,
kobj               25 drivers/vfio/mdev/mdev_sysfs.c 	struct mdev_type *type = to_mdev_type(kobj);
kobj               29 drivers/vfio/mdev/mdev_sysfs.c 		ret = attr->show(kobj, type->parent->dev, buf);
kobj               33 drivers/vfio/mdev/mdev_sysfs.c static ssize_t mdev_type_attr_store(struct kobject *kobj,
kobj               38 drivers/vfio/mdev/mdev_sysfs.c 	struct mdev_type *type = to_mdev_type(kobj);
kobj               42 drivers/vfio/mdev/mdev_sysfs.c 		ret = attr->store(&type->kobj, type->parent->dev, buf, count);
kobj               51 drivers/vfio/mdev/mdev_sysfs.c static ssize_t create_store(struct kobject *kobj, struct device *dev,
kobj               70 drivers/vfio/mdev/mdev_sysfs.c 	ret = mdev_device_create(kobj, dev, &uuid);
kobj               79 drivers/vfio/mdev/mdev_sysfs.c static void mdev_type_release(struct kobject *kobj)
kobj               81 drivers/vfio/mdev/mdev_sysfs.c 	struct mdev_type *type = to_mdev_type(kobj);
kobj               83 drivers/vfio/mdev/mdev_sysfs.c 	pr_debug("Releasing group %s\n", kobj->name);
kobj              107 drivers/vfio/mdev/mdev_sysfs.c 	type->kobj.kset = parent->mdev_types_kset;
kobj              109 drivers/vfio/mdev/mdev_sysfs.c 	ret = kobject_init_and_add(&type->kobj, &mdev_type_ktype, NULL,
kobj              117 drivers/vfio/mdev/mdev_sysfs.c 	ret = sysfs_create_file(&type->kobj, &mdev_type_attr_create.attr);
kobj              121 drivers/vfio/mdev/mdev_sysfs.c 	type->devices_kobj = kobject_create_and_add("devices", &type->kobj);
kobj              127 drivers/vfio/mdev/mdev_sysfs.c 	ret = sysfs_create_files(&type->kobj,
kobj              141 drivers/vfio/mdev/mdev_sysfs.c 	sysfs_remove_file(&type->kobj, &mdev_type_attr_create.attr);
kobj              143 drivers/vfio/mdev/mdev_sysfs.c 	kobject_del(&type->kobj);
kobj              144 drivers/vfio/mdev/mdev_sysfs.c 	kobject_put(&type->kobj);
kobj              150 drivers/vfio/mdev/mdev_sysfs.c 	sysfs_remove_files(&type->kobj,
kobj              153 drivers/vfio/mdev/mdev_sysfs.c 	sysfs_remove_file(&type->kobj, &mdev_type_attr_create.attr);
kobj              154 drivers/vfio/mdev/mdev_sysfs.c 	kobject_del(&type->kobj);
kobj              155 drivers/vfio/mdev/mdev_sysfs.c 	kobject_put(&type->kobj);
kobj              192 drivers/vfio/mdev/mdev_sysfs.c 	sysfs_remove_groups(&parent->dev->kobj, parent->ops->dev_attr_groups);
kobj              201 drivers/vfio/mdev/mdev_sysfs.c 					       NULL, &parent->dev->kobj);
kobj              208 drivers/vfio/mdev/mdev_sysfs.c 	ret = sysfs_create_groups(&parent->dev->kobj,
kobj              215 drivers/vfio/mdev/mdev_sysfs.c 		sysfs_remove_groups(&parent->dev->kobj,
kobj              255 drivers/vfio/mdev/mdev_sysfs.c 	ret = sysfs_create_link(type->devices_kobj, &dev->kobj, dev_name(dev));
kobj              259 drivers/vfio/mdev/mdev_sysfs.c 	ret = sysfs_create_link(&dev->kobj, &type->kobj, "mdev_type");
kobj              263 drivers/vfio/mdev/mdev_sysfs.c 	ret = sysfs_create_files(&dev->kobj, mdev_device_attrs);
kobj              270 drivers/vfio/mdev/mdev_sysfs.c 	sysfs_remove_link(&dev->kobj, "mdev_type");
kobj              278 drivers/vfio/mdev/mdev_sysfs.c 	sysfs_remove_files(&dev->kobj, mdev_device_attrs);
kobj              279 drivers/vfio/mdev/mdev_sysfs.c 	sysfs_remove_link(&dev->kobj, "mdev_type");
kobj              325 drivers/video/backlight/adp5520_bl.c 		ret = sysfs_create_group(&bl->dev.kobj,
kobj              338 drivers/video/backlight/adp5520_bl.c 			sysfs_remove_group(&bl->dev.kobj,
kobj              356 drivers/video/backlight/adp5520_bl.c 		sysfs_remove_group(&bl->dev.kobj,
kobj              732 drivers/video/backlight/adp8860_bl.c 		ret = sysfs_create_group(&bl->dev.kobj,
kobj              758 drivers/video/backlight/adp8860_bl.c 		sysfs_remove_group(&data->bl->dev.kobj,
kobj              774 drivers/video/backlight/adp8860_bl.c 		sysfs_remove_group(&data->bl->dev.kobj,
kobj              905 drivers/video/backlight/adp8870_bl.c 		ret = sysfs_create_group(&bl->dev.kobj,
kobj              930 drivers/video/backlight/adp8870_bl.c 		sysfs_remove_group(&data->bl->dev.kobj,
kobj              946 drivers/video/backlight/adp8870_bl.c 		sysfs_remove_group(&data->bl->dev.kobj,
kobj              127 drivers/video/backlight/backlight.c 	kobject_uevent_env(&bd->dev.kobj, KOBJ_CHANGE, envp);
kobj              128 drivers/video/backlight/backlight.c 	sysfs_notify(&bd->dev.kobj, NULL, "actual_brightness");
kobj              235 drivers/video/backlight/lm3533_bl.c static umode_t lm3533_bl_attr_is_visible(struct kobject *kobj,
kobj              238 drivers/video/backlight/lm3533_bl.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              322 drivers/video/backlight/lm3533_bl.c 	ret = sysfs_create_group(&bd->dev.kobj, &lm3533_bl_attribute_group);
kobj              341 drivers/video/backlight/lm3533_bl.c 	sysfs_remove_group(&bd->dev.kobj, &lm3533_bl_attribute_group);
kobj              357 drivers/video/backlight/lm3533_bl.c 	sysfs_remove_group(&bd->dev.kobj, &lm3533_bl_attribute_group);
kobj              484 drivers/video/backlight/lp855x_bl.c 	ret = sysfs_create_group(&lp->dev->kobj, &lp855x_attr_group);
kobj              502 drivers/video/backlight/lp855x_bl.c 	sysfs_remove_group(&lp->dev->kobj, &lp855x_attr_group);
kobj              285 drivers/video/backlight/lp8788_bl.c 	ret = sysfs_create_group(&pdev->dev.kobj, &lp8788_attr_group);
kobj              308 drivers/video/backlight/lp8788_bl.c 	sysfs_remove_group(&pdev->dev.kobj, &lp8788_attr_group);
kobj              294 drivers/video/backlight/sky81452-backlight.c 	ret = sysfs_create_group(&bd->dev.kobj, &sky81452_bl_attr_group);
kobj              309 drivers/video/backlight/sky81452-backlight.c 	sysfs_remove_group(&bd->dev.kobj, &sky81452_bl_attr_group);
kobj             2215 drivers/video/fbdev/aty/radeon_base.c static ssize_t radeon_show_edid1(struct file *filp, struct kobject *kobj,
kobj             2219 drivers/video/fbdev/aty/radeon_base.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             2227 drivers/video/fbdev/aty/radeon_base.c static ssize_t radeon_show_edid2(struct file *filp, struct kobject *kobj,
kobj             2231 drivers/video/fbdev/aty/radeon_base.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj             2461 drivers/video/fbdev/aty/radeon_base.c 		err |= sysfs_create_bin_file(&rinfo->pdev->dev.kobj,
kobj             2464 drivers/video/fbdev/aty/radeon_base.c 		err |= sysfs_create_bin_file(&rinfo->pdev->dev.kobj,
kobj             2547 drivers/video/fbdev/aty/radeon_base.c 		sysfs_remove_bin_file(&rinfo->pdev->dev.kobj, &edid1_attr);
kobj             2549 drivers/video/fbdev/aty/radeon_base.c 		sysfs_remove_bin_file(&rinfo->pdev->dev.kobj, &edid2_attr);
kobj              562 drivers/video/fbdev/efifb.c 	err = sysfs_create_groups(&dev->dev.kobj, efifb_groups);
kobj              583 drivers/video/fbdev/efifb.c 	sysfs_remove_groups(&dev->dev.kobj, efifb_groups);
kobj              602 drivers/video/fbdev/efifb.c 	sysfs_remove_groups(&pdev->dev.kobj, efifb_groups);
kobj             1412 drivers/video/fbdev/omap/omapfb_main.c 	if ((r = sysfs_create_group(&fbdev->dev->kobj, &panel_attr_grp)))
kobj             1415 drivers/video/fbdev/omap/omapfb_main.c 	if ((r = sysfs_create_group(&fbdev->dev->kobj, &ctrl_attr_grp)))
kobj             1420 drivers/video/fbdev/omap/omapfb_main.c 	sysfs_remove_group(&fbdev->dev->kobj, &panel_attr_grp);
kobj             1432 drivers/video/fbdev/omap/omapfb_main.c 	sysfs_remove_group(&fbdev->dev->kobj, &ctrl_attr_grp);
kobj             1433 drivers/video/fbdev/omap/omapfb_main.c 	sysfs_remove_group(&fbdev->dev->kobj, &panel_attr_grp);
kobj             1261 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c 	r = sysfs_create_group(&dev->kobj, &dsicm_attr_group);
kobj             1289 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c 	sysfs_remove_group(&pdev->dev.kobj, &dsicm_attr_group);
kobj              815 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c 		r = sysfs_create_group(&bldev->dev.kobj, &bldev_attr_group);
kobj              855 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c 	sysfs_remove_group(&bldev->dev.kobj, &bldev_attr_group);
kobj              873 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c 	sysfs_remove_group(&ddata->bl_dev->dev.kobj, &bldev_attr_group);
kobj              540 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c 	r = sysfs_create_group(&spi->dev.kobj, &tpo_td043_attr_group);
kobj              564 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c 	sysfs_remove_group(&spi->dev.kobj, &tpo_td043_attr_group);
kobj              587 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c 	sysfs_remove_group(&spi->dev.kobj, &tpo_td043_attr_group);
kobj              269 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c static ssize_t display_attr_show(struct kobject *kobj, struct attribute *attr,
kobj              275 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c 	dssdev = container_of(kobj, struct omap_dss_device, kobj);
kobj              284 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c static ssize_t display_attr_store(struct kobject *kobj, struct attribute *attr,
kobj              290 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c 	dssdev = container_of(kobj, struct omap_dss_device, kobj);
kobj              315 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c 		r = kobject_init_and_add(&dssdev->kobj, &display_ktype,
kobj              316 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c 			&pdev->dev.kobj, "%s", dssdev->alias);
kobj              337 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c 		if (kobject_name(&dssdev->kobj) == NULL)
kobj              340 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c 		kobject_del(&dssdev->kobj);
kobj              341 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c 		kobject_put(&dssdev->kobj);
kobj              343 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c 		memset(&dssdev->kobj, 0, sizeof(dssdev->kobj));
kobj              461 drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c static ssize_t manager_attr_show(struct kobject *kobj, struct attribute *attr,
kobj              467 drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c 	manager = container_of(kobj, struct omap_overlay_manager, kobj);
kobj              476 drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c static ssize_t manager_attr_store(struct kobject *kobj, struct attribute *attr,
kobj              482 drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c 	manager = container_of(kobj, struct omap_overlay_manager, kobj);
kobj              504 drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c 	return kobject_init_and_add(&mgr->kobj, &manager_ktype,
kobj              505 drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c 			&pdev->dev.kobj, "manager%d", mgr->id);
kobj              510 drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c 	kobject_del(&mgr->kobj);
kobj              511 drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c 	kobject_put(&mgr->kobj);
kobj              513 drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c 	memset(&mgr->kobj, 0, sizeof(mgr->kobj));
kobj              394 drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c static ssize_t overlay_attr_show(struct kobject *kobj, struct attribute *attr,
kobj              400 drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c 	overlay = container_of(kobj, struct omap_overlay, kobj);
kobj              409 drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c static ssize_t overlay_attr_store(struct kobject *kobj, struct attribute *attr,
kobj              415 drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c 	overlay = container_of(kobj, struct omap_overlay, kobj);
kobj              437 drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c 	return kobject_init_and_add(&ovl->kobj, &overlay_ktype,
kobj              438 drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c 			&pdev->dev.kobj, "overlay%d", ovl->id);
kobj              443 drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c 	kobject_del(&ovl->kobj);
kobj              444 drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c 	kobject_put(&ovl->kobj);
kobj             1459 drivers/video/fbdev/udlfb.c 			struct kobject *kobj, struct bin_attribute *a,
kobj             1461 drivers/video/fbdev/udlfb.c 	struct device *fbdev = container_of(kobj, struct device, kobj);
kobj             1481 drivers/video/fbdev/udlfb.c 			struct kobject *kobj, struct bin_attribute *a,
kobj             1483 drivers/video/fbdev/udlfb.c 	struct device *fbdev = container_of(kobj, struct device, kobj);
kobj             1750 drivers/video/fbdev/uvesafb.c 	err = sysfs_create_group(&dev->dev.kobj, &uvesafb_dev_attgrp);
kobj             1781 drivers/video/fbdev/uvesafb.c 		sysfs_remove_group(&dev->dev.kobj, &uvesafb_dev_attgrp);
kobj             1056 drivers/visorbus/visorchipset.c 	return kobject_uevent_env(&chipset_dev->acpi_device->dev.kobj,
kobj             1116 drivers/visorbus/visorchipset.c 	res = kobject_uevent(&chipset_dev->acpi_device->dev.kobj, KOBJ_ONLINE);
kobj             1136 drivers/visorbus/visorchipset.c 	res = kobject_uevent_env(&chipset_dev->acpi_device->dev.kobj,
kobj             1152 drivers/visorbus/visorchipset.c 	int res = kobject_uevent(&chipset_dev->acpi_device->dev.kobj,
kobj             1576 drivers/visorbus/visorchipset.c 	err = sysfs_create_groups(&chipset_dev->acpi_device->dev.kobj,
kobj             1609 drivers/visorbus/visorchipset.c 	sysfs_remove_groups(&chipset_dev->acpi_device->dev.kobj,
kobj             1627 drivers/visorbus/visorchipset.c 	sysfs_remove_groups(&chipset_dev->acpi_device->dev.kobj,
kobj               26 drivers/w1/slaves/w1_ds2406.c 	struct file *filp, struct kobject *kobj,
kobj               31 drivers/w1/slaves/w1_ds2406.c 	struct w1_slave *sl = kobj_to_w1_slave(kobj);
kobj               63 drivers/w1/slaves/w1_ds2406.c 	struct file *filp, struct kobject *kobj,
kobj               67 drivers/w1/slaves/w1_ds2406.c 	struct w1_slave *sl = kobj_to_w1_slave(kobj);
kobj              124 drivers/w1/slaves/w1_ds2406.c 			&sl->dev.kobj,
kobj              128 drivers/w1/slaves/w1_ds2406.c 			sysfs_remove_bin_file(&sl->dev.kobj,
kobj              137 drivers/w1/slaves/w1_ds2406.c 		sysfs_remove_bin_file(&sl->dev.kobj,
kobj               67 drivers/w1/slaves/w1_ds2408.c static ssize_t state_read(struct file *filp, struct kobject *kobj,
kobj               71 drivers/w1/slaves/w1_ds2408.c 	dev_dbg(&kobj_to_w1_slave(kobj)->dev,
kobj               73 drivers/w1/slaves/w1_ds2408.c 		bin_attr->attr.name, kobj, (unsigned int)off, count, buf);
kobj               76 drivers/w1/slaves/w1_ds2408.c 	return _read_reg(kobj_to_w1_slave(kobj), W1_F29_REG_LOGIG_STATE, buf);
kobj               79 drivers/w1/slaves/w1_ds2408.c static ssize_t output_read(struct file *filp, struct kobject *kobj,
kobj               83 drivers/w1/slaves/w1_ds2408.c 	dev_dbg(&kobj_to_w1_slave(kobj)->dev,
kobj               85 drivers/w1/slaves/w1_ds2408.c 		bin_attr->attr.name, kobj, (unsigned int)off, count, buf);
kobj               88 drivers/w1/slaves/w1_ds2408.c 	return _read_reg(kobj_to_w1_slave(kobj),
kobj               92 drivers/w1/slaves/w1_ds2408.c static ssize_t activity_read(struct file *filp, struct kobject *kobj,
kobj               96 drivers/w1/slaves/w1_ds2408.c 	dev_dbg(&kobj_to_w1_slave(kobj)->dev,
kobj               98 drivers/w1/slaves/w1_ds2408.c 		bin_attr->attr.name, kobj, (unsigned int)off, count, buf);
kobj              101 drivers/w1/slaves/w1_ds2408.c 	return _read_reg(kobj_to_w1_slave(kobj),
kobj              105 drivers/w1/slaves/w1_ds2408.c static ssize_t cond_search_mask_read(struct file *filp, struct kobject *kobj,
kobj              109 drivers/w1/slaves/w1_ds2408.c 	dev_dbg(&kobj_to_w1_slave(kobj)->dev,
kobj              111 drivers/w1/slaves/w1_ds2408.c 		bin_attr->attr.name, kobj, (unsigned int)off, count, buf);
kobj              114 drivers/w1/slaves/w1_ds2408.c 	return _read_reg(kobj_to_w1_slave(kobj),
kobj              119 drivers/w1/slaves/w1_ds2408.c 					 struct kobject *kobj,
kobj              125 drivers/w1/slaves/w1_ds2408.c 	return _read_reg(kobj_to_w1_slave(kobj),
kobj              129 drivers/w1/slaves/w1_ds2408.c static ssize_t status_control_read(struct file *filp, struct kobject *kobj,
kobj              135 drivers/w1/slaves/w1_ds2408.c 	return _read_reg(kobj_to_w1_slave(kobj),
kobj              162 drivers/w1/slaves/w1_ds2408.c static ssize_t output_write(struct file *filp, struct kobject *kobj,
kobj              166 drivers/w1/slaves/w1_ds2408.c 	struct w1_slave *sl = kobj_to_w1_slave(kobj);
kobj              212 drivers/w1/slaves/w1_ds2408.c static ssize_t activity_write(struct file *filp, struct kobject *kobj,
kobj              216 drivers/w1/slaves/w1_ds2408.c 	struct w1_slave *sl = kobj_to_w1_slave(kobj);
kobj              242 drivers/w1/slaves/w1_ds2408.c static ssize_t status_control_write(struct file *filp, struct kobject *kobj,
kobj              246 drivers/w1/slaves/w1_ds2408.c 	struct w1_slave *sl = kobj_to_w1_slave(kobj);
kobj               27 drivers/w1/slaves/w1_ds2413.c static ssize_t state_read(struct file *filp, struct kobject *kobj,
kobj               31 drivers/w1/slaves/w1_ds2413.c 	struct w1_slave *sl = kobj_to_w1_slave(kobj);
kobj               38 drivers/w1/slaves/w1_ds2413.c 		bin_attr->attr.name, kobj, (unsigned int)off, count, buf);
kobj               83 drivers/w1/slaves/w1_ds2413.c static ssize_t output_write(struct file *filp, struct kobject *kobj,
kobj               87 drivers/w1/slaves/w1_ds2413.c 	struct w1_slave *sl = kobj_to_w1_slave(kobj);
kobj               97 drivers/w1/slaves/w1_ds2431.c static ssize_t eeprom_read(struct file *filp, struct kobject *kobj,
kobj              101 drivers/w1/slaves/w1_ds2431.c 	struct w1_slave *sl = kobj_to_w1_slave(kobj);
kobj              203 drivers/w1/slaves/w1_ds2431.c static ssize_t eeprom_write(struct file *filp, struct kobject *kobj,
kobj              207 drivers/w1/slaves/w1_ds2431.c 	struct w1_slave *sl = kobj_to_w1_slave(kobj);
kobj               89 drivers/w1/slaves/w1_ds2433.c static ssize_t eeprom_read(struct file *filp, struct kobject *kobj,
kobj               93 drivers/w1/slaves/w1_ds2433.c 	struct w1_slave *sl = kobj_to_w1_slave(kobj);
kobj              203 drivers/w1/slaves/w1_ds2433.c static ssize_t eeprom_write(struct file *filp, struct kobject *kobj,
kobj              207 drivers/w1/slaves/w1_ds2433.c 	struct w1_slave *sl = kobj_to_w1_slave(kobj);
kobj              255 drivers/w1/slaves/w1_ds2438.c static ssize_t iad_write(struct file *filp, struct kobject *kobj,
kobj              259 drivers/w1/slaves/w1_ds2438.c 	struct w1_slave *sl = kobj_to_w1_slave(kobj);
kobj              277 drivers/w1/slaves/w1_ds2438.c static ssize_t iad_read(struct file *filp, struct kobject *kobj,
kobj              281 drivers/w1/slaves/w1_ds2438.c 	struct w1_slave *sl = kobj_to_w1_slave(kobj);
kobj              298 drivers/w1/slaves/w1_ds2438.c static ssize_t page0_read(struct file *filp, struct kobject *kobj,
kobj              302 drivers/w1/slaves/w1_ds2438.c 	struct w1_slave *sl = kobj_to_w1_slave(kobj);
kobj              328 drivers/w1/slaves/w1_ds2438.c static ssize_t temperature_read(struct file *filp, struct kobject *kobj,
kobj              332 drivers/w1/slaves/w1_ds2438.c 	struct w1_slave *sl = kobj_to_w1_slave(kobj);
kobj              349 drivers/w1/slaves/w1_ds2438.c static ssize_t vad_read(struct file *filp, struct kobject *kobj,
kobj              353 drivers/w1/slaves/w1_ds2438.c 	struct w1_slave *sl = kobj_to_w1_slave(kobj);
kobj              370 drivers/w1/slaves/w1_ds2438.c static ssize_t vdd_read(struct file *filp, struct kobject *kobj,
kobj              374 drivers/w1/slaves/w1_ds2438.c 	struct w1_slave *sl = kobj_to_w1_slave(kobj);
kobj               89 drivers/w1/slaves/w1_ds2780.c static ssize_t w1_slave_read(struct file *filp, struct kobject *kobj,
kobj               93 drivers/w1/slaves/w1_ds2780.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj               86 drivers/w1/slaves/w1_ds2781.c static ssize_t w1_slave_read(struct file *filp, struct kobject *kobj,
kobj               90 drivers/w1/slaves/w1_ds2781.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj               94 drivers/w1/slaves/w1_ds2805.c static ssize_t w1_f0d_read_bin(struct file *filp, struct kobject *kobj,
kobj               98 drivers/w1/slaves/w1_ds2805.c 	struct w1_slave *sl = kobj_to_w1_slave(kobj);
kobj              202 drivers/w1/slaves/w1_ds2805.c static ssize_t w1_f0d_write_bin(struct file *filp, struct kobject *kobj,
kobj              206 drivers/w1/slaves/w1_ds2805.c 	struct w1_slave *sl = kobj_to_w1_slave(kobj);
kobj              276 drivers/w1/slaves/w1_ds2805.c 	return sysfs_create_bin_file(&sl->dev.kobj, &w1_f0d_bin_attr);
kobj              281 drivers/w1/slaves/w1_ds2805.c 	sysfs_remove_bin_file(&sl->dev.kobj, &w1_f0d_bin_attr);
kobj              114 drivers/w1/slaves/w1_ds28e04.c static ssize_t eeprom_read(struct file *filp, struct kobject *kobj,
kobj              118 drivers/w1/slaves/w1_ds28e04.c 	struct w1_slave *sl = kobj_to_w1_slave(kobj);
kobj              222 drivers/w1/slaves/w1_ds28e04.c static ssize_t eeprom_write(struct file *filp, struct kobject *kobj,
kobj              227 drivers/w1/slaves/w1_ds28e04.c 	struct w1_slave *sl = kobj_to_w1_slave(kobj);
kobj              278 drivers/w1/slaves/w1_ds28e04.c static ssize_t pio_read(struct file *filp, struct kobject *kobj,
kobj              283 drivers/w1/slaves/w1_ds28e04.c 	struct w1_slave *sl = kobj_to_w1_slave(kobj);
kobj              297 drivers/w1/slaves/w1_ds28e04.c static ssize_t pio_write(struct file *filp, struct kobject *kobj,
kobj              302 drivers/w1/slaves/w1_ds28e04.c 	struct w1_slave *sl = kobj_to_w1_slave(kobj);
kobj              116 drivers/w1/w1.c static ssize_t rw_write(struct file *filp, struct kobject *kobj,
kobj              120 drivers/w1/w1.c 	struct w1_slave *sl = kobj_to_w1_slave(kobj);
kobj              135 drivers/w1/w1.c static ssize_t rw_read(struct file *filp, struct kobject *kobj,
kobj              139 drivers/w1/w1.c 	struct w1_slave *sl = kobj_to_w1_slave(kobj);
kobj              570 drivers/w1/w1.c 	return sysfs_create_group(&master->dev.kobj, &w1_master_defattr_group);
kobj              575 drivers/w1/w1.c 	sysfs_remove_group(&master->dev.kobj, &w1_master_defattr_group);
kobj              637 drivers/w1/w1.c 			err = sysfs_create_groups(&sl->dev.kobj, fops->groups);
kobj              666 drivers/w1/w1.c 			sysfs_remove_groups(&sl->dev.kobj, fops->groups);
kobj              709 drivers/w1/w1.c 	kobject_uevent(&sl->dev.kobj, KOBJ_ADD);
kobj              568 drivers/watchdog/watchdog_dev.c static umode_t wdt_is_visible(struct kobject *kobj, struct attribute *attr,
kobj              571 drivers/watchdog/watchdog_dev.c 	struct device *dev = container_of(kobj, struct device, kobj);
kobj              140 drivers/xen/pcpu.c static umode_t pcpu_dev_is_visible(struct kobject *kobj,
kobj              143 drivers/xen/pcpu.c 	struct device *dev = kobj_to_dev(kobj);
kobj              174 drivers/xen/pcpu.c 		kobject_uevent(&pcpu->dev.kobj, KOBJ_ONLINE);
kobj              179 drivers/xen/pcpu.c 		kobject_uevent(&pcpu->dev.kobj, KOBJ_OFFLINE);
kobj              570 drivers/xen/sys-hypervisor.c static ssize_t hyp_sysfs_show(struct kobject *kobj,
kobj              581 drivers/xen/sys-hypervisor.c static ssize_t hyp_sysfs_store(struct kobject *kobj,
kobj               83 drivers/zorro/zorro-sysfs.c static ssize_t zorro_read_config(struct file *filp, struct kobject *kobj,
kobj               87 drivers/zorro/zorro-sysfs.c 	struct zorro_dev *z = to_zorro_dev(kobj_to_dev(kobj));
kobj              552 fs/9p/v9fs.c   static ssize_t caches_show(struct kobject *kobj,
kobj             1332 fs/block_dev.c 	ret = add_symlink(disk->slave_dir, &part_to_dev(bdev->bd_part)->kobj);
kobj             1336 fs/block_dev.c 	ret = add_symlink(bdev->bd_part->holder_dir, &disk_to_dev(disk)->kobj);
kobj             1349 fs/block_dev.c 	del_symlink(disk->slave_dir, &part_to_dev(bdev->bd_part)->kobj);
kobj             1377 fs/block_dev.c 		del_symlink(disk->slave_dir, &part_to_dev(bdev->bd_part)->kobj);
kobj             1379 fs/block_dev.c 			    &disk_to_dev(disk)->kobj);
kobj              870 fs/btrfs/block-group.c 	struct kobject *kobj = NULL;
kobj             1000 fs/btrfs/block-group.c 		kobj = block_group->space_info->block_group_kobjs[index];
kobj             1006 fs/btrfs/block-group.c 	if (kobj) {
kobj             1007 fs/btrfs/block-group.c 		kobject_del(kobj);
kobj             1008 fs/btrfs/block-group.c 		kobject_put(kobj);
kobj               68 fs/btrfs/space-info.h 	struct kobject kobj;
kobj               30 fs/btrfs/sysfs.c 	struct kobject kobj;
kobj               69 fs/btrfs/sysfs.c static inline struct btrfs_fs_info *to_fs_info(struct kobject *kobj);
kobj               70 fs/btrfs/sysfs.c static inline struct btrfs_fs_devices *to_fs_devs(struct kobject *kobj);
kobj              143 fs/btrfs/sysfs.c static ssize_t btrfs_feature_attr_show(struct kobject *kobj,
kobj              147 fs/btrfs/sysfs.c 	struct btrfs_fs_info *fs_info = to_fs_info(kobj);
kobj              159 fs/btrfs/sysfs.c static ssize_t btrfs_feature_attr_store(struct kobject *kobj,
kobj              169 fs/btrfs/sysfs.c 	fs_info = to_fs_info(kobj);
kobj              227 fs/btrfs/sysfs.c static umode_t btrfs_feature_visible(struct kobject *kobj,
kobj              230 fs/btrfs/sysfs.c 	struct btrfs_fs_info *fs_info = to_fs_info(kobj);
kobj              291 fs/btrfs/sysfs.c static ssize_t rmdir_subvol_show(struct kobject *kobj,
kobj              344 fs/btrfs/sysfs.c static ssize_t global_rsv_size_show(struct kobject *kobj,
kobj              347 fs/btrfs/sysfs.c 	struct btrfs_fs_info *fs_info = to_fs_info(kobj->parent);
kobj              353 fs/btrfs/sysfs.c static ssize_t global_rsv_reserved_show(struct kobject *kobj,
kobj              356 fs/btrfs/sysfs.c 	struct btrfs_fs_info *fs_info = to_fs_info(kobj->parent);
kobj              362 fs/btrfs/sysfs.c #define to_space_info(_kobj) container_of(_kobj, struct btrfs_space_info, kobj)
kobj              363 fs/btrfs/sysfs.c #define to_raid_kobj(_kobj) container_of(_kobj, struct raid_kobject, kobj)
kobj              365 fs/btrfs/sysfs.c static ssize_t raid_bytes_show(struct kobject *kobj,
kobj              370 fs/btrfs/sysfs.c static ssize_t raid_bytes_show(struct kobject *kobj,
kobj              374 fs/btrfs/sysfs.c 	struct btrfs_space_info *sinfo = to_space_info(kobj->parent);
kobj              376 fs/btrfs/sysfs.c 	int index = btrfs_bg_flags_to_raid_index(to_raid_kobj(kobj)->flags);
kobj              397 fs/btrfs/sysfs.c static void release_raid_kobj(struct kobject *kobj)
kobj              399 fs/btrfs/sysfs.c 	kfree(to_raid_kobj(kobj));
kobj              409 fs/btrfs/sysfs.c static ssize_t btrfs_space_info_show_##field(struct kobject *kobj,	\
kobj              413 fs/btrfs/sysfs.c 	struct btrfs_space_info *sinfo = to_space_info(kobj);		\
kobj              418 fs/btrfs/sysfs.c static ssize_t btrfs_space_info_show_total_bytes_pinned(struct kobject *kobj,
kobj              422 fs/btrfs/sysfs.c 	struct btrfs_space_info *sinfo = to_space_info(kobj);
kobj              454 fs/btrfs/sysfs.c static void space_info_release(struct kobject *kobj)
kobj              456 fs/btrfs/sysfs.c 	struct btrfs_space_info *sinfo = to_space_info(kobj);
kobj              473 fs/btrfs/sysfs.c static ssize_t btrfs_label_show(struct kobject *kobj,
kobj              476 fs/btrfs/sysfs.c 	struct btrfs_fs_info *fs_info = to_fs_info(kobj);
kobj              487 fs/btrfs/sysfs.c static ssize_t btrfs_label_store(struct kobject *kobj,
kobj              491 fs/btrfs/sysfs.c 	struct btrfs_fs_info *fs_info = to_fs_info(kobj);
kobj              524 fs/btrfs/sysfs.c static ssize_t btrfs_nodesize_show(struct kobject *kobj,
kobj              527 fs/btrfs/sysfs.c 	struct btrfs_fs_info *fs_info = to_fs_info(kobj);
kobj              534 fs/btrfs/sysfs.c static ssize_t btrfs_sectorsize_show(struct kobject *kobj,
kobj              537 fs/btrfs/sysfs.c 	struct btrfs_fs_info *fs_info = to_fs_info(kobj);
kobj              545 fs/btrfs/sysfs.c static ssize_t btrfs_clone_alignment_show(struct kobject *kobj,
kobj              548 fs/btrfs/sysfs.c 	struct btrfs_fs_info *fs_info = to_fs_info(kobj);
kobj              556 fs/btrfs/sysfs.c static ssize_t quota_override_show(struct kobject *kobj,
kobj              559 fs/btrfs/sysfs.c 	struct btrfs_fs_info *fs_info = to_fs_info(kobj);
kobj              566 fs/btrfs/sysfs.c static ssize_t quota_override_store(struct kobject *kobj,
kobj              570 fs/btrfs/sysfs.c 	struct btrfs_fs_info *fs_info = to_fs_info(kobj);
kobj              596 fs/btrfs/sysfs.c static ssize_t btrfs_metadata_uuid_show(struct kobject *kobj,
kobj              599 fs/btrfs/sysfs.c 	struct btrfs_fs_info *fs_info = to_fs_info(kobj);
kobj              617 fs/btrfs/sysfs.c static void btrfs_release_fsid_kobj(struct kobject *kobj)
kobj              619 fs/btrfs/sysfs.c 	struct btrfs_fs_devices *fs_devs = to_fs_devs(kobj);
kobj              630 fs/btrfs/sysfs.c static inline struct btrfs_fs_devices *to_fs_devs(struct kobject *kobj)
kobj              632 fs/btrfs/sysfs.c 	if (kobj->ktype != &btrfs_ktype)
kobj              634 fs/btrfs/sysfs.c 	return container_of(kobj, struct btrfs_fs_devices, fsid_kobj);
kobj              637 fs/btrfs/sysfs.c static inline struct btrfs_fs_info *to_fs_info(struct kobject *kobj)
kobj              639 fs/btrfs/sysfs.c 	if (kobj->ktype != &btrfs_ktype)
kobj              641 fs/btrfs/sysfs.c 	return to_fs_devs(kobj)->fs_info;
kobj              852 fs/btrfs/sysfs.c 	kobject_init(&rkobj->kobj, &btrfs_raid_ktype);
kobj              853 fs/btrfs/sysfs.c 	ret = kobject_add(&rkobj->kobj, &space_info->kobj, "%s",
kobj              857 fs/btrfs/sysfs.c 		kobject_put(&rkobj->kobj);
kobj              863 fs/btrfs/sysfs.c 	space_info->block_group_kobjs[index] = &rkobj->kobj;
kobj              875 fs/btrfs/sysfs.c 		struct kobject *kobj;
kobj              877 fs/btrfs/sysfs.c 		kobj = space_info->block_group_kobjs[i];
kobj              879 fs/btrfs/sysfs.c 		if (kobj) {
kobj              880 fs/btrfs/sysfs.c 			kobject_del(kobj);
kobj              881 fs/btrfs/sysfs.c 			kobject_put(kobj);
kobj              884 fs/btrfs/sysfs.c 	kobject_del(&space_info->kobj);
kobj              885 fs/btrfs/sysfs.c 	kobject_put(&space_info->kobj);
kobj              914 fs/btrfs/sysfs.c 	ret = kobject_init_and_add(&space_info->kobj, &space_info_ktype,
kobj              918 fs/btrfs/sysfs.c 		kobject_put(&space_info->kobj);
kobj              938 fs/btrfs/sysfs.c 		disk_kobj = &part_to_dev(disk)->kobj;
kobj              952 fs/btrfs/sysfs.c 		disk_kobj = &part_to_dev(disk)->kobj;
kobj              990 fs/btrfs/sysfs.c 		disk_kobj = &part_to_dev(disk)->kobj;
kobj             1005 fs/btrfs/sysfs.c 	ret = kobject_uevent(&disk_to_dev(bdev->bd_disk)->kobj, action);
kobj             1008 fs/btrfs/sysfs.c 			action, kobject_name(&disk_to_dev(bdev->bd_disk)->kobj),
kobj             1009 fs/btrfs/sysfs.c 			&disk_to_dev(bdev->bd_disk)->kobj);
kobj             1144 fs/btrfs/sysfs.c 	ret = sysfs_create_group(&btrfs_kset->kobj, &btrfs_feature_attr_group);
kobj             1147 fs/btrfs/sysfs.c 	ret = sysfs_merge_group(&btrfs_kset->kobj,
kobj             1153 fs/btrfs/sysfs.c 	ret = sysfs_create_group(&btrfs_kset->kobj, &btrfs_debug_feature_attr_group);
kobj             1161 fs/btrfs/sysfs.c 	sysfs_remove_group(&btrfs_kset->kobj, &btrfs_feature_attr_group);
kobj             1170 fs/btrfs/sysfs.c 	sysfs_unmerge_group(&btrfs_kset->kobj,
kobj             1172 fs/btrfs/sysfs.c 	sysfs_remove_group(&btrfs_kset->kobj, &btrfs_feature_attr_group);
kobj              286 fs/char_dev.c  	kobject_set_name(&cdev->kobj, "%s", name);
kobj              296 fs/char_dev.c  	kobject_put(&cdev->kobj);
kobj              351 fs/char_dev.c  	struct kobject *kobj;
kobj              355 fs/char_dev.c  	kobj = kobject_get_unless_zero(&p->kobj);
kobj              356 fs/char_dev.c  	if (!kobj)
kobj              358 fs/char_dev.c  	return kobj;
kobj              365 fs/char_dev.c  		kobject_put(&p->kobj);
kobj              383 fs/char_dev.c  		struct kobject *kobj;
kobj              386 fs/char_dev.c  		kobj = kobj_lookup(cdev_map, inode->i_rdev, &idx);
kobj              387 fs/char_dev.c  		if (!kobj)
kobj              389 fs/char_dev.c  		new = container_of(kobj, struct cdev, kobj);
kobj              460 fs/char_dev.c  	return &p->kobj;
kobj              491 fs/char_dev.c  	kobject_get(p->kobj.parent);
kobj              505 fs/char_dev.c  void cdev_set_parent(struct cdev *p, struct kobject *kobj)
kobj              507 fs/char_dev.c  	WARN_ON(!kobj->state_initialized);
kobj              508 fs/char_dev.c  	p->kobj.parent = kobj;
kobj              539 fs/char_dev.c  		cdev_set_parent(cdev, &dev->kobj);
kobj              594 fs/char_dev.c  	kobject_put(&p->kobj);
kobj              598 fs/char_dev.c  static void cdev_default_release(struct kobject *kobj)
kobj              600 fs/char_dev.c  	struct cdev *p = container_of(kobj, struct cdev, kobj);
kobj              601 fs/char_dev.c  	struct kobject *parent = kobj->parent;
kobj              607 fs/char_dev.c  static void cdev_dynamic_release(struct kobject *kobj)
kobj              609 fs/char_dev.c  	struct cdev *p = container_of(kobj, struct cdev, kobj);
kobj              610 fs/char_dev.c  	struct kobject *parent = kobj->parent;
kobj              635 fs/char_dev.c  		kobject_init(&p->kobj, &ktype_cdev_dynamic);
kobj              652 fs/char_dev.c  	kobject_init(&cdev->kobj, &ktype_cdev_default);
kobj              163 fs/dlm/lockspace.c static ssize_t dlm_attr_show(struct kobject *kobj, struct attribute *attr,
kobj              166 fs/dlm/lockspace.c 	struct dlm_ls *ls  = container_of(kobj, struct dlm_ls, ls_kobj);
kobj              171 fs/dlm/lockspace.c static ssize_t dlm_attr_store(struct kobject *kobj, struct attribute *attr,
kobj              174 fs/dlm/lockspace.c 	struct dlm_ls *ls  = container_of(kobj, struct dlm_ls, ls_kobj);
kobj              228 fs/dlm/lockspace.c static int dlm_uevent(struct kset *kset, struct kobject *kobj,
kobj              231 fs/dlm/lockspace.c 	struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj);
kobj              757 fs/ecryptfs/main.c static ssize_t version_show(struct kobject *kobj,
kobj              290 fs/ext4/sysfs.c static ssize_t ext4_attr_show(struct kobject *kobj,
kobj              293 fs/ext4/sysfs.c 	struct ext4_sb_info *sbi = container_of(kobj, struct ext4_sb_info,
kobj              339 fs/ext4/sysfs.c static ssize_t ext4_attr_store(struct kobject *kobj,
kobj              343 fs/ext4/sysfs.c 	struct ext4_sb_info *sbi = container_of(kobj, struct ext4_sb_info,
kobj              372 fs/ext4/sysfs.c static void ext4_sb_release(struct kobject *kobj)
kobj              374 fs/ext4/sysfs.c 	struct ext4_sb_info *sbi = container_of(kobj, struct ext4_sb_info,
kobj              349 fs/f2fs/sysfs.c static ssize_t f2fs_attr_show(struct kobject *kobj,
kobj              352 fs/f2fs/sysfs.c 	struct f2fs_sb_info *sbi = container_of(kobj, struct f2fs_sb_info,
kobj              359 fs/f2fs/sysfs.c static ssize_t f2fs_attr_store(struct kobject *kobj, struct attribute *attr,
kobj              362 fs/f2fs/sysfs.c 	struct f2fs_sb_info *sbi = container_of(kobj, struct f2fs_sb_info,
kobj              369 fs/f2fs/sysfs.c static void f2fs_sb_release(struct kobject *kobj)
kobj              371 fs/f2fs/sysfs.c 	struct f2fs_sb_info *sbi = container_of(kobj, struct f2fs_sb_info,
kobj              592 fs/f2fs/sysfs.c 	.kobj   = {.ktype = &f2fs_ktype},
kobj              724 fs/f2fs/sysfs.c 	kobject_set_name(&f2fs_kset.kobj, "f2fs");
kobj              725 fs/f2fs/sysfs.c 	f2fs_kset.kobj.parent = fs_kobj;
kobj              244 fs/fscache/cache.c 	cache->kobj = kobject_create_and_add(tagname, fscache_root);
kobj              245 fs/fscache/cache.c 	if (!cache->kobj)
kobj              281 fs/fscache/cache.c 	kobject_uevent(cache->kobj, KOBJ_ADD);
kobj              409 fs/fscache/cache.c 	kobject_put(cache->kobj);
kobj              405 fs/fuse/cuse.c 	kobject_uevent(&dev->kobj, KOBJ_ADD);
kobj               36 fs/gfs2/sys.c  static ssize_t gfs2_attr_show(struct kobject *kobj, struct attribute *attr,
kobj               39 fs/gfs2/sys.c  	struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj);
kobj               44 fs/gfs2/sys.c  static ssize_t gfs2_attr_store(struct kobject *kobj, struct attribute *attr,
kobj               47 fs/gfs2/sys.c  	struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj);
kobj              301 fs/gfs2/sys.c  static void gfs2_sbd_release(struct kobject *kobj)
kobj              303 fs/gfs2/sys.c  	struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj);
kobj              670 fs/gfs2/sys.c  				  &disk_to_dev(sb->s_bdev->bd_disk)->kobj,
kobj              697 fs/gfs2/sys.c  static int gfs2_uevent(struct kset *kset, struct kobject *kobj,
kobj              700 fs/gfs2/sys.c  	struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj);
kobj               23 fs/nfs/sysfs.c static void nfs_netns_object_release(struct kobject *kobj)
kobj               25 fs/nfs/sysfs.c 	kfree(kobj);
kobj               29 fs/nfs/sysfs.c 		struct kobject *kobj)
kobj               43 fs/nfs/sysfs.c 	struct kobject *kobj;
kobj               45 fs/nfs/sysfs.c 	kobj = kzalloc(sizeof(*kobj), GFP_KERNEL);
kobj               46 fs/nfs/sysfs.c 	if (kobj) {
kobj               47 fs/nfs/sysfs.c 		kobj->kset = kset;
kobj               48 fs/nfs/sysfs.c 		if (kobject_init_and_add(kobj, &nfs_netns_object_type,
kobj               50 fs/nfs/sysfs.c 			return kobj;
kobj               51 fs/nfs/sysfs.c 		kobject_put(kobj);
kobj               76 fs/nfs/sysfs.c static ssize_t nfs_netns_identifier_show(struct kobject *kobj,
kobj               79 fs/nfs/sysfs.c 	struct nfs_netns_client *c = container_of(kobj,
kobj               93 fs/nfs/sysfs.c static ssize_t nfs_netns_identifier_store(struct kobject *kobj,
kobj               97 fs/nfs/sysfs.c 	struct nfs_netns_client *c = container_of(kobj,
kobj              118 fs/nfs/sysfs.c static void nfs_netns_client_release(struct kobject *kobj)
kobj              120 fs/nfs/sysfs.c 	struct nfs_netns_client *c = container_of(kobj,
kobj              129 fs/nfs/sysfs.c static const void *nfs_netns_client_namespace(struct kobject *kobj)
kobj              131 fs/nfs/sysfs.c 	return container_of(kobj, struct nfs_netns_client, kobject)->net;
kobj               36 fs/nilfs2/sysfs.c static ssize_t nilfs_##name##_attr_show(struct kobject *kobj, \
kobj               39 fs/nilfs2/sysfs.c 	struct the_nilfs *nilfs = container_of(kobj->parent, \
kobj               47 fs/nilfs2/sysfs.c static ssize_t nilfs_##name##_attr_store(struct kobject *kobj, \
kobj               51 fs/nilfs2/sysfs.c 	struct the_nilfs *nilfs = container_of(kobj->parent, \
kobj               65 fs/nilfs2/sysfs.c static void nilfs_##name##_attr_release(struct kobject *kobj) \
kobj               68 fs/nilfs2/sysfs.c 	struct the_nilfs *nilfs = container_of(kobj->parent, \
kobj               84 fs/nilfs2/sysfs.c 	struct kobject *kobj; \
kobj               89 fs/nilfs2/sysfs.c 	kobj = &subgroups->sg_##name##_kobj; \
kobj               92 fs/nilfs2/sysfs.c 	kobj->kset = nilfs_kset; \
kobj               94 fs/nilfs2/sysfs.c 	err = kobject_init_and_add(kobj, &nilfs_##name##_ktype, parent, \
kobj              148 fs/nilfs2/sysfs.c static ssize_t nilfs_snapshot_attr_show(struct kobject *kobj,
kobj              152 fs/nilfs2/sysfs.c 			container_of(kobj, struct nilfs_root, snapshot_kobj);
kobj              159 fs/nilfs2/sysfs.c static ssize_t nilfs_snapshot_attr_store(struct kobject *kobj,
kobj              164 fs/nilfs2/sysfs.c 			container_of(kobj, struct nilfs_root, snapshot_kobj);
kobj              171 fs/nilfs2/sysfs.c static void nilfs_snapshot_attr_release(struct kobject *kobj)
kobj              173 fs/nilfs2/sysfs.c 	struct nilfs_root *root = container_of(kobj, struct nilfs_root,
kobj              943 fs/nilfs2/sysfs.c static ssize_t nilfs_dev_attr_show(struct kobject *kobj,
kobj              946 fs/nilfs2/sysfs.c 	struct the_nilfs *nilfs = container_of(kobj, struct the_nilfs,
kobj              954 fs/nilfs2/sysfs.c static ssize_t nilfs_dev_attr_store(struct kobject *kobj,
kobj              958 fs/nilfs2/sysfs.c 	struct the_nilfs *nilfs = container_of(kobj, struct the_nilfs,
kobj              966 fs/nilfs2/sysfs.c static void nilfs_dev_attr_release(struct kobject *kobj)
kobj              968 fs/nilfs2/sysfs.c 	struct the_nilfs *nilfs = container_of(kobj, struct the_nilfs,
kobj             1064 fs/nilfs2/sysfs.c static ssize_t nilfs_feature_revision_show(struct kobject *kobj,
kobj             1076 fs/nilfs2/sysfs.c static ssize_t nilfs_feature_README_show(struct kobject *kobj,
kobj             1109 fs/nilfs2/sysfs.c 	err = sysfs_create_group(&nilfs_kset->kobj, &nilfs_feature_attr_group);
kobj             1127 fs/nilfs2/sysfs.c 	sysfs_remove_group(&nilfs_kset->kobj, &nilfs_feature_attr_group);
kobj              154 fs/ocfs2/cluster/masklog.c 	.kobj   = {.ktype = &mlog_ktype},
kobj              167 fs/ocfs2/cluster/masklog.c 	kobject_set_name(&mlog_kset.kobj, "logmask");
kobj              168 fs/ocfs2/cluster/masklog.c 	mlog_kset.kobj.kset = o2cb_kset;
kobj               23 fs/ocfs2/cluster/sys.c static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr,
kobj               56 fs/ocfs2/cluster/sys.c 	ret = sysfs_create_group(&o2cb_kset->kobj, &o2cb_attr_group);
kobj               75 fs/ocfs2/filecheck.c static ssize_t ocfs2_filecheck_attr_show(struct kobject *kobj,
kobj               78 fs/ocfs2/filecheck.c static ssize_t ocfs2_filecheck_attr_store(struct kobject *kobj,
kobj              100 fs/ocfs2/filecheck.c static void ocfs2_filecheck_release(struct kobject *kobj)
kobj              102 fs/ocfs2/filecheck.c 	struct ocfs2_filecheck_sysfs_entry *entry = container_of(kobj,
kobj              109 fs/ocfs2/filecheck.c ocfs2_filecheck_show(struct kobject *kobj, struct attribute *attr, char *buf)
kobj              115 fs/ocfs2/filecheck.c 	kobject_get(kobj);
kobj              117 fs/ocfs2/filecheck.c 		ret = kattr->show(kobj, kattr, buf);
kobj              118 fs/ocfs2/filecheck.c 	kobject_put(kobj);
kobj              123 fs/ocfs2/filecheck.c ocfs2_filecheck_store(struct kobject *kobj, struct attribute *attr,
kobj              130 fs/ocfs2/filecheck.c 	kobject_get(kobj);
kobj              132 fs/ocfs2/filecheck.c 		ret = kattr->store(kobj, kattr, buf, count);
kobj              133 fs/ocfs2/filecheck.c 	kobject_put(kobj);
kobj              299 fs/ocfs2/filecheck.c static ssize_t ocfs2_filecheck_attr_show(struct kobject *kobj,
kobj              307 fs/ocfs2/filecheck.c 	struct ocfs2_filecheck_sysfs_entry *ent = container_of(kobj,
kobj              451 fs/ocfs2/filecheck.c static ssize_t ocfs2_filecheck_attr_store(struct kobject *kobj,
kobj              458 fs/ocfs2/filecheck.c 	struct ocfs2_filecheck_sysfs_entry *ent = container_of(kobj,
kobj              474 fs/ocfs2/stackglue.c static ssize_t ocfs2_max_locking_protocol_show(struct kobject *kobj,
kobj              494 fs/ocfs2/stackglue.c static ssize_t ocfs2_loaded_cluster_plugins_show(struct kobject *kobj,
kobj              526 fs/ocfs2/stackglue.c static ssize_t ocfs2_active_cluster_plugin_show(struct kobject *kobj,
kobj              548 fs/ocfs2/stackglue.c static ssize_t ocfs2_cluster_stack_show(struct kobject *kobj,
kobj              560 fs/ocfs2/stackglue.c static ssize_t ocfs2_cluster_stack_store(struct kobject *kobj,
kobj              600 fs/ocfs2/stackglue.c static ssize_t ocfs2_dlm_recover_show(struct kobject *kobj,
kobj              640 fs/ocfs2/stackglue.c 	ret = sysfs_create_group(&ocfs2_kset->kobj, &ocfs2_attr_group);
kobj             1115 fs/ocfs2/super.c 						&ocfs2_kset->kobj);
kobj              167 fs/orangefs/orangefs-sysfs.c 	ssize_t (*show)(struct kobject *kobj,
kobj              170 fs/orangefs/orangefs-sysfs.c 	ssize_t (*store)(struct kobject *kobj,
kobj              176 fs/orangefs/orangefs-sysfs.c static ssize_t orangefs_attr_show(struct kobject *kobj,
kobj              185 fs/orangefs/orangefs-sysfs.c 	return attribute->show(kobj, attribute, buf);
kobj              188 fs/orangefs/orangefs-sysfs.c static ssize_t orangefs_attr_store(struct kobject *kobj,
kobj              195 fs/orangefs/orangefs-sysfs.c 	if (!strcmp(kobj->name, PC_KOBJ_ID) ||
kobj              196 fs/orangefs/orangefs-sysfs.c 	    !strcmp(kobj->name, STATS_KOBJ_ID))
kobj              202 fs/orangefs/orangefs-sysfs.c 	return attribute->store(kobj, attribute, buf, len);
kobj              210 fs/orangefs/orangefs-sysfs.c static ssize_t sysfs_int_show(struct kobject *kobj,
kobj              216 fs/orangefs/orangefs-sysfs.c 	    kobj->name);
kobj              218 fs/orangefs/orangefs-sysfs.c 	if (!strcmp(kobj->name, ORANGEFS_KOBJ_ID)) {
kobj              257 fs/orangefs/orangefs-sysfs.c 	} else if (!strcmp(kobj->name, STATS_KOBJ_ID)) {
kobj              280 fs/orangefs/orangefs-sysfs.c static ssize_t sysfs_int_store(struct kobject *kobj,
kobj              320 fs/orangefs/orangefs-sysfs.c static ssize_t sysfs_service_op_show(struct kobject *kobj,
kobj              330 fs/orangefs/orangefs-sysfs.c 		     kobj->name);
kobj              332 fs/orangefs/orangefs-sysfs.c 	if (strcmp(kobj->name, PC_KOBJ_ID))
kobj              350 fs/orangefs/orangefs-sysfs.c 	if (strcmp(kobj->name, PC_KOBJ_ID))
kobj              353 fs/orangefs/orangefs-sysfs.c 	if (!strcmp(kobj->name, ORANGEFS_KOBJ_ID)) {
kobj              395 fs/orangefs/orangefs-sysfs.c 	} else if (!strcmp(kobj->name, ACACHE_KOBJ_ID)) {
kobj              412 fs/orangefs/orangefs-sysfs.c 	} else if (!strcmp(kobj->name, CAPCACHE_KOBJ_ID)) {
kobj              429 fs/orangefs/orangefs-sysfs.c 	} else if (!strcmp(kobj->name, CCACHE_KOBJ_ID)) {
kobj              446 fs/orangefs/orangefs-sysfs.c 	} else if (!strcmp(kobj->name, NCACHE_KOBJ_ID)) {
kobj              463 fs/orangefs/orangefs-sysfs.c 	} else if (!strcmp(kobj->name, PC_KOBJ_ID)) {
kobj              478 fs/orangefs/orangefs-sysfs.c 			   kobj->name);
kobj              484 fs/orangefs/orangefs-sysfs.c 	if (strcmp(kobj->name, PC_KOBJ_ID))
kobj              497 fs/orangefs/orangefs-sysfs.c 		if (strcmp(kobj->name, PC_KOBJ_ID)) {
kobj              535 fs/orangefs/orangefs-sysfs.c static ssize_t sysfs_service_op_store(struct kobject *kobj,
kobj              544 fs/orangefs/orangefs-sysfs.c 		     kobj->name);
kobj              563 fs/orangefs/orangefs-sysfs.c 	if (strcmp(kobj->name, ORANGEFS_KOBJ_ID) ||
kobj              572 fs/orangefs/orangefs-sysfs.c 	if (!strcmp(kobj->name, ORANGEFS_KOBJ_ID)) {
kobj              656 fs/orangefs/orangefs-sysfs.c 	} else if (!strcmp(kobj->name, ACACHE_KOBJ_ID)) {
kobj              692 fs/orangefs/orangefs-sysfs.c 	} else if (!strcmp(kobj->name, CAPCACHE_KOBJ_ID)) {
kobj              728 fs/orangefs/orangefs-sysfs.c 	} else if (!strcmp(kobj->name, CCACHE_KOBJ_ID)) {
kobj              764 fs/orangefs/orangefs-sysfs.c 	} else if (!strcmp(kobj->name, NCACHE_KOBJ_ID)) {
kobj              802 fs/orangefs/orangefs-sysfs.c 			   kobj->name);
kobj               40 fs/sysfs/dir.c int sysfs_create_dir_ns(struct kobject *kobj, const void *ns)
kobj               46 fs/sysfs/dir.c 	if (WARN_ON(!kobj))
kobj               49 fs/sysfs/dir.c 	if (kobj->parent)
kobj               50 fs/sysfs/dir.c 		parent = kobj->parent->sd;
kobj               57 fs/sysfs/dir.c 	kobject_get_ownership(kobj, &uid, &gid);
kobj               59 fs/sysfs/dir.c 	kn = kernfs_create_dir_ns(parent, kobject_name(kobj),
kobj               61 fs/sysfs/dir.c 				  kobj, ns);
kobj               64 fs/sysfs/dir.c 			sysfs_warn_dup(parent, kobject_name(kobj));
kobj               68 fs/sysfs/dir.c 	kobj->sd = kn;
kobj               80 fs/sysfs/dir.c void sysfs_remove_dir(struct kobject *kobj)
kobj               82 fs/sysfs/dir.c 	struct kernfs_node *kn = kobj->sd;
kobj               97 fs/sysfs/dir.c 	kobj->sd = NULL;
kobj              106 fs/sysfs/dir.c int sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name,
kobj              112 fs/sysfs/dir.c 	parent = kernfs_get_parent(kobj->sd);
kobj              113 fs/sysfs/dir.c 	ret = kernfs_rename_ns(kobj->sd, parent, new_name, new_ns);
kobj              118 fs/sysfs/dir.c int sysfs_move_dir_ns(struct kobject *kobj, struct kobject *new_parent_kobj,
kobj              121 fs/sysfs/dir.c 	struct kernfs_node *kn = kobj->sd;
kobj               27 fs/sysfs/file.c 	struct kobject *kobj = kn->parent->priv;
kobj               31 fs/sysfs/file.c 	return kobj->ktype ? kobj->ktype->sysfs_ops : NULL;
kobj               42 fs/sysfs/file.c 	struct kobject *kobj = of->kn->parent->priv;
kobj               60 fs/sysfs/file.c 		count = ops->show(kobj, of->kn->priv, buf);
kobj               83 fs/sysfs/file.c 	struct kobject *kobj = of->kn->parent->priv;
kobj               99 fs/sysfs/file.c 	return battr->read(of->file, kobj, battr, buf, pos, count);
kobj              107 fs/sysfs/file.c 	struct kobject *kobj = of->kn->parent->priv;
kobj              116 fs/sysfs/file.c 	len = ops->show(kobj, of->kn->priv, buf);
kobj              133 fs/sysfs/file.c 	struct kobject *kobj = of->kn->parent->priv;
kobj              138 fs/sysfs/file.c 	return ops->store(kobj, of->kn->priv, buf, count);
kobj              146 fs/sysfs/file.c 	struct kobject *kobj = of->kn->parent->priv;
kobj              160 fs/sysfs/file.c 	return battr->write(of->file, kobj, battr, buf, pos, count);
kobj              167 fs/sysfs/file.c 	struct kobject *kobj = of->kn->parent->priv;
kobj              169 fs/sysfs/file.c 	return battr->mmap(of->file, kobj, battr, vma);
kobj              172 fs/sysfs/file.c void sysfs_notify(struct kobject *kobj, const char *dir, const char *attr)
kobj              174 fs/sysfs/file.c 	struct kernfs_node *kn = kobj->sd, *tmp;
kobj              255 fs/sysfs/file.c 		struct kobject *kobj = parent->priv;
kobj              256 fs/sysfs/file.c 		const struct sysfs_ops *sysfs_ops = kobj->ktype->sysfs_ops;
kobj              261 fs/sysfs/file.c 			 kobject_name(kobj)))
kobj              321 fs/sysfs/file.c int sysfs_create_file_ns(struct kobject *kobj, const struct attribute *attr,
kobj              327 fs/sysfs/file.c 	if (WARN_ON(!kobj || !kobj->sd || !attr))
kobj              330 fs/sysfs/file.c 	kobject_get_ownership(kobj, &uid, &gid);
kobj              331 fs/sysfs/file.c 	return sysfs_add_file_mode_ns(kobj->sd, attr, false, attr->mode,
kobj              337 fs/sysfs/file.c int sysfs_create_files(struct kobject *kobj, const struct attribute * const *ptr)
kobj              343 fs/sysfs/file.c 		err = sysfs_create_file(kobj, ptr[i]);
kobj              346 fs/sysfs/file.c 			sysfs_remove_file(kobj, ptr[i]);
kobj              357 fs/sysfs/file.c int sysfs_add_file_to_group(struct kobject *kobj,
kobj              366 fs/sysfs/file.c 		parent = kernfs_find_and_get(kobj->sd, group);
kobj              368 fs/sysfs/file.c 		parent = kobj->sd;
kobj              375 fs/sysfs/file.c 	kobject_get_ownership(kobj, &uid, &gid);
kobj              391 fs/sysfs/file.c int sysfs_chmod_file(struct kobject *kobj, const struct attribute *attr,
kobj              398 fs/sysfs/file.c 	kn = kernfs_find_and_get(kobj->sd, attr->name);
kobj              422 fs/sysfs/file.c struct kernfs_node *sysfs_break_active_protection(struct kobject *kobj,
kobj              427 fs/sysfs/file.c 	kobject_get(kobj);
kobj              428 fs/sysfs/file.c 	kn = kernfs_find_and_get(kobj->sd, attr->name);
kobj              448 fs/sysfs/file.c 	struct kobject *kobj = kn->parent->priv;
kobj              452 fs/sysfs/file.c 	kobject_put(kobj);
kobj              464 fs/sysfs/file.c void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr,
kobj              467 fs/sysfs/file.c 	struct kernfs_node *parent = kobj->sd;
kobj              480 fs/sysfs/file.c bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr)
kobj              482 fs/sysfs/file.c 	struct kernfs_node *parent = kobj->sd;
kobj              496 fs/sysfs/file.c void sysfs_remove_files(struct kobject *kobj, const struct attribute * const *ptr)
kobj              501 fs/sysfs/file.c 		sysfs_remove_file(kobj, ptr[i]);
kobj              511 fs/sysfs/file.c void sysfs_remove_file_from_group(struct kobject *kobj,
kobj              517 fs/sysfs/file.c 		parent = kernfs_find_and_get(kobj->sd, group);
kobj              519 fs/sysfs/file.c 		parent = kobj->sd;
kobj              535 fs/sysfs/file.c int sysfs_create_bin_file(struct kobject *kobj,
kobj              541 fs/sysfs/file.c 	if (WARN_ON(!kobj || !kobj->sd || !attr))
kobj              544 fs/sysfs/file.c 	kobject_get_ownership(kobj, &uid, &gid);
kobj              545 fs/sysfs/file.c 	return sysfs_add_file_mode_ns(kobj->sd, &attr->attr, true,
kobj              555 fs/sysfs/file.c void sysfs_remove_bin_file(struct kobject *kobj,
kobj              558 fs/sysfs/file.c 	kernfs_remove_by_name(kobj->sd, attr->attr.name);
kobj               33 fs/sysfs/group.c static int create_files(struct kernfs_node *parent, struct kobject *kobj,
kobj               53 fs/sysfs/group.c 				mode = grp->is_visible(kobj, *attr, i);
kobj               82 fs/sysfs/group.c 				mode = grp->is_bin_visible(kobj, *bin_attr, i);
kobj              107 fs/sysfs/group.c static int internal_create_group(struct kobject *kobj, int update,
kobj              115 fs/sysfs/group.c 	if (WARN_ON(!kobj || (!update && !kobj->sd)))
kobj              119 fs/sysfs/group.c 	if (unlikely(update && !kobj->sd))
kobj              123 fs/sysfs/group.c 			kobj->name, grp->name ?: "");
kobj              126 fs/sysfs/group.c 	kobject_get_ownership(kobj, &uid, &gid);
kobj              129 fs/sysfs/group.c 			kn = kernfs_find_and_get(kobj->sd, grp->name);
kobj              132 fs/sysfs/group.c 					kobj->name, grp->name);
kobj              136 fs/sysfs/group.c 			kn = kernfs_create_dir_ns(kobj->sd, grp->name,
kobj              138 fs/sysfs/group.c 						  uid, gid, kobj, NULL);
kobj              141 fs/sysfs/group.c 					sysfs_warn_dup(kobj->sd, grp->name);
kobj              146 fs/sysfs/group.c 		kn = kobj->sd;
kobj              148 fs/sysfs/group.c 	error = create_files(kn, kobj, uid, gid, grp, update);
kobj              171 fs/sysfs/group.c int sysfs_create_group(struct kobject *kobj,
kobj              174 fs/sysfs/group.c 	return internal_create_group(kobj, 0, grp);
kobj              178 fs/sysfs/group.c static int internal_create_groups(struct kobject *kobj, int update,
kobj              188 fs/sysfs/group.c 		error = internal_create_group(kobj, update, groups[i]);
kobj              191 fs/sysfs/group.c 				sysfs_remove_group(kobj, groups[i]);
kobj              211 fs/sysfs/group.c int sysfs_create_groups(struct kobject *kobj,
kobj              214 fs/sysfs/group.c 	return internal_create_groups(kobj, 0, groups);
kobj              229 fs/sysfs/group.c int sysfs_update_groups(struct kobject *kobj,
kobj              232 fs/sysfs/group.c 	return internal_create_groups(kobj, 1, groups);
kobj              254 fs/sysfs/group.c int sysfs_update_group(struct kobject *kobj,
kobj              257 fs/sysfs/group.c 	return internal_create_group(kobj, 1, grp);
kobj              269 fs/sysfs/group.c void sysfs_remove_group(struct kobject *kobj,
kobj              272 fs/sysfs/group.c 	struct kernfs_node *parent = kobj->sd;
kobj              280 fs/sysfs/group.c 			     grp->name, kobject_name(kobj));
kobj              304 fs/sysfs/group.c void sysfs_remove_groups(struct kobject *kobj,
kobj              312 fs/sysfs/group.c 		sysfs_remove_group(kobj, groups[i]);
kobj              325 fs/sysfs/group.c int sysfs_merge_group(struct kobject *kobj,
kobj              335 fs/sysfs/group.c 	parent = kernfs_find_and_get(kobj->sd, grp->name);
kobj              339 fs/sysfs/group.c 	kobject_get_ownership(kobj, &uid, &gid);
kobj              359 fs/sysfs/group.c void sysfs_unmerge_group(struct kobject *kobj,
kobj              365 fs/sysfs/group.c 	parent = kernfs_find_and_get(kobj->sd, grp->name);
kobj              381 fs/sysfs/group.c int sysfs_add_link_to_group(struct kobject *kobj, const char *group_name,
kobj              387 fs/sysfs/group.c 	parent = kernfs_find_and_get(kobj->sd, group_name);
kobj              404 fs/sysfs/group.c void sysfs_remove_link_from_group(struct kobject *kobj, const char *group_name,
kobj              409 fs/sysfs/group.c 	parent = kernfs_find_and_get(kobj->sd, group_name);
kobj              424 fs/sysfs/group.c int __compat_only_sysfs_link_entry_to_kobj(struct kobject *kobj,
kobj              451 fs/sysfs/group.c 	link = kernfs_create_link(kobj->sd, target_name, entry);
kobj              453 fs/sysfs/group.c 		sysfs_warn_dup(kobj->sd, target_name);
kobj               67 fs/sysfs/symlink.c static int sysfs_do_create_link(struct kobject *kobj, struct kobject *target,
kobj               72 fs/sysfs/symlink.c 	if (!kobj)
kobj               75 fs/sysfs/symlink.c 		parent = kobj->sd;
kobj               89 fs/sysfs/symlink.c int sysfs_create_link(struct kobject *kobj, struct kobject *target,
kobj               92 fs/sysfs/symlink.c 	return sysfs_do_create_link(kobj, target, name, 1);
kobj              105 fs/sysfs/symlink.c int sysfs_create_link_nowarn(struct kobject *kobj, struct kobject *target,
kobj              108 fs/sysfs/symlink.c 	return sysfs_do_create_link(kobj, target, name, 0);
kobj              121 fs/sysfs/symlink.c void sysfs_delete_link(struct kobject *kobj, struct kobject *targ,
kobj              132 fs/sysfs/symlink.c 	if (targ->sd && kernfs_ns_enabled(kobj->sd))
kobj              135 fs/sysfs/symlink.c 	kernfs_remove_by_name_ns(kobj->sd, name, ns);
kobj              143 fs/sysfs/symlink.c void sysfs_remove_link(struct kobject *kobj, const char *name)
kobj              147 fs/sysfs/symlink.c 	if (!kobj)
kobj              150 fs/sysfs/symlink.c 		parent = kobj->sd;
kobj              166 fs/sysfs/symlink.c int sysfs_rename_link_ns(struct kobject *kobj, struct kobject *targ,
kobj              173 fs/sysfs/symlink.c 	if (!kobj)
kobj              176 fs/sysfs/symlink.c 		parent = kobj->sd;
kobj               72 fs/xfs/xfs_error.c 	struct xfs_kobj *kobj = to_kobj(kobject);
kobj               74 fs/xfs/xfs_error.c 	return container_of(kobj, struct xfs_mount, m_errortag_kobj);
kobj               55 fs/xfs/xfs_mount.h 	struct xfs_kobj	kobj;
kobj              255 fs/xfs/xfs_sysfs.c 	struct xfs_kobj *kobj = to_kobj(kobject);
kobj              257 fs/xfs/xfs_sysfs.c 	return container_of(kobj, struct xstats, xs_kobj);
kobj              310 fs/xfs/xfs_sysfs.c 	struct xfs_kobj *kobj = to_kobj(kobject);
kobj              312 fs/xfs/xfs_sysfs.c 	return container_of(kobj, struct xlog, l_kobj);
kobj              403 fs/xfs/xfs_sysfs.c 	struct xfs_kobj *kobj = to_kobj(kobject);
kobj              404 fs/xfs/xfs_sysfs.c 	return container_of(kobj, struct xfs_error_cfg, kobj);
kobj              410 fs/xfs/xfs_sysfs.c 	struct xfs_kobj *kobj = to_kobj(kobject);
kobj              411 fs/xfs/xfs_sysfs.c 	return container_of(kobj, struct xfs_mount, m_error_kobj);
kobj              601 fs/xfs/xfs_sysfs.c 		error = xfs_sysfs_init(&cfg->kobj, &xfs_error_cfg_ktype,
kobj              619 fs/xfs/xfs_sysfs.c 		xfs_sysfs_del(&cfg->kobj);
kobj              668 fs/xfs/xfs_sysfs.c 			xfs_sysfs_del(&cfg->kobj);
kobj               24 fs/xfs/xfs_sysfs.h 	struct xfs_kobj *kobj = to_kobj(kobject);
kobj               25 fs/xfs/xfs_sysfs.h 	complete(&kobj->complete);
kobj               30 fs/xfs/xfs_sysfs.h 	struct xfs_kobj		*kobj,
kobj               35 fs/xfs/xfs_sysfs.h 	init_completion(&kobj->complete);
kobj               36 fs/xfs/xfs_sysfs.h 	return kobject_init_and_add(&kobj->kobject, ktype,
kobj               42 fs/xfs/xfs_sysfs.h 	struct xfs_kobj	*kobj)
kobj               44 fs/xfs/xfs_sysfs.h 	kobject_del(&kobj->kobject);
kobj               45 fs/xfs/xfs_sysfs.h 	kobject_put(&kobj->kobject);
kobj               46 fs/xfs/xfs_sysfs.h 	wait_for_completion(&kobj->complete);
kobj              108 include/acpi/acpi_bus.h 	struct kobject kobj;
kobj              116 include/acpi/acpi_bus.h 						struct kobject *kobj)
kobj              118 include/acpi/acpi_bus.h 	return container_of(kobj, struct acpi_hotplug_profile, kobj);
kobj              388 include/acpi/acpi_bus.h 	struct kobject kobj;
kobj               68 include/acpi/cppc_acpi.h 	struct kobject kobj;
kobj              425 include/drm/ttm/ttm_bo_driver.h 	struct kobject kobj;
kobj               67 include/drm/ttm/ttm_memory.h 	struct kobject kobj;
kobj               62 include/linux/blk-mq.h 	struct kobject		kobj;
kobj              457 include/linux/blkdev.h 	struct kobject kobj;
kobj               15 include/linux/cdev.h 	struct kobject kobj;
kobj               31 include/linux/cdev.h void cdev_set_parent(struct cdev *p, struct kobject *kobj);
kobj               88 include/linux/cpufreq.h 	struct kobject		kobj;
kobj              591 include/linux/cpufreq.h 	struct kobject kobj;
kobj             1230 include/linux/device.h 	struct kobject kobj;
kobj             1321 include/linux/device.h static inline struct device *kobj_to_dev(struct kobject *kobj)
kobj             1323 include/linux/device.h 	return container_of(kobj, struct device, kobj);
kobj             1345 include/linux/device.h 	return kobject_name(&dev->kobj);
kobj             1403 include/linux/device.h 	return dev->kobj.uevent_suppress;
kobj             1408 include/linux/device.h 	dev->kobj.uevent_suppress = val;
kobj             1413 include/linux/device.h 	return dev->kobj.state_in_sysfs;
kobj             1375 include/linux/efi.h 	struct kobject kobj;
kobj             1477 include/linux/efi.h 	kobject_put(&var->kobj);
kobj             1547 include/linux/efi.h static inline int efi_runtime_map_init(struct kobject *kobj)
kobj              105 include/linux/elevator.h 	struct kobject kobj;
kobj               58 include/linux/fscache-cache.h 	struct kobject		*kobj;		/* system representation of this cache */
kobj               69 include/linux/huge_mm.h extern ssize_t single_hugepage_flag_store(struct kobject *kobj,
kobj               73 include/linux/huge_mm.h extern ssize_t single_hugepage_flag_show(struct kobject *kobj,
kobj              868 include/linux/hyperv.h 	struct kobject			kobj;
kobj              344 include/linux/i2c.h static inline struct i2c_client *kobj_to_i2c_client(struct kobject *kobj)
kobj              346 include/linux/i2c.h 	struct device * const dev = container_of(kobj, struct device, kobj);
kobj              103 include/linux/irqdesc.h 	struct kobject		kobj;
kobj               68 include/linux/iscsi_boot_sysfs.h 	struct kobject kobj;
kobj               84 include/linux/kobject.h int kobject_set_name(struct kobject *kobj, const char *name, ...);
kobj               86 include/linux/kobject.h int kobject_set_name_vargs(struct kobject *kobj, const char *fmt,
kobj               89 include/linux/kobject.h static inline const char *kobject_name(const struct kobject *kobj)
kobj               91 include/linux/kobject.h 	return kobj->name;
kobj               94 include/linux/kobject.h extern void kobject_init(struct kobject *kobj, struct kobj_type *ktype);
kobj               96 include/linux/kobject.h int kobject_add(struct kobject *kobj, struct kobject *parent,
kobj               99 include/linux/kobject.h int kobject_init_and_add(struct kobject *kobj,
kobj              103 include/linux/kobject.h extern void kobject_del(struct kobject *kobj);
kobj              112 include/linux/kobject.h extern struct kobject *kobject_get(struct kobject *kobj);
kobj              114 include/linux/kobject.h 						struct kobject *kobj);
kobj              115 include/linux/kobject.h extern void kobject_put(struct kobject *kobj);
kobj              117 include/linux/kobject.h extern const void *kobject_namespace(struct kobject *kobj);
kobj              118 include/linux/kobject.h extern void kobject_get_ownership(struct kobject *kobj,
kobj              120 include/linux/kobject.h extern char *kobject_get_path(struct kobject *kobj, gfp_t flag);
kobj              132 include/linux/kobject.h static inline bool kobject_has_children(struct kobject *kobj)
kobj              134 include/linux/kobject.h 	WARN_ON_ONCE(kref_read(&kobj->kref) == 0);
kobj              136 include/linux/kobject.h 	return kobj->sd && kobj->sd->dir.subdirs;
kobj              140 include/linux/kobject.h 	void (*release)(struct kobject *kobj);
kobj              144 include/linux/kobject.h 	const struct kobj_ns_type_operations *(*child_ns_type)(struct kobject *kobj);
kobj              145 include/linux/kobject.h 	const void *(*namespace)(struct kobject *kobj);
kobj              146 include/linux/kobject.h 	void (*get_ownership)(struct kobject *kobj, kuid_t *uid, kgid_t *gid);
kobj              158 include/linux/kobject.h 	int (* const filter)(struct kset *kset, struct kobject *kobj);
kobj              159 include/linux/kobject.h 	const char *(* const name)(struct kset *kset, struct kobject *kobj);
kobj              160 include/linux/kobject.h 	int (* const uevent)(struct kset *kset, struct kobject *kobj,
kobj              166 include/linux/kobject.h 	ssize_t (*show)(struct kobject *kobj, struct kobj_attribute *attr,
kobj              168 include/linux/kobject.h 	ssize_t (*store)(struct kobject *kobj, struct kobj_attribute *attr,
kobj              196 include/linux/kobject.h 	struct kobject kobj;
kobj              207 include/linux/kobject.h static inline struct kset *to_kset(struct kobject *kobj)
kobj              209 include/linux/kobject.h 	return kobj ? container_of(kobj, struct kset, kobj) : NULL;
kobj              214 include/linux/kobject.h 	return k ? to_kset(kobject_get(&k->kobj)) : NULL;
kobj              219 include/linux/kobject.h 	kobject_put(&k->kobj);
kobj              222 include/linux/kobject.h static inline struct kobj_type *get_ktype(struct kobject *kobj)
kobj              224 include/linux/kobject.h 	return kobj->ktype;
kobj              240 include/linux/kobject.h int kobject_uevent(struct kobject *kobj, enum kobject_action action);
kobj              241 include/linux/kobject.h int kobject_uevent_env(struct kobject *kobj, enum kobject_action action,
kobj              243 include/linux/kobject.h int kobject_synth_uevent(struct kobject *kobj, const char *buf, size_t count);
kobj               51 include/linux/kobject_ns.h const struct kobj_ns_type_operations *kobj_ns_ops(struct kobject *kobj);
kobj               72 include/linux/livepatch.h 	struct kobject kobj;
kobj              125 include/linux/livepatch.h 	struct kobject kobj;
kobj              154 include/linux/livepatch.h 	struct kobject kobj;
kobj               84 include/linux/mdev.h 	int     (*create)(struct kobject *kobj, struct mdev_device *mdev);
kobj              100 include/linux/mdev.h 	ssize_t (*show)(struct kobject *kobj, struct device *dev, char *buf);
kobj              101 include/linux/mdev.h 	ssize_t (*store)(struct kobject *kobj, struct device *dev,
kobj               43 include/linux/module.h 	struct kobject kobj;
kobj              599 include/linux/netdevice.h 	struct kobject		kobj;
kobj              743 include/linux/netdevice.h 	struct kobject			kobj;
kobj               63 include/linux/of.h 	struct	kobject kobj;
kobj              109 include/linux/of.h 	kobject_init(&node->kobj, &of_node_ktype);
kobj              115 include/linux/of.h #define of_node_kobj(n) (&(n)->kobj)
kobj              173 include/linux/padata.h 	struct kobject                   kobj;
kobj               67 include/linux/pci.h 	struct kobject		kobj;
kobj               72 include/linux/pci.h 	return kobject_name(&slot->kobj);
kobj              157 include/linux/pktcdvd.h 	struct kobject		kobj;
kobj              161 include/linux/pktcdvd.h   ((struct pktcdvd_kobj*)container_of(_k,struct pktcdvd_kobj,kobj))
kobj              108 include/linux/slub_def.h 	struct kobject kobj;	/* For sysfs */
kobj              230 include/linux/sysfs.h int __must_check sysfs_create_dir_ns(struct kobject *kobj, const void *ns);
kobj              231 include/linux/sysfs.h void sysfs_remove_dir(struct kobject *kobj);
kobj              232 include/linux/sysfs.h int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name,
kobj              234 include/linux/sysfs.h int __must_check sysfs_move_dir_ns(struct kobject *kobj,
kobj              242 include/linux/sysfs.h int __must_check sysfs_create_file_ns(struct kobject *kobj,
kobj              245 include/linux/sysfs.h int __must_check sysfs_create_files(struct kobject *kobj,
kobj              247 include/linux/sysfs.h int __must_check sysfs_chmod_file(struct kobject *kobj,
kobj              249 include/linux/sysfs.h struct kernfs_node *sysfs_break_active_protection(struct kobject *kobj,
kobj              252 include/linux/sysfs.h void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr,
kobj              254 include/linux/sysfs.h bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr);
kobj              255 include/linux/sysfs.h void sysfs_remove_files(struct kobject *kobj, const struct attribute * const *attr);
kobj              257 include/linux/sysfs.h int __must_check sysfs_create_bin_file(struct kobject *kobj,
kobj              259 include/linux/sysfs.h void sysfs_remove_bin_file(struct kobject *kobj,
kobj              262 include/linux/sysfs.h int __must_check sysfs_create_link(struct kobject *kobj, struct kobject *target,
kobj              264 include/linux/sysfs.h int __must_check sysfs_create_link_nowarn(struct kobject *kobj,
kobj              267 include/linux/sysfs.h void sysfs_remove_link(struct kobject *kobj, const char *name);
kobj              269 include/linux/sysfs.h int sysfs_rename_link_ns(struct kobject *kobj, struct kobject *target,
kobj              276 include/linux/sysfs.h int __must_check sysfs_create_group(struct kobject *kobj,
kobj              278 include/linux/sysfs.h int __must_check sysfs_create_groups(struct kobject *kobj,
kobj              280 include/linux/sysfs.h int __must_check sysfs_update_groups(struct kobject *kobj,
kobj              282 include/linux/sysfs.h int sysfs_update_group(struct kobject *kobj,
kobj              284 include/linux/sysfs.h void sysfs_remove_group(struct kobject *kobj,
kobj              286 include/linux/sysfs.h void sysfs_remove_groups(struct kobject *kobj,
kobj              288 include/linux/sysfs.h int sysfs_add_file_to_group(struct kobject *kobj,
kobj              290 include/linux/sysfs.h void sysfs_remove_file_from_group(struct kobject *kobj,
kobj              292 include/linux/sysfs.h int sysfs_merge_group(struct kobject *kobj,
kobj              294 include/linux/sysfs.h void sysfs_unmerge_group(struct kobject *kobj,
kobj              296 include/linux/sysfs.h int sysfs_add_link_to_group(struct kobject *kobj, const char *group_name,
kobj              298 include/linux/sysfs.h void sysfs_remove_link_from_group(struct kobject *kobj, const char *group_name,
kobj              300 include/linux/sysfs.h int __compat_only_sysfs_link_entry_to_kobj(struct kobject *kobj,
kobj              304 include/linux/sysfs.h void sysfs_notify(struct kobject *kobj, const char *dir, const char *attr);
kobj              315 include/linux/sysfs.h static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns)
kobj              320 include/linux/sysfs.h static inline void sysfs_remove_dir(struct kobject *kobj)
kobj              324 include/linux/sysfs.h static inline int sysfs_rename_dir_ns(struct kobject *kobj,
kobj              330 include/linux/sysfs.h static inline int sysfs_move_dir_ns(struct kobject *kobj,
kobj              348 include/linux/sysfs.h static inline int sysfs_create_file_ns(struct kobject *kobj,
kobj              355 include/linux/sysfs.h static inline int sysfs_create_files(struct kobject *kobj,
kobj              361 include/linux/sysfs.h static inline int sysfs_chmod_file(struct kobject *kobj,
kobj              368 include/linux/sysfs.h sysfs_break_active_protection(struct kobject *kobj,
kobj              378 include/linux/sysfs.h static inline void sysfs_remove_file_ns(struct kobject *kobj,
kobj              384 include/linux/sysfs.h static inline bool sysfs_remove_file_self(struct kobject *kobj,
kobj              390 include/linux/sysfs.h static inline void sysfs_remove_files(struct kobject *kobj,
kobj              395 include/linux/sysfs.h static inline int sysfs_create_bin_file(struct kobject *kobj,
kobj              401 include/linux/sysfs.h static inline void sysfs_remove_bin_file(struct kobject *kobj,
kobj              406 include/linux/sysfs.h static inline int sysfs_create_link(struct kobject *kobj,
kobj              412 include/linux/sysfs.h static inline int sysfs_create_link_nowarn(struct kobject *kobj,
kobj              419 include/linux/sysfs.h static inline void sysfs_remove_link(struct kobject *kobj, const char *name)
kobj              435 include/linux/sysfs.h static inline int sysfs_create_group(struct kobject *kobj,
kobj              441 include/linux/sysfs.h static inline int sysfs_create_groups(struct kobject *kobj,
kobj              447 include/linux/sysfs.h static inline int sysfs_update_groups(struct kobject *kobj,
kobj              453 include/linux/sysfs.h static inline int sysfs_update_group(struct kobject *kobj,
kobj              459 include/linux/sysfs.h static inline void sysfs_remove_group(struct kobject *kobj,
kobj              464 include/linux/sysfs.h static inline void sysfs_remove_groups(struct kobject *kobj,
kobj              469 include/linux/sysfs.h static inline int sysfs_add_file_to_group(struct kobject *kobj,
kobj              475 include/linux/sysfs.h static inline void sysfs_remove_file_from_group(struct kobject *kobj,
kobj              480 include/linux/sysfs.h static inline int sysfs_merge_group(struct kobject *kobj,
kobj              486 include/linux/sysfs.h static inline void sysfs_unmerge_group(struct kobject *kobj,
kobj              491 include/linux/sysfs.h static inline int sysfs_add_link_to_group(struct kobject *kobj,
kobj              498 include/linux/sysfs.h static inline void sysfs_remove_link_from_group(struct kobject *kobj,
kobj              504 include/linux/sysfs.h 	struct kobject *kobj,
kobj              511 include/linux/sysfs.h static inline void sysfs_notify(struct kobject *kobj, const char *dir,
kobj              527 include/linux/sysfs.h static inline int __must_check sysfs_create_file(struct kobject *kobj,
kobj              530 include/linux/sysfs.h 	return sysfs_create_file_ns(kobj, attr, NULL);
kobj              533 include/linux/sysfs.h static inline void sysfs_remove_file(struct kobject *kobj,
kobj              536 include/linux/sysfs.h 	sysfs_remove_file_ns(kobj, attr, NULL);
kobj              539 include/linux/sysfs.h static inline int sysfs_rename_link(struct kobject *kobj, struct kobject *target,
kobj              542 include/linux/sysfs.h 	return sysfs_rename_link_ns(kobj, target, old_name, new_name, NULL);
kobj              311 include/linux/w1.h static inline struct w1_slave* kobj_to_w1_slave(struct kobject *kobj)
kobj              313 include/linux/w1.h 	return dev_to_w1_slave(container_of(kobj, struct device, kobj));
kobj             1021 include/net/bluetooth/hci_core.h 	       kref_read(&d->dev.kobj.kref));
kobj             1029 include/net/bluetooth/hci_core.h 	       kref_read(&d->dev.kobj.kref));
kobj              179 include/net/bonding.h 	struct kobject kobj;
kobj               33 include/trace/events/kyber.h 		__entry->dev		= disk_devt(dev_to_disk(kobj_to_dev(q->kobj.parent)));
kobj               62 include/trace/events/kyber.h 		__entry->dev		= disk_devt(dev_to_disk(kobj_to_dev(q->kobj.parent)));
kobj               84 include/trace/events/kyber.h 		__entry->dev		= disk_devt(dev_to_disk(kobj_to_dev(q->kobj.parent)));
kobj              315 include/video/omapfb_dss.h 	struct kobject kobj;
kobj              370 include/video/omapfb_dss.h 	struct kobject kobj;
kobj              599 include/video/omapfb_dss.h 	struct kobject kobj;
kobj               16 kernel/bpf/sysfs_btf.c btf_vmlinux_read(struct file *file, struct kobject *kobj,
kobj             6484 kernel/cgroup/cgroup.c static ssize_t delegate_show(struct kobject *kobj, struct kobj_attribute *attr,
kobj             6503 kernel/cgroup/cgroup.c static ssize_t features_show(struct kobject *kobj, struct kobj_attribute *attr,
kobj             1924 kernel/cpu.c   	kobject_uevent(&dev->kobj, KOBJ_OFFLINE);
kobj             1933 kernel/cpu.c   	kobject_uevent(&dev->kobj, KOBJ_ONLINE);
kobj             2238 kernel/cpu.c   	return sysfs_create_group(&cpu_subsys.dev_root->kobj,
kobj             2250 kernel/cpu.c   	ret = sysfs_create_group(&cpu_subsys.dev_root->kobj,
kobj             2260 kernel/cpu.c   		ret = sysfs_create_group(&dev->kobj, &cpuhp_cpu_attr_group);
kobj             10037 kernel/events/core.c 		ret = sysfs_update_groups(&pmu->dev->kobj, pmu->attr_update);
kobj              138 kernel/irq/irqdesc.c static void irq_kobj_release(struct kobject *kobj);
kobj              146 kernel/irq/irqdesc.c static ssize_t per_cpu_count_show(struct kobject *kobj,
kobj              149 kernel/irq/irqdesc.c 	struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj);
kobj              166 kernel/irq/irqdesc.c static ssize_t chip_name_show(struct kobject *kobj,
kobj              169 kernel/irq/irqdesc.c 	struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj);
kobj              183 kernel/irq/irqdesc.c static ssize_t hwirq_show(struct kobject *kobj,
kobj              186 kernel/irq/irqdesc.c 	struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj);
kobj              198 kernel/irq/irqdesc.c static ssize_t type_show(struct kobject *kobj,
kobj              201 kernel/irq/irqdesc.c 	struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj);
kobj              214 kernel/irq/irqdesc.c static ssize_t wakeup_show(struct kobject *kobj,
kobj              217 kernel/irq/irqdesc.c 	struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj);
kobj              230 kernel/irq/irqdesc.c static ssize_t name_show(struct kobject *kobj,
kobj              233 kernel/irq/irqdesc.c 	struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj);
kobj              245 kernel/irq/irqdesc.c static ssize_t actions_show(struct kobject *kobj,
kobj              248 kernel/irq/irqdesc.c 	struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj);
kobj              293 kernel/irq/irqdesc.c 		if (kobject_add(&desc->kobj, irq_kobj_base, "%d", irq))
kobj              307 kernel/irq/irqdesc.c 		kobject_del(&desc->kobj);
kobj              411 kernel/irq/irqdesc.c 	kobject_init(&desc->kobj, &irq_kobj_type);
kobj              422 kernel/irq/irqdesc.c static void irq_kobj_release(struct kobject *kobj)
kobj              424 kernel/irq/irqdesc.c 	struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj);
kobj              435 kernel/irq/irqdesc.c 	kobject_put(&desc->kobj);
kobj               33 kernel/kheaders.c ikheaders_read(struct file *file,  struct kobject *kobj,
kobj               31 kernel/ksysfs.c static ssize_t uevent_seqnum_show(struct kobject *kobj,
kobj               40 kernel/ksysfs.c static ssize_t uevent_helper_show(struct kobject *kobj,
kobj               45 kernel/ksysfs.c static ssize_t uevent_helper_store(struct kobject *kobj,
kobj               61 kernel/ksysfs.c static ssize_t profiling_show(struct kobject *kobj,
kobj               66 kernel/ksysfs.c static ssize_t profiling_store(struct kobject *kobj,
kobj               92 kernel/ksysfs.c static ssize_t kexec_loaded_show(struct kobject *kobj,
kobj               99 kernel/ksysfs.c static ssize_t kexec_crash_loaded_show(struct kobject *kobj,
kobj              106 kernel/ksysfs.c static ssize_t kexec_crash_size_show(struct kobject *kobj,
kobj              111 kernel/ksysfs.c static ssize_t kexec_crash_size_store(struct kobject *kobj,
kobj              130 kernel/ksysfs.c static ssize_t vmcoreinfo_show(struct kobject *kobj,
kobj              142 kernel/ksysfs.c static ssize_t fscaps_show(struct kobject *kobj,
kobj              151 kernel/ksysfs.c static ssize_t rcu_expedited_show(struct kobject *kobj,
kobj              156 kernel/ksysfs.c static ssize_t rcu_expedited_store(struct kobject *kobj,
kobj              168 kernel/ksysfs.c static ssize_t rcu_normal_show(struct kobject *kobj,
kobj              173 kernel/ksysfs.c static ssize_t rcu_normal_store(struct kobject *kobj,
kobj              192 kernel/ksysfs.c static ssize_t notes_read(struct file *filp, struct kobject *kobj,
kobj              311 kernel/livepatch/core.c static ssize_t enabled_store(struct kobject *kobj, struct kobj_attribute *attr,
kobj              322 kernel/livepatch/core.c 	patch = container_of(kobj, struct klp_patch, kobj);
kobj              354 kernel/livepatch/core.c static ssize_t enabled_show(struct kobject *kobj,
kobj              359 kernel/livepatch/core.c 	patch = container_of(kobj, struct klp_patch, kobj);
kobj              363 kernel/livepatch/core.c static ssize_t transition_show(struct kobject *kobj,
kobj              368 kernel/livepatch/core.c 	patch = container_of(kobj, struct klp_patch, kobj);
kobj              373 kernel/livepatch/core.c static ssize_t force_store(struct kobject *kobj, struct kobj_attribute *attr,
kobj              389 kernel/livepatch/core.c 	patch = container_of(kobj, struct klp_patch, kobj);
kobj              531 kernel/livepatch/core.c static void klp_kobj_release_patch(struct kobject *kobj)
kobj              535 kernel/livepatch/core.c 	patch = container_of(kobj, struct klp_patch, kobj);
kobj              545 kernel/livepatch/core.c static void klp_kobj_release_object(struct kobject *kobj)
kobj              549 kernel/livepatch/core.c 	obj = container_of(kobj, struct klp_object, kobj);
kobj              560 kernel/livepatch/core.c static void klp_kobj_release_func(struct kobject *kobj)
kobj              564 kernel/livepatch/core.c 	func = container_of(kobj, struct klp_func, kobj);
kobj              584 kernel/livepatch/core.c 		kobject_put(&func->kobj);
kobj              614 kernel/livepatch/core.c 		kobject_put(&obj->kobj);
kobj              659 kernel/livepatch/core.c 	kobject_put(&patch->kobj);
kobj              704 kernel/livepatch/core.c 	return kobject_add(&func->kobj, &obj->kobj, "%s,%lu",
kobj              782 kernel/livepatch/core.c 	ret = kobject_add(&obj->kobj, &patch->kobj, "%s", name);
kobj              801 kernel/livepatch/core.c 	kobject_init(&func->kobj, &klp_ktype_func);
kobj              809 kernel/livepatch/core.c 	kobject_init(&obj->kobj, &klp_ktype_object);
kobj              823 kernel/livepatch/core.c 	kobject_init(&patch->kobj, &klp_ktype_patch);
kobj              851 kernel/livepatch/core.c 	ret = kobject_add(&patch->kobj, klp_root_kobj, "%s", patch->mod->name);
kobj             1224 kernel/module.c 	rc = kobject_synth_uevent(&mk->kobj, buffer, count);
kobj             1583 kernel/module.c 	if (sysfs_create_group(&mod->mkobj.kobj, &sect_attrs->grp))
kobj             1595 kernel/module.c 		sysfs_remove_group(&mod->mkobj.kobj,
kobj             1614 kernel/module.c static ssize_t module_notes_read(struct file *filp, struct kobject *kobj,
kobj             1679 kernel/module.c 	notes_attrs->dir = kobject_create_and_add("notes", &mod->mkobj.kobj);
kobj             1743 kernel/module.c 					&mod->mkobj.kobj, mod->name);
kobj             1774 kernel/module.c 			error = sysfs_create_file(&mod->mkobj.kobj,
kobj             1803 kernel/module.c 		sysfs_remove_file(&mod->mkobj.kobj, &attr->attr);
kobj             1814 kernel/module.c 	kobject_put(&mod->mkobj.kobj);
kobj             1821 kernel/module.c 	struct kobject *kobj;
kobj             1829 kernel/module.c 	kobj = kset_find_obj(module_kset, mod->name);
kobj             1830 kernel/module.c 	if (kobj) {
kobj             1832 kernel/module.c 		kobject_put(kobj);
kobj             1839 kernel/module.c 	memset(&mod->mkobj.kobj, 0, sizeof(mod->mkobj.kobj));
kobj             1840 kernel/module.c 	mod->mkobj.kobj.kset = module_kset;
kobj             1841 kernel/module.c 	err = kobject_init_and_add(&mod->mkobj.kobj, &module_ktype, NULL,
kobj             1862 kernel/module.c 	mod->holders_dir = kobject_create_and_add("holders", &mod->mkobj.kobj);
kobj             1883 kernel/module.c 	kobject_uevent(&mod->mkobj.kobj, KOBJ_ADD);
kobj              835 kernel/padata.c 	container_of(_kobj, struct padata_instance, kobj)
kobj              839 kernel/padata.c static void padata_sysfs_release(struct kobject *kobj)
kobj              841 kernel/padata.c 	struct padata_instance *pinst = kobj2pinst(kobj);
kobj              919 kernel/padata.c static ssize_t padata_sysfs_show(struct kobject *kobj,
kobj              926 kernel/padata.c 	pinst = kobj2pinst(kobj);
kobj              934 kernel/padata.c static ssize_t padata_sysfs_store(struct kobject *kobj, struct attribute *attr,
kobj              941 kernel/padata.c 	pinst = kobj2pinst(kobj);
kobj             1020 kernel/padata.c 	kobject_init(&pinst->kobj, &padata_attr_type);
kobj             1074 kernel/padata.c 	kobject_put(&pinst->kobj);
kobj              520 kernel/params.c #define to_module_kobject(n) container_of(n, struct module_kobject, kobj)
kobj              709 kernel/params.c 	err = sysfs_create_group(&mod->mkobj.kobj, &mod->mkobj.mp->grp);
kobj              725 kernel/params.c 		sysfs_remove_group(&mod->mkobj.kobj, &mod->mkobj.mp->grp);
kobj              745 kernel/params.c 	struct kobject *kobj;
kobj              748 kernel/params.c 	kobj = kset_find_obj(module_kset, name);
kobj              749 kernel/params.c 	if (kobj) {
kobj              750 kernel/params.c 		mk = to_module_kobject(kobj);
kobj              756 kernel/params.c 		mk->kobj.kset = module_kset;
kobj              757 kernel/params.c 		err = kobject_init_and_add(&mk->kobj, &module_ktype, NULL,
kobj              761 kernel/params.c 			err = sysfs_create_file(&mk->kobj, &module_uevent.attr);
kobj              764 kernel/params.c 			kobject_put(&mk->kobj);
kobj              771 kernel/params.c 		kobject_get(&mk->kobj);
kobj              790 kernel/params.c 		sysfs_remove_group(&mk->kobj, &mk->mp->grp);
kobj              795 kernel/params.c 	err = sysfs_create_group(&mk->kobj, &mk->mp->grp);
kobj              797 kernel/params.c 	kobject_uevent(&mk->kobj, KOBJ_ADD);
kobj              798 kernel/params.c 	kobject_put(&mk->kobj);
kobj              859 kernel/params.c 			err = sysfs_create_file(&mk->kobj, &vattr->mattr.attr);
kobj              861 kernel/params.c 			kobject_uevent(&mk->kobj, KOBJ_ADD);
kobj              862 kernel/params.c 			kobject_put(&mk->kobj);
kobj              869 kernel/params.c static ssize_t module_attr_show(struct kobject *kobj,
kobj              878 kernel/params.c 	mk = to_module_kobject(kobj);
kobj              888 kernel/params.c static ssize_t module_attr_store(struct kobject *kobj,
kobj              897 kernel/params.c 	mk = to_module_kobject(kobj);
kobj              912 kernel/params.c static int uevent_filter(struct kset *kset, struct kobject *kobj)
kobj              914 kernel/params.c 	struct kobj_type *ktype = get_ktype(kobj);
kobj              928 kernel/params.c static void module_kobj_release(struct kobject *kobj)
kobj              930 kernel/params.c 	struct module_kobject *mk = to_module_kobject(kobj);
kobj              964 kernel/power/hibernate.c static ssize_t disk_show(struct kobject *kobj, struct kobj_attribute *attr,
kobj              999 kernel/power/hibernate.c static ssize_t disk_store(struct kobject *kobj, struct kobj_attribute *attr,
kobj             1050 kernel/power/hibernate.c static ssize_t resume_show(struct kobject *kobj, struct kobj_attribute *attr,
kobj             1057 kernel/power/hibernate.c static ssize_t resume_store(struct kobject *kobj, struct kobj_attribute *attr,
kobj             1086 kernel/power/hibernate.c static ssize_t resume_offset_show(struct kobject *kobj,
kobj             1092 kernel/power/hibernate.c static ssize_t resume_offset_store(struct kobject *kobj,
kobj             1109 kernel/power/hibernate.c static ssize_t image_size_show(struct kobject *kobj, struct kobj_attribute *attr,
kobj             1115 kernel/power/hibernate.c static ssize_t image_size_store(struct kobject *kobj, struct kobj_attribute *attr,
kobj             1130 kernel/power/hibernate.c static ssize_t reserved_size_show(struct kobject *kobj,
kobj             1136 kernel/power/hibernate.c static ssize_t reserved_size_store(struct kobject *kobj,
kobj              100 kernel/power/main.c static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr,
kobj              106 kernel/power/main.c static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr,
kobj              124 kernel/power/main.c static ssize_t mem_sleep_show(struct kobject *kobj, struct kobj_attribute *attr,
kobj              166 kernel/power/main.c static ssize_t mem_sleep_store(struct kobject *kobj, struct kobj_attribute *attr,
kobj              207 kernel/power/main.c static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr,
kobj              228 kernel/power/main.c static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr,
kobj              279 kernel/power/main.c static ssize_t _name##_show(struct kobject *kobj,		\
kobj              297 kernel/power/main.c static ssize_t last_failed_dev_show(struct kobject *kobj,
kobj              311 kernel/power/main.c static ssize_t last_failed_errno_show(struct kobject *kobj,
kobj              325 kernel/power/main.c static ssize_t last_failed_step_show(struct kobject *kobj,
kobj              442 kernel/power/main.c static ssize_t pm_print_times_show(struct kobject *kobj,
kobj              448 kernel/power/main.c static ssize_t pm_print_times_store(struct kobject *kobj,
kobj              471 kernel/power/main.c static ssize_t pm_wakeup_irq_show(struct kobject *kobj,
kobj              482 kernel/power/main.c static ssize_t pm_debug_messages_show(struct kobject *kobj,
kobj              488 kernel/power/main.c static ssize_t pm_debug_messages_store(struct kobject *kobj,
kobj              552 kernel/power/main.c static ssize_t state_show(struct kobject *kobj, struct kobj_attribute *attr,
kobj              599 kernel/power/main.c static ssize_t state_store(struct kobject *kobj, struct kobj_attribute *attr,
kobj              662 kernel/power/main.c static ssize_t wakeup_count_show(struct kobject *kobj,
kobj              672 kernel/power/main.c static ssize_t wakeup_count_store(struct kobject *kobj,
kobj              704 kernel/power/main.c static ssize_t autosleep_show(struct kobject *kobj,
kobj              725 kernel/power/main.c static ssize_t autosleep_store(struct kobject *kobj,
kobj              747 kernel/power/main.c static ssize_t wake_lock_show(struct kobject *kobj,
kobj              754 kernel/power/main.c static ssize_t wake_lock_store(struct kobject *kobj,
kobj              764 kernel/power/main.c static ssize_t wake_unlock_show(struct kobject *kobj,
kobj              771 kernel/power/main.c static ssize_t wake_unlock_store(struct kobject *kobj,
kobj              787 kernel/power/main.c static ssize_t pm_trace_show(struct kobject *kobj, struct kobj_attribute *attr,
kobj              794 kernel/power/main.c pm_trace_store(struct kobject *kobj, struct kobj_attribute *attr,
kobj              812 kernel/power/main.c static ssize_t pm_trace_dev_match_show(struct kobject *kobj,
kobj              824 kernel/power/main.c static ssize_t pm_freeze_timeout_show(struct kobject *kobj,
kobj              830 kernel/power/main.c static ssize_t pm_freeze_timeout_store(struct kobject *kobj,
kobj              784 kernel/sched/cpufreq_schedutil.c 	ret = kobject_init_and_add(&tunables->attr_set.kobj, &sugov_tunables_ktype,
kobj              795 kernel/sched/cpufreq_schedutil.c 	kobject_put(&tunables->attr_set.kobj);
kobj             1918 kernel/trace/blktrace.c 	return sysfs_create_group(&dev->kobj, &blk_trace_attr_group);
kobj             1923 kernel/trace/blktrace.c 	sysfs_remove_group(&dev->kobj, &blk_trace_attr_group);
kobj             5669 kernel/workqueue.c 	kobject_uevent(&wq_dev->dev.kobj, KOBJ_ADD);
kobj               28 lib/kobject.c  const void *kobject_namespace(struct kobject *kobj)
kobj               30 lib/kobject.c  	const struct kobj_ns_type_operations *ns_ops = kobj_ns_ops(kobj);
kobj               35 lib/kobject.c  	return kobj->ktype->namespace(kobj);
kobj               48 lib/kobject.c  void kobject_get_ownership(struct kobject *kobj, kuid_t *uid, kgid_t *gid)
kobj               53 lib/kobject.c  	if (kobj->ktype->get_ownership)
kobj               54 lib/kobject.c  		kobj->ktype->get_ownership(kobj, uid, gid);
kobj               66 lib/kobject.c  static int populate_dir(struct kobject *kobj)
kobj               68 lib/kobject.c  	struct kobj_type *t = get_ktype(kobj);
kobj               75 lib/kobject.c  			error = sysfs_create_file(kobj, attr);
kobj               83 lib/kobject.c  static int create_dir(struct kobject *kobj)
kobj               85 lib/kobject.c  	const struct kobj_type *ktype = get_ktype(kobj);
kobj               89 lib/kobject.c  	error = sysfs_create_dir_ns(kobj, kobject_namespace(kobj));
kobj               93 lib/kobject.c  	error = populate_dir(kobj);
kobj               95 lib/kobject.c  		sysfs_remove_dir(kobj);
kobj              100 lib/kobject.c  		error = sysfs_create_groups(kobj, ktype->default_groups);
kobj              102 lib/kobject.c  			sysfs_remove_dir(kobj);
kobj              111 lib/kobject.c  	sysfs_get(kobj->sd);
kobj              117 lib/kobject.c  	ops = kobj_child_ns_ops(kobj);
kobj              123 lib/kobject.c  		sysfs_enable_ns(kobj->sd);
kobj              129 lib/kobject.c  static int get_kobj_path_length(struct kobject *kobj)
kobj              132 lib/kobject.c  	struct kobject *parent = kobj;
kobj              147 lib/kobject.c  static void fill_kobj_path(struct kobject *kobj, char *path, int length)
kobj              152 lib/kobject.c  	for (parent = kobj; parent; parent = parent->parent) {
kobj              160 lib/kobject.c  	pr_debug("kobject: '%s' (%p): %s: path = '%s'\n", kobject_name(kobj),
kobj              161 lib/kobject.c  		 kobj, __func__, path);
kobj              171 lib/kobject.c  char *kobject_get_path(struct kobject *kobj, gfp_t gfp_mask)
kobj              176 lib/kobject.c  	len = get_kobj_path_length(kobj);
kobj              182 lib/kobject.c  	fill_kobj_path(kobj, path, len);
kobj              189 lib/kobject.c  static void kobj_kset_join(struct kobject *kobj)
kobj              191 lib/kobject.c  	if (!kobj->kset)
kobj              194 lib/kobject.c  	kset_get(kobj->kset);
kobj              195 lib/kobject.c  	spin_lock(&kobj->kset->list_lock);
kobj              196 lib/kobject.c  	list_add_tail(&kobj->entry, &kobj->kset->list);
kobj              197 lib/kobject.c  	spin_unlock(&kobj->kset->list_lock);
kobj              201 lib/kobject.c  static void kobj_kset_leave(struct kobject *kobj)
kobj              203 lib/kobject.c  	if (!kobj->kset)
kobj              206 lib/kobject.c  	spin_lock(&kobj->kset->list_lock);
kobj              207 lib/kobject.c  	list_del_init(&kobj->entry);
kobj              208 lib/kobject.c  	spin_unlock(&kobj->kset->list_lock);
kobj              209 lib/kobject.c  	kset_put(kobj->kset);
kobj              212 lib/kobject.c  static void kobject_init_internal(struct kobject *kobj)
kobj              214 lib/kobject.c  	if (!kobj)
kobj              216 lib/kobject.c  	kref_init(&kobj->kref);
kobj              217 lib/kobject.c  	INIT_LIST_HEAD(&kobj->entry);
kobj              218 lib/kobject.c  	kobj->state_in_sysfs = 0;
kobj              219 lib/kobject.c  	kobj->state_add_uevent_sent = 0;
kobj              220 lib/kobject.c  	kobj->state_remove_uevent_sent = 0;
kobj              221 lib/kobject.c  	kobj->state_initialized = 1;
kobj              225 lib/kobject.c  static int kobject_add_internal(struct kobject *kobj)
kobj              230 lib/kobject.c  	if (!kobj)
kobj              233 lib/kobject.c  	if (!kobj->name || !kobj->name[0]) {
kobj              236 lib/kobject.c  		     kobj);
kobj              240 lib/kobject.c  	parent = kobject_get(kobj->parent);
kobj              243 lib/kobject.c  	if (kobj->kset) {
kobj              245 lib/kobject.c  			parent = kobject_get(&kobj->kset->kobj);
kobj              246 lib/kobject.c  		kobj_kset_join(kobj);
kobj              247 lib/kobject.c  		kobj->parent = parent;
kobj              251 lib/kobject.c  		 kobject_name(kobj), kobj, __func__,
kobj              253 lib/kobject.c  		 kobj->kset ? kobject_name(&kobj->kset->kobj) : "<NULL>");
kobj              255 lib/kobject.c  	error = create_dir(kobj);
kobj              257 lib/kobject.c  		kobj_kset_leave(kobj);
kobj              259 lib/kobject.c  		kobj->parent = NULL;
kobj              264 lib/kobject.c  			       __func__, kobject_name(kobj));
kobj              267 lib/kobject.c  			       __func__, kobject_name(kobj), error,
kobj              270 lib/kobject.c  		kobj->state_in_sysfs = 1;
kobj              281 lib/kobject.c  int kobject_set_name_vargs(struct kobject *kobj, const char *fmt,
kobj              286 lib/kobject.c  	if (kobj->name && !fmt)
kobj              309 lib/kobject.c  	kfree_const(kobj->name);
kobj              310 lib/kobject.c  	kobj->name = s;
kobj              324 lib/kobject.c  int kobject_set_name(struct kobject *kobj, const char *fmt, ...)
kobj              330 lib/kobject.c  	retval = kobject_set_name_vargs(kobj, fmt, vargs);
kobj              349 lib/kobject.c  void kobject_init(struct kobject *kobj, struct kobj_type *ktype)
kobj              353 lib/kobject.c  	if (!kobj) {
kobj              361 lib/kobject.c  	if (kobj->state_initialized) {
kobj              364 lib/kobject.c  		       kobj);
kobj              368 lib/kobject.c  	kobject_init_internal(kobj);
kobj              369 lib/kobject.c  	kobj->ktype = ktype;
kobj              373 lib/kobject.c  	pr_err("kobject (%p): %s\n", kobj, err_str);
kobj              378 lib/kobject.c  static __printf(3, 0) int kobject_add_varg(struct kobject *kobj,
kobj              384 lib/kobject.c  	retval = kobject_set_name_vargs(kobj, fmt, vargs);
kobj              389 lib/kobject.c  	kobj->parent = parent;
kobj              390 lib/kobject.c  	return kobject_add_internal(kobj);
kobj              426 lib/kobject.c  int kobject_add(struct kobject *kobj, struct kobject *parent,
kobj              432 lib/kobject.c  	if (!kobj)
kobj              435 lib/kobject.c  	if (!kobj->state_initialized) {
kobj              437 lib/kobject.c  		       kobject_name(kobj), kobj);
kobj              442 lib/kobject.c  	retval = kobject_add_varg(kobj, parent, fmt, args);
kobj              464 lib/kobject.c  int kobject_init_and_add(struct kobject *kobj, struct kobj_type *ktype,
kobj              470 lib/kobject.c  	kobject_init(kobj, ktype);
kobj              473 lib/kobject.c  	retval = kobject_add_varg(kobj, parent, fmt, args);
kobj              490 lib/kobject.c  int kobject_rename(struct kobject *kobj, const char *new_name)
kobj              498 lib/kobject.c  	kobj = kobject_get(kobj);
kobj              499 lib/kobject.c  	if (!kobj)
kobj              501 lib/kobject.c  	if (!kobj->parent) {
kobj              502 lib/kobject.c  		kobject_put(kobj);
kobj              506 lib/kobject.c  	devpath = kobject_get_path(kobj, GFP_KERNEL);
kobj              526 lib/kobject.c  	error = sysfs_rename_dir_ns(kobj, new_name, kobject_namespace(kobj));
kobj              531 lib/kobject.c  	dup_name = kobj->name;
kobj              532 lib/kobject.c  	kobj->name = name;
kobj              537 lib/kobject.c  	kobject_uevent_env(kobj, KOBJ_MOVE, envp);
kobj              543 lib/kobject.c  	kobject_put(kobj);
kobj              554 lib/kobject.c  int kobject_move(struct kobject *kobj, struct kobject *new_parent)
kobj              562 lib/kobject.c  	kobj = kobject_get(kobj);
kobj              563 lib/kobject.c  	if (!kobj)
kobj              567 lib/kobject.c  		if (kobj->kset)
kobj              568 lib/kobject.c  			new_parent = kobject_get(&kobj->kset->kobj);
kobj              572 lib/kobject.c  	devpath = kobject_get_path(kobj, GFP_KERNEL);
kobj              585 lib/kobject.c  	error = sysfs_move_dir_ns(kobj, new_parent, kobject_namespace(kobj));
kobj              588 lib/kobject.c  	old_parent = kobj->parent;
kobj              589 lib/kobject.c  	kobj->parent = new_parent;
kobj              592 lib/kobject.c  	kobject_uevent_env(kobj, KOBJ_MOVE, envp);
kobj              595 lib/kobject.c  	kobject_put(kobj);
kobj              609 lib/kobject.c  void kobject_del(struct kobject *kobj)
kobj              614 lib/kobject.c  	if (!kobj)
kobj              617 lib/kobject.c  	sd = kobj->sd;
kobj              618 lib/kobject.c  	ktype = get_ktype(kobj);
kobj              621 lib/kobject.c  		sysfs_remove_groups(kobj, ktype->default_groups);
kobj              623 lib/kobject.c  	sysfs_remove_dir(kobj);
kobj              626 lib/kobject.c  	kobj->state_in_sysfs = 0;
kobj              627 lib/kobject.c  	kobj_kset_leave(kobj);
kobj              628 lib/kobject.c  	kobject_put(kobj->parent);
kobj              629 lib/kobject.c  	kobj->parent = NULL;
kobj              637 lib/kobject.c  struct kobject *kobject_get(struct kobject *kobj)
kobj              639 lib/kobject.c  	if (kobj) {
kobj              640 lib/kobject.c  		if (!kobj->state_initialized)
kobj              643 lib/kobject.c  			     kobject_name(kobj), kobj);
kobj              644 lib/kobject.c  		kref_get(&kobj->kref);
kobj              646 lib/kobject.c  	return kobj;
kobj              650 lib/kobject.c  struct kobject * __must_check kobject_get_unless_zero(struct kobject *kobj)
kobj              652 lib/kobject.c  	if (!kobj)
kobj              654 lib/kobject.c  	if (!kref_get_unless_zero(&kobj->kref))
kobj              655 lib/kobject.c  		kobj = NULL;
kobj              656 lib/kobject.c  	return kobj;
kobj              664 lib/kobject.c  static void kobject_cleanup(struct kobject *kobj)
kobj              666 lib/kobject.c  	struct kobj_type *t = get_ktype(kobj);
kobj              667 lib/kobject.c  	const char *name = kobj->name;
kobj              670 lib/kobject.c  		 kobject_name(kobj), kobj, __func__, kobj->parent);
kobj              674 lib/kobject.c  			 kobject_name(kobj), kobj);
kobj              677 lib/kobject.c  	if (kobj->state_add_uevent_sent && !kobj->state_remove_uevent_sent) {
kobj              679 lib/kobject.c  			 kobject_name(kobj), kobj);
kobj              680 lib/kobject.c  		kobject_uevent(kobj, KOBJ_REMOVE);
kobj              684 lib/kobject.c  	if (kobj->state_in_sysfs) {
kobj              686 lib/kobject.c  			 kobject_name(kobj), kobj);
kobj              687 lib/kobject.c  		kobject_del(kobj);
kobj              692 lib/kobject.c  			 kobject_name(kobj), kobj);
kobj              693 lib/kobject.c  		t->release(kobj);
kobj              713 lib/kobject.c  	struct kobject *kobj = container_of(kref, struct kobject, kref);
kobj              717 lib/kobject.c  		 kobject_name(kobj), kobj, __func__, kobj->parent, delay);
kobj              718 lib/kobject.c  	INIT_DELAYED_WORK(&kobj->release, kobject_delayed_cleanup);
kobj              720 lib/kobject.c  	schedule_delayed_work(&kobj->release, delay);
kobj              722 lib/kobject.c  	kobject_cleanup(kobj);
kobj              732 lib/kobject.c  void kobject_put(struct kobject *kobj)
kobj              734 lib/kobject.c  	if (kobj) {
kobj              735 lib/kobject.c  		if (!kobj->state_initialized)
kobj              738 lib/kobject.c  			     kobject_name(kobj), kobj);
kobj              739 lib/kobject.c  		kref_put(&kobj->kref, kobject_release);
kobj              744 lib/kobject.c  static void dynamic_kobj_release(struct kobject *kobj)
kobj              746 lib/kobject.c  	pr_debug("kobject: (%p): %s\n", kobj, __func__);
kobj              747 lib/kobject.c  	kfree(kobj);
kobj              768 lib/kobject.c  	struct kobject *kobj;
kobj              770 lib/kobject.c  	kobj = kzalloc(sizeof(*kobj), GFP_KERNEL);
kobj              771 lib/kobject.c  	if (!kobj)
kobj              774 lib/kobject.c  	kobject_init(kobj, &dynamic_kobj_ktype);
kobj              775 lib/kobject.c  	return kobj;
kobj              793 lib/kobject.c  	struct kobject *kobj;
kobj              796 lib/kobject.c  	kobj = kobject_create();
kobj              797 lib/kobject.c  	if (!kobj)
kobj              800 lib/kobject.c  	retval = kobject_add(kobj, parent, "%s", name);
kobj              803 lib/kobject.c  		kobject_put(kobj);
kobj              804 lib/kobject.c  		kobj = NULL;
kobj              806 lib/kobject.c  	return kobj;
kobj              816 lib/kobject.c  	kobject_init_internal(&k->kobj);
kobj              822 lib/kobject.c  static ssize_t kobj_attr_show(struct kobject *kobj, struct attribute *attr,
kobj              830 lib/kobject.c  		ret = kattr->show(kobj, kattr, buf);
kobj              834 lib/kobject.c  static ssize_t kobj_attr_store(struct kobject *kobj, struct attribute *attr,
kobj              842 lib/kobject.c  		ret = kattr->store(kobj, kattr, buf, count);
kobj              864 lib/kobject.c  	err = kobject_add_internal(&k->kobj);
kobj              867 lib/kobject.c  	kobject_uevent(&k->kobj, KOBJ_ADD);
kobj              880 lib/kobject.c  	kobject_del(&k->kobj);
kobj              881 lib/kobject.c  	kobject_put(&k->kobj);
kobj              913 lib/kobject.c  static void kset_release(struct kobject *kobj)
kobj              915 lib/kobject.c  	struct kset *kset = container_of(kobj, struct kset, kobj);
kobj              917 lib/kobject.c  		 kobject_name(kobj), kobj, __func__);
kobj              921 lib/kobject.c  static void kset_get_ownership(struct kobject *kobj, kuid_t *uid, kgid_t *gid)
kobj              923 lib/kobject.c  	if (kobj->parent)
kobj              924 lib/kobject.c  		kobject_get_ownership(kobj->parent, uid, gid);
kobj              958 lib/kobject.c  	retval = kobject_set_name(&kset->kobj, "%s", name);
kobj              964 lib/kobject.c  	kset->kobj.parent = parent_kobj;
kobj              971 lib/kobject.c  	kset->kobj.ktype = &kset_ktype;
kobj              972 lib/kobject.c  	kset->kobj.kset = NULL;
kobj             1063 lib/kobject.c  const struct kobj_ns_type_operations *kobj_ns_ops(struct kobject *kobj)
kobj             1065 lib/kobject.c  	return kobj_child_ns_ops(kobj->parent);
kobj              192 lib/kobject_uevent.c int kobject_synth_uevent(struct kobject *kobj, const char *buf, size_t count)
kobj              208 lib/kobject_uevent.c 		r = kobject_uevent_env(kobj, action, no_uuid_envp);
kobj              222 lib/kobject_uevent.c 	r = kobject_uevent_env(kobj, action, env->envp);
kobj              226 lib/kobject_uevent.c 		devpath = kobject_get_path(kobj, GFP_KERNEL);
kobj              236 lib/kobject_uevent.c static int kobj_usermode_filter(struct kobject *kobj)
kobj              240 lib/kobject_uevent.c 	ops = kobj_ns_ops(kobj);
kobj              244 lib/kobject_uevent.c 		ns = kobj->ktype->namespace(kobj);
kobj              380 lib/kobject_uevent.c static int kobject_uevent_net_broadcast(struct kobject *kobj,
kobj              391 lib/kobject_uevent.c 	ops = kobj_ns_ops(kobj);
kobj              392 lib/kobject_uevent.c 	if (!ops && kobj->kset) {
kobj              393 lib/kobject_uevent.c 		struct kobject *ksobj = &kobj->kset->kobj;
kobj              403 lib/kobject_uevent.c 	if (ops && ops->netlink_ns && kobj->ktype->namespace)
kobj              405 lib/kobject_uevent.c 			net = kobj->ktype->namespace(kobj);
kobj              456 lib/kobject_uevent.c int kobject_uevent_env(struct kobject *kobj, enum kobject_action action,
kobj              474 lib/kobject_uevent.c 		kobj->state_remove_uevent_sent = 1;
kobj              477 lib/kobject_uevent.c 		 kobject_name(kobj), kobj, __func__);
kobj              480 lib/kobject_uevent.c 	top_kobj = kobj;
kobj              486 lib/kobject_uevent.c 			 "without kset!\n", kobject_name(kobj), kobj,
kobj              495 lib/kobject_uevent.c 	if (kobj->uevent_suppress) {
kobj              498 lib/kobject_uevent.c 				 kobject_name(kobj), kobj, __func__);
kobj              503 lib/kobject_uevent.c 		if (!uevent_ops->filter(kset, kobj)) {
kobj              506 lib/kobject_uevent.c 				 kobject_name(kobj), kobj, __func__);
kobj              512 lib/kobject_uevent.c 		subsystem = uevent_ops->name(kset, kobj);
kobj              514 lib/kobject_uevent.c 		subsystem = kobject_name(&kset->kobj);
kobj              517 lib/kobject_uevent.c 			 "event to drop!\n", kobject_name(kobj), kobj,
kobj              528 lib/kobject_uevent.c 	devpath = kobject_get_path(kobj, GFP_KERNEL);
kobj              556 lib/kobject_uevent.c 		retval = uevent_ops->uevent(kset, kobj, env);
kobj              559 lib/kobject_uevent.c 				 "%d\n", kobject_name(kobj), kobj,
kobj              574 lib/kobject_uevent.c 		kobj->state_add_uevent_sent = 1;
kobj              592 lib/kobject_uevent.c 	retval = kobject_uevent_net_broadcast(kobj, env, action_string,
kobj              598 lib/kobject_uevent.c 	if (uevent_helper[0] && !kobj_usermode_filter(kobj)) {
kobj              639 lib/kobject_uevent.c int kobject_uevent(struct kobject *kobj, enum kobject_action action)
kobj              641 lib/kobject_uevent.c 	return kobject_uevent_env(kobj, action, NULL);
kobj              163 mm/huge_memory.c static ssize_t enabled_show(struct kobject *kobj,
kobj              174 mm/huge_memory.c static ssize_t enabled_store(struct kobject *kobj,
kobj              202 mm/huge_memory.c ssize_t single_hugepage_flag_show(struct kobject *kobj,
kobj              210 mm/huge_memory.c ssize_t single_hugepage_flag_store(struct kobject *kobj,
kobj              232 mm/huge_memory.c static ssize_t defrag_show(struct kobject *kobj,
kobj              246 mm/huge_memory.c static ssize_t defrag_store(struct kobject *kobj,
kobj              283 mm/huge_memory.c static ssize_t use_zero_page_show(struct kobject *kobj,
kobj              286 mm/huge_memory.c 	return single_hugepage_flag_show(kobj, attr, buf,
kobj              289 mm/huge_memory.c static ssize_t use_zero_page_store(struct kobject *kobj,
kobj              292 mm/huge_memory.c 	return single_hugepage_flag_store(kobj, attr, buf, count,
kobj              298 mm/huge_memory.c static ssize_t hpage_pmd_size_show(struct kobject *kobj,
kobj              307 mm/huge_memory.c static ssize_t debug_cow_show(struct kobject *kobj,
kobj              310 mm/huge_memory.c 	return single_hugepage_flag_show(kobj, attr, buf,
kobj              313 mm/huge_memory.c static ssize_t debug_cow_store(struct kobject *kobj,
kobj              317 mm/huge_memory.c 	return single_hugepage_flag_store(kobj, attr, buf, count,
kobj             2562 mm/hugetlb.c   static struct hstate *kobj_to_node_hstate(struct kobject *kobj, int *nidp);
kobj             2564 mm/hugetlb.c   static struct hstate *kobj_to_hstate(struct kobject *kobj, int *nidp)
kobj             2569 mm/hugetlb.c   		if (hstate_kobjs[i] == kobj) {
kobj             2575 mm/hugetlb.c   	return kobj_to_node_hstate(kobj, nidp);
kobj             2578 mm/hugetlb.c   static ssize_t nr_hugepages_show_common(struct kobject *kobj,
kobj             2585 mm/hugetlb.c   	h = kobj_to_hstate(kobj, &nid);
kobj             2628 mm/hugetlb.c   					 struct kobject *kobj, const char *buf,
kobj             2640 mm/hugetlb.c   	h = kobj_to_hstate(kobj, &nid);
kobj             2644 mm/hugetlb.c   static ssize_t nr_hugepages_show(struct kobject *kobj,
kobj             2647 mm/hugetlb.c   	return nr_hugepages_show_common(kobj, attr, buf);
kobj             2650 mm/hugetlb.c   static ssize_t nr_hugepages_store(struct kobject *kobj,
kobj             2653 mm/hugetlb.c   	return nr_hugepages_store_common(false, kobj, buf, len);
kobj             2663 mm/hugetlb.c   static ssize_t nr_hugepages_mempolicy_show(struct kobject *kobj,
kobj             2666 mm/hugetlb.c   	return nr_hugepages_show_common(kobj, attr, buf);
kobj             2669 mm/hugetlb.c   static ssize_t nr_hugepages_mempolicy_store(struct kobject *kobj,
kobj             2672 mm/hugetlb.c   	return nr_hugepages_store_common(true, kobj, buf, len);
kobj             2678 mm/hugetlb.c   static ssize_t nr_overcommit_hugepages_show(struct kobject *kobj,
kobj             2681 mm/hugetlb.c   	struct hstate *h = kobj_to_hstate(kobj, NULL);
kobj             2685 mm/hugetlb.c   static ssize_t nr_overcommit_hugepages_store(struct kobject *kobj,
kobj             2690 mm/hugetlb.c   	struct hstate *h = kobj_to_hstate(kobj, NULL);
kobj             2707 mm/hugetlb.c   static ssize_t free_hugepages_show(struct kobject *kobj,
kobj             2714 mm/hugetlb.c   	h = kobj_to_hstate(kobj, &nid);
kobj             2724 mm/hugetlb.c   static ssize_t resv_hugepages_show(struct kobject *kobj,
kobj             2727 mm/hugetlb.c   	struct hstate *h = kobj_to_hstate(kobj, NULL);
kobj             2732 mm/hugetlb.c   static ssize_t surplus_hugepages_show(struct kobject *kobj,
kobj             2739 mm/hugetlb.c   	h = kobj_to_hstate(kobj, &nid);
kobj             2833 mm/hugetlb.c   static struct hstate *kobj_to_node_hstate(struct kobject *kobj, int *nidp)
kobj             2841 mm/hugetlb.c   			if (nhs->hstate_kobjs[i] == kobj) {
kobj             2891 mm/hugetlb.c   							&node->dev.kobj);
kobj             2932 mm/hugetlb.c   static struct hstate *kobj_to_node_hstate(struct kobject *kobj, int *nidp)
kobj              117 mm/khugepaged.c static ssize_t scan_sleep_millisecs_show(struct kobject *kobj,
kobj              124 mm/khugepaged.c static ssize_t scan_sleep_millisecs_store(struct kobject *kobj,
kobj              145 mm/khugepaged.c static ssize_t alloc_sleep_millisecs_show(struct kobject *kobj,
kobj              152 mm/khugepaged.c static ssize_t alloc_sleep_millisecs_store(struct kobject *kobj,
kobj              173 mm/khugepaged.c static ssize_t pages_to_scan_show(struct kobject *kobj,
kobj              179 mm/khugepaged.c static ssize_t pages_to_scan_store(struct kobject *kobj,
kobj              198 mm/khugepaged.c static ssize_t pages_collapsed_show(struct kobject *kobj,
kobj              207 mm/khugepaged.c static ssize_t full_scans_show(struct kobject *kobj,
kobj              216 mm/khugepaged.c static ssize_t khugepaged_defrag_show(struct kobject *kobj,
kobj              219 mm/khugepaged.c 	return single_hugepage_flag_show(kobj, attr, buf,
kobj              222 mm/khugepaged.c static ssize_t khugepaged_defrag_store(struct kobject *kobj,
kobj              226 mm/khugepaged.c 	return single_hugepage_flag_store(kobj, attr, buf, count,
kobj              241 mm/khugepaged.c static ssize_t khugepaged_max_ptes_none_show(struct kobject *kobj,
kobj              247 mm/khugepaged.c static ssize_t khugepaged_max_ptes_none_store(struct kobject *kobj,
kobj              266 mm/khugepaged.c static ssize_t khugepaged_max_ptes_swap_show(struct kobject *kobj,
kobj              273 mm/khugepaged.c static ssize_t khugepaged_max_ptes_swap_store(struct kobject *kobj,
kobj             2853 mm/ksm.c       static ssize_t sleep_millisecs_show(struct kobject *kobj,
kobj             2859 mm/ksm.c       static ssize_t sleep_millisecs_store(struct kobject *kobj,
kobj             2877 mm/ksm.c       static ssize_t pages_to_scan_show(struct kobject *kobj,
kobj             2883 mm/ksm.c       static ssize_t pages_to_scan_store(struct kobject *kobj,
kobj             2900 mm/ksm.c       static ssize_t run_show(struct kobject *kobj, struct kobj_attribute *attr,
kobj             2906 mm/ksm.c       static ssize_t run_store(struct kobject *kobj, struct kobj_attribute *attr,
kobj             2949 mm/ksm.c       static ssize_t merge_across_nodes_show(struct kobject *kobj,
kobj             2955 mm/ksm.c       static ssize_t merge_across_nodes_store(struct kobject *kobj,
kobj             3006 mm/ksm.c       static ssize_t use_zero_pages_show(struct kobject *kobj,
kobj             3011 mm/ksm.c       static ssize_t use_zero_pages_store(struct kobject *kobj,
kobj             3028 mm/ksm.c       static ssize_t max_page_sharing_show(struct kobject *kobj,
kobj             3034 mm/ksm.c       static ssize_t max_page_sharing_store(struct kobject *kobj,
kobj             3069 mm/ksm.c       static ssize_t pages_shared_show(struct kobject *kobj,
kobj             3076 mm/ksm.c       static ssize_t pages_sharing_show(struct kobject *kobj,
kobj             3083 mm/ksm.c       static ssize_t pages_unshared_show(struct kobject *kobj,
kobj             3090 mm/ksm.c       static ssize_t pages_volatile_show(struct kobject *kobj,
kobj             3107 mm/ksm.c       static ssize_t stable_node_dups_show(struct kobject *kobj,
kobj             3114 mm/ksm.c       static ssize_t stable_node_chains_show(struct kobject *kobj,
kobj             3122 mm/ksm.c       stable_node_chains_prune_millisecs_show(struct kobject *kobj,
kobj             3130 mm/ksm.c       stable_node_chains_prune_millisecs_store(struct kobject *kobj,
kobj             3147 mm/ksm.c       static ssize_t full_scans_show(struct kobject *kobj,
kobj              121 mm/page_idle.c static ssize_t page_idle_bitmap_read(struct file *file, struct kobject *kobj,
kobj              166 mm/page_idle.c static ssize_t page_idle_bitmap_write(struct file *file, struct kobject *kobj,
kobj             3936 mm/shmem.c     static ssize_t shmem_enabled_show(struct kobject *kobj,
kobj             3959 mm/shmem.c     static ssize_t shmem_enabled_store(struct kobject *kobj,
kobj             4927 mm/slub.c      #define to_slab(n) container_of(n, struct kmem_cache, kobj)
kobj             5518 mm/slub.c      static ssize_t slab_attr_show(struct kobject *kobj,
kobj             5527 mm/slub.c      	s = to_slab(kobj);
kobj             5537 mm/slub.c      static ssize_t slab_attr_store(struct kobject *kobj,
kobj             5546 mm/slub.c      	s = to_slab(kobj);
kobj             5658 mm/slub.c      static int uevent_filter(struct kset *kset, struct kobject *kobj)
kobj             5660 mm/slub.c      	struct kobj_type *ktype = get_ktype(kobj);
kobj             5726 mm/slub.c      	if (!s->kobj.state_in_sysfs)
kobj             5738 mm/slub.c      	kobject_uevent(&s->kobj, KOBJ_REMOVE);
kobj             5740 mm/slub.c      	kobject_put(&s->kobj);
kobj             5753 mm/slub.c      		kobject_init(&s->kobj, &slab_ktype);
kobj             5767 mm/slub.c      		sysfs_remove_link(&slab_kset->kobj, s->name);
kobj             5777 mm/slub.c      	s->kobj.kset = kset;
kobj             5778 mm/slub.c      	err = kobject_init_and_add(&s->kobj, &slab_ktype, NULL, "%s", name);
kobj             5780 mm/slub.c      		kobject_put(&s->kobj);
kobj             5784 mm/slub.c      	err = sysfs_create_group(&s->kobj, &slab_attr_group);
kobj             5790 mm/slub.c      		s->memcg_kset = kset_create_and_add("cgroup", NULL, &s->kobj);
kobj             5798 mm/slub.c      	kobject_uevent(&s->kobj, KOBJ_ADD);
kobj             5808 mm/slub.c      	kobject_del(&s->kobj);
kobj             5821 mm/slub.c      	kobject_get(&s->kobj);
kobj             5828 mm/slub.c      		kobject_del(&s->kobj);
kobj             5834 mm/slub.c      		kobject_put(&s->kobj);
kobj             5857 mm/slub.c      		sysfs_remove_link(&slab_kset->kobj, name);
kobj             5858 mm/slub.c      		return sysfs_create_link(&slab_kset->kobj, &s->kobj, name);
kobj              790 mm/swap_state.c static ssize_t vma_ra_enabled_show(struct kobject *kobj,
kobj              795 mm/swap_state.c static ssize_t vma_ra_enabled_store(struct kobject *kobj,
kobj              601 net/9p/trans_virtio.c 	err = sysfs_create_file(&(vdev->dev.kobj), &dev_attr_mount_tag.attr);
kobj              622 net/9p/trans_virtio.c 	kobject_uevent(&(vdev->dev.kobj), KOBJ_CHANGE);
kobj              720 net/9p/trans_virtio.c 	sysfs_remove_file(&(vdev->dev.kobj), &dev_attr_mount_tag.attr);
kobj              721 net/9p/trans_virtio.c 	kobject_uevent(&(vdev->dev.kobj), KOBJ_CHANGE);
kobj              706 net/batman-adv/main.c 	bat_kobj = &bat_priv->soft_iface->dev.kobj;
kobj              688 net/batman-adv/soft-interface.c 	if (!vlan->kobj) {
kobj               58 net/batman-adv/sysfs.c 	struct device *dev = container_of(obj->parent, struct device, kobj);
kobj              104 net/batman-adv/sysfs.c 		if (vlan_tmp->kobj != obj)
kobj              137 net/batman-adv/sysfs.c ssize_t batadv_store_##_name(struct kobject *kobj,			\
kobj              141 net/batman-adv/sysfs.c 	struct net_device *net_dev = batadv_kobj_to_netdev(kobj);	\
kobj              155 net/batman-adv/sysfs.c ssize_t batadv_show_##_name(struct kobject *kobj,			\
kobj              158 net/batman-adv/sysfs.c 	struct batadv_priv *bat_priv = batadv_kobj_to_batpriv(kobj);	\
kobj              176 net/batman-adv/sysfs.c ssize_t batadv_store_##_name(struct kobject *kobj,			\
kobj              180 net/batman-adv/sysfs.c 	struct net_device *net_dev = batadv_kobj_to_netdev(kobj);	\
kobj              196 net/batman-adv/sysfs.c ssize_t batadv_show_##_name(struct kobject *kobj,			\
kobj              199 net/batman-adv/sysfs.c 	struct batadv_priv *bat_priv = batadv_kobj_to_batpriv(kobj);	\
kobj              215 net/batman-adv/sysfs.c ssize_t batadv_store_vlan_##_name(struct kobject *kobj,			\
kobj              219 net/batman-adv/sysfs.c 	struct batadv_priv *bat_priv = batadv_vlan_kobj_to_batpriv(kobj);\
kobj              221 net/batman-adv/sysfs.c 							      kobj);	\
kobj              237 net/batman-adv/sysfs.c ssize_t batadv_show_vlan_##_name(struct kobject *kobj,			\
kobj              240 net/batman-adv/sysfs.c 	struct batadv_priv *bat_priv = batadv_vlan_kobj_to_batpriv(kobj);\
kobj              242 net/batman-adv/sysfs.c 							      kobj);	\
kobj              260 net/batman-adv/sysfs.c ssize_t batadv_store_##_name(struct kobject *kobj,			\
kobj              264 net/batman-adv/sysfs.c 	struct net_device *net_dev = batadv_kobj_to_netdev(kobj);	\
kobj              290 net/batman-adv/sysfs.c ssize_t batadv_show_##_name(struct kobject *kobj,			\
kobj              293 net/batman-adv/sysfs.c 	struct net_device *net_dev = batadv_kobj_to_netdev(kobj);	\
kobj              437 net/batman-adv/sysfs.c static ssize_t batadv_show_bat_algo(struct kobject *kobj,
kobj              440 net/batman-adv/sysfs.c 	struct batadv_priv *bat_priv = batadv_kobj_to_batpriv(kobj);
kobj              453 net/batman-adv/sysfs.c static ssize_t batadv_show_gw_mode(struct kobject *kobj, struct attribute *attr,
kobj              456 net/batman-adv/sysfs.c 	struct batadv_priv *bat_priv = batadv_kobj_to_batpriv(kobj);
kobj              486 net/batman-adv/sysfs.c static ssize_t batadv_store_gw_mode(struct kobject *kobj,
kobj              490 net/batman-adv/sysfs.c 	struct net_device *net_dev = batadv_kobj_to_netdev(kobj);
kobj              566 net/batman-adv/sysfs.c static ssize_t batadv_show_gw_sel_class(struct kobject *kobj,
kobj              569 net/batman-adv/sysfs.c 	struct batadv_priv *bat_priv = batadv_kobj_to_batpriv(kobj);
kobj              586 net/batman-adv/sysfs.c static ssize_t batadv_store_gw_sel_class(struct kobject *kobj,
kobj              590 net/batman-adv/sysfs.c 	struct batadv_priv *bat_priv = batadv_kobj_to_batpriv(kobj);
kobj              619 net/batman-adv/sysfs.c static ssize_t batadv_show_gw_bwidth(struct kobject *kobj,
kobj              622 net/batman-adv/sysfs.c 	struct batadv_priv *bat_priv = batadv_kobj_to_batpriv(kobj);
kobj              634 net/batman-adv/sysfs.c static ssize_t batadv_store_gw_bwidth(struct kobject *kobj,
kobj              638 net/batman-adv/sysfs.c 	struct batadv_priv *bat_priv = batadv_kobj_to_batpriv(kobj);
kobj              639 net/batman-adv/sysfs.c 	struct net_device *net_dev = batadv_kobj_to_netdev(kobj);
kobj              663 net/batman-adv/sysfs.c static ssize_t batadv_show_isolation_mark(struct kobject *kobj,
kobj              666 net/batman-adv/sysfs.c 	struct batadv_priv *bat_priv = batadv_kobj_to_batpriv(kobj);
kobj              683 net/batman-adv/sysfs.c static ssize_t batadv_store_isolation_mark(struct kobject *kobj,
kobj              687 net/batman-adv/sysfs.c 	struct net_device *net_dev = batadv_kobj_to_netdev(kobj);
kobj              803 net/batman-adv/sysfs.c 	struct kobject *batif_kobject = &dev->dev.kobj;
kobj              878 net/batman-adv/sysfs.c 		vlan->kobj = kobject_create_and_add(vlan_subdir,
kobj              880 net/batman-adv/sysfs.c 		if (!vlan->kobj) {
kobj              889 net/batman-adv/sysfs.c 		vlan->kobj = bat_priv->mesh_obj;
kobj              894 net/batman-adv/sysfs.c 		err = sysfs_create_file(vlan->kobj,
kobj              908 net/batman-adv/sysfs.c 		sysfs_remove_file(vlan->kobj, &((*bat_attr)->attr));
kobj              910 net/batman-adv/sysfs.c 	if (vlan->kobj != bat_priv->mesh_obj) {
kobj              911 net/batman-adv/sysfs.c 		kobject_uevent(vlan->kobj, KOBJ_REMOVE);
kobj              912 net/batman-adv/sysfs.c 		kobject_del(vlan->kobj);
kobj              914 net/batman-adv/sysfs.c 	kobject_put(vlan->kobj);
kobj              915 net/batman-adv/sysfs.c 	vlan->kobj = NULL;
kobj              931 net/batman-adv/sysfs.c 		sysfs_remove_file(vlan->kobj, &((*bat_attr)->attr));
kobj              933 net/batman-adv/sysfs.c 	if (vlan->kobj != bat_priv->mesh_obj) {
kobj              934 net/batman-adv/sysfs.c 		kobject_uevent(vlan->kobj, KOBJ_REMOVE);
kobj              935 net/batman-adv/sysfs.c 		kobject_del(vlan->kobj);
kobj              937 net/batman-adv/sysfs.c 	kobject_put(vlan->kobj);
kobj              938 net/batman-adv/sysfs.c 	vlan->kobj = NULL;
kobj              941 net/batman-adv/sysfs.c static ssize_t batadv_show_mesh_iface(struct kobject *kobj,
kobj              944 net/batman-adv/sysfs.c 	struct net_device *net_dev = batadv_kobj_to_netdev(kobj);
kobj             1048 net/batman-adv/sysfs.c static ssize_t batadv_store_mesh_iface(struct kobject *kobj,
kobj             1052 net/batman-adv/sysfs.c 	struct net_device *net_dev = batadv_kobj_to_netdev(kobj);
kobj             1081 net/batman-adv/sysfs.c static ssize_t batadv_show_iface_status(struct kobject *kobj,
kobj             1084 net/batman-adv/sysfs.c 	struct net_device *net_dev = batadv_kobj_to_netdev(kobj);
kobj             1130 net/batman-adv/sysfs.c static ssize_t batadv_store_throughput_override(struct kobject *kobj,
kobj             1134 net/batman-adv/sysfs.c 	struct net_device *net_dev = batadv_kobj_to_netdev(kobj);
kobj             1177 net/batman-adv/sysfs.c static ssize_t batadv_show_throughput_override(struct kobject *kobj,
kobj             1181 net/batman-adv/sysfs.c 	struct net_device *net_dev = batadv_kobj_to_netdev(kobj);
kobj             1229 net/batman-adv/sysfs.c 	struct kobject *hardif_kobject = &dev->dev.kobj;
kobj               36 net/batman-adv/sysfs.h 	ssize_t (*show)(struct kobject *kobj, struct attribute *attr,
kobj               43 net/batman-adv/sysfs.h 	ssize_t (*store)(struct kobject *kobj, struct attribute *attr,
kobj             1513 net/batman-adv/types.h 	struct kobject *kobj;
kobj              249 net/bridge/br_if.c static void release_nbp(struct kobject *kobj)
kobj              252 net/bridge/br_if.c 		= container_of(kobj, struct net_bridge_port, kobj);
kobj              256 net/bridge/br_if.c static void brport_get_ownership(struct kobject *kobj, kuid_t *uid, kgid_t *gid)
kobj              258 net/bridge/br_if.c 	struct net_bridge_port *p = kobj_to_brport(kobj);
kobj              279 net/bridge/br_if.c 	kobject_put(&p->kobj);
kobj              358 net/bridge/br_if.c 	kobject_uevent(&p->kobj, KOBJ_REMOVE);
kobj              359 net/bridge/br_if.c 	kobject_del(&p->kobj);
kobj              606 net/bridge/br_if.c 	err = kobject_init_and_add(&p->kobj, &brport_ktype, &(dev->dev.kobj),
kobj              682 net/bridge/br_if.c 	kobject_uevent(&p->kobj, KOBJ_ADD);
kobj              700 net/bridge/br_if.c 	kobject_put(&p->kobj);
kobj              254 net/bridge/br_private.h 	struct kobject			kobj;
kobj              283 net/bridge/br_private.h #define kobj_to_brport(obj)	container_of(obj, struct net_bridge_port, kobj)
kobj              915 net/bridge/br_sysfs_br.c static ssize_t brforward_read(struct file *filp, struct kobject *kobj,
kobj              919 net/bridge/br_sysfs_br.c 	struct device *dev = kobj_to_dev(kobj);
kobj              956 net/bridge/br_sysfs_br.c 	struct kobject *brobj = &dev->dev.kobj;
kobj              983 net/bridge/br_sysfs_br.c 	sysfs_remove_bin_file(&dev->dev.kobj, &bridge_forward);
kobj              985 net/bridge/br_sysfs_br.c 	sysfs_remove_group(&dev->dev.kobj, &bridge_group);
kobj              993 net/bridge/br_sysfs_br.c 	struct kobject *kobj = &dev->dev.kobj;
kobj              997 net/bridge/br_sysfs_br.c 	sysfs_remove_bin_file(kobj, &bridge_forward);
kobj              998 net/bridge/br_sysfs_br.c 	sysfs_remove_group(kobj, &bridge_group);
kobj              291 net/bridge/br_sysfs_if.c static ssize_t brport_show(struct kobject *kobj,
kobj              295 net/bridge/br_sysfs_if.c 	struct net_bridge_port *p = kobj_to_brport(kobj);
kobj              303 net/bridge/br_sysfs_if.c static ssize_t brport_store(struct kobject *kobj,
kobj              308 net/bridge/br_sysfs_if.c 	struct net_bridge_port *p = kobj_to_brport(kobj);
kobj              366 net/bridge/br_sysfs_if.c 	err = sysfs_create_link(&p->kobj, &br->dev->dev.kobj,
kobj              372 net/bridge/br_sysfs_if.c 		err = sysfs_create_file(&p->kobj, &((*a)->attr));
kobj              378 net/bridge/br_sysfs_if.c 	return sysfs_create_link(br->ifobj, &p->kobj, p->sysfs_name);
kobj              393 net/bridge/br_sysfs_if.c 	err = sysfs_rename_link(br->ifobj, &p->kobj,
kobj             7091 net/core/dev.c 	return sysfs_create_link(&(dev->dev.kobj), &(adj_dev->dev.kobj),
kobj             7102 net/core/dev.c 	sysfs_remove_link(&(dev->dev.kobj), linkname);
kobj             7154 net/core/dev.c 		ret = sysfs_create_link(&(dev->dev.kobj),
kobj             7155 net/core/dev.c 					&(adj_dev->dev.kobj), "master");
kobj             7204 net/core/dev.c 		sysfs_remove_link(&(dev->dev.kobj), "master");
kobj             9357 net/core/dev.c 		kobject_put(&dev->dev.kobj);
kobj             9790 net/core/dev.c 	kobject_uevent(&dev->dev.kobj, KOBJ_REMOVE);
kobj             9798 net/core/dev.c 	kobject_uevent(&dev->dev.kobj, KOBJ_ADD);
kobj              654 net/core/net-sysfs.c #define to_rx_queue(obj) container_of(obj, struct netdev_rx_queue, kobj)
kobj              656 net/core/net-sysfs.c static ssize_t rx_queue_attr_show(struct kobject *kobj, struct attribute *attr,
kobj              660 net/core/net-sysfs.c 	struct netdev_rx_queue *queue = to_rx_queue(kobj);
kobj              668 net/core/net-sysfs.c static ssize_t rx_queue_attr_store(struct kobject *kobj, struct attribute *attr,
kobj              672 net/core/net-sysfs.c 	struct netdev_rx_queue *queue = to_rx_queue(kobj);
kobj              864 net/core/net-sysfs.c static void rx_queue_release(struct kobject *kobj)
kobj              866 net/core/net-sysfs.c 	struct netdev_rx_queue *queue = to_rx_queue(kobj);
kobj              884 net/core/net-sysfs.c 	memset(kobj, 0, sizeof(*kobj));
kobj              888 net/core/net-sysfs.c static const void *rx_queue_namespace(struct kobject *kobj)
kobj              890 net/core/net-sysfs.c 	struct netdev_rx_queue *queue = to_rx_queue(kobj);
kobj              900 net/core/net-sysfs.c static void rx_queue_get_ownership(struct kobject *kobj,
kobj              903 net/core/net-sysfs.c 	const struct net *net = rx_queue_namespace(kobj);
kobj              919 net/core/net-sysfs.c 	struct kobject *kobj = &queue->kobj;
kobj              927 net/core/net-sysfs.c 	kobj->kset = dev->queues_kset;
kobj              928 net/core/net-sysfs.c 	error = kobject_init_and_add(kobj, &rx_queue_ktype, NULL,
kobj              934 net/core/net-sysfs.c 		error = sysfs_create_group(kobj, dev->sysfs_rx_queue_group);
kobj              939 net/core/net-sysfs.c 	kobject_uevent(kobj, KOBJ_ADD);
kobj              944 net/core/net-sysfs.c 	kobject_put(kobj);
kobj              969 net/core/net-sysfs.c 		struct kobject *kobj = &dev->_rx[i].kobj;
kobj              972 net/core/net-sysfs.c 			kobj->uevent_suppress = 1;
kobj              974 net/core/net-sysfs.c 			sysfs_remove_group(kobj, dev->sysfs_rx_queue_group);
kobj              975 net/core/net-sysfs.c 		kobject_put(kobj);
kobj              997 net/core/net-sysfs.c #define to_netdev_queue(obj) container_of(obj, struct netdev_queue, kobj)
kobj              999 net/core/net-sysfs.c static ssize_t netdev_queue_attr_show(struct kobject *kobj,
kobj             1004 net/core/net-sysfs.c 	struct netdev_queue *queue = to_netdev_queue(kobj);
kobj             1012 net/core/net-sysfs.c static ssize_t netdev_queue_attr_store(struct kobject *kobj,
kobj             1018 net/core/net-sysfs.c 	struct netdev_queue *queue = to_netdev_queue(kobj);
kobj             1423 net/core/net-sysfs.c static void netdev_queue_release(struct kobject *kobj)
kobj             1425 net/core/net-sysfs.c 	struct netdev_queue *queue = to_netdev_queue(kobj);
kobj             1427 net/core/net-sysfs.c 	memset(kobj, 0, sizeof(*kobj));
kobj             1431 net/core/net-sysfs.c static const void *netdev_queue_namespace(struct kobject *kobj)
kobj             1433 net/core/net-sysfs.c 	struct netdev_queue *queue = to_netdev_queue(kobj);
kobj             1443 net/core/net-sysfs.c static void netdev_queue_get_ownership(struct kobject *kobj,
kobj             1446 net/core/net-sysfs.c 	const struct net *net = netdev_queue_namespace(kobj);
kobj             1462 net/core/net-sysfs.c 	struct kobject *kobj = &queue->kobj;
kobj             1470 net/core/net-sysfs.c 	kobj->kset = dev->queues_kset;
kobj             1471 net/core/net-sysfs.c 	error = kobject_init_and_add(kobj, &netdev_queue_ktype, NULL,
kobj             1477 net/core/net-sysfs.c 	error = sysfs_create_group(kobj, &dql_group);
kobj             1482 net/core/net-sysfs.c 	kobject_uevent(kobj, KOBJ_ADD);
kobj             1486 net/core/net-sysfs.c 	kobject_put(kobj);
kobj             1510 net/core/net-sysfs.c 			queue->kobj.uevent_suppress = 1;
kobj             1512 net/core/net-sysfs.c 		sysfs_remove_group(&queue->kobj, &dql_group);
kobj             1514 net/core/net-sysfs.c 		kobject_put(&queue->kobj);
kobj             1529 net/core/net-sysfs.c 					       NULL, &dev->dev.kobj);
kobj             1715 net/core/net-sysfs.c 	kobject_get(&dev->kobj);
kobj              335 net/dsa/master.c 	ret = sysfs_create_group(&dev->dev.kobj, &dsa_group);
kobj              350 net/dsa/master.c 	sysfs_remove_group(&dev->dev.kobj, &dsa_group);
kobj               36 net/netfilter/xt_IDLETIMER.c 	struct kobject *kobj;
kobj              284 net/netfilter/xt_IDLETIMER.c 	idletimer_tg_kobj = &idletimer_tg_device->kobj;
kobj              293 net/rfkill/core.c 	kobject_uevent(&rfkill->dev.kobj, KOBJ_CHANGE);
kobj             1282 net/wireless/core.c 		if (sysfs_create_link(&dev->dev.kobj, &rdev->wiphy.dev.kobj,
kobj             1387 net/wireless/core.c 			sysfs_remove_link(&dev->dev.kobj, "phy80211");
kobj              563 net/wireless/reg.c 	ret = kobject_uevent_env(&reg_pdev->dev.kobj, KOBJ_CHANGE, env);
kobj               28 samples/kobject/kobject-example.c static ssize_t foo_show(struct kobject *kobj, struct kobj_attribute *attr,
kobj               34 samples/kobject/kobject-example.c static ssize_t foo_store(struct kobject *kobj, struct kobj_attribute *attr,
kobj               54 samples/kobject/kobject-example.c static ssize_t b_show(struct kobject *kobj, struct kobj_attribute *attr,
kobj               66 samples/kobject/kobject-example.c static ssize_t b_store(struct kobject *kobj, struct kobj_attribute *attr,
kobj               30 samples/kobject/kset-example.c 	struct kobject kobj;
kobj               35 samples/kobject/kset-example.c #define to_foo_obj(x) container_of(x, struct foo_obj, kobj)
kobj               52 samples/kobject/kset-example.c static ssize_t foo_attr_show(struct kobject *kobj,
kobj               60 samples/kobject/kset-example.c 	foo = to_foo_obj(kobj);
kobj               72 samples/kobject/kset-example.c static ssize_t foo_attr_store(struct kobject *kobj,
kobj               80 samples/kobject/kset-example.c 	foo = to_foo_obj(kobj);
kobj              101 samples/kobject/kset-example.c static void foo_release(struct kobject *kobj)
kobj              105 samples/kobject/kset-example.c 	foo = to_foo_obj(kobj);
kobj              213 samples/kobject/kset-example.c 	foo->kobj.kset = example_kset;
kobj              221 samples/kobject/kset-example.c 	retval = kobject_init_and_add(&foo->kobj, &foo_ktype, NULL, "%s", name);
kobj              223 samples/kobject/kset-example.c 		kobject_put(&foo->kobj);
kobj              231 samples/kobject/kset-example.c 	kobject_uevent(&foo->kobj, KOBJ_ADD);
kobj              238 samples/kobject/kset-example.c 	kobject_put(&foo->kobj);
kobj              208 samples/vfio-mdev/mbochs.c static const struct mbochs_type *mbochs_find_type(struct kobject *kobj)
kobj              213 samples/vfio-mdev/mbochs.c 		if (strcmp(mbochs_types[i].name, kobj->name) == 0)
kobj              519 samples/vfio-mdev/mbochs.c static int mbochs_create(struct kobject *kobj, struct mdev_device *mdev)
kobj              521 samples/vfio-mdev/mbochs.c 	const struct mbochs_type *type = mbochs_find_type(kobj);
kobj              547 samples/vfio-mdev/mbochs.c 		 kobj->name, type->mbytes, mdev_state->pagecount);
kobj             1358 samples/vfio-mdev/mbochs.c name_show(struct kobject *kobj, struct device *dev, char *buf)
kobj             1360 samples/vfio-mdev/mbochs.c 	return sprintf(buf, "%s\n", kobj->name);
kobj             1365 samples/vfio-mdev/mbochs.c description_show(struct kobject *kobj, struct device *dev, char *buf)
kobj             1367 samples/vfio-mdev/mbochs.c 	const struct mbochs_type *type = mbochs_find_type(kobj);
kobj             1375 samples/vfio-mdev/mbochs.c available_instances_show(struct kobject *kobj, struct device *dev, char *buf)
kobj             1377 samples/vfio-mdev/mbochs.c 	const struct mbochs_type *type = mbochs_find_type(kobj);
kobj             1384 samples/vfio-mdev/mbochs.c static ssize_t device_api_show(struct kobject *kobj, struct device *dev,
kobj              102 samples/vfio-mdev/mdpy.c static const struct mdpy_type *mdpy_find_type(struct kobject *kobj)
kobj              107 samples/vfio-mdev/mdpy.c 		if (strcmp(mdpy_types[i].name, kobj->name) == 0)
kobj              229 samples/vfio-mdev/mdpy.c static int mdpy_create(struct kobject *kobj, struct mdev_device *mdev)
kobj              231 samples/vfio-mdev/mdpy.c 	const struct mdpy_type *type = mdpy_find_type(kobj);
kobj              260 samples/vfio-mdev/mdpy.c 		 __func__, kobj->name, type->width, type->height);
kobj              667 samples/vfio-mdev/mdpy.c name_show(struct kobject *kobj, struct device *dev, char *buf)
kobj              669 samples/vfio-mdev/mdpy.c 	return sprintf(buf, "%s\n", kobj->name);
kobj              674 samples/vfio-mdev/mdpy.c description_show(struct kobject *kobj, struct device *dev, char *buf)
kobj              676 samples/vfio-mdev/mdpy.c 	const struct mdpy_type *type = mdpy_find_type(kobj);
kobj              685 samples/vfio-mdev/mdpy.c available_instances_show(struct kobject *kobj, struct device *dev, char *buf)
kobj              691 samples/vfio-mdev/mdpy.c static ssize_t device_api_show(struct kobject *kobj, struct device *dev,
kobj              711 samples/vfio-mdev/mtty.c static int mtty_create(struct kobject *kobj, struct mdev_device *mdev)
kobj              723 samples/vfio-mdev/mtty.c 		if (!strcmp(kobj->name, name)) {
kobj             1312 samples/vfio-mdev/mtty.c name_show(struct kobject *kobj, struct device *dev, char *buf)
kobj             1321 samples/vfio-mdev/mtty.c 		if (!strcmp(kobj->name, name))
kobj             1331 samples/vfio-mdev/mtty.c available_instances_show(struct kobject *kobj, struct device *dev, char *buf)
kobj             1341 samples/vfio-mdev/mtty.c 		if (!strcmp(kobj->name, name)) {
kobj             1359 samples/vfio-mdev/mtty.c static ssize_t device_api_show(struct kobject *kobj, struct device *dev,
kobj              225 sound/core/init.c 	err = kobject_set_name(&card->card_dev.kobj, "card%d", idx);
kobj               96 sound/hda/hdac_sysfs.c static int get_codec_nid(struct kobject *kobj, struct hdac_device **codecp)
kobj               98 sound/hda/hdac_sysfs.c 	struct device *dev = kobj_to_dev(kobj->parent->parent);
kobj              102 sound/hda/hdac_sysfs.c 	ret = kstrtoint(kobj->name, 16, &nid);
kobj              109 sound/hda/hdac_sysfs.c static ssize_t widget_attr_show(struct kobject *kobj, struct attribute *attr,
kobj              119 sound/hda/hdac_sysfs.c 	nid = get_codec_nid(kobj, &codec);
kobj              125 sound/hda/hdac_sysfs.c static ssize_t widget_attr_store(struct kobject *kobj, struct attribute *attr,
kobj              135 sound/hda/hdac_sysfs.c 	nid = get_codec_nid(kobj, &codec);
kobj              146 sound/hda/hdac_sysfs.c static void widget_release(struct kobject *kobj)
kobj              148 sound/hda/hdac_sysfs.c 	kfree(kobj);
kobj              311 sound/hda/hdac_sysfs.c static void free_widget_node(struct kobject *kobj,
kobj              314 sound/hda/hdac_sysfs.c 	if (kobj) {
kobj              315 sound/hda/hdac_sysfs.c 		sysfs_remove_group(kobj, group);
kobj              316 sound/hda/hdac_sysfs.c 		kobject_put(kobj);
kobj              342 sound/hda/hdac_sysfs.c 	struct kobject *kobj = kzalloc(sizeof(*kobj), GFP_KERNEL);
kobj              345 sound/hda/hdac_sysfs.c 	if (!kobj)
kobj              347 sound/hda/hdac_sysfs.c 	kobject_init(kobj, &widget_ktype);
kobj              348 sound/hda/hdac_sysfs.c 	err = kobject_add(kobj, parent, "%02x", nid);
kobj              351 sound/hda/hdac_sysfs.c 	err = sysfs_create_group(kobj, group);
kobj              353 sound/hda/hdac_sysfs.c 		kobject_put(kobj);
kobj              357 sound/hda/hdac_sysfs.c 	*res = kobj;
kobj              371 sound/hda/hdac_sysfs.c 	tree->root = kobject_create_and_add("widgets", &codec->dev.kobj);
kobj             2230 sound/soc/codecs/da7218.c 	kobject_uevent_env(&component->dev->kobj, KOBJ_CHANGE, envp);
kobj              338 sound/soc/intel/atom/sst/sst.c 	ret = sysfs_create_group(&ctx->dev->kobj,
kobj              349 sound/soc/intel/atom/sst/sst.c 	sysfs_remove_group(&ctx->dev->kobj, &sst_fw_version_attr_group);
kobj              363 sound/soc/intel/atom/sst/sst.c 	sysfs_remove_group(&ctx->dev->kobj, &sst_fw_version_attr_group);
kobj              175 sound/soc/intel/skylake/skl-nhlt.c 	if (sysfs_create_file(&dev->kobj, &dev_attr_platform_id.attr))
kobj              185 sound/soc/intel/skylake/skl-nhlt.c 	sysfs_remove_file(&dev->kobj, &dev_attr_platform_id.attr);
kobj              122 sound/soc/soc-core.c static umode_t soc_dev_attr_is_visible(struct kobject *kobj,
kobj              125 sound/soc/soc-core.c 	struct device *dev = kobj_to_dev(kobj);
kobj              365 sound/soc/ti/omap-mcbsp-st.c 	ret = sysfs_create_group(&mcbsp->dev->kobj, &sidetone_attr_group);
kobj              379 sound/soc/ti/omap-mcbsp-st.c 		sysfs_remove_group(&mcbsp->dev->kobj, &sidetone_attr_group);
kobj              709 sound/soc/ti/omap-mcbsp.c 		ret = sysfs_create_group(&mcbsp->dev->kobj,
kobj              726 sound/soc/ti/omap-mcbsp.c 		sysfs_remove_group(&mcbsp->dev->kobj, &additional_attr_group);
kobj             1441 sound/soc/ti/omap-mcbsp.c 		sysfs_remove_group(&mcbsp->dev->kobj, &additional_attr_group);
kobj              637 tools/testing/nvdimm/test/nfit.c 	return !strncmp(dev->kobj.name, "region", 6);
kobj             4325 virt/kvm/kvm_main.c 	kobject_uevent_env(&kvm_dev.this_device->kobj, KOBJ_CHANGE, env->envp);