Searched refs:num_sectors (Results 1 – 5 of 5) sorted by relevance
54 __be32 num_sectors; in sun_partition() member104 unsigned int num_sectors; in sun_partition() local107 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()
136 int num_sectors = (int)DIV_ROUND_UP(bytes, fs_info->sectorsize); in btrfs_ordered_sum_size() local139 return sizeof(struct btrfs_ordered_sum) + num_sectors * csum_size; in btrfs_ordered_sum_size()
960 unsigned long num_sectors; in btrfs_find_ordered_sum() local975 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()
1625 size_t num_sectors; in btrfs_buffered_write() local1715 num_sectors = BTRFS_BYTES_TO_BLKS(fs_info, reserve_bytes); in btrfs_buffered_write()1737 if (num_sectors > dirty_sectors) { in btrfs_buffered_write()
2437 unsigned long num_sectors; in scrub_find_csum() local2458 num_sectors = sum->len / sctx->fs_info->sectorsize; in scrub_find_csum()2460 if (index == num_sectors - 1) { in scrub_find_csum()