amount 51 arch/mips/mti-malta/malta-time.c static unsigned int freqround(unsigned int freq, unsigned int amount) amount 53 arch/mips/mti-malta/malta-time.c freq += amount; amount 54 arch/mips/mti-malta/malta-time.c freq -= freq % (amount*2); amount 15 arch/parisc/math-emu/hppa.h #define Shiftdouble(left,right,amount,dest) \ amount 17 arch/parisc/math-emu/hppa.h dest = ((left) << (32-(amount))) | ((unsigned int)(right) >> (amount)) amount 20 arch/parisc/math-emu/hppa.h #define Variableshiftdouble(left,right,amount,dest) \ amount 22 arch/parisc/math-emu/hppa.h if (amount == 0) dest = right; \ amount 23 arch/parisc/math-emu/hppa.h else dest = ((((unsigned) left)&0x7fffffff) << (32-(amount))) | \ amount 24 arch/parisc/math-emu/hppa.h ((unsigned) right >> (amount)) amount 27 arch/parisc/math-emu/hppa.h #define Variable_shift_double(left,right,amount,dest) \ amount 29 arch/parisc/math-emu/hppa.h dest = (left << (32-(amount))) | ((unsigned) right >> (amount)) amount 377 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h uint16_t amount; amount 293 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.usSpreadSpectrumAmount = cpu_to_le16(ss->amount); amount 868 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c u32 amount = (((fb_div * 10) + frac_fb_div) * amount 871 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_crtc->ss.amount = (amount / 10) & ATOM_PPLL_SS_AMOUNT_V2_FBDIV_MASK; amount 872 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_crtc->ss.amount |= ((amount - (amount / 10)) << ATOM_PPLL_SS_AMOUNT_V2_NFRAC_SHIFT) & amount 875 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c step_size = (4 * amount * ref_div * ((u32)amdgpu_crtc->ss.rate * 2048)) / amount 878 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c step_size = (2 * amount * ref_div * ((u32)amdgpu_crtc->ss.rate * 2048)) / amount 962 drivers/gpu/drm/nouveau/nouveau_bo.c u32 amount, stride, height; amount 968 drivers/gpu/drm/nouveau/nouveau_bo.c amount = min(length, (u64)(4 * 1024 * 1024)); amount 970 drivers/gpu/drm/nouveau/nouveau_bo.c height = amount / stride; amount 1014 drivers/gpu/drm/nouveau/nouveau_bo.c length -= amount; amount 1015 drivers/gpu/drm/nouveau/nouveau_bo.c src_offset += amount; amount 1016 drivers/gpu/drm/nouveau/nouveau_bo.c dst_offset += amount; amount 38 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv20.c uint32_t amount, off; amount 53 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv20.c amount = nvkm_rd32(device, 0x10020c); amount 54 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv20.c for (off = amount; off > 0x2000000; off -= 0x2000000) amount 57 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv20.c amount = nvkm_rd32(device, 0x10020c); amount 58 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv20.c if (amount != fbmem_peek(fb, amount - 4)) amount 497 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.usSpreadSpectrumAmount = cpu_to_le16(ss->amount); amount 516 drivers/gpu/drm/radeon/atombios_crtc.c args.v2.usSpreadSpectrumAmount = cpu_to_le16(ss->amount); amount 1124 drivers/gpu/drm/radeon/atombios_crtc.c u32 amount = (((fb_div * 10) + frac_fb_div) * amount 1127 drivers/gpu/drm/radeon/atombios_crtc.c radeon_crtc->ss.amount = (amount / 10) & ATOM_PPLL_SS_AMOUNT_V2_FBDIV_MASK; amount 1128 drivers/gpu/drm/radeon/atombios_crtc.c radeon_crtc->ss.amount |= ((amount - (amount / 10)) << ATOM_PPLL_SS_AMOUNT_V2_NFRAC_SHIFT) & amount 1131 drivers/gpu/drm/radeon/atombios_crtc.c step_size = (4 * amount * ref_div * ((u32)radeon_crtc->ss.rate * 2048)) / amount 1134 drivers/gpu/drm/radeon/atombios_crtc.c step_size = (2 * amount * ref_div * ((u32)radeon_crtc->ss.rate * 2048)) / amount 318 drivers/gpu/drm/radeon/radeon_mode.h uint16_t amount; amount 508 drivers/gpu/drm/ttm/ttm_memory.c uint64_t amount) amount 518 drivers/gpu/drm/ttm/ttm_memory.c zone->used_mem -= amount; amount 524 drivers/gpu/drm/ttm/ttm_memory.c uint64_t amount) amount 526 drivers/gpu/drm/ttm/ttm_memory.c return ttm_mem_global_free_zone(glob, glob->zone_kernel, amount); amount 561 drivers/gpu/drm/ttm/ttm_memory.c uint64_t amount, bool reserve) amount 586 drivers/gpu/drm/ttm/ttm_memory.c zone->used_mem += amount; amount 1066 drivers/pci/hotplug/ibmphp_pci.c struct res_needed *amount; amount 1068 drivers/pci/hotplug/ibmphp_pci.c amount = kzalloc(sizeof(*amount), GFP_KERNEL); amount 1069 drivers/pci/hotplug/ibmphp_pci.c if (amount == NULL) amount 1077 drivers/pci/hotplug/ibmphp_pci.c amount->devices[device] = 0; amount 1093 drivers/pci/hotplug/ibmphp_pci.c amount->not_correct = 1; amount 1094 drivers/pci/hotplug/ibmphp_pci.c return amount; amount 1100 drivers/pci/hotplug/ibmphp_pci.c amount->not_correct = 1; amount 1101 drivers/pci/hotplug/ibmphp_pci.c return amount; amount 1104 drivers/pci/hotplug/ibmphp_pci.c amount->not_correct = 1; amount 1105 drivers/pci/hotplug/ibmphp_pci.c return amount; amount 1108 drivers/pci/hotplug/ibmphp_pci.c amount->devices[device] = 1; amount 1135 drivers/pci/hotplug/ibmphp_pci.c amount->io += len[count]; amount 1142 drivers/pci/hotplug/ibmphp_pci.c amount->pfmem += len[count]; amount 1151 drivers/pci/hotplug/ibmphp_pci.c amount->mem += len[count]; amount 1164 drivers/pci/hotplug/ibmphp_pci.c amount->not_correct = 1; amount 1166 drivers/pci/hotplug/ibmphp_pci.c amount->not_correct = 0; amount 1167 drivers/pci/hotplug/ibmphp_pci.c if ((amount->io) && (amount->io < IOBRIDGE)) amount 1168 drivers/pci/hotplug/ibmphp_pci.c amount->io = IOBRIDGE; amount 1169 drivers/pci/hotplug/ibmphp_pci.c if ((amount->mem) && (amount->mem < MEMBRIDGE)) amount 1170 drivers/pci/hotplug/ibmphp_pci.c amount->mem = MEMBRIDGE; amount 1171 drivers/pci/hotplug/ibmphp_pci.c if ((amount->pfmem) && (amount->pfmem < MEMBRIDGE)) amount 1172 drivers/pci/hotplug/ibmphp_pci.c amount->pfmem = MEMBRIDGE; amount 1173 drivers/pci/hotplug/ibmphp_pci.c return amount; amount 1234 drivers/scsi/BusLogic.h unsigned int amount) amount 1236 drivers/scsi/BusLogic.h bytecount->units += amount; amount 1248 drivers/scsi/BusLogic.h unsigned int amount) amount 1251 drivers/scsi/BusLogic.h if (amount < 8 * 1024) { amount 1252 drivers/scsi/BusLogic.h if (amount < 2 * 1024) amount 1253 drivers/scsi/BusLogic.h index = (amount < 1 * 1024 ? 0 : 1); amount 1255 drivers/scsi/BusLogic.h index = (amount < 4 * 1024 ? 2 : 3); amount 1256 drivers/scsi/BusLogic.h } else if (amount < 128 * 1024) { amount 1257 drivers/scsi/BusLogic.h if (amount < 32 * 1024) amount 1258 drivers/scsi/BusLogic.h index = (amount < 16 * 1024 ? 4 : 5); amount 1260 drivers/scsi/BusLogic.h index = (amount < 64 * 1024 ? 6 : 7); amount 1262 drivers/scsi/BusLogic.h index = (amount < 256 * 1024 ? 8 : 9); amount 226 drivers/scsi/initio.c static void initio_do_pause(unsigned amount) amount 229 drivers/scsi/initio.c unsigned long the_time = jiffies + amount; amount 144 drivers/usb/core/devio.c static int usbfs_increase_memory_usage(u64 amount) amount 151 drivers/usb/core/devio.c atomic64_add(amount, &usbfs_memory_usage); amount 154 drivers/usb/core/devio.c atomic64_sub(amount, &usbfs_memory_usage); amount 162 drivers/usb/core/devio.c static void usbfs_decrease_memory_usage(u64 amount) amount 164 drivers/usb/core/devio.c atomic64_sub(amount, &usbfs_memory_usage); amount 3263 drivers/usb/dwc3/gadget.c u32 amount; amount 3296 drivers/usb/dwc3/gadget.c amount = min(count, evt->length - evt->lpos); amount 3297 drivers/usb/dwc3/gadget.c memcpy(evt->cache + evt->lpos, evt->buf + evt->lpos, amount); amount 3299 drivers/usb/dwc3/gadget.c if (amount < count) amount 3300 drivers/usb/dwc3/gadget.c memcpy(evt->cache, evt->buf, count - amount); amount 627 drivers/usb/gadget/function/f_mass_storage.c unsigned int amount; amount 667 drivers/usb/gadget/function/f_mass_storage.c amount = min(amount_left, FSG_BUFLEN); amount 668 drivers/usb/gadget/function/f_mass_storage.c amount = min((loff_t)amount, amount 681 drivers/usb/gadget/function/f_mass_storage.c if (amount == 0) { amount 694 drivers/usb/gadget/function/f_mass_storage.c nread = kernel_read(curlun->filp, bh->buf, amount, amount 696 drivers/usb/gadget/function/f_mass_storage.c VLDBG(curlun, "file read %u @ %llu -> %d\n", amount, amount 704 drivers/usb/gadget/function/f_mass_storage.c } else if (nread < amount) { amount 706 drivers/usb/gadget/function/f_mass_storage.c (int)nread, amount); amount 722 drivers/usb/gadget/function/f_mass_storage.c if (nread < amount) { amount 755 drivers/usb/gadget/function/f_mass_storage.c unsigned int amount; amount 814 drivers/usb/gadget/function/f_mass_storage.c amount = min(amount_left_to_req, FSG_BUFLEN); amount 828 drivers/usb/gadget/function/f_mass_storage.c usb_offset += amount; amount 829 drivers/usb/gadget/function/f_mass_storage.c common->usb_amount_left -= amount; amount 830 drivers/usb/gadget/function/f_mass_storage.c amount_left_to_req -= amount; amount 839 drivers/usb/gadget/function/f_mass_storage.c set_bulk_out_req_length(common, bh, amount); amount 869 drivers/usb/gadget/function/f_mass_storage.c amount = bh->outreq->actual; amount 870 drivers/usb/gadget/function/f_mass_storage.c if (curlun->file_length - file_offset < amount) { amount 872 drivers/usb/gadget/function/f_mass_storage.c amount, (unsigned long long)file_offset, amount 874 drivers/usb/gadget/function/f_mass_storage.c amount = curlun->file_length - file_offset; amount 881 drivers/usb/gadget/function/f_mass_storage.c amount = min(amount, bh->bulk_out_intended_length); amount 884 drivers/usb/gadget/function/f_mass_storage.c amount = round_down(amount, curlun->blksize); amount 885 drivers/usb/gadget/function/f_mass_storage.c if (amount == 0) amount 890 drivers/usb/gadget/function/f_mass_storage.c nwritten = kernel_write(curlun->filp, bh->buf, amount, amount 892 drivers/usb/gadget/function/f_mass_storage.c VLDBG(curlun, "file write %u @ %llu -> %d\n", amount, amount 901 drivers/usb/gadget/function/f_mass_storage.c } else if (nwritten < amount) { amount 903 drivers/usb/gadget/function/f_mass_storage.c (int) nwritten, amount); amount 911 drivers/usb/gadget/function/f_mass_storage.c if (nwritten < amount) { amount 967 drivers/usb/gadget/function/f_mass_storage.c unsigned int amount; amount 1014 drivers/usb/gadget/function/f_mass_storage.c amount = min(amount_left, FSG_BUFLEN); amount 1015 drivers/usb/gadget/function/f_mass_storage.c amount = min((loff_t)amount, amount 1017 drivers/usb/gadget/function/f_mass_storage.c if (amount == 0) { amount 1028 drivers/usb/gadget/function/f_mass_storage.c nread = kernel_read(curlun->filp, bh->buf, amount, amount 1030 drivers/usb/gadget/function/f_mass_storage.c VLDBG(curlun, "file read %u @ %llu -> %d\n", amount, amount 1039 drivers/usb/gadget/function/f_mass_storage.c } else if (nread < amount) { amount 1041 drivers/usb/gadget/function/f_mass_storage.c (int)nread, amount); amount 1449 drivers/usb/gadget/function/f_mass_storage.c u32 amount; amount 1460 drivers/usb/gadget/function/f_mass_storage.c amount = min(common->usb_amount_left, FSG_BUFLEN); amount 1467 drivers/usb/gadget/function/f_mass_storage.c set_bulk_out_req_length(common, bh2, amount); amount 1472 drivers/usb/gadget/function/f_mass_storage.c common->usb_amount_left -= amount; amount 383 drivers/usb/misc/adutux.c size_t amount = min(bytes_to_read, data_in_secondary); amount 384 drivers/usb/misc/adutux.c if (copy_to_user(buffer, dev->read_buffer_secondary+dev->secondary_head, amount)) { amount 388 drivers/usb/misc/adutux.c dev->secondary_head += amount; amount 389 drivers/usb/misc/adutux.c bytes_read += amount; amount 390 drivers/usb/misc/adutux.c bytes_to_read -= amount; amount 3377 fs/btrfs/ctree.h void btrfs_bio_counter_sub(struct btrfs_fs_info *fs_info, s64 amount); amount 1021 fs/btrfs/dev-replace.c void btrfs_bio_counter_sub(struct btrfs_fs_info *fs_info, s64 amount) amount 1023 fs/btrfs/dev-replace.c percpu_counter_sub(&fs_info->dev_replace.bio_counter, amount); amount 187 fs/gfs2/dir.c unsigned int amount; amount 190 fs/gfs2/dir.c amount = size - copied; amount 191 fs/gfs2/dir.c if (amount > sdp->sd_sb.sb_bsize - o) amount 192 fs/gfs2/dir.c amount = sdp->sd_sb.sb_bsize - o; amount 205 fs/gfs2/dir.c if (amount == sdp->sd_jbsize || new) amount 214 fs/gfs2/dir.c memcpy(bh->b_data + o, buf, amount); amount 217 fs/gfs2/dir.c buf += amount; amount 218 fs/gfs2/dir.c copied += amount; amount 290 fs/gfs2/dir.c unsigned int amount; amount 294 fs/gfs2/dir.c amount = size - copied; amount 295 fs/gfs2/dir.c if (amount > sdp->sd_sb.sb_bsize - o) amount 296 fs/gfs2/dir.c amount = sdp->sd_sb.sb_bsize - o; amount 318 fs/gfs2/dir.c memcpy(buf, bh->b_data + o, amount); amount 320 fs/gfs2/dir.c buf += (amount/sizeof(__be64)); amount 321 fs/gfs2/dir.c copied += amount; amount 444 fs/gfs2/xattr.c unsigned int amount = GFS2_EA_DATA_LEN(ea); amount 445 fs/gfs2/xattr.c unsigned int nptrs = DIV_ROUND_UP(amount, sdp->sd_jbsize); amount 482 fs/gfs2/xattr.c cp_size = (sdp->sd_jbsize > amount) ? amount : sdp->sd_jbsize; amount 495 fs/gfs2/xattr.c amount -= sdp->sd_jbsize; amount 88 include/drm/ttm/ttm_memory.h uint64_t amount); amount 72 include/linux/backing-dev.h enum wb_stat_item item, s64 amount) amount 74 include/linux/backing-dev.h percpu_counter_add_batch(&wb->stat[item], amount, WB_STAT_BATCH); amount 31 include/linux/percpu_counter.h int __percpu_counter_init(struct percpu_counter *fbc, s64 amount, gfp_t gfp, amount 42 include/linux/percpu_counter.h void percpu_counter_set(struct percpu_counter *fbc, s64 amount); amount 43 include/linux/percpu_counter.h void percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount, amount 53 include/linux/percpu_counter.h static inline void percpu_counter_add(struct percpu_counter *fbc, s64 amount) amount 55 include/linux/percpu_counter.h percpu_counter_add_batch(fbc, amount, percpu_counter_batch); amount 100 include/linux/percpu_counter.h static inline int percpu_counter_init(struct percpu_counter *fbc, s64 amount, amount 103 include/linux/percpu_counter.h fbc->count = amount; amount 111 include/linux/percpu_counter.h static inline void percpu_counter_set(struct percpu_counter *fbc, s64 amount) amount 113 include/linux/percpu_counter.h fbc->count = amount; amount 133 include/linux/percpu_counter.h percpu_counter_add(struct percpu_counter *fbc, s64 amount) amount 136 include/linux/percpu_counter.h fbc->count += amount; amount 141 include/linux/percpu_counter.h percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount, s32 batch) amount 143 include/linux/percpu_counter.h percpu_counter_add(fbc, amount); amount 187 include/linux/percpu_counter.h static inline void percpu_counter_sub(struct percpu_counter *fbc, s64 amount) amount 189 include/linux/percpu_counter.h percpu_counter_add(fbc, -amount); amount 1383 include/net/sock.h void __sk_mem_reduce_allocated(struct sock *sk, int amount); amount 1384 include/net/sock.h void __sk_mem_reclaim(struct sock *sk, int amount); amount 113 include/sound/soundfont.h int snd_sf_linear_to_log(unsigned int amount, int offset, int ratio); amount 4386 kernel/sched/fair.c u64 amount = 0, min_amount; amount 4393 kernel/sched/fair.c amount = min_amount; amount 4398 kernel/sched/fair.c amount = min(cfs_b->runtime, min_amount); amount 4399 kernel/sched/fair.c cfs_b->runtime -= amount; amount 4405 kernel/sched/fair.c cfs_rq->runtime_remaining += amount; amount 60 lib/percpu_counter.c void percpu_counter_set(struct percpu_counter *fbc, s64 amount) amount 70 lib/percpu_counter.c fbc->count = amount; amount 82 lib/percpu_counter.c void percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount, s32 batch) amount 87 lib/percpu_counter.c count = __this_cpu_read(*fbc->counters) + amount; amount 92 lib/percpu_counter.c __this_cpu_sub(*fbc->counters, count - amount); amount 95 lib/percpu_counter.c this_cpu_add(*fbc->counters, amount); amount 122 lib/percpu_counter.c int __percpu_counter_init(struct percpu_counter *fbc, s64 amount, gfp_t gfp, amount 129 lib/percpu_counter.c fbc->count = amount; amount 100 lib/test_hexdump.c size_t amount = strlen(q); amount 102 lib/test_hexdump.c memcpy(p, q, amount); amount 103 lib/test_hexdump.c p += amount; amount 1789 net/appletalk/ddp.c long amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); amount 1791 net/appletalk/ddp.c if (amount < 0) amount 1792 net/appletalk/ddp.c amount = 0; amount 1793 net/appletalk/ddp.c rc = put_user(amount, (int __user *)argp); amount 1802 net/appletalk/ddp.c long amount = 0; amount 1805 net/appletalk/ddp.c amount = skb->len - sizeof(struct ddpehdr); amount 1806 net/appletalk/ddp.c rc = put_user(amount, (int __user *)argp); amount 1699 net/ax25/af_ax25.c long amount; amount 1701 net/ax25/af_ax25.c amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); amount 1702 net/ax25/af_ax25.c if (amount < 0) amount 1703 net/ax25/af_ax25.c amount = 0; amount 1704 net/ax25/af_ax25.c res = put_user(amount, (int __user *)argp); amount 1710 net/ax25/af_ax25.c long amount = 0L; amount 1713 net/ax25/af_ax25.c amount = skb->len; amount 1714 net/ax25/af_ax25.c res = put_user(amount, (int __user *) argp); amount 1731 net/ax25/af_ax25.c long amount; amount 1736 net/ax25/af_ax25.c if (get_user(amount, (long __user *)argp)) { amount 1740 net/ax25/af_ax25.c if (amount < 0 || amount > AX25_NOUID_BLOCK) { amount 1744 net/ax25/af_ax25.c ax25_uid_policy = amount; amount 497 net/bluetooth/af_bluetooth.c long amount; amount 507 net/bluetooth/af_bluetooth.c amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); amount 508 net/bluetooth/af_bluetooth.c if (amount < 0) amount 509 net/bluetooth/af_bluetooth.c amount = 0; amount 510 net/bluetooth/af_bluetooth.c err = put_user(amount, (int __user *) arg); amount 519 net/bluetooth/af_bluetooth.c amount = skb ? skb->len : 0; amount 521 net/bluetooth/af_bluetooth.c err = put_user(amount, (int __user *) arg); amount 2606 net/core/sock.c void __sk_mem_reduce_allocated(struct sock *sk, int amount) amount 2608 net/core/sock.c sk_memory_allocated_sub(sk, amount); amount 2611 net/core/sock.c mem_cgroup_uncharge_skmem(sk->sk_memcg, amount); amount 2624 net/core/sock.c void __sk_mem_reclaim(struct sock *sk, int amount) amount 2626 net/core/sock.c amount >>= SK_MEM_QUANTUM_SHIFT; amount 2627 net/core/sock.c sk->sk_forward_alloc -= amount << SK_MEM_QUANTUM_SHIFT; amount 2628 net/core/sock.c __sk_mem_reduce_allocated(sk, amount); amount 380 net/dccp/proto.c unsigned long amount = 0; amount 388 net/dccp/proto.c amount = skb->len; amount 390 net/dccp/proto.c rc = put_user(amount, (int __user *)arg); amount 1219 net/decnet/af_decnet.c long amount = 0; amount 1238 net/decnet/af_decnet.c amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); amount 1239 net/decnet/af_decnet.c if (amount < 0) amount 1240 net/decnet/af_decnet.c amount = 0; amount 1241 net/decnet/af_decnet.c err = put_user(amount, (int __user *)arg); amount 1248 net/decnet/af_decnet.c amount = skb->len; amount 1251 net/decnet/af_decnet.c amount += skb->len; amount 1254 net/decnet/af_decnet.c err = put_user(amount, (int __user *)arg); amount 536 net/ieee802154/socket.c int amount = sk_wmem_alloc_get(sk); amount 538 net/ieee802154/socket.c return put_user(amount, (int __user *)arg); amount 544 net/ieee802154/socket.c unsigned long amount; amount 546 net/ieee802154/socket.c amount = 0; amount 554 net/ieee802154/socket.c amount = skb->len - ieee802154_hdr_length(skb); amount 557 net/ieee802154/socket.c return put_user(amount, (int __user *)arg); amount 904 net/ipv4/raw.c int amount = sk_wmem_alloc_get(sk); amount 906 net/ipv4/raw.c return put_user(amount, (int __user *)arg); amount 910 net/ipv4/raw.c int amount = 0; amount 915 net/ipv4/raw.c amount = skb->len; amount 917 net/ipv4/raw.c return put_user(amount, (int __user *)arg); amount 1632 net/ipv4/udp.c int amount = sk_wmem_alloc_get(sk); amount 1634 net/ipv4/udp.c return put_user(amount, (int __user *)arg); amount 1639 net/ipv4/udp.c int amount = max_t(int, 0, first_packet_length(sk)); amount 1641 net/ipv4/udp.c return put_user(amount, (int __user *)arg); amount 1200 net/ipv6/raw.c int amount = sk_wmem_alloc_get(sk); amount 1202 net/ipv6/raw.c return put_user(amount, (int __user *)arg); amount 1206 net/ipv6/raw.c int amount = 0; amount 1211 net/ipv6/raw.c amount = skb->len; amount 1213 net/ipv6/raw.c return put_user(amount, (int __user *)arg); amount 576 net/l2tp/l2tp_ip.c int amount; amount 580 net/l2tp/l2tp_ip.c amount = sk_wmem_alloc_get(sk); amount 585 net/l2tp/l2tp_ip.c amount = skb ? skb->len : 0; amount 593 net/l2tp/l2tp_ip.c return put_user(amount, (int __user *)arg); amount 1182 net/netrom/af_netrom.c long amount; amount 1185 net/netrom/af_netrom.c amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); amount 1186 net/netrom/af_netrom.c if (amount < 0) amount 1187 net/netrom/af_netrom.c amount = 0; amount 1189 net/netrom/af_netrom.c return put_user(amount, (int __user *)argp); amount 1194 net/netrom/af_netrom.c long amount = 0L; amount 1199 net/netrom/af_netrom.c amount = skb->len; amount 1201 net/netrom/af_netrom.c return put_user(amount, (int __user *)argp); amount 4123 net/packet/af_packet.c int amount = sk_wmem_alloc_get(sk); amount 4125 net/packet/af_packet.c return put_user(amount, (int __user *)arg); amount 4130 net/packet/af_packet.c int amount = 0; amount 4135 net/packet/af_packet.c amount = skb->len; amount 4137 net/packet/af_packet.c return put_user(amount, (int __user *)arg); amount 1262 net/rose/af_rose.c long amount; amount 1264 net/rose/af_rose.c amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); amount 1265 net/rose/af_rose.c if (amount < 0) amount 1266 net/rose/af_rose.c amount = 0; amount 1267 net/rose/af_rose.c return put_user(amount, (unsigned int __user *) argp); amount 1272 net/rose/af_rose.c long amount = 0L; amount 1275 net/rose/af_rose.c amount = skb->len; amount 1276 net/rose/af_rose.c return put_user(amount, (unsigned int __user *) argp); amount 4960 net/sctp/socket.c unsigned int amount = 0; amount 4968 net/sctp/socket.c amount = skb->len; amount 4970 net/sctp/socket.c rc = put_user(amount, (int __user *)arg); amount 2506 net/unix/af_unix.c long amount = 0; amount 2515 net/unix/af_unix.c amount += unix_skb_len(skb); amount 2519 net/unix/af_unix.c amount = skb->len; amount 2523 net/unix/af_unix.c return amount; amount 2572 net/unix/af_unix.c long amount = 0; amount 2577 net/unix/af_unix.c amount = unix_outq_len(sk); amount 2578 net/unix/af_unix.c err = put_user(amount, (int __user *)arg); amount 2581 net/unix/af_unix.c amount = unix_inq_len(sk); amount 2582 net/unix/af_unix.c if (amount < 0) amount 2583 net/unix/af_unix.c err = amount; amount 2585 net/unix/af_unix.c err = put_user(amount, (int __user *)arg); amount 1376 net/x25/af_x25.c int amount; amount 1378 net/x25/af_x25.c amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); amount 1379 net/x25/af_x25.c if (amount < 0) amount 1380 net/x25/af_x25.c amount = 0; amount 1381 net/x25/af_x25.c rc = put_user(amount, (unsigned int __user *)argp); amount 1387 net/x25/af_x25.c int amount = 0; amount 1394 net/x25/af_x25.c amount = skb->len; amount 1396 net/x25/af_x25.c rc = put_user(amount, (unsigned int __user *)argp); amount 23 sound/pci/ctxfi/ctresource.c get_resource(u8 *rscs, unsigned int amount, amount 29 sound/pci/ctxfi/ctresource.c for (i = 0, n = multi; i < amount; i++) { amount 40 sound/pci/ctxfi/ctresource.c if (i >= amount) { amount 80 sound/pci/ctxfi/ctresource.c err = get_resource(mgr->rscs, mgr->amount, n, ridx); amount 206 sound/pci/ctxfi/ctresource.c unsigned int amount, struct hw *hw) amount 212 sound/pci/ctxfi/ctresource.c mgr->rscs = kzalloc(((amount + 8 - 1) / 8), GFP_KERNEL); amount 245 sound/pci/ctxfi/ctresource.c mgr->avail = mgr->amount = amount; amount 287 sound/pci/ctxfi/ctresource.c mgr->avail = mgr->amount = 0; amount 55 sound/pci/ctxfi/ctresource.h unsigned int amount; /* The total amount of a kind of resource */ amount 64 sound/pci/ctxfi/ctresource.h unsigned int amount, struct hw *hw); amount 785 sound/synth/emux/soundfont.c snd_sf_linear_to_log(unsigned int amount, int offset, int ratio) amount 790 sound/synth/emux/soundfont.c if (amount < 2) amount 792 sound/synth/emux/soundfont.c for (bit = 0; ! (amount & 0x80000000L); bit++) amount 793 sound/synth/emux/soundfont.c amount <<= 1; amount 794 sound/synth/emux/soundfont.c s = (amount >> 24) & 0x7f; amount 795 sound/synth/emux/soundfont.c low = (amount >> 16) & 0xff;