/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. 70 #define O_WRONLY 1 /* +1 == FWRITE */ 71 #define O_RDWR 2 /* +1 == FREAD|FWRITE */ 101 #define FWRITE _FWRITE 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 | 132 error = msgio(fdes, ctl, data, &rv, FWRITE, &pri, &realflags); 178 error = msgio(fdes, ctl, data, &rv, FWRITE, &pri, &flags); 267 * FWRITE case 361 error = msgio32(fdes, ctl, data, &rv, FWRITE, &pri, &realflags); 407 error = msgio32(fdes, ctl, data, &rv, FWRITE, &pri, &flags); 518 * FWRITE case
|
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|FWRITE, kcre [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|FWRITE, CRE [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|FWRITE|FNOCTT [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|FREA [all...] |
H A D | ip_fil.c | 251 if (!(mode & FWRITE)) { 305 if (!(mode & FWRITE)) 318 if (!(mode & FWRITE)) { 327 if (!(mode & FWRITE)) 344 if (!(mode & FWRITE)) 353 if (!(mode & FWRITE)) 360 if (!(mode & FWRITE)) 372 if (!(mode & FWRITE)) 378 if (!(mode & FWRITE)) 390 if (!(mode & FWRITE)) [all...] |
/illumos-gate/usr/src/uts/common/fs/objfs/ |
H A D | objfs_common.c | 42 if ((flag & (FOFFMAX | FWRITE)) != FOFFMAX)
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | file.h | 85 #define FWRITE 0x02 macro
|
H A D | fcntl.h | 126 #define FWRITE 0x02 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/uts/sun4u/io/ |
H A D | ppm_plat.c | 60 (intptr_t)index, FWRITE | FKIOCTL, kcred, NULL); 101 FWRITE | FKIOCTL, kcred, NULL); 136 (intptr_t)dc->m_un.kio.val, FWRITE | FKIOCTL, 173 FWRITE | FKIOCTL, kcred, NULL);
|
/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. 88 #define FWRITE 0x0002 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/os/ |
H A D | acct.c | 130 (void) VOP_CLOSE(ag->acctvp, FWRITE, 1, (offset_t)0, kcred, 282 error = VOP_CLOSE(vp, FWRITE, 1, (offset_t)0, CRED(), 296 if ((error = vn_open(fname, UIO_USERSPACE, FWRITE, 335 (void) VOP_CLOSE(vp, FWRITE, 1, (offset_t)0, CRED(), NULL);
|
/illumos-gate/usr/src/uts/i86pc/io/fipe/ |
H A D | fipe_drv.c | 100 if ((mode & FWRITE) == 0) { 111 if ((mode & FWRITE) == 0) { 135 if ((mode & FWRITE) == 0) {
|
/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|FWRITE, kcre [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_srv_deleg.c | 1458 if (mode == FWRITE || fp->rf_dinfo.rd_dtype == OPEN_DELEGATE_WRITE) { 1628 fflags |= FWRITE; 1637 if (((fflags & FWRITE) && vn_has_other_opens(vp, V_WRITE)) || 1638 (((fflags & FWRITE) == 0) && vn_is_opened(vp, V_WRITE)) || 1649 if (((fflags & FWRITE) && vn_has_other_opens(vp, V_WRITE)) || 1650 (((fflags & FWRITE) == 0) && vn_is_opened(vp, V_WRITE)) || 1674 if (((fflags & FWRITE) && vn_has_other_opens(vp, V_WRITE)) || 1675 (((fflags & FWRITE) == 0) && vn_is_opened(vp, V_WRITE)) || 1688 if (((fflags & FWRITE) && vn_has_other_opens(vp, V_WRITE)) || 1689 (((fflags & FWRITE) [all...] |
/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/sys/ |
H A D | file.h | 85 #define FWRITE 0x02 /* <sys/aiocb.h> LIO_WRITE must be identical */ macro
|
/illumos-gate/usr/src/uts/common/io/lvm/md/ |
H A D | md_ioctl.c | 228 if ((mode & FWRITE) == 0) 1792 if (! (mode & FWRITE)) 1860 if (! (mode & FWRITE)) 1898 if (! (mode & FWRITE)) 1919 if (! (mode & FWRITE)) 1936 if (! (mode & FWRITE)) 1953 if (!(mode & FWRITE)) { 1973 if (! (mode & FWRITE)) 2002 if (! (mode & FWRITE)) 2069 if (! (mode & FWRITE)) [all...] |
/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();
|