Searched refs:cfg (Results 1 – 2 of 2) sorted by relevance
454 static bool valid_testvec_config(const struct testvec_config *cfg) in valid_testvec_config() argument458 if (cfg->name == NULL) in valid_testvec_config()461 if (!valid_sg_divisions(cfg->src_divs, ARRAY_SIZE(cfg->src_divs), in valid_testvec_config()465 if (cfg->dst_divs[0].proportion_of_total) { in valid_testvec_config()466 if (!valid_sg_divisions(cfg->dst_divs, in valid_testvec_config()467 ARRAY_SIZE(cfg->dst_divs), &flags)) in valid_testvec_config()470 if (memchr_inv(cfg->dst_divs, 0, sizeof(cfg->dst_divs))) in valid_testvec_config()475 if (cfg->iv_offset + in valid_testvec_config()476 (cfg->iv_offset_relative_to_alignmask ? MAX_ALGAPI_ALIGNMASK : 0) > in valid_testvec_config()481 cfg->finalization_type == FINALIZATION_TYPE_DIGEST) in valid_testvec_config()[all …]
481 struct netlink_kernel_cfg cfg = { in crypto_netlink_init() local485 net->crypto_nlsk = netlink_kernel_create(net, NETLINK_CRYPTO, &cfg); in crypto_netlink_init()