Searched refs:final_size (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/uts/common/crypto/core/ |
H A D | kcf_prov_tabs.c | 592 size_t n, final_size; in kcf_get_slot_list() local 642 final_size = j * sizeof (kcf_provider_desc_t *); in kcf_get_slot_list() 644 ASSERT(final_size <= n); in kcf_get_slot_list() 647 if (final_size < n) { in kcf_get_slot_list() 650 if (final_size > 0) { in kcf_get_slot_list() 651 final_buffer = kmem_alloc(final_size, KM_SLEEP); in kcf_get_slot_list() 652 bcopy(p, final_buffer, final_size); in kcf_get_slot_list() 683 size_t n, final_size; in kcf_get_hw_prov_tab() local 741 final_size = j * sizeof (kcf_provider_desc_t *); in kcf_get_hw_prov_tab() 742 ASSERT(final_size <= n); in kcf_get_hw_prov_tab() [all …]
|
H A D | kcf_cryptoadm.c | 353 size_t name_len, final_size = 0; in crypto_get_soft_list() local 369 final_size = 0; in crypto_get_soft_list() 384 final_size += name_len; in crypto_get_soft_list() 389 ASSERT(final_size <= n); in crypto_get_soft_list() 392 if (final_size < n) { in crypto_get_soft_list() 395 final_buffer = kmem_alloc(final_size, KM_SLEEP); in crypto_get_soft_list() 396 bcopy(names, final_buffer, final_size); in crypto_get_soft_list() 403 *len = final_size; in crypto_get_soft_list()
|
/titanic_50/usr/src/uts/common/fs/nfs/ |
H A D | nfs_log.c | 1270 unsigned int final_size; in create_buffer_header() local 1297 final_size = xdr_getpos(&xdrs); in create_buffer_header() 1299 (void) xdr_u_int(&xdrs, &final_size); in create_buffer_header() 1301 *reclen = (size_t)final_size; in create_buffer_header() 1638 unsigned int final_size; in nfslog_write_record() local 1741 final_size = xdr_getpos(&xdrs); in nfslog_write_record() 1743 (void) xdr_u_int(&xdrs, &final_size); in nfslog_write_record() 1761 final_size, (record_id == 0), which_buffers); in nfslog_write_record()
|