| /linux/tools/testing/selftests/ |
| H A D | kselftest_harness.h | 517 * @seen: measured value 521 #define ASSERT_EQ(expected, seen) \ argument 522 __EXPECT(expected, #expected, seen, #seen, ==, 1) 528 * @seen: measured value 532 #define ASSERT_NE(expected, seen) \ argument 533 __EXPECT(expected, #expected, seen, #seen, !=, 1) 539 * @seen: measured value 543 #define ASSERT_LT(expected, seen) \ argument 544 __EXPECT(expected, #expected, seen, #seen, <, 1) 550 * @seen: measured value [all …]
|
| /linux/net/netfilter/ |
| H A D | nf_conntrack_proto_tcp.c | 107 * we haven't seen. 116 * SYN_SENT: SYN-only packet seen 117 * SYN_SENT2: SYN-only packet seen from reply dir, simultaneous open 118 * SYN_RECV: SYN-ACK packet seen 119 * ESTABLISHED: ACK packet seen 120 * FIN_WAIT: FIN packet seen 121 * CLOSE_WAIT: ACK seen (after FIN) 122 * LAST_ACK: FIN seen (after FIN) 123 * TIME_WAIT: last ACK seen 177 * sFW -> sLA FIN seen in both directions, waiting for [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | iters_task_vma.c | 22 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()
|
| H A D | test_ksyms_weak.c | 57 /* dead code won't be seen by the verifier */ in pass_handler() 61 /* dead code won't be seen by the verifier */ in pass_handler() 65 /* dead code won't be seen by the verifier */ in pass_handler()
|
| /linux/tools/testing/selftests/filesystems/ |
| H A D | fclog.c | 16 #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/net/ |
| H A D | rtnetlink.py | 165 seen = {} 172 seen[key] = attrs 173 if len(seen) == len(want): 175 return seen 237 seen = {} 244 seen.update(_collect_route_ntfs(rtnl, 'newroute-ntf', 245 want - set(seen.keys()), deadline=2)) 246 if len(seen) == len(want): 248 return seen 279 seen = _ra_advertise_routes(rtnl, sock, ifindex, routes, [all …]
|
| /linux/include/linux/netfilter/ |
| H A D | nf_conntrack_tcp.h | 18 struct ip_ct_tcp_state seen[2]; /* connection parameters per direction */ member 24 u_int32_t last_seq; /* Last sequence number seen in dir */ 25 u_int32_t last_ack; /* Last sequence number seen in opposite dir */ 27 u_int16_t last_win; /* Last window advertisement seen in dir */ 29 u_int8_t last_wscale; /* Last window scaling factor seen */
|
| /linux/tools/testing/selftests/proc/ |
| H A D | proc-pidns.c | 22 #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/include/net/sctp/ |
| H A D | tsnmap.h | 91 * 0 if the TSN has not yet been seen 92 * >0 if the TSN has been seen (duplicate) 97 /* Mark this TSN as seen. */ 101 /* Mark this TSN and all lower as seen. */ 110 /* Retrieve the highest TSN we've seen. */ 151 /* Renege a TSN that was seen. */
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | kmem_cache_iter.c | 38 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() 86 /* It should be same as we've seen from the explicit iterator */ in subtest_kmem_cache_iter_open_coded()
|
| H A D | iters.c | 111 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()
|
| H A D | sock_iter_batch.c | 183 /* Skip any sockets that were closed or that weren't seen in check_n_were_seen_once() 272 /* Close a socket we've already seen to remove it from the bucket. */ in remove_seen() 308 /* Close a socket we've already seen to remove it from the bucket. */ in remove_seen_established() 352 /* Make sure the remaining sockets were seen exactly once and that we in remove_unseen() 353 * didn't repeat the socket that was already seen. in remove_unseen() 397 /* Make sure the remaining sockets were seen exactly once and that we in remove_unseen_established() 398 * didn't repeat the socket that was already seen. in remove_unseen_established() 504 /* Make sure each of the original sockets was seen exactly once. */ in add_some() 545 /* Make sure each of the original sockets was seen exactly once. */ in add_some_established() 576 /* Make sure each socket from the first set was seen exactly once. */ in force_realloc() [all …]
|
| /linux/fs/xfs/scrub/ |
| H A D | refcount.c | 57 * a. If a given rmap completely overlaps, mark it as seen. 61 * Once we've seen all the rmaps, we know that for all blocks in the 63 * visited $seen extents that overlap all the blocks. Therefore, we 64 * need to find ($refcount - $seen) owners for every block in the 97 /* number of owners seen */ 98 xfs_nlink_t seen; member 135 * one refcount owner seen. in xchk_refcountbt_rmap_check() 137 refchk->seen++; in xchk_refcountbt_rmap_check() 175 target_nr = refchk->refcount - refchk->seen; in xchk_refcountbt_process_rmap_fragments() 268 /* Actually record us having seen the remaining refcount. */ in xchk_refcountbt_process_rmap_fragments() [all …]
|
| H A D | rtrefcount.c | 71 * a. If a given rmap completely overlaps, mark it as seen. 75 * Once we've seen all the rmaps, we know that for all blocks in the 77 * visited $seen extents that overlap all the blocks. Therefore, we 78 * need to find ($refcount - $seen) owners for every block in the 111 /* number of owners seen */ 112 xfs_nlink_t seen; member 149 * one refcount owner seen. in xchk_rtrefcountbt_rmap_check() 151 refchk->seen++; in xchk_rtrefcountbt_rmap_check() 189 target_nr = refchk->refcount - refchk->seen; in xchk_rtrefcountbt_process_rmap_fragments() 282 /* Actually record us having seen the remaining refcount. */ in xchk_rtrefcountbt_process_rmap_fragments() [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-pci-devices-aer | 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
|
| /linux/lib/ |
| H A D | errseq.c | 39 /* This bit is used as a flag to indicate whether the value has been seen */ 60 * calls as it will not have the SEEN flag set. 117 * If the error has been "seen", new callers will not see an old error. 128 /* If nobody has seen this error yet, then we can be the first. */ in errseq_sample() 142 * is no need to mark the value as seen. 164 * If it doesn't, then the value has changed. Set the "seen" flag, and try to 196 * just setting the "seen" flag. Either outcome is OK, and we in errseq_check_and_advance()
|
| /linux/drivers/of/ |
| H A D | device.c | 219 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/net/bridge/ |
| H A D | br_mst.c | 244 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/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 …]
|
| /linux/sound/aoa/soundbus/ |
| H A D | core.c | 66 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 D | harness-selftest.sh | 11 "$DIR"/harness-selftest > harness-selftest.seen || true 13 diff -u "$DIR"/harness-selftest.expected harness-selftest.seen
|
| /linux/Documentation/hwmon/ |
| H A D | drivetemp.rst | 37 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/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()
|
| /linux/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2-v2/ |
| H A D | bus.json | 12 …"PublicDescription": "Counts memory read transactions seen on the external bus. Each beat of data … 16 …"PublicDescription": "Counts memory write transactions seen on the external bus. Each beat of data…
|
| /linux/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/ |
| H A D | bus.json | 12 …"PublicDescription": "Counts memory read transactions seen on the external bus. Each beat of data … 16 …"PublicDescription": "Counts memory write transactions seen on the external bus. Each beat of data…
|