Lines Matching refs:backlog
48 struct list_head *backlog;
90 struct ccp_crypto_cmd *crypto_cmd, struct ccp_crypto_cmd **backlog)
95 *backlog = NULL;
110 /* Process the backlog:
112 * special precautions have to be taken when handling the backlog.
114 if (req_queue.backlog != &req_queue.cmds) {
115 /* Skip over this cmd if it is the next backlog cmd */
116 if (req_queue.backlog == &crypto_cmd->entry)
117 req_queue.backlog = crypto_cmd->entry.next;
119 *backlog = container_of(req_queue.backlog,
121 req_queue.backlog = req_queue.backlog->next;
123 /* Skip over this cmd if it is now the next backlog cmd */
124 if (req_queue.backlog == &crypto_cmd->entry)
125 req_queue.backlog = crypto_cmd->entry.next;
140 struct ccp_crypto_cmd *held, *next, *backlog;
159 held = ccp_crypto_cmd_complete(crypto_cmd, &backlog);
160 if (backlog) {
161 backlog->ret = -EINPROGRESS;
162 backlog->req->complete(backlog->req, -EINPROGRESS);
178 * we can backlog so as not to "lose" this request.
191 next = ccp_crypto_cmd_complete(held, &backlog);
192 if (backlog) {
193 backlog->ret = -EINPROGRESS;
194 backlog->req->complete(backlog->req, -EINPROGRESS);
243 if (req_queue.backlog == &req_queue.cmds)
244 req_queue.backlog = &crypto_cmd->entry;
376 req_queue.backlog = &req_queue.cmds;