/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | test_tunnel.c | 324 goto done; in test_vxlan_tunnel() 329 goto done; in test_vxlan_tunnel() 332 goto done; in test_vxlan_tunnel() 337 goto done; in test_vxlan_tunnel() 339 goto done; in test_vxlan_tunnel() 341 goto done; in test_vxlan_tunnel() 346 goto done; in test_vxlan_tunnel() 350 goto done; in test_vxlan_tunnel() 352 goto done; in test_vxlan_tunnel() 357 goto done; in test_vxlan_tunnel() [all …]
|
D | netns_cookie.c | 28 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()
|
D | bpf_iter_setsockopt.c | 118 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 …]
|
D | btf_skc_cls_ingress.c | 90 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 …]
|
D | xfrm_info.c | 231 goto done; in setup_xfrmi_external_dev() 235 goto done; in setup_xfrmi_external_dev() 238 goto done; in setup_xfrmi_external_dev() 241 done: in setup_xfrmi_external_dev() 303 goto done; in _test_xfrm_info() 306 goto done; in _test_xfrm_info() 309 goto done; in _test_xfrm_info() 314 goto done; in _test_xfrm_info() 316 goto done; in _test_xfrm_info() 319 goto done; in _test_xfrm_info() [all …]
|
D | tcpbpf_user.c | 56 goto done; in run_test() 60 goto done; in run_test() 64 goto done; in run_test() 72 goto done; in run_test() 76 goto done; in run_test() 84 goto done; in run_test() 88 goto done; in run_test() 97 goto done; in run_test() 102 done: in run_test()
|
/Linux-v6.6/Documentation/translations/zh_CN/scheduler/ |
D | completion.rst | 33 事件被简化为 ``struct completion`` 中的一个简单标志,被恰如其名地称为‘done’。 49 完成标记为 "done",这是完全正常的。 55 unsigned int done; 59 结构体提供了->wait等待队列来放置任务进行等待(如果有的话),以及->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) [all …]
|
/Linux-v6.6/kernel/ |
D | stop_machine.c | 70 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() 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() 141 struct cpu_stop_done done; in stop_one_cpu() local [all …]
|
/Linux-v6.6/drivers/media/platform/qcom/venus/ |
D | hfi_msgs.c | 47 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-v6.6/tools/testing/selftests/bpf/progs/ |
D | dynptr_success.c | 153 goto done; in test_ringbuf() 164 done: in test_ringbuf() 226 goto done; in test_adjust() 231 goto done; in test_adjust() 238 goto done; in test_adjust() 243 goto done; in test_adjust() 250 goto done; in test_adjust() 256 goto done; in test_adjust() 259 done: in test_adjust() 277 goto done; in test_adjust_err() [all …]
|
/Linux-v6.6/drivers/staging/vme_user/ |
D | vme_fake.c | 522 unsigned int done = 0; in fake_master_read() local 548 done += 1; in fake_master_read() 549 if (done == count) in fake_master_read() 553 if ((addr + done) & 0x2) { in fake_master_read() 554 if ((count - done) < 2) { in fake_master_read() 555 *(u8 *)(buf + done) = fake_vmeread8(priv, in fake_master_read() 556 addr + done, aspace, cycle); in fake_master_read() 557 done += 1; in fake_master_read() 560 *(u16 *)(buf + done) = fake_vmeread16(priv, in fake_master_read() 561 addr + done, aspace, cycle); in fake_master_read() [all …]
|
/Linux-v6.6/net/core/ |
D | failover.c | 54 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.6/net/atm/ |
D | resources.c | 246 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.6/drivers/platform/chrome/ |
D | cros_ec_i2c.c | 77 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.6/fs/xfs/libxfs/ |
D | xfs_rmap.c | 133 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.6/drivers/usb/typec/tcpm/qcom/ |
D | qcom_pmic_typec_pdphy.c | 100 goto done; in qcom_pmic_typec_pdphy_clear_tx_control_reg() 106 done: in qcom_pmic_typec_pdphy_clear_tx_control_reg() 128 goto done; in qcom_pmic_typec_pdphy_pd_transmit_signal() 142 done: in qcom_pmic_typec_pdphy_pd_transmit_signal() 168 goto done; in qcom_pmic_typec_pdphy_pd_transmit_payload() 173 goto done; in qcom_pmic_typec_pdphy_pd_transmit_payload() 179 goto done; in qcom_pmic_typec_pdphy_pd_transmit_payload() 190 goto done; in qcom_pmic_typec_pdphy_pd_transmit_payload() 198 goto done; in qcom_pmic_typec_pdphy_pd_transmit_payload() 206 goto done; in qcom_pmic_typec_pdphy_pd_transmit_payload() [all …]
|
D | qcom_pmic_typec_port.c | 109 goto done; in pmic_typec_port_isr() 122 done: in pmic_typec_port_isr() 194 goto done; in qcom_pmic_typec_port_get_cc() 200 goto done; in qcom_pmic_typec_port_get_cc() 207 goto done; in qcom_pmic_typec_port_get_cc() 214 goto done; in qcom_pmic_typec_port_get_cc() 239 goto done; in qcom_pmic_typec_port_get_cc() 263 done: in qcom_pmic_typec_port_get_cc() 293 goto done; in qcom_pmic_typec_port_set_cc() 317 goto done; in qcom_pmic_typec_port_set_cc() [all …]
|
/Linux-v6.6/kernel/sched/ |
D | completion.c | 22 if (x->done != UINT_MAX) in complete_with_flags() 23 x->done++; in complete_with_flags() 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() 315 if (!READ_ONCE(x->done)) in try_wait_for_completion() 319 if (!x->done) in try_wait_for_completion() [all …]
|
/Linux-v6.6/drivers/crypto/ |
D | padlock-sha.c | 284 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.6/drivers/media/v4l2-core/ |
D | videobuf-core.c | 68 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.6/init/ |
D | do_mounts_rd.c | 97 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.6/lib/ |
D | once.c | 42 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()
|
/Linux-v6.6/drivers/fpga/ |
D | lattice-sysconfig.c | 93 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-v6.6/tools/perf/bench/ |
D | breakpoint.c | 70 unsigned int *done = (unsigned int *)arg; in passive_thread() local 72 while (!__atomic_load_n(done, __ATOMIC_RELAXED)) in passive_thread() 73 futex_wait(done, 0, NULL, 0); in passive_thread() 79 unsigned int *done = (unsigned int *)arg; in active_thread() local 81 while (!__atomic_load_n(done, __ATOMIC_RELAXED)); in active_thread() 87 unsigned int i, done; in breakpoint_thread() local 96 done = 0; in breakpoint_thread() 98 if (pthread_create(&threads[i], NULL, passive_thread, &done)) in breakpoint_thread() 101 __atomic_store_n(&done, 1, __ATOMIC_RELAXED); in breakpoint_thread() 102 futex_wake(&done, thread_params.nthreads, 0); in breakpoint_thread() [all …]
|
/Linux-v6.6/arch/powerpc/crypto/ |
D | sha1.c | 30 unsigned int partial, done; in powerpc_sha1_update() local 35 done = 0; in powerpc_sha1_update() 41 done = -partial; in powerpc_sha1_update() 42 memcpy(sctx->buffer + partial, data, done + 64); in powerpc_sha1_update() 48 done += 64; in powerpc_sha1_update() 49 src = data + done; in powerpc_sha1_update() 50 } while (done + 63 < len); in powerpc_sha1_update() 54 memcpy(sctx->buffer + partial, src, len - done); in powerpc_sha1_update()
|