Lines Matching refs:space
538 int space = *spacep;
541 if (space == 0) {
542 space = 1024;
543 resources = malloc(space, M_TEMP, M_NOWAIT);
548 if (len + amount > space) {
550 while (len + amount > space + extra)
552 newres = malloc(space + extra, M_TEMP, M_NOWAIT);
560 space += extra;
568 *spacep = space;
585 int space = *spacep;
593 error = pnp_read_bytes(1, &resources, &space, &len);
602 &resources, &space, &len);
611 error = pnp_read_bytes(2, &resources, &space, &len);
615 + (resources[len-1] << 8), &resources, &space,
624 *spacep = space;
646 int space = 0;
692 error = pnp_read_resources(&resources, &space, &len);