Searched refs:mb_states (Results 1 – 1 of 1) sorted by relevance
190 uint8_t *mb_states; member444 old_state = vm->sbm.mb_states[idx]; in virtio_mem_sbm_set_mb_state()445 vm->sbm.mb_states[idx] = state; in virtio_mem_sbm_set_mb_state()460 return vm->sbm.mb_states[idx]; in virtio_mem_sbm_get_mb_state()472 if (vm->sbm.mb_states && old_pages == new_pages) in virtio_mem_sbm_mb_states_prepare_next_mb()480 if (vm->sbm.mb_states) in virtio_mem_sbm_mb_states_prepare_next_mb()481 memcpy(new_array, vm->sbm.mb_states, old_pages * PAGE_SIZE); in virtio_mem_sbm_mb_states_prepare_next_mb()482 vfree(vm->sbm.mb_states); in virtio_mem_sbm_mb_states_prepare_next_mb()483 vm->sbm.mb_states = new_array; in virtio_mem_sbm_mb_states_prepare_next_mb()1760 const int mb_states[] = { in virtio_mem_sbm_plug_request() local[all …]