| /freebsd-14.2/sys/geom/vinum/ |
| H A D | geom_vinum_create.c | 246 d = g_malloc(sizeof(struct gv_drive), in gv_create_sd() 335 v = g_malloc(sizeof(*v), M_WAITOK | M_ZERO); in gv_concat() 341 p = g_malloc(sizeof(*p), M_WAITOK | M_ZERO); in gv_concat() 357 s = g_malloc(sizeof(*s), M_WAITOK | M_ZERO); in gv_concat() 414 v = g_malloc(sizeof(*v), M_WAITOK | M_ZERO); in gv_mirror() 421 p = g_malloc(sizeof(*p), M_WAITOK | M_ZERO); in gv_mirror() 505 v = g_malloc(sizeof(*v), M_WAITOK | M_ZERO); in gv_raid5() 511 p = g_malloc(sizeof(*p), M_WAITOK | M_ZERO); in gv_raid5() 527 s = g_malloc(sizeof(*s), M_WAITOK | M_ZERO); in gv_raid5() 576 v = g_malloc(sizeof(*v), M_WAITOK | M_ZERO); in gv_stripe() [all …]
|
| H A D | geom_vinum_raid5.c | 63 wp = g_malloc(sizeof(*wp), M_WAITOK | M_ZERO); in gv_raid5_start() 229 bq = g_malloc(sizeof(*bq), M_WAITOK | M_ZERO); in gv_raid5_check() 324 bq = g_malloc(sizeof(*bq), M_WAITOK | M_ZERO); in gv_raid5_rebuild() 451 bq = g_malloc(sizeof(*bq), M_WAITOK | M_ZERO); in gv_raid5_request() 492 bq = g_malloc(sizeof(*bq), M_WAITOK | M_ZERO); in gv_raid5_request() 514 bq = g_malloc(sizeof(*bq), M_WAITOK | M_ZERO); in gv_raid5_request() 532 bq = g_malloc(sizeof(*bq), M_WAITOK | M_ZERO); in gv_raid5_request() 544 bq = g_malloc(sizeof(*bq), M_WAITOK | M_ZERO); in gv_raid5_request() 650 cbp->bio_data = g_malloc(wp->length, M_WAITOK | M_ZERO); in gv_raid5_clone_bio()
|
| H A D | geom_vinum_rename.c | 83 name = g_malloc(GV_MAXVOLNAME, M_WAITOK | M_ZERO); in gv_rename() 93 name = g_malloc(GV_MAXPLEXNAME, M_WAITOK | M_ZERO); in gv_rename() 103 name = g_malloc(GV_MAXSDNAME, M_WAITOK | M_ZERO); in gv_rename() 113 name = g_malloc(GV_MAXDRIVENAME, M_WAITOK | M_ZERO); in gv_rename()
|
| H A D | geom_vinum_events.c | 49 ev = g_malloc(sizeof(*ev), M_WAITOK | M_ZERO); in gv_post_event() 67 ev = g_malloc(sizeof(*ev), M_WAITOK | M_ZERO); in gv_worker_exit() 138 hdr = g_malloc(GV_HDR_LEN, M_WAITOK | M_ZERO); in gv_drive_tasted() 152 d = g_malloc(sizeof(*d), M_WAITOK | M_ZERO); in gv_drive_tasted()
|
| H A D | geom_vinum_share.c | 374 s = g_malloc(sizeof(struct gv_sd), M_NOWAIT); in gv_alloc_sd() 393 d = g_malloc(sizeof(struct gv_drive), M_NOWAIT); in gv_alloc_drive() 409 v = g_malloc(sizeof(struct gv_volume), M_NOWAIT); in gv_alloc_volume() 425 p = g_malloc(sizeof(struct gv_plex), M_NOWAIT); in gv_alloc_plex()
|
| H A D | geom_vinum.c | 173 gp->softc = g_malloc(sizeof(struct gv_softc), M_WAITOK | M_ZERO); in gv_init() 176 sc->bqueue_down = g_malloc(sizeof(struct bio_queue_head), in gv_init() 178 sc->bqueue_up = g_malloc(sizeof(struct bio_queue_head), in gv_init() 367 d = g_malloc(sizeof(*d), M_WAITOK | M_ZERO); in gv_create() 389 v = g_malloc(sizeof(*v), M_WAITOK | M_ZERO); in gv_create() 411 p = g_malloc(sizeof(*p), M_WAITOK | M_ZERO); in gv_create() 433 s = g_malloc(sizeof(*s), M_WAITOK | M_ZERO); in gv_create()
|
| H A D | geom_vinum_plex.c | 586 data = g_malloc(length, M_WAITOK); in gv_sync_request() 700 data = g_malloc(length, M_WAITOK); in gv_grow_request() 913 bp->bio_data = g_malloc(GV_DFLT_SYNCSIZE, M_WAITOK); in gv_parity_request() 915 bp->bio_data = g_malloc(p->stripesize, M_WAITOK | M_ZERO); in gv_parity_request()
|
| H A D | geom_vinum_move.c | 159 newsd = g_malloc(sizeof(struct gv_sd), M_WAITOK | M_ZERO); in gv_move_sd()
|
| H A D | geom_vinum_subr.c | 717 fl2 = g_malloc(sizeof(*fl2), M_WAITOK | M_ZERO); in gv_sd_to_drive() 784 fl = g_malloc(sizeof(*fl), M_WAITOK | M_ZERO); in gv_free_sd() 834 fl = g_malloc(sizeof(*fl), M_WAITOK | M_ZERO); in gv_adjust_freespace()
|
| H A D | geom_vinum_init.c | 385 data = g_malloc(s->init_size, M_WAITOK | M_ZERO); in gv_init_plex()
|
| H A D | geom_vinum_drive.c | 273 vhdr = g_malloc(GV_HDR_LEN, M_WAITOK | M_ZERO); in gv_save_config()
|
| /freebsd-14.2/sys/geom/ |
| H A D | geom_ccd.c | 365 cs->sc_itable = g_malloc(size, M_WAITOK | M_ZERO); in ccdinterleave() 379 ii->ii_index = g_malloc(sizeof(int), M_WAITOK); in ccdinterleave() 401 ii->ii_index = g_malloc((sizeof(int) * cs->sc_ndisks), in ccdinterleave() 775 sc = g_malloc(sizeof *sc, M_WAITOK | M_ZERO); in g_ccd_create() 780 sc->sc_cinfo = g_malloc(sc->sc_ndisks * sizeof(struct ccdcinfo), in g_ccd_create()
|
| H A D | geom_slice.c | 62 gsp = g_malloc(sizeof *gsp, M_WAITOK | M_ZERO); in g_slice_alloc() 64 gsp->softc = g_malloc(scsize, M_WAITOK | M_ZERO); in g_slice_alloc() 67 gsp->slices = g_malloc(nslice * sizeof(struct g_slice), in g_slice_alloc() 468 gsl2 = g_malloc((idx + 1) * sizeof *gsl2, M_WAITOK | M_ZERO); in g_slice_conf_hot()
|
| H A D | geom_subr.c | 271 hh = g_malloc(sizeof *hh, M_WAITOK | M_ZERO); in g_modevent() 355 hh = g_malloc(sizeof *hh, M_WAITOK | M_ZERO); in g_retaste() 385 gp = g_malloc(sizeof *gp, M_WAITOK | M_ZERO); in g_new_geomf() 386 gp->name = g_malloc(sbuf_len(sb) + 1, M_WAITOK | M_ZERO); in g_new_geomf() 532 cp = g_malloc(sizeof *cp, M_WAITOK | M_ZERO); in g_new_consumer() 621 pp = g_malloc(sizeof *pp + sbuf_len(sb) + 1, M_WAITOK | M_ZERO); in g_new_providerf() 660 gap = g_malloc(sizeof(*gap) + sbuf_len(sb) + 1, M_WAITOK | M_ZERO); in g_provider_add_alias() 753 hh = g_malloc(sizeof *hh, M_WAITOK | M_ZERO); in g_resize_provider()
|
| H A D | geom_ctl.c | 176 ptr = g_malloc(len, M_WAITOK); in geom_alloc_copyin() 242 p = g_malloc(ap[i].len, M_WAITOK | M_ZERO); in gctl_copyin() 525 gps = g_malloc((n + 1) * sizeof(*gps), M_WAITOK); in g_ctl_getxml()
|
| H A D | geom_event.c | 150 args = g_malloc(sizeof *args, flag); in g_attr_changed() 345 return (g_malloc(sizeof(struct g_event), flag | M_ZERO)); in g_alloc_event()
|
| H A D | geom_disk.c | 625 buf = g_malloc(DISK_IDENT_SIZE, M_WAITOK); in g_disk_dumpconf() 720 sc = g_malloc(sizeof(*sc), M_WAITOK | M_ZERO); in g_disk_create() 871 dp = g_malloc(sizeof(struct disk), M_WAITOK | M_ZERO); in disk_alloc() 943 dap = (struct disk_alias *)g_malloc( in disk_add_alias()
|
| H A D | geom_dev.c | 264 physpath = g_malloc(physpath_len, M_WAITOK|M_ZERO); in g_dev_set_physpath() 360 sc = g_malloc(sizeof(*sc), M_WAITOK | M_ZERO); in g_dev_taste() 691 new_entries = g_malloc(alloc_size, in g_dev_ioctl()
|
| H A D | geom_vfs.c | 281 sc = g_malloc(sizeof(*sc), M_WAITOK | M_ZERO); in g_vfs_open()
|
| /freebsd-14.2/sys/geom/union/ |
| H A D | g_union.c | 250 sc = g_malloc(sizeof(*sc), M_WAITOK | M_ZERO); in g_union_ctl_create() 330 sc->sc_writemap_root = g_malloc(sc->sc_root_size * sizeof(uint64_t *), in g_union_ctl_create() 334 sc->sc_leafused = g_malloc(roundup(sc->sc_root_size, BITS_PER_ENTRY), in g_union_ctl_create() 338 g_malloc(sc->sc_leaf_size * sizeof(uint64_t), in g_union_ctl_create() 638 bp->bio_data = g_malloc(MAXBSIZE, M_WAITOK); in g_union_ctl_commit() 805 wip = g_malloc(sizeof(*wip), M_NOWAIT); in g_union_start()
|
| /freebsd-14.2/sys/geom/part/ |
| H A D | g_part_gpt.c | 473 hdr = g_malloc(sz, M_WAITOK | M_ZERO); in gpt_read_hdr() 565 buf = g_malloc(sectors * pp->sectorsize, M_WAITOK | M_ZERO); in gpt_read_tbl() 585 tbl = g_malloc(hdr->hdr_entries * sizeof(struct gpt_ent), in gpt_read_tbl() 712 table->hdr = g_malloc(sizeof(struct gpt_hdr), M_WAITOK | M_ZERO); in g_part_gpt_create() 1218 buf = g_malloc(pp->sectorsize, M_WAITOK | M_ZERO); in g_part_gpt_write() 1226 buf = g_malloc((tblsz + 1) * pp->sectorsize, M_WAITOK | M_ZERO); in g_part_gpt_write()
|
| H A D | g_part_apm.c | 540 buf = g_malloc(pp->sectorsize, M_WAITOK | M_ZERO); in g_part_apm_write() 552 buf = g_malloc(tblsz * pp->sectorsize, M_WAITOK | M_ZERO); in g_part_apm_write()
|
| H A D | g_part_ldm.c | 710 blk = g_malloc(sizeof(*blk), M_WAITOK | M_ZERO); in ldm_xvblk_handle() 713 blk->data = g_malloc(blk->size, M_WAITOK | M_ZERO); in ldm_xvblk_handle() 780 blk = g_malloc(sizeof(*blk), M_WAITOK | M_ZERO); in ldm_vblk_handle()
|
| /freebsd-14.2/sys/geom/bde/ |
| H A D | g_bde.c | 162 sc = g_malloc(sizeof(struct g_bde_softc), M_WAITOK | M_ZERO); in g_bde_create_geom()
|
| /freebsd-14.2/sys/geom/nop/ |
| H A D | g_nop.c | 298 gndelay = g_malloc(sizeof(*gndelay), M_NOWAIT | M_ZERO); in g_nop_start() 421 sc = g_malloc(sizeof(*sc), M_WAITOK | M_ZERO); in g_nop_create()
|