Lines Matching refs:copylen
997 u32 copylen = min_t(u32, sfd->size_subflow_data, sizeof(*sfd)); in mptcp_put_subflow_data() local
1002 copied = copylen; in mptcp_put_subflow_data()
1007 if (copy_to_user(optval, sfd, copylen)) in mptcp_put_subflow_data()
1017 int len, copylen; in mptcp_get_subflow_data() local
1032 copylen = min_t(unsigned int, len, sizeof(*sfd)); in mptcp_get_subflow_data()
1033 if (copy_from_user(sfd, optval, copylen)) in mptcp_get_subflow_data()
1229 u32 copylen, in mptcp_put_full_info() argument
1232 copylen += MIN_FULL_INFO_OPTLEN_SIZE; in mptcp_put_full_info()
1233 if (put_user(copylen, optlen)) in mptcp_put_full_info()
1236 if (copy_to_user(optval, mfi, copylen)) in mptcp_put_full_info()
1244 unsigned int sfcount = 0, copylen = 0; in mptcp_getsockopt_full_info() local
1260 copylen += min_t(unsigned int, len, sizeof(struct mptcp_info)); in mptcp_getsockopt_full_info()
1305 if (mptcp_put_full_info(&mfi, optval, copylen, optlen)) in mptcp_getsockopt_full_info()