Home
last modified time | relevance | path

Searched refs:mount (Results 1 – 25 of 802) sorted by relevance

12345678910>>...33

/openbmc/linux/fs/
H A Dpnode.c17 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_slave(struct mount *p) in last_slave()
29 return list_entry(p->mnt_slave_list.prev, struct mount, mnt_slave); in last_slave()
32 static inline struct mount *next_slave(struct mount *p) in next_slave()
34 return list_entry(p->mnt_slave.next, struct mount, mnt_slave); in next_slave()
37 static struct mount *get_peer_under_root(struct mount *mnt, in get_peer_under_root()
41 struct mount *m = mnt; in get_peer_under_root()
[all …]
H A Dpnode.h33 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 *mnt);
48 void mnt_set_mountpoint(struct mount *, struct mountpoint *,
49 struct mount *);
[all …]
H A Dmount.h10 struct mount * root;
39 struct mount { struct
41 struct mount *mnt_parent; argument
63 struct mount *mnt_master; /* slave is on master->mnt_slave_list */ argument
84 static inline struct mount *real_mount(struct vfsmount *mnt) in real_mount() argument
86 return container_of(mnt, struct mount, mnt); in real_mount()
89 static inline int mnt_has_parent(struct mount *mnt) in mnt_has_parent()
100 extern struct mount *__lookup_mnt(struct vfsmount *, struct dentry *);
106 struct mount *m = __lookup_mnt(path->mnt, path->dentry); in __path_is_mountpoint()
130 struct mount cursor;
[all …]
H A Dnamespace.c127 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 *mnt = kmem_cache_zalloc(mnt_cache, GFP_KERNEL); in alloc_vfsmnt()
276 static inline void mnt_inc_writers(struct mount *mnt) in mnt_inc_writers()
285 static inline void mnt_dec_writers(struct mount *mnt) in mnt_dec_writers()
[all …]
/openbmc/linux/Documentation/filesystems/
H A Dsharedsubtree.rst10 3) Setting mount states
36 a. shared mount
37 b. slave mount
38 c. private mount
39 d. unbindable mount
42 2a) A shared mount can be replicated to as many mountpoints and all the
47 Let's say /mnt has a mount that is shared::
49 mount --make-shared /mnt
51 Note: mount(8) command now supports the --make-shared flag,
57 # mount --bind /mnt /tmp
[all …]
H A Dautofs-mount-control.rst17 are things such as setting an autofs mount catatonic, setting the
20 mount itself which prevents us being able to use open(2) to obtain a
25 needs to walk back up the mount tree to construct a path, such as
28 from the mount tree.
33 because autofs direct mounts and the implementation of "on demand mount
34 and expire" of nested mount trees have the file system mounted directly
35 on top of the mount trigger directory dentry.
39 a direct mount in disguise) and indirect.
62 operation. So we see a mount of shark:/autofs/export1 on /test/g1, for
65 The way that direct mounts are handled is by making an autofs mount on
[all …]
H A Dtmpfs.rst17 mount. tmpfs also supports THP.
21 fly using a remount ('mount -o remount ...') of the filesystem. A tmpfs
45 1) There is always a kernel internal mount which you will not see at
49 This mount does not depend on CONFIG_TMPFS. If CONFIG_TMPFS is not
59 Remember to create the directory that you intend to mount tmpfs on
62 This mount is _not_ needed for SYSV shared memory. The internal
63 mount is used for that. (In the 2.3 kernel versions it was
64 necessary to mount the predecessor of tmpfs (shm fs) to use SYSV
67 3) Some people (including me) find it very convenient to mount it
75 tmpfs has three mount options for sizing:
[all …]
H A Dgfs2-uevents.rst7 During the lifetime of a GFS2 mount, a number of uevents are generated.
17 The ADD event occurs at mount time. It will always be the first
18 uevent generated by the newly created filesystem. If the mount
23 and RDONLY=[0|1] that specify the spectator status (a read-only mount
30 The ONLINE uevent is generated after a successful mount or remount. It
40 successful mount of the filesystem by the first node (FIRSTMOUNT=Done).
42 nodes in the cluster to mount the filesystem.
49 for every journal recovered, whether it is during the initial mount
58 uevent for a successful mount or remount.
71 The REMOVE uevent is generated at the end of an unsuccessful mount
[all …]
/openbmc/qemu/qga/
H A Dcommands-bsd.c34 FsMount *mount; in build_fs_mount_list() local
54 mount = g_new0(FsMount, 1); in build_fs_mount_list()
56 mount->dirname = g_strdup(mntp->f_mntonname); in build_fs_mount_list()
57 mount->devtype = g_strdup(mntp->f_fstypename); in build_fs_mount_list()
58 mount->devmajor = major(mount->dev); in build_fs_mount_list()
59 mount->devminor = minor(mount->dev); in build_fs_mount_list()
60 mount->fsid = mntp->f_fsid; in build_fs_mount_list()
61 mount->dev = statbuf.st_dev; in build_fs_mount_list()
63 QTAILQ_INSERT_TAIL(mounts, mount, next); in build_fs_mount_list()
80 struct FsMount *mount; in qmp_guest_fsfreeze_do_freeze_list() local
[all …]
/openbmc/openbmc/poky/meta/recipes-core/initrdscripts/files/
H A Dinit-live.sh32 mount -t proc proc /proc
33 mount -t sysfs sysfs /sys
34 mount -t devtmpfs none /dev
89 mount -n --move "/run/media/${ROOT_DISK}" ${ROOT_MOUNT}/media/realroot
98 mount -n --move "$dir" "${ROOT_MOUNT}/media/${dir##*/}"
100 mount -n --move /proc ${ROOT_MOUNT}/proc
101 mount -n --move /sys ${ROOT_MOUNT}/sys
102 mount -n --move /dev ${ROOT_MOUNT}/dev
148 mount | grep media
166 …if ! mount -o rw,loop,noatime,nodiratime /run/media/$ROOT_DISK/$ISOLINUX/$ROOT_IMAGE $ROOT_MOUNT ;…
[all …]
/openbmc/linux/security/tomoyo/
H A Dmount.c33 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.flags, in tomoyo_check_mount_acl()
55 tomoyo_compare_name_union(r->param.mount.type, in tomoyo_check_mount_acl()
57 tomoyo_compare_name_union(r->param.mount.dir, in tomoyo_check_mount_acl()
59 (!r->param.mount.need_dev || in tomoyo_check_mount_acl()
60 tomoyo_compare_name_union(r->param.mount.dev, in tomoyo_check_mount_acl()
159 r->param.mount.need_dev = need_dev; in tomoyo_mount_acl()
[all …]
/openbmc/openbmc/poky/meta/recipes-core/initrdscripts/initramfs-framework/
H A Doverlayroot89 if mount -n -t ${bootparam_overlayrootfstype:-ext4} -o ${bootparam_overlayrootfsflags:-defaults} ${…
98 mount -o bind ${OLDROOT} ${ROMOUNT}
99 mount -o remount,ro ${ROMOUNT}
102mount -t overlay overlay -o lowerdir=${ROMOUNT},upperdir=${UPPER_DIR},workdir=${WORK_DIR} ${NEWROO…
113 mount -n --move ${ROMOUNT} ${NEWROOT}/rofs
114 mount -n --move /proc ${NEWROOT}/proc
115 mount -n --move /sys ${NEWROOT}/sys
116 mount -n --move /dev ${NEWROOT}/dev
/openbmc/openbmc/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-mmc-init/
H A Dmmc-init.sh34 mount dev dev -tdevtmpfs
35 mount sys sys -tsysfs
36 mount proc proc -tproc
37 mount tmpfs run -t tmpfs -o mode=755,nodev
69 if ! mount /dev/disk/by-partlabel/"$(kgetopt root=PARTLABEL)" $rodir -t ext4 -o ro; then
102 if ! mount "${rwfsdev}" $rodir/var -t ext4 -o rw; then
108 mount overlay $rodir/etc -t overlay -o lowerdir=$rodir/etc,upperdir=$rodir/var/persist/etc,workdir=…
113 mount --move "$f" "$rodir/$f"
/openbmc/openbmc/poky/meta/recipes-core/initscripts/initscripts-1.0/
H A Dsysfs.sh18 mount -t proc proc /proc
22 mount -t sysfs sysfs /sys
26 mount -t debugfs debugfs /sys/kernel/debug
30 mount -t configfs configfs /sys/kernel/config
34 mount -t efivarfs efivarfs /sys/firmware/efi/efivars
38 mount -n -t devtmpfs devtmpfs /dev
/openbmc/openbmc/meta-openembedded/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/
H A Dgpiod-sysfs-proxy_0.1.2.bb12 file://run-gpio-sys.mount \
13 file://sys-class.mount \
25 PACKAGECONFIG[sys-class-mount] = ""
27 export MOUNTPOINT="${@bb.utils.contains('PACKAGECONFIG', 'sys-class-mount', '\/sys\/class\/gpio', '…
34 if ${@bb.utils.contains('PACKAGECONFIG', 'sys-class-mount', 'true', 'false', d)}; then
37 … install -m 0644 ${UNPACKDIR}/run-gpio-sys.mount ${D}${systemd_system_unitdir}/run-gpio-sys.mount
38 … install -m 0644 ${UNPACKDIR}/sys-class.mount ${D}${systemd_system_unitdir}/sys-class.mount
40 … ln -sf ../run-gpio-sys.mount ${D}${systemd_system_unitdir}/sysinit.target.wants/run-gpio-sys.mount
41 … ln -sf ../sys-class.mount ${D}${systemd_system_unitdir}/sysinit.target.wants/sys-class.mount
/openbmc/openbmc/poky/meta/files/
H A Doverlayfs-etc-preinit.sh.in7 mount -o remount,rw /
16 mount -t proc proc /proc
17 mount -t sysfs sysfs /sys
26 if mount -n -t {OVERLAYFS_ETC_FSTYPE} \
37 mount -o bind,ro /etc $LOWER_DIR
40 mount -n -t overlay \
/openbmc/linux/Documentation/admin-guide/cifs/
H A Dusage.rst54 If you do not have the utility mount.cifs (in the Samba 4.x source tree and on
55 the CIFS VFS web site) copy it to the same directory in which mount helpers
57 required, mount.cifs is recommended. Most distros include a ``cifs-utils``
62 domain to the proper network user. The mount.cifs mount helper can be
78 the new default. To use old dialects (e.g. to mount Windows XP) use "vers=1.0"
79 on mount (or vers=2.0 for Windows Vista). Note that the CIFS (vers=1.0) is
83 There are additional mount options that may be helpful for SMB3 to get
91 To permit users to mount and unmount over directories they own is possible
92 with the cifs vfs. A way to enable such mounting is to mark the mount.cifs
93 utility as suid (e.g. ``chmod +s /sbin/mount.cifs``). To enable users to
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/toybox/toybox-inittab/
H A Dinittab2 ::sysinit:/bin/mount -t proc proc /proc
3 ::sysinit:/bin/mount -t sysfs sysfs /sys
4 ::sysinit:/bin/mount -t devtmpfs devtmpfs /dev
5 ::sysinit:/bin/mount -o remount,rw /
7 ::sysinit:/bin/mount -t devpts devpts /dev/pts
8 ::sysinit:/bin/mount -a
/openbmc/openbmc/poky/meta/recipes-core/busybox/busybox/
H A Dfail_on_no_media.patch10 even when no media exists. The util-linux mount command bails when no
19 util-linux/mount.c | 8 ++++++++
22 diff --git a/util-linux/mount.c b/util-linux/mount.c
24 --- a/util-linux/mount.c
25 +++ b/util-linux/mount.c
38 // Should we retry read-only mount?
/openbmc/openbmc/meta-phosphor/recipes-phosphor/initrdscripts/
H A Dphosphor-static-norootfs-init.bb2 DESCRIPTION = "Phosphor OpenBMC filesystem mount implementation for static-norootfs"
13 50-mount-persistent \
43 # Create persistent mount points and add to mount script.
46 touch ${D}/$mountpoint/.keep.mount-persistent
49 ${D}${PKG_INSTALL_DIR}/50-mount-persistent
60 FILES:${PN}:append = " ${@ " ".join([ '/' + x + '/.keep.mount-persistent' for x in d.getVar('NOROOT…
/openbmc/openbmc/poky/meta/recipes-core/udev/
H A Dudev-extraconf_1.1.bb9 file://mount.sh \
10 file://mount.ignorelist \
29 install -d ${D}${sysconfdir}/udev/mount.ignorelist.d
30 install -m 0644 ${S}/mount.ignorelist ${D}${sysconfdir}/udev/
34 install -m 0755 ${S}/mount.sh ${D}${sysconfdir}/udev/scripts/mount.sh
39 -i ${D}${sysconfdir}/udev/scripts/mount.sh
57 CONFFILES:${PN} = "${sysconfdir}/udev/mount.ignorelist"
/openbmc/openbmc/poky/meta/recipes-core/busybox/files/
H A Dinittab4 ::sysinit:/bin/mount -t proc proc /proc
5 ::sysinit:/bin/mount -t sysfs sysfs /sys
6 ::sysinit:/bin/mount -t devtmpfs devtmpfs /dev
7 ::sysinit:/bin/mount -o remount,rw /
9 ::sysinit:/bin/mount -t devpts devpts /dev/pts
10 ::sysinit:/bin/mount -a
/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-utils/xfstests/xfstests/
H A D0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch4 Subject: [PATCH] Drop detached_mounts_propagation and remove sys/mount.h from
7 with glibc 2.36+ sys/mount.h conflicts with linux/mount.h and here
8 linux/mount.h is included via xfs/xfs.h header and we need sys/mount.h
9 for the mount() API prototype. Until thats resolved lets not build this
/openbmc/openbmc/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-static-norootfs-init/
H A D10-early-mounts3 mount dev dev -tdevtmpfs
4 mount sys sys -tsysfs
5 mount proc proc -tproc
6 mount tmpfs run -t tmpfs -o mode=755,nodev
/openbmc/openbmc/poky/meta/classes-recipe/
H A Doverlayfs.bbclass7 # Class for generation of overlayfs mount units
18 # Set a mount point for a partition overlayfs is going to use as upper layer
26 # mount unit (data.mount in this case) for this mount point installed on the
29 # If the mount point is handled somewhere else, e.g. custom boot or preinit
31 # mount-configured to the related OVERLAYFS_QA_SKIP flag:
33 # OVERLAYFS_QA_SKIP[data] = "mount-configured"
40 # To support several mount points you can use a different variable flag. Assume we
42 # survive a reboot. Then we could have a mnt-overlay.mount unit for a tmpfs file system:
59 OVERLAYFS_MOUNT_UNIT_TEMPLATE ??= "${COREBASE}/meta/files/overlayfs-unit.mount.in"
107 bb.note("No mount points defined for %s flag, skipping" % (mountPoint))
[all …]

12345678910>>...33