Home
last modified time | relevance | path

Searched refs:maxblock (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/fs/cramfs/
Dinode.c816 u32 maxblock; in cramfs_read_folio() local
820 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()
/Linux-v6.6/include/uapi/linux/
Dfd.h218 short maxblock; /* id of highest block read */ member
/Linux-v6.6/drivers/block/
Dfloppy.c761 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; member
3796 v.maxblock = drive_state[drive].maxblock; in compat_getdrvstat()
4197 drive_state[drive].maxblock = 0; in floppy_revalidate()
/Linux-v6.6/arch/powerpc/platforms/powernv/
Dpci-ioda.c1392 const u64 maxblock = 1UL << (PAGE_SHIFT + MAX_ORDER); in pnv_pci_ioda2_setup_default_config() local
1402 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()