Lines Matching refs:tmp
243 struct unimapdesc tmp;
245 if (copy_from_user(&tmp, user_ud, sizeof tmp))
247 if (tmp.entries)
248 if (!access_ok(VERIFY_WRITE, tmp.entries,
249 tmp.entry_ct*sizeof(struct unipair)))
255 return con_set_unimap(vc, tmp.entry_ct, tmp.entries);
259 return con_get_unimap(vc, tmp.entry_ct, &(user_ud->entry_ct), tmp.entries);
532 struct vt_mode tmp;
536 if (copy_from_user(&tmp, up, sizeof(struct vt_mode))) {
540 if (tmp.mode != VT_AUTO && tmp.mode != VT_PROCESS) {
545 vc->vt_mode = tmp;
558 struct vt_mode tmp;
562 memcpy(&tmp, &vc->vt_mode, sizeof(struct vt_mode));
565 rc = copy_to_user(up, &tmp, sizeof(struct vt_mode));
1136 struct compat_unimapdesc tmp;
1139 if (copy_from_user(&tmp, user_ud, sizeof tmp))
1141 tmp_entries = compat_ptr(tmp.entries);
1144 tmp.entry_ct*sizeof(struct unipair)))
1150 return con_set_unimap(vc, tmp.entry_ct, tmp_entries);
1154 return con_get_unimap(vc, tmp.entry_ct, &(user_ud->entry_ct), tmp_entries);