Home
last modified time | relevance | path

Searched refs:end (Results 1 – 11 of 11) sorted by relevance

/block/partitions/
Dcmdline.c320 sector_t end = from + size; in has_overlaps() local
326 if (end > from2 && end <= end2) in has_overlaps()
329 if (from2 >= from && from2 < end) in has_overlaps()
332 if (end2 > from && end2 <= end) in has_overlaps()
/block/
Dfops.c420 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()
574 loff_t end = start + len - 1; in blkdev_fallocate() local
586 if (end >= isize) { in blkdev_fallocate()
589 end = start + len - 1; in blkdev_fallocate()
609 error = truncate_bdev_range(bdev, file->f_mode, start, end); in blkdev_fallocate()
617 error = truncate_bdev_range(bdev, file->f_mode, start, end); in blkdev_fallocate()
625 error = truncate_bdev_range(bdev, file->f_mode, start, end); in blkdev_fallocate()
Dblk-map.c343 unsigned long end = (kaddr + len + PAGE_SIZE - 1) >> PAGE_SHIFT; in bio_map_kern() local
345 const int nr_pages = end - start; in bio_map_kern()
425 unsigned long end = (kaddr + len + PAGE_SIZE - 1) >> PAGE_SHIFT; in bio_copy_kern() local
434 if (end < start) in bio_copy_kern()
437 nr_pages = end - start; in bio_copy_kern()
Dioctl.c159 uint64_t start, end, len; in blk_ioctl_zeroout() local
171 end = start + len - 1; in blk_ioctl_zeroout()
177 if (end >= (uint64_t)i_size_read(bdev->bd_inode)) in blk_ioctl_zeroout()
179 if (end < start) in blk_ioctl_zeroout()
184 err = truncate_bdev_range(bdev, mode, start, end); in blk_ioctl_zeroout()
Dbio-integrity.c203 unsigned long start, end; in bio_integrity_prep() local
242 end = (((unsigned long) buf) + len + PAGE_SIZE - 1) >> PAGE_SHIFT; in bio_integrity_prep()
244 nr_pages = end - start; in bio_integrity_prep()
Dblk-zoned.c378 loff_t start, end; in blkdev_truncate_zone_range() local
386 end = ((zrange->sector + zrange->nr_sectors) << SECTOR_SHIFT) - 1; in blkdev_truncate_zone_range()
388 return truncate_bdev_range(bdev, mode, start, end); in blkdev_truncate_zone_range()
Dbadblocks.c376 sector_t end = a + BB_LEN(p[lo]); in badblocks_clear() local
389 p[lo] = BB_MAKE(target, end - target, ack); in badblocks_clear()
Dblk-mq-sched.c210 unsigned long end = jiffies + HZ; in blk_mq_do_dispatch_sched() local
217 if (need_resched() || time_is_before_jiffies(end)) { in blk_mq_do_dispatch_sched()
Dblk-mq.c2329 unsigned long end = start + order_to_size(page->private); in blk_mq_clear_rq_mapping() local
2336 if (rq_addr >= start && rq_addr < end) { in blk_mq_clear_rq_mapping()
3203 int i, j, end; in blk_mq_realloc_hw_ctxs() local
3257 end = i; in blk_mq_realloc_hw_ctxs()
3260 end = q->nr_hw_queues; in blk_mq_realloc_hw_ctxs()
3264 for (; j < end; j++) { in blk_mq_realloc_hw_ctxs()
Dblk-core.c1228 bool end) in update_io_ticks() argument
1235 __part_stat_add(part, io_ticks, end ? now - stamp : 1); in update_io_ticks()
Dbfq-iosched.c1340 goto end; in bfq_handle_burst()
1350 goto end; in bfq_handle_burst()
1359 end: in bfq_handle_burst()