Home
last modified time | relevance | path

Searched refs:mnt (Results 1 – 5 of 5) sorted by path

/unit/src/
H A Dnxt_application.c211 nxt_fs_mount_t *mnt; in nxt_discovery_modules() local
267 mnt = mounts->elts; in nxt_discovery_modules()
270 size += nxt_strlen(mnt[j].src) + nxt_strlen(mnt[j].dst) in nxt_discovery_modules()
271 + nxt_strlen(mnt[j].name) + (2 * NXT_INT_T_LEN) in nxt_discovery_modules()
272 + (mnt[j].data == NULL ? 0 : nxt_strlen(mnt[j].data)); in nxt_discovery_modules()
294 mnt = mounts->elts; in nxt_discovery_modules()
300 mnt[j].src, mnt[j].dst, mnt[j].name, mnt[j].type, in nxt_discovery_modules()
301 mnt[j].flags, in nxt_discovery_modules()
302 mnt[j].data == NULL ? (u_char *) "" : mnt[j].data); in nxt_discovery_modules()
H A Dnxt_fs.c27 switch (mnt->type) { in nxt_fs_mount()
29 if (nxt_slow_path(mnt->flags != 0)) { in nxt_fs_mount()
47 fsname = (const char *) mnt->name; in nxt_fs_mount()
68 rc = mount((const char *) mnt->src, (const char *) mnt->dst, fsname, flags, in nxt_fs_mount()
69 mnt->data); in nxt_fs_mount()
73 mnt->src, mnt->dst, fsname, flags, mnt->data, nxt_errno); in nxt_fs_mount()
94 if (nxt_slow_path((mnt->flags & NXT_FS_FLAGS_NODEV) && !mnt->builtin)) { in nxt_fs_mount()
102 switch (mnt->type) { in nxt_fs_mount()
143 iov[3].iov_base = (void *) mnt->dst; in nxt_fs_mount()
147 iov[5].iov_base = (void *) mnt->src; in nxt_fs_mount()
[all …]
H A Dnxt_fs.h40 nxt_int_t nxt_fs_mount(nxt_task_t *task, nxt_fs_mount_t *mnt);
H A Dnxt_isolation.c574 mnt = mounts->elts; in nxt_isolation_set_lang_mounts()
601 mnt->type = NXT_FS_TMP; in nxt_isolation_set_lang_mounts()
606 mnt->builtin = 1; in nxt_isolation_set_lang_mounts()
607 mnt->deps = 0; in nxt_isolation_set_lang_mounts()
626 mnt->type = NXT_FS_PROC; in nxt_isolation_set_lang_mounts()
637 mnt->data = (u_char *) ""; in nxt_isolation_set_lang_mounts()
639 mnt->builtin = 1; in nxt_isolation_set_lang_mounts()
640 mnt->deps = 0; in nxt_isolation_set_lang_mounts()
684 mnt = mounts->elts; in nxt_isolation_unmount_all()
713 mnt = mounts->elts; in nxt_isolation_prepare_rootfs()
[all …]
H A Dnxt_main_process.c1283 nxt_fs_mount_t *mnt; in nxt_main_port_modules_handler() local
1386 mnt = nxt_array_zero_add(lang->mounts); in nxt_main_port_modules_handler()
1387 if (mnt == NULL) { in nxt_main_port_modules_handler()
1391 mnt->builtin = 1; in nxt_main_port_modules_handler()
1392 mnt->deps = 1; in nxt_main_port_modules_handler()
1396 nxt_nitems(nxt_app_lang_mounts_map), mnt); in nxt_main_port_modules_handler()