/titanic_44/usr/src/cmd/sendmail/db/db/ |
H A D | db_ret.c | 34 __db_ret(dbp, h, indx, dbt, memp, memsize) in __db_ret() argument 40 u_int32_t *memsize; 55 ho.tlen, ho.pgno, memp, memsize)); 67 bo->tlen, bo->pgno, memp, memsize)); 76 return (__db_retcopy(dbt, data, len, memp, memsize, 88 __db_retcopy(dbt, data, len, memp, memsize, db_malloc) in __db_retcopy() argument 93 u_int32_t *memsize; 137 } else if (memp == NULL || memsize == NULL) { 140 if (len != 0 && (*memsize == 0 || *memsize < len)) { 142 *memsize = 0; [all …]
|
/titanic_44/usr/src/lib/libprtdiag_psr/sparc/starfire/common/ |
H A D | starfire.c | 116 unsigned int *memsize; in display_memoryconf() local 132 memsize = get_prop_val(find_prop(pnode, "size")); in display_memoryconf() 135 memsize[0]/mbyte, memsize[1]/mbyte, in display_memoryconf() 136 memsize[2]/mbyte, memsize[3]/mbyte, 0); in display_memoryconf()
|
/titanic_44/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdsib_buf.c | 180 uint_t memsize, nbuf; in rds_init_recv_caches() local 217 memsize = (NDataRX * RdsPktSize) + (nctrlrx * RDS_CTRLPKT_SIZE); in rds_init_recv_caches() 219 RDS_DPRINTF3(LABEL, "RDS Buffer Pool Memory: %lld", memsize); in rds_init_recv_caches() 222 memp = (uint8_t *)kmem_zalloc(memsize, KM_NOSLEEP); in rds_init_recv_caches() 238 mem_attr.mr_len = memsize; in rds_init_recv_caches() 271 kmem_free(memp, memsize); in rds_init_recv_caches() 287 rds_dpool.pool_memsize = memsize; in rds_init_recv_caches() 396 uint_t memsize; in rds_init_send_pool() local 421 memsize = (MaxDataSendBuffers * RdsPktSize) + in rds_init_send_pool() 428 memsize = MaxCtrlSendBuffers * RDS_CTRLPKT_SIZE; in rds_init_send_pool() [all …]
|
/titanic_44/usr/src/cmd/sgs/size/common/ |
H A D | process.c | 224 GElf_Xword memsize; in process_phdr() local 238 memsize = total = 0; in process_phdr() 260 memsize += p.p_memsz; in process_phdr() 305 (void) printf(prusum[numbase], memsize); in process_phdr()
|
/titanic_44/usr/src/cmd/picl/plugins/sun4v/pri/ |
H A D | mem_prop_update.c | 63 uint64_t memsize, segsize, segbase; in add_mem_prop() local 130 for (memsize = 0, segsize = 0, j = 0; j < nsegments; in add_mem_prop() 131 ++j, memsize += segsize) { in add_mem_prop() 192 add_memory_props(memh, memorylistp[0], mdp, memsize); in add_mem_prop()
|
/titanic_44/usr/src/cmd/picl/plugins/common/memcfg/ |
H A D | piclmemcfg_comm.c | 377 uint64_t memsize = 0; in create_logical_tree() local 431 memsize += mcseg->size; in create_logical_tree() 474 err = ptree_update_propval(proph, &memsize, sizeof (memsize)); in create_logical_tree() 482 PICL_PTYPE_UNSIGNED_INT, PICL_READ, sizeof (memsize), in create_logical_tree() 484 err = ptree_create_and_add_prop(memh, &propinfo, &memsize, NULL); in create_logical_tree()
|
/titanic_44/usr/src/uts/common/sys/fs/ |
H A D | zev.h | 437 #define ZEV_MEM_ADD(memsize) \ argument 439 int64_t tmp_delta = (int64_t)(memsize); \ 444 #define ZEV_MEM_SUB(memsize) \ argument 446 int64_t tmp_delta = (int64_t)(memsize); \
|
/titanic_44/usr/src/common/zev/ |
H A D | zev.h | 437 #define ZEV_MEM_ADD(memsize) \ argument 439 int64_t tmp_delta = (int64_t)(memsize); \ 443 #define ZEV_MEM_SUB(memsize) \ argument 445 int64_t tmp_delta = (int64_t)(memsize); \
|
/titanic_44/usr/src/uts/common/io/dmfe/ |
H A D | dmfe_main.c | 2248 dmfe_alloc_dma_mem(dmfe_t *dmfep, size_t memsize, in dmfe_alloc_dma_mem() argument 2269 err = ddi_dma_mem_alloc(dma_p->dma_hdl, memsize + setup + slop, in dmfe_alloc_dma_mem() 2295 dma_p->setup_dvma = dma_p->mem_dvma + memsize; in dmfe_alloc_dma_mem() 2296 dma_p->setup_va = dma_p->mem_va + memsize; in dmfe_alloc_dma_mem() 2311 size_t memsize; in dmfe_alloc_bufs() local 2317 memsize = dmfep->tx.n_desc * sizeof (struct tx_desc_type); in dmfe_alloc_bufs() 2318 err = dmfe_alloc_dma_mem(dmfep, memsize, SETUPBUF_SIZE, DMFE_SLOP, in dmfe_alloc_bufs() 2329 memsize = dmfep->tx.n_desc * DMFE_BUF_SIZE; in dmfe_alloc_bufs() 2330 err = dmfe_alloc_dma_mem(dmfep, memsize, 0, 0, in dmfe_alloc_bufs() 2341 memsize = dmfep->rx.n_desc * sizeof (struct rx_desc_type); in dmfe_alloc_bufs() [all …]
|
/titanic_44/usr/src/ucblib/libucb/port/gen/ |
H A D | nlist.c | 294 elf_read(int fd, long offset, size_t size, size_t memsize, Elf_Type dtype) in elf_read() argument 306 if ((maxsize = memsize) < size) in elf_read() 335 ddst->d_size = memsize; in elf_read()
|
/titanic_44/usr/src/cmd/sgs/rtld/common/ |
H A D | malloc.c | 89 size_t memsize = size / sizeof (ulong_t); in scribble() local 91 while (memsize--) { in scribble()
|
/titanic_44/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/t/ |
H A D | Lgrp_api.t | 184 my $memsize = $c->mem_size($root, 189 ok($memsize, 'memory size is non-zero');
|
/titanic_44/usr/src/uts/sun4u/io/ |
H A D | mc-us3i.c | 115 static uint64_t memsize; variable 498 mcmem->size = memsize; in mc_ioctl() 904 memsize += banki->size; in mc_add_segment() 929 memsize += banki->size; in mc_add_segment() 1358 "nsegments %d\n", nmcs, memsize, nsegments)); in mc_construct() 1723 *mem_sizep = memsize; in mc_get_mem_info()
|
H A D | mc-us3.c | 110 static uint64_t memsize = 0; variable 560 mcmem->size = memsize; in mc_ioctl() 1459 *mem_sizep = memsize; in mc_get_mem_info() 1757 memsize += size; in mlayout_add() 1845 memsize -= bank_curr->size; in mlayout_del()
|
/titanic_44/usr/src/uts/sun4v/os/ |
H A D | lpad.c | 68 extern void mach_cpu_startup(uint64_t rabase, uint64_t memsize);
|
/titanic_44/usr/src/grub/grub-0.97/netboot/ |
H A D | ns8390.c | 51 char memsize; member 663 eth_memsize = brd->memsize; in eth_probe() 681 eth_memsize = brd->memsize; in eth_probe()
|
/titanic_44/usr/src/cmd/picl/plugins/common/devtree/ |
H A D | picldevtree.c | 3426 uint64_t memsize; in update_memory_size_prop() local 3471 memsize = 0; in update_memory_size_prop() 3473 memsize += mspecs[snum].size; in update_memory_size_prop() 3477 err = ptree_update_propval(proph, &memsize, sizeof (memsize)); in update_memory_size_prop() 3485 PICL_PTYPE_UNSIGNED_INT, PICL_READ, sizeof (memsize), in update_memory_size_prop() 3487 err = ptree_create_and_add_prop(memh, &pinfo, &memsize, NULL); in update_memory_size_prop()
|
/titanic_44/usr/src/uts/common/io/i40e/ |
H A D | i40e_main.c | 1507 off_t memsize; in i40e_regs_map() local 1510 if (ddi_dev_regsize(devinfo, I40E_ADAPTER_REGSET, &memsize) != in i40e_regs_map() 1517 (caddr_t *)&hw->hw_addr, 0, memsize, &i40e_regs_acc_attr, in i40e_regs_map() 1523 osdep->ios_reg_size = memsize; in i40e_regs_map()
|
/titanic_44/usr/src/uts/common/io/nge/ |
H A D | nge.h | 983 int nge_alloc_dma_mem(nge_t *ngep, size_t memsize,
|
H A D | nge_main.c | 298 nge_alloc_dma_mem(nge_t *ngep, size_t memsize, ddi_device_acc_attr_t *attr_p, in nge_alloc_dma_mem() argument 305 (void *)ngep, memsize, attr_p, dma_flags, dma_p)); in nge_alloc_dma_mem() 317 err = ddi_dma_mem_alloc(dma_p->dma_hdl, memsize, attr_p, in nge_alloc_dma_mem()
|
/titanic_44/usr/src/uts/common/io/rge/ |
H A D | rge_main.c | 135 rge_alloc_dma_mem(rge_t *rgep, size_t memsize, ddi_dma_attr_t *dma_attr_p, in rge_alloc_dma_mem() argument 154 err = ddi_dma_mem_alloc(dma_p->dma_hdl, memsize, acc_attr_p, in rge_alloc_dma_mem()
|
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_fct.c | 4981 int memsize; local 5030 memsize = emlxs_str_atoi(datap); 5045 if (!memsize || !numblks) { 5048 memsize, numblks); 5052 fct_memseg[fct_memseg_cnt].fc_memsize = memsize; 5058 fct_memseg_cnt, memsize, numblks);
|
/titanic_44/usr/src/uts/common/io/rtls/ |
H A D | rtls.c | 1493 rtls_alloc_dma_mem(rtls_t *rtlsp, size_t memsize, in rtls_alloc_dma_mem() argument 1515 err = ddi_dma_mem_alloc(dma_p->dma_hdl, memsize, attr_p, in rtls_alloc_dma_mem()
|
/titanic_44/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/pod/ |
H A D | Lgrp.pod | 90 my $memsize = lgrp_mem_size($cookie, $lgrp, 93 $memsize = l->mem_size($lgrp,
|
/titanic_44/usr/src/uts/common/io/ath/ |
H A D | ath_main.c | 324 ath_alloc_dma_mem(dev_info_t *devinfo, ddi_dma_attr_t *dma_attr, size_t memsize, in ath_alloc_dma_mem() argument 341 err = ddi_dma_mem_alloc(dma_p->dma_hdl, memsize, attr_p, in ath_alloc_dma_mem()
|