Searched refs:mb_state (Results 1 – 5 of 5) sorted by relevance
116 uint8_t *mb_state; member236 old_state = vm->mb_state[idx]; in virtio_mem_mb_set_state()237 vm->mb_state[idx] = state; in virtio_mem_mb_set_state()252 return vm->mb_state[idx]; in virtio_mem_mb_get_state()266 if (vm->mb_state && old_pages == new_pages) in virtio_mem_mb_state_prepare_next_mb()274 if (vm->mb_state) in virtio_mem_mb_state_prepare_next_mb()275 memcpy(new_mb_state, vm->mb_state, old_pages * PAGE_SIZE); in virtio_mem_mb_state_prepare_next_mb()276 vfree(vm->mb_state); in virtio_mem_mb_state_prepare_next_mb()277 vm->mb_state = new_mb_state; in virtio_mem_mb_state_prepare_next_mb()1888 vfree(vm->mb_state); in virtio_mem_remove()
135 void (*mediabay_event)(struct macio_dev* dev, int mb_state);
1228 static void pata_macio_mb_event(struct macio_dev* mdev, int mb_state) in pata_macio_mb_event() argument1241 if (mb_state == MB_CD) { in pata_macio_mb_event()
1065 static void swim3_mb_event(struct macio_dev* mdev, int mb_state) in swim3_mb_event() argument1075 if (mb_state != MB_FD) in swim3_mb_event()
1351 static void pmac_ide_macio_mb_event(struct macio_dev* mdev, int mb_state) in pmac_ide_macio_mb_event() argument1355 switch(mb_state) { in pmac_ide_macio_mb_event()