Searched refs:good_bytes (Results 1 - 8 of 8) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/47xxnand/ |
H A D | bcm_nflash.c | 90 uint skip_bytes = 0, good_bytes = 0; local 132 good_bytes = part->offset & ~mask; 134 for (blk_idx = good_bytes/blocksize; blk_idx < mtd->eraseregions->numblocks; blk_idx++) { 138 if (good_bytes == blk_offset) 140 good_bytes += blocksize; 212 uint skip_bytes = 0, good_bytes = 0; local 248 good_bytes = part->offset & ~mask; 249 part_blk_start = reciprocal_divide(good_bytes, r_blocksize); 256 if (good_bytes == blk_offset) 258 good_bytes [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/bcm947xx/nand/ |
H A D | bcm_nflash.c | 126 uint skip_bytes = 0, good_bytes = 0, page_size; local 171 good_bytes = part->offset & ~mask; 173 for (blk_idx = good_bytes/blocksize; blk_idx < mtd->eraseregions->numblocks; blk_idx++) { 177 if (good_bytes == blk_offset) 179 good_bytes += blocksize; 252 uint skip_bytes = 0, good_bytes = 0; local 288 good_bytes = part->offset & ~mask; 289 part_blk_start = reciprocal_divide(good_bytes, r_blocksize); 296 if (good_bytes == blk_offset) 298 good_bytes [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/exofs/ |
H A D | inode.c | 192 u64 good_bytes; local 197 good_bytes = pcol->length; 199 good_bytes = pcol->length - resid; 201 EXOFS_DBGMSG2("readpages_done(0x%lx) good_bytes=0x%llx" 203 pcol->inode->i_ino, _LLU(good_bytes), pcol->length, 214 if (likely(length < good_bytes)) 221 page_stat ? "bad_bytes" : "good_bytes"); 459 u64 good_bytes; local 466 good_bytes = pcol->length; 468 good_bytes [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/ |
H A D | scsi.c | 813 unsigned int good_bytes; local 832 good_bytes = scsi_bufflen(cmd); 834 int old_good_bytes = good_bytes; 837 good_bytes = drv->done(cmd); 844 if (good_bytes == old_good_bytes) 845 good_bytes -= scsi_get_resid(cmd); 847 scsi_io_completion(cmd, good_bytes);
|
H A D | sr.c | 262 int good_bytes = (result == 0 ? this_count : 0); local 297 good_bytes = (error_sector - 299 if (good_bytes < 0 || good_bytes >= this_count) 300 good_bytes = 0; 315 good_bytes = this_count; 323 return good_bytes;
|
H A D | sd_dif.c | 428 void sd_dif_complete(struct scsi_cmnd *scmd, unsigned int good_bytes) argument 439 if (sdkp->protection_type == SD_DIF_TYPE3_PROTECTION || good_bytes == 0) 443 sectors = good_bytes / sector_sz;
|
H A D | sd.c | 1157 unsigned int good_bytes; local 1191 good_bytes = (bad_lba - start_lba) * scmd->device->sector_size; 1192 return min(good_bytes, transferred); 1205 unsigned int good_bytes = result ? 0 : scsi_bufflen(SCpnt); local 1214 return good_bytes; 1240 good_bytes = sd_completed_bytes(SCpnt); 1243 good_bytes = scsi_bufflen(SCpnt); 1257 good_bytes = sd_completed_bytes(SCpnt); 1264 sd_dif_complete(SCpnt, good_bytes); 1281 return good_bytes; [all...] |
H A D | scsi_lib.c | 706 void scsi_io_completion(struct scsi_cmnd *cmd, unsigned int good_bytes) argument 769 blk_rq_sectors(req), good_bytes)); 796 if (scsi_end_request(cmd, error, good_bytes, result == 0) == NULL)
|
Completed in 191 milliseconds