| /Linux-v5.15/drivers/infiniband/hw/mlx4/ |
| D | sysfs.c | 325 kobject_put(port->cur_port); in add_port_entries() 328 kobject_put(port->pkeys_parent); in add_port_entries() 331 kobject_put(port->cur_port); in add_port_entries() 334 kobject_put(port->gids_parent); in add_port_entries() 337 kobject_put(port->cur_port); in add_port_entries() 340 kobject_put(port->admin_alias_parent); in add_port_entries() 343 kobject_put(port->cur_port); in add_port_entries() 344 kobject_put(port->cur_port); /* once more for create_and_add buff */ in add_port_entries() 347 kobject_put(device->ports_parent); in add_port_entries() 689 kobject_put(dev->dev_ports_parent[slave]); in add_port() [all …]
|
| /Linux-v5.15/drivers/block/rnbd/ |
| D | rnbd-srv-sysfs.c | 51 kobject_put(&dev->dev_kobj); in rnbd_srv_create_dev_sysfs() 70 kobject_put(dev->dev_sessions_kobj); in rnbd_srv_create_dev_sysfs() 73 kobject_put(&dev->dev_kobj); in rnbd_srv_create_dev_sysfs() 81 kobject_put(dev->dev_sessions_kobj); in rnbd_srv_destroy_dev_sysfs() 83 kobject_put(&dev->dev_kobj); in rnbd_srv_destroy_dev_sysfs() 178 kobject_put(&sess_dev->kobj); in rnbd_srv_destroy_dev_session_sysfs() 202 kobject_put(&sess_dev->kobj); in rnbd_srv_create_dev_session_sysfs() 210 kobject_put(&sess_dev->kobj); in rnbd_srv_create_dev_session_sysfs() 249 kobject_put(rnbd_devs_kobj); in rnbd_srv_destroy_sysfs_files()
|
| /Linux-v5.15/Documentation/translations/zh_CN/core-api/ |
| D | kobject.rst | 173 void kobject_put(struct kobject *kobj); 177 当引用被释放时,对kobject_put()的调用将递减引用计数值,并可能释放该对象。请注 178 意,kobject_init()将引用计数设置为1,所以设置kobject的代码最终需要kobject_put() 230 放它。唯一安全的方法是使用kobject_put()。在kobject_init()之后总是使用 231 kobject_put()以避免错误的发生是一个很好的做法。 360 清理掉。要做到这一点,请调用kobject_put()。通过这样做,kobject核 368 后的时间调用kobject_put()来完成与该kobject相关的内存的清理。
|
| /Linux-v5.15/drivers/edac/ |
| D | edac_device_sysfs.c | 278 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()
|
| D | edac_pci_sysfs.c | 84 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.15/net/sunrpc/ |
| D | sysfs.c | 57 kobject_put(kobj); in rpc_sysfs_object_alloc() 354 kobject_put(rpc_sunrpc_client_kobj); in rpc_sysfs_init() 452 kobject_put(rpc_sunrpc_client_kobj); in rpc_sysfs_exit() 453 kobject_put(rpc_sunrpc_xprt_switch_kobj); in rpc_sysfs_exit() 470 kobject_put(&p->kobject); in rpc_sysfs_client_alloc() 492 kobject_put(&p->kobject); in rpc_sysfs_xprt_switch_alloc() 511 kobject_put(&p->kobject); in rpc_sysfs_xprt_alloc() 591 kobject_put(&rpc_client->kobject); in rpc_sysfs_client_destroy() 603 kobject_put(&rpc_xprt_switch->kobject); in rpc_sysfs_xprt_switch_destroy() 615 kobject_put(&rpc_xprt->kobject); in rpc_sysfs_xprt_destroy()
|
| /Linux-v5.15/drivers/infiniband/ulp/rtrs/ |
| D | rtrs-srv-sysfs.c | 206 kobject_put(srv->kobj_paths); in rtrs_srv_destroy_once_sysfs_root_folders() 239 kobject_put(&sess->stats->kobj_stats); in rtrs_srv_create_stats_files() 253 kobject_put(&sess->stats->kobj_stats); in rtrs_srv_create_stats_files() 296 kobject_put(&sess->kobj); in rtrs_srv_create_sess_files() 306 kobject_put(&sess->stats->kobj_stats); in rtrs_srv_destroy_sess_files() 308 kobject_put(&sess->kobj); in rtrs_srv_destroy_sess_files()
|
| D | rtrs-clt-sysfs.c | 436 kobject_put(&sess->kobj); in rtrs_clt_create_sess_files() 448 kobject_put(&sess->stats->kobj_stats); in rtrs_clt_create_sess_files() 463 kobject_put(&sess->stats->kobj_stats); in rtrs_clt_create_sess_files() 468 kobject_put(&sess->kobj); in rtrs_clt_create_sess_files() 477 kobject_put(&sess->stats->kobj_stats); in rtrs_clt_destroy_sess_files() 505 kobject_put(clt->kobj_paths); in rtrs_clt_destroy_sysfs_root()
|
| /Linux-v5.15/fs/nfs/ |
| D | sysfs.c | 51 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.15/mm/ |
| D | cma_sysfs.c | 97 kobject_put(&cma_kobj->kobj); in cma_sysfs_init() 106 kobject_put(&cma->cma_kobj->kobj); in cma_sysfs_init() 108 kobject_put(cma_kobj_root); in cma_sysfs_init()
|
| /Linux-v5.15/drivers/infiniband/hw/usnic/ |
| D | usnic_ib_sysfs.c | 259 kobject_put(&us_ibdev->ib_dev.dev.kobj); in usnic_ib_sysfs_register_usdev() 268 kobject_put(us_ibdev->qpn_kobj); in usnic_ib_sysfs_unregister_usdev() 282 kobject_put(us_ibdev->qpn_kobj); in usnic_ib_sysfs_qpn_add() 293 kobject_put(&qp_grp->kobj); in usnic_ib_sysfs_qpn_remove() 294 kobject_put(us_ibdev->qpn_kobj); in usnic_ib_sysfs_qpn_remove()
|
| /Linux-v5.15/lib/ |
| D | kobject.c | 258 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.15/fs/orangefs/ |
| D | orangefs-sysfs.c | 1237 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.15/arch/powerpc/platforms/powernv/ |
| D | opal-dump.c | 97 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()
|
| D | opal-elog.c | 81 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.15/drivers/vfio/mdev/ |
| D | mdev_sysfs.c | 122 kobject_put(&type->kobj); in add_mdev_supported_type() 145 kobject_put(type->devices_kobj); in add_mdev_supported_type() 150 kobject_put(&type->kobj); in add_mdev_supported_type() 161 kobject_put(type->devices_kobj); in remove_mdev_supported_type() 164 kobject_put(&type->kobj); in remove_mdev_supported_type()
|
| /Linux-v5.15/drivers/staging/greybus/ |
| D | audio_manager.c | 79 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.15/drivers/pci/ |
| D | slot.c | 129 kobject_put(dup_slot); in make_slot_name() 248 kobject_put(&slot->kobj); in pci_create_slot() 281 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.15/block/ |
| D | blk-mq-sysfs.c | 31 kobject_put(&ctx->ctxs->kobj); in blk_mq_ctx_sysfs_release() 220 kobject_put(&dev->kobj); in blk_mq_unregister_dev() 237 kobject_put(&ctx->kobj); in blk_mq_sysfs_deinit() 239 kobject_put(q->mq_kobj); in blk_mq_sysfs_deinit() 288 kobject_put(&dev->kobj); in __blk_mq_register_dev()
|
| /Linux-v5.15/drivers/md/bcache/ |
| D | stats.c | 119 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.15/drivers/platform/x86/ |
| D | uv_sysfs.c | 272 kobject_put(&uv_hubs[i]->kobj); in uv_hubs_init() 289 kobject_put(&uv_hubs[i]->kobj); in uv_hubs_exit() 417 kobject_put(&uv_hubs[j]->ports[k]->kobj); in uv_ports_init() 439 kobject_put(&uv_hubs[j]->ports[k]->kobj); in uv_ports_exit() 643 kobject_put(&top_obj->kobj); in init_pci_top_obj() 705 kobject_put(&uv_pci_objs[k]->kobj); in pci_topology_init() 718 kobject_put(&uv_pci_objs[k]->kobj); in pci_topology_exit() 838 kobject_put(sgi_uv_kobj); in uv_sysfs_hubless_init() 895 kobject_put(sgi_uv_kobj); in uv_sysfs_init() 902 kobject_put(sgi_uv_kobj); in uv_sysfs_hubless_exit() [all …]
|
| /Linux-v5.15/drivers/pci/hotplug/ |
| D | rpadlpar_sysfs.c | 115 kobject_put(dlpar_kobj); in dlpar_sysfs_init() 122 kobject_put(dlpar_kobj); in dlpar_sysfs_exit()
|
| /Linux-v5.15/samples/kobject/ |
| D | kobject-example.c | 131 kobject_put(example_kobj); in example_init() 138 kobject_put(example_kobj); in example_exit()
|
| /Linux-v5.15/arch/powerpc/kernel/ |
| D | secvar-sysfs.c | 196 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.15/arch/x86/kernel/ |
| D | ksysfs.c | 251 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()
|