Home
last modified time | relevance | path

Searched refs:rootfs_len (Results 1 – 2 of 2) sorted by last modified time

/unit/src/
H A Dnxt_isolation.c559 size_t i, n, rootfs_len, len; in nxt_isolation_set_lang_mounts() local
578 rootfs_len = nxt_strlen(rootfs); in nxt_isolation_set_lang_mounts()
583 mnt[i].dst = nxt_mp_alloc(mp, rootfs_len + len + 1); in nxt_isolation_set_lang_mounts()
588 p = nxt_cpymem(mnt[i].dst, rootfs, rootfs_len); in nxt_isolation_set_lang_mounts()
609 mnt->dst = nxt_mp_nget(mp, rootfs_len + nxt_length("/tmp") + 1); in nxt_isolation_set_lang_mounts()
614 p = nxt_cpymem(mnt->dst, rootfs, rootfs_len); in nxt_isolation_set_lang_mounts()
628 mnt->dst = nxt_mp_nget(mp, rootfs_len + nxt_length("/proc") + 1); in nxt_isolation_set_lang_mounts()
633 p = nxt_cpymem(mnt->dst, rootfs, rootfs_len); in nxt_isolation_set_lang_mounts()
H A Dnxt_java.c82 size_t jars_dir_len, rootfs_len; in nxt_java_setup() local
86 rootfs_len = 0; in nxt_java_setup()
104 rootfs_len = strlen(rootfs); in nxt_java_setup()
106 path = nxt_malloc(jars_dir_len + rootfs_len + 1); in nxt_java_setup()
112 p = nxt_cpymem(path, process->isolation.rootfs, rootfs_len); in nxt_java_setup()
128 if (rootfs != NULL && strlen(path) > rootfs_len) { in nxt_java_setup()
129 nxt_java_modules = path + rootfs_len; in nxt_java_setup()