Lines Matching refs:malloc
39 #include <malloc.h>
126 ap->ap_tblp = (struct alts_parttbl *)malloc(ap->ap_tbl_secsiz);
129 "Unable to malloc alternate partition table.\n");
137 if ((ap->ap_memmapp = (uchar_t *)malloc(part->p_size)) == NULL) {
139 "Unable to malloc incore alternate partition map.\n");
146 if ((ap->ap_mapp = (uchar_t *)malloc(ap->ap_map_secsiz)) == NULL) {
148 "Unable to malloc alternate partition map.\n");
326 (struct alts_ent *)malloc(ap->ap_ent_secsiz)) == NULL) {
330 "Unable to malloc alternate sector entry table.\n");
397 ap->ap_gbadp = (struct alts_ent *)malloc(cnt*ALTS_ENT_SIZE);
464 entp=(struct alts_ent *) malloc (ap->ap_ent_secsiz);