Lines Matching refs:blocksize
100 unsigned int blocksize; /* number of pages per block */ member
443 MEDIA_INFO(us).blocksize = 1 << media_info->blockshift; in alauda_init_media()
447 MEDIA_INFO(us).blockmask = MEDIA_INFO(us).blocksize - 1; in alauda_init_media()
801 (MEDIA_INFO(us).pagesize + 64) * MEDIA_INFO(us).blocksize, in alauda_write_block()
823 unsigned int blocksize = MEDIA_INFO(us).blocksize; in alauda_write_lba() local
851 blocksize, blockbuffer); in alauda_write_lba()
855 memset(blockbuffer, 0, blocksize * (pagesize + 64)); in alauda_write_lba()
863 for (i = 0; i < blocksize; i++) { in alauda_write_lba()
926 unsigned int blocksize = MEDIA_INFO(us).blocksize; in alauda_read_data() local
940 len = min(sectors, blocksize) * (pagesize + 64); in alauda_read_data()
970 pages = min(sectors, blocksize - page); in alauda_read_data()
1020 unsigned int blocksize = MEDIA_INFO(us).blocksize; in alauda_write_data() local
1032 len = min(sectors, blocksize) * pagesize; in alauda_write_data()
1041 blockbuffer = kmalloc((pagesize + 64) * blocksize, GFP_NOIO); in alauda_write_data()
1058 unsigned int pages = min(sectors, blocksize - page); in alauda_write_data()
1165 * MEDIA_INFO(us).blocksize; in alauda_transport()