Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dshmem_fs.h40 unsigned long max_inodes; /* How many inodes are allowed */ member
Dhugetlb.h510 long max_inodes; /* inodes allowed */ member
/linux-6.1.9/mm/
Dshmem.c267 if (sbinfo->max_inodes) { in shmem_reserve_inode()
329 if (sbinfo->max_inodes) { in shmem_free_inode()
2898 if (sbinfo->max_inodes) { in shmem_statfs()
2899 buf->f_files = sbinfo->max_inodes; in shmem_statfs()
3628 inodes = sbinfo->max_inodes - sbinfo->free_inodes; in shmem_reconfigure()
3642 if (!sbinfo->max_inodes) { in shmem_reconfigure()
3665 sbinfo->max_inodes = ctx->inodes; in shmem_reconfigure()
3692 if (sbinfo->max_inodes != shmem_default_max_inodes()) in shmem_show_options()
3693 seq_printf(seq, ",nr_inodes=%lu", sbinfo->max_inodes); in shmem_show_options()
3783 sbinfo->free_inodes = sbinfo->max_inodes = ctx->inodes; in shmem_fill_super()
/linux-6.1.9/fs/hugetlbfs/
Dinode.c1142 if (sbinfo->max_inodes != -1) in hugetlbfs_show_options()
1143 seq_printf(m, ",nr_inodes=%lu", sbinfo->max_inodes); in hugetlbfs_show_options()
1183 buf->f_files = sbinfo->max_inodes; in hugetlbfs_statfs()
1465 sbinfo->max_inodes = ctx->nr_inodes; in hugetlbfs_fill_super()