Lines Matching refs:prev
233 struct nfit_table_prev *prev, in add_spa() argument
240 list_for_each_entry(nfit_spa, &prev->spas, list) { in add_spa()
260 struct nfit_table_prev *prev, in add_memdev() argument
267 list_for_each_entry(nfit_memdev, &prev->memdevs, list) in add_memdev()
286 struct nfit_table_prev *prev, in add_dcr() argument
293 list_for_each_entry(nfit_dcr, &prev->dcrs, list) in add_dcr()
311 struct nfit_table_prev *prev, in add_bdw() argument
318 list_for_each_entry(nfit_bdw, &prev->bdws, list) in add_bdw()
336 struct nfit_table_prev *prev, in add_idt() argument
343 list_for_each_entry(nfit_idt, &prev->idts, list) in add_idt()
361 struct nfit_table_prev *prev, in add_flush() argument
368 list_for_each_entry(nfit_flush, &prev->flushes, list) in add_flush()
386 struct nfit_table_prev *prev, void *table, const void *end) in add_table() argument
404 if (!add_spa(acpi_desc, prev, table)) in add_table()
408 if (!add_memdev(acpi_desc, prev, table)) in add_table()
412 if (!add_dcr(acpi_desc, prev, table)) in add_table()
416 if (!add_bdw(acpi_desc, prev, table)) in add_table()
420 if (!add_idt(acpi_desc, prev, table)) in add_table()
424 if (!add_flush(acpi_desc, prev, table)) in add_table()
1612 struct nfit_table_prev *prev) in acpi_nfit_check_deletions() argument
1616 if (!list_empty(&prev->spas) || in acpi_nfit_check_deletions()
1617 !list_empty(&prev->memdevs) || in acpi_nfit_check_deletions()
1618 !list_empty(&prev->dcrs) || in acpi_nfit_check_deletions()
1619 !list_empty(&prev->bdws) || in acpi_nfit_check_deletions()
1620 !list_empty(&prev->idts) || in acpi_nfit_check_deletions()
1621 !list_empty(&prev->flushes)) { in acpi_nfit_check_deletions()
1631 struct nfit_table_prev prev; in acpi_nfit_init() local
1638 INIT_LIST_HEAD(&prev.spas); in acpi_nfit_init()
1639 INIT_LIST_HEAD(&prev.memdevs); in acpi_nfit_init()
1640 INIT_LIST_HEAD(&prev.dcrs); in acpi_nfit_init()
1641 INIT_LIST_HEAD(&prev.bdws); in acpi_nfit_init()
1642 INIT_LIST_HEAD(&prev.idts); in acpi_nfit_init()
1643 INIT_LIST_HEAD(&prev.flushes); in acpi_nfit_init()
1645 list_cut_position(&prev.spas, &acpi_desc->spas, in acpi_nfit_init()
1646 acpi_desc->spas.prev); in acpi_nfit_init()
1647 list_cut_position(&prev.memdevs, &acpi_desc->memdevs, in acpi_nfit_init()
1648 acpi_desc->memdevs.prev); in acpi_nfit_init()
1649 list_cut_position(&prev.dcrs, &acpi_desc->dcrs, in acpi_nfit_init()
1650 acpi_desc->dcrs.prev); in acpi_nfit_init()
1651 list_cut_position(&prev.bdws, &acpi_desc->bdws, in acpi_nfit_init()
1652 acpi_desc->bdws.prev); in acpi_nfit_init()
1653 list_cut_position(&prev.idts, &acpi_desc->idts, in acpi_nfit_init()
1654 acpi_desc->idts.prev); in acpi_nfit_init()
1655 list_cut_position(&prev.flushes, &acpi_desc->flushes, in acpi_nfit_init()
1656 acpi_desc->flushes.prev); in acpi_nfit_init()
1661 data = add_table(acpi_desc, &prev, data, end); in acpi_nfit_init()
1670 rc = acpi_nfit_check_deletions(acpi_desc, &prev); in acpi_nfit_init()