Searched refs:psblk_file (Results 1 – 1 of 1) sorted by relevance
72 static struct file *psblk_file; variable190 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()212 psblk_file = filp_open(devpath, O_RDWR | O_DSYNC | O_NOATIME | O_EXCL, 0); in __register_pstore_blk()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()225 bdev_nr_bytes(I_BDEV(psblk_file->f_mapping->host)); in __register_pstore_blk()234 fput(psblk_file); in __register_pstore_blk()236 psblk_file = NULL; in __register_pstore_blk()[all …]