Lines Matching defs:curname
93 static u_longlong_t descend(char *curname, int curfd, int *retcode,
275 * If curname is NULL, curfd is used.
278 descend(char *curname, int curfd, int *retcode, dev_t device)
299 if (curname)
309 i = fstatat(curfd, curname, &stb, 0);
310 j = fstatat(curfd, curname, &stb1, AT_SYMLINK_NOFOLLOW);
320 i = fstatat(curfd, curname, &stb, AT_SYMLINK_NOFOLLOW);
389 if (curname && (follow_symlinks ||
391 pathconf(curname, _PC_XATTR_EXISTS) == 1) {
392 if ((fd = attropen(curname, ".", O_RDONLY)) < 0) {
422 if (curname == NULL)
425 dirp = opendir(curname);
436 if (curname == NULL || (Lflg && S_ISLNK(stb1.st_mode))) {
445 if ((curname ? (chdir(curname) < 0) : (fchdir(curfd) < 0))) {
506 if (curname == NULL || (Lflg && S_ISLNK(stb1.st_mode)))