Home
last modified time | relevance | path

Searched refs:datasz (Results 1 – 23 of 23) sorted by relevance

/titanic_44/usr/src/uts/sun4v/os/
H A Dlpad.c79 uint64_t datasz; in lpad_setup() local
134 datasz = sizeof (lpad_data_t); in lpad_setup()
135 datasz += (lpd->nmap - 1) * sizeof (lpad_map_t); in lpad_setup()
137 ASSERT(datasz <= LPAD_DATA_SIZE); in lpad_setup()
169 ASSERT(((uint64_t)lpm - (uint64_t)lpd) == datasz); in lpad_setup()
171 LPAD_DBG("copied %ld bytes of data into lpad\n", datasz); in lpad_setup()
/titanic_44/usr/src/uts/common/fs/smbsrv/
H A Dsmb_query_fileinfo.c402 u_offset_t datasz, allocsz; in smb_query_encode_response() local
406 datasz = qinfo->qi_attr.sa_vattr.va_size; in smb_query_encode_response()
416 smb_size32(datasz), in smb_query_encode_response()
426 smb_size32(datasz), smb_size32(allocsz), dattr, 0); in smb_query_encode_response()
443 smb_size32(datasz), smb_size32(allocsz), dattr); in smb_query_encode_response()
454 smb_size32(datasz), smb_size32(allocsz), dattr, 0); in smb_query_encode_response()
487 (uint64_t)datasz, in smb_query_encode_response()
520 (uint64_t)datasz, in smb_query_encode_response()
548 datasz, 0, 0, 0, 0); in smb_query_encode_response()
565 (uint64_t)datasz, in smb_query_encode_response()
[all …]
/titanic_44/usr/src/uts/common/exec/elf/
H A Delf.c1477 size_t datasz = 0; in process_scns() local
1563 if (shdr->sh_size > datasz && in process_scns()
1566 kmem_free(data, datasz); in process_scns()
1568 datasz = shdr->sh_size; in process_scns()
1569 data = kmem_alloc(datasz, in process_scns()
1594 doffsetp, data, datasz, credp, in process_scns()
1633 if (sz > datasz && in process_scns()
1636 kmem_free(data, datasz); in process_scns()
1638 datasz = sz; in process_scns()
1639 data = kmem_alloc(datasz, in process_scns()
[all …]
/titanic_44/usr/src/uts/sun4v/io/
H A Dds_drv.c583 kmem_free(entry->data, entry->datasz); in ds_log_entry_free()
621 new->datasz, DS_LOG_ENTRY_SZ(new)); in ds_log_add()
652 head->datasz, DS_LOG_ENTRY_SZ(head)); in ds_log_remove()
677 " %ld data bytes (%ld total)", head->datasz, in ds_log_replace()
682 kmem_free(head->data, head->datasz); in ds_log_replace()
685 head->datasz = sz; in ds_log_replace()
744 new->datasz = sz; in ds_log_add_msg()
H A Dvlds.c72 size_t datasz; /* size of the data */ member
1559 if (rhp->datasz > buflen) { in vlds_recvq_get_data()
1560 *msglenp = rhp->datasz; in vlds_recvq_get_data()
1572 dpsp->recv_size -= rhp->datasz; in vlds_recvq_get_data()
1576 msglen = rhp->datasz; in vlds_recvq_get_data()
1581 __func__, rhp->datasz); in vlds_recvq_get_data()
1582 DS_DUMP_MSG(DS_DBG_FLAG_VLDS, rhp->data, rhp->datasz); in vlds_recvq_get_data()
1585 DS_FREE(rhp->data, rhp->datasz); in vlds_recvq_get_data()
1608 DS_FREE(rhp->data, rhp->datasz); in vlds_recvq_drain()
1662 rhp->datasz = buflen; in vlds_recvq_put_data()
[all …]
/titanic_44/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_cache.c73 size_t datasz) in smb_cache_create() argument
91 chandle->ch_datasz = datasz; in smb_cache_create()
/titanic_44/usr/src/cmd/fs.d/autofs/
H A Dns_fnmount.c129 char *data, size_t datasz);
602 char *data, size_t datasz) in addr_from_ref() argument
618 ? str_from_addr(cname, addr, data, datasz) in addr_from_ref()
/titanic_44/usr/src/uts/sun4v/sys/
H A Dds_impl.h360 size_t datasz; /* size of the data */ member
385 #define DS_LOG_ENTRY_SZ(ep) (sizeof (ds_log_entry_t) + (ep)->datasz)
/titanic_44/usr/src/uts/i86pc/cpu/generic_cpu/
H A Dgcpu_mca.c998 gcpu_errorq_init(size_t datasz) in gcpu_errorq_init() argument
1004 if (gcpu_mca_queue_datasz >= datasz) { in gcpu_errorq_init()
1019 NULL, slots, datasz, 1, ERRORQ_VITAL); in gcpu_errorq_init()
1022 gcpu_mca_queue_datasz = datasz; in gcpu_errorq_init()
/titanic_44/usr/src/lib/libsysevent/
H A Dlibsysevent.c953 uint32_t sub_id, size_t datasz, uchar_t *data) in update_publisher_cache() argument
960 datasz); in update_publisher_cache()
968 bcopy(data, (char *)&rargs->ra_buf_ptr, datasz); in update_publisher_cache()
972 sizeof (struct reg_args) + datasz, &result, sizeof (result)); in update_publisher_cache()
991 int update_op, uint32_t *sub_id, size_t datasz, uchar_t *data) in update_kernel_registration() argument
1000 udata.ps_buflen = datasz; in update_kernel_registration()
/titanic_44/usr/src/uts/common/avs/ns/rdc/
H A Drdc_clnt.c3112 int datasz; in rdc_async6() local
3168 datasz = FBA_SIZE(1); in rdc_async6()
3169 data = kmem_alloc(datasz, KM_SLEEP); in rdc_async6()
3171 while (datap < &data[datasz]) { in rdc_async6()
3183 kmem_free(data, datasz); in rdc_async6()
3205 data6.data.data_len = datasz; in rdc_async6()
3219 kmem_free(data, datasz); in rdc_async6()
/titanic_44/usr/src/uts/common/io/wpi/
H A Dwpireg.h584 uint32_t datasz; member
H A Dwpi.c506 sc->sc_boot = sc->sc_data + LE_32(sc->sc_hdr->datasz); in wpi_attach()
891 err = wpi_alloc_dma_mem(sc, LE_32(sc->sc_hdr->datasz), in wpi_alloc_fw_dma()
1599 size = LE_32(sc->sc_hdr->datasz); in wpi_load_firmware()
/titanic_44/usr/src/uts/common/io/
H A Dlofi.c544 size_t datasz; in lofi_blk_mech() local
574 datasz = sizeof (lblkno); in lofi_blk_mech()
578 datasz = 0; in lofi_blk_mech()
587 min = MIN(datasz, iv_len); in lofi_blk_mech()
/titanic_44/usr/src/uts/common/io/iwp/
H A Diwp.c1138 if (LE_32(sc->sc_hdr->datasz) > RTC_DATA_SIZE) { in iwp_alloc_fw_dma()
1141 LE_32(sc->sc_hdr->datasz)); in iwp_alloc_fw_dma()
1173 err = iwp_alloc_dma_mem(sc, LE_32(sc->sc_hdr->datasz), in iwp_alloc_fw_dma()
1190 (void) memcpy(dma_p->mem_va, t, LE_32(sc->sc_hdr->datasz)); in iwp_alloc_fw_dma()
1192 err = iwp_alloc_dma_mem(sc, LE_32(sc->sc_hdr->datasz), in iwp_alloc_fw_dma()
1210 (void) memcpy(dma_p->mem_va, t, LE_32(sc->sc_hdr->datasz)); in iwp_alloc_fw_dma()
1215 t += LE_32(sc->sc_hdr->datasz); in iwp_alloc_fw_dma()
H A Diwp_hw.h2537 uint32_t datasz; member
/titanic_44/usr/src/cmd/mdb/common/modules/nca/
H A Dnca.c555 node.datasz, NCA_ADDR_WIDTH, node.sqp, NCA_ADDR_WIDTH, in nca_node()
/titanic_44/usr/src/uts/common/io/iwh/
H A Diwh.c1230 err = iwh_alloc_dma_mem(sc, LE_32(sc->sc_hdr->datasz), in iwh_alloc_fw_dma()
1247 bcopy(t, dma_p->mem_va, LE_32(sc->sc_hdr->datasz)); in iwh_alloc_fw_dma()
1249 err = iwh_alloc_dma_mem(sc, LE_32(sc->sc_hdr->datasz), in iwh_alloc_fw_dma()
1267 bcopy(t, dma_p->mem_va, LE_32(sc->sc_hdr->datasz)); in iwh_alloc_fw_dma()
1272 t += LE_32(sc->sc_hdr->datasz); in iwh_alloc_fw_dma()
H A Diwh_hw.h2539 uint32_t datasz; member
/titanic_44/usr/src/uts/common/io/iwk/
H A Diwk_hw.h3163 uint32_t datasz; member
H A Diwk2.c1082 err = iwk_alloc_dma_mem(sc, LE_32(sc->sc_hdr->datasz), in iwk_alloc_fw_dma()
1095 (void) memcpy(dma_p->mem_va, t, LE_32(sc->sc_hdr->datasz)); in iwk_alloc_fw_dma()
1097 err = iwk_alloc_dma_mem(sc, LE_32(sc->sc_hdr->datasz), in iwk_alloc_fw_dma()
1111 (void) memcpy(dma_p->mem_va, t, LE_32(sc->sc_hdr->datasz)); in iwk_alloc_fw_dma()
1113 t += LE_32(sc->sc_hdr->datasz); in iwk_alloc_fw_dma()
/titanic_44/usr/src/uts/common/inet/nca/
H A Dnca.h412 int datasz; /* size of above */ member
/titanic_44/usr/src/uts/common/os/
H A Dzone.c1913 zone_kstat_delete_common(kstat_t **pkstat, size_t datasz) in zone_kstat_delete_common() argument
1920 kmem_free(data, datasz); in zone_kstat_delete_common()