| /f-stack/freebsd/amd64/pci/ |
| H A D | pci_cfgreg.c | 48 int bytes); 50 unsigned reg, unsigned bytes); 52 unsigned reg, int data, unsigned bytes); 109 if (reg == PCIR_INTLINE && bytes == 1) { in pci_cfgregread() 145 (unsigned)bytes <= 4 && (reg & (bytes - 1)) == 0) { in pci_cfgenable() 173 switch (bytes) { in pcireg_cfgread() 198 switch (bytes) { in pcireg_cfgwrite() 274 unsigned bytes) in pciereg_cfgread() argument 285 switch (bytes) { in pciereg_cfgread() 305 unsigned bytes) in pciereg_cfgwrite() argument [all …]
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | memtest.c | 146 assert((bytes & 4095) == 0); in memtest_fill_random() 171 assert((bytes & 4095) == 0); in memtest_fill_value() 198 assert((bytes & 4095) == 0); in memtest_compare() 249 memtest_fill_random(m,bytes,interactive); in memtest_test() 284 size_t left = bytes; in memtest_preserving_test() 310 if (bytes >= MEMTEST_DECACHE_SIZE) { in memtest_preserving_test() 316 if (bytes >= MEMTEST_DECACHE_SIZE) { in memtest_preserving_test() 322 if (bytes >= MEMTEST_DECACHE_SIZE) { in memtest_preserving_test() 337 size_t bytes = megabytes*1024*1024; in memtest_alloc_and_test() local 338 unsigned long *m = malloc(bytes); in memtest_alloc_and_test() [all …]
|
| /f-stack/tools/libxo/tests/gettext/saved/ |
| H A D | gt_01.XP.out | 12 <bytes>0</bytes> 13 <bytes>1</bytes> 14 <bytes>2</bytes> 15 <bytes>3</bytes> 16 <bytes>4</bytes>
|
| H A D | gt_01.X.out | 1 …ymay</owner><target>ouchcay</target><bytes>0</bytes><bytes>1</bytes><bytes>2</bytes><bytes>3</byte…
|
| /f-stack/freebsd/i386/pci/ |
| H A D | pci_cfgreg.c | 81 int bytes); 86 unsigned reg, unsigned bytes); 216 && bytes != 3 in pci_cfgenable() 217 && (unsigned)bytes <= 4 in pci_cfgenable() 218 && (reg & (bytes - 1)) == 0) { in pci_cfgenable() 266 switch (bytes) { in pcireg_cfgread() 291 switch (bytes) { in pcireg_cfgwrite() 576 unsigned bytes) in pciereg_cfgread() argument 588 switch (bytes) { in pciereg_cfgread() 609 unsigned bytes) in pciereg_cfgwrite() argument [all …]
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/ |
| H A D | poly1305_donna.c | 16 unsigned long long bytes) in poly1305_update() argument 24 if (want > bytes) { in poly1305_update() 25 want = bytes; in poly1305_update() 30 bytes -= want; in poly1305_update() 41 if (bytes >= poly1305_block_size) { in poly1305_update() 42 unsigned long long want = (bytes & ~(poly1305_block_size - 1)); in poly1305_update() 46 bytes -= want; in poly1305_update() 50 if (bytes) { in poly1305_update() 51 for (i = 0; i < bytes; i++) { in poly1305_update() 54 st->leftover += bytes; in poly1305_update()
|
| /f-stack/freebsd/amd64/vmm/ |
| H A D | vmm_ioport.c | 77 switch (vmexit->u.inout.bytes) { in inout_instruction() 119 mask = vie_size2mask(vmexit->u.inout.bytes); in emulate_inout_port() 126 vmexit->u.inout.port, vmexit->u.inout.bytes, &val); in emulate_inout_port() 160 int bytes, error; in vm_handle_inout() local 162 bytes = vmexit->u.inout.bytes; in vm_handle_inout() 163 KASSERT(bytes == 1 || bytes == 2 || bytes == 4, in vm_handle_inout() 164 ("vm_handle_inout: invalid operand size %d", bytes)); in vm_handle_inout()
|
| /f-stack/freebsd/contrib/zstd/lib/compress/ |
| H A D | zstd_cwksp.h | 242 alloc = (BYTE *)ws->allocStart - bytes; in ZSTD_cwksp_reserve_internal() 244 if (bytes == 0) in ZSTD_cwksp_reserve_internal() 253 alloc, bytes, ZSTD_cwksp_available_space(ws) - bytes); in ZSTD_cwksp_reserve_internal() 271 __asan_unpoison_memory_region(alloc, bytes); in ZSTD_cwksp_reserve_internal() 289 assert((bytes & (sizeof(U32)-1)) == 0); in ZSTD_cwksp_reserve_aligned() 301 void* end = (BYTE *)alloc + bytes; in ZSTD_cwksp_reserve_table() 305 alloc, bytes, ZSTD_cwksp_available_space(ws) - bytes); in ZSTD_cwksp_reserve_table() 306 assert((bytes & (sizeof(U32)-1)) == 0); in ZSTD_cwksp_reserve_table() 319 __asan_unpoison_memory_region(alloc, bytes); in ZSTD_cwksp_reserve_table() 343 assert((bytes & (sizeof(void*)-1)) == 0); in ZSTD_cwksp_reserve_object() [all …]
|
| /f-stack/freebsd/libkern/ |
| H A D | murmur3_32.c | 47 const uint8_t *bytes; in murmur3_32_hash() local 52 bytes = data; in murmur3_32_hash() 59 k = le32dec(bytes); in murmur3_32_hash() 60 bytes += 4; in murmur3_32_hash() 77 k |= bytes[2] << 16; in murmur3_32_hash() 79 k |= bytes[1] << 8; in murmur3_32_hash() 81 k |= bytes[0]; in murmur3_32_hash()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/readmmap/ |
| H A D | readmmap.c | 57 int fd = -1, bytes, retval = 0; in main() local 82 bytes = write(fd, buf, size); in main() 83 if (bytes != size) { in main() 84 (void) printf("short write: %d != %zd\n", bytes, size); in main() 113 bytes = pread(fd, buf, size, 0); in main() 114 if (bytes != size) { in main() 115 (void) printf("short read: %d != %zd\n", bytes, size); in main()
|
| /f-stack/tools/libxo/tests/core/saved/ |
| H A D | test_02.X.out | 5 …0</words><characters>40</characters><bytes>0</bytes><bytes>1</bytes><bytes>2</bytes><bytes>3</byte…
|
| H A D | test_02.XP.out | 26 <bytes>0</bytes> 27 <bytes>1</bytes> 28 <bytes>2</bytes> 29 <bytes>3</bytes> 30 <bytes>4</bytes>
|
| H A D | test_02.E.out | 19 op open_leaf_list: [bytes] [] [0] 20 op content: [bytes] [0] [0x2004] 21 op content: [bytes] [1] [0x2004] 22 op content: [bytes] [2] [0x2004] 23 op content: [bytes] [3] [0x2004] 24 op content: [bytes] [4] [0x2004] 25 op close_leaf_list: [bytes] [] [0]
|
| H A D | test_02.T.out | 10 0 bytes 12 2 bytes 13 3 bytes 14 4 bytes
|
| /f-stack/dpdk/drivers/net/i40e/base/ |
| H A D | i40e_nvm.c | 827 u8 *bytes, int *perrno); 830 u8 *bytes, int *perrno); 833 u8 *bytes, int *perrno); 887 u8 *bytes, int *perrno) in i40e_nvmupd_command() argument 922 bytes[0] = hw->nvmupd_state; in i40e_nvmupd_command() 925 bytes[1] = 0; in i40e_nvmupd_command() 1030 u8 *bytes, int *perrno) in i40e_nvmupd_state_init() argument 1496 u8 *bytes, int *perrno) in i40e_nvmupd_exec_aq() argument 1621 bytes += len; in i40e_nvmupd_get_aq_result() 1685 u8 *bytes, int *perrno) in i40e_nvmupd_nvm_read() argument [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/get_diff/ |
| H A D | get_diff.c | 49 ssize_t bytes; in main() local 68 while ((bytes = pread(fd1, buf1, DEV_BSIZE, off)) > 0) { in main() 83 if (memcmp(buf1, buf2, bytes) == 0) { in main() 95 diff_len += bytes; in main() 97 off += bytes; in main()
|
| /f-stack/freebsd/mips/atheros/ |
| H A D | ar71xx_pci.c | 133 ar71xx_get_bytes_to_read(int reg, int bytes) in ar71xx_get_bytes_to_read() argument 137 if ((bytes % 4) == 0) in ar71xx_get_bytes_to_read() 139 else if ((bytes % 4) == 1) in ar71xx_get_bytes_to_read() 141 else if ((bytes % 4) == 2) in ar71xx_get_bytes_to_read() 208 bus, slot, func, reg, bytes, addr, cmd); in ar71xx_pci_conf_setup() 215 u_int reg, int bytes) in ar71xx_pci_read_config() argument 224 if (bytes == 2) in ar71xx_pci_read_config() 226 else if (bytes == 1) in ar71xx_pci_read_config() 232 func, reg, bytes); in ar71xx_pci_read_config() 268 u_int reg, uint32_t data, int bytes) in ar71xx_pci_write_config() argument [all …]
|
| H A D | ar724x_pci.c | 104 if (bytes % 4) in ar724x_pci_write() 105 mask = (1 << (bytes * 8)) - 1; in ar724x_pci_write() 117 reg, reg + (offset & ~3), offset, data, val, bytes); in ar724x_pci_write() 122 u_int reg, int bytes) in ar724x_pci_read_config() argument 130 if (bytes == 2) in ar724x_pci_read_config() 132 else if (bytes == 1) in ar724x_pci_read_config() 138 func, reg, bytes); in ar724x_pci_read_config() 156 u_int reg, uint32_t data, int bytes) in ar724x_pci_write_config() argument 160 func, reg, bytes, data); in ar724x_pci_write_config() 178 if (reg == PCIR_BAR(0) && bytes == 4 in ar724x_pci_write_config() [all …]
|
| /f-stack/dpdk/lib/librte_fib/ |
| H A D | dir24_8_avx512.c | 18 __m512i ip_vec, idxes, res, bytes; in dir24_8_vec_lookup_x16() local 53 bytes = _mm512_and_epi32(ip_vec, lsbyte_msk); in dir24_8_vec_lookup_x16() 54 idxes = _mm512_maskz_add_epi32(msk_ext, idxes, bytes); in dir24_8_vec_lookup_x16() 87 __m512i res, idxes, bytes; in dir24_8_vec_lookup_x8_8b() local 102 bytes = _mm512_cvtepi32_epi64(ip_vec); in dir24_8_vec_lookup_x8_8b() 105 bytes = _mm512_and_epi64(bytes, lsbyte_msk); in dir24_8_vec_lookup_x8_8b() 106 idxes = _mm512_maskz_add_epi64(msk_ext, idxes, bytes); in dir24_8_vec_lookup_x8_8b()
|
| /f-stack/dpdk/lib/librte_telemetry/ |
| H A D | telemetry_data.c | 51 const size_t bytes = strlcpy(d->data.array[d->data_len++].sval, in rte_tel_data_add_array_string() local 53 return bytes < RTE_TEL_MAX_STRING_LEN ? 0 : E2BIG; in rte_tel_data_add_array_string() 129 const size_t bytes = strlcpy(e->name, name, RTE_TEL_MAX_STRING_LEN); in rte_tel_data_add_dict_int() local 130 return bytes < RTE_TEL_MAX_STRING_LEN ? 0 : E2BIG; in rte_tel_data_add_dict_int() 146 const size_t bytes = strlcpy(e->name, name, RTE_TEL_MAX_STRING_LEN); in rte_tel_data_add_dict_u64() local 147 return bytes < RTE_TEL_MAX_STRING_LEN ? 0 : E2BIG; in rte_tel_data_add_dict_u64() 167 const size_t bytes = strlcpy(e->name, name, RTE_TEL_MAX_STRING_LEN); in rte_tel_data_add_dict_container() local 168 return bytes < RTE_TEL_MAX_STRING_LEN ? 0 : E2BIG; in rte_tel_data_add_dict_container()
|
| /f-stack/app/nginx-1.16.1/src/core/ |
| H A D | ngx_md5.c | 26 ctx->bytes = 0; in ngx_md5_init() 35 used = (size_t) (ctx->bytes & 0x3f); in ngx_md5_update() 36 ctx->bytes += size; in ngx_md5_update() 66 used = (size_t) (ctx->bytes & 0x3f); in ngx_md5_final() 81 ctx->bytes <<= 3; in ngx_md5_final() 82 ctx->buffer[56] = (u_char) ctx->bytes; in ngx_md5_final() 83 ctx->buffer[57] = (u_char) (ctx->bytes >> 8); in ngx_md5_final() 84 ctx->buffer[58] = (u_char) (ctx->bytes >> 16); in ngx_md5_final() 85 ctx->buffer[59] = (u_char) (ctx->bytes >> 24); in ngx_md5_final() 86 ctx->buffer[60] = (u_char) (ctx->bytes >> 32); in ngx_md5_final() [all …]
|
| /f-stack/dpdk/app/test/ |
| H A D | test_telemetry_data.c | 49 int bytes; in test_output() local 56 bytes = read(sock, buf, sizeof(buf) - 1); in test_output() 57 if (bytes < 0) { in test_output() 62 buf[bytes] = '\0'; in test_output() 308 int sock, bytes; in connect_to_socket() local 329 bytes = read(sock, buf, sizeof(buf) - 1); in connect_to_socket() 330 if (bytes < 0) { in connect_to_socket() 336 buf[bytes] = '\0'; in connect_to_socket()
|
| /f-stack/dpdk/drivers/net/octeontx2/ |
| H A D | otx2_ethdev_ops.c | 231 ssize_t bytes = 0, str_size = RTE_ETH_BURST_MODE_INFO_SIZE, rc; in otx2_rx_burst_mode_get() local 252 str_size - bytes); in otx2_rx_burst_mode_get() 256 bytes += rc; in otx2_rx_burst_mode_get() 261 rc = rte_strscpy(mode->info + bytes, in otx2_rx_burst_mode_get() 263 str_size - bytes); in otx2_rx_burst_mode_get() 267 bytes += rc; in otx2_rx_burst_mode_get() 301 str_size - bytes); in otx2_tx_burst_mode_get() 305 bytes += rc; in otx2_tx_burst_mode_get() 310 rc = rte_strscpy(mode->info + bytes, in otx2_tx_burst_mode_get() 312 str_size - bytes); in otx2_tx_burst_mode_get() [all …]
|
| /f-stack/freebsd/mips/mips/ |
| H A D | stdatomic.c | 126 } bytes; in put_2() local 129 bytes.in = val; in put_2() 130 r->v8[offset] = bytes.out[0]; in put_2() 131 r->v8[offset + 1] = bytes.out[1]; in put_2() 141 } bytes; in get_2() local 144 bytes.in[0] = r->v8[offset]; in get_2() 145 bytes.in[1] = r->v8[offset + 1]; in get_2() 146 return (bytes.out); in get_2()
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_onetimeauth/poly1305/sse2/ |
| H A D | poly1305_sse2.c | 76 if (bytes & 16) { in poly1305_block_copy31() 82 if (bytes & 8) { in poly1305_block_copy31() 87 if (bytes & 4) { in poly1305_block_copy31() 92 if (bytes & 2) { in poly1305_block_copy31() 97 if (bytes & 1) { in poly1305_block_copy31() 113 if (!bytes) { in poly1305_init_ext() 236 bytes -= 32; in poly1305_blocks() 286 if (bytes >= 64) { in poly1305_blocks() 535 if (bytes >= 32) { in poly1305_blocks() 774 bytes -= want; in poly1305_update() [all …]
|