Home
last modified time | relevance | path

Searched full:amount (Results 1 – 25 of 2908) sorted by relevance

12345678910>>...117

/kernel/linux/linux-5.10/arch/parisc/math-emu/
Dhppa.h14 /* amount is assumed to be a constant between 0 and 32 (non-inclusive) */
15 #define Shiftdouble(left,right,amount,dest) \ argument
16 /* int left, right, amount, dest; */ \
17 dest = ((left) << (32-(amount))) | ((unsigned int)(right) >> (amount))
19 /* amount must be less than 32 */
20 #define Variableshiftdouble(left,right,amount,dest) \ argument
21 /* unsigned int left, right; int amount, dest; */ \
22 if (amount == 0) dest = right; \
23 else dest = ((((unsigned) left)&0x7fffffff) << (32-(amount))) | \
24 ((unsigned) right >> (amount))
[all …]
/kernel/linux/linux-4.19/arch/parisc/math-emu/
Dhppa.h27 /* amount is assumed to be a constant between 0 and 32 (non-inclusive) */
28 #define Shiftdouble(left,right,amount,dest) \ argument
29 /* int left, right, amount, dest; */ \
30 dest = ((left) << (32-(amount))) | ((unsigned int)(right) >> (amount))
32 /* amount must be less than 32 */
33 #define Variableshiftdouble(left,right,amount,dest) \ argument
34 /* unsigned int left, right; int amount, dest; */ \
35 if (amount == 0) dest = right; \
36 else dest = ((((unsigned) left)&0x7fffffff) << (32-(amount))) | \
37 ((unsigned) right >> (amount))
[all …]
/kernel/linux/linux-4.19/include/linux/
Dpercpu_counter.h31 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 …]
/kernel/linux/linux-5.10/include/linux/
Dpercpu_counter.h31 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,
54 static inline void percpu_counter_add(struct percpu_counter *fbc, s64 amount) in percpu_counter_add() argument
56 percpu_counter_add_batch(fbc, amount, percpu_counter_batch); in percpu_counter_add()
101 static inline int percpu_counter_init(struct percpu_counter *fbc, s64 amount, in percpu_counter_init() argument
104 fbc->count = amount; in percpu_counter_init()
112 static inline void percpu_counter_set(struct percpu_counter *fbc, s64 amount) in percpu_counter_set() argument
114 fbc->count = amount; in percpu_counter_set()
134 percpu_counter_add(struct percpu_counter *fbc, s64 amount) in percpu_counter_add() argument
[all …]
/kernel/liteos_m/arch/risc-v/nuclei/gcc/nmsis/NN/Include/
Driscv_nnfunctions.h130 * @param[in] bias_shift amount of left-shift for bias
131 * @param[in] out_shift amount of right-shift for output
171 * @param[in] bias_shift amount of left-shift for bias
172 * @param[in] out_shift amount of right-shift for output
213 * @param[in] bias_shift amount of left-shift for bias
214 * @param[in] out_shift amount of right-shift for output
250 * @param[in] bias_shift amount of left-shift for bias
251 * @param[in] out_shift amount of right-shift for output
296 * @param[in] bias_shift amount of left-shift for bias
297 * @param[in] out_shift amount of right-shift for output
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
Dnv20.c38 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
Dnv20.c38 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()
/kernel/linux/linux-4.19/lib/
Dpercpu_counter.c60 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()
/kernel/linux/linux-4.19/sound/pci/ctxfi/
Dctresource.c27 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()
Dctresource.h59 unsigned int amount; /* The total amount of a kind of resource */ member
60 unsigned int avail; /* The amount of currently available resources */
68 unsigned int amount, struct hw *hw);
/kernel/linux/linux-5.10/sound/pci/ctxfi/
Dctresource.c23 get_resource(u8 *rscs, unsigned int amount, in get_resource() argument
29 for (i = 0, n = multi; i < amount; i++) { in get_resource()
40 if (i >= amount) { in get_resource()
80 err = get_resource(mgr->rscs, mgr->amount, n, ridx); in mgr_get_resource()
206 unsigned int amount, struct hw *hw) in rsc_mgr_init() argument
212 mgr->rscs = kzalloc(((amount + 8 - 1) / 8), GFP_KERNEL); in rsc_mgr_init()
245 mgr->avail = mgr->amount = amount; in rsc_mgr_init()
287 mgr->avail = mgr->amount = 0; in rsc_mgr_uninit()
Dctresource.h55 unsigned int amount; /* The total amount of a kind of resource */ member
56 unsigned int avail; /* The amount of currently available resources */
64 unsigned int amount, struct hw *hw);
/kernel/linux/linux-5.10/lib/
Dlinear_ranges.c18 * linear_range_values_in_range - return the amount of values in a range
21 * Compute the amount of values in range pointed by @r. Note, values can
25 * Return: the amount of values in range pointed by @r
36 * linear_range_values_in_range_array - return the amount of values in ranges
38 * @ranges: amount of ranges we include in computation.
40 * Compute the amount of values in ranges pointed by @r. Note, values can
44 * Return: the amount of values in first @ranges ranges pointed by @r
102 * @ranges: amount of ranges in an array
166 * @ranges: amount of ranges to scan from array
Dpercpu_counter.c60 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()
141 int __percpu_counter_init(struct percpu_counter *fbc, s64 amount, gfp_t gfp, in __percpu_counter_init() argument
148 fbc->count = amount; in __percpu_counter_init()
/kernel/linux/linux-4.19/drivers/staging/comedi/
Dcomedi_buf.c285 * data buffer associated with the subdevice. The amount reserved is limited
288 * Return: The amount of space reserved in bytes.
371 * COMEDI acquisition data buffer associated with the subdevice. The amount of
372 * space freed is limited to the amount that was reserved. The freed space is
378 * Return: The amount of space freed in bytes.
400 * comedi_buf_read_n_available() - Determine amount of readable buffer space
403 * Determine the amount of readable buffer space in the COMEDI acquisition data
408 * Return: The amount of readable buffer space.
437 * subdevice. The amount reserved is limited to the space available. The
440 * the amount of readable data available, but the space needs to be marked as
[all …]
/kernel/linux/linux-5.10/drivers/staging/comedi/
Dcomedi_buf.c335 * data buffer associated with the subdevice. The amount reserved is limited
338 * Return: The amount of space reserved in bytes.
421 * COMEDI acquisition data buffer associated with the subdevice. The amount of
422 * space freed is limited to the amount that was reserved. The freed space is
428 * Return: The amount of space freed in bytes.
450 * comedi_buf_read_n_available() - Determine amount of readable buffer space
453 * Determine the amount of readable buffer space in the COMEDI acquisition data
458 * Return: The amount of readable buffer space.
487 * subdevice. The amount reserved is limited to the space available. The
490 * the amount of readable data available, but the space needs to be marked as
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_bo5039.c52 u32 amount, stride, height; in nv50_bo_move_m2mf() local
58 amount = min(length, (u64)(4 * 1024 * 1024)); in nv50_bo_move_m2mf()
60 height = amount / stride; in nv50_bo_move_m2mf()
128 length -= amount; in nv50_bo_move_m2mf()
129 src_offset += amount; in nv50_bo_move_m2mf()
130 dst_offset += amount; in nv50_bo_move_m2mf()
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-class-wakeup46 This file contains the amount of time the wakeup source has
54 This file contains the total amount of time this wakeup source
61 This file contains the maximum amount of time this wakeup
75 The file contains the total amount of time this wakeup source
/kernel/linux/linux-4.19/Documentation/vm/
Dovercommit-accounting.rst24 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
/kernel/linux/linux-5.10/Documentation/vm/
Dovercommit-accounting.rst24 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
/kernel/linux/linux-5.10/fs/ubifs/
Dbudget.c17 * impossible to accurately predict the amount of space needed. Consequently
34 * The below constant defines amount of dirty pages which should be written
44 * This function shrinks UBIFS liability by means of writing back some amount
90 * amount of bytes UBIFS has "promised" to write to the media.
160 * ubifs_calc_min_idx_lebs - calculate amount of LEBs for the index.
195 * This function calculates and returns amount of FS space available for use.
279 * be able to commit dirty index. So this function basically adds amount of
281 * and makes sure this does not exceed the amount of free LEBs.
373 * calc_data_growth - calculate approximate amount of new data from budgeting
393 * calc_dd_growth - calculate approximate amount of data which makes other data
[all …]
/kernel/linux/linux-4.19/fs/ubifs/
Dbudget.c29 * impossible to accurately predict the amount of space needed. Consequently
46 * The below constant defines amount of dirty pages which should be written
56 * This function shrinks UBIFS liability by means of writing back some amount
102 * amount of bytes UBIFS has "promised" to write to the media.
172 * ubifs_calc_min_idx_lebs - calculate amount of LEBs for the index.
207 * This function calculates and returns amount of FS space available for use.
291 * be able to commit dirty index. So this function basically adds amount of
293 * and makes sure this does not exceed the amount of free LEBs.
385 * calc_data_growth - calculate approximate amount of new data from budgeting
405 * calc_dd_growth - calculate approximate amount of data which makes other data
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl12xx/
Dacx.h141 /* the amount of enters into power save mode (both PD & ELP) */
144 /* the amount of enters into ELP mode */
147 /* the amount of missing beacon interrupts to the host */
150 /* the amount of wake on host-access times */
153 /* the amount of wake on timer-expire */
/kernel/linux/linux-4.19/security/
Dmin_addr.c7 /* amount of vm to protect from userspace access by both DAC and the LSM*/
9 /* amount of vm to protect from userspace using CAP_SYS_RAWIO (DAC) */
11 /* amount of vm to protect from userspace using the LSM = CONFIG_LSM_MMAP_MIN_ADDR */
/kernel/linux/linux-5.10/security/
Dmin_addr.c7 /* amount of vm to protect from userspace access by both DAC and the LSM*/
9 /* amount of vm to protect from userspace using CAP_SYS_RAWIO (DAC) */
11 /* amount of vm to protect from userspace using the LSM = CONFIG_LSM_MMAP_MIN_ADDR */

12345678910>>...117