Lines Matching refs:enable
231 struct fiosnapcreate_multi *enable; in create_snap() local
270 if ((enable = calloc(1, sizeof (struct fiosnapcreate_multi) + in create_snap()
274 enable->backfilecount = backcount; in create_snap()
275 bcopy(fd_array, &(enable->backfiledesc), backcount * sizeof (int)); in create_snap()
277 enable->rootfiledesc = mountfd; in create_snap()
279 enable->maxsize = maxsize; in create_snap()
280 enable->chunksize = chunksize; in create_snap()
281 enable->backfilesize = max_bf_size; in create_snap()
290 (void) snprintf(enable->backfilename, in create_snap()
291 sizeof (enable->backfilename) - 1, "%s <UNLINKED>", in create_snap()
294 (void) strncpy(enable->backfilename, backpath, in create_snap()
295 sizeof (enable->backfilename) - 1); in create_snap()
296 enable->backfilename[sizeof (enable->backfilename)-1] = '\0'; in create_snap()
304 if (ioctl(ctlfd, _FIOSNAPSHOTCREATE_MULTI, enable) == -1) { in create_snap()
306 if (enable->error != 0) { in create_snap()
307 die_create_error(enable->error); in create_snap()
330 enable->snapshotnumber); in create_snap()
337 enable->snapshotnumber); in create_snap()
339 free(enable); in create_snap()