Searched refs:sgx_numa_nodes (Results 1 – 1 of 1) sorted by relevance
44 static struct sgx_numa_node *sgx_numa_nodes; variable443 struct sgx_numa_node *node = &sgx_numa_nodes[nid]; in __sgx_alloc_epc_page_from_node()748 return sysfs_emit(buf, "%lu\n", sgx_numa_nodes[dev->id].size); in sgx_total_bytes_show()794 sgx_numa_nodes = kmalloc_array(num_possible_nodes(), sizeof(*sgx_numa_nodes), GFP_KERNEL); in sgx_page_cache_init()795 if (!sgx_numa_nodes) in sgx_page_cache_init()828 spin_lock_init(&sgx_numa_nodes[nid].lock); in sgx_page_cache_init()829 INIT_LIST_HEAD(&sgx_numa_nodes[nid].free_page_list); in sgx_page_cache_init()830 INIT_LIST_HEAD(&sgx_numa_nodes[nid].sgx_poison_page_list); in sgx_page_cache_init()832 sgx_numa_nodes[nid].size = 0; in sgx_page_cache_init()838 sgx_epc_sections[i].node = &sgx_numa_nodes[nid]; in sgx_page_cache_init()[all …]