Home
last modified time | relevance | path

Searched refs:seen (Results 1 – 25 of 219) sorted by relevance

123456789

/linux/tools/testing/selftests/
H A Dkselftest_harness.h521 #define ASSERT_EQ(expected, seen) \ argument
522 __EXPECT(expected, #expected, seen, #seen, ==, 1)
532 #define ASSERT_NE(expected, seen) \ argument
533 __EXPECT(expected, #expected, seen, #seen, !=, 1)
543 #define ASSERT_LT(expected, seen) \ argument
544 __EXPECT(expected, #expected, seen, #seen, <, 1)
554 #define ASSERT_LE(expected, seen) \ argument
555 __EXPECT(expected, #expected, seen, #seen, <=, 1)
565 #define ASSERT_GT(expected, seen) \ argument
566 __EXPECT(expected, #expected, seen, #seen, >, 1)
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Diters_task_vma.c22 unsigned int seen = 0; in iter_task_vma_for_each() local
31 if (bpf_cmp_unlikely(seen, >=, 1000)) in iter_task_vma_for_each()
34 vm_ranges[seen].vm_start = vma->vm_start; in iter_task_vma_for_each()
35 vm_ranges[seen].vm_end = vma->vm_end; in iter_task_vma_for_each()
36 seen++; in iter_task_vma_for_each()
39 vmas_seen = seen; in iter_task_vma_for_each()
/linux/tools/testing/selftests/net/
H A Drtnetlink.py233 seen = {}
240 seen[key] = attrs
241 if len(seen) == len(want):
243 return seen
305 seen = {}
312 seen.update(_collect_route_ntfs(rtnl, 'newroute-ntf',
313 want - set(seen.keys()), deadline=2))
314 if len(seen) == len(want):
316 return seen
347 seen
[all...]
/linux/net/netfilter/
H A Dnf_conntrack_proto_tcp.c560 struct ip_ct_tcp_state *sender = &state->seen[dir]; in tcp_in_window()
561 struct ip_ct_tcp_state *receiver = &state->seen[!dir]; in tcp_in_window()
897 ct->proto.tcp.seen[0].td_end = in tcp_new()
900 ct->proto.tcp.seen[0].td_maxwin = ntohs(th->window); in tcp_new()
901 if (ct->proto.tcp.seen[0].td_maxwin == 0) in tcp_new()
902 ct->proto.tcp.seen[0].td_maxwin = 1; in tcp_new()
903 ct->proto.tcp.seen[0].td_maxend = in tcp_new()
904 ct->proto.tcp.seen[0].td_end; in tcp_new()
906 tcp_options(skb, dataoff, th, &ct->proto.tcp.seen[0]); in tcp_new()
917 ct->proto.tcp.seen[0].td_end = in tcp_new()
[all …]
/linux/tools/testing/selftests/filesystems/
H A Dfclog.c16 #define ASSERT_ERRNO(expected, _t, seen) \ argument
18 ({__typeof__(seen) _tmp_seen = (seen); \
19 _tmp_seen >= 0 ? _tmp_seen : -errno; }), #seen, _t, 1)
21 #define ASSERT_ERRNO_EQ(expected, seen) \ argument
22 ASSERT_ERRNO(expected, ==, seen)
24 #define ASSERT_SUCCESS(seen) \ argument
25 ASSERT_ERRNO(0, <=, seen)
/linux/tools/testing/selftests/proc/
H A Dproc-pidns.c22 #define ASSERT_ERRNO(expected, _t, seen) \
24 ({__typeof__(seen) _tmp_seen = (seen); \
25 _tmp_seen >= 0 ? _tmp_seen : -errno; }), #seen, _t, 1)
27 #define ASSERT_ERRNO_EQ(expected, seen) \
28 ASSERT_ERRNO(expected, ==, seen)
30 #define ASSERT_SUCCESS(seen) \
31 ASSERT_ERRNO(0, <=, seen)
21 ASSERT_ERRNO(expected,_t,seen) global() argument
26 ASSERT_ERRNO_EQ(expected,seen) global() argument
29 ASSERT_SUCCESS(seen) global() argument
/linux/drivers/dma-buf/
H A Dst-dma-fence.c91 bool seen; member
96 smp_store_mb(container_of(cb, struct simple_cb, cb)->seen, true); in simple_callback()
113 if (!cb.seen) { in test_add_callback()
140 if (cb.seen) { in test_late_add_callback()
168 if (cb.seen) { in test_rm_callback()
191 if (!cb.seen) { in test_late_rm_callback()
396 smp_store_mb(cb.seen, false); in thread_signal_callback()
400 cb.seen = true; in thread_signal_callback()
406 if (!cb.seen) { in thread_signal_callback()
411 if (!READ_ONCE(cb.seen)) { in thread_signal_callback()
/linux/drivers/of/
H A Ddevice.c219 int seen = 0; in of_device_uevent() local
234 add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); in of_device_uevent()
235 seen++; in of_device_uevent()
237 add_uevent_var(env, "OF_COMPATIBLE_N=%d", seen); in of_device_uevent()
239 seen = 0; in of_device_uevent()
243 add_uevent_var(env, "OF_ALIAS_%d=%s", seen, in of_device_uevent()
245 seen++; in of_device_uevent()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dkmem_cache_iter.c38 int seen = 0; in subtest_kmem_cache_iter_check_slabinfo() local
55 int ret = bpf_map_lookup_elem(map_fd, &seen, &r); in subtest_kmem_cache_iter_check_slabinfo()
64 seen++; in subtest_kmem_cache_iter_check_slabinfo()
67 ASSERT_EQ(skel->bss->kmem_cache_seen, seen, "kmem_cache_seen_eq"); in subtest_kmem_cache_iter_check_slabinfo()
H A Diters.c111 unsigned int seen; in subtest_task_vma_iters() local
135 seen = 0; in subtest_task_vma_iters()
144 bpf_iter_start = skel->bss->vm_ranges[seen].vm_start; in subtest_task_vma_iters()
145 bpf_iter_end = skel->bss->vm_ranges[seen].vm_end; in subtest_task_vma_iters()
149 seen++; in subtest_task_vma_iters()
152 if (!ASSERT_EQ(skel->bss->vmas_seen, seen, "vmas_seen_eq")) in subtest_task_vma_iters()
/linux/net/bridge/
H A Dbr_mst.c243 DECLARE_BITMAP(seen, VLAN_N_VID) = { 0 }; in br_mst_set_enabled()
253 if (test_bit(msti, seen)) in br_mst_info_size()
263 __set_bit(msti, seen); in br_mst_info_size()
272 DECLARE_BITMAP(seen, VLAN_N_VID) = { 0 }; in br_mst_fill_info()
278 if (test_bit(v->brvlan->msti, seen)) in br_mst_fill_info()
291 __set_bit(v->brvlan->msti, seen); in br_mst_fill_info()
/linux/drivers/zorro/
H A Dnames.c22 unsigned short seen; member
93 int nr = prod_p->seen + 1; in zorro_name_device()
94 prod_p->seen = nr; in zorro_name_device()
/linux/arch/sparc/net/
H A Dbpf_jit_comp_32.c139 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 | in bpf_jit_compile()
[all...]
/linux/sound/aoa/soundbus/
H A Dcore.c66 int cplen, seen = 0; in soundbus_uevent() local
93 retval = add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); in soundbus_uevent()
98 seen += 1; in soundbus_uevent()
101 retval = add_uevent_var(env, "OF_COMPATIBLE_N=%d", seen); in soundbus_uevent()
/linux/tools/testing/selftests/x86/
H A Dint_signal.c101 static volatile sig_atomic_t seen, signo, trap, error, ip_offset, flags; variable
111 if (seen && single_step && sig == SIGTRAP) { in handler()
124 if (seen || ip < start || ip > end) { in handler()
138 seen = 1; in handler()
283 seen = signo = trap = error = ip_offset = flags = 0; in main()
291 ok = seen && signo == active->signo && trap == active->trap && in main()
/linux/tools/testing/selftests/kselftest_harness/
H A Dharness-selftest.sh11 "$DIR"/harness-selftest > harness-selftest.seen || true
13 diff -u "$DIR"/harness-selftest.expected harness-selftest.seen
/linux/arch/powerpc/net/
H A Dbpf_jit.h177 unsigned int seen;
212 return ctx->seen & (1 << (31 - i));
217 ctx->seen |= 1 << (31 - i);
222 ctx->seen &= ~(1 << (31 - i));
170 unsigned int seen; global() member
/linux/crypto/asymmetric_keys/
H A Dpkcs7_trust.c39 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()
/linux/tools/testing/selftests/lkdtm/
H A Dstack-entropy.sh39 seen=$(tac "$log" | grep -m1 -B"$samples"0 'Starting stack offset' | \
41 bits=$(echo "obase=2; $seen" | bc | wc -L)
/linux/fs/xfs/scrub/
H A Drefcount.c58 * a. If a given rmap completely overlaps, mark it as seen.
62 * Once we've seen all the rmaps, we know that for all blocks in the
64 * visited $seen extents that overlap all the blocks. Therefore, we
65 * need to find ($refcount - $seen) owners for every block in the
130 * one refcount owner seen. in xchk_refcountbt_rmap_check()
132 refchk->seen++; in xchk_refcountbt_rmap_check()
170 target_nr = refchk->refcount - refchk->seen; in xchk_refcountbt_process_rmap_fragments()
173 refchk->seen = 0; in xchk_refcountbt_process_rmap_fragments()
266 /* Actually record us having seen the remaining refcount. */ in xchk_refcountbt_process_rmap_fragments()
267 refchk->seen in xchk_refcountbt_process_rmap_fragments()
98 xfs_nlink_t seen; global() member
[all...]
H A Drtrefcount.c74 .seen = 0,
98 if (irec->rc_refcount != refchk.seen)
113 xfs_nlink_t seen; global() member
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-pci-devices-aer5 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
/linux/arch/s390/net/
H A Dbpf_jit_comp.c38 u32 seen; /* Flags to remember seen eBPF instructions */ member
331 jit->seen |= SEEN_LITERAL; \
347 jit->seen |= SEEN_LITERAL; \
487 * Return first seen register (from start)
501 * Return last seen register (from start) (gap >= 2)
652 if (is_first_pass(jit) || (jit->seen & SEEN_LITERAL)) { in bpf_jit_prologue()
665 if (is_first_pass(jit) || (jit->seen & SEEN_STACK)) { in bpf_jit_prologue()
1239 jit->seen |= SEEN_LITERAL; in bpf_jit_insn()
1249 jit->seen | in bpf_jit_insn()
[all...]
/linux/Documentation/hwmon/
H A Ddrivetemp.rst37 This has been observed with WD120EFAX drives, but may be seen with other
68 temp1_lowest Minimum temperature seen this power cycle
69 temp1_highest Maximum temperature seen this power cycle
/linux/scripts/
H A Dcheck-sysctl-docs57 seen[entry]++
171 if (!seen[entry])

123456789