Lines Matching refs:optval_addr
2049 abi_ulong optval_addr, socklen_t optlen) in do_setsockopt() argument
2061 if (get_user_u32(val, optval_addr)) in do_setsockopt()
2085 if (get_user_u32(val, optval_addr)) in do_setsockopt()
2088 if (get_user_u8(val, optval_addr)) in do_setsockopt()
2107 target_smreqn = lock_user(VERIFY_READ, optval_addr, optlen, 1); in do_setsockopt()
2117 unlock_user(target_smreqn, optval_addr, 0); in do_setsockopt()
2132 ip_mreq_source = lock_user(VERIFY_READ, optval_addr, optlen, 1); in do_setsockopt()
2137 unlock_user (ip_mreq_source, optval_addr, 0); in do_setsockopt()
2184 if (get_user_u32(val, optval_addr)) { in do_setsockopt()
2198 if (copy_from_user(&pki, optval_addr, sizeof(pki))) { in do_setsockopt()
2217 if (copy_from_user(&ipv6mreq, optval_addr, sizeof(ipv6mreq))) { in do_setsockopt()
2241 if (copy_from_user(&icmp6f, optval_addr, optlen)) { in do_setsockopt()
2266 if (get_user_u32(val, optval_addr)) { in do_setsockopt()
2282 char *alg_key = lock_user(VERIFY_READ, optval_addr, optlen, 1); in do_setsockopt()
2288 unlock_user(alg_key, optval_addr, optlen); in do_setsockopt()
2313 if (copy_from_user_timeval(&tv, optval_addr)) { in do_setsockopt()
2334 if (!lock_user_struct(VERIFY_READ, tfprog, optval_addr, 0)) { in do_setsockopt()
2339 unlock_user_struct(tfprog, optval_addr, 1); in do_setsockopt()
2347 unlock_user_struct(tfprog, optval_addr, 1); in do_setsockopt()
2363 unlock_user_struct(tfprog, optval_addr, 1); in do_setsockopt()
2373 dev_ifname = lock_user(VERIFY_READ, optval_addr, optlen, 1); in do_setsockopt()
2383 unlock_user (dev_ifname, optval_addr, 0); in do_setsockopt()
2394 if (!lock_user_struct(VERIFY_READ, tlg, optval_addr, 1)) { in do_setsockopt()
2401 unlock_user_struct(tlg, optval_addr, 0); in do_setsockopt()
2475 if (get_user_u32(val, optval_addr)) in do_setsockopt()
2505 if (get_user_u32(val, optval_addr)) { in do_setsockopt()
2523 abi_ulong optval_addr, abi_ulong optlen) in do_getsockopt() argument
2559 if (copy_to_user_timeval(optval_addr, &tv)) { in do_getsockopt()
2591 if (!lock_user_struct(VERIFY_WRITE, tcr, optval_addr, 0)) { in do_getsockopt()
2597 unlock_user_struct(tcr, optval_addr, 1); in do_getsockopt()
2612 name = lock_user(VERIFY_WRITE, optval_addr, len, 0); in do_getsockopt()
2622 unlock_user(name, optval_addr, lv); in do_getsockopt()
2647 if (!lock_user_struct(VERIFY_WRITE, tlg, optval_addr, 0)) { in do_getsockopt()
2652 unlock_user_struct(tlg, optval_addr, 1); in do_getsockopt()
2750 if (put_user_u32(val, optval_addr)) in do_getsockopt()
2753 if (put_user_u8(val, optval_addr)) in do_getsockopt()
2787 || put_user_u8(val, optval_addr)) in do_getsockopt()
2793 || put_user_u32(val, optval_addr)) in do_getsockopt()
2849 || put_user_u8(val, optval_addr)) in do_getsockopt()
2855 || put_user_u32(val, optval_addr)) in do_getsockopt()
2892 || put_user_u32(val, optval_addr)) { in do_getsockopt()
2907 results = lock_user(VERIFY_WRITE, optval_addr, len, 1); in do_getsockopt()
2914 unlock_user(results, optval_addr, 0); in do_getsockopt()
2924 unlock_user(results, optval_addr, 0); in do_getsockopt()