Lines Matching refs:pos
93 loff_t pos = 0; in traverse() local
123 if (pos + m->count > offset) { in traverse()
124 m->from = offset - pos; in traverse()
128 pos += m->count; in traverse()
130 if (pos == offset) in traverse()
256 loff_t pos = m->index; in seq_read() local
259 if (pos == m->index) in seq_read()
551 static void *single_start(struct seq_file *p, loff_t *pos) in single_start() argument
553 return NULL + (*pos == 0); in single_start()
556 static void *single_next(struct seq_file *p, void *v, loff_t *pos) in single_next() argument
558 ++*pos; in single_next()
896 struct list_head *seq_list_start(struct list_head *head, loff_t pos) in seq_list_start() argument
901 if (pos-- == 0) in seq_list_start()
908 struct list_head *seq_list_start_head(struct list_head *head, loff_t pos) in seq_list_start_head() argument
910 if (!pos) in seq_list_start_head()
913 return seq_list_start(head, pos - 1); in seq_list_start_head()
934 struct hlist_node *seq_hlist_start(struct hlist_head *head, loff_t pos) in seq_hlist_start() argument
939 if (pos-- == 0) in seq_hlist_start()
953 struct hlist_node *seq_hlist_start_head(struct hlist_head *head, loff_t pos) in seq_hlist_start_head() argument
955 if (!pos) in seq_hlist_start_head()
958 return seq_hlist_start(head, pos - 1); in seq_hlist_start_head()
995 loff_t pos) in seq_hlist_start_rcu() argument
1000 if (pos-- == 0) in seq_hlist_start_rcu()
1019 loff_t pos) in seq_hlist_start_head_rcu() argument
1021 if (!pos) in seq_hlist_start_head_rcu()
1024 return seq_hlist_start_rcu(head, pos - 1); in seq_hlist_start_head_rcu()
1063 seq_hlist_start_percpu(struct hlist_head __percpu *head, int *cpu, loff_t pos) in seq_hlist_start_percpu() argument
1069 if (pos-- == 0) in seq_hlist_start_percpu()
1088 int *cpu, loff_t *pos) in seq_hlist_next_percpu() argument
1092 ++*pos; in seq_hlist_next_percpu()