Home
last modified time | relevance | path

Searched refs:used (Results 1 – 25 of 82) sorted by relevance

1234

/fs/xfs/libxfs/
Dxfs_ag_resv.c180 xfs_extlen_t used) in __xfs_ag_resv_init() argument
187 if (used > ask) in __xfs_ag_resv_init()
188 ask = used; in __xfs_ag_resv_init()
206 hidden_space = ask - used; in __xfs_ag_resv_init()
234 resv->ar_reserved = ask - used; in __xfs_ag_resv_init()
249 xfs_extlen_t used; in xfs_ag_resv_init() local
254 ask = used = 0; in xfs_ag_resv_init()
256 error = xfs_refcountbt_calc_reserves(mp, tp, agno, &ask, &used); in xfs_ag_resv_init()
260 error = xfs_finobt_calc_reserves(mp, tp, agno, &ask, &used); in xfs_ag_resv_init()
265 ask, used); in xfs_ag_resv_init()
[all …]
Dxfs_refcount_btree.h59 xfs_extlen_t *used);
/fs/ubifs/
Dtnc_commit.c432 int lnum, offs, len, next_len, buf_len, buf_offs, used, avail; in layout_in_empty_space() local
444 used = 0; in layout_in_empty_space()
465 used = 0; in layout_in_empty_space()
469 offs = buf_offs + used; in layout_in_empty_space()
510 wlen = used + len; in layout_in_empty_space()
511 used += ALIGN(len, 8); in layout_in_empty_space()
515 buf_offs + used + next_len <= c->leb_size && in layout_in_empty_space()
520 buf_offs + used + next_len <= c->leb_size) in layout_in_empty_space()
530 c->leb_size - buf_offs, blen - used, in layout_in_empty_space()
536 used -= blen; in layout_in_empty_space()
[all …]
Dio.c542 if (!wbuf->used || wbuf->lnum == -1) in ubifs_wbuf_sync_nolock()
547 wbuf->lnum, wbuf->offs, wbuf->used, dbg_jhead(wbuf->jhead)); in ubifs_wbuf_sync_nolock()
564 sync_len = ALIGN(wbuf->used, c->min_io_size); in ubifs_wbuf_sync_nolock()
565 dirt = sync_len - wbuf->used; in ubifs_wbuf_sync_nolock()
567 ubifs_pad(c, wbuf->buf + wbuf->used, dirt); in ubifs_wbuf_sync_nolock()
591 wbuf->used = 0; in ubifs_wbuf_sync_nolock()
620 ubifs_assert(c, wbuf->used == 0); in ubifs_wbuf_seek_nolock()
632 wbuf->used = 0; in ubifs_wbuf_seek_nolock()
725 dbg_jhead(wbuf->jhead), wbuf->lnum, wbuf->offs + wbuf->used); in ubifs_wbuf_write_nolock()
739 if (c->leb_size - wbuf->offs - wbuf->used < aligned_len) { in ubifs_wbuf_write_nolock()
[all …]
Dgc.c76 wbuf->lnum, wbuf->offs + wbuf->used, gc_lnum, in switch_gc_head()
77 c->leb_size - wbuf->offs - wbuf->used); in switch_gc_head()
309 int err, new_lnum = wbuf->lnum, new_offs = wbuf->offs + wbuf->used; in move_node()
361 avail = c->leb_size - wbuf->offs - wbuf->used - in move_nodes()
383 avail = c->leb_size - wbuf->offs - wbuf->used - in move_nodes()
501 ubifs_assert(c, c->gc_lnum != -1 || wbuf->offs + wbuf->used == 0 || in ubifs_garbage_collect_leb()
693 ubifs_assert(c, !wbuf->used); in ubifs_garbage_collect()
745 space_before = c->leb_size - wbuf->offs - wbuf->used; in ubifs_garbage_collect()
785 space_after = c->leb_size - wbuf->offs - wbuf->used; in ubifs_garbage_collect()
Dreplay.c384 unsigned long long sqnum, int deletion, int *used, in insert_node() argument
399 *used += ALIGN(len, 8); in insert_node()
434 int deletion, int *used) in insert_dent() argument
454 *used += ALIGN(len, 8); in insert_dent()
683 int err = 0, used = 0, lnum = b->bud->lnum, offs = b->bud->start; in replay_bud() local
761 &used, 0, new_size); in replay_bud()
773 &used, 0, new_size); in replay_bud()
788 !le64_to_cpu(dent->inum), &used); in replay_bud()
812 &key, snod->sqnum, 1, &used, in replay_bud()
833 ubifs_assert(c, sleb->endpt - offs >= used); in replay_bud()
[all …]
/fs/btrfs/
Dspace-info.c170 u64 used; in can_overcommit() local
182 used = btrfs_space_info_used(space_info, true); in can_overcommit()
204 if (used + bytes < space_info->total_bytes + avail) in can_overcommit()
225 u64 used = btrfs_space_info_used(space_info, true); in btrfs_try_granting_tickets() local
230 if ((used + ticket->bytes <= space_info->total_bytes) || in btrfs_try_granting_tickets()
635 u64 used; in btrfs_calc_reclaim_metadata_size() local
651 used = btrfs_space_info_used(space_info, true); in btrfs_calc_reclaim_metadata_size()
659 if (used > expected) in btrfs_calc_reclaim_metadata_size()
660 to_reclaim = used - expected; in btrfs_calc_reclaim_metadata_size()
670 u64 used, bool system_chunk) in need_do_async_reclaim() argument
[all …]
Ddelalloc-space.c17 u64 used; in btrfs_alloc_data_chunk_ondemand() local
33 used = btrfs_space_info_used(data_sinfo, true); in btrfs_alloc_data_chunk_ondemand()
35 if (used + bytes > data_sinfo->total_bytes) { in btrfs_alloc_data_chunk_ondemand()
85 used + bytes - data_sinfo->total_bytes, in btrfs_alloc_data_chunk_ondemand()
DKconfig57 the mount options, plenty of kernel memory is used, and
101 is meant to be used by btrfs developers for tracking down extent
/fs/
Dcoredump.c62 int used, size; member
89 free = cn->size - cn->used; in cn_vprintf()
92 need = vsnprintf(cn->corename + cn->used, free, fmt, arg_copy); in cn_vprintf()
96 cn->used += need; in cn_vprintf()
121 int cur = cn->used; in cn_esc_printf()
134 if ((cn->used - cur == 1 && cn->corename[cur] == '.') || in cn_esc_printf()
135 (cn->used - cur == 2 && cn->corename[cur] == '.' in cn_esc_printf()
145 if (cn->used == cur) in cn_esc_printf()
149 for (; cur < cn->used; ++cur) { in cn_esc_printf()
201 cn->used = 0; in format_corename()
[all …]
/fs/jffs2/
Ddebug.c163 uint32_t free = 0, dirty = 0, used = 0, wasted = 0, in __jffs2_dbg_superblock_counts() local
172 used += c->gcblock->used_size; in __jffs2_dbg_superblock_counts()
180 used += c->nextblock->used_size; in __jffs2_dbg_superblock_counts()
188 used += jeb->used_size; in __jffs2_dbg_superblock_counts()
196 used += jeb->used_size; in __jffs2_dbg_superblock_counts()
204 used += jeb->used_size; in __jffs2_dbg_superblock_counts()
212 used += jeb->used_size; in __jffs2_dbg_superblock_counts()
220 used += jeb->used_size; in __jffs2_dbg_superblock_counts()
228 used += jeb->used_size; in __jffs2_dbg_superblock_counts()
236 used += jeb->used_size; in __jffs2_dbg_superblock_counts()
[all …]
DREADME.Locking13 The alloc_sem is a per-filesystem mutex, used primarily to ensure
33 the alloc_sem is also used to protect the wbuf-related members of the
48 The reason that the i_sem itself isn't used for this purpose is to
74 This is used to serialise access to the eraseblock lists, to the
93 The erase_completion_lock is also used to protect the c->gc_task
109 if we need to deal with wrapping after 4 milliard inode numbers are used.
124 This mutex is only used by the erase code which frees obsolete node
142 write-behind buffer ('wbuf') used for flash chips where we must write
/fs/affs/
DKconfig6 The Fast File System (FFS) is the common file system used on hard
11 controller used in an Amiga and the standard floppy controller in
15 With this driver you can also mount disk files used by Bernd
DChanges3 things that can be used since quite some time. But
113 partially used last block when a file is truncated.
300 - The same get_block()-routine can now be used for
307 - The number of used blocks is now also calculated
/fs/jfs/
Djfs_types.h151 #define setDASDUSED(dasdp, used)\ argument
153 (dasdp)->used_hi = ((u64)used) >> 32;\
154 (dasdp)->used_lo = __cpu_to_le32(used);\
/fs/squashfs/
DKconfig17 archival use (i.e. in cases where a .tar.gz file may be used), and in
70 Traditionally Squashfs has used single-threaded decompression.
117 ZLIB compression is the standard compression used by Squashfs
134 LZ4 is not the standard compression used in Squashfs and so most
149 LZO is not the standard compression used in Squashfs and so most
164 XZ is not the standard compression used in Squashfs and so most
178 ZSTD is not the standard compression used in Squashfs and so most
/fs/nls/
DKconfig25 The default NLS used when mounting file system. Note, that this is
26 the NLS used by your console, not the NLS used by a specific file
49 say Y here if you want to include the DOS codepage that is used in
61 say Y here if you want to include the DOS codepage that is used for
73 say Y here if you want to include the DOS codepage that is used
86 say Y here if you want to include the DOS codepage that is used for
102 say Y here if you want to include the Latin 2 codepage used by DOS
433 Latin 1 (ISO 8859-1) that removes a handful of rarely used
465 say Y here if you want to include the Mac codepage that is used for
480 say Y here if you want to include the Mac codepage that is used for
[all …]
/fs/notify/fanotify/
DKconfig22 decisions concerning filesystem events. This is used by some fanotify
24 use those files. This is used by some anti-malware vendors and by some
/fs/sysfs/
DKconfig13 which driver each is bound to. sysfs can also be used to tune devices
20 sysfs is currently used by the block subsystem to mount the root
/fs/ceph/
Dquota.c484 u64 total = 0, used, free; in ceph_quota_update_statfs() local
501 used = ci->i_rbytes >> CEPH_BLOCK_SHIFT; in ceph_quota_update_statfs()
505 free = total > used ? total - used : 0; in ceph_quota_update_statfs()
Dcaps.c282 ctx->used = 0; in ceph_reserve_caps()
323 ceph_reclaim_caps_nr(mdsc, ctx->used); in ceph_unreserve_caps()
368 ctx->used++; in ceph_get_cap()
407 int *total, int *avail, int *used, int *reserved, in ceph_reservation_status() argument
418 if (used) in ceph_reservation_status()
419 *used = mdsc->caps_use_count; in ceph_reservation_status()
954 int used = 0; in __ceph_caps_used() local
956 used |= CEPH_CAP_PIN; in __ceph_caps_used()
958 used |= CEPH_CAP_FILE_RD; in __ceph_caps_used()
962 used |= CEPH_CAP_FILE_CACHE; in __ceph_caps_used()
[all …]
Ddebugfs.c141 int total, avail, used, reserved, min, i; in caps_show() local
143 ceph_reservation_status(fsc, &total, &avail, &used, &reserved, &min); in caps_show()
149 total, avail, used, reserved, min); in caps_show()
/fs/jbd2/
DKconfig9 both 32-bit and 64-bit block numbers. It is currently used by
10 the ext4 and OCFS2 filesystems, but it could also be used to add
/fs/cifs/
DKconfig92 than the mechanisms used in the older LANMAN version of the
103 used automatically. At runtime LANMAN mounts are disabled but
132 The system namespace (used by some filesystems to store ACLs) is
174 used to communicate on an encrypted share connection on the
184 Distributed File System (DFS) support is used to access shares
/fs/cramfs/
DREADME7 a given directory are contiguous, as this is used by readdir).
64 the block data. This is used to allow discontiguous data layout
148 etc. macros as used by ext2fs. We don't need to swab the compressed
193 Given that cramfs will probably be used for CDs etc. as well as just

1234