Searched refs:bufflen (Results 1 – 3 of 3) sorted by relevance
/tools/usb/usbip/src/ |
D | usbip_network.c | 95 static ssize_t usbip_net_xmit(int sockfd, void *buff, size_t bufflen, in usbip_net_xmit() argument 101 if (!bufflen) in usbip_net_xmit() 106 nbytes = send(sockfd, buff, bufflen, 0); in usbip_net_xmit() 108 nbytes = recv(sockfd, buff, bufflen, MSG_WAITALL); in usbip_net_xmit() 114 bufflen -= nbytes; in usbip_net_xmit() 117 } while (bufflen > 0); in usbip_net_xmit() 122 ssize_t usbip_net_recv(int sockfd, void *buff, size_t bufflen) in usbip_net_recv() argument 124 return usbip_net_xmit(sockfd, buff, bufflen, 0); in usbip_net_recv() 127 ssize_t usbip_net_send(int sockfd, void *buff, size_t bufflen) in usbip_net_send() argument 129 return usbip_net_xmit(sockfd, buff, bufflen, 1); in usbip_net_send()
|
D | usbip_network.h | 174 ssize_t usbip_net_recv(int sockfd, void *buff, size_t bufflen); 175 ssize_t usbip_net_send(int sockfd, void *buff, size_t bufflen);
|
/tools/bpf/bpftool/ |
D | common.c | 81 mnt_fs(const char *target, const char *type, char *buff, size_t bufflen) in mnt_fs() argument 87 snprintf(buff, bufflen, in mnt_fs() 94 snprintf(buff, bufflen, in mnt_fs() 104 snprintf(buff, bufflen, "mount -t %s %s %s failed: %s", in mnt_fs()
|