Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_mem.c46 MBUF_INFO *buf_info; in emlxs_mem_alloc_buffer() local
53 buf_info = &bufinfo; in emlxs_mem_alloc_buffer()
59 bzero(buf_info, sizeof (MBUF_INFO)); in emlxs_mem_alloc_buffer()
60 buf_info->size = (hba->max_iotag * sizeof (emlxs_buf_t *)); in emlxs_mem_alloc_buffer()
62 (void) emlxs_mem_alloc(hba, buf_info); in emlxs_mem_alloc_buffer()
63 if (buf_info->virt == NULL) { in emlxs_mem_alloc_buffer()
70 hba->fc_table = buf_info->virt; in emlxs_mem_alloc_buffer()
71 bzero(hba->fc_table, buf_info->size); in emlxs_mem_alloc_buffer()
252 bzero(buf_info, sizeof (MBUF_INFO)); in emlxs_mem_alloc_buffer()
253 buf_info->size = hba->max_iotag * sizeof (MATCHMAP *); in emlxs_mem_alloc_buffer()
[all …]
H A Demlxs_sli4.c1809 MBUF_INFO *buf_info; in emlxs_sli4_map_hdw() local
1812 buf_info = &bufinfo; in emlxs_sli4_map_hdw()
1814 bzero(buf_info, sizeof (MBUF_INFO)); in emlxs_sli4_map_hdw()
1815 buf_info->size = EMLXS_BOOTSTRAP_MB_SIZE + MBOX_EXTENSION_SIZE; in emlxs_sli4_map_hdw()
1816 buf_info->flags = FC_MBUF_DMA | FC_MBUF_SNGLSG; in emlxs_sli4_map_hdw()
1817 buf_info->align = ddi_ptob(dip, 1L); in emlxs_sli4_map_hdw()
1819 (void) emlxs_mem_alloc(hba, buf_info); in emlxs_sli4_map_hdw()
1821 if (buf_info->virt == NULL) { in emlxs_sli4_map_hdw()
1825 hba->sli.sli4.bootstrapmb.virt = buf_info->virt; in emlxs_sli4_map_hdw()
1826 hba->sli.sli4.bootstrapmb.phys = buf_info->phys; in emlxs_sli4_map_hdw()
[all …]
H A Demlxs_solaris.c8200 emlxs_mem_alloc(emlxs_hba_t *hba, MBUF_INFO *buf_info) in emlxs_mem_alloc() argument
8214 if (buf_info->flags & FC_MBUF_SNGLSG) { in emlxs_mem_alloc()
8218 if (buf_info->flags & FC_MBUF_PHYSONLY) { in emlxs_mem_alloc()
8220 if (buf_info->virt == NULL) { in emlxs_mem_alloc()
8229 NULL, (ddi_dma_handle_t *)&buf_info->dma_handle); in emlxs_mem_alloc()
8233 "flags=%x", buf_info->size, buf_info->align, in emlxs_mem_alloc()
8234 buf_info->flags); in emlxs_mem_alloc()
8236 buf_info->phys = 0; in emlxs_mem_alloc()
8237 buf_info->dma_handle = 0; in emlxs_mem_alloc()
8241 switch (buf_info->align) { in emlxs_mem_alloc()
[all …]
H A Demlxs_sli3.c1795 MBUF_INFO *buf_info; in emlxs_sli3_map_hdw() local
1798 buf_info = &bufinfo; in emlxs_sli3_map_hdw()
1800 bzero(buf_info, sizeof (MBUF_INFO)); in emlxs_sli3_map_hdw()
1801 buf_info->size = SLI_SLIM2_SIZE; in emlxs_sli3_map_hdw()
1802 buf_info->flags = in emlxs_sli3_map_hdw()
1804 buf_info->align = ddi_ptob(dip, 1L); in emlxs_sli3_map_hdw()
1806 (void) emlxs_mem_alloc(hba, buf_info); in emlxs_sli3_map_hdw()
1808 if (buf_info->virt == NULL) { in emlxs_sli3_map_hdw()
1812 hba->sli.sli3.slim2.virt = buf_info->virt; in emlxs_sli3_map_hdw()
1813 hba->sli.sli3.slim2.phys = buf_info->phys; in emlxs_sli3_map_hdw()
[all …]
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_extern.h151 MBUF_INFO *buf_info);
153 MBUF_INFO *buf_info);
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c235 struct buf_info { struct