Searched refs:num_bytes (Results 1 – 5 of 5) sorted by relevance
24 fill_pattern(char *buf, size_t num_bytes, char pattern) in fill_pattern() argument 28 for (i = 0; i < num_bytes; i++) { in fill_pattern()
28 uint64_t num_bytes; member
38 fill_random(char *buf, size_t num_bytes) in fill_random() argument 43 for (i = 0; i < num_bytes; i++) { in fill_random()
531 const size_t num_bytes = (size_t)spdk_divide_round_up(EVP_PKEY_get_bits(key), 8); in spdk_nvme_dhchap_dhkey_get_pubkey() local 533 if (num_bytes == 0) { in spdk_nvme_dhchap_dhkey_get_pubkey() 538 if (num_bytes > *len) { in spdk_nvme_dhchap_dhkey_get_pubkey() 540 *len, num_bytes); in spdk_nvme_dhchap_dhkey_get_pubkey() 543 *len = num_bytes; in spdk_nvme_dhchap_dhkey_get_pubkey()
1216 uint64_t num_bytes, uint64_t *num_blocks) in _bytes_to_blocks() argument1224 *num_blocks = num_bytes >> shift_cnt; in _bytes_to_blocks()1226 (num_bytes - (*num_blocks << shift_cnt)); in _bytes_to_blocks()1229 *num_blocks = num_bytes / block_size; in _bytes_to_blocks()1230 return (offset_bytes % block_size) | (num_bytes % block_size); in _bytes_to_blocks()