Home
last modified time | relevance | path

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

1234567

/Linux-v5.10/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.10/drivers/block/rnbd/
Drnbd-srv-sysfs.c66 kobject_put(dev->dev_sessions_kobj); in rnbd_srv_create_dev_sysfs()
68 kobject_put(&dev->dev_kobj); in rnbd_srv_create_dev_sysfs()
76 kobject_put(dev->dev_sessions_kobj); in rnbd_srv_destroy_dev_sysfs()
78 kobject_put(&dev->dev_kobj); in rnbd_srv_destroy_dev_sysfs()
140 kobject_put(&sess_dev->kobj); in rnbd_srv_destroy_dev_session_sysfs()
174 kobject_put(&sess_dev->kobj); in rnbd_srv_create_dev_session_sysfs()
212 kobject_put(rnbd_devs_kobj); in rnbd_srv_destroy_sysfs_files()
/Linux-v5.10/fs/nfs/
Dsysfs.c51 kobject_put(kobj); in nfs_netns_object_alloc()
72 kobject_put(nfs_client_kobj); in nfs_sysfs_exit()
165 kobject_put(&p->kobject); in nfs_netns_client_alloc()
188 kobject_put(&clp->kobject); in nfs_netns_sysfs_destroy()
/Linux-v5.10/drivers/edac/
Dedac_device_sysfs.c278 kobject_put(&edac_dev->kobj); in edac_device_register_sysfs_main_kobj()
301 kobject_put(&dev->kobj); in edac_device_unregister_sysfs_main_kobj()
335 kobject_put(&instance->ctl->kobj); in edac_device_ctrl_instance_release()
443 kobject_put(&block->instance->ctl->kobj); in edac_device_ctrl_block_release()
540 kobject_put(main_kobj); in edac_device_create_block()
569 kobject_put(&block->kobj); in edac_device_create_block()
600 kobject_put(&block->kobj); in edac_device_delete_block()
639 kobject_put(main_kobj); in edac_device_create_instance()
667 kobject_put(&instance->kobj); in edac_device_create_instance()
692 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()
389 kobject_put(edac_pci_top_main_kobj); in edac_pci_main_kobj_setup()
417 kobject_put(edac_pci_top_main_kobj); in edac_pci_main_kobj_teardown()
/Linux-v5.10/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()
644 kobject_put(parent); in kobject_del()
714 kobject_put(parent); in kobject_cleanup()
746 void kobject_put(struct kobject *kobj) in kobject_put() function
756 EXPORT_SYMBOL(kobject_put);
[all …]
/Linux-v5.10/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.10/drivers/vfio/mdev/
Dmdev_sysfs.c113 kobject_put(&type->kobj); in add_mdev_supported_type()
139 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.10/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()
380 kobject_put(&dump->kobj); in create_dump_obj()
384 kobject_put(&dump->kobj); in create_dump_obj()
408 kobject_put(kobj); in process_dump()
436 kobject_put(&dump_kset->kobj); in opal_platform_dump_init()
Dopal-elog.c81 kobject_put(&elog_obj->kobj); in elog_ack_store()
226 kobject_put(&elog->kobj); in create_elog_obj()
251 kobject_put(&elog->kobj); in create_elog_obj()
255 kobject_put(&elog->kobj); in create_elog_obj()
296 kobject_put(kobj); in elog_event()
/Linux-v5.10/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.10/drivers/staging/greybus/
Daudio_manager.c79 kobject_put(&module->kobj); in gb_audio_manager_remove()
96 kobject_put(&module->kobj); in gb_audio_manager_remove_all()
122 kobject_put(&module->kobj); in gb_audio_manager_put_module()
/Linux-v5.10/drivers/pci/
Dslot.c129 kobject_put(dup_slot); in make_slot_name()
248 kobject_put(&slot->kobj); in pci_create_slot()
278 kobject_put(&slot->kobj); in pci_create_slot()
318 kobject_put(&slot->kobj); in pci_destroy_slot()
347 kobject_put(kobj); in pci_hp_create_module_link()
/Linux-v5.10/drivers/infiniband/ulp/rtrs/
Drtrs-srv-sysfs.c209 kobject_put(srv->kobj_paths); in rtrs_srv_destroy_once_sysfs_root_folders()
253 kobject_put(&sess->stats->kobj_stats); in rtrs_srv_create_stats_files()
296 kobject_put(&sess->kobj); in rtrs_srv_create_sess_files()
307 kobject_put(&sess->stats->kobj_stats); in rtrs_srv_destroy_sess_files()
309 kobject_put(&sess->kobj); in rtrs_srv_destroy_sess_files()
/Linux-v5.10/drivers/infiniband/hw/hfi1/
Dsysfs.c742 kobject_put(&ppd->pport_cc_kobj); in hfi1_create_port_files()
744 kobject_put(&ppd->vl2mtu_kobj); in hfi1_create_port_files()
746 kobject_put(&ppd->sl2sc_kobj); in hfi1_create_port_files()
748 kobject_put(&ppd->sc2vl_kobj); in hfi1_create_port_files()
865 kobject_put(&dd->per_sdma[i].kobj); in hfi1_verbs_register_sysfs()
880 kobject_put(&dd->per_sdma[i].kobj); in hfi1_verbs_unregister_sysfs()
889 kobject_put(&ppd->pport_cc_kobj); in hfi1_verbs_unregister_sysfs()
890 kobject_put(&ppd->vl2mtu_kobj); in hfi1_verbs_unregister_sysfs()
891 kobject_put(&ppd->sl2sc_kobj); in hfi1_verbs_unregister_sysfs()
892 kobject_put(&ppd->sc2vl_kobj); in hfi1_verbs_unregister_sysfs()
/Linux-v5.10/drivers/md/bcache/
Dstats.c123 kobject_put(&acc->total.kobj); in bch_cache_accounting_destroy()
124 kobject_put(&acc->five_minute.kobj); in bch_cache_accounting_destroy()
125 kobject_put(&acc->hour.kobj); in bch_cache_accounting_destroy()
126 kobject_put(&acc->day.kobj); in bch_cache_accounting_destroy()
/Linux-v5.10/block/
Dblk-mq-sysfs.c31 kobject_put(&ctx->ctxs->kobj); in blk_mq_ctx_sysfs_release()
275 kobject_put(&dev->kobj); in blk_mq_unregister_dev()
292 kobject_put(&ctx->kobj); in blk_mq_sysfs_deinit()
294 kobject_put(q->mq_kobj); in blk_mq_sysfs_deinit()
343 kobject_put(&dev->kobj); in __blk_mq_register_dev()
/Linux-v5.10/samples/kobject/
Dkobject-example.c131 kobject_put(example_kobj); in example_init()
138 kobject_put(example_kobj); in example_exit()
/Linux-v5.10/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.10/arch/powerpc/kernel/
Dsecvar-sysfs.c196 kobject_put(kobj); in secvar_sysfs_load()
226 kobject_put(secvar_kobj); in secvar_sysfs_init()
233 kobject_put(secvar_kobj); in secvar_sysfs_init()
/Linux-v5.10/fs/btrfs/
Dsysfs.c952 kobject_put(fs_devs->devinfo_kobj); in __btrfs_sysfs_remove_fsid()
958 kobject_put(fs_devs->devices_kobj); in __btrfs_sysfs_remove_fsid()
964 kobject_put(&fs_devs->fsid_kobj); in __btrfs_sysfs_remove_fsid()
1007 kobject_put(fs_info->space_info_kobj); in btrfs_sysfs_remove_mounted()
1014 kobject_put(fs_info->discard_debug_kobj); in btrfs_sysfs_remove_mounted()
1019 kobject_put(fs_info->debug_kobj); in btrfs_sysfs_remove_mounted()
1153 kobject_put(&rkobj->kobj); in btrfs_sysfs_add_block_group_type()
1167 kobject_put(&rkobj->kobj); in btrfs_sysfs_add_block_group_type()
1189 kobject_put(kobj); in btrfs_sysfs_remove_space_info()
1193 kobject_put(&space_info->kobj); in btrfs_sysfs_remove_space_info()
[all …]
/Linux-v5.10/arch/x86/kernel/
Dksysfs.c251 kobject_put(kobj); in create_setup_data_node()
258 kobject_put(kobj); in cleanup_setup_data_node()
322 kobject_put(setup_data_kobj); in create_setup_data_nodes()
351 kobject_put(boot_params_kobj); in boot_params_ksysfs_init()
/Linux-v5.10/drivers/infiniband/hw/qib/
Dqib_sysfs.c828 kobject_put(&ppd->pport_cc_kobj); in qib_create_port_files()
830 kobject_put(&ppd->diagc_kobj); in qib_create_port_files()
832 kobject_put(&ppd->sl2vl_kobj); in qib_create_port_files()
834 kobject_put(&ppd->pport_kobj); in qib_create_port_files()
855 kobject_put(&ppd->pport_cc_kobj); in qib_verbs_unregister_sysfs()
857 kobject_put(&ppd->diagc_kobj); in qib_verbs_unregister_sysfs()
858 kobject_put(&ppd->sl2vl_kobj); in qib_verbs_unregister_sysfs()
859 kobject_put(&ppd->pport_kobj); in qib_verbs_unregister_sysfs()
/Linux-v5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c551 kobject_put(kobj); in kfd_remove_sysfs_file()
569 kobject_put(dev->kobj_iolink); in kfd_remove_sysfs_node_entry()
581 kobject_put(dev->kobj_cache); in kfd_remove_sysfs_node_entry()
592 kobject_put(dev->kobj_mem); in kfd_remove_sysfs_node_entry()
602 kobject_put(dev->kobj_perf); in kfd_remove_sysfs_node_entry()
611 kobject_put(dev->kobj_node); in kfd_remove_sysfs_node_entry()
640 kobject_put(dev->kobj_node); in kfd_build_sysfs_node_entry()
690 kobject_put(mem->kobj); in kfd_build_sysfs_node_entry()
711 kobject_put(cache->kobj); in kfd_build_sysfs_node_entry()
732 kobject_put(iolink->kobj); in kfd_build_sysfs_node_entry()
[all …]
/Linux-v5.10/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()

1234567