Home
last modified time | relevance | path

Searched refs:send_len (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/tools/testing/selftests/net/
H A Dtls.c239 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); in TEST_F()
510 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); in TEST_F()
523 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); in TEST_F()
745 EXPECT_GE(write(p[1], mem_send, send_len), send_len); in TEST_F()
764 EXPECT_EQ(read(p[0], mem_recv, send_len), send_len); in TEST_F()
787 send_len); in TEST_F()
810 send_len); in TEST_F()
859 EXPECT_EQ(read(p[0], mem_recv, send_len), send_len); in TEST_F()
914 EXPECT_EQ(send(self->fd, buf, send_len, 0), send_len); in TEST_F()
1021 EXPECT_EQ(recv(self->cfd, buf, send_len, 0), send_len); in TEST_F()
[all …]
/openbmc/u-boot/drivers/net/
H A Dnetconsole.c267 int send_len = min(len, (int)sizeof(input_buffer)); in nc_stdio_puts() local
268 nc_send_packet(s, send_len); in nc_stdio_puts()
269 len -= send_len; in nc_stdio_puts()
270 s += send_len; in nc_stdio_puts()
/openbmc/linux/drivers/staging/gdm724x/
H A Dgdm_usb.c597 u16 send_len = 0; in packet_aggregation() local
611 if (send_len + t_sdu->len > MAX_SDU_SIZE) { in packet_aggregation()
621 send_len += (t_sdu->len + 3) & 0xfffc; in packet_aggregation()
632 multi_sdu->len = gdm_cpu_to_dev16(udev->gdm_ed, send_len); in packet_aggregation()
635 return send_len + offsetof(struct multi_sdu, data); in packet_aggregation()
715 u16 send_len; in gdm_usb_sdu_send() local
734 send_len = len + SDU_PARAM_LEN; in gdm_usb_sdu_send()
737 send_len = len - ETH_HLEN; in gdm_usb_sdu_send()
738 send_len += SDU_PARAM_LEN; in gdm_usb_sdu_send()
742 sdu->len = gdm_cpu_to_dev16(udev->gdm_ed, send_len); in gdm_usb_sdu_send()
[all …]
/openbmc/qemu/hw/i2c/
H A Dsmbus_master.c144 int len, bool send_len) in smbus_write_block() argument
156 if (send_len) { in smbus_write_block()
/openbmc/qemu/include/hw/i2c/
H A Dsmbus_master.h53 int len, bool send_len);
/openbmc/linux/drivers/ps3/
H A Dps3av_cmd.c215 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 Dps3av.c288 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()
/openbmc/linux/arch/um/drivers/
H A Dvector_kern.c411 int result = 0, send_len, queue_depth = qi->max_depth; in vector_send() local
420 send_len = queue_depth; in vector_send()
424 if (send_len + qi->head > qi->max_depth) in vector_send()
425 send_len = qi->max_depth - qi->head; in vector_send()
427 if (send_len > 0) { in vector_send()
431 send_len, in vector_send()
435 (result != send_len); in vector_send()
447 result = send_len; in vector_send()
465 if (result != send_len) { in vector_send()
/openbmc/linux/fs/notify/inotify/
H A Dinotify_user.c321 size_t send_len = 0; in inotify_ioctl() local
333 send_len += sizeof(struct inotify_event); in inotify_ioctl()
334 send_len += round_event_name_len(fsn_event); in inotify_ioctl()
337 ret = put_user(send_len, (int __user *) p); in inotify_ioctl()
/openbmc/linux/net/smc/
H A Dsmc_clc.c792 int len, send_len; in smc_clc_send_decline() local
811 send_len = sizeof(*dclc_v1); in smc_clc_send_decline()
815 send_len = sizeof(dclc); in smc_clc_send_decline()
817 dclc.hdr.length = htons(send_len); in smc_clc_send_decline()
821 vec.iov_len = send_len; in smc_clc_send_decline()
822 len = kernel_sendmsg(smc->clcsock, &msg, &vec, 1, send_len); in smc_clc_send_decline()
823 if (len < 0 || len < send_len) in smc_clc_send_decline()
/openbmc/linux/drivers/hid/i2c-hid/
H A Di2c-hid-core.c167 u8 *send_buf, int send_len, u8 *recv_buf, int recv_len) in i2c_hid_xfer() argument
174 if (send_len) { in i2c_hid_xfer()
176 __func__, send_len, send_buf); in i2c_hid_xfer()
180 msgs[n].len = send_len; in i2c_hid_xfer()
/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H A Dhtc_mbox.c512 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()
/openbmc/linux/fs/notify/fanotify/
H A Dfanotify_user.c966 size_t send_len = 0; in fanotify_ioctl() local
976 send_len += FAN_EVENT_METADATA_LEN; in fanotify_ioctl()
978 ret = put_user(send_len, (int __user *) p); in fanotify_ioctl()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4.h2125 const dma_addr_t *addr, u32 start, u32 send_len);