Home
last modified time | relevance | path

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

/block/
Dbio.c1271 unsigned long end; in bio_copy_user_iov() local
1275 end = (uaddr + iter->iov[i].iov_len + PAGE_SIZE - 1) in bio_copy_user_iov()
1282 if (end < start) in bio_copy_user_iov()
1285 nr_pages += end - start; in bio_copy_user_iov()
1402 unsigned long end = (uaddr + len + PAGE_SIZE - 1) >> PAGE_SHIFT; in bio_map_user_iov() local
1408 if (end < start) in bio_map_user_iov()
1411 nr_pages += end - start; in bio_map_user_iov()
1434 unsigned long end = (uaddr + len + PAGE_SIZE - 1) >> PAGE_SHIFT; in bio_map_user_iov() local
1436 const int local_nr_pages = end - start; in bio_map_user_iov()
1564 unsigned long end = (kaddr + len + PAGE_SIZE - 1) >> PAGE_SHIFT; in bio_map_kern() local
[all …]
Dioctl.c232 uint64_t start, end, len; in blk_ioctl_zeroout() local
242 end = start + len - 1; in blk_ioctl_zeroout()
248 if (end >= (uint64_t)i_size_read(bdev->bd_inode)) in blk_ioctl_zeroout()
250 if (end < start) in blk_ioctl_zeroout()
255 truncate_inode_pages_range(mapping, start, end); in blk_ioctl_zeroout()
Dbio-integrity.c242 unsigned long start, end; in bio_integrity_prep() local
281 end = (((unsigned long) buf) + len + PAGE_SIZE - 1) >> PAGE_SHIFT; in bio_integrity_prep()
283 nr_pages = end - start; in bio_integrity_prep()
Dbadblocks.c384 sector_t end = a + BB_LEN(p[lo]); in badblocks_clear() local
397 p[lo] = BB_MAKE(target, end - target, ack); in badblocks_clear()
Dgenhd.c181 int inc, end; in disk_part_iter_next() local
196 end = -1; in disk_part_iter_next()
198 end = 0; in disk_part_iter_next()
201 end = ptbl->len; in disk_part_iter_next()
205 for (; piter->idx != end; piter->idx += inc) { in disk_part_iter_next()
Dbfq-iosched.c972 goto end; in bfq_handle_burst()
982 goto end; in bfq_handle_burst()
991 end: in bfq_handle_burst()
1710 goto end; in bfq_requests_merged()
1734 end: in bfq_requests_merged()