Lines Matching refs:vec
859 struct kvec vec = { in o2net_recv_tcp_msg() local
865 .msg_iov = (struct iovec *)&vec, in o2net_recv_tcp_msg()
877 static int o2net_send_tcp_msg(struct socket *sock, struct kvec *vec, in o2net_send_tcp_msg() argument
883 .msg_iov = (struct iovec *)vec, in o2net_send_tcp_msg()
980 struct kvec *vec = NULL; in o2net_send_message_vec() local
1028 vec = kmalloc(sizeof(struct kvec) * veclen, GFP_ATOMIC); in o2net_send_message_vec()
1029 if (vec == NULL) { in o2net_send_message_vec()
1044 vec[0].iov_len = sizeof(struct o2net_msg); in o2net_send_message_vec()
1045 vec[0].iov_base = msg; in o2net_send_message_vec()
1046 memcpy(&vec[1], caller_vec, caller_veclen * sizeof(struct kvec)); in o2net_send_message_vec()
1060 ret = o2net_send_tcp_msg(sc->sc_sock, vec, veclen, in o2net_send_message_vec()
1086 if (vec) in o2net_send_message_vec()
1087 kfree(vec); in o2net_send_message_vec()
1098 struct kvec vec = { in o2net_send_message() local
1102 return o2net_send_message_vec(msg_type, key, &vec, 1, in o2net_send_message()
1110 struct kvec vec = { in o2net_send_status_magic() local
1126 return o2net_send_tcp_msg(sock, &vec, 1, sizeof(struct o2net_msg)); in o2net_send_status_magic()