Searched refs:padding (Results 1 – 10 of 10) sorted by relevance
/net/sunrpc/auth_gss/ |
D | gss_krb5_wrap.c | 25 int padding = gss_krb5_padding(blocksize, buf->len - offset); in gss_krb5_add_padding() local 34 iov->iov_len += padding; in gss_krb5_add_padding() 35 buf->len += padding; in gss_krb5_add_padding() 36 memset(p, padding, padding); in gss_krb5_add_padding()
|
/net/dccp/ |
D | options.c | 515 int padding = DCCP_SKB_CB(skb)->dccpd_opt_len % 4; in dccp_insert_option_padding() local 517 if (padding != 0) { in dccp_insert_option_padding() 518 padding = 4 - padding; in dccp_insert_option_padding() 519 memset(skb_push(skb, padding), 0, padding); in dccp_insert_option_padding() 520 DCCP_SKB_CB(skb)->dccpd_opt_len += padding; in dccp_insert_option_padding()
|
/net/sctp/ |
D | output.c | 375 int padding; /* How much padding do we need? */ in sctp_packet_transmit() local 478 padding = WORD_ROUND(chunk->skb->len) - chunk->skb->len; in sctp_packet_transmit() 479 if (padding) in sctp_packet_transmit() 480 memset(skb_put(chunk->skb, padding), 0, padding); in sctp_packet_transmit()
|
D | ulpevent.c | 688 size_t padding, len; in sctp_ulpevent_make_rcvmsg() local 733 padding = WORD_ROUND(len) - len; in sctp_ulpevent_make_rcvmsg() 736 skb_trim(skb, chunk->chunk_end - padding - skb->data); in sctp_ulpevent_make_rcvmsg()
|
D | sm_make_chunk.c | 1342 void *padding; in sctp_addto_chunk() local 1346 padding = skb_put(chunk->skb, padlen); in sctp_addto_chunk() 1349 memset(padding, 0, padlen); in sctp_addto_chunk()
|
/net/sunrpc/xprtrdma/ |
D | xprt_rdma.h | 233 unsigned int padding; /* non-rdma write header padding */ member 243 rpcx_to_rdmad(rq->rq_task->tk_xprt).padding
|
D | verbs.c | 669 ep->rep_attr.cap.max_send_sge = (cdata->padding ? 4 : 2); in rpcrdma_ep_create() 966 len += cdata->padding; in rpcrdma_buffer_create() 1004 if (cdata->padding) { in rpcrdma_buffer_create() 1005 rc = rpcrdma_register_internal(ia, p, cdata->padding, in rpcrdma_buffer_create() 1010 p += cdata->padding; in rpcrdma_buffer_create()
|
D | transport.c | 390 cdata.padding = xprt_rdma_inline_write_padding; in xprt_setup_rdma()
|
/net/sunrpc/ |
D | xdr.c | 64 unsigned int padding = (quadlen << 2) - nbytes; in xdr_encode_opaque_fixed() local 68 if (padding != 0) in xdr_encode_opaque_fixed() 69 memset((char *)p + nbytes, 0, padding); in xdr_encode_opaque_fixed() 589 int padding; in xdr_read_pages() local 600 padding = (XDR_QUADLEN(len) << 2) - len; in xdr_read_pages() 613 xdr->p = (__be32 *)((char *)iov->iov_base + padding); in xdr_read_pages()
|
/net/mac80211/ |
D | rx.c | 1324 u8 padding; in ieee80211_rx_h_amsdu() local 1332 padding = ((4 - subframe_len) & 0x3); in ieee80211_rx_h_amsdu() 1339 if (remaining <= subframe_len + padding) in ieee80211_rx_h_amsdu() 1354 padding); in ieee80211_rx_h_amsdu()
|