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.c3191 int answ; in smc_ioctl() local
3201 answ = smc->clcsock->ops->ioctl(smc->clcsock, cmd, arg); in smc_ioctl()
3203 return answ; in smc_ioctl()
3213 answ = 0; in smc_ioctl()
3215 answ = atomic_read(&smc->conn.bytes_to_rcv); in smc_ioctl()
3225 answ = 0; in smc_ioctl()
3227 answ = smc->conn.sndbuf_desc->len - in smc_ioctl()
3238 answ = 0; in smc_ioctl()
3240 answ = smc_tx_prepared_sends(&smc->conn); in smc_ioctl()
3249 answ = 0; in smc_ioctl()
[all …]
/linux/include/net/
H A Dtcp.h2672 int answ;
2675 answ = 0;
2681 answ = tp->rcv_nxt - tp->copied_seq;
2684 if (answ && sock_flag(sk, SOCK_DONE))
2685 answ--;
2687 answ = tp->urg_seq - tp->copied_seq;
2690 return answ;
2619 int answ; tcp_inq() local
/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.c651 int answ; in tcp_ioctl() local
660 answ = tcp_inq(sk); in tcp_ioctl()
664 answ = READ_ONCE(tp->urg_data) && in tcp_ioctl()
672 answ = 0; in tcp_ioctl()
674 answ = READ_ONCE(tp->write_seq) - tp->snd_una; in tcp_ioctl()
681 answ = 0; in tcp_ioctl()
683 answ = READ_ONCE(tp->write_seq) - in tcp_ioctl()
690 *karg = answ; in tcp_ioctl()
/linux/net/unix/
H A Daf_unix.c3299 int answ = 0; in unix_ioctl() local
3313 answ = 1; in unix_ioctl()
3318 err = put_user(answ, (int __user *)arg); in unix_ioctl()