Home
last modified time | relevance | path

Searched refs:wo (Results 1 – 12 of 12) sorted by relevance

/linux-4.1.27/kernel/
Dexit.c911 static int eligible_pid(struct wait_opts *wo, struct task_struct *p) in eligible_pid() argument
913 return wo->wo_type == PIDTYPE_MAX || in eligible_pid()
914 task_pid_type(p, wo->wo_type) == wo->wo_pid; in eligible_pid()
918 eligible_child(struct wait_opts *wo, bool ptrace, struct task_struct *p) in eligible_child() argument
920 if (!eligible_pid(wo, p)) in eligible_child()
927 if (ptrace || (wo->wo_flags & __WALL)) in eligible_child()
938 if ((p->exit_signal != SIGCHLD) ^ !!(wo->wo_flags & __WCLONE)) in eligible_child()
944 static int wait_noreap_copyout(struct wait_opts *wo, struct task_struct *p, in wait_noreap_copyout() argument
948 int retval = wo->wo_rusage in wait_noreap_copyout()
949 ? getrusage(p, RUSAGE_BOTH, wo->wo_rusage) : 0; in wait_noreap_copyout()
[all …]
/linux-4.1.27/drivers/media/usb/dvb-usb/
Ddibusb-common.c113 int wo = (rbuf == NULL || rlen == 0), in dibusb_i2c_msg() local
114 len = 2 + wlen + (wo ? 0 : 2); in dibusb_i2c_msg()
121 sndbuf[0] = wo ? DIBUSB_REQ_I2C_WRITE : DIBUSB_REQ_I2C_READ; in dibusb_i2c_msg()
122 sndbuf[1] = (addr << 1) | (wo ? 0 : 1); in dibusb_i2c_msg()
126 if (!wo) { in dibusb_i2c_msg()
Dfriio.c38 int wo = (rbuf == NULL || rlen == 0); /* write only */ in gl861_i2c_ctrlmsg_data() local
44 if (wo && wlen >= 2) { in gl861_i2c_ctrlmsg_data()
67 int wo = (rbuf == NULL || rlen == 0); /* write-only */ in gl861_i2c_msg() local
76 if (wo) { in gl861_i2c_msg()
Ddigitv.c31 int wo = (rbuf == NULL || rlen == 0); /* write-only */ in digitv_ctrl_msg() local
37 sndbuf[2] = wo ? wlen : rlen; in digitv_ctrl_msg()
39 if (wo) { in digitv_ctrl_msg()
Dcxusb.c64 int wo = (rbuf == NULL || rlen == 0); /* write-only */ in cxusb_ctrl_msg() local
77 if (wo) in cxusb_ctrl_msg()
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/
Dgl861.c21 int wo = (rbuf == NULL || rlen == 0); /* write-only */ in gl861_i2c_msg() local
24 if (wo) { in gl861_i2c_msg()
Dau6610.c83 u8 wo = (rbuf == NULL || rlen == 0); /* write-only */ in au6610_i2c_msg() local
85 if (wo) { in au6610_i2c_msg()
Dmxl111sf.c61 int wo = (rbuf == NULL || rlen == 0); /* write-only */ in mxl111sf_ctrl_msg() local
77 ret = (wo) ? dvb_usbv2_generic_write(d, sndbuf, 1+wlen) : in mxl111sf_ctrl_msg()
/linux-4.1.27/Documentation/filesystems/
Dsysfs-pci.txt40 remove remove device from kernel's list (ascii, wo)
51 wo - write only file
/linux-4.1.27/drivers/block/drbd/
Ddrbd_receiver.c1295 max_allowed_wo(struct drbd_backing_dev *bdev, enum write_ordering_e wo) in max_allowed_wo() argument
1301 if (wo == WO_bdev_flush && !dc->disk_flushes) in max_allowed_wo()
1302 wo = WO_drain_io; in max_allowed_wo()
1303 if (wo == WO_drain_io && !dc->disk_drain) in max_allowed_wo()
1304 wo = WO_none; in max_allowed_wo()
1306 return wo; in max_allowed_wo()
1315 enum write_ordering_e wo) in drbd_bump_write_ordering() argument
1327 if (wo != WO_bdev_flush) in drbd_bump_write_ordering()
1328 wo = min(pwo, wo); in drbd_bump_write_ordering()
1332 wo = max_allowed_wo(device->ldev, wo); in drbd_bump_write_ordering()
[all …]
Ddrbd_int.h1617 enum write_ordering_e wo);
/linux-4.1.27/Documentation/sound/alsa/
DALSA-Configuration.txt653 * Creative Card wo/Digital out [0x0003/0x1f03]
656 * Creative Card wo/Digital out + LiveDrive [0x3fc3/0x1fc3]
659 * Creative Card wo/Digital out + Digital I/O 2 [0x0fc3/0x1f0f]