Searched refs:mha (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | pmain.c | 39 struct memcntl_mha mha; in main() local 40 mha.mha_cmd = MHA_MAPSIZE_STACK; in main() 41 mha.mha_flags = 0; in main() 42 mha.mha_pagesize = 64 * 1024; in main() 43 (void)memcntl(NULL, 0, MC_HAT_ADVISE, (caddr_t)&mha, 0, 0); in main()
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | memcntl.c | 67 STRUCT_DECL(memcntl_mha, mha); in memcntl() 148 STRUCT_INIT(mha, get_udatamodel()); in memcntl() 149 if (copyin(arg, STRUCT_BUF(mha), STRUCT_SIZE(mha))) { in memcntl() 153 pgcmd = STRUCT_FGET(mha, mha_cmd); in memcntl() 162 STRUCT_FGET(mha, mha_flags)) in memcntl() 165 pgsz = STRUCT_FGET(mha, mha_pagesize); in memcntl()
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | vmem_sbrk.c | 235 struct memcntl_mha mha; in vmem_sbrk_arena() local 236 mha.mha_cmd = MHA_MAPSIZE_BSSBRK; in vmem_sbrk_arena() 237 mha.mha_flags = 0; in vmem_sbrk_arena() 238 mha.mha_pagesize = heap_size; in vmem_sbrk_arena() 240 if (memcntl(NULL, 0, MC_HAT_ADVISE, (char *)&mha, 0, 0) in vmem_sbrk_arena()
|
/illumos-gate/usr/src/cmd/ppgsz/ |
H A D | ppgsz.c | 546 caddr_t mha; in discover_optimal_pagesize() local 560 mha = setup_mha(MHA_MAPSIZE_VA, 0, dmodel); in discover_optimal_pagesize() 561 if (pr_memcntl(Pr, addr, len, MC_HAT_ADVISE, mha, 0, 0) < 0) { in discover_optimal_pagesize()
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | expound.c | 3918 struct memcntl_mha mha; in show_memcntl_mha() local 3921 if (Pread(Proc, &mha, sizeof (mha), offset) == sizeof (mha)) { in show_memcntl_mha() 3922 switch (mha.mha_cmd) { in show_memcntl_mha() 3930 pri->pname, s, mha.mha_flags, in show_memcntl_mha() 3931 (ulong_t)mha.mha_pagesize); in show_memcntl_mha() 3935 pri->pname, mha.mha_cmd, mha.mha_flags, in show_memcntl_mha() 3936 (ulong_t)mha.mha_pagesize); in show_memcntl_mha()
|