/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/ |
H A D | receive-o-x_props_override.ksh | 45 destroy_dataset "$dest" "-rf" 53 dest=$TESTPOOL/$TESTFS2 54 destsub=$dest/sub 71 log_mustnot eval "zfs recv $dest -o atime < $streamfile_full" 72 log_mustnot eval "zfs recv $dest -x atime=off < $streamfile_full" 73 log_mustnot eval "zfs recv $dest -o atime=off -x atime < $streamfile_full" 74 log_mustnot eval "zfs recv $dest -o atime=off -o atime=on < $streamfile_full" 75 log_mustnot eval "zfs recv $dest -x atime -x atime < $streamfile_full" 76 log_mustnot eval "zfs recv $dest -o version=1 < $streamfile_full" 77 log_mustnot eval "zfs recv $dest -x version < $streamfile_full" [all …]
|
H A D | receive-o-x_props_aliases.ksh | 45 destroy_dataset "$dest" "-rf" 53 dest=$TESTPOOL/$TESTFS2 54 destsub=$dest/sub 69 log_mustnot eval "zfs recv $dest -o compress < $streamfile_full" 70 log_mustnot eval "zfs recv $dest -x compress=off < $streamfile_full" 71 log_mustnot eval "zfs recv $dest -o compress=off -x compress < $streamfile_full" 72 log_mustnot eval "zfs recv $dest -o compress=off -o compress=on < $streamfile_full" 73 log_mustnot eval "zfs recv $dest -x compress -x compress < $streamfile_full" 74 log_mustnot eval "zfs recv $dest -o version=1 < $streamfile_full" 75 log_mustnot eval "zfs recv $dest -x version < $streamfile_full" [all …]
|
H A D | zfs_receive_014_pos.ksh | 42 dest=$TESTPOOL/$TESTFS2 55 log_must zfs destroy -rf $dest 70 log_must eval "zfs recv $dest < $streamfile_full" 71 log_must eval "check_prop_source $dest compression 'gzip-1' received" 72 log_must eval "check_prop_source $dest '$userprop' '$userval' received" 87 log_mustnot eval "zfs recv -F $dest < $streamfile_trun" 88 log_must eval "check_prop_source $dest compression 'gzip-1' received" 89 log_must eval "check_prop_source $dest '$userprop' '$userval' received" 93 log_must eval "zfs recv -F $dest < $streamfile_incr" 94 log_must eval "check_prop_source $dest compression 'gzip-2' received" [all …]
|
/freebsd/bin/sh/ |
H A D | output.c | 203 emptyoutbuf(struct output *dest) in emptyoutbuf() argument 207 if (dest->buf == NULL) { in emptyoutbuf() 209 dest->buf = ckmalloc(dest->bufsize); in emptyoutbuf() 210 dest->nextc = dest->buf; in emptyoutbuf() 211 dest->bufend = dest->buf + dest->bufsize; in emptyoutbuf() 213 } else if (dest->fd == MEM_OUT) { in emptyoutbuf() 214 offset = dest->nextc - dest->buf; in emptyoutbuf() 215 newsize = dest->bufsize << 1; in emptyoutbuf() 217 dest->buf = ckrealloc(dest->buf, newsize); in emptyoutbuf() 218 dest->bufsize = newsize; in emptyoutbuf() [all …]
|
H A D | cd.c | 74 const char *dest; in cdcmd() local 100 if ((dest = *argptr) == NULL && (dest = bltinlookup("HOME", 1)) == NULL) in cdcmd() 102 if (*dest == '\0') in cdcmd() 103 dest = "."; in cdcmd() 104 if (dest[0] == '-' && dest[1] == '\0') { in cdcmd() 105 dest = bltinlookup("OLDPWD", 1); in cdcmd() 106 if (dest == NULL) in cdcmd() 110 if (dest[0] == '/' || in cdcmd() 111 (dest[0] == '.' && (dest[1] == '/' || dest[1] == '\0')) || in cdcmd() 112 (dest[0] == '.' && dest[1] == '.' && (dest[2] == '/' || dest[2] == '\0')) || in cdcmd() [all …]
|
/freebsd/contrib/ofed/infiniband-diags/src/ |
H A D | smpquery.c | 79 static char *node_desc(ib_portid_t * dest, char **argv, int argc) in node_desc() argument 88 if (!smp_query_via(data, dest, IB_ATTR_NODE_INFO, 0, 0, srcport)) in node_desc() 94 if (!smp_query_via(nd, dest, IB_ATTR_NODE_DESC, 0, 0, srcport)) in node_desc() 113 static char *node_info(ib_portid_t * dest, char **argv, int argc) in node_info() argument 118 if (!smp_query_via(data, dest, IB_ATTR_NODE_INFO, 0, 0, srcport)) in node_info() 123 printf("# Node info: %s\n%s", portid2str(dest), buf); in node_info() 127 static char *port_info_extended(ib_portid_t * dest, char **argv, int argc) in port_info_extended() argument 136 if (!is_port_info_extended_supported(dest, portnum, srcport)) in port_info_extended() 139 if (!smp_query_via(data, dest, IB_ATTR_PORT_INFO_EXT, portnum, 0, in port_info_extended() 144 printf("# Port info Extended: %s port %d\n%s", portid2str(dest), in port_info_extended() [all …]
|
H A D | ibccquery.c | 85 static char *class_port_info(ib_portid_t * dest, char **argv, int argc) in class_port_info() argument 90 if (!cc_query_status_via(data, dest, CLASS_PORT_INFO, in class_port_info() 96 printf("# ClassPortInfo: %s\n%s", portid2str(dest), buf); in class_port_info() 100 static char *congestion_info(ib_portid_t * dest, char **argv, int argc) in congestion_info() argument 105 if (!cc_query_status_via(data, dest, IB_CC_ATTR_CONGESTION_INFO, in congestion_info() 111 printf("# CongestionInfo: %s\n%s", portid2str(dest), buf); in congestion_info() 115 static char *congestion_key_info(ib_portid_t * dest, char **argv, int argc) in congestion_key_info() argument 120 if (!cc_query_status_via(data, dest, IB_CC_ATTR_CONGESTION_KEY_INFO, in congestion_key_info() 126 printf("# CongestionKeyInfo: %s\n%s", portid2str(dest), buf); in congestion_key_info() 130 static char *congestion_log(ib_portid_t * dest, char **argv, int argc) in congestion_log() argument [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | hexagon_circ_brev_intrinsics.h | 22 #define Q6_circ_load_update_D(dest,ptr,incr,bufsize,K) \ argument 23 … { ptr = (int64_t *) HEXAGON_circ_ldd (ptr, &(dest), ((((K)+1)<<24)|((bufsize)<<3)), ((incr)*8)); } 31 #define Q6_circ_load_update_W(dest,ptr,incr,bufsize,K) \ argument 32 { ptr = (int *) HEXAGON_circ_ldw (ptr, &(dest), (((K)<<24)|((bufsize)<<2)), ((incr)*4)); } 40 #define Q6_circ_load_update_H(dest,ptr,incr,bufsize,K) \ argument 41 … { ptr = (int16_t *) HEXAGON_circ_ldh (ptr, &(dest), ((((K)-1)<<24)|((bufsize)<<1)), ((incr)*2)); } 49 #define Q6_circ_load_update_UH(dest,ptr,incr,bufsize,K) \ argument 50 …{ ptr = (uint16_t *) HEXAGON_circ_lduh (ptr, &(dest), ((((K)-1)<<24)|((bufsize)<<1)), ((incr)*2));… 58 #define Q6_circ_load_update_B(dest,ptr,incr,bufsize,K) \ argument 59 { ptr = (int8_t *) HEXAGON_circ_ldb (ptr, &(dest), ((((K)-2)<<24)|(bufsize)), incr); } [all …]
|
/freebsd/sbin/ipf/libipf/ |
H A D | load_dstlist.c | 21 ippool_dst_t dest; in load_dstlist() local 33 op.iplo_size = sizeof(dest); in load_dstlist() 34 op.iplo_struct = &dest; in load_dstlist() 35 bzero((char *)&dest, sizeof(dest)); in load_dstlist() 36 dest.ipld_unit = dst->ipld_unit; in load_dstlist() 37 dest.ipld_policy = dst->ipld_policy; in load_dstlist() 38 dest.ipld_flags = dst->ipld_flags; in load_dstlist() 39 strncpy(dest.ipld_name, dst->ipld_name, sizeof(dest.ipld_name)); in load_dstlist() 50 dest.ipld_dests = dst->ipld_dests; in load_dstlist() 51 printdstlist(&dest, bcopywrap, dest.ipld_name, opts, nodes, NULL); in load_dstlist() [all …]
|
/freebsd/stand/libofw/ |
H A D | ofw_copy.c | 45 ofw_mapmem(vm_offset_t dest, const size_t len) in ofw_mapmem() argument 60 if (dest >= last_dest && in ofw_mapmem() 61 (dest + len) <= (last_dest + last_len)) { in ofw_mapmem() 68 if (dest < (last_dest + last_len) && dest >= last_dest) { in ofw_mapmem() 69 nlen -= (last_dest + last_len) - dest; in ofw_mapmem() 70 dest = last_dest + last_len; in ofw_mapmem() 73 destp = (void *)(dest & ~PAGE_MASK); in ofw_mapmem() 74 resid = dest & PAGE_MASK; in ofw_mapmem() 114 ofw_copyin(const void *src, vm_offset_t dest, const size_t len) in ofw_copyin() argument 116 if (ofw_mapmem(dest, len)) { in ofw_copyin() [all …]
|
/freebsd/contrib/cortex-strings/benchmarks/multi/ |
H A D | harness.c | 54 typedef void (*stub_t)(void *dest, void *src, size_t n); 80 static void xbounce(void *dest, void *src, size_t n) in xbounce() argument 86 static void xmemcpy(void *dest, void *src, size_t n) in xmemcpy() argument 88 SPOIL(memcpy(dest, src, n)); in xmemcpy() 92 static void xmemset(void *dest, void *src, size_t n) in xmemset() argument 94 SPOIL(memset(dest, 0, n)); in xmemset() 98 static void xmemcmp(void *dest, void *src, size_t n) in xmemcmp() argument 100 SPOIL(memcmp(dest, src, n)); in xmemcmp() 104 static void xstrcpy(void *dest, void *src, size_t n) in xstrcpy() argument 106 SPOIL(strcpy(dest, src)); in xstrcpy() [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/net/ |
H A D | t_ether_aton.c | 59 int ether_aton_r(u_char *dest, size_t len, const char *str); 90 u_char dest[ETHER_ADDR_LEN]; in ATF_TC_BODY() local 92 struct ether_addr dest; in ATF_TC_BODY() 107 if (ether_aton_r(dest, sizeof(dest), s) != e) in ATF_TC_BODY() 109 if (memcmp(dest, tests[t].res, sizeof(dest)) != 0) in ATF_TC_BODY() 112 if (ether_aton_r(s, &dest) == NULL && e == 0) in ATF_TC_BODY() 114 if (memcmp(&dest, tests[t].res, sizeof(dest)) != 0) in ATF_TC_BODY() 119 if ((r = ether_aton_r(dest, sizeof(dest), s)) != e) in ATF_TC_BODY() 123 if ((r = ether_aton_r(s, &dest)) != NULL && e != 0) in ATF_TC_BODY()
|
/freebsd/contrib/ofed/libibmad/ |
H A D | gs.c | 50 uint8_t *pma_query_via(void *rcvbuf, ib_portid_t * dest, int port, in pma_query_via() argument 56 int lid = dest->lid; in pma_query_via() 77 if (!dest->qp) in pma_query_via() 78 dest->qp = 1; in pma_query_via() 79 if (!dest->qkey) in pma_query_via() 80 dest->qkey = IB_DEFAULT_QP1_QKEY; in pma_query_via() 82 p_ret = mad_rpc(srcport, rpcold, dest, rcvbuf, rcvbuf); in pma_query_via() 87 uint8_t *performance_reset_via(void *rcvbuf, ib_portid_t * dest, in performance_reset_via() argument 94 int lid = dest->lid; in performance_reset_via() 125 if (!dest->qp) in performance_reset_via() [all …]
|
/freebsd/sys/netgraph/ |
H A D | ng_tee.c | 72 struct hookinfo *dest, *dup; member 178 if (privdata->left.dest) in ng_tee_newhook() 179 privdata->left.dup = privdata->left.dest; in ng_tee_newhook() 180 privdata->left.dest = hinfo; in ng_tee_newhook() 181 privdata->right2left.dest = hinfo; in ng_tee_newhook() 184 if (privdata->right.dest) in ng_tee_newhook() 185 privdata->right.dup = privdata->right.dest; in ng_tee_newhook() 186 privdata->right.dest = hinfo; in ng_tee_newhook() 187 privdata->left2right.dest = hinfo; in ng_tee_newhook() 190 if (privdata->right.dest) in ng_tee_newhook() [all …]
|
/freebsd/tools/regression/netinet/arphold/ |
H A D | arphold.c | 65 struct sockaddr_in dest; in main() local 88 bzero(&dest, sizeof(dest)); in main() 89 if (inet_pton(AF_INET, argv[1], &dest.sin_addr.s_addr) != 1) { in main() 93 dest.sin_len = sizeof(dest); in main() 94 dest.sin_family = AF_INET; in main() 95 dest.sin_port = htons(PORT); in main() 115 (struct sockaddr *)&dest, sizeof(dest)) < 0) { in main() 142 (struct sockaddr *)&dest, sizeof(dest)) < 0) { in main()
|
/freebsd/sys/security/mac_lomac/ |
H A D | mac_lomac.c | 477 lomac_copy(struct mac_lomac *source, struct mac_lomac *dest) in lomac_copy() argument 481 lomac_copy_single(source, dest); in lomac_copy() 483 lomac_copy_auxsingle(source, dest); in lomac_copy() 485 lomac_copy_range(source, dest); in lomac_copy() 868 lomac_copy_label(struct label *src, struct label *dest) in lomac_copy_label() argument 871 *SLOT(dest) = *SLOT(src); in lomac_copy_label() 899 struct mac_lomac *source, *dest; in lomac_bpfdesc_create() local 902 dest = SLOT(dlabel); in lomac_bpfdesc_create() 904 lomac_copy_single(source, dest); in lomac_bpfdesc_create() 911 struct mac_lomac *source, *dest; in lomac_bpfdesc_create_mbuf() local [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_rename/ |
H A D | zfs_rename_005_neg.ksh | 84 dest=${src#$TESTPOOL/} 85 if [[ $dest == *"@"* ]]; then 86 dest=${dest#*@} 87 dest=${TESTPOOL1}@$dest 89 dest=${TESTPOOL1}/$dest 91 log_mustnot $ZFS rename $src $dest 92 log_mustnot $ZFS rename -p $src $dest
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_rename/ |
H A D | zfs_rename_005_neg.ksh | 75 dest=${src#$TESTPOOL/} 76 if [[ $dest == *"@"* ]]; then 77 dest=${dest#*@} 78 dest=${TESTPOOL1}@$dest 80 dest=${TESTPOOL1}/$dest 82 log_mustnot zfs rename $src $dest 83 log_mustnot zfs rename -p $src $dest
|
/freebsd/lib/libc/string/ |
H A D | wcsxfrm.c | 42 wcsxfrm_l(wchar_t * __restrict dest, const wchar_t * __restrict src, size_t len, locale_t locale) in wcsxfrm_l() argument 51 *dest = L'\0'; in wcsxfrm_l() 56 ((slen = _collate_wxfrm(table, src, dest, len)) == (size_t)-1)) { in wcsxfrm_l() 62 dest[slen] = 0; in wcsxfrm_l() 64 dest[len-1] = 0; in wcsxfrm_l() 72 (void) wcscpy(dest, src); in wcsxfrm_l() 74 (void) wcsncpy(dest, src, len - 1); in wcsxfrm_l() 75 dest[len - 1] = L'\0'; in wcsxfrm_l() 81 wcsxfrm(wchar_t * __restrict dest, const wchar_t * __restrict src, size_t len) in wcsxfrm() argument 83 return wcsxfrm_l(dest, src, len, __get_locale()); in wcsxfrm()
|
/freebsd/sys/security/mac_biba/ |
H A D | mac_biba.c | 483 biba_copy(struct mac_biba *source, struct mac_biba *dest) in biba_copy() argument 487 biba_copy_effective(source, dest); in biba_copy() 489 biba_copy_range(source, dest); in biba_copy() 762 biba_copy_label(struct label *src, struct label *dest) in biba_copy_label() argument 765 *SLOT(dest) = *SLOT(src); in biba_copy_label() 793 struct mac_biba *source, *dest; in biba_bpfdesc_create() local 796 dest = SLOT(dlabel); in biba_bpfdesc_create() 798 biba_copy_effective(source, dest); in biba_bpfdesc_create() 805 struct mac_biba *source, *dest; in biba_bpfdesc_create_mbuf() local 808 dest = SLOT(mlabel); in biba_bpfdesc_create_mbuf() [all …]
|
/freebsd/sys/security/mac_mls/ |
H A D | mac_mls.c | 448 mls_copy(struct mac_mls *source, struct mac_mls *dest) in mls_copy() argument 452 mls_copy_effective(source, dest); in mls_copy() 454 mls_copy_range(source, dest); in mls_copy() 728 mls_copy_label(struct label *src, struct label *dest) in mls_copy_label() argument 731 *SLOT(dest) = *SLOT(src); in mls_copy_label() 758 struct mac_mls *source, *dest; in mls_bpfdesc_create() local 761 dest = SLOT(dlabel); in mls_bpfdesc_create() 763 mls_copy_effective(source, dest); in mls_bpfdesc_create() 770 struct mac_mls *source, *dest; in mls_bpfdesc_create_mbuf() local 773 dest = SLOT(mlabel); in mls_bpfdesc_create_mbuf() [all …]
|
/freebsd/lib/libc/tests/string/ |
H A D | strlcpy_test.c | 89 test_sentinel(char *dest, char *src, size_t destlen, size_t srclen) in test_sentinel() argument 104 memset(dest, '\xee', destlen); in test_sentinel() 107 dest[-1] = '{'; in test_sentinel() 108 dest[destlen] = '}'; in test_sentinel() 111 res = strlcpy_fn(dest, src, destlen); in test_sentinel() 113 if (dest[-1] != '{') in test_sentinel() 115 else if (dest[destlen] != '}') in test_sentinel() 119 else if (destlen > 0 && strncmp(src, dest, destlen - 1) != 0) in test_sentinel() 121 else if (destlen > 0 && srclen >= destlen - 1 && dest[destlen-1] != '\0') in test_sentinel() 124 if (dest[i] != '\xee') { in test_sentinel() [all …]
|
H A D | stpncpy_test.c | 89 test_sentinel(char *dest, char *src, size_t destlen, size_t srclen) in test_sentinel() argument 104 memset(dest, 0xee, destlen); in test_sentinel() 107 dest[-1] = '{'; in test_sentinel() 108 dest[destlen] = '}'; in test_sentinel() 110 wantres = dest + (srclen > destlen ? destlen : srclen); in test_sentinel() 111 res = stpncpy_fn(dest, src, destlen); in test_sentinel() 113 if (dest[-1] != '{') in test_sentinel() 115 else if (dest[destlen] != '}') in test_sentinel() 117 else if (strncmp(src, dest, destlen) != 0) in test_sentinel() 122 if (dest[i] != '\0') { in test_sentinel() [all …]
|
/freebsd/sys/dev/mthca/ |
H A D | mthca_doorbell.h | 54 static inline void mthca_write64_raw(__be64 val, void __iomem *dest) in mthca_write64_raw() argument 56 __raw_writeq((__force u64) val, dest); in mthca_write64_raw() 59 static inline void mthca_write64(u32 hi, u32 lo, void __iomem *dest, in mthca_write64() argument 62 __raw_writeq((__force u64) cpu_to_be64((u64) hi << 32 | lo), dest); in mthca_write64() 82 static inline void mthca_write64_raw(__be64 val, void __iomem *dest) in mthca_write64_raw() argument 84 __raw_writel(((__force u32 *) &val)[0], dest); in mthca_write64_raw() 85 __raw_writel(((__force u32 *) &val)[1], dest + 4); in mthca_write64_raw() 88 static inline void mthca_write64(u32 hi, u32 lo, void __iomem *dest, in mthca_write64() argument 97 __raw_writel(hi, dest); in mthca_write64() 98 __raw_writel(lo, dest + 4); in mthca_write64()
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | uuid.h | 82 #define UUID_LE_CONVERT(dest, src) \ argument 84 (dest) = (src); \ 85 (dest).time_low = LE_32((dest).time_low); \ 86 (dest).time_mid = LE_16((dest).time_mid); \ 87 (dest).time_hi_and_version = LE_16((dest).time_hi_and_version); \
|