Home
last modified time | relevance | path

Searched refs:chain_head (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/base/allocator/
Dallocator_shim.cc90 const allocator::AllocatorDispatch* const chain_head = GetChainHead(); in UncheckedAlloc() local
91 return chain_head->alloc_function(chain_head, size, nullptr); in UncheckedAlloc()
98 const AllocatorDispatch* chain_head = GetChainHead(); in InsertAllocatorDispatch() local
99 dispatch->next = chain_head; in InsertAllocatorDispatch()
109 reinterpret_cast<subtle::AtomicWord>(chain_head); in InsertAllocatorDispatch()
152 const allocator::AllocatorDispatch* const chain_head = GetChainHead(); in ShimCppNew() local
159 ptr = chain_head->alloc_function(chain_head, size, context); in ShimCppNew()
169 const allocator::AllocatorDispatch* const chain_head = GetChainHead(); in ShimCppDelete() local
170 return chain_head->free_function(chain_head, address, context); in ShimCppDelete()
174 const allocator::AllocatorDispatch* const chain_head = GetChainHead(); in ShimMalloc() local
[all …]
/external/iptables/libiptc/
Dlibiptc.c70 struct chain_head;
94 struct chain_head *chain;
101 struct chain_head *jump; /* jump target, if IPTCC_R_JUMP */
107 struct chain_head struct
133 struct chain_head *chain_iterator_cur; argument
138 struct chain_head **chain_index; /* array for fast chain list access*/
156 static struct chain_head *iptcc_alloc_chain_head(const char *name, int hooknum) in iptcc_alloc_chain_head()
158 struct chain_head *c = malloc(sizeof(*c)); in iptcc_alloc_chain_head()
171 static struct rule_head *iptcc_alloc_rule(struct chain_head *c, unsigned int size) in iptcc_alloc_rule()
307 static inline unsigned int iptcc_is_builtin(struct chain_head *c);
[all …]