Home
last modified time | relevance | path

Searched refs:totsize (Results 1 – 12 of 12) sorted by relevance

/titanic_41/usr/src/cmd/sgs/size/common/
H A Dprocess.c89 GElf_Xword totsize; in process() local
132 first = second = third = totsize = 0; in process()
189 totsize = first + second + third; in process()
191 first, second, third, totsize); in process()
/titanic_41/usr/src/lib/libpkg/common/
H A Dpkgtrans.c778 long totsize; in genheader() local
799 totsize = 0; in genheader()
809 totsize += statbuf.st_size/BLK_SIZE + 1; in genheader()
815 totsize += i/4 + 1; in genheader()
816 if (dstdev.capacity && totsize > dstdev.capacity) { in genheader()
818 logerr(pkg_gt(MSG_NOSPACE), totsize, dstdev.capacity); in genheader()
870 totsize += nparts * maxpsize; in genheader()
871 if (dstdev.capacity && dstdev.capacity < totsize) { in genheader()
874 if (totsize) in genheader()
875 totsize -= nparts * maxpsize; in genheader()
[all …]
/titanic_41/usr/src/uts/intel/io/dktp/dcdev/
H A Ddadk.c521 int totsize; in dadk_setcap() local
524 totsize = dadkp->dad_phyg.g_secsiz; in dadk_setcap()
526 if (totsize == 0) { in dadk_setcap()
528 totsize = 2048; in dadk_setcap()
530 totsize = NBPSCTR; in dadk_setcap()
534 totsize &= ~(NBPSCTR-1); in dadk_setcap()
536 dadkp->dad_phyg.g_secsiz = totsize; in dadk_setcap()
539 totsize >>= SCTRSHFT; in dadk_setcap()
540 for (i = 0; totsize != 1; i++, totsize >>= 1) in dadk_setcap()
/titanic_41/usr/src/lib/libmapmalloc/common/
H A Dtextmem.c132 size_t totsize = size + HDR_PAGE; in malloc_unlocked() local
133 size_t totpage = align(totsize, pagesize); in malloc_unlocked()
/titanic_41/usr/src/uts/common/io/rge/
H A Drge_main.c217 size_t totsize; in rge_slice_chunk() local
219 totsize = qty*size; in rge_slice_chunk()
220 ASSERT(totsize <= chunk->alength); in rge_slice_chunk()
225 slice->alength = totsize; in rge_slice_chunk()
228 chunk->mem_va = (caddr_t)chunk->mem_va + totsize; in rge_slice_chunk()
229 chunk->alength -= totsize; in rge_slice_chunk()
230 chunk->offset += totsize; in rge_slice_chunk()
231 chunk->cookie.dmac_laddress += totsize; in rge_slice_chunk()
232 chunk->cookie.dmac_size -= totsize; in rge_slice_chunk()
/titanic_41/usr/src/cmd/sgs/rtld/common/
H A Dmalloc.c180 size_t totsize = size + HDR_PAGE; in malloc() local
181 size_t totpage = S_ROUND(totsize, syspagsz); in malloc()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/
H A Dfru_access.c465 hole_discovery(int bytes, int segcnt, int *totsize, seg_info_t *offset_tbl) in hole_discovery() argument
469 *totsize = 0; in hole_discovery()
477 *totsize += offset_tbl[cnt].offset - in hole_discovery()
510 int totsize = 0; in find_offset() local
559 segcnt, &totsize, offset_tbl); in find_offset()
570 if (totsize > offset_tbl[0].length) { in find_offset()
580 totsize = 0; in find_offset()
581 newoffset = hole_discovery(segsize, segcnt, &totsize, offset_tbl); in find_offset()
584 if (totsize >= segsize) { in find_offset()
588 &totsize, offset_tbl); in find_offset()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c461 hole_discovery(int bytes, int segcnt, int *totsize, seg_info_t *offset_tbl) in hole_discovery() argument
465 *totsize = 0; in hole_discovery()
473 *totsize += offset_tbl[cnt].offset - in hole_discovery()
505 int totsize = 0; in find_offset() local
554 &totsize, offset_tbl); in find_offset()
565 if (totsize > offset_tbl[0].length) { in find_offset()
575 totsize = 0; in find_offset()
576 newoffset = hole_discovery(segsize, segcnt, &totsize, offset_tbl); in find_offset()
579 if (totsize >= segsize) { in find_offset()
581 newoffset = hole_discovery(segsize, segcnt, &totsize, in find_offset()
/titanic_41/usr/src/uts/common/io/nge/
H A Dnge_main.c276 size_t totsize; in nge_slice_chunk() local
278 totsize = qty*size; in nge_slice_chunk()
280 ASSERT(totsize <= chunk->alength); in nge_slice_chunk()
285 slice->alength = totsize; in nge_slice_chunk()
287 chunk->mem_va = (caddr_t)chunk->mem_va + totsize; in nge_slice_chunk()
288 chunk->alength -= totsize; in nge_slice_chunk()
289 chunk->offset += totsize; in nge_slice_chunk()
290 chunk->cookie.dmac_laddress += totsize; in nge_slice_chunk()
291 chunk->cookie.dmac_size -= totsize; in nge_slice_chunk()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/
H A Dlibfruaccess.c1114 hole_discovery(int bytes, int segcnt, int *totsize, seg_info_t *offset_tbl) in hole_discovery() argument
1118 *totsize = 0; in hole_discovery()
1126 *totsize += offset_tbl[cnt].offset - in hole_discovery()
1159 int totsize = 0; in find_offset() local
1208 segcnt, &totsize, offset_tbl); in find_offset()
1219 if (totsize > offset_tbl[0].length) { in find_offset()
1229 totsize = 0; in find_offset()
1230 newoffset = hole_discovery(segsize, segcnt, &totsize, offset_tbl); in find_offset()
1233 if (totsize >= segsize) { in find_offset()
1237 &totsize, offset_tbl); in find_offset()
/titanic_41/usr/src/uts/common/io/bge/
H A Dbge_main2.c2181 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;
/titanic_41/usr/src/cmd/fdisk/
H A Dfdisk.c4793 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) {