Home
last modified time | relevance | path

Searched refs:slab (Results 1 – 25 of 29) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_mm.c46 mm_slab_alloc(struct mm_slab *slab) in mm_slab_alloc() argument
50 if (slab->free == 0) in mm_slab_alloc()
53 for (i = 0; i < (slab->count + 31) / 32; ++i) { in mm_slab_alloc()
54 b = ffs(slab->bits[i]) - 1; in mm_slab_alloc()
57 assert(n < slab->count); in mm_slab_alloc()
58 slab->free--; in mm_slab_alloc()
59 slab->bits[i] &= ~(1 << b); in mm_slab_alloc()
67 mm_slab_free(struct mm_slab *slab, int i) in mm_slab_free() argument
69 assert(i < slab->count); in mm_slab_free()
70 slab->bits[i / 32] |= 1 << (i % 32); in mm_slab_free()
[all …]
/external/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_bufmgr_slab.c63 struct pb_slab *slab; member
198 struct pb_slab *slab = buf->slab; in pb_slab_buffer_destroy() local
199 struct pb_slab_manager *mgr = slab->mgr; in pb_slab_buffer_destroy()
209 LIST_ADDTAIL(list, &slab->freeBuffers); in pb_slab_buffer_destroy()
210 slab->numFree++; in pb_slab_buffer_destroy()
212 if (slab->head.next == &slab->head) in pb_slab_buffer_destroy()
213 LIST_ADDTAIL(&slab->head, &mgr->slabs); in pb_slab_buffer_destroy()
216 if (slab->numFree == slab->numBuffers) { in pb_slab_buffer_destroy()
217 list = &slab->head; in pb_slab_buffer_destroy()
219 pb_reference(&slab->bo, NULL); in pb_slab_buffer_destroy()
[all …]
/external/libchrome/base/process/
Dprocess_metrics_linux.cc552 slab = 0; in SystemMemoryInfoKB()
578 res->SetInteger("slab", slab); in ToValue()
644 target = &meminfo->slab; in ParseProcMeminfo()
Dprocess_metrics.h293 int slab; member
Dprocess_metrics_unittest.cc185 EXPECT_EQ(meminfo.slab, 54212); in TEST_F()
/external/v8/test/mjsunit/wasm/embenchen/
Dcopy.js717 function allocate(slab, types, allocator, ptr) { argument
719 if (typeof slab === 'number') {
721 size = slab;
724 size = slab.length;
751 if (slab.subarray || slab.slice) {
752 HEAPU8.set(slab, ret);
754 HEAPU8.set(new Uint8Array(slab), ret);
761 var curr = slab[i];
4955 var slab = HEAP8;
4956 return FS.write(stream, slab, buf, nbyte, offset);
[all …]
Dprimes.js717 function allocate(slab, types, allocator, ptr) { argument
719 if (typeof slab === 'number') {
721 size = slab;
724 size = slab.length;
751 if (slab.subarray || slab.slice) {
752 HEAPU8.set(slab, ret);
754 HEAPU8.set(new Uint8Array(slab), ret);
761 var curr = slab[i];
4969 var slab = HEAP8;
4970 return FS.write(stream, slab, buf, nbyte, offset);
[all …]
Dcorrections.js717 function allocate(slab, types, allocator, ptr) { argument
719 if (typeof slab === 'number') {
721 size = slab;
724 size = slab.length;
751 if (slab.subarray || slab.slice) {
752 HEAPU8.set(slab, ret);
754 HEAPU8.set(new Uint8Array(slab), ret);
761 var curr = slab[i];
4955 var slab = HEAP8;
4956 return FS.write(stream, slab, buf, nbyte, offset);
[all …]
Dfannkuch.js748 function allocate(slab, types, allocator, ptr) { argument
750 if (typeof slab === 'number') {
752 size = slab;
755 size = slab.length;
782 if (slab.subarray || slab.slice) {
783 HEAPU8.set(slab, ret);
785 HEAPU8.set(new Uint8Array(slab), ret);
792 var curr = slab[i];
4449 var slab = HEAP8;
4450 return FS.write(stream, slab, buf, nbyte, offset);
[all …]
Dmemops.js717 function allocate(slab, types, allocator, ptr) { argument
719 if (typeof slab === 'number') {
721 size = slab;
724 size = slab.length;
751 if (slab.subarray || slab.slice) {
752 HEAPU8.set(slab, ret);
754 HEAPU8.set(new Uint8Array(slab), ret);
761 var curr = slab[i];
4418 var slab = HEAP8;
4419 return FS.write(stream, slab, buf, nbyte, offset);
[all …]
Dfasta.js727 function allocate(slab, types, allocator, ptr) { argument
729 if (typeof slab === 'number') {
731 size = slab;
734 size = slab.length;
761 if (slab.subarray || slab.slice) {
762 HEAPU8.set(slab, ret);
764 HEAPU8.set(new Uint8Array(slab), ret);
771 var curr = slab[i];
4693 var slab = HEAP8;
4694 return FS.write(stream, slab, buf, nbyte, offset);
[all …]
Dzlib.js717 function allocate(slab, types, allocator, ptr) { argument
719 if (typeof slab === 'number') {
721 size = slab;
724 size = slab.length;
751 if (slab.subarray || slab.slice) {
752 HEAPU8.set(slab, ret);
754 HEAPU8.set(new Uint8Array(slab), ret);
761 var curr = slab[i];
4419 var slab = HEAP8;
4420 return FS.write(stream, slab, buf, nbyte, offset);
[all …]
Dbox2d.js718 function allocate(slab, types, allocator, ptr) { argument
720 if (typeof slab === 'number') {
722 size = slab;
725 size = slab.length;
752 if (slab.subarray || slab.slice) {
753 HEAPU8.set(slab, ret);
755 HEAPU8.set(new Uint8Array(slab), ret);
762 var curr = slab[i];
4667 var slab = HEAP8;
4668 return FS.write(stream, slab, buf, nbyte, offset);
[all …]
Dlua_binarytrees.js749 function allocate(slab, types, allocator, ptr) { argument
751 if (typeof slab === 'number') {
753 size = slab;
756 size = slab.length;
783 if (slab.subarray || slab.slice) {
784 HEAPU8.set(slab, ret);
786 HEAPU8.set(new Uint8Array(slab), ret);
793 var curr = slab[i];
4540 var slab = HEAP8;
4541 return FS.read(stream, slab, buf, nbyte, offset);
[all …]
/external/v8/test/mjsunit/asm/embenchen/
Dcorrections.js714 function allocate(slab, types, allocator, ptr) { argument
716 if (typeof slab === 'number') {
718 size = slab;
721 size = slab.length;
748 if (slab.subarray || slab.slice) {
749 HEAPU8.set(slab, ret);
751 HEAPU8.set(new Uint8Array(slab), ret);
758 var curr = slab[i];
4952 var slab = HEAP8;
4953 return FS.write(stream, slab, buf, nbyte, offset);
[all …]
Dcopy.js714 function allocate(slab, types, allocator, ptr) { argument
716 if (typeof slab === 'number') {
718 size = slab;
721 size = slab.length;
748 if (slab.subarray || slab.slice) {
749 HEAPU8.set(slab, ret);
751 HEAPU8.set(new Uint8Array(slab), ret);
758 var curr = slab[i];
4952 var slab = HEAP8;
4953 return FS.write(stream, slab, buf, nbyte, offset);
[all …]
Dprimes.js714 function allocate(slab, types, allocator, ptr) { argument
716 if (typeof slab === 'number') {
718 size = slab;
721 size = slab.length;
748 if (slab.subarray || slab.slice) {
749 HEAPU8.set(slab, ret);
751 HEAPU8.set(new Uint8Array(slab), ret);
758 var curr = slab[i];
4966 var slab = HEAP8;
4967 return FS.write(stream, slab, buf, nbyte, offset);
[all …]
Dfannkuch.js745 function allocate(slab, types, allocator, ptr) { argument
747 if (typeof slab === 'number') {
749 size = slab;
752 size = slab.length;
779 if (slab.subarray || slab.slice) {
780 HEAPU8.set(slab, ret);
782 HEAPU8.set(new Uint8Array(slab), ret);
789 var curr = slab[i];
4446 var slab = HEAP8;
4447 return FS.write(stream, slab, buf, nbyte, offset);
[all …]
Dmemops.js714 function allocate(slab, types, allocator, ptr) { argument
716 if (typeof slab === 'number') {
718 size = slab;
721 size = slab.length;
748 if (slab.subarray || slab.slice) {
749 HEAPU8.set(slab, ret);
751 HEAPU8.set(new Uint8Array(slab), ret);
758 var curr = slab[i];
4415 var slab = HEAP8;
4416 return FS.write(stream, slab, buf, nbyte, offset);
[all …]
Dfasta.js724 function allocate(slab, types, allocator, ptr) { argument
726 if (typeof slab === 'number') {
728 size = slab;
731 size = slab.length;
758 if (slab.subarray || slab.slice) {
759 HEAPU8.set(slab, ret);
761 HEAPU8.set(new Uint8Array(slab), ret);
768 var curr = slab[i];
4690 var slab = HEAP8;
4691 return FS.write(stream, slab, buf, nbyte, offset);
[all …]
Dzlib.js714 function allocate(slab, types, allocator, ptr) { argument
716 if (typeof slab === 'number') {
718 size = slab;
721 size = slab.length;
748 if (slab.subarray || slab.slice) {
749 HEAPU8.set(slab, ret);
751 HEAPU8.set(new Uint8Array(slab), ret);
758 var curr = slab[i];
4416 var slab = HEAP8;
4417 return FS.write(stream, slab, buf, nbyte, offset);
[all …]
Dbox2d.js715 function allocate(slab, types, allocator, ptr) { argument
717 if (typeof slab === 'number') {
719 size = slab;
722 size = slab.length;
749 if (slab.subarray || slab.slice) {
750 HEAPU8.set(slab, ret);
752 HEAPU8.set(new Uint8Array(slab), ret);
759 var curr = slab[i];
4664 var slab = HEAP8;
4665 return FS.write(stream, slab, buf, nbyte, offset);
[all …]
Dlua_binarytrees.js746 function allocate(slab, types, allocator, ptr) { argument
748 if (typeof slab === 'number') {
750 size = slab;
753 size = slab.length;
780 if (slab.subarray || slab.slice) {
781 HEAPU8.set(slab, ret);
783 HEAPU8.set(new Uint8Array(slab), ret);
790 var curr = slab[i];
4537 var slab = HEAP8;
4538 return FS.read(stream, slab, buf, nbyte, offset);
[all …]
/external/llvm/lib/Support/Unix/
DMemory.inc174 /// AllocateRWX - Allocate a slab of memory with read/write/execute
/external/autotest/client/profilers/lockmeter/
Dpatch.2.6.14-lockmeter-1.gz

12