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

1 2 3 4 5

  /src/lib/libc/arch/alpha/gen/
_lwp.c 50 __greg_t *gr; local in function:_lwp_makecontext
53 gr = u->uc_mcontext.__gregs;
60 gr[_REG_PC] = (unsigned long)start;
61 gr[_REG_T12] = (unsigned long) start;
62 gr[_REG_RA] = (unsigned long) _lwp_exit;
63 gr[_REG_A0] = (unsigned long) arg;
64 gr[_REG_SP] = ((unsigned long) (stack_base + stack_size)) &
66 gr[_REG_S6] = 0;
67 gr[_REG_UNIQUE] = (unsigned long)private;
makecontext.c 51 __greg_t *gr = ucp->uc_mcontext.__gregs; local in function:makecontext
64 gr[_REG_SP] = (__greg_t)sp;
66 gr[_REG_RA] = (__greg_t)__resumecontext;
67 gr[_REG_PC] = (__greg_t)func;
68 gr[_REG_PV] = (__greg_t)func;
73 gr[_REG_A0 + i] = va_arg(ap, unsigned long);
  /src/lib/libc/arch/i386/gen/
makecontext.c 60 __greg_t *gr = ucp->uc_mcontext.__gregs; local in function:makecontext
65 gr[_REG_EIP] = (__greg_t)func;
75 gr[_REG_UESP] = (__greg_t)sp;
76 gr[_REG_EBP] = (__greg_t)0; /* Wipe out frame pointer. */
  /src/lib/libc/arch/sparc64/gen/
_lwp.c 45 __greg_t *gr; local in function:_lwp_makecontext
49 gr = u->uc_mcontext.__gregs;
69 gr[_REG_PC] = (ulong) start;
70 gr[_REG_nPC] = (ulong) start + 4;
72 gr[_REG_O0] = (ulong) arg;
73 gr[_REG_O6] = (ulong) sp;
74 gr[_REG_O7] = (ulong)_lwp_exit - 8;
75 gr[_REG_G7] = (ulong)private;
makecontext.c 48 __greg_t *gr = ucp->uc_mcontext.__gregs; local in function:makecontext
65 gr[_REG_O0 + i] = sp[i + 16] = va_arg(ap, unsigned long);
78 gr[_REG_O6] = (__greg_t)sp;
79 gr[_REG_PC] = (__greg_t)func;
80 gr[_REG_nPC] = (__greg_t)func + 4;
81 gr[_REG_O7] = (__greg_t)_resumecontext - 8;
  /src/lib/libc/arch/vax/gen/
_lwp.c 48 __greg_t *gr = u->uc_mcontext.__gregs; local in function:_lwp_makecontext
75 gr[_REG_AP] = (__greg_t)(uintptr_t)(sp + 5);
76 gr[_REG_SP] = (__greg_t)(uintptr_t)sp;
77 gr[_REG_FP] = (__greg_t)(uintptr_t)sp;
78 gr[_REG_PC] = (__greg_t)(uintptr_t)start + 2;
85 gr[_REG_SP] = (__greg_t)(uintptr_t)sp;
makecontext.c 47 __greg_t *gr = ucp->uc_mcontext.__gregs; local in function:makecontext
74 gr[_REG_AP] = (__greg_t)(uintptr_t)(sp + 5);
75 gr[_REG_SP] = (__greg_t)(uintptr_t)sp;
76 gr[_REG_FP] = (__greg_t)(uintptr_t)sp;
77 gr[_REG_PC] = (__greg_t)(uintptr_t)func+2;
  /src/lib/libc/arch/x86_64/gen/
_lwp.c 48 __greg_t *gr = u->uc_mcontext.__gregs; local in function:_lwp_makecontext
58 gr[_REG_RIP] = (uintptr_t)start;
63 gr[_REG_RDI] = (__greg_t)arg;
67 gr[_REG_URSP] = (uintptr_t) sp;
makecontext.c 50 __greg_t *gr = ucp->uc_mcontext.__gregs; local in function:makecontext
58 gr[_REG_RIP] = (__greg_t)func;
70 gr[_REG_RSP] = (__greg_t)sp;
71 gr[_REG_RBP] = (__greg_t)0; /* Wipe out frame pointer. */
88 gr[i] = va_arg(ap, __greg_t);
  /src/lib/libc/arch/sparc/gen/
_lwp.c 47 __greg_t *gr; local in function:_lwp_makecontext
51 gr = u->uc_mcontext.__gregs;
66 gr[_REG_PC] = (ulong) start;
67 gr[_REG_nPC] = (ulong) start + 4;
68 gr[_REG_O0] = (ulong)arg;
69 gr[_REG_O6] = (ulong)sp;
70 gr[_REG_O7] = (ulong)_lwp_exit - 8;
71 gr[_REG_G7] = (ulong)private;
makecontext.c 49 __greg_t *gr = ucp->uc_mcontext.__gregs; local in function:makecontext
64 gr[_REG_O6] = (__greg_t)sp;
65 gr[_REG_PC] = (__greg_t)func;
66 gr[_REG_nPC] = (__greg_t)func + 4;
67 gr[_REG_O7] = (__greg_t)_resumecontext - 8;
72 gr[_REG_O0 + i] = va_arg(ap, unsigned long);
  /src/lib/libc/arch/mips/gen/
_lwp.c 59 __greg_t *gr; local in function:_lwp_makecontext
62 gr = u->uc_mcontext.__gregs;
69 gr[_REG_EPC] = (uintptr_t) start;
70 gr[_REG_T9] = (uintptr_t) start; /* required for .abicalls */
71 gr[_REG_RA] = (uintptr_t) _lwp_exit;
72 gr[_REG_A0] = (uintptr_t) arg;
73 gr[_REG_SP] = (uintptr_t) sp & ~STACK_ALIGNBYTES;
makecontext.c 51 __greg_t *gr = ucp->uc_mcontext.__gregs; local in function:makecontext
67 gr[_REG_SP] = (intptr_t)sp;
68 gr[_REG_RA] = (intptr_t)__resumecontext;
69 gr[_REG_T9] = (intptr_t)func; /* required for .abicalls */
70 gr[_REG_EPC] = (intptr_t)func;
78 gr[_REG_A0 + i] = va_arg(ap, __greg_t);
86 gr[_REG_A0 + i] = va_arg(ap, __greg_t);
  /src/lib/libc/arch/aarch64/gen/
makecontext.c 47 __greg_t * const gr = ucp->uc_mcontext.__gregs; local in function:makecontext
56 gr[_REG_SP] = (__greg_t)(uintptr_t)sp;
58 gr[_REG_X29] = 0;
60 gr[_REG_X30] = (__greg_t)(uintptr_t)_resumecontext;
61 gr[_REG_PC] = (__greg_t)(uintptr_t)func;
68 gr[_REG_X0 + i] = va_arg(ap, __greg_t);
  /src/lib/libc/arch/arm/gen/
makecontext.c 47 __greg_t *gr = ucp->uc_mcontext.__gregs; local in function:makecontext
58 gr[_REG_SP] = (__greg_t)(uintptr_t)sp;
60 gr[_REG_FP] = 0;
62 gr[_REG_LR] = (__greg_t)(uintptr_t)_resumecontext;
63 gr[_REG_PC] = (__greg_t)(uintptr_t)func;
68 gr[_REG_R0 + i] = va_arg(ap, int);
  /src/lib/libc/arch/or1k/gen/
makecontext.c 51 __greg_t *gr = ucp->uc_mcontext.__gregs; local in function:makecontext
67 gr[_REG_SP] = (uintptr_t)sp;
68 gr[_REG_LR] = (uintptr_t)_resumecontext;
69 gr[_REG_PC] = (uintptr_t)func;
78 gr[_REG_R3 + i] = va_arg(ap, int);
  /src/lib/libc/arch/powerpc/gen/
makecontext.c 51 __greg_t *gr = ucp->uc_mcontext.__gregs; local in function:makecontext
68 gr[_REG_R1] = (__greg_t)sp;
69 gr[_REG_LR] = (__greg_t)_resumecontext;
70 gr[_REG_PC] = (__greg_t)func;
79 gr[_REG_R3 + i] = va_arg(ap, int);
  /src/lib/libc/arch/sh3/gen/
makecontext.c 47 __greg_t *gr = ucp->uc_mcontext.__gregs; local in function:makecontext
58 gr[_REG_SP] = (__greg_t)sp;
60 gr[_REG_PR] = (__greg_t)_resumecontext;
61 gr[_REG_PC] = (__greg_t)func;
66 gr[_REG_R4 - i] = va_arg(ap, int); /* sic! see mcontext.h */
  /src/lib/libc/arch/riscv/gen/
makecontext.c 51 __greg_t *gr = ucp->uc_mcontext.__gregs; local in function:makecontext
67 gr[_REG_SP] = (uintptr_t)sp;
68 gr[_REG_RA] = (uintptr_t)_resumecontext;
69 gr[_REG_PC] = (uintptr_t)func;
78 gr[_REG_A0 + i] = va_arg(ap, __greg_t);
  /src/lib/libc/arch/hppa/gen/
_lwp.c 53 __greg_t *gr; local in function:_lwp_makecontext
58 gr = u->uc_mcontext.__gregs;
70 gr[_REG_R19] = gp[1];
72 gr[_REG_PCOQH] = fp | HPPA_PC_PRIV_USER;
73 gr[_REG_PCOQT] = (fp + 4) | HPPA_PC_PRIV_USER;
74 gr[_REG_RP] = (__greg_t) _lwp_exit;
75 gr[_REG_ARG0] = (__greg_t) arg;
76 gr[_REG_SP] = (__greg_t) sp;
77 gr[_REG_CR27] = (__greg_t) private;
  /src/lib/libc/arch/powerpc64/gen/
makecontext.c 51 __greg_t *gr = ucp->uc_mcontext.__gregs; local in function:makecontext
65 gr[_REG_R1] = sp;
66 gr[_REG_LR] = (__greg_t)_resumecontext;
67 gr[_REG_PC] = (__greg_t)func; // XXX -- this is the descriptor address!
77 gr[_REG_R3 + i] = va_arg(ap, long);
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/gr/
nouveau_nvkm_engine_gr_nv44.c 38 struct nv40_gr *gr = nv40_gr(base); local in function:nv44_gr_tile
39 struct nvkm_device *device = gr->base.engine.subdev.device;
44 nv04_gr_idle(&gr->base);
nouveau_nvkm_engine_gr_nv25.c 29 struct nv20_gr *gr = nv20_gr(base); local in function:nv25_gr_chan_new
36 chan->gr = gr;
40 ret = nvkm_memory_new(gr->base.engine.subdev.device,
nouveau_nvkm_engine_gr_nv2a.c 29 struct nv20_gr *gr = nv20_gr(base); local in function:nv2a_gr_chan_new
36 chan->gr = gr;
40 ret = nvkm_memory_new(gr->base.engine.subdev.device,
  /src/sbin/mount/
fattr.c 62 struct group *gr; local in function:a_gid
64 if ((gr = getgrnam(s)) != NULL)
65 return gr->gr_gid;

Completed in 18 milliseconds

1 2 3 4 5