Home
last modified time | relevance | path

Searched refs:prog (Results 1 – 113 of 113) sorted by relevance

/linux-4.1.27/net/sched/
Dcls_bpf.c66 struct cls_bpf_prog *prog; in cls_bpf_classify() local
74 list_for_each_entry_rcu(prog, &head->plist, link) { in cls_bpf_classify()
75 int filter_res = BPF_PROG_RUN(prog->filter, skb); in cls_bpf_classify()
80 *res = prog->res; in cls_bpf_classify()
84 ret = tcf_exts_exec(skb, &prog->exts, res); in cls_bpf_classify()
95 static bool cls_bpf_is_ebpf(const struct cls_bpf_prog *prog) in cls_bpf_is_ebpf() argument
97 return !prog->bpf_ops; in cls_bpf_is_ebpf()
114 static void cls_bpf_delete_prog(struct tcf_proto *tp, struct cls_bpf_prog *prog) in cls_bpf_delete_prog() argument
116 tcf_exts_destroy(&prog->exts); in cls_bpf_delete_prog()
118 if (cls_bpf_is_ebpf(prog)) in cls_bpf_delete_prog()
[all …]
Dact_bpf.c39 struct tcf_bpf *prog = act->priv; in tcf_bpf() local
45 spin_lock(&prog->tcf_lock); in tcf_bpf()
47 prog->tcf_tm.lastuse = jiffies; in tcf_bpf()
48 bstats_update(&prog->tcf_bstats, skb); in tcf_bpf()
52 filter_res = BPF_PROG_RUN(prog->filter, skb); in tcf_bpf()
73 prog->tcf_qstats.drops++; in tcf_bpf()
76 action = prog->tcf_action; in tcf_bpf()
83 spin_unlock(&prog->tcf_lock); in tcf_bpf()
87 static bool tcf_bpf_is_ebpf(const struct tcf_bpf *prog) in tcf_bpf_is_ebpf() argument
89 return !prog->bpf_ops; in tcf_bpf_is_ebpf()
[all …]
/linux-4.1.27/drivers/clk/at91/
Dclk-programmable.c48 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_recalc_rate() local
49 struct at91_pmc *pmc = prog->pmc; in clk_programmable_recalc_rate()
50 const struct clk_programmable_layout *layout = prog->layout; in clk_programmable_recalc_rate()
52 pres = (pmc_read(pmc, AT91_PMC_PCKR(prog->id)) >> layout->pres_shift) & in clk_programmable_recalc_rate()
101 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_set_parent() local
102 const struct clk_programmable_layout *layout = prog->layout; in clk_programmable_set_parent()
103 struct at91_pmc *pmc = prog->pmc; in clk_programmable_set_parent()
104 u32 tmp = pmc_read(pmc, AT91_PMC_PCKR(prog->id)) & ~layout->css_mask; in clk_programmable_set_parent()
118 pmc_write(pmc, AT91_PMC_PCKR(prog->id), tmp | index); in clk_programmable_set_parent()
126 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_get_parent() local
[all …]
/linux-4.1.27/kernel/bpf/
Dsyscall.c351 static int find_prog_type(enum bpf_prog_type type, struct bpf_prog *prog) in find_prog_type() argument
357 prog->aux->ops = tl->ops; in find_prog_type()
358 prog->type = type; in find_prog_type()
380 static void fixup_bpf_calls(struct bpf_prog *prog) in fixup_bpf_calls() argument
385 for (i = 0; i < prog->len; i++) { in fixup_bpf_calls()
386 struct bpf_insn *insn = &prog->insnsi[i]; in fixup_bpf_calls()
393 BUG_ON(!prog->aux->ops->get_func_proto); in fixup_bpf_calls()
395 fn = prog->aux->ops->get_func_proto(insn->imm); in fixup_bpf_calls()
416 void bpf_prog_put(struct bpf_prog *prog) in bpf_prog_put() argument
418 if (atomic_dec_and_test(&prog->aux->refcnt)) { in bpf_prog_put()
[all …]
Dverifier.c195 struct bpf_prog *prog; /* eBPF program being verified */ member
630 if (env->prog->aux->ops->is_valid_access && in check_ctx_access()
631 env->prog->aux->ops->is_valid_access(off, size, t)) in check_ctx_access()
851 if (env->prog->aux->ops->get_func_proto) in check_call()
852 fn = env->prog->aux->ops->get_func_proto(func_id); in check_call()
860 if (!env->prog->gpl_compatible && fn->gpl_only) { in check_call()
1224 if (!may_access_skb(env->prog->type)) { in check_ld_abs()
1325 if (w < 0 || w >= env->prog->len) { in push_insn()
1338 if (cur_stack >= env->prog->len) in push_insn()
1360 struct bpf_insn *insns = env->prog->insnsi; in check_cfg()
[all …]
Dcore.c618 void __weak bpf_int_jit_compile(struct bpf_prog *prog) in bpf_int_jit_compile() argument
645 bpf_jit_free(aux->prog); in bpf_prog_free_deferred()
654 aux->prog = fp; in bpf_prog_free()
/linux-4.1.27/arch/sparc/net/
Dbpf_jit_comp.c136 *prog++ = SETHI(0, G0); \
141 *prog++ = SUB | RS1(G0) | RS2(r_A) | RD(r_A); \
146 *prog++ = OR | RS1(G0) | RS2(FROM) | RD(TO); \
151 *prog++ = OR | RS1(G0) | RS2(G0) | RD(REG); \
156 *prog++ = SETHI(K, REG); \
158 *prog++ = OR_LO(K, REG); \
168 *prog++ = OPCODE | RS1(r_A) | RS2(r_X) | RD(r_A); \
191 *prog++ = _insn | IMMED | S13(K); \
194 *prog++ = _insn | RS2(r_TMP); \
203 *prog++ = OR | IMMED | RS1(G0) | S13(K) | RD(DEST); \
[all …]
/linux-4.1.27/net/core/
Dfilter.c358 int bpf_convert_filter(struct sock_filter *prog, int len, in bpf_convert_filter() argument
381 fp = prog; in bpf_convert_filter()
866 static void __bpf_prog_release(struct bpf_prog *prog) in __bpf_prog_release() argument
868 if (prog->type == BPF_PROG_TYPE_SOCKET_FILTER) { in __bpf_prog_release()
869 bpf_prog_put(prog); in __bpf_prog_release()
871 bpf_release_orig_filter(prog); in __bpf_prog_release()
872 bpf_prog_free(prog); in __bpf_prog_release()
878 __bpf_prog_release(fp->prog); in __sk_filter_release()
907 u32 filter_size = bpf_prog_size(fp->prog->len); in sk_filter_uncharge()
918 u32 filter_size = bpf_prog_size(fp->prog->len); in sk_filter_charge()
[all …]
Dsock_diag.c88 fprog = filter->prog->orig_prog; in sock_diag_put_filterinfo()
/linux-4.1.27/arch/x86/tools/
Dinsn_sanity.c47 static const char *prog; /* Program name */ variable
58 fprintf(stderr, "%s: Error: %s\n\n", prog, err); in usage()
59 fprintf(stderr, "Usage: %s [-y|-n|-v] [-s seed[,no]] [-m max] [-i input]\n", prog); in usage()
113 fprintf(fp, " | %s -i -\n", prog); in dump_stream()
118 fprintf(fp, " $ %s -s 0x%x,%lu\n", prog, seed, nr_iter); in dump_stream()
181 prog = argv[0]; in parse_args()
273 prog, in main()
Dtest_get_len.c39 const char *prog; variable
46 " %s [-y|-n] [-v]\n", prog); in usage()
55 fprintf(stderr, "%s: malformed line %d:\n%s", prog, line_nr, line); in malformed_line()
91 prog = argv[0]; in parse_args()
157 prog, sym); in main()
/linux-4.1.27/net/sunrpc/
Dsvc.c425 __svc_create(struct svc_program *prog, unsigned int bufsize, int npools, in __svc_create() argument
435 serv->sv_name = prog->pg_name; in __svc_create()
436 serv->sv_program = prog; in __svc_create()
438 serv->sv_stats = prog->pg_stats; in __svc_create()
445 while (prog) { in __svc_create()
446 prog->pg_lovers = prog->pg_nvers-1; in __svc_create()
447 for (vers=0; vers<prog->pg_nvers ; vers++) in __svc_create()
448 if (prog->pg_vers[vers]) { in __svc_create()
449 prog->pg_hivers = vers; in __svc_create()
450 if (prog->pg_lovers > vers) in __svc_create()
[all …]
Dstats.c36 const struct rpc_program *prog = statp->program; in rpc_proc_show() local
51 for (i = 0; i < prog->nrvers; i++) { in rpc_proc_show()
52 const struct rpc_version *vers = prog->version[i]; in rpc_proc_show()
82 const struct svc_program *prog = statp->program; in svc_seq_show() local
101 for (i = 0; i < prog->pg_nvers; i++) { in svc_seq_show()
102 if (!(vers = prog->pg_vers[i]) || !(proc = vers->vs_proc)) in svc_seq_show()
Drpcb_clnt.c445 int rpcb_register(struct net *net, u32 prog, u32 vers, int prot, unsigned short port) in rpcb_register() argument
448 .r_prog = prog, in rpcb_register()
461 prog, vers, prot, port); in rpcb_register()
/linux-4.1.27/arch/arm64/net/
Dbpf_jit_comp.c60 const struct bpf_prog *prog; member
223 const int i = insn - ctx->prog->insnsi; in build_insn()
504 if (i == ctx->prog->len - 1) in build_insn()
672 const struct bpf_prog *prog = ctx->prog; in build_body() local
675 for (i = 0; i < prog->len; i++) { in build_body()
676 const struct bpf_insn *insn = &prog->insnsi[i]; in build_body()
700 void bpf_jit_compile(struct bpf_prog *prog) in bpf_jit_compile() argument
705 void bpf_int_jit_compile(struct bpf_prog *prog) in bpf_int_jit_compile() argument
715 if (!prog || !prog->len) in bpf_int_jit_compile()
719 ctx.prog = prog; in bpf_int_jit_compile()
[all …]
/linux-4.1.27/samples/bpf/
Dsock_example.c43 struct bpf_insn prog[] = { in test_sock() local
58 prog_fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, prog, sizeof(prog), in test_sock()
Dbpf_load.c33 static int load_and_attach(const char *event, struct bpf_insn *prog, int size) in load_and_attach() argument
74 fd = bpf_prog_load(prog_type, prog, size, license, kern_version); in load_and_attach()
Dtest_verifier.c777 struct bpf_insn *prog = tests[i].insns; in test() local
778 int prog_len = probe_filter_length(prog); in test()
786 prog[*fixup].imm = map_fd; in test()
792 prog_fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, prog, in test()
/linux-4.1.27/kernel/
Dseccomp.c60 struct bpf_prog *prog; member
199 u32 cur_ret = BPF_PROG_RUN(f->prog, (void *)sd); in seccomp_run_filters()
402 filter->prog = bpf_prog_alloc(bpf_prog_size(new_len), __GFP_NOWARN); in seccomp_prepare_filter()
403 if (!filter->prog) in seccomp_prepare_filter()
406 ret = bpf_convert_filter(fp, fprog->len, filter->prog->insnsi, &new_len); in seccomp_prepare_filter()
412 filter->prog->len = new_len; in seccomp_prepare_filter()
414 bpf_prog_select_runtime(filter->prog); in seccomp_prepare_filter()
419 __bpf_prog_free(filter->prog); in seccomp_prepare_filter()
473 total_insns = filter->prog->len; in seccomp_attach_filter()
475 total_insns += walker->prog->len + 4; /* 4 instr penalty */ in seccomp_attach_filter()
[all …]
/linux-4.1.27/arch/x86/net/
Dbpf_jit_comp.c40 #define EMIT(bytes, len) do { prog = emit_code(prog, bytes, len); } while (0)
199 u8 *prog = temp; in do_jit() local
916 ilen = prog - temp; in do_jit()
931 prog = temp; in do_jit()
936 void bpf_jit_compile(struct bpf_prog *prog) in bpf_jit_compile() argument
940 void bpf_int_jit_compile(struct bpf_prog *prog) in bpf_int_jit_compile() argument
953 if (!prog || !prog->len) in bpf_int_jit_compile()
956 addrs = kmalloc(prog->len * sizeof(*addrs), GFP_KERNEL); in bpf_int_jit_compile()
963 for (proglen = 0, i = 0; i < prog->len; i++) { in bpf_int_jit_compile()
975 proglen = do_jit(prog, addrs, image, oldproglen, &ctx); in bpf_int_jit_compile()
[all …]
/linux-4.1.27/sound/drivers/opl3/
Dopl3_synth.c213 err = snd_opl3_load_patch(opl3, inst.prog, inst.bank, type, in snd_opl3_write()
252 int prog, int bank, int type, in snd_opl3_load_patch() argument
260 patch = snd_opl3_find_patch(opl3, prog, bank, 1); in snd_opl3_load_patch()
314 struct fm_patch *snd_opl3_find_patch(struct snd_opl3 *opl3, int prog, int bank, in snd_opl3_find_patch() argument
318 unsigned int key = (prog + bank) % OPL3_PATCH_HASH_SIZE; in snd_opl3_find_patch()
322 if (patch->prog == prog && patch->bank == bank) in snd_opl3_find_patch()
331 patch->prog = prog; in snd_opl3_find_patch()
/linux-4.1.27/include/linux/
Dbpf.h125 struct bpf_prog *prog; member
134 void bpf_prog_put(struct bpf_prog *prog);
151 static inline void bpf_prog_put(struct bpf_prog *prog) in bpf_prog_put() argument
Dfilter.h288 (*filter->prog->bpf_func)(ctx, filter->prog->insnsi)
328 struct bpf_prog *prog; member
366 int bpf_convert_filter(struct sock_filter *prog, int len,
Dftrace_event.h310 struct bpf_prog *prog; member
557 unsigned int trace_call_bpf(struct bpf_prog *prog, void *ctx);
559 static inline unsigned int trace_call_bpf(struct bpf_prog *prog, void *ctx) in trace_call_bpf() argument
/linux-4.1.27/samples/seccomp/
Ddropper.c41 struct sock_fprog prog = { in install_filter() local
45 if (prctl(PR_SET_SECCOMP, 2, &prog)) { in install_filter()
Dbpf-fancy.c80 struct sock_fprog prog = { in main() local
92 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog)) { in main()
Dbpf-direct.c144 struct sock_fprog prog = { in install_filter() local
155 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog)) { in install_filter()
/linux-4.1.27/tools/perf/util/
Dvdso.c177 static int vdso__copy_compat(const char *prog, int fd) in vdso__copy_compat() argument
182 f = popen(prog, "r"); in vdso__copy_compat()
194 static int vdso__create_compat_file(const char *prog, char *temp_name) in vdso__create_compat_file() argument
202 err = vdso__copy_compat(prog, fd); in vdso__create_compat_file()
Dordered-events.c192 struct ui_progress prog; in __ordered_events__flush() local
199 ui_progress__init(&prog, oe->nr_events, "Processing time ordered events..."); in __ordered_events__flush()
215 ui_progress__update(&prog, 1); in __ordered_events__flush()
Dhist.h124 void hists__output_resort(struct hists *hists, struct ui_progress *prog);
125 void hists__collapse_resort(struct hists *hists, struct ui_progress *prog);
Dhist.c1019 void hists__collapse_resort(struct hists *hists, struct ui_progress *prog) in hists__collapse_resort() argument
1049 if (prog) in hists__collapse_resort()
1050 ui_progress__update(prog, 1); in hists__collapse_resort()
1126 void hists__output_resort(struct hists *hists, struct ui_progress *prog) in hists__output_resort() argument
1156 if (prog) in hists__output_resort()
1157 ui_progress__update(prog, 1); in hists__output_resort()
Dsession.c1318 struct ui_progress prog; in __perf_session__process_events() local
1330 ui_progress__init(&prog, file_size, "Processing events..."); in __perf_session__process_events()
1394 ui_progress__update(&prog, size); in __perf_session__process_events()
/linux-4.1.27/drivers/scsi/aic94xx/
Daic94xx_seq.c196 const u32 *prog = (u32 *) _prog; in asd_verify_cseq() local
199 for (i = 0; i < size; i += 4, prog++, addr += 4) { in asd_verify_cseq()
202 if (le32_to_cpu(*prog) != val) { in asd_verify_cseq()
206 i, val, le32_to_cpu(*prog)); in asd_verify_cseq()
232 const u32 *prog = (u32 *) _prog; in asd_verify_lseq() local
240 i += 4, prog++, size-=4) { in asd_verify_lseq()
244 if (le32_to_cpu(*prog) != val) { in asd_verify_lseq()
254 (int)((u8 *)prog-_prog)); in asd_verify_lseq()
267 static int asd_verify_seq(struct asd_ha_struct *asd_ha, const u8 *prog, in asd_verify_seq() argument
271 return asd_verify_cseq(asd_ha, prog, size); in asd_verify_seq()
[all …]
/linux-4.1.27/include/sound/
Dopl3.h271 unsigned char prog; member
381 int prog, int bank, int type,
385 struct fm_patch *snd_opl3_find_patch(struct snd_opl3 *opl3, int prog, int bank,
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dnv04.c72 priv->base.tile.prog = impl->tile.prog; in nv04_fb_ctor()
Dnv4e.c42 .tile.prog = nv44_fb_tile_prog,
Dnv1a.c42 .tile.prog = nv10_fb_tile_prog,
Dnv47.c43 .tile.prog = nv41_fb_tile_prog,
Dnv49.c43 .tile.prog = nv41_fb_tile_prog,
Dnv46.c56 .tile.prog = nv44_fb_tile_prog,
Dramnv44.c50 ram->base.prog = nv40_ram_prog; in nv44_ram_create()
Dnv25.c59 .tile.prog = nv20_fb_tile_prog,
Dnv41.c67 .tile.prog = nv41_fb_tile_prog,
Dramnv49.c52 ram->base.prog = nv40_ram_prog; in nv49_ram_create()
Dnv36.c60 .tile.prog = nv20_fb_tile_prog,
Dramnv41.c52 ram->base.prog = nv40_ram_prog; in nv41_ram_create()
Dnv35.c60 .tile.prog = nv20_fb_tile_prog,
Dnv10.c69 .tile.prog = nv10_fb_tile_prog,
Dnv40.c74 .tile.prog = nv20_fb_tile_prog,
Dnv44.c76 .tile.prog = nv44_fb_tile_prog,
Dnv04.h23 void (*prog)(struct nvkm_fb *, int i, member
Dnv20.c93 .tile.prog = nv20_fb_tile_prog,
Dbase.c84 pfb->tile.prog(pfb, i, &pfb->tile.region[i]); in _nvkm_fb_init()
Dnv30.c139 .tile.prog = nv20_fb_tile_prog,
Dramnv40.c197 ram->base.prog = nv40_ram_prog; in nv40_ram_create()
Dramnv50.c417 ram->base.prog = nv50_ram_prog; in nv50_ram_ctor()
Dramgf100.c653 ram->base.prog = gf100_ram_prog; in gf100_ram_ctor()
Dramgt215.c938 ram->base.prog = gt215_ram_prog; in gt215_ram_ctor()
Dramgk104.c1467 ram->base.prog = gk104_ram_prog; in gk104_ram_ctor()
/linux-4.1.27/arch/mips/net/
Dbpf_jit.c740 const struct bpf_prog *prog = ctx->skf; in build_body() local
745 for (i = 0; i < prog->len; i++) { in build_body()
748 inst = &(prog->insns[i]); in build_body()
799 b_imm(prog->len, ctx), ctx); in build_body()
828 emit_b(b_imm(prog->len, ctx), ctx); in build_body()
896 emit_b(b_imm(prog->len, ctx), ctx); in build_body()
970 b_imm(prog->len, ctx), ctx); in build_body()
979 b_imm(prog->len, ctx), ctx); in build_body()
1170 if (i != prog->len - 1) in build_body()
1175 emit_b(b_imm(prog->len, ctx), ctx); in build_body()
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dfb.h66 void (*prog)(struct nvkm_fb *, int i, struct nvkm_fb_tile *); member
143 int (*prog)(struct nvkm_fb *); member
Dclk.h99 int (*prog)(struct nvkm_clk *); member
/linux-4.1.27/kernel/trace/
Dbpf_trace.c32 unsigned int trace_call_bpf(struct bpf_prog *prog, void *ctx) in trace_call_bpf() argument
53 ret = BPF_PROG_RUN(prog, ctx); in trace_call_bpf()
Dtrace_kprobe.c1138 struct bpf_prog *prog = call->prog; in kprobe_perf_func() local
1144 if (prog && !trace_call_bpf(prog, regs)) in kprobe_perf_func()
1173 struct bpf_prog *prog = call->prog; in kretprobe_perf_func() local
1179 if (prog && !trace_call_bpf(prog, regs)) in kretprobe_perf_func()
/linux-4.1.27/tools/perf/
Dbuiltin-report.c423 struct ui_progress prog; in report__collapse_hists() local
426 ui_progress__init(&prog, rep->nr_entries, "Merging related events..."); in report__collapse_hists()
434 hists__collapse_resort(hists, &prog); in report__collapse_hists()
451 struct ui_progress prog; in report__output_resort() local
454 ui_progress__init(&prog, rep->nr_entries, "Sorting events for output..."); in report__output_resort()
457 hists__output_resort(evsel__hists(pos), &prog); in report__output_resort()
/linux-4.1.27/drivers/parisc/
Dsuperio.c439 u8 prog; in superio_fixup_pci() local
444 pci_read_config_byte(pdev, PCI_CLASS_PROG, &prog); in superio_fixup_pci()
445 printk("PCI: Enabled native mode for NS87415 (pif=0x%x)\n", prog); in superio_fixup_pci()
/linux-4.1.27/Documentation/spi/
Dspidev_test.c140 static void print_usage(const char *prog) in print_usage() argument
142 printf("Usage: %s [-DsbdlHOLC3]\n", prog); in print_usage()
/linux-4.1.27/scripts/
Dgen_initramfs_list.sh215 echo " ${prog}: Cannot open '$1'" >&2
220 prog=$0
/linux-4.1.27/include/uapi/sound/
Dasound_fm.h126 unsigned char prog; member
/linux-4.1.27/drivers/hwmon/
Dthmc50.c102 int prog = i2c_smbus_read_byte_data(client, THMC50_REG_CONF); in thmc50_update_device() local
104 prog &= THMC50_REG_CONF_PROGRAMMED; in thmc50_update_device()
115 prog ? THMC50_REG_TEMP_CRITICAL[i] in thmc50_update_device()
/linux-4.1.27/fs/lockd/
Dmon.c40 u32 prog; /* RPC callback info */ member
148 .prog = NLM_PROGRAM, in nsm_mon_unmon()
501 *p++ = cpu_to_be32(argp->prog); in encode_my_id()
/linux-4.1.27/drivers/pci/
Dquirks.c1108 u8 prog; in quirk_svwks_csb5ide() local
1109 pci_read_config_byte(pdev, PCI_CLASS_PROG, &prog); in quirk_svwks_csb5ide()
1110 if (prog & 5) { in quirk_svwks_csb5ide()
1111 prog &= ~5; in quirk_svwks_csb5ide()
1113 pci_write_config_byte(pdev, PCI_CLASS_PROG, prog); in quirk_svwks_csb5ide()
1124 u8 prog; in quirk_ide_samemode() local
1126 pci_read_config_byte(pdev, PCI_CLASS_PROG, &prog); in quirk_ide_samemode()
1128 if (((prog & 1) && !(prog & 4)) || ((prog & 4) && !(prog & 1))) { in quirk_ide_samemode()
1130 prog &= ~5; in quirk_ide_samemode()
1132 pci_write_config_byte(pdev, PCI_CLASS_PROG, prog); in quirk_ide_samemode()
/linux-4.1.27/usr/
Dgen_init_cpio.c451 static void usage(const char *prog) in usage() argument
490 prog); in usage()
/linux-4.1.27/arch/powerpc/boot/dts/
Dac14xx.dts101 &gpio_pic 26 0 /* prog */
136 &gpio_pic 12 0 /* prog */
/linux-4.1.27/arch/arm/net/
Dbpf_jit_32.c483 const struct bpf_prog *prog = ctx->skf; in build_body() local
489 for (i = 0; i < prog->len; i++) { in build_body()
492 inst = &(prog->insns[i]); in build_body()
787 emit(ARM_B(b_imm(prog->len, ctx)), ctx); in build_body()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dnv40.c227 priv->base.prog = nv40_clk_prog; in nv40_clk_ctor()
Dbase.c109 ret = clk->prog(clk); in nvkm_cstate_prog()
192 ret = pfb->ram->prog(pfb); in nvkm_pstate_prog()
Dmcp77.c415 priv->base.prog = mcp77_clk_prog; in mcp77_clk_ctor()
Dgf100.c448 priv->base.prog = gf100_clk_prog; in gf100_clk_ctor()
Dgk104.c486 priv->base.prog = gk104_clk_prog; in gk104_clk_ctor()
Dgt215.c519 priv->base.prog = gt215_clk_prog; in gt215_clk_ctor()
Dnv50.c536 priv->base.prog = nv50_clk_prog; in nv50_clk_ctor()
Dgk20a.c666 priv->base.prog = gk20a_clk_prog; in gk20a_clk_ctor()
/linux-4.1.27/Documentation/prctl/
Dseccomp_filter.txt59 prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, prog);
61 The 'prog' argument is a pointer to a struct sock_fprog which
65 If fork/clone and execve are allowed by @prog, any child
/linux-4.1.27/sound/isa/wavefront/
Dwavefront_synth.c736 wavefront_program prog; in wavefront_get_program_status() local
748 demunge_buf (progbuf, (unsigned char *) &prog, in wavefront_get_program_status()
752 if (prog.layer[l].mute) { in wavefront_get_program_status()
754 [prog.layer[l].patch_number] |= in wavefront_get_program_status()
/linux-4.1.27/drivers/media/usb/as102/
Das10x_cmd.h373 __le16 prog; member
Das10x_cmd.c388 pcmd->header.prog = cpu_to_le16(SERVICE_PROG_ID); in as10x_cmd_build()
/linux-4.1.27/kernel/events/
Dcore.c6772 struct bpf_prog *prog; in perf_event_set_bpf_prog() local
6777 if (event->tp_event->prog) in perf_event_set_bpf_prog()
6784 prog = bpf_prog_get(prog_fd); in perf_event_set_bpf_prog()
6785 if (IS_ERR(prog)) in perf_event_set_bpf_prog()
6786 return PTR_ERR(prog); in perf_event_set_bpf_prog()
6788 if (prog->type != BPF_PROG_TYPE_KPROBE) { in perf_event_set_bpf_prog()
6790 bpf_prog_put(prog); in perf_event_set_bpf_prog()
6794 event->tp_event->prog = prog; in perf_event_set_bpf_prog()
6801 struct bpf_prog *prog; in perf_event_free_bpf_prog() local
6806 prog = event->tp_event->prog; in perf_event_free_bpf_prog()
[all …]
/linux-4.1.27/tools/net/
Dbpf_exp.y70 prog
72 | prog line
/linux-4.1.27/Documentation/devicetree/bindings/clock/
Dat91-clock.txt342 - name: device tree node describing a specific prog clock.
349 prog: progck {
/linux-4.1.27/Documentation/x86/
Dearlyprintk.txt19 …roller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03) (prog-if 20 [EHCI])
/linux-4.1.27/Documentation/frv/
Dbooting.txt179 (*) init=<prog> [<arg> [<arg> [<arg> ...]]]
/linux-4.1.27/Documentation/i2c/busses/
Di2c-i801153 unhide_ICH_SMBus (in prog/hotplug), which uses the fakephp driver to
/linux-4.1.27/drivers/scsi/megaraid/
Dmegaraid_sas.h1568 struct megasas_progress prog; member
1602 struct megasas_progress prog; member
/linux-4.1.27/Documentation/hwmon/
Dw83627ehf93 prog -> pwm4 (not on 667HG and 667HG-B; the programmable setting is not
/linux-4.1.27/arch/mips/include/asm/octeon/
Dcvmx-lmcx-defs.h254 uint64_t prog:8; member
258 uint64_t prog:8;
272 uint64_t prog:8; member
276 uint64_t prog:8;
Dcvmx-mio-defs.h2168 uint64_t prog:1; member
2170 uint64_t prog:1;
2178 uint64_t prog:1; member
2180 uint64_t prog:1;
/linux-4.1.27/arch/arm/boot/dts/
Dat91sam9261.dtsi631 prog: progck { label
Dat91sam9n12.dtsi181 prog: progck { label
Dat91rm9200.dtsi161 prog: progck { label
Dat91sam9rl.dtsi861 prog: progck { label
Dat91sam9263.dtsi157 prog: progck { label
Dat91sam9260.dtsi176 prog: progck { label
Dat91sam9x5.dtsi185 prog: progck { label
Dat91sam9g45.dtsi184 prog: progck { label
Dsama5d3.dtsi984 prog: progck { label
Dsama5d4.dtsi467 prog: progck { label
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_bo.c63 pfb->tile.prog(pfb, i, tile); in nv10_bo_update_tile_region()
/linux-4.1.27/Documentation/isdn/
DINTERFACE528 Used when a user space prog needs time to interpret a call
/linux-4.1.27/drivers/usb/host/
DKconfig386 right "prog-if" for your USB controller(s): EHCI, OHCI, or UHCI.
/linux-4.1.27/Documentation/s390/
DDebugging390.txt1020 You can restart linux & trace these using the tr prog <range or value> trace
1035 tr prog 10 will trace segment translation exceptions.
1036 tr prog on its own will trace all program interruption codes.
/linux-4.1.27/Documentation/networking/
Dfilter.txt1144 static struct bpf_insn prog[] = {
/linux-4.1.27/
DMAINTAINERS10203 W: http://dotat.at/prog/unifdef