Home
last modified time | relevance | path

Searched refs:a_mode (Results 1 – 25 of 33) sorted by relevance

12

/netbsd/sys/miscfs/fifofs/
H A Dfifo_vnops.c189 if (ap->a_mode & FREAD) { in fifo_open()
195 if (ap->a_mode & FWRITE) { in fifo_open()
201 if (ap->a_mode & FREAD) { in fifo_open()
202 if (ap->a_mode & O_NONBLOCK) { in fifo_open()
216 if (ap->a_mode & FWRITE) { in fifo_open()
217 if (ap->a_mode & O_NONBLOCK) { in fifo_open()
239 VOP_CLOSE(vp, ap->a_mode, ap->a_cred); in fifo_open()
/netbsd/sys/miscfs/procfs/
H A Dprocfs_vnops.c317 p2, pfs, KAUTH_ARG(M2K(ap->a_mode)), NULL); in procfs_open()
328 if (((pfs->pfs_flags & FWRITE) && (ap->a_mode & O_EXCL)) || in procfs_open()
329 ((pfs->pfs_flags & O_EXCL) && (ap->a_mode & FWRITE))) { in procfs_open()
339 if (ap->a_mode & FWRITE) in procfs_open()
340 pfs->pfs_flags = ap->a_mode & (FWRITE|O_EXCL); in procfs_open()
/netbsd/sys/fs/unionfs/
H A Dunionfs_vnops.c475 (ap->a_mode & FWRITE) && lvp->v_type == VREG) in unionfs_open()
480 if ((ap->a_mode & FWRITE) && lvp->v_type == VREG) { in unionfs_open()
482 !(ap->a_mode & O_TRUNC), cred); in unionfs_open()
492 error = VOP_OPEN(targetvp, ap->a_mode, cred); in unionfs_open()
500 VOP_CLOSE(uvp, ap->a_mode, cred); in unionfs_open()
509 unsp->uns_lower_openmode = ap->a_mode; in unionfs_open()
/netbsd/sys/miscfs/specfs/
H A Dspec_vnops.c750 switch (ap->a_mode & (FREAD | FWRITE)) { in spec_open()
879 error = cdev_open(dev, ap->a_mode, S_IFCHR, l); in spec_open()
904 error = bdev_open(dev, ap->a_mode, S_IFBLK, l); in spec_open()
/netbsd/sys/fs/sysvbfs/
H A Dsysvbfs_vnops.c194 if ((a->a_mode & FWRITE) && !(a->a_mode & O_APPEND)) { in sysvbfs_open()
/netbsd/sys/fs/union/
H A Dunion_vnops.c630 int mode = ap->a_mode; in union_open()
646 if ((ap->a_mode & FWRITE) && (tvp->v_type == VREG)) { in union_open()
679 if (error == 0 && (ap->a_mode & FWRITE)) { in union_open()
/netbsd/sys/miscfs/genfs/
H A Dlayer_vnops.c518 if (error == 0 && (ap->a_mode & FWRITE)) { in layer_open()
/netbsd/sys/sys/
H A Dvnode_if.h110 int a_mode; member
/netbsd/external/gpl3/gdb/dist/opcodes/
H A DChangeLog-2008891 * i386-dis.c (a_mode): New.
893 (Ma): Change to a_mode.
894 (intel_operand_size): Handle a_mode.
/netbsd/external/gpl3/binutils/dist/opcodes/
H A DChangeLog-2008891 * i386-dis.c (a_mode): New.
893 (Ma): Change to a_mode.
894 (intel_operand_size): Handle a_mode.
/netbsd/external/gpl3/binutils.old/dist/opcodes/
H A DChangeLog-2008891 * i386-dis.c (a_mode): New.
893 (Ma): Change to a_mode.
894 (intel_operand_size): Handle a_mode.
/netbsd/external/gpl3/gdb.old/dist/opcodes/
H A DChangeLog-2008891 * i386-dis.c (a_mode): New.
893 (Ma): Change to a_mode.
894 (intel_operand_size): Handle a_mode.
/netbsd/sys/miscfs/fdesc/
H A Dfdesc_vnops.c317 return cdev_open(devctty, ap->a_mode, 0, curlwp); in fdesc_open()
/netbsd/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dzfs_ctldir.c443 int flags = ap->a_mode; in zfsctl_common_open()
1555 if (ap->a_mode & FWRITE) in sfs_open()
/netbsd/sys/ufs/lfs/
H A Dulfs_vnops.c141 (ap->a_mode & (FWRITE | O_APPEND)) == FWRITE) in ulfs_open()
/netbsd/sys/ufs/ext2fs/
H A Dext2fs_vnops.c192 (ap->a_mode & (FWRITE | O_APPEND)) == FWRITE) in ext2fs_open()
/netbsd/sys/fs/tmpfs/
H A Dtmpfs_vnops.c348 mode_t mode = ap->a_mode; in tmpfs_open()
/netbsd/sys/fs/nilfs/
H A Dnilfs_vnops.c950 if ((flags & APPEND) && (ap->a_mode & (FWRITE | O_APPEND)) == FWRITE) in nilfs_open()
/netbsd/sys/fs/v7fs/
H A Dv7fs_vnops.c324 ((a->a_mode & (FWRITE | O_APPEND)) == FWRITE)) { in v7fs_open()
/netbsd/sys/nfs/
H A Dnfs_vnops.c424 if (ap->a_mode & FREAD) { in nfs_open()
430 if (ap->a_mode & FWRITE) { in nfs_open()
/netbsd/sys/coda/
H A Dcoda_vnops.c228 int flag = ap->a_mode & (~O_EXCL); in coda_open()
/netbsd/sys/ufs/chfs/
H A Dchfs_vnops.c319 int mode = ((struct vop_open_args *) v)->a_mode; in chfs_open()
/netbsd/sys/fs/udf/
H A Dudf_vnops.c1351 if ((flags & APPEND) && (ap->a_mode & (FWRITE | O_APPEND)) == FWRITE) in udf_open()
/netbsd/sys/rump/librump/rumpvfs/
H A Drumpfs.c1270 int mode = ap->a_mode; in rump_vop_open()
/netbsd/sys/ufs/ufs/
H A Dufs_vnops.c236 (ap->a_mode & (FWRITE | O_APPEND)) == FWRITE) in ufs_open()

12