Home
last modified time | relevance | path

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

/Linux-v4.19/mm/
Dshmem.c245 if (sbinfo->max_inodes) { in shmem_reserve_inode()
260 if (sbinfo->max_inodes) { in shmem_free_inode()
2783 if (sbinfo->max_inodes) { in shmem_statfs()
2784 buf->f_files = sbinfo->max_inodes; in shmem_statfs()
3337 sbinfo->max_inodes = memparse(value, &rest); in shmem_parse_options()
3411 inodes = sbinfo->max_inodes - sbinfo->free_inodes; in shmem_remount_fs()
3414 if (config.max_inodes < inodes) in shmem_remount_fs()
3423 if (config.max_inodes && !sbinfo->max_inodes) in shmem_remount_fs()
3429 sbinfo->max_inodes = config.max_inodes; in shmem_remount_fs()
3430 sbinfo->free_inodes = config.max_inodes - inodes; in shmem_remount_fs()
[all …]
/Linux-v4.19/include/linux/
Dshmem_fs.h30 unsigned long max_inodes; /* How many inodes are allowed */ member
Dhugetlb.h275 long max_inodes; /* inodes allowed */ member
/Linux-v4.19/fs/hugetlbfs/
Dinode.c902 if (sbinfo->max_inodes != -1) in hugetlbfs_show_options()
903 seq_printf(m, ",nr_inodes=%lu", sbinfo->max_inodes); in hugetlbfs_show_options()
943 buf->f_files = sbinfo->max_inodes; in hugetlbfs_statfs()
1246 sbinfo->max_inodes = config.nr_inodes; in hugetlbfs_fill_super()