Home
last modified time | relevance | path

Searched refs:mount (Results 1 - 25 of 1106) sorted by relevance

12345678910>>...45

/kernel/linux/linux-6.6/fs/
H A Dpnode.c9 #include <linux/mount.h>
12 #include <uapi/linux/mount.h>
16 /* return the next shared peer mount of @p */
17 static inline struct mount *next_peer(struct mount *p) in next_peer()
19 return list_entry(p->mnt_share.next, struct mount, mnt_share); in next_peer()
22 static inline struct mount *first_slave(struct mount *p) in first_slave()
24 return list_entry(p->mnt_slave_list.next, struct mount, mnt_slave); in first_slave()
27 static inline struct mount *last_slav
[all...]
H A Dpnode.h11 #include "mount.h"
33 static inline void set_mnt_shared(struct mount *mnt) in set_mnt_shared()
39 void change_mnt_propagation(struct mount *, int);
40 int propagate_mnt(struct mount *, struct mountpoint *, struct mount *,
43 int propagate_mount_busy(struct mount *, int);
44 void propagate_mount_unlock(struct mount *);
45 void mnt_release_group_id(struct mount *);
46 int get_dominating_id(struct mount *mnt, const struct path *root);
47 int mnt_get_count(struct mount *mn
[all...]
H A Dmount.h2 #include <linux/mount.h>
10 struct mount * root;
39 struct mount { struct
41 struct mount *mnt_parent;
56 struct list_head mnt_instance; /* mount instance on sb->s_mounts */
63 struct mount *mnt_master; /* slave is on master->mnt_slave_list */
75 int mnt_id; /* mount identifier */
84 static inline struct mount *real_mount(struct vfsmount *mnt) in real_mount()
86 return container_of(mnt, struct mount, mnt); in real_mount()
89 static inline int mnt_has_parent(struct mount *mn
[all...]
H A Dnamespace.c31 #include <uapi/linux/mount.h>
39 /* Maximum number of mounts in a mount namespace */
127 static int mnt_alloc_id(struct mount *mnt) in mnt_alloc_id()
137 static void mnt_free_id(struct mount *mnt) in mnt_free_id()
145 static int mnt_alloc_group_id(struct mount *mnt) in mnt_alloc_group_id()
158 void mnt_release_group_id(struct mount *mnt) in mnt_release_group_id()
167 static inline void mnt_add_count(struct mount *mnt, int n) in mnt_add_count()
181 int mnt_get_count(struct mount *mnt) in mnt_get_count()
197 static struct mount *alloc_vfsmnt(const char *name) in alloc_vfsmnt()
199 struct mount *mn in alloc_vfsmnt()
[all...]
/kernel/linux/linux-5.10/fs/
H A Dpnode.c9 #include <linux/mount.h>
12 #include <uapi/linux/mount.h>
16 /* return the next shared peer mount of @p */
17 static inline struct mount *next_peer(struct mount *p) in next_peer()
19 return list_entry(p->mnt_share.next, struct mount, mnt_share); in next_peer()
22 static inline struct mount *first_slave(struct mount *p) in first_slave()
24 return list_entry(p->mnt_slave_list.next, struct mount, mnt_slave); in first_slave()
27 static inline struct mount *last_slav
[all...]
H A Dpnode.h11 #include "mount.h"
33 static inline void set_mnt_shared(struct mount *mnt) in set_mnt_shared()
39 void change_mnt_propagation(struct mount *, int);
40 int propagate_mnt(struct mount *, struct mountpoint *, struct mount *,
43 int propagate_mount_busy(struct mount *, int);
44 void propagate_mount_unlock(struct mount *);
45 void mnt_release_group_id(struct mount *);
46 int get_dominating_id(struct mount *mnt, const struct path *root);
47 int mnt_get_count(struct mount *mn
[all...]
H A Dmount.h2 #include <linux/mount.h>
11 struct mount * root;
40 struct mount { struct
42 struct mount *mnt_parent;
57 struct list_head mnt_instance; /* mount instance on sb->s_mounts */
64 struct mount *mnt_master; /* slave is on master->mnt_slave_list */
76 int mnt_id; /* mount identifier */
85 static inline struct mount *real_mount(struct vfsmount *mnt) in real_mount()
87 return container_of(mnt, struct mount, mnt); in real_mount()
90 static inline int mnt_has_parent(struct mount *mn
[all...]
H A Dnamespace.c30 #include <uapi/linux/mount.h>
37 /* Maximum number of mounts in a mount namespace */
105 static int mnt_alloc_id(struct mount *mnt) in mnt_alloc_id()
115 static void mnt_free_id(struct mount *mnt) in mnt_free_id()
123 static int mnt_alloc_group_id(struct mount *mnt) in mnt_alloc_group_id()
136 void mnt_release_group_id(struct mount *mnt) in mnt_release_group_id()
145 static inline void mnt_add_count(struct mount *mnt, int n) in mnt_add_count()
159 int mnt_get_count(struct mount *mnt) in mnt_get_count()
175 static struct mount *alloc_vfsmnt(const char *name) in alloc_vfsmnt()
177 struct mount *mn in alloc_vfsmnt()
[all...]
/third_party/ltp/testcases/kernel/fs/fs_bind/rbind/
H A Dfs_bind_rbind33.sh18 EXPECT_PASS mount --rbind dir1 dir2
19 EXPECT_PASS mount --make-rslave dir2
20 EXPECT_PASS mount --make-shared dir2
22 EXPECT_PASS mount --rbind dir2 dir3
23 EXPECT_PASS mount --make-rslave dir3
24 EXPECT_PASS mount --make-shared dir3
26 EXPECT_PASS mount --rbind dir3 dir4
27 EXPECT_PASS mount --make-rslave dir4
29 EXPECT_PASS mount --rbind "$FS_BIND_DISK1" dir1/x
33 EXPECT_PASS mount
[all...]
H A Dfs_bind_rbind03.sh20 EXPECT_PASS mount --rbind parent1/child1 share1
21 EXPECT_PASS mount --rbind "$FS_BIND_DISK1" parent1/child1
22 EXPECT_PASS mount --rbind "$FS_BIND_DISK2" share2
23 EXPECT_PASS mount --rbind share2 parent2
24 EXPECT_PASS mount --make-rslave parent2
30 EXPECT_PASS mount --rbind parent1/child1 share1
31 EXPECT_PASS mount --rbind parent1/child1 parent2/child2
35 EXPECT_PASS mount --rbind "$FS_BIND_DISK3" parent1/child1/a
40 EXPECT_PASS mount --rbind "$FS_BIND_DISK3" parent2/child2/b
H A Dfs_bind_rbind38.sh17 EXPECT_PASS mount --rbind share1 parent1/child1
18 EXPECT_PASS mount --rbind share2 parent2/child2
19 EXPECT_PASS mount --make-rslave parent1/child1
20 EXPECT_PASS mount --make-rslave parent2/child2
22 EXPECT_PASS mount --bind "$FS_BIND_DISK1" share1
24 EXPECT_PASS mount --rbind parent1 parent2
29 EXPECT_PASS mount --bind "$FS_BIND_DISK2" share1/a
32 EXPECT_PASS mount --bind "$FS_BIND_DISK3" parent1/child1/b
35 EXPECT_PASS mount --bind "$FS_BIND_DISK4" parent2/child1/c
H A Dfs_bind_rbind11.sh20 EXPECT_PASS mount --rbind parent2 share2
21 EXPECT_PASS mount --rbind share1 parent1/child1
22 EXPECT_PASS mount --rbind "$FS_BIND_DISK1" share1
23 EXPECT_PASS mount --rbind "$FS_BIND_DISK2" share2
24 EXPECT_PASS mount --make-rslave parent1/child1
25 EXPECT_PASS mount --make-rslave parent2
32 EXPECT_PASS mount --rbind parent1/child1 parent2/child2
36 EXPECT_PASS mount --rbind "$FS_BIND_DISK3" parent1/child1/a
41 EXPECT_PASS mount --rbind "$FS_BIND_DISK4" parent2/child2/b
48 EXPECT_PASS mount
[all...]
H A Dfs_bind_rbind19.sh19 EXPECT_PASS mount --rbind "$FS_BIND_DISK1" share1
20 EXPECT_PASS mount --rbind share1 parent1
21 EXPECT_PASS mount --rbind share2 parent2
22 EXPECT_PASS mount --make-rslave parent2
25 EXPECT_PASS mount --rbind parent1 parent2
27 EXPECT_PASS mount --rbind "$FS_BIND_DISK2" parent1/child1
30 EXPECT_PASS mount --rbind "$FS_BIND_DISK3" parent2/a
34 EXPECT_PASS mount --rbind "$FS_BIND_DISK4" share1/b
H A Dfs_bind_rbind07.sh20 EXPECT_PASS mount --rbind parent1 share1
21 EXPECT_PASS mount --rbind "$FS_BIND_DISK1" parent1/child1
25 EXPECT_PASS mount --rbind "$FS_BIND_DISK2" share2
26 EXPECT_PASS mount --rbind share2 parent2
27 EXPECT_PASS mount --make-rslave parent2
32 EXPECT_PASS mount --rbind parent1/child1 parent2/child2
37 EXPECT_PASS mount --rbind "$FS_BIND_DISK2" parent1/child1/a
41 EXPECT_PASS mount --rbind "$FS_BIND_DISK3" parent2/child2/b
H A Dfs_bind_rbind27.sh20 EXPECT_PASS mount --bind share1 parent1/child1
21 EXPECT_PASS mount --bind share2 parent2
22 EXPECT_PASS mount --rbind "$FS_BIND_DISK1" parent1/child1
23 EXPECT_PASS mount --make-rslave parent1/child1
24 EXPECT_PASS mount --make-rslave parent2
26 EXPECT_PASS mount --rbind parent1 parent2
32 EXPECT_PASS mount --rbind "$FS_BIND_DISK2" parent1/child1/a
37 EXPECT_PASS mount --rbind "$FS_BIND_DISK3" parent2/child1/b
/third_party/ltp/testcases/kernel/fs/fs_bind/bind/
H A Dfs_bind21.sh18 EXPECT_PASS mount --bind dir1 dir2
19 EXPECT_PASS mount --make-rslave dir2
20 EXPECT_PASS mount --make-rshared dir2
22 EXPECT_PASS mount --bind dir2 dir3
23 EXPECT_PASS mount --make-rslave dir3
24 EXPECT_PASS mount --make-rshared dir3
26 EXPECT_PASS mount --bind dir3 dir4
27 EXPECT_PASS mount --make-rslave dir4
29 EXPECT_PASS mount --bind "$FS_BIND_DISK1" dir1/x
32 EXPECT_PASS mount
[all...]
H A Dfs_bind11.sh20 EXPECT_PASS mount --bind parent2 share2
21 EXPECT_PASS mount --bind share1 parent1/child1
22 EXPECT_PASS mount --bind "$FS_BIND_DISK1" share1
23 EXPECT_PASS mount --bind "$FS_BIND_DISK2" share2
24 EXPECT_PASS mount --make-rslave parent1/child1
25 EXPECT_PASS mount --make-rslave parent2
31 EXPECT_PASS mount --bind parent1/child1 parent2/child2
34 EXPECT_PASS mount --bind "$FS_BIND_DISK3" parent1/child1/a
38 EXPECT_PASS mount --bind "$FS_BIND_DISK4" parent2/child2/b
44 EXPECT_PASS mount
[all...]
H A Dfs_bind07.sh20 EXPECT_PASS mount --bind parent1 share1
21 EXPECT_PASS mount --bind "$FS_BIND_DISK1" parent1/child1
24 EXPECT_PASS mount --bind "$FS_BIND_DISK2" share2
25 EXPECT_PASS mount --bind share2 parent2
26 EXPECT_PASS mount --make-rslave parent2
30 EXPECT_PASS mount --bind parent1/child1 parent2/child2
34 EXPECT_PASS mount --bind "$FS_BIND_DISK2" parent1/child1/a
37 EXPECT_PASS mount --bind "$FS_BIND_DISK3" parent2/child2/b
H A Dfs_bind03.sh20 EXPECT_PASS mount --bind parent1/child1 share1
21 EXPECT_PASS mount --bind "$FS_BIND_DISK1" parent1/child1
22 EXPECT_PASS mount --bind "$FS_BIND_DISK2" share2
23 EXPECT_PASS mount --bind share2 parent2
24 EXPECT_PASS mount --make-rslave parent2
30 EXPECT_PASS mount --bind parent1/child1 share1
31 EXPECT_PASS mount --bind parent1/child1 parent2/child2
35 EXPECT_PASS mount --bind "$FS_BIND_DISK3" parent1/child1/a
40 EXPECT_PASS mount --bind "$FS_BIND_DISK3" parent2/child2/b
H A Dfs_bind24.sh18 EXPECT_PASS mount --bind dir1/1/2 dir2
19 EXPECT_PASS mount --make-rslave dir1
20 EXPECT_PASS mount --make-rshared dir1
22 EXPECT_PASS mount --bind dir1/1/2/3 dir3
23 EXPECT_PASS mount --make-rslave dir1
25 EXPECT_PASS mount --bind dir4 dir2/fs_bind_check
/kernel/linux/linux-5.10/security/tomoyo/
H A Dmount.c3 * security/tomoyo/mount.c
9 #include <uapi/linux/mount.h>
12 /* String table for special mount operations. */
24 * tomoyo_audit_mount_log - Audit mount log.
32 return tomoyo_supervisor(r, "file mount %s %s %s 0x%lX\n", in tomoyo_audit_mount_log()
33 r->param.mount.dev->name, in tomoyo_audit_mount_log()
34 r->param.mount.dir->name, in tomoyo_audit_mount_log()
35 r->param.mount.type->name, in tomoyo_audit_mount_log()
36 r->param.mount.flags); in tomoyo_audit_mount_log()
53 return tomoyo_compare_number_union(r->param.mount in tomoyo_check_mount_acl()
[all...]
/kernel/linux/linux-6.6/security/tomoyo/
H A Dmount.c3 * security/tomoyo/mount.c
9 #include <uapi/linux/mount.h>
12 /* String table for special mount operations. */
24 * tomoyo_audit_mount_log - Audit mount log.
32 return tomoyo_supervisor(r, "file mount %s %s %s 0x%lX\n", in tomoyo_audit_mount_log()
33 r->param.mount.dev->name, in tomoyo_audit_mount_log()
34 r->param.mount.dir->name, in tomoyo_audit_mount_log()
35 r->param.mount.type->name, in tomoyo_audit_mount_log()
36 r->param.mount.flags); in tomoyo_audit_mount_log()
53 return tomoyo_compare_number_union(r->param.mount in tomoyo_check_mount_acl()
[all...]
/third_party/ltp/testcases/kernel/fs/fs_bind/cloneNS/
H A Dfs_bind_cloneNS06.sh18 EXPECT_PASS mount --rbind dir1 dir2
19 EXPECT_PASS mount --make-rslave dir2
20 EXPECT_PASS mount --make-rshared dir2
22 EXPECT_PASS mount --rbind dir2 dir3
23 EXPECT_PASS mount --make-rslave dir3
24 EXPECT_PASS mount --make-rshared dir3
26 EXPECT_PASS mount --rbind dir3 dir4
27 EXPECT_PASS mount --make-rslave dir4
31 EXPECT_PASS mount --rbind "$FS_BIND_DISK1" dir1/x
35 EXPECT_PASS mount
[all...]
/third_party/ltp/testcases/kernel/fs/fs_bind/
H A Dfs_bind_regression.sh16 EXPECT_PASS mount --bind "$FS_BIND_DISK1" dir
27 EXPECT_PASS mount --bind "$FS_BIND_DISK1" dir1
28 EXPECT_PASS mount --bind "$FS_BIND_DISK2" dir1/a
29 EXPECT_PASS mount --rbind dir1 dir2
45 EXPECT_PASS mount --bind "$FS_BIND_DISK1" dir1
46 EXPECT_PASS mount --bind "$FS_BIND_DISK2" dir1/a
47 EXPECT_PASS mount --move dir1 dir2
/kernel/linux/build/test/moduletest/runtest/bin/
H A Denhancedf2fs_t_init.sh32 gc_merge_mount_opt=$(mount |grep gc_merge)
34 mount -o remount,gc_merge $DISK_PATH/
35 mount -o remount,nogc_merge $DISK_PATH/
37 mount -o remount,nogc_merge $DISK_PATH/
38 mount -o remount,gc_merge $DISK_PATH/
40 mount -o remount,rw $DISK_PATH/

Completed in 10 milliseconds

12345678910>>...45