Lines Matching defs:index

89 	int index;
92 index = FHC_B_SEARCH(boards, board);
93 ASSERT(index != -1);
94 return (boards.boards[index]->flags & BDF_DISABLED);
206 int index;
209 index = FHC_B_SEARCH(boards, board);
210 ASSERT(index != -1);
211 return (boards.boards[index]->sc.in_transition);
217 int index;
220 index = FHC_B_SEARCH(boards, board);
221 ASSERT(index != -1);
222 if (boards.boards[index]->softsp == NULL)
225 return ((boards.boards[index]->softsp)->jt_master.is_master);
231 int index;
234 index = FHC_B_SEARCH(boards, board);
235 ASSERT(index != -1);
236 if (boards.boards[index]->sc.plus_board)
237 return (boards.boards[index]->sc.plus_board);
267 int index;
278 index = FHC_B_SEARCH(boards, board);
279 ASSERT(index != -1);
280 return (boards.boards[index]);
316 int index;
324 index = FHC_B_SEARCH(clocks, board);
326 index = FHC_B_SEARCH(boards, board);
329 /* If index == -1 board does not exist. */
330 if (index != -1) {
332 bdp = clocks.boards[index];
334 bdp = boards.boards[index];
371 int index;
377 index = FHC_B_SEARCH(boards, board);
378 ASSERT(index != -1);
379 return (boards.boards[index]);
404 int index;
407 index = FHC_B_SEARCH(boards, bdp->sc.board);
408 ASSERT(index != -1);
409 if (index < boards.last)
410 return (boards.boards[index + 1]);
418 int index;
426 index = FHC_B_SEARCH(boards, bd);
427 if (index == -1)
436 int index;
439 index = FHC_B_SEARCH(boards, board);
440 if (index == -1)
443 return (boards.boards[index]->sc.type);
510 int index;
545 index = FHC_B_SEARCH(boards, board);
546 if (index != -1) {
547 boards.boards[index]->flags |= BDF_DISABLED;
713 int index;
725 index = fhc_b_search(boards.boards, board, 0,
727 if (index == -1) {