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() 165 * fd_array with fd_array_cnt=2. On return three maps are expected to be bound
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 1608 /* The fd_array_cnt can be used to pass the length of the 1614 * then the fd_array[0,...,fd_array_cnt-1] is expected to be 1617 __u32 fd_array_cnt; 1613 __u32 fd_array_cnt; global() member
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 1608 /* The fd_array_cnt can be used to pass the length of the 1614 * then the fd_array[0,...,fd_array_cnt-1] is expected to be 1617 __u32 fd_array_cnt; 1613 __u32 fd_array_cnt; global() member
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 753 size_t fd_array_cnt; member 8645 if (obj->fd_array_cnt == INT16_MAX) { in bpf_object__resolve_ksym_func_btf_id() 8651 if (!obj->fd_array_cnt) in bpf_object__resolve_ksym_func_btf_id() 8652 obj->fd_array_cnt = 1; in bpf_object__resolve_ksym_func_btf_id() 8655 obj->fd_array_cnt + 1); in bpf_object__resolve_ksym_func_btf_id() 8658 mod_btf->fd_array_idx = obj->fd_array_cnt; in bpf_object__resolve_ksym_func_btf_id() 8660 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 | 24677 if (!attr->fd_array_cnt) in process_fd_array() 24681 if (attr->fd_array_cnt >= (U32_MAX / size)) { in process_fd_array() 24682 verbose(env, "fd_array_cnt is too big (%u)\n", attr->fd_array_cnt); in process_fd_array() 24686 for (i = 0; i < attr->fd_array_cnt; i++) { in process_fd_array()
|