Lines Matching refs:target
151 mnt_fs(const char *target, const char *type, char *buff, size_t bufflen)
155 while (mount("", target, "none", MS_PRIVATE | MS_REC, NULL)) {
159 target, strerror(errno));
163 if (mount(target, target, "none", MS_BIND, NULL)) {
166 target, target, strerror(errno));
173 if (mount(type, target, type, 0, "mode=0700")) {
175 type, type, target, strerror(errno));
182 int mount_tracefs(const char *target)
187 err = mnt_fs(target, "tracefs", err_str, ERR_MAX_LEN);