Home
last modified time | relevance | path

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

12345

/freebsd/sys/dev/qat/qat_api/include/
H A Dcpa_types.h137 #define CPA_BITMAP_BIT_TEST(bitmask, bit) \ argument
138 ((bitmask[(bit)/32]) & (0x1 << ((bit)%32)))
145 #define CPA_BITMAP_BIT_SET(bitmask, bit) \ argument
146 (bitmask[(bit)/32] |= (0x1 << ((bit)%32)))
153 #define CPA_BITMAP_BIT_CLEAR(bitmask, bit) \ argument
154 (bitmask[(bit)/32] &= ~(0x1 << ((bit)%32)))
/freebsd/contrib/llvm-project/libc/src/__support/HashTable/sse2/
H A Dbitmask_impl.inc15 // With SSE2, every bitmask is iteratable as
34 // Find out the lanes equal to the given byte and return the bitmask
38 auto bitmask = static_cast<uint16_t>(_mm_movemask_epi8(cmp));
39 return {{bitmask}};
43 auto bitmask = static_cast<uint16_t>(_mm_movemask_epi8(data));
44 return {bitmask};
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlgc.h80 #define bitmask(b) (1<<(b)) macro
81 #define bit2mask(b1,b2) (bitmask(b1) | bitmask(b2))
82 #define l_setbit(x,b) setbits(x, bitmask(b))
83 #define resetbit(x,b) resetbits(x, bitmask(b))
84 #define testbit(x,b) testbits(x, bitmask(b))
103 (!testbits((x)->gch.marked, WHITEBITS | bitmask(BLACKBIT)))
H A Dlgc.c725 toset = bitmask(OLDBIT); /* set the old bit of all surviving objects */ in sweeplist()
726 tostop = bitmask(OLDBIT); /* do not sweep old generation */ in sweeplist()
924 (bitmask(GCSsweepstring) | bitmask(GCSsweepudata) | bitmask(GCSsweep))
956 luaC_runtilstate(L, bitmask(GCSpropagate)); in luaC_changemode()
1125 luaC_runtilstate(L, bitmask(GCSpause)); /* run complete (minor) cycle */ in generationalcollection()
1204 luaC_runtilstate(L, bitmask(GCSpause)); in luaC_fullgc()
1205 luaC_runtilstate(L, ~bitmask(GCSpause)); /* start new collection */ in luaC_fullgc()
1206 luaC_runtilstate(L, bitmask(GCSpause)); /* run entire collection */ in luaC_fullgc()
1209 luaC_runtilstate(L, bitmask(GCSpropagate)); in luaC_fullgc()
/freebsd/contrib/lua/src/
H A Dlgc.h63 #define bitmask(b) (1<<(b)) macro
64 #define bit2mask(b1,b2) (bitmask(b1) | bitmask(b2))
65 #define l_setbit(x,b) setbits(x, bitmask(b))
66 #define resetbit(x,b) resetbits(x, bitmask(b))
67 #define testbit(x,b) testbits(x, bitmask(b))
90 (!testbits((x)->marked, WHITEBITS | bitmask(BLACKBIT)))
/freebsd/usr.sbin/ppp/
H A Dpred.c69 int i, bitmask; in compress() local
76 for (bitmask = 1, i = 0; i < 8 && len; i++, bitmask <<= 1) { in compress()
78 flags |= bitmask; /* Guess was right - don't output */ in compress()
103 int i, bitmask; in decompress() local
110 for (i = 0, bitmask = 1; i < 8; i++, bitmask <<= 1) { in decompress()
111 if (flags & bitmask) { in decompress()
/freebsd/sbin/ipfw/tests/
H A Dtest_add_rule.py224 … arg1=InsnLookup.compile_arg1(lookup_type=IpFwTableLookupType.LOOKUP_MARK, bitmask=True),
225 bitmask=0xf00baa1),
244 … arg1=InsnLookup.compile_arg1(lookup_type=IpFwTableLookupType.LOOKUP_SRC_MAC, bitmask=True),
245 bitmask="1a:2b:3c:4d:5e:6f"),
264 … arg1=InsnLookup.compile_arg1(lookup_type=IpFwTableLookupType.LOOKUP_DST_IP4, bitmask=True),
265 bitmask="60.43.26.0"),
284 … arg1=InsnLookup.compile_arg1(lookup_type=IpFwTableLookupType.LOOKUP_SRC_IP4, bitmask=True),
285 bitmask="0.0.0.255"),
304 … arg1=InsnLookup.compile_arg1(lookup_type=IpFwTableLookupType.LOOKUP_JAIL, bitmask=True),
305 bitmask=64640),
[all …]
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_fs_counters.c527 unsigned long *bitmask; member
540 return bitmap_weight(bulk->bitmask, bulk->bulk_len); in mlx5_fc_bulk_get_free_fcs_amount()
559 bulk->bitmask = kvcalloc(BITS_TO_LONGS(bulk_len), sizeof(unsigned long), in mlx5_fc_bulk_create()
561 if (!bulk->bitmask) in mlx5_fc_bulk_create()
572 set_bit(i, bulk->bitmask); in mlx5_fc_bulk_create()
578 kvfree(bulk->bitmask); in mlx5_fc_bulk_create()
594 kvfree(bulk->bitmask); in mlx5_fc_bulk_destroy()
602 int free_fc_index = find_first_bit(bulk->bitmask, bulk->bulk_len); in mlx5_fc_bulk_acquire_fc()
607 clear_bit(free_fc_index, bulk->bitmask); in mlx5_fc_bulk_acquire_fc()
615 if (test_bit(fc_index, bulk->bitmask)) in mlx5_fc_bulk_release_fc()
[all...]
H A Dmlx5_transobj.c281 void *bitmask; in mlx5_core_arm_rmp() local
289 bitmask = MLX5_ADDR_OF(modify_rmp_in, in, bitmask); in mlx5_core_arm_rmp()
295 MLX5_SET(rmp_bitmask, bitmask, lwm, 1); in mlx5_core_arm_rmp()
/freebsd/sys/powerpc/powerpc/
H A Dcpu.c469 const char *bitmask; in cpu_6xx_setup() local
542 bitmask = HID0_7450_BITMASK; in cpu_6xx_setup()
545 bitmask = HID0_BITMASK; in cpu_6xx_setup()
549 printf("cpu%d: HID0 %b\n", cpuid, (int)hid0, bitmask); in cpu_6xx_setup()
610 const char *bitmask; in cpu_booke_setup() local
616 bitmask = HID0_E500MC_BITMASK; in cpu_booke_setup()
621 bitmask = HID0_E5500_BITMASK; in cpu_booke_setup()
634 bitmask = HID0_E500_BITMASK; in cpu_booke_setup()
637 printf("cpu%d: HID0 %b\n", cpuid, (int)hid0, bitmask); in cpu_booke_setup()
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dcharconv.cppm
H A Dfuture.inc16 // launch is a bitmask type.
17 // [bitmask.types] specified operators
H A Dfuture.cppm
H A Dregex.inc18 // regex_constants is a bitmask type.
19 // [bitmask.types] specified operators
H A Dregex.cppm
/freebsd/crypto/openssl/ssl/statem/
H A Dstatem_dtls.c22 #define RSMBLY_BITMASK_MARK(bitmask, start, end) \ argument
27 bitmask[((ii) >> 3)] |= (1 << ((ii) & 7)); \
30 bitmask[((start) >> 3)] |= bitmask_start_values[((start) & 7)]; \
32 bitmask[ii] = 0xff; \
33 bitmask[(((end) - 1) >> 3)] |= bitmask_end_values[((end) & 7)]; \
37 #define RSMBLY_BITMASK_IS_COMPLETE(bitmask, msg_len, is_complete) \ argument
41 if (bitmask[(((msg_len) - 1) >> 3)] != bitmask_end_values[((msg_len) & 7)]) \
45 if (bitmask[ii] != 0xff) { \
74 unsigned char *bitmask = NULL; in dtls1_hm_fragment_new() local
91 bitmask = OPENSSL_zalloc(RSMBLY_BITMASK_SIZE(frag_len)); in dtls1_hm_fragment_new()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/display/tegra/
H A Dnvidia,tegra114-mipi.txt10 - #nvidia,mipi-calibrate-cells: Should be 1. The cell is a bitmask of the pads
14 phandle to refer to the calibration controller node and a bitmask of the pads
/freebsd/sys/arm/freescale/imx/
H A Dimx6_ahci.c70 imx6_ahci_phy_ctrl(struct ahci_controller* sc, uint32_t bitmask, bool on) in imx6_ahci_phy_ctrl() argument
78 v |= bitmask; in imx6_ahci_phy_ctrl()
80 v &= ~bitmask; in imx6_ahci_phy_ctrl()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
H A DNSString.cpp353 uint8_t bitmask = 0; in NSTaggedString_SummaryProvider() local
357 bitmask = 0x03f; in NSTaggedString_SummaryProvider()
360 bitmask = 0x01f; in NSTaggedString_SummaryProvider()
367 uint8_t packed = data_bits & bitmask; in NSTaggedString_SummaryProvider()
/freebsd/contrib/llvm-project/libc/src/__support/HashTable/generic/
H A Dbitmask_impl.inc60 // Find out the lanes equal to the given byte and return the bitmask
88 // To make the bitmask iteratable, only one bit can be set in each stride.
112 // return the bitmask with corresponding bits set.
/freebsd/sbin/pfctl/tests/files/
H A Dpf1045.in1 nat on vtnet0 proto tcp from 192.0.2.1 to 192.0.2.2 -> 203.0.113.0/24 bitmask
H A Dpf1046.in1 nat on vtnet0 proto tcp from 192.0.2.1 to 192.0.2.2 -> <targets> bitmask
H A Dpf1047.in1 nat on vtnet0 proto tcp from 192.0.2.1 to 192.0.2.2 -> (vtnet1) bitmask
H A Dpf1045.ok1 nat on vtnet0 inet proto tcp from 192.0.2.1 to 192.0.2.2 -> 203.0.113.0/24 bitmask
/freebsd/sys/contrib/device-tree/Bindings/clock/
H A Dkeystone-pll.txt46 - bit-mask : arbitrary bitmask for programming the mux
68 - bit-mask : arbitrary bitmask for programming the divider

12345