Lines Matching defs:mb_id
210 static unsigned long virtio_mem_mb_id_to_phys(unsigned long mb_id) in virtio_mem_mb_id_to_phys()
221 const unsigned long mb_id = virtio_mem_phys_to_mb_id(addr); in virtio_mem_phys_to_sb_id() local
230 static void virtio_mem_mb_set_state(struct virtio_mem *vm, unsigned long mb_id, in virtio_mem_mb_set_state()
248 unsigned long mb_id) in virtio_mem_mb_get_state()
301 unsigned long mb_id, int sb_id, in virtio_mem_mb_set_sb_plugged()
315 unsigned long mb_id, int sb_id, in virtio_mem_mb_set_sb_unplugged()
327 unsigned long mb_id, int sb_id, in virtio_mem_mb_test_sb_plugged()
344 unsigned long mb_id, int sb_id, in virtio_mem_mb_test_sb_unplugged()
358 unsigned long mb_id) in virtio_mem_mb_first_unplugged_sb()
406 static int virtio_mem_mb_add(struct virtio_mem *vm, unsigned long mb_id) in virtio_mem_mb_add()
440 static int virtio_mem_mb_remove(struct virtio_mem *vm, unsigned long mb_id) in virtio_mem_mb_remove()
461 unsigned long mb_id) in virtio_mem_mb_offline_and_remove()
516 static bool virtio_mem_owned_mb(struct virtio_mem *vm, unsigned long mb_id) in virtio_mem_owned_mb()
522 unsigned long mb_id) in virtio_mem_notify_going_online()
537 unsigned long mb_id) in virtio_mem_notify_offline()
563 static void virtio_mem_notify_online(struct virtio_mem *vm, unsigned long mb_id) in virtio_mem_notify_online()
588 unsigned long mb_id) in virtio_mem_notify_going_offline()
616 unsigned long mb_id) in virtio_mem_notify_cancel_offline()
651 const unsigned long mb_id = virtio_mem_phys_to_mb_id(start); in virtio_mem_memory_notifier_cb() local
800 const unsigned long mb_id = virtio_mem_phys_to_mb_id(addr); in virtio_mem_online_page_cb() local
942 static int virtio_mem_mb_plug_sb(struct virtio_mem *vm, unsigned long mb_id, in virtio_mem_mb_plug_sb()
963 static int virtio_mem_mb_unplug_sb(struct virtio_mem *vm, unsigned long mb_id, in virtio_mem_mb_unplug_sb()
990 unsigned long mb_id, uint64_t *nb_sb) in virtio_mem_mb_unplug_any_sb()
1028 static int virtio_mem_mb_unplug(struct virtio_mem *vm, unsigned long mb_id) in virtio_mem_mb_unplug()
1039 unsigned long *mb_id) in virtio_mem_prepare_next_mb()
1080 unsigned long mb_id, in virtio_mem_mb_plug_and_add()
1139 static int virtio_mem_mb_plug_any_sb(struct virtio_mem *vm, unsigned long mb_id, in virtio_mem_mb_plug_any_sb()
1192 unsigned long mb_id; in virtio_mem_plug_request() local
1266 unsigned long mb_id, in virtio_mem_mb_unplug_any_sb_offline()
1304 unsigned long mb_id, int sb_id, in virtio_mem_mb_unplug_sb_online()
1349 unsigned long mb_id, in virtio_mem_mb_unplug_any_sb_online()
1407 unsigned long mb_id; in virtio_mem_unplug_request() local
1482 unsigned long mb_id; in virtio_mem_unplug_pending_mb() local
1835 unsigned long mb_id; in virtio_mem_remove() local