| /fs/ntfs3/ |
| A D | record.c | 202 u32 used = le32_to_cpu(rec->used); in mi_enum_attr() local 484 u32 used = le32_to_cpu(rec->used); in mi_insert_attr() local 528 rec->used = cpu_to_le32(used + asize); in mi_insert_attr() 545 u32 used = le32_to_cpu(rec->used); in mi_remove_attr() local 561 used -= asize; in mi_remove_attr() 563 rec->used = cpu_to_le32(used); in mi_remove_attr() 574 u32 total, used = le32_to_cpu(rec->used); in mi_resize_attr() local 598 used += dsize; in mi_resize_attr() 610 rec->used = cpu_to_le32(used); in mi_resize_attr() 632 u32 used = le32_to_cpu(rec->used); in mi_pack_runs() local [all …]
|
| A D | index.c | 595 u32 used = le32_to_cpu(hdr->used); in hdr_insert_head() local 604 hdr->used = cpu_to_le32(used + ins_bytes); in hdr_insert_head() 809 u32 used = le32_to_cpu(hdr->used); in hdr_insert_de() local 837 hdr->used = cpu_to_le32(used + de_size); in hdr_insert_de() 849 u32 used = le32_to_cpu(hdr->used); in hdr_delete_de() local 862 hdr->used = cpu_to_le32(used - esize); in hdr_delete_de() 978 hdr->used = in indx_new() 1685 hdr->used = hdr->total = in indx_insert_into_root() 1797 u32 to_copy, used, used1; in indx_insert_into_buffer() local 1875 hdr1->used = cpu_to_le32(used); in indx_insert_into_buffer() [all …]
|
| A D | fslog.c | 822 t->used = cpu_to_le16(used); in init_rsttbl() 842 u32 used = le16_to_cpu(tbl->used); in extend_rsttbl() local 2613 used = le32_to_cpu(hdr->used); in check_index_header() 3233 used = le32_to_cpu(rec->used); in do_action() 3269 used = le32_to_cpu(rec->used); in do_action() 3290 used = le32_to_cpu(rec->used); in do_action() 3338 used = le32_to_cpu(rec->used); in do_action() 3396 used = le32_to_cpu(hdr->used); in do_action() 3423 used = le32_to_cpu(hdr->used); in do_action() 3522 used = le32_to_cpu(hdr->used); in do_action() [all …]
|
| A D | ntfs.h | 275 __le32 used; // 0x18: The size of used part. member 700 __le32 used; // 0x04: The size of this structure plus all member 715 u32 used = le32_to_cpu(hdr->used); in hdr_first_de() local 719 if (de_off >= used || size_add(de_off, sizeof(struct NTFS_DE)) > used) in hdr_first_de() 724 if (esize < sizeof(struct NTFS_DE) || de_off + esize > used) in hdr_first_de() 734 u32 used = le32_to_cpu(hdr->used); in hdr_next_de() local 737 if (off >= used) in hdr_next_de() 743 off + esize + sizeof(struct NTFS_DE) > used) in hdr_next_de()
|
| A D | run.c | 319 size_t used, index; in run_add_entry() local 363 used = run->count * sizeof(struct ntfs_run); in run_add_entry() 370 if (run->allocated < used + sizeof(struct ntfs_run)) { in run_add_entry() 375 if (!used) { in run_add_entry() 377 } else if (used <= 16 * PAGE_SIZE) { in run_add_entry() 382 << (2 + blksize_bits(used)); in run_add_entry() 1008 if (lcn != SPARSE_LCN64 && lcn + len > sbi->used.bitmap.nbits) { in run_unpack() 1066 if (!sbi->used.bitmap.sb || !run || run == RUN_DEALLOCATE) in run_unpack_ex() 1073 wnd = &sbi->used.bitmap; in run_unpack_ex()
|
| /fs/xfs/libxfs/ |
| A D | xfs_ag_resv.c | 173 xfs_extlen_t used) in __xfs_ag_resv_init() argument 180 if (used > ask) in __xfs_ag_resv_init() 181 ask = used; in __xfs_ag_resv_init() 199 hidden_space = ask - used; in __xfs_ag_resv_init() 244 xfs_extlen_t used; in xfs_ag_resv_init() local 250 ask = used = 0; in xfs_ag_resv_init() 261 ask, used); in xfs_ag_resv_init() 270 ask = used = 0; in xfs_ag_resv_init() 275 &used); in xfs_ag_resv_init() 280 ask, used); in xfs_ag_resv_init() [all …]
|
| A D | xfs_metafile.c | 261 xfs_filblks_t used = 0, target = 0; in xfs_metafile_resv_init() local 282 used += rtg_rmap(rtg)->i_nblocks; in xfs_metafile_resv_init() 286 used += rtg_refcount(rtg)->i_nblocks; in xfs_metafile_resv_init() 299 if (used > target) in xfs_metafile_resv_init() 300 target = used; in xfs_metafile_resv_init() 303 hidden_space = target - used; in xfs_metafile_resv_init() 314 mp->m_metafile_resv_used = used; in xfs_metafile_resv_init()
|
| /fs/bcachefs/ |
| A D | siphash.c | 106 size_t left, used; in SipHash_Update() local 111 used = ctx->bytes % sizeof(ctx->buf); in SipHash_Update() 114 if (used > 0) { in SipHash_Update() 115 left = sizeof(ctx->buf) - used; in SipHash_Update() 118 memcpy(&ctx->buf[used], ptr, left); in SipHash_Update() 123 memcpy(&ctx->buf[used], ptr, len); in SipHash_Update() 135 memcpy(&ctx->buf[used], ptr, len); in SipHash_Update() 150 size_t left, used; in SipHash_End() local 152 used = ctx->bytes % sizeof(ctx->buf); in SipHash_End() 153 left = sizeof(ctx->buf) - used; in SipHash_End() [all …]
|
| A D | bkey_sort.h | 7 unsigned used; member 18 iter->used = 0; in sort_iter_init() 36 BUG_ON(iter->used >= iter->size); in sort_iter_add() 39 iter->data[iter->used++] = (struct sort_iter_set) { k, end }; in sort_iter_add()
|
| A D | bkey_sort.c | 15 return !iter->used; in sort_iter_end() 24 i + 1 < iter->used && in sort_iter_sift() 32 unsigned i = iter->used; in sort_iter_sort() 47 BUG_ON(!iter->used); in sort_iter_advance() 54 array_remove_item(iter->data, iter->used, 0); in sort_iter_advance() 88 return iter->used >= 2 && in should_drop_next_key()
|
| A D | xattr.c | 234 size_t used; member 245 if (buf->used + total_len > buf->len) in __bch2_xattr_emit() 248 memcpy(buf->buf + buf->used, prefix, prefix_len); in __bch2_xattr_emit() 249 memcpy(buf->buf + buf->used + prefix_len, in __bch2_xattr_emit() 251 buf->buf[buf->used + prefix_len + name_len] = '\0'; in __bch2_xattr_emit() 254 buf->used += total_len; in __bch2_xattr_emit() 329 return ret ? bch2_err_class(ret) : buf.used; in bch2_xattr_list()
|
| /fs/ubifs/ |
| A D | tnc_commit.c | 444 used = 0; in layout_in_empty_space() 465 used = 0; in layout_in_empty_space() 510 wlen = used + len; in layout_in_empty_space() 536 used -= blen; in layout_in_empty_space() 537 if (used < 0) in layout_in_empty_space() 538 used = 0; in layout_in_empty_space() 846 used = 0; in write_index() 913 used = 0; in write_index() 1006 used -= blen; in write_index() 1007 if (used < 0) in write_index() [all …]
|
| A D | io.c | 587 dirt = sync_len - wbuf->used; in ubifs_wbuf_sync_nolock() 613 wbuf->used = 0; in ubifs_wbuf_sync_nolock() 642 ubifs_assert(c, wbuf->used == 0); in ubifs_wbuf_seek_nolock() 654 wbuf->used = 0; in ubifs_wbuf_seek_nolock() 797 wbuf->used = 0; in ubifs_wbuf_write_nolock() 803 wbuf->used += aligned_len; in ubifs_wbuf_write_nolock() 810 if (wbuf->used) { in ubifs_wbuf_write_nolock() 915 wbuf->used = aligned_len; in ubifs_wbuf_write_nolock() 928 if (wbuf->used) in ubifs_wbuf_write_nolock() 1166 wbuf->used = 0; in ubifs_wbuf_init() [all …]
|
| A 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() 306 int err, new_lnum = wbuf->lnum, new_offs = wbuf->offs + wbuf->used; in move_node() 358 avail = c->leb_size - wbuf->offs - wbuf->used - in move_nodes() 380 avail = c->leb_size - wbuf->offs - wbuf->used - in move_nodes() 498 ubifs_assert(c, c->gc_lnum != -1 || wbuf->offs + wbuf->used == 0 || in ubifs_garbage_collect_leb() 690 ubifs_assert(c, !wbuf->used); in ubifs_garbage_collect() 745 space_before = c->leb_size - wbuf->offs - wbuf->used; in ubifs_garbage_collect() 796 space_after = c->leb_size - wbuf->offs - wbuf->used; in ubifs_garbage_collect()
|
| A D | replay.c | 386 unsigned long long sqnum, int deletion, int *used, in insert_node() argument 401 *used += ALIGN(len, 8); in insert_node() 437 int deletion, int *used) in insert_dent() argument 457 *used += ALIGN(len, 8); in insert_dent() 671 int err = 0, used = 0, lnum = b->bud->lnum, offs = b->bud->start; in replay_bud() local 749 &used, 0, new_size); in replay_bud() 761 &used, 0, new_size); in replay_bud() 776 !le64_to_cpu(dent->inum), &used); in replay_bud() 800 &key, snod->sqnum, 1, &used, in replay_bud() 821 ubifs_assert(c, sleb->endpt - offs >= used); in replay_bud() [all …]
|
| /fs/btrfs/ |
| A D | space-info.c | 498 u64 used; in btrfs_can_overcommit() local 906 u64 used; in btrfs_calc_reclaim_metadata_size() local 934 u64 used; in need_preemptive_reclaim() local 948 if (global_rsv_size >= used) in need_preemptive_reclaim() 956 if (used - global_rsv_size <= SZ_128M) in need_preemptive_reclaim() 999 if (used < space_info->total_bytes) in need_preemptive_reclaim() 1000 thresh += space_info->total_bytes - used; in need_preemptive_reclaim() 1003 used = space_info->bytes_pinned; in need_preemptive_reclaim() 1737 u64 used; in __reserve_bytes() local 1965 block_group->used) * factor; in btrfs_account_ro_block_groups_free_space() [all …]
|
| A D | block-group.c | 1531 u64 used; in btrfs_delete_unused_bgs() local 1798 return bg1->used > bg2->used; in reclaim_bgs_cmp() 1871 u64 used; in btrfs_reclaim_bgs_work() local 1900 if (bg->used == 0) { in btrfs_reclaim_bgs_work() 1976 used = bg->used; in btrfs_reclaim_bgs_work() 1986 used = 0; in btrfs_reclaim_bgs_work() 2844 bool used; in btrfs_create_pending_block_groups() local 2850 if (!used) in btrfs_create_pending_block_groups() 3130 u64 used; in update_block_group_item() local 3140 used = cache->used; in update_block_group_item() [all …]
|
| /fs/xfs/scrub/ |
| A D | newbt.c | 196 resv->used = 0; in xrep_newbt_add_blocks() 421 if (!btree_committed || resv->used == 0) { in xrep_newbt_free_extent() 439 free_agbno += resv->used; in xrep_newbt_free_extent() 440 free_aglen -= resv->used; in xrep_newbt_free_extent() 565 if (resv->used == resv->len) in xrep_newbt_claim_block() 575 agbno = resv->agbno + resv->used; in xrep_newbt_claim_block() 576 resv->used++; in xrep_newbt_claim_block() 579 if (resv->used == resv->len) in xrep_newbt_claim_block() 602 unused += resv->len - resv->used; in xrep_newbt_unused_blocks()
|
| /fs/xfs/ |
| A D | xfs_zone_alloc.c | 76 uint32_t used = rtg_rmap(rtg)->i_used_blocks; in xfs_zone_account_reclaimable() local 79 uint32_t to_bucket = xfs_zone_bucket(mp, used); in xfs_zone_account_reclaimable() 80 bool was_full = (used + freed == rtg_blocks(rtg)); in xfs_zone_account_reclaimable() 91 if (!used) { in xfs_zone_account_reclaimable() 144 uint32_t used = rtg_rmap(rtg)->i_used_blocks; in xfs_open_zone_mark_full() local 162 if (used < rtg_blocks(rtg)) in xfs_open_zone_mark_full() 1030 uint32_t used = rtg_rmap(rtg)->i_used_blocks; in xfs_init_zone() local 1064 if (write_pointer == rtg_blocks(rtg) && used == 0) { in xfs_init_zone() 1087 iz->reclaimable += write_pointer - used; in xfs_init_zone() 1088 } else if (used < rtg_blocks(rtg)) { in xfs_init_zone() [all …]
|
| /fs/jffs2/ |
| A D | debug.c | 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() 244 used += jeb->used_size; in __jffs2_dbg_superblock_counts() [all …]
|
| A 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/ |
| A D | Kconfig | 8 The Fast File System (FFS) is the common file system used on hard 13 controller used in an Amiga and the standard floppy controller in 17 With this driver you can also mount disk files used by Bernd
|
| /fs/jfs/ |
| A 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/ |
| A D | coredump.c | 96 int used, size; member 128 free = cn->size - cn->used; in cn_vprintf() 135 cn->used += need; in cn_vprintf() 160 int cur = cn->used; in cn_esc_printf() 173 if ((cn->used - cur == 1 && cn->corename[cur] == '.') || in cn_esc_printf() 174 (cn->used - cur == 2 && cn->corename[cur] == '.' in cn_esc_printf() 184 if (cn->used == cur) in cn_esc_printf() 188 for (; cur < cn->used; ++cur) { in cn_esc_printf() 248 cn->used = 0; in coredump_parse() 340 if (cn->used != 0) in coredump_parse() [all …]
|
| /fs/nls/ |
| A 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 …]
|