Home
last modified time | relevance | path

Searched refs:umem_alloc_sizes (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/lib/libumem/amd64/
H A Dumem_genasm.c450 genasm_malloc(void *base, size_t len, int nents, int *umem_alloc_sizes) in genasm_malloc() argument
471 umem_alloc_sizes[nents-1]); in genasm_malloc()
477 off = genasm_firstcache(bp, umem_alloc_sizes[0], allocoff); in genasm_malloc()
484 off = genasm_gencache(bp, ii, umem_alloc_sizes[ii], allocoff); in genasm_malloc()
490 bp += genasm_lastcache(bp, nents - 1, umem_alloc_sizes[nents - 1], in genasm_malloc()
499 genasm_free(void *base, size_t len, int nents, int *umem_alloc_sizes) in genasm_free() argument
521 umem_alloc_sizes[nents - 1]); in genasm_free()
527 off = genasm_firstcache(bp, umem_alloc_sizes[0], rbufoff); in genasm_free()
534 off = genasm_gencache(bp, ii, umem_alloc_sizes[ii], rbufoff); in genasm_free()
540 bp += genasm_lastcache(bp, nents - 1, umem_alloc_sizes[nents - 1], in genasm_free()
/titanic_44/usr/src/lib/libumem/i386/
H A Dumem_genasm.c441 genasm_malloc(void *base, size_t len, int nents, int *umem_alloc_sizes) in genasm_malloc() argument
462 umem_alloc_sizes[nents-1]); in genasm_malloc()
468 off = genasm_firstcache(bp, umem_alloc_sizes[0], allocoff); in genasm_malloc()
475 off = genasm_gencache(bp, ii, umem_alloc_sizes[ii], allocoff); in genasm_malloc()
481 bp += genasm_lastcache(bp, nents - 1, umem_alloc_sizes[nents - 1], in genasm_malloc()
490 genasm_free(void *base, size_t len, int nents, int *umem_alloc_sizes) in genasm_free() argument
512 umem_alloc_sizes[nents - 1]); in genasm_free()
518 off = genasm_firstcache(bp, umem_alloc_sizes[0], rbufoff); in genasm_free()
525 off = genasm_gencache(bp, ii, umem_alloc_sizes[ii], rbufoff); in genasm_free()
531 bp += genasm_lastcache(bp, nents - 1, umem_alloc_sizes[nents - 1], in genasm_free()
/titanic_44/usr/src/lib/libumem/common/
H A Dumem.c642 static int umem_alloc_sizes[] = { variable
674 #define NUM_ALLOC_SIZES (sizeof (umem_alloc_sizes) / sizeof (*umem_alloc_sizes))
3001 umem_alloc_sizes[0] = UMEM_MAXBUF; in umem_alloc_sizes_clear()
3003 umem_alloc_sizes[i] = 0; in umem_alloc_sizes_clear()
3024 if (umem_alloc_sizes[NUM_ALLOC_SIZES - 1] != 0) { in umem_alloc_sizes_add()
3037 int cur = umem_alloc_sizes[i]; in umem_alloc_sizes_add()
3048 umem_alloc_sizes[j] = umem_alloc_sizes[j-1]; in umem_alloc_sizes_add()
3049 umem_alloc_sizes[i] = size; in umem_alloc_sizes_add()
3063 int cur = umem_alloc_sizes[i]; in umem_alloc_sizes_remove()
3074 umem_alloc_sizes[i] = umem_alloc_sizes[i+1]; in umem_alloc_sizes_remove()
[all …]