Home
last modified time | relevance | path

Searched refs:bitmask (Results 1 – 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dsigsetops.c56 #define bitmask(n) (1L<<((n-1)%MAXBITNO)) macro
69 return ((sigs.__sigbits[sigword(sig)] & bitmask(sig)) != 0); in sigvalid()
101 set->__sigbits[sigword(sig)] |= bitmask(sig); in sigaddset()
112 set->__sigbits[sigword(sig)] &= ~bitmask(sig); in sigdelset()
123 return ((set->__sigbits[sigword(sig)] & bitmask(sig)) != 0); in sigismember()
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlgc.h79 #define bitmask(b) (1<<(b)) macro
80 #define bit2mask(b1,b2) (bitmask(b1) | bitmask(b2))
81 #define l_setbit(x,b) setbits(x, bitmask(b))
82 #define resetbit(x,b) resetbits(x, bitmask(b))
83 #define testbit(x,b) testbits(x, bitmask(b))
102 (!testbits((x)->gch.marked, WHITEBITS | bitmask(BLACKBIT)))
H A Dlgc.c726 toset = bitmask(OLDBIT); /* set the old bit of all surviving objects */ in sweeplist()
727 tostop = bitmask(OLDBIT); /* do not sweep old generation */ in sweeplist()
925 (bitmask(GCSsweepstring) | bitmask(GCSsweepudata) | bitmask(GCSsweep))
957 luaC_runtilstate(L, bitmask(GCSpropagate)); in luaC_changemode()
1126 luaC_runtilstate(L, bitmask(GCSpause)); /* run complete (minor) cycle */ in generationalcollection()
1205 luaC_runtilstate(L, bitmask(GCSpause)); in luaC_fullgc()
1206 luaC_runtilstate(L, ~bitmask(GCSpause)); /* start new collection */ in luaC_fullgc()
1207 luaC_runtilstate(L, bitmask(GCSpause)); /* run entire collection */ in luaC_fullgc()
1210 luaC_runtilstate(L, bitmask(GCSpropagate)); in luaC_fullgc()
H A Dlstring.c68 luaC_runtilstate(L, ~bitmask(GCSsweepstring)); in luaS_resize()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dgraphics.c63 bitmask(int value) in bitmask() function
78 bitmask(0xff); in progressbar_show()
85 bitmask(0x00); in progressbar_show()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dipaddrsel.c458 ip_plen_to_mask_v6(int plen, in6_addr_t *bitmask) in ip_plen_to_mask_v6() argument
465 (void) memset(bitmask, 0, sizeof (in6_addr_t)); in ip_plen_to_mask_v6()
467 return (bitmask); in ip_plen_to_mask_v6()
469 ptr = (uint32_t *)bitmask; in ip_plen_to_mask_v6()
475 return (bitmask); in ip_plen_to_mask_v6()
/illumos-gate/usr/src/lib/print/libipp-listener/common/
H A Dcups-get-classes.c69 filt.filter.bitmask.mask = ~PAPI_PRINTER_CLASS; in cups_get_classes()
70 filt.filter.bitmask.value = PAPI_PRINTER_CLASS; in cups_get_classes()
H A Dcups-get-printers.c69 filt.filter.bitmask.mask = ~PAPI_PRINTER_CLASS; in cups_get_printers()
70 filt.filter.bitmask.value = PAPI_PRINTER_LOCAL | PAPI_PRINTER_REMOTE; in cups_get_printers()
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dprinter.c79 ((filter->filter.bitmask.mask & PAPI_PRINTER_LOCAL) == in papiPrintersList()
80 (filter->filter.bitmask.value & PAPI_PRINTER_LOCAL))) { in papiPrintersList()
110 ((filter->filter.bitmask.mask & PAPI_PRINTER_CLASS) == in papiPrintersList()
111 (filter->filter.bitmask.value & PAPI_PRINTER_CLASS))) { in papiPrintersList()
/illumos-gate/usr/src/uts/intel/pcbe/
H A Dcore_pcbe.c981 uint64_t bitmask; in core_pcbe_event_coverage() local
1014 bitmask = 1ULL << num_gpc; in core_pcbe_event_coverage()
1017 bitmap |= bitmask; in core_pcbe_event_coverage()
1019 bitmap |= bitmask; in core_pcbe_event_coverage()
1021 bitmask = bitmask << 1; in core_pcbe_event_coverage()
/illumos-gate/usr/src/uts/i86pc/io/vmm/amd/
H A Dsvm.c399 svm_get_intercept(struct svm_softc *sc, int vcpu, int idx, uint32_t bitmask) in svm_get_intercept() argument
406 return (ctrl->intercept[idx] & bitmask ? 1 : 0); in svm_get_intercept()
410 svm_set_intercept(struct svm_softc *sc, int vcpu, int idx, uint32_t bitmask, in svm_set_intercept() argument
422 ctrl->intercept[idx] |= bitmask; in svm_set_intercept()
424 ctrl->intercept[idx] &= ~bitmask; in svm_set_intercept()
434 svm_disable_intercept(struct svm_softc *sc, int vcpu, int off, uint32_t bitmask) in svm_disable_intercept() argument
437 svm_set_intercept(sc, vcpu, off, bitmask, 0); in svm_disable_intercept()
441 svm_enable_intercept(struct svm_softc *sc, int vcpu, int off, uint32_t bitmask) in svm_enable_intercept() argument
444 svm_set_intercept(sc, vcpu, off, bitmask, 1); in svm_enable_intercept()
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_int.c810 u32 bitmask) in ecore_int_deassertion_aeu_bit() argument
816 p_bit_name, bitmask); in ecore_int_deassertion_aeu_bit()
845 u32 mask = ~bitmask; in ecore_int_deassertion_aeu_bit()
974 long unsigned int bitmask; in ecore_int_deassertion() local
992 bitmask = bits & (((1 << bit_len) - 1) << bit); in ecore_int_deassertion()
993 bitmask >>= bit; in ecore_int_deassertion()
995 if (bitmask) { in ecore_int_deassertion()
1000 num = (u8)OSAL_FIND_FIRST_BIT(&bitmask, in ecore_int_deassertion()
1021 bitmask <<= bit; in ecore_int_deassertion()
1028 bitmask); in ecore_int_deassertion()
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_map.c529 ushort_t bitmask; in segmap_unlock() local
554 bitmask = SMAP_BIT_MASK((off - smp->sm_off) >> PAGESHIFT); in segmap_unlock()
563 if (smp->sm_bitmap & bitmask) { in segmap_unlock()
564 smp->sm_bitmap &= ~bitmask; in segmap_unlock()
1496 ushort_t bitmask; in segmap_pageunlock() local
1537 bitmask = SMAP_BIT_MASK((int)(off - smp->sm_off) >> PAGESHIFT); in segmap_pageunlock()
1550 if (smp->sm_bitmap & bitmask) { in segmap_pageunlock()
1552 smp->sm_bitmap &= ~bitmask; in segmap_pageunlock()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip6_ire.c280 ip_plen_to_mask_v6(uint_t plen, in6_addr_t *bitmask) in ip_plen_to_mask_v6() argument
286 *bitmask = ipv6_all_zeros; in ip_plen_to_mask_v6()
288 return (bitmask); in ip_plen_to_mask_v6()
290 ptr = (uint32_t *)bitmask; in ip_plen_to_mask_v6()
296 return (bitmask); in ip_plen_to_mask_v6()
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_regd.c60 ath9k_regd_is_chan_bm_zero(uint64_t *bitmask) in ath9k_regd_is_chan_bm_zero() argument
65 if (bitmask[i] != 0) in ath9k_regd_is_chan_bm_zero()
343 ath9k_regd_is_bit_set(int bit, uint64_t *bitmask) in ath9k_regd_is_bit_set() argument
351 if (bitmask[byteOffset] & val) in ath9k_regd_is_bit_set()
/illumos-gate/usr/src/cmd/tsol/tnd/
H A Dtnd.c92 static in6_addr_t *rh_index_to_mask_v6(uint_t masklen, in6_addr_t *bitmask);
397 rh_index_to_mask_v6(uint_t masklen, in6_addr_t *bitmask) in rh_index_to_mask_v6() argument
401 *bitmask = ipv6_all_zeros; in rh_index_to_mask_v6()
403 ptr = (uint32_t *)bitmask; in rh_index_to_mask_v6()
409 return (bitmask); in rh_index_to_mask_v6()
/illumos-gate/usr/src/uts/common/os/
H A Dlabelsys.c89 tsol_plen_to_mask_v6(uint_t plen, in6_addr_t *bitmask) in tsol_plen_to_mask_v6() argument
95 ptr = (uint32_t *)bitmask; in tsol_plen_to_mask_v6()
102 while (ptr < (uint32_t *)(bitmask + 1)) in tsol_plen_to_mask_v6()
/illumos-gate/usr/src/lib/print/libpapi-common/common/
H A Dpapi.h198 } bitmask; member
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_x550.c1407 u32 idx, reg, num_qs, start_q, bitmask; in ixgbe_restore_mdd_vf_X550() local
1416 bitmask = 0x000000FF; in ixgbe_restore_mdd_vf_X550()
1421 bitmask = 0x0000000F; in ixgbe_restore_mdd_vf_X550()
1425 bitmask = 0x00000003; in ixgbe_restore_mdd_vf_X550()
1433 reg |= (bitmask << (start_q % 32)); in ixgbe_restore_mdd_vf_X550()
/illumos-gate/usr/src/uts/i86pc/io/vmm/
H A Dvmm_instruction_emul.c1810 int error, bitmask, bitoff; in vie_emulate_bittest() local
1832 bitmask = vie->opsize * 8 - 1; in vie_emulate_bittest()
1833 bitoff = vie->immediate & bitmask; in vie_emulate_bittest()
/illumos-gate/usr/src/uts/sun/io/
H A Dsocal.c2623 uint_t bitmask, wmask; in socal_cq_enque() local
2630 bitmask = SOCAL_CSR_1ST_H_TO_S << rqix; in socal_cq_enque()
2631 wmask = SOCAL_CSR_SOCAL_TO_HOST | bitmask; in socal_cq_enque()
2685 (socalp->socal_k_imr |= bitmask); in socal_cq_enque()
/illumos-gate/usr/src/uts/sun4/ml/
H A Dinterrupt.s1178 ! Clear bit for this level in CPU's interrupt active bitmask.
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/documentation/
H A Dosal.txt470 to be a bitmask of all relative VFIDs that need FLR.
H A Decore.tex459 …\item \texttt{ecore\_get\_init\_mode()} – this creates a bitmask which will be later passed to the…
589 …_reg}{int_igu_read_sisr_reg} to get the information [returned value is a bitmask of status blocks …
1647 …\_pf\_get\_pending\_events}{iov_pf_get_pending_events}. It will return a bitmask of all the VFs be…
/illumos-gate/usr/src/uts/intel/io/acpica/
H A Dchanges.txt12312 being extracted instead of just _MEM. (i.e. bitmask was incorrectly too

12