Searched refs:fd_array (Results 1 – 13 of 13) sorted by relevance
/linux/tools/lib/bpf/ |
A D | bpf_gen_internal.h | 44 int fd_array; member
|
A D | gen_loader.c | 47 return gen->fd_array + index * sizeof(int); in blob_fd_array_off() 118 gen->fd_array = add_data(gen, NULL, MAX_FD_ARRAY_SZ * sizeof(int)); in bpf_gen__init() 194 return (cur - gen->fd_array) / sizeof(int); in add_kfunc_btf_fd() 918 int attr_size = offsetofend(union bpf_attr, fd_array); in bpf_gen__prog_load() 966 emit_rel_store(gen, attr_field(prog_load_attr, fd_array), gen->fd_array); in bpf_gen__prog_load()
|
A D | skel_internal.h | 89 attr.fd_array = (long) &map_fd; in bpf_load_and_run()
|
A D | libbpf_internal.h | 305 int *fd_array; member
|
A D | bpf.c | 301 attr.fd_array = ptr_to_u64(load_attr->fd_array); in libbpf__bpf_prog_load()
|
A D | libbpf.c | 552 int *fd_array; member 6465 load_attr.fd_array = obj->fd_array; in load_program() 7112 ret = libbpf_ensure_mem((void **)&obj->fd_array, &obj->fd_array_cap, sizeof(int), in bpf_object__resolve_ksym_func_btf_id() 7118 obj->fd_array[obj->fd_array_cnt++] = mod_btf->fd; in bpf_object__resolve_ksym_func_btf_id() 7284 zfree(&obj->fd_array); in bpf_object__load_xattr()
|
/linux/include/linux/ |
A D | fdtable.h | 67 struct file __rcu * fd_array[NR_OPEN_DEFAULT]; member
|
A D | bpf_verifier.h | 469 bpfptr_t fd_array; member
|
/linux/fs/ |
A D | file.c | 310 new_fdt->fd = &newf->fd_array[0]; in dup_fd() 444 .fd = &init_files.fd_array[0],
|
/linux/tools/include/uapi/linux/ |
A D | bpf.h | 1346 __aligned_u64 fd_array; /* array of FDs */ member
|
/linux/include/uapi/linux/ |
A D | bpf.h | 1346 __aligned_u64 fd_array; /* array of FDs */ member
|
/linux/kernel/bpf/ |
A D | verifier.c | 1720 if (bpfptr_is_null(env->fd_array)) { in __find_kfunc_desc_btf() 1725 if (copy_from_bpfptr_offset(&btf_fd, env->fd_array, in __find_kfunc_desc_btf() 11796 if (bpfptr_is_null(env->fd_array)) { in resolve_pseudo_ldimm64() 11800 if (copy_from_bpfptr_offset(&fd, env->fd_array, in resolve_pseudo_ldimm64() 13946 env->fd_array = make_bpfptr(attr->fd_array, uattr.is_kernel); in bpf_check()
|
A D | syscall.c | 2201 #define BPF_PROG_LOAD_LAST_FIELD fd_array
|
Completed in 92 milliseconds