HomeSort by: relevance | last modified time | path
    Searched defs:mem (Results 1 - 25 of 406) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /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 in function:a2u
13 mem[i] = (CHAR16) str[i];
14 mem[i] = 0;
15 return mem;
t.c 9 static CHAR16 mem[2048]; local in function:a2u
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 in function:__tsan::ProcCreate
23 internal_memset(mem, 0, sizeof(Processor));
24 Processor *proc = new(mem) Processor;
tsan_rtl_proc.cc 22 void *mem = InternalAlloc(sizeof(Processor)); local in function:__tsan::ProcCreate
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/librumpuser/
rumpuser_mem.c 49 void *mem = NULL; local in function:rumpuser_malloc
55 rv = posix_memalign(&mem, (size_t)alignment, howmuch);
64 *memp = mem;
80 void *mem; local in function:rumpuser_anonmmap
93 mem = mmap(prefaddr, size, prot,
95 if (mem == MAP_FAILED) {
98 *memp = mem;
rumpuser_mem.c 49 void *mem = NULL; local in function:rumpuser_malloc
55 rv = posix_memalign(&mem, (size_t)alignment, howmuch);
64 *memp = mem;
80 void *mem; local in function:rumpuser_anonmmap
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 in function:bcmmbox_acpi_attach
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 in function:bcmmbox_acpi_attach
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 in function:mips_boot
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 in function:mips_boot
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;
layout.c 47 unsigned char *mem; local in function:CreateMainWindow
58 mem = (unsigned char*)LockResource(LoadResource(NULL, res));
63 dlg = *(DLGTEMPLATE*)mem;
64 mem += sizeof(DLGTEMPLATE);
74 if (*(WORD*)mem == 0xffff) {
76 mem += sizeof(WORD);
77 debug_printf(TEXT("Dlg: menu=%04x\n"), *(WORD*)mem);
78 mem += sizeof(WORD);
80 if (*(WORD*)mem == 0x0000) {
82 mem += sizeof(WORD)
    [all...]
  /src/sys/dev/acpi/
ahcisata_acpi.c 75 struct acpi_mem *mem; local in function:ahcisata_acpi_attach
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 in function:amdccp_acpi_attach
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 in function:dwcwdt_acpi_attach
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 in function:ahcisata_acpi_attach
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 in function:amdccp_acpi_attach
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 in function:dwcwdt_acpi_attach
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/lib/libc/gen/
sysconf.c 79 uint64_t mem; local in function:__weak_alias
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 in function:__weak_alias
380 len = sizeof(mem);
383 return (sysctl(mib, 2, &mem, &len, NULL, 0) == -1 ? -1
384 : (long)(mem / _getpagesize()));
  /src/sys/arch/evbsh3/stand/mesboot/src/
mesboot.c 29 char *ptr, *mem, *rdptr; local in function:main
71 strcpy(ptr + 0x1100, "mem=8M console=ttySC1,115200 root=/dev/shmmc2");
74 strcpy(ptr + 0x1100, "mem=16M console=ttySC1,115200 root=/dev/shmmc2");
77 strcpy(ptr + 0x1100, "mem=32M console=ttySC1,115200 root=/dev/shmmc2");
80 strcpy(ptr + 0x1100, "mem=64M console=ttySC1,115200 root=/dev/shmmc2");
87 mem = (char *)KERNEL_TEXTADDR;
92 size = read(fd, mem, 0x4000);
93 mem = &mem[0x4000];
  /src/sys/arch/sparc/stand/common/
dvma.c 123 char *mem; local in function:dvma_alloc
125 mem = alloc(len);
126 if (mem == NULL)
127 return (mem);
128 return (dvma_mapin(mem, len));
134 char *mem; local in function:dvma_free
136 mem = dvma_mapout(dvma, len);
137 if (mem != NULL)
138 dealloc(mem, len);

Completed in 65 milliseconds

1 2 3 4 5 6 7 8 91011>>