/samples/v4l/ |
D | v4l2-pci-skeleton.c | 301 static int skeleton_querycap(struct file *file, void *priv, in skeleton_querycap() argument 304 struct skeleton *skel = video_drvdata(file); in skeleton_querycap() 351 static int skeleton_try_fmt_vid_cap(struct file *file, void *priv, in skeleton_try_fmt_vid_cap() argument 354 struct skeleton *skel = video_drvdata(file); in skeleton_try_fmt_vid_cap() 369 static int skeleton_s_fmt_vid_cap(struct file *file, void *priv, in skeleton_s_fmt_vid_cap() argument 372 struct skeleton *skel = video_drvdata(file); in skeleton_s_fmt_vid_cap() 375 ret = skeleton_try_fmt_vid_cap(file, priv, f); in skeleton_s_fmt_vid_cap() 391 static int skeleton_g_fmt_vid_cap(struct file *file, void *priv, in skeleton_g_fmt_vid_cap() argument 394 struct skeleton *skel = video_drvdata(file); in skeleton_g_fmt_vid_cap() 400 static int skeleton_enum_fmt_vid_cap(struct file *file, void *priv, in skeleton_enum_fmt_vid_cap() argument [all …]
|
/samples/bpf/ |
D | fds_example.c | 76 static int bpf_do_map(const char *file, uint32_t flags, uint32_t key, in bpf_do_map() argument 86 ret = bpf_obj_pin(fd, file); in bpf_do_map() 90 fd = bpf_obj_get(file); in bpf_do_map() 110 static int bpf_do_prog(const char *file, uint32_t flags, const char *object) in bpf_do_prog() argument 119 ret = bpf_obj_pin(fd, file); in bpf_do_prog() 123 fd = bpf_obj_get(file); in bpf_do_prog() 141 const char *file = NULL, *object = NULL; in main() local 149 file = optarg; in main() 181 if (!(flags & BPF_F_PIN_GET) || !file) in main() 186 return bpf_do_map(file, flags, key, value); in main() [all …]
|
D | xdp2skb_meta.sh | 179 local file="$2" 189 prio 1 handle 1 bpf da obj $file sec $prog 195 local file="$2" 204 call_ip link set dev $device xdp obj $file sec $prog
|
D | cookie_uid_helper_example.c | 167 static void prog_attach_iptables(char *file) in prog_attach_iptables() argument 172 if (bpf_obj_pin(prog_fd, file)) in prog_attach_iptables() 174 if (strlen(file) > 50) { in prog_attach_iptables() 175 printf("file path too long: %s\n", file); in prog_attach_iptables() 180 file); in prog_attach_iptables()
|
D | xdp1_user.c | 126 prog_load_attr.file = filename; in main()
|
D | xdp_fwd_user.c | 120 prog_load_attr.file = filename; in main()
|
D | tcp_bpf.readme | 1 This file describes how to run the tcp_*_kern.o tcp_bpf (or socket_ops)
|
D | xdp_adjust_tail_user.c | 151 prog_load_attr.file = filename; in main()
|
D | xdp_sample_pkts_user.c | 147 prog_load_attr.file = filename; in main()
|
D | xdp_tx_iptunnel_user.c | 262 prog_load_attr.file = filename; in main()
|
D | README.rst | 108 say libelf, providing address to file system containing headers and libs,
|
D | xdpsock_user.c | 485 static void __exit_with_error(int error, const char *file, const char *func, in __exit_with_error() argument 488 fprintf(stderr, "%s:%s:%i: errno: %d/\"%s\"\n", file, func, in __exit_with_error() 1446 prog_load_attr.file = xdp_filename; in load_xdp_program()
|
D | xdp_rxq_info_user.c | 474 prog_load_attr.file = filename; in main()
|
D | xdp_router_ipv4_user.c | 641 prog_load_attr.file = filename; in main()
|
D | Makefile | 372 $(Q)$(BPFTOOL) btf dump file $(VMLINUX_BTF) format c > $@
|
/samples/kfifo/ |
D | inttype-example.c | 106 static ssize_t fifo_write(struct file *file, const char __user *buf, in fifo_write() argument 124 static ssize_t fifo_read(struct file *file, char __user *buf, in fifo_read() argument
|
D | record-example.c | 120 static ssize_t fifo_write(struct file *file, const char __user *buf, in fifo_write() argument 138 static ssize_t fifo_read(struct file *file, char __user *buf, in fifo_read() argument
|
D | bytestream-example.c | 113 static ssize_t fifo_write(struct file *file, const char __user *buf, in fifo_write() argument 131 static ssize_t fifo_read(struct file *file, char __user *buf, in fifo_read() argument
|
/samples/qmi/ |
D | qmi_sample_client.c | 301 static ssize_t ping_write(struct file *file, const char __user *user_buf, in ping_write() argument 304 struct qmi_handle *qmi = file->private_data; in ping_write() 368 static ssize_t data_write(struct file *file, const char __user *user_buf, in data_write() argument 372 struct qmi_handle *qmi = file->private_data; in data_write()
|
/samples/pktgen/ |
D | README.rst | 15 The parameters.sh file support easy and consistant parameter parsing 55 The functions.sh file provides; Three different shell functions for
|
/samples/crypto/ |
D | fips140_lab_util.c | 84 assertion_failed(const char *expr, const char *file, int line) in assertion_failed() argument 86 die("Assertion failed: %s at %s:%d", expr, file, line); in assertion_failed()
|