Searched refs:mb_states (Results 1 – 1 of 1) sorted by relevance
186 uint8_t *mb_states; member437 old_state = vm->sbm.mb_states[idx]; in virtio_mem_sbm_set_mb_state()438 vm->sbm.mb_states[idx] = state; in virtio_mem_sbm_set_mb_state()453 return vm->sbm.mb_states[idx]; in virtio_mem_sbm_get_mb_state()465 if (vm->sbm.mb_states && old_pages == new_pages) in virtio_mem_sbm_mb_states_prepare_next_mb()473 if (vm->sbm.mb_states) in virtio_mem_sbm_mb_states_prepare_next_mb()474 memcpy(new_array, vm->sbm.mb_states, old_pages * PAGE_SIZE); in virtio_mem_sbm_mb_states_prepare_next_mb()475 vfree(vm->sbm.mb_states); in virtio_mem_sbm_mb_states_prepare_next_mb()476 vm->sbm.mb_states = new_array; in virtio_mem_sbm_mb_states_prepare_next_mb()1694 const int mb_states[] = { in virtio_mem_sbm_plug_request() local[all …]