/illumos-gate/usr/src/lib/libbc/inc/include/sys/ |
H A D | file.h | 58 #define FMASK (FREAD|FWRITE|FAPPEND|FSYNC|FNBIO|FNONBIO) 59 #define FCNTLCANT (FREAD|FWRITE|FMARK|FDEFER|FSHLOCK|FEXLOCK)
|
H A D | fcntlcom.h | 67 * combination of FREAD and FWRITE. 69 #define O_RDONLY 0 /* +1 == FREAD */ 71 #define O_RDWR 2 /* +1 == FREAD|FWRITE */ 100 #define FREAD _FREAD macro
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | pipe.c | 132 if (error = falloc(vp1, FWRITE|FREAD, &fp1, &fd1)) { 138 if (error = falloc(vp2, FWRITE|FREAD, &fp2, &fd2)) 144 if (error = fifo_stropen(&vp1, FWRITE|FREAD, fp1->f_cred, 0, 0)) 147 if (error = fifo_stropen(&vp2, FWRITE|FREAD, fp2->f_cred, 0, 0)) { 148 (void) VOP_CLOSE(vp1, FWRITE|FREAD, 1, (offset_t)0, 205 (void) VOP_CLOSE(vp1, FWRITE|FREAD, 1, (offset_t)0, fp1->f_cred, NULL); 206 (void) VOP_CLOSE(vp2, FWRITE|FREAD, 1, (offset_t)0, fp2->f_cred, NULL);
|
H A D | strcalls.c | 90 if ((error = msgio(fdes, ctl, data, &rv, FREAD, &pri, 156 error = msgio(fdes, ctl, data, &rv, FREAD, &pri, &flags); 234 if (mode == FREAD) { 319 if ((error = msgio32(fdes, ctl, data, &rv, FREAD, &pri, 385 error = msgio32(fdes, ctl, data, &rv, FREAD, &pri, &flags); 472 if (mode == FREAD) {
|
H A D | getdents.c | 96 if (!(fp->f_flag & FREAD)) { 214 if (!(fp->f_flag & FREAD)) {
|
H A D | open.c | 77 * Must be one or the other and neither FREAD nor FWRITE 81 if ((filemode & (FREAD|FWRITE)) || 205 if ((filemode & (FREAD|FWRITE|FSEARCH|FEXEC|FXATTRDIROPEN)) != 0) {
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | l_strplumb.c | 71 error = fassign(&vp, FREAD|FWRITE, fd); 73 error = VOP_OPEN(&vp, FREAD|FWRITE, CRED(), NULL); 138 ret = VOP_CLOSE(vp, FREAD|FWRITE, 1, (offset_t)0, CRED(), NULL); 229 error = ldi_open_by_name(SAD_ADM, FREAD|FWRITE, 237 error = ldi_open_by_name(SAD_USR, FREAD|FWRITE, 259 (void) ldi_close(lh, FREAD|FWRITE, kcred); 290 (void) ldi_close(lh, FREAD|FWRITE, kcred); 306 (void) ldi_close(lh, FREAD|FWRITE, kcred); 345 (void) ldi_close(lh, FREAD|FWRITE, kcred); 349 (void) ldi_close(lh, FREAD|FWRIT [all...] |
H A D | strplumb.c | 351 if ((err = ldi_open_by_name(rootfs.bo_devname, FREAD|FWRITE, CRED(), 393 if ((err = ldi_open_by_name(name, FREAD|FWRITE, CRED(), &mux_lh, 399 FREAD|FWRITE|FNOCTTY|FKIOCTL, CRED(), 412 (void) ldi_close(lh, FREAD|FWRITE, CRED()); 419 if ((err = ldi_open_by_name(rootfs.bo_devname, FREAD|FWRITE, CRED(), 436 FREAD|FWRITE|FNOCTTY|FKIOCTL, CRED(), 458 (void) ldi_close(lh, FREAD|FWRITE, CRED()); 461 (void) ldi_close(mux_lh, FREAD|FWRITE, CRED()); 664 rc = ldi_open_by_name(clonepath, FREAD|FWRITE, CRED(), &lh, li); 678 (void) ldi_close(lh, FREAD|FWRIT [all...] |
H A D | consconfig_dacf.c | 601 FREAD|FWRITE|FNOCTTY, kcred, &lh, sp->cons_li) != 0) 618 (void) ldi_close(lh, FREAD|FWRITE, kcred); 630 (void) ldi_close(lh, FREAD|FWRITE, kcred); 768 err = ldi_open_by_dev(&wc_dev, OTYP_CHR, FREAD|FWRITE|FNOCTTY, 799 (void) ldi_close(wc_lh, FREAD|FWRITE, kcred); 824 if (ldi_open_by_name(CONSKBD_PATH, FREAD|FWRITE|FNOCTTY, 833 if (ldi_open_by_name(CONSMS_PATH, FREAD|FWRITE|FNOCTTY, 919 if (ldi_open_by_dev(&wc_dev, OTYP_CHR, FREAD|FWRITE|FNOCTTY, kcred, 938 (void) ldi_close(wc_lh, FREAD|FWRITE, kcred); 1392 FREAD|FWRIT [all...] |
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipftest.c | 337 i = iplioctl(IPL_LOGIPF, cmd, data, FWRITE|FREAD); 359 i = iplioctl(IPL_LOGNAT, cmd, data, FWRITE|FREAD); 381 i = iplioctl(IPL_LOGSTATE, cmd, data, FWRITE|FREAD); 403 i = iplioctl(IPL_LOGAUTH, cmd, data, FWRITE|FREAD); 425 i = iplioctl(IPL_LOGSCAN, cmd, data, FWRITE|FREAD); 447 i = iplioctl(IPL_LOGSYNC, cmd, data, FWRITE|FREAD); 469 i = iplioctl(IPL_LOGLOOKUP, cmd, data, FWRITE|FREAD); 487 i = iplioctl(IPL_LOGIPF, cmd, data, FWRITE|FREAD); 505 i = iplioctl(IPL_LOGNAT, cmd, data, FWRITE|FREAD); 523 i = iplioctl(IPL_LOGSTATE, cmd, data, FWRITE|FREAD); [all...] |
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | file.h | 84 #define FREAD 0x01 macro
|
H A D | fcntl.h | 125 #define FREAD 0x01 macro
|
/illumos-gate/usr/src/uts/common/inet/sockmods/ |
H A D | sockmod_rds.c | 60 ret = ldi_open_by_name(RDSV3_DEVICE_NAME, FREAD | FWRITE, kcred,
|
/illumos-gate/usr/src/uts/common/io/ksocket/ |
H A D | ksocket_impl.h | 54 #define KSOCKET_FMODE(so) FREAD|FWRITE| \
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | fcntl.h | 83 * FREAD and FWRITE are excluded from the #ifdef _KERNEL so that TIOCFLUSH, 84 * which was documented to use FREAD/FWRITE, continues to work. 87 #define FREAD 0x0001 macro 148 /* convert from open() flags to/from fflags; convert O_RD/WR to FREAD/FWRITE */ 153 #define FMASK (FREAD|FWRITE|FAPPEND|FASYNC|FFSYNC|FNONBLOCK|O_DIRECT|FEXEC)
|
/illumos-gate/usr/src/uts/common/io/softmac/ |
H A D | softmac_main.c | 705 err = ldi_open_by_dev(&dev, OTYP_CHR, FREAD|FWRITE, kcred, &lh, li); 709 (void) ldi_close(lh, FREAD|FWRITE, kcred); 725 if (ldi_open_by_dev(&dev, OTYP_CHR, FREAD|FWRITE, kcred, &lh, 745 (void) ldi_close(lh, FREAD|FWRITE, kcred); 755 (void) ldi_close(lh, FREAD|FWRITE, kcred); 762 (void) ldi_close(lh, FREAD|FWRITE, kcred); 773 (void) ldi_close(lh, FREAD|FWRITE, kcred); 790 (void) ldi_close(lh, FREAD|FWRITE, kcred); 803 (void) ldi_close(lh, FREAD|FWRITE, kcred); 858 (void) ldi_close(lh, FREAD|FWRIT [all...] |
/illumos-gate/usr/src/uts/common/io/lvm/md/ |
H A D | md_ioctl.c | 1780 if (! (mode & FREAD)) 1809 if (! (mode & FREAD)) 1826 if (! (mode & FREAD)) 1843 if (! (mode & FREAD)) 2052 if (! (mode & FREAD)) 2078 if (! (mode & FREAD)) 2112 if (! (mode & FREAD)) 2139 if (! (mode & FREAD)) 2166 if (! (mode & FREAD)) 2183 if (! (mode & FREAD)) [all...] |
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | nl7c.c | 363 ret = vn_open(portconf, UIO_SYSSPACE, FREAD, 0, &vp, 0, 0); 503 (void) VOP_CLOSE(vp, FREAD, 1, (offset_t)0, CRED(), NULL); 529 ret = vn_open(ncakmod, UIO_SYSSPACE, FREAD, 0, &vp, 0, 0); 606 (void) VOP_CLOSE(vp, FREAD, 1, (offset_t)0, CRED(), NULL); 651 ret = vn_open(ncalogd, UIO_SYSSPACE, FREAD, 0, &vp, 0, 0); 806 (void) VOP_CLOSE(vp, FREAD, 1, (offset_t)0, CRED(), NULL);
|
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/ |
H A D | amd_iommu.c | 352 if (!(flag & (FREAD|FWRITE))) { 387 if (!(flag & (FREAD|FWRITE))) { 426 if (!(mode & (FREAD|FWRITE))) {
|
/illumos-gate/usr/src/uts/common/fs/ctfs/ |
H A D | ctfs_latest.c | 129 if (flag != (FREAD | FOFFMAX))
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | file.h | 84 #define FREAD 0x01 /* <sys/aiocb.h> LIO_READ must be identical */ macro
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | crossref.c | 55 #define FREAD "r" /* fopen for reading */ macro 87 if ((yyin = vpfopen(srcfile, FREAD)) == NULL) {
|
/illumos-gate/usr/src/uts/sun4u/montecarlo/io/ttymux_dacf/ |
H A D | ttymux_dacf.c | 144 #define OFLAGS FREAD|FWRITE|FNOCTTY|FNONBLOCK 535 vn_open(fspath, UIO_SYSSPACE, FREAD, 0, &vp, 0, 0) != 0) { 539 VOP_CLOSE(vp, FREAD, 1, (offset_t)0, CRED(), NULL); 571 if ((rv = VOP_OPEN(vp, FREAD+FWRITE+FNOCTTY, CRED(), NULL)) != 0) { 575 if ((rv = falloc(*vp, FREAD+FWRITE+FNOCTTY, &fp, NULL)) != 0) { 589 VOP_CLOSE(*vp, FREAD+FWRITE+FNOCTTY, 1, (offset_t)0, CRED(), NULL); 640 FREAD+FWRITE+FNOCTTY, K_TO_K, CRED(), &(cn->sm_muxid))) != 0) { 672 VOP_CLOSE(lvp, FREAD+FWRITE+FNOCTTY, 1, (offset_t)0, CRED(), NULL);
|
/illumos-gate/usr/src/uts/common/avs/ns/solaris/ |
H A D | nsc_raw.c | 381 OTYP_BLK, FREAD|FWRITE, cred, &cdi->lh, li); 412 (void) ldi_close(cdi->lh, FWRITE|FREAD, cred); 464 rc = ldi_close(cdi->lh, FREAD|FWRITE, cred); 608 flags = FKIOCTL | FREAD | FWRITE | DATAMODEL_NATIVE; 783 flag = FREAD | FWRITE | ddi_mmap_get_model();
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_vfsops.c | 312 oflag = FREAD; 315 oflag = FREAD | FWRITE; 523 (void) VOP_CLOSE(vp, FREAD|FWRITE, 1, 536 error = VOP_OPEN(&devvp, FREAD|FWRITE, CRED(), NULL); 538 (void) VOP_CLOSE(devvp, FREAD|FWRITE, 1, 829 (vfsp->vfs_flag & VFS_RDONLY) ? FREAD : FREAD|FWRITE, 1195 FKIOCTL|FNATIVE|FREAD, CRED(), &status) == 0) { 1363 FREAD : FREAD|FWRIT [all...] |