Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_uclo.c1618 struct icp_qat_uclo_objhandle *objhdl; in qat_uclo_map_uof_obj() local
1620 objhdl = kzalloc(sizeof(*objhdl), GFP_KERNEL); in qat_uclo_map_uof_obj()
1621 if (!objhdl) in qat_uclo_map_uof_obj()
1623 objhdl->obj_buf = kmemdup(addr_ptr, mem_size, GFP_KERNEL); in qat_uclo_map_uof_obj()
1624 if (!objhdl->obj_buf) in qat_uclo_map_uof_obj()
1626 filehdr = (struct icp_qat_uof_filehdr *)objhdl->obj_buf; in qat_uclo_map_uof_obj()
1629 objhdl->obj_hdr = qat_uclo_map_chunk((char *)objhdl->obj_buf, filehdr, in qat_uclo_map_uof_obj()
1631 if (!objhdl->obj_hdr) { in qat_uclo_map_uof_obj()
1635 handle->obj_handle = objhdl; in qat_uclo_map_uof_obj()
1642 kfree(objhdl->obj_hdr); in qat_uclo_map_uof_obj()
[all …]