/block/partitions/ |
D | acorn.c | 55 __le32 start; member 95 le32_to_cpu(rr->part[part].start), in riscix_partition() 304 __le32 start; member 372 u32 start = le32_to_cpu(p->start); in adfspart_check_ICS() local 392 if (size > 1 && adfspart_check_ICSLinux(state, start)) { in adfspart_check_ICS() 393 start += 1; in adfspart_check_ICS() 399 put_partition(state, slot++, start, size); in adfspart_check_ICS() 412 __le32 start; member 466 u32 start = le32_to_cpu(p->start); in adfspart_check_POWERTEC() local 470 put_partition(state, slot++, start, size); in adfspart_check_POWERTEC() [all …]
|
D | core.c | 222 static DEVICE_ATTR(start, 0444, part_start_show, NULL); 316 sector_t start, sector_t len, int flags, in add_partition() argument 360 bdev->bd_start_sect = start; in add_partition() 433 static bool partition_overlaps(struct gendisk *disk, sector_t start, in partition_overlaps() argument 443 start < part->bd_start_sect + bdev_nr_sectors(part) && in partition_overlaps() 444 start + length > part->bd_start_sect) { in partition_overlaps() 454 int bdev_add_partition(struct gendisk *disk, int partno, sector_t start, in bdev_add_partition() argument 471 if (partition_overlaps(disk, start, length, -1)) { in bdev_add_partition() 476 part = add_partition(disk, partno, start, length, in bdev_add_partition() 505 int bdev_resize_partition(struct gendisk *disk, int partno, sector_t start, in bdev_resize_partition() argument [all …]
|
D | sgi.c | 41 unsigned int start, blocks; in sgi_partition() local 76 start = be32_to_cpu(p->first_block); in sgi_partition() 78 put_partition(state, slot, start, blocks); in sgi_partition()
|
D | msdos.c | 664 sector_t start = start_sect(p)*sector_size; in msdos_partition() local 679 put_partition(state, slot, start, n); in msdos_partition() 682 parse_extended(state, start, size, disksig); in msdos_partition() 686 put_partition(state, slot, start, size); in msdos_partition()
|
D | ldm.h | 143 u64 start; member
|
D | efi.c | 731 u64 start = le64_to_cpu(ptes[i].starting_lba); in efi_partition() local 738 put_partition(state, i+1, start * ssz, size * ssz); in efi_partition()
|
D | ldm.c | 598 part->start, part->size); in ldm_create_data_partitions() 981 part->start = get_unaligned_be64(buffer + 0x24 + r_name); in ldm_parse_prt3() 1204 (v->vblk.part.start > vb->vblk.part.start)) { in ldm_ldmdb_add()
|
D | ibm.c | 324 geo->start = get_start_sect(bdev); in ibm_partition()
|
/block/ |
D | ioctl.c | 21 sector_t start, length; in blkpg_do_ioctl() local 36 if (p.start < 0 || p.length <= 0 || p.start + p.length < 0) in blkpg_do_ioctl() 39 if (!IS_ALIGNED(p.start | p.length, bdev_logical_block_size(bdev))) in blkpg_do_ioctl() 42 start = p.start >> SECTOR_SHIFT; in blkpg_do_ioctl() 47 return bdev_add_partition(disk, p.pno, start, length); in blkpg_do_ioctl() 49 return bdev_resize_partition(disk, p.pno, start, length); in blkpg_do_ioctl() 117 uint64_t start, len; in blk_ioctl_discard() local 131 start = range[0]; in blk_ioctl_discard() 134 if (start & 511) in blk_ioctl_discard() 139 if (start + len > i_size_read(bdev->bd_inode)) in blk_ioctl_discard() [all …]
|
D | fops.c | 420 static int blkdev_fsync(struct file *filp, loff_t start, loff_t end, in blkdev_fsync() argument 427 error = file_write_and_wait_range(filp, start, end); in blkdev_fsync() 569 static long blkdev_fallocate(struct file *file, int mode, loff_t start, in blkdev_fallocate() argument 574 loff_t end = start + len - 1; in blkdev_fallocate() 584 if (start >= isize) in blkdev_fallocate() 588 len = isize - start; in blkdev_fallocate() 589 end = start + len - 1; in blkdev_fallocate() 597 if ((start | len) & (bdev_logical_block_size(bdev) - 1)) in blkdev_fallocate() 609 error = truncate_bdev_range(bdev, file->f_mode, start, end); in blkdev_fallocate() 613 error = blkdev_issue_zeroout(bdev, start >> 9, len >> 9, in blkdev_fallocate() [all …]
|
D | blk-zoned.c | 378 loff_t start, end; in blkdev_truncate_zone_range() local 385 start = zrange->sector << SECTOR_SHIFT; in blkdev_truncate_zone_range() 388 return truncate_bdev_range(bdev, mode, start, end); in blkdev_truncate_zone_range() 485 if (zone->start == 0) { in blk_revalidate_zone_cb() 506 } else if (zone->start + args->zone_sectors < capacity) { in blk_revalidate_zone_cb() 521 if (zone->start != args->sector) { in blk_revalidate_zone_cb() 523 disk->disk_name, args->sector, zone->start); in blk_revalidate_zone_cb() 549 disk->disk_name, (int)zone->type, zone->start); in blk_revalidate_zone_cb()
|
D | bfq-wf2q.c | 117 !bfq_gt(new_entity->start, st->vtime) in bfq_update_next_in_service() 289 entity->finish = entity->start + in bfq_calc_finish() 298 entity->start, entity->finish, in bfq_calc_finish() 423 entity->min_start = entity->start; in bfq_update_active_node() 805 entity->start = new_st->vtime; in __bfq_entity_update_weight_prio() 942 entity->start += delta; in bfq_update_fin_time_enqueue() 981 entity->start = bfq_gt(min_vstart, entity->finish) ? in __bfq_activate_entity() 989 entity->start = min_vstart; in __bfq_activate_entity() 1062 entity->start = entity->finish; in __bfq_requeue_entity() 1356 if (!bfq_gt(entry->start, vtime)) in bfq_first_active_entity()
|
D | badblocks.c | 401 sector_t start = BB_OFFSET(p[lo]); in badblocks_clear() local 403 p[lo] = BB_MAKE(start, s - start, ack); in badblocks_clear() 446 sector_t start = BB_OFFSET(p[i]); in ack_all_badblocks() local 449 p[i] = BB_MAKE(start, len, 1); in ack_all_badblocks()
|
D | blk-map.c | 344 unsigned long start = kaddr >> PAGE_SHIFT; in bio_map_kern() local 345 const int nr_pages = end - start; in bio_map_kern() 426 unsigned long start = kaddr >> PAGE_SHIFT; in bio_copy_kern() local 434 if (end < start) in bio_copy_kern() 437 nr_pages = end - start; in bio_copy_kern()
|
D | bio-integrity.c | 203 unsigned long start, end; in bio_integrity_prep() local 243 start = ((unsigned long) buf) >> PAGE_SHIFT; in bio_integrity_prep() 244 nr_pages = end - start; in bio_integrity_prep()
|
D | blk-settings.c | 586 sector_t start) in blk_stack_limits() argument 617 alignment = queue_limit_alignment_offset(b, start); in blk_stack_limits() 696 alignment = queue_limit_discard_alignment(b, start); in blk_stack_limits()
|
D | blk.h | 396 int bdev_add_partition(struct gendisk *disk, int partno, sector_t start, 399 int bdev_resize_partition(struct gendisk *disk, int partno, sector_t start,
|
D | blk-iolatency.c | 494 u64 start = bio_issue_time(issue); in iolatency_record_time() local 503 if (now <= start) in iolatency_record_time() 506 req_time = now - start; in iolatency_record_time()
|
D | blk-mq-debugfs.c | 69 .start = queue_requeue_list_start, 387 .start = hctx_dispatch_start, 656 .start = ctx_##name##_rq_list_start, \
|
D | blk-mq.h | 51 struct blk_mq_ctx *start);
|
D | blk-mq.c | 1056 struct blk_mq_ctx *start) in blk_mq_dequeue_from_ctx() argument 1058 unsigned off = start ? start->index_hw[hctx->type] : 0; in blk_mq_dequeue_from_ctx() 2328 unsigned long start = (unsigned long)page_address(page); in blk_mq_clear_rq_mapping() local 2329 unsigned long end = start + order_to_size(page->private); in blk_mq_clear_rq_mapping() 2336 if (rq_addr >= start && rq_addr < end) { in blk_mq_clear_rq_mapping()
|
D | bfq-iosched.h | 156 u64 start, finish; member
|
D | sed-opal.c | 635 u8 *start; in add_token_bytestring() local 637 start = add_bytestring_header(err, cmd, len); in add_token_bytestring() 638 if (!start) in add_token_bytestring() 640 memcpy(start, bytestring, len); in add_token_bytestring()
|
D | mq-deadline.c | 1077 .start = deadline_##name##_fifo_start, \ 1211 .start = deadline_dispatch##prio##_start, \
|
D | genhd.c | 834 .start = show_partition_start, 1225 .start = disk_seqf_start,
|