Lines Matching refs:child_bios
56 struct bio **child_bios);
328 nvme_free_child_bios(int num_bios, struct bio **child_bios)
333 if (child_bios[i] != NULL)
334 g_destroy_bio(child_bios[i]);
337 free(child_bios, M_NVME);
343 struct bio **child_bios;
346 child_bios = malloc(num_bios * sizeof(struct bio *), M_NVME, M_NOWAIT);
347 if (child_bios == NULL)
351 child_bios[i] = g_new_bio();
352 if (child_bios[i] == NULL)
357 nvme_free_child_bios(num_bios, child_bios);
361 return (child_bios);
367 struct bio **child_bios;
378 child_bios = nvme_allocate_child_bios(*num_bios);
379 if (child_bios == NULL)
391 child = child_bios[i];
417 return (child_bios);
425 struct bio **child_bios;
428 child_bios = nvme_construct_child_bios(bp, alignment, &num_bios);
429 if (child_bios == NULL)
433 child = child_bios[i];
441 free(child_bios, M_NVME);