Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/aicasm/
Daicasm.c762 scope_t *new_scope; in scope_alloc() local
764 new_scope = (scope_t *)malloc(sizeof(scope_t)); in scope_alloc()
765 if (new_scope == NULL) in scope_alloc()
767 memset(new_scope, 0, sizeof(*new_scope)); in scope_alloc()
768 TAILQ_INIT(&new_scope->inner_scope); in scope_alloc()
772 new_scope, scope_links); in scope_alloc()
775 SLIST_INSERT_HEAD(&scope_stack, new_scope, scope_stack_links); in scope_alloc()
776 return new_scope; in scope_alloc()
Daicasm_gram.y1085 scope_t *new_scope; variable
1088 new_scope = scope_alloc();
1089 new_scope->type = SCOPE_IF;
1090 new_scope->begin_addr = instruction_ptr;
1091 new_scope->func_num = $2->info.condinfo->func_num;
1095 scope_t *new_scope; variable
1113 new_scope = scope_alloc();
1114 new_scope->type = SCOPE_ELSE_IF;
1115 new_scope->begin_addr = instruction_ptr;
1116 new_scope->func_num = $3->info.condinfo->func_num;
[all …]