Searched defs:fmt (Results 1 - 22 of 22) sorted by relevance

/net/tipc/
H A Dlog.c44 * @fmt: formatted info to be printed
46 int tipc_snprintf(char *buf, int len, const char *fmt, ...) argument
51 va_start(args, fmt);
52 i = vscnprintf(buf, len, fmt, args);
/net/mac80211/
H A Dtrace.c13 void __sdata_info(const char *fmt, ...) argument
16 .fmt = fmt,
20 va_start(args, fmt);
28 void __sdata_dbg(bool print, const char *fmt, ...) argument
31 .fmt = fmt,
35 va_start(args, fmt);
44 void __sdata_err(const char *fmt, ...) argument
47 .fmt
59 __wiphy_dbg(struct wiphy *wiphy, bool print, const char *fmt, ...) argument
[all...]
H A Ddebugfs.c21 loff_t *ppos, char *fmt, ...)
27 va_start(args, fmt);
28 res = vscnprintf(buf, sizeof(buf), fmt, args);
34 #define DEBUGFS_READONLY_FILE_FN(name, fmt, value...) \
41 fmt "\n", ##value); \
51 #define DEBUGFS_READONLY_FILE(name, fmt, value...) \
52 DEBUGFS_READONLY_FILE_FN(name, fmt, value) \
20 mac80211_format_buffer(char __user *userbuf, size_t count, loff_t *ppos, char *fmt, ...) argument
/net/9p/
H A Dmod.c27 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
48 const char *fmt, ...)
56 va_start(args, fmt);
58 vaf.fmt = fmt;
47 _p9_debug(enum p9_debug_flags level, const char *func, const char *fmt, ...) argument
H A Dprotocol.c43 p9pdu_writef(struct p9_fcall *pdu, int proto_version, const char *fmt, ...);
100 p9pdu_vreadf(struct p9_fcall *pdu, int proto_version, const char *fmt, argument
106 for (ptr = fmt; *ptr; ptr++) {
358 p9pdu_vwritef(struct p9_fcall *pdu, int proto_version, const char *fmt, argument
364 for (ptr = fmt; *ptr; ptr++) {
537 int p9pdu_readf(struct p9_fcall *pdu, int proto_version, const char *fmt, ...) argument
542 va_start(ap, fmt);
543 ret = p9pdu_vreadf(pdu, proto_version, fmt, ap);
550 p9pdu_writef(struct p9_fcall *pdu, int proto_version, const char *fmt, ...) argument
555 va_start(ap, fmt);
[all...]
H A Dclient.c26 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
620 p9_client_rpc(struct p9_client *c, int8_t type, const char *fmt, ...);
664 const char *fmt, va_list ap)
692 err = p9pdu_vwritef(req->tc, c->proto_version, fmt, ap);
707 * @fmt: protocol format string (see protocol.c)
713 p9_client_rpc(struct p9_client *c, int8_t type, const char *fmt, ...) argument
720 va_start(ap, fmt);
721 req = p9_client_prepare_req(c, type, c->msize, fmt, ap);
792 * @fmt
662 p9_client_prepare_req(struct p9_client *c, int8_t type, int req_size, const char *fmt, va_list ap) argument
796 p9_client_zc_rpc(struct p9_client *c, int8_t type, char *uidata, char *uodata, int inlen, int olen, int in_hdrlen, int kern_buf, const char *fmt, ...) argument
[all...]
/net/atm/
H A Datm_sysfs.c35 int bin[] = { 1, 2, 10, 6, 1 }, *fmt = bin; local
41 if (j == *fmt) {
44 ++fmt;
/net/dccp/
H A Dccid.c82 static struct kmem_cache *ccid_kmem_cache_create(int obj_size, char *slab_name_fmt, const char *fmt,...) argument
87 va_start(args, fmt);
88 vsnprintf(slab_name_fmt, CCID_SLAB_NAME_LENGTH, fmt, args);
H A Dprobe.c53 static void printl(const char *fmt, ...) argument
60 va_start(args, fmt);
68 len += vscnprintf(tbuf+len, sizeof(tbuf)-len, fmt, args);
/net/irda/
H A Dparameters.c54 static int irda_param_unpack(__u8 *buf, char *fmt, ...);
360 * Function irda_param_pack (skb, fmt, ...)
367 int irda_param_pack(__u8 *buf, char *fmt, ...) argument
374 va_start(args, fmt);
376 for (p = fmt; *p != '\0'; p++) {
408 * Function irda_param_unpack (skb, fmt, ...)
410 static int irda_param_unpack(__u8 *buf, char *fmt, ...) argument
417 va_start(args, fmt);
419 for (p = fmt; *p != '\0'; p++) {
/net/sctp/
H A Dprobe.c25 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
66 static __printf(1, 2) void printl(const char *fmt, ...) argument
72 va_start(args, fmt);
73 len = vscnprintf(tbuf, sizeof(tbuf), fmt, args);
/net/batman-adv/
H A Ddebugfs.c65 const char *fmt, ...)
75 va_start(args, fmt);
76 vscnprintf(debug_log_buf, sizeof(debug_log_buf), fmt, args);
89 int batadv_debug_log(struct batadv_priv *bat_priv, const char *fmt, ...) argument
94 va_start(args, fmt);
95 vscnprintf(tmp_log_buf, sizeof(tmp_log_buf), fmt, args);
64 batadv_fdebug_log(struct batadv_priv_debug_log *debug_log, const char *fmt, ...) argument
/net/netfilter/
H A Dnf_conntrack_helper.c339 const char *fmt, ...)
346 va_start(args, fmt);
348 vaf.fmt = fmt;
338 nf_ct_helper_log(struct sk_buff *skb, const struct nf_conn *ct, const char *fmt, ...) argument
H A Dnf_log.c139 const char *fmt, ...)
148 va_start(args, fmt);
149 vsnprintf(prefix, sizeof(prefix), fmt, args);
132 nf_log_packet(struct net *net, u_int8_t pf, unsigned int hooknum, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const struct nf_loginfo *loginfo, const char *fmt, ...) argument
H A Dxt_qtaguid.c705 int fmt; member in struct:proc_iface_stat_fmt_info
722 if (!n && p->fmt == 2)
761 if (p->fmt == 1) {
1491 s->fmt = (uintptr_t)PDE_DATA(inode);
1809 static void prdebug_full_state(int indent_level, const char *fmt, ...) argument
1819 "qtaguid: %s(): %s {\n", __func__, fmt);
1821 va_start(args, fmt);
1848 static void prdebug_full_state(int indent_level, const char *fmt, ...) {} argument
/net/rds/
H A Dconnection.c562 __rds_conn_error(struct rds_connection *conn, const char *fmt, ...) argument
566 va_start(ap, fmt);
567 vprintk(fmt, ap);
H A Dib_cm.c820 __rds_ib_conn_error(struct rds_connection *conn, const char *fmt, ...) argument
826 va_start(ap, fmt);
827 vprintk(fmt, ap);
H A Diw_cm.c756 __rds_iw_conn_error(struct rds_connection *conn, const char *fmt, ...) argument
762 va_start(ap, fmt);
763 vprintk(fmt, ap);
H A Drds.h36 #define rdsdebug(fmt, args...) pr_debug("%s(): " fmt, __func__ , ##args)
40 void rdsdebug(char *fmt, ...) argument
630 #define rds_conn_error(conn, fmt...) \
631 __rds_conn_error(conn, KERN_WARNING "RDS: " fmt)
/net/can/
H A Dproc.c200 char *fmt = (r->can_id & CAN_EFF_FLAG)? local
204 seq_printf(m, fmt, DNAME(dev), r->can_id, r->mask,
/net/sunrpc/
H A Dsvc.c1038 void svc_printk(struct svc_rqst *rqstp, const char *fmt, ...) argument
1044 va_start(args, fmt);
1046 vaf.fmt = fmt;
1054 static __printf(2,3) void svc_printk(struct svc_rqst *rqstp, const char *fmt, ...) {} argument
/net/decnet/
H A Daf_decnet.c321 int dn_username2sockaddr(unsigned char *data, int len, struct sockaddr_dn *sdn, unsigned char *fmt) argument
335 *fmt = *data++;
338 switch (*fmt) {

Completed in 304 milliseconds