Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_fs_mount.c24 switch (mnt->type) { in nxt_fs_mount()
26 if (nxt_slow_path(mnt->flags != 0)) { in nxt_fs_mount()
44 fsname = (const char *) mnt->name; in nxt_fs_mount()
65 rc = mount((const char *) mnt->src, (const char *) mnt->dst, fsname, flags, in nxt_fs_mount()
66 mnt->data); in nxt_fs_mount()
70 mnt->src, mnt->dst, fsname, flags, mnt->data, nxt_errno); in nxt_fs_mount()
91 if (nxt_slow_path((mnt->flags & NXT_FS_FLAGS_NODEV) && !mnt->builtin)) { in nxt_fs_mount()
99 switch (mnt->type) { in nxt_fs_mount()
140 iov[3].iov_base = (void *) mnt->dst; in nxt_fs_mount()
144 iov[5].iov_base = (void *) mnt->src; in nxt_fs_mount()
[all …]
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_application.c218 nxt_fs_mount_t *mnt; in nxt_discovery_modules() local
274 mnt = mounts->elts; in nxt_discovery_modules()
277 size += nxt_strlen(mnt[j].src) + nxt_strlen(mnt[j].dst) in nxt_discovery_modules()
278 + nxt_strlen(mnt[j].name) + (2 * NXT_INT_T_LEN) in nxt_discovery_modules()
279 + (mnt[j].data == NULL ? 0 : nxt_strlen(mnt[j].data)); in nxt_discovery_modules()
301 mnt = mounts->elts; in nxt_discovery_modules()
307 mnt[j].src, mnt[j].dst, mnt[j].name, mnt[j].type, in nxt_discovery_modules()
308 mnt[j].flags, in nxt_discovery_modules()
309 mnt[j].data == NULL ? (u_char *) "" : mnt[j].data); in nxt_discovery_modules()
H A Dnxt_fs_mount.h44 nxt_int_t nxt_fs_mount(nxt_task_t *task, nxt_fs_mount_t *mnt);
H A Dnxt_main_process.c1273 nxt_fs_mount_t *mnt; in nxt_main_port_modules_handler() local
1376 mnt = nxt_array_zero_add(lang->mounts); in nxt_main_port_modules_handler()
1377 if (mnt == NULL) { in nxt_main_port_modules_handler()
1381 mnt->builtin = 1; in nxt_main_port_modules_handler()
1382 mnt->deps = 1; in nxt_main_port_modules_handler()
1386 nxt_nitems(nxt_app_lang_mounts_map), mnt); in nxt_main_port_modules_handler()