Home
last modified time | relevance | path

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

12345678910>>...206

/linux/drivers/media/platform/qcom/venus/
H A 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()
274 goto done; in sys_get_prop_image_version()
279 goto done; in sys_get_prop_image_version()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_tunnel.c416 goto done; in test_vxlan_tunnel()
421 goto done; in test_vxlan_tunnel()
424 goto done; in test_vxlan_tunnel()
429 goto done; in test_vxlan_tunnel()
431 goto done; in test_vxlan_tunnel()
433 goto done; in test_vxlan_tunnel()
438 goto done; in test_vxlan_tunnel()
442 goto done; in test_vxlan_tunnel()
444 goto done; in test_vxlan_tunnel()
449 goto done; in test_vxlan_tunnel()
[all …]
H A Dexceptions.c34 goto done; in test_exceptions_success()
39 goto done; in test_exceptions_success()
97 goto done; \ in test_exceptions_success()
103 goto done; \ in test_exceptions_success()
108 goto done; \ in test_exceptions_success()
113 goto done; \ in test_exceptions_success()
116 goto done; \ in test_exceptions_success()
129 goto done; in test_exceptions_success()
139 goto done; in test_exceptions_success()
149 goto done; in test_exceptions_success()
[all …]
H A 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 …]
H A 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()
H A Dbtf_skc_cls_ingress.c90 goto done; in test_conn()
96 goto done; in test_conn()
100 goto done; in test_conn()
108 goto done; in test_conn()
114 goto done; in test_conn()
119 done: in test_conn()
145 goto done; in test_syncookie()
151 goto done; in test_syncookie()
155 goto done; in test_syncookie()
161 goto done; in test_syncookie()
[all …]
/linux/Documentation/translations/zh_CN/scheduler/
H A 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/drivers/staging/vme_user/
H A Dvme_fake.c391 /* If disabled, we're done */ in fake_lm_check()
521 unsigned int done = 0; in fake_master_read() local
547 done += 1; in fake_master_read()
548 if (done == count) in fake_master_read()
552 if ((addr + done) & 0x2) { in fake_master_read()
553 if ((count - done) < 2) { in fake_master_read()
554 *(u8 *)(buf + done) = fake_vmeread8(priv, in fake_master_read()
555 addr + done, aspace, cycle); in fake_master_read()
556 done += 1; in fake_master_read()
559 *(u16 *)(buf + done) = fake_vmeread16(priv, in fake_master_read()
[all …]
/linux/kernel/
H A 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/include/linux/dma/
H A 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/Documentation/scheduler/
H A 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/net/atm/
H A 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/fs/xfs/libxfs/
H A Dxfs_rmap.c134 goto done; in xfs_rmap_insert()
138 goto done; in xfs_rmap_insert()
148 goto done; in xfs_rmap_insert()
152 goto done; in xfs_rmap_insert()
154 done: in xfs_rmap_insert()
176 goto done; in xfs_rmap_delete()
180 goto done; in xfs_rmap_delete()
185 goto done; in xfs_rmap_delete()
189 goto done; in xfs_rmap_delete()
191 done: in xfs_rmap_delete()
[all …]
/linux/net/core/
H A 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/tools/testing/selftests/bpf/progs/
H A Ddynptr_success.c154 goto done; in test_ringbuf()
165 done: in test_ringbuf()
227 goto done; in test_adjust()
232 goto done; in test_adjust()
239 goto done; in test_adjust()
244 goto done; in test_adjust()
251 goto done; in test_adjust()
257 goto done; in test_adjust()
260 done: in test_adjust()
278 goto done; in test_adjust_err()
[all …]
/linux/drivers/fpga/
H A Dlattice-sysconfig.c93 struct gpio_desc *done = priv->done; in sysconfig_gpio_refresh() local
101 ret = sysconfig_poll_gpio(done, false); in sysconfig_gpio_refresh()
130 struct gpio_desc *done = priv->done; in sysconfig_refresh() local
132 if (program && init && done) in sysconfig_refresh()
231 struct gpio_desc *done_gpio = priv->done; in sysconfig_isc_finish()
258 struct gpio_desc *done = priv->done; in sysconfig_ops_state() local
262 if (done && (gpiod_get_value(done) > 0)) in sysconfig_ops_state()
355 struct gpio_desc *program, *init, *done; in sysconfig_probe() local
380 done = devm_gpiod_get_optional(dev, "done", GPIOD_IN); in sysconfig_probe()
381 if (IS_ERR(done)) in sysconfig_probe()
[all …]
/linux/kernel/sched/
H A Dcompletion.c22 if (x->done != UINT_MAX) in complete_with_flags()
23 x->done++; in complete_with_flags()
60 * Since complete_all() sets the completion of @x permanently to done
74 x->done = UINT_MAX; in complete_all()
84 if (!x->done) { in do_wait_for_common()
97 } while (!x->done && timeout); in do_wait_for_common()
99 if (!x->done) in do_wait_for_common()
102 if (x->done != UINT_MAX) in do_wait_for_common()
103 x->done--; in do_wait_for_common()
296 * Return: 0 if a decrement cannot be done without blocking
[all …]
/linux/drivers/platform/chrome/
H A 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/drivers/crypto/
H A 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/tools/testing/selftests/zram/
H A 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/drivers/usb/typec/tcpm/qcom/
H A Dqcom_pmic_typec_pdphy.c166 goto done; in qcom_pmic_typec_pdphy_clear_tx_control_reg()
172 done: in qcom_pmic_typec_pdphy_clear_tx_control_reg()
194 goto done; in qcom_pmic_typec_pdphy_pd_transmit_signal()
208 done: in qcom_pmic_typec_pdphy_pd_transmit_signal()
234 goto done; in qcom_pmic_typec_pdphy_pd_transmit_payload()
239 goto done; in qcom_pmic_typec_pdphy_pd_transmit_payload()
245 goto done; in qcom_pmic_typec_pdphy_pd_transmit_payload()
256 goto done; in qcom_pmic_typec_pdphy_pd_transmit_payload()
264 goto done; in qcom_pmic_typec_pdphy_pd_transmit_payload()
272 goto done; in qcom_pmic_typec_pdphy_pd_transmit_payload()
[all …]
H A Dqcom_pmic_typec_port.c250 goto done; in pmic_typec_port_isr()
263 done: in pmic_typec_port_isr()
344 goto done; in qcom_pmic_typec_port_set_vbus()
348 goto done; in qcom_pmic_typec_port_set_vbus()
353 done: in qcom_pmic_typec_port_set_vbus()
374 goto done; in qcom_pmic_typec_port_get_cc()
380 goto done; in qcom_pmic_typec_port_get_cc()
387 goto done; in qcom_pmic_typec_port_get_cc()
394 goto done; in qcom_pmic_typec_port_get_cc()
419 goto done; in qcom_pmic_typec_port_get_cc()
[all …]
/linux/init/
H A 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/drivers/gpu/drm/amd/display/include/
H A Dlink_service_types.h197 DPCD_SOURCE_SEQ_AFTER_CONNECT_DIG_FE_OTG = 1, /*done in apply_single_controller_ctx_to_hw */
198 DPCD_SOURCE_SEQ_AFTER_DP_STREAM_ATTR, /*done in core_link_enable_stream */
199 …DPCD_SOURCE_SEQ_AFTER_UPDATE_INFO_FRAME, /*done in core_link_enable_stream/dcn20_enable_strea…
200 …DPCD_SOURCE_SEQ_AFTER_CONNECT_DIG_FE_BE, /*done in perform_link_training_with_retries/dcn20_e…
201 DPCD_SOURCE_SEQ_AFTER_ENABLE_LINK_PHY, /*done in dp_enable_link_phy */
202 DPCD_SOURCE_SEQ_AFTER_SET_SOURCE_PATTERN, /*done in dp_set_hw_test_pattern */
203 DPCD_SOURCE_SEQ_AFTER_ENABLE_AUDIO_STREAM, /*done in dce110_enable_audio_stream */
204 DPCD_SOURCE_SEQ_AFTER_ENABLE_DP_VID_STREAM, /*done in enc1_stream_encoder_dp_unblank */
205 DPCD_SOURCE_SEQ_AFTER_DISABLE_DP_VID_STREAM, /*done in enc1_stream_encoder_dp_blank */
206 DPCD_SOURCE_SEQ_AFTER_FIFO_STEER_RESET, /*done in enc1_stream_encoder_dp_blank */
[all …]
/linux/tools/testing/selftests/net/
H A Dcmsg_ipv6.sh62 done
63 done
64 done
93 done
104 done
105 done
130 done
135 done
136 done
144 done
[all …]

12345678910>>...206