Lines Matching refs:amount
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()
2348 err = put_user(amount, (int __user *)arg); in unix_ioctl()