Lines Matching refs:name

17  * 4. Neither the name of the University nor the names of its contributors
77 static int ffd = -1; /* tmp file for file time table name storage */
118 * Looks up entry in hard link hash table. If found, it copies the name
163 * name of the file it is to link to. we need to
167 arcn->ln_nlen = l_strncpy(arcn->ln_name, pt->name,
181 free(pt->name);
193 if ((pt->name = strdup(arcn->name)) != NULL) {
257 free(pt->name);
291 free(ppt->name);
303 * add a file to the archive if it is newer than a file with the same name
305 * name on the archive it is added). This applies to writes and appends.
312 * where the actual name is stored. Since there are never any deletions to this
341 * get random name and create temporary scratch file, unlink name
359 * If a file with the same name is found, the file times are compared and
385 indx = st_hash(arcn->name, namelen, F_TAB_SZ);
395 * potential match, have to read the name
412 if (!strncmp(ckname, arcn->name, namelen))
445 * add the name at the end of the scratch file, saving the
449 if (write(ffd, arcn->name, namelen) == namelen) {
500 * add the new name to old name mapping just created by the user.
501 * If an old name mapping is found (there may be duplicate names on an
570 * look up a link name to see if it points at a file that has been
572 * new name (oname is the link to name)
584 * look the name up in the hash table
596 * found it, replace it with the new name
873 arcn->name);
943 set_ftime(pt->name, pt->mtime, pt->atime, 1);
988 if ((pt->name = strdup(fname)) != NULL) {
1054 free(pt->name);
1076 * records with two parts, the file name followed by a DIRDATA trailer. The
1077 * fixed sized trailer contains the size of the name plus the off_t location in
1079 * then the file name.
1113 * name is name of the directory, psb the stat buffer with the data in it,
1124 add_dir(char *name, int nlen, struct stat *psb, int frc_mode)
1132 * get current position (where file name will start) so we can store it
1136 paxwarn(1,"Unable to store mode and times for directory: %s",name);
1141 * write the file name followed by the trailer
1148 if ((write(dirfd, name, dblk.nlen) == dblk.nlen) &&
1154 paxwarn(1,"Unable to store mode and times for created directory: %s",name);
1167 char name[PAXPATHLEN+1];
1178 * read the trailer, then the file name, if this fails
1187 if (read(dirfd, name, dblk.nlen) != dblk.nlen)
1197 set_pmode(name, dblk.mode);
1199 set_ftime(name, dblk.mtime, dblk.atime, 0);
1217 * part of the name. For performance reasons we only care about the last
1219 * name). Was tested on 500,000 name file tree traversal from the root
1228 st_hash(char *name, int len, int tabsz)
1245 pt = &(name[len - MAXKEYLEN]);
1248 pt = name;