/linux-4.4.14/net/sched/ |
D | cls_bpf.c | 82 struct cls_bpf_prog *prog; in cls_bpf_classify() local 95 list_for_each_entry_rcu(prog, &head->plist, link) { in cls_bpf_classify() 98 qdisc_skb_cb(skb)->tc_classid = prog->res.classid; in cls_bpf_classify() 103 filter_res = BPF_PROG_RUN(prog->filter, skb); in cls_bpf_classify() 106 filter_res = BPF_PROG_RUN(prog->filter, skb); in cls_bpf_classify() 109 if (prog->exts_integrated) { in cls_bpf_classify() 110 res->class = prog->res.class; in cls_bpf_classify() 122 *res = prog->res; in cls_bpf_classify() 126 ret = tcf_exts_exec(skb, &prog->exts, res); in cls_bpf_classify() 137 static bool cls_bpf_is_ebpf(const struct cls_bpf_prog *prog) in cls_bpf_is_ebpf() argument [all …]
|
D | act_bpf.c | 39 struct tcf_bpf *prog = act->priv; in tcf_bpf() local 47 tcf_lastuse_update(&prog->tcf_tm); in tcf_bpf() 48 bstats_cpu_update(this_cpu_ptr(prog->common.cpu_bstats), skb); in tcf_bpf() 51 filter = rcu_dereference(prog->filter); in tcf_bpf() 80 qstats_drop_inc(this_cpu_ptr(prog->common.cpu_qstats)); in tcf_bpf() 83 action = prog->tcf_action; in tcf_bpf() 93 static bool tcf_bpf_is_ebpf(const struct tcf_bpf *prog) in tcf_bpf_is_ebpf() argument 95 return !prog->bpf_ops; in tcf_bpf_is_ebpf() 98 static int tcf_bpf_dump_bpf_info(const struct tcf_bpf *prog, in tcf_bpf_dump_bpf_info() argument 103 if (nla_put_u16(skb, TCA_ACT_BPF_OPS_LEN, prog->bpf_num_ops)) in tcf_bpf_dump_bpf_info() [all …]
|
/linux-4.4.14/tools/lib/bpf/ |
D | libbpf.c | 207 static void bpf_program__unload(struct bpf_program *prog) in bpf_program__unload() argument 209 if (!prog) in bpf_program__unload() 212 zclose(prog->fd); in bpf_program__unload() 215 static void bpf_program__exit(struct bpf_program *prog) in bpf_program__exit() argument 217 if (!prog) in bpf_program__exit() 220 if (prog->clear_priv) in bpf_program__exit() 221 prog->clear_priv(prog, prog->priv); in bpf_program__exit() 223 prog->priv = NULL; in bpf_program__exit() 224 prog->clear_priv = NULL; in bpf_program__exit() 226 bpf_program__unload(prog); in bpf_program__exit() [all …]
|
D | libbpf.h | 70 struct bpf_program *bpf_program__next(struct bpf_program *prog, 81 int bpf_program__set_private(struct bpf_program *prog, void *priv, 84 int bpf_program__get_private(struct bpf_program *prog, 87 const char *bpf_program__title(struct bpf_program *prog, bool needs_copy); 89 int bpf_program__fd(struct bpf_program *prog);
|
/linux-4.4.14/kernel/bpf/ |
D | syscall.c | 430 static int find_prog_type(enum bpf_prog_type type, struct bpf_prog *prog) in find_prog_type() argument 436 prog->aux->ops = tl->ops; in find_prog_type() 437 prog->type = type; in find_prog_type() 459 static void fixup_bpf_calls(struct bpf_prog *prog) in fixup_bpf_calls() argument 464 for (i = 0; i < prog->len; i++) { in fixup_bpf_calls() 465 struct bpf_insn *insn = &prog->insnsi[i]; in fixup_bpf_calls() 472 BUG_ON(!prog->aux->ops->get_func_proto); in fixup_bpf_calls() 475 prog->dst_needed = 1; in fixup_bpf_calls() 491 fn = prog->aux->ops->get_func_proto(insn->imm); in fixup_bpf_calls() 512 static int bpf_prog_charge_memlock(struct bpf_prog *prog) in bpf_prog_charge_memlock() argument [all …]
|
D | verifier.c | 195 struct bpf_prog *prog; /* eBPF program being verified */ member 644 if (env->prog->aux->ops->is_valid_access && in check_ctx_access() 645 env->prog->aux->ops->is_valid_access(off, size, t)) in check_ctx_access() 947 if (env->prog->aux->ops->get_func_proto) in check_call() 948 fn = env->prog->aux->ops->get_func_proto(func_id); in check_call() 956 if (!env->prog->gpl_compatible && fn->gpl_only) { in check_call() 1356 if (!may_access_skb(env->prog->type)) { in check_ld_abs() 1458 if (w < 0 || w >= env->prog->len) { in push_insn() 1471 if (cur_stack >= env->prog->len) in push_insn() 1493 struct bpf_insn *insns = env->prog->insnsi; in check_cfg() [all …]
|
D | arraymap.c | 233 struct bpf_prog *prog = bpf_prog_get(fd); in prog_fd_array_get_ptr() local 234 if (IS_ERR(prog)) in prog_fd_array_get_ptr() 235 return prog; in prog_fd_array_get_ptr() 237 if (!bpf_prog_array_compatible(array, prog)) { in prog_fd_array_get_ptr() 238 bpf_prog_put(prog); in prog_fd_array_get_ptr() 241 return prog; in prog_fd_array_get_ptr() 246 struct bpf_prog *prog = ptr; in prog_fd_array_put_ptr() local 248 bpf_prog_put_rcu(prog); in prog_fd_array_put_ptr()
|
D | core.c | 95 fp->aux->prog = fp; in bpf_prog_alloc() 120 fp->aux->prog = fp; in bpf_prog_realloc() 448 struct bpf_prog *prog; in __bpf_prog_run() local 459 prog = READ_ONCE(array->ptrs[index]); in __bpf_prog_run() 460 if (unlikely(!prog)) in __bpf_prog_run() 468 insn = prog->insnsi; in __bpf_prog_run() 722 bpf_jit_free(aux->prog); in bpf_prog_free_deferred() 788 void __weak bpf_int_jit_compile(struct bpf_prog *prog) in bpf_int_jit_compile() argument
|
/linux-4.4.14/drivers/clk/at91/ |
D | clk-programmable.c | 48 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() 102 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_set_parent() local 103 const struct clk_programmable_layout *layout = prog->layout; in clk_programmable_set_parent() 104 struct at91_pmc *pmc = prog->pmc; in clk_programmable_set_parent() 105 u32 tmp = pmc_read(pmc, AT91_PMC_PCKR(prog->id)) & ~layout->css_mask; in clk_programmable_set_parent() 119 pmc_write(pmc, AT91_PMC_PCKR(prog->id), tmp | index); in clk_programmable_set_parent() 127 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_get_parent() local [all …]
|
/linux-4.4.14/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 160 struct sock_fprog prog = { in TEST() local 171 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() 192 struct sock_fprog prog = { }; in TEST() local 204 prog.filter = filter; in TEST() 205 prog.len = count; in TEST() 208 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() 210 TH_LOG("Installing %d insn filter was allowed", prog.len); in TEST() 214 prog.len -= 1; in TEST() 215 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() 217 TH_LOG("Installing %d insn filter wasn't allowed", prog.len); in TEST() [all …]
|
/linux-4.4.14/arch/sparc/net/ |
D | bpf_jit_comp.c | 136 *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.4.14/tools/perf/util/ |
D | bpf-loader.c | 103 bpf_prog_priv__clear(struct bpf_program *prog __maybe_unused, in bpf_prog_priv__clear() 113 config_bpf_program(struct bpf_program *prog) in config_bpf_program() argument 120 config_str = bpf_program__title(prog, false); in config_bpf_program() 164 err = bpf_program__set_private(prog, priv, bpf_prog_priv__clear); in config_bpf_program() 203 struct bpf_program *prog; in bpf__probe() local 213 bpf_object__for_each_program(prog, obj) { in bpf__probe() 214 err = config_bpf_program(prog); in bpf__probe() 218 err = bpf_program__get_private(prog, (void **)&priv); in bpf__probe() 243 struct bpf_program *prog; in bpf__unprobe() local 246 bpf_object__for_each_program(prog, obj) { in bpf__unprobe() [all …]
|
D | vdso.c | 177 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()
|
D | ordered-events.c | 192 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()
|
D | hist.h | 130 void hists__output_resort(struct hists *hists, struct ui_progress *prog); 131 void hists__collapse_resort(struct hists *hists, struct ui_progress *prog);
|
D | hist.c | 1050 void hists__collapse_resort(struct hists *hists, struct ui_progress *prog) in hists__collapse_resort() argument 1080 if (prog) in hists__collapse_resort() 1081 ui_progress__update(prog, 1); in hists__collapse_resort() 1158 void hists__output_resort(struct hists *hists, struct ui_progress *prog) in hists__output_resort() argument 1195 if (prog) in hists__output_resort() 1196 ui_progress__update(prog, 1); in hists__output_resort()
|
D | session.c | 1569 struct ui_progress prog; in __perf_session__process_events() local 1584 ui_progress__init(&prog, file_size, "Processing events..."); in __perf_session__process_events() 1648 ui_progress__update(&prog, size); in __perf_session__process_events()
|
/linux-4.4.14/include/linux/ |
D | bpf.h | 119 struct bpf_insn *insn, struct bpf_prog *prog); 133 struct bpf_prog *prog; member 168 struct bpf_prog *bpf_prog_inc(struct bpf_prog *prog); 169 void bpf_prog_put(struct bpf_prog *prog); 170 void bpf_prog_put_rcu(struct bpf_prog *prog); 181 int bpf_prog_new_fd(struct bpf_prog *prog); 198 static inline void bpf_prog_put(struct bpf_prog *prog) in bpf_prog_put() argument
|
D | filter.h | 348 struct bpf_prog *prog; member 353 static inline u32 bpf_prog_run_save_cb(const struct bpf_prog *prog, in bpf_prog_run_save_cb() argument 363 if (unlikely(prog->cb_access)) { in bpf_prog_run_save_cb() 368 res = BPF_PROG_RUN(prog, skb); in bpf_prog_run_save_cb() 370 if (unlikely(prog->cb_access)) in bpf_prog_run_save_cb() 376 static inline u32 bpf_prog_run_clear_cb(const struct bpf_prog *prog, in bpf_prog_run_clear_cb() argument 381 if (unlikely(prog->cb_access)) in bpf_prog_run_clear_cb() 383 return BPF_PROG_RUN(prog, skb); in bpf_prog_run_clear_cb() 392 static inline bool bpf_prog_was_classic(const struct bpf_prog *prog) in bpf_prog_was_classic() argument 399 return prog->type == BPF_PROG_TYPE_UNSPEC; in bpf_prog_was_classic()
|
D | trace_events.h | 303 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.4.14/arch/x86/net/ |
D | bpf_jit_comp.c | 42 do { prog = emit_code(prog, bytes, len); cnt += len; } while (0) 203 u8 *prog = *pprog; in emit_prologue() local 240 *pprog = prog; in emit_prologue() 257 u8 *prog = *pprog; in emit_bpf_tail_call() local 315 *pprog = prog; in emit_bpf_tail_call() 321 u8 *prog = *pprog; in emit_load_skb_data_hlen() local 335 *pprog = prog; in emit_load_skb_data_hlen() 348 u8 *prog = temp; in do_jit() local 350 emit_prologue(&prog); in do_jit() 353 emit_load_skb_data_hlen(&prog); in do_jit() [all …]
|
/linux-4.4.14/tools/testing/selftests/powerpc/dscr/ |
D | dscr_inherit_exec_test.c | 22 static char prog[LEN_MAX]; variable 96 execlp(prog, prog, "exec", dscr_str, NULL); in dscr_inherit_exec() 115 strncpy(prog, argv[0], strlen(argv[0])); in main()
|
/linux-4.4.14/arch/x86/tools/ |
D | insn_sanity.c | 47 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()
|
D | test_get_len.c | 39 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.4.14/net/core/ |
D | filter.c | 86 unsigned int pkt_len = bpf_prog_run_save_cb(filter->prog, skb); in sk_filter() 358 static int bpf_convert_filter(struct sock_filter *prog, int len, in bpf_convert_filter() argument 382 fp = prog; in bpf_convert_filter() 869 static void __bpf_prog_release(struct bpf_prog *prog) in __bpf_prog_release() argument 871 if (prog->type == BPF_PROG_TYPE_SOCKET_FILTER) { in __bpf_prog_release() 872 bpf_prog_put(prog); in __bpf_prog_release() 874 bpf_release_orig_filter(prog); in __bpf_prog_release() 875 bpf_prog_free(prog); in __bpf_prog_release() 881 __bpf_prog_release(fp->prog); in __sk_filter_release() 910 u32 filter_size = bpf_prog_size(fp->prog->len); in sk_filter_uncharge() [all …]
|
D | sock_diag.c | 94 fprog = filter->prog->orig_prog; in sock_diag_put_filterinfo()
|
/linux-4.4.14/arch/arm64/net/ |
D | bpf_jit_comp.c | 60 const struct bpf_prog *prog; member 256 const int i = insn - ctx->prog->insnsi; in build_insn() 537 if (i == ctx->prog->len - 1) in build_insn() 723 const struct bpf_prog *prog = ctx->prog; in build_body() local 726 for (i = 0; i < prog->len; i++) { in build_body() 727 const struct bpf_insn *insn = &prog->insnsi[i]; in build_body() 751 void bpf_jit_compile(struct bpf_prog *prog) in bpf_jit_compile() argument 756 void bpf_int_jit_compile(struct bpf_prog *prog) in bpf_int_jit_compile() argument 766 if (!prog || !prog->len) in bpf_int_jit_compile() 770 ctx.prog = prog; in bpf_int_jit_compile() [all …]
|
/linux-4.4.14/net/sunrpc/ |
D | svc.c | 408 __svc_create(struct svc_program *prog, unsigned int bufsize, int npools, in __svc_create() argument 418 serv->sv_name = prog->pg_name; in __svc_create() 419 serv->sv_program = prog; in __svc_create() 421 serv->sv_stats = prog->pg_stats; in __svc_create() 428 while (prog) { in __svc_create() 429 prog->pg_lovers = prog->pg_nvers-1; in __svc_create() 430 for (vers=0; vers<prog->pg_nvers ; vers++) in __svc_create() 431 if (prog->pg_vers[vers]) { in __svc_create() 432 prog->pg_hivers = vers; in __svc_create() 433 if (prog->pg_lovers > vers) in __svc_create() [all …]
|
D | stats.c | 36 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()
|
D | rpcb_clnt.c | 445 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.4.14/samples/bpf/ |
D | sock_example.c | 43 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()
|
D | tracex5_user.c | 18 struct sock_fprog prog = { in install_accept_all_seccomp() local 22 if (prctl(PR_SET_SECCOMP, 2, &prog)) in install_accept_all_seccomp()
|
D | bpf_load.c | 47 static int load_and_attach(const char *event, struct bpf_insn *prog, int size) in load_and_attach() argument 71 fd = bpf_prog_load(prog_type, prog, size, license, kern_version); in load_and_attach()
|
D | test_verifier.c | 1226 struct bpf_insn *prog = tests[i].insns; in test() local 1228 int prog_len = probe_filter_length(prog); in test() 1239 prog[*fixup].imm = map_fd; in test() 1247 prog[*prog_array_fixup].imm = prog_array_fd; in test() 1254 prog, prog_len * sizeof(struct bpf_insn), in test()
|
/linux-4.4.14/sound/drivers/opl3/ |
D | opl3_synth.c | 213 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.4.14/tools/testing/selftests/futex/functional/ |
D | futex_wait_wouldblock.c | 33 void usage(char *prog) in usage() argument 35 printf("Usage: %s\n", prog); in usage()
|
D | futex_wait_timeout.c | 32 void usage(char *prog) in usage() argument 34 printf("Usage: %s\n", prog); in usage()
|
D | futex_wait_uninitialized_heap.c | 45 void usage(char *prog) in usage() argument 47 printf("Usage: %s\n", prog); in usage()
|
D | futex_wait_private_mapped_file.c | 46 void usage(char *prog) in usage() argument 48 printf("Usage: %s\n", prog); in usage()
|
D | futex_requeue_pi_mismatched_ops.c | 37 void usage(char *prog) in usage() argument 39 printf("Usage: %s\n", prog); in usage()
|
D | futex_requeue_pi_signal_restart.c | 43 void usage(char *prog) in usage() argument 45 printf("Usage: %s\n", prog); in usage()
|
D | futex_requeue_pi.c | 60 void usage(char *prog) in usage() argument 62 printf("Usage: %s\n", prog); in usage()
|
/linux-4.4.14/samples/seccomp/ |
D | dropper.c | 41 struct sock_fprog prog = { in install_filter() local 45 if (prctl(PR_SET_SECCOMP, 2, &prog)) { in install_filter()
|
D | bpf-fancy.c | 80 struct sock_fprog prog = { in main() local 92 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog)) { in main()
|
D | bpf-direct.c | 144 struct sock_fprog prog = { in install_filter() local 155 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog)) { in install_filter()
|
/linux-4.4.14/drivers/scsi/aic94xx/ |
D | aic94xx_seq.c | 196 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.4.14/include/sound/ |
D | opl3.h | 271 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.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | base.c | 55 if (fb->func->tile.prog) { in nvkm_fb_tile_prog() 56 fb->func->tile.prog(fb, region, tile); in nvkm_fb_tile_prog() 124 fb->func->tile.prog(fb, i, &fb->tile.region[i]); in nvkm_fb_init()
|
D | nv1a.c | 34 .tile.prog = nv10_fb_tile_prog,
|
D | nv4e.c | 35 .tile.prog = nv44_fb_tile_prog,
|
D | nv47.c | 36 .tile.prog = nv41_fb_tile_prog,
|
D | nv49.c | 36 .tile.prog = nv41_fb_tile_prog,
|
D | nv46.c | 49 .tile.prog = nv44_fb_tile_prog,
|
D | nv25.c | 51 .tile.prog = nv20_fb_tile_prog,
|
D | nv41.c | 53 .tile.prog = nv41_fb_tile_prog,
|
D | nv35.c | 53 .tile.prog = nv20_fb_tile_prog,
|
D | nv36.c | 53 .tile.prog = nv20_fb_tile_prog,
|
D | nv40.c | 59 .tile.prog = nv20_fb_tile_prog,
|
D | nv44.c | 63 .tile.prog = nv44_fb_tile_prog,
|
D | nv10.c | 62 .tile.prog = nv10_fb_tile_prog,
|
D | priv.h | 19 void (*prog)(struct nvkm_fb *, int i, struct nvkm_fb_tile *); member
|
D | nv20.c | 86 .tile.prog = nv20_fb_tile_prog,
|
D | nv30.c | 124 .tile.prog = nv20_fb_tile_prog,
|
D | ramnv40.c | 192 .prog = nv40_ram_prog,
|
D | ramgf100.c | 554 .prog = gf100_ram_prog,
|
D | ramnv50.c | 594 .prog = nv50_ram_prog,
|
D | ramgt215.c | 937 .prog = gt215_ram_prog,
|
D | ramgk104.c | 1526 .prog = gk104_ram_prog,
|
/linux-4.4.14/tools/testing/selftests/net/ |
D | psock_fanout.c | 101 struct bpf_insn prog[] = { in sock_fanout_set_ebpf() local 118 attr.insns = (unsigned long) prog; in sock_fanout_set_ebpf() 119 attr.insn_cnt = sizeof(prog) / sizeof(prog[0]); in sock_fanout_set_ebpf()
|
/linux-4.4.14/kernel/ |
D | seccomp.c | 60 struct bpf_prog *prog; member 198 u32 cur_ret = BPF_PROG_RUN(f->prog, (void *)sd); in seccomp_run_filters() 373 ret = bpf_prog_create_from_user(&sfilter->prog, fprog, in seccomp_prepare_filter() 431 total_insns = filter->prog->len; in seccomp_attach_filter() 433 total_insns += walker->prog->len + 4; /* 4 instr penalty */ in seccomp_attach_filter() 473 bpf_prog_destroy(filter->prog); in seccomp_filter_free() 916 fprog = filter->prog->orig_prog; in seccomp_get_filter()
|
/linux-4.4.14/arch/mips/net/ |
D | bpf_jit.c | 654 const struct bpf_prog *prog = ctx->skf; in build_body() local 660 for (i = 0; i < prog->len; i++) { in build_body() 663 inst = &(prog->insns[i]); in build_body() 718 emit_b(b_imm(prog->len, ctx), ctx); in build_body() 766 b_imm(prog->len, ctx), ctx); in build_body() 846 b_imm(prog->len, ctx), ctx); in build_body() 855 b_imm(prog->len, ctx), ctx); in build_body() 1046 if (i != prog->len - 1) in build_body() 1051 emit_b(b_imm(prog->len, ctx), ctx); in build_body() 1060 if (i != prog->len - 1) { in build_body() [all …]
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | g84.c | 30 .prog = nv50_clk_prog,
|
D | priv.h | 11 int (*prog)(struct nvkm_clk *); member
|
D | nv40.c | 208 .prog = nv40_clk_prog,
|
D | base.c | 111 ret = clk->func->prog(clk); in nvkm_cstate_prog() 195 ret = ram->func->prog(ram); in nvkm_pstate_prog()
|
D | mcp77.c | 401 .prog = mcp77_clk_prog,
|
D | gf100.c | 438 .prog = gf100_clk_prog,
|
D | gt215.c | 521 .prog = gt215_clk_prog,
|
D | gk104.c | 483 .prog = gk104_clk_prog,
|
D | nv50.c | 545 .prog = nv50_clk_prog,
|
D | gk20a.c | 635 .prog = gk20a_clk_prog,
|
/linux-4.4.14/drivers/parisc/ |
D | superio.c | 439 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.4.14/tools/perf/ |
D | builtin-report.c | 464 struct ui_progress prog; in report__collapse_hists() local 467 ui_progress__init(&prog, rep->nr_entries, "Merging related events..."); in report__collapse_hists() 477 hists__collapse_resort(hists, &prog); in report__collapse_hists() 494 struct ui_progress prog; in report__output_resort() local 497 ui_progress__init(&prog, rep->nr_entries, "Sorting events for output..."); in report__output_resort() 500 hists__output_resort(evsel__hists(pos), &prog); in report__output_resort()
|
/linux-4.4.14/Documentation/spi/ |
D | spidev_test.c | 140 static void print_usage(const char *prog) in print_usage() argument 142 printf("Usage: %s [-DsbdlHOLC3]\n", prog); in print_usage()
|
/linux-4.4.14/scripts/ |
D | gen_initramfs_list.sh | 215 echo " ${prog}: Cannot open '$1'" >&2 220 prog=$0
|
/linux-4.4.14/include/uapi/sound/ |
D | asound_fm.h | 126 unsigned char prog; member
|
/linux-4.4.14/kernel/trace/ |
D | bpf_trace.c | 32 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()
|
D | trace_kprobe.c | 1126 struct bpf_prog *prog = call->prog; in kprobe_perf_func() local 1132 if (prog && !trace_call_bpf(prog, regs)) in kprobe_perf_func() 1161 struct bpf_prog *prog = call->prog; in kretprobe_perf_func() local 1167 if (prog && !trace_call_bpf(prog, regs)) in kretprobe_perf_func()
|
D | trace_uprobe.c | 1113 struct bpf_prog *prog = call->prog; in __uprobe_perf_func() local 1119 if (prog && !trace_call_bpf(prog, regs)) in __uprobe_perf_func()
|
/linux-4.4.14/fs/lockd/ |
D | mon.c | 40 u32 prog; /* RPC callback info */ member 96 .prog = NLM_PROGRAM, in nsm_mon_unmon() 450 *p++ = cpu_to_be32(argp->prog); in encode_my_id()
|
/linux-4.4.14/drivers/hwmon/ |
D | thmc50.c | 102 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.4.14/arch/arm/boot/dts/ |
D | at91-kizboxmini.dts | 97 prog {
|
D | at91-kizbox2.dts | 170 prog {
|
D | at91sam9261.dtsi | 631 prog: progck { label
|
D | at91rm9200.dtsi | 161 prog: progck { label
|
D | at91sam9rl.dtsi | 861 prog: progck { label
|
D | at91sam9263.dtsi | 157 prog: progck { label
|
D | at91sam9260.dtsi | 176 prog: progck { label
|
D | at91sam9n12.dtsi | 181 prog: progck { label
|
D | sama5d2.dtsi | 388 prog: progck { label
|
D | at91sam9x5.dtsi | 185 prog: progck { label
|
D | at91sam9g45.dtsi | 184 prog: progck { label
|
D | sama5d3.dtsi | 985 prog: progck { label
|
D | sama5d4.dtsi | 470 prog: progck { label
|
/linux-4.4.14/drivers/pci/ |
D | quirks.c | 1102 u8 prog; in quirk_svwks_csb5ide() local 1103 pci_read_config_byte(pdev, PCI_CLASS_PROG, &prog); in quirk_svwks_csb5ide() 1104 if (prog & 5) { in quirk_svwks_csb5ide() 1105 prog &= ~5; in quirk_svwks_csb5ide() 1107 pci_write_config_byte(pdev, PCI_CLASS_PROG, prog); in quirk_svwks_csb5ide() 1118 u8 prog; in quirk_ide_samemode() local 1120 pci_read_config_byte(pdev, PCI_CLASS_PROG, &prog); in quirk_ide_samemode() 1122 if (((prog & 1) && !(prog & 4)) || ((prog & 4) && !(prog & 1))) { in quirk_ide_samemode() 1124 prog &= ~5; in quirk_ide_samemode() 1126 pci_write_config_byte(pdev, PCI_CLASS_PROG, prog); in quirk_ide_samemode()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | fb.h | 148 int (*prog)(struct nvkm_ram *); member
|
/linux-4.4.14/usr/ |
D | gen_init_cpio.c | 451 static void usage(const char *prog) in usage() argument 490 prog); in usage()
|
/linux-4.4.14/arch/powerpc/boot/dts/ |
D | ac14xx.dts | 101 &gpio_pic 26 0 /* prog */ 136 &gpio_pic 12 0 /* prog */
|
/linux-4.4.14/Documentation/prctl/ |
D | seccomp_filter.txt | 59 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.4.14/arch/arm/net/ |
D | bpf_jit_32.c | 515 const struct bpf_prog *prog = ctx->skf; in build_body() local 521 for (i = 0; i < prog->len; i++) { in build_body() 524 inst = &(prog->insns[i]); in build_body() 844 emit(ARM_B(b_imm(prog->len, ctx)), ctx); in build_body()
|
/linux-4.4.14/sound/isa/wavefront/ |
D | wavefront_synth.c | 736 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.4.14/drivers/media/usb/as102/ |
D | as10x_cmd.h | 373 __le16 prog; member
|
D | as10x_cmd.c | 388 pcmd->header.prog = cpu_to_le16(SERVICE_PROG_ID); in as10x_cmd_build()
|
/linux-4.4.14/tools/net/ |
D | bpf_exp.y | 70 prog 72 | prog line
|
/linux-4.4.14/kernel/events/ |
D | core.c | 7067 struct bpf_prog *prog; in perf_event_set_bpf_prog() local 7072 if (event->tp_event->prog) in perf_event_set_bpf_prog() 7079 prog = bpf_prog_get(prog_fd); in perf_event_set_bpf_prog() 7080 if (IS_ERR(prog)) in perf_event_set_bpf_prog() 7081 return PTR_ERR(prog); in perf_event_set_bpf_prog() 7083 if (prog->type != BPF_PROG_TYPE_KPROBE) { in perf_event_set_bpf_prog() 7085 bpf_prog_put(prog); in perf_event_set_bpf_prog() 7089 event->tp_event->prog = prog; in perf_event_set_bpf_prog() 7096 struct bpf_prog *prog; in perf_event_free_bpf_prog() local 7101 prog = event->tp_event->prog; in perf_event_free_bpf_prog() [all …]
|
/linux-4.4.14/Documentation/devicetree/bindings/clock/ |
D | at91-clock.txt | 345 - name: device tree node describing a specific prog clock. 352 prog: progck {
|
/linux-4.4.14/Documentation/frv/ |
D | booting.txt | 179 (*) init=<prog> [<arg> [<arg> [<arg> ...]]]
|
/linux-4.4.14/Documentation/x86/ |
D | earlyprintk.txt | 19 …roller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03) (prog-if 20 [EHCI])
|
/linux-4.4.14/Documentation/i2c/busses/ |
D | i2c-i801 | 156 unhide_ICH_SMBus (in prog/hotplug), which uses the fakephp driver to
|
/linux-4.4.14/Documentation/DocBook/ |
D | networking.xml.db | 168 API-bpf-prog-create 169 API-bpf-prog-create-from-user
|
/linux-4.4.14/drivers/scsi/megaraid/ |
D | megaraid_sas.h | 1611 struct megasas_progress prog; member 1645 struct megasas_progress prog; member
|
/linux-4.4.14/Documentation/hwmon/ |
D | w83627ehf | 93 prog -> pwm4 (not on 667HG and 667HG-B; the programmable setting is not
|
/linux-4.4.14/net/packet/ |
D | af_packet.c | 1420 struct bpf_prog *prog; in fanout_demux_bpf() local 1424 prog = rcu_dereference(f->bpf_prog); in fanout_demux_bpf() 1425 if (prog) in fanout_demux_bpf() 1426 ret = bpf_prog_run_clear_cb(prog, skb) % num; in fanout_demux_bpf() 1961 res = bpf_prog_run_clear_cb(filter->prog, skb); in run_filter()
|
/linux-4.4.14/arch/mips/include/asm/octeon/ |
D | cvmx-lmcx-defs.h | 254 uint64_t prog:8; member 258 uint64_t prog:8; 272 uint64_t prog:8; member 276 uint64_t prog:8;
|
D | cvmx-mio-defs.h | 2168 uint64_t prog:1; member 2170 uint64_t prog:1; 2178 uint64_t prog:1; member 2180 uint64_t prog:1;
|
/linux-4.4.14/Documentation/isdn/ |
D | INTERFACE | 528 Used when a user space prog needs time to interpret a call
|
/linux-4.4.14/drivers/usb/host/ |
D | Kconfig | 383 right "prog-if" for your USB controller(s): EHCI, OHCI, or UHCI.
|
/linux-4.4.14/Documentation/s390/ |
D | Debugging390.txt | 1020 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.4.14/Documentation/networking/ |
D | filter.txt | 1144 static struct bpf_insn prog[] = {
|
/linux-4.4.14/ |
D | MAINTAINERS | 11010 W: http://dotat.at/prog/unifdef
|