Lines Matching refs:optlen
243 int optlen) in rds_set_bool_option() argument
247 if (optlen < sizeof(int)) in rds_set_bool_option()
256 int optlen) in rds_cong_monitor() argument
260 ret = rds_set_bool_option(&rs->rs_cong_monitor, optval, optlen); in rds_cong_monitor()
274 char __user *optval, unsigned int optlen) in rds_setsockopt() argument
286 ret = rds_cancel_sent_to(rs, optval, optlen); in rds_setsockopt()
289 ret = rds_get_mr(rs, optval, optlen); in rds_setsockopt()
292 ret = rds_get_mr_for_dest(rs, optval, optlen); in rds_setsockopt()
295 ret = rds_free_mr(rs, optval, optlen); in rds_setsockopt()
298 ret = rds_set_bool_option(&rs->rs_recverr, optval, optlen); in rds_setsockopt()
301 ret = rds_cong_monitor(rs, optval, optlen); in rds_setsockopt()
311 char __user *optval, int __user *optlen) in rds_getsockopt() argument
319 if (get_user(len, optlen)) { in rds_getsockopt()
327 optlen); in rds_getsockopt()
335 put_user(sizeof(int), optlen)) in rds_getsockopt()