Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/cpu/sgx/
A Dencl.h72 #define SGX_VA_SLOT_COUNT 512 macro
76 DECLARE_BITMAP(slots, SGX_VA_SLOT_COUNT);
A Dencl.c706 int slot = find_first_zero_bit(va_page->slots, SGX_VA_SLOT_COUNT); in sgx_alloc_va_slot()
708 if (slot < SGX_VA_SLOT_COUNT) in sgx_alloc_va_slot()
734 int slot = find_first_zero_bit(va_page->slots, SGX_VA_SLOT_COUNT); in sgx_va_page_full()
736 return slot == SGX_VA_SLOT_COUNT; in sgx_va_page_full()
A Dioctl.c25 BUILD_BUG_ON(SGX_VA_SLOT_COUNT != in sgx_encl_grow()
28 if (!(encl->page_cnt % SGX_VA_SLOT_COUNT)) { in sgx_encl_grow()
40 WARN_ON_ONCE(encl->page_cnt % SGX_VA_SLOT_COUNT); in sgx_encl_grow()

Completed in 5 milliseconds