Home
last modified time | relevance | path

Searched refs:sctp_dbg_objcnt (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/net/sctp/
H A Dobjcnt.c45 static struct sctp_dbg_objcnt_entry sctp_dbg_objcnt[] = { variable
59 * Walk through the entries in the sctp_dbg_objcnt array, dumping
68 seq_printf(seq, "%s: %d", sctp_dbg_objcnt[i].label, in sctp_objcnt_seq_show()
69 atomic_read(sctp_dbg_objcnt[i].counter)); in sctp_objcnt_seq_show()
76 return (*pos >= ARRAY_SIZE(sctp_dbg_objcnt)) ? NULL : (void *)pos; in sctp_objcnt_seq_start()
86 return (*pos >= ARRAY_SIZE(sctp_dbg_objcnt)) ? NULL : (void *)pos; in sctp_objcnt_seq_next()
101 ent = proc_create_seq("sctp_dbg_objcnt", 0, in sctp_dbg_objcnt_init()
104 pr_warn("sctp_dbg_objcnt: Unable to create /proc entry.\n"); in sctp_dbg_objcnt_init()
/kernel/linux/linux-6.6/net/sctp/
H A Dobjcnt.c45 static struct sctp_dbg_objcnt_entry sctp_dbg_objcnt[] = { variable
59 * Walk through the entries in the sctp_dbg_objcnt array, dumping
68 seq_printf(seq, "%s: %d", sctp_dbg_objcnt[i].label, in sctp_objcnt_seq_show()
69 atomic_read(sctp_dbg_objcnt[i].counter)); in sctp_objcnt_seq_show()
76 return (*pos >= ARRAY_SIZE(sctp_dbg_objcnt)) ? NULL : (void *)pos; in sctp_objcnt_seq_start()
86 return (*pos >= ARRAY_SIZE(sctp_dbg_objcnt)) ? NULL : (void *)pos; in sctp_objcnt_seq_next()
101 ent = proc_create_seq("sctp_dbg_objcnt", 0, in sctp_dbg_objcnt_init()
104 pr_warn("sctp_dbg_objcnt: Unable to create /proc entry.\n"); in sctp_dbg_objcnt_init()

Completed in 1 milliseconds