Home
last modified time | relevance | path

Searched refs:padding (Results 1 – 12 of 12) sorted by relevance

/net/netfilter/ipset/
Dip_set_hash_ipport.c46 u8 padding; member
53 u8 padding; member
61 u8 padding; member
69 u8 padding; member
231 u8 padding; member
238 u8 padding; member
246 u8 padding; member
254 u8 padding; member
Dip_set_hash_ipportip.c47 u8 padding; member
55 u8 padding; member
64 u8 padding; member
73 u8 padding; member
241 u8 padding; member
249 u8 padding; member
258 u8 padding; member
267 u8 padding; member
/net/dccp/
Doptions.c572 int padding = DCCP_SKB_CB(skb)->dccpd_opt_len % 4; in dccp_insert_option_padding() local
574 if (padding != 0) { in dccp_insert_option_padding()
575 padding = 4 - padding; in dccp_insert_option_padding()
576 memset(skb_push(skb, padding), 0, padding); in dccp_insert_option_padding()
577 DCCP_SKB_CB(skb)->dccpd_opt_len += padding; in dccp_insert_option_padding()
/net/sctp/
Doutput.c399 int padding; /* How much padding do we need? */ in sctp_packet_transmit() local
493 padding = WORD_ROUND(chunk->skb->len) - chunk->skb->len; in sctp_packet_transmit()
494 if (padding) in sctp_packet_transmit()
495 memset(skb_put(chunk->skb, padding), 0, padding); in sctp_packet_transmit()
Dulpevent.c689 size_t padding, len; in sctp_ulpevent_make_rcvmsg() local
736 padding = WORD_ROUND(len) - len; in sctp_ulpevent_make_rcvmsg()
739 skb_trim(skb, chunk->chunk_end - padding - skb->data); in sctp_ulpevent_make_rcvmsg()
Dsm_make_chunk.c1442 void *padding; in sctp_addto_chunk() local
1446 padding = skb_put(chunk->skb, padlen); in sctp_addto_chunk()
1449 memset(padding, 0, padlen); in sctp_addto_chunk()
/net/sunrpc/auth_gss/
Dgss_krb5_wrap.c51 int padding = gss_krb5_padding(blocksize, buf->len - offset); in gss_krb5_add_padding() local
60 iov->iov_len += padding; in gss_krb5_add_padding()
61 buf->len += padding; in gss_krb5_add_padding()
62 memset(p, padding, padding); in gss_krb5_add_padding()
/net/sunrpc/xprtrdma/
Dxprt_rdma.h234 unsigned int padding; /* non-rdma write header padding */ member
244 rpcx_to_rdmad(rq->rq_xprt).padding
Dverbs.c692 ep->rep_attr.cap.max_send_sge = (cdata->padding ? 4 : 2); in rpcrdma_ep_create()
989 len += cdata->padding; in rpcrdma_buffer_create()
1027 if (cdata->padding) { in rpcrdma_buffer_create()
1028 rc = rpcrdma_register_internal(ia, p, cdata->padding, in rpcrdma_buffer_create()
1033 p += cdata->padding; in rpcrdma_buffer_create()
Dtransport.c336 cdata.padding = xprt_rdma_inline_write_padding; in xprt_setup_rdma()
/net/sunrpc/
Dxdr.c65 unsigned int padding = (quadlen << 2) - nbytes; in xdr_encode_opaque_fixed() local
69 if (padding != 0) in xdr_encode_opaque_fixed()
70 memset((char *)p + nbytes, 0, padding); in xdr_encode_opaque_fixed()
774 unsigned int padding; in xdr_read_pages() local
780 padding = (nwords << 2) - len; in xdr_read_pages()
783 end = ((xdr->nwords - nwords) << 2) + padding; in xdr_read_pages()
791 xdr->p = (__be32 *)((char *)iov->iov_base + padding); in xdr_read_pages()
794 xdr->nwords = XDR_QUADLEN(end - padding); in xdr_read_pages()
/net/wireless/
Dutil.c589 u8 padding; in ieee80211_amsdu_to_8023s() local
597 padding = (4 - subframe_len) & 0x3; in ieee80211_amsdu_to_8023s()
604 if (remaining <= subframe_len + padding) in ieee80211_amsdu_to_8023s()
621 padding); in ieee80211_amsdu_to_8023s()