Home
last modified time | relevance | path

Searched refs:refcount (Results 1 – 25 of 614) sorted by relevance

12345678910>>...25

/openbmc/qemu/tests/qemu-iotests/
H A D261.out190 ERROR cluster 10 refcount=0 reference=1
191 Rebuilding refcount structure
213 Leaked cluster 14 refcount=1 reference=0
214 Leaked cluster 15 refcount=1 reference=0
268 Leaked cluster 14 refcount=1 reference=0
269 Leaked cluster 15 refcount=1 reference=0
270 Leaked cluster 56 refcount=1 reference=0
271 Leaked cluster 57 refcount=1 reference=0
272 Leaked cluster 58 refcount=1 reference=0
273 Leaked cluster 59 refcount=1 reference=0
[all …]
H A D060.out6 ERROR cluster 3 refcount=1 reference=3
22 refcount bits: 16
33 ERROR refcount block 0 refcount=2
42 ERROR refcount block 0 refcount=2
44 Rebuilding refcount structure
196 Rebuilding refcount structure
218 Rebuilding refcount structure
237 Rebuilding refcount structure
294 ERROR refcount block 0 is not cluster aligned; refcount table entry corrupted
342 ERROR refcount block 0 is not cluster aligned; refcount table entry corrupted
[all …]
H A D217.out16 Leaked cluster 4 refcount=2 reference=1
17 Leaked cluster 5 refcount=2 reference=1
18 Leaked cluster 6 refcount=1 reference=0
19 Leaked cluster 7 refcount=1 reference=0
25 Leaked cluster 4 refcount=2 reference=1
26 Leaked cluster 5 refcount=2 reference=1
27 Leaked cluster 6 refcount=1 reference=0
28 Leaked cluster 7 refcount=1 reference=0
29 Repairing cluster 4 refcount=2 reference=1
30 Repairing cluster 5 refcount=2 reference=1
[all …]
H A D112.out14 refcount bits: 1
16 refcount bits: 64
18 refcount bits: 16
23 refcount bits: 16
32 refcount bits: 1
44 refcount bits: 2
56 refcount bits: 1
66 refcount bits: 64
92 refcount bits: 1
117 refcount bits: 2
[all …]
H A D108.out8 ERROR cluster 0 refcount=0 reference=1
9 ERROR cluster 3 refcount=0 reference=1
10 ERROR cluster 4 refcount=0 reference=1
12 Rebuilding refcount structure
34 Rebuilding refcount structure
67 Rebuilding refcount structure
84 Rebuilding refcount structure
100 Rebuilding refcount structure
120 Rebuilding refcount structure
142 Rebuilding refcount structure
[all …]
H A D098.out19 Leaked cluster 4 refcount=1 reference=0
20 Leaked cluster 5 refcount=1 reference=0
21 Repairing cluster 4 refcount=1 reference=0
32 ERROR cluster 0 refcount=0 reference=1
33 ERROR cluster 1 refcount=0 reference=1
34 ERROR cluster 3 refcount=0 reference=1
35 Rebuilding refcount structure
46 ERROR cluster 0 refcount=0 reference=1
47 ERROR cluster 1 refcount=0 reference=1
48 ERROR cluster 3 refcount=0 reference=1
[all …]
H A D039.out16 ERROR cluster 5 refcount=0 reference=1
17 ERROR OFLAG_COPIED data cluster: l2_entry=8000000000050000 refcount=0
28 ERROR cluster 5 refcount=0 reference=1
29 Rebuilding refcount structure
30 Repairing cluster 1 refcount=1 reference=0
31 Repairing cluster 2 refcount=1 reference=0
51 ERROR cluster 5 refcount=0 reference=1
52 Rebuilding refcount structure
53 Repairing cluster 1 refcount=1 reference=0
54 Repairing cluster 2 refcount=1 reference=0
[all …]
/openbmc/linux/Documentation/translations/zh_CN/core-api/
H A Dkref.rst41 struct kref refcount;
58 kref_init(&data->refcount);
60 这将kref中的refcount设置为1。
68 行线程,你必须在传递之前用kref_get()增加refcount::
70 kref_get(&data->refcount);
112 kref_init(&data->refcount);
114 kref_get(&data->refcount);
145 kref_get(&data->refcount);
176 struct kref refcount;
186 kref_get(&entry->refcount);
[all …]
/openbmc/linux/include/linux/
H A Dkref.h20 refcount_t refcount; member
23 #define KREF_INIT(n) { .refcount = REFCOUNT_INIT(n), }
31 refcount_set(&kref->refcount, 1); in kref_init()
36 return refcount_read(&kref->refcount); in kref_read()
45 refcount_inc(&kref->refcount); in kref_get()
64 if (refcount_dec_and_test(&kref->refcount)) { in kref_put()
75 if (refcount_dec_and_mutex_lock(&kref->refcount, lock)) { in kref_put_mutex()
86 if (refcount_dec_and_lock(&kref->refcount, lock)) { in kref_put_lock()
111 return refcount_inc_not_zero(&kref->refcount); in kref_get_unless_zero()
/openbmc/linux/net/dsa/
H A Dtrace.h97 __field(unsigned int, refcount)
107 __entry->refcount = refcount_read(refcount);
119 const refcount_t *refcount),
226 __field(unsigned int, refcount)
234 __entry->refcount = refcount_read(refcount);
282 __field(unsigned int, refcount)
290 __entry->refcount = refcount_read(refcount);
371 const refcount_t *refcount),
373 TP_ARGS(dp, vlan, refcount),
382 __field(unsigned int, refcount)
[all …]
/openbmc/linux/arch/arm64/kvm/hyp/include/nvhe/
H A Dmemory.h11 unsigned short refcount; member
49 return p->refcount; in hyp_page_count()
54 BUG_ON(p->refcount == USHRT_MAX); in hyp_page_ref_inc()
55 p->refcount++; in hyp_page_ref_inc()
60 BUG_ON(!p->refcount); in hyp_page_ref_dec()
61 p->refcount--; in hyp_page_ref_dec()
67 return (p->refcount == 0); in hyp_page_ref_dec_and_test()
72 BUG_ON(p->refcount); in hyp_set_page_refcounted()
73 p->refcount = 1; in hyp_set_page_refcounted()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_surface.c112 kref_init(&plane_state->refcount); in dc_create_plane_state()
178 kref_get(&plane_state->refcount); in dc_plane_state_retain()
195 kref_get(&gamma->refcount); in dc_gamma_retain()
206 kref_put(&(*gamma)->refcount, dc_gamma_free); in dc_gamma_release()
217 kref_init(&gamma->refcount); in dc_create_gamma()
226 kref_get(&tf->refcount); in dc_transfer_func_retain()
237 kref_put(&tf->refcount, dc_transfer_func_free); in dc_transfer_func_release()
247 kref_init(&tf->refcount); in dc_create_transfer_func()
269 kref_init(&lut->refcount); in dc_create_3dlut_func()
281 kref_put(&lut->refcount, dc_3dlut_func_free); in dc_3dlut_func_release()
[all …]
H A Ddc_sink.c62 kref_get(&sink->refcount); in dc_sink_retain()
67 struct dc_sink *sink = container_of(kref, struct dc_sink, refcount); in dc_sink_free()
74 kref_put(&sink->refcount, dc_sink_free); in dc_sink_release()
87 kref_init(&sink->refcount); in dc_sink_create()
/openbmc/linux/include/trace/events/
H A Dobjagg.h88 unsigned int refcount),
90 TP_ARGS(objagg, obj, refcount),
95 __field(unsigned int, refcount)
101 __entry->refcount = refcount;
105 __entry->objagg, __entry->obj, __entry->refcount)
111 unsigned int refcount),
113 TP_ARGS(objagg, obj, refcount),
118 __field(unsigned int, refcount)
124 __entry->refcount = refcount;
128 __entry->objagg, __entry->obj, __entry->refcount)
/openbmc/linux/drivers/scsi/qedf/
H A Dqedf_els.c196 int refcount; in qedf_rrq_compl() local
211 refcount = kref_read(&orig_io_req->refcount); in qedf_rrq_compl()
221 if (orig_io_req && refcount > 0) in qedf_rrq_compl()
248 int refcount; in qedf_send_rrq() local
258 refcount = kref_read(&aborted_io_req->refcount); in qedf_send_rrq()
283 refcount = kref_read(&aborted_io_req->refcount); in qedf_send_rrq()
284 if (refcount != 1) { in qedf_send_rrq()
549 int refcount; in qedf_srr_compl() local
569 refcount = kref_read(&orig_io_req->refcount); in qedf_srr_compl()
844 int refcount; in qedf_rec_compl() local
[all …]
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dmmu_rb.c22 static void release_immediate(struct kref *refcount);
111 kref_put(&rbnode->refcount, release_immediate); in hfi1_mmu_rb_unregister()
188 static void release_immediate(struct kref *refcount) in release_immediate() argument
191 container_of(refcount, struct mmu_rb_node, refcount); in release_immediate()
197 static void release_nolock(struct kref *refcount) in release_nolock() argument
200 container_of(refcount, struct mmu_rb_node, refcount); in release_nolock()
213 void hfi1_mmu_rb_release(struct kref *refcount) in hfi1_mmu_rb_release() argument
216 container_of(refcount, struct mmu_rb_node, refcount); in hfi1_mmu_rb_release()
241 if (kref_read(&rbnode->refcount) > 1) in hfi1_mmu_rb_evict()
257 kref_put(&rbnode->refcount, release_immediate); in hfi1_mmu_rb_evict()
[all …]
H A Dtrace_mmu.h22 __field(unsigned int, refcount)
26 __entry->refcount = kref_read(&node->refcount);
31 __entry->refcount
/openbmc/linux/Documentation/core-api/
H A Dkref.rst28 struct kref refcount;
46 kref_init(&data->refcount);
48 This sets the refcount in the kref to 1.
60 kref_get(&data->refcount);
95 kref_put(&data->refcount, data_release);
106 kref_init(&data->refcount);
108 kref_get(&data->refcount);
144 kref_get(&data->refcount);
180 struct kref refcount;
190 kref_get(&entry->refcount);
[all …]
/openbmc/linux/mm/
H A Dzpool.c36 atomic_set(&driver->refcount, 0); in zpool_register_driver()
54 int ret = 0, refcount; in zpool_unregister_driver() local
57 refcount = atomic_read(&driver->refcount); in zpool_unregister_driver()
58 WARN_ON(refcount < 0); in zpool_unregister_driver()
59 if (refcount > 0) in zpool_unregister_driver()
80 atomic_inc(&driver->refcount); in zpool_get_driver()
92 atomic_dec(&driver->refcount); in zpool_put_driver()
/openbmc/linux/net/batman-adv/
H A Doriginator.c190 kref_init(&vlan->refcount); in batadv_orig_node_vlan_new()
193 kref_get(&vlan->refcount); in batadv_orig_node_vlan_new()
273 refcount); in batadv_hardif_neigh_release()
402 kref_get(&if_outgoing->refcount); in batadv_orig_ifinfo_new()
409 kref_init(&orig_ifinfo->refcount); in batadv_orig_ifinfo_new()
411 kref_get(&orig_ifinfo->refcount); in batadv_orig_ifinfo_new()
559 kref_get(&hard_iface->refcount); in batadv_hardif_neigh_create()
671 kref_get(&hard_iface->refcount); in batadv_neigh_node_create()
682 kref_init(&neigh_node->refcount); in batadv_neigh_node_create()
684 kref_get(&neigh_node->refcount); in batadv_neigh_node_create()
[all …]
H A Doriginator.h96 kref_put(&orig_vlan->refcount, batadv_orig_node_vlan_release); in batadv_orig_node_vlan_put()
110 kref_put(&neigh_ifinfo->refcount, batadv_neigh_ifinfo_release); in batadv_neigh_ifinfo_put()
124 kref_put(&hardif_neigh->refcount, batadv_hardif_neigh_release); in batadv_hardif_neigh_put()
137 kref_put(&neigh_node->refcount, batadv_neigh_node_release); in batadv_neigh_node_put()
151 kref_put(&orig_ifinfo->refcount, batadv_orig_ifinfo_release); in batadv_orig_ifinfo_put()
164 kref_put(&orig_node->refcount, batadv_orig_node_release); in batadv_orig_node_put()
H A Dtypes.h190 struct kref refcount; member
274 struct kref refcount; member
344 struct kref refcount; member
497 struct kref refcount; member
572 struct kref refcount; member
631 struct kref refcount; member
666 struct kref refcount; member
735 struct kref refcount; member
1482 struct kref refcount; member
1510 struct kref refcount; member
[all …]
/openbmc/linux/drivers/media/mc/
H A Dmc-dev-allocator.c33 struct kref refcount; member
45 container_of(kref, struct media_device_instance, refcount); in media_device_instance_release()
71 kref_get(&mdi->refcount); in __media_device_get()
89 kref_init(&mdi->refcount); in __media_device_get()
133 kref_put(&mdi->refcount, media_device_instance_release); in media_device_delete()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dgeneve.c14 u32 refcount; member
72 if (geneve->refcount) { in mlx5_geneve_tlv_option_add()
76 geneve->refcount++; in mlx5_geneve_tlv_option_add()
107 geneve->refcount++; in mlx5_geneve_tlv_option_add()
122 if (--geneve->refcount == 0) { in mlx5_geneve_tlv_option_del()
154 if (geneve->refcount) in mlx5_geneve_destroy()
/openbmc/u-boot/arch/arm/include/asm/
H A Dprocessor.h67 atomic_t refcount; member
82 refcount: ATOMIC_INIT(1), \
115 #define get_task_struct(p) atomic_inc(&(p)->thread.refcount)
118 if (atomic_dec_and_test(&(p)->thread.refcount)) \

12345678910>>...25