Home
last modified time | relevance | path

Searched refs:answ (Results 1 – 10 of 10) sorted by relevance

/linux/tools/testing/selftests/net/af_unix/
H A Dmsg_oob.c297 int answ[2] = {}; in __siocatmarkpair() local
303 ret = ioctl(self->fd[i * 2 + 1], SIOCATMARK, &answ[i]); in __siocatmarkpair()
307 ASSERT_EQ(answ[0], oob_head); in __siocatmarkpair()
310 ASSERT_EQ(answ[0], answ[1]); in __siocatmarkpair()
/linux/drivers/block/drbd/
H A Ddrbd_debugfs.c389 int answ = tp->rcv_nxt - tp->copied_seq; in in_flight_summary_show() local
390 seq_printf(m, "unread receive buffer: %u Byte\n", answ); in in_flight_summary_show()
392 answ = tp->write_seq - tp->snd_una; in in_flight_summary_show()
393 seq_printf(m, "unacked send buffer: %u Byte\n", answ); in in_flight_summary_show()
/linux/drivers/media/dvb-frontends/
H A Dstv6111.c296 u8 adr, u8 *msg, int len, u8 *answ, int alen) in i2c_read() argument
301 .buf = answ, .len = alen } }; in i2c_read()
H A Ddrxd_hard.c199 u8 adr, u8 *msg, int len, u8 *answ, int alen) in i2c_read() argument
207 .buf = answ, .len = alen in i2c_read()
H A Ddrxk_hard.c245 u8 adr, u8 *msg, int len, u8 *answ, int alen) in i2c_read() argument
252 .buf = answ, .len = alen} in i2c_read()
265 dprintk(3, ": read from %*ph, value = %*ph\n", len, msg, alen, answ); in i2c_read()
/linux/net/smc/
H A Daf_smc.c3204 int answ; in smc_ioctl() local
3214 answ = smc->clcsock->ops->ioctl(smc->clcsock, cmd, arg); in smc_ioctl()
3216 return answ; in smc_ioctl()
3226 answ = 0; in smc_ioctl()
3228 answ = atomic_read(&smc->conn.bytes_to_rcv); in smc_ioctl()
3238 answ = 0; in smc_ioctl()
3240 answ = smc->conn.sndbuf_desc->len - in smc_ioctl()
3251 answ = 0; in smc_ioctl()
3253 answ = smc_tx_prepared_sends(&smc->conn); in smc_ioctl()
3262 answ = 0; in smc_ioctl()
[all …]
/linux/include/net/
H A Dtcp.h2676 int answ; in tcp_inq() local
2679 answ = 0; in tcp_inq()
2685 answ = tp->rcv_nxt - tp->copied_seq; in tcp_inq()
2688 if (answ && sock_flag(sk, SOCK_DONE)) in tcp_inq()
2689 answ--; in tcp_inq()
2691 answ = tp->urg_seq - tp->copied_seq; in tcp_inq()
2694 return answ; in tcp_inq()
/linux/drivers/staging/media/av7110/
H A Dav7110.c813 u16 answ[2]; in StopHWFilter() local
834 ret = av7110_fw_request(av7110, buf, 3, answ, 2); in StopHWFilter()
835 if (ret != 0 || answ[1] != handle) { in StopHWFilter()
837 buf[0], buf[1], buf[2], ret, answ[0], answ[1], dvbdmxfilter->feed->pid); in StopHWFilter()
/linux/net/ipv4/
H A Dtcp.c652 int answ; in tcp_ioctl() local
661 answ = tcp_inq(sk); in tcp_ioctl()
665 answ = READ_ONCE(tp->urg_data) && in tcp_ioctl()
673 answ = 0; in tcp_ioctl()
675 answ = READ_ONCE(tp->write_seq) - tp->snd_una; in tcp_ioctl()
682 answ = 0; in tcp_ioctl()
684 answ = READ_ONCE(tp->write_seq) - in tcp_ioctl()
691 *karg = answ; in tcp_ioctl()
/linux/net/unix/
H A Daf_unix.c3301 int answ = 0; in unix_ioctl() local
3315 answ = 1; in unix_ioctl()
3320 err = put_user(answ, (int __user *)arg); in unix_ioctl()