Lines Matching refs:ofd

2320 write_bytes(int ofd, char *buf, size_t maxwrite, data_in_t *data_in_info)  in write_bytes()  argument
2325 if ((cnt = write(ofd, buf, maxwrite)) < (ssize_t)maxwrite) { in write_bytes()
2356 rdwr_bytes(int ifd, int ofd, char *buf, off_t bytes, in rdwr_bytes() argument
2379 rv = write_bytes(ofd, buf, in rdwr_bytes()
2412 write_zeros(int ofd, char *buf, off_t bytes, size_t wrblocksz, in write_zeros() argument
2421 rv = write_bytes(ofd, buf, wrblocksz, data_in_info); in write_zeros()
2443 calc_maxwrite(int ofd, int rw_sysattr, off_t bytes, size_t blocksize) in calc_maxwrite() argument
2452 if (fstat(ofd, &tsbuf) == 0) { in calc_maxwrite()
2486 data_copy(int ifd, int ofd, int rw_sysattr, off_t bytes, in data_copy() argument
2497 maxwrite = calc_maxwrite(ofd, rw_sysattr, bytes, blocksize); in data_copy()
2500 rv = rdwr_bytes(ifd, ofd, buf, bytes, maxwrite, in data_copy()
2508 data_copy_with_holes(int ifd, int ofd, int rw_sysattr, off_t bytes, in data_copy_with_holes() argument
2520 maxwrite = calc_maxwrite(ofd, rw_sysattr, bytes, blocksize); in data_copy_with_holes()
2528 noff = lseek(ofd, hl->hl_data, SEEK_SET); in data_copy_with_holes()
2535 rv = write_zeros(ofd, buf, datasize, in data_copy_with_holes()
2559 rv = write_zeros(ofd, buf, 1, maxwrite, data_in_info); in data_copy_with_holes()
2562 (void) ftruncate(ofd, hl->hl_data); in data_copy_with_holes()
2565 rv = rdwr_bytes(ifd, ofd, buf, datasize, maxwrite, in data_copy_with_holes()
2594 rv = rdwr_bytes(ifd, ofd, buf, datasize, maxwrite, in data_copy_with_holes()