Home
last modified time | relevance | path

Searched refs:file (Results 1 – 21 of 21) sorted by relevance

/samples/v4l/
Dv4l2-pci-skeleton.c301 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/
Dfds_example.c76 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 …]
Dxdp2skb_meta.sh179 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
Dcookie_uid_helper_example.c167 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()
Dxdp1_user.c126 prog_load_attr.file = filename; in main()
Dxdp_fwd_user.c120 prog_load_attr.file = filename; in main()
Dtcp_bpf.readme1 This file describes how to run the tcp_*_kern.o tcp_bpf (or socket_ops)
Dxdp_adjust_tail_user.c151 prog_load_attr.file = filename; in main()
Dxdp_sample_pkts_user.c147 prog_load_attr.file = filename; in main()
Dxdp_tx_iptunnel_user.c262 prog_load_attr.file = filename; in main()
DREADME.rst108 say libelf, providing address to file system containing headers and libs,
Dxdpsock_user.c485 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()
Dxdp_rxq_info_user.c474 prog_load_attr.file = filename; in main()
Dxdp_router_ipv4_user.c641 prog_load_attr.file = filename; in main()
DMakefile372 $(Q)$(BPFTOOL) btf dump file $(VMLINUX_BTF) format c > $@
/samples/kfifo/
Dinttype-example.c106 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
Drecord-example.c120 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
Dbytestream-example.c113 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/
Dqmi_sample_client.c301 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/
DREADME.rst15 The parameters.sh file support easy and consistant parameter parsing
55 The functions.sh file provides; Three different shell functions for
/samples/crypto/
Dfips140_lab_util.c84 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()