/fs/ocfs2/ |
D | quota_local.c | 296 int chunk, in ocfs2_add_recovery_chunk() argument 304 rc->rc_chunk = chunk; in ocfs2_add_recovery_chunk() 470 int bit, chunk; in ocfs2_recover_local_quota_file() local 477 chunk = rchunk->rc_chunk; in ocfs2_recover_local_quota_file() 480 ol_quota_chunk_block(sb, chunk), in ocfs2_recover_local_quota_file() 490 ol_dqblk_block(sb, chunk, bit), in ocfs2_recover_local_quota_file() 497 ol_dqblk_block_off(sb, chunk, bit)); in ocfs2_recover_local_quota_file() 811 struct ocfs2_quota_chunk *chunk; in ocfs2_local_free_info() local 819 list_for_each_entry(chunk, &oinfo->dqi_chunk, qc_chunk) { in ocfs2_local_free_info() 821 (chunk->qc_headerbh->b_data); in ocfs2_local_free_info() [all …]
|
D | ioctl.c | 446 unsigned int offset = 0, cluster, chunk; in ocfs2_info_freefrag_scan_chain() local 485 for (chunk = 0; chunk < chunks_in_group; chunk++) { in ocfs2_info_freefrag_scan_chain()
|
/fs/btrfs/ |
D | tree-checker.c | 748 const struct btrfs_chunk *chunk, u64 logical, in chunk_err() argument 768 (unsigned long)chunk) { in chunk_err() 797 struct btrfs_chunk *chunk, u64 logical) in btrfs_check_chunk_valid() argument 812 length = btrfs_chunk_length(leaf, chunk); in btrfs_check_chunk_valid() 813 stripe_len = btrfs_chunk_stripe_len(leaf, chunk); in btrfs_check_chunk_valid() 814 num_stripes = btrfs_chunk_num_stripes(leaf, chunk); in btrfs_check_chunk_valid() 815 sub_stripes = btrfs_chunk_sub_stripes(leaf, chunk); in btrfs_check_chunk_valid() 816 type = btrfs_chunk_type(leaf, chunk); in btrfs_check_chunk_valid() 822 chunk_err(leaf, chunk, logical, in btrfs_check_chunk_valid() 827 chunk_err(leaf, chunk, logical, in btrfs_check_chunk_valid() [all …]
|
D | print-tree.c | 52 static void print_chunk(const struct extent_buffer *eb, struct btrfs_chunk *chunk) in print_chunk() argument 54 int num_stripes = btrfs_chunk_num_stripes(eb, chunk); in print_chunk() 57 btrfs_chunk_length(eb, chunk), btrfs_chunk_owner(eb, chunk), in print_chunk() 58 btrfs_chunk_type(eb, chunk), num_stripes); in print_chunk() 61 btrfs_stripe_devid_nr(eb, chunk, i), in print_chunk() 62 btrfs_stripe_offset_nr(eb, chunk, i)); in print_chunk()
|
D | volumes.c | 2994 struct btrfs_chunk *chunk; in btrfs_del_sys_chunk() local 3016 chunk = (struct btrfs_chunk *)(ptr + len); in btrfs_del_sys_chunk() 3017 num_stripes = btrfs_stack_chunk_num_stripes(chunk); in btrfs_del_sys_chunk() 3338 struct btrfs_chunk *chunk; in btrfs_relocate_sys_chunks() local 3387 chunk = btrfs_item_ptr(leaf, path->slots[0], in btrfs_relocate_sys_chunks() 3389 chunk_type = btrfs_chunk_type(leaf, chunk); in btrfs_relocate_sys_chunks() 3688 struct btrfs_chunk *chunk, in chunk_devid_filter() argument 3692 int num_stripes = btrfs_chunk_num_stripes(leaf, chunk); in chunk_devid_filter() 3696 stripe = btrfs_stripe_nr(chunk, i); in chunk_devid_filter() 3715 struct btrfs_chunk *chunk, in chunk_drange_filter() argument [all …]
|
D | tree-checker.h | 67 struct btrfs_chunk *chunk, u64 logical);
|
D | block-group.c | 491 u64 chunk = block_group->flags & BTRFS_BLOCK_GROUP_METADATA ? in fragment_free_space() local 493 u64 step = chunk << 1; in fragment_free_space() 495 while (len > chunk) { in fragment_free_space() 496 btrfs_remove_free_space(block_group, start, chunk); in fragment_free_space()
|
/fs/reiserfs/ |
D | xattr.c | 543 size_t chunk; in reiserfs_xattr_set_handle() local 548 chunk = PAGE_SIZE; in reiserfs_xattr_set_handle() 550 chunk = buffer_size - buffer_pos; in reiserfs_xattr_set_handle() 565 if (chunk + skip > PAGE_SIZE) in reiserfs_xattr_set_handle() 566 chunk = PAGE_SIZE - skip; in reiserfs_xattr_set_handle() 573 err = __reiserfs_write_begin(page, page_offset, chunk + skip); in reiserfs_xattr_set_handle() 576 memcpy(data + skip, buffer + buffer_pos, chunk); in reiserfs_xattr_set_handle() 578 page_offset + chunk + in reiserfs_xattr_set_handle() 584 buffer_pos += chunk; in reiserfs_xattr_set_handle() 585 file_pos += chunk; in reiserfs_xattr_set_handle() [all …]
|
D | journal.c | 672 static void write_chunk(struct buffer_chunk *chunk) in write_chunk() argument 675 for (i = 0; i < chunk->nr; i++) { in write_chunk() 676 submit_logged_buffer(chunk->bh[i]); in write_chunk() 678 chunk->nr = 0; in write_chunk() 681 static void write_ordered_chunk(struct buffer_chunk *chunk) in write_ordered_chunk() argument 684 for (i = 0; i < chunk->nr; i++) { in write_ordered_chunk() 685 submit_ordered_buffer(chunk->bh[i]); in write_ordered_chunk() 687 chunk->nr = 0; in write_ordered_chunk() 690 static int add_to_chunk(struct buffer_chunk *chunk, struct buffer_head *bh, in add_to_chunk() argument 694 BUG_ON(chunk->nr >= CHUNK_SIZE); in add_to_chunk() [all …]
|
/fs/gfs2/ |
D | bmap.c | 1320 u64 chunk; in gfs2_journaled_truncate() local 1327 chunk = oldsize - newsize; in gfs2_journaled_truncate() 1328 if (chunk > max_chunk) in gfs2_journaled_truncate() 1329 chunk = max_chunk; in gfs2_journaled_truncate() 1332 if (offs && chunk > PAGE_SIZE) in gfs2_journaled_truncate() 1333 chunk = offs + ((chunk - offs) & PAGE_MASK); in gfs2_journaled_truncate() 1335 truncate_pagecache(inode, oldsize - chunk); in gfs2_journaled_truncate() 1336 oldsize -= chunk; in gfs2_journaled_truncate() 2365 loff_t chunk; in gfs2_journaled_truncate_range() local 2368 chunk = length; in gfs2_journaled_truncate_range() [all …]
|
D | aops.c | 490 size_t offset, chunk; in gfs2_internal_read() local 500 chunk = min(size - copied, folio_size(folio) - offset); in gfs2_internal_read() 501 memcpy_from_folio(buf + copied, folio, offset, chunk); in gfs2_internal_read() 504 copied += chunk; in gfs2_internal_read()
|
/fs/nfs/blocklayout/ |
D | dev.c | 200 u64 chunk; in bl_map_stripe() local 204 chunk = div_u64(offset, dev->chunk_size); in bl_map_stripe() 205 div_u64_rem(chunk, dev->nr_children, &chunk_idx); in bl_map_stripe() 215 offset = chunk * dev->chunk_size; in bl_map_stripe()
|
/fs/ |
D | splice.c | 329 size_t used, npages, chunk, remain, keep = 0; in copy_splice_read() local 353 chunk = min_t(size_t, PAGE_SIZE, remain); in copy_splice_read() 356 bv[i].bv_len = chunk; in copy_splice_read() 357 remain -= chunk; in copy_splice_read() 387 chunk = min_t(size_t, remain, PAGE_SIZE); in copy_splice_read() 392 .len = chunk, in copy_splice_read() 395 remain -= chunk; in copy_splice_read()
|
/fs/iomap/ |
D | buffered-io.c | 876 size_t chunk = mapping_max_folio_size(mapping); in iomap_write_iter() local 887 offset = pos & (chunk - 1); in iomap_write_iter() 888 bytes = min(chunk - offset, bytes); in iomap_write_iter() 939 if (chunk > PAGE_SIZE) in iomap_write_iter() 940 chunk /= 2; in iomap_write_iter()
|
/fs/erofs/ |
D | Kconfig | 11 xattrs/data, chunk-based deduplication, multiple devices, etc.) for
|
/fs/cramfs/ |
D | README | 74 applied to the i'th blksize-sized chunk of the input data if the
|
/fs/ext4/ |
D | mballoc.c | 792 ext4_grpblk_t chunk; in ext4_mb_mark_free_simple() local 808 chunk = 1 << min; in ext4_mb_mark_free_simple() 816 len -= chunk; in ext4_mb_mark_free_simple() 817 first += chunk; in ext4_mb_mark_free_simple()
|