Lines Matching refs:filemode
60 copen(int startfd, char *fname, int filemode, int createmode)
75 if (filemode & (FSEARCH|FEXEC)) {
81 if ((filemode & (FREAD|FWRITE)) ||
82 (filemode & (FSEARCH|FEXEC)) == (FSEARCH|FEXEC) ||
83 (filemode & (FAPPEND|FCREAT|FTRUNC|FXATTR|FXATTRDIROPEN)))
116 if (filemode & FXATTRDIROPEN) {
131 if (filemode & FXATTR) {
160 if (filemode & (FXATTR|FXATTRDIROPEN)) {
180 (filemode & FXATTRDIROPEN) ? LOOKUP_XATTR :
191 if (error == 0 && (filemode & FXATTRDIROPEN)) {
205 if ((filemode & (FREAD|FWRITE|FSEARCH|FEXEC|FXATTRDIROPEN)) != 0) {
206 if ((filemode & (FNONBLOCK|FNDELAY)) == (FNONBLOCK|FNDELAY))
207 filemode &= ~FNDELAY;
208 error = falloc((vnode_t *)NULL, filemode, &fp, &fd);
214 * !(filemode & FCREAT).
216 error = vn_openat(open_filename, seg, filemode,
232 if ((filemode & FCLOEXEC) != 0) {
261 if ((filemode & FCLOEXEC) != 0) {