Lines Matching refs:attr_parentfd
4067 * On succesful return, attr_parentfd will be the file descriptor of the
4088 int *attr_parentfd, int *rw_sysattr)
4091 int firsttime = (*attr_parentfd == -1);
4101 (void) close(*attr_parentfd);
4102 *attr_parentfd = -1;
4115 if ((*attr_parentfd = attropen(dirp, ".", O_RDONLY)) == -1) {
4121 if ((*attr_parentfd = retry_open_attr(-1, cwd, dirp,
4123 (void) close(*attr_parentfd);
4124 *attr_parentfd = -1;
4135 if (fchdir(*attr_parentfd) != 0) {
4137 (void) close(*attr_parentfd);
4138 *attr_parentfd = -1;
4148 (void) close(*attr_parentfd);
4149 *attr_parentfd = -1;
4160 return (open_attr_dir(attrname, attr_parent, *attr_parentfd,
4161 attr_parent, attr_parentfd, rw_sysattr));