Lines Matching refs:pos
24 static void *afs_proc_cells_start(struct seq_file *p, loff_t *pos);
25 static void *afs_proc_cells_next(struct seq_file *p, void *v, loff_t *pos);
59 static void *afs_proc_cell_volumes_start(struct seq_file *p, loff_t *pos);
61 loff_t *pos);
81 static void *afs_proc_cell_vlservers_start(struct seq_file *p, loff_t *pos);
83 loff_t *pos);
102 static void *afs_proc_cell_servers_start(struct seq_file *p, loff_t *pos);
104 loff_t *pos);
187 static void *afs_proc_cells_next(struct seq_file *p, void *v, loff_t *pos) in afs_proc_cells_next() argument
189 return seq_list_next(v, &afs_proc_cells, pos); in afs_proc_cells_next()
505 loff_t pos = *_pos; in afs_proc_cell_vlservers_start() local
513 if (!pos) in afs_proc_cell_vlservers_start()
515 pos--; in afs_proc_cell_vlservers_start()
517 if (pos >= cell->vl_naddrs) in afs_proc_cell_vlservers_start()
520 return &cell->vl_addrs[pos]; in afs_proc_cell_vlservers_start()
530 loff_t pos; in afs_proc_cell_vlservers_next() local
534 pos = *_pos; in afs_proc_cell_vlservers_next()
536 if (pos >= cell->vl_naddrs) in afs_proc_cell_vlservers_next()
539 return &cell->vl_addrs[pos]; in afs_proc_cell_vlservers_next()