Searched refs:fd_array_cnt (Results 1 – 5 of 5) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | fd_array.c | 98 static int __load_test_prog(int map_fd, const int *fd_array, int fd_array_cnt) in __load_test_prog() argument 113 opts.fd_array_cnt = fd_array_cnt; in __load_test_prog() 118 static int load_test_prog(const int *fd_array, int fd_array_cnt) in load_test_prog() argument 127 ret = __load_test_prog(map_fd, fd_array, fd_array_cnt); in load_test_prog()
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 1630 /* The fd_array_cnt can be used to pass the length of the 1636 * then the fd_array[0,...,fd_array_cnt-1] is expected to be 1639 __u32 fd_array_cnt; 1613 __u32 fd_array_cnt; global() member
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 1630 /* The fd_array_cnt can be used to pass the length of the 1636 * then the fd_array[0,...,fd_array_cnt-1] is expected to be 1639 __u32 fd_array_cnt; 1613 __u32 fd_array_cnt; global() member
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 754 size_t fd_array_cnt; member 8661 if (obj->fd_array_cnt == INT16_MAX) { in bpf_object__resolve_ksym_func_btf_id() 8667 if (!obj->fd_array_cnt) in bpf_object__resolve_ksym_func_btf_id() 8668 obj->fd_array_cnt = 1; in bpf_object__resolve_ksym_func_btf_id() 8671 obj->fd_array_cnt + 1); in bpf_object__resolve_ksym_func_btf_id() 8674 mod_btf->fd_array_idx = obj->fd_array_cnt; in bpf_object__resolve_ksym_func_btf_id() 8676 obj->fd_array[obj->fd_array_cnt++] = mod_btf->fd; in bpf_object__resolve_ksym_func_btf_id()
|
| /linux/kernel/bpf/ |
| H A D | verifier.c | 25463 if (!attr->fd_array_cnt) in process_fd_array() 25467 if (attr->fd_array_cnt >= (U32_MAX / size)) { in process_fd_array() 25468 verbose(env, "fd_array_cnt is too big (%u)\n", attr->fd_array_cnt); in process_fd_array() 25472 for (i = 0; i < attr->fd_array_cnt; i++) { in process_fd_array()
|