/openbmc/linux/tools/testing/selftests/ |
H A D | kselftest_harness.h | 455 #define ASSERT_EQ(expected, seen) \ argument 456 __EXPECT(expected, #expected, seen, #seen, ==, 1) 466 #define ASSERT_NE(expected, seen) \ argument 467 __EXPECT(expected, #expected, seen, #seen, !=, 1) 477 #define ASSERT_LT(expected, seen) \ argument 478 __EXPECT(expected, #expected, seen, #seen, <, 1) 488 #define ASSERT_LE(expected, seen) \ argument 489 __EXPECT(expected, #expected, seen, #seen, <=, 1) 499 #define ASSERT_GT(expected, seen) \ argument 500 __EXPECT(expected, #expected, seen, #seen, >, 1) [all …]
|
/openbmc/libmctp/tests/ |
H A D | test_core.c | 45 bool seen; member 58 param->seen = true; in rx_message() 145 test_param.seen = false; in mctp_core_test_simple_rx() 157 assert(test_param.seen); in mctp_core_test_simple_rx() 175 test_param.seen = false; in mctp_core_test_receive_equal_length_fragments() 198 assert(test_param.seen); in mctp_core_test_receive_equal_length_fragments() 216 test_param.seen = false; in mctp_core_test_receive_unexpected_smaller_middle_fragment() 239 assert(!test_param.seen); in mctp_core_test_receive_unexpected_smaller_middle_fragment() 256 test_param.seen = false; in mctp_core_test_receive_unexpected_bigger_middle_fragment() 279 assert(!test_param.seen); in mctp_core_test_receive_unexpected_bigger_middle_fragment() [all …]
|
H A D | test_serial.c | 46 static bool seen; variable 63 seen = true; in rx_message() 144 seen = false; in main() 148 assert(seen); in main()
|
/openbmc/linux/net/netfilter/ |
H A D | nf_conntrack_proto_tcp.c | 516 struct ip_ct_tcp_state *sender = &state->seen[dir]; in tcp_in_window() 517 struct ip_ct_tcp_state *receiver = &state->seen[!dir]; in tcp_in_window() 858 ct->proto.tcp.seen[0].td_end = in tcp_new() 861 ct->proto.tcp.seen[0].td_maxwin = ntohs(th->window); in tcp_new() 862 if (ct->proto.tcp.seen[0].td_maxwin == 0) in tcp_new() 863 ct->proto.tcp.seen[0].td_maxwin = 1; in tcp_new() 864 ct->proto.tcp.seen[0].td_maxend = in tcp_new() 865 ct->proto.tcp.seen[0].td_end; in tcp_new() 867 tcp_options(skb, dataoff, th, &ct->proto.tcp.seen[0]); in tcp_new() 878 ct->proto.tcp.seen[0].td_end = in tcp_new() [all …]
|
/openbmc/qemu/scripts/ |
H A D | cleanup-trace-events.pl | 20 my %seen = (); 27 %seen = (); 46 next if $seen{$fname} || $fname eq 'trace-events'; 47 $seen{$fname} = 1;
|
/openbmc/linux/tools/perf/util/ |
H A D | demangle-rust.c | 103 bool seen[16]; in is_prefixed_hash() local 111 memset(seen, false, sizeof(seen)); in is_prefixed_hash() 114 seen[*str - '0'] = true; in is_prefixed_hash() 116 seen[*str - 'a' + 10] = true; in is_prefixed_hash() 123 if (seen[i]) in is_prefixed_hash()
|
/openbmc/linux/drivers/of/ |
H A D | device.c | 252 int seen = 0; in of_device_uevent() local 267 add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); in of_device_uevent() 268 seen++; in of_device_uevent() 270 add_uevent_var(env, "OF_COMPATIBLE_N=%d", seen); in of_device_uevent() 272 seen = 0; in of_device_uevent() 276 add_uevent_var(env, "OF_ALIAS_%d=%s", seen, in of_device_uevent() 278 seen++; in of_device_uevent()
|
/openbmc/openbmc/poky/bitbake/lib/bb/ |
H A D | data.py | 217 seen = set() 220 seen |= deps 227 newdeps -= seen 250 seen = set() 253 seen |= deps 262 newdeps -= seen 394 seen = set() 397 seen |= nextdeps 403 newdeps -= seen 421 seen = set() [all …]
|
/openbmc/linux/drivers/dma-buf/ |
H A D | st-dma-fence.c | 152 bool seen; member 157 smp_store_mb(container_of(cb, struct simple_cb, cb)->seen, true); in simple_callback() 176 if (!cb.seen) { in test_add_callback() 207 if (cb.seen) { in test_late_add_callback() 239 if (cb.seen) { in test_rm_callback() 266 if (!cb.seen) { in test_late_rm_callback() 489 smp_store_mb(cb.seen, false); in thread_signal_callback() 493 cb.seen = true; in thread_signal_callback() 499 if (!cb.seen) { in thread_signal_callback() 504 if (!READ_ONCE(cb.seen)) { in thread_signal_callback()
|
/openbmc/openbmc/poky/meta/lib/oeqa/core/decorator/ |
H A D | depends.py | 44 def _dep_resolve(graph, node, resolved, seen): argument 45 seen.append(node) 48 if edge in seen: 51 _dep_resolve(graph, edge, resolved, seen)
|
/openbmc/phosphor-ipmi-blobs/ |
H A D | utils.cpp | 45 std::unordered_set<HandlerFactory> seen; in loadLibraries() local 77 if (seen.count(factory) > 0) in loadLibraries() 81 seen.emplace(factory); in loadLibraries()
|
/openbmc/qemu/scripts/qapi/ |
H A D | schema.py | 144 seen: Dict[str, QAPISchemaMember] = {} 146 f.check_clash(self.info, seen) 433 seen: Dict[str, QAPISchemaMember] = {} 435 m.check_clash(self.info, seen) 559 seen = OrderedDict() 570 self.base.check_clash(self.info, seen) 573 m.check_clash(self.info, seen) 578 members = cast(List[QAPISchemaObjectTypeMember], list(seen.values())) 581 self.branches.check(schema, seen) 582 self.branches.check_clash(self.info, seen) [all …]
|
/openbmc/linux/arch/s390/net/ |
H A D | bpf_jit_comp.c | 37 u32 seen; /* Flags to remember seen eBPF instructions */ member 305 jit->seen |= SEEN_LITERAL; \ 321 jit->seen |= SEEN_LITERAL; \ 425 if (jit->seen & SEEN_STACK) in restore_regs() 576 if (is_first_pass(jit) || (jit->seen & SEEN_LITERAL)) { in bpf_jit_prologue() 589 if (is_first_pass(jit) || (jit->seen & SEEN_STACK)) { in bpf_jit_prologue() 590 if (is_first_pass(jit) || (jit->seen & SEEN_FUNC)) in bpf_jit_prologue() 597 if (is_first_pass(jit) || (jit->seen & SEEN_FUNC)) in bpf_jit_prologue() 659 if (is_first_pass(jit) || (jit->seen & SEEN_FUNC)) in bpf_jit_epilogue() 972 jit->seen |= SEEN_LITERAL; in bpf_jit_insn() [all …]
|
/openbmc/linux/drivers/zorro/ |
H A D | names.c | 22 unsigned short seen; member 93 int nr = prod_p->seen + 1; in zorro_name_device() 94 prod_p->seen = nr; in zorro_name_device()
|
/openbmc/linux/net/bridge/ |
H A D | br_mst.c | 238 DECLARE_BITMAP(seen, VLAN_N_VID) = { 0 }; in br_mst_info_size() 246 if (test_bit(v->brvlan->msti, seen)) in br_mst_info_size() 256 __set_bit(v->brvlan->msti, seen); in br_mst_info_size() 265 DECLARE_BITMAP(seen, VLAN_N_VID) = { 0 }; in br_mst_fill_info() 271 if (test_bit(v->brvlan->msti, seen)) in br_mst_fill_info() 283 __set_bit(v->brvlan->msti, seen); in br_mst_fill_info()
|
/openbmc/linux/sound/aoa/soundbus/ |
H A D | core.c | 64 int cplen, seen = 0; in soundbus_uevent() local 91 retval = add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); in soundbus_uevent() 96 seen += 1; in soundbus_uevent() 99 retval = add_uevent_var(env, "OF_COMPATIBLE_N=%d", seen); in soundbus_uevent()
|
/openbmc/qemu/scripts/qemugdb/ |
H A D | mtree.py | 37 self.seen = set() 47 if int(ptr) in self.seen: 51 self.seen.add(int(ptr))
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/oelib/ |
H A D | license.py | 12 self.seen = [] 16 self.seen.append(node.s) 33 return visitor.seen
|
/openbmc/linux/arch/sparc/net/ |
H A D | bpf_jit_comp_32.c | 139 seen |= SEEN_XREG; \ 329 u32 temp[8], *prog, *func, seen = 0, pass; in bpf_jit_compile() local 352 u8 seen_or_pass0 = (pass == 0) ? (SEEN_XREG | SEEN_DATAREF | SEEN_MEM) : seen; in bpf_jit_compile() 513 seen |= SEEN_XREG; in bpf_jit_compile() 517 seen |= SEEN_XREG; in bpf_jit_compile() 577 seen |= SEEN_MEM; in bpf_jit_compile() 581 seen |= SEEN_MEM | SEEN_XREG; in bpf_jit_compile() 585 seen |= SEEN_MEM; in bpf_jit_compile() 589 seen |= SEEN_MEM | SEEN_XREG; in bpf_jit_compile() 598 common_load: seen |= SEEN_DATAREF; in bpf_jit_compile() [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-pci-devices-aer_stats | 5 statistical counters indicate the errors "as seen/reported by the device". 8 errors may be "seen" / reported by the link partner and not the 16 Description: List of correctable errors seen and reported by this 37 Description: List of uncorrectable fatal errors seen and reported by this 67 Description: List of uncorrectable nonfatal errors seen and reported by this 99 (internally) the ERR_* messages for errors seen by the internal rootport PCI
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | fuse-allow-other.out | 54 Permissions seen by nobody: 444 56 Permissions seen by nobody: 440 81 Permissions seen by nobody: 444 83 Permissions seen by nobody: 440
|
/openbmc/linux/arch/powerpc/net/ |
H A D | bpf_jit.h | 134 unsigned int seen; member 158 return ctx->seen & (1 << (31 - i)); in bpf_is_seen_register() 163 ctx->seen |= 1 << (31 - i); in bpf_set_seen_register() 168 ctx->seen &= ~(1 << (31 - i)); in bpf_clear_seen_register()
|
/openbmc/linux/crypto/asymmetric_keys/ |
H A D | pkcs7_trust.c | 39 if (x509->seen) { in pkcs7_validate_trust_one() 45 x509->seen = true; in pkcs7_validate_trust_one() 167 p->seen = false; in pkcs7_validate_trust()
|
/openbmc/linux/tools/testing/selftests/lkdtm/ |
H A D | stack-entropy.sh | 39 seen=$(tac "$log" | grep -m1 -B"$samples"0 'Starting stack offset' | \ 41 bits=$(echo "obase=2; $seen" | bc | wc -L)
|
/openbmc/openbmc/poky/meta/lib/oe/package_manager/deb/ |
H A D | rootfs.py | 80 def _dep_resolve(graph, node, resolved, seen): argument 81 seen.append(node) 85 if edge in seen: 89 _dep_resolve(graph, edge, resolved, seen)
|