/linux/net/strparser/ |
A D | strparser.c | 70 strp->cb.abort_parser(strp, err); in strp_parser_err() 213 len = (*strp->cb.parse_msg)(strp, head); in __strp_recv() 274 strp->need_bytes = stm->strp.full_len - in __strp_recv() 301 strp->cb.rcv_msg(strp, head); in __strp_recv() 368 if (unlikely(strp->stopped) || strp->paused) in strp_data_ready() 398 strp->cb.lock(strp); in do_strp_work() 410 strp->cb.unlock(strp); in do_strp_work() 425 strp->cb.lock(strp); in strp_msg_timeout() 426 strp->cb.abort_parser(strp, -ETIMEDOUT); in strp_msg_timeout() 427 strp->cb.unlock(strp); in strp_msg_timeout() [all …]
|
/linux/include/net/ |
A D | strparser.h | 48 void (*lock)(struct strparser *strp); 49 void (*unlock)(struct strparser *strp); 61 struct strp_msg strp; member 68 struct _strp_msg strp; member 78 offsetof(struct sk_skb_cb, strp)); in strp_msg() 103 strp->paused = 1; in strp_pause() 117 strp->stats._stat) in save_strp_stats() 127 if (strp->aborted) in save_strp_stats() 129 if (strp->interrupted) in save_strp_stats() 131 if (strp->unrecov_intr) in save_strp_stats() [all …]
|
A D | espintcp.h | 22 struct strparser strp; member
|
A D | kcm.h | 91 struct strparser strp; member
|
A D | tls.h | 150 struct strparser strp; member
|
/linux/net/xfrm/ |
A D | espintcp.c | 55 strp); in espintcp_rcv() 95 XFRM_INC_STATS(sock_net(strp->sk), LINUX_MIB_XFRMINERROR); in espintcp_rcv() 101 XFRM_INC_STATS(sock_net(strp->sk), LINUX_MIB_XFRMINERROR); in espintcp_rcv() 107 handle_nonesp(ctx, skb, strp->sk); in espintcp_rcv() 109 handle_esp(skb, strp->sk); in espintcp_rcv() 402 strp_data_ready(&ctx->strp); in espintcp_data_ready() 409 struct sock *sk = ctx->strp.sk; in espintcp_tx_work() 461 err = strp_init(&ctx->strp, sk, &cb); in espintcp_init_sk() 467 strp_check_rcv(&ctx->strp); in espintcp_init_sk() 522 strp_stop(&ctx->strp); in espintcp_close() [all …]
|
/linux/Documentation/networking/ |
A D | strparser.rst | 43 strp_init(struct strparser *strp, struct sock *sk, 54 void strp_pause(struct strparser *strp) 61 void strp_unpause(struct strparser *strp) 67 void strp_stop(struct strparser *strp); 76 void strp_done(struct strparser *strp); 96 void strp_data_ready(struct strparser *strp); 106 void strp_check_rcv(struct strparser *strp); 152 void (*lock)(struct strparser *strp) 162 void (*unlock)(struct strparser *strp) 187 int (*read_sock_done)(struct strparser *strp, int err); [all …]
|
/linux/scripts/dtc/ |
A D | util.c | 36 int xavsprintf_append(char **strp, const char *fmt, va_list ap) in xavsprintf_append() argument 42 p = *strp; in xavsprintf_append() 54 *strp = p; in xavsprintf_append() 58 int xasprintf_append(char **strp, const char *fmt, ...) in xasprintf_append() argument 64 n = xavsprintf_append(strp, fmt, ap); in xasprintf_append() 70 int xasprintf(char **strp, const char *fmt, ...) in xasprintf() argument 75 *strp = NULL; in xasprintf() 78 n = xavsprintf_append(strp, fmt, ap); in xasprintf()
|
A D | util.h | 65 extern int PRINTF(2, 3) xasprintf(char **strp, const char *fmt, ...); 66 extern int PRINTF(2, 3) xasprintf_append(char **strp, const char *fmt, ...); 67 extern int xavsprintf_append(char **strp, const char *fmt, va_list ap);
|
/linux/net/kcm/ |
A D | kcmproc.c | 145 psock->strp.stats.msgs, in kcm_format_psock() 146 psock->strp.stats.bytes, in kcm_format_psock() 160 if (psock->strp.stopped) in kcm_format_psock() 166 if (!psock->strp.paused && !psock->ready_rx_msg) { in kcm_format_psock() 168 if (psock->strp.need_bytes) in kcm_format_psock() 170 psock->strp.need_bytes); in kcm_format_psock() 175 if (psock->strp.paused) in kcm_format_psock() 273 save_strp_stats(&psock->strp, &strp_stats); in kcm_stats_seq_show()
|
A D | kcmsock.c | 96 psock->strp.stats.bytes - in kcm_update_rx_mux_stats() 157 strp_unpause(&psock->strp); in kcm_rcv_ready() 158 strp_check_rcv(&psock->strp); in kcm_rcv_ready() 272 strp_pause(&psock->strp); in reserve_rx_kcm() 358 struct kcm_psock *psock = container_of(strp, struct kcm_psock, strp); in kcm_rcv_strparser() 379 struct kcm_psock *psock = container_of(strp, struct kcm_psock, strp); in kcm_parse_func_strparser() 389 struct kcm_psock *psock = container_of(strp, struct kcm_psock, strp); in kcm_read_sock_done() 1427 strp_stop(&psock->strp); in kcm_attach() 1428 strp_done(&psock->strp); in kcm_attach() 1518 strp_stop(&psock->strp); in kcm_unattach() [all …]
|
/linux/drivers/scsi/aic7xxx/aicasm/ |
A D | aicasm_scan.l | 546 const char *strp; 549 strp = next_match + strlen(next_match); 550 while (strp > next_match) 551 unput(*--strp);
|
/linux/tools/perf/util/ |
A D | util.c | 382 int perf_tip(char **strp, const char *dirpath) in perf_tip() argument 392 *strp = NULL; in perf_tip() 401 if (asprintf(strp, "Tip: %s", node->s) < 0) in perf_tip()
|
A D | build-id.c | 148 static int asnprintf(char **strp, size_t size, const char *fmt, ...) in asnprintf() argument 153 if (!strp) in asnprintf() 157 if (*strp) in asnprintf() 158 ret = vsnprintf(*strp, size, fmt, ap); in asnprintf() 160 ret = vasprintf(strp, fmt, ap); in asnprintf()
|
A D | util.h | 42 int perf_tip(char **strp, const char *dirpath);
|
A D | sort.c | 3244 char *str, *strp; in __setup_output_field() local 3250 strp = str = strdup(field_order); in __setup_output_field() 3257 strp++; in __setup_output_field() 3259 if (!strlen(strp)) { in __setup_output_field() 3264 ret = setup_output_list(&perf_hpp_list, strp); in __setup_output_field()
|
/linux/net/core/ |
A D | skmsg.c | 1033 static void sk_psock_strp_read(struct strparser *strp, struct sk_buff *skb) in sk_psock_strp_read() argument 1041 sk = strp->sk; in sk_psock_strp_read() 1063 static int sk_psock_strp_read_done(struct strparser *strp, int err) in sk_psock_strp_read_done() argument 1068 static int sk_psock_strp_parse(struct strparser *strp, struct sk_buff *skb) in sk_psock_strp_parse() argument 1070 struct sk_psock *psock = container_of(strp, struct sk_psock, strp); in sk_psock_strp_parse() 1097 strp_data_ready(&psock->strp); in sk_psock_strp_data_ready() 1112 return strp_init(&psock->strp, sk, &cb); in sk_psock_init_strp() 1134 strp_stop(&psock->strp); in sk_psock_stop_strp() 1141 strp_done(&psock->strp); in sk_psock_done_strp()
|
/linux/net/tls/ |
A D | tls_sw.c | 1314 __strp_unpause(&ctx->strp); in tls_wait_data() 1637 __strp_unpause(&ctx->strp); in tls_sw_advance_skb() 1901 __strp_unpause(&ctx->strp); in tls_sw_recvmsg() 2049 __strp_unpause(&ctx->strp); in tls_sw_splice_read() 2139 tls_err_abort(strp->sk, ret); in tls_read_size() 2152 strp_pause(strp); in tls_queue() 2154 ctx->saved_data_ready(strp->sk); in tls_queue() 2163 strp_data_ready(&ctx->strp); in tls_data_ready() 2243 strp_stop(&ctx->strp); in tls_sw_release_resources_rx() 2260 strp_done(&ctx->strp); in tls_sw_strparser_done() [all …]
|
/linux/security/apparmor/ |
A D | label.c | 1686 int aa_label_asxprint(char **strp, struct aa_ns *ns, struct aa_label *label, in aa_label_asxprint() argument 1691 AA_BUG(!strp); in aa_label_asxprint() 1698 *strp = kmalloc(size + 1, gfp); in aa_label_asxprint() 1699 if (!*strp) in aa_label_asxprint() 1701 return aa_label_snxprint(*strp, size + 1, ns, label, flags); in aa_label_asxprint() 1715 int aa_label_acntsxprint(char __counted **strp, struct aa_ns *ns, in aa_label_acntsxprint() argument 1720 AA_BUG(!strp); in aa_label_acntsxprint() 1727 *strp = aa_str_alloc(size + 1, gfp); in aa_label_acntsxprint() 1728 if (!*strp) in aa_label_acntsxprint() 1730 return aa_label_snxprint(*strp, size + 1, ns, label, flags); in aa_label_acntsxprint()
|
/linux/security/apparmor/include/ |
A D | label.h | 311 int aa_label_asxprint(char **strp, struct aa_ns *ns, struct aa_label *label, 313 int aa_label_acntsxprint(char __counted **strp, struct aa_ns *ns,
|
/linux/include/linux/ |
A D | skmsg.h | 89 struct strparser strp; member
|
/linux/security/selinux/ss/ |
A D | policydb.c | 1075 static int str_read(char **strp, gfp_t flags, void *fp, u32 len) in str_read() argument 1094 *strp = str; in str_read()
|