Lines Matching refs:data
66 struct pstore_ftrace_seq_data *data; in pstore_ftrace_seq_start() local
68 data = kzalloc(sizeof(*data), GFP_KERNEL); in pstore_ftrace_seq_start()
69 if (!data) in pstore_ftrace_seq_start()
72 data->off = ps->total_size % REC_SIZE; in pstore_ftrace_seq_start()
73 data->off += *pos * REC_SIZE; in pstore_ftrace_seq_start()
74 if (data->off + REC_SIZE > ps->total_size) { in pstore_ftrace_seq_start()
75 kfree(data); in pstore_ftrace_seq_start()
79 return data; in pstore_ftrace_seq_start()
91 struct pstore_ftrace_seq_data *data = v; in pstore_ftrace_seq_next() local
94 data->off += REC_SIZE; in pstore_ftrace_seq_next()
95 if (data->off + REC_SIZE > ps->total_size) in pstore_ftrace_seq_next()
98 return data; in pstore_ftrace_seq_next()
104 struct pstore_ftrace_seq_data *data = v; in pstore_ftrace_seq_show() local
107 if (!data) in pstore_ftrace_seq_show()
110 rec = (struct pstore_ftrace_record *)(ps->record->buf + data->off); in pstore_ftrace_seq_show()
274 static int pstore_remount(struct super_block *sb, int *flags, char *data) in pstore_remount() argument
277 parse_options(data); in pstore_remount()
428 static int pstore_fill_super(struct super_block *sb, void *data, int silent) in pstore_fill_super() argument
439 parse_options(data); in pstore_fill_super()
462 int flags, const char *dev_name, void *data) in pstore_mount() argument
464 return mount_single(fs_type, flags, data, pstore_fill_super); in pstore_mount()