Lines Matching refs:path
56 * accept() returns a path name even if the connecting socket has closed
57 * in the meantime (BSD loses the path and gives up).
58 * accept() returns 0 length path for an unbound connector. BSD returns 16
59 * and a null first byte in the path (but not for gethost/peername - BSD bug ??)
298 * subtle. 108 is the longest valid AF_UNIX path for a binding.
405 struct dentry *dentry = unix_sk(s)->path.dentry;
607 struct path path;
617 path = u->path;
618 u->path.dentry = NULL;
619 u->path.mnt = NULL;
663 if (path.dentry)
664 path_put(&path);
996 u->path.dentry = NULL;
997 u->path.mnt = NULL;
1073 struct path path;
1078 err = kern_path(sunaddr->sun_path, LOOKUP_FOLLOW, &path);
1082 err = path_permission(&path, MAY_WRITE);
1087 inode = d_backing_inode(path.dentry);
1097 touch_atime(&path);
1101 path_put(&path);
1108 path_put(&path);
1125 dentry = unix_sk(sk)->path.dentry;
1127 touch_atime(&unix_sk(sk)->path);
1218 struct path parent;
1253 u->path.mnt = mntget(parent.mnt);
1254 u->path.dentry = dget(dentry);
1611 * The contents of *(otheru->addr) and otheru->path
1617 * as well as otheru->path and otheru->addr itself.
1621 * to newu->path visible to anyone who gets newu->addr
1626 if (otheru->path.dentry) {
1627 path_get(&otheru->path);
1628 newu->path = otheru->path;
2982 struct path path;
2992 path = unix_sk(sk)->path;
2993 if (!path.dentry)
2996 path_get(&path);
3002 f = dentry_open(&path, O_PATH, current_cred());
3011 path_put(&path);