Lines Matching refs:sec_alg_res
311 static int sec_alloc_civ_resource(struct device *dev, struct sec_alg_res *res) in sec_alloc_civ_resource()
329 static void sec_free_civ_resource(struct device *dev, struct sec_alg_res *res) in sec_free_civ_resource()
336 static int sec_alloc_aiv_resource(struct device *dev, struct sec_alg_res *res) in sec_alloc_aiv_resource()
354 static void sec_free_aiv_resource(struct device *dev, struct sec_alg_res *res) in sec_free_aiv_resource()
361 static int sec_alloc_mac_resource(struct device *dev, struct sec_alg_res *res) in sec_alloc_mac_resource()
380 static void sec_free_mac_resource(struct device *dev, struct sec_alg_res *res) in sec_free_mac_resource()
387 static void sec_free_pbuf_resource(struct device *dev, struct sec_alg_res *res) in sec_free_pbuf_resource()
398 static int sec_alloc_pbuf_resource(struct device *dev, struct sec_alg_res *res) in sec_alloc_pbuf_resource()
437 struct sec_alg_res *res = qp_ctx->res; in sec_alg_resource_alloc()
500 qp_ctx->res = kcalloc(q_depth, sizeof(struct sec_alg_res), GFP_KERNEL); in sec_alloc_qp_ctx_resource()
972 struct sec_alg_res *res = &qp_ctx->res[req->req_id]; in sec_cipher_map()