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

12345678

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/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.c30 static int do_make_slave(struct vfsmount *mnt) argument
32 struct vfsmount *peer_mnt = mnt, *master = mnt->mnt_master;
36 * slave 'mnt' to a peer mount that has the
40 while ((peer_mnt = next_peer(peer_mnt)) != mnt &&
41 peer_mnt->mnt_root != mnt->mnt_root) ;
43 if (peer_mnt == mnt) {
44 peer_mnt = next_peer(mnt);
45 if (peer_mnt == mnt)
48 list_del_init(&mnt
74 change_mnt_propagation(struct vfsmount *mnt, int type) argument
224 do_refcount_check(struct vfsmount *mnt, int count) argument
238 propagate_mount_busy(struct vfsmount *mnt, int refcnt) argument
269 __propagate_umount(struct vfsmount *mnt) argument
297 struct vfsmount *mnt; local
[all...]
H A Dnamespace.c46 static inline unsigned long hash(struct vfsmount *mnt, struct dentry *dentry) argument
48 unsigned long tmp = ((unsigned long)mnt / L1_CACHE_BYTES);
56 struct vfsmount *mnt = kmem_cache_zalloc(mnt_cache, GFP_KERNEL); local
57 if (mnt) {
58 atomic_set(&mnt->mnt_count, 1);
59 INIT_LIST_HEAD(&mnt->mnt_hash);
60 INIT_LIST_HEAD(&mnt->mnt_child);
61 INIT_LIST_HEAD(&mnt->mnt_mounts);
62 INIT_LIST_HEAD(&mnt->mnt_list);
63 INIT_LIST_HEAD(&mnt
79 simple_set_mnt(struct vfsmount *mnt, struct super_block *sb) argument
88 free_vfsmnt(struct vfsmount *mnt) argument
98 __lookup_mnt(struct vfsmount *mnt, struct dentry *dentry, int dir) argument
123 lookup_mnt(struct vfsmount *mnt, struct dentry *dentry) argument
133 check_mnt(struct vfsmount *mnt) argument
154 detach_mnt(struct vfsmount *mnt, struct nameidata *old_nd) argument
165 mnt_set_mountpoint(struct vfsmount *mnt, struct dentry *dentry, struct vfsmount *child_mnt) argument
173 attach_mnt(struct vfsmount *mnt, struct nameidata *nd) argument
184 commit_tree(struct vfsmount *mnt) argument
234 struct vfsmount *mnt = alloc_vfsmnt(old->mnt_devname); local
270 __mntput(struct vfsmount *mnt) argument
278 mntput_no_expire(struct vfsmount *mnt) argument
298 mnt_pin(struct vfsmount *mnt) argument
307 mnt_unpin(struct vfsmount *mnt) argument
353 struct vfsmount *mnt = v; local
408 struct vfsmount *mnt = v; local
452 may_umount_tree(struct vfsmount *mnt) argument
486 may_umount(struct vfsmount *mnt) argument
500 struct vfsmount *mnt; local
520 umount_tree(struct vfsmount *mnt, int propagate, struct list_head *kill) argument
542 do_umount(struct vfsmount *mnt, int flags) argument
702 copy_tree(struct vfsmount *mnt, struct dentry *dentry, int flag) argument
851 graft_tree(struct vfsmount *mnt, struct nameidata *nd) argument
885 struct vfsmount *m, *mnt = nd->mnt; local
910 struct vfsmount *mnt = NULL; local
982 tree_contains_unbindable(struct vfsmount *mnt) argument
1071 struct vfsmount *mnt; local
1135 expire_mount(struct vfsmount *mnt, struct list_head *mounts, struct list_head *umounts) argument
1179 struct vfsmount *mnt; local
1211 struct vfsmount *mnt, *next; local
1258 struct vfsmount *mnt = list_entry(tmp, struct vfsmount, mnt_child); local
1581 set_fs_root(struct fs_struct *fs, struct vfsmount *mnt, struct dentry *dentry) argument
1602 set_fs_pwd(struct fs_struct *fs, struct vfsmount *mnt, struct dentry *dentry) argument
1775 struct vfsmount *mnt; local
[all...]
H A Dnfsctl.c28 nd.mnt = do_kern_mount("nfsd", 0, "nfsd", NULL);
30 if (IS_ERR(nd.mnt))
31 return (struct file *)nd.mnt;
33 nd.dentry = dget(nd.mnt->mnt_root);
48 return dentry_open(nd.dentry, nd.mnt, flags);
H A Dsuper.c739 struct vfsmount *mnt)
785 return simple_set_mnt(mnt, s);
812 struct vfsmount *mnt)
829 return simple_set_mnt(mnt, s);
842 struct vfsmount *mnt)
861 return simple_set_mnt(mnt, s);
869 struct vfsmount *mnt; local
877 mnt = alloc_vfsmnt(name);
878 if (!mnt)
891 error = type->get_sb(type, flags, name, data, mnt);
736 get_sb_bdev(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
809 get_sb_nodev(struct file_system_type *fs_type, int flags, void *data, int (*fill_super)(struct super_block *, void *, int), struct vfsmount *mnt) argument
839 get_sb_single(struct file_system_type *fs_type, int flags, void *data, int (*fill_super)(struct super_block *, void *, int), struct vfsmount *mnt) argument
918 fs_set_subtype(struct vfsmount *mnt, const char *fstype) argument
945 struct vfsmount *mnt; local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/linux/
H A Dmount.h66 static inline struct vfsmount *mntget(struct vfsmount *mnt) argument
68 if (mnt)
69 atomic_inc(&mnt->mnt_count);
70 return mnt;
73 extern void mntput_no_expire(struct vfsmount *mnt);
74 extern void mnt_pin(struct vfsmount *mnt);
75 extern void mnt_unpin(struct vfsmount *mnt);
77 static inline void mntput(struct vfsmount *mnt) argument
79 if (mnt) {
80 mnt
[all...]
H A Dramfs.h6 int flags, const char *dev_name, void *data, struct vfsmount *mnt);
/netgear-WNDR4500-V1.0.1.40_1.0.68/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-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/nfs/
H A Dnamespace.c99 struct vfsmount *mnt; local
123 mnt = nfs_do_refmount(nd->mnt, nd->dentry);
125 mnt = nfs_do_submount(nd->mnt, nd->dentry, &fh, &fattr);
126 err = PTR_ERR(mnt);
127 if (IS_ERR(mnt))
130 mntget(mnt);
131 err = do_add_mount(mnt, nd, nd->mnt
192 struct vfsmount *mnt = NULL; local
226 struct vfsmount *mnt = ERR_PTR(-ENOMEM); local
[all...]
H A Dnfs4namespace.c127 struct vfsmount *mnt = ERR_PTR(-ENOENT); local
153 mnt = ERR_PTR(error);
158 while (loc < locations->nlocations && IS_ERR(mnt)) {
195 mnt = vfs_kern_mount(&nfs4_referral_fs_type, 0, page, &mountdata);
196 if (!IS_ERR(mnt)) {
208 return mnt;
219 struct vfsmount *mnt = ERR_PTR(-ENOMEM); local
237 mnt = ERR_PTR(-ENOENT);
250 mnt = nfs_follow_referral(mnt_parent, dentry, fs_locations);
256 return mnt;
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/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
497 struct smb_mount_data_kernel *mnt; local
654 smb_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) argument
779 smb_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *data, struct vfsmount *mnt) argument
[all...]
H A Dioctl.c37 SET_UID(uid16, server->mnt->mounted_uid);
41 SET_UID(uid32, server->mnt->mounted_uid);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/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
H A Ddirhash.c38 struct vfsmount *mnt)
83 mntget(mnt);
85 if (!follow_down(&mnt, &dentry)) {
87 mntput(mnt);
91 while (d_mountpoint(dentry) && follow_down(&mnt, &dentry))
95 if ( may_umount(mnt) ) {
96 mntput(mnt);
101 mntput(mnt);
36 autofs_expire(struct super_block *sb, struct autofs_sb_info *sbi, struct vfsmount *mnt) argument
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/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
56 mntget(mnt);
59 if (!autofs4_follow_mount(&mnt, &dentry))
67 if (!may_umount_tree(mnt)) {
76 mntput(mnt);
108 static int autofs4_direct_busy(struct vfsmount *mnt, argument
117 if (!may_umount_tree(mnt)) {
134 static int autofs4_tree_busy(struct vfsmount *mnt, argument
168 if (autofs4_mount_busy(mnt, p)) {
207 static struct dentry *autofs4_check_leaves(struct vfsmount *mnt, argument
247 autofs4_expire_direct(struct super_block *sb, struct vfsmount *mnt, struct autofs_sb_info *sbi, int how) argument
284 autofs4_expire_indirect(struct super_block *sb, struct vfsmount *mnt, struct autofs_sb_info *sbi, int how) argument
389 autofs4_expire_run(struct super_block *sb, struct vfsmount *mnt, struct autofs_sb_info *sbi, struct autofs_packet_expire __user *pkt_p) argument
418 autofs4_expire_multi(struct super_block *sb, struct vfsmount *mnt, struct autofs_sb_info *sbi, int __user *arg) argument
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/linux/mtd/
H A Dsuper.h24 struct vfsmount *mnt);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/mtd/
H A Dmtdsuper.c57 struct vfsmount *mnt)
82 return simple_set_mnt(mnt, sb);
88 ret = simple_set_mnt(mnt, sb);
104 struct vfsmount *mnt)
115 mnt);
124 struct vfsmount *mnt)
153 fill_super, mnt);
174 mtdnr, fill_super, mnt);
195 if (nd.mnt->mnt_flags & MNT_NODEV) {
207 mnt);
53 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
101 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
121 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
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/ecryptfs/
H A Ddentry.c55 vfsmount_save = nd->mnt;
57 nd->mnt = lower_mnt;
60 nd->mnt = vfsmount_save;
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/prebuilt/WW/opt/remote/bin/
H A Dsyscmd.sh66 FOLDER="`df "/tmp/mnt/usb${i}/part1" | tail -n 1 | awk '{print $1}'`"
68 DATA="${DATA}<volume mount=\"/u\"><size>`df "/tmp/mnt/usb${i}/part1" | tail -n 1 | awk '{print $2}'`</size><free>`df "/tmp/mnt/usb${i}/part1" | tail -n 1 | awk '{print $4}'`</free></volume>"
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/busybox-1.x/e2fsprogs/old_e2fsprogs/ext2fs/
H A Dismounted.c47 struct mntent *mnt; local
68 while ((mnt = getmntent (f)) != NULL) {
69 if (strcmp(file, mnt->mnt_fsname) == 0)
71 if (stat(mnt->mnt_fsname, &st_buf) == 0) {
85 if (mnt == 0) {
112 if (stat(mnt->mnt_dir, &st_buf) < 0) {
117 mtab_file, mnt->mnt_dir);
126 mtab_file, file, mnt->mnt_dir);
135 if (hasmntopt(mnt, MNTOPT_RO))
140 strncpy(mtpt, mnt
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/client/
H A Dsmbumount.c108 struct mntent *mnt; local
161 while ((mnt = getmntent(mtab)) != NULL) {
162 if (strcmp(mnt->mnt_dir, mount_point) != 0) {
163 addmntent(new_mtab, mnt);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/afs/
H A Dmntpt.c141 struct vfsmount *mnt; local
191 mnt = vfs_kern_mount(&afs_fs_type, 0, devname, options);
192 _debug("--- mount result %p ---", mnt);
196 _leave(" = %p", mnt);
197 return mnt;
221 nd->mnt->mnt_devname,
238 mntput(nd->mnt);
240 nd->mnt = newmnt;
248 follow_down(&nd->mnt, &nd->dentry))

Completed in 210 milliseconds

12345678