Home
last modified time | relevance | path

Searched refs:test_bit (Results 1 – 25 of 46) sorted by relevance

12

/external/libnetfilter_conntrack/src/conntrack/
Dbuild_mnl.c123 if (!(test_bit(ATTR_TCP_STATE, ct->head.set) || in nfct_build_protoinfo()
124 test_bit(ATTR_TCP_FLAGS_ORIG, ct->head.set) || in nfct_build_protoinfo()
125 test_bit(ATTR_TCP_FLAGS_REPL, ct->head.set) || in nfct_build_protoinfo()
126 test_bit(ATTR_TCP_MASK_ORIG, ct->head.set) || in nfct_build_protoinfo()
127 test_bit(ATTR_TCP_MASK_REPL, ct->head.set) || in nfct_build_protoinfo()
128 test_bit(ATTR_TCP_WSCALE_ORIG, ct->head.set) || in nfct_build_protoinfo()
129 test_bit(ATTR_TCP_WSCALE_REPL, ct->head.set))) { in nfct_build_protoinfo()
134 if (test_bit(ATTR_TCP_STATE, ct->head.set)) { in nfct_build_protoinfo()
138 if (test_bit(ATTR_TCP_FLAGS_ORIG, ct->head.set) && in nfct_build_protoinfo()
139 test_bit(ATTR_TCP_MASK_ORIG, ct->head.set)) { in nfct_build_protoinfo()
[all …]
Dbuild.c116 if (!(test_bit(ATTR_TCP_STATE, ct->head.set) || in __build_protoinfo()
117 test_bit(ATTR_TCP_FLAGS_ORIG, ct->head.set) || in __build_protoinfo()
118 test_bit(ATTR_TCP_FLAGS_REPL, ct->head.set) || in __build_protoinfo()
119 test_bit(ATTR_TCP_MASK_ORIG, ct->head.set) || in __build_protoinfo()
120 test_bit(ATTR_TCP_MASK_REPL, ct->head.set) || in __build_protoinfo()
121 test_bit(ATTR_TCP_WSCALE_ORIG, ct->head.set) || in __build_protoinfo()
122 test_bit(ATTR_TCP_WSCALE_REPL, ct->head.set))) { in __build_protoinfo()
127 if (test_bit(ATTR_TCP_STATE, ct->head.set)) in __build_protoinfo()
132 if (test_bit(ATTR_TCP_FLAGS_ORIG, ct->head.set) && in __build_protoinfo()
133 test_bit(ATTR_TCP_MASK_ORIG, ct->head.set)) in __build_protoinfo()
[all …]
Dsnprintf_xml.c338 if (test_bit(ATTR_ORIG_COUNTER_PACKETS, ct->head.set) && in __snprintf_tuple_xml()
339 test_bit(ATTR_ORIG_COUNTER_BYTES, ct->head.set)) { in __snprintf_tuple_xml()
407 test_bit(ATTR_ORIG_ZONE, ct->head.set)); in __snprintf_conntrack_xml()
411 test_bit(ATTR_REPL_ZONE, ct->head.set)); in __snprintf_conntrack_xml()
414 if (test_bit(ATTR_TCP_STATE, ct->head.set) || in __snprintf_conntrack_xml()
415 test_bit(ATTR_SCTP_STATE, ct->head.set) || in __snprintf_conntrack_xml()
416 test_bit(ATTR_DCCP_STATE, ct->head.set) || in __snprintf_conntrack_xml()
417 test_bit(ATTR_TIMEOUT, ct->head.set) || in __snprintf_conntrack_xml()
418 test_bit(ATTR_MARK, ct->head.set) || in __snprintf_conntrack_xml()
419 test_bit(ATTR_SECMARK, ct->head.set) || in __snprintf_conntrack_xml()
[all …]
Dsnprintf_default.c379 if (test_bit(ATTR_TIMEOUT, ct->head.set)) { in __snprintf_conntrack_default()
384 if (test_bit(ATTR_TCP_STATE, ct->head.set)) { in __snprintf_conntrack_default()
389 if (test_bit(ATTR_SCTP_STATE, ct->head.set)) { in __snprintf_conntrack_default()
394 if (test_bit(ATTR_DCCP_STATE, ct->head.set)) { in __snprintf_conntrack_default()
406 if (test_bit(ATTR_ORIG_ZONE, ct->head.set)) { in __snprintf_conntrack_default()
411 if (test_bit(ATTR_ORIG_COUNTER_PACKETS, ct->head.set) && in __snprintf_conntrack_default()
412 test_bit(ATTR_ORIG_COUNTER_BYTES, ct->head.set)) { in __snprintf_conntrack_default()
417 if (test_bit(ATTR_STATUS, ct->head.set)) { in __snprintf_conntrack_default()
429 if (test_bit(ATTR_REPL_ZONE, ct->head.set)) { in __snprintf_conntrack_default()
434 if (test_bit(ATTR_REPL_COUNTER_PACKETS, ct->head.set) && in __snprintf_conntrack_default()
[all …]
Dobjopt.c146 if (!(test_bit(ATTR_STATUS, ct->head.set))) in getobjopt_is_snat()
168 if (!(test_bit(ATTR_STATUS, ct->head.set))) in getobjopt_is_dnat()
190 return ((test_bit(ATTR_STATUS, ct->head.set) ? in getobjopt_is_spat()
198 return ((test_bit(ATTR_STATUS, ct->head.set) ? in getobjopt_is_dpat()
Dapi.c476 if (!test_bit(type, ct->head.set)) { in nfct_get_attr()
567 return test_bit(type, ct->head.set); in nfct_attr_is_set()
592 if (!test_bit(type_array[i], ct->head.set)) in nfct_attr_is_set_array()
1225 if (test_bit(i, ct2->head.set)) { in nfct_copy()
1251 if (test_bit(cp_orig_mask[i], ct2->head.set)) { in nfct_copy()
1273 if (test_bit(cp_repl_mask[i], ct2->head.set)) { in nfct_copy()
1283 if (test_bit(i, ct2->head.set)) { in nfct_copy()
1304 if (test_bit(type, ct2->head.set)) { in nfct_copy_attr()
1674 return bit < bits && test_bit(bit, b->bits); in nfct_bitmask_test_bit()
/external/libnetfilter_conntrack/src/expect/
Dbuild.c61 if (test_bit(ATTR_ORIG_L3PROTO, exp->master.set)) in __build_expect()
63 else if (test_bit(ATTR_ORIG_L3PROTO, exp->expected.set)) in __build_expect()
72 if (test_bit(ATTR_EXP_EXPECTED, exp->set)) { in __build_expect()
76 if (test_bit(ATTR_EXP_MASTER, exp->set)) { in __build_expect()
80 if (test_bit(ATTR_EXP_MASK, exp->set)) { in __build_expect()
84 if (test_bit(ATTR_EXP_NAT_TUPLE, exp->set) && in __build_expect()
85 test_bit(ATTR_EXP_NAT_DIR, exp->set)) { in __build_expect()
95 if (test_bit(ATTR_EXP_TIMEOUT, exp->set)) in __build_expect()
97 if (test_bit(ATTR_EXP_FLAGS, exp->set)) in __build_expect()
99 if (test_bit(ATTR_EXP_ZONE, exp->set)) in __build_expect()
[all …]
Dbuild_mnl.c18 if (test_bit(ATTR_EXP_EXPECTED, exp->set)) in nfexp_nlmsg_build()
21 if (test_bit(ATTR_EXP_MASTER, exp->set)) in nfexp_nlmsg_build()
24 if (test_bit(ATTR_EXP_MASK, exp->set)) in nfexp_nlmsg_build()
27 if (test_bit(ATTR_EXP_TIMEOUT, exp->set)) in nfexp_nlmsg_build()
30 if (test_bit(ATTR_EXP_FLAGS, exp->set)) in nfexp_nlmsg_build()
33 if (test_bit(ATTR_EXP_ZONE, exp->set)) in nfexp_nlmsg_build()
36 if (test_bit(ATTR_EXP_HELPER_NAME, exp->set)) in nfexp_nlmsg_build()
Dsnprintf_default.c16 if (test_bit(ATTR_EXP_TIMEOUT, exp->set)) in __snprintf_expect_timeout()
26 if (test_bit(ATTR_EXP_CLASS, exp->set)) in __snprintf_expect_class()
94 if (test_bit(ATTR_EXP_ZONE, exp->set)) { in __snprintf_expect_default()
121 if (test_bit(ATTR_EXP_HELPER_NAME, exp->set)) { in __snprintf_expect_default()
Dcompare.c21 int a = test_bit(attr, exp1->set); in exp_cmp()
22 int b = test_bit(attr, exp2->set); in exp_cmp()
29 test_bit(attr, exp1->set)) { in exp_cmp()
Dsnprintf_xml.c62 if (test_bit(ATTR_EXP_HELPER_NAME, exp->set)) { in snprintf_expect_meta_xml()
68 if (test_bit(ATTR_EXP_TIMEOUT, exp->set)) { in snprintf_expect_meta_xml()
73 if (test_bit(ATTR_EXP_CLASS, exp->set)) { in snprintf_expect_meta_xml()
78 if (test_bit(ATTR_EXP_ZONE, exp->set)) { in snprintf_expect_meta_xml()
/external/u-boot/drivers/mtd/ubispl/
Dubispl.c55 if (test_bit(pnum, ubi->corrupt)) in ubi_io_read_vid_hdr()
139 pnum, vol_id, lnum, !!test_bit(lnum, vi->found), in ubi_add_peb_to_vol()
140 !!test_bit(pnum, ubi->scanned)); in ubi_add_peb_to_vol()
156 if (!test_bit(cur_pnum, ubi->scanned)) { in ubi_add_peb_to_vol()
170 if (test_bit(cur_pnum, ubi->corrupt)) { in ubi_add_peb_to_vol()
218 if (!test_bit(vol_id, ubi->toload)) in ubi_scan_vid_hdr()
239 if (!test_bit(vol_id, ubi->toload)) in assign_aeb_to_av()
729 if (!test_bit(lnum, vi->found)) { in ubi_load_block()
743 if (test_bit(pnum, ubi->corrupt)) in ubi_load_block()
751 if (!test_bit(pnum, ubi->scanned)) { in ubi_load_block()
[all …]
/external/u-boot/arch/x86/include/asm/
Dbitops.h235 static int test_bit(int nr, const volatile void * addr);
254 #define test_bit(nr,addr) \ macro
397 #define ext2_test_bit test_bit
405 #define minix_test_bit(nr,addr) test_bit(nr,addr)
/external/u-boot/arch/riscv/include/asm/
Dbitops.h108 static inline int test_bit(int nr, const void *addr) in test_bit() function
163 #define ext2_test_bit test_bit
171 #define minix_test_bit(nr, addr) test_bit(nr, addr)
/external/u-boot/arch/sandbox/include/asm/
Dbitops.h113 static inline int test_bit(int nr, const void *addr) in test_bit() function
156 #define ext2_test_bit test_bit
164 #define minix_test_bit(nr, addr) test_bit(nr, addr)
/external/u-boot/arch/nds32/include/asm/
Dbitops.h126 static inline int test_bit(int nr, const void *addr) in test_bit() function
181 #define ext2_test_bit test_bit
189 #define minix_test_bit(nr, addr) test_bit(nr, addr)
/external/u-boot/arch/arm/include/asm/
Dbitops.h101 static inline int test_bit(int nr, const void * addr) in test_bit() function
180 #define ext2_test_bit test_bit
188 #define minix_test_bit(nr,addr) test_bit(nr,addr)
/external/u-boot/fs/ubifs/
Dmisc.h26 return !!test_bit(DIRTY_ZNODE, &znode->flags); in ubifs_zn_dirty()
37 return !!test_bit(OBSOLETE_ZNODE, &znode->flags); in ubifs_zn_obsolete()
49 return !!test_bit(COW_ZNODE, &znode->flags); in ubifs_zn_cow()
/external/autotest/client/site_tests/hardware_Keyboard/src/
Devtest.c307 #define test_bit(bit, array) ((array[LONG(bit)] >> OFF(bit)) & 1) macro
356 if (test_bit(keycode, bit[EV_KEY])) { in is_key_supported()
377 if (test_bit(EV_KEY, bit[0])) { in do_check_num_keys()
380 if (test_bit(j,bit[EV_KEY])) { in do_check_num_keys()
414 if (test_bit(i, bit[0])) { in do_evtest_dumpall()
420 if (test_bit(j, bit[i])) { in do_evtest_dumpall()
429 (int)test_bit(j, bit[i])); in do_evtest_dumpall()
/external/u-boot/drivers/gpio/
Dkw_gpio.c65 if ((mode & GPIO_INPUT_OK) && !test_bit(pin, gpio_valid_input)) in kw_gpio_is_valid()
68 if ((mode & GPIO_OUTPUT_OK) && !test_bit(pin, gpio_valid_output)) in kw_gpio_is_valid()
/external/u-boot/board/gateworks/gw_ventana/
Deeprom.c157 test_bit(cfg->bit, econfig_bytes) ? 1 : 0); in do_econfig()
199 test_bit(cfg->bit, econfig_bytes) ? 1 : 0); in do_econfig()
/external/u-boot/arch/xtensa/include/asm/
Dbitops.h16 static inline int test_bit(int nr, const void *addr) in test_bit() function
/external/u-boot/arch/mips/include/asm/
Dbitops.h570 static __inline__ int test_bit(int nr, const volatile void *addr) in test_bit() function
885 #define ext2_test_bit(nr, addr) test_bit((nr), (addr))
900 #define minix_test_bit(nr,addr) test_bit(nr,addr)
/external/u-boot/arch/m68k/include/asm/
Dbitops.h23 static inline int test_bit(int nr, __const__ volatile void *addr) in test_bit() function
/external/u-boot/arch/microblaze/include/asm/
Dbitops.h207 #define test_bit(nr,addr) \ macro
359 #define minix_test_bit(nr,addr) test_bit(nr,addr)

12