/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | scorpion_reg_map_macro.h | 83 #define MAC_DMA_CR__RXE_LP__READ(src) (((u_int32_t)(src) & 0x00000004U) >> 2) argument 95 #define MAC_DMA_CR__RXE_HP__READ(src) (((u_int32_t)(src) & 0x00000008U) >> 3) argument 107 #define MAC_DMA_CR__RXD__READ(src) (((u_int32_t)(src) & 0x00000020U) >> 5) argument 108 #define MAC_DMA_CR__RXD__WRITE(src) (((u_int32_t)(src) << 5) & 0x00000020U) argument 109 #define MAC_DMA_CR__RXD__MODIFY(dst, src) \ argument 111 ~0x00000020U) | (((u_int32_t)(src) <<\ 113 #define MAC_DMA_CR__RXD__VERIFY(src) \ argument 114 (!((((u_int32_t)(src)\ 127 #define MAC_DMA_CR__SWI__READ(src) (((u_int32_t)(src) & 0x00000040U) >> 6) argument 139 #define MAC_DMA_CR__SPARE__READ(src) (((u_int32_t)(src) & 0x00000780U) >> 7) argument [all …]
|
H A D | poseidon_reg_map_macro.h | 90 #define AXI_INTERCONNECT_CTRL__FORCE_SEL_ON__READ(src) \ argument 91 (u_int32_t)(src)\ 93 #define AXI_INTERCONNECT_CTRL__FORCE_SEL_ON__WRITE(src) \ argument 94 ((u_int32_t)(src)\ 96 #define AXI_INTERCONNECT_CTRL__FORCE_SEL_ON__MODIFY(dst, src) \ argument 98 ~0x00000001U) | ((u_int32_t)(src) &\ 100 #define AXI_INTERCONNECT_CTRL__FORCE_SEL_ON__VERIFY(src) \ argument 101 (!(((u_int32_t)(src)\ 114 #define AXI_INTERCONNECT_CTRL__SELECT_SLV_PCIE__READ(src) \ argument 115 (((u_int32_t)(src)\ [all …]
|
H A D | osprey_reg_map_macro.h | 91 #define MAC_DMA_CR__RXE_LP__READ(src) (((u_int32_t)(src) & 0x00000004U) >> 2) argument 103 #define MAC_DMA_CR__RXE_HP__READ(src) (((u_int32_t)(src) & 0x00000008U) >> 3) argument 115 #define MAC_DMA_CR__RXD__READ(src) (((u_int32_t)(src) & 0x00000020U) >> 5) argument 116 #define MAC_DMA_CR__RXD__WRITE(src) (((u_int32_t)(src) << 5) & 0x00000020U) argument 117 #define MAC_DMA_CR__RXD__MODIFY(dst, src) \ argument 119 ~0x00000020U) | (((u_int32_t)(src) <<\ 121 #define MAC_DMA_CR__RXD__VERIFY(src) \ argument 122 (!((((u_int32_t)(src)\ 135 #define MAC_DMA_CR__SWI__READ(src) (((u_int32_t)(src) & 0x00000040U) >> 6) argument 160 #define MAC_DMA_CFG__BE_MODE_XMIT_DESC__READ(src) \ argument [all …]
|
/freebsd/contrib/ofed/libibverbs/ |
H A D | marshall.c | 40 struct ibv_kern_ah_attr *src) in ibv_copy_ah_attr_from_kern() argument 42 memcpy(dst->grh.dgid.raw, src->grh.dgid, sizeof dst->grh.dgid); in ibv_copy_ah_attr_from_kern() 43 dst->grh.flow_label = src->grh.flow_label; in ibv_copy_ah_attr_from_kern() 44 dst->grh.sgid_index = src->grh.sgid_index; in ibv_copy_ah_attr_from_kern() 45 dst->grh.hop_limit = src->grh.hop_limit; in ibv_copy_ah_attr_from_kern() 46 dst->grh.traffic_class = src->grh.traffic_class; in ibv_copy_ah_attr_from_kern() 48 dst->dlid = src->dlid; in ibv_copy_ah_attr_from_kern() 49 dst->sl = src->sl; in ibv_copy_ah_attr_from_kern() 50 dst->src_path_bits = src->src_path_bits; in ibv_copy_ah_attr_from_kern() 51 dst->static_rate = src->static_rate; in ibv_copy_ah_attr_from_kern() [all …]
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_marshall.c | 39 struct ib_ah_attr *src) in ib_copy_ah_attr_to_user() argument 41 memcpy(dst->grh.dgid, src->grh.dgid.raw, sizeof src->grh.dgid); in ib_copy_ah_attr_to_user() 42 dst->grh.flow_label = src->grh.flow_label; in ib_copy_ah_attr_to_user() 43 dst->grh.sgid_index = src->grh.sgid_index; in ib_copy_ah_attr_to_user() 44 dst->grh.hop_limit = src->grh.hop_limit; in ib_copy_ah_attr_to_user() 45 dst->grh.traffic_class = src->grh.traffic_class; in ib_copy_ah_attr_to_user() 47 dst->dlid = src->dlid; in ib_copy_ah_attr_to_user() 48 dst->sl = src->sl; in ib_copy_ah_attr_to_user() 49 dst->src_path_bits = src->src_path_bits; in ib_copy_ah_attr_to_user() 50 dst->static_rate = src->static_rate; in ib_copy_ah_attr_to_user() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InstrTBM.td | 47 def rr : I<opc, FormReg, (outs RC:$dst), (ins RC:$src), 48 !strconcat(OpcodeStr,"\t{$src, $dst|$dst, $src}"), []>, 51 def rm : I<opc, FormMem, (outs RC:$dst), (ins x86memop:$src), 52 !strconcat(OpcodeStr,"\t{$src, $dst|$dst, $src}"), []>, 79 def : Pat<(and GR64:$src, AndMask64:$mask), 80 (BEXTRI64ri GR64:$src, (BEXTRMaskXForm imm:$mask))>; 82 def : Pat<(and (loadi64 addr:$src), AndMask64:$mask), 83 (BEXTRI64mi addr:$src, (BEXTRMaskXFor [all...] |
H A D | X86InstrExtension.td | 39 def MOVSX16rr8 : I<0xBE, MRMSrcReg, (outs GR16:$dst), (ins GR8:$src), 40 "movs{bw|x}\t{$src, $dst|$dst, $src}", []>, 43 def MOVSX16rm8 : I<0xBE, MRMSrcMem, (outs GR16:$dst), (ins i8mem:$src), 44 "movs{bw|x}\t{$src, $dst|$dst, $src}", []>, 47 def MOVSX32rr8 : I<0xBE, MRMSrcReg, (outs GR32:$dst), (ins GR8:$src), 48 "movs{bl|x}\t{$src, $dst|$dst, $src}", 49 [(set GR32:$dst, (sext GR8:$src))]>, TB, 51 def MOVSX32rm8 : I<0xBE, MRMSrcMem, (outs GR32:$dst), (ins i8mem :$src), 52 "movs{bl|x}\t{$src, $dst|$dst, $src}", 53 [(set GR32:$dst, (sextloadi32i8 addr:$src))]>, TB, [all …]
|
/freebsd/contrib/cortex-strings/src/arm/ |
H A D | memcpy.S | 81 #define src r1 macro 109 vldr \vreg, [src, #\base] 111 vldr d0, [src, #\base + 8] 113 vldr d1, [src, #\base + 16] 115 vldr d2, [src, #\base + 24] 117 vldr \vreg, [src, #\base + prefetch_lines * 64 - 32] 119 vldr d0, [src, #\base + 40] 121 vldr d1, [src, #\base + 48] 123 vldr d2, [src, #\base + 56] 128 vldr \vreg, [src, #\base] [all …]
|
/freebsd/contrib/arm-optimized-routines/string/arm/ |
H A D | memcpy.S | 59 #define src r1 macro 87 vldr \vreg, [src, #\base] 89 vldr d0, [src, #\base + 8] 91 vldr d1, [src, #\base + 16] 93 vldr d2, [src, #\base + 24] 95 vldr \vreg, [src, #\base + prefetch_lines * 64 - 32] 97 vldr d0, [src, #\base + 40] 99 vldr d1, [src, #\base + 48] 101 vldr d2, [src, #\base + 56] 106 vldr \vreg, [src, #\base] [all …]
|
/freebsd/sys/dev/isp/ |
H A D | isp_library.c | 557 isp_put_marker_24xx(ispsoftc_t *isp, isp_marker_24xx_t *src, isp_marker_24xx_t *dst) in isp_put_marker_24xx() argument 560 isp_put_hdr(isp, &src->mrk_header, &dst->mrk_header); in isp_put_marker_24xx() 561 ISP_IOXPUT_32(isp, src->mrk_handle, &dst->mrk_handle); in isp_put_marker_24xx() 562 ISP_IOXPUT_16(isp, src->mrk_nphdl, &dst->mrk_nphdl); in isp_put_marker_24xx() 563 ISP_IOXPUT_8(isp, src->mrk_modifier, &dst->mrk_modifier); in isp_put_marker_24xx() 564 ISP_IOXPUT_8(isp, src->mrk_reserved0, &dst->mrk_reserved0); in isp_put_marker_24xx() 565 ISP_IOXPUT_8(isp, src->mrk_reserved1, &dst->mrk_reserved1); in isp_put_marker_24xx() 566 ISP_IOXPUT_8(isp, src->mrk_vphdl, &dst->mrk_vphdl); in isp_put_marker_24xx() 567 ISP_IOXPUT_8(isp, src->mrk_reserved2, &dst->mrk_reserved2); in isp_put_marker_24xx() 568 for (i = 0; i < nitems(src->mrk_lun); i++) { in isp_put_marker_24xx() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyInstrConv.td | 15 defm I32_WRAP_I64 : I<(outs I32:$dst), (ins I64:$src), (outs), (ins), 16 [(set I32:$dst, (trunc I64:$src))], 17 "i32.wrap_i64\t$dst, $src", "i32.wrap_i64", 0xa7>; 19 defm I64_EXTEND_S_I32 : I<(outs I64:$dst), (ins I32:$src), (outs), (ins), 20 [(set I64:$dst, (sext I32:$src))], 21 "i64.extend_i32_s\t$dst, $src", "i64.extend_i32_s", 23 defm I64_EXTEND_U_I32 : I<(outs I64:$dst), (ins I32:$src), (outs), (ins), 24 [(set I64:$dst, (zext I32:$src))], 25 "i64.extend_i32_u\t$dst, $src", "i64.extend_i32_u", 29 defm I32_EXTEND8_S_I32 : I<(outs I32:$dst), (ins I32:$src), (outs), (ins), [all …]
|
/freebsd/contrib/libfido2/fuzz/ |
H A D | summary.txt | 13 src/aes256.c 118 3 97.46% 8 0 100.00% 157 11 92.99% 14 src/assert.c 628 45 92.83% 63 4 93.65% 782 51 93.48% 15 src/authkey.c 52 0 100.00% 5 0 100.00% 66 0 100.00% 16 src/bio.c 451 20 95.57% 49 2 95.92% 587 24 95.91% 17 src/blob.c 53 2 96.23% 10 0 100.00% 83 4 95.18% 18 src/buf.c 8 1 87.50% 2 0 100.00% 16 1 93.75% 19 src/cbor.c 1070 12 98.88% 55 0 100.00% 1258 28 97.77% 20 src/compress.c 105 14 86.67% 5 0 100.00% 122 24 80.33% 21 src/config.c 112 0 100.00% 11 0 100.00% 154 0 100.00% 22 src/cre [all...] |
/freebsd/crypto/openssl/crypto/sha/asm/ |
H A D | keccak1600-s390x.pl | 53 my ($src,$dst,$iotas) = map("%r$_",(2..4)); 75 lg @C[0],$A[4][0]($src) 76 lg @C[1],$A[4][1]($src) 77 lg @C[2],$A[4][2]($src) 78 lg @C[3],$A[4][3]($src) 79 lg @C[4],$A[4][4]($src) 85 lg @D[0],$A[0][0]($src) 86 lg @D[1],$A[1][1]($src) 87 lg @D[2],$A[2][2]($src) 88 lg @D[3],$A[3][3]($src) [all …]
|
/freebsd/contrib/processor-trace/libipt/ |
H A D | CMakeLists.txt | 32 src/pt_section.c 33 src/pt_section_file.c 37 src/pt_error.c 38 src/pt_packet_decoder.c 39 src/pt_query_decoder.c 40 src/pt_encoder.c 41 src/pt_sync.c 42 src/pt_version.c 43 src/pt_last_ip.c 44 src/pt_tnt_cache.c [all …]
|
/freebsd/contrib/bearssl/mk/ |
H A D | Rules.mk | 323 HEADERSPRIV = $(HEADERSPUB) src$Pconfig.h src$Pinner.h 342 …src$Pssl$Pssl_hs_common.t0 src$Pssl$Pssl_hs_client.t0 src$Pssl$Pssl_hs_server.t0 src$Px509$Pasn1.t… 343 $(RUNT0COMP) -o src$Pcodec$Ppemdec -r br_pem_decoder src$Pcodec$Ppemdec.t0 344 …$(RUNT0COMP) -o src$Pssl$Pssl_hs_client -r br_ssl_hs_client src$Pssl$Pssl_hs_common.t0 src$Pssl$Ps… 345 …$(RUNT0COMP) -o src$Pssl$Pssl_hs_server -r br_ssl_hs_server src$Pssl$Pssl_hs_common.t0 src$Pssl$Ps… 346 …$(RUNT0COMP) -o src$Px509$Pskey_decoder -r br_skey_decoder src$Px509$Pasn1.t0 src$Px509$Pskey_deco… 347 …$(RUNT0COMP) -o src$Px509$Px509_decoder -r br_x509_decoder src$Px509$Pasn1.t0 src$Px509$Px509_deco… 348 …$(RUNT0COMP) -o src$Px509$Px509_minimal -r br_x509_minimal src$Px509$Pasn1.t0 src$Px509$Px509_mini… 378 $(OBJDIR)$Psettings$O: src$Psettings.c $(HEADERSPRIV) 379 $(CC) $(CFLAGS) $(INCFLAGS) $(CCOUT)$(OBJDIR)$Psettings$O src$Psettings.c [all …]
|
/freebsd/contrib/elftoolchain/libdwarf/ |
H A D | libdwarf_rw.c | 36 uint8_t *src; in _dwarf_read_lsb() local 38 src = data + *offsetp; in _dwarf_read_lsb() 43 ret |= ((uint64_t) src[4]) << 32 | ((uint64_t) src[5]) << 40; in _dwarf_read_lsb() 44 ret |= ((uint64_t) src[6]) << 48 | ((uint64_t) src[7]) << 56; in _dwarf_read_lsb() 47 ret |= ((uint64_t) src[2]) << 16 | ((uint64_t) src[3]) << 24; in _dwarf_read_lsb() 50 ret |= ((uint64_t) src[1]) << 8; in _dwarf_read_lsb() 53 ret |= src[0]; in _dwarf_read_lsb() 68 uint8_t *src; in _dwarf_decode_lsb() local 70 src = *data; in _dwarf_decode_lsb() 75 ret |= ((uint64_t) src[4]) << 32 | ((uint64_t) src[5]) << 40; in _dwarf_decode_lsb() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/ |
H A D | nsan_interceptors.cpp | 47 INTERCEPTOR(void *, memmove, void *dst, const void *src, uptr size) { in INTERCEPTOR() argument 51 return internal_memmove(dst, src, size); in INTERCEPTOR() 53 void *res = REAL(memmove)(dst, src, size); in INTERCEPTOR() 54 __nsan_copy_values(static_cast<u8 *>(dst), static_cast<const u8 *>(src), in INTERCEPTOR() 59 INTERCEPTOR(wchar_t *, wmemmove, wchar_t *dst, const wchar_t *src, uptr size) { in INTERCEPTOR() argument 60 wchar_t *res = REAL(wmemmove)(dst, src, size); in INTERCEPTOR() 61 __nsan_copy_values((u8 *)dst, (const u8 *)src, sizeof(wchar_t) * size); in INTERCEPTOR() 65 INTERCEPTOR(void *, memcpy, void *dst, const void *src, uptr size) { in INTERCEPTOR() argument 71 return internal_memmove(dst, src, size); in INTERCEPTOR() 74 void *res = REAL(memcpy)(dst, src, size); in INTERCEPTOR() [all …]
|
/freebsd/sys/contrib/openzfs/module/icp/include/aes/ |
H A D | aes_impl.h | 49 #define AES_COPY_BLOCK(src, dst) \ argument 50 (dst)[0] = (src)[0]; \ 51 (dst)[1] = (src)[1]; \ 52 (dst)[2] = (src)[2]; \ 53 (dst)[3] = (src)[3]; \ 54 (dst)[4] = (src)[4]; \ 55 (dst)[5] = (src)[5]; \ 56 (dst)[6] = (src)[6]; \ 57 (dst)[7] = (src)[7]; \ 58 (dst)[8] = (src)[8]; \ [all …]
|
/freebsd/lib/libc/tests/locale/ |
H A D | mbsnrtowcs_test.c | 49 char *src; in ATF_TC_BODY() local 58 src = srcbuf; in ATF_TC_BODY() 60 ATF_REQUIRE(mbsnrtowcs(dstbuf, (const char **)&src, 6, sizeof(dstbuf) / in ATF_TC_BODY() 64 ATF_REQUIRE(src == NULL); in ATF_TC_BODY() 70 src = srcbuf; in ATF_TC_BODY() 72 ATF_REQUIRE(mbsnrtowcs(dstbuf, (const char **)&src, 4, sizeof(dstbuf) / in ATF_TC_BODY() 76 ATF_REQUIRE(src == srcbuf + 4); in ATF_TC_BODY() 82 src = srcbuf; in ATF_TC_BODY() 84 ATF_REQUIRE(mbsnrtowcs(dstbuf, (const char **)&src, 6, 4, &s) == 4); in ATF_TC_BODY() 87 ATF_REQUIRE(src == srcbuf + 4); in ATF_TC_BODY() [all …]
|
H A D | wcsnrtombs_test.c | 49 wchar_t *src; in ATF_TC_BODY() local 58 src = srcbuf; in ATF_TC_BODY() 60 ATF_REQUIRE(wcsnrtombs(dstbuf, (const wchar_t **)&src, 6, sizeof(dstbuf), in ATF_TC_BODY() 64 ATF_REQUIRE(src == NULL); in ATF_TC_BODY() 70 src = srcbuf; in ATF_TC_BODY() 72 ATF_REQUIRE(wcsnrtombs(dstbuf, (const wchar_t **)&src, 4, sizeof(dstbuf), in ATF_TC_BODY() 76 ATF_REQUIRE(src == srcbuf + 4); in ATF_TC_BODY() 82 src = srcbuf; in ATF_TC_BODY() 84 ATF_REQUIRE(wcsnrtombs(dstbuf, (const wchar_t **)&src, 6, 4, in ATF_TC_BODY() 88 ATF_REQUIRE(src == srcbuf + 4); in ATF_TC_BODY() [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zle.c | 41 uchar_t *src = s_start; in zfs_zle_compress_buf() local 43 uchar_t *s_end = src + s_len; in zfs_zle_compress_buf() 46 while (src < s_end && dst < d_end - 1) { in zfs_zle_compress_buf() 47 uchar_t *first = src; in zfs_zle_compress_buf() 49 if (src[0] == 0) { in zfs_zle_compress_buf() 50 uchar_t *last = src + (256 - n); in zfs_zle_compress_buf() 51 while (src < MIN(last, s_end) && src[0] == 0) in zfs_zle_compress_buf() 52 src++; in zfs_zle_compress_buf() 53 *len = src - first - 1 + n; in zfs_zle_compress_buf() 55 uchar_t *last = src + n; in zfs_zle_compress_buf() [all …]
|
/freebsd/include/ssp/ |
H A D | string.h | 56 src, lenvar, len) __extension__ ({ \ argument 57 srctype srcvar = (src); \ 66 #define __ssp_bos_check3_typed(fun, dsttype, dst, srctype, src, len) \ argument 68 srctype, __ssp_var(srcv), src, __ssp_var(lenv), len) 70 #define __ssp_bos_check3(fun, dst, src, len) \ argument 72 const void *, __ssp_var(srcv), src, __ssp_var(lenv), len) 74 #define __ssp_bos_check2_var(fun, dstvar, dst, srcvar, src) __extension__ ({ \ argument 75 const void *srcvar = (src); \ 83 #define __ssp_bos_check2(fun, dst, src) \ argument 84 __ssp_bos_check2_var(fun, __ssp_var(dstv), dst, __ssp_var(srcv), src) [all …]
|
/freebsd/sys/sys/ |
H A D | abi_compat.h | 39 #define CP(src, dst, fld) do { \ argument 40 (dst).fld = (src).fld; \ 43 #define CP2(src, dst, sfld, dfld) do { \ argument 44 (dst).dfld = (src).sfld; \ 47 #define PTRIN_CP(src, dst, fld) do { \ argument 48 (dst).fld = PTRIN((src).fld); \ 51 #define PTROUT_CP(src, dst, fld) do { \ argument 52 (dst).fld = PTROUT((src).fld); \ 55 #define TV_CP(src, dst, fld) do { \ argument 56 CP((src).fld, (dst).fld, tv_sec); \ [all …]
|
/freebsd/usr.sbin/ppp/ |
H A D | ua.h | 31 # define ua_htonl(src, tgt) (*(u_int32_t *)(tgt) = htonl(*(u_int32_t *)(src))) argument 32 # define ua_ntohl(src, tgt) (*(u_int32_t *)(tgt) = ntohl(*(u_int32_t *)(src))) argument 33 # define ua_htons(src, tgt) (*(u_int16_t *)(tgt) = htons(*(u_int16_t *)(src))) argument 34 # define ua_ntohs(src, tgt) (*(u_int16_t *)(tgt) = ntohs(*(u_int16_t *)(src))) argument 38 # define ua_htonl(src, tgt) \ argument 41 memcpy(&__oh, (src), sizeof __oh); \ 48 # define ua_ntohl(src, tgt) \ argument 51 __nh = ((u_int32_t)*(u_char *)(src) << 24) | \ 52 ((u_int32_t)*((u_char *)(src) + 1) << 16) | \ 53 ((u_int32_t)*((u_char *)(src) + 2) << 8) | \ [all …]
|
/freebsd/tools/tools/kerninclude/ |
H A D | kerninclude.sh | 114 src="" 121 if [ "x$src" = "x" ] ; then 126 src=compile/$k/`awk '$1 == "cc" {print $NF}' _` 128 if expr "x$src" : 'x.*\.c$' > /dev/null ; then 132 src="" 142 if [ "x$src" = "x" ] ; then 147 src=`awk '$1 == "cc" {print $NF}' _` 149 if expr "x$src" : 'x.*\.c$' > /dev/null ; then 150 if [ "`dirname $src`" = "." ] ; then 151 src="$m/$src" [all …]
|