Lines Matching refs:numblocks
929 int numblocks = info->capacity >> (info->blockshift + info->pageshift); in sddr09_find_unused_pba() local
932 for (i = lastpba+1; i < numblocks; i++) { in sddr09_find_unused_pba()
1280 int numblocks, alloc_len, alloc_blocks; in sddr09_read_map() local
1330 numblocks = info->capacity >> (info->blockshift + info->pageshift); in sddr09_read_map()
1332 result = sddr09_read_control(us, 0, numblocks, in sddr09_read_map()
1343 info->lba_to_pba = kmalloc(numblocks*sizeof(int), GFP_NOIO); in sddr09_read_map()
1344 info->pba_to_lba = kmalloc(numblocks*sizeof(int), GFP_NOIO); in sddr09_read_map()
1357 for (i = 0; i < numblocks; i++) in sddr09_read_map()
1370 for (i=0; i<numblocks; i++) { in sddr09_read_map()
1377 for (i=0; i<numblocks; i++) { in sddr09_read_map()
1464 for (i = 0; i < numblocks; i += 1024) { in sddr09_read_map()
1467 for (j = 0; j < 1024 && i+j < numblocks; j++) { in sddr09_read_map()