Home
last modified time | relevance | path

Searched refs:max_bytes (Results 1 – 19 of 19) sorted by relevance

/fs/btrfs/tests/
A Dextent-io-tests.c118 u64 max_bytes = BTRFS_MAX_EXTENT_SIZE; in test_find_delalloc() local
119 u64 total_dirty = 2 * max_bytes; in test_find_delalloc()
210 btrfs_set_extent_bit(tmp, sectorsize, max_bytes - 1, EXTENT_DELALLOC, NULL); in test_find_delalloc()
219 if (start != test_start || end != max_bytes - 1) { in test_find_delalloc()
221 test_start, max_bytes - 1, start, end); in test_find_delalloc()
238 test_start = max_bytes + sectorsize; in test_find_delalloc()
265 btrfs_set_extent_bit(tmp, max_bytes, total_dirty - 1, EXTENT_DELALLOC, NULL); in test_find_delalloc()
291 (max_bytes + SZ_1M) >> PAGE_SHIFT); in test_find_delalloc()
/fs/ubifs/
A Dsb.c381 long long max_bytes; in validate_sb() local
440 max_bytes = (long long)c->leb_size * UBIFS_MIN_BUD_LEBS; in validate_sb()
441 if (c->max_bud_bytes < max_bytes) { in validate_sb()
443 c->max_bud_bytes, max_bytes); in validate_sb()
447 max_bytes = (long long)c->leb_size * c->main_lebs; in validate_sb()
448 if (c->max_bud_bytes > max_bytes) { in validate_sb()
450 c->max_bud_bytes, max_bytes); in validate_sb()
484 if (c->rp_size < 0 || max_bytes < c->rp_size) { in validate_sb()
/fs/btrfs/
A Dextent-io-tree.h166 u64 max_bytes, u32 bits, int contig,
220 u64 *end, u64 max_bytes,
A Dextent-io-tree.c984 u64 *end, u64 max_bytes, in btrfs_find_delalloc_range() argument
1023 if (total_bytes >= max_bytes) in btrfs_find_delalloc_range()
1666 u64 *start, u64 search_end, u64 max_bytes, in btrfs_count_range_bits() argument
1725 if (total_bytes >= max_bytes) in btrfs_count_range_bits()
A Dextent_io.c312 u64 max_bytes = fs_info ? fs_info->max_extent_size : BTRFS_MAX_EXTENT_SIZE; in find_lock_delalloc_range() local
331 max_bytes, &cached_state); in find_lock_delalloc_range()
352 if (delalloc_end + 1 - delalloc_start > max_bytes) in find_lock_delalloc_range()
353 delalloc_end = delalloc_start + max_bytes - 1; in find_lock_delalloc_range()
366 max_bytes = PAGE_SIZE; in find_lock_delalloc_range()
A Dfree-space-cache.c692 u64 max_bytes; in recalculate_thresholds() local
716 max_bytes = MAX_CACHE_BYTES_PER_GIG; in recalculate_thresholds()
718 max_bytes = MAX_CACHE_BYTES_PER_GIG * div_u64(size, SZ_1G); in recalculate_thresholds()
726 extent_bytes = max_bytes - bitmap_bytes; in recalculate_thresholds()
727 extent_bytes = min_t(u64, extent_bytes, max_bytes >> 1); in recalculate_thresholds()
/fs/gfs2/
A Dfile.c1259 loff_t bytes, max_bytes, max_blks; in __gfs2_fallocate() local
1297 max_bytes = (len > max_chunk_size) ? max_chunk_size : len; in __gfs2_fallocate()
1326 calc_max_reserv(ip, &max_bytes, &data_blocks, in __gfs2_fallocate()
1339 error = fallocate_chunk(inode, offset, max_bytes, mode); in __gfs2_fallocate()
1345 len -= max_bytes; in __gfs2_fallocate()
1346 offset += max_bytes; in __gfs2_fallocate()
/fs/xfs/
A Dxfs_buf.c1699 unsigned int min_bytes, max_bytes; in xfs_configure_buftarg_atomic_writes() local
1702 max_bytes = bdev_atomic_write_unit_max_bytes(btp->bt_bdev); in xfs_configure_buftarg_atomic_writes()
1708 if (min_bytes > max_bytes || in xfs_configure_buftarg_atomic_writes()
1710 max_bytes < mp->m_sb.sb_blocksize) { in xfs_configure_buftarg_atomic_writes()
1712 max_bytes = 0; in xfs_configure_buftarg_atomic_writes()
1716 btp->bt_awu_max = max_bytes; in xfs_configure_buftarg_atomic_writes()
A Dxfs_mount.c140 uint64_t max_bytes; in xfs_sb_validate_fsb_count() local
144 if (check_shl_overflow(nblocks, sbp->sb_blocklog, &max_bytes)) in xfs_sb_validate_fsb_count()
148 if (max_bytes >> PAGE_SHIFT > ULONG_MAX) in xfs_sb_validate_fsb_count()
/fs/
A Dfs-writeback.c825 unsigned long avg_time, max_bytes, max_time; in wbc_detach_inode() local
839 max_bytes = wbc->wb_bytes; in wbc_detach_inode()
842 max_bytes = wbc->wb_lcand_bytes; in wbc_detach_inode()
845 max_bytes = wbc->wb_tcand_bytes; in wbc_detach_inode()
855 max_time = DIV_ROUND_UP((max_bytes >> PAGE_SHIFT) << WB_FRN_TIME_SHIFT, in wbc_detach_inode()
A Dlibfs.c1599 u64 last_fs_page, max_bytes; in generic_check_addressable() local
1601 if (check_shl_overflow(num_blocks, blocksize_bits, &max_bytes)) in generic_check_addressable()
1604 last_fs_page = (max_bytes >> PAGE_SHIFT) - 1; in generic_check_addressable()
/fs/bcachefs/
A Dsuper-io.c203 u64 max_bytes = 512 << sb->sb->layout.sb_max_size_bits; in bch2_sb_realloc() local
205 if (new_bytes > max_bytes) { in bch2_sb_realloc()
209 prt_printf(&buf, ": superblock too big: want %zu but have %llu", new_bytes, max_bytes); in bch2_sb_realloc()
/fs/ceph/
A Dmds_client.h110 u64 max_bytes; member
A Dquota.c75 __ceph_update_quota(ci, le64_to_cpu(h->max_bytes), in ceph_handle_quota()
A Dsuper.h1391 u64 max_bytes, u64 max_files) in __ceph_update_quota() argument
1395 ci->i_max_bytes = max_bytes; in __ceph_update_quota()
A Dxattr.c449 XATTR_QUOTA_FIELD(quota, max_bytes),
A Dmds_client.c90 ceph_decode_64_safe(p, end, info->max_bytes, bad); in parse_reply_info_quota()
251 info->max_bytes = 0; in parse_reply_info_in()
2562 req->r_args.readdir.max_bytes = cpu_to_le32(opt->max_readdir_bytes); in ceph_alloc_readdir_reply_buffer()
A Dinode.c1042 __ceph_update_quota(ci, iinfo->max_bytes, iinfo->max_files); in ceph_fill_inode()
/fs/f2fs/
A Dfile.c2525 u64 max_bytes = F2FS_BLK_TO_BYTES(max_file_blocks(inode)); in f2fs_keep_noreuse_range() local
2532 if (offset >= max_bytes || len > max_bytes || in f2fs_keep_noreuse_range()
2533 (offset + len) > max_bytes) in f2fs_keep_noreuse_range()

Completed in 97 milliseconds