Home
last modified time | relevance | path

Searched refs:mb_state (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/virtio/
Dvirtio_mem.c116 uint8_t *mb_state; member
236 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()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dmacio.h135 void (*mediabay_event)(struct macio_dev* dev, int mb_state);
/kernel/linux/linux-5.10/drivers/ata/
Dpata_macio.c1228 static void pata_macio_mb_event(struct macio_dev* mdev, int mb_state) in pata_macio_mb_event() argument
1241 if (mb_state == MB_CD) { in pata_macio_mb_event()
/kernel/linux/linux-5.10/drivers/block/
Dswim3.c1065 static void swim3_mb_event(struct macio_dev* mdev, int mb_state) in swim3_mb_event() argument
1075 if (mb_state != MB_FD) in swim3_mb_event()
/kernel/linux/linux-5.10/drivers/ide/
Dpmac.c1351 static void pmac_ide_macio_mb_event(struct macio_dev* mdev, int mb_state) in pmac_ide_macio_mb_event() argument
1355 switch(mb_state) { in pmac_ide_macio_mb_event()