/illumos-gate/usr/src/uts/common/io/igb/ |
H A D | igb_debug.c | 52 off_t mem_size; local 262 if (ddi_dev_regsize(igb->dip, IGB_ADAPTER_MSIXTAB, &mem_size) != 269 0, mem_size, &igb_regs_acc_attr, &acc_hdl)) != DDI_SUCCESS) { 275 "(mem_size = %d, base = %x)", mem_size, base);
|
H A D | igb_main.c | 951 off_t mem_size; local 956 if (ddi_dev_regsize(devinfo, IGB_ADAPTER_REGSET, &mem_size) != 966 mem_size, &igb_regs_acc_attr,
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/ |
H A D | Lgrp.pm | 244 sub mem_size subroutine 246 scalar @_ == 4 or _usage("mem_size(class, lgrp, type, content)");
|
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_debug.c | 177 off_t mem_size; local 387 if (ddi_dev_regsize(ixgbe->dip, 4, &mem_size) != DDI_SUCCESS) { 392 if ((ddi_regs_map_setup(ixgbe->dip, 4, (caddr_t *)&base, 0, mem_size, 398 ixgbe_log(ixgbe, "MSI-X Memory Space: (mem_size = %d, base = %x)", 399 mem_size, base);
|
H A D | ixgbe_main.c | 1048 off_t mem_size; local 1053 if (ddi_dev_regsize(devinfo, IXGBE_ADAPTER_REGSET, &mem_size) 1063 mem_size, &ixgbe_regs_acc_attr,
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | memory.c | 96 uint64_t mem_size; local 98 mem_size = 102 if (mem_size >= MBYTE) 104 (int)((mem_size+MBYTE-1) / MBYTE), 0); 107 (int)((mem_size+KBYTE-1) / KBYTE), 0);
|
/illumos-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb_alg_hash.c | 208 size_t mem_size; local 215 mem_size = *tbl_size * sizeof (hash_server_t); 216 bcopy(*hash_tbl, new_tbl, mem_size); 217 kmem_free(*hash_tbl, mem_size);
|
/illumos-gate/usr/src/uts/common/io/cpqary3/ |
H A D | cpqary3_mem.c | 65 uint32_t mem_size = 0; local 115 mem_size = (uint32_t)(no_cmds * sizeof (cpqary3_cmdpvt_t)); 117 head_pvtp = ptr = (cpqary3_cmdpvt_t *)(MEM_ZALLOC(mem_size)); 130 DTRACE_PROBE4(cmd_init_start, uint32_t, no_cmds, uint32_t, mem_size, 439 uint32_t mem_size; local 477 mem_size = (uint32_t)((CmdsOutMax / 3) * 481 DTRACE_PROBE2(memfini, uint32_t, mem_size, void *, memp); 482 MEM_SFREE(memp, mem_size);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | pci_impl.h | 110 uint_t mem_size; /* existing children required MEM space size */ member in struct:pci_bus_resource
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl.c | 608 uint64_t mem_size; local 610 mem_size = ((((uint64_t)cs_stat[i].avail_hi)<<32) + 613 if (mem_size == 0) 626 log_printf("%8lldMB ", mem_size/MBYTE, 0); 628 total_board_mem += (mem_size/MBYTE);
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/basic_vf/ |
H A D | lm_vf.c | 207 u32_t mem_size = 0 ; local 226 mem_size = E2_STATUS_BLOCK_BUFFER_SIZE; 234 pdev->vars.status_blocks_arr[sb_id].host_hc_status_block.e2_sb = mm_alloc_phys_mem(pdev, mem_size, &sb_phy_address, 0, mm_cli_idx); 243 mm_mem_zero((void *)(pdev->vars.status_blocks_arr[sb_id].host_hc_status_block.e2_sb), mem_size);
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_netinfo.c | 1316 int mem_size; local 1322 mem_size = sizeof (struct in_addr); 1342 mem_size = sizeof (struct in6_addr); 1363 (void) memcpy(storage, src_addr, mem_size);
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/ |
H A D | lm_l5.c | 169 u32_t mem_size = 0; local 181 mem_size = page_cnt * LM_PAGE_SIZE; 186 mem_size, 201 eq_addr_save->prev_mem_size = mem_size; 205 DbgBreakIf(mem_size != eq_addr_save->prev_mem_size); 209 mm_memset(eq_chain->bd_chain.bd_chain_virt, 0, mem_size); 1871 u32_t mem_size = sizeof(*iscsi->sp_req_data.virt_addr); local 1877 mem_size, 1886 mm_memset(iscsi->sp_req_data.virt_addr, 0, mem_size);
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_resc.c | 167 u32_t mem_size = 0; local 191 mem_size = coalesce_buf_cnt * sizeof(lm_coalesce_buffer_t); 192 mem_virt = mm_alloc_mem(pdev,mem_size, mm_cli_idx); 198 mm_memset(mem_virt, 0, mem_size); 233 mem_size = 0; 243 if(mem_size == 0) 249 mem_size += coalesce_buf->buf_size; 250 if(mem_size >= MAX_CONTIGUOUS_BLOCK) /* TBD: consider apply change here for GSO */ 259 mem_left -= mem_size; 261 mem_virt = mm_alloc_phys_mem( pdev, mem_size, 303 u32_t const mem_size = page_cnt * LM_PAGE_SIZE; local 356 u32_t const mem_size = page_cnt * LM_PAGE_SIZE; local 406 u32_t const mem_size = page_cnt * LM_PAGE_SIZE; local 465 u32_t mem_size = 0; local 1219 u32_t mem_size = 0; local 1720 u32_t mem_size = 0 ; local [all...] |
/illumos-gate/usr/src/uts/sun4/io/efcode/ |
H A D | fcpci.c | 1229 pci_alloc_mem_chunk(dev_info_t *dip, uint64_t mem_align, uint64_t *mem_size, argument 1239 req.ra_len = *mem_size; 1242 rval = ndi_ra_alloc(dip, &req, mem_answer, mem_size,
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/channel_vf/ |
H A D | lm_vf.c | 279 u32_t mem_size = sizeof(struct tpa_update_ramrod_data); local 285 vf_info->vf_chains[q_id].tpa_ramrod_data_virt = mm_alloc_phys_mem(pdev, mem_size, &vf_info->vf_chains[q_id].tpa_ramrod_data_phys, 0, LM_RESOURCE_NDIS); 293 mm_mem_zero((void *)vf_info->vf_chains[q_id].tpa_ramrod_data_virt, mem_size); 2546 u32_t mem_size = 0 ; local 2572 mem_size = (sizeof(u16_t) * (presp->pfdev_info.indices_per_sb + 2) + CACHE_LINE_SIZE_MASK) & ~CACHE_LINE_SIZE_MASK; 2578 mem_size = (sizeof(u16_t) * (presp->pfdev_info.indices_per_sb + 2) + CACHE_LINE_SIZE_MASK) & ~CACHE_LINE_SIZE_MASK; 2586 mem_size = E2_STATUS_BLOCK_BUFFER_SIZE; 2596 pdev->vars.status_blocks_arr[sb_id].host_hc_status_block.vf_sb = p_sb = mm_alloc_phys_mem(pdev, mem_size, &sb_phy_address, 0, mm_cli_idx); 2600 pdev->vars.status_blocks_arr[sb_id].host_hc_status_block.e2_sb = p_sb = mm_alloc_phys_mem(pdev, mem_size, &sb_phy_address, 0, mm_cli_idx); 2619 mm_mem_zero(p_sb, mem_size); [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/ibd/ |
H A D | ibd_cm.c | 1796 size_t mem_size; local 1805 mem_size = num_swqe * state->rc_mtu; 1806 state->rc_tx_mr_bufs = kmem_zalloc(mem_size, KM_SLEEP); 1808 mem_attr.mr_len = mem_size; 1816 kmem_free(state->rc_tx_mr_bufs, mem_size);
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/ |
H A D | picldiag.c | 863 uint64_t mem_size; local 867 mem_size = picldiag_get_uint_propval(memh, PICL_PROP_SIZE, &err); 869 logprintf_size(mem_size);
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/lw8/common/ |
H A D | lw8.c | 813 uint64_t mem_size; local 817 mem_size = picldiag_get_uint_propval(memh, PICL_PROP_SIZE, &err); 819 logprintf_size(mem_size);
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/schumacher/common/ |
H A D | schumacher.c | 781 uint64_t mem_size; local 785 mem_size = picldiag_get_uint_propval(memh, PICL_PROP_SIZE, &err); 787 logprintf_size(mem_size);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | devinfo.c | 247 di_off_t mem_size; /* total # bytes in memlist */ member in struct:di_state 872 * than st->mem_size, set it to st->mem_size (i.e., 873 * the mem_size is doubled every time) to reduce the 880 size = (tmp > st->mem_size) ? tmp : st->mem_size; 885 dcmn_err2((CE_CONT, "di_allocmem: mem_size=%x\n", st->mem_size)); 887 if (st->mem_size == 0) { /* first chunk */ 901 st->mem_size [all...] |
/illumos-gate/usr/src/uts/sun4u/opl/sys/ |
H A D | opl_hwdesc.h | 310 uint64_t mem_size; /* Memory size for this LSB */ member in struct:__anon9917
|
/illumos-gate/usr/src/uts/intel/io/hotplug/pcicfg/ |
H A D | pcicfg.c | 4047 uint64_t mem_size, io_size, pf_mem_size; local 4704 mem_size = 0; 4711 mem_size = mem_end - mem_base; 4803 mem_base, mem_size); 4825 if (mem_size > 0) { 4826 range[1].size_low = mem_size;
|
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_main.c | 663 off_t mem_size; local 669 if (ddi_dev_regsize(devinfo, rnumber, &mem_size) != 678 (caddr_t *)&hw->hw_addr, 0, mem_size, &e1000g_regs_acc_attr, 697 &mem_size) != DDI_SUCCESS) { 706 mem_size, &e1000g_regs_acc_attr, 757 &mem_size) != DDI_SUCCESS) { 765 (caddr_t *)&hw->io_base, 0, mem_size,
|
/illumos-gate/usr/src/uts/intel/io/pci/ |
H A D | pci_boot.c | 897 uint_t io_size, mem_size, io_align, mem_align; local 1004 * If bus mem_size is zero, we are going to assign 1M bytes per bus, 1006 * bus mem_size. The size needs to be 1M aligned. 1010 mem_size = (subbus - secbus + 1) * PPB_MEM_ALIGNMENT; 1011 if (mem_size < pci_bus_res[secbus].mem_size) { 1012 mem_size = pci_bus_res[secbus].mem_size; 1013 mem_size = P2ROUNDUP(mem_size, PPB_MEM_ALIGNMEN [all...] |