Home
last modified time | relevance | path

Searched refs:buf_info (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_mem.c44 MBUF_INFO *buf_info; in emlxs_mem_alloc_buffer() local
51 buf_info = &bufinfo; in emlxs_mem_alloc_buffer()
57 bzero(buf_info, sizeof (MBUF_INFO)); in emlxs_mem_alloc_buffer()
58 buf_info->size = (hba->max_iotag * sizeof (emlxs_buf_t *)); in emlxs_mem_alloc_buffer()
60 (void) emlxs_mem_alloc(hba, buf_info); in emlxs_mem_alloc_buffer()
61 if (buf_info->virt == NULL) { in emlxs_mem_alloc_buffer()
68 hba->fc_table = buf_info->virt; in emlxs_mem_alloc_buffer()
69 bzero(hba->fc_table, buf_info->size); in emlxs_mem_alloc_buffer()
214 bzero(buf_info, sizeof (MBUF_INFO)); in emlxs_mem_alloc_buffer()
215 buf_info->size = hba->max_iotag * sizeof (MATCHMAP *); in emlxs_mem_alloc_buffer()
[all …]
H A Demlxs_sli4.c1616 MBUF_INFO *buf_info; in emlxs_sli4_map_hdw() local
1619 buf_info = &bufinfo; in emlxs_sli4_map_hdw()
1621 bzero(buf_info, sizeof (MBUF_INFO)); in emlxs_sli4_map_hdw()
1622 buf_info->size = EMLXS_BOOTSTRAP_MB_SIZE + MBOX_EXTENSION_SIZE; in emlxs_sli4_map_hdw()
1623 buf_info->flags = in emlxs_sli4_map_hdw()
1625 buf_info->align = ddi_ptob(dip, 1L); in emlxs_sli4_map_hdw()
1627 (void) emlxs_mem_alloc(hba, buf_info); in emlxs_sli4_map_hdw()
1629 if (buf_info->virt == NULL) { in emlxs_sli4_map_hdw()
1633 hba->sli.sli4.bootstrapmb.virt = buf_info->virt; in emlxs_sli4_map_hdw()
1634 hba->sli.sli4.bootstrapmb.phys = buf_info->phys; in emlxs_sli4_map_hdw()
[all …]
H A Demlxs_solaris.c8176 emlxs_mem_alloc(emlxs_hba_t *hba, MBUF_INFO *buf_info) in emlxs_mem_alloc() argument
8190 if (buf_info->flags & FC_MBUF_SNGLSG) { in emlxs_mem_alloc()
8194 if (buf_info->flags & FC_MBUF_DMA32) { in emlxs_mem_alloc()
8198 if (buf_info->flags & FC_MBUF_PHYSONLY) { in emlxs_mem_alloc()
8200 if (buf_info->virt == NULL) { in emlxs_mem_alloc()
8209 NULL, (ddi_dma_handle_t *)&buf_info->dma_handle); in emlxs_mem_alloc()
8213 "flags=%x", buf_info->size, buf_info->align, in emlxs_mem_alloc()
8214 buf_info->flags); in emlxs_mem_alloc()
8216 buf_info->phys = 0; in emlxs_mem_alloc()
8217 buf_info->dma_handle = 0; in emlxs_mem_alloc()
[all …]
H A Demlxs_sli3.c1790 MBUF_INFO *buf_info; in emlxs_sli3_map_hdw() local
1793 buf_info = &bufinfo; in emlxs_sli3_map_hdw()
1795 bzero(buf_info, sizeof (MBUF_INFO)); in emlxs_sli3_map_hdw()
1796 buf_info->size = SLI_SLIM2_SIZE; in emlxs_sli3_map_hdw()
1797 buf_info->flags = in emlxs_sli3_map_hdw()
1799 buf_info->align = ddi_ptob(dip, 1L); in emlxs_sli3_map_hdw()
1801 (void) emlxs_mem_alloc(hba, buf_info); in emlxs_sli3_map_hdw()
1803 if (buf_info->virt == NULL) { in emlxs_sli3_map_hdw()
1807 hba->sli.sli3.slim2.virt = buf_info->virt; in emlxs_sli3_map_hdw()
1808 hba->sli.sli3.slim2.phys = buf_info->phys; in emlxs_sli3_map_hdw()
[all …]
/titanic_41/usr/src/uts/common/io/
H A Dmultidata.c188 struct mmd_buf_info *buf_info; in mmd_alloc() local
202 buf_info = (struct mmd_buf_info *)buf; in mmd_alloc()
203 buf_info->frp.free_arg = (caddr_t)buf; in mmd_alloc()
205 mmd = (multidata_t *)(buf_info + 1); in mmd_alloc()
209 &(buf_info->frp))) == NULL) { in mmd_alloc()
269 struct mmd_buf_info *buf_info; in mmd_constructor() local
274 buf_info = (struct mmd_buf_info *)buf; in mmd_constructor()
275 buf_info->frp.free_func = mmd_esballoc_free; in mmd_constructor()
276 buf_info->buf_len = MMD_CACHE_SIZE; in mmd_constructor()
278 mmd = (multidata_t *)(buf_info + 1); in mmd_constructor()
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_extern.h151 MBUF_INFO *buf_info);
153 MBUF_INFO *buf_info);
/titanic_41/usr/src/cmd/cpio/
H A Dcpio.c226 struct buf_info { struct