Lines Matching refs:label

44 static void bpf_set_curr_label(char *label);
45 static void bpf_set_jmp_label(char *label, enum jmp_type type);
50 char *label; member
63 %token extension number label
65 %type <label> label
119 : label ':' { bpf_set_curr_label($1); }
210 : OP_JMP label {
216 : OP_JEQ '#' number ',' label ',' label {
220 | OP_JEQ 'x' ',' label ',' label {
224 | OP_JEQ '%' 'x' ',' label ',' label {
228 | OP_JEQ '#' number ',' label {
231 | OP_JEQ 'x' ',' label {
234 | OP_JEQ '%' 'x' ',' label {
240 : OP_JNEQ '#' number ',' label {
243 | OP_JNEQ 'x' ',' label {
246 | OP_JNEQ '%' 'x' ',' label {
252 : OP_JLT '#' number ',' label {
255 | OP_JLT 'x' ',' label {
258 | OP_JLT '%' 'x' ',' label {
264 : OP_JLE '#' number ',' label {
267 | OP_JLE 'x' ',' label {
270 | OP_JLE '%' 'x' ',' label {
276 : OP_JGT '#' number ',' label ',' label {
280 | OP_JGT 'x' ',' label ',' label {
284 | OP_JGT '%' 'x' ',' label ',' label {
288 | OP_JGT '#' number ',' label {
291 | OP_JGT 'x' ',' label {
294 | OP_JGT '%' 'x' ',' label {
300 : OP_JGE '#' number ',' label ',' label {
304 | OP_JGE 'x' ',' label ',' label {
308 | OP_JGE '%' 'x' ',' label ',' label {
312 | OP_JGE '#' number ',' label {
315 | OP_JGE 'x' ',' label {
318 | OP_JGE '%' 'x' ',' label {
324 : OP_JSET '#' number ',' label ',' label {
328 | OP_JSET 'x' ',' label ',' label {
332 | OP_JSET '%' 'x' ',' label ',' label {
336 | OP_JSET '#' number ',' label {
339 | OP_JSET 'x' ',' label {
342 | OP_JSET '%' 'x' ',' label {
490 static void bpf_set_curr_label(char *label) in bpf_set_curr_label() argument
493 labels[curr_instr] = label; in bpf_set_curr_label()
496 static void bpf_set_jmp_label(char *label, enum jmp_type type) in bpf_set_jmp_label() argument
501 labels_jt[curr_instr] = label; in bpf_set_jmp_label()
504 labels_jf[curr_instr] = label; in bpf_set_jmp_label()
507 labels_k[curr_instr] = label; in bpf_set_jmp_label()
512 static int bpf_find_insns_offset(const char *label) in bpf_find_insns_offset() argument
517 if (labels[i] && !strcmp(label, labels[i])) { in bpf_find_insns_offset()
524 fprintf(stderr, "no such label \'%s\'!\n", label); in bpf_find_insns_offset()