Lines Matching refs:sentry
161 struct mtrr_sentry sentry; in mtrr_ioctl() local
176 if (copy_from_user(&sentry, arg, sizeof(sentry))) in mtrr_ioctl()
196 err = get_user(sentry.base, &s32->base); in mtrr_ioctl()
197 err |= get_user(sentry.size, &s32->size); in mtrr_ioctl()
198 err |= get_user(sentry.type, &s32->type); in mtrr_ioctl()
227 mtrr_file_add(sentry.base, sentry.size, sentry.type, true, in mtrr_ioctl()
234 err = mtrr_add(sentry.base, sentry.size, sentry.type, false); in mtrr_ioctl()
240 err = mtrr_file_del(sentry.base, sentry.size, file, 0); in mtrr_ioctl()
246 err = mtrr_del(-1, sentry.base, sentry.size); in mtrr_ioctl()
272 mtrr_file_add(sentry.base, sentry.size, sentry.type, true, in mtrr_ioctl()
280 mtrr_add_page(sentry.base, sentry.size, sentry.type, false); in mtrr_ioctl()
286 err = mtrr_file_del(sentry.base, sentry.size, file, 1); in mtrr_ioctl()
292 err = mtrr_del_page(-1, sentry.base, sentry.size); in mtrr_ioctl()