Lines Matching defs:copy
9 * License. You may obtain a copy of the License at
522 char *copy;
527 copy = strdup(relpath);
528 if (copy == NULL)
554 tde = tmpfs_find_dirent(parent, copy);
578 ret = tmpfs_add_dirent(&parent, (struct tmpfs_object_s *)newtfo, copy);
591 /* Free the copy of the relpath and return success */
593 kmm_free(copy);
611 kmm_free(copy);
665 char *copy;
670 copy = strdup(relpath);
671 if (copy == NULL)
698 tde = tmpfs_find_dirent(parent, copy);
723 ret = tmpfs_add_dirent(&parent, (struct tmpfs_object_s *)newtdo, copy);
729 /* Free the copy of the relpath, release our reference to the parent directory,
737 kmm_free(copy);
762 kmm_free(copy);
782 char *copy;
784 /* Make a copy of the path (so that we can modify it via strtok) */
786 copy = strdup(relpath);
787 if (copy == NULL)
797 for (segment = strtok_r(copy, "/", &tkptr);
821 kmm_free(copy);
845 kmm_free(copy);
864 kmm_free(copy);
2212 char *copy;
2243 copy = strdup(newname);
2244 if (copy == NULL)
2292 tde = tmpfs_find_dirent(newparent_tdo, copy);
2375 ret = tmpfs_add_dirent(&newparent_tdo, old_to, copy);
2382 kmm_free(copy);
2396 kmm_free(copy);
2407 kmm_free(copy);