Home
last modified time | relevance | path

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

/include/linux/
Data.h1126 static inline bool lba_28_ok(u64 block, u32 n_block) in lba_28_ok() argument
1129 return ((block + n_block) < ((1 << 28) - 1)) && (n_block <= ATA_MAX_SECTORS); in lba_28_ok()
1132 static inline bool lba_48_ok(u64 block, u32 n_block) in lba_48_ok() argument
1135 return ((block + n_block - 1) < ((u64)1 << 48)) && (n_block <= ATA_MAX_SECTORS_LBA48); in lba_48_ok()