Home
last modified time | relevance | path

Searched full:done (Results 1 – 25 of 4272) sorted by relevance

12345678910>>...171

/Linux-v6.1/drivers/media/platform/qcom/venus/
Dhfi_msgs.c47 goto done; in event_seq_changed()
55 goto done; in event_seq_changed()
126 done: in event_seq_changed()
229 goto done; in hfi_sys_init_done()
233 goto done; in hfi_sys_init_done()
240 goto done; in hfi_sys_init_done()
245 done: in hfi_sys_init_done()
247 complete(&core->done); in hfi_sys_init_done()
304 complete(&core->done); in hfi_sys_rel_resource_done()
317 complete(&core->done); in hfi_sys_ping_done()
[all …]
/Linux-v6.1/Documentation/translations/zh_CN/scheduler/
Dcompletion.rst33 事件被简化为 ``struct completion`` 中的一个简单标志,被恰如其名地称为‘done’。
49 完成标记为 "done",这是完全正常的。
55 unsigned int done;
84 init_completion(&dynamic_object->done);
86 在这个调用中,我们初始化 waitqueue 并将 ->done 设置为 0,即“not completed”或
87 “not done”。
89 重新初始化函数reinit_completion(),只是将->done字段重置为0(“not done”),而
104 注意,在这种情况下,完成在启动时(或模块加载时)被初始化为“not done”,不需要调用
134 void wait_for_completion(struct completion *done)
180 int wait_for_completion_interruptible(struct completion *done)
[all …]
/Linux-v6.1/drivers/staging/vme_user/
Dvme_fake.c394 /* If disabled, we're done */ in fake_lm_check()
525 unsigned int done = 0; in fake_master_read() local
551 done += 1; in fake_master_read()
552 if (done == count) in fake_master_read()
556 if ((addr + done) & 0x2) { in fake_master_read()
557 if ((count - done) < 2) { in fake_master_read()
558 *(u8 *)(buf + done) = fake_vmeread8(priv, in fake_master_read()
559 addr + done, aspace, cycle); in fake_master_read()
560 done += 1; in fake_master_read()
563 *(u16 *)(buf + done) = fake_vmeread16(priv, in fake_master_read()
[all …]
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dtest_tunnel.c263 goto done; in test_vxlan_tunnel()
268 goto done; in test_vxlan_tunnel()
271 goto done; in test_vxlan_tunnel()
276 goto done; in test_vxlan_tunnel()
278 goto done; in test_vxlan_tunnel()
280 goto done; in test_vxlan_tunnel()
285 goto done; in test_vxlan_tunnel()
289 goto done; in test_vxlan_tunnel()
291 goto done; in test_vxlan_tunnel()
296 goto done; in test_vxlan_tunnel()
[all …]
Dnetns_cookie.c28 goto done; in test_netns_cookie()
33 goto done; in test_netns_cookie()
39 goto done; in test_netns_cookie()
43 goto done; in test_netns_cookie()
47 goto done; in test_netns_cookie()
51 goto done; in test_netns_cookie()
56 goto done; in test_netns_cookie()
61 goto done; in test_netns_cookie()
68 goto done; in test_netns_cookie()
72 done: in test_netns_cookie()
Dbpf_iter_setsockopt.c118 goto done; in do_bpf_iter_setsockopt()
122 goto done; in do_bpf_iter_setsockopt()
127 goto done; in do_bpf_iter_setsockopt()
134 goto done; in do_bpf_iter_setsockopt()
137 goto done; in do_bpf_iter_setsockopt()
141 goto done; in do_bpf_iter_setsockopt()
147 goto done; in do_bpf_iter_setsockopt()
153 goto done; in do_bpf_iter_setsockopt()
172 done: in do_bpf_iter_setsockopt()
199 goto done; in serial_test_bpf_iter_setsockopt()
[all …]
Dtc_redirect.c295 goto done; in test_tcp()
300 goto done; in test_tcp()
304 goto done; in test_tcp()
308 goto done; in test_tcp()
311 goto done; in test_tcp()
315 goto done; in test_tcp()
320 done: in test_tcp()
457 goto done; in test_inet_dtime()
466 goto done; in test_inet_dtime()
471 goto done; in test_inet_dtime()
[all …]
Dbpf_tcp_ca.c47 goto done; in server()
52 goto done; in server()
70 done: in server()
104 goto done; in do_test()
111 goto done; in do_test()
114 goto done; in do_test()
117 goto done; in do_test()
124 goto done; in do_test()
130 goto done; in do_test()
140 goto done; in do_test()
[all …]
/Linux-v6.1/kernel/
Dstop_machine.c70 static void cpu_stop_init_done(struct cpu_stop_done *done, unsigned int nr_todo) in cpu_stop_init_done() argument
72 memset(done, 0, sizeof(*done)); in cpu_stop_init_done()
73 atomic_set(&done->nr_todo, nr_todo); in cpu_stop_init_done()
74 init_completion(&done->completion); in cpu_stop_init_done()
77 /* signal completion unless @done is NULL */
78 static void cpu_stop_signal_done(struct cpu_stop_done *done) in cpu_stop_signal_done() argument
80 if (atomic_dec_and_test(&done->nr_todo)) in cpu_stop_signal_done()
81 complete(&done->completion); in cpu_stop_signal_done()
105 else if (work->done) in cpu_stop_queue_work()
106 cpu_stop_signal_done(work->done); in cpu_stop_queue_work()
[all …]
/Linux-v6.1/include/linux/dma/
Dsprd-dma.h18 * configurations. Once the source channel's transaction is done, it will
50 * automatically once the source channel's fragment request is done.
52 * automatically once the source channel's block request is done.
54 * automatically once the source channel's transfer request is done.
56 * automatically once the source channel's link-list request is done.
89 * @SPRD_DMA_FRAG_INT: fragment done interrupt when one fragment request
90 * is done.
91 * @SPRD_DMA_BLK_INT: block done interrupt when one block request is done.
93 * or one block request is done.
94 * @SPRD_DMA_TRANS_INT: tansaction done interrupt when one transaction
[all …]
/Linux-v6.1/Documentation/scheduler/
Dcompletion.rst27 is reduced to a simple flag in 'struct completion', appropriately called "done".
45 to have marked a completion as 'done' before another thread checks whether
53 unsigned int done;
58 the ->done completion flag for indicating whether it's completed or not.
84 Initializing of dynamically allocated completion objects is done via a call to
87 init_completion(&dynamic_object->done);
89 In this call we initialize the waitqueue and set ->done to 0, i.e. "not completed"
90 or "not done".
93 ->done field to 0 ("not done"), without touching the waitqueue.
111 initialized to 'not done' and doesn't require an init_completion() call.
[all …]
/Linux-v6.1/net/atm/
Dresources.c246 goto done; in atm_dev_ioctl()
253 goto done; in atm_dev_ioctl()
263 goto done; in atm_dev_ioctl()
273 goto done; in atm_dev_ioctl()
277 goto done; in atm_dev_ioctl()
281 goto done; in atm_dev_ioctl()
286 goto done; in atm_dev_ioctl()
293 goto done; in atm_dev_ioctl()
299 goto done; in atm_dev_ioctl()
306 goto done; in atm_dev_ioctl()
[all …]
/Linux-v6.1/net/core/
Dfailover.c54 goto done; in failover_slave_register()
60 goto done; in failover_slave_register()
64 goto done; in failover_slave_register()
71 goto done; in failover_slave_register()
93 done: in failover_slave_register()
110 goto done; in failover_slave_unregister()
116 goto done; in failover_slave_unregister()
120 goto done; in failover_slave_unregister()
130 done: in failover_slave_unregister()
141 goto done; in failover_slave_link_change()
[all …]
/Linux-v6.1/fs/xfs/libxfs/
Dxfs_rmap.c133 goto done; in xfs_rmap_insert()
136 goto done; in xfs_rmap_insert()
146 goto done; in xfs_rmap_insert()
149 goto done; in xfs_rmap_insert()
151 done: in xfs_rmap_insert()
175 goto done; in xfs_rmap_delete()
178 goto done; in xfs_rmap_delete()
183 goto done; in xfs_rmap_delete()
186 goto done; in xfs_rmap_delete()
188 done: in xfs_rmap_delete()
[all …]
/Linux-v6.1/drivers/media/v4l2-core/
Dvideobuf-core.c68 init_waitqueue_head(&vb->done); in videobuf_alloc_vb()
109 ret = wait_event_interruptible(vb->done, in videobuf_waiton()
112 wait_event(vb->done, state_neither_active_nor_queued(q, vb)); in videobuf_waiton()
280 wake_up_all(&q->bufs[i]->done); in videobuf_queue_cancel()
457 goto done; in videobuf_reqbufs()
463 goto done; in videobuf_reqbufs()
468 goto done; in videobuf_reqbufs()
474 goto done; in videobuf_reqbufs()
489 goto done; in videobuf_reqbufs()
495 done: in videobuf_reqbufs()
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/display/include/
Dlink_service_types.h68 /* CR DONE bit is cleared during EQ step */
70 /* CR DONE bit is cleared but LANE0_CR_DONE is set during EQ step */
210 DPCD_SOURCE_SEQ_AFTER_CONNECT_DIG_FE_OTG = 1, /*done in apply_single_controller_ctx_to_hw */
211 DPCD_SOURCE_SEQ_AFTER_DP_STREAM_ATTR, /*done in core_link_enable_stream */
212 …DPCD_SOURCE_SEQ_AFTER_UPDATE_INFO_FRAME, /*done in core_link_enable_stream/dcn20_enable_strea…
213 …DPCD_SOURCE_SEQ_AFTER_CONNECT_DIG_FE_BE, /*done in perform_link_training_with_retries/dcn20_e…
214 DPCD_SOURCE_SEQ_AFTER_ENABLE_LINK_PHY, /*done in dp_enable_link_phy */
215 DPCD_SOURCE_SEQ_AFTER_SET_SOURCE_PATTERN, /*done in dp_set_hw_test_pattern */
216 DPCD_SOURCE_SEQ_AFTER_ENABLE_AUDIO_STREAM, /*done in dce110_enable_audio_stream */
217 DPCD_SOURCE_SEQ_AFTER_ENABLE_DP_VID_STREAM, /*done in enc1_stream_encoder_dp_unblank */
[all …]
/Linux-v6.1/kernel/sched/
Dcompletion.c34 if (x->done != UINT_MAX) in complete()
35 x->done++; in complete()
50 * Since complete_all() sets the completion of @x permanently to done
64 x->done = UINT_MAX; in complete_all()
74 if (!x->done) { in do_wait_for_common()
87 } while (!x->done && timeout); in do_wait_for_common()
89 if (!x->done) in do_wait_for_common()
92 if (x->done != UINT_MAX) in do_wait_for_common()
93 x->done--; in do_wait_for_common()
286 * Return: 0 if a decrement cannot be done without blocking
[all …]
/Linux-v6.1/drivers/platform/chrome/
Dcros_ec_i2c.c77 goto done; in cros_ec_pkt_xfer_i2c()
86 goto done; in cros_ec_pkt_xfer_i2c()
99 goto done; in cros_ec_pkt_xfer_i2c()
106 goto done; in cros_ec_pkt_xfer_i2c()
110 goto done; in cros_ec_pkt_xfer_i2c()
124 goto done; in cros_ec_pkt_xfer_i2c()
140 goto done; in cros_ec_pkt_xfer_i2c()
149 goto done; in cros_ec_pkt_xfer_i2c()
158 goto done; in cros_ec_pkt_xfer_i2c()
176 goto done; in cros_ec_pkt_xfer_i2c()
[all …]
/Linux-v6.1/drivers/crypto/
Dpadlock-sha.c284 unsigned int partial, done; in padlock_sha1_update_nano() local
293 done = 0; in padlock_sha1_update_nano()
301 done = -partial; in padlock_sha1_update_nano()
303 done + SHA1_BLOCK_SIZE); in padlock_sha1_update_nano()
308 done += SHA1_BLOCK_SIZE; in padlock_sha1_update_nano()
309 src = data + done; in padlock_sha1_update_nano()
313 if (len - done >= SHA1_BLOCK_SIZE) { in padlock_sha1_update_nano()
317 "c"((unsigned long)((len - done) / SHA1_BLOCK_SIZE))); in padlock_sha1_update_nano()
318 done += ((len - done) - (len - done) % SHA1_BLOCK_SIZE); in padlock_sha1_update_nano()
319 src = data + done; in padlock_sha1_update_nano()
[all …]
/Linux-v6.1/drivers/fpga/
Dxilinx-spi.c27 struct gpio_desc *done; member
35 ret = gpiod_get_value(conf->done); in get_done_gpio()
38 dev_err(&mgr->dev, "Error reading DONE (%d)\n", ret); in get_done_gpio()
121 dev_err(&mgr->dev, "Unexpected DONE pin state...\n"); in xilinx_spi_write_init()
175 int done; in xilinx_spi_write_complete() local
180 * scheduled out for more than 'timeout', we still check for DONE in xilinx_spi_write_complete()
186 done = get_done_gpio(mgr); in xilinx_spi_write_complete()
187 if (done < 0) in xilinx_spi_write_complete()
188 return done; in xilinx_spi_write_complete()
194 if (done) in xilinx_spi_write_complete()
[all …]
/Linux-v6.1/tools/testing/selftests/zram/
Dzram_lib.sh53 done
57 done
62 done
67 done
89 done
143 done
162 done
178 done
195 done
217 echo "done with /dev/zram$i"
[all …]
/Linux-v6.1/init/
Ddo_mounts_rd.c97 goto done; in identify_ramdisk_image()
107 goto done; in identify_ramdisk_image()
115 goto done; in identify_ramdisk_image()
125 goto done; in identify_ramdisk_image()
139 goto done; in identify_ramdisk_image()
155 goto done; in identify_ramdisk_image()
165 goto done; in identify_ramdisk_image()
172 done: in identify_ramdisk_image()
209 goto done; in rd_load_image()
214 goto done; in rd_load_image()
[all …]
/Linux-v6.1/drivers/block/paride/
Dmkd18 done
23 for u in 0 1 2 3 ; do pd $u ; done
24 for u in 0 1 2 3 ; do mkdev pcd$u b 46 $u ; done
25 for u in 0 1 2 3 ; do mkdev pf$u b 47 $u ; done
26 for u in 0 1 2 3 ; do mkdev pt$u c 96 $u ; done
27 for u in 0 1 2 3 ; do mkdev npt$u c 96 $[ $u + 128 ] ; done
28 for u in 0 1 2 3 ; do mkdev pg$u c 97 $u ; done
/Linux-v6.1/tools/testing/selftests/netfilter/
Dnft_trans_stress.sh57 done
63 done
65 done
66 done
77 done)
82 for i in $(seq 1 10) ; do ip netns exec "$testns" nft -f "$tmp" & done
92 done
103 done
124 done
138 done
/Linux-v6.1/lib/
Donce.c42 bool __do_once_start(bool *done, unsigned long *flags) in __do_once_start() argument
46 if (*done) { in __do_once_start()
60 void __do_once_done(bool *done, struct static_key_true *once_key, in __do_once_done() argument
64 *done = true; in __do_once_done()
72 bool __do_once_sleepable_start(bool *done) in __do_once_sleepable_start() argument
76 if (*done) { in __do_once_sleepable_start()
90 void __do_once_sleepable_done(bool *done, struct static_key_true *once_key, in __do_once_sleepable_done() argument
94 *done = true; in __do_once_sleepable_done()

12345678910>>...171