Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/i86pc/os/
H A Dmemnode.c45 mnodeset_t memnodes_mask; /* assumes 8*(sizeof(mnodeset_t)) >= MAX_MEM_NODES */ variable
102 oldmask = memnodes_mask; in mem_node_add_slice()
103 newmask = memnodes_mask | (1ull << mnode); in mem_node_add_slice()
104 } while (atomic_cas_64(&memnodes_mask, oldmask, newmask) != in mem_node_add_slice()
163 omask = memnodes_mask; in mem_node_del_slice()
165 } while (atomic_cas_64(&memnodes_mask, omask, nmask) != omask); in mem_node_del_slice()
244 oldmask = memnodes_mask; in mem_node_alloc()
245 newmask = memnodes_mask | (1ull << mnode); in mem_node_alloc()
246 } while (atomic_cas_64(&memnodes_mask, oldmask, newmask) != oldmask); in mem_node_alloc()
/illumos-gate/usr/src/uts/sun4/os/
H A Dmemnode.c43 mnodeset_t memnodes_mask; /* assumes 8*(sizeof(mnodeset_t)) >= MAX_MEM_NODES */ variable
99 oldmask = memnodes_mask; in mem_node_add_slice()
100 newmask = memnodes_mask | (1ull << mnode); in mem_node_add_slice()
101 } while (atomic_cas_64(&memnodes_mask, oldmask, newmask) != in mem_node_add_slice()
160 omask = memnodes_mask; in mem_node_del_slice()
162 } while (atomic_cas_64(&memnodes_mask, omask, nmask) != omask); in mem_node_del_slice()
235 oldmask = memnodes_mask; in mem_node_alloc()
236 newmask = memnodes_mask | (1ull << mnode); in mem_node_alloc()
237 } while (atomic_cas_64(&memnodes_mask, oldmask, newmask) != oldmask); in mem_node_alloc()