Home
last modified time | relevance | path

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

/net/sunrpc/
A Dsvcauth_unix.c179 char *mesg, int mlen) in ip_map_parse() argument
199 if (mesg[mlen-1] != '\n') in ip_map_parse()
201 mesg[mlen-1] = 0; in ip_map_parse()
208 len = qword_get(&mesg, buf, mlen); in ip_map_parse()
234 len = qword_get(&mesg, buf, mlen); in ip_map_parse()
488 char *mesg, int mlen) in unix_gid_parse() argument
500 if (mesg[mlen - 1] != '\n') in unix_gid_parse()
502 mesg[mlen-1] = 0; in unix_gid_parse()
A Drpc_pipe.c108 size_t mlen = min(msg->len - msg->copied, buflen); in rpc_pipe_generic_upcall() local
111 left = copy_to_user(dst, data, mlen); in rpc_pipe_generic_upcall()
112 if (left == mlen) { in rpc_pipe_generic_upcall()
117 mlen -= left; in rpc_pipe_generic_upcall()
118 msg->copied += mlen; in rpc_pipe_generic_upcall()
120 return mlen; in rpc_pipe_generic_upcall()
/net/sunrpc/auth_gss/
A Dsvcauth_gss.c226 char *mesg, int mlen) in rsi_parse() argument
238 len = qword_get(&mesg, buf, mlen); in rsi_parse()
246 len = qword_get(&mesg, buf, mlen); in rsi_parse()
266 len = qword_get(&mesg, buf, mlen); in rsi_parse()
272 len = qword_get(&mesg, buf, mlen); in rsi_parse()
280 len = qword_get(&mesg, buf, mlen); in rsi_parse()
288 len = qword_get(&mesg, buf, mlen); in rsi_parse()
465 char *mesg, int mlen) in rsc_parse() argument
478 len = qword_get(&mesg, buf, mlen); in rsc_parse()
544 len = qword_get(&mesg, buf, mlen); in rsc_parse()
[all …]
A Dauth_gss.c723 gss_pipe_downcall(struct file *filp, const char __user *src, size_t mlen) in gss_pipe_downcall() argument
734 if (mlen > MSG_BUF_MAXSIZE) in gss_pipe_downcall()
737 buf = kmalloc(mlen, GFP_KERNEL); in gss_pipe_downcall()
742 if (copy_from_user(buf, src, mlen)) in gss_pipe_downcall()
745 end = (const void *)((char *)buf + mlen); in gss_pipe_downcall()
781 err = mlen; in gss_pipe_downcall()
797 err = mlen; in gss_pipe_downcall()
/net/tipc/
A Dmsg.c210 int mlen, cpy, rem = dlen; in tipc_msg_append() local
233 mlen = msg_size(hdr); in tipc_msg_append()
234 cpy = min_t(size_t, rem, mss - mlen); in tipc_msg_append()
235 if (cpy != copy_from_iter(skb->data + mlen, cpy, &m->msg_iter)) in tipc_msg_append()
237 msg_set_size(hdr, mlen + cpy); in tipc_msg_append()
/net/netfilter/
A Dnf_conntrack_sip.c243 unsigned int mlen; in ct_sip_parse_request() local
248 mlen = string_len(ct, dptr, limit, NULL); in ct_sip_parse_request()
249 if (!mlen) in ct_sip_parse_request()
251 dptr += mlen; in ct_sip_parse_request()
/net/sched/
A Dact_ife.c695 u16 metaid, u16 mlen, void *mdata) in find_decode_metaid() argument
704 return e->ops->decode(skb, mdata, mlen); in find_decode_metaid()
/net/wireless/
A Dmlme.c714 int mlen = min(match_len, reg->match_len); in cfg80211_mlme_register_mgmt() local
719 if (memcmp(reg->match, match_data, mlen) == 0) { in cfg80211_mlme_register_mgmt()
/net/core/
A Dfilter.c2162 unsigned int mlen = skb_network_offset(skb); in __bpf_redirect_no_mac() local
2164 if (unlikely(skb->len <= mlen)) { in __bpf_redirect_no_mac()
2169 if (mlen) { in __bpf_redirect_no_mac()
2170 __skb_pull(skb, mlen); in __bpf_redirect_no_mac()
2178 skb_postpull_rcsum(skb, skb_mac_header(skb), mlen); in __bpf_redirect_no_mac()

Completed in 55 milliseconds