Searched refs:mb_states (Results 1 – 1 of 1) sorted by relevance
188 uint8_t *mb_states; member439 old_state = vm->sbm.mb_states[idx]; in virtio_mem_sbm_set_mb_state()440 vm->sbm.mb_states[idx] = state; in virtio_mem_sbm_set_mb_state()455 return vm->sbm.mb_states[idx]; in virtio_mem_sbm_get_mb_state()467 if (vm->sbm.mb_states && old_pages == new_pages) in virtio_mem_sbm_mb_states_prepare_next_mb()475 if (vm->sbm.mb_states) in virtio_mem_sbm_mb_states_prepare_next_mb()476 memcpy(new_array, vm->sbm.mb_states, old_pages * PAGE_SIZE); in virtio_mem_sbm_mb_states_prepare_next_mb()477 vfree(vm->sbm.mb_states); in virtio_mem_sbm_mb_states_prepare_next_mb()478 vm->sbm.mb_states = new_array; in virtio_mem_sbm_mb_states_prepare_next_mb()1737 const int mb_states[] = { in virtio_mem_sbm_plug_request() local[all …]