Home
last modified time | relevance | path

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

/net/9p/
Dprotocol.c154 char **sptr = va_arg(ap, char **); in p9pdu_vreadf() local
162 *sptr = kmalloc(len + 1, GFP_NOFS); in p9pdu_vreadf()
163 if (*sptr == NULL) { in p9pdu_vreadf()
167 if (pdu_read(pdu, *sptr, len)) { in p9pdu_vreadf()
169 kfree(*sptr); in p9pdu_vreadf()
170 *sptr = NULL; in p9pdu_vreadf()
172 (*sptr)[len] = 0; in p9pdu_vreadf()
398 const char *sptr = va_arg(ap, const char *); in p9pdu_vwritef() local
400 if (sptr) in p9pdu_vwritef()
401 len = min_t(size_t, strlen(sptr), in p9pdu_vwritef()
[all …]
/net/ipv4/
Dip_options.c93 unsigned char *sptr, *dptr; in __ip_options_echo() local
102 sptr = skb_network_header(skb); in __ip_options_echo()
106 optlen = sptr[sopt->rr+1]; in __ip_options_echo()
107 soffset = sptr[sopt->rr+2]; in __ip_options_echo()
109 memcpy(dptr, sptr+sopt->rr, optlen); in __ip_options_echo()
120 optlen = sptr[sopt->ts+1]; in __ip_options_echo()
121 soffset = sptr[sopt->ts+2]; in __ip_options_echo()
123 memcpy(dptr, sptr+sopt->ts, optlen); in __ip_options_echo()
157 unsigned char *start = sptr+sopt->srr; in __ip_options_echo()
192 optlen = sptr[sopt->cipso+1]; in __ip_options_echo()
[all …]
/net/core/
Dsock.c1310 void *sptr = nsk->sk_security; in sock_copy() local
1318 nsk->sk_security = sptr; in sock_copy()