Home
last modified time | relevance | path

Searched refs:kobject_put (Results 1 – 25 of 143) sorted by relevance

123456

/Linux-v4.19/drivers/infiniband/hw/mlx4/
Dsysfs.c323 kobject_put(port->cur_port); in add_port_entries()
326 kobject_put(port->pkeys_parent); in add_port_entries()
329 kobject_put(port->cur_port); in add_port_entries()
332 kobject_put(port->gids_parent); in add_port_entries()
335 kobject_put(port->cur_port); in add_port_entries()
338 kobject_put(port->admin_alias_parent); in add_port_entries()
341 kobject_put(port->cur_port); in add_port_entries()
342 kobject_put(port->cur_port); /* once more for create_and_add buff */ in add_port_entries()
345 kobject_put(device->ports_parent); in add_port_entries()
703 kobject_put(dev->dev_ports_parent[slave]); in add_port()
[all …]
/Linux-v4.19/fs/orangefs/
Dorangefs-sysfs.c1215 kobject_put(stats_orangefs_obj); in orangefs_sysfs_init()
1217 kobject_put(pc_orangefs_obj); in orangefs_sysfs_init()
1219 kobject_put(ncache_orangefs_obj); in orangefs_sysfs_init()
1221 kobject_put(ccache_orangefs_obj); in orangefs_sysfs_init()
1223 kobject_put(capcache_orangefs_obj); in orangefs_sysfs_init()
1225 kobject_put(acache_orangefs_obj); in orangefs_sysfs_init()
1227 kobject_put(orangefs_obj); in orangefs_sysfs_init()
1235 kobject_put(acache_orangefs_obj); in orangefs_sysfs_exit()
1236 kobject_put(capcache_orangefs_obj); in orangefs_sysfs_exit()
1237 kobject_put(ccache_orangefs_obj); in orangefs_sysfs_exit()
[all …]
/Linux-v4.19/drivers/edac/
Dedac_device_sysfs.c300 kobject_put(&dev->kobj); in edac_device_unregister_sysfs_main_kobj()
334 kobject_put(&instance->ctl->kobj); in edac_device_ctrl_instance_release()
442 kobject_put(&block->instance->ctl->kobj); in edac_device_ctrl_block_release()
539 kobject_put(main_kobj); in edac_device_create_block()
568 kobject_put(&block->kobj); in edac_device_create_block()
599 kobject_put(&block->kobj); in edac_device_delete_block()
638 kobject_put(main_kobj); in edac_device_create_instance()
666 kobject_put(&instance->kobj); in edac_device_create_instance()
691 kobject_put(&instance->kobj); in edac_device_delete_instance()
Dedac_pci_sysfs.c84 kobject_put(edac_pci_top_main_kobj); in edac_pci_instance_release()
178 kobject_put(edac_pci_top_main_kobj); in edac_pci_create_instance_kobj()
206 kobject_put(&pci->kobj); in edac_pci_unregister_sysfs_instance_kobj()
417 kobject_put(edac_pci_top_main_kobj); in edac_pci_main_kobj_teardown()
/Linux-v4.19/drivers/staging/greybus/
Daudio_manager.c76 kobject_put(&module->kobj); in gb_audio_manager_remove()
92 kobject_put(&module->kobj); in gb_audio_manager_remove_all()
119 kobject_put(&module->kobj); in gb_audio_manager_put_module()
/Linux-v4.19/drivers/infiniband/hw/usnic/
Dusnic_ib_sysfs.c298 kobject_put(&us_ibdev->ib_dev.dev.kobj); in usnic_ib_sysfs_register_usdev()
313 kobject_put(us_ibdev->qpn_kobj); in usnic_ib_sysfs_unregister_usdev()
327 kobject_put(us_ibdev->qpn_kobj); in usnic_ib_sysfs_qpn_add()
338 kobject_put(&qp_grp->kobj); in usnic_ib_sysfs_qpn_remove()
339 kobject_put(us_ibdev->qpn_kobj); in usnic_ib_sysfs_qpn_remove()
/Linux-v4.19/drivers/md/bcache/
Dstats.c119 kobject_put(&acc->total.kobj); in bch_cache_accounting_destroy()
120 kobject_put(&acc->five_minute.kobj); in bch_cache_accounting_destroy()
121 kobject_put(&acc->hour.kobj); in bch_cache_accounting_destroy()
122 kobject_put(&acc->day.kobj); in bch_cache_accounting_destroy()
/Linux-v4.19/lib/
Dkobject.c250 kobject_put(parent); in kobject_add_internal()
521 kobject_put(kobj); in kobject_rename()
569 kobject_put(old_parent); in kobject_move()
572 kobject_put(new_parent); in kobject_move()
573 kobject_put(kobj); in kobject_move()
597 kobject_put(kobj->parent); in kobject_del()
701 void kobject_put(struct kobject *kobj) in kobject_put() function
711 EXPORT_SYMBOL(kobject_put);
772 kobject_put(kobj); in kobject_create_and_add()
850 kobject_put(&k->kobj); in kset_unregister()
/Linux-v4.19/arch/powerpc/platforms/powernv/
Dopal-dump.c97 kobject_put(&dump_obj->kobj); in dump_ack_store()
352 kobject_put(&dump->kobj); in create_dump_obj()
358 kobject_put(&dump->kobj); in create_dump_obj()
390 kobject_put(kobj); in process_dump()
418 kobject_put(&dump_kset->kobj); in opal_platform_dump_init()
Dopal-elog.c81 kobject_put(&elog_obj->kobj); in elog_ack_store()
225 kobject_put(&elog->kobj); in create_elog_obj()
231 kobject_put(&elog->kobj); in create_elog_obj()
276 kobject_put(kobj); in elog_event()
/Linux-v4.19/drivers/vfio/mdev/
Dmdev_sysfs.c142 kobject_put(type->devices_kobj); in add_mdev_supported_type()
147 kobject_put(&type->kobj); in add_mdev_supported_type()
155 kobject_put(type->devices_kobj); in remove_mdev_supported_type()
158 kobject_put(&type->kobj); in remove_mdev_supported_type()
/Linux-v4.19/arch/x86/kernel/
Dksysfs.c235 kobject_put(kobj); in create_setup_data_node()
242 kobject_put(kobj); in cleanup_setup_data_node()
306 kobject_put(setup_data_kobj); in create_setup_data_nodes()
335 kobject_put(boot_params_kobj); in boot_params_ksysfs_init()
/Linux-v4.19/samples/kobject/
Dkobject-example.c131 kobject_put(example_kobj); in example_init()
138 kobject_put(example_kobj); in example_exit()
/Linux-v4.19/drivers/pci/hotplug/
Drpadlpar_sysfs.c117 kobject_put(dlpar_kobj); in dlpar_sysfs_init()
124 kobject_put(dlpar_kobj); in dlpar_sysfs_exit()
/Linux-v4.19/drivers/pci/
Dslot.c165 kobject_put(dup_slot); in make_slot_name()
284 kobject_put(&slot->kobj); in pci_create_slot()
352 kobject_put(&slot->kobj); in pci_destroy_slot()
381 kobject_put(kobj); in pci_hp_create_module_link()
/Linux-v4.19/fs/ext4/
Dsysfs.c382 kobject_put(&sbi->s_kobj); in ext4_register_sysfs()
433 kobject_put(ext4_feat); in ext4_init_sysfs()
436 kobject_put(ext4_root); in ext4_init_sysfs()
443 kobject_put(ext4_feat); in ext4_exit_sysfs()
445 kobject_put(ext4_root); in ext4_exit_sysfs()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dsysfs.c734 kobject_put(&ppd->pport_cc_kobj); in hfi1_create_port_files()
736 kobject_put(&ppd->vl2mtu_kobj); in hfi1_create_port_files()
738 kobject_put(&ppd->sl2sc_kobj); in hfi1_create_port_files()
740 kobject_put(&ppd->sc2vl_kobj); in hfi1_create_port_files()
882 kobject_put(&ppd->pport_cc_kobj); in hfi1_verbs_unregister_sysfs()
883 kobject_put(&ppd->vl2mtu_kobj); in hfi1_verbs_unregister_sysfs()
884 kobject_put(&ppd->sl2sc_kobj); in hfi1_verbs_unregister_sysfs()
885 kobject_put(&ppd->sc2vl_kobj); in hfi1_verbs_unregister_sysfs()
/Linux-v4.19/drivers/uio/
Duio.c358 kobject_put(&portio->kobj); in uio_dev_add_attributes()
360 kobject_put(idev->portio_dir); in uio_dev_add_attributes()
367 kobject_put(&map->kobj); in uio_dev_add_attributes()
369 kobject_put(idev->map_dir); in uio_dev_add_attributes()
384 kobject_put(&mem->map->kobj); in uio_dev_del_attributes()
386 kobject_put(idev->map_dir); in uio_dev_del_attributes()
392 kobject_put(&port->portio->kobj); in uio_dev_del_attributes()
394 kobject_put(idev->portio_dir); in uio_dev_del_attributes()
852 kobject_put(&cdev->kobj); in uio_major_init()
/Linux-v4.19/drivers/gpu/drm/ttm/
Dttm_memory.c329 kobject_put(&zone->kobj); in ttm_mem_init_kernel_zone()
366 kobject_put(&zone->kobj); in ttm_mem_init_highmem_zone()
413 kobject_put(&zone->kobj); in ttm_mem_init_dma32_zone()
434 kobject_put(&glob->kobj); in ttm_mem_global_init()
484 kobject_put(&zone->kobj); in ttm_mem_global_release()
487 kobject_put(&glob->kobj); in ttm_mem_global_release()
/Linux-v4.19/block/
Dblk-mq-sysfs.c263 kobject_put(&dev->kobj); in blk_mq_unregister_dev()
280 kobject_put(&ctx->kobj); in blk_mq_sysfs_deinit()
282 kobject_put(&q->mq_kobj); in blk_mq_sysfs_deinit()
329 kobject_put(&dev->kobj); in __blk_mq_register_dev()
/Linux-v4.19/arch/ia64/kernel/
Dtopology.c383 kobject_put(&(LEAF_KOBJECT_PTR(cpu,j)->kobj)); in cache_add_dev()
385 kobject_put(&all_cpu_cache_info[cpu].kobj); in cache_add_dev()
401 kobject_put(&(LEAF_KOBJECT_PTR(cpu,i)->kobj)); in cache_remove_dev()
404 kobject_put(&all_cpu_cache_info[cpu].kobj); in cache_remove_dev()
/Linux-v4.19/fs/
Dchar_dev.c299 kobject_put(&cdev->kobj); in __register_chrdev()
368 kobject_put(&p->kobj); in cdev_put()
597 kobject_put(&p->kobj); in cdev_del()
607 kobject_put(parent); in cdev_default_release()
617 kobject_put(parent); in cdev_dynamic_release()
/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_sysfs.c818 kobject_put(&ppd->pport_cc_kobj); in qib_create_port_files()
820 kobject_put(&ppd->diagc_kobj); in qib_create_port_files()
822 kobject_put(&ppd->sl2vl_kobj); in qib_create_port_files()
824 kobject_put(&ppd->pport_kobj); in qib_create_port_files()
866 kobject_put(&ppd->pport_cc_kobj); in qib_verbs_unregister_sysfs()
868 kobject_put(&ppd->sl2vl_kobj); in qib_verbs_unregister_sysfs()
869 kobject_put(&ppd->pport_kobj); in qib_verbs_unregister_sysfs()
/Linux-v4.19/drivers/firmware/google/
Dvpd.c245 kobject_put(sec->kobj); in vpd_section_destroy()
302 kobject_put(vpd_kobj); in vpd_probe()
314 kobject_put(vpd_kobj); in vpd_remove()
/Linux-v4.19/drivers/net/bonding/
Dbond_sysfs_slave.c160 kobject_put(&slave->kobj); in bond_sysfs_slave_add()
175 kobject_put(&slave->kobj); in bond_sysfs_slave_del()

123456