Home
last modified time | relevance | path

Searched refs:bre (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/nvdimm/
Dbadrange.c27 struct badrange_entry *bre, u64 addr, u64 length) in append_badrange_entry() argument
30 bre->start = addr; in append_badrange_entry()
31 bre->length = length; in append_badrange_entry()
32 list_add_tail(&bre->list, &badrange->list); in append_badrange_entry()
38 struct badrange_entry *bre; in alloc_and_append_badrange_entry() local
40 bre = kzalloc(sizeof(*bre), flags); in alloc_and_append_badrange_entry()
41 if (!bre) in alloc_and_append_badrange_entry()
44 append_badrange_entry(badrange, bre, addr, length); in alloc_and_append_badrange_entry()
50 struct badrange_entry *bre, *bre_new; in add_badrange() local
68 list_for_each_entry(bre, &badrange->list, list) in add_badrange()
[all …]
Dbus.c421 struct badrange_entry *bre, *next; in free_badrange_list() local
423 list_for_each_entry_safe(bre, next, badrange_list, list) { in free_badrange_list()
424 list_del(&bre->list); in free_badrange_list()
425 kfree(bre); in free_badrange_list()