Lines Matching refs:malloc
611 if ((result = malloc(sizeof (struct node_list))) == NULL) {
612 DPRINTF((DI_ERR, "malloc of node_list failed\n"));
620 if ((tmp->next = malloc(sizeof (struct node_list))) == NULL) {
621 DPRINTF((DI_ERR, "malloc of node_list failed\n"));
792 if ((head = malloc(sizeof (struct node_list))) == NULL) {
793 DPRINTF((DI_ERR, "malloc of node_list failed\n"));
869 if ((head = malloc(sizeof (struct node_list))) == NULL) {
870 DPRINTF((DI_ERR, "malloc of node_list failed\n"));
1107 if ((buf = malloc(len)) == NULL) {
2840 if ((p = malloc(sizeof (struct di_prom_handle))) == NULL)
2926 if ((prop = malloc(sizeof (struct di_prom_prop))) == NULL)
2956 else if ((prop->data = malloc(prop->len)) == NULL) {
3095 if ((prop = malloc(sizeof (struct di_prom_prop))) == NULL) {
3128 if ((prop->data = malloc(prop->len)) == NULL) {
3618 if ((head = malloc(sizeof (struct node_list))) == NULL) {
3619 DPRINTF((DI_ERR, "malloc of node_list failed\n"));
3681 if ((head = malloc(sizeof (struct node_list))) == NULL) {
3682 DPRINTF((DI_ERR, "malloc of node_list failed\n"));