Lines Matching refs:private
55 static void free_pstore_private(struct pstore_private *private) in free_pstore_private() argument
57 if (!private) in free_pstore_private()
59 if (private->record) { in free_pstore_private()
60 kvfree(private->record->buf); in free_pstore_private()
61 kfree(private->record->priv); in free_pstore_private()
62 kfree(private->record); in free_pstore_private()
64 kfree(private); in free_pstore_private()
70 struct pstore_private *ps = s->private; in pstore_ftrace_seq_start()
92 struct pstore_private *ps = s->private; in pstore_ftrace_seq_next()
105 struct pstore_private *ps = s->private; in pstore_ftrace_seq_show()
134 struct pstore_private *ps = sf->private; in pstore_file_read()
157 sf->private = ps; in pstore_file_open()
341 struct pstore_private *private __free(pstore_private) = NULL, *pos; in pstore_mkfile()
367 private = kzalloc(sizeof(*private), GFP_KERNEL); in pstore_mkfile()
368 if (!private) in pstore_mkfile()
375 private->dentry = dentry; in pstore_mkfile()
376 private->record = record; in pstore_mkfile()
377 inode->i_size = private->total_size = size; in pstore_mkfile()
378 inode->i_private = private; in pstore_mkfile()
386 list_add(&(no_free_ptr(private))->list, &records_list); in pstore_mkfile()