Lines Matching refs:BPFModule

70 const string BPFModule::FN_PREFIX = BPF_FN_PREFIX;
102 BPFModule::BPFModule(unsigned flags, TableStorage *ts, bool rw_engine_enabled, in BPFModule() function in ebpf::BPFModule
137 BPFModule::~BPFModule() { in ~BPFModule()
326 string BPFModule::make_reader(Module *mod, Type *type) { in make_reader()
398 string BPFModule::make_writer(Module *mod, Type *type) { in make_writer()
459 unique_ptr<ExecutionEngine> BPFModule::finalize_rw(unique_ptr<Module> m) { in finalize_rw()
475 int BPFModule::load_cfile(const string &file, bool in_memory, const char *cflags[], int ncflags) { in load_cfile()
488 int BPFModule::load_includes(const string &text) { in load_includes()
496 void BPFModule::annotate_light() { in annotate_light()
510 int BPFModule::annotate() { in annotate()
535 table.key_sscanf = std::bind(&BPFModule::sscanf, this, in annotate()
537 table.leaf_sscanf = std::bind(&BPFModule::sscanf, this, in annotate()
539 table.key_snprintf = std::bind(&BPFModule::snprintf, this, in annotate()
542 std::bind(&BPFModule::snprintf, this, make_writer(&*m, leaf_type), in annotate()
554 StatusTuple BPFModule::sscanf(string fn_name, const char *str, void *val) { in sscanf()
567 StatusTuple BPFModule::snprintf(string fn_name, char *str, size_t sz, in snprintf()
583 void BPFModule::dump_ir(Module &mod) { in dump_ir()
589 int BPFModule::run_pass_manager(Module &mod) { in run_pass_manager()
615 int BPFModule::finalize() { in finalize()
675 size_t BPFModule::num_functions() const { in num_functions()
679 const char * BPFModule::function_name(size_t id) const { in function_name()
685 uint8_t * BPFModule::function_start(size_t id) const { in function_start()
694 uint8_t * BPFModule::function_start(const string &name) const { in function_start()
702 const char * BPFModule::function_source(const string &name) const { in function_source()
706 const char * BPFModule::function_source_rewritten(const string &name) const { in function_source_rewritten()
710 int BPFModule::annotate_prog_tag(const string &name, int prog_fd, in annotate_prog_tag()
778 size_t BPFModule::function_size(size_t id) const { in function_size()
787 size_t BPFModule::function_size(const string &name) const { in function_size()
795 char * BPFModule::license() const { in license()
803 unsigned BPFModule::kern_version() const { in kern_version()
811 size_t BPFModule::num_tables() const { return tables_.size(); } in num_tables()
813 size_t BPFModule::table_id(const string &name) const { in table_id()
819 int BPFModule::table_fd(const string &name) const { in table_fd()
823 int BPFModule::table_fd(size_t id) const { in table_fd()
829 int BPFModule::table_type(const string &name) const { in table_type()
833 int BPFModule::table_type(size_t id) const { in table_type()
839 size_t BPFModule::table_max_entries(const string &name) const { in table_max_entries()
843 size_t BPFModule::table_max_entries(size_t id) const { in table_max_entries()
849 int BPFModule::table_flags(const string &name) const { in table_flags()
853 int BPFModule::table_flags(size_t id) const { in table_flags()
859 const char * BPFModule::table_name(size_t id) const { in table_name()
865 const char * BPFModule::table_key_desc(size_t id) const { in table_key_desc()
872 const char * BPFModule::table_key_desc(const string &name) const { in table_key_desc()
876 const char * BPFModule::table_leaf_desc(size_t id) const { in table_leaf_desc()
883 const char * BPFModule::table_leaf_desc(const string &name) const { in table_leaf_desc()
886 size_t BPFModule::table_key_size(size_t id) const { in table_key_size()
891 size_t BPFModule::table_key_size(const string &name) const { in table_key_size()
895 size_t BPFModule::table_leaf_size(size_t id) const { in table_leaf_size()
900 size_t BPFModule::table_leaf_size(const string &name) const { in table_leaf_size()
913 int BPFModule::table_key_printf(size_t id, char *buf, size_t buflen, const void *key) { in table_key_printf()
925 int BPFModule::table_leaf_printf(size_t id, char *buf, size_t buflen, const void *leaf) { in table_leaf_printf()
937 int BPFModule::table_key_scanf(size_t id, const char *key_str, void *key) { in table_key_scanf()
949 int BPFModule::table_leaf_scanf(size_t id, const char *leaf_str, void *leaf) { in table_leaf_scanf()
962 int BPFModule::load_b(const string &filename, const string &proto_filename) { in load_b()
999 int BPFModule::load_c(const string &filename, const char *cflags[], int ncflags) { in load_c()
1022 int BPFModule::load_string(const string &text, const char *cflags[], int ncflags) { in load_string()