Lines Matching refs:fd_array
236 int *fd_array; in create_snap() local
263 &unlinkpath, &fd_array); in create_snap()
275 bcopy(fd_array, &(enable->backfiledesc), backcount * sizeof (int)); in create_snap()
323 close_all(unlinkpath, backcount, fd_array); in create_snap()
389 char **unlinkpath, int **fd_array) in open_backpath() argument
414 (void) open_multi_backfile(*path, num_back_files, fd_array, 1); in open_backpath()
432 num_back_files, fd_array, 0); in open_backpath()
454 fd = (*fd_array)[i]; in open_backpath()
569 close_all(char *closepath, int count, int *fd_array) in close_all() argument
576 if (close(fd_array[i - 1]) != 0) { in close_all()
615 open_multi_backfile(char *backpath, int count, int **fd_array, in open_multi_backfile() argument
624 *fd_array = (int *)malloc(count * sizeof (int)); in open_multi_backfile()
625 if (*fd_array == NULL) in open_multi_backfile()
644 (void) close((*fd_array)[j]); in open_multi_backfile()
667 (*fd_array)[i] = fd; in open_multi_backfile()