Searched refs:hole_size (Results 1 – 2 of 2) sorted by relevance
/coreutils/tests/cp/ |
D | sparse.sh | 47 hole_size=$(stat -c %o copy) 48 dd if=/dev/zero bs=$hole_size count=$maxn of=zeros || framework_failure_ 64 bs=$hole_size count=$n status=none || framework_failure_
|
/coreutils/src/ |
D | copy.c | 314 size_t hole_size, bool punch_holes, bool allow_reflink, in sparse_copy() argument 323 copy_debug.sparse_detection = hole_size ? COPY_DEBUG_YES : COPY_DEBUG_NO; in sparse_copy() 324 else if (hole_size && copy_debug.sparse_detection == COPY_DEBUG_EXTERNAL) in sparse_copy() 329 if (!hole_size && allow_reflink) in sparse_copy() 406 size_t csize = hole_size ? hole_size : buf_size; in sparse_copy() 415 if (hole_size && csize) in sparse_copy() 546 size_t hole_size, off_t ext_start, off_t src_total_size, in lseek_copy() argument 624 sparse_mode != SPARSE_ALWAYS ? 0 : hole_size, in lseek_copy() 1548 size_t hole_size = STP_BLKSIZE (&sb); in copy_reg() local 1598 ? lseek_copy (source_desc, dest_desc, &buf, buf_size, hole_size, in copy_reg() [all …]
|