Home
last modified time | relevance | path

Searched refs:mlen (Results 1 – 8 of 8) sorted by relevance

/net/sched/
Dact_ife.c623 u16 metaid, u16 mlen, void *mdata) in find_decode_metaid() argument
632 return e->ops->decode(skb, mdata, mlen); in find_decode_metaid()
680 u16 mlen = tlv->len; in tcf_ife_decode() local
684 mlen = ntohs(mlen); in tcf_ife_decode()
685 alen = NLA_ALIGN(mlen); in tcf_ife_decode()
687 if (find_decode_metaid(skb, ife, mtype, (mlen - NLA_HDRLEN), in tcf_ife_decode()
693 mtype, mlen); in tcf_ife_decode()
/net/sunrpc/
Dsvcauth_unix.c164 char *mesg, int mlen) in ip_map_parse() argument
184 if (mesg[mlen-1] != '\n') in ip_map_parse()
186 mesg[mlen-1] = 0; in ip_map_parse()
193 len = qword_get(&mesg, buf, mlen); in ip_map_parse()
219 len = qword_get(&mesg, buf, mlen); in ip_map_parse()
476 char *mesg, int mlen) in unix_gid_parse() argument
488 if (mesg[mlen - 1] != '\n') in unix_gid_parse()
490 mesg[mlen-1] = 0; in unix_gid_parse()
Drpc_pipe.c106 size_t mlen = min(msg->len - msg->copied, buflen); in rpc_pipe_generic_upcall() local
109 left = copy_to_user(dst, data, mlen); in rpc_pipe_generic_upcall()
110 if (left == mlen) { in rpc_pipe_generic_upcall()
115 mlen -= left; in rpc_pipe_generic_upcall()
116 msg->copied += mlen; in rpc_pipe_generic_upcall()
118 return mlen; in rpc_pipe_generic_upcall()
/net/sunrpc/auth_gss/
Dsvcauth_gss.c186 char *mesg, int mlen) in rsi_parse() argument
198 len = qword_get(&mesg, buf, mlen); in rsi_parse()
206 len = qword_get(&mesg, buf, mlen); in rsi_parse()
226 len = qword_get(&mesg, buf, mlen); in rsi_parse()
232 len = qword_get(&mesg, buf, mlen); in rsi_parse()
240 len = qword_get(&mesg, buf, mlen); in rsi_parse()
248 len = qword_get(&mesg, buf, mlen); in rsi_parse()
408 char *mesg, int mlen) in rsc_parse() argument
421 len = qword_get(&mesg, buf, mlen); in rsc_parse()
487 len = qword_get(&mesg, buf, mlen); in rsc_parse()
[all …]
Dauth_gss.c680 gss_pipe_downcall(struct file *filp, const char __user *src, size_t mlen) in gss_pipe_downcall() argument
691 if (mlen > MSG_BUF_MAXSIZE) in gss_pipe_downcall()
694 buf = kmalloc(mlen, GFP_NOFS); in gss_pipe_downcall()
699 if (copy_from_user(buf, src, mlen)) in gss_pipe_downcall()
702 end = (const void *)((char *)buf + mlen); in gss_pipe_downcall()
738 err = mlen; in gss_pipe_downcall()
754 err = mlen; in gss_pipe_downcall()
/net/netfilter/
Dnf_conntrack_sip.c237 unsigned int mlen; in ct_sip_parse_request() local
242 mlen = string_len(ct, dptr, limit, NULL); in ct_sip_parse_request()
243 if (!mlen) in ct_sip_parse_request()
245 dptr += mlen; in ct_sip_parse_request()
/net/wireless/
Dmlme.c486 int mlen = min(match_len, reg->match_len); in cfg80211_mlme_register_mgmt() local
491 if (memcmp(reg->match, match_data, mlen) == 0) { in cfg80211_mlme_register_mgmt()
/net/core/
Dfilter.c1679 unsigned int mlen = skb->network_header - skb->mac_header; in __bpf_redirect_no_mac() local
1681 __skb_pull(skb, mlen); in __bpf_redirect_no_mac()
1689 skb_postpull_rcsum(skb, skb_mac_header(skb), mlen); in __bpf_redirect_no_mac()