/netbsd/sys/miscfs/fifofs/ |
H A D | fifo_vnops.c | 189 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 D | procfs_vnops.c | 317 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 D | unionfs_vnops.c | 475 (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 D | spec_vnops.c | 750 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 D | sysvbfs_vnops.c | 194 if ((a->a_mode & FWRITE) && !(a->a_mode & O_APPEND)) { in sysvbfs_open()
|
/netbsd/sys/fs/union/ |
H A D | union_vnops.c | 630 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 D | layer_vnops.c | 518 if (error == 0 && (ap->a_mode & FWRITE)) { in layer_open()
|
/netbsd/sys/sys/ |
H A D | vnode_if.h | 110 int a_mode; member
|
/netbsd/external/gpl3/gdb/dist/opcodes/ |
H A D | ChangeLog-2008 | 891 * 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 D | ChangeLog-2008 | 891 * 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 D | ChangeLog-2008 | 891 * 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 D | ChangeLog-2008 | 891 * 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 D | fdesc_vnops.c | 317 return cdev_open(devctty, ap->a_mode, 0, curlwp); in fdesc_open()
|
/netbsd/external/cddl/osnet/dist/uts/common/fs/zfs/ |
H A D | zfs_ctldir.c | 443 int flags = ap->a_mode; in zfsctl_common_open() 1555 if (ap->a_mode & FWRITE) in sfs_open()
|
/netbsd/sys/ufs/lfs/ |
H A D | ulfs_vnops.c | 141 (ap->a_mode & (FWRITE | O_APPEND)) == FWRITE) in ulfs_open()
|
/netbsd/sys/ufs/ext2fs/ |
H A D | ext2fs_vnops.c | 192 (ap->a_mode & (FWRITE | O_APPEND)) == FWRITE) in ext2fs_open()
|
/netbsd/sys/fs/tmpfs/ |
H A D | tmpfs_vnops.c | 348 mode_t mode = ap->a_mode; in tmpfs_open()
|
/netbsd/sys/fs/nilfs/ |
H A D | nilfs_vnops.c | 950 if ((flags & APPEND) && (ap->a_mode & (FWRITE | O_APPEND)) == FWRITE) in nilfs_open()
|
/netbsd/sys/fs/v7fs/ |
H A D | v7fs_vnops.c | 324 ((a->a_mode & (FWRITE | O_APPEND)) == FWRITE)) { in v7fs_open()
|
/netbsd/sys/nfs/ |
H A D | nfs_vnops.c | 424 if (ap->a_mode & FREAD) { in nfs_open() 430 if (ap->a_mode & FWRITE) { in nfs_open()
|
/netbsd/sys/coda/ |
H A D | coda_vnops.c | 228 int flag = ap->a_mode & (~O_EXCL); in coda_open()
|
/netbsd/sys/ufs/chfs/ |
H A D | chfs_vnops.c | 319 int mode = ((struct vop_open_args *) v)->a_mode; in chfs_open()
|
/netbsd/sys/fs/udf/ |
H A D | udf_vnops.c | 1351 if ((flags & APPEND) && (ap->a_mode & (FWRITE | O_APPEND)) == FWRITE) in udf_open()
|
/netbsd/sys/rump/librump/rumpvfs/ |
H A D | rumpfs.c | 1270 int mode = ap->a_mode; in rump_vop_open()
|
/netbsd/sys/ufs/ufs/ |
H A D | ufs_vnops.c | 236 (ap->a_mode & (FWRITE | O_APPEND)) == FWRITE) in ufs_open()
|