| /OK3568_Linux_fs/kernel/net/strparser/ |
| H A D | strparser.c | 33 offsetof(struct sk_skb_cb, strp)); in _strp_msg() 37 static void strp_abort_strp(struct strparser *strp, int err) in strp_abort_strp() argument 41 cancel_delayed_work(&strp->msg_timer_work); in strp_abort_strp() 43 if (strp->stopped) in strp_abort_strp() 46 strp->stopped = 1; in strp_abort_strp() 48 if (strp->sk) { in strp_abort_strp() 49 struct sock *sk = strp->sk; in strp_abort_strp() 57 static void strp_start_timer(struct strparser *strp, long timeo) in strp_start_timer() argument 60 mod_delayed_work(strp_wq, &strp->msg_timer_work, timeo); in strp_start_timer() 64 static void strp_parser_err(struct strparser *strp, int err, in strp_parser_err() argument [all …]
|
| /OK3568_Linux_fs/kernel/include/net/ |
| H A D | strparser.h | 44 int (*parse_msg)(struct strparser *strp, struct sk_buff *skb); 45 void (*rcv_msg)(struct strparser *strp, struct sk_buff *skb); 46 int (*read_sock_done)(struct strparser *strp, int err); 47 void (*abort_parser)(struct strparser *strp, int err); 48 void (*lock)(struct strparser *strp); 49 void (*unlock)(struct strparser *strp); 61 struct strp_msg strp; member 68 struct _strp_msg strp; member 74 offsetof(struct sk_skb_cb, strp)); in strp_msg() 97 static inline void strp_pause(struct strparser *strp) in strp_pause() argument [all …]
|
| H A D | espintcp.h | 22 struct strparser strp; member
|
| H A D | kcm.h | 91 struct strparser strp; member
|
| /OK3568_Linux_fs/kernel/net/xfrm/ |
| H A D | espintcp.c | 52 static void espintcp_rcv(struct strparser *strp, struct sk_buff *skb) in espintcp_rcv() argument 54 struct espintcp_ctx *ctx = container_of(strp, struct espintcp_ctx, in espintcp_rcv() 55 strp); in espintcp_rcv() 67 XFRM_INC_STATS(sock_net(strp->sk), LINUX_MIB_XFRMINHDRERROR); in espintcp_rcv() 80 XFRM_INC_STATS(sock_net(strp->sk), LINUX_MIB_XFRMINHDRERROR); in espintcp_rcv() 88 XFRM_INC_STATS(sock_net(strp->sk), LINUX_MIB_XFRMINHDRERROR); 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() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/networking/ |
| H A D | strparser.rst | 43 strp_init(struct strparser *strp, struct sock *sk, 46 Called to initialize a stream parser. strp is a struct of type 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); 84 int strp_process(struct strparser *strp, struct sk_buff *orig_skb, 96 void strp_data_ready(struct strparser *strp); 106 void strp_check_rcv(struct strparser *strp); 119 int (*parse_msg)(struct strparser *strp, struct sk_buff *skb); [all …]
|
| /OK3568_Linux_fs/kernel/net/kcm/ |
| H 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()
|
| H A D | kcmsock.c | 96 psock->strp.stats.bytes - in kcm_update_rx_mux_stats() 99 psock->strp.stats.msgs - psock->saved_rx_msgs; in kcm_update_rx_mux_stats() 100 psock->saved_rx_msgs = psock->strp.stats.msgs; in kcm_update_rx_mux_stats() 101 psock->saved_rx_bytes = 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() 274 strp_pause(&psock->strp); in reserve_rx_kcm() 355 strp_data_ready(&psock->strp); in psock_data_ready() 361 static void kcm_rcv_strparser(struct strparser *strp, struct sk_buff *skb) in kcm_rcv_strparser() argument 363 struct kcm_psock *psock = container_of(strp, struct kcm_psock, strp); in kcm_rcv_strparser() [all …]
|
| /OK3568_Linux_fs/kernel/scripts/dtc/ |
| H 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()
|
| H 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);
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/libcxx/include/support/ibm/ |
| H A D | xlocale.h | 248 int vasprintf(char **strp, const char *fmt, va_list ap) in vasprintf() argument 252 if ((*strp = (char *)malloc(buff_size)) == NULL) in vasprintf() 256 if ((str_size = vsnprintf(*strp, buff_size, fmt, ap)) >= buff_size) in vasprintf() 258 if ((*strp = (char *)realloc(*strp, str_size + 1)) == NULL) in vasprintf() 262 str_size = vsnprintf(*strp, str_size + 1, fmt, ap); in vasprintf()
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/libcxx/include/support/ibm/ |
| H A D | xlocale.h | 248 int vasprintf(char **strp, const char *fmt, va_list ap) in vasprintf() argument 252 if ((*strp = (char *)malloc(buff_size)) == NULL) in vasprintf() 256 if ((str_size = vsnprintf(*strp, buff_size, fmt, ap)) >= buff_size) in vasprintf() 258 if ((*strp = (char *)realloc(*strp, str_size + 1)) == NULL) in vasprintf() 262 str_size = vsnprintf(*strp, str_size + 1, fmt, ap); in vasprintf()
|
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | skmsg.c | 674 strp_done(&psock->parser.strp); in sk_psock_destroy_deferred() 771 static struct sk_psock *sk_psock_from_strp(struct strparser *strp) in sk_psock_from_strp() argument 775 parser = container_of(strp, struct sk_psock_parser, strp); in sk_psock_from_strp() 882 static void sk_psock_strp_read(struct strparser *strp, struct sk_buff *skb) in sk_psock_strp_read() argument 890 sk = strp->sk; in sk_psock_strp_read() 909 static int sk_psock_strp_read_done(struct strparser *strp, int err) in sk_psock_strp_read_done() argument 914 static int sk_psock_strp_parse(struct strparser *strp, struct sk_buff *skb) in sk_psock_strp_parse() argument 916 struct sk_psock *psock = sk_psock_from_strp(strp); in sk_psock_strp_parse() 943 strp_data_ready(&psock->parser.strp); in sk_psock_strp_data_ready() 1028 return strp_init(&psock->parser.strp, sk, &cb); in sk_psock_init_strp() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/aic7xxx/aicasm/ |
| H A D | aicasm_scan.l | 546 const char *strp; 549 strp = next_match + strlen(next_match); 550 while (strp > next_match) 551 unput(*--strp);
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H 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()
|
| H A D | build-id.c | 147 static int asnprintf(char **strp, size_t size, const char *fmt, ...) in asnprintf() argument 152 if (!strp) in asnprintf() 156 if (*strp) in asnprintf() 157 ret = vsnprintf(*strp, size, fmt, ap); in asnprintf() 159 ret = vasprintf(strp, fmt, ap); in asnprintf()
|
| H A D | util.h | 42 int perf_tip(char **strp, const char *dirpath);
|
| /OK3568_Linux_fs/kernel/net/tls/ |
| H A D | tls_sw.c | 1309 __strp_unpause(&ctx->strp); in tls_wait_data() 1626 __strp_unpause(&ctx->strp); in tls_sw_advance_skb() 1890 __strp_unpause(&ctx->strp); in tls_sw_recvmsg() 2054 static int tls_read_size(struct strparser *strp, struct sk_buff *skb) in tls_read_size() argument 2056 struct tls_context *tls_ctx = tls_get_ctx(strp->sk); in tls_read_size() 2106 tls_device_rx_resync_new_rec(strp->sk, data_len + TLS_HEADER_SIZE, in tls_read_size() 2111 tls_err_abort(strp->sk, ret); in tls_read_size() 2116 static void tls_queue(struct strparser *strp, struct sk_buff *skb) in tls_queue() argument 2118 struct tls_context *tls_ctx = tls_get_ctx(strp->sk); in tls_queue() 2124 strp_pause(strp); in tls_queue() [all …]
|
| /OK3568_Linux_fs/kernel/security/apparmor/ |
| H A D | label.c | 1687 int aa_label_asxprint(char **strp, struct aa_ns *ns, struct aa_label *label, in aa_label_asxprint() argument 1692 AA_BUG(!strp); in aa_label_asxprint() 1699 *strp = kmalloc(size + 1, gfp); in aa_label_asxprint() 1700 if (!*strp) in aa_label_asxprint() 1702 return aa_label_snxprint(*strp, size + 1, ns, label, flags); in aa_label_asxprint() 1716 int aa_label_acntsxprint(char __counted **strp, struct aa_ns *ns, in aa_label_acntsxprint() argument 1721 AA_BUG(!strp); in aa_label_acntsxprint() 1728 *strp = aa_str_alloc(size + 1, gfp); in aa_label_acntsxprint() 1729 if (!*strp) in aa_label_acntsxprint() 1731 return aa_label_snxprint(*strp, size + 1, ns, label, flags); in aa_label_acntsxprint()
|
| /OK3568_Linux_fs/u-boot/scripts/dtc/ |
| H A D | util.c | 50 int xasprintf(char **strp, const char *fmt, ...) in xasprintf() argument 75 *strp = p; in xasprintf()
|
| H A D | util.h | 71 extern int PRINTF(2, 3) xasprintf(char **strp, const char *fmt, ...);
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/ |
| H A D | regression_8100.c | 49 static int __printf(2, 3) myasprintf(char **strp, const char *fmt, ...) in myasprintf() argument 70 *strp = str; in myasprintf()
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-extended/timezone/tzcode/ |
| H A D | 0001-Fix-C23-related-conformance-bug.patch | 53 getzname(register const char *strp) 56 @@ -859,7 +859,7 @@ getzname(register const char *strp) 62 getqzname(register const char *strp, const int delim)
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | cros_ec.h | 345 int cros_ec_read_build_info(struct cros_ec_dev *dev, char **strp);
|
| /OK3568_Linux_fs/kernel/security/apparmor/include/ |
| H A D | label.h | 314 int aa_label_asxprint(char **strp, struct aa_ns *ns, struct aa_label *label, 316 int aa_label_acntsxprint(char __counted **strp, struct aa_ns *ns,
|