Home
last modified time | relevance | path

Searched refs:from (Results 1 – 8 of 8) sorted by relevance

/block/partitions/
Dcmdline.c36 put_partition(state, slot, subpart->from >> 9, in add_part()
61 static bool has_overlaps(sector_t from, sector_t size, in has_overlaps() argument
64 sector_t end = from + size; in has_overlaps()
67 if (from >= from2 && from < end2) in has_overlaps()
73 if (from2 >= from && from2 < end) in has_overlaps()
76 if (end2 > from && end2 <= end) in has_overlaps()
96 if (has_overlaps(state->parts[slot].from, in cmdline_parts_verifier()
98 state->parts[i].from, in cmdline_parts_verifier()
107 (u64)state->parts[slot].from << 9, in cmdline_parts_verifier()
110 (u64)state->parts[i].from << 9, in cmdline_parts_verifier()
Dcheck.h14 sector_t from; member
42 put_partition(struct parsed_partitions *p, int n, sector_t from, sector_t size) in put_partition() argument
47 p->parts[n].from = from; in put_partition()
DKconfig134 partitions from within Linux if you have also said Y to "UFS
153 partitions from within Linux if you have also said Y to "UFS
163 VTOC and further mount UnixWare partitions read-only from within
167 This is mainly used to carry data from a UnixWare box to your
232 read these partition tables and further mount SunOS partitions from
234 above. This is mainly used to carry data from a SPARC under SunOS to
269 Say Y here if you want to read the partition table from bootargs.
/block/
Dcmdline-parser.c36 new_subpart->from = (sector_t)memparse(partdef, &partdef); in parse_subpart()
38 new_subpart->from = (sector_t)(~0ULL); in parse_subpart()
231 sector_t from = 0; in cmdline_parts_set() local
236 if (subpart->from == (sector_t)(~0ULL)) in cmdline_parts_set()
237 subpart->from = from; in cmdline_parts_set()
239 from = subpart->from; in cmdline_parts_set()
241 if (from >= disk_size) in cmdline_parts_set()
244 if (subpart->size > (disk_size - from)) in cmdline_parts_set()
245 subpart->size = disk_size - from; in cmdline_parts_set()
247 from += subpart->size; in cmdline_parts_set()
Dbounce.c132 static void copy_to_high_bio_irq(struct bio *to, struct bio *from) in copy_to_high_bio_irq() argument
145 fromvec = bio_iter_iovec(from, from_iter); in copy_to_high_bio_irq()
158 bio_advance_iter(from, &from_iter, tovec.bv_len); in copy_to_high_bio_irq()
289 struct bio_vec *to, from; in __blk_queue_bounce() local
296 bio_for_each_segment(from, *bio_orig, iter) { in __blk_queue_bounce()
298 sectors += from.bv_len >> 9; in __blk_queue_bounce()
299 if (page_to_pfn(from.bv_page) > q->limits.bounce_pfn) in __blk_queue_bounce()
Dbfq-cgroup.c76 struct bfq_stat *from) in bfq_stat_add_aux() argument
78 atomic64_add(bfq_stat_read(from) + atomic64_read(&from->aux_cnt), in bfq_stat_add_aux()
369 static void bfqg_stats_add_aux(struct bfqg_stats *to, struct bfqg_stats *from) in bfqg_stats_add_aux() argument
371 if (!to || !from) in bfqg_stats_add_aux()
376 blkg_rwstat_add_aux(&to->merged, &from->merged); in bfqg_stats_add_aux()
377 blkg_rwstat_add_aux(&to->service_time, &from->service_time); in bfqg_stats_add_aux()
378 blkg_rwstat_add_aux(&to->wait_time, &from->wait_time); in bfqg_stats_add_aux()
379 bfq_stat_add_aux(&from->time, &from->time); in bfqg_stats_add_aux()
380 bfq_stat_add_aux(&to->avg_queue_size_sum, &from->avg_queue_size_sum); in bfqg_stats_add_aux()
382 &from->avg_queue_size_samples); in bfqg_stats_add_aux()
[all …]
Dpartition-generic.c533 sector_t size, from; in rescan_partitions() local
539 from = state->parts[p].from; in rescan_partitions()
540 if (from >= get_capacity(disk)) { in rescan_partitions()
543 disk->disk_name, p, (unsigned long long) from); in rescan_partitions()
549 if (from + size > get_capacity(disk)) { in rescan_partitions()
564 size = get_capacity(disk) - from; in rescan_partitions()
568 part = add_partition(disk, p, from, size, in rescan_partitions()
DKconfig13 Disable this option to remove the block layer support from the
111 Enabling this option allows you to specify the partition layout from
122 background writeback from the VM, making it more smooth and having