Searched defs:idx (Results 1 – 9 of 9) sorted by relevance
/samples/bpf/ |
D | xdp_fwd_user.c | 30 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
|
D | test_current_task_under_cgroup_kern.c | 33 int idx = 0; in bpf_prog1() local
|
D | test_current_task_under_cgroup_user.c | 18 int cg2, idx = 0, rc = 0; in main() local
|
D | xdp_sample_pkts_user.c | 28 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()
|
D | test_cgrp2_sock.c | 30 static int prog_load(__u32 idx, __u32 mark, __u32 prio) in prog_load() 206 __u32 idx = 0, mark = 0, prio = 0; in main() local
|
D | xdpsock_user.c | 315 u32 idx; in xsk_configure_socket() local 532 u32 idx; in complete_tx_only() local 613 u32 idx; in tx_only() local
|
D | map_perf_test_user.c | 395 static void fixup_map(struct bpf_map_data *map, int idx) in fixup_map()
|
/samples/seccomp/ |
D | bpf-helper.h | 66 #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/ |
D | mtty.c | 56 #define CIRCULAR_BUF_INC_IDX(idx) (idx = (idx + 1) & (MAX_FIFO_SIZE - 1)) argument
|