Searched refs:nr_sects (Results 1 – 14 of 14) sorted by relevance
| /linux/block/ |
| A D | blk-lib.c | 61 if ((sector | nr_sects) & bs_mask) in __blkdev_issue_discard() 64 if (!nr_sects) in __blkdev_issue_discard() 71 while (nr_sects) { in __blkdev_issue_discard() 105 nr_sects -= req_sects; in __blkdev_issue_discard() 191 while (nr_sects) { in __blkdev_issue_write_same() 207 nr_sects = 0; in __blkdev_issue_write_same() 267 while (nr_sects) { in __blkdev_issue_write_zeroes() 281 nr_sects = 0; in __blkdev_issue_write_zeroes() 318 while (nr_sects != 0) { in __blkdev_issue_zero_pages() 325 while (nr_sects != 0) { in __blkdev_issue_zero_pages() [all …]
|
| /linux/block/partitions/ |
| A D | acorn.c | 29 unsigned int nr_sects; in adfs_partition() local 85 unsigned long size = nr_sects > 2 ? 2 : nr_sects; in riscix_partition() 120 __le32 nr_sects; member 131 unsigned long size = nr_sects > 2 ? 2 : nr_sects; in linux_partition() 184 unsigned int nr_sects; in adfspart_check_CUMANA() local 203 if (!nr_sects) in adfspart_check_CUMANA() 207 first_sector += nr_sects; in adfspart_check_CUMANA() 219 nr_sects); in adfspart_check_CUMANA() 225 nr_sects); in adfspart_check_CUMANA() 286 nr_sects); in adfspart_check_ADFS() [all …]
|
| A D | msdos.c | 43 return (sector_t)get_unaligned_le32(&p->nr_sects); in nr_sects() 176 if (!nr_sects(p) || is_extended_partition(p)) in parse_extended() 182 size = nr_sects(p)*sector_size; in parse_extended() 210 if (nr_sects(p) && is_extended_partition(p)) in parse_extended() 216 this_size = nr_sects(p) * sector_size; in parse_extended() 443 __le32 nr_sects; /* number of sectors in slice */ member 514 le32_to_cpu(p->nr_sects)); in parse_unixware() 559 start_sect(p), nr_sects(p)); in parse_minix() 665 sector_t size = nr_sects(p)*sector_size; in msdos_partition() 704 if (!nr_sects(p)) in msdos_partition() [all …]
|
| A D | amiga.c | 34 int start_sect, nr_sects, blk, part, res = 0; in amiga_partition() local 99 nr_sects = (be32_to_cpu(pb->pb_Environment[10]) + 1 - in amiga_partition() 104 if (!nr_sects) in amiga_partition() 110 put_partition(state,slot++,start_sect,nr_sects); in amiga_partition()
|
| /linux/drivers/block/xen-blkback/ |
| A D | blkback.c | 453 if (likely(req->nr_sects)) { in xen_vbd_translate() 454 blkif_sector_t end = req->sector_number + req->nr_sects; in xen_vbd_translate() 956 preq->nr_sects += seg[n].nsec; in xen_blkbk_parse_indirect() 979 preq.nr_sects = req->u.discard.nr_sectors; in dispatch_discard_io() 985 preq.sector_number + preq.nr_sects, blkif->vbd.pdevice); in dispatch_discard_io() 1250 preq.nr_sects = 0; in dispatch_rw_block_io() 1270 preq.nr_sects += seg[i].nsec; in dispatch_rw_block_io() 1283 preq.sector_number + preq.nr_sects, in dispatch_rw_block_io() 1369 ring->st_rd_sect += preq.nr_sects; in dispatch_rw_block_io() 1371 ring->st_wr_sect += preq.nr_sects; in dispatch_rw_block_io()
|
| A D | common.h | 371 blkif_sector_t nr_sects; member
|
| /linux/include/linux/ |
| A D | msdos_partition.h | 17 __le32 nr_sects; /* nr of sectors in partition */ member
|
| A D | blkdev.h | 838 sector_t nr_sects, gfp_t gfp_mask, struct page *page); 843 sector_t nr_sects, gfp_t gfp_mask, unsigned long flags); 845 sector_t nr_sects, gfp_t gfp_mask, int flags, 852 sector_t nr_sects, gfp_t gfp_mask, struct bio **biop, 855 sector_t nr_sects, gfp_t gfp_mask, unsigned flags);
|
| /linux/drivers/mtd/ |
| A D | ftl.c | 970 unsigned long sector, unsigned nr_sects) in ftl_discardsect() argument 976 sector, nr_sects); in ftl_discardsect() 978 while (nr_sects) { in ftl_discardsect() 986 nr_sects--; in ftl_discardsect()
|
| A D | rfd_ftl.c | 709 unsigned long sector, unsigned int nr_sects) in rfd_ftl_discardsect() argument 715 while (nr_sects) { in rfd_ftl_discardsect() 730 nr_sects--; in rfd_ftl_discardsect()
|
| /linux/drivers/scsi/ |
| A D | scsicam.c | 109 + get_unaligned_le32(&largest->nr_sects); in scsi_partsize()
|
| A D | scsi_debug.c | 5341 pp->nr_sects = cpu_to_le32(end_sec - start_sec + 1); in sdebug_build_parts()
|
| /linux/fs/f2fs/ |
| A D | segment.c | 1852 sector_t sector, nr_sects; in __f2fs_issue_discard_zone() local 1869 nr_sects = SECTOR_FROM_BLOCK(blklen); in __f2fs_issue_discard_zone() 1872 nr_sects != bdev_zone_sectors(bdev)) { in __f2fs_issue_discard_zone() 1880 sector, nr_sects, GFP_NOFS); in __f2fs_issue_discard_zone()
|
| A D | file.c | 3682 sector_t nr_sects = SECTOR_FROM_BLOCK(len); in f2fs_secure_erase() local 3689 ret = blkdev_issue_discard(bdev, sector, nr_sects, GFP_NOFS, in f2fs_secure_erase() 3697 ret = blkdev_issue_zeroout(bdev, sector, nr_sects, in f2fs_secure_erase()
|
Completed in 52 milliseconds