/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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 | hard-interface.c | 485 kref_get(&new_hard_iface->refcount); in batadv_primary_if_select() 728 kref_get(&hard_iface->refcount); in batadv_hardif_enable_interface() 745 kref_get(&hard_iface->refcount); in batadv_hardif_enable_interface() 907 kref_get(&hard_iface->refcount); in batadv_hardif_add_interface()
|
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/drivers/gpu/drm/msm/ |
D | msm_gem_vma.c | 36 kref_get(&aspace->kref); in msm_gem_address_space_get() 148 kref_get(&aspace->kref); in msm_gem_vma_init()
|
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/fs/smb/client/ |
D | cached_dir.c | 39 kref_get(&cfid->refcount); in find_or_create_cached_dir() 61 kref_get(&cfid->refcount); in find_or_create_cached_dir() 366 kref_get(&cfid->refcount); in open_cached_dir_by_dentry() 475 kref_get(&cfid->refcount); in invalidate_all_cached_dirs() 601 kref_get(&cfid->refcount); in cfids_laundromat_worker()
|
/Linux-v6.6/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-v6.6/drivers/gpu/drm/i915/ |
D | i915_drm_client.h | 37 kref_get(&client->kref); in i915_drm_client_get()
|
/Linux-v6.6/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-v6.6/arch/s390/pci/ |
D | pci_bus.h | 28 kref_get(&zdev->kref); in zpci_zdev_get()
|
/Linux-v6.6/drivers/infiniband/hw/hfi1/ |
D | pin_system.c | 108 kref_get(&rb_node->refcount); in find_system_node() 184 kref_get(&node->rb.refcount); in add_system_pinning() 272 kref_get(&node->refcount); in sdma_mmu_rb_node_get()
|
/Linux-v6.6/drivers/gpu/drm/i915/gt/ |
D | intel_breadcrumbs.h | 54 kref_get(&b->ref); in intel_breadcrumbs_get()
|
/Linux-v6.6/include/linux/ |
D | kref.h | 43 static inline void kref_get(struct kref *kref) in kref_get() function
|
/Linux-v6.6/drivers/gpu/drm/lima/ |
D | lima_vm.h | 51 kref_get(&vm->refcount); in lima_vm_get()
|
/Linux-v6.6/fs/dlm/ |
D | ast.c | 34 kref_get(&to->ref); in dlm_callback_set_last_ptr() 134 kref_get(&lkb->lkb_ref); in dlm_add_cb()
|