Home
last modified time | relevance | path

Searched refs:newblock (Results 1 – 16 of 16) sorted by relevance

/external/libdrm/intel/
Dmm.c97 struct mem_block *newblock; in SliceBlock() local
101 newblock = in SliceBlock()
103 if (!newblock) in SliceBlock()
105 newblock->ofs = startofs; in SliceBlock()
106 newblock->size = p->size - (startofs - p->ofs); in SliceBlock()
107 newblock->free = 1; in SliceBlock()
108 newblock->heap = p->heap; in SliceBlock()
110 newblock->next = p->next; in SliceBlock()
111 newblock->prev = p; in SliceBlock()
112 p->next->prev = newblock; in SliceBlock()
[all …]
/external/mesa3d/src/util/
Du_mm.c111 struct mem_block *newblock; in SliceBlock() local
115 newblock = CALLOC_STRUCT(mem_block); in SliceBlock()
116 if (!newblock) in SliceBlock()
118 newblock->ofs = startofs; in SliceBlock()
119 newblock->size = p->size - (startofs - p->ofs); in SliceBlock()
120 newblock->free = 1; in SliceBlock()
121 newblock->heap = p->heap; in SliceBlock()
123 newblock->next = p->next; in SliceBlock()
124 newblock->prev = p; in SliceBlock()
125 p->next->prev = newblock; in SliceBlock()
[all …]
/external/lua/src/
Dlmem.c81 void *newblock; in luaM_growaux_() local
97 newblock = luaM_saferealloc_(L, block, cast_sizet(*psize) * size_elems, in luaM_growaux_()
100 return newblock; in luaM_growaux_()
112 void *newblock; in luaM_shrinkvector_() local
116 newblock = luaM_saferealloc_(L, block, oldsize, newsize); in luaM_shrinkvector_()
118 return newblock; in luaM_shrinkvector_()
163 void *newblock; in luaM_realloc_() local
166 newblock = firsttry(g, block, osize, nsize); in luaM_realloc_()
167 if (unlikely(newblock == NULL && nsize > 0)) { in luaM_realloc_()
169 newblock = tryagain(L, block, osize, nsize); in luaM_realloc_()
[all …]
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dmemory_pool.c56 struct memory_block * newblock; in refill_pool() local
61 newblock = malloc(blocksize); in refill_pool()
62 newblock->next = pool->blocks; in refill_pool()
63 pool->blocks = newblock; in refill_pool()
65 pool->head = (unsigned char*)(newblock + 1); in refill_pool()
66 pool->end = ((unsigned char*)newblock) + blocksize; in refill_pool()
/external/python/cpython2/Modules/
D_collectionsmodule.c61 newblock(block *leftlink, block *rightlink, Py_ssize_t len) { in newblock() function
137 b = newblock(NULL, NULL, 0); in deque_new()
235 block *b = newblock(deque->rightblock, NULL, deque->len); in deque_append()
258 block *b = newblock(NULL, deque->leftblock, deque->len); in deque_appendleft()
319 block *b = newblock(deque->rightblock, NULL, in deque_extend()
371 block *b = newblock(NULL, deque->leftblock, in deque_extendleft()
430 block *b = newblock(NULL, deque->leftblock, len); in _deque_rotate()
465 block *b = newblock(deque->rightblock, NULL, len); in _deque_rotate()
668 b = newblock(NULL, NULL, 0); in deque_clear()
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/ext4/ext4_ext_handle_uninitialized_extents/
Dformat18 print fmt: "dev %d,%d ino %lu m_lblk %u m_pblk %llu m_len %u flags %x allocated %d newblock %llu", …
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/ext4/ext4_ext_handle_uninitialized_extents/
Dformat18 print fmt: "dev %d,%d ino %lu m_lblk %u m_pblk %llu m_len %u flags %x allocated %d newblock %llu", …
/external/perfetto/src/traced/probes/ftrace/test/data/android_hammerhead_MRA59G_3.4.0/events/ext4/ext4_ext_handle_uninitialized_extents/
Dformat19 print fmt: "dev %d,%d ino %lu m_lblk %u m_pblk %llu m_len %u flags %dallocated %d newblock %llu", (…
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/ext4/ext4_ext_handle_unwritten_extents/
Dformat18 print fmt: "dev %d,%d ino %lu m_lblk %u m_pblk %llu m_len %u flags %s allocated %d newblock %llu", …
/external/python/cpython3/Modules/
D_collectionsmodule.c130 newblock(void) { in newblock() function
166 b = newblock(); in deque_new()
280 block *b = newblock(); in deque_append_internal()
317 block *b = newblock(); in deque_appendleft_internal()
586 b = newblock(); in deque_clear()
681 block *b = newblock(); in deque_inplace_repeat()
799 b = newblock(); in _deque_rotate()
843 b = newblock(); in _deque_rotate()
/external/mksh/src/
Dexec.c626 newblock(); in comexec()
Dmain.c269 newblock(); in main_init()
Deval.c2101 newblock(); in valsub()
Dvar.c68 newblock(void) in newblock() function
Dsh.h2738 void newblock(void);
/external/mesa3d/src/mesa/main/
Ddlist.c1640 Node *newblock; in dlist_alloc() local
1643 newblock = malloc(sizeof(Node) * BLOCK_SIZE); in dlist_alloc()
1644 if (!newblock) { in dlist_alloc()
1650 assert(((GLintptr) newblock) % sizeof(void *) == 0); in dlist_alloc()
1652 save_pointer(&n[1], newblock); in dlist_alloc()
1653 ctx->ListState.CurrentBlock = newblock; in dlist_alloc()