| /linux/tools/testing/selftests/net/ |
| H A D | tls.c | 248 int send_len = 10; in TEST_F() local 251 ASSERT_EQ(strlen(test_str) + 1, send_len); in TEST_F() 253 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); in TEST_F() 254 EXPECT_NE(recv(self->cfd, buf, send_len, 0), -1); in TEST_F() 255 EXPECT_EQ(memcmp(buf, test_str, send_len), 0); in TEST_F() 287 int send_len = 10; in TEST_F() local 298 EXPECT_EQ(send(self->fd, test_str, send_len, 0), -1); in TEST_F() 530 unsigned int send_len = TLS_PAYLOAD_MAX_LEN; in TEST_F() local 536 EXPECT_GE(send(self->fd, buf, send_len, 0), 0); in TEST_F() 537 EXPECT_NE(recv(self->cfd, recv_mem, send_len, 0), -1); in TEST_F() [all …]
|
| H A D | tun.c | 374 uint8_t *send_buf, int send_len, int gso_size) in send_gso_udp_msg() argument 383 iov.iov_len = send_len; in send_gso_udp_msg()
|
| /linux/net/mctp/test/ |
| H A D | sock-test.c | 108 ssize_t send_len; in mctp_test_sock_sendmsg_extaddr() local 140 send_len = mctp_sendmsg(sock, &msg, sizeof(buf)); in mctp_test_sock_sendmsg_extaddr() 141 KUNIT_EXPECT_EQ(test, send_len, sizeof(buf)); in mctp_test_sock_sendmsg_extaddr()
|
| /linux/drivers/ps3/ |
| H A D | ps3av_cmd.c | 215 int i, send_len, res; in ps3av_cmd_av_video_mute() local 227 send_len = sizeof(av_video_mute.send_hdr) + in ps3av_cmd_av_video_mute() 229 res = ps3av_do_pkt(PS3AV_CID_AV_VIDEO_MUTE, send_len, in ps3av_cmd_av_video_mute() 852 int ps3av_cmd_avb_param(struct ps3av_pkt_avb_param *avb, u32 send_len) in ps3av_cmd_avb_param() argument 859 res = ps3av_do_pkt(PS3AV_CID_AVB_PARAM, send_len, sizeof(*avb), in ps3av_cmd_avb_param()
|
| H A D | ps3av.c | 288 int ps3av_do_pkt(u32 cid, u16 send_len, size_t usr_buf_size, in ps3av_do_pkt() argument 300 BUG_ON(send_len < PS3AV_HDR_SIZE); in ps3av_do_pkt() 301 BUG_ON(usr_buf_size < send_len); in ps3av_do_pkt() 305 ps3av_set_hdr(cid, send_len, buf); in ps3av_do_pkt() 308 res = ps3av_send_cmd_pkt(buf, &ps3av->recv_buf.reply_hdr, send_len, in ps3av_do_pkt()
|
| /linux/arch/um/drivers/ |
| H A D | vector_kern.c | 403 int result = 0, send_len; in vector_send() local 409 send_len = atomic_read(&qi->queue_depth); in vector_send() 413 if (send_len + qi->head > qi->max_depth) in vector_send() 414 send_len = qi->max_depth - qi->head; in vector_send() 416 if (send_len > 0) { in vector_send() 420 send_len, in vector_send() 424 (result != send_len); in vector_send() 436 result = send_len; in vector_send() 453 if (result != send_len) { in vector_send()
|
| /linux/fs/notify/inotify/ |
| H A D | inotify_user.c | 320 size_t send_len = 0; in inotify_ioctl() local 332 send_len += sizeof(struct inotify_event); in inotify_ioctl() 333 send_len += round_event_name_len(fsn_event); in inotify_ioctl() 336 ret = put_user(send_len, (int __user *) p); in inotify_ioctl()
|
| /linux/net/smc/ |
| H A D | smc_clc.c | 809 int len, send_len; in smc_clc_send_decline() local 828 send_len = sizeof(*dclc_v1); in smc_clc_send_decline() 832 send_len = sizeof(dclc); in smc_clc_send_decline() 834 dclc.hdr.length = htons(send_len); in smc_clc_send_decline() 838 vec.iov_len = send_len; in smc_clc_send_decline() 839 len = kernel_sendmsg(smc->clcsock, &msg, &vec, 1, send_len); in smc_clc_send_decline() 840 if (len < 0 || len < send_len) in smc_clc_send_decline()
|
| /linux/drivers/hid/i2c-hid/ |
| H A D | i2c-hid-core.c | 195 u8 *send_buf, int send_len, u8 *recv_buf, int recv_len) in i2c_hid_xfer() argument 202 if (send_len) { in i2c_hid_xfer() 204 __func__, send_len, send_buf); in i2c_hid_xfer() 208 msgs[n].len = send_len; in i2c_hid_xfer()
|
| /linux/drivers/net/wireless/ath/ath6kl/ |
| H A D | htc_mbox.c | 511 u32 padded_len, send_len; in ath6kl_htc_tx_issue() local 516 send_len = packet->act_len + HTC_HDR_LENGTH; in ath6kl_htc_tx_issue() 518 padded_len = CALC_TXRX_PADDED_LEN(target, send_len); in ath6kl_htc_tx_issue() 522 send_len, packet->info.tx.seqno, padded_len, in ath6kl_htc_tx_issue() 540 trace_ath6kl_htc_tx(status, packet->endpoint, packet->buf, send_len); in ath6kl_htc_tx_issue()
|
| /linux/fs/notify/fanotify/ |
| H A D | fanotify_user.c | 1161 size_t send_len = 0; in fanotify_ioctl() local 1171 send_len += FAN_EVENT_METADATA_LEN; in fanotify_ioctl() 1173 ret = put_user(send_len, (int __user *) p); in fanotify_ioctl()
|