Searched refs:accmode (Results 1 – 2 of 2) sorted by relevance
83 int oflag, nflag, fd, accmode; in _freopen_null() local134 accmode = oflag & O_ACCMODE; in _freopen_null()135 if ((accmode == O_RDONLY && (mode != 'r' || plus == '+')) || in _freopen_null()136 (accmode == O_WRONLY && (mode == 'r' || plus == '+'))) { in _freopen_null()
1177 int accmode = SMB_AM_OPENEXEC; /* our fallback */ in smb_rights2mode() local1183 accmode = SMB_AM_OPENWRITE; in smb_rights2mode()1186 accmode = (accmode == SMB_AM_OPENEXEC) ? SMB_AM_OPENREAD in smb_rights2mode()1188 return (accmode); in smb_rights2mode()1197 int accmode, in smbfs_smb_oldopen() argument1224 accmode |= SMB_SM_DENYNONE; in smbfs_smb_oldopen()1231 mb_put_uint16le(mbp, accmode); in smbfs_smb_oldopen()1295 int accmode, error; in smbfs_smb_tmpopen() local1325 accmode = smb_rights2mode(rights); in smbfs_smb_tmpopen()1328 accmode, scrp, in smbfs_smb_tmpopen()[all …]