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 8840 if (obj->fd_array_cnt == INT16_MAX) { in bpf_object__resolve_ksym_func_btf_id() 8846 if (!obj->fd_array_cnt) in bpf_object__resolve_ksym_func_btf_id() 8847 obj->fd_array_cnt = 1; in bpf_object__resolve_ksym_func_btf_id() 8850 obj->fd_array_cnt + 1); in bpf_object__resolve_ksym_func_btf_id() 8853 mod_btf->fd_array_idx = obj->fd_array_cnt; in bpf_object__resolve_ksym_func_btf_id() 8855 obj->fd_array[obj->fd_array_cnt++] = mod_btf->fd; in bpf_object__resolve_ksym_func_btf_id() 10019 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 | 1018 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 | 2554 if (idx >= env->fd_array_cnt) { in fd_array_get_btf_continuous() 2556 idx, env->fd_array_cnt); in fd_array_get_btf_continuous() 18787 if (idx >= env->fd_array_cnt) { in fd_array_get_map_idx_continuous() 18789 idx, env->fd_array_cnt); in fd_array_get_map_idx_continuous() 20543 env->fd_array_cnt = cnt; in process_fd_array_continuous() 20561 if (attr->fd_array_cnt) { in process_fd_array() 20563 attr->fd_array_cnt); in process_fd_array() 20573 if (attr->fd_array_cnt) in process_fd_array() 20575 attr->fd_array_cnt); in process_fd_array()
|