/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A 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 …]
|
H A 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()
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
/openbmc/linux/Documentation/translations/zh_CN/scheduler/ |
H A 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 …]
|
/openbmc/phosphor-networkd/test/ |
H A D | test_netlink.cpp | 34 bool done = true; in TEST() local 35 EXPECT_THROW(processMsg(data, done, cb), std::runtime_error); in TEST() 38 EXPECT_TRUE(done); in TEST() 49 bool done = true; in TEST() local 50 EXPECT_THROW(processMsg(data, done, cb), std::runtime_error); in TEST() 53 EXPECT_TRUE(done); in TEST() 64 bool done = true; in TEST() local 65 EXPECT_THROW(processMsg(data, done, cb), std::runtime_error); in TEST() 68 EXPECT_TRUE(done); in TEST() 80 bool done = true; in TEST() local [all …]
|
/openbmc/linux/kernel/ |
H A 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 …]
|
/openbmc/linux/drivers/media/platform/qcom/venus/ |
H A 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 …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A 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 …]
|
/openbmc/linux/drivers/staging/vme_user/ |
H A 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 …]
|
/openbmc/linux/net/core/ |
H A 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 …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/terminus-font/terminus-font/ |
H A D | use-no-name-option-for-gzip.patch | 23 - for i in $(PSF) ; do gzip -c $$i > $(DESTDIR)$(psfdir)/$$i.gz ; done 24 + for i in $(PSF) ; do gzip -c -n $$i > $(DESTDIR)$(psfdir)/$$i.gz ; done 26 - for i in $(PCF) ; do gzip -c $$i > $(DESTDIR)$(x11dir)/$$i.gz ; done 27 + for i in $(PCF) ; do gzip -c -n $$i > $(DESTDIR)$(x11dir)/$$i.gz ; done 30 for i in $(PSF) ; do rm -f $(DESTDIR)$(psfdir)/$$i.gz ; done 35 - for i in $(PSF) ; do gzip -c $$i > $(DESTDIR)$(psfdir)/$$i.gz ; done 36 + for i in $(PSF) ; do gzip -c -n $$i > $(DESTDIR)$(psfdir)/$$i.gz ; done 39 for i in $(PSF) ; do rm -f $(DESTDIR)$(psfdir)/$$i.gz ; done 44 - for i in $(PSF_VGAW) ; do gzip -c $$i > $(DESTDIR)$(psfdir)/$$i.gz ; done 45 + for i in $(PSF_VGAW) ; do gzip -c -n $$i > $(DESTDIR)$(psfdir)/$$i.gz ; done [all …]
|
/openbmc/linux/net/atm/ |
H A 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 …]
|
/openbmc/u-boot/drivers/mtd/ |
H A D | mw_eeprom.c | 153 int done; in mw_eeprom_write() local 155 done = 0; in mw_eeprom_write() 165 done++; in mw_eeprom_write() 173 done+=2; in mw_eeprom_write() 185 done++; in mw_eeprom_write() 188 return done; in mw_eeprom_write() 194 int done; in mw_eeprom_read() local 196 done = 0; in mw_eeprom_read() 204 done++; in mw_eeprom_read() 212 done+=2; in mw_eeprom_read() [all …]
|
/openbmc/linux/drivers/platform/chrome/ |
H A 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 …]
|
/openbmc/linux/fs/xfs/libxfs/ |
H A 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 …]
|
/openbmc/linux/drivers/usb/typec/tcpm/qcom/ |
H A 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() 172 goto done; in qcom_pmic_typec_pdphy_pd_transmit_payload() 177 goto done; in qcom_pmic_typec_pdphy_pd_transmit_payload() 183 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 …]
|
H A 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() 262 done: in qcom_pmic_typec_port_get_cc() 292 goto done; in qcom_pmic_typec_port_set_cc() 316 goto done; in qcom_pmic_typec_port_set_cc() [all …]
|
/openbmc/linux/drivers/crypto/ |
H A 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 …]
|
/openbmc/linux/kernel/sched/ |
H A 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 …]
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A 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 …]
|
/openbmc/linux/init/ |
H A 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 …]
|
/openbmc/u-boot/env/ |
H A D | sf.c | 104 goto done; in env_sf_save() 109 goto done; in env_sf_save() 118 goto done; in env_sf_save() 125 goto done; in env_sf_save() 131 goto done; in env_sf_save() 137 goto done; in env_sf_save() 145 done: in env_sf_save() 208 goto done; in env_sf_save() 213 goto done; in env_sf_save() 218 goto done; in env_sf_save() [all …]
|
/openbmc/linux/lib/ |
H A 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()
|