Lines Matching refs:cont_hdl
272 id_t *cont_hdl = NULL; in smb_bb_contains() local
284 cont_hdl = kmem_zalloc(cont_count * cont_len, KM_SLEEP); in smb_bb_contains()
285 if (cont_hdl == NULL) in smb_bb_contains()
289 cont_count, cont_hdl); in smb_bb_contains()
291 kmem_free(cont_hdl, cont_count * cont_len); in smb_bb_contains()
302 cont_id = (uint16_t)cont_hdl[j]; in smb_bb_contains()
321 if (cont_hdl != NULL) in smb_bb_contains()
322 kmem_free(cont_hdl, cont_count * cont_len); in smb_bb_contains()
644 id_t *cont_hdl = NULL; in find_matching_proc() local
654 cont_hdl = kmem_zalloc(cont_count * cont_len, KM_SLEEP); in find_matching_proc()
655 if (cont_hdl == NULL) in find_matching_proc()
658 rc = smbios_info_contains(shp, bb_id, cont_count, cont_hdl); in find_matching_proc()
660 kmem_free(cont_hdl, cont_count * cont_len); in find_matching_proc()
666 cont_id = (uint16_t)cont_hdl[n]; in find_matching_proc()
672 kmem_free(cont_hdl, in find_matching_proc()
678 kmem_free(cont_hdl, in find_matching_proc()
685 if (cont_hdl != NULL) in find_matching_proc()
686 kmem_free(cont_hdl, cont_count * cont_len); in find_matching_proc()