Searched refs:badrange (Results 1 – 5 of 5) sorted by relevance
/drivers/nvdimm/ |
D | badrange.c | 19 void badrange_init(struct badrange *badrange) in badrange_init() argument 21 INIT_LIST_HEAD(&badrange->list); in badrange_init() 22 spin_lock_init(&badrange->lock); in badrange_init() 26 static void append_badrange_entry(struct badrange *badrange, in append_badrange_entry() argument 29 lockdep_assert_held(&badrange->lock); in append_badrange_entry() 32 list_add_tail(&bre->list, &badrange->list); in append_badrange_entry() 35 static int alloc_and_append_badrange_entry(struct badrange *badrange, in alloc_and_append_badrange_entry() argument 44 append_badrange_entry(badrange, bre, addr, length); in alloc_and_append_badrange_entry() 48 static int add_badrange(struct badrange *badrange, u64 addr, u64 length) in add_badrange() argument 52 spin_unlock(&badrange->lock); in add_badrange() [all …]
|
D | nd-core.h | 28 struct badrange badrange; member
|
D | Makefile | 26 libnvdimm-y += badrange.o
|
D | bus.c | 217 badrange_forget(&nvdimm_bus->badrange, phys, cleared); in nvdimm_account_cleared_poison() 358 badrange_init(&nvdimm_bus->badrange); in nvdimm_bus_register() 436 spin_lock(&nvdimm_bus->badrange.lock); in nd_bus_remove() 437 free_badrange_list(&nvdimm_bus->badrange.list); in nd_bus_remove() 438 spin_unlock(&nvdimm_bus->badrange.lock); in nd_bus_remove()
|
D | core.c | 538 return badrange_add(&nvdimm_bus->badrange, addr, length); in nvdimm_bus_add_badrange()
|