Home
last modified time | relevance | path

Searched refs:hole (Results 1 – 25 of 83) sorted by relevance

1234

/freebsd/tools/test/stress2/tools/
H A Dlsholes.c42 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 Dtcp_sack.c460 struct sackhole *hole; in tcp_sackhole_alloc() local
468 hole = uma_zalloc(tcp_sack_hole_zone, M_NOWAIT); in tcp_sackhole_alloc()
469 if (hole == NULL) in tcp_sackhole_alloc()
472 hole->start = start; in tcp_sackhole_alloc()
473 hole->end = end; in tcp_sackhole_alloc()
474 hole->rxmit = start; in tcp_sackhole_alloc()
479 return hole; in tcp_sackhole_alloc()
486 tcp_sackhole_free(struct tcpcb *tp, struct sackhole *hole) in tcp_sackhole_free() argument
489 uma_zfree(tcp_sack_hole_zone, hole); in tcp_sackhole_free()
505 struct sackhole *hole; in tcp_sackhole_insert() local
[all …]
/freebsd/tools/test/stress2/misc/
H A Dseekhole.sh43 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 Dseekhole2.sh22 Min hole size is 32768, file size is 524288000.
24 hole #2 @ 32768, size=32768
26 hole #4 @ 98304, size=32768
28 hole #6 @ 163840, size=524091392
30 hole #8 @ 524288000, size=0
H A Dzfs16.sh72 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 Dzfs12.sh100 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 Dtmpfs24.sh43 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 Dtmpfs28.sh25 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
H A Dtruncate6.sh100 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);
/freebsd/usr.bin/mkimg/
H A Dimage.c402 off_t cur, data, end, hole, pos, iof; in image_copyin_mapped()
433 hole = lseek(fd, cur, SEEK_HOLE); in image_copyin_mapped()
434 if (hole == -1) in image_copyin_mapped()
435 hole = end; in image_copyin_mapped()
444 if (hole == end && data == end) in image_copyin_mapped()
447 if (cur == hole && data > hole) { in image_copyin_mapped()
448 hole = pos; in image_copyin_mapped()
451 blk += (pos - hole) / secsz; in image_copyin_mapped()
454 bytesize += pos - hole; in image_copyin_mapped()
401 off_t cur, data, end, hole, pos, iof; image_copyin_mapped() local
[all...]
/freebsd/sys/contrib/device-tree/src/arm64/exynos/
H A Dexynos990-x1slte.dts21 /* Memory hole */
23 /* Memory hole */
25 /* Memory hole */
H A Dexynos990-x1s.dts21 /* Memory hole */
23 /* Memory hole */
25 /* Memory hole */
H A Dexynos990-c1s.dts39 /* Memory hole */
41 /* Memory hole */
43 /* Memory hole - last block */
H A Dexynos990-r8s.dts39 /* Memory hole */
41 /* Memory hole */
43 /* Memory hole - last block */
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/slog/
H A Dslog_replay_volume.ksh122 if fallocate --punch-hole 2>&1 | grep -q "unrecognized option"; then
126 log_must fallocate --punch-hole -l 128K -o 512K $MNTPNT/discard
127 log_must fallocate --punch-hole -l 512K -o 1M $MNTPNT/discard
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddmu_object.c381 dmu_object_next(objset_t *os, uint64_t *objectp, boolean_t hole, uint64_t txg) in dmu_object_next() argument
407 if (hole) { in dmu_object_next()
416 if (hole) { in dmu_object_next()
435 (hole ? DNODE_FIND_HOLE : 0), &offset, 0, DNODES_PER_BLOCK, txg); in dmu_object_next()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/bclone/
H A Dbclone_samefs_hole.ksh30 bclone_test hole $filesize false $TESTSRCDIR $TESTSRCDIR
H A Dbclone_crossfs_hole.ksh32 bclone_test hole $filesize false $TESTSRCDIR $TESTDSTDIR
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/
H A Dredacted.kshlib118 log_must zfs clone $sendfs@snap0 $POOL/hole
119 mntpnt=$(get_prop mountpoint $POOL/hole)
121 log_must zfs snapshot $POOL/hole@snap
H A Dredacted_origin.ksh42 typeset dsB=$POOL/hole@snap
/freebsd/contrib/dma/test/
H A Dquote.rfc282211 From his rabbit hole.
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_iso9660.c2350 size_t hole, parent; in register_CE() local
2394 hole = heap->cnt++; in register_CE()
2395 while (hole > 0) { in register_CE()
2396 parent = (hole - 1)/2; in register_CE()
2399 heap->reqs[hole].offset = offset; in register_CE()
2400 heap->reqs[hole].file = file; in register_CE()
2404 heap->reqs[hole] = heap->reqs[parent]; in register_CE()
2405 hole = parent; in register_CE()
3122 size_t hole, parent; in heap_add_entry() local
3162 hole = heap->used++; in heap_add_entry()
[all …]
/freebsd/sys/modules/netgraph/
H A DMakefile21 hole \
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/gang_blocks/
H A Dgang_blocks_001_pos.ksh46 leaves=$(read_gang_header $TESTPOOL $first_block 200 | grep -v hole | wc -l)
/freebsd/sbin/hastd/
H A Dtoken.l77 hole { DP; return HOLE; }

1234