Home
last modified time | relevance | path

Searched refs:msize (Results 1 – 25 of 38) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/madvise/
Dmadvise07.c52 const size_t msize = getpagesize(); in run_child() local
57 msize); in run_child()
59 msize, in run_child()
64 memset(mem, 'L', msize); in run_child()
66 tst_res(TINFO, "madvise(%p, %zu, MADV_HWPOISON)", mem, msize); in run_child()
67 if (madvise(mem, msize, MADV_HWPOISON) == -1) { in run_child()
/external/syslinux/com32/mboot/
Dmap.c179 addr_t msize = ph->p_memsz; in map_image() local
180 addr_t dsize = min(msize, ph->p_filesz); in map_image()
183 && eh->e_entry < ph->p_vaddr + msize) in map_image()
187 addr, dsize, msize); in map_image()
189 if (syslinux_memmap_type(amap, addr, msize) != SMT_FREE) { in map_image()
192 addr, msize); in map_image()
197 if (syslinux_add_memmap(&amap, addr, msize, SMT_ALLOC)) { in map_image()
210 if (msize > dsize) { in map_image()
213 (&mmap, addr + dsize, msize - dsize, SMT_ZERO)) { in map_image()
218 if (addr + msize > mboot_high_water_mark) in map_image()
[all …]
/external/syslinux/com32/modules/
Delf.c134 addr_t msize = ph->p_memsz; in boot_elf() local
135 addr_t dsize = min(msize, ph->p_filesz); in boot_elf()
138 addr, dsize, msize); in boot_elf()
140 if (syslinux_memmap_type(amap, addr, msize) != SMT_FREE) { in boot_elf()
142 addr, msize); in boot_elf()
156 if (msize > dsize) { in boot_elf()
159 (&mmap, addr + dsize, msize - dsize, SMT_ZERO)) in boot_elf()
/external/tcpdump/
Dprint-tipc.c164 u_int msize; in print_payload() local
179 msize = TIPC_MSIZE(w0); in print_payload()
190 hsize*4, msize, in print_payload()
203 hsize*4, msize, in print_payload()
229 u_int msize; in print_internal() local
249 msize = TIPC_MSIZE(w0); in print_internal()
258 hsize*4, msize, in print_internal()
297 u_int msize; in print_link_conf() local
309 msize = TIPC_MSIZE(w0); in print_link_conf()
319 hsize*4, msize, in print_link_conf()
/external/linux-kselftest/tools/testing/selftests/ipc/
Dmsgque.c14 int msize; member
67 msgque->messages[i].msize, IPC_NOWAIT) != 0) { in restore_queue()
96 if (ret != msgque->messages[cnt].msize) { in check_and_destroy_queue()
98 msgque->messages[cnt].msize); in check_and_destroy_queue()
167 msgque->messages[i].msize = ret; in dump_queue()
/external/eigen/bench/
Dbenchmark-blocking-sizes.cpp573 for (size_t msize = minsize; msize <= maxsize; msize *= 2) { in run() local
576 for (size_t mblock = minsize; mblock <= msize; mblock *= 2) { in run()
578 benchmarks.emplace_back(ksize, msize, nsize, kblock, mblock, nblock); in run()
604 for (size_t msize = minsize; msize <= maxsize; msize *= 2) { in run() local
606 benchmarks.emplace_back(ksize, msize, nsize); in run()
/external/ltp/testcases/kernel/syscalls/ipc/msgrcv/
Dmsgrcv03.c69 int msize; member
101 TEST(msgrcv(*(TC[i].queue_id), &rcv_buf, TC[i].msize, in main()
/external/v8/src/base/platform/
Dplatform-solaris.cc57 const size_t msize = RoundUp(requested, getpagesize()); in Allocate() local
59 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in Allocate()
62 *allocated = msize; in Allocate()
Dplatform-macos.cc57 const size_t msize = RoundUp(requested, getpagesize()); in Allocate() local
60 msize, in Allocate()
66 *allocated = msize; in Allocate()
Dplatform-aix.cc68 const size_t msize = RoundUp(requested, getpagesize()); in Allocate() local
70 void* mbase = mmapHelper(msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate()
73 *allocated = msize; in Allocate()
Dplatform-cygwin.cc55 const size_t msize = RoundUp(requested, sysconf(_SC_PAGESIZE)); in Allocate() local
57 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate()
59 *allocated = msize; in Allocate()
Dplatform-freebsd.cc62 const size_t msize = RoundUp(requested, getpagesize()); in Allocate() local
64 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in Allocate()
67 *allocated = msize; in Allocate()
Dplatform-qnx.cc111 const size_t msize = RoundUp(requested, AllocateAlignment()); in Allocate() local
114 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate()
116 *allocated = msize; in Allocate()
Dplatform-openbsd.cc60 const size_t msize = RoundUp(requested, AllocateAlignment()); in Allocate() local
63 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in Allocate()
65 *allocated = msize; in Allocate()
Dplatform-linux.cc114 const size_t msize = RoundUp(requested, AllocateAlignment()); in Allocate() local
117 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate()
119 *allocated = msize; in Allocate()
Dplatform-win32.cc783 size_t msize = RoundUp(requested, static_cast<int>(GetPageSize())); in Allocate() local
788 LPVOID mbase = RandomizedVirtualAlloc(msize, in Allocate()
796 *allocated = msize; in Allocate()
/external/elfutils/libelf/
Delf32_fsize.c68 local_strong_alias (elfw2(LIBELFBITS, fsize), __elfw2(LIBELFBITS, msize))
/external/python/cpython2/Modules/_ctypes/
Dlibffi.diff179 if (capacity > msize + TOP_FOOT_SIZE &&
180 capacity < (size_t) -(msize + TOP_FOOT_SIZE + mparams.page_size)) {
/external/python/cpython3/Modules/_ctypes/
Dlibffi.diff179 if (capacity > msize + TOP_FOOT_SIZE &&
180 capacity < (size_t) -(msize + TOP_FOOT_SIZE + mparams.page_size)) {
/external/libevent/
Devmap.c204 evmap_make_space(struct event_signal_map *map, int slot, int msize) in evmap_make_space() argument
213 tmp = (void **)mm_realloc(map->entries, nentries * msize); in evmap_make_space()
218 (nentries - map->nentries) * msize); in evmap_make_space()
/external/python/cpython3/Modules/_ctypes/libffi/src/
Ddlmalloc.c4474 size_t msize = pad_request(sizeof(struct malloc_state)); in init_user_mstate() local
4478 memset(m, 0, msize); in init_user_mstate()
4480 msp->head = (msize|PINUSE_BIT|CINUSE_BIT); in init_user_mstate()
4495 size_t msize = pad_request(sizeof(struct malloc_state)); in create_mspace() local
4498 if (capacity < (size_t) -(msize + TOP_FOOT_SIZE + mparams.page_size)) { in create_mspace()
4500 (capacity + TOP_FOOT_SIZE + msize)); in create_mspace()
4514 size_t msize = pad_request(sizeof(struct malloc_state)); in create_mspace_with_base() local
4517 if (capacity > msize + TOP_FOOT_SIZE && in create_mspace_with_base()
4518 capacity < (size_t) -(msize + TOP_FOOT_SIZE + mparams.page_size)) { in create_mspace_with_base()
/external/libffi/src/
Ddlmalloc.c4469 size_t msize = pad_request(sizeof(struct malloc_state)); in init_user_mstate() local
4473 memset(m, 0, msize); in init_user_mstate()
4475 msp->head = (msize|PINUSE_BIT|CINUSE_BIT); in init_user_mstate()
4490 size_t msize = pad_request(sizeof(struct malloc_state)); in create_mspace() local
4493 if (capacity < (size_t) -(msize + TOP_FOOT_SIZE + mparams.page_size)) { in create_mspace()
4495 (capacity + TOP_FOOT_SIZE + msize)); in create_mspace()
4509 size_t msize = pad_request(sizeof(struct malloc_state)); in create_mspace_with_base() local
4512 if (capacity > msize + TOP_FOOT_SIZE && in create_mspace_with_base()
4513 capacity < (size_t) -(msize + TOP_FOOT_SIZE + mparams.page_size)) { in create_mspace_with_base()
/external/python/cpython2/Modules/_ctypes/libffi/src/
Ddlmalloc.c4474 size_t msize = pad_request(sizeof(struct malloc_state)); in init_user_mstate() local
4478 memset(m, 0, msize); in init_user_mstate()
4480 msp->head = (msize|PINUSE_BIT|CINUSE_BIT); in init_user_mstate()
4495 size_t msize = pad_request(sizeof(struct malloc_state)); in create_mspace() local
4498 if (capacity < (size_t) -(msize + TOP_FOOT_SIZE + mparams.page_size)) { in create_mspace()
4500 (capacity + TOP_FOOT_SIZE + msize)); in create_mspace()
4514 size_t msize = pad_request(sizeof(struct malloc_state)); in create_mspace_with_base() local
4517 if (capacity > msize + TOP_FOOT_SIZE && in create_mspace_with_base()
4518 capacity < (size_t) -(msize + TOP_FOOT_SIZE + mparams.page_size)) { in create_mspace_with_base()
/external/dlmalloc/
Dmalloc.c5438 size_t msize = pad_request(sizeof(struct malloc_state)); in init_user_mstate() local
5442 memset(m, 0, msize); in init_user_mstate()
5444 msp->head = (msize|INUSE_BITS); in init_user_mstate()
5462 size_t msize; in create_mspace() local
5464 msize = pad_request(sizeof(struct malloc_state)); in create_mspace()
5465 if (capacity < (size_t) -(msize + TOP_FOOT_SIZE + mparams.page_size)) { in create_mspace()
5467 (capacity + TOP_FOOT_SIZE + msize)); in create_mspace()
5481 size_t msize; in create_mspace_with_base() local
5483 msize = pad_request(sizeof(struct malloc_state)); in create_mspace_with_base()
5484 if (capacity > msize + TOP_FOOT_SIZE && in create_mspace_with_base()
[all …]
/external/sqlite/dist/orig/
Dsqlite3ext.h260 sqlite3_uint64 (*msize)(void*); member
533 #define sqlite3_msize sqlite3_api->msize

12