Home
last modified time | relevance | path

Searched refs:entry_new (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/arch/x86/mm/pat/
Dmemtype_interval.c116 int memtype_check_insert(struct memtype *entry_new, enum page_cache_mode *ret_type) in memtype_check_insert() argument
120 err = memtype_check_conflict(entry_new->start, entry_new->end, entry_new->type, ret_type); in memtype_check_insert()
125 entry_new->type = *ret_type; in memtype_check_insert()
127 interval_insert(entry_new, &memtype_rbroot); in memtype_check_insert()
Dmemtype.h32 extern int memtype_check_insert(struct memtype *entry_new,
38 static inline int memtype_check_insert(struct memtype *entry_new, in memtype_check_insert() argument
Dmemtype.c588 struct memtype *entry_new; in memtype_reserve() local
641 entry_new = kzalloc(sizeof(struct memtype), GFP_KERNEL); in memtype_reserve()
642 if (!entry_new) in memtype_reserve()
645 entry_new->start = start; in memtype_reserve()
646 entry_new->end = end; in memtype_reserve()
647 entry_new->type = actual_type; in memtype_reserve()
651 err = memtype_check_insert(entry_new, new_type); in memtype_reserve()
655 cattr_name(entry_new->type), cattr_name(req_type)); in memtype_reserve()
656 kfree(entry_new); in memtype_reserve()
665 start, end - 1, cattr_name(entry_new->type), cattr_name(req_type), in memtype_reserve()