/fs/xfs/libxfs/ |
D | xfs_ag_resv.c | 182 xfs_extlen_t used) in __xfs_ag_resv_init() argument 189 if (used > ask) in __xfs_ag_resv_init() 190 ask = used; in __xfs_ag_resv_init() 208 hidden_space = ask - used; in __xfs_ag_resv_init() 236 resv->ar_reserved = ask - used; in __xfs_ag_resv_init() 251 xfs_extlen_t used; in xfs_ag_resv_init() local 256 ask = used = 0; in xfs_ag_resv_init() 258 error = xfs_refcountbt_calc_reserves(mp, tp, agno, &ask, &used); in xfs_ag_resv_init() 262 error = xfs_finobt_calc_reserves(mp, tp, agno, &ask, &used); in xfs_ag_resv_init() 267 ask, used); in xfs_ag_resv_init() [all …]
|
/fs/ubifs/ |
D | tnc_commit.c | 432 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 …]
|
D | io.c | 554 if (!wbuf->used || wbuf->lnum == -1) in ubifs_wbuf_sync_nolock() 559 wbuf->lnum, wbuf->offs, wbuf->used, dbg_jhead(wbuf->jhead)); in ubifs_wbuf_sync_nolock() 576 sync_len = ALIGN(wbuf->used, c->min_io_size); in ubifs_wbuf_sync_nolock() 577 dirt = sync_len - wbuf->used; in ubifs_wbuf_sync_nolock() 579 ubifs_pad(c, wbuf->buf + wbuf->used, dirt); in ubifs_wbuf_sync_nolock() 603 wbuf->used = 0; in ubifs_wbuf_sync_nolock() 632 ubifs_assert(c, wbuf->used == 0); in ubifs_wbuf_seek_nolock() 644 wbuf->used = 0; in ubifs_wbuf_seek_nolock() 737 dbg_jhead(wbuf->jhead), wbuf->lnum, wbuf->offs + wbuf->used); in ubifs_wbuf_write_nolock() 751 if (c->leb_size - wbuf->offs - wbuf->used < aligned_len) { in ubifs_wbuf_write_nolock() [all …]
|
D | gc.c | 72 wbuf->lnum, wbuf->offs + wbuf->used, gc_lnum, in switch_gc_head() 73 c->leb_size - wbuf->offs - wbuf->used); in switch_gc_head() 305 int err, new_lnum = wbuf->lnum, new_offs = wbuf->offs + wbuf->used; in move_node() 357 avail = c->leb_size - wbuf->offs - wbuf->used - in move_nodes() 379 avail = c->leb_size - wbuf->offs - wbuf->used - in move_nodes() 497 ubifs_assert(c, c->gc_lnum != -1 || wbuf->offs + wbuf->used == 0 || in ubifs_garbage_collect_leb() 689 ubifs_assert(c, !wbuf->used); in ubifs_garbage_collect() 741 space_before = c->leb_size - wbuf->offs - wbuf->used; in ubifs_garbage_collect() 781 space_after = c->leb_size - wbuf->offs - wbuf->used; in ubifs_garbage_collect()
|
D | replay.c | 385 unsigned long long sqnum, int deletion, int *used, in insert_node() argument 400 *used += ALIGN(len, 8); in insert_node() 435 int deletion, int *used) in insert_dent() argument 455 *used += ALIGN(len, 8); in insert_dent() 669 int err = 0, used = 0, lnum = b->bud->lnum, offs = b->bud->start; in replay_bud() local 747 &used, 0, new_size); in replay_bud() 759 &used, 0, new_size); in replay_bud() 774 !le64_to_cpu(dent->inum), &used); in replay_bud() 798 &key, snod->sqnum, 1, &used, in replay_bud() 819 ubifs_assert(c, sleb->endpt - offs >= used); in replay_bud() [all …]
|
/fs/btrfs/ |
D | space-info.c | 339 u64 used; in btrfs_can_overcommit() local 345 used = btrfs_space_info_used(space_info, true); in btrfs_can_overcommit() 348 if (used + bytes < space_info->total_bytes + avail) in btrfs_can_overcommit() 379 u64 used = btrfs_space_info_used(space_info, true); in btrfs_try_granting_tickets() local 384 if ((used + ticket->bytes <= space_info->total_bytes) || in btrfs_try_granting_tickets() 459 cache->start, cache->length, cache->used, cache->pinned, in btrfs_dump_space_info() 756 u64 used; in btrfs_calc_reclaim_metadata_size() local 765 used = btrfs_space_info_used(space_info, true); in btrfs_calc_reclaim_metadata_size() 773 if (space_info->total_bytes + avail < used) in btrfs_calc_reclaim_metadata_size() 774 to_reclaim += used - (space_info->total_bytes + avail); in btrfs_calc_reclaim_metadata_size() [all …]
|
D | discard.c | 212 block_group->used != 0) { in peek_discard_list() 322 if (block_group->used == 0) in btrfs_discard_queue_work() 408 if (block_group->used == 0) { in btrfs_finish_discard_pass() 656 if (block_group->used == 0) in btrfs_discard_purge_list()
|
D | block-group.c | 673 bytes_used = block_group->length - block_group->used; in caching_thread() 777 bytes_used = cache->length - cache->used; in btrfs_cache_block_group() 1251 cache->bytes_super - cache->used; in inc_block_group_ro() 1397 block_group->used || block_group->ro || in btrfs_delete_unused_bgs() 1900 cache->used = btrfs_stack_block_group_used(&bgi); in read_block_group_item() 1965 if (cache->length == cache->used) { in read_one_block_group() 1969 } else if (cache->used == 0) { in read_one_block_group() 1984 cache->used, cache->bytes_super, &space_info); in read_one_block_group() 1993 } else if (cache->used == 0) { in read_one_block_group() 2095 btrfs_set_stack_block_group_used(&bgi, block_group->used); in insert_block_group_item() [all …]
|
/fs/ |
D | coredump.c | 63 int used, size; member 90 free = cn->size - cn->used; in cn_vprintf() 93 need = vsnprintf(cn->corename + cn->used, free, fmt, arg_copy); in cn_vprintf() 97 cn->used += need; in cn_vprintf() 122 int cur = cn->used; in cn_esc_printf() 135 if ((cn->used - cur == 1 && cn->corename[cur] == '.') || in cn_esc_printf() 136 (cn->used - cur == 2 && cn->corename[cur] == '.' in cn_esc_printf() 146 if (cn->used == cur) in cn_esc_printf() 150 for (; cur < cn->used; ++cur) { in cn_esc_printf() 207 cn->used = 0; in format_corename() [all …]
|
/fs/jffs2/ |
D | debug.c | 163 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 …]
|
D | README.Locking | 13 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/ |
D | Kconfig | 6 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
|
/fs/jfs/ |
D | jfs_types.h | 151 #define setDASDUSED(dasdp, used)\ argument 153 (dasdp)->used_hi = ((u64)used) >> 32;\ 154 (dasdp)->used_lo = __cpu_to_le32(used);\
|
/fs/squashfs/ |
D | Kconfig | 17 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/ |
D | Kconfig | 25 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/exfat/ |
D | Kconfig | 8 exFAT is typically used on SD-Cards or USB sticks. 19 converting between the encoding that is used for user visible
|
/fs/verity/ |
D | Kconfig | 10 # algorithm that may be used instead. In this case, CRYPTO_SHA256 may 11 # be omitted even if SHA-256 is being used. 54 used to provide an authenticity guarantee for verity files, as
|
/fs/notify/fanotify/ |
D | Kconfig | 22 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/ |
D | Kconfig | 13 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/ |
D | caps.c | 282 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() 987 int used = 0; in __ceph_caps_used() local 989 used |= CEPH_CAP_PIN; in __ceph_caps_used() 991 used |= CEPH_CAP_FILE_RD; in __ceph_caps_used() 995 used |= CEPH_CAP_FILE_CACHE; in __ceph_caps_used() [all …]
|
D | quota.c | 482 u64 total = 0, used, free; in ceph_quota_update_statfs() local 499 used = ci->i_rbytes >> CEPH_BLOCK_SHIFT; in ceph_quota_update_statfs() 503 free = total > used ? total - used : 0; in ceph_quota_update_statfs()
|
D | debugfs.c | 227 int total, avail, used, reserved, min, i; in caps_show() local 230 ceph_reservation_status(fsc, &total, &avail, &used, &reserved, &min); in caps_show() 236 total, avail, used, reserved, min); in caps_show()
|
/fs/jbd2/ |
D | Kconfig | 9 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/ |
D | Kconfig | 92 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/ |
D | README | 7 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
|