HomeSort by: relevance | last modified time | path
    Searched refs:fmode (Results 1 - 13 of 13) sorted by relevancy

  /src/sys/kern/
vfs_vnops.c 154 * fmode is the open flags, converted from O_* to F*
167 * O_NOFOLLOW in fmode. Neither FOLLOW nor NOFOLLOW in nmode is
172 int nmode, int fmode, int cmode,
188 if ((fmode & (O_CREAT | O_DIRECTORY)) == (O_CREAT | O_DIRECTORY))
197 if (fmode & O_CREAT) {
200 if ((fmode & O_EXCL) == 0 &&
201 ((fmode & O_NOFOLLOW) == 0))
203 if ((fmode & O_EXCL) == 0)
208 if ((fmode & O_NOFOLLOW) == 0)
232 error = veriexec_openchk(l, nd.ni_vp, pathstring, fmode);
    [all...]
kern_veriexec.c 1301 veriexec_openchk(struct lwp *l, struct vnode *vp, const char *path, int fmode)
1311 if (!(fmode & O_CREAT))
1333 if ((vfe != NULL) && ((fmode & FWRITE) || (fmode & O_TRUNC))) {
  /src/sys/arch/amiga/amiga/
custom.h 196 unsigned short fmode; member in struct:Custom
  /src/sys/fs/union/
union_subr.c 894 int fmode = FFLAGS(O_WRONLY|O_CREAT|O_TRUNC|O_EXCL); local in function:union_vn_create
932 error = VOP_OPEN(vp, fmode, cred);
945 union_vn_close(struct vnode *vp, int fmode, kauth_cred_t cred, struct lwp *l)
948 if (fmode & FWRITE)
950 return (VOP_CLOSE(vp, fmode, cred));
  /src/sys/dev/vme/
xd.c 714 int rqno, spt = 0, mb, blk, lcv, fmode, s = 0, newstate; local in function:xdattach
739 fmode = xa->fullmode;
774 rqno = xdc_cmd(xdc, XDCMD_RST, 0, xd->xd_drive, 0, 0, 0, fmode);
788 rqno = xdc_cmd(xdc, XDCMD_WRP, XDFUN_FMT, xd->xd_drive, 0, 0, 0, fmode);
797 rqno = xdc_cmd(xdc, XDCMD_RDP, XDFUN_DRV, xd->xd_drive, 0, 0, 0, fmode);
820 rqno = xdc_cmd(xdc, XDCMD_WRP, XDFUN_DRV, xd->xd_drive, 0, 0, 0, fmode);
829 rqno = xdc_cmd(xdc, XDCMD_RD, 0, xd->xd_drive, 0, 1, dmaddr, fmode);
856 rqno = xdc_cmd(xdc, XDCMD_WRP, XDFUN_DRV, xd->xd_drive, 0, 0, 0, fmode);
872 rqno = xdc_cmd(xdc, XDCMD_RD, 0, xd->xd_drive, blk, 1, dmaddr, fmode);
xy.c 613 int spt, mb, blk, lcv, fmode, s = 0, newstate; local in function:xyattach
644 fmode = xa->fullmode;
678 error = xyc_cmd(xyc, XYCMD_RST, 0, xy->xy_drive, 0, 0, 0, fmode);
707 dmaddr, fmode);
768 error = xyc_cmd(xyc, XYCMD_SDS, 0, xy->xy_drive, blk, 0, 0, fmode);
786 dmaddr, fmode);
  /src/sys/fs/nfs/client/
nfs_clvnops.c 510 int fmode = ap->a_mode; local in function:nfs_open
521 error = nfsrpc_open(vp, fmode, ap->a_cred, ap->a_td);
588 if (newnfs_directio_enable && (fmode & O_DIRECT) &&
605 if (NFSHASPNFS(VFSTONFS(vp->v_mount)) && (fmode & FWRITE) != 0)
615 if ((fmode & FWRITE) != 0) {
672 int fmode = ap->a_fflag; local in function:nfs_close
791 if (newnfs_directio_enable && (fmode & O_DIRECT) && (vp->v_type == VREG)) {
1543 int error = 0, attrflag, dattrflag, fmode = 0; local in function:nfs_create
1555 fmode |= O_EXCL;
1569 vap, cverf, fmode, cnp->cn_cred, cnp->cn_thread, &dnfsva, &nfsva
    [all...]
nfs_clrpcops.c 1840 nfsquad_t cverf, int fmode, struct ucred *cred, NFSPROC_T *p,
1863 error = nfsrpc_createv4(dvp, name, namelen, vap, cverf, fmode,
1894 fmode, cred, p, dnap, nnap, nfhpp, attrflagp, dattrflagp,
1905 nfsquad_t cverf, int fmode, struct ucred *cred, NFSPROC_T *p,
1922 if (fmode & O_EXCL) {
1953 nfsquad_t cverf, int fmode, struct nfsclowner *owp, struct nfscldeleg **dpp,
1993 if (fmode & O_EXCL) {
  /src/usr.bin/ftp/
ssl.c 237 fetch_open(const char *fname, const char *fmode)
242 fd = open(fname, O_RDONLY); /* XXX: fmode */
258 fetch_fdopen(int sd, const char *fmode)
  /src/sys/fs/unionfs/
unionfs_subr.c 601 int fmode; local in function:unionfs_vn_create_on_upper
610 fmode = FFLAGS(O_WRONLY | O_CREAT | O_TRUNC | O_EXCL);
645 if ((error = VOP_OPEN(vp, fmode, cred)) != 0) {
  /src/libexec/ftpd/
ftpd.c 1838 store(const char *name, const char *fmode, int unique)
1847 desc = (*fmode == 'w') ? "put" : "append";
1857 fmode = "r+";
1858 fout = fopen(name, fmode);
1920 getdatasock(const char *fmode)
1927 return (fdopen(data, fmode));
1982 return (fdopen(s, fmode));
1999 dataconn(const char *name, off_t size, const char *fmode)
2047 return (fdopen(pdata, fmode));
2053 return (fdopen(data, fmode));
    [all...]
  /src/tests/dev/audio/
audiotest.c 6836 test_audioctl_open_1(int fmode, int cmode)
6843 openmode_str[fmode] + 2, openmode_str[cmode] + 2);
6844 if (hw_canplay() == 0 && fmode == O_WRONLY) {
6848 if (hw_canrec() == 0 && fmode == O_RDONLY) {
6853 fd = OPEN(devaudio, fmode);
6879 test_audioctl_open_2(int fmode, int cmode)
6886 openmode_str[fmode] + 2, openmode_str[cmode] + 2);
6887 if (hw_canplay() == 0 && fmode == O_WRONLY) {
6891 if (hw_canrec() == 0 && fmode == O_RDONLY) {
6899 fd = OPEN(devaudio, fmode);
    [all...]
  /src/lib/libperfuse/
ops.c 1361 mode_t fmode; local in function:perfuse_node_open2
1438 fmode = mode & ~(FREAD|FWRITE);
1439 fmode |= (mode & FWRITE) ? O_RDWR : O_RDONLY;
1443 foi->flags = fmode;

Completed in 31 milliseconds