| /freebsd/sys/dev/gve/ |
| H A D | gve_adminq.c | 297 .queue_resources_addr = htobe64(qres_dma->bus_addr), in gve_adminq_create_rx_queue() 303 htobe64(rx->desc_ring_mem.bus_addr); in gve_adminq_create_rx_queue() 305 htobe64(rx->data_ring_mem.bus_addr); in gve_adminq_create_rx_queue() 316 htobe64(rx->dqo.compl_ring_mem.bus_addr); in gve_adminq_create_rx_queue() 318 htobe64(rx->desc_ring_mem.bus_addr); in gve_adminq_create_rx_queue() 367 .queue_resources_addr = htobe64(qres_dma->bus_addr), in gve_adminq_create_tx_queue() 368 .tx_ring_addr = htobe64(tx->desc_ring_mem.bus_addr), in gve_adminq_create_tx_queue() 380 htobe64(tx->dqo.compl_ring_mem.bus_addr); in gve_adminq_create_tx_queue() 418 .parameter_value = htobe64(mtu), in gve_adminq_set_mtu() 472 aq_cmd.describe_device.device_descriptor_addr = htobe64( in gve_adminq_describe_device() [all …]
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | syzkaller71.sh | 120 *(uint64_t*)0x20000048 = htobe64(0); 121 *(uint64_t*)0x20000050 = htobe64(1); 128 *(uint64_t*)0x20000188 = htobe64(0); 129 *(uint64_t*)0x20000190 = htobe64(1);
|
| H A D | syzkaller50.sh | 109 *(uint64_t*)0x20000248 = htobe64(0); 110 *(uint64_t*)0x20000250 = htobe64(1); 117 *(uint64_t*)0x20000088 = htobe64(0); 118 *(uint64_t*)0x20000090 = htobe64(1);
|
| H A D | syzkaller20.sh | 82 *(uint64_t*)0x20000008 = htobe64(0); 83 *(uint64_t*)0x20000010 = htobe64(1);
|
| H A D | syzkaller60.sh | 88 *(uint64_t*)0x20000188 = htobe64(0); 89 *(uint64_t*)0x20000190 = htobe64(1);
|
| H A D | syzkaller12.sh | 154 *(uint64_t*)0x20000188 = htobe64(0); 155 *(uint64_t*)0x20000190 = htobe64(1);
|
| H A D | syzkaller82.sh | 99 *(uint64_t*)0x200000000188 = htobe64(0); 100 *(uint64_t*)0x200000000190 = htobe64(1);
|
| H A D | syzkaller19.sh | 138 *(uint64_t*)0x20000188 = htobe64(0); 139 *(uint64_t*)0x20000190 = htobe64(1);
|
| H A D | syzkaller51.sh | 128 *(uint64_t*)0x20000048 = htobe64(0); 129 *(uint64_t*)0x20000050 = htobe64(1);
|
| H A D | syzkaller15.sh | 162 NONFAILING(*(uint64_t*)0x10000188 = htobe64(0)); 163 NONFAILING(*(uint64_t*)0x10000190 = htobe64(1));
|
| /freebsd/sbin/ggate/shared/ |
| H A D | ggate.h | 154 cinit->gc_flags = htobe64(cinit->gc_flags); in g_gate_swap2n_cinit() 174 sinit->gs_mediasize = htobe64(sinit->gs_mediasize); in g_gate_swap2n_sinit() 195 hdr->gh_offset = htobe64(hdr->gh_offset); in g_gate_swap2n_hdr() 197 hdr->gh_seq = htobe64(hdr->gh_seq); in g_gate_swap2n_hdr()
|
| /freebsd/sys/dev/ath/ |
| H A D | if_ath_tdma.c | 517 t.rx_tsf = htobe64(rstamp); in ath_tdma_update() 518 t.beacon_tsf = htobe64(le64toh(ni->ni_tstamp.tsf)); in ath_tdma_update() 519 t.tsf64 = htobe64(tsf); in ath_tdma_update() 520 t.nextslot_tsf = htobe64(nextslot); in ath_tdma_update() 530 t.nexttbtt = htobe64(nexttbtt_full); in ath_tdma_update() 531 t.next_slot = htobe64(nextslot); in ath_tdma_update() 596 t.tsf64_old = htobe64(tsf); in ath_tdma_update() 597 t.tsf64_new = htobe64(tsf + tsfdelta); in ath_tdma_update()
|
| /freebsd/sys/powerpc/aim/ |
| H A D | moea64_native.c | 398 pt->pte_hi = htobe64(ptehi); in moea64_pte_unset_locked() 459 pt->pte_hi = htobe64(ptehi); in moea64_pte_replace_inval_native() 464 pt->pte_lo = htobe64(properpt.pte_lo); in moea64_pte_replace_inval_native() 466 pt->pte_hi = htobe64(properpt.pte_hi); /* Release lock */ in moea64_pte_replace_inval_native() 491 pt->pte_hi = htobe64(properpt.pte_hi); in moea64_pte_replace_native() 627 moea64_part_table[0].pagetab = htobe64( in moea64_bootstrap_native() 735 "r" (htobe64(bitmask)), "r" (htobe64(LPTE_LOCKED)), in atomic_pte_lock() 814 pt->pte_lo = htobe64(pvo_pt->pte_lo); in moea64_insert_to_pteg_native() 816 pt->pte_hi = htobe64(pvo_pt->pte_hi); in moea64_insert_to_pteg_native()
|
| /freebsd/lib/libutil/ |
| H A D | quotafile.c | 388 dqb64.dqb_bhardlimit = htobe64(dqb->dqb_bhardlimit); in quota_write64() 389 dqb64.dqb_bsoftlimit = htobe64(dqb->dqb_bsoftlimit); in quota_write64() 390 dqb64.dqb_curblocks = htobe64(dqb->dqb_curblocks); in quota_write64() 391 dqb64.dqb_ihardlimit = htobe64(dqb->dqb_ihardlimit); in quota_write64() 392 dqb64.dqb_isoftlimit = htobe64(dqb->dqb_isoftlimit); in quota_write64() 393 dqb64.dqb_curinodes = htobe64(dqb->dqb_curinodes); in quota_write64() 394 dqb64.dqb_btime = htobe64(dqb->dqb_btime); in quota_write64() 395 dqb64.dqb_itime = htobe64(dqb->dqb_itime); in quota_write64()
|
| /freebsd/sys/dev/cxgbe/tom/ |
| H A D | t4_connect.c | 345 cpl5->params = htobe64(V_FILTER_TUPLE(ntuple)); in t4_connect() 350 cpl6->params = htobe64(V_FILTER_TUPLE(ntuple)); in t4_connect() 356 cpl7->params = htobe64(V_T7_FILTER_TUPLE(ntuple)); in t4_connect() 388 cpl5->params = htobe64(V_FILTER_TUPLE(ntuple)); in t4_connect() 393 cpl6->params = htobe64(V_FILTER_TUPLE(ntuple)); in t4_connect() 399 cpl7->params = htobe64(V_T7_FILTER_TUPLE(ntuple)); in t4_connect()
|
| /freebsd/sys/powerpc/pseries/ |
| H A D | phyp_vscsi.c | 518 login->max_cmd_length = htobe64(256); in vscsi_srp_login() 525 crq.iu_data = htobe64(xp->sc->srp_iu_phys + xp->srp_iu_offset); in vscsi_srp_login() 564 cmd->lun = htobe64(CAM_EXTLUN_BYTE_SWIZZLE(ccb->ccb_h.target_lun)); in vscsi_task_management() 580 crq.iu_data = htobe64(xp->sc->srp_iu_phys + xp->srp_iu_offset); in vscsi_task_management() 629 cmd->lun = htobe64(CAM_EXTLUN_BYTE_SWIZZLE(ccb->ccb_h.target_lun)); in vscsi_scsi_command() 648 chunk_addr = htobe64(xp->sc->srp_iu_phys + xp->srp_iu_offset + 20 + in vscsi_scsi_command() 660 chunk_addr = htobe64(segs[i].ds_addr); in vscsi_scsi_command() 690 chunk_addr = htobe64(segs[0].ds_addr); in vscsi_scsi_command() 708 crq.iu_data = htobe64(xp->sc->srp_iu_phys + xp->srp_iu_offset); in vscsi_scsi_command() 810 mad_adapter_info.buffer = htobe64(xp->sc->srp_iu_phys + xp->srp_iu_offset + 24); in vscsi_setup_bus() [all …]
|
| /freebsd/contrib/llvm-project/libc/include/llvm-libc-macros/ |
| H A D | endian-macros.h | 22 #define htobe64(x) __builtin_bswap64((x)) macro 37 #define htobe64(x) __LLVM_LIBC_CAST(static_cast, uint64_t, x) macro
|
| /freebsd/contrib/ofed/libmlx4/ |
| H A D | qp.c | 140 bseg->addr = htobe64((uint64_t) wr->bind_mw.bind_info.addr); in set_bind_seg() 141 bseg->length = htobe64(wr->bind_mw.bind_info.length); in set_bind_seg() 158 rseg->raddr = htobe64(remote_addr); in set_raddr_seg() 166 aseg->swap_add = htobe64(wr->wr.atomic.swap); in set_atomic_seg() 167 aseg->compare = htobe64(wr->wr.atomic.compare_add); in set_atomic_seg() 169 aseg->swap_add = htobe64(wr->wr.atomic.compare_add); in set_atomic_seg() 189 dseg->addr = htobe64(sg->addr); in __set_data_seg() 195 dseg->addr = htobe64(sg->addr); in set_data_seg()
|
| /freebsd/contrib/ofed/include/ |
| H A D | byteorder.h | 46 #define cpu_to_be64 htobe64 60 #define cpu_to_be64p(x) htobe64(*((uint64_t *)x))
|
| /freebsd/contrib/ofed/libmlx5/ |
| H A D | qp.c | 191 rseg->raddr = htobe64(remote_addr); in set_raddr_seg() 202 aseg->swap_add = htobe64(swap); in set_atomic_seg() 203 aseg->compare = htobe64(compare_add); in set_atomic_seg() 205 aseg->swap_add = htobe64(compare_add); in set_atomic_seg() 222 dseg->addr = htobe64(sg->addr + offset); in set_data_ptr_seg() 230 dseg->addr = htobe64(sg->addr); in set_data_ptr_seg_atomic() 432 data->klm.address = htobe64(bind_info->addr); in set_umr_data_seg() 469 mkey->start_addr = htobe64(bind_info->addr); in set_umr_mkey_seg() 470 mkey->len = htobe64(bind_info->length); in set_umr_mkey_seg() 487 ctrl->mkey_mask = htobe64(MLX5_WQE_UMR_CTRL_MKEY_MASK_FREE | in set_umr_control_seg() [all …]
|
| /freebsd/tests/include/ |
| H A D | sys_endian_test.c | 103 #define H64(x) htobe64(x) in ATF_TC_BODY() 113 #define O64(x) htobe64(x) in ATF_TC_BODY()
|
| H A D | endian_test.c | 106 #define H64(x) htobe64(x) in ATF_TC_BODY() 116 #define O64(x) htobe64(x) in ATF_TC_BODY()
|
| /freebsd/contrib/openbsm/compat/ |
| H A D | endian.h | 127 #define htobe64(x) bswap64((x)) macro 141 #define htobe64(x) ((uint64_t)(x)) macro
|
| /freebsd/sys/sys/ |
| H A D | _endian.h | 108 #define htobe64(x) __bswap64((x)) 122 #define htobe64(x) ((uint64_t)(x)) 106 #define htobe64( global() macro 120 #define htobe64( global() macro
|
| /freebsd/sys/netpfil/pf/ |
| H A D | pflow.c | 676 flow1->flow_packets = htobe64(st->packets[0]); in copy_flow_ipfix_4_data() 677 flow2->flow_packets = htobe64(st->packets[1]); in copy_flow_ipfix_4_data() 678 flow1->flow_octets = htobe64(st->bytes[0]); in copy_flow_ipfix_4_data() 679 flow2->flow_octets = htobe64(st->bytes[1]); in copy_flow_ipfix_4_data() 686 flow1->flow_start = flow2->flow_start = htobe64((time_second - in copy_flow_ipfix_4_data() 689 flow1->flow_start = flow2->flow_start = htobe64((pf_get_time() - in copy_flow_ipfix_4_data() 691 flow1->flow_finish = flow2->flow_finish = htobe64((pf_get_time() - in copy_flow_ipfix_4_data() 715 flow1->flow_packets = htobe64(st->packets[0]); in copy_flow_ipfix_6_data() 716 flow2->flow_packets = htobe64(st->packets[1]); in copy_flow_ipfix_6_data() 717 flow1->flow_octets = htobe64(st->bytes[0]); in copy_flow_ipfix_6_data() [all …]
|