Searched refs:fd_array_cnt (Results 1 – 9 of 9) 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()
|
| H A D | signed_loader.c | 39 __u32 fd_array_cnt) in load_loader() argument 56 attr.fd_array_cnt = fd_array_cnt; in load_loader() 102 attr.fd_array_cnt = 1; in run_gen_loader() 504 attr.fd_array_cnt = 2; in signed_btf_fd_array_rejected() 1401 attr.fd_array_cnt = 1; in loadtime_drive() 1701 attr.fd_array_cnt = 0; /* sparse: force lazy map resolution */ in signed_sparse_fd_array_rejected() 1761 attr.fd_array_cnt = 0; /* sparse: force lazy kfunc BTF resolution */ in signed_module_kfunc_rejected()
|
| /linux/Documentation/bpf/ |
| H A D | signing.rst | 133 set, the metadata map referenced through ``fd_array``, and ``fd_array_cnt`` 153 - **No bound maps** (``fd_array_cnt == 0``): there is nothing to append, so the 158 - **Exclusive bound maps** (``fd_array_cnt > 0``): every entry is exclusive and 475 ``fd_array``, ``fd_array_cnt`` 477 ``fd_array_cnt`` must be set for the kernel to scan the array. When a
|
| /linux/tools/lib/bpf/ |
| H A D | skel_internal.h | 395 attr.fd_array_cnt = 1; in bpf_load_and_run()
|
| H A D | libbpf.c | 762 size_t fd_array_cnt; member 8847 if (obj->fd_array_cnt == INT16_MAX) { in bpf_object__resolve_ksym_func_btf_id() 8853 if (!obj->fd_array_cnt) in bpf_object__resolve_ksym_func_btf_id() 8854 obj->fd_array_cnt = 1; in bpf_object__resolve_ksym_func_btf_id() 8857 obj->fd_array_cnt + 1); in bpf_object__resolve_ksym_func_btf_id() 8860 mod_btf->fd_array_idx = obj->fd_array_cnt; in bpf_object__resolve_ksym_func_btf_id() 8862 obj->fd_array[obj->fd_array_cnt++] = mod_btf->fd; in bpf_object__resolve_ksym_func_btf_id() 10026 attr.fd_array_cnt = OPTS_GET(opts, fd_array_cnt, 0) ?: obj->fd_array_cnt; in bpf_program__clone()
|
| /linux/include/linux/ |
| H A D | bpf_verifier.h | 1022 u32 fd_array_cnt; member
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 1661 __u32 fd_array_cnt; member
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 1661 __u32 fd_array_cnt; member
|
| /linux/kernel/bpf/ |
| H A D | verifier.c | 2565 if (idx >= env->fd_array_cnt) { in fd_array_get_btf_continuous() 2566 verbose(env, "kfunc fd_idx %u out of bounds, fd_array_cnt %u\n", in fd_array_get_btf_continuous() 2567 idx, env->fd_array_cnt); in fd_array_get_btf_continuous() 19011 if (idx >= env->fd_array_cnt) { in fd_array_get_map_idx_continuous() 19012 verbose(env, "fd_idx %u out of bounds, fd_array_cnt %u\n", in fd_array_get_map_idx_continuous() 19013 idx, env->fd_array_cnt); in fd_array_get_map_idx_continuous() 19039 verbose(env, "signed program must bind maps via a continuous fd_array (fd_array_cnt)\n"); in fd_array_get_map_idx() 20715 * The add_fd_from_fd_array() is executed only if fd_array_cnt is non-zero. In in add_fd_from_fd_array() 20773 env->fd_array_cnt = cnt; in process_fd_array_continuous() 20791 if (attr->fd_array_cnt) { in process_fd_array() [all...] |