Searched refs:prg_attr (Results 1 – 1 of 1) sorted by relevance
4092 struct bpf_load_program_attr prg_attr; in probe_kern_global_data() local4120 memset(&prg_attr, 0, sizeof(prg_attr)); in probe_kern_global_data()4121 prg_attr.prog_type = BPF_PROG_TYPE_SOCKET_FILTER; in probe_kern_global_data()4122 prg_attr.insns = insns; in probe_kern_global_data()4123 prg_attr.insns_cnt = ARRAY_SIZE(insns); in probe_kern_global_data()4124 prg_attr.license = "GPL"; in probe_kern_global_data()4126 ret = bpf_load_program_xattr(&prg_attr, NULL, 0); in probe_kern_global_data()4269 struct bpf_load_program_attr prg_attr; in probe_prog_bind_map() local4293 memset(&prg_attr, 0, sizeof(prg_attr)); in probe_prog_bind_map()4294 prg_attr.prog_type = BPF_PROG_TYPE_SOCKET_FILTER; in probe_prog_bind_map()[all …]