/Linux-v5.10/tools/testing/selftests/net/ |
D | tls.c | 88 int send_len = 10; in TEST_F() local 91 ASSERT_EQ(strlen(test_str) + 1, send_len); in TEST_F() 93 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); in TEST_F() 94 EXPECT_NE(recv(self->cfd, buf, send_len, 0), -1); in TEST_F() 95 EXPECT_EQ(memcmp(buf, test_str, send_len), 0); in TEST_F() 276 unsigned int send_len = TLS_PAYLOAD_MAX_LEN; in TEST_F() local 280 EXPECT_GE(send(self->fd, buf, send_len, 0), 0); in TEST_F() 281 EXPECT_NE(recv(self->cfd, recv_mem, send_len, 0), -1); in TEST_F() 282 EXPECT_EQ(memcmp(buf, recv_mem, send_len), 0); in TEST_F() 288 int send_len = 10; in TEST_F() local [all …]
|
/Linux-v5.10/drivers/staging/gdm724x/ |
D | gdm_usb.c | 593 u16 send_len = 0; in packet_aggregation() local 607 if (send_len + t_sdu->len > MAX_SDU_SIZE) { in packet_aggregation() 615 memcpy(multi_sdu->data + send_len, t_sdu->buf, t_sdu->len); in packet_aggregation() 617 send_len += (t_sdu->len + 3) & 0xfffc; in packet_aggregation() 628 multi_sdu->len = gdm_cpu_to_dev16(udev->gdm_ed, send_len); in packet_aggregation() 631 return send_len + offsetof(struct multi_sdu, data); in packet_aggregation() 711 u16 send_len; in gdm_usb_sdu_send() local 730 send_len = len + SDU_PARAM_LEN; in gdm_usb_sdu_send() 733 send_len = len - ETH_HLEN; in gdm_usb_sdu_send() 734 send_len += SDU_PARAM_LEN; in gdm_usb_sdu_send() [all …]
|
/Linux-v5.10/drivers/ps3/ |
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()
|
D | ps3av.c | 287 int ps3av_do_pkt(u32 cid, u16 send_len, size_t usr_buf_size, in ps3av_do_pkt() argument 299 BUG_ON(send_len < PS3AV_HDR_SIZE); in ps3av_do_pkt() 300 BUG_ON(usr_buf_size < send_len); in ps3av_do_pkt() 304 ps3av_set_hdr(cid, send_len, buf); in ps3av_do_pkt() 307 res = ps3av_send_cmd_pkt(buf, &ps3av->recv_buf.reply_hdr, send_len, in ps3av_do_pkt()
|
/Linux-v5.10/arch/um/drivers/ |
D | vector_kern.c | 412 int result = 0, send_len, queue_depth = qi->max_depth; in vector_send() local 421 send_len = queue_depth; in vector_send() 425 if (send_len + qi->head > qi->max_depth) in vector_send() 426 send_len = qi->max_depth - qi->head; in vector_send() 428 if (send_len > 0) { in vector_send() 432 send_len, in vector_send() 436 (result != send_len); in vector_send() 448 result = send_len; in vector_send() 467 if (result != send_len) { in vector_send()
|
/Linux-v5.10/fs/notify/inotify/ |
D | inotify_user.c | 285 size_t send_len = 0; in inotify_ioctl() local 297 send_len += sizeof(struct inotify_event); in inotify_ioctl() 298 send_len += round_event_name_len(fsn_event); in inotify_ioctl() 301 ret = put_user(send_len, (int __user *) p); in inotify_ioctl()
|
/Linux-v5.10/fs/notify/fanotify/ |
D | fanotify_user.c | 634 size_t send_len = 0; in fanotify_ioctl() local 644 send_len += FAN_EVENT_METADATA_LEN; in fanotify_ioctl() 646 ret = put_user(send_len, (int __user *) p); in fanotify_ioctl()
|
/Linux-v5.10/drivers/net/wireless/ath/ath6kl/ |
D | htc_mbox.c | 512 u32 padded_len, send_len; in ath6kl_htc_tx_issue() local 517 send_len = packet->act_len + HTC_HDR_LENGTH; in ath6kl_htc_tx_issue() 519 padded_len = CALC_TXRX_PADDED_LEN(target, send_len); in ath6kl_htc_tx_issue() 523 send_len, packet->info.tx.seqno, padded_len, in ath6kl_htc_tx_issue() 541 trace_ath6kl_htc_tx(status, packet->endpoint, packet->buf, send_len); in ath6kl_htc_tx_issue()
|
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4.h | 2129 const dma_addr_t *addr, u32 start, u32 send_len);
|