Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 10 of 10) sorted by relevance

/block/partitions/
Dibm.c144 loff_t offset, size; in find_vol1_partitions() local
175 offset = cchh2blk(&f1.DS1EXT1.llimit, geo); in find_vol1_partitions()
177 offset + geo->sectors; in find_vol1_partitions()
178 offset *= secperblk; in find_vol1_partitions()
182 put_partition(state, counter + 1, offset, size); in find_vol1_partitions()
204 loff_t offset, geo_size, size; in find_lnx1_partitions() local
236 offset = labelsect + secperblk; in find_lnx1_partitions()
237 put_partition(state, 1, offset, size - offset); in find_lnx1_partitions()
249 loff_t offset, size; in find_cms1_partitions() local
262 offset = label->cms.disk_offset * secperblk; in find_cms1_partitions()
[all …]
Dmsdos.c217 sector_t offset, sector_t size, int origin) in parse_solaris_x86() argument
225 v = read_part_sector(state, offset + 1, &sect); in parse_solaris_x86()
260 le32_to_cpu(s->s_start)+offset, in parse_solaris_x86()
274 sector_t offset, sector_t size, int origin, char *flavour, in parse_bsd() argument
282 l = read_part_sector(state, offset + 1, &sect); in parse_bsd()
307 bsd_start += offset; in parse_bsd()
308 if (offset == bsd_start && size == bsd_size) in parse_bsd()
311 if (offset > bsd_start || offset+size < bsd_start+bsd_size) { in parse_bsd()
328 sector_t offset, sector_t size, int origin) in parse_freebsd() argument
331 parse_bsd(state, offset, size, origin, "bsd", BSD_MAXPARTITIONS); in parse_freebsd()
[all …]
Dldm.c635 static int ldm_relative(const u8 *buffer, int buflen, int base, int offset) in ldm_relative() argument
638 base += offset; in ldm_relative()
639 if (!buffer || offset < 0 || base > buflen) { in ldm_relative()
642 if (offset < 0) in ldm_relative()
643 ldm_error("offset (%d) < 0", offset); in ldm_relative()
653 return buffer[base] + offset + 1; in ldm_relative()
/block/
Dbio.c739 *page, unsigned int len, unsigned int offset) in bio_add_pc_page() argument
762 offset == prev->bv_offset + prev->bv_len) { in bio_add_pc_page()
772 if (bvec_gap_to_prev(q, prev, offset)) in bio_add_pc_page()
786 bvec->bv_offset = offset; in bio_add_pc_page()
893 unsigned int len, unsigned int offset) in bio_add_page() argument
895 if (!__bio_try_merge_page(bio, page, len, offset)) { in bio_add_page()
898 __bio_add_page(bio, page, len, offset); in bio_add_page()
919 size_t offset; in __bio_iov_iter_get_pages() local
922 size = iov_iter_get_pages(iter, pages, LONG_MAX, nr_pages, &offset); in __bio_iov_iter_get_pages()
925 idx = nr_pages = (size + offset + PAGE_SIZE - 1) / PAGE_SIZE; in __bio_iov_iter_get_pages()
[all …]
Dbio-integrity.c136 unsigned int len, unsigned int offset) in bio_integrity_add_page() argument
150 &bip->bip_vec[bip->bip_vcnt - 1], offset)) in bio_integrity_add_page()
155 iv->bv_offset = offset; in bio_integrity_add_page()
244 unsigned int bytes, offset, i; in bio_integrity_prep() local
302 offset = offset_in_page(buf); in bio_integrity_prep()
305 bytes = PAGE_SIZE - offset; in bio_integrity_prep()
314 bytes, offset); in bio_integrity_prep()
328 offset = 0; in bio_integrity_prep()
Dblk-zoned.c33 sector_t offset = get_start_sect(bdev); in blkdev_report_zone() local
35 if (rep->start < offset) in blkdev_report_zone()
38 rep->start -= offset; in blkdev_report_zone()
45 rep->wp -= offset; in blkdev_report_zone()
Dblk-settings.c427 void blk_queue_alignment_offset(struct request_queue *q, unsigned int offset) in blk_queue_alignment_offset() argument
430 offset & (q->limits.physical_block_size - 1); in blk_queue_alignment_offset()
707 sector_t offset) in disk_stack_limits() argument
711 if (bdev_stack_limits(&t->limits, bdev, offset >> 9) < 0) { in disk_stack_limits()
Dblk-map.c82 map_data->offset += bio->bi_iter.bi_size; in __blk_rq_map_user_iov()
Delevator.c305 struct request *elv_rqhash_find(struct request_queue *q, sector_t offset) in elv_rqhash_find() argument
311 hash_for_each_possible_safe(e->hash, rq, next, hash, offset) { in elv_rqhash_find()
319 if (rq_hash_key(rq) == offset) in elv_rqhash_find()
Dgenhd.c308 void blkdev_show(struct seq_file *seqf, off_t offset) in blkdev_show() argument
313 for (dp = major_names[major_to_index(offset)]; dp; dp = dp->next) in blkdev_show()
314 if (dp->major == offset) in blkdev_show()