Home
last modified time | relevance | path

Searched refs:Mount (Results 1 – 25 of 129) sorted by relevance

123456

/ohos5.0/docs/zh-cn/device-dev/kernel/
H A Dkernel-small-bundles-fs-new.md11 .Mount = YourMountMethod,
34 ## 适配Mount接口
36 Mount是文件系统第一个被调用的接口,该接口一般会读取驱动的参数,根据配置对文件系统的进行初始化,最后生成文件系统的root节点。Mount接口的定义如下:
40 int (*Mount)(struct Mount *mount, struct Vnode *blkDriver, const void *data);
43 其中,第一个参数struct Mount \*mount是Mount点的信息,适配时需要填写的是下面的变量:
47 struct Mount {
48 const struct MountOps *ops; /* Mount相关的函数钩子 */
49 struct Vnode *vnodeCovered; /* Mount之后的文件系统root节点 */
50 void *data; /* Mount点的私有数据 */
61 int VfsJffs2Bind(struct Mount *mnt, struct Vnode *blkDriver, const void *data)
[all …]
H A Dkernel-small-bundles-container.md7 LiteOS-A内核容器隔离功能包含7个容器:UTS容器、PID容器、Mount容器、Network容器、TIME容器、IPC容器、User容器。通过所在进程ProcessCB的Container和…
15 | 3 | Mount | CLONE_NEWNS | 文件系统挂载点 |struct Container |
31 …r结构,也可共享同一个Container结构。 进一步分解,在Container结构中,包含各容器指针,分别指向UTS容器、PID容器、Network容器、Mount容器、TIME容器、IPC容器。
45 #### **Mount容器**
145 在系统初始化时,需要为初始进程(0号、1号、2号进程)创建同一个根容器,根容器类型包括所有7种类型:UTS容器、PID容器、User容器、Network容器、Mount容器、TIME容器、IPC容器。
294 - PID容器和User容器,具有分层关系,最大支持3层;其他的UTS、Mount、Network容器无分层关系。
340 [创建Mount容器](https://gitee.com/openharmony/kernel_liteos_a/blob/master/testsuites/unittest/container…
H A Dkernel-small-debug-shell-file-mount.md49 Mount nfs on 192.168.1.3:/nfs, uid:0, gid:0
50 Mount nfs finished.
H A Dkernel-small-bundles-fs-support.md68 1. Mount机制及速度问题:按照JFFS2的设计,所有的文件会按照一定的规则,切分成大小不等的节点,依次存储到flash设备上。在mount流程中,需要获取到所有的这些节点信息并缓存到内存里。因…
246 Mount nfs on 10.67.212.178:/home/sqbin/nfs, uid:1011, gid:1000
247 Mount nfs finished.
/ohos5.0/base/update/updater/test/unittest/test_data/diffpatch/
H A DPatchGztest_new.gz1[==========] Running 25 tests from 7 test ...
H A DPatchGztest_old.gz1[==========] Running 25 tests from 7 test ...
/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-small-bundles-fs-new.md10 .Mount = YourMountMethod,
31 ## Adapting the Mount API<a name="section147051940104212"></a>
33Mount** is the first API called by the file system. This API reads the driver parameters, initial…
36 int (*Mount)(struct Mount *mount, struct Vnode *blkDriver, const void *data);
39 The parameter **struct Mount \*mount** specifies information about the mount point. The following…
42 struct Mount {
43 const struct MountOps *ops; /* Mount-related function hooks */
56 int VfsJffs2Bind(struct Mount *mnt, struct Vnode *blkDriver, const void *data)
118 .Mount = VfsJffs2Bind,
H A Dkernel-small-debug-shell-file-mount.md43 Mount the **nfs** directory on the server with IP address of **192.168.1.3** to the newly created *…
49 Mount nfs on 192.168.1.3:/nfs, uid:0, gid:0
50 Mount nfs finished.
H A Dkernel-small-bundles-container.md7 …olation function involves seven containers: UTS container, PID container, Mount container, Network…
15 | 3 | Mount | CLONE_NEWNS | File system mount points. |struct Co…
31 …uct. The **Container** struct contains pointers to the UTS, PID, Network, Mount, Time, and IPC con…
45 #### **Mount Container**
47 The Mount container isolates file mount points. The mount and unmount operations in a container doe…
49 The Mount container allows processes to use the file mounting system independently. Child processes…
51Mount container, use **clone()** with the **CLONE_NEWNS** flag to create a process, and change the…
53Mount container is created, change the implementation of obtaining the mount information to enable…
304 …NE_NEWNS | Create a Mount container for a child process. | Move this process to the specified…
344 [Creating a Mount Container](https://gitee.com/openharmony/kernel_liteos_a/blob/master/testsuites/u…
/ohos5.0/base/msdp/device_status/tools/vdev/src/
H A Dvdevadm.cpp106 static void Mount(int32_t argc, char *argv[]) in Mount() function
117 VirtualMouseBuilder::Mount(); in Mount()
120 VirtualTouchScreenBuilder::Mount(); in Mount()
123 VirtualKeyboardBuilder::Mount(); in Mount()
237 Mount(argc, argv); in main()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/volume/test/
H A Dvolume_info_test.cpp142 ret = mock.Mount(mountFlags);
167 auto ret = mock.Mount(mountFlags);
196 ret = mock.Mount(mountFlags);
227 ret = mock.Mount(mountFlags);
259 ret = mock.Mount(mountFlags);
261 ret = mock.Mount(mountFlags);
316 ret = mock.Mount(mountFlags);
385 ret = mock.Mount(force);
H A Dvolume_manager_test.cpp223 int32_t result = volumeManager->Mount(volId, flags);
246 int32_t result = volumeManager->Mount(volId, flags);
269 volumeManager->Mount(volId, flags);
293 volumeManager->Mount(volId, flags);
/ohos5.0/base/update/updater/test/unittest/test_data/applypatch/
H A DTestGZipModeImagePatch.old.gz1console:/ # init: Service 'adbd' (pid 112) exited with status 1 2init ...
/ohos5.0/base/global/i18n/services/src/
H A Dhmos_libphonenumber_mount.cpp41 bool Mount() in Mount() function
135 if (!Mount()) { in UpdateLibphonenumber()
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-boot-appspawn.md105 "sandbox-flags" : [ "bind", "rec" ], // Mount mode
143 …| appdata-sandbox-app.json | Mount point configuration for applications in the new feat…
145 …| appdata-sandbox-isolated-new.json | Mount point configuration for native processes in the new …
146 …| appdata-sandbox-isolated.json | Mount point configuration for native processes in the sand…
147 …| appdata-sandbox-nweb.json | Mount point configuration for rendering processes in the n…
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/volume/src/
H A Dvolume_manager_service.cpp43 Mount(volumePtr->GetId()); in OnVolumeCreated()
93 int32_t VolumeManagerService::Mount(std::string volumeId) in Mount() function in OHOS::StorageManager::VolumeManagerService
112 result = sdCommunication->Mount(volumeId, 0); in Mount()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/volume/src/
H A Dvolume_manager.cpp116 int32_t VolumeManager::Mount(const std::string volId, uint32_t flags) in Mount() function in OHOS::StorageDaemon::VolumeManager
124 int32_t err = info->Mount(flags); in Mount()
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/mountpoint/
H A Dmount_manager.cpp35 void MountManager::Mount(unique_ptr<MountPoint> mp) in Mount() function in OHOS::Storage::DistributedFile::MountManager
H A Dmount_point.cpp33 void MountPoint::Mount() const in Mount() function in OHOS::Storage::DistributedFile::MountPoint
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/include/mountpoint/
H A Dmount_manager.h30 void Mount(std::unique_ptr<MountPoint> mp);
H A Dmount_point.h50 void Mount() const;
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/kits_impl/src/
H A Dvolumemanager_napi.cpp32 DECLARE_NAPI_FUNCTION("mount", Mount), in VolumeManagerExport()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/root/
H A Droot_component.cpp45 rootElement->Mount(nullptr); in SetupElementTree()
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/mountpoint/
H A Dmount_manager_test.cpp54 MountManager::GetInstance()->Mount(move(uniquePoint));
/ohos5.0/foundation/filemanagement/storage_service/interfaces/kits/js/storage_manager/include/
H A Dvolumemanager_n_exporter.h26 napi_value Mount(napi_env env, napi_callback_info info);

123456