Lines Matching refs:name

19 fn alu_imm_str(name: &str, insn: &ebpf::Insn) -> String {  in alu_imm_str()
24 fn alu_reg_str(name: &str, insn: &ebpf::Insn) -> String { in alu_reg_str()
29 fn byteswap_str(name: &str, insn: &ebpf::Insn) -> String { in byteswap_str()
38 fn ld_st_imm_str(name: &str, insn: &ebpf::Insn) -> String { in ld_st_imm_str()
52 fn ld_reg_str(name: &str, insn: &ebpf::Insn) -> String { in ld_reg_str()
66 fn st_reg_str(name: &str, insn: &ebpf::Insn) -> String { in st_reg_str()
80 fn ldabs_str(name: &str, insn: &ebpf::Insn) -> String { in ldabs_str()
85 fn ldind_str(name: &str, insn: &ebpf::Insn) -> String { in ldind_str()
90 fn jmp_imm_str(name: &str, insn: &ebpf::Insn) -> String { in jmp_imm_str()
104 fn jmp_reg_str(name: &str, insn: &ebpf::Insn) -> String { in jmp_reg_str()
137 pub name: String, field
219 let name; in to_insn_vec() localVariable
225 name = "ldabsb"; in to_insn_vec()
226 desc = ldabs_str(name, &insn); in to_insn_vec()
229 name = "ldabsh"; in to_insn_vec()
230 desc = ldabs_str(name, &insn); in to_insn_vec()
233 name = "ldabsw"; in to_insn_vec()
234 desc = ldabs_str(name, &insn); in to_insn_vec()
237 name = "ldabsdw"; in to_insn_vec()
238 desc = ldabs_str(name, &insn); in to_insn_vec()
241 name = "ldindb"; in to_insn_vec()
242 desc = ldind_str(name, &insn); in to_insn_vec()
245 name = "ldindh"; in to_insn_vec()
246 desc = ldind_str(name, &insn); in to_insn_vec()
249 name = "ldindw"; in to_insn_vec()
250 desc = ldind_str(name, &insn); in to_insn_vec()
253 name = "ldinddw"; in to_insn_vec()
254 desc = ldind_str(name, &insn); in to_insn_vec()
261 name = "lddw"; in to_insn_vec()
267 name = "ldxb"; in to_insn_vec()
268 desc = ld_reg_str(name, &insn); in to_insn_vec()
271 name = "ldxh"; in to_insn_vec()
272 desc = ld_reg_str(name, &insn); in to_insn_vec()
275 name = "ldxw"; in to_insn_vec()
276 desc = ld_reg_str(name, &insn); in to_insn_vec()
279 name = "ldxdw"; in to_insn_vec()
280 desc = ld_reg_str(name, &insn); in to_insn_vec()
285 name = "stb"; in to_insn_vec()
286 desc = ld_st_imm_str(name, &insn); in to_insn_vec()
289 name = "sth"; in to_insn_vec()
290 desc = ld_st_imm_str(name, &insn); in to_insn_vec()
293 name = "stw"; in to_insn_vec()
294 desc = ld_st_imm_str(name, &insn); in to_insn_vec()
297 name = "stdw"; in to_insn_vec()
298 desc = ld_st_imm_str(name, &insn); in to_insn_vec()
303 name = "stxb"; in to_insn_vec()
304 desc = st_reg_str(name, &insn); in to_insn_vec()
307 name = "stxh"; in to_insn_vec()
308 desc = st_reg_str(name, &insn); in to_insn_vec()
311 name = "stxw"; in to_insn_vec()
312 desc = st_reg_str(name, &insn); in to_insn_vec()
315 name = "stxdw"; in to_insn_vec()
316 desc = st_reg_str(name, &insn); in to_insn_vec()
319 name = "stxxaddw"; in to_insn_vec()
320 desc = st_reg_str(name, &insn); in to_insn_vec()
323 name = "stxxadddw"; in to_insn_vec()
324 desc = st_reg_str(name, &insn); in to_insn_vec()
329 name = "add32"; in to_insn_vec()
330 desc = alu_imm_str(name, &insn); in to_insn_vec()
333 name = "add32"; in to_insn_vec()
334 desc = alu_reg_str(name, &insn); in to_insn_vec()
337 name = "sub32"; in to_insn_vec()
338 desc = alu_imm_str(name, &insn); in to_insn_vec()
341 name = "sub32"; in to_insn_vec()
342 desc = alu_reg_str(name, &insn); in to_insn_vec()
345 name = "mul32"; in to_insn_vec()
346 desc = alu_imm_str(name, &insn); in to_insn_vec()
349 name = "mul32"; in to_insn_vec()
350 desc = alu_reg_str(name, &insn); in to_insn_vec()
353 name = "div32"; in to_insn_vec()
354 desc = alu_imm_str(name, &insn); in to_insn_vec()
357 name = "div32"; in to_insn_vec()
358 desc = alu_reg_str(name, &insn); in to_insn_vec()
361 name = "or32"; in to_insn_vec()
362 desc = alu_imm_str(name, &insn); in to_insn_vec()
365 name = "or32"; in to_insn_vec()
366 desc = alu_reg_str(name, &insn); in to_insn_vec()
369 name = "and32"; in to_insn_vec()
370 desc = alu_imm_str(name, &insn); in to_insn_vec()
373 name = "and32"; in to_insn_vec()
374 desc = alu_reg_str(name, &insn); in to_insn_vec()
377 name = "lsh32"; in to_insn_vec()
378 desc = alu_imm_str(name, &insn); in to_insn_vec()
381 name = "lsh32"; in to_insn_vec()
382 desc = alu_reg_str(name, &insn); in to_insn_vec()
385 name = "rsh32"; in to_insn_vec()
386 desc = alu_imm_str(name, &insn); in to_insn_vec()
389 name = "rsh32"; in to_insn_vec()
390 desc = alu_reg_str(name, &insn); in to_insn_vec()
393 name = "neg32"; in to_insn_vec()
397 name = "mod32"; in to_insn_vec()
398 desc = alu_imm_str(name, &insn); in to_insn_vec()
401 name = "mod32"; in to_insn_vec()
402 desc = alu_reg_str(name, &insn); in to_insn_vec()
405 name = "xor32"; in to_insn_vec()
406 desc = alu_imm_str(name, &insn); in to_insn_vec()
409 name = "xor32"; in to_insn_vec()
410 desc = alu_reg_str(name, &insn); in to_insn_vec()
413 name = "mov32"; in to_insn_vec()
414 desc = alu_imm_str(name, &insn); in to_insn_vec()
417 name = "mov32"; in to_insn_vec()
418 desc = alu_reg_str(name, &insn); in to_insn_vec()
421 name = "arsh32"; in to_insn_vec()
422 desc = alu_imm_str(name, &insn); in to_insn_vec()
425 name = "arsh32"; in to_insn_vec()
426 desc = alu_reg_str(name, &insn); in to_insn_vec()
429 name = "le"; in to_insn_vec()
430 desc = byteswap_str(name, &insn); in to_insn_vec()
433 name = "be"; in to_insn_vec()
434 desc = byteswap_str(name, &insn); in to_insn_vec()
439 name = "add64"; in to_insn_vec()
440 desc = alu_imm_str(name, &insn); in to_insn_vec()
443 name = "add64"; in to_insn_vec()
444 desc = alu_reg_str(name, &insn); in to_insn_vec()
447 name = "sub64"; in to_insn_vec()
448 desc = alu_imm_str(name, &insn); in to_insn_vec()
451 name = "sub64"; in to_insn_vec()
452 desc = alu_reg_str(name, &insn); in to_insn_vec()
455 name = "mul64"; in to_insn_vec()
456 desc = alu_imm_str(name, &insn); in to_insn_vec()
459 name = "mul64"; in to_insn_vec()
460 desc = alu_reg_str(name, &insn); in to_insn_vec()
463 name = "div64"; in to_insn_vec()
464 desc = alu_imm_str(name, &insn); in to_insn_vec()
467 name = "div64"; in to_insn_vec()
468 desc = alu_reg_str(name, &insn); in to_insn_vec()
471 name = "or64"; in to_insn_vec()
472 desc = alu_imm_str(name, &insn); in to_insn_vec()
475 name = "or64"; in to_insn_vec()
476 desc = alu_reg_str(name, &insn); in to_insn_vec()
479 name = "and64"; in to_insn_vec()
480 desc = alu_imm_str(name, &insn); in to_insn_vec()
483 name = "and64"; in to_insn_vec()
484 desc = alu_reg_str(name, &insn); in to_insn_vec()
487 name = "lsh64"; in to_insn_vec()
488 desc = alu_imm_str(name, &insn); in to_insn_vec()
491 name = "lsh64"; in to_insn_vec()
492 desc = alu_reg_str(name, &insn); in to_insn_vec()
495 name = "rsh64"; in to_insn_vec()
496 desc = alu_imm_str(name, &insn); in to_insn_vec()
499 name = "rsh64"; in to_insn_vec()
500 desc = alu_reg_str(name, &insn); in to_insn_vec()
503 name = "neg64"; in to_insn_vec()
507 name = "mod64"; in to_insn_vec()
508 desc = alu_imm_str(name, &insn); in to_insn_vec()
511 name = "mod64"; in to_insn_vec()
512 desc = alu_reg_str(name, &insn); in to_insn_vec()
515 name = "xor64"; in to_insn_vec()
516 desc = alu_imm_str(name, &insn); in to_insn_vec()
519 name = "xor64"; in to_insn_vec()
520 desc = alu_reg_str(name, &insn); in to_insn_vec()
523 name = "mov64"; in to_insn_vec()
524 desc = alu_imm_str(name, &insn); in to_insn_vec()
527 name = "mov64"; in to_insn_vec()
528 desc = alu_reg_str(name, &insn); in to_insn_vec()
531 name = "arsh64"; in to_insn_vec()
532 desc = alu_imm_str(name, &insn); in to_insn_vec()
535 name = "arsh64"; in to_insn_vec()
536 desc = alu_reg_str(name, &insn); in to_insn_vec()
541 name = "ja"; in to_insn_vec()
549 name = "jeq"; in to_insn_vec()
550 desc = jmp_imm_str(name, &insn); in to_insn_vec()
553 name = "jeq"; in to_insn_vec()
554 desc = jmp_reg_str(name, &insn); in to_insn_vec()
557 name = "jgt"; in to_insn_vec()
558 desc = jmp_imm_str(name, &insn); in to_insn_vec()
561 name = "jgt"; in to_insn_vec()
562 desc = jmp_reg_str(name, &insn); in to_insn_vec()
565 name = "jge"; in to_insn_vec()
566 desc = jmp_imm_str(name, &insn); in to_insn_vec()
569 name = "jge"; in to_insn_vec()
570 desc = jmp_reg_str(name, &insn); in to_insn_vec()
573 name = "jlt"; in to_insn_vec()
574 desc = jmp_imm_str(name, &insn); in to_insn_vec()
577 name = "jlt"; in to_insn_vec()
578 desc = jmp_reg_str(name, &insn); in to_insn_vec()
581 name = "jle"; in to_insn_vec()
582 desc = jmp_imm_str(name, &insn); in to_insn_vec()
585 name = "jle"; in to_insn_vec()
586 desc = jmp_reg_str(name, &insn); in to_insn_vec()
589 name = "jset"; in to_insn_vec()
590 desc = jmp_imm_str(name, &insn); in to_insn_vec()
593 name = "jset"; in to_insn_vec()
594 desc = jmp_reg_str(name, &insn); in to_insn_vec()
597 name = "jne"; in to_insn_vec()
598 desc = jmp_imm_str(name, &insn); in to_insn_vec()
601 name = "jne"; in to_insn_vec()
602 desc = jmp_reg_str(name, &insn); in to_insn_vec()
605 name = "jsgt"; in to_insn_vec()
606 desc = jmp_imm_str(name, &insn); in to_insn_vec()
609 name = "jsgt"; in to_insn_vec()
610 desc = jmp_reg_str(name, &insn); in to_insn_vec()
613 name = "jsge"; in to_insn_vec()
614 desc = jmp_imm_str(name, &insn); in to_insn_vec()
617 name = "jsge"; in to_insn_vec()
618 desc = jmp_reg_str(name, &insn); in to_insn_vec()
621 name = "jslt"; in to_insn_vec()
622 desc = jmp_imm_str(name, &insn); in to_insn_vec()
625 name = "jslt"; in to_insn_vec()
626 desc = jmp_reg_str(name, &insn); in to_insn_vec()
629 name = "jsle"; in to_insn_vec()
630 desc = jmp_imm_str(name, &insn); in to_insn_vec()
633 name = "jsle"; in to_insn_vec()
634 desc = jmp_reg_str(name, &insn); in to_insn_vec()
637 name = "call"; in to_insn_vec()
641 name = "tail_call"; in to_insn_vec()
642 desc = name.to_string(); in to_insn_vec()
645 name = "exit"; in to_insn_vec()
646 desc = name.to_string(); in to_insn_vec()
651 name = "jeq32"; in to_insn_vec()
652 desc = jmp_imm_str(name, &insn); in to_insn_vec()
655 name = "jeq32"; in to_insn_vec()
656 desc = jmp_reg_str(name, &insn); in to_insn_vec()
659 name = "jgt32"; in to_insn_vec()
660 desc = jmp_imm_str(name, &insn); in to_insn_vec()
663 name = "jgt32"; in to_insn_vec()
664 desc = jmp_reg_str(name, &insn); in to_insn_vec()
667 name = "jge32"; in to_insn_vec()
668 desc = jmp_imm_str(name, &insn); in to_insn_vec()
671 name = "jge32"; in to_insn_vec()
672 desc = jmp_reg_str(name, &insn); in to_insn_vec()
675 name = "jlt32"; in to_insn_vec()
676 desc = jmp_imm_str(name, &insn); in to_insn_vec()
679 name = "jlt32"; in to_insn_vec()
680 desc = jmp_reg_str(name, &insn); in to_insn_vec()
683 name = "jle32"; in to_insn_vec()
684 desc = jmp_imm_str(name, &insn); in to_insn_vec()
687 name = "jle32"; in to_insn_vec()
688 desc = jmp_reg_str(name, &insn); in to_insn_vec()
691 name = "jset32"; in to_insn_vec()
692 desc = jmp_imm_str(name, &insn); in to_insn_vec()
695 name = "jset32"; in to_insn_vec()
696 desc = jmp_reg_str(name, &insn); in to_insn_vec()
699 name = "jne32"; in to_insn_vec()
700 desc = jmp_imm_str(name, &insn); in to_insn_vec()
703 name = "jne32"; in to_insn_vec()
704 desc = jmp_reg_str(name, &insn); in to_insn_vec()
707 name = "jsgt32"; in to_insn_vec()
708 desc = jmp_imm_str(name, &insn); in to_insn_vec()
711 name = "jsgt32"; in to_insn_vec()
712 desc = jmp_reg_str(name, &insn); in to_insn_vec()
715 name = "jsge32"; in to_insn_vec()
716 desc = jmp_imm_str(name, &insn); in to_insn_vec()
719 name = "jsge32"; in to_insn_vec()
720 desc = jmp_reg_str(name, &insn); in to_insn_vec()
723 name = "jslt32"; in to_insn_vec()
724 desc = jmp_imm_str(name, &insn); in to_insn_vec()
727 name = "jslt32"; in to_insn_vec()
728 desc = jmp_reg_str(name, &insn); in to_insn_vec()
731 name = "jsle32"; in to_insn_vec()
732 desc = jmp_imm_str(name, &insn); in to_insn_vec()
735 name = "jsle32"; in to_insn_vec()
736 desc = jmp_reg_str(name, &insn); in to_insn_vec()
749 name: name.to_string(), in to_insn_vec()