Searched refs:maxblock (Results 1 – 4 of 4) sorted by relevance
816 u32 maxblock; in cramfs_read_folio() local820 maxblock = (inode->i_size + PAGE_SIZE - 1) >> PAGE_SHIFT; in cramfs_read_folio()824 if (page->index < maxblock) { in cramfs_read_folio()847 if (page->index == maxblock - 1) in cramfs_read_folio()863 block_start = OFFSET(inode) + maxblock * 4; in cramfs_read_folio()
218 short maxblock; /* id of highest block read */ member
761 if (drive_state[drive].maxblock) /* mark it changed */ in disk_change()2295 INFBOUND(drive_state[current_drive].maxblock, block); in request_done()3287 if (drive_state[current_drive].maxblock > user_params[drive].sect || in set_geometry()3613 short maxblock; member3796 v.maxblock = drive_state[drive].maxblock; in compat_getdrvstat()4197 drive_state[drive].maxblock = 0; in floppy_revalidate()
1392 const u64 maxblock = 1UL << (PAGE_SHIFT + MAX_ORDER); in pnv_pci_ioda2_setup_default_config() local1402 const u64 window_size = min((maxblock * 8) << PAGE_SHIFT, max_memory); in pnv_pci_ioda2_setup_default_config()1405 unsigned long tcelevel_order = ilog2(maxblock >> 3); in pnv_pci_ioda2_setup_default_config()