Searched refs:dmaru (Results 1 – 1 of 1) sorted by relevance
177 struct dmar_drhd_unit *dmaru; in dmar_parse_one_drhd() local181 dmaru = kzalloc(sizeof(*dmaru), GFP_KERNEL); in dmar_parse_one_drhd()182 if (!dmaru) in dmar_parse_one_drhd()185 dmaru->hdr = header; in dmar_parse_one_drhd()186 dmaru->reg_base_addr = drhd->address; in dmar_parse_one_drhd()187 dmaru->segment = drhd->segment; in dmar_parse_one_drhd()188 dmaru->include_all = drhd->flags & 0x1; /* BIT0: INCLUDE_ALL */ in dmar_parse_one_drhd()190 ret = alloc_iommu(dmaru); in dmar_parse_one_drhd()192 kfree(dmaru); in dmar_parse_one_drhd()195 dmar_register_drhd_unit(dmaru); in dmar_parse_one_drhd()[all …]