Home
last modified time | relevance | path

Searched refs:hole (Results 1 – 25 of 82) 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.c461 struct sackhole *hole; in tcp_sackhole_alloc() local
469 hole = (struct sackhole *)uma_zalloc(V_sack_hole_zone, M_NOWAIT); in tcp_sackhole_alloc()
470 if (hole == NULL) in tcp_sackhole_alloc()
473 hole->start = start; in tcp_sackhole_alloc()
474 hole->end = end; in tcp_sackhole_alloc()
475 hole->rxmit = start; in tcp_sackhole_alloc()
480 return hole; in tcp_sackhole_alloc()
487 tcp_sackhole_free(struct tcpcb *tp, struct sackhole *hole) in tcp_sackhole_free() argument
490 uma_zfree(V_sack_hole_zone, hole); in tcp_sackhole_free()
506 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.c401 off_t cur, data, end, hole, pos, iof; in image_copyin_mapped() local
432 hole = lseek(fd, cur, SEEK_HOLE); in image_copyin_mapped()
433 if (hole == -1) in image_copyin_mapped()
434 hole = end; in image_copyin_mapped()
443 if (hole == end && data == end) in image_copyin_mapped()
446 if (cur == hole && data > hole) { in image_copyin_mapped()
447 hole = pos; in image_copyin_mapped()
450 blk += (pos - hole) / secsz; in image_copyin_mapped()
453 bytesize += pos - hole; in image_copyin_mapped()
455 } else if (cur == data && hole > data) { in image_copyin_mapped()
[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.ksh132 if fallocate --punch-hole 2>&1 | grep -q "unrecognized option"; then
136 log_must fallocate --punch-hole -l 128K -o 512K $MNTPNT/discard
137 log_must fallocate --punch-hole -l 512K -o 1M $MNTPNT/discard
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddmu_object.c391 dmu_object_next(objset_t *os, uint64_t *objectp, boolean_t hole, uint64_t txg) in dmu_object_next() argument
417 if (hole) { in dmu_object_next()
426 if (hole) { in dmu_object_next()
445 (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.ksh40 bclone_test hole $filesize false $TESTSRCDIR $TESTSRCDIR
H A Dbclone_crossfs_hole.ksh42 bclone_test hole $filesize false $TESTSRCDIR $TESTDSTDIR
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/
H A Dredacted.kshlib128 log_must zfs clone $sendfs@snap0 $POOL/hole
129 mntpnt=$(get_prop mountpoint $POOL/hole)
131 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/sys/modules/netgraph/
H A DMakefile21 hole \
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_iso9660.c2372 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()
3137 int hole, parent; in heap_add_entry() local
3177 hole = heap->used++; in heap_add_entry()
[all …]
/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