Lines Matching refs:sptr
149 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()
401 if (!errcode && pdu_write(pdu, sptr, len)) in p9pdu_vwritef()