Lines Matching refs:private
52 static void free_pstore_private(struct pstore_private *private) in free_pstore_private() argument
54 if (!private) in free_pstore_private()
56 if (private->record) { in free_pstore_private()
57 kfree(private->record->buf); in free_pstore_private()
58 kfree(private->record->priv); in free_pstore_private()
59 kfree(private->record); in free_pstore_private()
61 kfree(private); in free_pstore_private()
66 struct pstore_private *ps = s->private; in pstore_ftrace_seq_start()
91 struct pstore_private *ps = s->private; in pstore_ftrace_seq_next()
104 struct pstore_private *ps = s->private; in pstore_ftrace_seq_show()
133 struct pstore_private *ps = sf->private; in pstore_file_read()
156 sf->private = ps; in pstore_file_open()
352 struct pstore_private *private, *pos; in pstore_mkfile() local
379 private = kzalloc(sizeof(*private), GFP_KERNEL); in pstore_mkfile()
380 if (!private) in pstore_mkfile()
387 private->dentry = dentry; in pstore_mkfile()
388 private->record = record; in pstore_mkfile()
389 inode->i_size = private->total_size = size; in pstore_mkfile()
390 inode->i_private = private; in pstore_mkfile()
397 list_add(&private->list, &records_list); in pstore_mkfile()
403 free_pstore_private(private); in pstore_mkfile()