Lines Matching refs:max_blocks
201 if (sbinfo->max_blocks) { in shmem_inode_acct_block()
203 sbinfo->max_blocks - pages) > 0) in shmem_inode_acct_block()
220 if (sbinfo->max_blocks) in shmem_inode_unacct_blocks()
2700 if (sbinfo->max_blocks && end - start > sbinfo->max_blocks) { in shmem_fallocate()
2777 if (sbinfo->max_blocks) { in shmem_statfs()
2778 buf->f_blocks = sbinfo->max_blocks; in shmem_statfs()
2780 buf->f_bfree = sbinfo->max_blocks - in shmem_statfs()
3330 sbinfo->max_blocks = in shmem_parse_options()
3333 sbinfo->max_blocks = memparse(value, &rest); in shmem_parse_options()
3412 if (percpu_counter_compare(&sbinfo->used_blocks, config.max_blocks) > 0) in shmem_remount_fs()
3421 if (config.max_blocks && !sbinfo->max_blocks) in shmem_remount_fs()
3428 sbinfo->max_blocks = config.max_blocks; in shmem_remount_fs()
3448 if (sbinfo->max_blocks != shmem_default_max_blocks()) in shmem_show_options()
3450 sbinfo->max_blocks << (PAGE_SHIFT - 10)); in shmem_show_options()
3506 sbinfo->max_blocks = shmem_default_max_blocks(); in shmem_fill_super()