/linux-6.1.9/Documentation/translations/zh_CN/core-api/ |
D | kref.rst | 68 行线程,你必须在传递之前用kref_get()增加refcount:: 70 kref_get(&data->refcount); 84 须按顺序访问,在kref_put()期间不能发生kref_get(),并且该结构体在kref_get() 114 kref_get(&data->refcount); 131 放它。kref_get()不需要锁,因为我们已经有了一个有效的指针,我们拥有一个 135 为引用计数被kref_init()和kref_get()递增了2次。 145 kref_get(&data->refcount); 157 kref_get(&obj->ref); 168 而你希望得到第一个项目。你不能只是从列表中抽出第一个项目,然后kref_get()它。 186 kref_get(&entry->refcount); [all …]
|
/linux-6.1.9/Documentation/core-api/ |
D | kref.rst | 58 increment the refcount with kref_get() before passing it off:: 60 kref_get(&data->refcount); 77 where a kref_put() cannot occur during the kref_get(), and the 78 structure must remain valid during the kref_get(). 108 kref_get(&data->refcount); 126 any more and releasing it. The kref_get() does not require a lock, 133 incremented 2 times by kref_init() and kref_get(). 144 kref_get(&data->refcount); 159 kref_get(&obj->ref); 172 and kref_get() it. That violates rule 3 because you are not already [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_surface.c | 177 kref_get(&plane_state->refcount); in dc_plane_state_retain() 194 kref_get(&gamma->refcount); in dc_gamma_retain() 225 kref_get(&tf->refcount); in dc_transfer_func_retain() 285 kref_get(&lut->refcount); in dc_3dlut_func_retain()
|
D | dc_sink.c | 62 kref_get(&sink->refcount); in dc_sink_retain()
|
/linux-6.1.9/net/tls/ |
D | tls_toe.c | 92 kref_get(&dev->kref); in tls_toe_unhash() 113 kref_get(&dev->kref); in tls_toe_hash()
|
/linux-6.1.9/net/batman-adv/ |
D | originator.c | 166 kref_get(&vlan->refcount); in batadv_orig_node_vlan_new() 375 kref_get(&if_outgoing->refcount); in batadv_orig_ifinfo_new() 384 kref_get(&orig_ifinfo->refcount); in batadv_orig_ifinfo_new() 453 kref_get(&if_outgoing->refcount); in batadv_neigh_ifinfo_new() 459 kref_get(&neigh_ifinfo->refcount); in batadv_neigh_ifinfo_new() 532 kref_get(&hard_iface->refcount); in batadv_hardif_neigh_create() 644 kref_get(&hard_iface->refcount); in batadv_neigh_node_create() 651 kref_get(&hardif_neigh->refcount); in batadv_neigh_node_create() 657 kref_get(&neigh_node->refcount); in batadv_neigh_node_create()
|
D | routing.c | 76 kref_get(&neigh_node->refcount); in _batadv_update_route() 484 kref_get(&last_bonding_candidate->refcount); in batadv_last_bonding_get() 505 kref_get(&new_candidate->refcount); in batadv_last_bonding_replace() 591 kref_get(&cand_router->refcount); in batadv_find_router() 592 kref_get(&cand->refcount); in batadv_find_router() 627 kref_get(&next_candidate_router->refcount); in batadv_find_router() 633 kref_get(&first_candidate_router->refcount); in batadv_find_router()
|
D | tvlv.c | 144 kref_get(&tvlv_tmp->refcount); in batadv_tvlv_container_get() 256 kref_get(&tvlv_new->refcount); in batadv_tvlv_container_register() 548 kref_get(&tvlv_handler->refcount); in batadv_tvlv_handler_register()
|
D | hard-interface.c | 484 kref_get(&new_hard_iface->refcount); in batadv_primary_if_select() 710 kref_get(&hard_iface->refcount); in batadv_hardif_enable_interface() 727 kref_get(&hard_iface->refcount); in batadv_hardif_enable_interface() 889 kref_get(&hard_iface->refcount); in batadv_hardif_add_interface()
|
/linux-6.1.9/fs/nfs/ |
D | nfs42xattr.c | 443 kref_get(&cache->ref); in nfs4_xattr_get_cache() 472 kref_get(&newcache->ref); in nfs4_xattr_get_cache() 474 kref_get(&cache->ref); in nfs4_xattr_get_cache() 598 kref_get(&entry->ref); in nfs4_xattr_hash_find() 844 kref_get(&cache->ref); in cache_lru_isolate() 914 kref_get(&entry->ref); in entry_lru_isolate() 926 kref_get(&entry->ref); in entry_lru_isolate()
|
/linux-6.1.9/drivers/target/iscsi/cxgbit/ |
D | cxgbit.h | 250 kref_get(&cdev->kref); in cxgbit_get_cdev() 260 kref_get(&csk->kref); in cxgbit_get_csk() 270 kref_get(&cnp->kref); in cxgbit_get_cnp()
|
/linux-6.1.9/drivers/s390/scsi/ |
D | zfcp_ccw.c | 29 kref_get(&adapter->ref); in zfcp_ccw_adapter_by_cdev() 171 kref_get(&adapter->ref); in zfcp_ccw_set_online()
|
/linux-6.1.9/include/media/ |
D | media-request.h | 179 kref_get(&req->kref); in media_request_get() 289 kref_get(&obj->kref); in media_request_object_get()
|
/linux-6.1.9/drivers/gpu/drm/msm/ |
D | msm_gem_vma.c | 36 kref_get(&aspace->kref); in msm_gem_address_space_get() 164 kref_get(&aspace->kref); in msm_gem_init_vma()
|
/linux-6.1.9/drivers/scsi/isci/ |
D | remote_device.h | 116 kref_get(&idev->kref); in isci_get_device() 125 kref_get(&idev->kref); in isci_lookup_device()
|
/linux-6.1.9/net/can/j1939/ |
D | main.c | 181 kref_get(&priv->kref); in j1939_priv_get() 266 kref_get(&priv->rx_kref); in j1939_netdev_start() 286 kref_get(&priv_new->rx_kref); in j1939_netdev_start()
|
/linux-6.1.9/include/linux/ceph/ |
D | buffer.h | 27 kref_get(&b->kref); in ceph_buffer_get()
|
D | string_table.h | 27 kref_get(&str->kref); in ceph_get_string()
|
/linux-6.1.9/arch/s390/pci/ |
D | pci_bus.h | 28 kref_get(&zdev->kref); in zpci_zdev_get()
|
/linux-6.1.9/drivers/gpu/drm/i915/ |
D | i915_drm_client.h | 49 kref_get(&client->kref); in i915_drm_client_get()
|
/linux-6.1.9/fs/cifs/ |
D | cached_dir.c | 36 kref_get(&cfid->refcount); in find_or_create_cached_dir() 58 kref_get(&cfid->refcount); in find_or_create_cached_dir() 308 kref_get(&cfid->refcount); in open_cached_dir_by_dentry() 413 kref_get(&cfid->refcount); in invalidate_all_cached_dirs()
|
/linux-6.1.9/drivers/gpu/drm/i915/gt/ |
D | intel_breadcrumbs.h | 54 kref_get(&b->ref); in intel_breadcrumbs_get()
|
/linux-6.1.9/include/linux/ |
D | kref.h | 43 static inline void kref_get(struct kref *kref) in kref_get() function
|
/linux-6.1.9/drivers/gpu/drm/lima/ |
D | lima_vm.h | 51 kref_get(&vm->refcount); in lima_vm_get()
|
/linux-6.1.9/drivers/gpu/drm/i915/display/ |
D | intel_frontbuffer.c | 210 kref_get(&front->ref); in frontbuffer_active() 275 kref_get(&front->ref); in intel_frontbuffer_get()
|