Lines Matching refs:strlen
47 len = strlen(dir); in make_uml_dir()
52 uml_dir = malloc(strlen(dir) + 1); in make_uml_dir()
100 len = strlen(dir) + strlen("/") + strlen(ent->d_name) + 1; in remove_files_and_dir()
140 size_t filelen = strlen(dir) + sizeof("/pid") + 1; in is_umdir_used()
215 n = strlen(uml_dir) + UMID_LEN + sizeof("/pid"); in create_pid_file()
231 n = write(fd, pid, strlen(pid)); in create_pid_file()
232 if (n != strlen(pid)) in create_pid_file()
243 if (strlen(name) > UMID_LEN - 1) in set_umid()
277 set_umid(&tmp[strlen(uml_dir)]); in make_umid()
366 if (name[strlen(name) - 1] == '/') { in set_uml_dir()
371 uml_dir = malloc(strlen(name) + 2); in set_uml_dir()
395 dir = malloc(strlen(uml_dir) + UMID_LEN + 1); in remove_umid_dir()