Home
last modified time | relevance | path

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

/openbmc/linux/drivers/acpi/nfit/
H A Dcore.c854 static size_t sizeof_idt(struct acpi_nfit_interleave *idt) in sizeof_idt() function
868 if (!sizeof_idt(idt)) in add_idt()
872 if (sizeof_idt(nfit_idt->idt) != sizeof_idt(idt)) in add_idt()
875 if (memcmp(nfit_idt->idt, idt, sizeof_idt(idt)) == 0) { in add_idt()
881 nfit_idt = devm_kzalloc(dev, sizeof(*nfit_idt) + sizeof_idt(idt), in add_idt()
886 memcpy(nfit_idt->idt, idt, sizeof_idt(idt)); in add_idt()