Home
last modified time | relevance | path

Searched defs:msg (Results 1 – 25 of 195) sorted by relevance

12345678

/tools/testing/selftests/bpf/progs/
Dtest_skmsg_load_helpers.c27 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()
Dtest_xdp_attach_fail.c10 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
Dbpf_misc.h110 #define __msg(msg) __attribute__((btf_decl_tag("comment:test_expect_msg=" XSTR(__COUNTER__) "=" ms… argument
111 #define __xlated(msg) __attribute__((btf_decl_tag("comment:test_expect_xlated=" XSTR(__COUNTER__) … argument
112 #define __jited(msg) __attribute__((btf_decl_tag("comment:test_jited=" XSTR(__COUNTER__) "=" msg))) argument
116 #define __msg_unpriv(msg) __attribute__((btf_decl_tag("comment:test_expect_msg_unpriv=" XSTR(__COUN… argument
117 #define __xlated_unpriv(msg) __attribute__((btf_decl_tag("comment:test_expect_xlated_unpriv=" XSTR(… argument
118 #define __jited_unpriv(msg) __attribute__((btf_decl_tag("comment:test_jited=" XSTR(__COUNTER__) "="… argument
Duser_ringbuf_success.c67 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
Dtest_sockmap_kern.h234 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()
Dsockmap_tcp_msg_prog.c7 int bpf_prog1(struct sk_msg_md *msg) in bpf_prog1()
/tools/testing/selftests/
Dkselftest.h159 static inline __printf(1, 2) void ksft_print_msg(const char *msg, ...) in ksft_print_msg()
171 static inline void ksft_perror(const char *msg) in ksft_perror()
176 static inline __printf(1, 2) void ksft_test_result_pass(const char *msg, ...) in ksft_test_result_pass()
190 static inline __printf(1, 2) void ksft_test_result_fail(const char *msg, ...) in ksft_test_result_fail()
216 static inline __printf(1, 2) void ksft_test_result_xfail(const char *msg, ...) in ksft_test_result_xfail()
230 static inline __printf(1, 2) void ksft_test_result_skip(const char *msg, ...) in ksft_test_result_skip()
245 static inline __printf(1, 2) void ksft_test_result_error(const char *msg, ...) in ksft_test_result_error()
261 const char *msg, ...) in ksft_test_result_code()
359 static inline __noreturn __printf(1, 2) void ksft_exit_fail_msg(const char *msg, ...) in ksft_exit_fail_msg()
374 static inline __noreturn void ksft_exit_fail_perror(const char *msg) in ksft_exit_fail_perror()
[all …]
/tools/lib/thermal/
Dthermal_nl.c19 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/perf/ui/gtk/
Dutil.c33 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/
Dhfi-events.c56 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/powerpc/include/
Dutils.h128 #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/bootconfig/
Dmain.c170 static int pr_errno(const char *msg, int err) in pr_errno()
182 const char *msg; in load_xbc_from_initrd() local
243 static void show_xbc_error(const char *data, const char *msg, int pos) in show_xbc_error()
267 const char *msg; in init_xbc_with_error() local
365 const char *msg; in apply_xbc() local
/tools/bpf/resolve_btfids/
DMakefile9 msg = macro
13 msg = macro
15 msg = @printf ' %-8s %s%s\n' "$(1)" "$(notdir $(2))" "$(if $(3), $(3))"; macro
/tools/include/linux/
Dcompiler.h14 # 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
Dbuild_bug.h39 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) argument
79 #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) argument
/tools/testing/selftests/sched/
Dcs_prctl_test.c90 #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/
Dintel-pt-log.h61 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/
Dmsg_zerocopy.c172 static void add_zcopy_cookie(struct msghdr *msg, uint32_t cookie) in add_zcopy_cookie()
185 static bool do_sendmsg(int fd, struct msghdr *msg, bool do_zerocopy, int domain) in do_sendmsg()
229 static void do_sendmsg_corked(int fd, struct msghdr *msg) in do_sendmsg_corked()
367 struct msghdr msg; in do_recvmsg_completion() local
398 struct msghdr msg = {}; in do_recv_completion() local
489 struct msghdr msg = {0}; in do_tx() local
/tools/perf/ui/
Dhelpline.c38 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/sigaltstack/
Dsas.c36 static const char *msg = "[OK]\tStack preserved"; variable
39 char msg[128]; member
/tools/cgroup/
Diocost_coef_gen.py51 def info(msg): argument
55 def dbg(msg): argument
/tools/testing/selftests/mm/
Dkhugepaged.c78 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()
569 static void khugepaged_collapse(const char *msg, char *p, int nr_hpages, in khugepaged_collapse()
/tools/testing/selftests/bpf/
Dtest_progs.c1200 static inline const char *str_msg(const struct msg *msg, char *buf) in str_msg()
1232 static int send_message(int sock, const struct msg *msg) in send_message()
1241 static int recv_message(int sock, struct msg *msg) in recv_message()
1295 static int read_prog_test_msg(int sock_fd, struct msg *msg, enum msg_type type) in read_prog_test_msg()
1318 struct msg msg; in dispatch_thread_read_log() local
1338 struct msg msg; in dispatch_thread_send_subtests() local
1415 struct msg msg; in dispatch_thread() local
1662 struct msg msg; in worker_main_send_subtests() local
1712 struct msg msg; in worker_main() local
1727 struct msg msg; in worker_main() local
/tools/lib/bpf/
Dlibbpf_common.h19 #define LIBBPF_DEPRECATED(msg) __attribute__((deprecated(msg))) argument
22 #define LIBBPF_DEPRECATED_SINCE(major, minor, msg) \ argument
/tools/testing/vsock/
Dvsock_diag_test.c32 struct vsock_diag_msg msg; member
189 struct msghdr msg = { in send_req() local
218 struct msghdr msg = { in recv_resp() local

12345678