| /linux/tools/tracing/rtla/tests/ |
| H A D | timerlat.t | 23 check "verify help page" \ 35 check "verify --aa-only stop on threshold" \ 37 check "verify --aa-only max latency" \ 44 "timerlat TOOL -P F:1 -c 0 -d 10s -T 1 --on-threshold shell,command=\"$testdir/scripts/check-priority.sh SCHED_FIFO 1\"" \ 47 "timerlat TOOL -k -C -c 0 -d 10s -T 1 --on-threshold shell,command=\"$testdir/scripts/check-cgroup-match.sh\"" \ 50 "timerlat TOOL -c 0 -d 10s -T 1 --on-threshold shell,command=$testdir/scripts/check-cpus.sh" 2 "^Affinity of threads: 0$" 52 "timerlat TOOL -H 0 -d 10s -T 1 --on-threshold shell,command=$testdir/scripts/check-housekeeping-cpus.sh" 2 "^Affinity of threads: 0$" 54 "timerlat TOOL -k -c 0 -d 10s -T 1 --on-threshold shell,command=$testdir/scripts/check-user-kernel-threads.sh" 2 "1 kernel threads, 0 user threads" 56 "timerlat TOOL -u -c 0 -d 10s -T 1 --on-threshold shell,command=$testdir/scripts/check-user-kernel-threads.sh" 2 "0 kernel threads, 1 user threads" 59 check "his [all...] |
| H A D | osnoise.t | 8 check "verify help page" \ 19 "osnoise TOOL -P F:1 -c 0 -r 900000 -d 10s -S 1 --on-threshold shell,command=\"$testdir/scripts/check-priority.sh SCHED_FIFO 1\"" \ 22 "osnoise TOOL -C -c 0 -r 900000 -d 10s -S 1 --on-threshold shell,command=\"$testdir/scripts/check-cgroup-match.sh\"" \ 25 "osnoise TOOL -P F:1 -c 0 -r 900000 -d 10s -S 1 --on-threshold shell,command=$testdir/scripts/check-cpus.sh" 2 "^Affinity of threads: 0$" 27 "osnoise TOOL -P F:1 -H 0 -r 900000 -d 10s -S 1 --on-threshold shell,command=$testdir/scripts/check-housekeeping-cpus.sh" 2 "^Affinity of threads: 0$" 30 check "hist with -b/--bucket-size" \ 32 check "hist with -E/--entries" \ 34 check "hist with -E/--entries out of range" \ 36 check "hist with --no-header" \ 38 check "his [all...] |
| H A D | hwnoise.t | 8 check "verify help page" \ 10 check "detect noise higher than one microsecond" \ 12 check "set the automatic trace mode" \ 14 check "set scheduling param to the osnoise tracer threads" \ 16 check "stop the trace if a single sample is higher than 1 us" \ 18 check "enable a trace event trigger" \
|
| /linux/tools/testing/selftests/user_events/ |
| H A D | abi_test.c | 217 int check; in FIXTURE() local 226 self->check = 0; in FIXTURE_SETUP() 236 ASSERT_EQ(0, self->check); in TEST_F() 237 ASSERT_EQ(0, reg_enable(&self->check, sizeof(int), 0)); in TEST_F() 239 ASSERT_EQ(1, self->check); in TEST_F() 241 ASSERT_EQ(0, self->check); in TEST_F() 245 ASSERT_EQ(1, self->check); in TEST_F() 246 ASSERT_EQ(0, reg_disable(&self->check, 0)); in TEST_F() 247 ASSERT_EQ(0, self->check); in TEST_F() 251 ASSERT_EQ(0, self->check); in TEST_F() [all …]
|
| H A D | dyn_test.c | 56 static int reg_event(int fd, int *check, int bit, const char *value) in reg_event() argument 63 reg.enable_addr = (__u64)check; in reg_event() 64 reg.enable_size = sizeof(*check); in reg_event() 72 static int unreg_event(int fd, int *check, int bit) in unreg_event() argument 78 unreg.disable_addr = (__u64)check; in unreg_event() 107 static int parse_abi(int *check, const char *value) in parse_abi() argument 121 ret = reg_event(fd, check, 31, value + 2); in parse_abi() 124 if (unreg_event(fd, check, 31) == -1) in parse_abi() 135 static int parse(int *check, const char *value) in parse() argument 137 int abi_ret = parse_abi(check, value); in parse() [all …]
|
| H A D | ftrace_test.c | 123 static int clear(int *check) in clear() argument 130 unreg.disable_addr = (__u64)check; in clear() 158 static int check_print_fmt(const char *event, const char *expected, int *check) in check_print_fmt() argument 166 ret = clear(check); in check_print_fmt() 179 reg.enable_addr = (__u64)check; in check_print_fmt() 180 reg.enable_size = sizeof(*check); in check_print_fmt() 206 int check; in FIXTURE() local 233 if (clear(&self->check) != 0) in FIXTURE_TEARDOWN() 244 reg.enable_addr = (__u64)&self->check; in TEST_F() 245 reg.enable_size = sizeof(self->check); in TEST_F() [all …]
|
| H A D | perf_test.c | 85 static int clear(int *check) in clear() argument 91 unreg.disable_addr = (__u64)check; in clear() 113 int check; in FIXTURE() local 129 if (clear(&self->check) != 0) in FIXTURE_TEARDOWN() 145 reg.enable_addr = (__u64)&self->check; in TEST_F() 146 reg.enable_size = sizeof(self->check); in TEST_F() 151 ASSERT_EQ(0, self->check); in TEST_F() 174 ASSERT_EQ(1 << reg.enable_bit, self->check); in TEST_F() 195 ASSERT_EQ(0, self->check); in TEST_F() 209 reg.enable_addr = (__u64)&self->check; in TEST_F() [all …]
|
| /linux/tools/testing/selftests/drivers/net/netdevsim/ |
| H A D | ethtool-fec.sh | 17 check $? "$s" "$configured FEC encodings: None 22 check $? 24 check $? "$s" "$configured FEC encodings: Auto 30 check $? 32 check $? "$s" "$configured FEC encodings: Off 38 check $? 40 check $? "$s" "$configured FEC encodings: BaseR 46 check $? 48 check $? "$s" "$configured FEC encodings: ${o^^} 54 check $? [all …]
|
| H A D | ethtool-pause.sh | 20 check $? "$s" "null" 23 check $? "$s" "{}" 28 check $? "$s" "1" 31 check $? "$s" "2" 36 check $? "$s" "2" 39 check $? "$s" "1" 41 check $? "$s" "2"
|
| /linux/tools/testing/selftests/powerpc/switch_endian/ |
| H A D | check.S | 14 cmpd r9,r3 # check r3 16 addi r9,r15,4 # check r4 19 lis r9,0x00FF # check CR 26 addi r9,r15,32 # check LR 30 addi r9,r15,5 # check r5 33 addi r9,r15,6 # check r6 36 addi r9,r15,7 # check r7 39 addi r9,r15,8 # check r8 42 addi r9,r15,13 # check r13 45 addi r9,r15,14 # check r14 [all …]
|
| H A D | Makefile | 4 EXTRA_CLEAN = $(OUTPUT)/*.o $(OUTPUT)/check-reversed.S 13 $(OUTPUT)/switch_endian_test: $(OUTPUT)/check-reversed.S 15 $(OUTPUT)/check-reversed.o: $(OUTPUT)/check.o 18 $(OUTPUT)/check-reversed.S: $(OUTPUT)/check-reversed.o
|
| /linux/drivers/firmware/efi/ |
| H A D | cper-x86.c | 48 #define CHECK_VALID_BITS(check) (((check) & GENMASK_ULL(15, 0))) argument 49 #define CHECK_TRANS_TYPE(check) (((check) & GENMASK_ULL(17, 16)) >> 16) argument 50 #define CHECK_OPERATION(check) (((check) & GENMASK_ULL(21, 18)) >> 18) argument 51 #define CHECK_LEVEL(check) (((check) & GENMASK_ULL(24, 22)) >> 22) argument 58 #define CHECK_BUS_PART_TYPE(check) (((check) & GENMASK_ULL(31, 30)) >> 30) argument 60 #define CHECK_BUS_ADDR_SPACE(check) (((check) & GENMASK_ULL(34, 33)) >> 33) argument 69 #define CHECK_MS_ERR_TYPE(check) (((check) & GENMASK_ULL(18, 16)) >> 16) argument 153 static inline void print_bool(char *str, const char *pfx, u64 check, u64 bit) in print_bool() argument 155 printk("%s%s: %s\n", pfx, str, (check & bit) ? "true" : "false"); in print_bool() 158 static void print_err_info_ms(const char *pfx, u16 validation_bits, u64 check) in print_err_info_ms() argument [all …]
|
| /linux/tools/testing/selftests/net/mptcp/ |
| H A D | pm_netlink.sh | 129 check() 154 check "show_endpoints" "" "defaults addr list" 158 check "get_limits" "$(format_limits 0 2)" "defaults limits" 164 check "get_endpoint 1" "$(format_endpoints "1,10.0.1.1")" "simple add/get addr" 166 check "show_endpoints" \ 172 check "get_endpoint 2" "" "simple del addr" 1 173 check "show_endpoints" \ 179 check "get_endpoint 4" "" "duplicate addr" 1 182 check "get_endpoint 4" "$(format_endpoints "4,10.0.1.4,signal")" "id addr increment" 198 check "get_endpoin 120 check() global() function [all...] |
| /linux/include/net/ |
| H A D | dsfield.h | 31 __u32 check = ntohs((__force __be16)iph->check); in ipv4_change_dsfield() local 35 check += iph->tos; in ipv4_change_dsfield() 36 if ((check+1) >> 16) check = (check+1) & 0xffff; in ipv4_change_dsfield() 37 check -= dsfield; in ipv4_change_dsfield() 38 check += check >> 16; /* adjust carry */ in ipv4_change_dsfield() 39 iph->check = (__force __sum16)htons(check); in ipv4_change_dsfield()
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-check.txt | 1 perf-check(1) 6 perf-check - check if features are present in perf 11 'perf check' [<options>] 12 'perf check' {feature <feature_list>} [<options>] 16 With no subcommands given, 'perf check' command just prints the command 22 Also, 'perf check feature' returns with exit status 0 if the feature 41 perf check feature libtraceevent 42 perf check feature HAVE_LIBTRACEEVENT 43 perf check feature libtraceevent,bpf 78 This can be used along with subcommands such as 'perf check feature' [all …]
|
| /linux/net/ipv4/ |
| H A D | udp_offload.c | 202 partial = csum_sub(csum_unfold(uh->check), partial); in __skb_udp_tunnel_segment() 292 uh->check = ~csum_fold(csum_add(partial, in __skb_udp_tunnel_segment() 296 uh->check = gso_make_checksum(skb, ~uh->check); in __skb_udp_tunnel_segment() 297 if (uh->check == 0) in __skb_udp_tunnel_segment() 298 uh->check = CSUM_MANGLED_0; in __skb_udp_tunnel_segment() 302 skb->csum_offset = offsetof(struct udphdr, check); in __skb_udp_tunnel_segment() 360 if (uh->check) { in __udpv4_gso_segment_csum() 361 inet_proto_csum_replace4(&uh->check, seg, *oldip, *newip, in __udpv4_gso_segment_csum() 363 inet_proto_csum_replace2(&uh->check, seg, *oldport, *newport, in __udpv4_gso_segment_csum() 365 if (!uh->check) in __udpv4_gso_segment_csum() [all …]
|
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_proto_udp.c | 100 uhdr->check = in udp_fast_csum_update() 103 ~csum_unfold(uhdr->check)))); in udp_fast_csum_update() 106 uhdr->check = in udp_fast_csum_update() 109 ~csum_unfold(uhdr->check)))); in udp_fast_csum_update() 110 if (!uhdr->check) in udp_fast_csum_update() 111 uhdr->check = CSUM_MANGLED_0; in udp_fast_csum_update() 122 uhdr->check = in udp_partial_csum_update() 125 csum_unfold(uhdr->check)))); in udp_partial_csum_update() 128 uhdr->check = in udp_partial_csum_update() 131 csum_unfold(uhdr->check)))); in udp_partial_csum_update() [all …]
|
| /linux/tools/perf/ |
| H A D | check-headers.sh | 124 check () { function 178 check "$i" -B 183 check "$i" '-I "^.*\/\*.*__ignore_sync_check__.*\*\/.*$"' 187 check arch/x86/lib/memcpy_64.S '-I "^EXPORT_SYMBOL" -I "^#include <asm/export.h>" -I"^SYM_FU… 188 check arch/x86/lib/memset_64.S '-I "^EXPORT_SYMBOL" -I "^#include <asm/export.h>" -I"^SYM_FU… 189 check arch/x86/include/asm/amd/ibs.h '-I "^#include .*/msr-index.h"' 190 check include/linux/unaligned.h '-I "^#include <linux/unaligned/packed_struct.h>" -I "^#include <as… 191 check include/uapi/asm-generic/mman.h '-I "^#include <\(uapi/\)*asm-generic/mman-common\(-tools\)*.… 192 check include/uapi/linux/mman.h '-I "^#include <\(uapi/\)*asm/mman.h>"' 193 check include/linux/build_bug.h '-I "^#\(ifndef\|endif\)\( \/\/\)* static_assert$"' [all …]
|
| /linux/arch/x86/pci/ |
| H A D | pcbios.c | 304 union bios32 *check; in pci_find_bios() local 314 for (check = (union bios32 *) __va(0xe0000); in pci_find_bios() 315 check <= (union bios32 *) __va(0xffff0); in pci_find_bios() 316 ++check) { in pci_find_bios() 318 if (get_kernel_nofault(sig, &check->fields.signature)) in pci_find_bios() 321 if (check->fields.signature != BIOS32_SIGNATURE) in pci_find_bios() 323 length = check->fields.length * 16; in pci_find_bios() 328 sum += check->chars[i]; in pci_find_bios() 331 if (check->fields.revision != 0) { in pci_find_bios() 333 check->fields.revision, check); in pci_find_bios() [all …]
|
| /linux/drivers/pnp/pnpbios/ |
| H A D | core.c | 425 union pnp_bios_install_struct *check; in pnpbios_probe_system() local 436 for (check = (union pnp_bios_install_struct *)__va(0xf0000); in pnpbios_probe_system() 437 check < (union pnp_bios_install_struct *)__va(0xffff0); in pnpbios_probe_system() 438 check = (void *)check + 16) { in pnpbios_probe_system() 439 if (check->fields.signature != PNP_SIGNATURE) in pnpbios_probe_system() 443 check); in pnpbios_probe_system() 444 length = check->fields.length; in pnpbios_probe_system() 451 sum += check->chars[i]; in pnpbios_probe_system() 457 if (check->fields.version < 0x10) { in pnpbios_probe_system() 460 check->fields.version >> 4, in pnpbios_probe_system() [all …]
|
| /linux/tools/perf/tests/ |
| H A D | mem.c | 11 static int check(union perf_mem_data_src data_src, in check() 39 ret |= check(src, "N/AL4 hit"); in test__mem() 43 ret |= check(src, "N/ARemote L4 hit"); in test__mem() 49 ret |= check(src, "N/APMEM miss"); in test__mem() 53 ret |= check(src, "N/ARemote PMEM miss"); in test__mem() 58 ret |= check(src , "FwdRemote RAM miss"); in test__mem() 10 static int check(union perf_mem_data_src data_src, check() function
|
| H A D | parse-events.c | 1969 int (*check)(struct evlist *evlist); 1975 .check = test__checkevent_tracepoint, 1980 .check = test__checkevent_tracepoint_multi, 1985 .check = test__checkevent_raw, 1990 .check = test__checkevent_numeric, 1995 .check = test__checkevent_symbolic_name, 2000 .check = test__checkevent_symbolic_name_config, 2005 .check = test__checkevent_symbolic_alias, 2010 .check = test__checkevent_genhw, 2015 .check 1962 int (*check)(struct evlist *evlist); global() member 2525 int (*check)(struct parse_events_terms *terms); global() member [all...] |
| /linux/drivers/md/bcache/ |
| H A D | debug.c | 111 struct bio *check; in bch_data_verify() local 115 check = bio_kmalloc(nr_segs, GFP_NOIO); in bch_data_verify() 116 if (!check) in bch_data_verify() 118 bio_init_inline(check, bio->bi_bdev, nr_segs, REQ_OP_READ); in bch_data_verify() 119 check->bi_iter.bi_sector = bio->bi_iter.bi_sector; in bch_data_verify() 120 check->bi_iter.bi_size = bio->bi_iter.bi_size; in bch_data_verify() 122 bch_bio_map(check, NULL); in bch_data_verify() 123 if (bch_bio_alloc_pages(check, GFP_NOIO)) in bch_data_verify() 126 submit_bio_wait(check); in bch_data_verify() 133 cbv = bio_iter_iovec(check, citer); in bch_data_verify() [all …]
|
| /linux/arch/mips/tools/ |
| H A D | Makefile | 7 hostprogs += loongson3-llsc-check 8 PHONY += loongson3-llsc-check 9 loongson3-llsc-check: $(obj)/loongson3-llsc-check
|
| /linux/security/apparmor/ |
| H A D | match.c | 26 * unpack_table - unpack a dfa table (one of accept, default, base, next check) 96 * @tables: array of dfa tables to check (NOT NULL) 109 /* check that required tables exist */ in verify_table_headers() 189 pr_err("AppArmor DFA next/check upper bounds error\n"); in verify_dfa() 397 /* check for duplicate table entry */ in aa_dfa_unpack() 440 #define match_char(state, def, base, next, check, C) \ 444 if ((check)[pos] != (state)) { \ 476 u32 *check = CHECK_TABLE(dfa); in aa_dfa_match_len() 489 match_char(state, def, base, next, check, c); in aa_dfa_match_len() 495 match_char(state, def, base, next, check, (u in aa_dfa_match_len() 436 match_char(state,def,base,next,check,C) global() argument 472 u32 *check = CHECK_TABLE(dfa); aa_dfa_match_len() local 516 u32 *check = CHECK_TABLE(dfa); aa_dfa_match() local 559 u32 *check = CHECK_TABLE(dfa); aa_dfa_next() local 577 u32 *check = CHECK_TABLE(dfa); aa_dfa_outofband_transition() local 608 u32 *check = CHECK_TABLE(dfa); aa_dfa_match_until() local 669 u32 *check = CHECK_TABLE(dfa); aa_dfa_matchn_until() local 746 u32 *check = CHECK_TABLE(dfa); leftmatch_fb() local [all...] |