/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/ |
H A D | send-L_toggle.ksh | 29 log_must_busy zfs destroy -r $TESTPOOL/recv 47 log_must zfs create $TESTPOOL/recv 49 log_must zfs send -c $TESTPOOL/fs@snap | zfs recv $TESTPOOL/recv/noL-noL 50 log_must zfs send -c -i @snap $TESTPOOL/fs@snap2| zfs recv $TESTPOOL/recv/noL-noL 51 log_must diff /$TESTPOOL/fs/file /$TESTPOOL/recv/noL-noL/file 53 log_must zfs send -c -L $TESTPOOL/fs@snap | zfs recv $TESTPOOL/recv/L-L 54 log_must zfs send -c -L -i @snap $TESTPOOL/fs@snap2 | zfs recv [all...] |
H A D | recv_dedup_encrypted_zvol.ksh | 33 destroy_dataset $TESTPOOL/recv "-r" 43 typeset recvdev=$ZVOL_DEVDIR/$TESTPOOL/recv 52 log_must eval "zstream redup $sendfile | zfs recv $TESTPOOL/recv" 54 log_must zfs load-key $TESTPOOL/recv
|
H A D | recv_dedup.ksh | 33 destroy_dataset $TESTPOOL/recv "-r" 46 log_must zfs create $TESTPOOL/recv 47 log_must eval "zstream redup $sendfile | zfs recv -d $TESTPOOL/recv" 51 # The recv'd filesystem is called "/fs", so only compare that subdirectory. 52 log_must directory_diff /$TESTPOOL/tar/fs /$TESTPOOL/recv/fs
|
H A D | send_encrypted_files.ksh | 50 datasetexists $TESTPOOL/recv && \ 51 destroy_dataset $TESTPOOL/recv -r 108 log_must eval "zfs recv -F $TESTPOOL/recv < $sendfile" 109 log_must eval "zfs recv -F $TESTPOOL/recv < $sendfile2" 110 log_must zfs load-key $TESTPOOL/recv 113 actual_cksum=$(recursive_cksum /$TESTPOOL/recv) 117 log_must xattrtest -f 10 -o3 -y -p /$TESTPOOL/recv/xattrondir 118 log_must xattrtest -f 10 -o3 -y -p /$TESTPOOL/recv/xattrsadi [all...] |
H A D | send_encrypted_truncated_files.ksh | 46 datasetexists $TESTPOOL/recv && \ 47 destroy_dataset $TESTPOOL/recv -r 117 log_must eval "zfs recv -F $TESTPOOL/recv < $sendfile" 118 log_must eval "zfs recv -F $TESTPOOL/recv < $sendfile2" 119 log_must zfs load-key $TESTPOOL/recv 122 actual_cksum=$(recursive_cksum /$TESTPOOL/recv)
|
H A D | send_encrypted_props.ksh | 31 # 3. Verify that 'zfs recv -o keylocation=prompt' fails 32 # 4. Verify that 'zfs recv -x <encryption prop>' fails on a raw send stream 49 destroy_dataset $TESTPOOL/recv "-r" 57 log_assert "'zfs recv' must properly handle encryption properties" 89 log_mustnot eval "zfs send -e $TESTPOOL/crypt/ds1 | zfs recv $TESTPOOL/recv" 95 log_mustnot eval "zfs recv -o encryption=on -o keyformat=passphrase" \ 96 "$TESTPOOL/recv < $sendfile" 97 log_mustnot eval "zfs recv -o encryption=on -o keyformat=passphrase" \ 98 "-o keylocation=prompt $TESTPOOL/recv < [all...] |
H A D | send-wR_encrypted_zvol.ksh | 45 destroy_dataset $TESTPOOL/recv "-r" 58 typeset recvdev=$ZVOL_DEVDIR/$TESTPOOL/recv 98 log_must eval "zfs recv $TESTPOOL/recv < $sendfile" 99 log_must zfs load-key $TESTPOOL/recv
|
H A D | send_partial_dataset.ksh | 58 log_must eval "zfs send $POOL/testfs2@a | zfs recv $POOL/recvfs" 64 log_mustnot zfs recv -s $POOL/recvfullfs < /$POOL/stream/full.send 65 log_mustnot zfs recv -s $POOL/recvfs < /$POOL/stream/inc.send 68 log_mustnot eval "zfs send --saved $POOL/recvfullfs | zfs recv -s " \ 71 log_must eval "zfs send -t $token | zfs recv -s $POOL/partialfs" 76 log_must eval "zfs send $POOL/recvfs@a | zfs recv $POOL/partialfs" 78 "zfs recv -s $POOL/partialfs" 80 log_must eval "zfs send -t $token | zfs recv -s $POOL/partialfs" 85 log_must eval "zfs send $POOL/recvfs@a | zfs recv $POOL/partialfs" 89 log_mustnot zfs recv [all...] |
H A D | send_holds.ksh | 88 log_assert "Verify 'zfs send/recv' can send and receive dataset holds." 131 log_must zfs recv -F $recv_snap <$full_bkup 150 log_must zfs recv -F $recv_inc_snap <$inc_bkup 162 log_must zfs recv -F $recv_inc_snap2 <$inc_bkup 167 log_must zfs recv -F $recv_inc_snap2 <$inc_bkup 169 log_note "Verify recv -h skips the receive of holds" 173 log_must zfs recv -F -h $recv_inc_snap3 <$inc_bkup 177 log_pass "'zfs send/recv' can send and receive dataset holds."
|
/freebsd-current/lib/libc/sys/ |
H A D | recv.c | 40 __ssp_real(recv)(int s, void *buf, size_t len, int flags) function 43 * POSIX says recv() shall be a cancellation point, so call the
|
H A D | Makefile.inc | 28 recv.c \
|
/freebsd-current/sys/dev/sume/ |
H A D | if_sume.c | 219 adapter->recv[SUME_RIFFA_CHANNEL_DATA]->buf_addr + 325 struct riffa_chnl_dir *send, *recv; local 342 recv = adapter->recv[ch]; 412 "0x%08x\n", ch, recv->state, vect); 413 switch (recv->state) { 417 "interrupt in recv+0 state %u: " 418 "vect = 0x%08x\n", ch, recv->state, 420 recv->recovery = 1; 426 recv 807 struct riffa_chnl_dir *recv = adapter->recv[SUME_RIFFA_CHANNEL_REG]; local [all...] |
/freebsd-current/tests/sys/kern/ |
H A D | unix_dgram.c | 122 ATF_REQUIRE(recv(fd[1], buf, maxdgram, MSG_PEEK) == (ssize_t)maxdgram); 142 ATF_REQUIRE(recv(fd[1], buf, maxdgram, 0) == -1); 147 ATF_REQUIRE(recv(fd[1], buf, maxdgram, MSG_DONTWAIT) == -1); 152 ATF_REQUIRE(recv(fd[1], buf, maxdgram, 0) == -1); 203 ATF_REQUIRE(recv(one, buf, sizeof(buf), 0) == 42); 230 ATF_REQUIRE(recv(one, buf, sizeof(buf), 0) == sizeof(buf)); 232 ATF_REQUIRE(recv(one, buf, sizeof(buf), 0) == sizeof(buf)); 240 ATF_REQUIRE(recv(one, buf, sizeof(buf), 0) == sizeof(buf)); 242 ATF_REQUIRE(recv(one, buf, sizeof(buf), 0) == sizeof(buf)); 246 ATF_REQUIRE(recv(on [all...] |
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | net_read.c | 85 count = recv (sock, cbuf, rem, 0); 96 count = recv (sock, cbuf, rem, 0);
|
H A D | socket_wrapper.h | 114 #ifdef recv 115 #undef recv macro 117 #define recv(s,buf,len,flags) swrap_recv(s,buf,len,flags) macro
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/ |
H A D | redacted_volume.ksh | 64 log_must eval "zfs recv $recvvol <$stream" 79 log_must dd if=$recv_file of=$tmpdir/recv.dd bs=8k count=64 80 log_must diff $tmpdir/send.dd $tmpdir/recv.dd 87 log_must eval "zfs recv $recvvol <$stream" 102 log_must dd if=$recv_file of=$tmpdir/recv.dd bs=8k count=32 skip=32 103 log_must diff $tmpdir/send.dd $tmpdir/recv.dd
|
H A D | redacted_resume.ksh | 29 # 5. Verify that recv -A removes a partially received dataset. 76 # Test recv -A works properly and verify saved sends are not allowed 77 log_mustnot zfs recv -A $recvfs 79 log_mustnot zfs recv -A $recvfs 85 log_must zfs recv -A $recvfs
|
/freebsd-current/usr.bin/posixmqcontrol/ |
H A D | posixmqcontroltest8qs.sh | 3 # recv accepts a single queue name so draining is done one queue at a time. 38 ignore=$( ${subject} recv -q "${topic}" )
|
H A D | posixmqcontroltest8x64.sh | 2 # exercises create, info, send and recv subcommands. 70 actual=$(${subject} recv -q "$topic")
|
/freebsd-current/tools/regression/netinet/udpzerobyte/ |
H A D | udpzerobyte.c | 79 size = recv(sock_receive, NULL, 0, 0); 81 errx(-1, "Protocol %s recv(sock_receive, NULL, 0) before: %zd", 84 err(-1, "Protocol %s recv(sock_receive, NULL, 0) before", 92 size = recv(sock_receive, NULL, 0, 0); 94 err(-1, "Protocol %s recv(sock_receive, NULL, 0) test", 97 size = recv(sock_receive, NULL, 0, 0); 99 errx(-1, "Protocol %s recv(sock_receive, NULL, 0) after: %zd", 102 err(-1, "Protocol %s recv(sock_receive, NULL, 0) after",
|
/freebsd-current/sys/dev/ipmi/ |
H A D | ipmi.c | 266 struct ipmi_recv *recv = (struct ipmi_recv *)data; local 273 struct ipmi_recv recv; member in union:__anon41 299 recv = &thunk32.recv; 300 recv->addr = PTRIN(recv32->addr); 301 recv->addr_len = recv32->addr_len; 302 recv->msg.data_len = recv32->msg.data_len; 303 recv->msg.data = PTRIN(recv32->msg.data); 386 error = copyin(recv->addr, &addr, sizeof(addr)); 406 recv [all...] |
/freebsd-current/tools/regression/sockets/unix_sorflush/ |
H A D | unix_sorflush.c | 53 ssize = recv(s, &ch, sizeof(ch), 0); 55 err(-1, "receive_and_exit: recv");
|
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zpool_destroy/ |
H A D | zpool_destroy_004_pos.ksh | 62 recv=$2 68 ( $ZFS send -RP $TESTPOOL/$TESTFS@snap1 | $ZFS receive -Fu $recv/d1 ) & 84 # Wait for send and recv to exit. 98 # send | recv by zpool destroy -f 103 "Destruction of ${who_to_destroy}: send ${snderr}, recv ${rcverr}"
|
/freebsd-current/tests/sys/netlink/ |
H A D | netlink_socket.c | 87 ATF_REQUIRE(recv(fd, buf, sizeof(hdr), MSG_WAITALL | MSG_PEEK) == 139 ATF_REQUIRE(recv(fd, buf, BUFLEN, 0) > sizeof(hdr)); 156 ss = recv(fd, buf, 0, MSG_WAITALL | MSG_PEEK | MSG_TRUNC); 158 ATF_REQUIRE(recv(fd, buf, ss, MSG_WAITALL) == ss); 225 ATF_REQUIRE(recv(fd, buf, 0, 0) == 0); 310 ATF_REQUIRE(recv(fd, &reply, sizeof(reply), 0) == sizeof(reply)); 321 ATF_REQUIRE(recv(fd, &reply, sizeof(reply), 0) == sizeof(reply));
|
/freebsd-current/tools/regression/sockets/sblock/ |
H A D | sblock.c | 36 * processes. Two processes block in recv(), the first on sbwait (wait for 62 * Process that will perform a blocking recv on a UNIX domain socket. This 71 len = recv(fd, &ch, sizeof(ch), 0); 73 err(-1, "FAIL: blocking_recver: recv"); 75 errx(-1, "FAIL: blocking_recver: recv: eof"); 77 errx(-1, "FAIL: blocking_recver: recv: %zd bytes", len); 83 * Process that will perform a locking recv on a UNIX domain socket. 86 * then recv() will return EOF, as the close() arrives before the signal, 98 len = recv(fd, &ch, sizeof(ch), 0); 100 err(-1, "FAIL: locking_recver: recv"); [all...] |