Lines Matching refs:malloc
463 zio_gb = malloc(SPA_GANGBLOCKSIZE); in zio_read_gang()
590 compbuf = malloc(psize); in zio_read()
594 compbuf = *buf = malloc(lsize); in zio_read()
605 *buf = malloc(lsize); in zio_read()
640 bp = malloc(sizeof(blkptr_t)); in dmu_read()
657 *buf = malloc(size); in dmu_read()
1003 buf = malloc(zfs_to_cpu16(le->le_name_length, endian) in fzap_iterate()
1147 data->dnode_mdn = malloc(sizeof(*mdn)); in dnode_get()
1188 dn_new = malloc(sizeof(*dn_new)); in dnode_get_path()
1269 dn_new = malloc(sizeof(*dn_new)); in dnode_get_path()
1408 fsname = malloc(ptr_at - fullpath + 1); in dnode_get_fullpath()
1414 snapname = malloc(ptr_slash - ptr_at); in dnode_get_fullpath()
1600 ret = malloc(slen + 1); in zfs_nvlist_lookup_string()
1700 *nvlist = malloc(VDEV_PHYS_SIZE); in int_zfs_fetch_nvlist()
1857 data = malloc(sizeof(*data)); in zfs_mount()
1862 ub_array = malloc(VDEV_UBERBLOCK_RING); in zfs_mount()
1868 ubbest = malloc(sizeof(*ubbest)); in zfs_mount()
2082 data->file_buf = malloc(SPA_MAXBLOCKSIZE); in zfs_read()
2266 name2 = malloc(strlen(name) + 2); in iterate_zap_snap()