Home
last modified time | relevance | path

Searched refs:cwait (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/crypto/asymmetric_keys/
H A Dpublic_key.c217 struct crypto_wait cwait; in software_key_eds_op() local
261 crypto_init_wait(&cwait); in software_key_eds_op()
264 crypto_req_done, &cwait); in software_key_eds_op()
281 ret = crypto_wait_req(ret, &cwait); in software_key_eds_op()
360 struct crypto_wait cwait; in public_key_verify_signature() local
436 crypto_init_wait(&cwait); in public_key_verify_signature()
439 crypto_req_done, &cwait); in public_key_verify_signature()
440 ret = crypto_wait_req(crypto_akcipher_verify(req), &cwait); in public_key_verify_signature()
H A Dasym_tpm.c450 struct crypto_wait cwait; in tpm_key_encrypt() local
482 crypto_init_wait(&cwait); in tpm_key_encrypt()
485 crypto_req_done, &cwait); in tpm_key_encrypt()
488 ret = crypto_wait_req(ret, &cwait); in tpm_key_encrypt()
735 struct crypto_wait cwait; in tpm_key_verify_signature() local
778 crypto_init_wait(&cwait); in tpm_key_verify_signature()
781 crypto_req_done, &cwait); in tpm_key_verify_signature()
782 ret = crypto_wait_req(crypto_akcipher_verify(req), &cwait); in tpm_key_verify_signature()
/kernel/linux/linux-6.6/crypto/
H A Dakcipher.c226 crypto_init_wait(&data->cwait); in crypto_akcipher_sync_prep()
228 crypto_req_done, &data->cwait); in crypto_akcipher_sync_prep()
236 err = crypto_wait_req(err, &data->cwait); in crypto_akcipher_sync_post()
H A Dinternal.h46 struct crypto_wait cwait; member
/kernel/linux/linux-5.10/drivers/usb/serial/
H A Dti_usb_3410_5052.c1406 unsigned cwait; in ti_get_serial_info() local
1408 cwait = port->port.closing_wait; in ti_get_serial_info()
1409 if (cwait != ASYNC_CLOSING_WAIT_NONE) in ti_get_serial_info()
1410 cwait = jiffies_to_msecs(cwait) / 10; in ti_get_serial_info()
1417 ss->closing_wait = cwait; in ti_get_serial_info()
1427 unsigned cwait; in ti_set_serial_info() local
1429 cwait = ss->closing_wait; in ti_set_serial_info()
1430 if (cwait != ASYNC_CLOSING_WAIT_NONE) in ti_set_serial_info()
1431 cwait in ti_set_serial_info()
[all...]
H A Dio_ti.c2447 unsigned cwait; in get_serial_info() local
2449 cwait = edge_port->port->port.closing_wait; in get_serial_info()
2450 if (cwait != ASYNC_CLOSING_WAIT_NONE) in get_serial_info()
2451 cwait = jiffies_to_msecs(cwait) / 10; in get_serial_info()
2460 ss->closing_wait = cwait; in get_serial_info()
/kernel/linux/linux-5.10/kernel/
H A Dworkqueue.c3089 struct cwt_wait *cwait = container_of(wait, struct cwt_wait, wait); in cwt_wakefn() local
3091 if (cwait->work != key) in cwt_wakefn()
3121 struct cwt_wait cwait; in __cancel_work_timer() local
3123 init_wait(&cwait.wait); in __cancel_work_timer()
3124 cwait.wait.func = cwt_wakefn; in __cancel_work_timer()
3125 cwait.work = work; in __cancel_work_timer()
3127 prepare_to_wait_exclusive(&cancel_waitq, &cwait.wait, in __cancel_work_timer()
3131 finish_wait(&cancel_waitq, &cwait.wait); in __cancel_work_timer()
/kernel/linux/linux-6.6/kernel/
H A Dworkqueue.c3829 struct cwt_wait *cwait = container_of(wait, struct cwt_wait, wait); in cwt_wakefn() local
3831 if (cwait->work != key) in cwt_wakefn()
3861 struct cwt_wait cwait; in __cancel_work_timer() local
3863 init_wait(&cwait.wait); in __cancel_work_timer()
3864 cwait.wait.func = cwt_wakefn; in __cancel_work_timer()
3865 cwait.work = work; in __cancel_work_timer()
3867 prepare_to_wait_exclusive(&cancel_waitq, &cwait.wait, in __cancel_work_timer()
3871 finish_wait(&cancel_waitq, &cwait.wait); in __cancel_work_timer()

Completed in 24 milliseconds