Home
last modified time | relevance | path

Searched refs:req_opts (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/crypto/bcm/
H A Dspu2.c946 struct spu_request_opts *req_opts, in spu2_create_request() argument
966 ((req_opts->is_aead && req_opts->is_inbound) ? in spu2_create_request()
983 if (req_opts->is_aead && in spu2_create_request()
990 req_opts->auth_first = req_opts->is_inbound; in spu2_create_request()
993 if (req_opts->is_aead && in spu2_create_request()
996 req_opts->auth_first = !req_opts->is_inbound; in spu2_create_request()
1000 req_opts->is_inbound, req_opts->auth_first); in spu2_create_request()
1003 flow_log(" is_esp: %s\n", str_yes_no(req_opts->is_esp)); in spu2_create_request()
1033 if ((req_opts->is_rfc4543) || in spu2_create_request()
1043 if (req_opts->is_rfc4543) in spu2_create_request()
[all …]
H A Dspu.c587 struct spu_request_opts *req_opts, in spum_create_request() argument
629 if (req_opts->is_aead && req_opts->is_inbound) in spum_create_request()
632 if (req_opts->is_aead && req_opts->is_inbound) in spum_create_request()
643 req_opts->is_inbound, req_opts->auth_first); in spum_create_request()
682 if (req_opts->is_inbound) in spum_create_request()
684 if (req_opts->auth_first) in spum_create_request()
716 if (!req_opts->is_inbound) { in spum_create_request()
732 if (req_opts->bd_suppress) in spum_create_request()
766 if (req_opts->is_rfc4543) { in spum_create_request()
767 if (req_opts->is_inbound) in spum_create_request()
H A Dcipher.c675 struct spu_request_opts req_opts; in handle_ahash_req() local
694 memset(&req_opts, 0, sizeof(req_opts)); in handle_ahash_req()
699 req_opts.bd_suppress = true; in handle_ahash_req()
817 &req_opts, &cipher_parms, in handle_ahash_req()
1268 struct spu_request_opts req_opts; in handle_aead_req() local
1286 memset(&req_opts, 0, sizeof(req_opts)); in handle_aead_req()
1290 req_opts.is_inbound = !(rctx->is_encrypt); in handle_aead_req()
1291 req_opts.auth_first = ctx->auth_first; in handle_aead_req()
1292 req_opts.is_aead = true; in handle_aead_req()
1293 req_opts.is_esp = ctx->is_esp; in handle_aead_req()
[all …]
H A Dspu2.h193 struct spu_request_opts *req_opts,
H A Dspu.h243 struct spu_request_opts *req_opts,
H A Dcipher.h378 struct spu_request_opts *req_opts,
/linux/drivers/md/dm-pcache/
H A Dcache_req.c235 struct pcache_backing_dev_req_opts req_opts = { 0 }; in cache_miss_req_alloc() local
237 req_opts.type = BACKING_DEV_REQ_TYPE_REQ; in cache_miss_req_alloc()
238 req_opts.gfp_mask = gfp_mask; in cache_miss_req_alloc()
239 req_opts.req.upper_req = parent; in cache_miss_req_alloc()
241 backing_req = backing_dev_req_alloc(backing_dev, &req_opts); in cache_miss_req_alloc()
265 struct pcache_backing_dev_req_opts req_opts = { 0 }; in cache_miss_req_init() local
267 req_opts.type = BACKING_DEV_REQ_TYPE_REQ; in cache_miss_req_init()
268 req_opts.req.upper_req = parent; in cache_miss_req_init()
269 req_opts.req.req_off = off; in cache_miss_req_init()
270 req_opts.req.len = len; in cache_miss_req_init()
[all …]