Home
last modified time | relevance | path

Searched refs:new_addr (Results 1 – 25 of 49) sorted by relevance

12

/external/jemalloc/src/
Dchunk.c21 static void *chunk_alloc_default(void *new_addr, size_t size,
203 void *new_addr, size_t size, size_t alignment, size_t *sn, bool *zero, in chunk_recycle() argument
213 assert(new_addr == NULL || alignment == chunksize); in chunk_recycle()
214 assert(CHUNK_ADDR2BASE(new_addr) == new_addr); in chunk_recycle()
220 assert(dalloc_node || new_addr != NULL); in chunk_recycle()
228 if (new_addr != NULL) { in chunk_recycle()
230 extent_node_init(&key, arena, new_addr, alloc_size, 0, false, in chunk_recycle()
236 if (node == NULL || (new_addr != NULL && extent_node_size_get(node) < in chunk_recycle()
243 assert(new_addr == NULL || leadsize == 0); in chunk_recycle()
337 chunk_alloc_core(tsdn_t *tsdn, arena_t *arena, void *new_addr, size_t size, in chunk_alloc_core() argument
[all …]
Dchunk_mmap.c33 chunk_alloc_mmap(void *new_addr, size_t size, size_t alignment, bool *zero, in chunk_alloc_mmap() argument
55 ret = pages_map(new_addr, size, commit); in chunk_alloc_mmap()
56 if (ret == NULL || ret == new_addr) in chunk_alloc_mmap()
58 assert(new_addr == NULL); in chunk_alloc_mmap()
Dchunk_dss.c64 chunk_dss_max_update(void *new_addr) in chunk_dss_max_update() argument
90 if (new_addr != NULL && max_cur != new_addr) in chunk_dss_max_update()
97 chunk_alloc_dss(tsdn_t *tsdn, arena_t *arena, void *new_addr, size_t size, in chunk_alloc_dss() argument
122 max_cur = chunk_dss_max_update(new_addr); in chunk_alloc_dss()
Dpages.c116 void *new_addr; in pages_trim() local
119 new_addr = pages_map(ret, size, commit); in pages_trim()
120 if (new_addr == ret) in pages_trim()
122 if (new_addr) in pages_trim()
123 pages_unmap(new_addr, size); in pages_trim()
/external/autotest/client/deps/lansim/src/py/
Dtuntap_unittest.py43 new_family, new_addr = tap.set_hwaddr(addr)
45 self.assertEqual(new_addr, addr)
47 new_family, new_addr = tap.get_hwaddr()
49 self.assertEqual(new_addr, addr)
/external/ltp/testcases/kernel/mem/thp/
Dthp02.c88 void *old_addr, *new_addr; in do_mremap() local
110 new_addr = p3 + ps * (i & 1); in do_mremap()
111 tst_resm(TINFO, "mremap %p to %p", old_addr, new_addr); in do_mremap()
114 MREMAP_FIXED | MREMAP_MAYMOVE, new_addr); in do_mremap()
/external/ipsec-tools/src/racoon/
Dnattraversal.c373 struct natt_ka_addrs *ka = NULL, *new_addr; in natt_keepalive_add() local
387 new_addr = (struct natt_ka_addrs *)racoon_malloc(sizeof(*new_addr)); in natt_keepalive_add()
388 if (! new_addr) { in natt_keepalive_add()
393 if ((new_addr->src = dupsaddr(src)) == NULL) { in natt_keepalive_add()
394 racoon_free(new_addr); in natt_keepalive_add()
398 if ((new_addr->dst = dupsaddr(dst)) == NULL) { in natt_keepalive_add()
399 racoon_free(new_addr); in natt_keepalive_add()
403 new_addr->in_use = 1; in natt_keepalive_add()
404 TAILQ_INSERT_TAIL(&ka_tree, new_addr, chain); in natt_keepalive_add()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/munmap/
D2-1.c34 void *buffer = NULL, *new_addr = NULL; in main() local
46 new_addr = buffer + (page_size - (unsigned long)buffer % page_size); in main()
48 rc = munmap(new_addr, page_size); in main()
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap06.c114 void *addr, *new_addr; in do_mmap() local
141 new_addr = mmap(addr, (sz - 1) * hpage_size, in do_mmap()
146 if (new_addr == MAP_FAILED) in do_mmap()
149 addr = new_addr; in do_mmap()
/external/linux-kselftest/tools/testing/selftests/x86/
Dtest_mremap_vdso.c35 void *dest_addr, *new_addr; in try_to_remap() local
49 new_addr = mremap(vdso_addr, size, size, in try_to_remap()
51 if ((unsigned long)new_addr == (unsigned long)-1) { in try_to_remap()
/external/clang/test/CodeGenCXX/
Dlvalue-bitcasts.cpp147 void copy( const struct in_addr &new_addr ) { in copy() argument
148 int addr = (int&)new_addr; in copy()
/external/jemalloc/include/jemalloc/internal/
Dchunk.h64 chunk_hooks_t *chunk_hooks, void *new_addr, size_t size, size_t alignment,
67 chunk_hooks_t *chunk_hooks, void *new_addr, size_t size, size_t alignment,
Dchunk_mmap.h12 void *chunk_alloc_mmap(void *new_addr, size_t size, size_t alignment,
Dchunk_dss.h26 void *chunk_alloc_dss(tsdn_t *tsdn, arena_t *arena, void *new_addr,
/external/iproute2/tc/
Dm_nat.c71 sel->new_addr = addr.data[0]; in parse_nat_args()
195 format_host(AF_INET, 4, &sel->new_addr, buf2, sizeof(buf2)), in print_nat()
/external/jemalloc/test/integration/
Dchunk.c28 chunk_alloc(void *new_addr, size_t size, size_t alignment, bool *zero, in chunk_alloc() argument
33 "*commit=%s, arena_ind=%u)\n", __func__, new_addr, size, alignment, in chunk_alloc()
36 return (old_hooks.alloc(new_addr, size, alignment, zero, commit, in chunk_alloc()
/external/iproute2/include/linux/tc_act/
Dtc_nat.h22 __be32 new_addr; member
/external/kernel-headers/original/uapi/linux/tc_act/
Dtc_nat.h23 __be32 new_addr; member
/external/pcre/dist2/src/sljit/
DsljitNativeSPARC_32.c148 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_addr) in sljit_set_jump_addr() argument
152 inst[0] = (inst[0] & 0xffc00000) | ((new_addr >> 10) & 0x3fffff); in sljit_set_jump_addr()
153 inst[1] = (inst[1] & 0xfffffc00) | (new_addr & 0x3ff); in sljit_set_jump_addr()
DsljitNativePPC_64.c401 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_addr) in sljit_set_jump_addr() argument
405 inst[0] = (inst[0] & 0xffff0000) | ((new_addr >> 48) & 0xffff); in sljit_set_jump_addr()
406 inst[1] = (inst[1] & 0xffff0000) | ((new_addr >> 32) & 0xffff); in sljit_set_jump_addr()
407 inst[3] = (inst[3] & 0xffff0000) | ((new_addr >> 16) & 0xffff); in sljit_set_jump_addr()
408 inst[4] = (inst[4] & 0xffff0000) | (new_addr & 0xffff); in sljit_set_jump_addr()
DsljitNativePPC_32.c253 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_addr) in sljit_set_jump_addr() argument
257 inst[0] = (inst[0] & 0xffff0000) | ((new_addr >> 16) & 0xffff); in sljit_set_jump_addr()
258 inst[1] = (inst[1] & 0xffff0000) | (new_addr & 0xffff); in sljit_set_jump_addr()
DsljitNativeMIPS_64.c449 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_addr) in sljit_set_jump_addr() argument
453 inst[0] = (inst[0] & 0xffff0000) | ((new_addr >> 48) & 0xffff); in sljit_set_jump_addr()
454 inst[1] = (inst[1] & 0xffff0000) | ((new_addr >> 32) & 0xffff); in sljit_set_jump_addr()
455 inst[3] = (inst[3] & 0xffff0000) | ((new_addr >> 16) & 0xffff); in sljit_set_jump_addr()
456 inst[5] = (inst[5] & 0xffff0000) | (new_addr & 0xffff); in sljit_set_jump_addr()
/external/jemalloc/include/jemalloc/
Djemalloc_typedefs.h.in3 * chunk_alloc(void *new_addr, size_t size, size_t alignment, bool *zero,
/external/valgrind/coregrind/m_aspacemgr/
Dpriv_aspacemgr.h106 Addr new_addr, Addr new_len
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-generic.c276 Addr new_addr, SizeT new_len, in do_mremap() argument
289 old_addr,old_len,new_addr,new_len, in do_mremap()
314 if (f_fixed == True && new_addr + new_len < new_len) in do_mremap()
389 if (!VG_IS_PAGE_ALIGNED(new_addr)) in do_mremap()
391 if (new_addr+new_len-1 < old_addr || new_addr > old_addr+old_len-1) { in do_mremap()
396 if (new_addr == 0) in do_mremap()
400 advised = VG_(am_get_advisory_client_simple)(new_addr, new_len, &ok); in do_mremap()
401 if (!ok || advised != new_addr) in do_mremap()
404 ( &d, old_addr, old_len, new_addr, new_len ); in do_mremap()
406 VG_TRACK( copy_mem_remap, old_addr, new_addr, in do_mremap()
[all …]

12