Lines Matching refs:malloc
39 #include <malloc.h>
121 ap->ap_tblp = (struct alts_parttbl *)malloc(ap->ap_tbl_secsiz);
124 "Unable to malloc alternate partition table.\n");
132 if ((ap->ap_memmapp = (uchar_t *)malloc(part->p_size)) == NULL) {
134 "Unable to malloc incore alternate partition map.\n");
141 if ((ap->ap_mapp = (uchar_t *)malloc(ap->ap_map_secsiz)) == NULL) {
143 "Unable to malloc alternate partition map.\n");
324 (struct alts_ent *)malloc(ap->ap_ent_secsiz)) == NULL) {
326 "Unable to malloc alternate sector entry table.\n");
403 ap->ap_gbadp = malloc(cnt*ALTS_ENT_SIZE);
405 err_print("get_badsec: unable to malloc %d bytes\n",
472 entp = malloc(ap->ap_ent_secsiz);
474 err_print("get_alts_ent: unable to malloc %d bytes\n",