Searched refs:queue (Results 1 – 3 of 3) sorted by relevance
37 struct crypto_queue queue; member51 struct cryptd_queue *queue; member56 struct cryptd_queue *queue; member61 struct cryptd_queue *queue; member66 struct cryptd_queue *queue; member100 static int cryptd_init_queue(struct cryptd_queue *queue, in cryptd_init_queue() argument106 queue->cpu_queue = alloc_percpu(struct cryptd_cpu_queue); in cryptd_init_queue()107 if (!queue->cpu_queue) in cryptd_init_queue()110 cpu_queue = per_cpu_ptr(queue->cpu_queue, cpu); in cryptd_init_queue()111 crypto_init_queue(&cpu_queue->queue, max_cpu_qlen); in cryptd_init_queue()[all …]
912 void crypto_init_queue(struct crypto_queue *queue, unsigned int max_qlen) in crypto_init_queue() argument914 INIT_LIST_HEAD(&queue->list); in crypto_init_queue()915 queue->backlog = &queue->list; in crypto_init_queue()916 queue->qlen = 0; in crypto_init_queue()917 queue->max_qlen = max_qlen; in crypto_init_queue()921 int crypto_enqueue_request(struct crypto_queue *queue, in crypto_enqueue_request() argument926 if (unlikely(queue->qlen >= queue->max_qlen)) { in crypto_enqueue_request()932 if (queue->backlog == &queue->list) in crypto_enqueue_request()933 queue->backlog = &request->list; in crypto_enqueue_request()936 queue->qlen++; in crypto_enqueue_request()[all …]
93 if (!crypto_queue_len(&engine->queue) || !engine->running) { in crypto_pump_requests()119 backlog = crypto_get_backlog(&engine->queue); in crypto_pump_requests()120 async_req = crypto_dequeue_request(&engine->queue); in crypto_pump_requests()198 crypto_enqueue_request_head(&engine->queue, async_req); in crypto_pump_requests()271 ret = crypto_enqueue_request(&engine->queue, req); in crypto_transfer_request()444 while ((crypto_queue_len(&engine->queue) || engine->busy) && limit--) { in crypto_engine_stop()450 if (crypto_queue_len(&engine->queue) || engine->busy) in crypto_engine_stop()512 crypto_init_queue(&engine->queue, qlen); in crypto_engine_alloc_init_and_set()