Searched refs:v2 (Results 1 – 3 of 3) sorted by relevance
111 iov_iter_is_discard(&con->v2.in_iter) ? "discard" : "need", in ceph_tcp_recv()112 iov_iter_count(&con->v2.in_iter)); in ceph_tcp_recv()113 ret = do_recvmsg(con->sock, &con->v2.in_iter); in ceph_tcp_recv()115 iov_iter_count(&con->v2.in_iter)); in ceph_tcp_recv()199 iov_iter_count(&con->v2.out_iter), con->v2.out_iter_sendpage); in ceph_tcp_send()200 if (con->v2.out_iter_sendpage) in ceph_tcp_send()201 ret = do_try_sendpage(con->sock, &con->v2.out_iter); in ceph_tcp_send()203 ret = do_sendmsg(con->sock, &con->v2.out_iter); in ceph_tcp_send()205 iov_iter_count(&con->v2.out_iter)); in ceph_tcp_send()211 BUG_ON(con->v2.in_kvec_cnt >= ARRAY_SIZE(con->v2.in_kvecs)); in add_in_kvec()[all …]
437 const struct qrtr_hdr_v2 *v2; in qrtr_endpoint_post() local474 if (len < sizeof(*v2)) in qrtr_endpoint_post()476 v2 = data; in qrtr_endpoint_post()477 hdrlen = sizeof(*v2) + v2->optlen; in qrtr_endpoint_post()479 cb->type = v2->type; in qrtr_endpoint_post()480 cb->confirm_rx = !!(v2->flags & QRTR_FLAGS_CONFIRM_RX); in qrtr_endpoint_post()481 cb->src_node = le16_to_cpu(v2->src_node_id); in qrtr_endpoint_post()482 cb->src_port = le16_to_cpu(v2->src_port_id); in qrtr_endpoint_post()483 cb->dst_node = le16_to_cpu(v2->dst_node_id); in qrtr_endpoint_post()484 cb->dst_port = le16_to_cpu(v2->dst_port_id); in qrtr_endpoint_post()[all …]
3877 unsigned int optlen, bool v2) in sctp_setsockopt_paddr_thresholds() argument3883 len = v2 ? sizeof(*val) : sizeof(struct sctp_paddrthlds); in sctp_setsockopt_paddr_thresholds()3887 if (v2 && val->spt_pathpfthld > val->spt_pathcpthld) in sctp_setsockopt_paddr_thresholds()3898 if (v2) in sctp_setsockopt_paddr_thresholds()3915 if (v2) in sctp_setsockopt_paddr_thresholds()3922 if (v2) in sctp_setsockopt_paddr_thresholds()3930 if (v2) in sctp_setsockopt_paddr_thresholds()7170 int __user *optlen, bool v2) in sctp_getsockopt_paddr_thresholds() argument7177 min = v2 ? sizeof(val) : sizeof(struct sctp_paddrthlds); in sctp_getsockopt_paddr_thresholds()