/freebsd/sys/geom/ |
H A D | geom_ccd.c | 362 cs->sc_itable = g_malloc(size, M_WAITOK | M_ZERO); in ccdinterleave() 376 ii->ii_index = g_malloc(sizeof(int), M_WAITOK); in ccdinterleave() 398 ii->ii_index = g_malloc((sizeof(int) * cs->sc_ndisks), in ccdinterleave() 772 sc = g_malloc(sizeof *sc, M_WAITOK | M_ZERO); in g_ccd_create() 777 sc->sc_cinfo = g_malloc(sc->sc_ndisks * sizeof(struct ccdcinfo), in g_ccd_create()
|
H A D | geom_slice.c | 60 gsp = g_malloc(sizeof *gsp, M_WAITOK | M_ZERO); in g_slice_alloc() 62 gsp->softc = g_malloc(scsize, M_WAITOK | M_ZERO); in g_slice_alloc() 65 gsp->slices = g_malloc(nslice * sizeof(struct g_slice), in g_slice_alloc() 466 gsl2 = g_malloc((idx + 1) * sizeof *gsl2, M_WAITOK | M_ZERO); in g_slice_conf_hot()
|
H A D | geom_subr.c | 270 hh = g_malloc(sizeof *hh, M_WAITOK | M_ZERO); in g_modevent() 354 hh = g_malloc(sizeof *hh, M_WAITOK | M_ZERO); in g_retaste() 384 gp = g_malloc(sizeof *gp, M_WAITOK | M_ZERO); in g_new_geomf() 385 gp->name = g_malloc(sbuf_len(sb) + 1, M_WAITOK | M_ZERO); in g_new_geomf() 531 cp = g_malloc(sizeof *cp, M_WAITOK | M_ZERO); in g_new_consumer() 620 pp = g_malloc(sizeof *pp + sbuf_len(sb) + 1, M_WAITOK | M_ZERO); in g_new_providerf() 659 gap = g_malloc(sizeof(*gap) + sbuf_len(sb) + 1, M_WAITOK | M_ZERO); in g_provider_add_alias() 752 hh = g_malloc(sizeof *hh, M_WAITOK | M_ZERO); in g_resize_provider()
|
H A D | geom_ctl.c | 175 ptr = g_malloc(len, M_WAITOK); in geom_alloc_copyin() 241 p = g_malloc(ap[i].len, M_WAITOK | M_ZERO); in gctl_copyin() 524 gps = g_malloc((n + 1) * sizeof(*gps), M_WAITOK); in g_ctl_getxml()
|
H A D | geom_event.c | 149 args = g_malloc(sizeof *args, flag); in g_attr_changed() 344 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 | 263 physpath = g_malloc(physpath_len, M_WAITOK|M_ZERO); in g_dev_set_physpath() 359 sc = g_malloc(sizeof(*sc), M_WAITOK | M_ZERO); in g_dev_taste() 690 new_entries = g_malloc(alloc_size, in g_dev_ioctl()
|
H A D | geom.h | 367 g_malloc(int size, int flags) in g_malloc() function
|
H A D | geom_io.c | 894 ptr = g_malloc(length, M_WAITOK); in g_read_data()
|
/freebsd/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/sys/geom/part/ |
H A D | g_part_gpt.c | 475 hdr = g_malloc(sz, M_WAITOK | M_ZERO); in gpt_read_hdr() 567 buf = g_malloc(sectors * pp->sectorsize, M_WAITOK | M_ZERO); in gpt_read_tbl() 587 tbl = g_malloc(hdr->hdr_entries * sizeof(struct gpt_ent), in gpt_read_tbl() 714 table->hdr = g_malloc(sizeof(struct gpt_hdr), M_WAITOK | M_ZERO); in g_part_gpt_create() 1234 buf = g_malloc(pp->sectorsize, M_WAITOK | M_ZERO); in g_part_gpt_write() 1242 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 | 709 blk = g_malloc(sizeof(*blk), M_WAITOK | M_ZERO); in ldm_xvblk_handle() 712 blk->data = g_malloc(blk->size, M_WAITOK | M_ZERO); in ldm_xvblk_handle() 779 blk = g_malloc(sizeof(*blk), M_WAITOK | M_ZERO); in ldm_vblk_handle()
|
H A D | g_part_bsd.c | 215 table->bbarea = g_malloc(BBSIZE, M_WAITOK | M_ZERO); in g_part_bsd_create()
|
H A D | g_part_ebr.c | 645 buf = g_malloc(pp->sectorsize, M_WAITOK | M_ZERO); in g_part_ebr_write()
|
H A D | g_part_bsd64.c | 622 dlp = g_malloc(sz, M_WAITOK | M_ZERO); in g_part_bsd64_write()
|
H A D | g_part.c | 456 entry = g_malloc(table->gpt_scheme->gps_entrysz, in g_part_new_entry() 796 entry = (delent == NULL) ? g_malloc(table->gpt_scheme->gps_entrysz, in g_part_ctl_add() 904 buf = g_malloc(pp->sectorsize, M_WAITOK | M_ZERO); in g_part_ctl_commit()
|
/freebsd/sys/geom/bde/ |
H A D | g_bde.c |
|
/freebsd/sys/geom/nop/ |
H A D | g_nop.c | 297 gndelay = g_malloc(sizeof(*gndelay), M_NOWAIT | M_ZERO); in g_nop_start() 420 sc = g_malloc(sizeof(*sc), M_WAITOK | M_ZERO); in g_nop_create()
|
/freebsd/sys/geom/multipath/ |
H A D | g_multipath.c | 553 sc = g_malloc(sizeof(*sc), M_WAITOK | M_ZERO); in g_multipath_create() 803 buf = g_malloc(pp->sectorsize, M_WAITOK | M_ZERO); in g_multipath_write_metadata() 1401 buf = g_malloc(pp->sectorsize, M_WAITOK | M_ZERO); in g_multipath_ctl_destroy()
|
/freebsd/sys/geom/mirror/ |
H A D | g_mirror_ctl.c | 666 disks = g_malloc(sizeof(*disks) * (*nargs), M_WAITOK | M_ZERO); in g_mirror_ctl_insert() 747 sector = g_malloc(pp->sectorsize, M_WAITOK | M_ZERO); in g_mirror_ctl_insert()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | vdev_geom.c | 102 physpath = g_malloc(physpath_len, M_WAITOK|M_ZERO); in vdev_geom_set_physpath() 889 elem = g_malloc(sizeof (*elem), M_WAITOK|M_ZERO); in vdev_geom_open()
|
/freebsd/sys/geom/raid3/ |
H A D | g_raid3_ctl.c | 507 sector = g_malloc(pp->sectorsize, M_WAITOK); in g_raid3_ctl_insert()
|
/freebsd/sys/geom/mountver/ |
H A D | g_mountver.c | 295 sc = g_malloc(sizeof(*sc), M_WAITOK | M_ZERO); in g_mountver_create()
|
/freebsd/sys/geom/cache/ |
H A D | g_cache.c | 508 sc = g_malloc(sizeof(*sc), M_WAITOK | M_ZERO); in g_cache_create()
|