Home
last modified time | relevance | path

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

/linux-6.6.21/mm/
Dshmem.c94 #define BOGO_INODE_SIZE 1024 macro
144 ULONG_MAX / BOGO_INODE_SIZE); in shmem_default_max_inodes()
338 if (sbinfo->free_ispace < BOGO_INODE_SIZE) { in shmem_reserve_inode()
342 sbinfo->free_ispace -= BOGO_INODE_SIZE; in shmem_reserve_inode()
401 sbinfo->free_ispace += BOGO_INODE_SIZE + freed_ispace; in shmem_free_inode()
3212 buf->f_ffree = sbinfo->free_ispace / BOGO_INODE_SIZE; in shmem_statfs()
3936 if (*rest || ctx->inodes > ULONG_MAX / BOGO_INODE_SIZE) in shmem_parse_one()
4127 used_isp = sbinfo->max_inodes * BOGO_INODE_SIZE - sbinfo->free_ispace; in shmem_reconfigure()
4145 if (ctx->inodes * BOGO_INODE_SIZE < used_isp) { in shmem_reconfigure()
4191 sbinfo->free_ispace = ctx->inodes * BOGO_INODE_SIZE - used_isp; in shmem_reconfigure()
[all …]