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

123

/freebsd-10.0-release/sys/fs/fuse/
H A Dfuse_file.h84 fuse_filehandle_xlate_from_mmap(int fflags) argument
86 if (fflags & (PROT_READ | PROT_WRITE)) {
88 } else if (fflags & (PROT_WRITE)) {
90 } else if ((fflags & PROT_READ) || (fflags & PROT_EXEC)) {
99 fuse_filehandle_xlate_from_fflags(int fflags) argument
101 if ((fflags & FREAD) && (fflags & FWRITE)) {
103 } else if (fflags & (FWRITE)) {
105 } else if (fflags
[all...]
/freebsd-10.0-release/tools/regression/kqueue/
H A Duser.c54 kev.fflags &= ~NOTE_FFCTRLMASK;
55 kev.fflags &= ~NOTE_TRIGGER;
85 kev.fflags &= ~NOTE_FFCTRLMASK;
86 kev.fflags &= ~NOTE_TRIGGER;
108 kev.fflags &= ~NOTE_FFCTRLMASK;
109 kev.fflags &= ~NOTE_TRIGGER;
126 /* TODO: try different fflags operations */
H A Dmain.c78 if (kev->fflags & attrib) \
84 /* Not every filter has meaningful fflags */
86 snprintf(buf, 1024, "fflags = %d", kev->fflags);
90 snprintf(buf, 1024, "fflags = %d (", kev->fflags);
163 u_int fflags,
167 EV_SET(kev, ident, filter, flags, fflags, data, NULL);
159 kevent_add(int kqfd, struct kevent *kev, uintptr_t ident, short filter, u_short flags, u_int fflags, intptr_t data, void *udata) argument
H A Dvnode.c86 kev.fflags |= NOTE_EXTEND; // XXX-FIXME compatibility issue
113 kev.fflags != NOTE_ATTRIB)
141 kev.fflags != NOTE_RENAME)
201 kev.fflags != NOTE_ATTRIB)
232 kev.fflags != NOTE_ATTRIB)
H A Dcommon.h58 u_int fflags,
/freebsd-10.0-release/sys/dev/pty/
H A Dpty.c61 ptydev_fdopen(struct cdev *dev, int fflags, struct thread *td, struct file *fp) argument
73 error = pts_alloc_external(fflags & (FREAD|FWRITE), td, fp, dev, name);
125 ptmx_fdopen(struct cdev *dev __unused, int fflags, struct thread *td, argument
129 return (pts_alloc(fflags & (FREAD|FWRITE), td, fp));
/freebsd-10.0-release/sys/dev/usb/
H A Dusb_dev.c235 if (cpd->fflags == 0) {
239 if (cpd->fflags & FWRITE) {
255 if (cpd->fflags & FREAD) {
396 is_tx = (cpd->fflags & FWRITE) ? 1 : 0;
397 is_rx = (cpd->fflags & FREAD) ? 1 : 0;
659 struct usb_fifo *f, int fflags)
669 fflags &= ~(FWRITE | FREAD);
673 fflags |= FWRITE;
675 fflags |= FREAD;
689 err = (f->methods->f_open) (f, fflags);
658 usb_fifo_open(struct usb_cdev_privdata *cpd, struct usb_fifo *f, int fflags) argument
753 usb_fifo_close(struct usb_fifo *f, int fflags) argument
842 usb_open(struct cdev *dev, int fflags, int devtype, struct thread *td) argument
1043 int fflags; local
1127 int fflags, revents; local
1232 int fflags; local
1356 int fflags; local
1595 usb_fifo_dummy_open(struct usb_fifo *fifo, int fflags) argument
1601 usb_fifo_dummy_close(struct usb_fifo *fifo, int fflags) argument
1607 usb_fifo_dummy_ioctl(struct usb_fifo *fifo, u_long cmd, void *addr, int fflags) argument
[all...]
H A Dusb_generic.c179 ugen_open(struct usb_fifo *f, int fflags) argument
185 DPRINTFN(6, "flag=0x%x\n", fflags);
213 ugen_close(struct usb_fifo *f, int fflags) argument
215 DPRINTFN(6, "flag=0x%x\n", fflags);
1380 ugen_fifo_in_use(struct usb_fifo *f, int fflags) argument
1388 if ((fflags & FREAD) && f_rx &&
1392 if ((fflags & FWRITE) && f_tx &&
1400 ugen_ioctl(struct usb_fifo *f, u_long cmd, void *addr, int fflags) argument
1544 if (!(fflags & FREAD)) {
1549 if (!(fflags
1930 ugen_iface_ioctl(struct usb_fifo *f, u_long cmd, void *addr, int fflags) argument
2072 ugen_ioctl_post(struct usb_fifo *f, u_long cmd, void *addr, int fflags) argument
[all...]
H A Dusb_dev.h61 int fflags; member in struct:usb_cdev_privdata
/freebsd-10.0-release/tools/regression/tmpfs/
H A Dh_tools.c155 if (event.fflags & NOTE_ATTRIB)
157 if (event.fflags & NOTE_DELETE)
159 if (event.fflags & NOTE_EXTEND)
161 if (event.fflags & NOTE_LINK)
163 if (event.fflags & NOTE_RENAME)
165 if (event.fflags & NOTE_REVOKE)
167 if (event.fflags & NOTE_WRITE)
/freebsd-10.0-release/contrib/libarchive/libarchive/test/
H A Dtest_write_format_mtree_fflags.c41 unsigned long fflags; member in struct:__anon1605
73 archive_entry_set_fflags(ae, entries[i].fflags, 0);
115 assertEqualInt((int)entries[i].fflags, (int)fset);
/freebsd-10.0-release/sys/sys/
H A Dfcntl.h69 * are inter-convertible using OFLAGS(fflags) and FFLAGS(oflags).
138 /* convert from open() flags to/from fflags; convert O_RD/WR to FREAD/FWRITE */
140 #define OFLAGS(fflags) ((fflags) & O_EXEC ? (fflags) : (fflags) - 1)
H A Devent.h52 (kevp)->fflags = (d); \
61 u_int fflags; member in struct:kevent
89 * On input, the top two bits of fflags specifies how the lower twenty four
90 * bits should be applied to the stored value of fflags.
93 * remaining twenty four bits will contain the stored fflags value.
95 #define NOTE_FFNOP 0x00000000 /* ignore input fflags */
96 #define NOTE_FFAND 0x40000000 /* AND fflags */
97 #define NOTE_FFOR 0x80000000 /* OR fflags */
98 #define NOTE_FFCOPY 0xc0000000 /* copy fflags */
224 #define kn_fflags kn_kevent.fflags
[all...]
/freebsd-10.0-release/usr.sbin/mtree/
H A Dmisc.c111 flags_to_string(u_long fflags) argument
115 string = fflagstostr(fflags);
H A Dcompare.c83 char *fflags; local
228 fflags = flags_to_string(s->st_flags);
229 (void)printf("%sflags expected \"%s\"", tab, fflags);
230 free(fflags);
232 fflags = flags_to_string(p->fts_statp->st_flags);
233 (void)printf(" found \"%s\"", fflags);
234 free(fflags);
H A Dcreate.c153 char *fflags; local
269 fflags = flags_to_string(p->fts_statp->st_flags);
270 output(indent, &offset, "flags=%s", fflags);
271 free(fflags);
298 char *fflags; local
388 fflags = flags_to_string(saveflags);
389 (void)printf(" flags=%s", fflags);
390 free(fflags);
/freebsd-10.0-release/usr.bin/fstat/
H A Dfuser.c58 } fflags[] = { variable in typeref:struct:__anon11423
65 #define NFFLAGS (sizeof(fflags) / sizeof(*fflags))
136 if ((cons->flags & fflags[i].flag) != 0)
137 fputc(fflags[i].ch, stderr);
/freebsd-10.0-release/sys/netgraph/bluetooth/drivers/ubtbcmfw/
H A Dubtbcmfw.c389 ubtbcmfw_open(struct usb_fifo *fifo, int fflags) argument
399 if (fflags & FREAD)
401 else if (fflags & FWRITE)
418 ubtbcmfw_close(struct usb_fifo *fifo, int fflags) argument
420 if (fflags & (FREAD | FWRITE))
430 int fflags)
429 ubtbcmfw_ioctl(struct usb_fifo *fifo, u_long cmd, void *data, int fflags) argument
/freebsd-10.0-release/sys/dev/usb/storage/
H A Durio.c393 urio_open(struct usb_fifo *fifo, int fflags) argument
397 if (fflags & FREAD) {
409 if (fflags & FWRITE) {
423 urio_close(struct usb_fifo *fifo, int fflags) argument
425 if (fflags & (FREAD | FWRITE)) {
432 int fflags)
440 if (!(fflags & FWRITE)) {
451 if (!(fflags & FWRITE)) {
431 urio_ioctl(struct usb_fifo *fifo, u_long cmd, void *addr, int fflags) argument
/freebsd-10.0-release/sys/dev/usb/serial/
H A Dulpt.c414 ulpt_open(struct usb_fifo *fifo, int fflags) argument
426 return (unlpt_open(fifo, fflags));
430 unlpt_open(struct usb_fifo *fifo, int fflags) argument
434 if (sc->sc_fflags & fflags) {
437 if (fflags & FREAD) {
450 if (fflags & FWRITE) {
463 sc->sc_fflags |= fflags & (FREAD | FWRITE);
468 ulpt_close(struct usb_fifo *fifo, int fflags) argument
472 sc->sc_fflags &= ~(fflags & (FREAD | FWRITE));
474 if (fflags
480 ulpt_ioctl(struct usb_fifo *fifo, u_long cmd, void *data, int fflags) argument
[all...]
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/Utility/
H A DKQueue.cpp78 event.fflags = 0;
/freebsd-10.0-release/sys/dev/usb/input/
H A Duep.c398 uep_open(struct usb_fifo *fifo, int fflags) argument
400 if (fflags & FREAD) {
416 uep_close(struct usb_fifo *fifo, int fflags) argument
418 if (fflags & FREAD) {
H A Duhid.c511 uhid_open(struct usb_fifo *fifo, int fflags) argument
519 if (fflags & FREAD) {
528 if (fflags & FWRITE) {
538 uhid_close(struct usb_fifo *fifo, int fflags) argument
540 if (fflags & (FREAD | FWRITE)) {
547 int fflags)
570 if (!(fflags & FREAD)) {
594 if (!(fflags & FREAD)) {
622 if (!(fflags & FWRITE)) {
546 uhid_ioctl(struct usb_fifo *fifo, u_long cmd, void *addr, int fflags) argument
/freebsd-10.0-release/sys/security/audit/
H A Daudit.h77 void audit_arg_fflags(int fflags);
200 #define AUDIT_ARG_FFLAGS(fflags) do { \
202 audit_arg_fflags((fflags)); \
354 #define AUDIT_ARG_FFLAGS(fflags)
/freebsd-10.0-release/usr.bin/xinstall/
H A Dxinstall.c119 static char *destdir, *digest, *fflags, *metafile, *tags; variable
179 fflags = optarg;
320 if (fflags != NULL && !dounpriv) {
321 if (strtofflags(&fflags, &fset, NULL))
322 errx(EX_USAGE, "%s: invalid flag", fflags);
633 offlags = fflags;
635 fflags = NULL;
643 fflags = offlags;
1351 if (fflags)
1352 fprintf(metafp, " flags=%s", fflags);
[all...]

Completed in 282 milliseconds

123