/Linux-v4.19/arch/parisc/math-emu/ |
D | hppa.h | 28 #define Shiftdouble(left,right,amount,dest) \ argument 30 dest = ((left) << (32-(amount))) | ((unsigned int)(right) >> (amount)) 33 #define Variableshiftdouble(left,right,amount,dest) \ argument 35 if (amount == 0) dest = right; \ 36 else dest = ((((unsigned) left)&0x7fffffff) << (32-(amount))) | \ 37 ((unsigned) right >> (amount)) 40 #define Variable_shift_double(left,right,amount,dest) \ argument 42 dest = (left << (32-(amount))) | ((unsigned) right >> (amount))
|
/Linux-v4.19/include/linux/ |
D | percpu_counter.h | 31 int __percpu_counter_init(struct percpu_counter *fbc, s64 amount, gfp_t gfp, 42 void percpu_counter_set(struct percpu_counter *fbc, s64 amount); 43 void percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount, 53 static inline void percpu_counter_add(struct percpu_counter *fbc, s64 amount) in percpu_counter_add() argument 55 percpu_counter_add_batch(fbc, amount, percpu_counter_batch); in percpu_counter_add() 100 static inline int percpu_counter_init(struct percpu_counter *fbc, s64 amount, in percpu_counter_init() argument 103 fbc->count = amount; in percpu_counter_init() 111 static inline void percpu_counter_set(struct percpu_counter *fbc, s64 amount) in percpu_counter_set() argument 113 fbc->count = amount; in percpu_counter_set() 133 percpu_counter_add(struct percpu_counter *fbc, s64 amount) in percpu_counter_add() argument [all …]
|
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
D | nv20.c | 38 uint32_t amount, off; in nv20_devinit_meminit() local 53 amount = nvkm_rd32(device, 0x10020c); in nv20_devinit_meminit() 54 for (off = amount; off > 0x2000000; off -= 0x2000000) in nv20_devinit_meminit() 57 amount = nvkm_rd32(device, 0x10020c); in nv20_devinit_meminit() 58 if (amount != fbmem_peek(fb, amount - 4)) in nv20_devinit_meminit()
|
/Linux-v4.19/sound/pci/ctxfi/ |
D | ctresource.c | 27 get_resource(u8 *rscs, unsigned int amount, in get_resource() argument 33 for (i = 0, n = multi; i < amount; i++) { in get_resource() 44 if (i >= amount) { in get_resource() 84 err = get_resource(mgr->rscs, mgr->amount, n, ridx); in mgr_get_resource() 210 unsigned int amount, struct hw *hw) in rsc_mgr_init() argument 216 mgr->rscs = kzalloc(((amount + 8 - 1) / 8), GFP_KERNEL); in rsc_mgr_init() 249 mgr->avail = mgr->amount = amount; in rsc_mgr_init() 291 mgr->avail = mgr->amount = 0; in rsc_mgr_uninit()
|
D | ctresource.h | 59 unsigned int amount; /* The total amount of a kind of resource */ member 68 unsigned int amount, struct hw *hw);
|
/Linux-v4.19/lib/ |
D | percpu_counter.c | 60 void percpu_counter_set(struct percpu_counter *fbc, s64 amount) in percpu_counter_set() argument 70 fbc->count = amount; in percpu_counter_set() 82 void percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount, s32 batch) in percpu_counter_add_batch() argument 87 count = __this_cpu_read(*fbc->counters) + amount; in percpu_counter_add_batch() 92 __this_cpu_sub(*fbc->counters, count - amount); in percpu_counter_add_batch() 95 this_cpu_add(*fbc->counters, amount); in percpu_counter_add_batch() 122 int __percpu_counter_init(struct percpu_counter *fbc, s64 amount, gfp_t gfp, in __percpu_counter_init() argument 129 fbc->count = amount; in __percpu_counter_init()
|
D | test_hexdump.c | 100 size_t amount = strlen(q); in test_hexdump_prepare_test() local 102 strncpy(p, q, amount); in test_hexdump_prepare_test() 103 p += amount; in test_hexdump_prepare_test()
|
/Linux-v4.19/drivers/scsi/ |
D | BusLogic.h | 1241 unsigned int amount) in blogic_addcount() argument 1243 bytecount->units += amount; in blogic_addcount() 1255 unsigned int amount) in blogic_incszbucket() argument 1258 if (amount < 8 * 1024) { in blogic_incszbucket() 1259 if (amount < 2 * 1024) in blogic_incszbucket() 1260 index = (amount < 1 * 1024 ? 0 : 1); in blogic_incszbucket() 1262 index = (amount < 4 * 1024 ? 2 : 3); in blogic_incszbucket() 1263 } else if (amount < 128 * 1024) { in blogic_incszbucket() 1264 if (amount < 32 * 1024) in blogic_incszbucket() 1265 index = (amount < 16 * 1024 ? 4 : 5); in blogic_incszbucket() [all …]
|
/Linux-v4.19/drivers/pci/hotplug/ |
D | ibmphp_pci.c | 1066 struct res_needed *amount; in scan_behind_bridge() local 1068 amount = kzalloc(sizeof(*amount), GFP_KERNEL); in scan_behind_bridge() 1069 if (amount == NULL) in scan_behind_bridge() 1077 amount->devices[device] = 0; in scan_behind_bridge() 1093 amount->not_correct = 1; in scan_behind_bridge() 1094 return amount; in scan_behind_bridge() 1100 amount->not_correct = 1; in scan_behind_bridge() 1101 return amount; in scan_behind_bridge() 1104 amount->not_correct = 1; in scan_behind_bridge() 1105 return amount; in scan_behind_bridge() [all …]
|
/Linux-v4.19/drivers/usb/gadget/function/ |
D | f_mass_storage.c | 620 unsigned int amount; in do_read() local 660 amount = min(amount_left, FSG_BUFLEN); in do_read() 661 amount = min((loff_t)amount, in do_read() 674 if (amount == 0) { in do_read() 687 nread = kernel_read(curlun->filp, bh->buf, amount, in do_read() 689 VLDBG(curlun, "file read %u @ %llu -> %d\n", amount, in do_read() 697 } else if (nread < amount) { in do_read() 699 (int)nread, amount); in do_read() 715 if (nread < amount) { in do_read() 748 unsigned int amount; in do_write() local [all …]
|
/Linux-v4.19/Documentation/vm/ |
D | overcommit-accounting.rst | 24 system is not permitted to exceed swap + a configurable amount 25 (default is 50%) of physical RAM. Depending on the amount you 36 The overcommit amount can be set via ``vm.overcommit_ratio`` (percentage) 39 The current overcommit limit and amount committed are viewable in
|
/Linux-v4.19/arch/mips/mti-malta/ |
D | malta-time.c | 63 static unsigned int freqround(unsigned int freq, unsigned int amount) in freqround() argument 65 freq += amount; in freqround() 66 freq -= freq % (amount*2); in freqround()
|
/Linux-v4.19/Documentation/ABI/testing/ |
D | sysfs-class-scsi_tape | 16 Shows the total amount of time spent waiting for all I/O 23 To determine the amount of time spent waiting for other I/O 64 Shows the total amount of time in nanoseconds waiting for 95 Shows the total amount of time in nanoseconds waiting for
|
D | pstore | 37 The 'kmsg_bytes' mount option changes the target amount of 40 persistent storage until at least this amount is reached.
|
/Linux-v4.19/net/bluetooth/ |
D | af_bluetooth.c | 487 long amount; in bt_sock_ioctl() local 497 amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); in bt_sock_ioctl() 498 if (amount < 0) in bt_sock_ioctl() 499 amount = 0; in bt_sock_ioctl() 500 err = put_user(amount, (int __user *) arg); in bt_sock_ioctl() 509 amount = skb ? skb->len : 0; in bt_sock_ioctl() 511 err = put_user(amount, (int __user *) arg); in bt_sock_ioctl()
|
/Linux-v4.19/Documentation/devicetree/ |
D | dynamic-resolution-notes.txt | 17 2. Adjust all the local phandles of the tree to resolve by that amount. 19 by the same amount.
|
/Linux-v4.19/drivers/gpu/drm/ttm/ |
D | ttm_memory.c | 515 uint64_t amount) in ttm_mem_global_free_zone() argument 525 zone->used_mem -= amount; in ttm_mem_global_free_zone() 531 uint64_t amount) in ttm_mem_global_free() argument 533 return ttm_mem_global_free_zone(glob, NULL, amount); in ttm_mem_global_free() 568 uint64_t amount, bool reserve) in ttm_mem_global_reserve() argument 593 zone->used_mem += amount; in ttm_mem_global_reserve()
|
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | atombios_crtc.c | 293 args.v3.usSpreadSpectrumAmount = cpu_to_le16(ss->amount); in amdgpu_atombios_crtc_program_ss() 868 u32 amount = (((fb_div * 10) + frac_fb_div) * in amdgpu_atombios_crtc_set_pll() local 871 amdgpu_crtc->ss.amount = (amount / 10) & ATOM_PPLL_SS_AMOUNT_V2_FBDIV_MASK; in amdgpu_atombios_crtc_set_pll() 872 amdgpu_crtc->ss.amount |= ((amount - (amount / 10)) << ATOM_PPLL_SS_AMOUNT_V2_NFRAC_SHIFT) & in amdgpu_atombios_crtc_set_pll() 875 step_size = (4 * amount * ref_div * ((u32)amdgpu_crtc->ss.rate * 2048)) / in amdgpu_atombios_crtc_set_pll() 878 step_size = (2 * amount * ref_div * ((u32)amdgpu_crtc->ss.rate * 2048)) / in amdgpu_atombios_crtc_set_pll()
|
/Linux-v4.19/net/ax25/ |
D | af_ax25.c | 1691 long amount; in ax25_ioctl() local 1693 amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); in ax25_ioctl() 1694 if (amount < 0) in ax25_ioctl() 1695 amount = 0; in ax25_ioctl() 1696 res = put_user(amount, (int __user *)argp); in ax25_ioctl() 1702 long amount = 0L; in ax25_ioctl() local 1705 amount = skb->len; in ax25_ioctl() 1706 res = put_user(amount, (int __user *) argp); in ax25_ioctl() 1731 long amount; in ax25_ioctl() local 1736 if (get_user(amount, (long __user *)argp)) { in ax25_ioctl() [all …]
|
/Linux-v4.19/fs/gfs2/ |
D | dir.c | 190 unsigned int amount; in gfs2_dir_write_data() local 193 amount = size - copied; in gfs2_dir_write_data() 194 if (amount > sdp->sd_sb.sb_bsize - o) in gfs2_dir_write_data() 195 amount = sdp->sd_sb.sb_bsize - o; in gfs2_dir_write_data() 208 if (amount == sdp->sd_jbsize || new) in gfs2_dir_write_data() 217 memcpy(bh->b_data + o, buf, amount); in gfs2_dir_write_data() 220 buf += amount; in gfs2_dir_write_data() 221 copied += amount; in gfs2_dir_write_data() 293 unsigned int amount; in gfs2_dir_read_data() local 297 amount = size - copied; in gfs2_dir_read_data() [all …]
|
/Linux-v4.19/Documentation/hwmon/ |
D | fam15h_power | 34 * BasePwrWatts: Specifies in watts the maximum amount of power 36 * ProcessorPwrWatts: Specifies in watts the maximum amount of power 38 * CurrPwrWatts: Specifies in watts the current amount of power being
|
/Linux-v4.19/Documentation/device-mapper/ |
D | zero.txt | 12 than the amount of actual storage space available for that device. A user can 27 the COW device. The size of the COW device will determine the amount of real
|
/Linux-v4.19/Documentation/locking/ |
D | locktorture.txt | 15 acquire the lock and hold it for specific amount of time, thus simulating 16 different critical region behaviors. The amount of contention on the lock 33 ownership (readers). The default is the same amount of writer 35 both readers and writers be the amount of online CPUs.
|
/Linux-v4.19/fs/fscache/ |
D | Kconfig | 21 The gathering of statistics adds a certain amount of overhead to 38 The generation of this histogram adds a certain amount of overhead to
|
/Linux-v4.19/Documentation/devicetree/bindings/usb/ |
D | fcs,fusb302.txt | 10 Minimum amount of power accepted from a sink
|