Lines Matching full:matches

78 	ccb.cdm.matches = calloc(1, bufsize);  in fetch_path_id()
95 free(ccb.cdm.matches); in fetch_path_id()
105 free(ccb.cdm.matches); in fetch_path_id()
111 ccb.cdm.matches[0].type != DEV_MATCH_BUS) { in fetch_path_id()
112 free(ccb.cdm.matches); in fetch_path_id()
115 *path_id = ccb.cdm.matches[0].result.bus_result.path_id; in fetch_path_id()
116 free(ccb.cdm.matches); in fetch_path_id()
152 ccb.cdm.matches = calloc(1, bufsize); in mpt_query_disk()
169 free(ccb.cdm.matches); in mpt_query_disk()
179 free(ccb.cdm.matches); in mpt_query_disk()
189 free(ccb.cdm.matches); in mpt_query_disk()
193 warnx("mpt_query_disk got %d matches, expected 1", in mpt_query_disk()
195 free(ccb.cdm.matches); in mpt_query_disk()
198 if (ccb.cdm.matches[0].type != DEV_MATCH_PERIPH) { in mpt_query_disk()
200 free(ccb.cdm.matches); in mpt_query_disk()
205 r = &ccb.cdm.matches[1].result.periph_result; in mpt_query_disk()
208 free(ccb.cdm.matches); in mpt_query_disk()
417 ccb.cdm.matches = calloc(1, bufsize); in mpt_fetch_disks()
433 free(ccb.cdm.matches); in mpt_fetch_disks()
441 free(ccb.cdm.matches); in mpt_fetch_disks()
447 free(ccb.cdm.matches); in mpt_fetch_disks()
453 free(ccb.cdm.matches); in mpt_fetch_disks()
461 free(ccb.cdm.matches); in mpt_fetch_disks()
467 /* We should have N matches, 1 for each "da" device. */ in mpt_fetch_disks()
469 if (ccb.cdm.matches[i].type != DEV_MATCH_PERIPH) { in mpt_fetch_disks()
470 warnx("mpt_fetch_disks got wrong CAM matches"); in mpt_fetch_disks()
471 free(ccb.cdm.matches); in mpt_fetch_disks()
487 r = &ccb.cdm.matches[i].result.periph_result; in mpt_fetch_disks()
503 free(ccb.cdm.matches); in mpt_fetch_disks()