| /freebsd-12.1/sys/geom/vinum/ |
| H A D | geom_vinum_create.c | 248 d = g_malloc(sizeof(struct gv_drive), in gv_create_sd() 337 v = g_malloc(sizeof(*v), M_WAITOK | M_ZERO); in gv_concat() 343 p = g_malloc(sizeof(*p), M_WAITOK | M_ZERO); in gv_concat() 359 s = g_malloc(sizeof(*s), M_WAITOK | M_ZERO); in gv_concat() 416 v = g_malloc(sizeof(*v), M_WAITOK | M_ZERO); in gv_mirror() 423 p = g_malloc(sizeof(*p), M_WAITOK | M_ZERO); in gv_mirror() 507 v = g_malloc(sizeof(*v), M_WAITOK | M_ZERO); in gv_raid5() 513 p = g_malloc(sizeof(*p), M_WAITOK | M_ZERO); in gv_raid5() 529 s = g_malloc(sizeof(*s), M_WAITOK | M_ZERO); in gv_raid5() 579 v = g_malloc(sizeof(*v), M_WAITOK | M_ZERO); in gv_stripe() [all …]
|
| H A D | geom_vinum_raid5.c | 64 wp = g_malloc(sizeof(*wp), M_WAITOK | M_ZERO); in gv_raid5_start() 227 bq = g_malloc(sizeof(*bq), M_WAITOK | M_ZERO); in gv_raid5_check() 322 bq = g_malloc(sizeof(*bq), M_WAITOK | M_ZERO); in gv_raid5_rebuild() 452 bq = g_malloc(sizeof(*bq), M_WAITOK | M_ZERO); in gv_raid5_request() 493 bq = g_malloc(sizeof(*bq), M_WAITOK | M_ZERO); in gv_raid5_request() 515 bq = g_malloc(sizeof(*bq), M_WAITOK | M_ZERO); in gv_raid5_request() 533 bq = g_malloc(sizeof(*bq), M_WAITOK | M_ZERO); in gv_raid5_request() 545 bq = g_malloc(sizeof(*bq), M_WAITOK | M_ZERO); in gv_raid5_request() 651 cbp->bio_data = g_malloc(wp->length, M_WAITOK | M_ZERO); in gv_raid5_clone_bio()
|
| H A D | geom_vinum_rename.c | 84 name = g_malloc(GV_MAXVOLNAME, M_WAITOK | M_ZERO); in gv_rename() 94 name = g_malloc(GV_MAXPLEXNAME, M_WAITOK | M_ZERO); in gv_rename() 104 name = g_malloc(GV_MAXSDNAME, M_WAITOK | M_ZERO); in gv_rename() 114 name = g_malloc(GV_MAXDRIVENAME, M_WAITOK | M_ZERO); in gv_rename()
|
| H A D | geom_vinum_events.c | 50 ev = g_malloc(sizeof(*ev), M_WAITOK | M_ZERO); in gv_post_event() 68 ev = g_malloc(sizeof(*ev), M_WAITOK | M_ZERO); in gv_worker_exit() 139 hdr = g_malloc(GV_HDR_LEN, M_WAITOK | M_ZERO); in gv_drive_tasted() 153 d = g_malloc(sizeof(*d), M_WAITOK | M_ZERO); in gv_drive_tasted()
|
| H A D | geom_vinum_share.c | 378 s = g_malloc(sizeof(struct gv_sd), M_NOWAIT); in gv_alloc_sd() 397 d = g_malloc(sizeof(struct gv_drive), M_NOWAIT); in gv_alloc_drive() 413 v = g_malloc(sizeof(struct gv_volume), M_NOWAIT); in gv_alloc_volume() 429 p = g_malloc(sizeof(struct gv_plex), M_NOWAIT); in gv_alloc_plex()
|
| H A D | geom_vinum.c | 175 gp->softc = g_malloc(sizeof(struct gv_softc), M_WAITOK | M_ZERO); in gv_init() 178 sc->bqueue_down = g_malloc(sizeof(struct bio_queue_head), in gv_init() 180 sc->bqueue_up = g_malloc(sizeof(struct bio_queue_head), in gv_init() 370 d = g_malloc(sizeof(*d), M_WAITOK | M_ZERO); in gv_create() 393 v = g_malloc(sizeof(*v), M_WAITOK | M_ZERO); in gv_create() 416 p = g_malloc(sizeof(*p), M_WAITOK | M_ZERO); in gv_create() 439 s = g_malloc(sizeof(*s), M_WAITOK | M_ZERO); in gv_create()
|
| H A D | geom_vinum_plex.c | 589 data = g_malloc(length, M_WAITOK); in gv_sync_request() 703 data = g_malloc(length, M_WAITOK); in gv_grow_request() 917 bp->bio_data = g_malloc(GV_DFLT_SYNCSIZE, M_WAITOK); in gv_parity_request() 919 bp->bio_data = g_malloc(p->stripesize, M_WAITOK | M_ZERO); in gv_parity_request()
|
| H A D | geom_vinum_move.c | 160 newsd = g_malloc(sizeof(struct gv_sd), M_WAITOK | M_ZERO); in gv_move_sd()
|
| H A D | geom_vinum_subr.c | 719 fl2 = g_malloc(sizeof(*fl2), M_WAITOK | M_ZERO); in gv_sd_to_drive() 787 fl = g_malloc(sizeof(*fl), M_WAITOK | M_ZERO); in gv_free_sd() 838 fl = g_malloc(sizeof(*fl), M_WAITOK | M_ZERO); in gv_adjust_freespace()
|
| H A D | geom_vinum_init.c | 386 data = g_malloc(s->init_size, M_WAITOK | M_ZERO); in gv_init_plex()
|
| H A D | geom_vinum_drive.c | 275 vhdr = g_malloc(GV_HDR_LEN, M_WAITOK | M_ZERO); in gv_save_config()
|
| /freebsd-12.1/sys/geom/ |
| H A D | geom_ccd.c | 371 cs->sc_itable = g_malloc(size, M_WAITOK | M_ZERO); in ccdinterleave() 385 ii->ii_index = g_malloc(sizeof(int), M_WAITOK); in ccdinterleave() 407 ii->ii_index = g_malloc((sizeof(int) * cs->sc_ndisks), in ccdinterleave() 781 sc = g_malloc(sizeof *sc, M_WAITOK | M_ZERO); in g_ccd_create() 786 sc->sc_cinfo = g_malloc(sc->sc_ndisks * sizeof(struct ccdcinfo), in g_ccd_create()
|
| H A D | geom_slice.c | 64 gsp = g_malloc(sizeof *gsp, M_WAITOK | M_ZERO); in g_slice_alloc() 66 gsp->softc = g_malloc(scsize, M_WAITOK | M_ZERO); in g_slice_alloc() 69 gsp->slices = g_malloc(nslice * sizeof(struct g_slice), in g_slice_alloc() 471 gsl2 = g_malloc((idx + 1) * sizeof *gsl2, M_WAITOK | M_ZERO); in g_slice_conf_hot()
|
| H A D | geom_subr.c | 232 hh = g_malloc(sizeof *hh, M_WAITOK | M_ZERO); in g_modevent() 316 hh = g_malloc(sizeof *hh, M_WAITOK | M_ZERO); in g_retaste() 346 gp = g_malloc(sizeof *gp, M_WAITOK | M_ZERO); in g_new_geomf() 347 gp->name = g_malloc(sbuf_len(sb) + 1, M_WAITOK | M_ZERO); in g_new_geomf() 497 cp = g_malloc(sizeof *cp, M_WAITOK | M_ZERO); in g_new_consumer() 587 pp = g_malloc(sizeof *pp + sbuf_len(sb) + 1, M_WAITOK | M_ZERO); in g_new_providerf() 687 hh = g_malloc(sizeof *hh, M_WAITOK | M_ZERO); in g_resize_provider() 1276 gap = (struct g_geom_alias *)g_malloc( in g_geom_add_alias()
|
| H A D | geom_event.c | 152 args = g_malloc(sizeof *args, flag); in g_attr_changed() 359 ep = g_malloc(sizeof *ep, flag | M_ZERO); in g_post_event_x()
|
| H A D | geom_disk.c | 612 buf = g_malloc(DISK_IDENT_SIZE, M_WAITOK); in g_disk_dumpconf() 707 sc = g_malloc(sizeof(*sc), M_WAITOK | M_ZERO); in g_disk_create() 852 dp = g_malloc(sizeof(struct disk), M_WAITOK | M_ZERO); in disk_alloc() 908 dap = (struct disk_alias *)g_malloc( in disk_add_alias()
|
| H A D | geom_dev.c | 251 physpath = g_malloc(physpath_len, M_WAITOK|M_ZERO); in g_dev_set_physpath() 333 sc = g_malloc(sizeof(*sc), M_WAITOK | M_ZERO); in g_dev_taste() 673 new_entries = g_malloc(alloc_size, in g_dev_ioctl()
|
| H A D | geom_vfs.c | 251 sc = g_malloc(sizeof(*sc), M_WAITOK | M_ZERO); in g_vfs_open()
|
| H A D | geom.h | 367 g_malloc(int size, int flags) in g_malloc() function
|
| /freebsd-12.1/sys/geom/part/ |
| H A D | g_part_gpt.c | 445 hdr = g_malloc(sz, M_WAITOK | M_ZERO); in gpt_read_hdr() 531 buf = g_malloc(sectors * pp->sectorsize, M_WAITOK | M_ZERO); in gpt_read_tbl() 551 tbl = g_malloc(hdr->hdr_entries * sizeof(struct gpt_ent), in gpt_read_tbl() 678 table->hdr = g_malloc(sizeof(struct gpt_hdr), M_WAITOK | M_ZERO); in g_part_gpt_create() 1171 buf = g_malloc(pp->sectorsize, M_WAITOK | M_ZERO); in g_part_gpt_write() 1179 buf = g_malloc((tblsz + 1) * pp->sectorsize, M_WAITOK | M_ZERO); in g_part_gpt_write()
|
| H A D | g_part_apm.c | 542 buf = g_malloc(pp->sectorsize, M_WAITOK | M_ZERO); in g_part_apm_write() 554 buf = g_malloc(tblsz * pp->sectorsize, M_WAITOK | M_ZERO); in g_part_apm_write()
|
| H A D | g_part_ldm.c | 711 blk = g_malloc(sizeof(*blk), M_WAITOK | M_ZERO); in ldm_xvblk_handle() 714 blk->data = g_malloc(blk->size, M_WAITOK | M_ZERO); in ldm_xvblk_handle() 781 blk = g_malloc(sizeof(*blk), M_WAITOK | M_ZERO); in ldm_vblk_handle()
|
| /freebsd-12.1/sys/geom/bde/ |
| H A D | g_bde.c | 159 sc = g_malloc(sizeof(struct g_bde_softc), M_WAITOK | M_ZERO); in g_bde_create_geom()
|
| /freebsd-12.1/sys/geom/multipath/ |
| H A D | g_multipath.c | 531 sc = g_malloc(sizeof(*sc), M_WAITOK | M_ZERO); in g_multipath_create() 782 buf = g_malloc(pp->sectorsize, M_WAITOK | M_ZERO); in g_multipath_write_metadata() 1372 buf = g_malloc(pp->sectorsize, M_WAITOK | M_ZERO); in g_multipath_ctl_destroy()
|
| /freebsd-12.1/sys/geom/mirror/ |
| H A D | g_mirror_ctl.c | 618 disks = g_malloc(sizeof(*disks) * (*nargs), M_WAITOK | M_ZERO); in g_mirror_ctl_insert() 708 sector = g_malloc(pp->sectorsize, M_WAITOK); in g_mirror_ctl_insert()
|