Home
last modified time | relevance | path

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

/openbmc/qemu/hw/9pfs/
H A D9p.c3568 int32_t bsize_factor; in v9fs_fill_statfs() local
3574 bsize_factor = (s->msize - P9_IOHDRSZ) / stbuf->f_bsize; in v9fs_fill_statfs()
3575 if (!bsize_factor) { in v9fs_fill_statfs()
3576 bsize_factor = 1; in v9fs_fill_statfs()
3580 f_bsize *= bsize_factor; in v9fs_fill_statfs()
3586 f_blocks = stbuf->f_blocks / bsize_factor; in v9fs_fill_statfs()
3587 f_bfree = stbuf->f_bfree / bsize_factor; in v9fs_fill_statfs()
3588 f_bavail = stbuf->f_bavail / bsize_factor; in v9fs_fill_statfs()