Home
last modified time | relevance | path

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

12345678910>>...46

/linux-3.3/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 …]
/linux-3.3/include/linux/
Dpercpu_counter.h29 int __percpu_counter_init(struct percpu_counter *fbc, s64 amount,
40 void percpu_counter_set(struct percpu_counter *fbc, s64 amount);
41 void __percpu_counter_add(struct percpu_counter *fbc, s64 amount, s32 batch);
45 static inline void percpu_counter_add(struct percpu_counter *fbc, s64 amount) in percpu_counter_add() argument
47 __percpu_counter_add(fbc, amount, percpu_counter_batch); in percpu_counter_add()
92 static inline int percpu_counter_init(struct percpu_counter *fbc, s64 amount) in percpu_counter_init() argument
94 fbc->count = amount; in percpu_counter_init()
102 static inline void percpu_counter_set(struct percpu_counter *fbc, s64 amount) in percpu_counter_set() argument
104 fbc->count = amount; in percpu_counter_set()
118 percpu_counter_add(struct percpu_counter *fbc, s64 amount) in percpu_counter_add() argument
[all …]
Dvirtio_balloon.h46 #define VIRTIO_BALLOON_S_SWAP_IN 0 /* Amount of memory swapped in */
47 #define VIRTIO_BALLOON_S_SWAP_OUT 1 /* Amount of memory swapped out */
50 #define VIRTIO_BALLOON_S_MEMFREE 4 /* Total amount of free memory */
51 #define VIRTIO_BALLOON_S_MEMTOT 5 /* Total amount of memory */
/linux-3.3/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()
211 unsigned int amount, void *hw_obj) in rsc_mgr_init() argument
218 mgr->rscs = kzalloc(((amount + 8 - 1) / 8), GFP_KERNEL); in rsc_mgr_init()
251 mgr->avail = mgr->amount = amount; in rsc_mgr_init()
298 mgr->avail = mgr->amount = 0; in rsc_mgr_uninit()
Dctresource.h58 unsigned int amount; /* The total amount of a kind of resource */ member
59 unsigned int avail; /* The amount of currently available resources */
67 unsigned int amount, void *hw);
/linux-3.3/lib/
Dpercpu_counter.c60 void percpu_counter_set(struct percpu_counter *fbc, s64 amount) in percpu_counter_set() argument
69 fbc->count = amount; in percpu_counter_set()
74 void __percpu_counter_add(struct percpu_counter *fbc, s64 amount, s32 batch) in __percpu_counter_add() argument
79 count = __this_cpu_read(*fbc->counters) + amount; in __percpu_counter_add()
112 int __percpu_counter_init(struct percpu_counter *fbc, s64 amount, in __percpu_counter_init() argument
117 fbc->count = amount; in __percpu_counter_init()
Ddynamic_queue_limits.c44 * When queue is starved increase the limit by the amount in dql_completed()
58 * If there is slack, the amount of execess data queued above in dql_completed()
59 * the the amount needed to prevent starvation, the queue limit in dql_completed()
61 * minimum amount of slack found over several iterations of the in dql_completed()
/linux-3.3/Documentation/cgroups/
Dresource_counter.txt17 The usage value shows the amount of a resource that is consumed
32 The maximal allowed amount of resource to consume by the group. In
113 value shows the amount of memory the container would require during
175 if (res_counter_charge(res_counter_ptr, amount) < 0)
183 res_counter_uncharge(res_counter_ptr, amount);
189 "res_counter_ptr" and the "amount" in release_something() should be
/linux-3.3/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.
386 * calc_data_growth - calculate approximate amount of new data from budgeting
406 * calc_dd_growth - calculate approximate amount of data which makes other data
[all …]
/linux-3.3/Documentation/hwmon/
Dfam15h_power24 * BasePwrWatts: Specifies in watts the maximum amount of power
26 * ProcessorPwrWatts: Specifies in watts the maximum amount of power
28 * CurrPwrWatts: Specifies in watts the current amount of power being
/linux-3.3/security/
Dmin_addr.c6 /* amount of vm to protect from userspace access by both DAC and the LSM*/
8 /* amount of vm to protect from userspace using CAP_SYS_RAWIO (DAC) */
10 /* amount of vm to protect from userspace using the LSM = CONFIG_LSM_MMAP_MIN_ADDR */
/linux-3.3/fs/jffs2/
Dcompr.c62 * @datalen: On entry, holds the amount of data available for compression.
63 * On exit, expected to hold the amount of data actually compressed.
64 * @cdatalen: On entry, holds the amount of space available for compressed
131 * @datalen: On entry, holds the amount of data available for compression.
132 * On exit, expected to hold the amount of data actually compressed.
133 * @cdatalen: On entry, holds the amount of space available for compressed
144 * *datalen accordingly to show the amount of data which were compressed.
/linux-3.3/net/ieee802154/
Ddgram.c133 int amount = sk_wmem_alloc_get(sk); in dgram_ioctl() local
135 return put_user(amount, (int __user *)arg); in dgram_ioctl()
141 unsigned long amount; in dgram_ioctl() local
143 amount = 0; in dgram_ioctl()
148 * We will only return the amount in dgram_ioctl()
153 amount = skb->len - (3+8+8); in dgram_ioctl()
156 return put_user(amount, (int __user *)arg); in dgram_ioctl()
/linux-3.3/drivers/pci/hotplug/
Dibmphp_pci.c1071 * This function adds up the amount of resources needed behind the PPB bridge
1074 * Ouput: amount of resources needed
1095 struct res_needed *amount; in scan_behind_bridge() local
1097 amount = kzalloc(sizeof(*amount), GFP_KERNEL); in scan_behind_bridge()
1098 if (amount == NULL) in scan_behind_bridge()
1106 amount->devices[device] = 0; in scan_behind_bridge()
1122 amount->not_correct = 1; in scan_behind_bridge()
1123 return amount; in scan_behind_bridge()
1130 amount->not_correct = 1; in scan_behind_bridge()
1131 return amount; in scan_behind_bridge()
[all …]
/linux-3.3/drivers/watchdog/
DKconfig383 it does, it reboots your computer after a certain amount of time.
453 a certain amount of time.
466 amount of time.
508 it does, it reboots your computer after a certain amount of time.
607 amount of time.
660 amount of time.
729 and if it does, it reboots your computer after a certain amount of
765 amount of time.
797 amount of time.
812 amount of time.
[all …]
/linux-3.3/drivers/usb/gadget/
Df_mass_storage.c748 unsigned int amount; in do_read() local
784 * Try to read the remaining amount. in do_read()
788 amount = min(amount_left, FSG_BUFLEN); in do_read()
789 amount = min((loff_t)amount, in do_read()
804 if (amount == 0) { in do_read()
819 amount, &file_offset_tmp); in do_read()
820 VLDBG(curlun, "file read %u @ %llu -> %d\n", amount, in do_read()
828 } else if (nread < amount) { in do_read()
830 (int)nread, amount); in do_read()
846 if (nread < amount) { in do_read()
[all …]
Dfile_storage.c1161 unsigned int amount; in do_read() local
1193 * Try to read the remaining amount. in do_read()
1197 amount = min((unsigned int) amount_left, mod_data.buflen); in do_read()
1198 amount = min((loff_t) amount, in do_read()
1211 if (amount == 0) { in do_read()
1225 amount, &file_offset_tmp); in do_read()
1226 VLDBG(curlun, "file read %u @ %llu -> %d\n", amount, in do_read()
1236 } else if (nread < amount) { in do_read()
1238 (int) nread, amount); in do_read()
1253 if (nread < amount) { in do_read()
[all …]
/linux-3.3/fs/nilfs2/
Dbmap.c71 * %-ENOMEM - Insufficient amount of memory available.
151 * %-ENOMEM - Insufficient amount of memory available.
223 * %-ENOMEM - Insufficient amount of memory available.
277 * %-ENOMEM - Insufficient amount of memory available.
317 * %-ENOMEM - Insufficient amount of memory available.
359 * %-ENOMEM - Insufficient amount of memory available.
389 * %-ENOMEM - Insufficient amount of memory available.
481 * %-ENOMEM - Insufficient amount of memory available.
/linux-3.3/fs/squashfs/
DKconfig46 achieved and the amount of CPU time and memory necessary to
117 the filesystem. Increasing this amount may mean SquashFS
119 of extra system memory. Decreasing this amount will mean
/linux-3.3/net/bluetooth/
Daf_bluetooth.c466 long amount; in bt_sock_ioctl() local
476 amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); in bt_sock_ioctl()
477 if (amount < 0) in bt_sock_ioctl()
478 amount = 0; in bt_sock_ioctl()
479 err = put_user(amount, (int __user *) arg); in bt_sock_ioctl()
488 amount = skb ? skb->len : 0; in bt_sock_ioctl()
490 err = put_user(amount, (int __user *) arg); in bt_sock_ioctl()
/linux-3.3/drivers/scsi/
DBusLogic.h74 Define the default amount of time in seconds to wait between a Host Adapter
1267 BusLogic_IncrementByteCounter increments Byte Counter by Amount.
1271 *ByteCounter, unsigned int Amount) in BusLogic_IncrementByteCounter() argument
1273 ByteCounter->Units += Amount; in BusLogic_IncrementByteCounter()
1281 BusLogic_IncrementSizeBucket increments the Bucket for Amount.
1284 …BusLogic_IncrementSizeBucket(BusLogic_CommandSizeBuckets_T CommandSizeBuckets, unsigned int Amount) in BusLogic_IncrementSizeBucket() argument
1287 if (Amount < 8 * 1024) { in BusLogic_IncrementSizeBucket()
1288 if (Amount < 2 * 1024) in BusLogic_IncrementSizeBucket()
1289 Index = (Amount < 1 * 1024 ? 0 : 1); in BusLogic_IncrementSizeBucket()
1291 Index = (Amount < 4 * 1024 ? 2 : 3); in BusLogic_IncrementSizeBucket()
[all …]
/linux-3.3/net/mac80211/
Drc80211_pid.h24 /* Fixed point arithmetic shifting amount. */
131 * amount of smoothing introduced by the exponential moving average)
133 * amount of emphasis given to the derivative term after low activity
137 * @norm_offset: amount of normalization periodically performed on the learnt
/linux-3.3/Documentation/ABI/testing/
Dpstore37 The 'kmsg_bytes' mount option changes the target amount of
40 persistent storage until at least this amount is reached.
/linux-3.3/fs/gfs2/
Ddir.c31 * searching for one in which the amount of total space minus the amount of
149 * @size: The amount of data to write
186 unsigned int amount; in gfs2_dir_write_data() local
189 amount = size - copied; in gfs2_dir_write_data()
190 if (amount > sdp->sd_sb.sb_bsize - o) in gfs2_dir_write_data()
191 amount = sdp->sd_sb.sb_bsize - o; in gfs2_dir_write_data()
204 if (amount == sdp->sd_jbsize || new) in gfs2_dir_write_data()
213 memcpy(bh->b_data + o, buf, amount); in gfs2_dir_write_data()
216 buf += amount; in gfs2_dir_write_data()
217 copied += amount; in gfs2_dir_write_data()
[all …]
/linux-3.3/Documentation/device-mapper/
Dzero.txt12 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

12345678910>>...46