Home
last modified time | relevance | path

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

/Linux-v5.15/include/net/9p/
Dclient.h149 struct p9_fid { struct
182 int p9_client_statfs(struct p9_fid *fid, struct p9_rstatfs *sb); argument
183 int p9_client_rename(struct p9_fid *fid, struct p9_fid *newdirfid,
185 int p9_client_renameat(struct p9_fid *olddirfid, const char *old_name,
186 struct p9_fid *newdirfid, const char *new_name);
191 struct p9_fid *p9_client_attach(struct p9_client *clnt, struct p9_fid *afid,
193 struct p9_fid *p9_client_walk(struct p9_fid *oldfid, uint16_t nwname,
195 int p9_client_open(struct p9_fid *fid, int mode);
196 int p9_client_fcreate(struct p9_fid *fid, const char *name, u32 perm, int mode,
198 int p9_client_link(struct p9_fid *fid, struct p9_fid *oldfid, const char *newname);
[all …]
/Linux-v5.15/fs/9p/
Dfid.h11 struct p9_fid *v9fs_fid_lookup(struct dentry *dentry);
12 static inline struct p9_fid *v9fs_parent_fid(struct dentry *dentry) in v9fs_parent_fid()
16 void v9fs_fid_add(struct dentry *dentry, struct p9_fid *fid);
17 struct p9_fid *v9fs_writeback_fid(struct dentry *dentry);
18 void v9fs_open_fid_add(struct inode *inode, struct p9_fid *fid);
19 static inline struct p9_fid *clone_fid(struct p9_fid *fid) in clone_fid()
23 static inline struct p9_fid *v9fs_fid_clone(struct dentry *dentry) in v9fs_fid_clone()
25 struct p9_fid *fid, *nfid; in v9fs_fid_clone()
Dacl.h18 extern int v9fs_get_acl(struct inode *, struct p9_fid *);
20 extern int v9fs_acl_chmod(struct inode *, struct p9_fid *);
21 extern int v9fs_set_create_acl(struct inode *, struct p9_fid *,
28 static inline int v9fs_get_acl(struct inode *inode, struct p9_fid *fid) in v9fs_get_acl()
32 static inline int v9fs_acl_chmod(struct inode *inode, struct p9_fid *fid) in v9fs_acl_chmod()
37 struct p9_fid *fid, in v9fs_set_create_acl()
Dfid.c22 static inline void __add_fid(struct dentry *dentry, struct p9_fid *fid) in __add_fid()
34 void v9fs_fid_add(struct dentry *dentry, struct p9_fid *fid) in v9fs_fid_add()
48 static struct p9_fid *v9fs_fid_find_inode(struct inode *inode, kuid_t uid) in v9fs_fid_find_inode()
51 struct p9_fid *fid, *ret = NULL; in v9fs_fid_find_inode()
75 void v9fs_open_fid_add(struct inode *inode, struct p9_fid *fid) in v9fs_open_fid_add()
91 static struct p9_fid *v9fs_fid_find(struct dentry *dentry, kuid_t uid, int any) in v9fs_fid_find()
93 struct p9_fid *fid, *ret; in v9fs_fid_find()
148 static struct p9_fid *v9fs_fid_lookup_with_uid(struct dentry *dentry, in v9fs_fid_lookup_with_uid()
155 struct p9_fid *fid, *old_fid = NULL; in v9fs_fid_lookup_with_uid()
172 struct p9_fid *ofid = fid; in v9fs_fid_lookup_with_uid()
[all …]
Dv9fs.h117 struct p9_fid *writeback_fid;
129 struct p9_fid *v9fs_session_init(struct v9fs_session_info *, const char *,
143 struct p9_fid *fid,
149 struct p9_fid *fid,
188 v9fs_get_inode_from_fid(struct v9fs_session_info *v9ses, struct p9_fid *fid, in v9fs_get_inode_from_fid()
206 v9fs_get_new_inode_from_fid(struct v9fs_session_info *v9ses, struct p9_fid *fid, in v9fs_get_new_inode_from_fid()
Dxattr.c25 ssize_t v9fs_fid_xattr_get(struct p9_fid *fid, const char *name, in v9fs_fid_xattr_get()
30 struct p9_fid *attr_fid; in v9fs_fid_xattr_get()
73 struct p9_fid *fid; in v9fs_xattr_get()
103 struct p9_fid *fid; in v9fs_xattr_set()
113 int v9fs_fid_xattr_set(struct p9_fid *fid, const char *name, in v9fs_fid_xattr_set()
Dxattr.h25 extern ssize_t v9fs_fid_xattr_get(struct p9_fid *, const char *,
29 extern int v9fs_fid_xattr_set(struct p9_fid *, const char *,
Dvfs_dir.c73 struct p9_fid *fid = filp->private_data; in v9fs_alloc_rdir_buf()
91 struct p9_fid *fid; in v9fs_dir_readdir()
151 struct p9_fid *fid; in v9fs_dir_readdir_dotl()
208 struct p9_fid *fid; in v9fs_dir_release()
Dvfs_inode_dotl.c102 struct p9_fid *fid, in v9fs_qid_iget_dotl()
149 v9fs_inode_from_fid_dotl(struct v9fs_session_info *v9ses, struct p9_fid *fid, in v9fs_inode_from_fid_dotl()
241 struct p9_fid *fid = NULL; in v9fs_vfs_atomic_open_dotl()
243 struct p9_fid *dfid, *ofid, *inode_fid; in v9fs_vfs_atomic_open_dotl()
381 struct p9_fid *fid = NULL, *dfid = NULL; in v9fs_vfs_mkdir_dotl()
472 struct p9_fid *fid; in v9fs_vfs_getattr_dotl()
555 struct p9_fid *fid = NULL; in v9fs_vfs_setattr_dotl()
700 struct p9_fid *dfid; in v9fs_vfs_symlink_dotl()
701 struct p9_fid *fid = NULL; in v9fs_vfs_symlink_dotl()
780 struct p9_fid *dfid, *oldfid; in v9fs_vfs_link_dotl()
[all …]
Dvfs_inode.c478 v9fs_inode_from_fid(struct v9fs_session_info *v9ses, struct p9_fid *fid, in v9fs_inode_from_fid()
537 struct p9_fid *v9fid, *dfid; in v9fs_remove()
593 static struct p9_fid *
599 struct p9_fid *dfid, *ofid = NULL, *fid = NULL; in v9fs_create()
685 struct p9_fid *fid; in v9fs_vfs_create()
712 struct p9_fid *fid; in v9fs_vfs_mkdir()
747 struct p9_fid *dfid, *fid; in v9fs_vfs_lookup()
806 struct p9_fid *fid, *inode_fid; in v9fs_vfs_atomic_open()
923 struct p9_fid *oldfid, *dfid; in v9fs_vfs_rename()
924 struct p9_fid *olddirfid; in v9fs_vfs_rename()
[all …]
Dacl.c28 static struct posix_acl *__v9fs_get_acl(struct p9_fid *fid, char *name) in __v9fs_get_acl()
56 int v9fs_get_acl(struct inode *inode, struct p9_fid *fid) in v9fs_get_acl()
120 static int v9fs_set_acl(struct p9_fid *fid, int type, struct posix_acl *acl) in v9fs_set_acl()
153 int v9fs_acl_chmod(struct inode *inode, struct p9_fid *fid) in v9fs_acl_chmod()
172 int v9fs_set_create_acl(struct inode *inode, struct p9_fid *fid, in v9fs_set_create_acl()
Dvfs_dentry.c58 p9_client_clunk(hlist_entry(p, struct p9_fid, dlist)); in v9fs_dentry_release()
64 struct p9_fid *fid; in v9fs_lookup_revalidate()
Dvfs_file.c49 struct p9_fid *fid, *writeback_fid; in v9fs_file_open()
135 struct p9_fid *fid; in v9fs_file_do_lock()
241 struct p9_fid *fid; in v9fs_file_getlock()
370 struct p9_fid *fid = iocb->ki_filp->private_data; in v9fs_file_read_iter()
434 struct p9_fid *fid; in v9fs_file_fsync()
458 struct p9_fid *fid; in v9fs_file_fsync_dotl()
496 struct p9_fid *fid; in v9fs_mmap_file_mmap()
Dv9fs_vfs.h66 int v9fs_refresh_inode(struct p9_fid *fid, struct inode *inode);
67 int v9fs_refresh_inode_dotl(struct p9_fid *fid, struct inode *inode);
Dvfs_super.c117 struct p9_fid *fid; in v9fs_mount()
242 struct p9_fid *fid; in v9fs_statfs()
Dv9fs.c388 struct p9_fid *v9fs_session_init(struct v9fs_session_info *v9ses, in v9fs_session_init()
391 struct p9_fid *fid; in v9fs_session_init()
Dvfs_addr.c39 struct p9_fid *fid = data; in v9fs_fid_readpage()
/Linux-v5.15/net/9p/
Dclient.c892 static struct p9_fid *p9_fid_create(struct p9_client *clnt) in p9_fid_create()
895 struct p9_fid *fid; in p9_fid_create()
898 fid = kmalloc(sizeof(struct p9_fid), GFP_KERNEL); in p9_fid_create()
923 static void p9_fid_destroy(struct p9_fid *fid) in p9_fid_destroy()
1084 struct p9_fid *fid; in p9_client_destroy()
1120 struct p9_fid *p9_client_attach(struct p9_client *clnt, struct p9_fid *afid, in p9_client_attach()
1125 struct p9_fid *fid; in p9_client_attach()
1167 struct p9_fid *p9_client_walk(struct p9_fid *oldfid, uint16_t nwname, in p9_client_walk()
1172 struct p9_fid *fid; in p9_client_walk()
1243 int p9_client_open(struct p9_fid *fid, int mode) in p9_client_open()
[all …]