Searched refs:bitmask (Results 1 - 25 of 87) sorted by relevance

1234

/external/fio/arch/
H A Darch-ia64.h32 static inline unsigned long arch_ffz(unsigned long bitmask) argument
34 return ia64_popcnt(bitmask & (~bitmask - 1));
H A Darch-x86.h38 static inline unsigned long arch_ffz(unsigned long bitmask) argument
40 __asm__("bsfl %1,%0" :"=r" (bitmask) :"r" (~bitmask));
41 return bitmask;
H A Darch-ppc.h36 static inline int __ilog2(unsigned long bitmask) argument
40 asm ("cntlzw %0,%1" : "=r" (lz) : "r" (bitmask));
44 static inline int arch_ffz(unsigned long bitmask) argument
46 if ((bitmask = ~bitmask) == 0)
48 return __ilog2(bitmask & -bitmask);
H A Darch-x86_64.h45 static inline unsigned long arch_ffz(unsigned long bitmask) argument
47 __asm__("bsf %1,%0" :"=r" (bitmask) :"r" (~bitmask));
48 return bitmask;
H A Darch.h62 #define ffz(bitmask) arch_ffz(bitmask)
/external/chromium_org/third_party/libsrtp/srtp/crypto/replay/
H A Drdb.c54 * bitmask a bit-buffer, containing the most recently entered
63 v128_set_to_zero(&rdb->bitmask);
83 /* otherwise, the index appears within the window, so check the bitmask */
84 if (v128_get_bit(&rdb->bitmask, (p_index - rdb->window_start)) == 1)
110 v128_set_bit(&rdb->bitmask, delta);
117 v128_left_shift(&rdb->bitmask, delta);
118 v128_set_bit(&rdb->bitmask, rdb_bits_in_bitmask-1);
H A Drdbx.c82 * A rdbx_t consists of a xtd_seq_num_t and a bitmask. The index is highest
83 * sequence number that has been received, and the bitmask indicates
85 * highest bit in the bitmask corresponds to the index in the bitmask.
190 if (bitvector_alloc(&rdbx->bitmask, ws) != 0)
204 bitvector_dealloc(&rdbx->bitmask);
219 bitvector_set_to_zero(&rdbx->bitmask);
255 return bitvector_get_length(&rdbx->bitmask);
268 } else if ((int)(bitvector_get_length(&rdbx->bitmask) - 1) + delta < 0) {
269 /* if delta is lower than the bitmask, i
[all...]
/external/srtp/crypto/replay/
H A Drdb.c54 * bitmask a bit-buffer, containing the most recently entered
63 v128_set_to_zero(&rdb->bitmask);
83 /* otherwise, the index appears within the window, so check the bitmask */
84 if (v128_get_bit(&rdb->bitmask, (index - rdb->window_start)) == 1)
110 v128_set_bit(&rdb->bitmask, delta);
117 v128_left_shift(&rdb->bitmask, delta);
118 v128_set_bit(&rdb->bitmask, rdb_bits_in_bitmask - 1);
H A Drdbx.c82 * A rdbx_t consists of a xtd_seq_num_t and a bitmask. The index is highest
83 * sequence number that has been received, and the bitmask indicates
85 * highest bit in the bitmask corresponds to the index in the bitmask.
199 if (bitvector_alloc(&rdbx->bitmask, ws) != 0)
213 bitvector_dealloc(&rdbx->bitmask);
228 bitvector_set_to_zero(&rdbx->bitmask);
264 return bitvector_get_length(&rdbx->bitmask);
277 } else if ((int)(bitvector_get_length(&rdbx->bitmask) - 1) + delta < 0) {
278 /* if delta is lower than the bitmask, i
[all...]
/external/kernel-headers/original/uapi/linux/netfilter_bridge/
H A Debt_mark_m.h12 __u8 bitmask; member in struct:ebt_mark_m_info
H A Debt_log.h17 __u32 bitmask; member in struct:ebt_log_info
H A Debt_vlan.h16 __u8 bitmask; /* Args bitmask bit 1=1 - ID arg, member in struct:ebt_vlan_info
18 __u8 invflags; /* Inverse bitmask bit 1=1 - inversed ID arg,
/external/fio/lib/
H A Dffz.h38 static inline int ffz(unsigned long bitmask) argument
40 return __ffs(~bitmask);
/external/iptables/extensions/
H A Dlibxt_physdev.c51 info->bitmask |= XT_PHYSDEV_OP_IN;
58 info->bitmask |= XT_PHYSDEV_OP_OUT;
61 info->bitmask |= XT_PHYSDEV_OP_ISIN;
66 info->bitmask |= XT_PHYSDEV_OP_ISOUT;
73 info->bitmask |= XT_PHYSDEV_OP_BRIDGED;
90 if (info->bitmask & XT_PHYSDEV_OP_ISIN)
93 if (info->bitmask & XT_PHYSDEV_OP_IN)
97 if (info->bitmask & XT_PHYSDEV_OP_ISOUT)
100 if (info->bitmask & XT_PHYSDEV_OP_OUT)
103 if (info->bitmask
[all...]
H A Dlibxt_ipvs.c81 data->bitmask |= XT_IPVS_DIR;
84 data->bitmask |= XT_IPVS_DIR;
103 data->bitmask |= 1 << cb->entry->id;
115 if (info->bitmask & XT_IPVS_ONCE_MASK) {
120 info->bitmask |= XT_IPVS_IPVS_PROPERTY;
160 if (data->bitmask == XT_IPVS_IPVS_PROPERTY) {
166 if (data->bitmask & XT_IPVS_PROTO) {
172 if (data->bitmask & XT_IPVS_VADDR) {
180 if (data->bitmask & XT_IPVS_VPORT) {
187 if (data->bitmask
[all...]
/external/iptables/include/linux/netfilter/
H A Dxt_ipvs.h26 __u8 bitmask; member in struct:xt_ipvs_mtinfo
H A Dxt_physdev.h20 __u8 bitmask; member in struct:xt_physdev_info
/external/kernel-headers/original/uapi/linux/netfilter/
H A Dxt_ipvs.h26 __u8 bitmask; member in struct:xt_ipvs_mtinfo
H A Dxt_physdev.h20 __u8 bitmask; member in struct:xt_physdev_info
/external/libnfc-nci/halimpl/bcm2079x/include/
H A DStartupConfig.h81 ** bitmask: 0xC0 = do not detect any secure element.
88 bool disableSecureElement (UINT8 bitmask);
/external/chromium_org/chrome/browser/sync/
H A Dprofile_sync_service_android_unittest.cc25 int NumberOfSetBits(jlong bitmask) { argument
27 while (bitmask > 0) {
28 num += (bitmask & 1);
29 bitmask >>= 1;
86 // The number of set bits in the model type bitmask should be equal to the
/external/chromium_org/third_party/libsrtp/srtp/crypto/include/
H A Drdb.h59 uint32_t window_start; /* packet index of the first bit in bitmask */
60 v128_t bitmask; member in struct:__anon12827
/external/oprofile/events/x86-64/family11h/
H A Dunit_masks24 name:moesi type:bitmask default:0x1f
31 name:moess type:bitmask default:0x1e
38 name:fpu_ops type:bitmask default:0x3f
45 name:segregload type:bitmask default:0x7f
53 name:ecc type:bitmask default:0x03
56 name:prefetch type:bitmask default:0x07
60 name:fpu_instr type:bitmask default:0x0f
65 name:fpu_fastpath type:bitmask default:0x07
69 name:fpu_exceptions type:bitmask default:0x0f
74 name:dramaccess type:bitmask defaul
[all...]
/external/srtp/crypto/include/
H A Drdb.h24 uint32_t window_start; /* packet index of the first bit in bitmask */
25 v128_t bitmask; member in struct:__anon31207
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A DStartupConfig.cpp117 ** bitmask: 0xC0 = do not detect any secure element.
124 bool StartupConfig::disableSecureElement (UINT8 bitmask) argument
141 mBuffer [index] = mBuffer [index] | bitmask; //turn on certain bits
151 tlv [4] = tlv [4] | bitmask;

Completed in 898 milliseconds

1234