Lines Matching refs:strlen
46 len = strlen(dir); in make_uml_dir()
51 uml_dir = malloc(strlen(dir) + 1); in make_uml_dir()
97 len = strlen(dir) + sizeof("/") + strlen(ent->d_name) + 1; in remove_files_and_dir()
135 char file[strlen(uml_dir) + UMID_LEN + sizeof("/pid\0")]; in is_umdir_used()
210 char file[strlen(uml_dir) + UMID_LEN + sizeof("/pid\0")]; in create_pid_file()
225 n = write(fd, pid, strlen(pid)); in create_pid_file()
226 if (n != strlen(pid)) in create_pid_file()
235 if (strlen(name) > UMID_LEN - 1) in set_umid()
269 set_umid(&tmp[strlen(uml_dir)]); in make_umid()
358 if (name[strlen(name) - 1] == '/') { in set_uml_dir()
363 uml_dir = malloc(strlen(name) + 2); in set_uml_dir()
385 char dir[strlen(uml_dir) + UMID_LEN + 1], err; in remove_umid_dir()