Home
last modified time | relevance | path

Searched refs:start (Results 1 – 16 of 16) sorted by relevance

/block/
Dioctl.c20 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 …]
Dblk-cgroup.h432 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()
Dblk-settings.c543 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()
Dblk-map.c127 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()
Dpartition-generic.c171 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()
Dbio.c1157 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 …]
Dbio-integrity.c265 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()
Dcompat_ioctl.c48 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()
Dblk-throttle.c694 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()
Dgenhd.c873 .start = show_partition_start,
1210 .start = disk_seqf_start,
/block/partitions/
Dacorn.c61 __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 …]
Dsgi.c35 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()
Dmsdos.c531 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()
Dldm.h162 u64 start; member
Defi.c711 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()
Dldm.c664 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()