Searched refs:snapbuf (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/
H A Dfssnap.c777 struct buf *snapbuf; local
815 snapbuf = getrbuf(KM_SLEEP);
826 snapbuf->b_bcount = len;
827 snapbuf->b_lblkno = lbtodb(chunk * cmap->cmap_chunksz + offset);
828 snapbuf->b_un.b_addr = buffer;
830 snapbuf->b_iodone = NULL;
831 snapbuf->b_proc = NULL; /* i.e. the kernel */
832 snapbuf->b_flags = B_READ | B_BUSY;
833 snapbuf->b_edev = sidp->sid_fvp->v_vfsp->vfs_dev;
848 snapbuf
[all...]
/illumos-gate/usr/src/lib/libscf/common/
H A Dscf_tmpl.c1719 char *fmribuf = NULL, *snapbuf = NULL, *pg_name = NULL, *pg_type = NULL; local
1783 * snap and snapbuf are NULL.
1803 if ((snapbuf = malloc(nbufsz)) == NULL) {
1807 if (scf_snapshot_get_name(snap, snapbuf, nbufsz) < 0) {
1815 p->pw_snapname = snapbuf;
1832 if (snapbuf == NULL) {
1897 free(snapbuf);
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_libscf.c11365 char *snapbuf = NULL; local
11374 snapbuf = safe_malloc(max_scf_name_len + 1);
11375 if (scf_snapshot_get_name(cur_snap, snapbuf,
11404 ret = scf_tmpl_validate_fmri(g_hndl, inst_fmri, snapbuf, &errs,
11448 free(snapbuf);
13343 char *snapbuf = NULL; local
13359 snapbuf = safe_malloc(max_scf_name_len + 1);
13360 if (scf_snapshot_get_name(cur_snap, snapbuf,
13377 while (scf_tmpl_iter_pgs(pgt, fmribuf, snapbuf, NULL, 0) == 1) {
13418 free(snapbuf);
[all...]

Completed in 79 milliseconds