Home
last modified time | relevance | path

Searched refs:answ (Results 1 – 5 of 5) 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.c2489 int answ; in smc_ioctl() local
2499 answ = smc->clcsock->ops->ioctl(smc->clcsock, cmd, arg); in smc_ioctl()
2501 return answ; in smc_ioctl()
2511 answ = 0; in smc_ioctl()
2513 answ = atomic_read(&smc->conn.bytes_to_rcv); in smc_ioctl()
2523 answ = 0; in smc_ioctl()
2525 answ = smc->conn.sndbuf_desc->len - in smc_ioctl()
2536 answ = 0; in smc_ioctl()
2538 answ = smc_tx_prepared_sends(&smc->conn); in smc_ioctl()
2547 answ = 0; in smc_ioctl()
[all …]
/net/ipv4/
Dtcp.c609 int answ; in tcp_ioctl() local
618 answ = tcp_inq(sk); in tcp_ioctl()
622 answ = tp->urg_data && in tcp_ioctl()
630 answ = 0; in tcp_ioctl()
632 answ = READ_ONCE(tp->write_seq) - tp->snd_una; in tcp_ioctl()
639 answ = 0; in tcp_ioctl()
641 answ = READ_ONCE(tp->write_seq) - in tcp_ioctl()
648 return put_user(answ, (int __user *)arg); in tcp_ioctl()
/net/unix/
Daf_unix.c3020 int answ = 0; in unix_ioctl() local
3024 answ = 1; in unix_ioctl()
3025 err = put_user(answ, (int __user *)arg); in unix_ioctl()