| H A D | bpf.c | 173 const struct bpf_map_create_opts *opts) in bpf_map_create() argument 183 if (!OPTS_VALID(opts, bpf_map_create_opts)) in bpf_map_create() 193 attr.btf_fd = OPTS_GET(opts, btf_fd, 0); in bpf_map_create() 194 attr.btf_key_type_id = OPTS_GET(opts, btf_key_type_id, 0); in bpf_map_create() 195 attr.btf_value_type_id = OPTS_GET(opts, btf_value_type_id, 0); in bpf_map_create() 196 attr.btf_vmlinux_value_type_id = OPTS_GET(opts, btf_vmlinux_value_type_id, 0); in bpf_map_create() 197 attr.value_type_btf_obj_fd = OPTS_GET(opts, value_type_btf_obj_fd, 0); in bpf_map_create() 199 attr.inner_map_fd = OPTS_GET(opts, inner_map_fd, 0); in bpf_map_create() 200 attr.map_flags = OPTS_GET(opts, map_flags, 0); in bpf_map_create() 201 attr.map_extra = OPTS_GET(opts, map_extr in bpf_map_create() 241 bpf_prog_load(enum bpf_prog_type prog_type,const char * prog_name,const char * license,const struct bpf_insn * insns,size_t insn_cnt,struct bpf_prog_load_opts * opts) bpf_prog_load() argument 529 bpf_map_batch_common(int cmd,int fd,void * in_batch,void * out_batch,void * keys,void * values,__u32 * count,const struct bpf_map_batch_opts * opts) bpf_map_batch_common() argument 555 bpf_map_delete_batch(int fd,const void * keys,__u32 * count,const struct bpf_map_batch_opts * opts) bpf_map_delete_batch() argument 563 bpf_map_lookup_batch(int fd,void * in_batch,void * out_batch,void * keys,void * values,__u32 * count,const struct bpf_map_batch_opts * opts) bpf_map_lookup_batch() argument 571 bpf_map_lookup_and_delete_batch(int fd,void * in_batch,void * out_batch,void * keys,void * values,__u32 * count,const struct bpf_map_batch_opts * opts) bpf_map_lookup_and_delete_batch() argument 579 bpf_map_update_batch(int fd,const void * keys,const void * values,__u32 * count,const struct bpf_map_batch_opts * opts) bpf_map_update_batch() argument 585 bpf_obj_pin_opts(int fd,const char * pathname,const struct bpf_obj_pin_opts * opts) bpf_obj_pin_opts() argument 614 bpf_obj_get_opts(const char * pathname,const struct bpf_obj_get_opts * opts) bpf_obj_get_opts() argument 643 bpf_prog_attach_opts(int prog_fd,int target,enum bpf_attach_type type,const struct bpf_prog_attach_opts * opts) bpf_prog_attach_opts() argument 681 bpf_prog_detach_opts(int prog_fd,int target,enum bpf_attach_type type,const struct bpf_prog_detach_opts * opts) bpf_prog_detach_opts() argument 729 bpf_link_create(int prog_fd,int target_fd,enum bpf_attach_type attach_type,const struct bpf_link_create_opts * opts) bpf_link_create() argument 940 bpf_link_update(int link_fd,int new_prog_fd,const struct bpf_link_update_opts * opts) bpf_link_update() argument 979 bpf_prog_query_opts(int target,enum bpf_attach_type type,struct bpf_prog_query_opts * opts) bpf_prog_query_opts() argument 1026 bpf_prog_test_run_opts(int prog_fd,struct bpf_test_run_opts * opts) bpf_prog_test_run_opts() argument 1098 bpf_prog_get_fd_by_id_opts(__u32 id,const struct bpf_get_fd_by_id_opts * opts) bpf_prog_get_fd_by_id_opts() argument 1121 bpf_map_get_fd_by_id_opts(__u32 id,const struct bpf_get_fd_by_id_opts * opts) bpf_map_get_fd_by_id_opts() argument 1144 bpf_btf_get_fd_by_id_opts(__u32 id,const struct bpf_get_fd_by_id_opts * opts) bpf_btf_get_fd_by_id_opts() argument 1168 bpf_link_get_fd_by_id_opts(__u32 id,const struct bpf_get_fd_by_id_opts * opts) bpf_link_get_fd_by_id_opts() argument 1227 bpf_raw_tracepoint_open_opts(int prog_fd,struct bpf_raw_tp_opts * opts) bpf_raw_tracepoint_open_opts() argument 1252 bpf_btf_load(const void * btf_data,size_t btf_size,struct bpf_btf_load_opts * opts) bpf_btf_load() argument 1346 bpf_prog_bind_map(int prog_fd,int map_fd,const struct bpf_prog_bind_opts * opts) bpf_prog_bind_map() argument 1364 bpf_token_create(int bpffs_fd,struct bpf_token_create_opts * opts) bpf_token_create() argument 1382 bpf_prog_stream_read(int prog_fd,__u32 stream_id,void * buf,__u32 buf_len,struct bpf_prog_stream_read_opts * opts) bpf_prog_stream_read() argument [all...] |