Searched refs:func_id (Results 1 - 25 of 99) sorted by last modified time

1234

/linux-master/net/core/
H A Dfilter.c91 bpf_sk_base_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog);
7895 sock_filter_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
7899 func_proto = cgroup_common_func_proto(func_id, prog);
7903 func_proto = cgroup_current_func_proto(func_id, prog);
7907 switch (func_id) {
7919 return bpf_base_func_proto(func_id, prog);
7924 sock_addr_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
7928 func_proto = cgroup_common_func_proto(func_id, prog);
7932 func_proto = cgroup_current_func_proto(func_id, prog);
7936 switch (func_id) {
8017 sk_filter_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
8039 cg_skb_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
8088 tc_cls_act_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
8223 xdp_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
8298 sock_ops_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
8346 sk_msg_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
8388 sk_skb_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
8429 flow_dissector_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
8440 lwt_out_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
8467 lwt_in_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
8478 lwt_xmit_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
8517 lwt_seg6local_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
11278 sk_reuseport_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
11465 sk_lookup_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
11809 bpf_sk_base_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
[all...]
/linux-master/kernel/bpf/
H A Dverifier.c207 u32 func_id, u16 offset, unsigned long *addr);
282 int func_id; member in struct:bpf_call_arg_meta
294 u32 func_id; member in struct:bpf_kfunc_call_arg_meta
466 static bool is_acquire_function(enum bpf_func_id func_id, argument
471 if (func_id == BPF_FUNC_sk_lookup_tcp ||
472 func_id == BPF_FUNC_sk_lookup_udp ||
473 func_id == BPF_FUNC_skc_lookup_tcp ||
474 func_id == BPF_FUNC_ringbuf_reserve ||
475 func_id == BPF_FUNC_kptr_xchg)
478 if (func_id
486 is_ptr_cast_function(enum bpf_func_id func_id) argument
498 is_dynptr_ref_function(enum bpf_func_id func_id) argument
506 is_sync_callback_calling_function(enum bpf_func_id func_id) argument
514 is_async_callback_calling_function(enum bpf_func_id func_id) argument
519 is_callback_calling_function(enum bpf_func_id func_id) argument
546 is_storage_get_function(enum bpf_func_id func_id) argument
554 helper_multiple_ref_obj_use(enum bpf_func_id func_id, const struct bpf_map *map) argument
2564 u32 func_id; member in struct:bpf_kfunc_desc
2609 find_kfunc_desc(const struct bpf_prog *prog, u32 func_id, u16 offset) argument
2622 bpf_get_kfunc_addr(const struct bpf_prog *prog, u32 func_id, u16 btf_fd_idx, u8 **func_addr) argument
2721 add_kfunc_call(struct bpf_verifier_env *env, u32 func_id, s16 offset) argument
8828 may_update_sockmap(struct bpf_verifier_env *env, int func_id) argument
8866 check_map_func_compatibility(struct bpf_verifier_env *env, struct bpf_map *map, int func_id) argument
9193 check_func_proto(const struct bpf_func_proto *fn, int func_id) argument
9945 do_refine_retval_range(struct bpf_verifier_env *env, struct bpf_reg_state *regs, int ret_type, int func_id, struct bpf_call_arg_meta *meta) argument
9984 record_func_map(struct bpf_verifier_env *env, struct bpf_call_arg_meta *meta, int func_id, int insn_idx) argument
10030 record_func_key(struct bpf_verifier_env *env, struct bpf_call_arg_meta *meta, int func_id, int insn_idx) argument
10126 int func_id = BPF_FUNC_get_func_ip; local
10191 int i, err, func_id; local
12055 u32 func_id, *kfunc_flags; local
19407 specialize_kfunc(struct bpf_verifier_env *env, u32 func_id, u16 offset, unsigned long *addr) argument
[all...]
H A Dsyscall.c5861 tracing_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
5863 return bpf_base_func_proto(func_id, prog);
5909 syscall_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
5911 switch (func_id) {
5922 return tracing_prog_func_proto(func_id, prog);
H A Dhelpers.c1686 bpf_base_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
1688 switch (func_id) {
1740 switch (func_id) {
1798 switch (func_id) {
/linux-master/drivers/s390/crypto/
H A Dzcrypt_ep11misc.c425 memcpy(cprb->func_id, "T4", 2);
H A Dzcrypt_ccamisc.c242 memcpy(preqcblk->func_id, "T2", 2);
/linux-master/net/unix/
H A Daf_unix.c3696 bpf_iter_unix_get_func_proto(enum bpf_func_id func_id, argument
3699 switch (func_id) {
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c812 int mlx5_core_enable_hca(struct mlx5_core_dev *dev, u16 func_id) argument
817 MLX5_SET(enable_hca_in, in, function_id, func_id);
823 int mlx5_core_disable_hca(struct mlx5_core_dev *dev, u16 func_id) argument
828 MLX5_SET(disable_hca_in, in, function_id, func_id);
/linux-master/drivers/firmware/arm_ffa/
H A Ddriver.c347 static int ffa_mem_first_frag(u32 func_id, phys_addr_t buf, u32 buf_sz, argument
353 .a0 = func_id, .a1 = len, .a2 = frag_len,
407 ffa_transmit_fragment(u32 func_id, phys_addr_t buf, u32 buf_sz, u32 frag_len, argument
413 return ffa_mem_first_frag(func_id, buf, buf_sz, frag_len, len, handle);
427 static u16 ffa_memory_attributes_get(u32 func_id) argument
433 if (func_id == FFA_FN_NATIVE(MEM_LEND) ||
434 func_id == FFA_MEM_LEND)
441 ffa_setup_and_transmit(u32 func_id, void *buffer, u32 max_fragsize, argument
457 mem_region->attributes = ffa_memory_attributes_get(func_id);
499 rc = ffa_transmit_fragment(func_id, add
527 ffa_memory_ops(u32 func_id, struct ffa_mem_ops_args *args) argument
[all...]
/linux-master/kernel/trace/
H A Dbpf_trace.c1505 bpf_tracing_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
1507 switch (func_id) {
1632 return bpf_base_func_proto(func_id, prog);
1637 kprobe_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
1639 switch (func_id) {
1663 return bpf_tracing_func_proto(func_id, prog);
1763 tp_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
1765 switch (func_id) {
1775 return bpf_tracing_func_proto(func_id, prog);
1867 pe_prog_func_proto(enum bpf_func_id func_id, cons argument
2002 raw_tp_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
2017 tracing_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
[all...]
/linux-master/include/linux/
H A Dbpf.h947 (*get_func_proto)(enum bpf_func_id func_id,
2407 (*bpf_iter_get_func_proto_t)(enum bpf_func_id func_id,
2445 bpf_iter_get_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog);
2596 const struct bpf_func_proto *bpf_base_func_proto(enum bpf_func_id func_id,
2604 int bpf_get_kfunc_addr(const struct bpf_prog *prog, u32 func_id,
2857 bpf_base_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
2879 bpf_get_kfunc_addr(const struct bpf_prog *prog, u32 func_id, argument
2974 void *bpf_dev_bound_resolve_kfunc(struct bpf_prog *prog, u32 func_id);
3020 u32 func_id)
3237 enum bpf_func_id func_id, cons
3019 bpf_dev_bound_resolve_kfunc(struct bpf_prog *prog, u32 func_id) argument
[all...]
H A Dmod_devicetable.h303 __u8 func_id; member in struct:pcmcia_device_id
/linux-master/tools/lib/bpf/
H A Dlibbpf.c7202 static bool insn_is_helper_call(struct bpf_insn *insn, enum bpf_func_id *func_id) argument
7209 *func_id = insn->imm;
7218 enum bpf_func_id func_id; local
7225 if (!insn_is_helper_call(insn, &func_id))
7232 switch (func_id) {
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c1638 static int hclge_map_tqps_to_func(struct hclge_dev *hdev, u16 func_id, argument
1649 req->tqp_vf = func_id;
3807 static int hclge_set_vf_rst(struct hclge_dev *hdev, int func_id, bool reset) argument
3814 req->dest_vfid = func_id;
3950 int hclge_func_reset_cmd(struct hclge_dev *hdev, int func_id) argument
3958 req->fun_reset_vfid = func_id;
7538 u32 func_id; local
7541 func_id = hclge_get_port_number(HOST_PORT, 0, vfid, 0);
7548 req->func_id = cpu_to_le32(func_id);
[all...]
/linux-master/drivers/net/ethernet/broadcom/
H A Dcnic.c5007 data->general.func_id = bp->pfid;
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c3080 storm_memset_func_cfg(bp, &tcfg, p->func_id);
3084 storm_memset_vf_to_pf(bp, p->func_id, p->pf_id);
3085 storm_memset_func_en(bp, p->func_id, 1);
3089 storm_memset_spq_addr(bp, p->spq_map, p->func_id);
3091 XSTORM_SPQ_PROD_OFFSET(p->func_id), p->spq_prod);
3322 func_init.func_id = BP_FUNC(bp);
6176 ramrod_param.func_id = BP_FUNC(bp);
/linux-master/drivers/pcmcia/
H A Dds.c100 __u8 func_id, function, device_no; local
106 &match_flags, &manf_id, &card_id, &func_id, &function, &device_no,
118 dynid->id.func_id = func_id;
401 cistpl_funcid_t func_id; local
420 CISTPL_FUNCID, &func_id)) {
422 p_dev->func_id = func_id.func;
442 p_dev->func_id = CISTPL_FUNCID_MEMORY;
858 if ((!dev->has_func_id) || (dev->func_id !
[all...]
/linux-master/tools/testing/selftests/kvm/aarch64/
H A Dhypercalls.c53 uint32_t func_id; member in struct:test_hvc_info
59 .func_id = f, \
102 smccc_hvc(hc_info->func_id, hc_info->arg1, 0, 0, 0, 0, 0, 0, &res);
108 "a0 = 0x%lx, func_id = 0x%x, arg1 = 0x%lx, stage = %u",
109 res.a0, hc_info->func_id, hc_info->arg1, stage);
113 "a0 = 0x%lx, func_id = 0x%x, arg1 = 0x%lx, stage = %u",
114 res.a0, hc_info->func_id, hc_info->arg1, stage);
/linux-master/drivers/vfio/pci/mlx5/
H A Dcmd.c10 static int mlx5vf_is_migratable(struct mlx5_core_dev *mdev, u16 func_id) argument
20 ret = mlx5_vport_get_other_func_cap(mdev, func_id, query_cap,
/linux-master/arch/arm64/include/asm/
H A Dkvm_hyp.h118 bool kvm_host_psci_handler(struct kvm_cpu_context *host_ctxt, u32 func_id);
/linux-master/scripts/mod/
H A Dfile2alias.c690 DEF_FIELD(symval, pcmcia_device_id, func_id);
705 func_id);
H A Ddevicetable-offsets.c81 DEVID_FIELD(pcmcia_device_id, func_id);
/linux-master/tools/testing/selftests/bpf/
H A Dtest_loader.c178 int func_id, i, err = 0; local
192 func_id = btf__find_by_name_kind(btf, spec->prog_name, BTF_KIND_FUNC);
193 if (func_id < 0) {
208 if (t->type != func_id || btf_decl_tag(t)->component_idx != -1)
/linux-master/tools/testing/selftests/bpf/progs/
H A Dprofiler.inc.h447 enum bpf_function_id func_id)
449 int func_id_key = func_id;
446 bpf_stats_enter(struct bpf_func_stats_ctx* bpf_stat_ctx, enum bpf_function_id func_id) argument
/linux-master/net/netfilter/
H A Dnf_bpf_link.c315 bpf_nf_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) argument
317 return bpf_base_func_proto(func_id, prog);

Completed in 566 milliseconds

1234