Searched refs:st_ops (Results 1 - 8 of 8) sorted by relevance
/linux-master/kernel/bpf/ |
H A D | bpf_struct_ops.c | 314 struct bpf_struct_ops *st_ops = st_ops_desc->st_ops; local 323 if (strlen(st_ops->name) + VALUE_PREFIX_LEN >= 326 st_ops->name); 329 sprintf(value_name, "%s%s", VALUE_PREFIX, st_ops->name); 331 if (!st_ops->cfi_stubs) { 332 pr_warn("struct_ops for %s has no cfi_stubs\n", st_ops->name); 336 type_id = btf_find_by_name_kind(btf, st_ops->name, 340 st_ops->name, btf_get_name(btf)); 346 btf_type_vlen(t), st_ops 592 const struct bpf_struct_ops *st_ops = st_ops_desc->st_ops; local [all...] |
H A D | btf.c | 8859 btf_add_struct_ops(struct btf *btf, struct bpf_struct_ops *st_ops, argument 8876 if (tab->ops[i].st_ops == st_ops) 8891 tab->ops[btf->struct_ops_tab->cnt].st_ops = st_ops; 8946 int __register_bpf_struct_ops(struct bpf_struct_ops *st_ops) argument 8952 btf = btf_get_module_btf(st_ops->owner); 8954 return check_btf_kconfigs(st_ops->owner, "struct_ops"); 8966 err = btf_add_struct_ops(btf, st_ops, log);
|
H A D | verifier.c | 20642 const struct bpf_struct_ops *st_ops; local 20659 /* Make sure st_ops is valid through the lifetime of env */ 20675 st_ops = st_ops_desc->st_ops; 20681 member_idx, st_ops->name); 20691 mname, member_idx, st_ops->name); 20695 if (st_ops->check_member) { 20696 int err = st_ops->check_member(t, member, prog); 20700 mname, st_ops->name); 20713 env->ops = st_ops [all...] |
/linux-master/net/bpf/ |
H A D | bpf_dummy_struct_ops.c | 87 const struct bpf_struct_ops *st_ops = &bpf_bpf_dummy_ops; local 129 &st_ops->func_models[op_idx],
|
/linux-master/arch/s390/include/asm/ |
H A D | pci.h | 72 u64 st_ops; member in struct:zpci_fmb
|
/linux-master/tools/lib/bpf/ |
H A D | libbpf.c | 542 struct bpf_struct_ops *st_ops; member in struct:bpf_map 1064 vlen = btf_vlen(map->st_ops->type); 1066 slot_prog = map->st_ops->progs[k]; 1090 struct bpf_struct_ops *st_ops; local 1097 st_ops = map->st_ops; 1098 type = st_ops->type; 1099 tname = st_ops->tname; 1110 map->name, st_ops->type_id, kern_type_id, kern_vtype_id); 1116 st_ops 1279 struct bpf_struct_ops *st_ops; local 8342 struct bpf_struct_ops *st_ops; local 9602 struct bpf_struct_ops *st_ops; local [all...] |
/linux-master/include/linux/ |
H A D | btf.h | 508 int __register_bpf_struct_ops(struct bpf_struct_ops *st_ops);
|
H A D | bpf.h | 1741 struct bpf_struct_ops *st_ops; member in struct:bpf_struct_ops_desc 1769 #define register_bpf_struct_ops(st_ops, type) \ 1776 __register_bpf_struct_ops(st_ops); \ 1828 #define register_bpf_struct_ops(st_ops, type) ({ (void *)(st_ops); 0; })
|
Completed in 400 milliseconds