/freebsd/tools/test/stress2/tools/ |
H A D | lsholes.c | 42 off_t data, hole, pos; in main() local 66 hole = lseek(fd, pos, SEEK_HOLE); in main() 67 if (hole == -1 && errno != ENXIO) in main() 73 if (hole >= 0 && data >= 0 && hole > data) { in main() 74 siz = hole - data; in main() 80 if (hole >= 0 && data >= 0 && hole < data) { in main() 81 siz = data - hole; in main() 83 n, (intmax_t)hole, siz); in main() 87 if (hole >= 0 && data == -1) { in main() 88 siz = st.st_size - hole; in main() [all …]
|
/freebsd/sys/netinet/ |
H A D | tcp_sack.c | 467 struct sackhole *hole; in tcp_sackhole_alloc() local 475 hole = (struct sackhole *)uma_zalloc(V_sack_hole_zone, M_NOWAIT); in tcp_sackhole_alloc() 476 if (hole == NULL) in tcp_sackhole_alloc() 479 hole->start = start; in tcp_sackhole_alloc() 480 hole->end = end; in tcp_sackhole_alloc() 481 hole->rxmit = start; in tcp_sackhole_alloc() 486 return hole; in tcp_sackhole_alloc() 493 tcp_sackhole_free(struct tcpcb *tp, struct sackhole *hole) in tcp_sackhole_free() argument 496 uma_zfree(V_sack_hole_zone, hole); in tcp_sackhole_free() 512 struct sackhole *hole; in tcp_sackhole_insert() local [all …]
|
/freebsd/tools/test/stress2/misc/ |
H A D | seekhole.sh | 43 Min hole size is 32768, file size is 524288000. 45 hole #2 @ 32768, size=32768 47 hole #4 @ 98304, size=32768 49 hole #6 @ 163840, size=524091392 51 hole #8 @ 524288000, size=0
|
H A D | zfs16.sh | 72 off_t hole; 97 if ((hole = lseek(fd, 0, SEEK_HOLE)) == -1) 99 if (hole != SIZ) 101 (intmax_t)hole, (intmax_t)SIZ); 104 return (hole == SIZ ? 0 : 1);
|
H A D | zfs12.sh | 100 off_t hole; 125 if ((hole = lseek(fd, 0, SEEK_HOLE)) == -1) 127 if (hole != SIZ) 129 (intmax_t)hole, (intmax_t)SIZ); 132 return (hole == SIZ ? 0 : 1);
|
H A D | tmpfs24.sh | 43 Min hole size is 4096, file size is 524288000. 45 hole #2 @ 4096, size=4096 47 hole #4 @ 12288, size=4096 49 hole #6 @ 20480, size=524267520
|
H A D | truncate6.sh | 100 off_t hole, data, pos; 110 hole = lseek(fd, 0, SEEK_HOLE); // 0 115 if (hole != 0 && data != 131072) { 117 (intmax_t)hole, (intmax_t)data, (intmax_t)pos);
|
H A D | tmpfs28.sh | 25 Min hole size is 4096, file size is 524288000. 27 hole #2 @ 4096, size=4096 29 hole #4 @ 12288, size=4096 31 hole #6 @ 20480, size=524267520
|
/freebsd/bin/cp/tests/ |
H A D | sparse.c | 25 off_t hole, end; in sparse() local 29 (hole = lseek(fd, 0, SEEK_HOLE)) < 0 || in sparse() 33 if (end > hole) { in sparse() 35 printf("%s: hole at %zu\n", filename, (size_t)hole); in sparse()
|
/freebsd/usr.bin/mkimg/ |
H A D | image.c | 399 off_t cur, data, end, hole, pos, iof; in image_copyin_mapped() local 430 hole = lseek(fd, cur, SEEK_HOLE); in image_copyin_mapped() 431 if (hole == -1) in image_copyin_mapped() 432 hole = end; in image_copyin_mapped() 441 if (hole == end && data == end) in image_copyin_mapped() 444 if (cur == hole && data > hole) { in image_copyin_mapped() 445 hole = pos; in image_copyin_mapped() 448 blk += (pos - hole) / secsz; in image_copyin_mapped() 451 bytesize += pos - hole; in image_copyin_mapped() 453 } else if (cur == data && hole > data) { in image_copyin_mapped() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/slog/ |
H A D | slog_replay_volume.ksh | 131 if fallocate --punch-hole 2>&1 | grep -q "unrecognized option"; then 135 log_must fallocate --punch-hole -l 128K -o 512K $MNTPNT/discard 136 log_must fallocate --punch-hole -l 512K -o 1M $MNTPNT/discard
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | dmu_object.c | 390 dmu_object_next(objset_t *os, uint64_t *objectp, boolean_t hole, uint64_t txg) in dmu_object_next() argument 416 if (hole) { in dmu_object_next() 425 if (hole) { in dmu_object_next() 444 (hole ? DNODE_FIND_HOLE : 0), &offset, 0, DNODES_PER_BLOCK, txg); in dmu_object_next()
|
H A D | zfs_vnops.c | 126 boolean_t hole; in zfs_holey_common() local 134 hole = B_TRUE; in zfs_holey_common() 136 hole = B_FALSE; in zfs_holey_common() 143 error = dmu_offset_next(ZTOZSB(zp)->z_os, zp->z_id, hole, &noff); in zfs_holey_common() 151 if (hole) in zfs_holey_common() 165 ASSERT(hole); in zfs_holey_common()
|
H A D | dmu_zfetch.c | 440 uint_t hole = 0; in dmu_zfetch_future() local 445 hole += r->start - f; in dmu_zfetch_future() 447 if (hole <= r->end >> zfetch_hole_shift) in dmu_zfetch_future()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/bclone/ |
H A D | bclone_samefs_hole.ksh | 41 bclone_test hole $filesize false $TESTSRCDIR $TESTSRCDIR
|
H A D | bclone_crossfs_hole.ksh | 42 bclone_test hole $filesize false $TESTSRCDIR $TESTDSTDIR
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/ |
H A D | redacted.kshlib | 127 log_must zfs clone $sendfs@snap0 $POOL/hole 128 mntpnt=$(get_prop mountpoint $POOL/hole) 130 log_must zfs snapshot $POOL/hole@snap
|
H A D | redacted_origin.ksh | 41 typeset dsB=$POOL/hole@snap
|
/freebsd/contrib/dma/test/ |
H A D | quote.rfc2822 | 11 From his rabbit hole.
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_iso9660.c | 2372 int hole, parent; in register_CE() local 2418 hole = heap->cnt++; in register_CE() 2419 while (hole > 0) { in register_CE() 2420 parent = (hole - 1)/2; in register_CE() 2423 heap->reqs[hole].offset = offset; in register_CE() 2424 heap->reqs[hole].file = file; in register_CE() 2428 heap->reqs[hole] = heap->reqs[parent]; in register_CE() 2429 hole = parent; in register_CE() 3129 int hole, parent; in heap_add_entry() local 3169 hole = heap->used++; in heap_add_entry() [all …]
|
H A D | archive_read_support_format_tar.c | 116 int hole; member 562 if (!sb->hole) in archive_read_format_tar_read_header() 649 if (!tar->sparse_list->hole) in archive_read_format_tar_read_data() 668 if (!p->hole) { in archive_read_format_tar_skip() 3216 int hole = 1; in pax_attribute_SUN_holesdata() local 3245 tar->sparse_last->hole = hole; in pax_attribute_SUN_holesdata() 3256 hole = hole == 0; in pax_attribute_SUN_holesdata()
|
/freebsd/sys/modules/netgraph/ |
H A D | Makefile | 23 hole \
|
/freebsd/sbin/hastd/ |
H A D | token.l | 77 hole { DP; return HOLE; }
|
/freebsd/sys/netgraph/ |
H A D | ng_hole.c | 113 NETGRAPH_INIT(hole, &typestruct);
|
/freebsd/crypto/openssl/ssl/statem/ |
H A D | statem_lib.c | 2033 int hole; in ssl_get_min_max_version() local 2086 hole = 1; in ssl_get_min_max_version() 2096 hole = 1; in ssl_get_min_max_version() 2102 if (hole == 1 && tmp_real_max == 0) in ssl_get_min_max_version() 2106 hole = 1; in ssl_get_min_max_version() 2107 } else if (!hole) { in ssl_get_min_max_version() 2115 hole = 0; in ssl_get_min_max_version()
|