openat
int openat(int, const char *, int, ...);
if ((fd = openat(dfd, filename,
if ((fd = openat(dfd, filename, working_mode)) < 0) {
if ((Ifile = openat(G_p->g_dirfd, get_component(namep), 0)) < 0) {
if ((dirfd = openat(cwd, (pattr == NULL) ? fullname : pattr,
ofilefd = openat(pdirfd, name, oflag, mode);
if ((result = openat(dirfd, get_component(nam_p),
filefd = openat(Gen.g_dirfd, dp->d_name, O_RDONLY);
return (openat(G_p->g_dirfd, G_p->g_attrnam_p, omode));
return (openat(G_p->g_dirfd,
return (openat(G_p->g_dirfd, get_component(G_p->g_nam_p), omode));
if ((sourcedirfd = openat(srcfd, ".", O_RDONLY|O_XATTR)) == -1) {
if ((targetdirfd = openat(targfd, ".", O_RDONLY|O_XATTR)) == -1) {
if ((srcattrfd = openat(sourcedirfd, dp->d_name,
if ((targattrfd = openat(targetdirfd, dp->d_name,
if ((targattrfd = openat(targetdirfd, dp->d_name,
fd = openat(psc->psc_dirfd, fname, O_WRONLY | O_TRUNC | O_CREAT, 0666);
while ((fd = openat(dirfd, entry, O_RDONLY|O_NONBLOCK)) == -1 &&
if ((logfd = openat(dirfd, STARTD_DEFAULT_LOG,
static int openat();
if ((infile = openat(dirfd, shortname, 0)) < 0) {
ofile = openat(dirfd, comp, O_RDWR|O_CREAT|O_TRUNC,
if ((dirfd = openat(cwd, (pattr == NULL) ? dirp : pattr,
ofilefd = openat(pdirfd, name, oflag, mode);
fd = openat(dfd, path, mode);
fd = openat(dfd, path, mode);
#define openat64 openat
extern int openat(int, const char *, int, ...);
fd = openat(file->ff_dirfd, newname, flags | O_CREAT | O_EXCL, perm);
fd = openat(file->ff_dirfd, name, O_DIRECTORY);
fd = openat(file->ff_dirfd, name, flags);
fd = openat(ff->ff_dirfd, newname,
fd = openat(ff->ff_dirfd, ff->ff_name,
fd = openat(file->ff_dirfd, file->ff_name, 0);
int fd = openat(file->ff_dirfd, file->ff_name, O_RDWR);
fd = openat(ff->ff_dirfd, path, 0);
if ((fd = openat(AT_FDCWD, dirp, O_RDONLY)) < 0) {
if ((cfd = openat(fd, token, O_RDONLY)) < 0) {
if ((fd = openat(AT_FDCWD, dirp, O_RDONLY)) < 0) {
if ((cfd = openat(fd, token, O_RDONLY)) < 0) {
xattrfd = openat(basefd, xattrname, oflag);
if ((attrfd = openat(fd, attr, oflag | O_XATTR,
if ((fd = openat(AT_FDCWD, dirp, O_RDONLY)) < 0) {
if ((cfd = openat(fd, token, O_RDONLY)) < 0) {
if ((fd = openat(AT_FDCWD, filename,
if ((indfd = openat(srcfd, ".", O_RDONLY|O_XATTR)) == -1) {
if ((sattrfd = openat(indfd, dp->d_name,
if ((tattrfd = openat(outdfd, dp->d_name,
ctrl->ctrl_fd = openat(hdl->ih_devfd, ctrl->ctrl_minor + 1, O_RDWR);
int fd = openat(hdl->ih_devfd, info->dinfo_minor + 1, O_RDONLY);
int fd = openat(hdl->ih_devfd, mpath + 1, O_RDONLY);
port->port_fd = openat(hdl->ih_devfd, port->port_minor + 1, O_RDWR);
fd = openat(dir, PKGDOOR, O_RDWR);
lrap->lra_tmpfd = openat(lrap->lra_dirfd, lrap->lra_altname,
if ((dirfd = openat(AT_FDCWD, dirname,
fd = openat(dfd, ".", omode);
fd = openat(dfd, name, omode, 0);
DTRACE_PROBE3(openat, int, dfd, char *, name, int, err);
fd = openat(dfd, name, omode, mode);
DTRACE_PROBE3(openat, int, dfd, char *, name, int, err);
fd = openat(dfd, name, O_RDONLY);
DTRACE_PROBE3(openat, int, dfd, char *, name, int, err);
xfd = openat(dfd, DFS_ROOT_XATTR, oflag | O_XATTR, 0600);
fd = openat(vip->vdi_persistfd, dp->d_name, O_RDONLY);
int fd = openat(i2c_test_devfd, minor_path + 1, flags);
if ((dirfd = openat(cfd, country->ctry_code, O_DIRECTORY)) < 0) {
if ((infofd = openat(dirfd, "info", O_RDWR| O_CREAT | O_TRUNC, 0644)) <
if ((dirfd = openat(root, cont->ctnt_name, O_DIRECTORY)) < 0) {
if ((infofd = openat(dirfd, "info", O_RDWR| O_CREAT | O_TRUNC, 0644)) <
if ((fd = openat(dirfd, name, O_RDWR| O_CREAT | O_TRUNC, 0644)) < 0) {
fd = openat(test_dirfd, fname, O_RDWR | O_CREAT, 0644);
if ((afd = openat(fd, "xattr", O_CREAT | O_RDWR | O_XATTR, 0777)) < 0) {
if ((fd = openat(dirfd, tmpname, O_RDWR | O_CREAT, 0644)) < 0) {
if ((fd = openat(dirfd, tmpname, O_RDWR | O_CREAT, 0644)) < 0) {
if ((fd = openat(dirfd, tmpname, O_RDWR | O_CREAT, 0644)) < 0) {
if ((fd = openat(dirfd, tmpname, O_RDWR | O_CREAT, 0444)) < 0) {
fd = openat(dirfd, de->d_name, O_RDONLY);
int openat(int, char *, int, int);
/* 68 */ SYSENT_CI("openat", openat, 4),
return (openat(AT_FDCWD, path, fmode, cmode));