| /src/sys/arch/sandpoint/stand/altboot/ |
| memfs.h | 31 FS_DEF(mem); variable
|
| memfs.h | 31 FS_DEF(mem); variable
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv50/ |
| lut.h | 5 #include <nvif/mem.h> 11 struct nvif_mem mem[2]; member in struct:nv50_lut
|
| lut.h | 5 #include <nvif/mem.h> 11 struct nvif_mem mem[2]; member in struct:nv50_lut
|
| /src/sys/external/bsd/gnu-efi/dist/apps/ |
| t.c | 9 static CHAR16 mem[2048]; local 13 mem[i] = (CHAR16) str[i]; 14 mem[i] = 0; 15 return mem;
|
| t.c | 9 static CHAR16 mem[2048]; local 13 mem[i] = (CHAR16) str[i]; 14 mem[i] = 0; 15 return mem;
|
| /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
| tsan_rtl_proc.cc | 22 void *mem = InternalAlloc(sizeof(Processor)); local 23 internal_memset(mem, 0, sizeof(Processor)); 24 Processor *proc = new(mem) Processor;
|
| tsan_rtl_proc.cc | 22 void *mem = InternalAlloc(sizeof(Processor)); local 23 internal_memset(mem, 0, sizeof(Processor)); 24 Processor *proc = new(mem) Processor;
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/ |
| nouveau_mem.h | 8 #include <nvif/mem.h> 21 struct nvif_mem mem; member in struct:nouveau_mem
|
| nouveau_mem.h | 8 #include <nvif/mem.h> 21 struct nvif_mem mem; member in struct:nouveau_mem
|
| /src/lib/libc/gen/ |
| sysconf.c | 79 uint64_t mem; local 380 len = sizeof(mem); 383 return (sysctl(mib, 2, &mem, &len, NULL, 0) == -1 ? -1 384 : (long)(mem / _getpagesize()));
|
| sysconf.c | 79 uint64_t mem; local 380 len = sizeof(mem); 383 return (sysctl(mib, 2, &mem, &len, NULL, 0) == -1 ? -1 384 : (long)(mem / _getpagesize()));
|
| /src/lib/librumpuser/ |
| rumpuser_mem.c | 49 void *mem = NULL; local 55 rv = posix_memalign(&mem, (size_t)alignment, howmuch); 64 *memp = mem; 80 void *mem; local 93 mem = mmap(prefaddr, size, prot, 95 if (mem == MAP_FAILED) { 98 *memp = mem;
|
| rumpuser_mem.c | 49 void *mem = NULL; local 55 rv = posix_memalign(&mem, (size_t)alignment, howmuch); 64 *memp = mem; 80 void *mem; local 93 mem = mmap(prefaddr, size, prot, 95 if (mem == MAP_FAILED) { 98 *memp = mem;
|
| /src/sys/arch/arm/broadcom/ |
| bcm2835_mbox_acpi.c | 81 struct acpi_mem *mem; local 90 mem = acpi_res_mem(&res, 0); 92 if (mem == NULL || irq == NULL) { 101 if (bus_space_map(sc->sc_iot, mem->ar_base, mem->ar_length, 0, &sc->sc_ioh) != 0) {
|
| bcm2835_mbox_acpi.c | 81 struct acpi_mem *mem; local 90 mem = acpi_res_mem(&res, 0); 92 if (mem == NULL || irq == NULL) { 101 if (bus_space_map(sc->sc_iot, mem->ar_base, mem->ar_length, 0, &sc->sc_ioh) != 0) {
|
| /src/sys/arch/hpcmips/stand/pbsdboot/ |
| mips.c | 46 unsigned char *mem; local 53 if ((mem = (unsigned char*)vmem_alloc()) == NULL) { 61 memcpy(mem, system_info.si_asmcode, system_info.si_asmcodelen); 67 *(unsigned short*)&mem[0] = (unsigned short)(((long)map) >> 16); 68 *(unsigned short*)&mem[4] = (unsigned short)map; 73 if (!(phys_mem = (unsigned long)vtophysaddr(mem))) { 82 mem = (unsigned char*)VirtualAlloc(0, 0x400, MEM_RESERVE, PAGE_NOACCESS); 83 if (!(VirtualCopy((LPVOID)mem, (LPVOID)(system_info.si_dramstart >> 8), 0x400, 107 *(unsigned long*)&mem[system_info.si_intrvec] = jump_instruction;
|
| mips.c | 46 unsigned char *mem; local 53 if ((mem = (unsigned char*)vmem_alloc()) == NULL) { 61 memcpy(mem, system_info.si_asmcode, system_info.si_asmcodelen); 67 *(unsigned short*)&mem[0] = (unsigned short)(((long)map) >> 16); 68 *(unsigned short*)&mem[4] = (unsigned short)map; 73 if (!(phys_mem = (unsigned long)vtophysaddr(mem))) { 82 mem = (unsigned char*)VirtualAlloc(0, 0x400, MEM_RESERVE, PAGE_NOACCESS); 83 if (!(VirtualCopy((LPVOID)mem, (LPVOID)(system_info.si_dramstart >> 8), 0x400, 107 *(unsigned long*)&mem[system_info.si_intrvec] = jump_instruction;
|
| /src/sys/dev/acpi/ |
| ahcisata_acpi.c | 75 struct acpi_mem *mem; local 86 mem = acpi_res_mem(&res, 0); 87 if (mem == NULL) { 88 aprint_error(": couldn't find mem resource\n"); 100 sc->sc_ahcis = mem->ar_length; 101 if (bus_space_map(aa->aa_memt, mem->ar_base, mem->ar_length, 0, &sc->sc_ahcih) != 0) {
|
| amdccp_acpi.c | 68 struct acpi_mem *mem; local 81 mem = acpi_res_mem(&res, 0); 82 if (mem == NULL) { 83 aprint_error_dev(self, "couldn't find mem resource\n"); 88 if (bus_space_map(aa->aa_memt, mem->ar_base, mem->ar_length, 0,
|
| dwcwdt_acpi.c | 66 struct acpi_mem *mem; local 76 mem = acpi_res_mem(&res, 0); 77 if (mem == NULL) { 78 aprint_error_dev(self, "couldn't find mem resource\n"); 84 if (bus_space_map(sc->sc_bst, mem->ar_base, mem->ar_length,
|
| ahcisata_acpi.c | 75 struct acpi_mem *mem; local 86 mem = acpi_res_mem(&res, 0); 87 if (mem == NULL) { 88 aprint_error(": couldn't find mem resource\n"); 100 sc->sc_ahcis = mem->ar_length; 101 if (bus_space_map(aa->aa_memt, mem->ar_base, mem->ar_length, 0, &sc->sc_ahcih) != 0) {
|
| amdccp_acpi.c | 68 struct acpi_mem *mem; local 81 mem = acpi_res_mem(&res, 0); 82 if (mem == NULL) { 83 aprint_error_dev(self, "couldn't find mem resource\n"); 88 if (bus_space_map(aa->aa_memt, mem->ar_base, mem->ar_length, 0,
|
| dwcwdt_acpi.c | 66 struct acpi_mem *mem; local 76 mem = acpi_res_mem(&res, 0); 77 if (mem == NULL) { 78 aprint_error_dev(self, "couldn't find mem resource\n"); 84 if (bus_space_map(sc->sc_bst, mem->ar_base, mem->ar_length,
|
| /src/sys/arch/arm/acpi/ |
| acpi_pci_graviton.c | 98 struct acpi_mem *mem; local 117 mem = acpi_res_mem(&res, 0); 118 if (mem == NULL) { 123 error = bus_space_map(ap->ap_bst, mem->ar_base, mem->ar_length,
|