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()
518 loff_t pos = *_pos; in afs_proc_cell_vlservers_start() local
526 if (!pos) in afs_proc_cell_vlservers_start()
528 pos--; in afs_proc_cell_vlservers_start()
530 if (pos >= cell->vl_naddrs) in afs_proc_cell_vlservers_start()
533 return &cell->vl_addrs[pos]; in afs_proc_cell_vlservers_start()
543 loff_t pos; in afs_proc_cell_vlservers_next() local
547 pos = *_pos; in afs_proc_cell_vlservers_next()
549 if (pos >= cell->vl_naddrs) in afs_proc_cell_vlservers_next()
552 return &cell->vl_addrs[pos]; in afs_proc_cell_vlservers_next()