Home
last modified time | relevance | path

Searched refs:psblk_file (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/pstore/
H A Dblk.c72 static struct file *psblk_file; variable
190 return kernel_read(psblk_file, buf, bytes, &pos); in psblk_generic_blk_read()
199 return kernel_write(psblk_file, buf, bytes, &pos); in psblk_generic_blk_write()
213 if (IS_ERR(psblk_file)) { in __register_pstore_blk()
214 ret = PTR_ERR(psblk_file); in __register_pstore_blk()
219 if (!S_ISBLK(file_inode(psblk_file)->i_mode)) { in __register_pstore_blk()
234 fput(psblk_file); in __register_pstore_blk()
236 psblk_file = NULL; in __register_pstore_blk()
326 if (psblk_file) { in __best_effort_exit()
331 fput(psblk_file); in __best_effort_exit()
[all …]