Home
last modified time | relevance | path

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

/openbmc/linux/mm/kfence/
H A Dcore.c454 metadata_update_state(meta, KFENCE_OBJECT_ALLOCATED, stack_entries, num_stack_entries); in kfence_guarded_alloc()
502 if (meta->state != KFENCE_OBJECT_ALLOCATED || meta->addr != (unsigned long)addr) { in kfence_guarded_free()
780 if (meta->state == KFENCE_OBJECT_ALLOCATED) in kfence_check_all_canary()
1007 READ_ONCE(meta->state) != KFENCE_OBJECT_ALLOCATED) in kfence_shutdown_cache()
1011 in_use = meta->cache == s && meta->state == KFENCE_OBJECT_ALLOCATED; in kfence_shutdown_cache()
1182 if (meta && READ_ONCE(meta->state) == KFENCE_OBJECT_ALLOCATED) { in kfence_handle_page_fault()
1189 if (meta && READ_ONCE(meta->state) == KFENCE_OBJECT_ALLOCATED) { in kfence_handle_page_fault()
H A Dkfence.h40 KFENCE_OBJECT_ALLOCATED, /* Object is currently allocated. */ enumerator