Lines Matching refs:env
87 unsigned long env[7];
92 env[0] = (unsigned long)fxsave->cwd | 0xffff0000ul;
93 env[1] = (unsigned long)fxsave->swd | 0xffff0000ul;
94 env[2] = twd_fxsr_to_i387(fxsave);
95 env[3] = fxsave->fip;
96 env[4] = fxsave->fcs | ((unsigned long)fxsave->fop << 16);
97 env[5] = fxsave->foo;
98 env[6] = fxsave->fos;
100 if (__copy_to_user(buf, env, 7 * sizeof(unsigned long)))
120 unsigned long env[7];
125 if (copy_from_user( env, buf, 7 * sizeof(long)))
128 fxsave->cwd = (unsigned short)(env[0] & 0xffff);
129 fxsave->swd = (unsigned short)(env[1] & 0xffff);
130 fxsave->twd = twd_i387_to_fxsr((unsigned short)(env[2] & 0xffff));
131 fxsave->fip = env[3];
132 fxsave->fop = (unsigned short)((env[4] & 0xffff0000ul) >> 16);
133 fxsave->fcs = (env[4] & 0xffff);
134 fxsave->foo = env[5];
135 fxsave->fos = env[6];