Home | History | Annotate | Download | only in src

Lines Matching refs:node

9 	extent_node_t *node;
11 node = chunk_lookup(ptr, true);
12 assert(!extent_node_achunk_get(node));
14 return (node);
18 huge_node_set(const void *ptr, extent_node_t *node)
21 assert(extent_node_addr_get(node) == ptr);
22 assert(!extent_node_achunk_get(node));
23 return (chunk_register(ptr, node));
27 huge_node_unset(const void *ptr, const extent_node_t *node)
30 chunk_deregister(ptr, node);
49 extent_node_t *node;
59 /* Allocate an extent node with which to track the chunk. */
60 node = ipallocztm(tsd, CACHELINE_CEILING(sizeof(extent_node_t)),
62 if (node == NULL)
84 idalloctm(tsd, node, tcache, true, true);
88 extent_node_init(node, arena, ret, usize, is_zeroed, true);
90 if (huge_node_set(ret, node)) {
92 idalloctm(tsd, node, tcache, true, true);
96 /* Insert node into huge. */
98 ql_elm_new(node, ql_link);
99 ql_tail_insert(&arena->huge, node, ql_link);
140 extent_node_t *node;
153 node = huge_node_get(ptr);
154 arena = extent_node_arena_get(node);
155 pre_zeroed = extent_node_zeroed_get(node);
172 assert(extent_node_size_get(node) != usize);
173 extent_node_size_set(node, usize);
175 extent_node_zeroed_set(node, post_zeroed);
197 extent_node_t *node;
203 node = huge_node_get(ptr);
204 arena = extent_node_arena_get(node);
205 pre_zeroed = extent_node_zeroed_get(node);
233 extent_node_size_set(node, usize);
235 extent_node_zeroed_set(node, post_zeroed);
246 extent_node_t *node;
250 node = huge_node_get(ptr);
251 arena = extent_node_arena_get(node);
253 is_zeroed_subchunk = extent_node_zeroed_get(node);
268 extent_node_size_set(node, usize);
383 extent_node_t *node;
386 node = huge_node_get(ptr);
387 arena = extent_node_arena_get(node);
388 huge_node_unset(ptr, node);
390 ql_remove(&arena->huge, node, ql_link);
393 huge_dalloc_junk(extent_node_addr_get(node),
394 extent_node_size_get(node));
395 arena_chunk_dalloc_huge(extent_node_arena_get(node),
396 extent_node_addr_get(node), extent_node_size_get(node));
397 idalloctm(tsd, node, tcache, true, true);
413 extent_node_t *node;
416 node = huge_node_get(ptr);
417 arena = extent_node_arena_get(node);
419 size = extent_node_size_get(node);
429 extent_node_t *node;
432 node = huge_node_get(ptr);
433 arena = extent_node_arena_get(node);
435 tctx = extent_node_prof_tctx_get(node);
444 extent_node_t *node;
447 node = huge_node_get(ptr);
448 arena = extent_node_arena_get(node);
450 extent_node_prof_tctx_set(node, tctx);