Lines Matching refs:inode
368 static int dax_open(struct inode *inode, struct file *filp) in dax_open() argument
370 struct dax_device *dax_dev = inode_dax(inode); in dax_open()
371 struct inode *__dax_inode = dax_inode(dax_dev); in dax_open()
375 inode->i_mapping = __dax_inode->i_mapping; in dax_open()
376 inode->i_mapping->host = __dax_inode; in dax_open()
377 inode->i_mapping->a_ops = &dev_dax_aops; in dax_open()
378 filp->f_mapping = inode->i_mapping; in dax_open()
381 inode->i_flags = S_DAX; in dax_open()
386 static int dax_release(struct inode *inode, struct file *filp) in dax_release() argument
419 struct inode *inode; in dev_dax_probe() local
436 inode = dax_inode(dax_dev); in dev_dax_probe()
437 cdev = inode->i_cdev; in dev_dax_probe()