/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/core/ |
A D | dc_surface.c | 112 kref_init(&plane_state->refcount); in dc_create_plane_state() 216 kref_init(&gamma->refcount); in dc_create_gamma() 246 kref_init(&tf->refcount); in dc_create_transfer_func() 268 kref_init(&lut->refcount); in dc_create_3dlut_func()
|
A D | dc_sink.c | 87 kref_init(&sink->refcount); in dc_sink_create()
|
/linux-6.3-rc2/Documentation/translations/zh_CN/core-api/ |
A D | kref.rst | 51 你必须在分配kref之后初始化它。 要做到这一点,可以这样调用kref_init:: 58 kref_init(&data->refcount); 112 kref_init(&data->refcount); 135 为引用计数被kref_init()和kref_get()递增了2次。
|
/linux-6.3-rc2/drivers/gpu/host1x/ |
A D | syncpt.c | 94 kref_init(&sp->ref); in host1x_syncpt_alloc() 308 kref_init(&host->syncpt[26].ref); in host1x_syncpt_init() 309 kref_init(&host->syncpt[27].ref); in host1x_syncpt_init()
|
/linux-6.3-rc2/kernel/sched/ |
A D | autogroup.c | 36 kref_init(&autogroup_default.kref); in autogroup_init() 97 kref_init(&ag->kref); in autogroup_create()
|
/linux-6.3-rc2/include/linux/ |
A D | kref.h | 29 static inline void kref_init(struct kref *kref) in kref_init() function
|
/linux-6.3-rc2/net/batman-adv/ |
A D | originator.c | 163 kref_init(&vlan->refcount); in batadv_orig_node_vlan_new() 382 kref_init(&orig_ifinfo->refcount); in batadv_orig_ifinfo_new() 456 kref_init(&neigh_ifinfo->refcount); in batadv_neigh_ifinfo_new() 539 kref_init(&hardif_neigh->refcount); in batadv_hardif_neigh_create() 655 kref_init(&neigh_node->refcount); in batadv_neigh_node_create() 930 kref_init(&orig_node->refcount); in batadv_orig_node_new()
|
/linux-6.3-rc2/lib/kunit/ |
A D | resource.c | 29 kref_init(&res->refcount); in __kunit_add_resource()
|
/linux-6.3-rc2/net/ceph/ |
A D | buffer.c | 26 kref_init(&b->kref); in ceph_buffer_new()
|
A D | msgpool.c | 92 kref_init(&msg->kref); /* retake single ref */ in ceph_msgpool_put()
|
A D | string_table.c | 44 kref_init(&cs->kref); in ceph_find_or_create_string()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/display/ |
A D | intel_global_state.c | 44 kref_init(&state->ref); in intel_atomic_global_obj_init() 131 kref_init(&obj_state->ref); in intel_atomic_get_global_obj_state()
|
/linux-6.3-rc2/arch/powerpc/platforms/cell/spufs/ |
A D | gang.c | 23 kref_init(&gang->kref); in alloc_spu_gang()
|
/linux-6.3-rc2/drivers/gpu/drm/vmwgfx/ |
A D | ttm_object.c | 203 kref_init(&base->refcount); in ttm_base_object_init() 332 kref_init(&ref->kref); in ttm_ref_object_add() 417 kref_init(&tfile->refcount); in ttm_object_file_init()
|
/linux-6.3-rc2/drivers/nvdimm/ |
A D | dimm.c | 54 kref_init(&ndd->kref); in nvdimm_probe()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
A D | chid.c | 95 kref_init(&chid->kref); in nvkm_chid_new()
|
/linux-6.3-rc2/drivers/macintosh/ |
A D | windfarm_core.c | 220 kref_init(&new_ct->ref); in wf_register_control() 315 kref_init(&new_sr->ref); in wf_register_sensor()
|
/linux-6.3-rc2/drivers/usb/mon/ |
A D | mon_main.c | 290 kref_init(&mbus->ref); in mon_bus_init() 317 kref_init(&mbus->ref); in mon_bus0_init()
|
/linux-6.3-rc2/net/can/j1939/ |
A D | main.c | 142 kref_init(&priv->kref); in j1939_priv_create() 143 kref_init(&priv->rx_kref); in j1939_priv_create()
|
/linux-6.3-rc2/Documentation/core-api/ |
A D | kref.rst | 39 kref_init as so:: 46 kref_init(&data->refcount); 106 kref_init(&data->refcount); 133 incremented 2 times by kref_init() and kref_get().
|
/linux-6.3-rc2/drivers/media/mc/ |
A D | mc-dev-allocator.c | 89 kref_init(&mdi->refcount); in __media_device_get()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_reset.c | 138 kref_init(&reset_domain->refcount); in amdgpu_reset_create_reset_domain()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/ |
A D | selftest_ring.c | 14 kref_init(&ring->ref); in mock_ring()
|
/linux-6.3-rc2/drivers/gpu/drm/lima/ |
A D | lima_ctx.c | 18 kref_init(&ctx->refcnt); in lima_ctx_create()
|
/linux-6.3-rc2/arch/arm64/kvm/vgic/ |
A D | vgic-init.c | 158 kref_init(&irq->refcount); in kvm_vgic_dist_init() 211 kref_init(&irq->refcount); in kvm_vgic_vcpu_init()
|