Lines Matching refs:poison_list
478 static void badblocks_populate(struct list_head *poison_list, in badblocks_populate() argument
483 if (list_empty(poison_list)) in badblocks_populate()
486 list_for_each_entry(pl, poison_list, list) { in badblocks_populate()
535 struct list_head *poison_list; in nvdimm_badblocks_populate() local
543 poison_list = &nvdimm_bus->poison_list; in nvdimm_badblocks_populate()
546 badblocks_populate(poison_list, bb, res); in nvdimm_badblocks_populate()
562 list_add_tail(&pl->list, &nvdimm_bus->poison_list); in add_poison()
571 if (list_empty(&nvdimm_bus->poison_list)) in bus_add_poison()
579 list_for_each_entry(pl, &nvdimm_bus->poison_list, list) in bus_add_poison()
610 struct list_head *poison_list = &nvdimm_bus->poison_list; in nvdimm_clear_from_poison_list() local
615 WARN_ON_ONCE(list_empty(poison_list)); in nvdimm_clear_from_poison_list()
625 list_for_each_entry_safe(pl, next, poison_list, list) { in nvdimm_clear_from_poison_list()