Lines Matching refs:shortname

457 static int putfile(char *longname, char *shortname, char *parent,
502 static void append_ext_attr(char *shortname, char **secinfo, int *len);
516 static int getstat(int dirfd, char *longname, char *shortname,
523 static int put_extra_attributes(char *longname, char *shortname,
525 static int put_xattr_hdr(char *longname, char *shortname, char *longattrname,
1821 putfile(char *longname, char *shortname, char *parent, attr_data_t *attrinfo, in putfile() argument
1888 if (getstat(dirfd, longname, shortname, attrparent)) in putfile()
1895 j = fstatat(dirfd, shortname, &sbuf, AT_SYMLINK_NOFOLLOW); in putfile()
1998 (split == NAMSIZ && strlen(shortname) < NAMSIZ) || in putfile()
2124 if (put_extra_attributes(longname, shortname, in putfile()
2179 if (*shortname != '/') in putfile()
2180 (void) sprintf(newparent, "%s/%s", parent, shortname); in putfile()
2182 (void) sprintf(newparent, "%s", shortname); in putfile()
2184 if (tar_chdir(shortname) < 0) { in putfile()
2284 i = readlink(shortname, filetmp, readlink_max); in putfile()
2313 if ((infile = openat(dirfd, shortname, 0)) < 0) { in putfile()
2319 shortname : longattrname : ""); in putfile()
2325 if (put_link(name, longname, shortname, longattrname, in putfile()
2372 if (put_extra_attributes(longname, shortname, longattrname, in putfile()
2422 if (put_link(name, longname, shortname, longattrname, in putfile()
2458 if (put_extra_attributes(longname, shortname, longattrname, in putfile()
2470 if (put_link(name, longname, shortname, longattrname, in putfile()
2505 if (put_extra_attributes(longname, shortname, longattrname, in putfile()
2517 if (put_link(name, longname, shortname, longattrname, in putfile()
2553 if (put_extra_attributes(longname, shortname, longattrname, in putfile()
7758 getstat(int dirfd, char *longname, char *shortname, char *attrparent) in getstat() argument
7767 i = fstatat(dirfd, shortname, &stbuf, AT_SYMLINK_NOFOLLOW); in getstat()
7769 i = fstatat(dirfd, shortname, &stbuf, 0); in getstat()
7782 j = fstatat(dirfd, shortname, in getstat()
7845 xattrs_put(char *longname, char *shortname, char *parent, char *attrparent) in xattrs_put() argument
7847 char *filename = (attrparent == NULL) ? shortname : attrparent; in xattrs_put()
7991 xattrs_put(longname, shortname, parent, dp->d_name); in xattrs_put()
8027 xattrs_put(char *longname, char *shortname, char *parent, char *attrppath) in xattrs_put() argument
8118 put_extra_attributes(char *longname, char *shortname, char *longattrname, in put_extra_attributes() argument
8130 if (put_xattr_hdr(longname, shortname, longattrname, prefix, in put_extra_attributes()
8148 if ((error = acl_get(shortname, ACL_NO_TRIVIAL, in put_extra_attributes()
8167 append_ext_attr(shortname, &secinfo, &len); in put_extra_attributes()
8179 put_xattr_hdr(char *longname, char *shortname, char *longattrname, char *prefix, in put_xattr_hdr() argument
8189 strlen(shortname) + strlen(".hdr") + 1); in put_xattr_hdr()
8194 sname = malloc(sizeof (char) * strlen(shortname) + in put_xattr_hdr()
8200 (void) sprintf(sname, "%s.hdr", shortname); in put_xattr_hdr()
8215 (void) sprintf(lname, "/dev/null/%s", shortname); in put_xattr_hdr()
8639 append_ext_attr(char *shortname, char **secinfo, int *len) in append_ext_attr() argument
8682 if (getlabel(shortname, &b_slabel) != 0) { in append_ext_attr()
8686 shortname, strerror(errno)); in append_ext_attr()
8693 " %s\n"), shortname); in append_ext_attr()
8717 if (getlabel(shortname, &b_slabel) != 0) { in append_ext_attr()
8721 shortname, strerror(errno)); in append_ext_attr()
8727 " label for %s\n"), shortname); in append_ext_attr()