Lines Matching refs:sym
53 struct symbol *sym; member
73 if (tl->sym || tl->failed) in typedef_lookup()
75 tl->sym = _typedef_lookup(tl->name); in typedef_lookup()
76 if (!tl->sym) in typedef_lookup()
80 static int is_mode_t(struct symbol *sym) in is_mode_t() argument
86 if (!umode_t.sym) in is_mode_t()
88 type = get_base_type(sym); in is_mode_t()
89 if (type == umode_t.sym) in is_mode_t()
94 static int is_pid_t(struct symbol *sym) in is_pid_t() argument
100 if (!pid_t.sym) in is_pid_t()
102 type = get_base_type(sym); in is_pid_t()
103 if (type == pid_t.sym) in is_pid_t()
108 static const char *get_arg_type_from_type(struct symbol *sym) in get_arg_type_from_type() argument
112 if (is_mode_t(sym)) in get_arg_type_from_type()
114 if (is_pid_t(sym)) in get_arg_type_from_type()
117 type = get_real_base_type(sym); in get_arg_type_from_type()
142 const char *get_syscall_arg_type(struct symbol *sym) in get_syscall_arg_type() argument
147 if (!sym || !sym->ident) in get_syscall_arg_type()
149 type = get_arg_type_from_type(sym); in get_syscall_arg_type()
152 state = get_state(my_id, sym->ident->name, sym); in get_syscall_arg_type()