| /f-stack/tools/libutil/ |
| H A D | humanize_number.c | 55 int i, r, remainder, s1, s2, sign; in humanize_number() local 76 remainder = 0; in humanize_number() 148 (remainder >= divisordeccut || remainder >= in humanize_number() 150 remainder = quotient % divisor; in humanize_number() 158 remainder = quotient % divisor; in humanize_number() 168 if (((quotient == 9 && remainder < divisordeccut) || quotient < 9) && in humanize_number() 170 s1 = (int)quotient + ((remainder * 10 + divisor / 2) / in humanize_number() 172 s2 = ((remainder * 10 + divisor / 2) / divisor) % 10; in humanize_number() 178 sign * (quotient + (remainder + divisor / 2) / divisor), in humanize_number()
|
| /f-stack/freebsd/contrib/openzfs/module/icp/algs/modes/ |
| H A D | cbc.c | 41 size_t remainder = length; in cbc_encrypt_contiguous_blocks() local 70 if (need > remainder) in cbc_encrypt_contiguous_blocks() 115 if (remainder > 0 && remainder < block_size) { in cbc_encrypt_contiguous_blocks() 116 bcopy(datap, ctx->cbc_remainder, remainder); in cbc_encrypt_contiguous_blocks() 117 ctx->cbc_remainder_len = remainder; in cbc_encrypt_contiguous_blocks() 123 } while (remainder > 0); in cbc_encrypt_contiguous_blocks() 148 size_t remainder = length; in cbc_decrypt_contiguous_blocks() local 177 if (need > remainder) in cbc_decrypt_contiguous_blocks() 227 if (remainder > 0 && remainder < block_size) { in cbc_decrypt_contiguous_blocks() 229 ctx->cbc_remainder_len = remainder; in cbc_decrypt_contiguous_blocks() [all …]
|
| H A D | ecb.c | 39 size_t remainder = length; in ecb_cipher_contiguous_blocks() local 68 if (need > remainder) in ecb_cipher_contiguous_blocks() 100 remainder = (size_t)&data[length] - (size_t)datap; in ecb_cipher_contiguous_blocks() 103 if (remainder > 0 && remainder < block_size) { in ecb_cipher_contiguous_blocks() 104 bcopy(datap, ctx->ecb_remainder, remainder); in ecb_cipher_contiguous_blocks() 105 ctx->ecb_remainder_len = remainder; in ecb_cipher_contiguous_blocks() 111 } while (remainder > 0); in ecb_cipher_contiguous_blocks()
|
| H A D | ccm.c | 47 size_t remainder = length; in ccm_mode_encrypt_contiguous_blocks() local 80 if (need > remainder) in ccm_mode_encrypt_contiguous_blocks() 156 if (remainder > 0 && remainder < block_size) { in ccm_mode_encrypt_contiguous_blocks() 164 } while (remainder > 0); in ccm_mode_encrypt_contiguous_blocks() 442 if (need > remainder) in ccm_mode_decrypt_contiguous_blocks() 495 if (remainder > 0 && remainder < block_size) { in ccm_mode_decrypt_contiguous_blocks() 513 } while (remainder > 0); in ccm_mode_decrypt_contiguous_blocks() 815 remainder -= processed; in ccm_init() 816 if (remainder == 0) { in ccm_init() 830 remainder = 0; in ccm_init() [all …]
|
| H A D | ctr.c | 41 size_t remainder = length; in ctr_mode_contiguous_blocks() local 71 if (need > remainder) in ctr_mode_contiguous_blocks() 133 remainder = (size_t)&data[length] - (size_t)datap; in ctr_mode_contiguous_blocks() 136 if (remainder > 0 && remainder < block_size) { in ctr_mode_contiguous_blocks() 137 bcopy(datap, ctx->ctr_remainder, remainder); in ctr_mode_contiguous_blocks() 138 ctx->ctr_remainder_len = remainder; in ctr_mode_contiguous_blocks() 144 } while (remainder > 0); in ctr_mode_contiguous_blocks()
|
| H A D | gcm.c | 96 size_t remainder = length; in gcm_mode_encrypt_contiguous_blocks() local 130 if (need > remainder) in gcm_mode_encrypt_contiguous_blocks() 189 if (remainder > 0 && remainder < block_size) { in gcm_mode_encrypt_contiguous_blocks() 197 } while (remainder > 0); in gcm_mode_encrypt_contiguous_blocks() 375 size_t remainder; in gcm_decrypt_final() local 389 remainder = pt_len; in gcm_decrypt_final() 390 while (remainder > 0) { in gcm_decrypt_final() 424 remainder -= block_size; in gcm_decrypt_final() 505 remainder = 0; in gcm_format_initial_blocks() 559 remainder = 0; in gcm_init() [all …]
|
| /f-stack/freebsd/contrib/octeon-sdk/cvmx-malloc/ |
| H A D | malloc.c | 3038 av->last_remainder = remainder; in _int_malloc() 3039 remainder->bk = remainder->fd = unsorted_chunks(av); in _int_malloc() 3129 remainder->bk = remainder->fd = unsorted_chunks(av); in _int_malloc() 3132 set_foot(remainder, remainder_size); in _int_malloc() 3214 remainder->bk = remainder->fd = unsorted_chunks(av); in _int_malloc() 3251 av->top = remainder; in _int_malloc() 3673 set_arena_for_chunk(remainder, av); in _int_realloc() 3674 _int_free(av, chunk2mem(remainder)); in _int_realloc() 3787 remainder = chunk_at_offset(p, nb); in _int_memalign() 3790 set_arena_for_chunk(remainder, av); in _int_memalign() [all …]
|
| /f-stack/freebsd/mips/cavium/usb/ |
| H A D | octusb.c | 276 if (td->remainder != 8) { in octusb_host_control_header_tx() 284 td->remainder -= 8; in octusb_host_control_header_tx() 348 td->remainder = 0; in octusb_host_control_data_tx() 369 if (rem > td->remainder) in octusb_host_control_data_rx() 370 rem = td->remainder; in octusb_host_control_data_rx() 376 td->remainder -= rem; in octusb_host_control_data_rx() 472 rem = td->remainder; in octusb_non_control_data_tx() 484 td->remainder -= rem; in octusb_non_control_data_tx() 570 td->remainder -= rem; in octusb_non_control_data_rx() 599 rem = td->remainder; in octusb_non_control_data_rx() [all …]
|
| H A D | octusb.h | 50 uint32_t remainder; member
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/sodium/ |
| H A D | codecs.c | 188 size_t remainder; in sodium_bin2base64() local 193 remainder = bin_len - 3 * nibbles; in sodium_bin2base64() 195 if (remainder != 0) { in sodium_bin2base64() 199 b64_len += 2 + (remainder >> 1); in sodium_bin2base64()
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/test/unit/ |
| H A D | malloc_io.c | 87 char *remainder; in TEST_BEGIN() local 90 result = malloc_strtoumax(test->input, &remainder, test->base); in TEST_BEGIN() 95 assert_str_eq(remainder, test->expected_remainder, in TEST_BEGIN()
|
| /f-stack/dpdk/examples/vmdq/ |
| H A D | main.c | 492 const uint16_t remainder = (uint16_t)(num_vmdq_queues % num_cores); in lcore_main() local 500 if (remainder != 0) { in lcore_main() 501 if (core_id < remainder) { in lcore_main() 509 remainder); in lcore_main()
|
| /f-stack/dpdk/examples/vmdq_dcb/ |
| H A D | main.c | 553 const uint16_t remainder = (uint16_t)(num_vmdq_queues % num_cores); in lcore_main() local 556 if (remainder) { in lcore_main() 557 if (core_num < remainder) { in lcore_main() 561 startQueue = (uint16_t)(core_num * quot + remainder); in lcore_main()
|
| /f-stack/freebsd/contrib/device-tree/Bindings/mtd/partitions/ |
| H A D | brcm,bcm963xx-cfe-nor-partitions.txt | 6 NVRAM partition, and the remainder in-between for one to two firmware partitions
|
| /f-stack/freebsd/kern/ |
| H A D | uipc_mbuf.c | 1184 int remainder, space; in m_append() local 1188 remainder = len; in m_append() 1194 if (space > remainder) in m_append() 1195 space = remainder; in m_append() 1198 cp += space, remainder -= space; in m_append() 1200 while (remainder > 0) { in m_append() 1208 n->m_len = min(MLEN, remainder); in m_append() 1210 cp += n->m_len, remainder -= n->m_len; in m_append() 1215 m0->m_pkthdr.len += len - remainder; in m_append() 1216 return (remainder == 0); in m_append()
|
| H A D | kern_descrip.c | 4306 ssize_t remainder; member 4317 if (efbuf->remainder != -1) { in export_kinfo_to_sb() 4318 if (efbuf->remainder < kif->kf_structsize) { in export_kinfo_to_sb() 4320 efbuf->remainder = 0; in export_kinfo_to_sb() 4323 efbuf->remainder -= kif->kf_structsize; in export_kinfo_to_sb() 4334 if (efbuf->remainder == 0) in export_file_to_sb() 4350 if (efbuf->remainder == 0) in export_vnode_to_sb() 4403 efbuf->remainder = maxlen; in kern_proc_filedesc_out() 4457 if (error != 0 || efbuf->remainder == 0) in kern_proc_filedesc_out() 4679 efbuf->remainder = maxlen; in kern_proc_cwd_out()
|
| /f-stack/dpdk/drivers/net/i40e/base/ |
| H A D | i40e_nvm.c | 1585 int remainder; in i40e_nvmupd_get_aq_result() local 1610 remainder = cmd->data_size; in i40e_nvmupd_get_aq_result() 1622 remainder -= len; in i40e_nvmupd_get_aq_result() 1628 if (remainder > 0) { in i40e_nvmupd_get_aq_result() 1632 __func__, start_byte, start_byte + remainder); in i40e_nvmupd_get_aq_result() 1633 i40e_memcpy(bytes, buff, remainder, I40E_NONDMA_TO_NONDMA); in i40e_nvmupd_get_aq_result()
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/ |
| H A D | abd_os.c | 1005 int remainder = abd_bio_map_off(bio, cabd, size, off); in abd_gang_bio_map_off() local 1006 io_size -= (size - remainder); in abd_gang_bio_map_off() 1007 if (io_size == 0 || remainder > 0) in abd_gang_bio_map_off()
|
| /f-stack/dpdk/doc/guides/prog_guide/ |
| H A D | eventdev.rst | 184 The remainder of this walk-through assumes that dev_id is 0. 219 These queues are used for the remainder of this walk-through. 261 These ports are used for the remainder of this walk-through.
|
| /f-stack/dpdk/drivers/net/avp/ |
| H A D | avp_ethdev.c | 520 uint16_t remainder; in _avp_set_rx_queue_mappings() local 531 remainder = avp->num_rx_queues % eth_dev->data->nb_rx_queues; in _avp_set_rx_queue_mappings() 532 if (rx_queue_id < remainder) { in _avp_set_rx_queue_mappings() 538 rxq->queue_base = ((remainder * (queue_count + 1)) + in _avp_set_rx_queue_mappings() 539 ((rx_queue_id - remainder) * queue_count)); in _avp_set_rx_queue_mappings()
|
| /f-stack/freebsd/contrib/ncsw/Peripherals/FM/ |
| H A D | fman_ncsw.c | 898 uint8_t remainder; in fman_qmi_init() local 919 remainder = (uint8_t)(period_in_fm_clocks % 64); in fman_qmi_init() 920 if (remainder) in fman_qmi_init()
|
| /f-stack/freebsd/mips/mips/ |
| H A D | fp.S | 1216 or t8, t8, v0 # from the lower remainder 1524 addu v0, v0, t3 # add remainder 1530 bne v0, zero, 5f # if rounded remainder is zero 1749 addu v0, v0, t8 # add remainder 1757 bne v0, zero, 5f # if rounded remainder is zero 1878 addu v0, v0, t8 # add remainder 1883 bne v0, zero, 5f # if rounded remainder is zero 1997 addu v0, v0, t8 # add remainder 2007 bne v0, zero, 5f # if rounded remainder is zero 2148 addu v0, v0, t8 # add remainder [all …]
|
| /f-stack/dpdk/drivers/net/axgbe/ |
| H A D | axgbe_ethdev.c | 1487 div_u64_rem(uint64_t dividend, uint32_t divisor, uint32_t *remainder) in div_u64_rem() argument 1489 *remainder = dividend % divisor; in div_u64_rem() 1496 uint32_t remainder; in div_u64() local 1497 return div_u64_rem(dividend, divisor, &remainder); in div_u64()
|
| /f-stack/app/redis-5.0.5/tests/unit/ |
| H A D | bitops.tcl | 117 test {BITCOUNT misaligned prefix + full words + remainder} {
|
| /f-stack/freebsd/net80211/ |
| H A D | ieee80211_output.c | 1963 u_int totalhdrsize, fragno, fragsize, off, remainder, payload; in ieee80211_fragment() local 1984 remainder = m0->m_pkthdr.len - off; in ieee80211_fragment() 1987 fragsize = MIN(totalhdrsize + remainder, mtu); in ieee80211_fragment() 2025 remainder -= payload; in ieee80211_fragment() 2027 } while (remainder != 0); in ieee80211_fragment()
|