/freebsd/sys/powerpc/aim/ |
H A D | mmu_radix.c | 1018 if (!atomic_cmpset_long(pte, htobe64(origpte), htobe64(newpte))) in pmap_nofault() 2481 htobe64(oldpte), in mmu_radix_clear_modify() 2587 *l3e = htobe64(srcptepaddr & ~PG_W); in mmu_radix_copy() 2750 if (!atomic_cmpset_long(firstpte, htobe64(newpde), htobe64((newpde | RPTE_EAA_R) & ~RPTE_EAA_W))) in pmap_promote_l3e() 2774 if (!atomic_cmpset_long(pte, htobe64(oldpte), htobe64((oldpte | RPTE_EAA_R) & ~RPTE_EAA_W))) in pmap_promote_l3e() 2978 if (!atomic_cmpset_long(pte, htobe64(origpte), htobe64(newpte))) in mmu_radix_enter() 4530 if (!atomic_cmpset_long(l3e, htobe64(oldpde), htobe64(newpde & ~PG_PROMOTED))) in pmap_protect_l3e() 4646 if (!atomic_cmpset_long(pte, htobe64(obits), htobe64(pbits))) in mmu_radix_protect() 4909 *pte = htobe64(newpte); in pmap_fill_ptp() 6006 } while (npte != opte && !atomic_cmpset_long(pte, htobe64(opte), htobe64(npte))); in pmap_pte_attr() [all …]
|
/freebsd/contrib/ofed/libibverbs/ |
H A D | arch.h | 43 static inline __attribute__((deprecated)) uint64_t htonll(uint64_t x) { return htobe64(x); } in htonll()
|
/freebsd/sys/dev/cxgbe/crypto/ |
H A D | t4_keyctx.c | 338 u64[i] = htobe64(auth_ctx->sha384ctx.state[i]); in t4_copy_partial_hash() 343 u64[i] = htobe64(auth_ctx->sha512ctx.state[i]); in t4_copy_partial_hash() 570 htobe64(V_TLS_KEYCTX_TX_WR_IVINSERT(6ULL) | in t4_tls_key_ctx() 584 htobe64(V_TLS_KEYCTX_TX_WR_IVINSERT(6ULL) | in t4_tls_key_ctx()
|
H A D | t6_kern_tls.c | 171 cpl->opt0 = htobe64(options); in mk_ktls_act_open_req() 206 cpl->opt0 = htobe64(options); in mk_ktls_act_open_req6() 301 cpl->mask = htobe64(mask); in write_set_tcb_field_ulp() 302 cpl->val = htobe64(val); in write_set_tcb_field_ulp() 1065 usgl->addr0 = htobe64(seg->ss_paddr); in write_gl_to_buf() 1070 usgl->sge[i / 2].addr[i & 1] = htobe64(seg->ss_paddr); in write_gl_to_buf() 1177 cpl->ctrl1 = htobe64(ctrl1); in ktls_write_tcp_options() 1277 cpl->ctrl1 = htobe64(ctrl1); in ktls_write_tunnel_packet() 1728 sec_pdu->scmd1 = htobe64(m_tls->m_epg_seqno); in ktls_write_tls_wr() 1919 cpl->ctrl1 = htobe64(ctrl1); in ktls_write_tcp_fin()
|
/freebsd/tools/test/stress2/misc/ |
H A D | syzkaller57.sh | 217 NONFAILING(*(uint64_t*)0x20000188 = htobe64(0)); 218 NONFAILING(*(uint64_t*)0x20000190 = htobe64(1));
|
H A D | syzkaller43.sh | 298 *(uint64_t*)0x20000088 = htobe64(0); 299 *(uint64_t*)0x20000090 = htobe64(1);
|
H A D | syzkaller28.sh | 290 *(uint64_t*)0x20000188 = htobe64(0); 291 *(uint64_t*)0x20000190 = htobe64(1);
|
H A D | syzkaller16.sh | 339 NONFAILING(*(uint64_t*)0x10000188 = htobe64(0)); 340 NONFAILING(*(uint64_t*)0x10000190 = htobe64(1));
|
/freebsd/contrib/ofed/libcxgb4/ |
H A D | dev.c | 323 htobe64(((uint64_t *)&swsqe->cqe)[0]), in dump_qp() 324 htobe64(((uint64_t *)&swsqe->cqe)[1]), in dump_qp() 325 htobe64(((uint64_t *)&swsqe->cqe)[2]), in dump_qp() 326 htobe64(((uint64_t *)&swsqe->cqe)[3])); in dump_qp()
|
/freebsd/sys/compat/linuxkpi/common/include/asm/ |
H A D | byteorder.h | 54 #define __cpu_to_be64(x) htobe64(x) 79 #define __cpu_to_be64p(x) htobe64(*((const uint64_t *)(x)))
|
/freebsd/contrib/ofed/libibcm/ |
H A D | cm.h | 334 #define IB_CM_ASSIGN_SERVICE_ID_MASK htobe64(0xFF00000000000000ULL) 335 #define IB_CM_ASSIGN_SERVICE_ID htobe64(0x0200000000000000ULL)
|
/freebsd/sys/powerpc/powernv/ |
H A D | opal_console.c | 343 uint64_t len = htobe64(bufsize); in uart_opal_get() 412 *(uint64_t*)olen = htobe64(*(uint64_t*)olen); in uart_opal_put() 429 *(uint64_t*)olen = htobe64(*(uint64_t*)olen); in uart_opal_put()
|
/freebsd/sys/dev/gve/ |
H A D | gve_main.c | 76 htobe64(GVE_DRIVER_CAPABILITY_FLAGS1), in gve_verify_driver_compatibility() 77 htobe64(GVE_DRIVER_CAPABILITY_FLAGS2), in gve_verify_driver_compatibility() 78 htobe64(GVE_DRIVER_CAPABILITY_FLAGS3), in gve_verify_driver_compatibility() 79 htobe64(GVE_DRIVER_CAPABILITY_FLAGS4), in gve_verify_driver_compatibility()
|
/freebsd/sys/dev/qlxge/ |
H A D | qls_os.h | 127 #define qla_host_to_be64(x) htobe64(x)
|
/freebsd/sys/dev/cxgbe/tom/ |
H A D | t4_ddp.c | 1668 ppod->vld_tid_pgsz_tag_color = htobe64(F_PPOD_VALID | in t4_write_page_pods_for_ps() 1670 ppod->len_offset = htobe64(V_PPOD_LEN(ps->len) | in t4_write_page_pods_for_ps() 1677 ppod->addr[k] = htobe64(pa); in t4_write_page_pods_for_ps() 1750 ppod->vld_tid_pgsz_tag_color = htobe64(F_PPOD_VALID | in t4_write_page_pods_for_rcvbuf() 1752 ppod->len_offset = htobe64(V_PPOD_LEN(drb->len) | in t4_write_page_pods_for_rcvbuf() 1761 ppod->addr[k] = htobe64(pa); in t4_write_page_pods_for_rcvbuf() 1865 ppod->addr[k] = htobe64(pa); in t4_write_page_pods_for_bio() 1938 ppod->len_offset = htobe64(V_PPOD_LEN(buflen) | in t4_write_page_pods_for_buf() 1947 ppod->addr[k] = htobe64(pa); in t4_write_page_pods_for_buf() 2029 ppod->len_offset = htobe64(V_PPOD_LEN(xferlen) | in t4_write_page_pods_for_sgl() [all …]
|
/freebsd/contrib/unbound/cachedb/ |
H A D | cachedb.c | 75 # define htobe64(x) OSSwapHostToBigInt64(x) macro 82 # define htobe64(n) (n) macro 85 # define htobe64(n) (((uint64_t)htonl((n) & 0xFFFFFFFF) << 32) | htonl((n) >> 32)) macro 431 timestamp = htobe64(timestamp); in prep_data() 432 expiry = htobe64(expiry); in prep_data()
|
/freebsd/sys/dev/liquidio/ |
H A D | lio_main.h | 55 *data = htobe64(*data); in lio_swap_8B_data()
|
/freebsd/sys/dev/qlxgbe/ |
H A D | ql_os.h | 135 #define qla_host_to_be64(x) htobe64(x)
|
/freebsd/sys/ufs/ufs/ |
H A D | ufs_quota.c | 1831 dqb64->dqb_bhardlimit = htobe64(dq->dq_bhardlimit); in dq_dqb64() 1832 dqb64->dqb_bsoftlimit = htobe64(dq->dq_bsoftlimit); in dq_dqb64() 1833 dqb64->dqb_curblocks = htobe64(dq->dq_curblocks); in dq_dqb64() 1834 dqb64->dqb_ihardlimit = htobe64(dq->dq_ihardlimit); in dq_dqb64() 1835 dqb64->dqb_isoftlimit = htobe64(dq->dq_isoftlimit); in dq_dqb64() 1836 dqb64->dqb_curinodes = htobe64(dq->dq_curinodes); in dq_dqb64() 1837 dqb64->dqb_btime = htobe64(dq->dq_btime); in dq_dqb64() 1838 dqb64->dqb_itime = htobe64(dq->dq_itime); in dq_dqb64()
|
/freebsd/usr.bin/fortune/strfile/ |
H A D | strfile.c | 234 *p = htobe64(*p); in main() 325 beoff = htobe64(off); in add_offset()
|
/freebsd/sys/dev/qlxgb/ |
H A D | qla_os.h | 125 #define qla_host_to_be64(x) htobe64(x)
|
/freebsd/sys/net80211/ |
H A D | ieee80211_alq.c | 156 r->r_timestamp = htobe64(ticks); in ieee80211_alq_log()
|
/freebsd/contrib/ofed/libmlx5/ |
H A D | mlx5dv.h | 545 seg->av.key.dc_key = htobe64(key); in mlx5dv_set_dgram_seg() 569 seg->addr = htobe64(address); in mlx5dv_set_data_seg()
|
/freebsd/sys/powerpc/pseries/ |
H A D | phyp_console.c | 386 err = phyp_hcall(H_PUT_TERM_CHAR, sc->vtermid, len, htobe64(cbuf.u64[0]), in uart_phyp_put() 387 htobe64(cbuf.u64[1])); in uart_phyp_put()
|
/freebsd/sys/dev/ath/ |
H A D | if_ath_alq.c | 178 ap->threadid = htobe64((uint64_t) curthread->td_tid); in if_ath_alq_post()
|