strp              123 arch/mips/pmcs-msp71xx/msp_usb.c 	char		*strp;
strp              142 arch/mips/pmcs-msp71xx/msp_usb.c 	strp = prom_getenv(&envstr[0]);
strp              143 arch/mips/pmcs-msp71xx/msp_usb.c 	if (strp) {
strp              145 arch/mips/pmcs-msp71xx/msp_usb.c 		if (!strcmp(strp, "device"))
strp               73 include/linux/skmsg.h 	struct strparser		strp;
strp               91 include/net/kcm.h 	struct strparser strp;
strp               44 include/net/strparser.h 	int (*parse_msg)(struct strparser *strp, struct sk_buff *skb);
strp               45 include/net/strparser.h 	void (*rcv_msg)(struct strparser *strp, struct sk_buff *skb);
strp               46 include/net/strparser.h 	int (*read_sock_done)(struct strparser *strp, int err);
strp               47 include/net/strparser.h 	void (*abort_parser)(struct strparser *strp, int err);
strp               48 include/net/strparser.h 	void (*lock)(struct strparser *strp);
strp               49 include/net/strparser.h 	void (*unlock)(struct strparser *strp);
strp               83 include/net/strparser.h static inline void strp_pause(struct strparser *strp)
strp               85 include/net/strparser.h 	strp->paused = 1;
strp               89 include/net/strparser.h void strp_unpause(struct strparser *strp);
strp               91 include/net/strparser.h void __strp_unpause(struct strparser *strp);
strp               93 include/net/strparser.h static inline void save_strp_stats(struct strparser *strp,
strp               99 include/net/strparser.h 				 strp->stats._stat)
strp              109 include/net/strparser.h 	if (strp->aborted)
strp              111 include/net/strparser.h 	if (strp->interrupted)
strp              113 include/net/strparser.h 	if (strp->unrecov_intr)
strp              135 include/net/strparser.h void strp_done(struct strparser *strp);
strp              136 include/net/strparser.h void strp_stop(struct strparser *strp);
strp              137 include/net/strparser.h void strp_check_rcv(struct strparser *strp);
strp              138 include/net/strparser.h int strp_init(struct strparser *strp, struct sock *sk,
strp              140 include/net/strparser.h void strp_data_ready(struct strparser *strp);
strp              141 include/net/strparser.h int strp_process(struct strparser *strp, struct sk_buff *orig_skb,
strp              173 include/net/tls.h 	struct strparser strp;
strp              570 net/core/skmsg.c 		strp_done(&psock->parser.strp);
strp              681 net/core/skmsg.c static struct sk_psock *sk_psock_from_strp(struct strparser *strp)
strp              685 net/core/skmsg.c 	parser = container_of(strp, struct sk_psock_parser, strp);
strp              741 net/core/skmsg.c static void sk_psock_strp_read(struct strparser *strp, struct sk_buff *skb)
strp              743 net/core/skmsg.c 	struct sk_psock *psock = sk_psock_from_strp(strp);
strp              759 net/core/skmsg.c static int sk_psock_strp_read_done(struct strparser *strp, int err)
strp              764 net/core/skmsg.c static int sk_psock_strp_parse(struct strparser *strp, struct sk_buff *skb)
strp              766 net/core/skmsg.c 	struct sk_psock *psock = sk_psock_from_strp(strp);
strp              787 net/core/skmsg.c 		strp_data_ready(&psock->parser.strp);
strp              819 net/core/skmsg.c 	return strp_init(&psock->parser.strp, sk, &cb);
strp              844 net/core/skmsg.c 	strp_stop(&parser->strp);
strp              145 net/kcm/kcmproc.c 		   psock->strp.stats.msgs,
strp              146 net/kcm/kcmproc.c 		   psock->strp.stats.bytes,
strp              160 net/kcm/kcmproc.c 	if (psock->strp.stopped)
strp              166 net/kcm/kcmproc.c 	if (!psock->strp.paused && !psock->ready_rx_msg) {
strp              168 net/kcm/kcmproc.c 			if (psock->strp.need_bytes)
strp              170 net/kcm/kcmproc.c 					   psock->strp.need_bytes);
strp              175 net/kcm/kcmproc.c 		if (psock->strp.paused)
strp              273 net/kcm/kcmproc.c 			save_strp_stats(&psock->strp, &strp_stats);
strp               96 net/kcm/kcmsock.c 		       psock->strp.stats.bytes -
strp               99 net/kcm/kcmsock.c 		psock->strp.stats.msgs - psock->saved_rx_msgs;
strp              100 net/kcm/kcmsock.c 	psock->saved_rx_msgs = psock->strp.stats.msgs;
strp              101 net/kcm/kcmsock.c 	psock->saved_rx_bytes = psock->strp.stats.bytes;
strp              157 net/kcm/kcmsock.c 		strp_unpause(&psock->strp);
strp              158 net/kcm/kcmsock.c 		strp_check_rcv(&psock->strp);
strp              272 net/kcm/kcmsock.c 		strp_pause(&psock->strp);
strp              350 net/kcm/kcmsock.c 		strp_data_ready(&psock->strp);
strp              356 net/kcm/kcmsock.c static void kcm_rcv_strparser(struct strparser *strp, struct sk_buff *skb)
strp              358 net/kcm/kcmsock.c 	struct kcm_psock *psock = container_of(strp, struct kcm_psock, strp);
strp              377 net/kcm/kcmsock.c static int kcm_parse_func_strparser(struct strparser *strp, struct sk_buff *skb)
strp              379 net/kcm/kcmsock.c 	struct kcm_psock *psock = container_of(strp, struct kcm_psock, strp);
strp              389 net/kcm/kcmsock.c static int kcm_read_sock_done(struct strparser *strp, int err)
strp              391 net/kcm/kcmsock.c 	struct kcm_psock *psock = container_of(strp, struct kcm_psock, strp);
strp             1416 net/kcm/kcmsock.c 	err = strp_init(&psock->strp, csk, &cb);
strp             1429 net/kcm/kcmsock.c 		strp_stop(&psock->strp);
strp             1430 net/kcm/kcmsock.c 		strp_done(&psock->strp);
strp             1467 net/kcm/kcmsock.c 	strp_check_rcv(&psock->strp);
strp             1520 net/kcm/kcmsock.c 	strp_stop(&psock->strp);
strp             1546 net/kcm/kcmsock.c 	strp_done(&psock->strp);
strp             1554 net/kcm/kcmsock.c 	save_strp_stats(&psock->strp, &mux->aggregate_strp_stats);
strp               34 net/strparser/strparser.c 	struct strp_msg strp;
strp               45 net/strparser/strparser.c static void strp_abort_strp(struct strparser *strp, int err)
strp               49 net/strparser/strparser.c 	cancel_delayed_work(&strp->msg_timer_work);
strp               51 net/strparser/strparser.c 	if (strp->stopped)
strp               54 net/strparser/strparser.c 	strp->stopped = 1;
strp               56 net/strparser/strparser.c 	if (strp->sk) {
strp               57 net/strparser/strparser.c 		struct sock *sk = strp->sk;
strp               65 net/strparser/strparser.c static void strp_start_timer(struct strparser *strp, long timeo)
strp               68 net/strparser/strparser.c 		mod_delayed_work(strp_wq, &strp->msg_timer_work, timeo);
strp               72 net/strparser/strparser.c static void strp_parser_err(struct strparser *strp, int err,
strp               76 net/strparser/strparser.c 	kfree_skb(strp->skb_head);
strp               77 net/strparser/strparser.c 	strp->skb_head = NULL;
strp               78 net/strparser/strparser.c 	strp->cb.abort_parser(strp, err);
strp               81 net/strparser/strparser.c static inline int strp_peek_len(struct strparser *strp)
strp               83 net/strparser/strparser.c 	if (strp->sk) {
strp               84 net/strparser/strparser.c 		struct socket *sock = strp->sk->sk_socket;
strp              101 net/strparser/strparser.c 	struct strparser *strp = (struct strparser *)desc->arg.data;
strp              109 net/strparser/strparser.c 	if (strp->paused)
strp              112 net/strparser/strparser.c 	head = strp->skb_head;
strp              123 net/strparser/strparser.c 				STRP_STATS_INCR(strp->stats.mem_fail);
strp              128 net/strparser/strparser.c 				STRP_STATS_INCR(strp->stats.mem_fail);
strp              137 net/strparser/strparser.c 		if (!strp->skb_nextp) {
strp              143 net/strparser/strparser.c 				STRP_STATS_INCR(strp->stats.mem_fail);
strp              162 net/strparser/strparser.c 					STRP_STATS_INCR(strp->stats.mem_fail);
strp              167 net/strparser/strparser.c 				strp->skb_nextp = &head->next;
strp              168 net/strparser/strparser.c 				strp->skb_head = skb;
strp              171 net/strparser/strparser.c 				strp->skb_nextp =
strp              181 net/strparser/strparser.c 			STRP_STATS_INCR(strp->stats.mem_fail);
strp              188 net/strparser/strparser.c 		head = strp->skb_head;
strp              191 net/strparser/strparser.c 			strp->skb_head = head;
strp              193 net/strparser/strparser.c 			strp->skb_nextp = NULL;
strp              196 net/strparser/strparser.c 			stm->strp.offset = orig_offset + eaten;
strp              204 net/strparser/strparser.c 					STRP_STATS_INCR(strp->stats.mem_fail);
strp              211 net/strparser/strparser.c 			*strp->skb_nextp = skb;
strp              212 net/strparser/strparser.c 			strp->skb_nextp = &skb->next;
strp              218 net/strparser/strparser.c 		if (!stm->strp.full_len) {
strp              221 net/strparser/strparser.c 			len = (*strp->cb.parse_msg)(strp, head);
strp              227 net/strparser/strparser.c 					strp_start_timer(strp, timeo);
strp              231 net/strparser/strparser.c 				STRP_STATS_INCR(strp->stats.need_more_hdr);
strp              237 net/strparser/strparser.c 					strp->unrecov_intr = 1;
strp              239 net/strparser/strparser.c 					strp->interrupted = 1;
strp              241 net/strparser/strparser.c 				strp_parser_err(strp, len, desc);
strp              245 net/strparser/strparser.c 				STRP_STATS_INCR(strp->stats.msg_too_big);
strp              246 net/strparser/strparser.c 				strp_parser_err(strp, -EMSGSIZE, desc);
strp              249 net/strparser/strparser.c 					  skb->len - stm->strp.offset) {
strp              253 net/strparser/strparser.c 				STRP_STATS_INCR(strp->stats.bad_hdr_len);
strp              254 net/strparser/strparser.c 				strp_parser_err(strp, -EPROTO, desc);
strp              258 net/strparser/strparser.c 			stm->strp.full_len = len;
strp              262 net/strparser/strparser.c 			stm->strp.full_len;
strp              266 net/strparser/strparser.c 			if (stm->strp.full_len - stm->accum_len >
strp              267 net/strparser/strparser.c 			    strp_peek_len(strp)) {
strp              277 net/strparser/strparser.c 					strp_start_timer(strp, timeo);
strp              282 net/strparser/strparser.c 				strp->need_bytes = stm->strp.full_len -
strp              284 net/strparser/strparser.c 				STRP_STATS_ADD(strp->stats.bytes, cand_len);
strp              303 net/strparser/strparser.c 		cancel_delayed_work(&strp->msg_timer_work);
strp              304 net/strparser/strparser.c 		strp->skb_head = NULL;
strp              305 net/strparser/strparser.c 		strp->need_bytes = 0;
strp              306 net/strparser/strparser.c 		STRP_STATS_INCR(strp->stats.msgs);
strp              309 net/strparser/strparser.c 		strp->cb.rcv_msg(strp, head);
strp              311 net/strparser/strparser.c 		if (unlikely(strp->paused)) {
strp              320 net/strparser/strparser.c 	STRP_STATS_ADD(strp->stats.bytes, eaten);
strp              325 net/strparser/strparser.c int strp_process(struct strparser *strp, struct sk_buff *orig_skb,
strp              331 net/strparser/strparser.c 	desc.arg.data = strp;
strp              341 net/strparser/strparser.c 	struct strparser *strp = (struct strparser *)desc->arg.data;
strp              344 net/strparser/strparser.c 			   strp->sk->sk_rcvbuf, strp->sk->sk_rcvtimeo);
strp              347 net/strparser/strparser.c static int default_read_sock_done(struct strparser *strp, int err)
strp              353 net/strparser/strparser.c static int strp_read_sock(struct strparser *strp)
strp              355 net/strparser/strparser.c 	struct socket *sock = strp->sk->sk_socket;
strp              361 net/strparser/strparser.c 	desc.arg.data = strp;
strp              366 net/strparser/strparser.c 	sock->ops->read_sock(strp->sk, &desc, strp_recv);
strp              368 net/strparser/strparser.c 	desc.error = strp->cb.read_sock_done(strp, desc.error);
strp              374 net/strparser/strparser.c void strp_data_ready(struct strparser *strp)
strp              376 net/strparser/strparser.c 	if (unlikely(strp->stopped) || strp->paused)
strp              386 net/strparser/strparser.c 	if (sock_owned_by_user_nocheck(strp->sk)) {
strp              387 net/strparser/strparser.c 		queue_work(strp_wq, &strp->work);
strp              391 net/strparser/strparser.c 	if (strp->need_bytes) {
strp              392 net/strparser/strparser.c 		if (strp_peek_len(strp) < strp->need_bytes)
strp              396 net/strparser/strparser.c 	if (strp_read_sock(strp) == -ENOMEM)
strp              397 net/strparser/strparser.c 		queue_work(strp_wq, &strp->work);
strp              401 net/strparser/strparser.c static void do_strp_work(struct strparser *strp)
strp              406 net/strparser/strparser.c 	strp->cb.lock(strp);
strp              408 net/strparser/strparser.c 	if (unlikely(strp->stopped))
strp              411 net/strparser/strparser.c 	if (strp->paused)
strp              414 net/strparser/strparser.c 	if (strp_read_sock(strp) == -ENOMEM)
strp              415 net/strparser/strparser.c 		queue_work(strp_wq, &strp->work);
strp              418 net/strparser/strparser.c 	strp->cb.unlock(strp);
strp              428 net/strparser/strparser.c 	struct strparser *strp = container_of(w, struct strparser,
strp              432 net/strparser/strparser.c 	STRP_STATS_INCR(strp->stats.msg_timeouts);
strp              433 net/strparser/strparser.c 	strp->cb.lock(strp);
strp              434 net/strparser/strparser.c 	strp->cb.abort_parser(strp, -ETIMEDOUT);
strp              435 net/strparser/strparser.c 	strp->cb.unlock(strp);
strp              438 net/strparser/strparser.c static void strp_sock_lock(struct strparser *strp)
strp              440 net/strparser/strparser.c 	lock_sock(strp->sk);
strp              443 net/strparser/strparser.c static void strp_sock_unlock(struct strparser *strp)
strp              445 net/strparser/strparser.c 	release_sock(strp->sk);
strp              448 net/strparser/strparser.c int strp_init(struct strparser *strp, struct sock *sk,
strp              471 net/strparser/strparser.c 	memset(strp, 0, sizeof(*strp));
strp              473 net/strparser/strparser.c 	strp->sk = sk;
strp              475 net/strparser/strparser.c 	strp->cb.lock = cb->lock ? : strp_sock_lock;
strp              476 net/strparser/strparser.c 	strp->cb.unlock = cb->unlock ? : strp_sock_unlock;
strp              477 net/strparser/strparser.c 	strp->cb.rcv_msg = cb->rcv_msg;
strp              478 net/strparser/strparser.c 	strp->cb.parse_msg = cb->parse_msg;
strp              479 net/strparser/strparser.c 	strp->cb.read_sock_done = cb->read_sock_done ? : default_read_sock_done;
strp              480 net/strparser/strparser.c 	strp->cb.abort_parser = cb->abort_parser ? : strp_abort_strp;
strp              482 net/strparser/strparser.c 	INIT_DELAYED_WORK(&strp->msg_timer_work, strp_msg_timeout);
strp              483 net/strparser/strparser.c 	INIT_WORK(&strp->work, strp_work);
strp              490 net/strparser/strparser.c void __strp_unpause(struct strparser *strp)
strp              492 net/strparser/strparser.c 	strp->paused = 0;
strp              494 net/strparser/strparser.c 	if (strp->need_bytes) {
strp              495 net/strparser/strparser.c 		if (strp_peek_len(strp) < strp->need_bytes)
strp              498 net/strparser/strparser.c 	strp_read_sock(strp);
strp              502 net/strparser/strparser.c void strp_unpause(struct strparser *strp)
strp              504 net/strparser/strparser.c 	strp->paused = 0;
strp              509 net/strparser/strparser.c 	queue_work(strp_wq, &strp->work);
strp              516 net/strparser/strparser.c void strp_done(struct strparser *strp)
strp              518 net/strparser/strparser.c 	WARN_ON(!strp->stopped);
strp              520 net/strparser/strparser.c 	cancel_delayed_work_sync(&strp->msg_timer_work);
strp              521 net/strparser/strparser.c 	cancel_work_sync(&strp->work);
strp              523 net/strparser/strparser.c 	if (strp->skb_head) {
strp              524 net/strparser/strparser.c 		kfree_skb(strp->skb_head);
strp              525 net/strparser/strparser.c 		strp->skb_head = NULL;
strp              530 net/strparser/strparser.c void strp_stop(struct strparser *strp)
strp              532 net/strparser/strparser.c 	strp->stopped = 1;
strp              536 net/strparser/strparser.c void strp_check_rcv(struct strparser *strp)
strp              538 net/strparser/strparser.c 	queue_work(strp_wq, &strp->work);
strp             1604 net/tls/tls_sw.c 	__strp_unpause(&ctx->strp);
strp             2019 net/tls/tls_sw.c static int tls_read_size(struct strparser *strp, struct sk_buff *skb)
strp             2021 net/tls/tls_sw.c 	struct tls_context *tls_ctx = tls_get_ctx(strp->sk);
strp             2071 net/tls/tls_sw.c 	tls_device_rx_resync_new_rec(strp->sk, data_len + TLS_HEADER_SIZE,
strp             2076 net/tls/tls_sw.c 	tls_err_abort(strp->sk, ret);
strp             2081 net/tls/tls_sw.c static void tls_queue(struct strparser *strp, struct sk_buff *skb)
strp             2083 net/tls/tls_sw.c 	struct tls_context *tls_ctx = tls_get_ctx(strp->sk);
strp             2089 net/tls/tls_sw.c 	strp_pause(strp);
strp             2091 net/tls/tls_sw.c 	ctx->saved_data_ready(strp->sk);
strp             2100 net/tls/tls_sw.c 	strp_data_ready(&ctx->strp);
strp             2175 net/tls/tls_sw.c 		strp_stop(&ctx->strp);
strp             2192 net/tls/tls_sw.c 	strp_done(&ctx->strp);
strp             2255 net/tls/tls_sw.c 	strp_check_rcv(&rx_ctx->strp);
strp             2456 net/tls/tls_sw.c 		strp_init(&sw_ctx_rx->strp, sk, &cb);
strp               35 scripts/dtc/util.c int xavsprintf_append(char **strp, const char *fmt, va_list ap)
strp               41 scripts/dtc/util.c 	p = *strp;
strp               53 scripts/dtc/util.c 	*strp = p;
strp               57 scripts/dtc/util.c int xasprintf_append(char **strp, const char *fmt, ...)
strp               63 scripts/dtc/util.c 	n = xavsprintf_append(strp, fmt, ap);
strp               69 scripts/dtc/util.c int xasprintf(char **strp, const char *fmt, ...)
strp               74 scripts/dtc/util.c 	*strp = NULL;
strp               77 scripts/dtc/util.c 	n = xavsprintf_append(strp, fmt, ap);
strp               60 scripts/dtc/util.h extern int PRINTF(2, 3) xasprintf(char **strp, const char *fmt, ...);
strp               61 scripts/dtc/util.h extern int PRINTF(2, 3) xasprintf_append(char **strp, const char *fmt, ...);
strp               62 scripts/dtc/util.h extern int xavsprintf_append(char **strp, const char *fmt, va_list ap);
strp              312 security/apparmor/include/label.h int aa_label_asxprint(char **strp, struct aa_ns *ns, struct aa_label *label,
strp              314 security/apparmor/include/label.h int aa_label_acntsxprint(char __counted **strp, struct aa_ns *ns,
strp             1659 security/apparmor/label.c int aa_label_asxprint(char **strp, struct aa_ns *ns, struct aa_label *label,
strp             1664 security/apparmor/label.c 	AA_BUG(!strp);
strp             1671 security/apparmor/label.c 	*strp = kmalloc(size + 1, gfp);
strp             1672 security/apparmor/label.c 	if (!*strp)
strp             1674 security/apparmor/label.c 	return aa_label_snxprint(*strp, size + 1, ns, label, flags);
strp             1688 security/apparmor/label.c int aa_label_acntsxprint(char __counted **strp, struct aa_ns *ns,
strp             1693 security/apparmor/label.c 	AA_BUG(!strp);
strp             1700 security/apparmor/label.c 	*strp = aa_str_alloc(size + 1, gfp);
strp             1701 security/apparmor/label.c 	if (!*strp)
strp             1703 security/apparmor/label.c 	return aa_label_snxprint(*strp, size + 1, ns, label, flags);
strp             1059 security/selinux/ss/policydb.c static int str_read(char **strp, gfp_t flags, void *fp, u32 len)
strp             1072 security/selinux/ss/policydb.c 	*strp = str;
strp              142 tools/perf/util/build-id.c static int asnprintf(char **strp, size_t size, const char *fmt, ...)
strp              147 tools/perf/util/build-id.c 	if (!strp)
strp              151 tools/perf/util/build-id.c 	if (*strp)
strp              152 tools/perf/util/build-id.c 		ret = vsnprintf(*strp, size, fmt, ap);
strp              154 tools/perf/util/build-id.c 		ret = vasprintf(strp, fmt, ap);
strp             3036 tools/perf/util/sort.c 	char *str, *strp;
strp             3042 tools/perf/util/sort.c 	strp = str = strdup(field_order);
strp             3049 tools/perf/util/sort.c 		strp++;
strp             3051 tools/perf/util/sort.c 	if (!strlen(strp)) {
strp             3056 tools/perf/util/sort.c 	ret = setup_output_list(&perf_hpp_list, strp);