Lines Matching refs:pos
660 loff_t pos = *ppos; in m_start() local
664 if (pos >= extents) in m_start()
668 return &map->extent[pos]; in m_start()
670 return &map->forward[pos]; in m_start()
694 static void *m_next(struct seq_file *seq, void *v, loff_t *pos) in m_next() argument
696 (*pos)++; in m_next()
697 return seq->op->start(seq, pos); in m_next()
926 char *kbuf = NULL, *pos, *next_line; in map_write() local
974 pos = kbuf; in map_write()
975 for (; pos; pos = next_line) { in map_write()
978 next_line = strchr(pos, '\n'); in map_write()
986 pos = skip_spaces(pos); in map_write()
987 extent.first = simple_strtoul(pos, &pos, 10); in map_write()
988 if (!isspace(*pos)) in map_write()
991 pos = skip_spaces(pos); in map_write()
992 extent.lower_first = simple_strtoul(pos, &pos, 10); in map_write()
993 if (!isspace(*pos)) in map_write()
996 pos = skip_spaces(pos); in map_write()
997 extent.count = simple_strtoul(pos, &pos, 10); in map_write()
998 if (*pos && !isspace(*pos)) in map_write()
1002 pos = skip_spaces(pos); in map_write()
1003 if (*pos != '\0') in map_write()
1213 char kbuf[8], *pos; in proc_setgroups_write() local
1227 pos = kbuf; in proc_setgroups_write()
1231 if (strncmp(pos, "allow", 5) == 0) { in proc_setgroups_write()
1232 pos += 5; in proc_setgroups_write()
1235 else if (strncmp(pos, "deny", 4) == 0) { in proc_setgroups_write()
1236 pos += 4; in proc_setgroups_write()
1243 pos = skip_spaces(pos); in proc_setgroups_write()
1244 if (*pos != '\0') in proc_setgroups_write()