/block/ |
D | ioctl.c | 20 long long start, length; in blkpg_ioctl() local 37 start = p.start >> 9; in blkpg_ioctl() 42 long pstart = start, plength = length; in blkpg_ioctl() 43 if (pstart != start || plength != length in blkpg_ioctl() 54 if (!(start + length <= part->start_sect || in blkpg_ioctl() 55 start >= part->start_sect + part->nr_sects)) { in blkpg_ioctl() 64 part = add_partition(disk, partno, start, length, in blkpg_ioctl() 96 start = p.start >> 9; in blkpg_ioctl() 102 long pstart = start, plength = length; in blkpg_ioctl() 103 if (pstart != start || plength != length in blkpg_ioctl() [all …]
|
D | blk-cgroup.h | 432 unsigned int start; in blkg_stat_read() local 436 start = u64_stats_fetch_begin_irq(&stat->syncp); in blkg_stat_read() 438 } while (u64_stats_fetch_retry_irq(&stat->syncp, start)); in blkg_stat_read() 505 unsigned int start; in blkg_rwstat_read() local 509 start = u64_stats_fetch_begin_irq(&rwstat->syncp); in blkg_rwstat_read() 511 } while (u64_stats_fetch_retry_irq(&rwstat->syncp, start)); in blkg_rwstat_read()
|
D | blk-settings.c | 543 sector_t start) in blk_stack_limits() argument 565 alignment = queue_limit_alignment_offset(b, start); in blk_stack_limits() 632 alignment = queue_limit_discard_alignment(b, start); in blk_stack_limits() 668 sector_t start) in bdev_stack_limits() argument 672 start += get_start_sect(bdev); in bdev_stack_limits() 674 return blk_stack_limits(t, &bq->limits, start); in bdev_stack_limits()
|
D | blk-map.c | 127 unsigned long map_len, end, start; in blk_rq_map_user() local 132 start = (unsigned long)ubuf >> PAGE_SHIFT; in blk_rq_map_user() 139 if (end - start > BIO_MAX_PAGES) in blk_rq_map_user()
|
D | partition-generic.c | 171 static DEVICE_ATTR(start, S_IRUGO, part_start_show, NULL); 281 sector_t start, sector_t len, int flags, in add_partition() argument 312 p->start_sect = start; in add_partition() 314 queue_limit_alignment_offset(&disk->queue->limits, start); in add_partition() 316 queue_limit_discard_alignment(&disk->queue->limits, start); in add_partition()
|
D | bio.c | 1157 unsigned long start; in bio_copy_user_iov() local 1161 start = uaddr >> PAGE_SHIFT; in bio_copy_user_iov() 1166 if (end < start) in bio_copy_user_iov() 1169 nr_pages += end - start; in bio_copy_user_iov() 1295 unsigned long start = uaddr >> PAGE_SHIFT; in __bio_map_user_iov() local 1300 if (end < start) in __bio_map_user_iov() 1303 nr_pages += end - start; in __bio_map_user_iov() 1327 unsigned long start = uaddr >> PAGE_SHIFT; in __bio_map_user_iov() local 1328 const int local_nr_pages = end - start; in __bio_map_user_iov() 1502 unsigned long start = kaddr >> PAGE_SHIFT; in __bio_map_kern() local [all …]
|
D | bio-integrity.c | 265 unsigned long start, end; in bio_integrity_prep() local 286 start = ((unsigned long) buf) >> PAGE_SHIFT; in bio_integrity_prep() 287 nr_pages = end - start; in bio_integrity_prep()
|
D | compat_ioctl.c | 48 u32 start; member 67 geo.start = get_start_sect(bdev); in compat_hdio_getgeo() 73 ret |= put_user(geo.start, &ugeo->start); in compat_hdio_getgeo()
|
D | blk-throttle.c | 694 bool rw, unsigned long start) in throtl_start_new_slice_with_credit() argument 705 if (time_after_eq(start, tg->slice_start[rw])) in throtl_start_new_slice_with_credit() 706 tg->slice_start[rw] = start; in throtl_start_new_slice_with_credit()
|
D | genhd.c | 873 .start = show_partition_start, 1210 .start = disk_seqf_start,
|
/block/partitions/ |
D | acorn.c | 61 __le32 start; member 101 le32_to_cpu(rr->part[part].start), in riscix_partition() 310 __le32 start; member 378 u32 start = le32_to_cpu(p->start); in adfspart_check_ICS() local 398 if (size > 1 && adfspart_check_ICSLinux(state, start)) { in adfspart_check_ICS() 399 start += 1; in adfspart_check_ICS() 405 put_partition(state, slot++, start, size); in adfspart_check_ICS() 418 __le32 start; member 472 u32 start = le32_to_cpu(p->start); in adfspart_check_POWERTEC() local 476 put_partition(state, slot++, start, size); in adfspart_check_POWERTEC() [all …]
|
D | sgi.c | 35 unsigned int start, blocks; in sgi_partition() local 71 start = be32_to_cpu(p->first_block); in sgi_partition() 73 put_partition(state, slot, start, blocks); in sgi_partition()
|
D | msdos.c | 531 sector_t start = start_sect(p)*sector_size; in msdos_partition() local 546 put_partition(state, slot, start, n); in msdos_partition() 549 parse_extended(state, start, size, disksig); in msdos_partition() 553 put_partition(state, slot, start, size); in msdos_partition()
|
D | ldm.h | 162 u64 start; member
|
D | efi.c | 711 u64 start = le64_to_cpu(ptes[i].starting_lba); in efi_partition() local 718 put_partition(state, i+1, start * ssz, size * ssz); in efi_partition()
|
D | ldm.c | 664 part->start, part->size); in ldm_create_data_partitions() 1050 part->start = get_unaligned_be64(buffer + 0x24 + r_name); in ldm_parse_prt3() 1273 (v->vblk.part.start > vb->vblk.part.start)) { in ldm_ldmdb_add()
|