Lines Matching refs:nr_sectors
241 unsigned int nr_sectors = len >> SECTOR_SHIFT; in null_zone_valid_read_len() local
245 sector + nr_sectors <= zone->wp) in null_zone_valid_read_len()
370 unsigned int nr_sectors, bool append) in null_zone_write() argument
382 return null_process_cmd(cmd, REQ_OP_WRITE, sector, nr_sectors); in null_zone_write()
410 if (zone->wp + nr_sectors > zone->start + zone->capacity) { in null_zone_write()
437 ret = null_process_cmd(cmd, REQ_OP_WRITE, sector, nr_sectors); in null_zone_write()
441 zone->wp += nr_sectors; in null_zone_write()
657 sector_t sector, sector_t nr_sectors) in null_process_zoned_cmd() argument
665 return null_zone_write(cmd, sector, nr_sectors, false); in null_process_zoned_cmd()
667 return null_zone_write(cmd, sector, nr_sectors, true); in null_process_zoned_cmd()
679 sts = null_process_cmd(cmd, op, sector, nr_sectors); in null_process_zoned_cmd()