Searched refs:bio_size (Results 1 – 7 of 7) sorted by relevance
| /linux/fs/btrfs/ |
| H A D | misc.h | 71 const u32 bio_size = bio_get_size(bio); in init_bvec_iter_for_bio() local 75 .bi_size = bio_size, in init_bvec_iter_for_bio()
|
| H A D | scrub.c | 855 const u32 bio_size = bio_get_size(&bbio->bio); in scrub_read_endio_common() 856 const u32 sectors = bio_size >> fs_info->sectorsize_bits; in scrub_read_endio_common() 866 bio_size); in scrub_read_endio_common() 1251 const u32 bio_size = bio_get_size(&bbio->bio); in scrub_write_endio() 1258 bio_size >> fs_info->sectorsize_bits); in scrub_write_endio() 1260 for (int i = 0; i < (bio_size >> fs_info->sectorsize_bits); i++) in scrub_write_endio() 1343 unsigned int bio_size) in scrub_throttle_dev_io() 1371 sctx->throttle_sent += bio_size; in scrub_throttle_dev_io() 853 const u32 bio_size = bio_get_size(&bbio->bio); scrub_read_endio_common() local 1249 const u32 bio_size = bio_get_size(&bbio->bio); scrub_write_endio() local 1341 scrub_throttle_dev_io(struct scrub_ctx * sctx,struct btrfs_device * device,unsigned int bio_size) scrub_throttle_dev_io() argument
|
| H A D | raid56.c | 1637 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 D | extent_io.c | 545 u32 bio_size = 0; in end_bbio_data_write() local 553 bio_size += len; in end_bbio_data_write() 560 btrfs_finish_ordered_extent(bbio->ordered, bbio->file_offset, bio_size, !error); in end_bbio_data_write()
|
| H A D | inode.c | 838 const u32 bio_size = bio->bi_iter.bi_size; in round_up_last_block() local 839 const u32 foffset = offset_in_folio(last_folio, bio_size); in round_up_last_block() 843 if (IS_ALIGNED(bio_size, blocksize)) in round_up_last_block()
|
| /linux/fs/ntfs/ |
| H A D | compress.c | 1321 s32 rounded, bio_size; in ntfs_write_cb() local 1395 bio_size = rounded; in ntfs_write_cb() 1401 bio_size = insz; in ntfs_write_cb() 1404 new_length = ntfs_bytes_to_cluster(vol, round_up(bio_size, vol->cluster_size)); in ntfs_write_cb() 1415 bio = bio_alloc(vol->sb->s_bdev, DIV_ROUND_UP(bio_size, PAGE_SIZE), in ntfs_write_cb() 1419 for (i = 0; bio_size; i++) { in ntfs_write_cb() 1420 unsigned int len = min_t(unsigned int, bio_size, PAGE_SIZE); in ntfs_write_cb() 1427 bio_size -= len; in ntfs_write_cb()
|
| /linux/block/ |
| H A D | blk-throttle.c | 798 unsigned int bio_size = throtl_bio_data_size(bio); in tg_within_bps_limit() local 809 if ((bytes_allowed > 0 && tg->bytes_disp[rw] + bio_size <= bytes_allowed) in tg_within_bps_limit() 814 extra_bytes = tg->bytes_disp[rw] + bio_size - bytes_allowed; in tg_within_bps_limit() 830 unsigned int bio_size = throtl_bio_data_size(bio); in throtl_charge_bps_bio() local 836 tg->bytes_disp[bio_data_dir(bio)] += bio_size; in throtl_charge_bps_bio()
|