Lines Matching refs:code
109 /* Assemble the body code between the prologue & epilogue. */
120 /* Start of epilogue code */
125 u16 code = bpf_anc_helper(&filter[i]);
129 * the start of the body code.
133 switch (code) {
180 if (code == (BPF_ALU | BPF_MOD | BPF_X)) {
275 * code size/addresses.
358 if (code == (BPF_ANC | SKF_AD_IFINDEX)) {
486 switch (code) {
539 filter[i].code, i);
544 /* Set end-of-body-code address for exit. */
569 * There are multiple assembly passes as the generated code will change
584 * First pass: No code buffer; Program is "faux-generated" -- no code
588 * far (2 instructions), return path code reduction not available, etc.
592 * determined and addrs[] is filled in again, as code may be slightly
602 * generate the biggest code. On subsequent passes, branches will be
603 * generated short or long and code size will reduce. With smaller
604 * code, more branches may fall into the short category, and code will
607 * Finally, if we see one pass generate code the same size as the
608 * previous pass we have converged and should now generate code for
610 * otherwise be wasted by the (small) current code shrinkage.
612 * haven't converged by then, get impatient and force code to generate
644 /* Now build the prologue, body code & epilogue for real. */