Home
last modified time | relevance | path

Searched refs:nextblk (Results 1 – 10 of 10) sorted by relevance

/titanic_50/usr/src/lib/libmalloc/common/
H A Dmalloc.c283 hd->nextblk = ((struct header *)((char *)alloc_buf - minhead))->nextblk; in memalign()
284 ((struct header *)((char *)alloc_buf - minhead))->nextblk = SETBUSY(hd); in memalign()
317 arena[1].nextblk = (struct header *)BUSY; in malloc_unlocked()
318 arena[0].nextblk = (struct header *)BUSY; in malloc_unlocked()
322 freeptr[1].nextblk = &(arena[0]); in malloc_unlocked()
466 if ((freeptr[1].nextblk-&(freeptr[1])) < nb) { in malloc_unlocked()
476 next = blk->nextblk; in malloc_unlocked()
477 if (!TESTBUSY(nextnext = next->nextblk)) { in malloc_unlocked()
481 nextnext = next->nextblk; in malloc_unlocked()
489 blk->nextblk = next; in malloc_unlocked()
[all …]
H A Dmallint.h62 struct header *nextblk; member
/titanic_50/usr/src/lib/libbc/libc/gen/common/
H A Dmalloc.c521 nblk = nextblk(retblk, nbytes); /* ^next block */ in malloc()
626 Dblk nblk = nextblk(oldblk,nbytes); in free()
651 Dblk nblk = nextblk(neighbor_blk, neighbor_size); in free()
716 remainder = nextblk(oldblk, newsize); in shrink()
801 oldneighbor = nextblk(oldblk,oldsize); in realloc()
943 oldneighbor = nextblk(oldblk, oldsize); in reclaim()
990 freeneighbor = nextblk(freeblk, freeblk->size); in reclaim()
1182 _ubound = (char*) nextblk(blk,size); in getfreehdr()
1318 if ( nextblk(db, probe->size) >= pdb ) /* overlap */ in cartesian()
1327 pdb = nextblk(pdb, p->size); in cartesian()
[all …]
H A Dmemalign.c118 aligned_blk = nextblk(aligned_blk,align);
136 blk = nextblk(aligned_blk, nbytes);
H A Dmallint.h110 #define nextblk(p, size) ((Dblk) ((char *) (p) + (size))) macro
/titanic_50/usr/src/uts/common/fs/ufs/
H A Dufs_alloc.c541 daddr_t nextblk; in blkpref() local
588 nextblk = bap[indx - 1]; in blkpref()
593 if (nextblk < 0 && nextblk != UFS_HOLE) { in blkpref()
594 nextblk = (-bap[indx - 1]) + fs->fs_frag; in blkpref()
596 nextblk = bap[indx - 1] + fs->fs_frag; in blkpref()
600 blkstofrags(fs, fs->fs_maxcontig) != nextblk) { in blkpref()
601 return (nextblk); in blkpref()
610 nextblk += roundup(fs->fs_rotdelay * fs->fs_rps * fs->fs_nsect / in blkpref()
612 return (nextblk); in blkpref()
H A Dufs_vnops.c3974 nextblk: in ufs_readdir()
4071 goto nextblk; in ufs_readdir()
6234 daddr32_t *nextblk, *endblk; in ufs_dumpctl() local
6331 nextblk = dblk + 1; in ufs_dumpctl()
6342 if ((*dblk + fs->fs_frag) == *nextblk) in ufs_dumpctl()
6347 nextblk++; in ufs_dumpctl()
/titanic_50/usr/src/psm/stand/boot/common/
H A Dheap_kmem.c119 #define nextblk(p, size) ((Dblk) ((char *)(p) + (size))) macro
556 kmem_free((caddr_t)nextblk(a->block, size), in kmem_alloc()
561 x->block = nextblk(a->block, nbytes); in kmem_alloc()
/titanic_50/usr/src/uts/common/io/
H A Demul64_bsd.c1228 blklist_t *nextblk; in bsd_freeblkrange() local
1233 blk = nextblk) { in bsd_freeblkrange()
1238 nextblk = AVL_NEXT(&tgt->emul64_tgt_data, blk); in bsd_freeblkrange()
/titanic_50/usr/src/lib/watchmalloc/common/
H A Dmalloc.c1115 #define nextblk(p, size) ((TREE *)((char *)(p) + (size))) macro
1210 aligned_blk = nextblk(aligned_blk, align); in memalign()