/kernel/liteos_a/fs/include/fs/ |
H A D | mount.h | 44 struct Mount { struct 62 int (*Mount)(struct Mount *mount, struct Vnode *vnode, const void *data); member 63 int (*Unmount)(struct Mount *mount, struct Vnode **blkdriver); 64 int (*Statfs)(struct Mount *mount, struct statfs *sbp); 65 int (*Sync)(struct Mount *mount); 73 struct Mount *MountAlloc(struct Vnode *vnode, struct MountOps *mop);
|
/kernel/liteos_a/fs/vfs/ |
H A D | mount.c | 47 struct Mount *MountAlloc(struct Vnode *vnodeBeCovered, struct MountOps *fsop)
in MountAlloc() 49 struct Mount *mnt = (struct Mount *)zalloc(sizeof(struct Mount));
in MountAlloc()
|
H A D | vnode_hash.c | 84 static LOS_DL_LIST *VfsHashBucket(const struct Mount *mp, uint32_t hash) in VfsHashBucket() 89 int VfsHashGet(const struct Mount *mount, uint32_t hash, struct Vnode **vnode, VfsHashCmp *fn, void *arg) in VfsHashGet()
|
H A D | vnode.c | 219 int VnodeFreeAll(const struct Mount *mount)
in VnodeFreeAll() 237 BOOL VnodeInUseIter(const struct Mount *mount)
in VnodeInUseIter() 307 struct Mount *mnt = NULL;
in ConvertVnodeIfMounted() 308 LOS_DL_LIST_FOR_EACH_ENTRY(mnt, mntList, struct Mount, mountList) {
in ConvertVnodeIfMounted() argument 486 struct Mount *mnt = NULL;
in ChangeRootInternal() 623 struct Mount *devMount = NULL;
in VnodeDevInit()
|
/kernel/liteos_a/kernel/extended/container/ |
H A D | los_mnt_container.c | 97 struct Mount *mnt = NULL; in CopyMountList() 99 LOS_DL_LIST_FOR_EACH_ENTRY(mnt, &parentContainer->mountList, struct Mount, mountList) { in CopyMountList() 100 struct Mount *newMnt = (struct Mount *)zalloc(sizeof(struct Mount)); in CopyMountList() 190 struct Mount *mnt = NULL; in FreeMountList() 191 struct Mount *nextMnt = NULL; in FreeMountList() 199 LOS_DL_LIST_FOR_EACH_ENTRY_SAFE(mnt, nextMnt, mountList, struct Mount, mountList) { in FreeMountList() argument
|
/kernel/liteos_a/fs/vfs/include/ |
H A D | vnode.h | 129 struct Mount *originMount; /* fs info about this vnode */ 130 struct Mount *newMount; /* fs info about who mount on this vnode */ 177 int VnodeFreeAll(const struct Mount *mnt); 180 int VfsHashGet(const struct Mount *mount, uint32_t hash, struct Vnode **vnode, VfsHashCmp *fun, void *arg); 184 BOOL VnodeInUseIter(const struct Mount *mount);
|
/kernel/liteos_a/fs/vfs/operation/ |
H A D | vfs_force_umount.c | 356 static struct Mount* GetDevMountPoint(const struct Vnode *dev) in GetDevMountPoint() 358 struct Mount *mnt = NULL; in GetDevMountPoint() 364 LOS_DL_LIST_FOR_EACH_ENTRY(mnt, mntList, struct Mount, mountList) { in GetDevMountPoint() argument 397 static void FileDisableAndClean(const struct Mount *mnt) in FileDisableAndClean() 438 static void VnodeTryFreeAll(const struct Mount *mount) in VnodeTryFreeAll() 463 struct Mount *mnt = GetDevMountPoint(dev); in ForceUmountDev()
|
/kernel/liteos_a/fs/fat/os_adapt/ |
H A D | fatfs.h | 130 int fatfs_mount(struct Mount *mount, struct Vnode *device, const void *data); 131 int fatfs_umount(struct Mount *mount, struct Vnode **device); 132 int fatfs_statfs(struct Mount *mount, struct statfs *info);
|
H A D | fatfs.c | 740 struct Mount *mount = vp->originMount; in fatfs_lseek64() 1083 int fatfs_mount(struct Mount *mnt, struct Vnode *blk_device, const void *data) in fatfs_mount() 1234 int fatfs_umount(struct Mount *mnt, struct Vnode **blkdriver) in fatfs_umount() 1296 int fatfs_sync_adapt(struct Mount *mnt) in fatfs_sync_adapt() 1319 int fatfs_statfs(struct Mount *mnt, struct statfs *info) in fatfs_statfs() 2440 .Mount = fatfs_mount,
|
/kernel/liteos_a/fs/proc/os_adapt/ |
H A D | proc_vfs.c | 192 int VfsProcfsMount(struct Mount *mnt, struct Vnode *device, const void *data) in VfsProcfsMount() 415 int VfsProcfsStatfs(struct Mount *mnt, struct statfs *buf) in VfsProcfsStatfs() 447 .Mount = VfsProcfsMount,
|
/kernel/liteos_a/fs/jffs2/src/ |
H A D | vfs_jffs2.c | 105 int VfsJffs2Bind(struct Mount *mnt, struct Vnode *blkDriver, const void *data) in VfsJffs2Bind() 158 int VfsJffs2Unbind(struct Mount *mnt, struct Vnode **blkDriver) in VfsJffs2Unbind() 900 int VfsJffs2Statfs(struct Mount *mnt, struct statfs *buf) in VfsJffs2Statfs() 945 .Mount = VfsJffs2Bind,
|
/kernel/linux/linux-5.10/drivers/scsi/aacraid/ |
H A D | aacraid.h | 1758 #define Mount 21 macro
|
/kernel/linux/linux-6.6/drivers/scsi/aacraid/ |
H A D | aacraid.h | 1759 #define Mount 21 macro
|