Home
last modified time | relevance | path

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

/linux/mm/
H A Dshmem.c96 #define BOGO_INODE_SIZE 1024 macro
158 ULONG_MAX / BOGO_INODE_SIZE); in shmem_default_max_inodes()
357 if (sbinfo->free_ispace < BOGO_INODE_SIZE) { in shmem_reserve_inode()
361 sbinfo->free_ispace -= BOGO_INODE_SIZE; in shmem_reserve_inode()
420 sbinfo->free_ispace += BOGO_INODE_SIZE + freed_ispace; in shmem_free_inode()
3832 buf->f_ffree = sbinfo->free_ispace / BOGO_INODE_SIZE; in shmem_statfs()
4627 if (*rest || ctx->inodes > ULONG_MAX / BOGO_INODE_SIZE) in shmem_parse_one()
4814 used_isp = sbinfo->max_inodes * BOGO_INODE_SIZE - sbinfo->free_ispace; in shmem_reconfigure()
4832 if (ctx->inodes * BOGO_INODE_SIZE < used_isp) { in shmem_reconfigure()
4878 sbinfo->free_ispace = ctx->inodes * BOGO_INODE_SIZE - used_isp; in shmem_reconfigure()
[all …]