Searched refs:IN_RANGE (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/uts/intel/io/pci/ |
H A D | pci_memlist.c | 152 #define IN_RANGE(a, b, e) ((a) >= (b) && (a) <= (e)) macro 175 begin_in_chunk = IN_RANGE(rem_begin, chunk_begin, chunk_end); in pci_memlist_remove() 176 end_in_chunk = IN_RANGE(rem_end, chunk_begin, chunk_end); in pci_memlist_remove()
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | pcfs_common.h | 46 #define IN_RANGE(n, x, y) (((n) >= (x)) && ((n) <= (y))) macro
|
H A D | bpb.c | 218 IN_RANGE(TheBIOSParameterBlock.bpb.sectors_per_cluster, in readBPB()
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/ |
H A D | utils.h | 125 #define IN_RANGE(_var, _min, _max) ( ((_var) >= (_min)) && ((_var) <= (_max)) ) macro
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/ |
H A D | mkfs.c | 58 #define IN_RANGE(n, x, y) (((n) >= (x)) && ((n) <= (y))) macro 1859 IN_RANGE(wbpb->bpb.bytes_sector, 1, BPSEC * 8))) { in read_existing_bpb() 1877 IN_RANGE(wbpb->bpb.sectors_per_cluster, 1, 128))) { in read_existing_bpb() 3534 IN_RANGE(SecPerClust, 1, 128))) { in sanity_check_options()
|