Lines Matching refs:MS_BYTES_PER_PAGE
158 #define MS_SYSINF_PAGE_SIZE MS_BYTES_PER_PAGE /* fixed */
202 #define MS_BYTES_PER_PAGE 512 macro
942 PageBuffer = kzalloc(MS_BYTES_PER_PAGE * 2, GFP_KERNEL); in ms_lib_process_bootblock()
974 info->MS_Lib.PagesPerBlock = info->MS_Lib.blockSize * SIZE_OF_KIRO / MS_BYTES_PER_PAGE; in ms_lib_process_bootblock()
999 if (EntryOffset + MS_BYTES_PER_PAGE + EntrySize > info->MS_Lib.blockSize * (u32)SIZE_OF_KIRO) in ms_lib_process_bootblock()
1011 PageNumber = (u8)(EntryOffset / MS_BYTES_PER_PAGE + 1); in ms_lib_process_bootblock()
1026 phyblk = be16_to_cpu(*(u16 *)(PageBuffer + (EntryOffset % MS_BYTES_PER_PAGE))); in ms_lib_process_bootblock()
1039 …switch (ms_read_readpage(us, PhyBlock, (u8)(EntryOffset / MS_BYTES_PER_PAGE + 1), (u32 *)PageBuffe… in ms_lib_process_bootblock()
1049 … idi = &((struct ms_bootblock_cis_idi *)(PageBuffer + (EntryOffset % MS_BYTES_PER_PAGE)))->idi.idi; in ms_lib_process_bootblock()
1054 if (info->MS_Lib.BytesPerSector != MS_BYTES_PER_PAGE) in ms_lib_process_bootblock()
1221 PageBuf = kmalloc(MS_BYTES_PER_PAGE, GFP_KERNEL); in ms_lib_check_disableblock()
1725 offset += MS_BYTES_PER_PAGE*len; in ms_scsi_read()
1818 offset += MS_BYTES_PER_PAGE*len; in ms_scsi_write()
1963 PageBuffer0 = kmalloc(MS_BYTES_PER_PAGE, GFP_KERNEL); in ms_card_init()
1964 PageBuffer1 = kmalloc(MS_BYTES_PER_PAGE, GFP_KERNEL); in ms_card_init()
2000 memcpy(PageBuffer1, PageBuffer0, MS_BYTES_PER_PAGE); in ms_card_init()