Home
last modified time | relevance | path

Searched refs:sptr (Results 1 – 3 of 3) sorted by relevance

/net/9p/
Dprotocol.c149 char **sptr = va_arg(ap, char **); in p9pdu_vreadf() local
157 *sptr = kmalloc(len + 1, GFP_NOFS); in p9pdu_vreadf()
158 if (*sptr == NULL) { in p9pdu_vreadf()
162 if (pdu_read(pdu, *sptr, len)) { in p9pdu_vreadf()
164 kfree(*sptr); in p9pdu_vreadf()
165 *sptr = NULL; in p9pdu_vreadf()
167 (*sptr)[len] = 0; in p9pdu_vreadf()
393 const char *sptr = va_arg(ap, const char *); in p9pdu_vwritef() local
395 if (sptr) in p9pdu_vwritef()
396 len = min_t(size_t, strlen(sptr), in p9pdu_vwritef()
[all …]
/net/ipv4/
Dip_options.c92 unsigned char *sptr, *dptr; in __ip_options_echo() local
101 sptr = skb_network_header(skb); in __ip_options_echo()
105 optlen = sptr[sopt->rr+1]; in __ip_options_echo()
106 soffset = sptr[sopt->rr+2]; in __ip_options_echo()
108 memcpy(dptr, sptr+sopt->rr, optlen); in __ip_options_echo()
119 optlen = sptr[sopt->ts+1]; in __ip_options_echo()
120 soffset = sptr[sopt->ts+2]; in __ip_options_echo()
122 memcpy(dptr, sptr+sopt->ts, optlen); in __ip_options_echo()
156 unsigned char *start = sptr+sopt->srr; in __ip_options_echo()
191 optlen = sptr[sopt->cipso+1]; in __ip_options_echo()
[all …]
/net/core/
Dsock.c1311 void *sptr = nsk->sk_security; in sock_copy() local
1319 nsk->sk_security = sptr; in sock_copy()