/freebsd-12-stable/contrib/ofed/libibumad/ |
H A D | umad_str.c | 144 uint16_t status = be16toh(_status); 167 uint16_t status = be16toh(_status); 193 switch(be16toh(attr_id)) { 207 switch(be16toh(attr_id)) { 254 switch(be16toh(attr_id)) { 309 switch(be16toh(attr_id)) {
|
/freebsd-12-stable/tools/tools/ath/athalq/ |
H A D | main.c | 149 if (be16toh(a->hdr.len) > buflen) { 151 argv[0], be16toh(a->hdr.len), 156 switch (be16toh(a->hdr.op)) { 208 be16toh(a->hdr.op), 209 be16toh(a->hdr.len)); 215 buflen -= (be16toh(a->hdr.len) 218 &buf[be16toh(a->hdr.len) + sizeof(struct if_ath_alq_hdr)], 219 READBUF_SIZE - (be16toh(a->hdr.len)
|
H A D | ar5210_ds.c | 162 switch (be16toh(a->hdr.op)) { 177 be16toh(a->hdr.op), be16toh(a->hdr.len));
|
H A D | ar5211_ds.c | 163 switch (be16toh(a->hdr.op)) { 178 be16toh(a->hdr.op), be16toh(a->hdr.len));
|
H A D | ar5212_ds.c | 209 switch (be16toh(a->hdr.op)) { 224 be16toh(a->hdr.op), be16toh(a->hdr.len));
|
H A D | ar5416_ds.c | 352 switch (be16toh(a->hdr.op)) { 367 be16toh(a->hdr.op), be16toh(a->hdr.len));
|
/freebsd-12-stable/sys/dev/beri/virtio/ |
H A D | virtio.c | 86 be16toh(vq->vq_avail->idx)); 120 flags[i] = be16toh(vd->flags); 133 ndesc = (be16toh(vq->vq_avail->idx) - idx); 137 head = be16toh(vq->vq_avail->ring[idx & (vq->vq_qsize - 1)]); 140 for (i = 0; i < VQ_MAX_DESCRIPTORS; next = be16toh(vdir->next)) { 142 if ((be16toh(vdir->flags) & VRING_DESC_F_INDIRECT) == 0) { 154 if ((be16toh(vp->flags) & \ 157 next = be16toh(vp->next); 162 if ((be16toh(vdir->flags) & VRING_DESC_F_NEXT) == 0) 179 head = be16toh(v [all...] |
H A D | virtio_block.c | 289 queue = be16toh(reg); 295 vq->vq_save_used = be16toh(vq->vq_used->idx); 300 if ((be16toh(vq->vq_avail->flags) & VRING_AVAIL_F_NO_INTERRUPT) == 0) {
|
/freebsd-12-stable/sbin/ggate/shared/ |
H A D | ggate.h | 127 ver->gv_version = be16toh(ver->gv_version); 128 ver->gv_error = be16toh(ver->gv_error); 144 cinit->gc_nconn = be16toh(cinit->gc_nconn); 164 sinit->gs_error = be16toh(sinit->gs_error); 185 hdr->gh_error = be16toh(hdr->gh_error);
|
/freebsd-12-stable/contrib/ofed/include/ |
H A D | byteorder.h | 51 #define be16_to_cpu be16toh 52 #define __be16_to_cpu be16toh 65 #define be16_to_cpup(x) be16toh(*((uint16_t *)x))
|
/freebsd-12-stable/sys/compat/linuxkpi/common/include/asm/ |
H A D | byteorder.h | 55 #define be16_to_cpu(x) be16toh(x) 56 #define __be16_to_cpu(x) be16toh(x) 69 #define be16_to_cpup(x) be16toh(*((const uint16_t *)(x)))
|
/freebsd-12-stable/lib/libkvm/ |
H A D | kvm_powerpc.c | 69 if (be16toh(eh->e_type) != ET_CORE) 71 if (be16toh(eh->e_machine) != EM_PPC) 124 mapsz = be16toh(vm->eh->e_phentsize) * be16toh(vm->eh->e_phnum) + 157 nph = be16toh(vm->eh->e_phnum); 161 ph = (void *)((uintptr_t)ph + be16toh(vm->eh->e_phentsize));
|
H A D | kvm_powerpc64.c | 69 if (be16toh(eh->e_type) != ET_CORE) 71 if (be16toh(eh->e_machine) != EM_PPC64) 124 mapsz = be16toh(vm->eh->e_phentsize) * be16toh(vm->eh->e_phnum) + 158 nph = be16toh(vm->eh->e_phnum); 162 ph = (void *)((uintptr_t)ph + be16toh(vm->eh->e_phentsize));
|
/freebsd-12-stable/sys/dev/netmap/ |
H A D | netmap_offloadings.c | 85 nm_prdis("ip total length %u", be16toh(ip->tot_len)); 88 iph->id = htobe16(be16toh(iph->id) + idx); 89 nm_prdis("ip identification %u", be16toh(iph->id)); 94 nm_prdis("IP csum %x", be16toh(iph->check)); 132 nm_prdis("TCP/UDP csum %x", be16toh(*check)); 287 ethertype = be16toh(*((uint16_t *)
|
/freebsd-12-stable/contrib/openbsm/compat/ |
H A D | endian.h | 132 #define be16toh(x) bswap16((x)) macro 146 #define be16toh(x) ((uint16_t)(x)) macro
|
/freebsd-12-stable/tools/tools/vt/mkkfont/ |
H A D | mkkfont.c | 113 be32toh(fm.source), be16toh(fm.destination), 114 be16toh(fm.length));
|
/freebsd-12-stable/sys/geom/label/ |
H A D | g_label_gpt.c | 66 ch = (bo == BIG_ENDIAN) ? be16toh(*str) : le16toh(*str); 70 c = (bo == BIG_ENDIAN) ? be16toh(*str)
|
/freebsd-12-stable/sys/sys/ |
H A D | endian.h | 77 #define be16toh(x) bswap16((x)) macro 91 #define be16toh(x) ((uint16_t)(x)) macro
|
/freebsd-12-stable/contrib/ofed/libmlx4/ |
H A D | cq.c | 291 wqe_index = be16toh(cqe->wqe_index); 296 wqe_index = be16toh(cqe->wqe_index); 346 wc->slid = be16toh(cqe->rlid); 356 wc->sl = be16toh(cqe->sl_vid) >> 13; 358 wc->sl = be16toh(cqe->sl_vid) >> 12; 612 return (uint32_t)be16toh(cq->cqe->rlid); 620 return be16toh(cq->cqe->sl_vid) >> 13; 622 return be16toh(cq->cqe->sl_vid) >> 12; 743 mlx4_free_srq_wqe(srq, be16toh(cqe->wqe_index)); 747 mlx4_free_srq_wqe(srq, be16toh(cq [all...] |
/freebsd-12-stable/sys/kern/ |
H A D | kern_uuid.c | 280 id->time.x.low, id->time.x.mid, id->time.x.hi, be16toh(id->seq), 281 be16toh(id->node[0]), be16toh(id->node[1]), be16toh(id->node[2]));
|
/freebsd-12-stable/lib/libc/gen/ |
H A D | getutxent.c | 130 len = be16toh(len);
|
/freebsd-12-stable/sys/dev/cxgbe/ |
H A D | osdep.h | 106 #define be16_to_cpu(x) be16toh(x)
|
/freebsd-12-stable/sys/dev/qlxgb/ |
H A D | qla_os.h | 135 #define qla_be16_to_host(x) be16toh(x)
|
/freebsd-12-stable/sys/dev/qlxgbe/ |
H A D | ql_os.h | 144 #define qla_be16_to_host(x) be16toh(x)
|
/freebsd-12-stable/sys/dev/qlxge/ |
H A D | qls_os.h | 137 #define qla_be16_to_host(x) be16toh(x)
|