Lines Matching refs:open
92 if ((fd = open(LOGINDEVPERM, O_RDONLY)) == -1)
209 if ((fd = open(fname, O_RDONLY)) == -1) {
1192 if ((lockfd = open(lockfile, O_RDWR | O_CREAT, 0600)) == -1)
1193 /* cannot open lock file */
1269 * open the device allocation file
1282 if ((fda = open(fname, oflag, DA_DBMODE)) == -1) {
1302 * open the device map file
1317 if ((fdm = open(fname, oflag, DA_DBMODE)) == -1) {
1445 if ((tmpfd = open(tmpdefpath, O_RDWR|O_CREAT, DA_DBMODE)) == -1) {
1583 if ((tafd = open(apathp, O_RDWR|O_CREAT, DA_DBMODE)) == -1) {
1673 if ((tmfd = open(mpathp, O_RDWR|O_CREAT, DA_DBMODE)) == -1) {