Lines Matching refs:mbytes
104 u32 mbytes; member
111 .mbytes = 4,
117 .mbytes = 16,
123 .mbytes = 64,
527 if (avail_mbytes < type->mbytes) in mbochs_init_dev()
530 avail_mbytes - type->mbytes)); in mbochs_init_dev()
536 mdev_state->memsize = type->mbytes * 1024 * 1024; in mbochs_init_dev()
558 type->type.pretty_name, type->mbytes, mdev_state->pagecount); in mbochs_init_dev()
564 atomic_add(type->mbytes, &mbochs_avail_mbytes); in mbochs_init_dev()
594 atomic_add(mdev_state->type->mbytes, &mbochs_avail_mbytes); in mbochs_release_dev()
1333 return sprintf(buf, "%d MB\n", mdev_state->type->mbytes); in memory_show()
1358 type ? type->mbytes : 0); in mbochs_show_description()
1366 return atomic_read(&mbochs_avail_mbytes) / type->mbytes; in mbochs_get_available()