Home
last modified time | relevance | path

Searched refs:num_sectors (Results 1 – 5 of 5) sorted by relevance

/linux-4.19.296/block/partitions/
Dsun.c54 __be32 num_sectors; in sun_partition() member
104 unsigned int num_sectors; in sun_partition() local
107 num_sectors = be32_to_cpu(p->num_sectors); in sun_partition()
108 if (num_sectors) { in sun_partition()
109 put_partition(state, slot, st_sector, num_sectors); in sun_partition()
/linux-4.19.296/fs/btrfs/
Dordered-data.h136 int num_sectors = (int)DIV_ROUND_UP(bytes, fs_info->sectorsize); in btrfs_ordered_sum_size() local
139 return sizeof(struct btrfs_ordered_sum) + num_sectors * csum_size; in btrfs_ordered_sum_size()
Dordered-data.c960 unsigned long num_sectors; in btrfs_find_ordered_sum() local
975 num_sectors = ordered_sum->len >> in btrfs_find_ordered_sum()
977 num_sectors = min_t(int, len - index, num_sectors - i); in btrfs_find_ordered_sum()
979 num_sectors); in btrfs_find_ordered_sum()
981 index += (int)num_sectors; in btrfs_find_ordered_sum()
984 disk_bytenr += num_sectors * sectorsize; in btrfs_find_ordered_sum()
Dfile.c1625 size_t num_sectors; in btrfs_buffered_write() local
1715 num_sectors = BTRFS_BYTES_TO_BLKS(fs_info, reserve_bytes); in btrfs_buffered_write()
1737 if (num_sectors > dirty_sectors) { in btrfs_buffered_write()
Dscrub.c2437 unsigned long num_sectors; in scrub_find_csum() local
2458 num_sectors = sum->len / sctx->fs_info->sectorsize; in scrub_find_csum()
2460 if (index == num_sectors - 1) { in scrub_find_csum()