| /netbsd-src/external/gpl3/gcc/dist/libiberty/ |
| H A D | physmem.c | 243 unsigned int usermem; in physmem_available() local 244 size_t len = sizeof usermem; in physmem_available() 247 if (sysctl (mib, ARRAY_SIZE (mib), &usermem, &len, NULL, 0) == 0 in physmem_available() 248 && len == sizeof (usermem)) in physmem_available() 249 return (double) usermem; in physmem_available()
|
| /netbsd-src/external/gpl3/binutils/dist/libiberty/ |
| H A D | physmem.c | 243 unsigned int usermem; in physmem_available() local 244 size_t len = sizeof usermem; in physmem_available() 247 if (sysctl (mib, ARRAY_SIZE (mib), &usermem, &len, NULL, 0) == 0 in physmem_available() 248 && len == sizeof (usermem)) in physmem_available() 249 return (double) usermem; in physmem_available()
|
| /netbsd-src/external/gpl3/binutils.old/dist/libiberty/ |
| H A D | physmem.c | 243 unsigned int usermem; in physmem_available() local 244 size_t len = sizeof usermem; in physmem_available() 247 if (sysctl (mib, ARRAY_SIZE (mib), &usermem, &len, NULL, 0) == 0 in physmem_available() 248 && len == sizeof (usermem)) in physmem_available() 249 return (double) usermem; in physmem_available()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libiberty/ |
| H A D | physmem.c | 243 unsigned int usermem; in physmem_available() local 244 size_t len = sizeof usermem; in physmem_available() 247 if (sysctl (mib, ARRAY_SIZE (mib), &usermem, &len, NULL, 0) == 0 in physmem_available() 248 && len == sizeof (usermem)) in physmem_available() 249 return (double) usermem; in physmem_available()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/fifo/ |
| H A D | nouveau_nvkm_engine_fifo_gpfifogf100.c | 228 u64 usermem, ioffset, ilength; in gf100_fifo_gpfifo_new() local 267 usermem = chan->base.chid * 0x1000; in gf100_fifo_gpfifo_new() 273 nvkm_wo32(fifo->user.mem, usermem + i, 0x00000000); in gf100_fifo_gpfifo_new() 275 usermem = nvkm_memory_addr(fifo->user.mem) + usermem; in gf100_fifo_gpfifo_new() 279 nvkm_wo32(chan->base.inst, 0x08, lower_32_bits(usermem)); in gf100_fifo_gpfifo_new() 280 nvkm_wo32(chan->base.inst, 0x0c, upper_32_bits(usermem)); in gf100_fifo_gpfifo_new()
|
| H A D | nouveau_nvkm_engine_fifo_gpfifogv100.c | 139 u64 usermem, mthd; in gv100_fifo_gpfifo_new_() local 183 usermem = chan->base.chid * 0x200; in gv100_fifo_gpfifo_new_() 188 nvkm_wo32(fifo->user.mem, usermem + i, 0x00000000); in gv100_fifo_gpfifo_new_() 190 usermem = nvkm_memory_addr(fifo->user.mem) + usermem; in gv100_fifo_gpfifo_new_() 208 nvkm_wo32(chan->base.inst, 0x008, lower_32_bits(usermem)); in gv100_fifo_gpfifo_new_() 209 nvkm_wo32(chan->base.inst, 0x00c, upper_32_bits(usermem)); in gv100_fifo_gpfifo_new_()
|
| H A D | nouveau_nvkm_engine_fifo_gpfifogk104.c | 257 u64 usermem; in gk104_fifo_gpfifo_new_() local 303 usermem = chan->base.chid * 0x200; in gk104_fifo_gpfifo_new_() 308 nvkm_wo32(fifo->user.mem, usermem + i, 0x00000000); in gk104_fifo_gpfifo_new_() 310 usermem = nvkm_memory_addr(fifo->user.mem) + usermem; in gk104_fifo_gpfifo_new_() 314 nvkm_wo32(chan->base.inst, 0x08, lower_32_bits(usermem)); in gk104_fifo_gpfifo_new_() 315 nvkm_wo32(chan->base.inst, 0x0c, upper_32_bits(usermem)); in gk104_fifo_gpfifo_new_()
|
| H A D | nouveau_nvkm_engine_fifo_gv100.c | 40 struct nvkm_memory *usermem = chan->fifo->user.mem; in gv100_fifo_runlist_chan() local 41 const u64 user = nvkm_memory_addr(usermem) + (chan->base.chid * 0x200); in gv100_fifo_runlist_chan()
|
| /netbsd-src/sbin/dump/ |
| H A D | rcache.c | 121 uint64_t usermem, cachetmp; in initcache() local 124 len = sizeof(usermem); in initcache() 125 if (sysctl(mib, 2, &usermem, &len, NULL, 0) < 0) { in initcache() 130 cachetmp = (usermem / MAXMEMPART) / CSIZE; in initcache()
|
| /netbsd-src/sbin/cgdconfig/ |
| H A D | argon2_utils.c | 87 const uint64_t usermem = get_usermem(); /* bytes */ in argon2id_calibrate() local 102 mem = usermem / 100000; in argon2id_calibrate()
|
| /netbsd-src/usr.bin/compress/doc/ |
| H A D | README | 18 o Added Makefile and "usermem" program 22 The "usermem" script attempts to determine the maximum process size. Some 43 The difference "usermem-sacredmem" determines the maximum BITS that can be 106 cc -O -DUSERMEM=usermem -o compress compress.c 108 Where "usermem" is the amount of physical user memory available (in bytes). 112 The difference "usermem-sacredmem" determines the maximum BITS that can be 174 with a large amount of memory. A program (usermem) to calculate the
|
| /netbsd-src/sys/compat/common/ |
| H A D | kern_info_43.c | 145 u_long usermem; member 280 ksi.usermem = ctob(physmem); /* XXX */ in compat_43_sys_getkerninfo()
|