Home
last modified time | relevance | path

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

/net/phonet/
Ddatagram.c34 int answ; in pn_ioctl() local
40 answ = skb ? skb->len : 0; in pn_ioctl()
42 return put_user(answ, (int __user *)arg); in pn_ioctl()
Dpep.c922 int answ; in pep_ioctl() local
935 answ = skb_peek(&pn->ctrlreq_queue)->len; in pep_ioctl()
937 answ = skb_peek(&sk->sk_receive_queue)->len; in pep_ioctl()
939 answ = 0; in pep_ioctl()
941 ret = put_user(answ, (int __user *)arg); in pep_ioctl()
/net/smc/
Daf_smc.c2282 int answ; in smc_ioctl() local
2292 answ = smc->clcsock->ops->ioctl(smc->clcsock, cmd, arg); in smc_ioctl()
2294 return answ; in smc_ioctl()
2304 answ = 0; in smc_ioctl()
2306 answ = atomic_read(&smc->conn.bytes_to_rcv); in smc_ioctl()
2316 answ = 0; in smc_ioctl()
2318 answ = smc->conn.sndbuf_desc->len - in smc_ioctl()
2329 answ = 0; in smc_ioctl()
2331 answ = smc_tx_prepared_sends(&smc->conn); in smc_ioctl()
2340 answ = 0; in smc_ioctl()
[all …]
/net/ipv4/
Dtcp.c613 int answ; in tcp_ioctl() local
622 answ = tcp_inq(sk); in tcp_ioctl()
626 answ = tp->urg_data && in tcp_ioctl()
634 answ = 0; in tcp_ioctl()
636 answ = READ_ONCE(tp->write_seq) - tp->snd_una; in tcp_ioctl()
643 answ = 0; in tcp_ioctl()
645 answ = READ_ONCE(tp->write_seq) - in tcp_ioctl()
652 return put_user(answ, (int __user *)arg); in tcp_ioctl()