Lines Matching defs:entry
241 opendirat(int dirfd, const char *entry, struct dlist *frm)
248 while ((fd = openat(dirfd, entry, O_RDONLY|O_NONBLOCK)) == -1 &&
314 rm(const char *entry, struct dlist *caller)
323 * Construct the pathname: note that the entry may live in memory
326 * call, we use the global pathbuf instead of the entry argument.
328 pushfilename(entry);
330 if (fstatat(caller->fd, entry, &temp, AT_SYMLINK_NOFOLLOW) != 0) {
385 faccessat(caller->fd, entry, W_OK|X_OK, AT_EACCESS) != 0 &&
392 if (opendirat(caller->fd, entry, &frame) == -1) {
428 if (unlinkat(caller->fd, entry, flag) == 0)
483 * Recursion may have invalidated entry because of closedir().
487 entry = &pathbuf[caller->up->pathend + 1];
518 faccessat(caller->fd, entry, W_OK, AT_EACCESS) != 0 &&
526 if (unlinkat(caller->fd, entry, flag) != 0) {
583 * Check that we came from "..", if not then this directory entry is an