Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A D_sfopen.c46 int fd, oldfd, oflags, fflags, sflags; local
50 if((sflags = _sftype(mode,&oflags,&fflags,NIL(int*))) == 0)
85 if (fflags & SF_FD_CLOEXEC)
155 reg int sflags, oflags, fflags, uflag; local
161 sflags = oflags = fflags = uflag = 0;
173 fflags |= SF_FD_CLOEXEC;
225 *fflagsp = fflags;
/illumos-gate/usr/src/cmd/csh/
H A Dsh.tchar.c427 int i, j, fflags; in read_() local
496 fflags &= ~O_NDELAY; in read_()
497 fcntl(d, F_SETFL, fflags); in read_()
502 fflags = fcntl(d, F_GETFL, 0); in read_()
503 fflags &= ~O_NONBLOCK; in read_()
504 fcntl(d, F_SETFL, fflags); in read_()
646 fflags &= ~O_NDELAY; in read_()
647 fcntl(d, F_SETFL, fflags); in read_()
652 fflags = fcntl(d, F_GETFL, 0); in read_()
653 fflags &= ~O_NONBLOCK; in read_()
[all …]
/illumos-gate/usr/src/cmd/bdiff/
H A Dbdiff.c71 static int fflags; variable
104 fflags = FTLMSG | FTLCLN | FTLEXIT; in main()
134 fflags &= ~FTLMSG; in main()
140 fflags &= ~FTLMSG; in main()
241 fflags |= FTLMSG; in main()
258 fflags |= FTLMSG; in main()
471 if (fflags & FTLMSG) in fatal()
473 if (fflags & FTLCLN) in fatal()
475 if (fflags & FTLEXIT) in fatal()
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dfmemopen.c187 int oflags, fflags, err; in fmemopen() local
196 if (_stdio_flags(mode, &oflags, &fflags) != 0) { in fmemopen()
205 if (buf == NULL && fflags != _IORW) { in fmemopen()
252 iop->_flag = (iop->_flag & ~_DEF_FLAG_MASK) | fflags; in fmemopen()
254 iop->_flag = fflags; in fmemopen()
/illumos-gate/usr/src/boot/sys/sys/
H A Dfcntl.h150 #define OFLAGS(fflags) ((fflags) & O_EXEC ? (fflags) : (fflags) - 1) argument
/illumos-gate/usr/src/cmd/sh/
H A Dword.c397 int fflags; in readb() local
437 ((fflags = fcntl(f->fdes, F_GETFL, 0)) & O_NDELAY)) { in readb()
438 fflags &= ~O_NDELAY; in readb()
439 fcntl(f->fdes, F_SETFL, fflags); in readb()
444 fflags = fcntl(f->fdes, F_GETFL, 0); in readb()
445 fflags &= ~O_NONBLOCK; in readb()
446 fcntl(f->fdes, F_SETFL, fflags); in readb()
/illumos-gate/usr/src/ucbcmd/ls/
H A Dls.c47 short fflags; /* mode&~S_IFMT, perhaps ISARG */ member
179 fp->fflags |= ISARG; in main()
248 if ((fp->fflags&ISARG) == 0 && fp->fname) in formatd()
329 fp->fflags = 0; in gstat()
417 fp->fflags = stb.st_mode & ~S_IFMT; in gstat()
481 fp->fflags &= ~S_IRWXG; in gstat()
488 fp->fflags |= (groupperm & mask) << 3; in gstat()
561 if ((f1->fflags&ISARG) && f1->ftype == 'd') { in fcmp()
565 if ((f2->fflags&ISARG) && f2->ftype == 'd') in fcmp()
645 else if (fp->fflags & 0111) in fmtentry()
[all …]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_deleg.c1579 int fflags = 0; in rfs4_deleg_state() local
1645 fflags |= FREAD; in rfs4_deleg_state()
1647 fflags |= FWRITE; in rfs4_deleg_state()
1656 if (((fflags & FWRITE) && vn_has_other_opens(vp, V_WRITE)) || in rfs4_deleg_state()
1668 if (((fflags & FWRITE) && vn_has_other_opens(vp, V_WRITE)) || in rfs4_deleg_state()
1693 if (((fflags & FWRITE) && vn_has_other_opens(vp, V_WRITE)) || in rfs4_deleg_state()
1695 ((fflags & FREAD) && vn_has_other_opens(vp, V_READ)) || in rfs4_deleg_state()
1696 (((fflags & FREAD) == 0) && vn_is_opened(vp, V_READ)) || in rfs4_deleg_state()
1707 if (((fflags & FWRITE) && vn_has_other_opens(vp, V_WRITE)) || in rfs4_deleg_state()
1709 ((fflags & FREAD) && vn_has_other_opens(vp, V_READ)) || in rfs4_deleg_state()
[all …]
H A Dnfs4_srv.c6771 int fflags = 0; in rfs4_do_open() local
6807 fflags |= FREAD; in rfs4_do_open()
6809 fflags |= FWRITE; in rfs4_do_open()
6941 fflags = 0; in rfs4_do_open()
6943 fflags |= FREAD; in rfs4_do_open()
7753 int fflags = 0; in rfs4_op_open_downgrade() local
7927 fflags |= FREAD; in rfs4_op_open_downgrade()
7942 fflags |= FWRITE; in rfs4_op_open_downgrade()
8438 int fflags = 0; in rfs4_release_share_lock_state() local
9568 int fflags = 0; in rfs4_share() local
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Dnvfile.c1296 int fflags; in nvf_open() local
1310 fflags = FWRITE; in nvf_open()
1312 fflags = FWRITE | FREAD; in nvf_open()
1314 fflags = FREAD; in nvf_open()
1321 fflags |= FCREAT; in nvf_open()
1323 fflags |= FTRUNC; in nvf_open()
1325 if (nvf_errno = vn_open(path, UIO_SYSSPACE, fflags, in nvf_open()
1330 if (falloc(vp, fflags, &fp, NULL) != 0) { in nvf_open()
/illumos-gate/usr/src/cmd/bhyve/
H A Dmevent.c268 kev->fflags = mevent_kq_fflags(mevp); in mevent_populate()
611 int state, int fflags) in mevent_add_state() argument
669 mevp->me_fflags = fflags; in mevent_add_state()
707 mevent_add_flags(int tfd, enum ev_type type, int fflags, in mevent_add_flags() argument
711 return (mevent_add_state(tfd, type, func, param, EV_ADD, fflags)); in mevent_add_flags()
H A Dmevent.h50 struct mevent *mevent_add_flags(int fd, enum ev_type type, int fflags,
H A Dsmbiostbl.c175 uint8_t fflags; /* feature flags */ member
/illumos-gate/usr/src/contrib/bhyve/dev/usb/
H A Dusbdi.h97 typedef int (usb_fifo_open_t)(struct usb_fifo *fifo, int fflags);
98 typedef void (usb_fifo_close_t)(struct usb_fifo *fifo, int fflags);
99 typedef int (usb_fifo_ioctl_t)(struct usb_fifo *fifo, u_long cmd, void *addr, int fflags);
/illumos-gate/usr/src/cmd/backup/restore/
H A Dinteractive.c763 fp->fflags = np->e_flags; in formatf()
765 fp->fflags = 0; in formatf()
841 else if ((fp->fflags & NEW) != 0) in fmtentry()
H A Drestore.h193 short fflags; /* extraction flags, if any */ member
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_ctldir.c524 zfsctl_unmount_snap(zfs_snapentry_t *sep, int fflags, cred_t *cr) in zfsctl_unmount_snap() argument
536 error = dounmount(vn_mountedvfs(svp), fflags, cr); in zfsctl_unmount_snap()
1320 zfsctl_umount_snapshots(vfs_t *vfsp, int fflags, cred_t *cr) in zfsctl_umount_snapshots() argument
1348 error = zfsctl_unmount_snap(sep, fflags, cr); in zfsctl_umount_snapshots()
/illumos-gate/usr/src/lib/libc/inc/
H A Dstdiom.h286 extern int _stdio_flags(const char *type, int *oflags, int *fflags);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_file.c650 int fflags = 0; in krb5_ktf_keytab_externalize() local
654 fflags = fcntl(fileno(ktdata->openf), F_GETFL, 0); in krb5_ktf_keytab_externalize()
655 if (fflags > 0) in krb5_ktf_keytab_externalize()
656 file_is_open |= ((fflags & O_ACCMODE) << 1); in krb5_ktf_keytab_externalize()
/illumos-gate/usr/src/test/util-tests/tests/dis/risc-v/
H A Dtst.csr.s36 csrrs t1, fflags, t2
H A Dtst.csr.out9 libdis_test+0x20: 73 a3 13 00 csrrs t1,fflags,t2
/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);
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);
/illumos-gate/usr/src/tools/smatch/src/
H A Dlib.c934 static struct flag fflags[] = { variable
951 if (handle_switches(arg-1, arg+1, fflags)) in handle_switch_f()
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c286 int fflags; in cksummer() local
293 fflags = DMU_GET_FEATUREFLAGS(drrb->drr_versioninfo); in cksummer()
294 fflags |= (DMU_BACKUP_FEATURE_DEDUP | in cksummer()
296 DMU_SET_FEATUREFLAGS(drrb->drr_versioninfo, fflags); in cksummer()
/illumos-gate/usr/src/uts/common/os/
H A Dstreamio.c5992 int fflags, /* file flags with model info */ in strdoioctl() argument
6013 ASSERT((fflags & FMODELS) != 0); in strdoioctl()
6035 iocbp->ioc_flag = (fflags & FMODELS); in strdoioctl()
6390 resp->cp_flag = (fflags & FMODELS); in strdoioctl()
6434 resp->cp_flag = (fflags & FMODELS); in strdoioctl()