Home
last modified time | relevance | path

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

123456789

/linux/tools/testing/selftests/
H A Dkselftest_harness.h512 #define ASSERT_EQ(expected, seen) \ argument
513 __EXPECT(expected, #expected, seen, #seen, ==, 1)
523 #define ASSERT_NE(expected, seen) \ argument
524 __EXPECT(expected, #expected, seen, #seen, !=, 1)
534 #define ASSERT_LT(expected, seen) \ argument
535 __EXPECT(expected, #expected, seen, #seen, <, 1)
545 #define ASSERT_LE(expected, seen) \ argument
546 __EXPECT(expected, #expected, seen, #seen, <=, 1)
556 #define ASSERT_GT(expected, seen) \ argument
557 __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/net/netfilter/
H A Dnf_conntrack_proto_tcp.c516 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()
859 ct->proto.tcp.seen[0].td_end = in tcp_new()
862 ct->proto.tcp.seen[0].td_maxwin = ntohs(th->window); in tcp_new()
863 if (ct->proto.tcp.seen[0].td_maxwin == 0) in tcp_new()
864 ct->proto.tcp.seen[0].td_maxwin = 1; in tcp_new()
865 ct->proto.tcp.seen[0].td_maxend = in tcp_new()
866 ct->proto.tcp.seen[0].td_end; in tcp_new()
868 tcp_options(skb, dataoff, th, &ct->proto.tcp.seen[0]); in tcp_new()
879 ct->proto.tcp.seen[0].td_end = in tcp_new()
[all …]
/linux/tools/testing/selftests/filesystems/
H A Dfclog.c18 #define ASSERT_ERRNO(expected, _t, seen) \ argument
20 ({__typeof__(seen) _tmp_seen = (seen); \
21 _tmp_seen >= 0 ? _tmp_seen : -errno; }), #seen, _t, 1)
23 #define ASSERT_ERRNO_EQ(expected, seen) \ argument
24 ASSERT_ERRNO(expected, ==, seen)
26 #define ASSERT_SUCCESS(seen) \ argument
27 ASSERT_ERRNO(0, <=, seen)
/linux/tools/testing/selftests/proc/
H A Dproc-pidns.c21 #define ASSERT_ERRNO(expected, _t, seen) \ argument
23 ({__typeof__(seen) _tmp_seen = (seen); \
24 _tmp_seen >= 0 ? _tmp_seen : -errno; }), #seen, _t, 1)
26 #define ASSERT_ERRNO_EQ(expected, seen) \ argument
27 ASSERT_ERRNO(expected, ==, seen)
29 #define ASSERT_SUCCESS(seen) \ argument
30 ASSERT_ERRNO(0, <=, seen)
/linux/drivers/of/
H A Ddevice.c220 int seen = 0; in of_device_uevent() local
235 add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); in of_device_uevent()
236 seen++; in of_device_uevent()
238 add_uevent_var(env, "OF_COMPATIBLE_N=%d", seen); in of_device_uevent()
240 seen = 0; in of_device_uevent()
244 add_uevent_var(env, "OF_ALIAS_%d=%s", seen, in of_device_uevent()
246 seen++; in of_device_uevent()
/linux/drivers/dma-buf/
H A Dst-dma-fence.c152 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()
/linux/tools/testing/selftests/bpf/prog_tests/
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.c244 DECLARE_BITMAP(seen, VLAN_N_VID) = { 0 }; in br_mst_info_size()
252 if (test_bit(v->brvlan->msti, seen)) in br_mst_info_size()
262 __set_bit(v->brvlan->msti, seen); in br_mst_info_size()
271 DECLARE_BITMAP(seen, VLAN_N_VID) = { 0 }; in br_mst_fill_info()
277 if (test_bit(v->brvlan->msti, seen)) in br_mst_fill_info()
289 __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 |= SEEN_DATAREF; 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/kselftest_harness/
H A Dharness-selftest.sh11 "$DIR"/harness-selftest > harness-selftest.seen || true
13 diff -u "$DIR"/harness-selftest.expected harness-selftest.seen
H A D.gitignore2 /harness-selftest.seen
/linux/arch/powerpc/net/
H A Dbpf_jit.h161 unsigned int seen; member
181 return ctx->seen & (1 << (31 - i)); in bpf_is_seen_register()
186 ctx->seen |= 1 << (31 - i); in bpf_set_seen_register()
191 ctx->seen &= ~(1 << (31 - i)); in bpf_clear_seen_register()
H A Dbpf_jit_comp32.c92 return ctx->seen & (SEEN_FUNC | SEEN_TAILCALL | SEEN_NVREG_FULL_MASK) || in bpf_has_stack_frame()
100 if (ctx->seen & SEEN_FUNC) in bpf_jit_realloc_regs()
105 while (ctx->seen & nvreg_mask && in bpf_jit_realloc_regs()
106 (ctx->seen & SEEN_VREG_MASK) != SEEN_VREG_MASK) { in bpf_jit_realloc_regs()
107 int old = 32 - fls(ctx->seen & (nvreg_mask & 0xaaaaaaab)); in bpf_jit_realloc_regs()
108 int new = 32 - fls(~ctx->seen & (SEEN_VREG_MASK & 0xaaaaaaaa)); in bpf_jit_realloc_regs()
134 if (ctx->seen & SEEN_TAILCALL) in bpf_jit_build_prologue()
144 if (ctx->seen & SEEN_TAILCALL) in bpf_jit_build_prologue()
155 if (ctx->seen & SEEN_FUNC) in bpf_jit_build_prologue()
172 if (ctx->seen & SEEN_FUNC) in bpf_jit_build_prologue()
[all …]
/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/fs/xfs/scrub/
H A Drefcount.c98 xfs_nlink_t seen; member
137 refchk->seen++; in xchk_refcountbt_rmap_check()
176 target_nr = refchk->refcount - refchk->seen; in xchk_refcountbt_process_rmap_fragments()
270 refchk->seen = refchk->refcount; in xchk_refcountbt_process_rmap_fragments()
294 .seen = 0, in xchk_refcountbt_xref_rmap()
318 if (irec->rc_refcount != refchk.seen) { in xchk_refcountbt_xref_rmap()
319 trace_xchk_refcount_incorrect(sc->sa.pag, irec, refchk.seen); in xchk_refcountbt_xref_rmap()
H A Drtrefcount.c112 xfs_nlink_t seen; member
151 refchk->seen++; in xchk_rtrefcountbt_rmap_check()
190 target_nr = refchk->refcount - refchk->seen; in xchk_rtrefcountbt_process_rmap_fragments()
284 refchk->seen = refchk->refcount; in xchk_rtrefcountbt_process_rmap_fragments()
308 .seen = 0, in xchk_rtrefcountbt_xref_rmap()
332 if (irec->rc_refcount != refchk.seen) in xchk_rtrefcountbt_xref_rmap()
/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/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/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])
/linux/drivers/usb/host/
H A Dohci-dbg.c489 struct ed **seen, *ed; in fill_periodic_buffer() local
495 seen = kmalloc_array(DBG_SCHED_LIMIT, sizeof(*seen), GFP_ATOMIC); in fill_periodic_buffer()
496 if (!seen) in fill_periodic_buffer()
525 if (seen [temp] == ed) in fill_periodic_buffer()
558 seen [seen_count++] = ed; in fill_periodic_buffer()
575 kfree (seen); in fill_periodic_buffer()
/linux/samples/bpf/
H A Dtest_lru_dist.c127 int seen = 0; in pfect_lru_lookup_or_insert() local
135 seen = 1; in pfect_lru_lookup_or_insert()
154 if (seen) { in pfect_lru_lookup_or_insert()
161 return seen; in pfect_lru_lookup_or_insert()

123456789