/freebsd/contrib/ofed/infiniband-diags/src/ |
H A D | perfquery.c | 260 uint64_t val64; in aggregate_perfcounters_ext() local 266 mad_decode_field(pc, IB_PC_EXT_XMT_BYTES_F, &val64); in aggregate_perfcounters_ext() 267 aggregate_64bit(&perf_count_ext.portxmitdata, val64); in aggregate_perfcounters_ext() 268 mad_decode_field(pc, IB_PC_EXT_RCV_BYTES_F, &val64); in aggregate_perfcounters_ext() 269 aggregate_64bit(&perf_count_ext.portrcvdata, val64); in aggregate_perfcounters_ext() 270 mad_decode_field(pc, IB_PC_EXT_XMT_PKTS_F, &val64); in aggregate_perfcounters_ext() 271 aggregate_64bit(&perf_count_ext.portxmitpkts, val64); in aggregate_perfcounters_ext() 272 mad_decode_field(pc, IB_PC_EXT_RCV_PKTS_F, &val64); in aggregate_perfcounters_ext() 273 aggregate_64bit(&perf_count_ext.portrcvpkts, val64); in aggregate_perfcounters_ext() 276 mad_decode_field(pc, IB_PC_EXT_XMT_UPKTS_F, &val64); in aggregate_perfcounters_ext() [all …]
|
H A D | ibqueryerrors.c | 469 uint64_t val64 = 0; in print_results() local 472 mad_decode_field(pkt, i, (void *)&val64); in print_results() 473 if (val64) { in print_results() 480 unit = conv_cnt_human_readable(val64, in print_results() 485 mad_field_name(i), val64, val, in print_results() 591 uint64_t val64 = 0; in print_data_cnts() local 595 mad_decode_field(pc, i, (void *)&val64); in print_data_cnts() 599 unit = conv_cnt_human_readable(val64, &val, data); in print_data_cnts() 601 val64, val, unit); in print_data_cnts()
|
H A D | ibdiag_common.h | 143 extern char *conv_cnt_human_readable(uint64_t val64, float *val, int data);
|
H A D | ibdiag_common.c | 447 conv_cnt_human_readable(uint64_t val64, float *val, int data) in conv_cnt_human_readable() argument 449 uint64_t tmp = val64; in conv_cnt_human_readable() 460 *val = (float)(val64); in conv_cnt_human_readable()
|
/freebsd/crypto/openssl/test/ |
H A D | threadstest.c | 146 uint64_t val64 = 1, ret64 = 0; in test_atomic() local 169 if (CRYPTO_atomic_or(&val64, 2, &ret64, NULL)) { in test_atomic() 171 if (!TEST_uint_eq((unsigned int)val64, 3) in test_atomic() 172 || !TEST_uint_eq((unsigned int)val64, (unsigned int)ret64)) in test_atomic() 176 if (!TEST_uint_eq((unsigned int)val64, 1) in test_atomic() 180 val64 = 1; in test_atomic() 183 if (!TEST_true(CRYPTO_atomic_or(&val64, 2, &ret64, lock))) in test_atomic() 186 if (!TEST_uint_eq((unsigned int)val64, 3) in test_atomic() 187 || !TEST_uint_eq((unsigned int)val64, (unsigned int)ret64)) in test_atomic() 191 if (CRYPTO_atomic_load(&val64, &ret64, NULL)) { in test_atomic() [all …]
|
/freebsd/sys/dev/drm2/ttm/ |
H A D | ttm_memory.c | 94 uint64_t val64; 100 val64 = val; 101 val64 <<= 10; 104 if (val64 > zone->zone_mem) 105 val64 = zone->zone_mem; 107 zone->emer_mem = val64; 108 if (zone->max_mem > val64) 109 zone->max_mem = val64; 111 zone->max_mem = val64; 112 if (zone->emer_mem < val64) [all …]
|
/freebsd/usr.sbin/rtadvd/ |
H A D | config.c | 343 int64_t val64; in getconfig() local 484 MAYHAVE(val64, "retrans", DEF_ADVRETRANSTIMER); in getconfig() 485 if (val64 < 0 || val64 > 0xffffffff) { in getconfig() 487 __func__, val64, ifi->ifi_ifname); in getconfig() 490 rai->rai_retranstimer = (uint32_t)val64; in getconfig() 566 MAYHAVE(val64, entbuf, DEF_ADVVALIDLIFETIME); in getconfig() 567 if (val64 < 0 || val64 > 0xffffffff) { in getconfig() 570 __func__, val64, in getconfig() [all...] |
/freebsd/sys/contrib/ncsw/etc/ |
H A D | memcpy.c | 522 uint64_t val64; in MemSet64() local 529 val64 = (uint64_t) val; in MemSet64() 530 val64 |= (val64 << 8); in MemSet64() 531 val64 |= (val64 << 16); in MemSet64() 532 val64 |= (val64 << 24); in MemSet64() 533 val64 |= (val64 << 32); in MemSet64() 546 *pDst64++ = val64; in MemSet64()
|
/freebsd/sys/contrib/zstd/lib/common/ |
H A D | mem.h | 115 MEM_STATIC void MEM_writeLE64(void* memPtr, U64 val64); 124 MEM_STATIC void MEM_writeBE64(void* memPtr, U64 val64); 360 MEM_STATIC void MEM_writeLE64(void* memPtr, U64 val64) in MEM_writeLE64() argument 363 MEM_write64(memPtr, val64); in MEM_writeLE64() 365 MEM_write64(memPtr, MEM_swap64(val64)); in MEM_writeLE64() 410 MEM_STATIC void MEM_writeBE64(void* memPtr, U64 val64) in MEM_writeBE64() argument 413 MEM_write64(memPtr, MEM_swap64(val64)); in MEM_writeBE64() 415 MEM_write64(memPtr, val64); in MEM_writeBE64()
|
/freebsd/sys/dev/ntb/ntb_hw/ |
H A D | ntb_hw_plx.c | 174 uint64_t val64; in ntb_plx_init() local 183 val64 = 0x2000000000000000 * mw->mw_bar | 0x4; in ntb_plx_init() 184 PNTX_WRITE(sc, PCIR_BAR(0), val64); in ntb_plx_init() 185 PNTX_WRITE(sc, PCIR_BAR(0) + 4, val64 >> 32); in ntb_plx_init() 196 val64 = 0x2000000000000000 * mw->mw_bar; in ntb_plx_init() 197 NTX_WRITE(sc, 0xc3c + (mw->mw_bar - 2) * 4, val64); in ntb_plx_init() 198 NTX_WRITE(sc, 0xc3c + (mw->mw_bar - 2) * 4 + 4, val64 >> 32); in ntb_plx_init() 710 uint64_t addr, eaddr, off, size, bsize, esize, val64; in ntb_plx_mw_set_trans_internal() local 739 val64 = 0; in ntb_plx_mw_set_trans_internal() 741 val64 = (~(bsize - 1) & ~0xfffff); in ntb_plx_mw_set_trans_internal() [all …]
|
/freebsd/sys/amd64/vmm/io/ |
H A D | vhpet.c | 474 uint64_t data, mask, oldval, val64; in vhpet_mmio_write() local 554 val64 = vhpet_counter(vhpet, NULL); in vhpet_mmio_write() 555 update_register(&val64, data, mask); in vhpet_mmio_write() 556 vhpet->countbase = val64; in vhpet_mmio_write() 580 val64 = vhpet->timer[i].comprate; in vhpet_mmio_write() 581 update_register(&val64, data, mask); in vhpet_mmio_write() 582 vhpet->timer[i].comprate = val64; in vhpet_mmio_write() 585 vhpet->timer[i].compval = val64; in vhpet_mmio_write() 591 val64 = vhpet->timer[i].compval; in vhpet_mmio_write() 592 update_register(&val64, data, mask); in vhpet_mmio_write() [all …]
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/ |
H A D | mem.h | 371 MEM_STATIC void MEM_writeLE64(void* memPtr, U64 val64) in MEM_writeLE64() argument 374 MEM_write64(memPtr, val64); in MEM_writeLE64() 376 MEM_write64(memPtr, MEM_swap64(val64)); in MEM_writeLE64() 421 MEM_STATIC void MEM_writeBE64(void* memPtr, U64 val64) in MEM_writeBE64() argument 424 MEM_write64(memPtr, MEM_swap64(val64)); in MEM_writeBE64() 426 MEM_write64(memPtr, val64); in MEM_writeBE64()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zio_crypt.c | 669 uint64_t val64; in zio_crypt_encode_params_bp() local 680 memcpy(&val64, salt, sizeof (uint64_t)); in zio_crypt_encode_params_bp() 681 bp->blk_dva[2].dva_word[0] = BSWAP_64(val64); in zio_crypt_encode_params_bp() 683 memcpy(&val64, iv, sizeof (uint64_t)); in zio_crypt_encode_params_bp() 684 bp->blk_dva[2].dva_word[1] = BSWAP_64(val64); in zio_crypt_encode_params_bp() 694 uint64_t val64; in zio_crypt_decode_params_bp() local 713 val64 = BSWAP_64(bp->blk_dva[2].dva_word[0]); in zio_crypt_decode_params_bp() 714 memcpy(salt, &val64, sizeof (uint64_t)); in zio_crypt_decode_params_bp() 716 val64 = BSWAP_64(bp->blk_dva[2].dva_word[1]); in zio_crypt_decode_params_bp() 717 memcpy(iv, &val64, sizeof (uint64_t)); in zio_crypt_decode_params_bp() [all …]
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zio_crypt.c | 752 uint64_t val64; in zio_crypt_encode_params_bp() local 763 memcpy(&val64, salt, sizeof (uint64_t)); in zio_crypt_encode_params_bp() 764 bp->blk_dva[2].dva_word[0] = BSWAP_64(val64); in zio_crypt_encode_params_bp() 766 memcpy(&val64, iv, sizeof (uint64_t)); in zio_crypt_encode_params_bp() 767 bp->blk_dva[2].dva_word[1] = BSWAP_64(val64); in zio_crypt_encode_params_bp() 777 uint64_t val64; in zio_crypt_decode_params_bp() local 796 val64 = BSWAP_64(bp->blk_dva[2].dva_word[0]); in zio_crypt_decode_params_bp() 797 memcpy(salt, &val64, sizeof (uint64_t)); in zio_crypt_decode_params_bp() 799 val64 = BSWAP_64(bp->blk_dva[2].dva_word[1]); in zio_crypt_decode_params_bp() 800 memcpy(iv, &val64, sizeof (uint64_t)); in zio_crypt_decode_params_bp() [all …]
|
/freebsd/sys/dev/ntb/ |
H A D | ntb_transport.c | 1136 uint64_t val64, size; in ntb_transport_link_work() local 1189 val64 = val; in ntb_transport_link_work() 1192 val64 = (uint64_t)val << 32; in ntb_transport_link_work() 1195 val64 |= val; in ntb_transport_link_work() 1199 mw->rx_size = val64; in ntb_transport_link_work() 1200 val64 = roundup(val64, mw->xlat_align_size); in ntb_transport_link_work() 1201 if (mw->buff_size != val64) { in ntb_transport_link_work() 1202 rc = ntb_set_mw(nt, i, val64); in ntb_transport_link_work()
|
/freebsd/usr.sbin/cxgbetool/ |
H A D | tcb_common.h | 141 extern ui64 val64(char *name);
|
H A D | tcbshowt6.c | 434 PR(" seq: 0x%llx \n",val64("rx_tls_seq")); in t6_display_tcb_aux_4()
|
H A D | tcb_common.c | 222 val64(char *name) in val64() function
|
/freebsd/usr.sbin/makefs/zfs/ |
H A D | zap.c | 53 uint64_t val64; /* embedded value for a common case */ member 149 ent->val64p = &ent->val64; in zap_add() 552 if (ent->val64p != &ent->val64) in zap_write()
|
/freebsd/contrib/opencsd/decoder/source/etmv4/ |
H A D | trc_pkt_proc_etmv4i.cpp | 960 uint64_t val64; in iPktAddrCtxt() local 961 st_idx+=extract64BitLongAddr(m_currPacketData,st_idx,m_addrIS,val64); in iPktAddrCtxt() 962 m_curr_packet.set64BitAddress(val64,m_addrIS); in iPktAddrCtxt() 1056 uint64_t val64; in iPktLongAddr() local 1057 st_idx+=extract64BitLongAddr(m_currPacketData,st_idx,m_addrIS,val64); in iPktLongAddr() 1058 m_curr_packet.set64BitAddress(val64,m_addrIS); in iPktLongAddr()
|
/freebsd/sys/dev/liquidio/base/ |
H A D | lio_device.c | 906 uint64_t val64; in lio_pci_readq() local 927 val64 = lio_read_csr64(oct, oct->reg_list.pci_win_rd_data); in lio_pci_readq() 931 return (val64); in lio_pci_readq()
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_perfmgr_db.c | 744 static void dump_hr_dc(FILE *fp, uint64_t val64, int data) in dump_hr_dc() argument 747 uint64_t tmp = val64; in dump_hr_dc() 759 val = (float)(val64); in dump_hr_dc()
|
/freebsd/sys/netgraph/ |
H A D | ng_parse.c | 627 int64_t val64; in ng_int64_parse() local 634 val64 = (int64_t)val; in ng_int64_parse() 635 bcopy(&val64, buf, sizeof(int64_t)); in ng_int64_parse()
|
/freebsd/crypto/openssh/ |
H A D | servconf.c | 1322 long long val64; in process_server_config_line_depth() local 1739 val64 = 0; in process_server_config_line_depth() 1741 if (scan_scaled(arg, &val64) == -1) in process_server_config_line_depth() 1745 if (val64 != 0 && val64 < 16) in process_server_config_line_depth() 1750 options->rekey_limit = val64; in process_server_config_line_depth()
|
H A D | readconf.c | 1054 long long val64; in process_config_line_depth() local 1277 val64 = 0; in process_config_line_depth() 1279 if (scan_scaled(arg, &val64) == -1) { in process_config_line_depth() 1284 if (val64 != 0 && val64 < 16) { in process_config_line_depth() 1291 options->rekey_limit = val64; in process_config_line_depth()
|