Searched refs:slit (Results 1 – 3 of 3) sorted by relevance
276 struct acpi_20_slit *slit; in construct_slit() local280 size = sizeof(*slit) + num * sizeof(uint8_t); in construct_slit()282 slit = ctxt->mem_ops.alloc(ctxt, size, 16); in construct_slit()283 if ( !slit ) in construct_slit()286 memset(slit, 0, size); in construct_slit()291 slit->header.oem_revision = ACPI_OEM_REVISION; in construct_slit()292 slit->header.creator_id = ACPI_CREATOR_ID; in construct_slit()298 slit->localities = config->numa.nr_vnodes; in construct_slit()300 slit->header.length = size; in construct_slit()303 return slit; in construct_slit()[all …]
171 static __init int slit_valid(struct acpi_table_slit *slit) in slit_valid() argument174 int d = slit->locality_count; in slit_valid()177 u8 val = slit->entry[d*i + j]; in slit_valid()189 void __init acpi_numa_slit_init(struct acpi_table_slit *slit) in acpi_numa_slit_init() argument193 if (!slit_valid(slit)) { in acpi_numa_slit_init()198 mfn = alloc_boot_pages(PFN_UP(slit->header.length), 1); in acpi_numa_slit_init()200 memcpy(acpi_slit, slit, slit->header.length); in acpi_numa_slit_init()
96 void acpi_numa_slit_init (struct acpi_table_slit *slit);
Completed in 8 milliseconds