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 …]
942 void crypto_init_queue(struct crypto_queue *queue, unsigned int max_qlen) in crypto_init_queue() argument944 INIT_LIST_HEAD(&queue->list); in crypto_init_queue()945 queue->backlog = &queue->list; in crypto_init_queue()946 queue->qlen = 0; in crypto_init_queue()947 queue->max_qlen = max_qlen; in crypto_init_queue()951 int crypto_enqueue_request(struct crypto_queue *queue, in crypto_enqueue_request() argument956 if (unlikely(queue->qlen >= queue->max_qlen)) { in crypto_enqueue_request()962 if (queue->backlog == &queue->list) in crypto_enqueue_request()963 queue->backlog = &request->list; in crypto_enqueue_request()966 queue->qlen++; in crypto_enqueue_request()[all …]
96 if (!crypto_queue_len(&engine->queue) || !engine->running) { in crypto_pump_requests()122 backlog = crypto_get_backlog(&engine->queue); in crypto_pump_requests()123 async_req = crypto_dequeue_request(&engine->queue); in crypto_pump_requests()183 crypto_enqueue_request_head(&engine->queue, async_req); in crypto_pump_requests()250 ret = crypto_enqueue_request(&engine->queue, req); in crypto_transfer_request()449 while ((crypto_queue_len(&engine->queue) || engine->busy) && limit--) { in crypto_engine_stop()455 if (crypto_queue_len(&engine->queue) || engine->busy) in crypto_engine_stop()517 crypto_init_queue(&engine->queue, qlen); in crypto_engine_alloc_init_and_set()