/illumos-gate/usr/src/cmd/sgs/size/common/ |
H A D | process.c | 89 GElf_Xword totsize; local 132 first = second = third = totsize = 0; 189 totsize = first + second + third; 191 first, second, third, totsize);
|
/illumos-gate/usr/src/lib/libmapmalloc/common/ |
H A D | textmem.c | 132 size_t totsize = size + HDR_PAGE; local 133 size_t totpage = align(totsize, pagesize);
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | malloc.c | 180 size_t totsize = size + HDR_PAGE; local 181 size_t totpage = S_ROUND(totsize, syspagsz);
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkgtrans.c | 778 long totsize; local 799 totsize = 0; 809 totsize += statbuf.st_size/BLK_SIZE + 1; 813 * totsize contains number of blocks used by the pkginfo files 815 totsize += i/4 + 1; 816 if (dstdev.capacity && totsize > dstdev.capacity) { 818 logerr(pkg_gt(MSG_NOSPACE), totsize, dstdev.capacity); local 870 totsize += nparts * maxpsize; 871 if (dstdev.capacity && dstdev.capacity < totsize) { 874 if (totsize) [all...] |
/illumos-gate/usr/src/uts/common/io/rge/ |
H A D | rge_main.c | 217 size_t totsize; local 219 totsize = qty*size; 220 ASSERT(totsize <= chunk->alength); 225 slice->alength = totsize; 228 chunk->mem_va = (caddr_t)chunk->mem_va + totsize; 229 chunk->alength -= totsize; 230 chunk->offset += totsize; 231 chunk->cookie.dmac_laddress += totsize; 232 chunk->cookie.dmac_size -= totsize;
|
/illumos-gate/usr/src/uts/intel/io/dktp/dcdev/ |
H A D | dadk.c | 521 int totsize; local 524 totsize = dadkp->dad_phyg.g_secsiz; 526 if (totsize == 0) { 528 totsize = 2048; 530 totsize = NBPSCTR; 534 totsize &= ~(NBPSCTR-1); 536 dadkp->dad_phyg.g_secsiz = totsize; 539 totsize >>= SCTRSHFT; 540 for (i = 0; totsize != 1; i++, totsize >> [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/ |
H A D | fru_access.c | 465 hole_discovery(int bytes, int segcnt, int *totsize, seg_info_t *offset_tbl) argument 469 *totsize = 0; 477 *totsize += offset_tbl[cnt].offset - 510 int totsize = 0; local 559 segcnt, &totsize, offset_tbl); 570 if (totsize > offset_tbl[0].length) { 580 totsize = 0; 581 newoffset = hole_discovery(segsize, segcnt, &totsize, offset_tbl); 584 if (totsize >= segsize) { 588 &totsize, offset_tb [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/ |
H A D | fru_access.c | 461 hole_discovery(int bytes, int segcnt, int *totsize, seg_info_t *offset_tbl) argument 465 *totsize = 0; 473 *totsize += offset_tbl[cnt].offset - 505 int totsize = 0; local 554 &totsize, offset_tbl); 565 if (totsize > offset_tbl[0].length) { 575 totsize = 0; 576 newoffset = hole_discovery(segsize, segcnt, &totsize, offset_tbl); 579 if (totsize >= segsize) { 581 newoffset = hole_discovery(segsize, segcnt, &totsize, [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/ |
H A D | libfruaccess.c | 1114 hole_discovery(int bytes, int segcnt, int *totsize, seg_info_t *offset_tbl) argument 1118 *totsize = 0; 1126 *totsize += offset_tbl[cnt].offset - 1159 int totsize = 0; local 1208 segcnt, &totsize, offset_tbl); 1219 if (totsize > offset_tbl[0].length) { 1229 totsize = 0; 1230 newoffset = hole_discovery(segsize, segcnt, &totsize, offset_tbl); 1233 if (totsize >= segsize) { 1237 &totsize, offset_tb [all...] |
/illumos-gate/usr/src/uts/common/io/nge/ |
H A D | nge_main.c | 276 size_t totsize; local 278 totsize = qty*size; 280 ASSERT(totsize <= chunk->alength); 285 slice->alength = totsize; 287 chunk->mem_va = (caddr_t)chunk->mem_va + totsize; 288 chunk->alength -= totsize; 289 chunk->offset += totsize; 290 chunk->cookie.dmac_laddress += totsize; 291 chunk->cookie.dmac_size -= totsize;
|
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_main2.c | 2181 size_t totsize; local 2183 totsize = qty*size; 2184 ASSERT(totsize <= chunk->alength); 2189 slice->alength = totsize; 2192 chunk->mem_va = (caddr_t)chunk->mem_va + totsize; 2193 chunk->alength -= totsize; 2194 chunk->offset += totsize; 2195 chunk->cookie.dmac_laddress += totsize; 2196 chunk->cookie.dmac_size -= totsize;
|
/illumos-gate/usr/src/cmd/fdisk/ |
H A D | fdisk.c | 4793 diskaddr_t totsize; local 4835 totsize = (diskaddr_t)d.dkg_ncyl * d.dkg_nhead * d.dkg_nsect; 4836 if (v.v_part[idx].p_size != totsize) {
|