Searched refs:lddp (Results 1 – 1 of 1) sorted by relevance
55 lut_dump_array_alloc(struct lut_dump_desc *lddp) in lut_dump_array_alloc() argument59 if (lddp->ld_array == NULL) { in lut_dump_array_alloc()60 lddp->ld_arraysz = LUT_SIZE_INIT; in lut_dump_array_alloc()61 lddp->ld_array = mdb_zalloc(LUT_SIZE_INIT * LCPSZ, UM_SLEEP); in lut_dump_array_alloc()65 new = mdb_zalloc((lddp->ld_arraysz + LUT_SIZE_INCR) * LCPSZ, UM_SLEEP); in lut_dump_array_alloc()66 bcopy(lddp->ld_array, new, lddp->ld_arraysz * LCPSZ); in lut_dump_array_alloc()67 mdb_free(lddp->ld_array, lddp->ld_arraysz * LCPSZ); in lut_dump_array_alloc()68 lddp->ld_array = new; in lut_dump_array_alloc()69 lddp->ld_arraysz += LUT_SIZE_INCR; in lut_dump_array_alloc()73 lut_dump_array_free(struct lut_dump_desc *lddp) in lut_dump_array_free() argument[all …]