Home
last modified time | relevance | path

Searched refs:space (Results 1 – 25 of 42) sorted by relevance

12

/fs/btrfs/
DMakefile10 export.o tree-log.o free-space-cache.o zlib.o lzo.o zstd.o \
13 uuid-tree.o props.o free-space-tree.o tree-checker.o space-info.o \
14 block-rsv.o delalloc-space.o block-group.o
20 btrfs-$(CONFIG_BTRFS_FS_RUN_SANITY_TESTS) += tests/free-space-tests.o \
23 tests/free-space-tree-tests.o tests/extent-map-tests.o
Dioctl.c4132 struct btrfs_ioctl_space_info *space) in get_block_group_info() argument
4136 space->total_bytes = 0; in get_block_group_info()
4137 space->used_bytes = 0; in get_block_group_info()
4138 space->flags = 0; in get_block_group_info()
4140 space->flags = block_group->flags; in get_block_group_info()
4141 space->total_bytes += block_group->key.offset; in get_block_group_info()
4142 space->used_bytes += in get_block_group_info()
4151 struct btrfs_ioctl_space_info space; in btrfs_ioctl_space_info() local
4249 &space); in btrfs_ioctl_space_info()
4250 memcpy(dest, &space, sizeof(space)); in btrfs_ioctl_space_info()
[all …]
/fs/xfs/
Dxfs_log_priv.h529 xlog_crack_grant_head_val(int64_t val, int *cycle, int *space) in xlog_crack_grant_head_val() argument
532 *space = val & 0xffffffff; in xlog_crack_grant_head_val()
536 xlog_crack_grant_head(atomic64_t *head, int *cycle, int *space) in xlog_crack_grant_head() argument
538 xlog_crack_grant_head_val(atomic64_read(head), cycle, space); in xlog_crack_grant_head()
542 xlog_assign_grant_head_val(int cycle, int space) in xlog_assign_grant_head_val() argument
544 return ((int64_t)cycle << 32) | space; in xlog_assign_grant_head_val()
548 xlog_assign_grant_head(atomic64_t *head, int cycle, int space) in xlog_assign_grant_head() argument
550 atomic64_set(head, xlog_assign_grant_head_val(cycle, space)); in xlog_assign_grant_head()
Dxfs_dquot.c286 uint64_t space; in xfs_dquot_set_prealloc_limits() local
296 space = dqp->q_prealloc_hi_wmark; in xfs_dquot_set_prealloc_limits()
298 do_div(space, 100); in xfs_dquot_set_prealloc_limits()
299 dqp->q_low_space[XFS_QLOWSP_1_PCNT] = space; in xfs_dquot_set_prealloc_limits()
300 dqp->q_low_space[XFS_QLOWSP_3_PCNT] = space * 3; in xfs_dquot_set_prealloc_limits()
301 dqp->q_low_space[XFS_QLOWSP_5_PCNT] = space * 5; in xfs_dquot_set_prealloc_limits()
Dxfs_log.c126 int cycle, space; in xlog_grant_sub_space() local
128 xlog_crack_grant_head_val(head_val, &cycle, &space); in xlog_grant_sub_space()
130 space -= bytes; in xlog_grant_sub_space()
131 if (space < 0) { in xlog_grant_sub_space()
132 space += log->l_logsize; in xlog_grant_sub_space()
137 new = xlog_assign_grant_head_val(cycle, space); in xlog_grant_sub_space()
153 int cycle, space; in xlog_grant_add_space() local
155 xlog_crack_grant_head_val(head_val, &cycle, &space); in xlog_grant_add_space()
157 tmp = log->l_logsize - space; in xlog_grant_add_space()
159 space += bytes; in xlog_grant_add_space()
[all …]
DKconfig13 Btrees (directories, extents, free space) to aid both performance
59 separate area of disk space where only file data is stored. It was
Dxfs_mount.c535 uint64_t space = mp->m_sb.sb_dblocks; in xfs_set_low_space_thresholds() local
537 do_div(space, 100); in xfs_set_low_space_thresholds()
538 mp->m_low_space[i] = space * (i + 1); in xfs_set_low_space_thresholds()
/fs/jffs2/
DREADME.Locking14 contiguous allocation of space on the medium. It is automatically
15 obtained during space allocations (jffs2_reserve_space()) and freed
50 before calling a function which may need to allocate space. The
56 before calling the space allocation functions.
60 by the normal file system code _after_ allocation of space.
64 1. Never attempt to allocate space or lock alloc_sem with
DTODO4 space it could take. Let GC flush the outstanding writes because the
/fs/fat/
Dnamei_msdos.c30 int space; in msdos_format_name() local
43 space = 1; in msdos_format_name()
68 space = (c == ' '); in msdos_format_name()
71 if (space) in msdos_format_name()
101 space = c == ' '; in msdos_format_name()
107 if (space) in msdos_format_name()
/fs/efs/
Defs.h106 unsigned char space[EFS_DIRBSIZE - EFS_DIRBLK_HEADERSIZE]; member
113 #define EFS_SLOTAT(dir, slot) EFS_REALOFF((dir)->space[slot])
Ddir.c67 if (dirblock->space[slot] == 0) in efs_readdir()
/fs/autofs/
DKconfig20 automounter (amd), which is a pure user space daemon.
22 To use the automounter you need the user-space tools from
/fs/cachefiles/
Drdwr.c695 int ret, ret2, space; in cachefiles_read_or_alloc_pages() local
709 space = 1; in cachefiles_read_or_alloc_pages()
711 space = 0; in cachefiles_read_or_alloc_pages()
730 ret = space ? -ENODATA : -ENOBUFS; in cachefiles_read_or_alloc_pages()
755 } else if (space && pagevec_add(&pagevec, page) == 0) { in cachefiles_read_or_alloc_pages()
/fs/xfs/libxfs/
Dxfs_dir2.c551 int space, /* v2 dir's space XFS_DIR2_xxx_SPACE */ in xfs_dir2_grow_inode() argument
560 trace_xfs_dir2_grow_inode(args, space); in xfs_dir2_grow_inode()
565 bno = XFS_B_TO_FSBT(mp, space * XFS_DIR2_SPACE_SIZE); in xfs_dir2_grow_inode()
577 if (space == XFS_DIR2_DATA_SPACE) { in xfs_dir2_grow_inode()
/fs/ufs/
Dsuper.c509 unsigned char * base, * space; in ufs_read_cylinder_structures() local
520 base = space = kmalloc(size, GFP_NOFS); in ufs_read_cylinder_structures()
523 sbi->s_csp = (struct ufs_csum *)space; in ufs_read_cylinder_structures()
534 ubh_ubhcpymem (space, ubh, size); in ufs_read_cylinder_structures()
536 space += size; in ufs_read_cylinder_structures()
649 unsigned char * base, * space; in ufs_put_super_internal() local
658 base = space = (char*) sbi->s_csp; in ufs_put_super_internal()
666 ubh_memcpyubh (ubh, space, size); in ufs_put_super_internal()
667 space += size; in ufs_put_super_internal()
/fs/nfsd/
DKconfig18 You may choose to use a user-space NFS server instead, in which
22 user space programs which can be found in the Linux nfs-utils
85 space programs which can be found in the Linux nfs-utils package,
/fs/quota/
Dquota_v1.c22 static inline qsize_t v1_stoqb(qsize_t space) in v1_stoqb() argument
24 return (space + QUOTABLOCK_SIZE - 1) >> QUOTABLOCK_BITS; in v1_stoqb()
Dquota_v2.c49 static inline qsize_t v2_stoqb(qsize_t space) in v2_stoqb() argument
51 return (space + QUOTABLOCK_SIZE - 1) >> QUOTABLOCK_BITS; in v2_stoqb()
/fs/notify/dnotify/
DKconfig8 that uses signals to communicate events to user-space. There exist
/fs/pstore/
DKconfig119 bool "Log user space messages"
124 interface /dev/pmsg0 to log user space messages. On reboot
/fs/proc/
DKconfig7 of the system. "Virtual" means that it doesn't take up any space on
100 Say Y if you are running any user-space software which takes benefit from
/fs/sysfs/
DKconfig25 Designers of embedded systems may wish to say N here to conserve space.
/fs/ocfs2/
Dstack_user.c131 char space; member
375 if ((msg->space != ' ') || (msg->newline != '\n')) in ocfs2_control_do_setnode_msg()
377 msg->space = msg->newline = '\0'; in ocfs2_control_do_setnode_msg()
/fs/nfs/
DKconfig15 install the user space mount.nfs command which can be found in
85 space programs which can be found in the Linux nfs-utils package,

12