Lines Matching refs:type
86 struct symbol *type; in is_head_next() local
93 if (expr->type != EXPR_DEREF) in is_head_next()
99 type = get_type(expr->deref); in is_head_next()
100 if (!type) in is_head_next()
102 if (type->type == SYM_PTR) in is_head_next()
103 type = get_real_base_type(type); in is_head_next()
104 if (type->type != SYM_STRUCT) in is_head_next()
106 if (!type->ident || !type->ident->name || in is_head_next()
107 strcmp(type->ident->name, "list_head") != 0) in is_head_next()
133 static bool invalid_type(struct symbol *type) in invalid_type() argument
135 if (!type) in invalid_type()
137 if (type == &void_ctype) in invalid_type()
139 if (type->type == SYM_STRUCT || in invalid_type()
140 type->type == SYM_ARRAY || in invalid_type()
141 type->type == SYM_UNION) in invalid_type()
159 struct symbol *type; in update_mtag_data() local
182 type = get_type(expr); in update_mtag_data()
183 if (offset == 0 && invalid_type(type)) in update_mtag_data()
244 struct symbol *type; member
253 str_to_rl(db_info->type, argv[0], &tmp); in get_vals()
268 static int get_rl_from_mtag_offset(mtag_t tag, int offset, struct symbol *type, struct range_list *… in get_rl_from_mtag_offset() argument
286 db_info.type = type; in get_rl_from_mtag_offset()
315 struct symbol *type; in get_mtag_rl() local
326 type = get_type(expr); in get_mtag_rl()
327 if (invalid_type(type)) in get_mtag_rl()
330 return get_rl_from_mtag_offset(tag, offset, type, rl); in get_mtag_rl()