Home
last modified time | relevance | path

Searched full:receive (Results 1 – 25 of 2780) sorted by relevance

12345678910>>...112

/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_-e.ksh25 # ZFS receive '-e' option can be used to discard all but the last element of
30 # 2. Verify 'zfs receive -e' rejects invalid options
31 # 3. Verify 'zfs receive -e' can receive the root dataset
32 # 4. Verify 'zfs receive -e' can receive a replication stream
33 # 5. Verify 'zfs receive -e' can receive an incremental replication stream
45 log_assert "ZFS receive '-e' option can be used to discard all but the last"\
66 # 2. Verify 'zfs receive -e' rejects invalid options
69 log_mustnot eval "zfs receive -e < $streamfile"
70 log_mustnot eval "zfs receive -e $recvfs@snap < $streamfile"
71 log_mustnot eval "zfs receive -e $recvfs/1/2/3 < $streamfile"
[all …]
H A Dzfs_receive_to_encrypted.ksh25 # ZFS should receive to an encrypted child dataset.
30 # 3. Attempt to receive a stream to an encrypted child
32 # 5. Attempt to receive an incremental stream to an encrypted child (must fail)
33 # 6. Attempt to receive a stream with properties to an unencrypted child
34 # 7. Attempt to receive an incremental stream to an unencrypted child
35 # 8. Attempt to receive with -o encryption=off to an unencrypted child
36 # 9. Attempt to receive a replication stream to an unencrypted child
37 # 10. Attempt to receive a snapshot stream to an encrypted child (must fail)
56 log_assert "ZFS should receive encrypted filesystems into child dataset"
69 log_note "Verifying ZFS will receive to an encrypted child"
[all …]
H A Dzfs_receive_010_pos.ksh35 # 2. Send filesystem, receive as clone of itself.
37 # 4. Send filesystem, receive as clone of other filesystem.
83 log_assert "zfs receive of full send as clone should work"
96 # create a situation where, when you receive the full send of each as
101 # Receive a file onto a file (and vice versa).
104 # Receive a file onto a file with holes (and vice versa).
107 # Receive a file onto a directory (and vice versa).
110 # Receive a file onto a missing object (and vice versa).
113 # Receive a file with holes onto a file with holes (and vice versa).
116 # Receive a file with holes onto a directory (and vice versa).
[all …]
H A Dzfs_receive_008_pos.ksh36 # Verifying 'zfs receive -vn [<filesystem|snapshot>]
37 # and zfs receive -vn -d <filesystem>'
42 # 3. run zfs receive with -v option
43 # 3. Dryrun zfs receive with -vn option
44 # 3. Dryrun zfs receive with -vn -d option
45 # 4. Verify receive output and result
67 log_assert "Verifying 'zfs receive -vn [<filesystem|snapshot>] " \
68 "and zfs receive -vn -d <filesystem>'"
81 typeset dryrun_msg="would receive full stream of ${orig_snap} into ${rst_snap}"
98 log_note "Check ZFS receive $opt [<filesystem|snapshot>]"
[all …]
H A Dzfs_receive_005_neg.ksh36 # Verify 'zfs receive' fails with unsupported scenarios.
44 # 2. Execute 'zfs receive'
67 log_assert "Verify 'zfs receive' fails with unsupported scenarios."
82 log_note "'zfs receive' fails with invalid send streams."
83 log_mustnot eval "cat /dev/zero | zfs receive $rst_init_snap"
84 log_mustnot eval "cat /dev/zero | zfs receive -d $rst_root"
86 log_must eval "zfs receive $rst_init_snap < $full_bkup"
94 log_mustnot eval "zfs receive $rst_inc_snap < $inc_bkup"
95 log_mustnot eval "zfs receive -d $rst_root < $inc_bkup"
97 log_pass "Unsupported scenarios to 'zfs receive' fail as expected."
H A Dzfs_receive_raw.ksh25 # ZFS should receive streams from raw sends.
31 # 4. Attempt to receive a raw send stream as a child of an unencrypted dataset
35 # 8. Attempt to receive a raw send stream as a child of an encrypted dataset
39 # 12. Verify 'zfs receive -n' works with the raw stream
55 log_assert "ZFS should receive streams from raw sends"
68 log_note "Verify ZFS can receive a raw send stream from an encrypted dataset"
69 log_must eval "zfs send -w $snap | zfs receive $TESTPOOL/$TESTFS2"
81 log_must eval "zfs send -w $snap | zfs receive $TESTPOOL/$TESTFS1/c1"
92 log_must eval "zfs send -w $snap | zfs receive -n $TESTPOOL/$TESTFS3"
94 log_pass "ZFS can receive stream
[all...]
H A Dzfs_receive_from_encrypted.ksh25 # ZFS should receive an unencrypted stream from an encrypted dataset
32 # 5. Attempt to receive the snapshot into an unencrypted child
35 # 8. Attempt to receive the snapshot into an encrypted child
52 log_assert "ZFS should receive an unencrypted stream from an encrypted dataset"
66 log_note "Verify ZFS can receive into an unencrypted child"
67 log_must eval "zfs send $snap | zfs receive $TESTPOOL/$TESTFS1/c1"
76 log_note "Verify ZFS can receive into an encrypted child"
77 log_must eval "zfs send $snap | zfs receive $TESTPOOL/$TESTFS2/c1"
83 log_pass "ZFS can receive an unencrypted stream from an encrypted dataset"
H A Dzfs_receive_raw_incremental.ksh25 # ZFS should receive streams from raw incremental sends.
32 # 5. Attempt to receive a raw send stream of the first snapshot
34 # 7. Attempt and intentionally fail to receive the second snapshot
35 # 8. Verify that the required passphrase hasn't changed on the receive side
57 log_assert "ZFS should receive streams from raw incremental sends"
76 log_must eval "zfs send -w $snap1 | zfs receive $TESTPOOL/$TESTFS2"
84 log_mustnot eval "zfs receive $TESTPOOL/$TESTFS2 < $ibackup_trunc"
89 log_must eval "zfs receive $TESTPOOL/$TESTFS2 < $ibackup"
96 log_pass "ZFS can receive streams from raw incremental sends"
/freebsd-src/sys/contrib/openzfs/man/man8/
H A Dzfs-receive.837 .Nm zfs-receive
41 .Cm receive
48 .Cm receive
56 .Cm receive
60 .Cm receive
69 .Cm receive
78 .Cm receive
94 .Nm zfs Cm receive .
104 .Cm receive
114 The ability to send and receive deduplicated send streams has been removed.
[all …]
H A Dzfs-recv.837 .Nm zfs-receive
41 .Cm receive
48 .Cm receive
56 .Cm receive
60 .Cm receive
69 .Cm receive
78 .Cm receive
94 .Nm zfs Cm receive .
104 .Cm receive
114 The ability to send and receive deduplicated send streams has been removed.
[all …]
/freebsd-src/sys/dev/tsec/
H A Dif_tsecreg.h62 /* TSEC Receive Control and Status Registers */
63 #define TSEC_REG_RCTRL 0x300 /* Receive control register */
64 #define TSEC_REG_RSTAT 0x304 /* Receive status register */
66 #define TSEC_REG_RXIC 0x310 /* Receive interrupt coalescing
69 #define TSEC_REG_MRBLR 0x340 /* Maximum receive buffer length register */
91 /* TSEC Transmit and Receive Counters */
92 #define TSEC_REG_MON_TR64 0x680 /* Transmit and receive 64-byte
94 #define TSEC_REG_MON_TR127 0x684 /* Transmit and receive 65-127 byte
96 #define TSEC_REG_MON_TR255 0x688 /* Transmit and receive 128-255 byte
98 #define TSEC_REG_MON_TR511 0x68c /* Transmit and receive 256-511 byte
[all …]
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/
H A Drsend_022_pos.ksh23 # Verify resumability of an incremental ZFS send/receive with ZFS bookmarks in
29 # 3. Destroy the filesystem for the receive
30 # 4. Verify receive of the full send stream
34 # 7. Try ZFS receive, which should fail with a checksum mismatch error
36 # 9. ZFS receive and verify the receive completes successfully
41 log_assert "Verify resumability of an incremental ZFS send/receive with ZFS " \
53 log_must zfs receive -v $recvfs </$POOL/initial.zsend
56 log_must zfs receive -v $sendfs </$POOL/initial.zsend
57 log_must zfs receive -v $sendfs </$POOL/incremental.zsend
60 log_pass "Verify resumability of an incremental ZFS send/receive with ZFS " \
H A Dsend_mixed_raw.ksh24 # Verify that 'zfs receive' produces an error when mixing
75 "zfs receive $TESTPOOL/$TESTFS2"
78 "zfs receive $TESTPOOL/$TESTFS3"
82 "zfs receive $TESTPOOL/$TESTFS2"
84 "zfs receive $TESTPOOL/$TESTFS3"
87 "zfs receive $TESTPOOL/$TESTFS2"
89 "zfs receive $TESTPOOL/$TESTFS3"
99 "zfs receive $TESTPOOL/$TESTFS2"
105 "zfs receive $TESTPOOL/$TESTFS3"
109 "zfs receive $TESTPOOL/$TESTFS2"
[all …]
H A Drsend_024_pos.ksh23 # Verify resumability of a full ZFS send/receive with the source filesystem
27 # 1. Destroy the filesystem for the receive
31 # 5. Try ZFS receive, which should fail with a checksum mismatch error
33 # 7. ZFS receive and verify the receive completes successfully
38 log_assert "Verify resumability of a full ZFS send/receive with the source " \
52 log_pass "Verify resumability of a full ZFS send/receive with the source " \
/freebsd-src/tests/sys/cddl/zfs/tests/cli_root/zfs_receive/
H A Dzfs_receive_008_pos.ksh36 # Verifying 'zfs receive -vn [<filesystem|snapshot>]
37 # and zfs receive -vn -d <filesystem>'
42 # 3. run zfs receive with -v option
43 # 3. Dryrun zfs receive with -vn option
44 # 3. Dryrun zfs receive with -vn -d option
45 # 4. Verify receive output and result
78 log_assert "Verifying 'zfs receive -vn [<filesystem|snapshot>] " \
79 "and zfs receive -vn -d <filesystem>'"
92 typeset dryrun_msg="would receive full stream of ${orig_snap} into ${rst_snap}"
114 log_note "Check ZFS receive $opt [<filesystem|snapshot>]"
[all …]
H A Dzfs_receive_005_neg.ksh36 # Verify 'zfs receive' fails with unsupported scenarios.
44 # 2. Execute 'zfs receive'
78 log_assert "Verify 'zfs receive' fails with unsupported scenarios."
93 log_note "'zfs receive' fails with invalid send streams."
94 log_mustnot eval "$ZFS receive $rst_init_snap < /dev/zero"
95 log_mustnot eval "$ZFS receive -d $rst_root </dev/zero"
97 log_must eval "$ZFS receive $rst_init_snap < $full_bkup"
105 log_mustnot eval "$ZFS receive $rst_inc_snap < $inc_bkup"
106 log_mustnot eval "$ZFS receive -d $rst_root < $inc_bkup"
108 log_pass "Unsupported scenarios to 'zfs receive' fail as expected."
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/
H A Dredacted_origin.ksh54 log_must eval "zfs receive $POOL2/rBCD <$stream"
55 log_must eval "zfs receive $targ <$stream"
59 log_must eval "zfs receive $POOL2/rBC <$stream"
63 log_must eval "zfs receive $POOL2/rE <$stream"
66 log_must eval "zfs receive -o origin=$POOL2/rBCD@snap0 $POOL2/BCDrF <$stream"
67 log_must eval "zfs receive -o origin=$POOL2/rBC@snap0 $POOL2/BCrF <$stream"
68 log_must eval "zfs receive -o origin=$POOL2/rE@snap0 $POOL2/ErF <$stream"
72 log_must eval "zfs receive -o origin=$targ $POOL2/tdBCD <$stream"
75 log_must eval "zfs receive -o origin=$targ $POOL2/tdBC <$stream"
78 log_mustnot eval "zfs receive -o origin=$targ $POOL2/tdE <$stream"
[all …]
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/zvol_misc/
H A Dzvol_misc_hierarchy.ksh30 # 2. Verify 'zfs recv' will not (force-)receive a ZVOL over the root dataset
31 # 3. Verify 'zfs recv' cannot receive a ZVOL overwriting datasets with children
32 # 4. Verify 'zfs recv' cannot receive datasets below a ZVOL
65 # 2. Verify 'zfs recv' will not (force-)receive a ZVOL over the root dataset
66 log_mustnot eval "zfs receive -F $poolname < $streamfile_zvol"
68 # 3. Verify 'zfs recv' cannot receive a ZVOL overwriting datasets with children
71 log_mustnot eval "zfs receive -F $poolname/fs < $streamfile_zvol"
73 log_must eval "zfs receive -F $poolname/fs < $streamfile_zvol"
75 # 4. Verify 'zfs recv' cannot receive datasets below a ZVOL
77 log_mustnot eval "zfs receive $poolname/volume/subfs < $streamfile_fs"
[all …]
/freebsd-src/lib/libsys/
H A Drecv.236 .Nd receive message(s) from a socket
56 are used to receive messages from a socket,
57 and may be used to receive data on a socket whether or not
89 function is used to receive multiple
109 before first receive is performed.
126 receive call waits for a message to arrive, unless
134 The receive calls except
181 flag causes the receive operation to return data
182 from the beginning of the receive queue without removing that
184 Thus, a subsequent receive call will return the same data.
[all …]
/freebsd-src/crypto/heimdal/lib/krb5/
H A Dsend_to_kdc.c111 * Send kerberos requests and receive a reply on a udp or any other kind
260 krb5_data *receive) in send_via_proxy() argument
313 prefix, send_data, receive); in send_via_proxy()
316 if(ret == 0 && receive->length != 0) in send_via_proxy()
326 krb5_data *receive) in send_via_plugin() argument
345 timeout, send_data, receive); in send_via_plugin()
363 * in `receive'.
370 krb5_data *receive) in krb5_sendto() argument
376 krb5_data_zero(receive); in krb5_sendto()
392 context->kdc_timeout, send_data, receive); in krb5_sendto()
[all …]
/freebsd-src/sys/dev/my/
H A Dif_myreg.h39 #define MY_TCRRCR 0x18 /* receive & transmit configuration */
42 #define MY_RXPDR 0x24 /* receive polling demand */
43 #define MY_RXCWP 0x28 /* receive current word pointer */
45 #define MY_RXLBA 0x30 /* receive list base address */
55 * Receive Configuration Register
57 #define MY_RXRUN 0x00008000 /* receive running status */
59 #define MY_RFCEN 0x00002000 /* receive flow control packet enable */
61 #define MY_RBLEN 0x00000800 /* receive burst length enable */
73 #define MY_ARP 0x000000008 /* receive runt pkt */
74 #define MY_ALP 0x000000004 /* receive long pkt */
[all …]
/freebsd-src/sys/ofed/include/uapi/rdma/
H A Dib_user_mad.h56 * @status - 0 on successful receive, ETIMEDOUT if no response
59 * @timeout_ms - Milliseconds to wait for response (unset on receive)
62 * @qkey - Remote Q_Key to be sent with (unset on receive)
67 * @gid_index - Local GID index to send with (unset on receive)
99 * @status - 0 on successful receive, ETIMEDOUT if no response
102 * @timeout_ms - Milliseconds to wait for response (unset on receive)
105 * @qkey - Remote Q_Key to be sent with (unset on receive)
110 * @gid_index - Local GID index to send with (unset on receive)
173 * @method_mask - The caller will receive unsolicited MADs for any method
175 * @mgmt_class - Indicates which management class of MADs should be receive
[all …]
/freebsd-src/sys/contrib/ncsw/inc/flib/
H A Dfsl_fman_dtsec.h104 * %DTSEC_IEVENT_BABR - Babbling receive error. This bit indicates that
108 * %DTSEC_IEVENT_RXC - Receive control (pause frame) interrupt. A pause
155 * %DTSEC_IEVENT_GRSC - Graceful receive stop complete. It allows the user to
156 * know if the system has completed the stop and it is safe to write to receive
164 * %DTSEC_IEVENT_RDPE - Internal data error on receive. This bit indicates that
165 * the dTSEC has detected a parity error on its stored receive data, which is
421 uint32_t rctrl; /* 0x050 Receive control register */
440 uint32_t tr64; /* 0x200 transmit and receive 64 byte frame counter */
441 uint32_t tr127; /* 0x204 transmit and receive 65 to 127 byte frame
443 uint32_t tr255; /* 0x208 transmit and receive 128 to 255 byte frame
[all …]
/freebsd-src/sys/dev/usb/controller/
H A Duss820dci.h67 #define USS820_RXDAT 0x05 /* Receive FIFO data */
69 #define USS820_RXCNTL 0x06 /* Receive FIFO byte count low */
72 #define USS820_RXCNTH 0x07 /* Receive FIFO byte count high */
76 #define USS820_RXCON 0x08 /* Receive FIFO control */
79 #define USS820_RXCON_ARM 0x04 /* Auto Receive Management */
80 #define USS820_RXCON_RXISO 0x08 /* Receive Isochronous Data */
86 #define USS820_RXCON_RXCLR 0x80 /* Receive FIFO clear */
88 #define USS820_RXFLG 0x09 /* Receive FIFO flag (Read Only) */
105 #define USS820_EPCON_RXEPEN 0x04 /* Receive Endpoint Enable */
106 #define USS820_EPCON_RXIE 0x08 /* Receive Input Enable */
[all …]
/freebsd-src/tests/sys/cddl/zfs/tests/cli_root/zpool_destroy/
H A Dzpool_destroy_004_pos.ksh16 # even if that pool has running zfs send or receive activity.
23 # - Run zfs send | zfs receive in the background.
26 # - Wait for the send|receive to exit. It must not be killed in
66 # The pid of this pipe line is that of zfs receive
68 ( $ZFS send -RP $TESTPOOL/$TESTFS@snap1 | $ZFS receive -Fu $recv/d1 ) &
92 log_note "send|receive took ${wtime} seconds to finish."
110 log_note "TEST: send|receive to the same pool"
114 log_note "TEST: send|receive to different pools, destroy sender"
118 log_note "TEST: send|receive to different pools, destroy receiver"
134 # A longer test that simulates a more realistic send|receive that exceeds

12345678910>>...112