Lines Matching refs:status
36 uint32_t status; in hp_mem_online_func() local
49 ret = xc_mark_page_online(xch, mfn, mfn, &status); in hp_mem_online_func()
53 else if (status & (PG_ONLINE_FAILED |PG_ONLINE_BROKEN)) { in hp_mem_online_func()
58 else if (status & PG_ONLINE_ONLINED) in hp_mem_online_func()
68 uint32_t status; in hp_mem_query_func() local
80 ret = xc_query_page_offline_status(xch, mfn, mfn, &status); in hp_mem_query_func()
86 printf("Memory Status %x: [", status); in hp_mem_query_func()
87 if ( status & PG_OFFLINE_STATUS_OFFLINE_PENDING) in hp_mem_query_func()
89 if ( status & PG_OFFLINE_STATUS_BROKEN ) in hp_mem_query_func()
91 if ( status & PG_OFFLINE_STATUS_OFFLINED ) in hp_mem_query_func()
149 uint32_t status, domid; in hp_mem_offline_func() local
161 ret = xc_mark_page_offline(xch, mfn, mfn, &status); in hp_mem_offline_func()
164 if (status & (PG_OFFLINE_XENPAGE | PG_OFFLINE_FAILED)) in hp_mem_offline_func()
166 else if (status & (PG_OFFLINE_FAILED | PG_OFFLINE_NOT_CONV_RAM)) in hp_mem_offline_func()
171 switch(status & PG_OFFLINE_STATUS_MASK) in hp_mem_offline_func()
177 if (status & PG_OFFLINE_BROKEN) in hp_mem_offline_func()
185 if ( status & PG_OFFLINE_ANONYMOUS) in hp_mem_offline_func()
192 if (status & PG_OFFLINE_XENPAGE) { in hp_mem_offline_func()
198 else if (status & PG_OFFLINE_OWNED) in hp_mem_offline_func()
211 domid = status >> PG_OFFLINE_OWNER_SHIFT; in hp_mem_offline_func()