Home
last modified time | relevance | path

Searched refs:user_req (Results 1 – 1 of 1) sorted by relevance

/fs/
Dcompat_ioctl.c1457 …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()
[all …]