Home
last modified time | relevance | path

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

123456

/Linux-v5.4/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()
699 kobject_put(dev->dev_ports_parent[slave]); in add_port()
[all …]
/Linux-v5.4/fs/nfs/
Dsysfs.c51 kobject_put(kobj); in nfs_netns_object_alloc()
72 kobject_put(nfs_client_kobj); in nfs_sysfs_exit()
161 kobject_put(&p->kobject); in nfs_netns_client_alloc()
184 kobject_put(&clp->kobject); in nfs_netns_sysfs_destroy()
/Linux-v5.4/fs/orangefs/
Dorangefs-sysfs.c1237 kobject_put(stats_orangefs_obj); in orangefs_sysfs_init()
1239 kobject_put(pc_orangefs_obj); in orangefs_sysfs_init()
1241 kobject_put(ncache_orangefs_obj); in orangefs_sysfs_init()
1243 kobject_put(ccache_orangefs_obj); in orangefs_sysfs_init()
1245 kobject_put(capcache_orangefs_obj); in orangefs_sysfs_init()
1247 kobject_put(acache_orangefs_obj); in orangefs_sysfs_init()
1249 kobject_put(orangefs_obj); in orangefs_sysfs_init()
1257 kobject_put(acache_orangefs_obj); in orangefs_sysfs_exit()
1258 kobject_put(capcache_orangefs_obj); in orangefs_sysfs_exit()
1259 kobject_put(ccache_orangefs_obj); in orangefs_sysfs_exit()
[all …]
/Linux-v5.4/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-v5.4/drivers/infiniband/hw/usnic/
Dusnic_ib_sysfs.c280 kobject_put(&us_ibdev->ib_dev.dev.kobj); in usnic_ib_sysfs_register_usdev()
289 kobject_put(us_ibdev->qpn_kobj); in usnic_ib_sysfs_unregister_usdev()
303 kobject_put(us_ibdev->qpn_kobj); in usnic_ib_sysfs_qpn_add()
314 kobject_put(&qp_grp->kobj); in usnic_ib_sysfs_qpn_remove()
315 kobject_put(us_ibdev->qpn_kobj); in usnic_ib_sysfs_qpn_remove()
/Linux-v5.4/drivers/staging/greybus/
Daudio_manager.c79 kobject_put(&module->kobj); in gb_audio_manager_remove()
95 kobject_put(&module->kobj); in gb_audio_manager_remove_all()
122 kobject_put(&module->kobj); in gb_audio_manager_put_module()
/Linux-v5.4/lib/
Dkobject.c258 kobject_put(parent); in kobject_add_internal()
502 kobject_put(kobj); in kobject_rename()
543 kobject_put(kobj); in kobject_rename()
591 kobject_put(old_parent); in kobject_move()
594 kobject_put(new_parent); in kobject_move()
595 kobject_put(kobj); in kobject_move()
628 kobject_put(kobj->parent); in kobject_del()
732 void kobject_put(struct kobject *kobj) in kobject_put() function
742 EXPORT_SYMBOL(kobject_put);
803 kobject_put(kobj); in kobject_create_and_add()
[all …]
/Linux-v5.4/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-v5.4/block/
Dblk-mq-sysfs.c31 kobject_put(&ctx->ctxs->kobj); in blk_mq_ctx_sysfs_release()
280 kobject_put(&dev->kobj); in blk_mq_unregister_dev()
297 kobject_put(&ctx->kobj); in blk_mq_sysfs_deinit()
299 kobject_put(q->mq_kobj); in blk_mq_sysfs_deinit()
348 kobject_put(&dev->kobj); in __blk_mq_register_dev()
/Linux-v5.4/arch/powerpc/platforms/powernv/
Dopal-dump.c93 kobject_put(&dump_obj->kobj); in dump_ack_store()
348 kobject_put(&dump->kobj); in create_dump_obj()
354 kobject_put(&dump->kobj); in create_dump_obj()
386 kobject_put(kobj); in process_dump()
414 kobject_put(&dump_kset->kobj); in opal_platform_dump_init()
Dopal-elog.c77 kobject_put(&elog_obj->kobj); in elog_ack_store()
221 kobject_put(&elog->kobj); in create_elog_obj()
227 kobject_put(&elog->kobj); in create_elog_obj()
272 kobject_put(kobj); in elog_event()
/Linux-v5.4/arch/x86/kernel/
Dksysfs.c234 kobject_put(kobj); in create_setup_data_node()
241 kobject_put(kobj); in cleanup_setup_data_node()
305 kobject_put(setup_data_kobj); in create_setup_data_nodes()
334 kobject_put(boot_params_kobj); in boot_params_ksysfs_init()
/Linux-v5.4/drivers/vfio/mdev/
Dmdev_sysfs.c139 kobject_put(type->devices_kobj); in add_mdev_supported_type()
144 kobject_put(&type->kobj); in add_mdev_supported_type()
152 kobject_put(type->devices_kobj); in remove_mdev_supported_type()
155 kobject_put(&type->kobj); in remove_mdev_supported_type()
/Linux-v5.4/samples/kobject/
Dkobject-example.c131 kobject_put(example_kobj); in example_init()
138 kobject_put(example_kobj); in example_exit()
/Linux-v5.4/drivers/pci/hotplug/
Drpadlpar_sysfs.c117 kobject_put(dlpar_kobj); in dlpar_sysfs_init()
124 kobject_put(dlpar_kobj); in dlpar_sysfs_exit()
/Linux-v5.4/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-v5.4/drivers/infiniband/hw/hfi1/
Dsysfs.c738 kobject_put(&ppd->pport_cc_kobj); in hfi1_create_port_files()
740 kobject_put(&ppd->vl2mtu_kobj); in hfi1_create_port_files()
742 kobject_put(&ppd->sl2sc_kobj); in hfi1_create_port_files()
744 kobject_put(&ppd->sc2vl_kobj); in hfi1_create_port_files()
877 kobject_put(&ppd->pport_cc_kobj); in hfi1_verbs_unregister_sysfs()
878 kobject_put(&ppd->vl2mtu_kobj); in hfi1_verbs_unregister_sysfs()
879 kobject_put(&ppd->sl2sc_kobj); in hfi1_verbs_unregister_sysfs()
880 kobject_put(&ppd->sc2vl_kobj); in hfi1_verbs_unregister_sysfs()
/Linux-v5.4/drivers/uio/
Duio.c360 kobject_put(&portio->kobj); in uio_dev_add_attributes()
362 kobject_put(idev->portio_dir); in uio_dev_add_attributes()
369 kobject_put(&map->kobj); in uio_dev_add_attributes()
371 kobject_put(idev->map_dir); in uio_dev_add_attributes()
386 kobject_put(&mem->map->kobj); in uio_dev_del_attributes()
388 kobject_put(idev->map_dir); in uio_dev_del_attributes()
394 kobject_put(&port->portio->kobj); in uio_dev_del_attributes()
396 kobject_put(idev->portio_dir); in uio_dev_del_attributes()
856 kobject_put(&cdev->kobj); in uio_major_init()
/Linux-v5.4/drivers/gpu/drm/ttm/
Dttm_memory.c323 kobject_put(&zone->kobj); in ttm_mem_init_kernel_zone()
360 kobject_put(&zone->kobj); in ttm_mem_init_highmem_zone()
407 kobject_put(&zone->kobj); in ttm_mem_init_dma32_zone()
428 kobject_put(&glob->kobj); in ttm_mem_global_init()
477 kobject_put(&zone->kobj); in ttm_mem_global_release()
480 kobject_put(&glob->kobj); in ttm_mem_global_release()
/Linux-v5.4/fs/ext4/
Dsysfs.c409 kobject_put(&sbi->s_kobj); in ext4_register_sysfs()
460 kobject_put(ext4_feat); in ext4_init_sysfs()
463 kobject_put(ext4_root); in ext4_init_sysfs()
470 kobject_put(ext4_feat); in ext4_exit_sysfs()
472 kobject_put(ext4_root); in ext4_exit_sysfs()
/Linux-v5.4/arch/ia64/kernel/
Dtopology.c379 kobject_put(&(LEAF_KOBJECT_PTR(cpu,j)->kobj)); in cache_add_dev()
381 kobject_put(&all_cpu_cache_info[cpu].kobj); in cache_add_dev()
397 kobject_put(&(LEAF_KOBJECT_PTR(cpu,i)->kobj)); in cache_remove_dev()
400 kobject_put(&all_cpu_cache_info[cpu].kobj); in cache_remove_dev()
/Linux-v5.4/fs/
Dchar_dev.c296 kobject_put(&cdev->kobj); in __register_chrdev()
365 kobject_put(&p->kobj); in cdev_put()
594 kobject_put(&p->kobj); in cdev_del()
604 kobject_put(parent); in cdev_default_release()
614 kobject_put(parent); in cdev_dynamic_release()
/Linux-v5.4/drivers/infiniband/hw/qib/
Dqib_sysfs.c822 kobject_put(&ppd->pport_cc_kobj); in qib_create_port_files()
824 kobject_put(&ppd->diagc_kobj); in qib_create_port_files()
826 kobject_put(&ppd->sl2vl_kobj); in qib_create_port_files()
828 kobject_put(&ppd->pport_kobj); in qib_create_port_files()
849 kobject_put(&ppd->pport_cc_kobj); in qib_verbs_unregister_sysfs()
851 kobject_put(&ppd->sl2vl_kobj); in qib_verbs_unregister_sysfs()
852 kobject_put(&ppd->pport_kobj); in qib_verbs_unregister_sysfs()
/Linux-v5.4/drivers/firmware/google/
Dvpd.c237 kobject_put(sec->kobj); in vpd_section_destroy()
294 kobject_put(vpd_kobj); in vpd_probe()
306 kobject_put(vpd_kobj); in vpd_remove()

123456