Searched refs:chunk_len (Results 1 – 6 of 6) sorted by relevance
/net/smc/ |
D | smc_rx.c | 285 size_t chunk_len, chunk_off, chunk_len_sum; in smc_rx_recvmsg() local 396 chunk_len = min_t(size_t, copylen, conn->rmb_desc->len - in smc_rx_recvmsg() 398 chunk_len_sum = chunk_len; in smc_rx_recvmsg() 406 chunk_len); in smc_rx_recvmsg() 409 chunk_off, chunk_len, in smc_rx_recvmsg() 419 read_remaining -= chunk_len; in smc_rx_recvmsg() 420 read_done += chunk_len; in smc_rx_recvmsg() 425 chunk_len = copylen - chunk_len; /* remainder */ in smc_rx_recvmsg() 426 chunk_len_sum += chunk_len; in smc_rx_recvmsg()
|
D | smc_tx.c | 140 size_t chunk_len, chunk_off, chunk_len_sum; in smc_tx_sendmsg() local 200 chunk_len = min_t(size_t, copylen, conn->sndbuf_desc->len - in smc_tx_sendmsg() 202 chunk_len_sum = chunk_len; in smc_tx_sendmsg() 207 msg, chunk_len); in smc_tx_sendmsg() 214 send_done += chunk_len; in smc_tx_sendmsg() 215 send_remaining -= chunk_len; in smc_tx_sendmsg() 220 chunk_len = copylen - chunk_len; /* remainder */ in smc_tx_sendmsg() 221 chunk_len_sum += chunk_len; in smc_tx_sendmsg()
|
/net/nfc/nci/ |
D | uart.c | 241 int chunk_len; in nci_uart_default_recv_buf() local 278 chunk_len = nu->rx_packet_len - nu->rx_skb->len; in nci_uart_default_recv_buf() 279 if (count < chunk_len) in nci_uart_default_recv_buf() 280 chunk_len = count; in nci_uart_default_recv_buf() 281 skb_put_data(nu->rx_skb, data, chunk_len); in nci_uart_default_recv_buf() 282 data += chunk_len; in nci_uart_default_recv_buf() 283 count -= chunk_len; in nci_uart_default_recv_buf()
|
/net/sctp/ |
D | output.c | 53 u16 chunk_len); 330 __u16 chunk_len = SCTP_PAD4(ntohs(chunk->chunk_hdr->length)); in __sctp_packet_append_chunk() local 334 retval = sctp_packet_will_fit(packet, chunk, chunk_len); in __sctp_packet_append_chunk() 373 packet->size += chunk_len; in __sctp_packet_append_chunk() 782 u16 chunk_len) in sctp_packet_will_fit() argument 804 if (psize + chunk_len > pmtu) { in sctp_packet_will_fit() 830 if (chunk_len > maxsize) in sctp_packet_will_fit() 842 if (psize + chunk_len > packet->max_size) in sctp_packet_will_fit() 847 psize + chunk_len > (packet->transport->cwnd >> 1)) in sctp_packet_will_fit() 854 psize + chunk_len > (packet->transport->burst_limited >> 1)) in sctp_packet_will_fit()
|
D | sm_make_chunk.c | 3281 int length = 0, chunk_len; in sctp_process_asconf() local 3287 chunk_len = ntohs(asconf->chunk_hdr->length) - in sctp_process_asconf() 3295 chunk_len -= length; in sctp_process_asconf() 3301 chunk_len -= length; in sctp_process_asconf() 3308 asconf_ack = sctp_make_asconf_ack(asoc, serial, chunk_len * 4); in sctp_process_asconf()
|
/net/ceph/ |
D | crypto.c | 168 unsigned int chunk_len = PAGE_ALIGN(off + buf_len); in setup_sgtable() local 178 chunk_cnt = chunk_len >> PAGE_SHIFT; in setup_sgtable() 179 chunk_len = PAGE_SIZE; in setup_sgtable() 195 unsigned int len = min(chunk_len - off, buf_len); in setup_sgtable()
|