Lines Matching defs:pos
1340 #define LEN_OR_ZERO (len ? len - pos : 0)
1344 int pos = 0, i = *iout;
1350 pos += snprintf(buf + pos, LEN_OR_ZERO, " ");
1352 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", argv[i]);
1365 return pos + 1;
1371 int pos = 0;
1373 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", field->type);
1374 pos += snprintf(buf + pos, LEN_OR_ZERO, " ");
1375 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", field->name);
1378 pos += snprintf(buf + pos, LEN_OR_ZERO, " %d", field->size);
1381 pos += snprintf(buf + pos, LEN_OR_ZERO, ";");
1383 return pos + 1;
1390 int pos = 0, depth = 0;
1393 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"");
1397 pos += snprintf(buf + pos, LEN_OR_ZERO, " ");
1399 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s=%s",
1405 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"");
1409 pos += snprintf(buf + pos, LEN_OR_ZERO,
1412 pos += snprintf(buf + pos, LEN_OR_ZERO,
1416 return pos + 1;
1558 void *pos, *end = data + len;
1562 pos = data + validator->offset;
1565 loc = *(u32 *)pos;
1570 pos += offset + sizeof(loc);
1572 pos = data + offset;
1574 pos += size;
1576 if (unlikely(pos > end))
1580 if (unlikely(*(char *)(pos - 1) != '\0'))
2687 static void *user_seq_start(struct seq_file *m, loff_t *pos)
2689 if (*pos)
2695 static void *user_seq_next(struct seq_file *m, void *p, loff_t *pos)
2697 ++*pos;