Home
last modified time | relevance | path

Searched refs:addrs (Results 1 – 5 of 5) sorted by relevance

/arch/x86/net/
Dbpf_jit_comp.c138 unsigned int *addrs; in bpf_jit_compile() local
145 addrs = kmalloc(flen * sizeof(*addrs), GFP_KERNEL); in bpf_jit_compile()
146 if (addrs == NULL) in bpf_jit_compile()
154 addrs[i] = proglen; in bpf_jit_compile()
274 EMIT_COND_JMP(X86_JE, addrs[pc_ret0 - 1] - in bpf_jit_compile()
275 (addrs[i] - 4)); in bpf_jit_compile()
279 EMIT1_off32(0xe9, cleanup_addr - (addrs[i] - 4)); /* jmp .+off32 */ in bpf_jit_compile()
351 EMIT_JMP(cleanup_addr - addrs[i]); in bpf_jit_compile()
437 EMIT_COND_JMP(X86_JE, cleanup_addr - (addrs[i] - 6)); in bpf_jit_compile()
483 t_offset = func - (image + addrs[i]); in bpf_jit_compile()
[all …]
/arch/powerpc/net/
Dbpf_jit_comp.c136 unsigned int *addrs) in bpf_jit_build_body() argument
145 unsigned int exit_addr = addrs[flen]; in bpf_jit_build_body()
154 addrs[i] = ctx->idx * 4; in bpf_jit_build_body()
196 PPC_BCC(COND_EQ, addrs[ctx->pc_ret0]); in bpf_jit_build_body()
352 PPC_BCC(COND_EQ, addrs[ctx->pc_ret0]); in bpf_jit_build_body()
451 PPC_JMP(addrs[i + 1 + K]); in bpf_jit_build_body()
474 PPC_JMP(addrs[i + 1 + filter[i].jt]); in bpf_jit_build_body()
517 addrs[i + 1 + filter[i].jf]); in bpf_jit_build_body()
519 PPC_BCC(true_cond, addrs[i + 1 + filter[i].jt]); in bpf_jit_build_body()
521 PPC_JMP(addrs[i + 1 + filter[i].jf]); in bpf_jit_build_body()
[all …]
/arch/powerpc/kernel/
Dpci_of_scan.c80 const u32 *addrs; in of_pci_parse_addrs() local
84 addrs = of_get_property(node, "assigned-addresses", &proplen); in of_pci_parse_addrs()
85 if (!addrs) in of_pci_parse_addrs()
87 pr_debug(" parse addresses (%d bytes) @ %p\n", proplen, addrs); in of_pci_parse_addrs()
88 for (; proplen >= 20; proplen -= 20, addrs += 5) { in of_pci_parse_addrs()
89 flags = pci_parse_of_flags(addrs[0], 0); in of_pci_parse_addrs()
92 base = of_read_number(&addrs[1], 2); in of_pci_parse_addrs()
93 size = of_read_number(&addrs[3], 2); in of_pci_parse_addrs()
96 i = addrs[0] & 0xff; in of_pci_parse_addrs()
/arch/sparc/kernel/
Dpci.c206 const u32 *addrs; in pci_parse_of_addrs() local
209 addrs = of_get_property(node, "assigned-addresses", &proplen); in pci_parse_of_addrs()
210 if (!addrs) in pci_parse_of_addrs()
214 proplen, addrs); in pci_parse_of_addrs()
216 for (; proplen >= 20; proplen -= 20, addrs += 5, op_res++) { in pci_parse_of_addrs()
221 flags = pci_parse_of_flags(addrs[0]); in pci_parse_of_addrs()
224 i = addrs[0] & 0xff; in pci_parse_of_addrs()
/arch/powerpc/platforms/cell/
Dspu_base.c303 void *addrs[] = { in spu_setup_kernel_slbs() local
310 for (i = 0; i < ARRAY_SIZE(addrs); i++) { in spu_setup_kernel_slbs()
311 if (__slb_present(slbs, nr_slbs, addrs[i])) in spu_setup_kernel_slbs()
314 __spu_kernel_slb(addrs[i], &slbs[nr_slbs]); in spu_setup_kernel_slbs()