/openbmc/linux/arch/parisc/math-emu/ |
H A D | hppa.h | 14 /* 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 …]
|
/openbmc/linux/include/linux/ |
H A D | percpu_counter.h | 33 int __percpu_counter_init_many(struct percpu_counter *fbc, s64 amount, 55 void percpu_counter_set(struct percpu_counter *fbc, s64 amount); 56 void percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount, 67 static inline void percpu_counter_add(struct percpu_counter *fbc, s64 amount) in percpu_counter_add() argument 69 percpu_counter_add_batch(fbc, amount, percpu_counter_batch); in percpu_counter_add() 83 percpu_counter_add_local(struct percpu_counter *fbc, s64 amount) in percpu_counter_add_local() argument 85 percpu_counter_add_batch(fbc, amount, PERCPU_COUNTER_LOCAL_BATCH); in percpu_counter_add_local() 131 s64 amount, gfp_t gfp, in percpu_counter_init_many() argument 137 fbc[i].count = amount; in percpu_counter_init_many() 142 static inline int percpu_counter_init(struct percpu_counter *fbc, s64 amount, in percpu_counter_init() argument [all …]
|
H A D | misc_cgroup.h | 59 int misc_cg_try_charge(enum misc_res_type type, struct misc_cg *cg, u64 amount); 60 void misc_cg_uncharge(enum misc_res_type type, struct misc_cg *cg, u64 amount); 113 u64 amount) in misc_cg_try_charge() argument 120 u64 amount) in misc_cg_uncharge() argument
|
/openbmc/linux/fs/nfsd/ |
H A D | stats.h | 45 struct svc_export *exp, s64 amount) in nfsd_stats_io_read_add() argument 47 percpu_counter_add(&nn->counter[NFSD_STATS_IO_READ], amount); in nfsd_stats_io_read_add() 49 percpu_counter_add(&exp->ex_stats->counter[EXP_STATS_IO_READ], amount); in nfsd_stats_io_read_add() 53 struct svc_export *exp, s64 amount) in nfsd_stats_io_write_add() argument 55 percpu_counter_add(&nn->counter[NFSD_STATS_IO_WRITE], amount); in nfsd_stats_io_write_add() 57 percpu_counter_add(&exp->ex_stats->counter[EXP_STATS_IO_WRITE], amount); in nfsd_stats_io_write_add() 65 static inline void nfsd_stats_drc_mem_usage_add(struct nfsd_net *nn, s64 amount) in nfsd_stats_drc_mem_usage_add() argument 67 percpu_counter_add(&nn->counter[NFSD_STATS_DRC_MEM_USAGE], amount); in nfsd_stats_drc_mem_usage_add() 70 static inline void nfsd_stats_drc_mem_usage_sub(struct nfsd_net *nn, s64 amount) in nfsd_stats_drc_mem_usage_sub() argument 72 percpu_counter_sub(&nn->counter[NFSD_STATS_DRC_MEM_USAGE], amount); in nfsd_stats_drc_mem_usage_sub()
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | host_interface.hpp | 79 * @brief Returns the amount of time to wait before retrying after 82 * @return milliseconds - The amount of time to wait 90 * @brief Returns the amount of time to wait before retrying after 93 * @return milliseconds - The amount of time to wait 101 * @brief Returns the amount of time to wait before retrying if the 107 * @return milliseconds - The amount of time to wait 115 * @brief Returns the amount of time to wait after the host is up 120 * @return milliseconds - The amount of time to wait 227 * @brief The default amount of time to wait before retrying 233 * @brief The default amount of time to wait [all …]
|
/openbmc/linux/kernel/cgroup/ |
H A D | misc.c | 112 * @amount: Amount to cancel. 117 u64 amount) in misc_cg_cancel_charge() argument 119 WARN_ONCE(atomic64_add_negative(-amount, &cg->res[type].usage), in misc_cg_cancel_charge() 128 * @amount: Amount to charge. 130 * Charge @amount to the misc cgroup. Caller must use the same cgroup during 140 int misc_cg_try_charge(enum misc_res_type type, struct misc_cg *cg, u64 amount) in misc_cg_try_charge() argument 150 if (!amount) in misc_cg_try_charge() 156 new_usage = atomic64_add_return(amount, &res->usage); in misc_cg_try_charge() 172 misc_cg_cancel_charge(type, j, amount); in misc_cg_try_charge() 173 misc_cg_cancel_charge(type, i, amount); in misc_cg_try_charge() [all …]
|
/openbmc/qemu/migration/ |
H A D | migration-stats.h | 19 * Amount of time to allocate to each "chunk" of bandwidth-throttled 89 * Amount of transferred data at the start of current cycle. 93 * Maximum amount of data we can send in a cycle. 109 * migration_rate_get: Get the maximum amount that can be transferred. 123 * migration_rate_set: Set the maximum amount that can be transferred. 125 * Sets the maximum amount of bytes that can be transferred in one cycle. 127 * @new_rate: new maximum amount
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | virtio_balloon.h | 64 #define VIRTIO_BALLOON_S_SWAP_IN 0 /* Amount of memory swapped in */ 65 #define VIRTIO_BALLOON_S_SWAP_OUT 1 /* Amount of memory swapped out */ 68 #define VIRTIO_BALLOON_S_MEMFREE 4 /* Total amount of free memory */ 69 #define VIRTIO_BALLOON_S_MEMTOT 5 /* Total amount of memory */ 76 #define VIRTIO_BALLOON_S_ASYNC_SCAN 12 /* Amount of memory scanned asynchronously */ 77 #define VIRTIO_BALLOON_S_DIRECT_SCAN 13 /* Amount of memory scanned directly */ 78 #define VIRTIO_BALLOON_S_ASYNC_RECLAIM 14 /* Amount of memory reclaimed asynchronously */ 79 #define VIRTIO_BALLOON_S_DIRECT_RECLAIM 15 /* Amount of memory reclaimed directly */
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
H A 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()
|
/openbmc/qemu/include/qemu/ |
H A D | co-shared-resource.h | 2 * Helper functionality for distributing a fixed total amount of 35 * @total: total amount of some resource to be shared between clients 48 * Allocate an amount of @n, and, if necessary, yield until 54 * Deallocate an amount of @n. The total amount allocated by a caller
|
/openbmc/phosphor-health-monitor/ |
H A D | bmc_health_config_json.md | 22 - This indicates the amount of un-used memory. 24 - This indicates the amount of memory being shared between processes within 27 - This indicates the amount of memory being used for caching and temporary 30 - This indicates the amount of available storage space 32 - This indicates the amount of available space for type depicted by `<xxx>`
|
/openbmc/linux/sound/pci/ctxfi/ |
H A D | ctresource.c | 23 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() 205 unsigned int amount, struct hw *hw) in rsc_mgr_init() argument 211 mgr->rscs = kzalloc(DIV_ROUND_UP(amount, 8), GFP_KERNEL); in rsc_mgr_init() 244 mgr->avail = mgr->amount = amount; in rsc_mgr_init() 286 mgr->avail = mgr->amount = 0; in rsc_mgr_uninit()
|
H A D | ctresource.h | 55 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);
|
/openbmc/linux/drivers/comedi/ |
H A D | comedi_buf.c | 334 * data buffer associated with the subdevice. The amount reserved is limited 337 * Return: The amount of space reserved in bytes. 420 * COMEDI acquisition data buffer associated with the subdevice. The amount of 421 * space freed is limited to the amount that was reserved. The freed space is 427 * Return: The amount of space freed in bytes. 449 * comedi_buf_read_n_available() - Determine amount of readable buffer space 452 * Determine the amount of readable buffer space in the COMEDI acquisition data 457 * Return: The amount of readable buffer space. 486 * subdevice. The amount reserved is limited to the space available. The 489 * the amount of readable data available, but the space needs to be marked as [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bo5039.c | 52 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()
|
/openbmc/linux/lib/ |
H A D | linear_ranges.c | 18 * 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
|
H A 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() 87 void percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount, s32 batch) in percpu_counter_add_batch() argument 93 count = __this_cpu_read(*fbc->counters) + amount; in percpu_counter_add_batch() 97 __this_cpu_sub(*fbc->counters, count - amount); in percpu_counter_add_batch() 100 this_cpu_add(*fbc->counters, amount); in percpu_counter_add_batch() 154 int __percpu_counter_init_many(struct percpu_counter *fbc, s64 amount, in __percpu_counter_init_many() argument 177 fbc[i].count = amount; in __percpu_counter_init_many()
|
/openbmc/linux/fs/ubifs/ |
H A D | budget.c | 17 * 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 87 * amount of bytes UBIFS has "promised" to write to the media. 157 * ubifs_calc_min_idx_lebs - calculate amount of LEBs for the index. 192 * This function calculates and returns amount of FS space available for use. 275 * be able to commit dirty index. So this function basically adds amount of 277 * and makes sure this does not exceed the amount of free LEBs. 369 * calc_data_growth - calculate approximate amount of new data from budgeting 389 * calc_dd_growth - calculate approximate amount of data which makes other data [all …]
|
/openbmc/u-boot/fs/ubifs/ |
H A D | budget.c | 17 * impossible to accurately predict the amount of space needed. Consequently 38 * The below constant defines amount of dirty pages which should be written 49 * This function shrinks UBIFS liability by means of writing back some amount 95 * amount of bytes UBIFS has "promised" to write to the media. 166 * ubifs_calc_min_idx_lebs - calculate amount of LEBs for the index. 202 * This function calculates and returns amount of FS space available for use. 286 * be able to commit dirty index. So this function basically adds amount of 288 * and makes sure this does not exceed the amount of free LEBs. 380 * calc_data_growth - calculate approximate amount of new data from budgeting 400 * calc_dd_growth - calculate approximate amount of data which makes other data [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-wakeup | 46 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
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | ManagerDiagnosticData.v1_2_3.json | 351 …"description": "The amount of memory available in bytes for starting new processes without swappin… 352 …"longDescription": "This property shall contain the amount of memory available in bytes for starti… 361 … "description": "The amount of memory used in bytes by kernel buffers, page caches, and slabs.", 362 …"longDescription": "This property shall contain the amount of memory used in bytes by kernel buffe… 371 "description": "The amount of free memory in bytes.", 372 … "longDescription": "This property shall contain the amount of free memory in bytes.", 381 "description": "The amount of shared memory in bytes.", 382 …"longDescription": "This property shall contain the amount of shared memory in bytes. This includ… 391 "description": "The total amount of memory in bytes.", 392 … "longDescription": "This property shall contain the total amount of memory in bytes.", [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | ManagerDiagnosticData.v1_2_3.json | 351 …"description": "The amount of memory available in bytes for starting new processes without swappin… 352 …"longDescription": "This property shall contain the amount of memory available in bytes for starti… 361 … "description": "The amount of memory used in bytes by kernel buffers, page caches, and slabs.", 362 …"longDescription": "This property shall contain the amount of memory used in bytes by kernel buffe… 371 "description": "The amount of free memory in bytes.", 372 … "longDescription": "This property shall contain the amount of free memory in bytes.", 381 "description": "The amount of shared memory in bytes.", 382 …"longDescription": "This property shall contain the amount of shared memory in bytes. This includ… 391 "description": "The total amount of memory in bytes.", 392 … "longDescription": "This property shall contain the total amount of memory in bytes.", [all …]
|
/openbmc/linux/Documentation/mm/ |
H A D | overcommit-accounting.rst | 22 system is not permitted to exceed swap + a configurable amount 23 (default is 50%) of physical RAM. Depending on the amount you 34 The overcommit amount can be set via ``vm.overcommit_ratio`` (percentage) 38 The current overcommit limit and amount committed are viewable in
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | mocks.hpp | 135 * @brief Returns the amount of time to wait before retrying after 138 * @return milliseconds - The amount of time to wait 146 * @brief Returns the amount of time to wait before retrying after 149 * @return milliseconds - The amount of time to wait 157 * @brief Returns the amount of time to wait before retrying if the 161 * @return milliseconds - The amount of time to wait 169 * @brief Returns the amount of time to wait after the host is up 172 * @return milliseconds - The amount of time to wait
|
/openbmc/phosphor-dbus-interfaces/yaml/org/freedesktop/UPower/ |
H A D | Device.interface.yaml | 27 "The amount of data to return in seconds, or 0 for all." 142 "Amount of energy (measured in Wh) currently available in the power 149 "Amount of energy (measured in Wh) in the power source when it's 156 "Amount of energy (measured in Wh) in the power source when it's 163 "Amount of energy (measured in Wh) the power source is designed to 170 "Amount of energy being drained from the source, measured in W. If 202 "The amount of energy left in the power source expressed as a
|