Lines Matching refs:max_blocks
227 if (sbinfo->max_blocks) { in shmem_inode_acct_blocks()
229 sbinfo->max_blocks, pages)) in shmem_inode_acct_blocks()
258 if (sbinfo->max_blocks) in shmem_inode_unacct_blocks()
3436 if (sbinfo->max_blocks && end - start > sbinfo->max_blocks) { in shmem_fallocate()
3538 if (sbinfo->max_blocks) { in shmem_statfs()
3539 buf->f_blocks = sbinfo->max_blocks; in shmem_statfs()
3541 buf->f_bfree = sbinfo->max_blocks - in shmem_statfs()
4452 if (!sbinfo->max_blocks) { in shmem_reconfigure()
4510 sbinfo->max_blocks = ctx->blocks; in shmem_reconfigure()
4541 if (sbinfo->max_blocks != shmem_default_max_blocks()) in shmem_show_options()
4542 seq_printf(seq, ",size=%luk", K(sbinfo->max_blocks)); in shmem_show_options()
4660 sbinfo->max_blocks = ctx->blocks; in shmem_fill_super()