Home
last modified time | relevance | path

Searched refs:env (Results 1 – 25 of 97) sorted by relevance

1234

/arch/x86/kernel/fpu/
Dregset.c216 convert_from_fxsr(struct user_i387_ia32_struct *env, struct task_struct *tsk) in convert_from_fxsr() argument
219 struct _fpreg *to = (struct _fpreg *) &env->st_space[0]; in convert_from_fxsr()
223 env->cwd = fxsave->cwd | 0xffff0000u; in convert_from_fxsr()
224 env->swd = fxsave->swd | 0xffff0000u; in convert_from_fxsr()
225 env->twd = twd_fxsr_to_i387(fxsave); in convert_from_fxsr()
228 env->fip = fxsave->rip; in convert_from_fxsr()
229 env->foo = fxsave->rdp; in convert_from_fxsr()
234 env->fcs = task_pt_regs(tsk)->cs; in convert_from_fxsr()
236 savesegment(ds, env->fos); in convert_from_fxsr()
238 env->fos = tsk->thread.ds; in convert_from_fxsr()
[all …]
Dsignal.c58 struct user_i387_ia32_struct env; in save_fsave_header() local
61 convert_from_fxsr(&env, tsk); in save_fsave_header()
63 if (__copy_to_user(buf, &env, sizeof(env)) || in save_fsave_header()
305 struct user_i387_ia32_struct env; in __fpu__restore_sig() local
319 __copy_from_user(&env, buf, sizeof(env)) || in __fpu__restore_sig()
325 sanitize_restored_xstate(tsk, &env, xfeatures, fx_only); in __fpu__restore_sig()
/arch/mips/alchemy/common/
Dprom.c64 char **env = prom_envp; in prom_getenv() local
66 int yamon = (*env && strchr(*env, '=') == NULL); in prom_getenv()
68 while (*env) { in prom_getenv()
70 if (strcmp(envname, *env++) == 0) in prom_getenv()
71 return *env; in prom_getenv()
72 } else if (strncmp(envname, *env, i) == 0 && (*env)[i] == '=') in prom_getenv()
73 return *env + i + 1; in prom_getenv()
74 env++; in prom_getenv()
/arch/mips/loongson32/common/
Dprom.c24 char **env = prom_envp; in prom_getenv() local
29 while (*env) { in prom_getenv()
30 if (strncmp(envname, *env, i) == 0 && *(*env + i) == '=') in prom_getenv()
31 return *env + i + 1; in prom_getenv()
32 env++; in prom_getenv()
38 static inline unsigned long env_or_default(char *env, unsigned long dfl) in env_or_default() argument
40 char *str = prom_getenv(env); in env_or_default()
/arch/mips/pnx833x/common/
Dprom.c48 char **env = prom_envp; in prom_getenv() local
53 while (*env) { in prom_getenv()
54 if (strncmp(envname, *env, i) == 0 && *(*env+i) == '=') in prom_getenv()
55 return *env + i + 1; in prom_getenv()
56 env++; in prom_getenv()
/arch/x86/um/
Dsignal.c85 unsigned long env[7]; in convert_fxsr_to_user() local
90 env[0] = (unsigned long)fxsave->cwd | 0xffff0000ul; in convert_fxsr_to_user()
91 env[1] = (unsigned long)fxsave->swd | 0xffff0000ul; in convert_fxsr_to_user()
92 env[2] = twd_fxsr_to_i387(fxsave); in convert_fxsr_to_user()
93 env[3] = fxsave->fip; in convert_fxsr_to_user()
94 env[4] = fxsave->fcs | ((unsigned long)fxsave->fop << 16); in convert_fxsr_to_user()
95 env[5] = fxsave->foo; in convert_fxsr_to_user()
96 env[6] = fxsave->fos; in convert_fxsr_to_user()
98 if (__copy_to_user(buf, env, 7 * sizeof(unsigned long))) in convert_fxsr_to_user()
118 unsigned long env[7]; in convert_fxsr_from_user() local
[all …]
/arch/x86/include/asm/fpu/
Dsignal.h22 extern void convert_from_fxsr(struct user_i387_ia32_struct *env,
25 const struct user_i387_ia32_struct *env);
/arch/mips/ar7/
Dprom.c183 static void __init ar7_init_env(struct env_var *env) in ar7_init_env() argument
192 for (i = 0; i < MAX_ENTRY; i++, env++) in ar7_init_env()
193 if (env->name) in ar7_init_env()
194 add_adam2_var(env->name, env->value); in ar7_init_env()
/arch/mips/pnx833x/stb22x/
Dboard.c52 static inline unsigned long env_or_default(char *env, unsigned long dfl) in env_or_default() argument
54 char *str = prom_getenv(env); in env_or_default()
/arch/powerpc/include/asm/
Dtypes.h25 unsigned long env; member
/arch/mips/fw/arc/
DMakefile5 lib-y += cmdline.o env.o file.o identify.o init.o \
/arch/alpha/kernel/
Derr_marvel.c27 struct ev7_pal_environmental_subpacket *env; in marvel_print_680_frame() local
48 env = lf_subpackets->env[ev7_lf_env_index(ev_packets[i].type)]; in marvel_print_680_frame()
49 if (!env) in marvel_print_680_frame()
55 env->cabinet, in marvel_print_680_frame()
56 env->drawer); in marvel_print_680_frame()
60 env->module_type, in marvel_print_680_frame()
61 env->unit_id, in marvel_print_680_frame()
62 env->condition); in marvel_print_680_frame()
76 if (lf_subpackets->env[i]) in marvel_process_680_frame()
/arch/arm/boot/dts/
Dpicoxcell-pc7302-pc3x2.dts64 boot-env@300000 {
69 redundant-boot-env@320000 {
Dpicoxcell-pc7302-pc3x3.dts70 boot-env@300000 {
75 redundant-boot-env@320000 {
Dkirkwood-t5325.dts108 label = "u-boot env";
113 label = "permanent u-boot env";
118 label = "permanent u-boot env";
Dimx28-apf28.dts36 label = "env";
/arch/cris/include/asm/
Deshlibld.h77 char **env, int envc,
/arch/mips/loongson64/common/
DMakefile5 obj-y += setup.o init.o cmdline.o env.o time.o reset.o irq.o \
/arch/mips/boot/dts/ralink/
Drt2880_eval.dts33 label = "uboot-env";
Drt3052_eval.dts33 label = "uboot-env";
/arch/alpha/include/asm/
Derr_ev7.h181 struct ev7_pal_environmental_subpacket env; /* Type 10-16 */ member
195 struct ev7_pal_environmental_subpacket *env[7]; /* Type 10-16 */ member
/arch/sparc/kernel/
Dldc.c61 u8 env; member
442 p->env = lp->cfg.mode; in send_rts()
447 p->env, p->seqid); in send_rts()
462 p->env = lp->cfg.mode; in send_rtr()
466 p->env, p->seqid); in send_rtr()
481 p->env = 0; in send_rdx()
486 p->env, p->seqid, p->u.r.ackid); in send_rdx()
679 p->stype, p->seqid, p->env); in process_rts()
683 p->env != lp->cfg.mode) in process_rts()
699 p->stype, p->seqid, p->env); in process_rtr()
[all …]
/arch/um/
DKconfig.common61 option env="SUBARCH"
/arch/mips/boot/dts/netlogic/
Dxlp_gvp.dts66 label = "env";
Dxlp_rvp.dts66 label = "env";

1234