Home
last modified time | relevance | path

Searched refs:num_bytes (Results 1 – 5 of 5) sorted by relevance

/spdk/test/nvme/boot_partition/
H A Dboot_partition.c24 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()
/spdk/lib/accel/
H A Daccel_internal.h28 uint64_t num_bytes; member
/spdk/test/nvme/simple_copy/
H A Dsimple_copy.c38 fill_random(char *buf, size_t num_bytes) in fill_random() argument
43 for (i = 0; i < num_bytes; i++) { in fill_random()
/spdk/lib/nvme/
H A Dnvme_auth.c531 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()
/spdk/lib/scsi/
H A Dscsi_bdev.c1216 uint64_t num_bytes, uint64_t *num_blocks) in _bytes_to_blocks() argument
1224 *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()