Lines Matching full:subblocks
82 /* The number of subblocks per memory block. */
121 * With 4MB subblocks, we manage 128GB of memory in one page.
129 * OFFLINE blocks can't change the state and no subblocks will get
296 * Mark all selected subblocks plugged.
310 * Mark all selected subblocks unplugged.
324 * Test if all selected subblocks are plugged.
341 * Test if all selected subblocks are unplugged.
805 * We exploit here that subblocks have at least MAX_ORDER - 1 in virtio_mem_online_page_cb()
807 * size/alignment. So we cannot cross subblocks and therefore in virtio_mem_online_page_cb()
939 * Plug selected subblocks. Updates the plugged state, but not the state
960 * Unplug selected subblocks. Updates the plugged state, but not the state
981 * Unplug the desired number of plugged subblocks of a offline or not-added
987 * Note: can fail after some subblocks were unplugged.
1003 /* Try to unplug multiple subblocks at a time */ in virtio_mem_mb_unplug_any_sb()
1022 * Unplug all plugged subblocks of an offline or not-added memory block.
1026 * Note: can fail after some subblocks were unplugged.
1074 * Try to plug the desired number of subblocks and add the memory block
1090 * Plug the requested number of subblocks before adding it to linux, in virtio_mem_mb_plug_and_add()
1091 * so that onlining will directly online all plugged subblocks. in virtio_mem_mb_plug_and_add()
1132 * Try to plug the desired number of subblocks of a memory block that
1137 * Note: Can fail after some subblocks were successfully plugged.
1201 /* Try to plug subblocks of partially plugged online blocks. */ in virtio_mem_plug_request()
1210 /* Try to plug subblocks of partially plugged offline blocks. */ in virtio_mem_plug_request()
1257 * Unplug the desired number of plugged subblocks of an offline memory block.
1263 * Note: Can fail after some subblocks were successfully unplugged.
1273 /* some subblocks might have been unplugged even on failure */ in virtio_mem_mb_unplug_any_sb_offline()
1299 * Unplug the given plugged subblocks of an online memory block.
1339 * Unplug the desired number of plugged subblocks of an online memory block.
1345 * Note: Can fail after some subblocks were successfully unplugged. Can
1346 * return 0 even if subblocks were busy and could not get unplugged.
1366 /* Fallback to single subblocks. */ in virtio_mem_mb_unplug_any_sb_online()
1385 * Once all subblocks of a memory block were unplugged, offline and in virtio_mem_mb_unplug_any_sb_online()
1420 /* Try to unplug subblocks of partially plugged offline blocks. */ in virtio_mem_unplug_request()
1430 /* Try to unplug subblocks of plugged offline blocks. */ in virtio_mem_unplug_request()
1445 /* Try to unplug subblocks of partially plugged online blocks. */ in virtio_mem_unplug_request()
1457 /* Try to unplug subblocks of plugged online blocks. */ in virtio_mem_unplug_request()