/tools/testing/selftests/bpf/progs/ |
A D | test_skmsg_load_helpers.c | 27 static int prog_msg_verdict_common(struct sk_msg_md *msg) in prog_msg_verdict_common() 47 int prog_msg_verdict(struct sk_msg_md *msg) in prog_msg_verdict() 53 int prog_msg_verdict_clone(struct sk_msg_md *msg) in prog_msg_verdict_clone() 59 int prog_msg_verdict_clone2(struct sk_msg_md *msg) in prog_msg_verdict_clone2()
|
A D | test_xdp_attach_fail.c | 10 char msg[ERRMSG_LEN]; member 31 __u32 msg; // __data_loc char[] msg; member 41 char *msg = (void *)(__u64) ((void *) ctx + (__u16) ctx->msg); in tp__xdp__bpf_xdp_link_attach_failed() local
|
A D | bpf_misc.h | 117 #define __msg(msg) __attribute__((btf_decl_tag("comment:test_expect_msg=" XSTR(__COUNTER__) "=" ms… argument 118 #define __xlated(msg) __attribute__((btf_decl_tag("comment:test_expect_xlated=" XSTR(__COUNTER__) … argument 119 #define __jited(msg) __attribute__((btf_decl_tag("comment:test_jited=" XSTR(__COUNTER__) "=" msg))) argument 123 #define __msg_unpriv(msg) __attribute__((btf_decl_tag("comment:test_expect_msg_unpriv=" XSTR(__COUN… argument 124 #define __xlated_unpriv(msg) __attribute__((btf_decl_tag("comment:test_expect_xlated_unpriv=" XSTR(… argument 125 #define __jited_unpriv(msg) __attribute__((btf_decl_tag("comment:test_jited=" XSTR(__COUNTER__) "="… argument
|
A D | test_sockmap_ktls.c | 21 int prog_sk_policy(struct sk_msg_md *msg) in prog_sk_policy() 34 int prog_sk_policy_redir(struct sk_msg_md *msg) in prog_sk_policy_redir()
|
A D | user_ringbuf_success.c | 67 handle_sample_msg(const struct test_msg *msg) in handle_sample_msg() 91 const struct test_msg *msg = NULL; in read_protocol_msg() local 107 struct test_msg *msg = NULL; in publish_next_kern_msg() local
|
A D | test_sockmap_kern.h | 234 int bpf_prog4(struct sk_msg_md *msg) in bpf_prog4() 264 int bpf_prog6(struct sk_msg_md *msg) in bpf_prog6() 309 int bpf_prog8(struct sk_msg_md *msg) in bpf_prog8() 331 int bpf_prog9(struct sk_msg_md *msg) in bpf_prog9() 349 int bpf_prog10(struct sk_msg_md *msg) in bpf_prog10()
|
A D | bench_sockmap_prog.c | 50 int prog_skmsg_verdict(struct sk_msg_md *msg) in prog_skmsg_verdict() 59 int prog_skmsg_pass(struct sk_msg_md *msg) in prog_skmsg_pass()
|
/tools/testing/selftests/ |
A D | kselftest.h | 166 static inline __printf(1, 2) void ksft_print_msg(const char *msg, ...) in ksft_print_msg() 178 static inline void ksft_perror(const char *msg) in ksft_perror() 183 static inline __printf(1, 2) void ksft_test_result_pass(const char *msg, ...) in ksft_test_result_pass() 197 static inline __printf(1, 2) void ksft_test_result_fail(const char *msg, ...) in ksft_test_result_fail() 223 static inline __printf(1, 2) void ksft_test_result_xfail(const char *msg, ...) in ksft_test_result_xfail() 237 static inline __printf(1, 2) void ksft_test_result_xpass(const char *msg, ...) in ksft_test_result_xpass() 251 static inline __printf(1, 2) void ksft_test_result_skip(const char *msg, ...) in ksft_test_result_skip() 266 static inline __printf(1, 2) void ksft_test_result_error(const char *msg, ...) in ksft_test_result_error() 282 const char *msg, ...) in ksft_test_result_code() 398 static inline __noreturn void ksft_exit_fail_perror(const char *msg) in ksft_exit_fail_perror() [all …]
|
/tools/lib/thermal/ |
A D | thermal_nl.c | 19 static int nl_seq_check_handler(struct nl_msg *msg, void *arg) in nl_seq_check_handler() 35 static int nl_finish_handler(struct nl_msg *msg, void *arg) in nl_finish_handler() 45 static int nl_ack_handler(struct nl_msg *msg, void *arg) in nl_ack_handler() 55 int nl_send_msg(struct nl_sock *sock, struct nl_cb *cb, struct nl_msg *msg, in nl_send_msg() 75 static int nl_family_handler(struct nl_msg *msg, void *arg) in nl_family_handler() 116 struct nl_msg *msg; in nl_get_multicast_id() local
|
/tools/include/linux/ |
A D | compiler.h | 14 # define __compiletime_assert(condition, msg, prefix, suffix) \ argument 21 # define __compiletime_assert(condition, msg, prefix, suffix) do { } while (0) argument 24 #define _compiletime_assert(condition, msg, prefix, suffix) \ argument 36 #define compiletime_assert(condition, msg) \ argument 249 #define __BUILD_BUG_ON_ZERO_MSG(e, msg, ...) ((int)(sizeof(struct { int:(-!!(e)); }))) argument 251 #define __BUILD_BUG_ON_ZERO_MSG(e, msg, ...) ((int)sizeof(struct {_Static_assert(!(e), msg);})) argument
|
A D | build_bug.h | 39 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) argument 79 #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) argument
|
/tools/perf/ui/gtk/ |
A D | util.c | 33 char *msg; in perf_gtk__error() local 59 char *msg; in perf_gtk__warning_info_bar() local 80 char *msg, *p; in perf_gtk__warning_statusbar() local
|
/tools/power/x86/intel-speed-select/ |
A D | hfi-events.c | 56 static int ack_handler(struct nl_msg *msg, void *arg) in ack_handler() 63 static int finish_handler(struct nl_msg *msg, void *arg) in finish_handler() 78 static int seq_check_handler(struct nl_msg *msg, void *arg) in seq_check_handler() 84 struct nl_msg *msg, in send_and_recv_msgs() 122 static int family_handler(struct nl_msg *msg, void *arg) in family_handler() 155 struct nl_msg *msg; in nl_get_multicast_id() local
|
/tools/testing/selftests/landlock/ |
A D | audit.h | 64 static int audit_send(const int fd, const struct audit_message *const msg) in audit_send() 85 static int audit_recv(const int fd, struct audit_message *msg) in audit_recv() 147 struct audit_message msg = { in audit_filter_exe() local 174 struct audit_message msg = { in audit_filter_drop() local 195 const struct audit_message msg = { in audit_set_status() local 254 struct audit_message msg; in audit_match_record() local 345 struct audit_message msg; in audit_count_records() local
|
/tools/testing/selftests/powerpc/include/ |
A D | utils.h | 128 #define FAIL_IF_MSG(x, msg) \ argument 147 #define FAIL_IF_EXIT_MSG(x, msg) \ argument 169 #define SKIP_IF_MSG(x, msg) \ argument 182 #define sigsafe_err(msg) ({ \ argument
|
/tools/bpf/resolve_btfids/ |
A D | Makefile | 8 msg = macro 11 msg = macro 13 msg = @printf ' %-8s %s%s\n' "$(1)" "$(notdir $(2))" "$(if $(3), $(3))"; macro
|
/tools/bootconfig/ |
A D | main.c | 175 static int pr_errno(const char *msg, int err) in pr_errno() 187 const char *msg; in load_xbc_from_initrd() local 248 static void show_xbc_error(const char *data, const char *msg, int pos) in show_xbc_error() 272 const char *msg; in init_xbc_with_error() local 375 const char *msg; in apply_xbc() local
|
/tools/testing/selftests/sched/ |
A D | cs_prctl_test.c | 90 #define handle_error(msg) __handle_error(__FILE__, __LINE__, msg) argument 91 static void __handle_error(char *fn, int ln, char *msg) in __handle_error() 104 static void handle_usage(int rc, char *msg) in handle_usage() 222 void _validate(int line, int val, char *msg) in _validate()
|
/tools/perf/util/intel-pt-decoder/ |
A D | intel-pt-log.h | 61 static inline void intel_pt_log_at(const char *msg, uint64_t u) in intel_pt_log_at() 66 static inline void intel_pt_log_to(const char *msg, uint64_t u) in intel_pt_log_to()
|
/tools/testing/selftests/net/ |
A D | msg_zerocopy.c | 173 static void add_zcopy_cookie(struct msghdr *msg, uint32_t cookie) in add_zcopy_cookie() 186 static bool do_sendmsg(int fd, struct msghdr *msg, bool do_zerocopy, int domain) in do_sendmsg() 230 static void do_sendmsg_corked(int fd, struct msghdr *msg) in do_sendmsg_corked() 368 struct msghdr msg; in do_recvmsg_completion() local 399 struct msghdr msg = {}; in do_recv_completion() local 492 struct msghdr msg = {0}; in do_tx() local
|
/tools/perf/ui/ |
A D | helpline.c | 38 void ui_helpline__push(const char *msg) in ui_helpline__push() 64 void ui_helpline__puts(const char *msg) in ui_helpline__puts()
|
/tools/testing/selftests/bpf/prog_tests/ |
A D | sockmap_ktls.c | 138 char msg[12] = "hello world\0"; in test_sockmap_ktls_offload() local 170 char msg[12] = "hello world\0"; in test_sockmap_ktls_tx_cork() local 248 struct msghdr msg = {0}; in test_sockmap_ktls_tx_no_buf() local 319 char msg[37] = "0123456789abcdefghijklmnopqrstuvwxyz\0"; in test_sockmap_ktls_tx_pop() local
|
/tools/testing/selftests/signal/ |
A D | sas.c | 36 static const char *msg = "[OK]\tStack preserved"; variable 39 char msg[128]; member
|
/tools/cgroup/ |
A D | iocost_coef_gen.py | 51 def info(msg): argument 55 def dbg(msg): argument
|
/tools/testing/selftests/mm/ |
A D | khugepaged.c | 78 static void success(const char *msg) in success() 83 static void fail(const char *msg) in fail() 89 static void skip(const char *msg) in skip() 496 static void __madvise_collapse(const char *msg, char *p, int nr_hpages, in __madvise_collapse() 525 static void madvise_collapse(const char *msg, char *p, int nr_hpages, in madvise_collapse() 537 static bool wait_for_scan(const char *msg, char *p, int nr_hpages, in wait_for_scan() 567 static void khugepaged_collapse(const char *msg, char *p, int nr_hpages, in khugepaged_collapse()
|