diff options
Diffstat (limited to 'include/linux/seq_file.h')
| -rw-r--r-- | include/linux/seq_file.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/seq_file.h b/include/linux/seq_file.h index 2da29ac178fc..4e32edc8f506 100644 --- a/include/linux/seq_file.h +++ b/include/linux/seq_file.h | |||
| @@ -173,4 +173,10 @@ extern struct hlist_node *seq_hlist_start_head_rcu(struct hlist_head *head, | |||
| 173 | extern struct hlist_node *seq_hlist_next_rcu(void *v, | 173 | extern struct hlist_node *seq_hlist_next_rcu(void *v, |
| 174 | struct hlist_head *head, | 174 | struct hlist_head *head, |
| 175 | loff_t *ppos); | 175 | loff_t *ppos); |
| 176 | |||
| 177 | /* Helpers for iterating over per-cpu hlist_head-s in seq_files */ | ||
| 178 | extern struct hlist_node *seq_hlist_start_percpu(struct hlist_head __percpu *head, int *cpu, loff_t pos); | ||
| 179 | |||
| 180 | extern struct hlist_node *seq_hlist_next_percpu(void *v, struct hlist_head __percpu *head, int *cpu, loff_t *pos); | ||
| 181 | |||
| 176 | #endif | 182 | #endif |
