• Home
  • Raw
  • Download

Lines Matching refs:label

43 static void bpf_set_curr_label(char *label);
44 static void bpf_set_jmp_label(char *label, enum jmp_type type);
49 char *label; member
63 %token number label
65 %type <label> label
118 : label ':' { bpf_set_curr_label($1); }
326 : OP_JMP label {
332 : OP_JEQ '#' number ',' label ',' label {
336 | OP_JEQ 'x' ',' label ',' label {
340 | OP_JEQ '%' 'x' ',' label ',' label {
344 | OP_JEQ '#' number ',' label {
347 | OP_JEQ 'x' ',' label {
350 | OP_JEQ '%' 'x' ',' label {
356 : OP_JNEQ '#' number ',' label {
359 | OP_JNEQ 'x' ',' label {
362 | OP_JNEQ '%' 'x' ',' label {
368 : OP_JLT '#' number ',' label {
371 | OP_JLT 'x' ',' label {
374 | OP_JLT '%' 'x' ',' label {
380 : OP_JLE '#' number ',' label {
383 | OP_JLE 'x' ',' label {
386 | OP_JLE '%' 'x' ',' label {
392 : OP_JGT '#' number ',' label ',' label {
396 | OP_JGT 'x' ',' label ',' label {
400 | OP_JGT '%' 'x' ',' label ',' label {
404 | OP_JGT '#' number ',' label {
407 | OP_JGT 'x' ',' label {
410 | OP_JGT '%' 'x' ',' label {
416 : OP_JGE '#' number ',' label ',' label {
420 | OP_JGE 'x' ',' label ',' label {
424 | OP_JGE '%' 'x' ',' label ',' label {
428 | OP_JGE '#' number ',' label {
431 | OP_JGE 'x' ',' label {
434 | OP_JGE '%' 'x' ',' label {
440 : OP_JSET '#' number ',' label ',' label {
444 | OP_JSET 'x' ',' label ',' label {
448 | OP_JSET '%' 'x' ',' label ',' label {
452 | OP_JSET '#' number ',' label {
455 | OP_JSET 'x' ',' label {
458 | OP_JSET '%' 'x' ',' label {
606 static void bpf_set_curr_label(char *label) in bpf_set_curr_label() argument
609 labels[curr_instr] = label; in bpf_set_curr_label()
612 static void bpf_set_jmp_label(char *label, enum jmp_type type) in bpf_set_jmp_label() argument
617 labels_jt[curr_instr] = label; in bpf_set_jmp_label()
620 labels_jf[curr_instr] = label; in bpf_set_jmp_label()
623 labels_k[curr_instr] = label; in bpf_set_jmp_label()
628 static int bpf_find_insns_offset(const char *label) in bpf_find_insns_offset() argument
633 if (labels[i] && !strcmp(label, labels[i])) { in bpf_find_insns_offset()
640 fprintf(stderr, "no such label \'%s\'!\n", label); in bpf_find_insns_offset()