Lines Matching defs:pos
64 static void *pstore_ftrace_seq_start(struct seq_file *s, loff_t *pos)
74 data->off += *pos * REC_SIZE;
89 static void *pstore_ftrace_seq_next(struct seq_file *s, void *v, loff_t *pos)
94 (*pos)++;
307 struct pstore_private *pos, *tmp;
315 list_for_each_entry_safe(pos, tmp, &records_list, list) {
316 if (pos->record->psi == psi) {
317 list_del_init(&pos->list);
318 d_invalidate(pos->dentry);
319 simple_unlink(d_inode(root), pos->dentry);
320 pos->dentry = NULL;
341 struct pstore_private *private, *pos;
350 list_for_each_entry(pos, &records_list, list) {
351 if (pos->record->type == record->type &&
352 pos->record->id == record->id &&
353 pos->record->psi == record->psi)