Lines Matching refs:PagesPerBlock
413 u16 PagesPerBlock; member
838 memset(info->MS_Lib.blkpag, 0xff, info->MS_Lib.PagesPerBlock * info->MS_Lib.BytesPerSector); in ms_lib_clear_writebuf()
841 for (i = 0; i < info->MS_Lib.PagesPerBlock; i++) { in ms_lib_clear_writebuf()
974 info->MS_Lib.PagesPerBlock = info->MS_Lib.blockSize * SIZE_OF_KIRO / MS_BYTES_PER_PAGE; in ms_lib_process_bootblock()
1106 info->MS_Lib.PagesPerBlock = 0; in ms_lib_free_allocatedarea()
1119 info->MS_Lib.blkpag = kmalloc_array(info->MS_Lib.PagesPerBlock, in ms_lib_alloc_writebuf()
1122 info->MS_Lib.blkext = kmalloc_array(info->MS_Lib.PagesPerBlock, in ms_lib_alloc_writebuf()
1689 logblk = (u16)(bn / info->MS_Lib.PagesPerBlock); in ms_scsi_read()
1690 PageNum = (u8)(bn % info->MS_Lib.PagesPerBlock); in ms_scsi_read()
1693 if (blen > (info->MS_Lib.PagesPerBlock-PageNum)) in ms_scsi_read()
1694 len = info->MS_Lib.PagesPerBlock-PageNum; in ms_scsi_read()
1790 PhyBlockAddr = (u16)(bn / info->MS_Lib.PagesPerBlock); in ms_scsi_write()
1791 PageNum = (u8)(bn % info->MS_Lib.PagesPerBlock); in ms_scsi_write()
1794 if (blen > (info->MS_Lib.PagesPerBlock-PageNum)) in ms_scsi_write()
1795 len = info->MS_Lib.PagesPerBlock-PageNum; in ms_scsi_write()