/net/ieee802154/ |
D | dgram.c | 138 int amount = sk_wmem_alloc_get(sk); in dgram_ioctl() local 140 return put_user(amount, (int __user *)arg); in dgram_ioctl() 146 unsigned long amount; in dgram_ioctl() local 148 amount = 0; in dgram_ioctl() 156 amount = skb->len - ieee802154_hdr_length(skb); in dgram_ioctl() 159 return put_user(amount, (int __user *)arg); in dgram_ioctl()
|
/net/bluetooth/ |
D | af_bluetooth.c | 481 long amount; in bt_sock_ioctl() local 491 amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); in bt_sock_ioctl() 492 if (amount < 0) in bt_sock_ioctl() 493 amount = 0; in bt_sock_ioctl() 494 err = put_user(amount, (int __user *) arg); in bt_sock_ioctl() 503 amount = skb ? skb->len : 0; in bt_sock_ioctl() 505 err = put_user(amount, (int __user *) arg); in bt_sock_ioctl()
|
/net/ax25/ |
D | af_ax25.c | 1692 long amount; in ax25_ioctl() local 1694 amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); in ax25_ioctl() 1695 if (amount < 0) in ax25_ioctl() 1696 amount = 0; in ax25_ioctl() 1697 res = put_user(amount, (int __user *)argp); in ax25_ioctl() 1703 long amount = 0L; in ax25_ioctl() local 1706 amount = skb->len; in ax25_ioctl() 1707 res = put_user(amount, (int __user *) argp); in ax25_ioctl() 1732 long amount; in ax25_ioctl() local 1737 if (get_user(amount, (long __user *)argp)) { in ax25_ioctl() [all …]
|
/net/netrom/ |
D | af_netrom.c | 1200 long amount; in nr_ioctl() local 1203 amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); in nr_ioctl() 1204 if (amount < 0) in nr_ioctl() 1205 amount = 0; in nr_ioctl() 1207 return put_user(amount, (int __user *)argp); in nr_ioctl() 1212 long amount = 0L; in nr_ioctl() local 1217 amount = skb->len; in nr_ioctl() 1219 return put_user(amount, (int __user *)argp); in nr_ioctl()
|
/net/l2tp/ |
D | l2tp_ip.c | 562 int amount; in l2tp_ioctl() local 566 amount = sk_wmem_alloc_get(sk); in l2tp_ioctl() 571 amount = skb ? skb->len : 0; in l2tp_ioctl() 579 return put_user(amount, (int __user *)arg); in l2tp_ioctl()
|
/net/rose/ |
D | af_rose.c | 1285 long amount; in rose_ioctl() local 1287 amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); in rose_ioctl() 1288 if (amount < 0) in rose_ioctl() 1289 amount = 0; in rose_ioctl() 1290 return put_user(amount, (unsigned int __user *) argp); in rose_ioctl() 1295 long amount = 0L; in rose_ioctl() local 1298 amount = skb->len; in rose_ioctl() 1299 return put_user(amount, (unsigned int __user *) argp); in rose_ioctl()
|
/net/x25/ |
D | af_x25.c | 1367 int amount; in x25_ioctl() local 1369 amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); in x25_ioctl() 1370 if (amount < 0) in x25_ioctl() 1371 amount = 0; in x25_ioctl() 1372 rc = put_user(amount, (unsigned int __user *)argp); in x25_ioctl() 1378 int amount = 0; in x25_ioctl() local 1385 amount = skb->len; in x25_ioctl() 1387 rc = put_user(amount, (unsigned int __user *)argp); in x25_ioctl()
|
/net/unix/ |
D | af_unix.c | 2305 long amount = 0; in unix_inq_len() local 2314 amount += unix_skb_len(skb); in unix_inq_len() 2318 amount = skb->len; in unix_inq_len() 2322 return amount; in unix_inq_len() 2335 long amount = 0; in unix_ioctl() local 2340 amount = unix_outq_len(sk); in unix_ioctl() 2341 err = put_user(amount, (int __user *)arg); in unix_ioctl() 2344 amount = unix_inq_len(sk); in unix_ioctl() 2345 if (amount < 0) in unix_ioctl() 2346 err = amount; in unix_ioctl() [all …]
|
/net/appletalk/ |
D | ddp.c | 1792 long amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); in atalk_ioctl() local 1794 if (amount < 0) in atalk_ioctl() 1795 amount = 0; in atalk_ioctl() 1796 rc = put_user(amount, (int __user *)argp); in atalk_ioctl() 1805 long amount = 0; in atalk_ioctl() local 1808 amount = skb->len - sizeof(struct ddpehdr); in atalk_ioctl() 1809 rc = put_user(amount, (int __user *)argp); in atalk_ioctl()
|
/net/ipv4/ |
D | raw.c | 856 int amount = sk_wmem_alloc_get(sk); in raw_ioctl() local 858 return put_user(amount, (int __user *)arg); in raw_ioctl() 862 int amount = 0; in raw_ioctl() local 867 amount = skb->len; in raw_ioctl() 869 return put_user(amount, (int __user *)arg); in raw_ioctl()
|
D | udp.c | 1213 int amount = sk_wmem_alloc_get(sk); in udp_ioctl() local 1215 return put_user(amount, (int __user *)arg); in udp_ioctl() 1220 unsigned int amount = first_packet_length(sk); in udp_ioctl() local 1222 if (amount) in udp_ioctl() 1228 amount -= sizeof(struct udphdr); in udp_ioctl() 1230 return put_user(amount, (int __user *)arg); in udp_ioctl()
|
/net/irda/ |
D | af_irda.c | 1837 long amount; in irda_ioctl() local 1839 amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); in irda_ioctl() 1840 if (amount < 0) in irda_ioctl() 1841 amount = 0; in irda_ioctl() 1842 err = put_user(amount, (unsigned int __user *)arg); in irda_ioctl() 1848 long amount = 0L; in irda_ioctl() local 1851 amount = skb->len; in irda_ioctl() 1852 err = put_user(amount, (unsigned int __user *)arg); in irda_ioctl()
|
/net/ipv6/ |
D | raw.c | 1131 int amount = sk_wmem_alloc_get(sk); in rawv6_ioctl() local 1133 return put_user(amount, (int __user *)arg); in rawv6_ioctl() 1137 int amount = 0; in rawv6_ioctl() local 1142 amount = skb_tail_pointer(skb) - in rawv6_ioctl() 1145 return put_user(amount, (int __user *)arg); in rawv6_ioctl()
|
/net/ipx/ |
D | af_ipx.c | 1840 long amount = 0; in ipx_ioctl() local 1847 amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); in ipx_ioctl() 1848 if (amount < 0) in ipx_ioctl() 1849 amount = 0; in ipx_ioctl() 1850 rc = put_user(amount, (int __user *)argp); in ipx_ioctl() 1857 amount = skb->len - sizeof(struct ipxhdr); in ipx_ioctl() 1858 rc = put_user(amount, (int __user *)argp); in ipx_ioctl()
|
/net/decnet/ |
D | af_decnet.c | 1228 long amount = 0; in dn_ioctl() local 1247 amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); in dn_ioctl() 1248 if (amount < 0) in dn_ioctl() 1249 amount = 0; in dn_ioctl() 1250 err = put_user(amount, (int __user *)arg); in dn_ioctl() 1257 amount = skb->len; in dn_ioctl() 1260 amount += skb->len; in dn_ioctl() 1263 err = put_user(amount, (int __user *)arg); in dn_ioctl()
|
/net/dccp/ |
D | proto.c | 379 unsigned long amount = 0; in dccp_ioctl() local 387 amount = skb->len; in dccp_ioctl() 389 rc = put_user(amount, (int __user *)arg); in dccp_ioctl()
|
/net/packet/ |
D | af_packet.c | 3626 int amount = sk_wmem_alloc_get(sk); in packet_ioctl() local 3628 return put_user(amount, (int __user *)arg); in packet_ioctl() 3633 int amount = 0; in packet_ioctl() local 3638 amount = skb->len; in packet_ioctl() 3640 return put_user(amount, (int __user *)arg); in packet_ioctl()
|
/net/netfilter/ipvs/ |
D | Kconfig | 254 tiled an amount proportional to the weights specified. The table
|
/net/sctp/ |
D | socket.c | 4016 unsigned int amount = 0; in sctp_ioctl() local 4024 amount = skb->len; in sctp_ioctl() 4026 rc = put_user(amount, (int __user *)arg); in sctp_ioctl()
|