/linux/Documentation/translations/zh_CN/core-api/ |
A 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/Documentation/core-api/ |
A 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/drivers/gpu/drm/amd/display/dc/core/ |
A 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()
|
/linux/net/batman-adv/ |
A 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()
|
A 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()
|
A D | hard-interface.c | 470 kref_get(&new_hard_iface->refcount); in batadv_primary_if_select() 693 kref_get(&hard_iface->refcount); in batadv_hardif_enable_interface() 710 kref_get(&hard_iface->refcount); in batadv_hardif_enable_interface() 872 kref_get(&hard_iface->refcount); in batadv_hardif_add_interface()
|
A 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()
|
/linux/fs/nfs/ |
A D | nfs42xattr.c | 444 kref_get(&cache->ref); in nfs4_xattr_get_cache() 473 kref_get(&newcache->ref); in nfs4_xattr_get_cache() 475 kref_get(&cache->ref); in nfs4_xattr_get_cache() 599 kref_get(&entry->ref); in nfs4_xattr_hash_find() 845 kref_get(&cache->ref); in cache_lru_isolate() 915 kref_get(&entry->ref); in entry_lru_isolate() 927 kref_get(&entry->ref); in entry_lru_isolate()
|
/linux/net/tls/ |
A D | tls_toe.c | 90 kref_get(&dev->kref); in tls_toe_unhash() 111 kref_get(&dev->kref); in tls_toe_hash()
|
/linux/drivers/target/iscsi/cxgbit/ |
A 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/fs/btrfs/ |
A D | reada.c | 190 kref_get(&rc->refcnt); in __readahead_hook() 245 kref_get(&zone->refcnt); in reada_find_zone() 294 kref_get(&zone->refcnt); in reada_find_zone() 376 kref_get(&zone->refcnt); in reada_find_extent() 475 kref_get(&zone->refcnt); in reada_find_extent() 520 kref_get(&zone->refcnt); in reada_extent_put() 653 kref_get(&dev->reada_curr_zone->refcnt); in reada_pick_zone() 980 kref_get(&rc->refcnt); /* one ref for having elements */ in btrfs_reada_add()
|
/linux/drivers/gpu/drm/msm/ |
A D | msm_gem_vma.c | 35 kref_get(&aspace->kref); in msm_gem_address_space_get() 137 kref_get(&aspace->kref); in msm_gem_init_vma()
|
/linux/net/can/j1939/ |
A D | main.c | 177 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/drivers/s390/scsi/ |
A 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/include/media/ |
A D | media-request.h | 179 kref_get(&req->kref); in media_request_get() 289 kref_get(&obj->kref); in media_request_object_get()
|
/linux/drivers/scsi/isci/ |
A D | remote_device.h | 116 kref_get(&idev->kref); in isci_get_device() 125 kref_get(&idev->kref); in isci_lookup_device()
|
/linux/include/linux/ceph/ |
A D | buffer.h | 27 kref_get(&b->kref); in ceph_buffer_get()
|
A D | string_table.h | 27 kref_get(&str->kref); in ceph_get_string()
|
/linux/drivers/gpu/drm/i915/display/ |
A D | intel_frontbuffer.c | 211 kref_get(&front->ref); in frontbuffer_active() 276 kref_get(&front->ref); in intel_frontbuffer_get()
|
/linux/drivers/scsi/libfc/ |
A D | fc_rport.c | 284 kref_get(&rdata->kref); in fc_rport_work() 487 kref_get(&rdata->kref); in fc_rport_enter_delete() 553 kref_get(&rdata->kref); in fc_rport_enter_ready() 678 kref_get(&rdata->kref); in fc_rport_error_retry() 839 kref_get(&rdata->kref); in fc_rport_enter_flogi() 1096 kref_get(&rdata->kref); in fc_rport_enter_plogi() 1298 kref_get(&rdata->kref); in fc_rport_enter_prli() 1402 kref_get(&rdata->kref); in fc_rport_enter_rtv() 1485 kref_get(&rdata->kref); in fc_rport_enter_logo() 1576 kref_get(&rdata->kref); in fc_rport_enter_adisc()
|
/linux/fs/lockd/ |
A D | svclock.c | 98 kref_get(&block->b_count); in nlmsvc_insert_block_locked() 163 kref_get(&block->b_count); in nlmsvc_lookup_block() 197 kref_get(&block->b_count); in nlmsvc_find_block() 327 kref_get(&block->b_count); in nlmsvc_traverse_blocks() 830 kref_get(&block->b_count); in nlmsvc_grant_blocked()
|
/linux/arch/s390/pci/ |
A D | pci_bus.h | 27 kref_get(&zdev->kref); in zpci_zdev_get()
|
/linux/drivers/gpu/drm/i915/gt/ |
A D | intel_breadcrumbs.h | 54 kref_get(&b->ref); in intel_breadcrumbs_get()
|
/linux/include/linux/ |
A D | kref.h | 43 static inline void kref_get(struct kref *kref) in kref_get() function
|
/linux/drivers/vfio/mdev/ |
A D | mdev_private.h | 55 kref_get(&parent->ref); in mdev_get_parent()
|