Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/cpu/sgx/
H A Dmain.c48 static struct sgx_numa_node *sgx_numa_nodes; variable
447 struct sgx_numa_node *node = &sgx_numa_nodes[nid]; in __sgx_alloc_epc_page_from_node()
755 return sysfs_emit(buf, "%lu\n", sgx_numa_nodes[dev->id].size); in sgx_total_bytes_show()
801 sgx_numa_nodes = kmalloc_objs(*sgx_numa_nodes, num_possible_nodes()); in sgx_page_cache_init()
802 if (!sgx_numa_nodes) in sgx_page_cache_init()
835 spin_lock_init(&sgx_numa_nodes[nid].lock); in sgx_page_cache_init()
836 INIT_LIST_HEAD(&sgx_numa_nodes[nid].free_page_list); in sgx_page_cache_init()
837 INIT_LIST_HEAD(&sgx_numa_nodes[nid].sgx_poison_page_list); in sgx_page_cache_init()
839 sgx_numa_nodes[nid].size = 0; in sgx_page_cache_init()
845 sgx_epc_sections[i].node = &sgx_numa_nodes[nid]; in sgx_page_cache_init()
[all …]