v9fs_vfs.h (a23e1966932464e1c5226cb9ac4ce1d5fc10ba22) | v9fs_vfs.h (be2ca3825372085d669d322dccd0542a90e5b434) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * V9FS VFS extensions. 4 * 5 * Copyright (C) 2004 by Eric Van Hensbergen <ericvh@gmail.com> 6 * Copyright (C) 2002 by Ron Minnich <rminnich@lanl.gov> 7 */ 8#ifndef FS_9P_V9FS_VFS_H --- 28 unchanged lines hidden (view full) --- 37extern const struct dentry_operations v9fs_dentry_operations; 38extern const struct dentry_operations v9fs_cached_dentry_operations; 39extern struct kmem_cache *v9fs_inode_cache; 40 41struct inode *v9fs_alloc_inode(struct super_block *sb); 42void v9fs_free_inode(struct inode *inode); 43void v9fs_set_netfs_context(struct inode *inode); 44int v9fs_init_inode(struct v9fs_session_info *v9ses, | 1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * V9FS VFS extensions. 4 * 5 * Copyright (C) 2004 by Eric Van Hensbergen <ericvh@gmail.com> 6 * Copyright (C) 2002 by Ron Minnich <rminnich@lanl.gov> 7 */ 8#ifndef FS_9P_V9FS_VFS_H --- 28 unchanged lines hidden (view full) --- 37extern const struct dentry_operations v9fs_dentry_operations; 38extern const struct dentry_operations v9fs_cached_dentry_operations; 39extern struct kmem_cache *v9fs_inode_cache; 40 41struct inode *v9fs_alloc_inode(struct super_block *sb); 42void v9fs_free_inode(struct inode *inode); 43void v9fs_set_netfs_context(struct inode *inode); 44int v9fs_init_inode(struct v9fs_session_info *v9ses, |
45 struct inode *inode, struct p9_qid *qid, umode_t mode, dev_t rdev); | 45 struct inode *inode, umode_t mode, dev_t rdev); |
46void v9fs_evict_inode(struct inode *inode); 47#if (BITS_PER_LONG == 32) 48#define QID2INO(q) ((ino_t) (((q)->path+2) ^ (((q)->path) >> 32))) 49#else 50#define QID2INO(q) ((ino_t) ((q)->path+2)) 51#endif 52 53void v9fs_stat2inode(struct p9_wstat *stat, struct inode *inode, --- 38 unchanged lines hidden --- | 46void v9fs_evict_inode(struct inode *inode); 47#if (BITS_PER_LONG == 32) 48#define QID2INO(q) ((ino_t) (((q)->path+2) ^ (((q)->path) >> 32))) 49#else 50#define QID2INO(q) ((ino_t) ((q)->path+2)) 51#endif 52 53void v9fs_stat2inode(struct p9_wstat *stat, struct inode *inode, --- 38 unchanged lines hidden --- |