Searched refs:v9ses (Results 1 – 12 of 12) sorted by relevance
| /linux/fs/9p/ |
| A D | v9fs.c | 108 if (v9ses->debug) in v9fs_show_options() 122 if (v9ses->nodev) in v9fs_show_options() 124 if (v9ses->cache) in v9fs_show_options() 127 if (v9ses->cachetag && v9ses->cache == CACHE_FSCACHE) in v9fs_show_options() 171 v9ses->afid = ~0; in v9fs_parse_options() 172 v9ses->debug = 0; in v9fs_parse_options() 396 if (!v9ses->uname) in v9fs_session_init() 400 if (!v9ses->aname) in v9fs_session_init() 428 v9ses->maxdata = v9ses->clnt->msize - P9_IOHDRSZ; in v9fs_session_init() 441 if (!(v9fs_proto_dotu(v9ses) || v9fs_proto_dotl(v9ses)) && in v9fs_session_init() [all …]
|
| A D | cache.c | 37 if (!v9ses->cachetag) in v9fs_random_cachetag() 51 if (!v9ses->cachetag) { in v9fs_cache_session_get_cookie() 53 v9ses->fscache = NULL; in v9fs_cache_session_get_cookie() 54 kfree(v9ses->cachetag); in v9fs_cache_session_get_cookie() 55 v9ses->cachetag = NULL; in v9fs_cache_session_get_cookie() 62 v9ses->cachetag, in v9fs_cache_session_get_cookie() 63 strlen(v9ses->cachetag), in v9fs_cache_session_get_cookie() 65 v9ses, 0, true); in v9fs_cache_session_get_cookie() 67 v9ses, v9ses->fscache); in v9fs_cache_session_get_cookie() 73 v9ses, v9ses->fscache); in v9fs_cache_session_put_cookie() [all …]
|
| A D | vfs_inode.c | 54 if (v9fs_proto_dotu(v9ses)) { in unixmode2p9mode() 55 if (v9ses->nodev == 0) { in unixmode2p9mode() 123 && (v9ses->nodev == 0)) in p9mode2unixmode() 126 && (v9ses->nodev == 0)) in p9mode2unixmode() 129 && (v9ses->nodev == 0)) { in p9mode2unixmode() 308 if (!v9fs_proto_dotu(v9ses) && !v9fs_proto_dotl(v9ses)) { in v9fs_init_inode() 782 else if (v9ses->cache == CACHE_LOOSE || v9ses->cache == CACHE_FSCACHE) in v9fs_vfs_lookup() 847 if ((v9ses->cache == CACHE_LOOSE || v9ses->cache == CACHE_FSCACHE) && in v9fs_vfs_atomic_open() 871 if (v9ses->cache == CACHE_LOOSE || v9ses->cache == CACHE_FSCACHE) in v9fs_vfs_atomic_open() 1042 if (v9ses->cache == CACHE_LOOSE || v9ses->cache == CACHE_FSCACHE) { in v9fs_vfs_getattr() [all …]
|
| A D | vfs_super.c | 65 if (v9fs_proto_dotl(v9ses)) { in v9fs_fill_super() 79 if (!v9ses->cache) { in v9fs_fill_super() 88 if (!v9ses->cache) in v9fs_fill_super() 122 if (!v9ses) in v9fs_mount() 140 if (v9ses->cache == CACHE_LOOSE || v9ses->cache == CACHE_FSCACHE) in v9fs_mount() 193 v9fs_session_close(v9ses); in v9fs_mount() 195 kfree(v9ses); in v9fs_mount() 225 v9fs_session_close(v9ses); in v9fs_kill_super() 226 kfree(v9ses); in v9fs_kill_super() 236 v9ses = sb->s_fs_info; in v9fs_umount_begin() [all …]
|
| A D | v9fs.h | 138 struct p9_fid *v9fs_session_init(struct v9fs_session_info *v9ses, 140 extern void v9fs_session_close(struct v9fs_session_info *v9ses); 141 extern void v9fs_session_cancel(struct v9fs_session_info *v9ses); 180 return v9ses->flags & V9FS_PROTO_2000U; in v9fs_proto_dotu() 185 return v9ses->flags & V9FS_PROTO_2000L; in v9fs_proto_dotl() 200 if (v9fs_proto_dotl(v9ses)) in v9fs_get_inode_from_fid() 201 return v9fs_inode_from_fid_dotl(v9ses, fid, sb, 0); in v9fs_get_inode_from_fid() 203 return v9fs_inode_from_fid(v9ses, fid, sb, 0); in v9fs_get_inode_from_fid() 218 if (v9fs_proto_dotl(v9ses)) in v9fs_get_new_inode_from_fid() 219 return v9fs_inode_from_fid_dotl(v9ses, fid, sb, 1); in v9fs_get_new_inode_from_fid() [all …]
|
| A D | fid.c | 155 struct v9fs_session_info *v9ses; in v9fs_fid_lookup_with_uid() local 158 v9ses = v9fs_dentry2v9ses(dentry); in v9fs_fid_lookup_with_uid() 168 down_read(&v9ses->rename_sem); in v9fs_fid_lookup_with_uid() 179 up_read(&v9ses->rename_sem); in v9fs_fid_lookup_with_uid() 188 if (v9fs_proto_dotu(v9ses) || v9fs_proto_dotl(v9ses)) in v9fs_fid_lookup_with_uid() 191 uname = v9ses->uname; in v9fs_fid_lookup_with_uid() 194 v9ses->aname); in v9fs_fid_lookup_with_uid() 210 down_read(&v9ses->rename_sem); in v9fs_fid_lookup_with_uid() 256 up_read(&v9ses->rename_sem); in v9fs_fid_lookup_with_uid() 274 struct v9fs_session_info *v9ses; in v9fs_fid_lookup() local [all …]
|
| A D | vfs_inode_dotl.c | 259 v9ses = v9fs_inode2v9ses(dir); in v9fs_vfs_atomic_open_dotl() 322 if ((v9ses->cache == CACHE_LOOSE || v9ses->cache == CACHE_FSCACHE) && in v9fs_vfs_atomic_open_dotl() 346 if (v9ses->cache == CACHE_LOOSE || v9ses->cache == CACHE_FSCACHE) in v9fs_vfs_atomic_open_dotl() 389 v9ses = v9fs_inode2v9ses(dir); in v9fs_vfs_mkdir_dotl() 426 if (v9ses->cache == CACHE_LOOSE || v9ses->cache == CACHE_FSCACHE) { in v9fs_vfs_mkdir_dotl() 475 if (v9ses->cache == CACHE_LOOSE || v9ses->cache == CACHE_FSCACHE) { in v9fs_vfs_getattr_dotl() 704 v9ses = v9fs_inode2v9ses(dir); in v9fs_vfs_symlink_dotl() 724 if (v9ses->cache == CACHE_LOOSE || v9ses->cache == CACHE_FSCACHE) { in v9fs_vfs_symlink_dotl() 805 if (v9ses->cache == CACHE_LOOSE || v9ses->cache == CACHE_FSCACHE) { in v9fs_vfs_link_dotl() 884 if (v9ses->cache == CACHE_LOOSE || v9ses->cache == CACHE_FSCACHE) { in v9fs_vfs_mknod_dotl() [all …]
|
| A D | acl.c | 52 struct v9fs_session_info *v9ses; in v9fs_get_acl() local 54 v9ses = v9fs_inode2v9ses(inode); in v9fs_get_acl() 56 ((v9ses->flags & V9FS_ACL_MASK) != V9FS_POSIX_ACL)) { in v9fs_get_acl() 94 struct v9fs_session_info *v9ses; in v9fs_iop_get_acl() local 99 v9ses = v9fs_inode2v9ses(inode); in v9fs_iop_get_acl() 101 ((v9ses->flags & V9FS_ACL_MASK) != V9FS_POSIX_ACL)) { in v9fs_iop_get_acl() 215 struct v9fs_session_info *v9ses; in v9fs_xattr_get_acl() local 219 v9ses = v9fs_dentry2v9ses(dentry); in v9fs_xattr_get_acl() 223 if ((v9ses->flags & V9FS_ACCESS_MASK) != V9FS_ACCESS_CLIENT) in v9fs_xattr_get_acl() 245 struct v9fs_session_info *v9ses; in v9fs_xattr_set_acl() local [all …]
|
| A D | vfs_file.c | 46 struct v9fs_session_info *v9ses; in v9fs_file_open() local 52 v9ses = v9fs_inode2v9ses(inode); in v9fs_file_open() 53 if (v9fs_proto_dotl(v9ses)) in v9fs_file_open() 57 v9fs_proto_dotu(v9ses)); in v9fs_file_open() 70 (!v9fs_proto_dotu(v9ses) && !v9fs_proto_dotl(v9ses))) in v9fs_file_open() 76 if ((v9ses->cache == CACHE_LOOSE || v9ses->cache == CACHE_FSCACHE) && in v9fs_file_open() 95 if (v9ses->cache == CACHE_LOOSE || v9ses->cache == CACHE_FSCACHE) in v9fs_file_open() 137 struct v9fs_session_info *v9ses; in v9fs_file_do_lock() local 173 v9ses = v9fs_inode2v9ses(file_inode(filp)); in v9fs_file_do_lock() 188 if (schedule_timeout_interruptible(v9ses->session_lock_timeout) in v9fs_file_do_lock()
|
| A D | vfs_dentry.c | 77 struct v9fs_session_info *v9ses; in v9fs_lookup_revalidate() local 83 v9ses = v9fs_inode2v9ses(inode); in v9fs_lookup_revalidate() 84 if (v9fs_proto_dotl(v9ses)) in v9fs_lookup_revalidate()
|
| A D | cache.h | 19 extern void v9fs_cache_session_get_cookie(struct v9fs_session_info *v9ses); 20 extern void v9fs_cache_session_put_cookie(struct v9fs_session_info *v9ses);
|
| A D | v9fs_vfs.h | 49 int v9fs_init_inode(struct v9fs_session_info *v9ses,
|
Completed in 24 milliseconds