Lines Matching refs:O_CREAT
1237 * O_CREAT: create fork\n
1238 * O_EXCL: fail if exists with O_CREAT
1240 * @param mode passed to open with O_CREAT
1248 * metadata(ressource)-fork only gets created with O_CREAT.
1280 if ((oflags & O_CREAT)) {
1356 ad->ad_md->adf_flags &= ~( O_TRUNC | O_CREAT );
1365 hoflags = oflags & ~(O_CREAT | O_EXCL);
1372 hoflags = oflags & ~(O_CREAT | O_EXCL);
1378 if (errno == ENOENT && (oflags & O_CREAT) ) {
1382 * if ((oflags & O_CREAT) ==> (oflags & O_RDWR)
1404 /* retry with O_CREAT */
1435 if ((ad->ad_md->adf_flags & ( O_TRUNC | O_CREAT ))) {
1516 if ((oflags & O_CREAT) && !st_invalid) {
1549 /* Check if we shall call ad_open with O_CREAT */
1553 create = O_CREAT | O_RDWR;