Home
last modified time | relevance | path

Searched defs:idx (Results 1 – 9 of 9) sorted by relevance

/samples/bpf/
Dxdp_fwd_user.c30 static int do_attach(int idx, int prog_fd, int map_fd, const char *name) in do_attach()
48 static int do_detach(int idx, const char *name) in do_detach()
82 int opt, i, idx, err; in main() local
Dtest_current_task_under_cgroup_kern.c33 int idx = 0; in bpf_prog1() local
Dtest_current_task_under_cgroup_user.c18 int cg2, idx = 0, rc = 0; in main() local
Dxdp_sample_pkts_user.c28 static int do_attach(int idx, int fd, const char *name) in do_attach()
50 static int do_detach(int idx, const char *name) in do_detach()
Dtest_cgrp2_sock.c30 static int prog_load(__u32 idx, __u32 mark, __u32 prio) in prog_load()
206 __u32 idx = 0, mark = 0, prio = 0; in main() local
Dxdpsock_user.c315 u32 idx; in xsk_configure_socket() local
532 u32 idx; in complete_tx_only() local
613 u32 idx; in tx_only() local
Dmap_perf_test_user.c395 static void fixup_map(struct bpf_map_data *map, int idx) in fixup_map()
/samples/seccomp/
Dbpf-helper.h66 #define LO_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) argument
68 #define LO_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) + sizeof(__u32) argument
90 #define HI_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) + sizeof(__u32) argument
93 #define HI_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) argument
139 #define ARG_32(idx) \ argument
143 #define ARG_64(idx) \ argument
/samples/vfio-mdev/
Dmtty.c56 #define CIRCULAR_BUF_INC_IDX(idx) (idx = (idx + 1) & (MAX_FIFO_SIZE - 1)) argument