Searched refs:sizeof_spa (Results 1 – 2 of 2) sorted by relevance
1872 static size_t sizeof_spa(struct acpi_nfit_system_address *spa) in sizeof_spa() function1882 size_t nfit_size = sizeof_spa(spa) * NUM_SPA in nfit_test0_alloc()1946 size_t nfit_size = sizeof_spa(spa) * 2 in nfit_test1_alloc()2009 spa->header.length = sizeof_spa(spa); in nfit_test0_setup()2023 spa->header.length = sizeof_spa(spa); in nfit_test0_setup()2033 spa->header.length = sizeof_spa(spa); in nfit_test0_setup()2043 spa->header.length = sizeof_spa(spa); in nfit_test0_setup()2053 spa->header.length = sizeof_spa(spa); in nfit_test0_setup()2063 spa->header.length = sizeof_spa(spa); in nfit_test0_setup()2073 spa->header.length = sizeof_spa(spa); in nfit_test0_setup()[all …]
691 static size_t sizeof_spa(struct acpi_nfit_system_address *spa) in sizeof_spa() function705 if (spa->header.length != sizeof_spa(spa)) in add_spa()709 if (memcmp(nfit_spa->spa, spa, sizeof_spa(spa)) == 0) { in add_spa()715 nfit_spa = devm_kzalloc(dev, sizeof(*nfit_spa) + sizeof_spa(spa), in add_spa()720 memcpy(nfit_spa->spa, spa, sizeof_spa(spa)); in add_spa()