Lines Matching refs:optlen
331 int optlen) in rds_set_bool_option() argument
335 if (optlen < sizeof(int)) in rds_set_bool_option()
344 int optlen) in rds_cong_monitor() argument
348 ret = rds_set_bool_option(&rs->rs_cong_monitor, optval, optlen); in rds_cong_monitor()
362 int optlen) in rds_set_transport() argument
369 if (optlen != sizeof(int)) in rds_set_transport()
384 int optlen, int optname) in rds_enable_recvtstamp() argument
388 if (optlen != sizeof(int)) in rds_enable_recvtstamp()
408 int optlen) in rds_recv_track_latency() argument
413 if (optlen != sizeof(struct rds_rx_trace_so)) in rds_recv_track_latency()
435 char __user *optval, unsigned int optlen) in rds_setsockopt() argument
447 ret = rds_cancel_sent_to(rs, optval, optlen); in rds_setsockopt()
450 ret = rds_get_mr(rs, optval, optlen); in rds_setsockopt()
453 ret = rds_get_mr_for_dest(rs, optval, optlen); in rds_setsockopt()
456 ret = rds_free_mr(rs, optval, optlen); in rds_setsockopt()
459 ret = rds_set_bool_option(&rs->rs_recverr, optval, optlen); in rds_setsockopt()
462 ret = rds_cong_monitor(rs, optval, optlen); in rds_setsockopt()
466 ret = rds_set_transport(rs, optval, optlen); in rds_setsockopt()
472 ret = rds_enable_recvtstamp(sock->sk, optval, optlen, optname); in rds_setsockopt()
476 ret = rds_recv_track_latency(rs, optval, optlen); in rds_setsockopt()
486 char __user *optval, int __user *optlen) in rds_getsockopt() argument
495 if (get_user(len, optlen)) { in rds_getsockopt()
503 optlen); in rds_getsockopt()
511 put_user(sizeof(int), optlen)) in rds_getsockopt()
524 put_user(sizeof(int), optlen)) in rds_getsockopt()