Searched refs:mnt (Results 1 - 25 of 276) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/
H A Dpnode.h14 #define IS_MNT_SHARED(mnt) (mnt->mnt_flags & MNT_SHARED)
15 #define IS_MNT_SLAVE(mnt) (mnt->mnt_master)
16 #define IS_MNT_NEW(mnt) (!mnt->mnt_ns)
17 #define CLEAR_MNT_SHARED(mnt) (mnt->mnt_flags &= ~MNT_SHARED)
18 #define IS_MNT_UNBINDABLE(mnt) (mnt
26 set_mnt_shared(struct vfsmount *mnt) argument
[all...]
H A Dpnode.c34 * namespace_sem is held, and mnt is attached
36 static bool is_path_reachable(struct vfsmount *mnt, struct dentry *dentry, argument
39 while (mnt != root->mnt && mnt->mnt_parent != mnt) {
40 dentry = mnt->mnt_mountpoint;
41 mnt = mnt->mnt_parent;
43 return mnt
46 get_peer_under_root(struct vfsmount *mnt, struct mnt_namespace *ns, const struct path *root) argument
69 get_dominating_id(struct vfsmount *mnt, const struct path *root) argument
82 do_make_slave(struct vfsmount *mnt) argument
132 change_mnt_propagation(struct vfsmount *mnt, int type) argument
289 do_refcount_check(struct vfsmount *mnt, int count) argument
305 propagate_mount_busy(struct vfsmount *mnt, int refcnt) argument
336 __propagate_umount(struct vfsmount *mnt) argument
366 struct vfsmount *mnt; local
[all...]
H A Dnamespace.c68 static inline unsigned long hash(struct vfsmount *mnt, struct dentry *dentry) argument
70 unsigned long tmp = ((unsigned long)mnt / L1_CACHE_BYTES);
82 static int mnt_alloc_id(struct vfsmount *mnt) argument
89 res = ida_get_new_above(&mnt_id_ida, mnt_id_start, &mnt->mnt_id);
91 mnt_id_start = mnt->mnt_id + 1;
99 static void mnt_free_id(struct vfsmount *mnt) argument
101 int id = mnt->mnt_id;
114 static int mnt_alloc_group_id(struct vfsmount *mnt) argument
123 &mnt->mnt_group_id);
125 mnt_group_start = mnt
133 mnt_release_group_id(struct vfsmount *mnt) argument
144 struct vfsmount *mnt = kmem_cache_zalloc(mnt_cache, GFP_KERNEL); local
210 __mnt_is_readonly(struct vfsmount *mnt) argument
220 inc_mnt_writers(struct vfsmount *mnt) argument
229 dec_mnt_writers(struct vfsmount *mnt) argument
238 count_mnt_writers(struct vfsmount *mnt) argument
272 mnt_want_write(struct vfsmount *mnt) argument
315 mnt_clone_write(struct vfsmount *mnt) argument
352 mnt_drop_write(struct vfsmount *mnt) argument
360 mnt_make_readonly(struct vfsmount *mnt) argument
402 __mnt_unmake_readonly(struct vfsmount *mnt) argument
409 simple_set_mnt(struct vfsmount *mnt, struct super_block *sb) argument
417 free_vfsmnt(struct vfsmount *mnt) argument
432 __lookup_mnt(struct vfsmount *mnt, struct dentry *dentry, int dir) argument
468 check_mnt(struct vfsmount *mnt) argument
498 detach_mnt(struct vfsmount *mnt, struct path *old_path) argument
512 mnt_set_mountpoint(struct vfsmount *mnt, struct dentry *dentry, struct vfsmount *child_mnt) argument
523 attach_mnt(struct vfsmount *mnt, struct path *path) argument
534 commit_tree(struct vfsmount *mnt) argument
584 struct vfsmount *mnt = alloc_vfsmnt(old->mnt_devname); local
633 __mntput(struct vfsmount *mnt) argument
653 mntput_no_expire(struct vfsmount *mnt) argument
676 mnt_pin(struct vfsmount *mnt) argument
685 mnt_unpin(struct vfsmount *mnt) argument
708 generic_show_options(struct seq_file *m, struct vfsmount *mnt) argument
816 show_mnt_opts(struct seq_file *m, struct vfsmount *mnt) argument
846 struct vfsmount *mnt = list_entry(v, struct vfsmount, mnt_list); local
877 struct vfsmount *mnt = list_entry(v, struct vfsmount, mnt_list); local
937 struct vfsmount *mnt = list_entry(v, struct vfsmount, mnt_list); local
983 may_umount_tree(struct vfsmount *mnt) argument
1017 may_umount(struct vfsmount *mnt) argument
1033 struct vfsmount *mnt; local
1059 umount_tree(struct vfsmount *mnt, int propagate, struct list_head *kill) argument
1085 do_umount(struct vfsmount *mnt, int flags) argument
1239 copy_tree(struct vfsmount *mnt, struct dentry *dentry, int flag) argument
1300 drop_collected_mounts(struct vfsmount *mnt) argument
1314 struct vfsmount *mnt; local
1326 cleanup_group_ids(struct vfsmount *mnt, struct vfsmount *end) argument
1336 invent_group_ids(struct vfsmount *mnt, bool recurse) argument
1464 graft_tree(struct vfsmount *mnt, struct path *path) argument
1508 struct vfsmount *m, *mnt = path->mnt; local
1547 struct vfsmount *mnt = NULL; local
1590 change_mount_flags(struct vfsmount *mnt, int ms_flags) argument
1647 tree_contains_unbindable(struct vfsmount *mnt) argument
1738 struct vfsmount *mnt; local
1811 struct vfsmount *mnt, *next; local
1863 struct vfsmount *mnt = list_entry(tmp, struct vfsmount, mnt_child); local
1898 shrink_submounts(struct vfsmount *mnt, struct list_head *umounts) argument
2172 create_mnt_ns(struct vfsmount *mnt) argument
2352 struct vfsmount *mnt; local
[all...]
H A Dnfsctl.c26 struct vfsmount *mnt; local
29 mnt = do_kern_mount("nfsd", 0, "nfsd", NULL);
30 if (IS_ERR(mnt))
31 return (struct file *)mnt;
33 error = vfs_path_lookup(mnt->mnt_root, mnt, name, 0, &nd);
34 mntput(mnt); /* drop do_kern_mount reference */
44 return dentry_open(nd.path.dentry, nd.path.mnt, flags,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/notify/
H A Dvfsmount_mark.c33 void fsnotify_clear_marks_by_mount(struct vfsmount *mnt) argument
39 spin_lock(&mnt->mnt_root->d_lock);
40 hlist_for_each_entry_safe(mark, pos, n, &mnt->mnt_fsnotify_marks, m.m_list) {
45 spin_unlock(&mnt->mnt_root->d_lock);
61 static void fsnotify_recalc_vfsmount_mask_locked(struct vfsmount *mnt) argument
67 assert_spin_locked(&mnt->mnt_root->d_lock);
69 hlist_for_each_entry(mark, pos, &mnt->mnt_fsnotify_marks, m.m_list)
71 mnt->mnt_fsnotify_mask = new_mask;
75 * Recalculate the mnt->mnt_fsnotify_mask, or the mask of all FS_* event types
78 void fsnotify_recalc_vfsmount_mask(struct vfsmount *mnt) argument
87 struct vfsmount *mnt = mark->m.mnt; local
102 fsnotify_find_vfsmount_mark_locked(struct fsnotify_group *group, struct vfsmount *mnt) argument
123 fsnotify_find_vfsmount_mark(struct fsnotify_group *group, struct vfsmount *mnt) argument
140 fsnotify_add_vfsmount_mark(struct fsnotify_mark *mark, struct fsnotify_group *group, struct vfsmount *mnt, int allow_dups) argument
[all...]
H A Dfsnotify.c39 void __fsnotify_vfsmount_delete(struct vfsmount *mnt) argument
41 fsnotify_clear_marks_by_mount(mnt);
143 static int send_to_group(struct inode *to_tell, struct vfsmount *mnt, argument
188 pr_debug("%s: group=%p to_tell=%p mnt=%p mask=%x inode_mark=%p"
191 __func__, group, to_tell, mnt, mask, inode_mark,
226 struct vfsmount *mnt; local
232 mnt = ((struct path *)data)->mnt;
234 mnt = NULL;
243 !(mnt
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dpath.h8 struct vfsmount *mnt; member in struct:path
17 return path1->mnt == path2->mnt && path1->dentry == path2->dentry;
H A Dmount.h89 static inline int *get_mnt_writers_ptr(struct vfsmount *mnt) argument
92 return mnt->mnt_writers;
94 return &mnt->mnt_writers;
98 static inline struct vfsmount *mntget(struct vfsmount *mnt) argument
100 if (mnt)
101 atomic_inc(&mnt->mnt_count);
102 return mnt;
107 extern int mnt_want_write(struct vfsmount *mnt);
109 extern int mnt_clone_write(struct vfsmount *mnt);
110 extern void mnt_drop_write(struct vfsmount *mnt);
116 mntput(struct vfsmount *mnt) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ntfs-3g-2009.3.8/libfuse-lite/
H A Dmount_util.h12 const char *mnt, const char *type, const char *opts);
13 int fuse_mnt_umount(const char *progname, const char *mnt, int lazy);
H A Dmount_util.c24 static int mtab_needs_update(const char *mnt) argument
30 if (strncmp(mnt, _PATH_MOUNTED, strlen(mnt)) == 0 &&
31 _PATH_MOUNTED[strlen(mnt)] == '/')
58 const char *mnt, const char *type, const char *opts)
63 if (!mtab_needs_update(mnt))
94 fsname, mnt, NULL);
110 int fuse_mnt_umount(const char *progname, const char *mnt, int lazy) argument
115 if (!mtab_needs_update(mnt)) {
116 res = umount2(mnt, laz
57 fuse_mnt_add_mount(const char *progname, const char *fsname, const char *mnt, const char *type, const char *opts) argument
[all...]
H A Dfusermount.c130 static int add_mount(const char *source, const char *mnt, const char *type, argument
133 return fuse_mnt_add_mount(progname, source, mnt, type, opts);
163 static int add_mount(const char *source, const char *mnt, const char *type, argument
167 (void) mnt;
304 static int do_mount(const char *mnt, char **typep, mode_t rootmode, argument
396 res = mount(source, mnt, type, flags, optbuf);
400 res = mount(source, mnt, type, flags, optbuf);
439 const char *mnt = *mntp; local
440 const char *origmnt = mnt;
442 res = stat(mnt, stbu
560 mount_fuse(const char *mnt, const char *opts) argument
637 char *mnt; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/arm-uclibc/target/www/cgi-bin/
H A Dreadydropd.conf4 home_dir = /tmp/mnt/usb0/part1
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/nfs/
H A Dnamespace.c105 struct vfsmount *mnt; local
138 mnt = nfs_do_refmount(nd->path.mnt, nd->path.dentry);
140 mnt = nfs_do_submount(nd->path.mnt, nd->path.dentry, fh,
142 err = PTR_ERR(mnt);
143 if (IS_ERR(mnt))
146 mntget(mnt);
147 err = do_add_mount(mnt, &nd->path, nd->path.mnt
209 struct vfsmount *mnt = ERR_PTR(-EINVAL); local
243 struct vfsmount *mnt = ERR_PTR(-ENOMEM); local
[all...]
H A Dsuper.c246 int flags, const char *dev_name, void *raw_data, struct vfsmount *mnt);
284 struct nfs_parsed_mount_data *data, struct vfsmount *mnt);
286 int flags, const char *dev_name, void *raw_data, struct vfsmount *mnt);
288 int flags, const char *dev_name, void *raw_data, struct vfsmount *mnt);
290 int flags, const char *dev_name, void *raw_data, struct vfsmount *mnt);
292 int flags, const char *dev_name, void *raw_data, struct vfsmount *mnt);
294 int flags, const char *dev_name, void *raw_data, struct vfsmount *mnt);
678 static int nfs_show_options(struct seq_file *m, struct vfsmount *mnt) argument
680 struct nfs_server *nfss = NFS_SB(mnt->mnt_sb);
694 static int nfs_show_stats(struct seq_file *m, struct vfsmount *mnt) argument
859 nfs_validate_transport_protocol(struct nfs_parsed_mount_data *mnt) argument
875 nfs_set_mount_transport_protocol(struct nfs_parsed_mount_data *mnt) argument
895 nfs_parse_security_flavors(char *value, struct nfs_parsed_mount_data *mnt) argument
950 nfs_parse_mount_options(char *raw, struct nfs_parsed_mount_data *mnt) argument
2197 nfs_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *raw_data, struct vfsmount *mnt) argument
2331 nfs_xdev_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *raw_data, struct vfsmount *mnt) argument
2582 nfs4_remote_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *raw_data, struct vfsmount *mnt) argument
2688 nfs_fix_devname(const struct path *path, struct vfsmount *mnt) argument
2826 nfs4_try_mount(int flags, const char *dev_name, struct nfs_parsed_mount_data *data, struct vfsmount *mnt) argument
2857 nfs4_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *raw_data, struct vfsmount *mnt) argument
2901 nfs4_xdev_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *raw_data, struct vfsmount *mnt) argument
2985 nfs4_remote_referral_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *raw_data, struct vfsmount *mnt) argument
3081 nfs4_referral_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *raw_data, struct vfsmount *mnt) argument
[all...]
H A Dcache_lib.c117 struct vfsmount *mnt; local
120 mnt = rpc_get_mount();
121 if (IS_ERR(mnt))
122 return PTR_ERR(mnt);
123 ret = vfs_path_lookup(mnt->mnt_root, mnt, "/cache", 0, &nd);
H A Dnfs4namespace.c119 struct vfsmount *mnt = ERR_PTR(-ENOENT); local
158 mnt = vfs_kern_mount(&nfs4_referral_fs_type, 0, page, mountdata);
159 if (!IS_ERR(mnt))
163 return mnt;
177 struct vfsmount *mnt = ERR_PTR(-ENOENT); local
203 mnt = ERR_PTR(error);
214 mnt = try_location(&mountdata, page, page2, location);
215 if (!IS_ERR(mnt))
223 return mnt;
234 struct vfsmount *mnt local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/smbfs/
H A Dinode.c355 parse_options(struct smb_mount_data_kernel *mnt, char *options) argument
378 mnt->version = value;
381 mnt->uid = value;
385 mnt->gid = value;
389 mnt->file_mode = (value & S_IRWXUGO) | S_IFREG;
393 mnt->dir_mode = (value & S_IRWXUGO) | S_IFDIR;
397 strlcpy(mnt->codepage.local_name, optarg,
401 strlcpy(mnt->codepage.remote_name, optarg,
405 mnt->ttl = value;
413 mnt
425 struct smb_mount_data_kernel *mnt = SMB_SB(m->mnt_sb)->mnt; local
496 struct smb_mount_data_kernel *mnt; local
667 smb_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) argument
790 smb_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *data, struct vfsmount *mnt) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/autofs/
H A Dinit.c18 int flags, const char *dev_name, void *data, struct vfsmount *mnt)
20 return get_sb_nodev(fs_type, flags, data, autofs_fill_super, mnt);
17 autofs_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *data, struct vfsmount *mnt) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/autofs4/
H A Dinit.c18 int flags, const char *dev_name, void *data, struct vfsmount *mnt)
20 return get_sb_nodev(fs_type, flags, data, autofs4_fill_super, mnt);
17 autofs_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *data, struct vfsmount *mnt) argument
H A Dexpire.c48 static int autofs4_mount_busy(struct vfsmount *mnt, struct dentry *dentry) argument
51 struct path path = {.mnt = mnt, .dentry = dentry};
80 if (!may_umount_tree(path.mnt)) {
120 static int autofs4_direct_busy(struct vfsmount *mnt, argument
129 if (!may_umount_tree(mnt)) {
146 static int autofs4_tree_busy(struct vfsmount *mnt, argument
180 if (autofs4_mount_busy(mnt, p)) {
219 static struct dentry *autofs4_check_leaves(struct vfsmount *mnt, argument
243 if (autofs4_mount_busy(mnt,
259 autofs4_expire_direct(struct super_block *sb, struct vfsmount *mnt, struct autofs_sb_info *sbi, int how) argument
298 autofs4_expire_indirect(struct super_block *sb, struct vfsmount *mnt, struct autofs_sb_info *sbi, int how) argument
447 autofs4_expire_run(struct super_block *sb, struct vfsmount *mnt, struct autofs_sb_info *sbi, struct autofs_packet_expire __user *pkt_p) argument
482 autofs4_do_expire_multi(struct super_block *sb, struct vfsmount *mnt, struct autofs_sb_info *sbi, int when) argument
516 autofs4_expire_multi(struct super_block *sb, struct vfsmount *mnt, struct autofs_sb_info *sbi, int __user *arg) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/mtd/
H A Dsuper.h24 struct vfsmount *mnt);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/
H A Dmtdsuper.c61 struct vfsmount *mnt)
87 simple_set_mnt(mnt, sb);
95 simple_set_mnt(mnt, sb);
112 struct vfsmount *mnt)
123 mnt);
132 struct vfsmount *mnt)
162 fill_super, mnt);
179 mtdnr, fill_super, mnt);
206 mnt);
57 get_sb_mtd_aux(struct file_system_type *fs_type, int flags, const char *dev_name, void *data, struct mtd_info *mtd, int (*fill_super)(struct super_block *, void *, int), struct vfsmount *mnt) argument
109 get_sb_mtd_nr(struct file_system_type *fs_type, int flags, const char *dev_name, void *data, int mtdnr, int (*fill_super)(struct super_block *, void *, int), struct vfsmount *mnt) argument
129 get_sb_mtd(struct file_system_type *fs_type, int flags, const char *dev_name, void *data, int (*fill_super)(struct super_block *, void *, int), struct vfsmount *mnt) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/tomoyo/
H A Dtomoyo.c103 struct path path = { parent->mnt, dentry };
110 struct path path = { parent->mnt, dentry };
117 struct path path = { parent->mnt, dentry };
124 struct path path = { parent->mnt, dentry };
131 struct path path = { parent->mnt, dentry };
161 struct path path1 = { new_dir->mnt, old_dentry };
162 struct path path2 = { new_dir->mnt, new_dentry };
171 struct path path1 = { old_parent->mnt, old_dentry };
172 struct path path2 = { new_parent->mnt, new_dentry };
199 static int tomoyo_path_chmod(struct dentry *dentry, struct vfsmount *mnt, argument
228 tomoyo_sb_umount(struct vfsmount *mnt, int flags) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/apparmor/
H A Dpath.c70 root.mnt = current->nsproxy->mnt_ns->root;
71 root.dentry = root.mnt->mnt_root;
103 connected = tmp.dentry == root.dentry && tmp.mnt == root.mnt;
126 (tmp.mnt == current->nsproxy->mnt_ns->root &&
127 tmp.dentry == tmp.mnt->mnt_root))) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/exportfs/
H A Dexpfs.c22 static int get_name(struct vfsmount *mnt, struct dentry *dentry, char *name,
26 static int exportfs_get_name(struct vfsmount *mnt, struct dentry *dir, argument
34 return get_name(mnt, dir, name, child);
98 reconnect_path(struct vfsmount *mnt, struct dentry *target_dir, char *nbuf) argument
120 } else if (pd == mnt->mnt_sb->s_root) {
146 if (mnt->mnt_sb->s_export_op->get_parent)
147 ppd = mnt->mnt_sb->s_export_op->get_parent(pd);
160 err = exportfs_get_name(mnt, ppd, nbuf, pd);
250 static int get_name(struct vfsmount *mnt, struct dentry *dentry, argument
268 file = dentry_open(dget(dentry), mntget(mnt), O_RDONL
359 exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid, int fh_len, int fileid_type, int (*acceptable)(void *, struct dentry *), void *context) argument
[all...]

Completed in 230 milliseconds

1234567891011>>