Home
last modified time | relevance | path

Searched refs:kref_get (Results 1 – 25 of 418) sorted by relevance

12345678910>>...17

/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Dkref.rst68 行线程,你必须在传递之前用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.6.21/Documentation/core-api/
Dkref.rst58 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.6.21/drivers/gpu/drm/amd/display/dc/core/
Ddc_surface.c177 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()
Ddc_sink.c62 kref_get(&sink->refcount); in dc_sink_retain()
/linux-6.6.21/net/tls/
Dtls_toe.c92 kref_get(&dev->kref); in tls_toe_unhash()
113 kref_get(&dev->kref); in tls_toe_hash()
/linux-6.6.21/net/batman-adv/
Doriginator.c166 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()
Drouting.c76 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()
Dhard-interface.c485 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-6.6.21/fs/nfs/
Dnfs42xattr.c443 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.6.21/drivers/target/iscsi/cxgbit/
Dcxgbit.h250 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.6.21/drivers/gpu/drm/msm/
Dmsm_gem_vma.c36 kref_get(&aspace->kref); in msm_gem_address_space_get()
148 kref_get(&aspace->kref); in msm_gem_vma_init()
/linux-6.6.21/drivers/s390/scsi/
Dzfcp_ccw.c29 kref_get(&adapter->ref); in zfcp_ccw_adapter_by_cdev()
171 kref_get(&adapter->ref); in zfcp_ccw_set_online()
/linux-6.6.21/include/media/
Dmedia-request.h179 kref_get(&req->kref); in media_request_get()
289 kref_get(&obj->kref); in media_request_object_get()
/linux-6.6.21/drivers/scsi/isci/
Dremote_device.h116 kref_get(&idev->kref); in isci_get_device()
125 kref_get(&idev->kref); in isci_lookup_device()
/linux-6.6.21/fs/smb/client/
Dcached_dir.c39 kref_get(&cfid->refcount); in find_or_create_cached_dir()
61 kref_get(&cfid->refcount); in find_or_create_cached_dir()
388 kref_get(&cfid->refcount); in open_cached_dir_by_dentry()
497 kref_get(&cfid->refcount); in invalidate_all_cached_dirs()
623 kref_get(&cfid->refcount); in cfids_laundromat_worker()
/linux-6.6.21/include/linux/ceph/
Dbuffer.h27 kref_get(&b->kref); in ceph_buffer_get()
Dstring_table.h27 kref_get(&str->kref); in ceph_get_string()
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_drm_client.h37 kref_get(&client->kref); in i915_drm_client_get()
/linux-6.6.21/net/can/j1939/
Dmain.c181 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.6.21/arch/s390/pci/
Dpci_bus.h28 kref_get(&zdev->kref); in zpci_zdev_get()
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_breadcrumbs.h54 kref_get(&b->ref); in intel_breadcrumbs_get()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dpin_system.c108 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-6.6.21/include/linux/
Dkref.h43 static inline void kref_get(struct kref *kref) in kref_get() function
/linux-6.6.21/drivers/gpu/drm/lima/
Dlima_vm.h51 kref_get(&vm->refcount); in lima_vm_get()
/linux-6.6.21/fs/dlm/
Dast.c34 kref_get(&to->ref); in dlm_callback_set_last_ptr()
134 kref_get(&lkb->lkb_ref); in dlm_add_cb()

12345678910>>...17