Home
last modified time | relevance | path

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

12345678910>>...18

/linux/Documentation/translations/zh_CN/core-api/
H A 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/Documentation/core-api/
H A 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/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_surface.c169 kref_get(&plane_state->refcount); in dc_plane_state_retain()
186 kref_get(&gamma->refcount); in dc_gamma_retain()
217 kref_get(&tf->refcount); in dc_transfer_func_retain()
277 kref_get(&lut->refcount); in dc_3dlut_func_retain()
H A Ddc_sink.c62 kref_get(&sink->refcount); in dc_sink_retain()
/linux/drivers/gpu/drm/imagination/
H A Dpvr_hwrt.h108 kref_get(&hwrt->ref_count); in pvr_hwrt_dataset_lookup()
161 kref_get(&hwrt->hwrt_dataset->ref_count); in pvr_hwrt_data_get()
/linux/net/tls/
H A Dtls_toe.c92 kref_get(&dev->kref); in tls_toe_unhash()
113 kref_get(&dev->kref); in tls_toe_hash()
/linux/net/batman-adv/
H A Doriginator.c193 kref_get(&vlan->refcount); in batadv_orig_node_vlan_new()
429 kref_get(&if_outgoing->refcount); in batadv_orig_ifinfo_new()
438 kref_get(&orig_ifinfo->refcount); in batadv_orig_ifinfo_new()
507 kref_get(&if_outgoing->refcount); in batadv_neigh_ifinfo_new()
513 kref_get(&neigh_ifinfo->refcount); in batadv_neigh_ifinfo_new()
586 kref_get(&hard_iface->refcount); in batadv_hardif_neigh_create()
698 kref_get(&hard_iface->refcount); in batadv_neigh_node_create()
705 kref_get(&hardif_neigh->refcount); in batadv_neigh_node_create()
711 kref_get(&neigh_node->refcount); in batadv_neigh_node_create()
H A 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()
/linux/fs/nfs/
H A 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()
825 kref_get(&cache->ref); in cache_lru_isolate()
895 kref_get(&entry->ref); in entry_lru_isolate()
907 kref_get(&entry->ref); in entry_lru_isolate()
/linux/drivers/target/iscsi/cxgbit/
H A 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/drivers/gpu/drm/msm/
H A 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/drivers/s390/scsi/
H A Dzfcp_ccw.c29 kref_get(&adapter->ref); in zfcp_ccw_adapter_by_cdev()
171 kref_get(&adapter->ref); in zfcp_ccw_set_online()
/linux/include/media/
H A Dmedia-request.h179 kref_get(&req->kref); in media_request_get()
289 kref_get(&obj->kref); in media_request_object_get()
/linux/drivers/scsi/isci/
H A Dremote_device.h116 kref_get(&idev->kref); in isci_get_device()
125 kref_get(&idev->kref); in isci_lookup_device()
/linux/net/can/j1939/
H A Dmain.c177 kref_get(&priv->kref); in j1939_priv_get()
262 kref_get(&priv->rx_kref); in j1939_netdev_start()
282 kref_get(&priv_new->rx_kref); in j1939_netdev_start()
/linux/fs/smb/client/
H A Dcached_dir.c39 kref_get(&cfid->refcount); in find_or_create_cached_dir()
61 kref_get(&cfid->refcount); in find_or_create_cached_dir()
405 kref_get(&cfid->refcount); in open_cached_dir_by_dentry()
516 kref_get(&cfid->refcount); in invalidate_all_cached_dirs()
642 kref_get(&cfid->refcount); in cfids_laundromat_worker()
/linux/include/linux/ceph/
H A Dbuffer.h27 kref_get(&b->kref); in ceph_buffer_get()
H A Dstring_table.h27 kref_get(&str->kref); in ceph_get_string()
/linux/arch/s390/pci/
H A Dpci_bus.h28 kref_get(&zdev->kref); in zpci_zdev_get()
/linux/drivers/gpu/drm/xe/
H A Dxe_drm_client.h40 kref_get(&client->kref); in xe_drm_client_get()
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_breadcrumbs.h54 kref_get(&b->ref); in intel_breadcrumbs_get()
/linux/drivers/infiniband/hw/hfi1/
H A 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/include/linux/
H A Dkref.h43 static inline void kref_get(struct kref *kref) in kref_get() function
/linux/drivers/gpu/drm/i915/
H A Di915_drm_client.h53 kref_get(&client->kref); in i915_drm_client_get()
/linux/drivers/gpu/drm/lima/
H A Dlima_vm.h51 kref_get(&vm->refcount); in lima_vm_get()

12345678910>>...18