Lines Matching refs:user_req
1457 …int get_raw32_request(struct raw_config_request *req, struct raw32_config_request __user *user_req) in get_raw32_request() argument
1461 if (!access_ok(VERIFY_READ, user_req, sizeof(struct raw32_config_request))) in get_raw32_request()
1464 ret = __get_user(req->raw_minor, &user_req->raw_minor); in get_raw32_request()
1465 ret |= __get_user(req->block_major, &user_req->block_major); in get_raw32_request()
1466 ret |= __get_user(req->block_minor, &user_req->block_minor); in get_raw32_request()
1471 …int set_raw32_request(struct raw_config_request *req, struct raw32_config_request __user *user_req) in set_raw32_request() argument
1475 if (!access_ok(VERIFY_WRITE, user_req, sizeof(struct raw32_config_request))) in set_raw32_request()
1478 ret = __put_user(req->raw_minor, &user_req->raw_minor); in set_raw32_request()
1479 ret |= __put_user(req->block_major, &user_req->block_major); in set_raw32_request()
1480 ret |= __put_user(req->block_minor, &user_req->block_minor); in set_raw32_request()
1493 struct raw32_config_request __user *user_req = compat_ptr(arg); in raw_ioctl() local
1496 if ((ret = get_raw32_request(&req, user_req))) in raw_ioctl()
1504 ret = set_raw32_request(&req, user_req); in raw_ioctl()