| /illumos-gate/usr/src/uts/sun4v/os/ |
| H A D | intrq.c | 102 if (!ISP2(size)) { in cpu_intrq_setup() 212 if (!ISP2(cpu_list_size)) { in cpu_intrq_cleanup()
|
| /illumos-gate/usr/src/lib/libc/port/gen/ |
| H A D | posix_memalign.c | 54 if ((alignment == 0) || !ISP2(alignment) || in posix_memalign()
|
| /illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
| H A D | tavor_qp.c | 288 if (ISP2(attr_p->qp_sizes.cs_sq)) { in tavor_qp_alloc() 292 if (ISP2(attr_p->qp_sizes.cs_rq)) { in tavor_qp_alloc() 743 if (ISP2(attr_p->qp_sizes.cs_sq)) { in tavor_special_qp_alloc() 747 if (ISP2(attr_p->qp_sizes.cs_rq)) { in tavor_special_qp_alloc() 1837 if (ISP2(max_size)) { in tavor_qp_sgl_to_logwqesz() 1854 if (ISP2(max_size)) { in tavor_qp_sgl_to_logwqesz() 1874 if (ISP2(max_size)) { in tavor_qp_sgl_to_logwqesz() 1896 if (ISP2(max_size)) { in tavor_qp_sgl_to_logwqesz()
|
| H A D | tavor_srq.c | 165 if (ISP2(sizes->srq_wr_sz)) { in tavor_srq_alloc() 639 if (ISP2(size)) { in tavor_srq_modify() 1026 if (ISP2(max_size)) { in tavor_srq_sgl_to_logwqesz()
|
| /illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
| H A D | hermon_qp.c | 407 if (ISP2(attr_p->qp_sizes.cs_sq + qp->qp_sq_hdrmwqes)) { in hermon_qp_alloc() 412 if (ISP2(attr_p->qp_sizes.cs_rq)) { in hermon_qp_alloc() 923 if (ISP2(attr_p->qp_sizes.cs_sq)) { in hermon_special_qp_alloc() 927 if (ISP2(attr_p->qp_sizes.cs_rq)) { in hermon_special_qp_alloc() 1523 if (ISP2(attr_p->qp_sizes.cs_sq + qp->qp_sq_hdrmwqes)) { in hermon_qp_alloc_range() 1528 if (ISP2(attr_p->qp_sizes.cs_rq)) { in hermon_qp_alloc_range() 2832 if (ISP2(max_size)) { in hermon_qp_sgl_to_logwqesz() 2852 if (ISP2(max_size)) { in hermon_qp_sgl_to_logwqesz() 2869 if (ISP2(max_size)) { in hermon_qp_sgl_to_logwqesz() 2889 if (ISP2(max_size)) { in hermon_qp_sgl_to_logwqesz() [all …]
|
| H A D | hermon_srq.c | 178 if (ISP2(srq_wr_sz)) { in hermon_srq_alloc() 625 if (ISP2(size)) { in hermon_srq_modify() 976 if (ISP2(max_size)) { in hermon_srq_sgl_to_logwqesz()
|
| /illumos-gate/usr/src/uts/common/io/virtio/ |
| H A D | virtio_spec.h | 250 CTASSERT(ISP2(VIRTIO_PAGE_SIZE));
|
| /illumos-gate/usr/src/uts/sun4u/io/pciex/ |
| H A D | pci_cfgacc_4u.c | 49 ((sz & 0xf) && ISP2(sz))) in pci_cfgacc_valid()
|
| /illumos-gate/usr/src/uts/sun4v/io/pciex/ |
| H A D | pci_cfgacc_4v.c | 54 ((sz & 0xf) && ISP2(sz))) in pci_cfgacc_valid()
|
| /illumos-gate/usr/src/uts/common/io/sfxge/common/ |
| H A D | ef10_rx.c | 755 EFX_STATIC_ASSERT(ISP2(EFX_RXQ_MAXNDESCS)); in ef10_rx_qcreate() 756 EFX_STATIC_ASSERT(ISP2(EFX_RXQ_MINNDESCS)); in ef10_rx_qcreate() 758 if (!ISP2(n) || (n < EFX_RXQ_MINNDESCS) || (n > EFX_RXQ_MAXNDESCS)) { in ef10_rx_qcreate()
|
| H A D | ef10_ev.c | 255 EFX_STATIC_ASSERT(ISP2(EFX_EVQ_MAXNEVS)); in ef10_ev_qcreate() 256 EFX_STATIC_ASSERT(ISP2(EFX_EVQ_MINNEVS)); in ef10_ev_qcreate() 258 if (!ISP2(n) || (n < EFX_EVQ_MINNEVS) || (n > EFX_EVQ_MAXNEVS)) { in ef10_ev_qcreate()
|
| H A D | efx_rx.c | 1132 EFX_STATIC_ASSERT(ISP2(EFX_RXQ_MAXNDESCS)); in siena_rx_qcreate() 1133 EFX_STATIC_ASSERT(ISP2(EFX_RXQ_MINNDESCS)); in siena_rx_qcreate() 1135 if (!ISP2(n) || (n < EFX_RXQ_MINNDESCS) || (n > EFX_RXQ_MAXNDESCS)) { in siena_rx_qcreate()
|
| H A D | efx_tx.c | 906 EFSYS_ASSERT(ISP2(EFX_TXQ_MAXNDESCS(encp))); in siena_tx_qcreate() 907 EFX_STATIC_ASSERT(ISP2(EFX_TXQ_MINNDESCS)); in siena_tx_qcreate() 909 if (!ISP2(n) || (n < EFX_TXQ_MINNDESCS) || (n > EFX_EVQ_MAXNEVS)) { in siena_tx_qcreate()
|
| H A D | efx_ev.c | 1255 EFX_STATIC_ASSERT(ISP2(EFX_EVQ_MAXNEVS)); in siena_ev_qcreate() 1256 EFX_STATIC_ASSERT(ISP2(EFX_EVQ_MINNEVS)); in siena_ev_qcreate() 1258 if (!ISP2(n) || (n < EFX_EVQ_MINNEVS) || (n > EFX_EVQ_MAXNEVS)) { in siena_ev_qcreate()
|
| /illumos-gate/usr/src/lib/libzutil/common/ |
| H A D | zutil_pool.c | 133 if (ISP2(*numrecords + 1)) { in zpool_history_unpack()
|
| /illumos-gate/usr/src/uts/sun4/os/ |
| H A D | ddi_impl.c | 1005 if ((cache_attr != 0) && !ISP2(cache_attr)) in i_ddi_check_cache_attr() 1147 if (!ISP2(i)) in i_ddi_iomin() 1154 if (r != DDI_SUCCESS || !ISP2(i)) in i_ddi_iomin() 1181 !ISP2(attr->dma_attr_align) || !ISP2(attr->dma_attr_minxfer)) { in i_ddi_mem_alloc()
|
| /illumos-gate/usr/src/uts/common/sys/fs/ |
| H A D | pc_fs.h | 237 #define VALID_SPCL(s) (ISP2((s)) && (unsigned int)(s) <= 128) 238 #define VALID_CLSIZE(s) (ISP2((s)) && (unsigned int)(s) <= (64 * 1024))
|
| /illumos-gate/usr/src/uts/sun4/io/px/ |
| H A D | px_debug.c | 262 size = !ISP2(size) ? ((size | ~size) + 1) : size; in px_dbg_attach()
|
| /illumos-gate/usr/src/lib/libumem/common/ |
| H A D | vmem_sbrk.c | 228 } else if (heap_size != 0 && !ISP2(heap_size)) { in vmem_sbrk_arena()
|
| /illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/ |
| H A D | bpb.c | 217 if (!(ISP2(TheBIOSParameterBlock.bpb.sectors_per_cluster) && in readBPB()
|
| /illumos-gate/usr/src/uts/common/os/ |
| H A D | vmem.c | 926 if (ISP2(size)) in vmem_canalloc() 965 if (phase >= align || !ISP2(align) || !ISP2(nocross)) in vmem_xalloc() 1001 if (ISP2(size)) { in vmem_xalloc() 1301 if (ISP2(size)) in vmem_alloc()
|
| /illumos-gate/usr/src/uts/common/vm/ |
| H A D | seg_kmem.c | 1299 !ISP2(lpthrt)) { in segkmem_alloc_lp() 1302 if (ISP2(lpthrt)) in segkmem_alloc_lp() 1488 if (segkmem_heaplp_quantum == 0 || !ISP2(segkmem_heaplp_quantum) || in segkmem_lpsetup() 1494 if (segkmem_kmemlp_quantum == 0 || !ISP2(segkmem_kmemlp_quantum) || in segkmem_lpsetup()
|
| /illumos-gate/usr/src/uts/sun4u/vm/ |
| H A D | mach_vm_dep.c | 267 ASSERT(ISP2(align_amount)); in map_addr_proc()
|
| /illumos-gate/usr/src/uts/i86pc/os/ |
| H A D | pci_cfgacc_x86.c | 205 ((sz & 0xf) && ISP2(sz))) in pci_cfgacc_valid()
|
| /illumos-gate/usr/src/uts/common/io/ib/clients/rds/ |
| H A D | rdssubr.c | 153 if (!ISP2(rds_bind_fanout_size)) { in rds_hash_init()
|