Symbol: mtrr
lib/libarch/i386/i386_mtrr.c
19
i386_set_mtrr(struct mtrr *mtrrp, int *n)
lib/libarch/i386/i386_mtrr.c
9
i386_get_mtrr(struct mtrr *mtrrp, int *n)
lib/libarch/x86_64/x86_64_mtrr.c
19
x86_64_set_mtrr(struct mtrr *mtrrp, int *n)
lib/libarch/x86_64/x86_64_mtrr.c
9
x86_64_get_mtrr(struct mtrr *mtrrp, int *n)
sys/arch/amd64/amd64/netbsd32_machdep.c
741
struct mtrr *m64p, *mp;
sys/arch/amd64/amd64/netbsd32_machdep.c
770
size = n * sizeof(struct mtrr);
sys/arch/amd64/amd64/netbsd32_machdep.c
803
struct mtrr *m64p, *mp;
sys/arch/amd64/amd64/netbsd32_machdep.c
831
size = n * sizeof(struct mtrr);
sys/arch/i386/i386/mtrr_k6.c
151
mtrr_var = (struct mtrr *)
sys/arch/i386/i386/mtrr_k6.c
152
malloc(MTRR_K6_NVAR * sizeof(struct mtrr), M_TEMP, M_WAITOK);
sys/arch/i386/i386/mtrr_k6.c
161
struct mtrr *mtrrp;
sys/arch/i386/i386/mtrr_k6.c
189
struct mtrr *mtrrp;
sys/arch/i386/i386/mtrr_k6.c
222
k6_mtrr_validate(struct mtrr *mtrrp, struct proc *p)
sys/arch/i386/i386/mtrr_k6.c
259
k6_mtrr_setone(struct mtrr *mtrrp, struct proc *p)
sys/arch/i386/i386/mtrr_k6.c
261
struct mtrr *freep;
sys/arch/i386/i386/mtrr_k6.c
317
k6_mtrr_set(struct mtrr *mtrrp, int *n, struct proc *p, int flags)
sys/arch/i386/i386/mtrr_k6.c
319
struct mtrr mtrr;
sys/arch/i386/i386/mtrr_k6.c
330
error = copyin(&mtrrp[i], &mtrr, sizeof(mtrr));
sys/arch/i386/i386/mtrr_k6.c
334
mtrr = mtrrp[i];
sys/arch/i386/i386/mtrr_k6.c
335
error = k6_mtrr_validate(&mtrr, p);
sys/arch/i386/i386/mtrr_k6.c
338
error = k6_mtrr_setone(&mtrr, p);
sys/arch/i386/i386/mtrr_k6.c
341
if (mtrr.flags & MTRR_PRIVATE)
sys/arch/i386/i386/mtrr_k6.c
349
k6_mtrr_get(struct mtrr *mtrrp, int *n, struct proc *p, int flags)
sys/arch/i386/i386/mtrr_k6.c
57
static int k6_mtrr_set(struct mtrr *, int *, struct proc *, int);
sys/arch/i386/i386/mtrr_k6.c
58
static int k6_mtrr_get(struct mtrr *, int *, struct proc *, int);
sys/arch/i386/i386/mtrr_k6.c
62
static int k6_mtrr_validate(struct mtrr *, struct proc *);
sys/arch/i386/i386/mtrr_k6.c
72
static struct mtrr *mtrr_var;
sys/arch/x86/include/mtrr.h
112
struct mtrr;
sys/arch/x86/include/mtrr.h
121
int (*set)(struct mtrr *, int *n, struct proc *p, int flags);
sys/arch/x86/include/mtrr.h
122
int (*get)(struct mtrr *, int *n, struct proc *p, int flags);
sys/arch/x86/include/sysarch.h
103
struct mtrr *mtrrp;
sys/arch/x86/include/sysarch.h
108
struct mtrr *mtrrp;
sys/arch/x86/include/sysarch.h
124
struct mtrr;
sys/arch/x86/include/sysarch.h
138
int _X86_SYSARCH_L(set_mtrr)(struct mtrr *, int *);
sys/arch/x86/include/sysarch.h
139
int _X86_SYSARCH_L(get_mtrr)(struct mtrr *, int *);
sys/arch/x86/x86/mtrr_i686.c
124
static struct mtrr *mtrr_fixed;
sys/arch/x86/x86/mtrr_i686.c
125
static struct mtrr *mtrr_var;
sys/arch/x86/x86/mtrr_i686.c
335
kmem_zalloc(MTRR_I686_NFIXED_SOFT * sizeof(struct mtrr), KM_SLEEP);
sys/arch/x86/x86/mtrr_i686.c
339
kmem_zalloc(i686_mtrr_vcnt * sizeof(struct mtrr), KM_SLEEP);
sys/arch/x86/x86/mtrr_i686.c
353
struct mtrr *mtrrp;
sys/arch/x86/x86/mtrr_i686.c
419
struct mtrr *mtrrp;
sys/arch/x86/x86/mtrr_i686.c
468
i686_mtrr_validate(struct mtrr *mtrrp, struct proc *p)
sys/arch/x86/x86/mtrr_i686.c
545
i686_mtrr_setone(struct mtrr *mtrrp, struct proc *p)
sys/arch/x86/x86/mtrr_i686.c
548
struct mtrr *lowp, *highp, *mp, *freep;
sys/arch/x86/x86/mtrr_i686.c
58
static int i686_mtrr_set(struct mtrr *, int *n, struct proc *p, int flags);
sys/arch/x86/x86/mtrr_i686.c
59
static int i686_mtrr_get(struct mtrr *, int *n, struct proc *p, int flags);
sys/arch/x86/x86/mtrr_i686.c
62
static int i686_mtrr_validate(struct mtrr *, struct proc *p);
sys/arch/x86/x86/mtrr_i686.c
66
static int i686_mtrr_setone(struct mtrr *, struct proc *p);
sys/arch/x86/x86/mtrr_i686.c
690
i686_mtrr_set(struct mtrr *mtrrp, int *n, struct proc *p, int flags)
sys/arch/x86/x86/mtrr_i686.c
693
struct mtrr mtrr;
sys/arch/x86/x86/mtrr_i686.c
703
error = copyin(&mtrrp[i], &mtrr, sizeof mtrr);
sys/arch/x86/x86/mtrr_i686.c
707
mtrr = mtrrp[i];
sys/arch/x86/x86/mtrr_i686.c
708
error = i686_mtrr_validate(&mtrr, p);
sys/arch/x86/x86/mtrr_i686.c
711
error = i686_mtrr_setone(&mtrr, p);
sys/arch/x86/x86/mtrr_i686.c
714
if (mtrr.flags & MTRR_PRIVATE)
sys/arch/x86/x86/mtrr_i686.c
722
i686_mtrr_get(struct mtrr *mtrrp, int *n, struct proc *p, int flags)
sys/compat/netbsd32/netbsd32_drm.c
185
int mtrr; /**< MTRR slot used */
sys/compat/netbsd32/netbsd32_drm.c
196
m64->mtrr = m32->mtrr;
sys/compat/netbsd32/netbsd32_drm.c
207
m32->mtrr = m64->mtrr;