/linux-master/tools/testing/selftests/kvm/s390x/ |
H A D | memop.c | 513 static __uint128_t rotate(int size, __uint128_t val, int amount) argument 517 amount = (amount + bits) % bits; 519 if (!amount) 521 return (val << (bits - amount)) | (val >> amount); 547 int amount; local 580 amount = rand % (size * 8); 581 return rotate(size, old, amount);
|
/linux-master/net/netrom/ |
H A D | af_netrom.c | 1215 long amount; local 1218 amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); 1219 if (amount < 0) 1220 amount = 0; 1222 return put_user(amount, (int __user *)argp); 1227 long amount = 0L; local 1232 amount = skb->len; 1234 return put_user(amount, (int __user *)argp);
|
/linux-master/sound/soc/codecs/ |
H A D | rt5677-spi.c | 268 * Copy a given amount of audio samples from the DSP mic buffer starting at 271 * @amount: amount of samples to copy, in bytes. 275 static int rt5677_spi_copy(struct rt5677_dsp *rt5677_dsp, u32 amount) argument 280 if (amount == 0) 283 target = rt5677_dsp->mic_read_offset + amount; 343 /* Calculate the amount of new samples in bytes */
|
/linux-master/sound/synth/emux/ |
H A D | soundfont.c | 815 * conversion: value = log2(amount / base) * ratio 818 * amount = linear value (unsigned, 32bit max) 824 snd_sf_linear_to_log(unsigned int amount, int offset, int ratio) argument 829 if (amount < 2) 831 for (bit = 0; ! (amount & 0x80000000L); bit++) 832 amount <<= 1; 833 s = (amount >> 24) & 0x7f; 834 low = (amount >> 16) & 0xff;
|
/linux-master/drivers/net/xen-netback/ |
H A D | netback.c | 85 /* The amount to copy out of the first guest Tx slot into the skb's 403 int amount = data_len > txp->size ? txp->size : data_len; local 418 if (cop->dest.offset + amount > XEN_PAGE_SIZE) { 419 amount = XEN_PAGE_SIZE - cop->dest.offset; 424 cop->len = amount; 435 data_len -= amount; 437 if (amount == txp->size) { 456 txp->offset += amount; 457 txp->size -= amount;
|
/linux-master/net/x25/ |
H A D | af_x25.c | 982 * Ensure that the amount of call user data is valid. 1387 int amount; local 1389 amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); 1390 if (amount < 0) 1391 amount = 0; 1392 rc = put_user(amount, (unsigned int __user *)argp); 1398 int amount = 0; local 1405 amount = skb->len; 1407 rc = put_user(amount, (unsigned int __user *)argp);
|
/linux-master/net/rose/ |
H A D | af_rose.c | 1336 long amount; local 1338 amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); 1339 if (amount < 0) 1340 amount = 0; 1341 return put_user(amount, (unsigned int __user *) argp); 1346 long amount = 0L; local 1350 amount = skb->len; 1352 return put_user(amount, (unsigned int __user *) argp);
|
/linux-master/arch/powerpc/boot/ |
H A D | div64.S | 31 srw r10,r10,r0 # the divisor right the same amount,
|
/linux-master/arch/alpha/lib/ |
H A D | ev6-copy_user.S | 55 ble $1, $onebyteloop # .. .. U .. : 1st branch : small amount of data 196 * to quadword stuff for a small amount of data.
|
/linux-master/fs/btrfs/ |
H A D | block-group.h | 383 void btrfs_dec_block_group_swap_extents(struct btrfs_block_group *bg, int amount);
|
/linux-master/sound/soc/sh/ |
H A D | rz-ssi.c | 606 int amount; local 623 amount = runtime->period_size; 628 dma_size = frames_to_bytes(runtime, amount); 646 strm->dma_buffer_pos += amount;
|
/linux-master/net/appletalk/ |
H A D | ddp.c | 1783 long amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); local 1785 if (amount < 0) 1786 amount = 0; 1787 rc = put_user(amount, (int __user *)argp); 1792 long amount = 0; local 1797 amount = skb->len - sizeof(struct ddpehdr); 1799 rc = put_user(amount, (int __user *)argp);
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | atombios_crtc.c | 496 args.v3.usSpreadSpectrumAmount = cpu_to_le16(ss->amount); 515 args.v2.usSpreadSpectrumAmount = cpu_to_le16(ss->amount); 1111 /* calculate ss amount and step size */ 1114 u32 amount = (((fb_div * 10) + frac_fb_div) * local 1117 radeon_crtc->ss.amount = (amount / 10) & ATOM_PPLL_SS_AMOUNT_V2_FBDIV_MASK; 1118 radeon_crtc->ss.amount |= ((amount - (amount / 10)) << ATOM_PPLL_SS_AMOUNT_V2_NFRAC_SHIFT) & 1121 step_size = (4 * amount * ref_di [all...] |
/linux-master/fs/gfs2/ |
H A D | xattr.c | 462 unsigned int amount = GFS2_EA_DATA_LEN(ea); local 463 unsigned int nptrs = DIV_ROUND_UP(amount, sdp->sd_jbsize); 500 cp_size = (sdp->sd_jbsize > amount) ? amount : sdp->sd_jbsize; 513 amount -= sdp->sd_jbsize;
|
/linux-master/arch/arm/lib/ |
H A D | lib1funcs.S | 64 @ four bits, since this is the amount of unwinding in the main 151 @ four bits, since this is the amount of unwinding in the main
|
/linux-master/arch/xtensa/lib/ |
H A D | memcopy.S | 196 __ssa8 a3 # set shift amount from byte offset 459 __ssa8 a3 # set shift amount from byte offset
|
H A D | usercopy.S | 80 __ssa8 a3 # set shift amount from byte offset
|
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_inline.h | 463 * @amount: amount to decrement from v 465 static void qla_atomic_dtz(atomic_t *v, int amount) argument 471 dec = c - amount;
|
/linux-master/arch/x86/boot/ |
H A D | header.S | 433 # data, plus a small amount extra to keep the algorithm safe. The 452 # All of which is enough to compute an amount of extra data that is required
|
/linux-master/arch/arm/mm/ |
H A D | cache-v7.S | 53 movs r1, r2, lsl r1 @ #1 shifted left by same amount 159 movne r6, r6, lsl r5 @ 1 shifted left by same amount
|
/linux-master/drivers/net/wwan/ |
H A D | wwan_core.c | 881 int amount = 0; local 885 amount += skb->len; 888 return put_user(amount, (int __user *)arg);
|
/linux-master/net/unix/ |
H A D | af_unix.c | 33 * old apps and it will avoid huge amount 2989 long amount = 0; local 2998 amount += unix_skb_len(skb); 3002 amount = skb->len; 3006 return amount; 3055 long amount = 0; local 3060 amount = unix_outq_len(sk); 3061 err = put_user(amount, (int __user *)arg); 3064 amount = unix_inq_len(sk); 3065 if (amount < [all...] |
/linux-master/drivers/nvme/target/ |
H A D | fcloop.c | 1507 int starting, amount; local 1509 if (sscanf(buf, "%x:%d:%d", &opcode, &starting, &amount) != 3) 1520 drop_amount = amount - 1;
|
/linux-master/drivers/media/pci/intel/ipu6/ |
H A D | ipu6-isys.c | 963 static int alloc_fw_msg_bufs(struct ipu6_isys *isys, int amount) argument 971 for (i = 0; i < amount; i++) { 983 if (i == amount)
|
/linux-master/sound/pci/emu10k1/ |
H A D | emupcm.c | 269 static u16 emu10k1_send_target_from_amount(u8 amount) argument 275 if (amount == 0xff) 277 exp = amount >> 5; 278 return ((amount & 0x1f) << shifts[exp]) + offsets[exp];
|