/freebsd-current/tests/sys/kqueue/libkqueue/ |
H A D | proc.c | 187 if ((kevp->fflags & NOTE_CHILD) && (kevp->fflags & NOTE_EXIT)) { 191 if (kevp->fflags & NOTE_CHILD) { 203 if (kevp->fflags & NOTE_EXIT) { 215 if (kevp->fflags & NOTE_FORK) {
|
H A D | common.h | 58 u_int fflags,
|
H A D | timer.c | 312 kev.fflags = 0; 343 kev.fflags = 0; 384 kev.fflags = 0; 423 kev.fflags = 0; 463 kev.fflags &= ~NOTE_USECONDS; 509 kev.fflags &= ~NOTE_USECONDS; 553 kev.fflags &= ~NOTE_USECONDS; 672 kev.fflags &= ~NOTE_USECONDS;
|
/freebsd-current/sys/netgraph/bluetooth/drivers/ubtbcmfw/ |
H A D | ubtbcmfw.c | 389 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-current/contrib/netbsd-tests/kernel/kqueue/read/ |
H A D | t_file.c | 113 (void)printf("kevent num %d flags: %#x, fflags: %#x, data: " 115 "%" PRIdPTR "\n", n, event[0].flags, event[0].fflags, 117 "%" PRId64 "\n", n, event[0].flags, event[0].fflags,
|
H A D | t_fifo.c | 80 (void)printf("kevent num %d filt %d flags: %#x, fflags: %#x, " 86 event[0].fflags, event[0].data);
|
H A D | t_ttypty.c | 105 (void)printf("kevent num %d filt %d flags: %#x, fflags: %#x, " 111 event[0].fflags, event[0].data);
|
/freebsd-current/sys/dev/usb/storage/ |
H A D | urio.c | 391 urio_open(struct usb_fifo *fifo, int fflags) argument 395 if (fflags & FREAD) { 407 if (fflags & FWRITE) { 421 urio_close(struct usb_fifo *fifo, int fflags) argument 423 if (fflags & (FREAD | FWRITE)) { 430 int fflags) 438 if (!(fflags & FWRITE)) { 449 if (!(fflags & FWRITE)) { 429 urio_ioctl(struct usb_fifo *fifo, u_long cmd, void *addr, int fflags) argument
|
/freebsd-current/sys/dev/usb/serial/ |
H A D | ulpt.c | 414 ulpt_open(struct usb_fifo *fifo, int fflags) argument 425 return (unlpt_open(fifo, fflags)); 429 unlpt_open(struct usb_fifo *fifo, int fflags) argument 433 if (sc->sc_fflags & fflags) { 436 if (fflags & FREAD) { 449 if (fflags & FWRITE) { 462 sc->sc_fflags |= fflags & (FREAD | FWRITE); 467 ulpt_close(struct usb_fifo *fifo, int fflags) argument 471 sc->sc_fflags &= ~(fflags & (FREAD | FWRITE)); 473 if (fflags 479 ulpt_ioctl(struct usb_fifo *fifo, u_long cmd, void *data, int fflags) argument [all...] |
/freebsd-current/sys/dev/usb/ |
H A D | usb_generic.c | 122 static uint8_t ugen_fifo_in_use(struct usb_fifo *, int fflags); 184 ugen_open(struct usb_fifo *f, int fflags) argument 190 DPRINTFN(1, "flag=0x%x pid=%d name=%s\n", fflags, 219 ugen_close(struct usb_fifo *f, int fflags) argument 222 DPRINTFN(1, "flag=0x%x pid=%d name=%s\n", fflags, 965 int fflags, uint8_t ep_index_max) 979 if (ugen_fifo_in_use(f, fflags)) 1022 int fflags, usb_stream_t stream_id) 1091 if (!(fflags & FREAD)) 1094 if (!(fflags 963 ugen_fs_init(struct usb_fifo *f, struct usb_fs_endpoint *fs_ep_ptr, usb_size_t fs_ep_sz, int fflags, uint8_t ep_index_max) argument 1021 usb_fs_open(struct usb_fifo *f, struct usb_fs_open *popen, int fflags, usb_stream_t stream_id) argument 1682 ugen_fifo_in_use(struct usb_fifo *f, int fflags) argument 1702 ugen_ioctl(struct usb_fifo *f, u_long cmd, void *addr, int fflags) argument 2076 ugen_iface_ioctl(struct usb_fifo *f, u_long cmd, void *addr, int fflags) argument 2218 ugen_ioctl_post(struct usb_fifo *f, u_long cmd, void *addr, int fflags) argument [all...] |
H A D | usb_dev.h | 62 int fflags; member in struct:usb_cdev_privdata
|
/freebsd-current/contrib/netbsd-tests/kernel/kqueue/write/ |
H A D | t_fifo.c | 84 (void)printf("kevent num %d filt %d flags: %#x, fflags: %#x, " 86 event[0].fflags, event[0].data);
|
H A D | t_ttypty.c | 91 (void)printf("kevent num %d filt %d flags: %#x, fflags: %#x, data: " 92 "%" PRId64 "\n", n, event[0].filter, event[0].flags, event[0].fflags,
|
H A D | t_pipe.c | 105 (void)printf("kevent num %d flags: %#x, fflags: %#x, data: " 106 "%" PRId64 "\n", n, event[0].flags, event[0].fflags, event[0].data);
|
/freebsd-current/sys/fs/cuse/ |
H A D | cuse_ioctl.h | 57 unsigned long fflags; member in struct:cuse_command
|
/freebsd-current/usr.sbin/bhyve/ |
H A D | mevent.c | 224 kev->fflags = mevent_kq_fflags(mevp); 285 int state, int fflags) 335 mevp->me_fflags = fflags; 367 mevent_add_flags(int tfd, enum ev_type type, int fflags, argument 371 return (mevent_add_state(tfd, type, func, param, EV_ADD, fflags)); 283 mevent_add_state(int tfd, enum ev_type type, void (*func)(int, enum ev_type, void *), void *param, int state, int fflags) argument
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | kevent9.sh | 93 change.fflags = NOTE_EXIT | NOTE_EXEC | NOTE_FORK | NOTE_TRACK; 143 if (event.fflags & NOTE_EXEC) 148 if (event.fflags & NOTE_EXIT) 153 if (event.fflags & NOTE_FORK) 158 if (event.fflags & NOTE_CHILD) 163 if (event.fflags & NOTE_TRACKERR)
|
/freebsd-current/sys/dev/usb/input/ |
H A D | uhid_snes.c | 218 uhid_snes_open(struct usb_fifo *fifo, int fflags) argument 223 if (sc->sc_fflags & fflags) { 268 uhid_snes_close(struct usb_fifo *fifo, int fflags) argument 272 sc->sc_fflags &= ~(fflags & FREAD); 277 uhid_snes_ioctl(struct usb_fifo *fifo, u_long cmd, void *data, int fflags) argument 318 if (!(fflags & FREAD)) { 341 if (!(fflags & FREAD)) { 369 if (!(fflags & FWRITE)) {
|
H A D | uhid.c | 515 uhid_open(struct usb_fifo *fifo, int fflags) argument 523 if (fflags & FREAD) { 534 if (fflags & FWRITE) { 544 uhid_close(struct usb_fifo *fifo, int fflags) argument 546 if (fflags & (FREAD | FWRITE)) { 553 int fflags) 593 if (!(fflags & FREAD)) { 616 if (!(fflags & FREAD)) { 644 if (!(fflags & FWRITE)) { 688 int fflags) 552 uhid_ioctl(struct usb_fifo *fifo, u_long cmd, void *addr, int fflags) argument 687 uhid_ioctl_post(struct usb_fifo *fifo, u_long cmd, void *addr, int fflags) argument [all...] |
H A D | uep.c | 489 uep_open(struct usb_fifo *fifo, int fflags) argument 491 if (fflags & FREAD) { 507 uep_close(struct usb_fifo *fifo, int fflags) argument 509 if (fflags & FREAD) {
|
/freebsd-current/sys/kern/ |
H A D | sys_eventfd.c | 111 int fflags; local 122 fflags = FREAD | FWRITE; 124 fflags |= FNONBLOCK; 125 finit(fp, fflags, DTYPE_EVENTFD, efd, &eventfdops);
|
H A D | sys_timerfd.c | 430 int error, fd, fflags; local 452 fflags = FREAD; 454 fflags |= O_CLOEXEC; 456 fflags |= FNONBLOCK; 458 error = falloc(td, &fp, &fd, fflags); 475 finit(fp, fflags, DTYPE_TIMERFD, tfd, &timerfdops);
|
/freebsd-current/lib/libsysdecode/ |
H A D | flags.c | 380 sysdecode_kevent_fflags(FILE *fp, short filter, int fflags, int base) argument 384 if (fflags == 0) { 392 if (!print_mask_int(fp, kevent_rdwr_fflags, fflags, &rem)) 398 if (!print_mask_int(fp, kevent_vnode_fflags, fflags, &rem)) 405 if (!print_mask_int(fp, kevent_proc_fflags, fflags, &rem)) 411 if (!print_mask_int(fp, kevent_timer_fflags, fflags, &rem)) 419 ctrl = fflags & NOTE_FFCTRLMASK; 420 data = fflags & NOTE_FFLAGSMASK; 422 if (fflags & NOTE_TRIGGER) { 424 if (fflags [all...] |
/freebsd-current/lib/libcuse/ |
H A D | cuse_lib.c | 483 (int)info.command, cuse_cmd_str(info.command), (int)info.fflags, 489 error = (cdev->mtod->cm_open) (cdev, (int)info.fflags); 524 error = (cdev->mtod->cm_close) (cdev, (int)info.fflags); 531 error = (cdev->mtod->cm_read) (cdev, (int)info.fflags, 540 error = (cdev->mtod->cm_write) (cdev, (int)info.fflags, 549 error = (cdev->mtod->cm_ioctl) (cdev, (int)info.fflags, 558 error = (cdev->mtod->cm_poll) (cdev, (int)info.fflags,
|
/freebsd-current/sys/contrib/openzfs/cmd/zed/ |
H A D | zed_disk_event.c | 407 int fd, fflags; local 423 if ((fflags = fcntl(fd, F_GETFL)) & O_NONBLOCK) 424 (void) fcntl(fd, F_SETFL, fflags & ~O_NONBLOCK);
|