/illumos-gate/usr/src/cmd/sgs/dump/common/ |
H A D | fcns.c | 84 dump_exec_header(Elf *elf_file, unsigned nseg, char *filename) argument 112 for (counter = 0; counter < nseg; counter++) {
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | outfile.c | 380 int fd, nseg = 0, shidx, dataidx, ptloadidx = 0; local 462 nseg++; 465 nseg++; 468 nseg++; 471 nseg++; 474 nseg++; 477 nseg++; 480 nseg++; 483 nseg++; 485 nseg [all...] |
/illumos-gate/usr/src/uts/sparc/v9/vm/ |
H A D | seg_nf.c | 342 * "seg" at the low end, and create "nseg" for the high end. 346 struct seg *nseg; local 349 * Trim down "seg" before trying to stick "nseg" into the as. 352 nseg = seg_alloc(seg->s_as, nbase, nsize); 353 if (nseg == NULL) 359 nseg->s_ops = seg->s_ops; 360 nseg->s_data = nseg; 361 nseg->s_flags |= S_PURGE;
|
/illumos-gate/usr/src/boot/sys/boot/usb/ |
H A D | usb_busdma_loader.c | 177 uint32_t nseg; local 180 nseg = 1; 182 nseg = ((length + USB_PAGE_SIZE - 1) / USB_PAGE_SIZE);
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vpm.c | 746 int nseg, 754 ASSERT(nseg >= MINVMAPS && nseg <= MAXVMAPS); 807 * The nseg is the number of vmap_t entries in the array. 819 int nseg, 832 ASSERT(nseg >= MINVMAPS && nseg <= MAXVMAPS); 850 if (tlen > ((nseg - 1) * PAGESIZE)) { 851 tlen = ((nseg - 1) * PAGESIZE); 864 return (vpm_pagecreate(vp, baseoff, len, vml, nseg, newpag 741 vpm_pagecreate( struct vnode *vp, u_offset_t baseoff, size_t len, vmap_t vml[], int nseg, int *newpage) argument 813 vpm_map_pages( struct vnode *vp, u_offset_t off, size_t len, int fetchpage, vmap_t *vml, int nseg, int *newpage, enum seg_rw rw) argument 1126 vpm_pagecreate( struct vnode *vp, u_offset_t baseoff, size_t len, vmap_t vml[], int nseg, int *newpage) argument 1139 vpm_map_pages( struct vnode *vp, u_offset_t off, size_t len, int fetchpage, vmap_t vml[], int nseg, int *newpage, enum seg_rw rw) argument [all...] |
H A D | seg_dev.c | 624 register struct seg *nseg; local 792 * have to make it into two segments. nseg is made for 798 nseg = seg_alloc(seg->s_as, nbase, nsize); 799 if (nseg == NULL) 803 "segdev_unmap: seg=%p nseg=%p", (void *)seg, (void *)nseg); 804 DEBUGF(3, (CE_CONT, "segdev_unmap: segdev_dup seg %p nseg %p\n", 805 (void *)seg, (void *)nseg)); 808 nseg->s_ops = seg->s_ops; 809 nseg [all...] |
H A D | seg_vn.c | 694 struct seg *pseg, *nseg; local 750 nseg = AS_SEGNEXT(pseg->s_as, pseg); 751 if (nseg != NULL && 752 nseg != pseg && 753 nseg->s_ops == &segvn_ops && 755 nseg->s_base) 756 (void) segvn_concat(pseg, nseg, 0); 768 nseg = AS_SEGNEXT(seg->s_as, seg); 769 if (nseg != NULL && 770 seg->s_base + seg->s_size == nseg 1859 struct seg *nseg; local 6075 struct seg *nseg; local 6578 struct seg *nseg; local 6728 struct seg *nseg; local [all...] |
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_session.c | 133 int i, nseg; local 151 nseg = 1; 154 nseg++; 157 if (nseg <= SMB_LOCAL_IOV_MAX) { 160 alloc_sz = nseg * sizeof (iovec_t); 164 uio.uio_iovcnt = nseg; 183 ASSERT3S(i, ==, nseg);
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | history.c | 2193 int nseg = ((n+1) + GLH_SEG_SIZE-1) / GLH_SEG_SIZE; local 2196 * 'nseg' segments have been freed up, or until we run out of buffer 2199 while(glh->nfree < nseg && glh->nbusy > 0) 2205 if(glh->nfree < nseg) 2208 * Record the line in the first 'nseg' segments of the list of unused segments. 2211 for(i=0,seg=glh->unused; i<nseg-1; i++,seg=seg->next, offset+=GLH_SEG_SIZE) 2228 glh->nbusy += nseg; 2229 glh->nfree -= nseg; 2291 int nseg; /* The number of segments being discarded */ local 2296 for(nseg [all...] |
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | vmem.c | 564 ssize_t nseg; local 597 nseg = VMEM_MINFREE + vmem_populators * VMEM_POPULATE_RESERVE; 598 size = P2ROUNDUP(nseg * vmem_seg_size, vmem_seg_arena->vm_quantum); 599 nseg = size / vmem_seg_size; 627 (vmem_seg_t *)(p + --nseg * vmem_seg_size)); 638 ASSERT(nseg >= VMEM_MINFREE); 640 vmem_putseg(vmp, (vmem_seg_t *)(p + --nseg * vmem_seg_size)); 645 while (nseg > 0) 646 vmem_putseg_global((vmem_seg_t *)(p + --nseg * vmem_seg_size)); 1590 size_t old_size, new_size, h, nseg; local 1696 int nseg = VMEM_SEG_INITIAL; local [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | vmem.c | 674 ssize_t nseg; local 707 nseg = VMEM_MINFREE + vmem_populators * VMEM_POPULATE_RESERVE; 708 size = P2ROUNDUP(nseg * vmem_seg_size, vmem_seg_arena->vm_quantum); 709 nseg = size / vmem_seg_size; 732 (vmem_seg_t *)(p + --nseg * vmem_seg_size)); 742 ASSERT(nseg >= VMEM_MINFREE); 744 vmem_putseg(vmp, (vmem_seg_t *)(p + --nseg * vmem_seg_size)); 749 while (nseg > 0) 750 vmem_putseg_global((vmem_seg_t *)(p + --nseg * vmem_seg_size)); 1662 size_t old_size, new_size, h, nseg; local 1758 int nseg = VMEM_SEG_INITIAL; local [all...] |
/illumos-gate/usr/src/uts/common/io/chxge/ |
H A D | pe.c | 264 int nseg = 0; /* number cmdQ_ce entries created */ local 388 if (nseg >= (mseg-4)) { 395 for (j = 0; j < nseg; j++) 416 &hmp[nseg], mseg - nseg); 421 &hmp[nseg], 422 mseg - nseg)) == NULL) { 438 if (nseg) 445 (void *)mp->b_rptr, &hmp[nseg], 446 mseg - nseg); [all...] |
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | startup.c | 2451 int nseg; local 2463 nseg = memseg_sz / sizeof (struct memseg); 2469 while (nseg--) {
|
/illumos-gate/usr/src/uts/common/io/iwi/ |
H A D | ipw2200_impl.h | 484 uint32_t nseg; member in struct:ipw2200_tx_desc
|