/linux-6.6.21/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-6.6.21/drivers/block/rnbd/ |
D | rnbd-srv-sysfs.c | 50 kobject_put(&dev->dev_kobj); in rnbd_srv_create_dev_sysfs() 69 kobject_put(dev->dev_sessions_kobj); in rnbd_srv_create_dev_sysfs() 72 kobject_put(&dev->dev_kobj); in rnbd_srv_create_dev_sysfs() 80 kobject_put(dev->dev_sessions_kobj); in rnbd_srv_destroy_dev_sysfs() 82 kobject_put(&dev->dev_kobj); in rnbd_srv_destroy_dev_sysfs() 176 kobject_put(&sess_dev->kobj); in rnbd_srv_destroy_dev_session_sysfs() 200 kobject_put(&sess_dev->kobj); in rnbd_srv_create_dev_session_sysfs() 208 kobject_put(&sess_dev->kobj); in rnbd_srv_create_dev_session_sysfs() 247 kobject_put(rnbd_devs_kobj); in rnbd_srv_destroy_sysfs_files()
|
/linux-6.6.21/mm/damon/ |
D | sysfs.c | 111 kobject_put(®ions_arr[i]->kobj); in damon_sysfs_regions_rm_dirs() 144 kobject_put(®ion->kobj); in damon_sysfs_regions_add_dirs() 233 kobject_put(®ions->kobj); in damon_sysfs_target_add_dirs() 242 kobject_put(&target->regions->kobj); in damon_sysfs_target_rm_dirs() 308 kobject_put(&targets_arr[i]->kobj); in damon_sysfs_targets_rm_dirs() 355 kobject_put(&target->kobj); in damon_sysfs_targets_add_dirs() 591 kobject_put(&nr_regions_range->kobj); in damon_sysfs_attrs_add_dirs() 594 kobject_put(&intervals->kobj); in damon_sysfs_attrs_add_dirs() 601 kobject_put(&attrs->nr_regions_range->kobj); in damon_sysfs_attrs_rm_dirs() 602 kobject_put(&attrs->intervals->kobj); in damon_sysfs_attrs_rm_dirs() [all …]
|
D | sysfs-schemes.c | 155 kobject_put(&r->kobj); in damon_sysfs_scheme_regions_rm_dirs() 507 kobject_put(&filters_arr[i]->kobj); in damon_sysfs_scheme_filters_rm_dirs() 540 kobject_put(&filter->kobj); in damon_sysfs_scheme_filters_add_dirs() 918 kobject_put(&weights->kobj); in damon_sysfs_quotas_add_dirs() 926 kobject_put("as->weights->kobj); in damon_sysfs_quotas_rm_dirs() 1056 kobject_put(&range->kobj); in damon_sysfs_access_pattern_add_range_dir() 1084 kobject_put(&access_pattern->age->kobj); in damon_sysfs_access_pattern_add_dirs() 1087 kobject_put(&access_pattern->nr_accesses->kobj); in damon_sysfs_access_pattern_add_dirs() 1090 kobject_put(&access_pattern->sz->kobj); in damon_sysfs_access_pattern_add_dirs() 1098 kobject_put(&access_pattern->sz->kobj); in damon_sysfs_access_pattern_rm_dirs() [all …]
|
/linux-6.6.21/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()以避免错误的发生是一个很好的做法。 358 清理掉。要做到这一点,请调用kobject_put()。通过这样做,kobject核 366 后的时间调用kobject_put()来完成与该kobject相关的内存的清理。
|
/linux-6.6.21/drivers/gpu/drm/i915/gt/ |
D | intel_gt_sysfs.c | 108 kobject_put(>->sysfs_gt); in intel_gt_sysfs_register() 114 kobject_put(gt->sysfs_defaults); in intel_gt_sysfs_unregister() 115 kobject_put(>->sysfs_gt); in intel_gt_sysfs_unregister()
|
/linux-6.6.21/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() 444 kobject_put(&block->instance->ctl->kobj); in edac_device_ctrl_block_release() 542 kobject_put(main_kobj); in edac_device_create_block() 571 kobject_put(&block->kobj); in edac_device_create_block() 602 kobject_put(&block->kobj); in edac_device_delete_block() 641 kobject_put(main_kobj); in edac_device_create_instance() 669 kobject_put(&instance->kobj); in edac_device_create_instance() 694 kobject_put(&instance->kobj); in edac_device_delete_instance()
|
/linux-6.6.21/drivers/infiniband/ulp/rtrs/ |
D | rtrs-srv-sysfs.c | 206 kobject_put(srv->kobj_paths); in rtrs_srv_destroy_once_sysfs_root_folders() 241 kobject_put(&srv_path->stats->kobj_stats); in rtrs_srv_create_stats_files() 255 kobject_put(&srv_path->stats->kobj_stats); in rtrs_srv_create_stats_files() 298 kobject_put(&srv_path->kobj); in rtrs_srv_create_path_files() 310 kobject_put(&srv_path->stats->kobj_stats); in rtrs_srv_destroy_path_files() 315 kobject_put(&srv_path->kobj); in rtrs_srv_destroy_path_files()
|
D | rtrs-clt-sysfs.c | 443 kobject_put(&clt_path->kobj); in rtrs_clt_create_path_files() 455 kobject_put(&clt_path->stats->kobj_stats); in rtrs_clt_create_path_files() 470 kobject_put(&clt_path->stats->kobj_stats); in rtrs_clt_create_path_files() 475 kobject_put(&clt_path->kobj); in rtrs_clt_create_path_files() 484 kobject_put(&clt_path->stats->kobj_stats); in rtrs_clt_destroy_path_files() 512 kobject_put(clt->kobj_paths); in rtrs_clt_destroy_sysfs_root()
|
/linux-6.6.21/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-6.6.21/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-6.6.21/net/sunrpc/ |
D | sysfs.c | 57 kobject_put(kobj); in rpc_sysfs_object_alloc() 353 kobject_put(rpc_sunrpc_client_kobj); in rpc_sysfs_init() 453 kobject_put(rpc_sunrpc_client_kobj); in rpc_sysfs_exit() 454 kobject_put(rpc_sunrpc_xprt_switch_kobj); in rpc_sysfs_exit() 471 kobject_put(&p->kobject); in rpc_sysfs_client_alloc() 493 kobject_put(&p->kobject); in rpc_sysfs_xprt_switch_alloc() 512 kobject_put(&p->kobject); in rpc_sysfs_xprt_alloc() 600 kobject_put(&rpc_client->kobject); in rpc_sysfs_client_destroy() 612 kobject_put(&rpc_xprt_switch->kobject); in rpc_sysfs_xprt_switch_destroy() 624 kobject_put(&rpc_xprt->kobject); in rpc_sysfs_xprt_destroy()
|
/linux-6.6.21/lib/ |
D | kobject.c | 243 kobject_put(parent); in kobject_add_internal() 486 kobject_put(kobj); in kobject_rename() 527 kobject_put(kobj); in kobject_rename() 575 kobject_put(old_parent); in kobject_move() 578 kobject_put(new_parent); in kobject_move() 579 kobject_put(kobj); in kobject_move() 628 kobject_put(parent); in kobject_del() 698 kobject_put(parent); in kobject_cleanup() 730 void kobject_put(struct kobject *kobj) in kobject_put() function 740 EXPORT_SYMBOL(kobject_put); [all …]
|
/linux-6.6.21/fs/zonefs/ |
D | sysfs.c | 99 kobject_put(&sbi->s_kobj); in zonefs_sysfs_register() 117 kobject_put(&sbi->s_kobj); in zonefs_sysfs_unregister() 132 kobject_put(zonefs_sysfs_root); in zonefs_sysfs_exit()
|
/linux-6.6.21/fs/orangefs/ |
D | orangefs-sysfs.c | 1299 kobject_put(stats_orangefs_obj); in orangefs_sysfs_init() 1301 kobject_put(pc_orangefs_obj); in orangefs_sysfs_init() 1303 kobject_put(ncache_orangefs_obj); in orangefs_sysfs_init() 1305 kobject_put(ccache_orangefs_obj); in orangefs_sysfs_init() 1307 kobject_put(capcache_orangefs_obj); in orangefs_sysfs_init() 1309 kobject_put(acache_orangefs_obj); in orangefs_sysfs_init() 1311 kobject_put(orangefs_obj); in orangefs_sysfs_init() 1319 kobject_put(acache_orangefs_obj); in orangefs_sysfs_exit() 1320 kobject_put(capcache_orangefs_obj); in orangefs_sysfs_exit() 1321 kobject_put(ccache_orangefs_obj); in orangefs_sysfs_exit() [all …]
|
/linux-6.6.21/arch/powerpc/platforms/powernv/ |
D | opal-dump.c | 97 kobject_put(&dump_obj->kobj); in dump_ack_store() 353 kobject_put(&dump->kobj); in create_dump_obj() 381 kobject_put(&dump->kobj); in create_dump_obj() 385 kobject_put(&dump->kobj); in create_dump_obj() 409 kobject_put(kobj); in process_dump() 437 kobject_put(&dump_kset->kobj); in opal_platform_dump_init()
|
D | opal-elog.c | 81 kobject_put(&elog_obj->kobj); in elog_ack_store() 227 kobject_put(&elog->kobj); in create_elog_obj() 252 kobject_put(&elog->kobj); in create_elog_obj() 256 kobject_put(&elog->kobj); in create_elog_obj() 297 kobject_put(kobj); in elog_event()
|
/linux-6.6.21/block/ |
D | holder.c | 88 kobject_put(bdev->bd_holder_dir); in bd_link_disk_holder() 121 kobject_put(bdev->bd_holder_dir); in bd_link_disk_holder() 148 kobject_put(holder->holder_dir); in bd_unlink_disk_holder()
|
/linux-6.6.21/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-6.6.21/drivers/pci/ |
D | slot.c | 130 kobject_put(dup_slot); in make_slot_name() 249 kobject_put(&slot->kobj); in pci_create_slot() 282 kobject_put(&slot->kobj); in pci_create_slot() 319 kobject_put(&slot->kobj); in pci_destroy_slot() 348 kobject_put(kobj); in pci_hp_create_module_link()
|
/linux-6.6.21/kernel/module/ |
D | sysfs.c | 167 kobject_put(notes_attrs->dir); in free_notes_attrs() 334 kobject_put(&mod->mkobj.kobj); in mod_kobject_put() 352 kobject_put(kobj); in mod_sysfs_init() 409 kobject_put(mod->holders_dir); in mod_sysfs_setup() 428 kobject_put(mod->mkobj.drivers_dir); in mod_sysfs_teardown() 429 kobject_put(mod->holders_dir); in mod_sysfs_teardown()
|
/linux-6.6.21/drivers/md/bcache/ |
D | stats.c | 120 kobject_put(&acc->total.kobj); in bch_cache_accounting_destroy() 121 kobject_put(&acc->five_minute.kobj); in bch_cache_accounting_destroy() 122 kobject_put(&acc->hour.kobj); in bch_cache_accounting_destroy() 123 kobject_put(&acc->day.kobj); in bch_cache_accounting_destroy()
|
/linux-6.6.21/fs/xfs/ |
D | xfs_sysfs.h | 42 kobject_put(&kobj->kobject); in xfs_sysfs_init() 52 kobject_put(&kobj->kobject); in xfs_sysfs_del()
|
/linux-6.6.21/drivers/platform/x86/ |
D | uv_sysfs.c | 273 kobject_put(&uv_hubs[i]->kobj); in uv_hubs_init() 290 kobject_put(&uv_hubs[i]->kobj); in uv_hubs_exit() 419 kobject_put(&uv_hubs[j]->ports[k]->kobj); in uv_ports_init() 441 kobject_put(&uv_hubs[j]->ports[k]->kobj); in uv_ports_exit() 645 kobject_put(&top_obj->kobj); in init_pci_top_obj() 707 kobject_put(&uv_pci_objs[k]->kobj); in pci_topology_init() 720 kobject_put(&uv_pci_objs[k]->kobj); in pci_topology_exit() 840 kobject_put(sgi_uv_kobj); in uv_sysfs_hubless_init() 897 kobject_put(sgi_uv_kobj); in uv_sysfs_init() 904 kobject_put(sgi_uv_kobj); in uv_sysfs_hubless_exit() [all …]
|
/linux-6.6.21/fs/erofs/ |
D | sysfs.c | 234 kobject_put(&sbi->s_kobj); in erofs_register_sysfs() 245 kobject_put(&sbi->s_kobj); in erofs_unregister_sysfs() 267 kobject_put(&erofs_feat); in erofs_init_sysfs() 275 kobject_put(&erofs_feat); in erofs_exit_sysfs()
|