Home
last modified time | relevance | path

Searched refs:bio_size (Results 1 – 6 of 6) sorted by relevance

/linux/fs/ntfs/
H A Dcompress.c1280 s32 rounded, bio_size; in ntfs_write_cb() local
1368 bio_size = rounded; in ntfs_write_cb()
1374 bio_size = insz; in ntfs_write_cb()
1379 new_length = ntfs_bytes_to_cluster(vol, round_up(bio_size, vol->cluster_size)); in ntfs_write_cb()
1416 while (bio_size > 0) { in ntfs_write_cb()
1419 if (bio_size >= PAGE_SIZE) { in ntfs_write_cb()
1421 bio_size -= PAGE_SIZE; in ntfs_write_cb()
1423 page_size = bio_size; in ntfs_write_cb()
1424 bio_size = 0; in ntfs_write_cb()
/linux/fs/btrfs/
H A Dscrub.c895 const u32 bio_size = bio_get_size(&bbio->bio); in scrub_repair_read_endio() local
901 bio_size >> fs_info->sectorsize_bits); in scrub_repair_read_endio()
903 bio_size >> fs_info->sectorsize_bits); in scrub_repair_read_endio()
906 bio_size >> fs_info->sectorsize_bits); in scrub_repair_read_endio()
1249 const u32 bio_size = bio_get_size(&bbio->bio); in scrub_read_endio() local
1252 num_sectors = bio_size >> stripe->bg->fs_info->sectorsize_bits; in scrub_read_endio()
1273 const u32 bio_size = bio_get_size(&bbio->bio); in scrub_write_endio() local
1280 bio_size >> fs_info->sectorsize_bits); in scrub_write_endio()
1282 for (int i = 0; i < (bio_size >> fs_info->sectorsize_bits); i++) in scrub_write_endio()
1365 unsigned int bio_size) in scrub_throttle_dev_io() argument
[all …]
H A Draid56.c1637 const u32 bio_size = bio_get_size(bio); in rbio_update_error_bitmap() local
1646 (bio_size >> rbio->bioc->fs_info->sectorsize_bits); i++) in rbio_update_error_bitmap()
H A Dextent_io.c524 u32 bio_size = 0; in end_bbio_data_write() local
532 bio_size += len; in end_bbio_data_write()
541 btrfs_finish_ordered_extent(bbio->ordered, bbio->file_offset, bio_size, !error); in end_bbio_data_write()
H A Dinode.c853 const u32 bio_size = bio->bi_iter.bi_size; in round_up_last_block() local
854 const u32 foffset = offset_in_folio(last_folio, bio_size); in round_up_last_block()
858 if (IS_ALIGNED(bio_size, blocksize)) in round_up_last_block()
/linux/block/
H A Dblk-throttle.c789 unsigned int bio_size = throtl_bio_data_size(bio); in tg_within_bps_limit() local
800 if ((bytes_allowed > 0 && tg->bytes_disp[rw] + bio_size <= bytes_allowed) in tg_within_bps_limit()
805 extra_bytes = tg->bytes_disp[rw] + bio_size - bytes_allowed; in tg_within_bps_limit()
821 unsigned int bio_size = throtl_bio_data_size(bio); in throtl_charge_bps_bio() local
827 tg->bytes_disp[bio_data_dir(bio)] += bio_size; in throtl_charge_bps_bio()