Searched refs:SLIST_FIRST (Results 1 - 6 of 6) sorted by relevance

/linux-4.1.27/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_symbol.c216 curnode = SLIST_FIRST(symlist); symlist_search()
258 curnode = SLIST_FIRST(symlist); symlist_add()
305 node1 = SLIST_FIRST(symlist); symlist_free()
321 while((node = SLIST_FIRST(symlist_src2)) != NULL) { symlist_merge()
580 while (SLIST_FIRST(&masks) != NULL) {
583 curnode = SLIST_FIRST(&masks);
586 regnode = SLIST_FIRST(&curnode->symbol->info.finfo->symrefs);
593 while (SLIST_FIRST(&aliases) != NULL) {
596 curnode = SLIST_FIRST(&aliases);
605 while (SLIST_FIRST(&registers) != NULL) {
611 curnode = SLIST_FIRST(&registers);
655 while (SLIST_FIRST(&constants) != NULL) {
658 curnode = SLIST_FIRST(&constants);
668 for (i = 0; SLIST_FIRST(&download_constants) != NULL; i++) {
671 curnode = SLIST_FIRST(&download_constants);
682 while (SLIST_FIRST(&exported_labels) != NULL) {
685 curnode = SLIST_FIRST(&exported_labels);
H A Daicasm.c219 for (include_dir = SLIST_FIRST(&search_path); main()
275 if (SLIST_FIRST(&scope_stack) == NULL main()
276 || SLIST_FIRST(&scope_stack)->type != SCOPE_ROOT) { main()
282 process_scope(SLIST_FIRST(&scope_stack)); main()
289 dump_scope(SLIST_FIRST(&scope_stack)); main()
397 for (cur_node = SLIST_FIRST(&patch_functions); output_code()
546 for (func_count = 0, cur_func = SLIST_FIRST(&patch_functions); output_listing()
567 for (cur_func = SLIST_FIRST(&patch_functions); output_listing()
771 if (SLIST_FIRST(&scope_stack) != NULL) { scope_alloc()
772 TAILQ_INSERT_TAIL(&SLIST_FIRST(&scope_stack)->inner_scope, scope_alloc()
H A Daicasm_gram.y1107 scope_context = SLIST_FIRST(&scope_stack);
1132 scope_context = SLIST_FIRST(&scope_stack);
1152 scope_context = SLIST_FIRST(&scope_stack);
1165 if (SLIST_FIRST(&scope_stack) == NULL) {
/linux-4.1.27/drivers/scsi/aic7xxx/
H A Dqueue.h125 #define SLIST_FIRST(head) ((head)->slh_first) macro
128 for ((var) = SLIST_FIRST((head)); \
133 SLIST_FIRST((head)) = NULL; \
142 SLIST_NEXT((elm), field) = SLIST_FIRST((head)); \
143 SLIST_FIRST((head)) = (elm); \
149 if (SLIST_FIRST((head)) == (elm)) { \
153 struct type *curelm = SLIST_FIRST((head)); \
162 SLIST_FIRST((head)) = SLIST_NEXT(SLIST_FIRST((head)), field); \
H A Daic7xxx_core.c531 if ((scb = SLIST_FIRST(&ahc->scb_data->free_scbs)) == NULL) { ahc_get_scb()
533 scb = SLIST_FIRST(&ahc->scb_data->free_scbs); ahc_get_scb()
4925 while ((sg_map = SLIST_FIRST(&scb_data->sg_maps))!= NULL) { ahc_fini_scbdata()
6799 && (ccbh = SLIST_FIRST(&lstate->immed_notifies)) != NULL) { ahc_send_lstate_events()
7675 if (SLIST_FIRST(&lstate->accept_tios) != NULL) { ahc_handle_en_lun()
7680 if (SLIST_FIRST(&lstate->immed_notifies) != NULL) { ahc_handle_en_lun()
7885 atio = (struct ccb_accept_tio*)SLIST_FIRST(&lstate->accept_tios); ahc_handle_target_cmd()
H A Daic79xx_core.c6560 while ((sns_map = SLIST_FIRST(&scb_data->sense_maps)) != NULL) { ahd_fini_scbdata()
6575 while ((sg_map = SLIST_FIRST(&scb_data->sg_maps)) != NULL) { ahd_fini_scbdata()
6590 while ((hscb_map = SLIST_FIRST(&scb_data->hscb_maps)) != NULL) { ahd_fini_scbdata()
6831 hscb_map = SLIST_FIRST(&scb_data->hscb_maps); ahd_alloc_scbs()
6864 sg_map = SLIST_FIRST(&scb_data->sg_maps); ahd_alloc_scbs()
6901 sense_map = SLIST_FIRST(&scb_data->sense_maps); ahd_alloc_scbs()
9300 && (ccbh = SLIST_FIRST(&lstate->immed_notifies)) != NULL) { ahd_send_lstate_events()
10548 if (SLIST_FIRST(&lstate->accept_tios) != NULL) { ahd_handle_en_lun()
10553 if (SLIST_FIRST(&lstate->immed_notifies) != NULL) { ahd_handle_en_lun()
10736 atio = (struct ccb_accept_tio*)SLIST_FIRST(&lstate->accept_tios); ahd_handle_target_cmd()

Completed in 164 milliseconds