Searched defs:fflags (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/cmd/sh/
H A Dword.c397 int fflags; local
437 ((fflags = fcntl(f->fdes, F_GETFL, 0)) & O_NDELAY)) {
438 fflags &= ~O_NDELAY;
439 fcntl(f->fdes, F_SETFL, fflags);
444 fflags = fcntl(f->fdes, F_GETFL, 0);
445 fflags &= ~O_NONBLOCK;
446 fcntl(f->fdes, F_SETFL, fflags);
/illumos-gate/usr/src/cmd/bdiff/
H A Dbdiff.c71 static int fflags; variable
104 fflags = FTLMSG | FTLCLN | FTLEXIT;
134 fflags &= ~FTLMSG;
140 fflags &= ~FTLMSG;
241 fflags |= FTLMSG;
258 fflags |= FTLMSG;
462 * the "fflags" global word (see <fatal.h>).
471 if (fflags & FTLMSG)
473 if (fflags & FTLCLN)
475 if (fflags
[all...]
/illumos-gate/usr/src/cmd/csh/
H A Dsh.tchar.c428 int i, j, fflags; local
496 ((fflags = fcntl(d, F_GETFL, 0)) & O_NDELAY)) {
497 fflags &= ~O_NDELAY;
498 fcntl(d, F_SETFL, fflags);
503 fflags = fcntl(d, F_GETFL, 0);
504 fflags &= ~O_NONBLOCK;
505 fcntl(d, F_SETFL, fflags);
646 ((fflags = fcntl(d, F_GETFL, 0)) & O_NDELAY)) {
647 fflags &= ~O_NDELAY;
648 fcntl(d, F_SETFL, fflags);
[all...]
/illumos-gate/usr/src/cmd/backup/restore/
H A Drestore.h219 short fflags; /* extraction flags, if any */ member in struct:afile
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_file.c652 int fflags = 0;
656 fflags = fcntl(fileno(ktdata->openf), F_GETFL, 0);
657 if (fflags > 0)
658 file_is_open |= ((fflags & O_ACCMODE) << 1);
650 int fflags = 0; local
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_deleg.c1560 int fflags = 0; local
1624 /* Calculate the fflags for this OPEN. */
1626 fflags |= FREAD;
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
[all...]
H A Dnfs4_srv.c6708 int fflags = 0; local
6742 /* Calculate the fflags for this OPEN. */
6744 fflags |= FREAD;
6746 fflags |= FWRITE;
6839 * if this is the first open then call vop_open with fflags.
6854 err = VOP_OPEN(&cs->vp, fflags, cs->cr, &ct);
6875 * calculate the fflags for the new mode that is being added
6878 fflags = 0;
6880 fflags |= FREAD;
6882 fflags |
7690 int fflags = 0; local
8373 int fflags = 0; local
9503 int fflags = 0; local
[all...]
/illumos-gate/usr/src/ucbcmd/ls/
H A Dls.c49 short fflags; /* mode&~S_IFMT, perhaps ISARG */ member in struct:afile
181 fp->fflags |= ISARG;
250 if ((fp->fflags&ISARG) == 0 && fp->fname)
331 fp->fflags = 0;
419 fp->fflags = stb.st_mode & ~S_IFMT;
483 fp->fflags &= ~S_IRWXG;
490 fp->fflags |= (groupperm & mask) << 3;
563 if ((f1->fflags&ISARG) && f1->ftype == 'd') {
564 if ((f2->fflags&ISARG) == 0 || f2->ftype != 'd')
567 if ((f2->fflags
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Dnvfile.c1296 int fflags; local
1304 * fflags = ((flags & mask) + 1) | (flags & ~mask)
1310 fflags = FWRITE;
1312 fflags = FWRITE | FREAD;
1314 fflags = FREAD;
1317 * Now that fflags has been initialized with the read/write bits
1321 fflags |= FCREAT;
1323 fflags |= FTRUNC;
1325 if (nvf_errno = vn_open(path, UIO_SYSSPACE, fflags,
1330 if (falloc(vp, fflags,
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_ctldir.c530 zfsctl_unmount_snap(zfs_snapentry_t *sep, int fflags, cred_t *cr) argument
542 error = dounmount(vn_mountedvfs(svp), fflags, cr);
1326 zfsctl_umount_snapshots(vfs_t *vfsp, int fflags, cred_t *cr) argument
1354 error = zfsctl_unmount_snap(sep, fflags, cr);
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dmilter.c2406 mi_int32 fvers, fflags, pflags; local
2441 fflags = htonl(mta_actions);
2444 (char *) &fflags, MILTER_LEN_BYTES);
2454 sm_dprintf("milter_negotiate(%s): send: version %lu, fflags 0x%lx, pflags 0x%lx\n",
2455 m->mf_name, ntohl(fvers), ntohl(fflags), ntohl(pflags));
2512 (void) memcpy((char *) &fflags, response + MILTER_LEN_BYTES,
2518 m->mf_fflags = ntohl(fflags);
2618 sm_dprintf("milter_negotiate(%s): received: version %u, fflags 0x%x, pflags 0x%x\n",
/illumos-gate/usr/src/uts/common/os/
H A Dstreamio.c5867 int fflags, /* file flags with model info */
5888 ASSERT((fflags & FMODELS) != 0);
5910 iocbp->ioc_flag = (fflags & FMODELS);
6265 resp->cp_flag = (fflags & FMODELS);
6309 resp->cp_flag = (fflags & FMODELS);
5864 strdoioctl( struct stdata *stp, struct strioctl *strioc, int fflags, int flag, cred_t *crp, int *rvalp) argument
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c273 int fflags; local
280 fflags = DMU_GET_FEATUREFLAGS(drrb->drr_versioninfo);
281 fflags |= (DMU_BACKUP_FEATURE_DEDUP |
283 DMU_SET_FEATUREFLAGS(drrb->drr_versioninfo, fflags);

Completed in 160 milliseconds