Home
last modified time | relevance | path

Searched refs:done (Results 1 – 25 of 2738) sorted by relevance

12345678910>>...110

/kernel/linux/linux-5.10/kernel/
Dstop_machine.c54 static void cpu_stop_init_done(struct cpu_stop_done *done, unsigned int nr_todo) in cpu_stop_init_done() argument
56 memset(done, 0, sizeof(*done)); in cpu_stop_init_done()
57 atomic_set(&done->nr_todo, nr_todo); in cpu_stop_init_done()
58 init_completion(&done->completion); in cpu_stop_init_done()
62 static void cpu_stop_signal_done(struct cpu_stop_done *done) in cpu_stop_signal_done() argument
64 if (atomic_dec_and_test(&done->nr_todo)) in cpu_stop_signal_done()
65 complete(&done->completion); in cpu_stop_signal_done()
89 else if (work->done) in cpu_stop_queue_work()
90 cpu_stop_signal_done(work->done); in cpu_stop_queue_work()
125 struct cpu_stop_done done; in stop_one_cpu() local
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
Dhfi_msgs.c41 goto done; in event_seq_changed()
49 goto done; in event_seq_changed()
114 done: in event_seq_changed()
217 goto done; in hfi_sys_init_done()
221 goto done; in hfi_sys_init_done()
228 goto done; in hfi_sys_init_done()
233 done: in hfi_sys_init_done()
235 complete(&core->done); in hfi_sys_init_done()
281 complete(&core->done); in hfi_sys_rel_resource_done()
294 complete(&core->done); in hfi_sys_ping_done()
[all …]
/kernel/linux/linux-5.10/drivers/vme/bridges/
Dvme_fake.c525 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()
564 addr + done, aspace, cycle); in fake_master_read()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/net/atm/
Dresources.c249 goto done; in atm_dev_ioctl()
256 goto done; in atm_dev_ioctl()
266 goto done; in atm_dev_ioctl()
276 goto done; in atm_dev_ioctl()
280 goto done; in atm_dev_ioctl()
284 goto done; in atm_dev_ioctl()
289 goto done; in atm_dev_ioctl()
296 goto done; in atm_dev_ioctl()
302 goto done; in atm_dev_ioctl()
309 goto done; in atm_dev_ioctl()
[all …]
/kernel/linux/linux-5.10/kernel/sched/
Dcompletion.c34 if (x->done != UINT_MAX) in complete()
35 x->done++; in complete()
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()
293 if (!READ_ONCE(x->done)) in try_wait_for_completion()
297 if (!x->done) in try_wait_for_completion()
[all …]
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_rmap.c115 goto done; in xfs_rmap_insert()
118 goto done; in xfs_rmap_insert()
128 goto done; in xfs_rmap_insert()
131 goto done; in xfs_rmap_insert()
133 done: in xfs_rmap_insert()
157 goto done; in xfs_rmap_delete()
160 goto done; in xfs_rmap_delete()
165 goto done; in xfs_rmap_delete()
168 goto done; in xfs_rmap_delete()
170 done: in xfs_rmap_delete()
[all …]
/kernel/linux/linux-5.10/drivers/crypto/
Dpadlock-sha.c283 unsigned int partial, done; in padlock_sha1_update_nano() local
292 done = 0; in padlock_sha1_update_nano()
300 done = -partial; in padlock_sha1_update_nano()
302 done + SHA1_BLOCK_SIZE); in padlock_sha1_update_nano()
307 done += SHA1_BLOCK_SIZE; in padlock_sha1_update_nano()
308 src = data + done; in padlock_sha1_update_nano()
312 if (len - done >= SHA1_BLOCK_SIZE) { in padlock_sha1_update_nano()
316 "c"((unsigned long)((len - done) / SHA1_BLOCK_SIZE))); in padlock_sha1_update_nano()
317 done += ((len - done) - (len - done) % SHA1_BLOCK_SIZE); in padlock_sha1_update_nano()
318 src = data + done; in padlock_sha1_update_nano()
[all …]
/kernel/linux/linux-5.10/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_slow_start(bool *done) in __do_once_slow_start() argument
76 if (*done) { in __do_once_slow_start()
90 void __do_once_slow_done(bool *done, struct static_key_true *once_key, in __do_once_slow_done() argument
94 *done = true; in __do_once_slow_done()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Ddevninet.c39 int done = 0; in ninet_gifconf() local
49 done = -EFAULT; in ninet_gifconf()
53 done += size; in ninet_gifconf()
65 if (copy_to_user(buf + done, &ifr, size)) { in ninet_gifconf()
66 done = -EFAULT; in ninet_gifconf()
70 done += size; in ninet_gifconf()
73 return done; in ninet_gifconf()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dbtf_skc_cls_ingress.c107 goto done; in test_conn()
113 goto done; in test_conn()
117 goto done; in test_conn()
125 goto done; in test_conn()
131 goto done; in test_conn()
136 done: in test_conn()
162 goto done; in test_syncookie()
168 goto done; in test_syncookie()
172 goto done; in test_syncookie()
178 goto done; in test_syncookie()
[all …]
Dbpf_tcp_ca.c59 goto done; in server()
64 goto done; in server()
82 done: in server()
116 goto done; in do_test()
123 goto done; in do_test()
126 goto done; in do_test()
129 goto done; in do_test()
136 goto done; in do_test()
142 goto done; in do_test()
152 goto done; in do_test()
[all …]
Dsock_fields.c285 goto done; in test()
290 goto done; in test()
295 goto done; in test()
300 goto done; in test()
306 goto done; in test()
309 goto done; in test()
318 goto done; in test()
323 goto done; in test()
330 goto done; in test()
335 goto done; in test()
[all …]
/kernel/linux/linux-5.10/drivers/platform/chrome/
Dcros_ec_i2c.c98 goto done; in cros_ec_pkt_xfer_i2c()
102 goto done; in cros_ec_pkt_xfer_i2c()
116 goto done; in cros_ec_pkt_xfer_i2c()
132 goto done; in cros_ec_pkt_xfer_i2c()
141 goto done; in cros_ec_pkt_xfer_i2c()
150 goto done; in cros_ec_pkt_xfer_i2c()
168 goto done; in cros_ec_pkt_xfer_i2c()
173 done: in cros_ec_pkt_xfer_i2c()
205 goto done; in cros_ec_cmd_xfer_i2c()
216 goto done; in cros_ec_cmd_xfer_i2c()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dopal-xscom.c93 ssize_t done = 0; in scom_debug_read() local
107 if (!done) in scom_debug_read()
108 done = rc; in scom_debug_read()
113 done += 8; in scom_debug_read()
115 return done; in scom_debug_read()
124 ssize_t done = 0; in scom_debug_write() local
138 if (!done) in scom_debug_write()
139 done = rc; in scom_debug_write()
143 done += 8; in scom_debug_write()
145 return done; in scom_debug_write()
/kernel/linux/linux-5.10/arch/powerpc/crypto/
Dsha1.c40 unsigned int partial, done; in powerpc_sha1_update() local
45 done = 0; in powerpc_sha1_update()
51 done = -partial; in powerpc_sha1_update()
52 memcpy(sctx->buffer + partial, data, done + 64); in powerpc_sha1_update()
58 done += 64; in powerpc_sha1_update()
59 src = data + done; in powerpc_sha1_update()
60 } while (done + 63 < len); in powerpc_sha1_update()
64 memcpy(sctx->buffer + partial, src, len - done); in powerpc_sha1_update()
/kernel/linux/linux-5.10/arch/sparc/crypto/
Dsha1_glue.c43 unsigned int done = 0; in __sha1_sparc64_update() local
47 done = SHA1_BLOCK_SIZE - partial; in __sha1_sparc64_update()
48 memcpy(sctx->buffer + partial, data, done); in __sha1_sparc64_update()
51 if (len - done >= SHA1_BLOCK_SIZE) { in __sha1_sparc64_update()
52 const unsigned int rounds = (len - done) / SHA1_BLOCK_SIZE; in __sha1_sparc64_update()
54 sha1_sparc64_transform(sctx->state, data + done, rounds); in __sha1_sparc64_update()
55 done += rounds * SHA1_BLOCK_SIZE; in __sha1_sparc64_update()
58 memcpy(sctx->buffer, data + done, len - done); in __sha1_sparc64_update()
Dmd5_glue.c48 unsigned int done = 0; in __md5_sparc64_update() local
52 done = MD5_HMAC_BLOCK_SIZE - partial; in __md5_sparc64_update()
53 memcpy((u8 *)sctx->block + partial, data, done); in __md5_sparc64_update()
56 if (len - done >= MD5_HMAC_BLOCK_SIZE) { in __md5_sparc64_update()
57 const unsigned int rounds = (len - done) / MD5_HMAC_BLOCK_SIZE; in __md5_sparc64_update()
59 md5_sparc64_transform(sctx->hash, data + done, rounds); in __md5_sparc64_update()
60 done += rounds * MD5_HMAC_BLOCK_SIZE; in __md5_sparc64_update()
63 memcpy(sctx->block, data + done, len - done); in __md5_sparc64_update()
/kernel/linux/linux-5.10/arch/powerpc/platforms/chrp/
Dnvram.c24 unsigned int done; in chrp_nvram_read_val() local
34 if ((rtas_call(rtas_token("nvram-fetch"), 3, 2, &done, addr, in chrp_nvram_read_val()
35 __pa(nvram_buf), 1) != 0) || 1 != done) in chrp_nvram_read_val()
46 unsigned int done; in chrp_nvram_write_val() local
56 if ((rtas_call(rtas_token("nvram-store"), 3, 2, &done, addr, in chrp_nvram_write_val()
57 __pa(nvram_buf), 1) != 0) || 1 != done) in chrp_nvram_write_val()
/kernel/linux/linux-5.10/drivers/crypto/caam/
Dcaamrng.c46 struct completion *done; member
63 complete(jctx->done); in caam_rng_done()
85 struct completion *done) in caam_rng_read_one() argument
90 .done = done, in caam_rng_read_one()
102 init_completion(done); in caam_rng_read_one()
107 wait_for_completion(done); in caam_rng_read_one()
119 struct completion done; in caam_rng_fill_async() local
131 &done); in caam_rng_fill_async()
151 struct completion done; in caam_read() local
154 ctx->desc_sync, &done); in caam_read()
/kernel/linux/linux-5.10/drivers/usb/host/
Duhci-debug.c67 goto done; in uhci_show_td()
94 done: in uhci_show_td()
116 goto done; in uhci_show_urbp()
136 goto done; in uhci_show_urbp()
158 done: in uhci_show_urbp()
194 goto done; in uhci_show_qh()
209 goto done; in uhci_show_qh()
245 goto done; in uhci_show_qh()
255 done: in uhci_show_qh()
334 goto done; in uhci_show_status()
[all …]
/kernel/linux/linux-5.10/virt/kvm/
Dasync_pf.c40 INIT_LIST_HEAD(&vcpu->async_pf.done); in kvm_async_pf_vcpu_init()
73 first = list_empty(&vcpu->async_pf.done); in async_pf_execute()
74 list_add_tail(&apf->link, &vcpu->async_pf.done); in async_pf_execute()
125 while (!list_empty(&vcpu->async_pf.done)) { in kvm_clear_async_pf_completion_queue()
127 list_first_entry(&vcpu->async_pf.done, in kvm_clear_async_pf_completion_queue()
141 while (!list_empty_careful(&vcpu->async_pf.done) && in kvm_check_async_pf_completion()
144 work = list_first_entry(&vcpu->async_pf.done, typeof(*work), in kvm_check_async_pf_completion()
208 if (!list_empty_careful(&vcpu->async_pf.done)) in kvm_async_pf_wakeup_all()
219 first = list_empty(&vcpu->async_pf.done); in kvm_async_pf_wakeup_all()
220 list_add_tail(&work->link, &vcpu->async_pf.done); in kvm_async_pf_wakeup_all()
/kernel/linux/linux-5.10/drivers/fpga/
Dxilinx-spi.c27 struct gpio_desc *done; member
35 ret = gpiod_get_value(conf->done); in get_done_gpio()
175 int done; in xilinx_spi_write_complete() local
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()
245 conf->done = devm_gpiod_get(&spi->dev, "done", GPIOD_IN); in xilinx_spi_probe()
246 if (IS_ERR(conf->done)) in xilinx_spi_probe()
247 return dev_err_probe(&spi->dev, PTR_ERR(conf->done), in xilinx_spi_probe()

12345678910>>...110