Home
last modified time | relevance | path

Searched refs:fd_array (Results 1 – 13 of 13) sorted by relevance

/linux/tools/lib/bpf/
A Dbpf_gen_internal.h44 int fd_array; member
A Dgen_loader.c47 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 Dskel_internal.h89 attr.fd_array = (long) &map_fd; in bpf_load_and_run()
A Dlibbpf_internal.h305 int *fd_array; member
A Dbpf.c301 attr.fd_array = ptr_to_u64(load_attr->fd_array); in libbpf__bpf_prog_load()
A Dlibbpf.c552 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 Dfdtable.h67 struct file __rcu * fd_array[NR_OPEN_DEFAULT]; member
A Dbpf_verifier.h469 bpfptr_t fd_array; member
/linux/fs/
A Dfile.c310 new_fdt->fd = &newf->fd_array[0]; in dup_fd()
444 .fd = &init_files.fd_array[0],
/linux/tools/include/uapi/linux/
A Dbpf.h1346 __aligned_u64 fd_array; /* array of FDs */ member
/linux/include/uapi/linux/
A Dbpf.h1346 __aligned_u64 fd_array; /* array of FDs */ member
/linux/kernel/bpf/
A Dverifier.c1720 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 Dsyscall.c2201 #define BPF_PROG_LOAD_LAST_FIELD fd_array

Completed in 92 milliseconds