Searched refs:new_scope (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/scsi/aic7xxx/aicasm/
H A Daicasm.c763 scope_t *new_scope; scope_alloc() local
765 new_scope = (scope_t *)malloc(sizeof(scope_t)); scope_alloc()
766 if (new_scope == NULL) scope_alloc()
768 memset(new_scope, 0, sizeof(*new_scope)); scope_alloc()
769 TAILQ_INIT(&new_scope->inner_scope); scope_alloc()
773 new_scope, scope_links); scope_alloc() local
776 SLIST_INSERT_HEAD(&scope_stack, new_scope, scope_stack_links); scope_alloc()
777 return new_scope; scope_alloc()
H A Daicasm_gram.y1089 scope_t *new_scope;
1092 new_scope = scope_alloc();
1093 new_scope->type = SCOPE_IF;
1094 new_scope->begin_addr = instruction_ptr;
1095 new_scope->func_num = $2->info.condinfo->func_num;
1099 scope_t *new_scope;
1117 new_scope = scope_alloc();
1118 new_scope->type = SCOPE_ELSE_IF;
1119 new_scope->begin_addr = instruction_ptr;
1120 new_scope->func_num = $3->info.condinfo->func_num;
1124 scope_t *new_scope;
1141 new_scope = scope_alloc();
1142 new_scope->type = SCOPE_ELSE;
1143 new_scope->begin_addr = instruction_ptr;

Completed in 97 milliseconds