/linux-master/tools/iio/ |
H A D | iio_utils.c | 311 * @counter: output the amount of array elements 316 struct iio_channel_info **ci_array, int *counter) 327 *counter = 0; 364 (*counter)++; 373 *ci_array = malloc(sizeof(**ci_array) * (*counter)); 512 bsort_channel_array_by_index(*ci_array, *counter); 523 *counter = 0; 315 build_channel_array(const char *device_dir, int buffer_idx, struct iio_channel_info **ci_array, int *counter) argument
|
/linux-master/drivers/rtc/ |
H A D | rtc-gamecube.c | 6 * SRAM storage. The value returned by the RTC counter must be added with the 165 u32 counter; local 168 ret = regmap_read(d->regmap, RTC_COUNTER, &counter); 172 /* Add the counter and the bias to obtain the timestamp */ 173 timestamp = (time64_t)d->rtc_bias + counter; 184 /* Subtract the timestamp and the bias to obtain the counter value */
|
/linux-master/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_i2c_sw.c | 375 uint32_t counter = 0; local 390 ++counter; 391 } while (counter < 2);
|
/linux-master/include/linux/ |
H A D | quota.h | 267 struct percpu_counter counter[_DQST_DQSTAT_LAST]; member in struct:dqstats 274 percpu_counter_inc(&dqstats.counter[type]); 279 percpu_counter_dec(&dqstats.counter[type]);
|
/linux-master/net/openvswitch/ |
H A D | flow_table.c | 196 * zero based counter we store the value at reset, and subtract it 205 u64 counter; local 210 counter = stats->usage_cntrs[i]; 213 ma->masks_usage_zero_cntr[i] += counter; 1101 return (s64)mc_b->counter - (s64)mc_a->counter; 1128 masks_and_count[i].counter = 0; 1133 u64 counter; local 1138 counter = stats->usage_cntrs[i]; 1141 masks_and_count[i].counter [all...] |
H A D | flow_table.h | 38 u64 counter; member in struct:mask_count
|
/linux-master/fs/bcachefs/ |
H A D | journal.h | 262 }).v, &j->reservations.counter); 330 u64 v = atomic64_read(&j->reservations.counter); 359 } while ((v = atomic64_cmpxchg(&j->reservations.counter,
|
/linux-master/tools/testing/selftests/bpf/benchs/ |
H A D | bench_trigger.c | 67 static struct counter base_hits[MAX_BUCKETS]; 69 static __always_inline void inc_counter(struct counter *counters) 84 static long sum_and_reset_counters(struct counter *counters)
|
H A D | bench_rename.c | 10 struct counter hits;
|
/linux-master/tools/testing/selftests/net/netfilter/ |
H A D | nft_fib.sh | 42 fib saddr . iif oif missing counter log prefix "$netns nft_rpfilter: " drop 69 ip daddr 1.1.1.1 fib saddr . iif oif missing counter drop 70 ip6 daddr 1c3::c01d fib saddr . iif oif missing counter drop 92 echo "Netns $ns fib counter doesn't match expected packet count of $want for $address" 1>&2
|
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | qt202x_phy.c | 80 int counter; local 84 counter = ((reg >> PCS_FW_HEARTB_LBN) & 87 old_counter = counter; 88 else if (counter != old_counter)
|
/linux-master/drivers/net/wireguard/ |
H A D | noise.h | 19 u64 counter; member in struct:noise_replay_counter
|
/linux-master/drivers/gpu/drm/msm/adreno/ |
H A D | a5xx_gpu.h | 104 * @counter: GPU address of the storage area for the performance counters 115 uint64_t counter; member in struct:a5xx_preempt_record 128 * The preemption counter block is a storage area for the value of the
|
/linux-master/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_compressor.c | 83 /* Only if CRTC is enabled and counter is moving we wait for one frame. */ 114 uint32_t counter = 0; local 118 while (counter < 1000) { 126 counter++; 129 if (counter == 1000) { 130 DC_LOG_WARNING("%s: wait counter exceeded, changes to HW not applied",
|
/linux-master/drivers/net/ethernet/alacritech/ |
H A D | slic.h | 284 #define SLIC_INC_STATS_COUNTER(st, counter) \ 287 (st)->counter++; \ 291 #define SLIC_GET_STATS_COUNTER(newst, st, counter) \ 296 newst = (st)->counter; \
|
/linux-master/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api_debugfs_kunit.c | 144 admin->cache.counter = test_hw_cache.counter; 185 test_hw_cache.counter = admin->cache.counter;
|
H A D | vcap_api_private.h | 36 u32 counter_id; /* counter id (if a dedicated counter is available) */ 37 struct vcap_counter counter; /* last read counter value */ member in struct:vcap_rule_internal
|
/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | ppevvmath.h | 401 int seed, counter, error; local 422 counter = 0; 431 counter++; 445 if (counter > 20) /*20 is already way too many iterations. If we dont have an answer by then, we never will*/
|
/linux-master/arch/alpha/lib/ |
H A D | clear_user.S | 73 addq $0, $4, $1 # e0 : bias counter
|
/linux-master/drivers/perf/ |
H A D | marvell_cn10k_tad_pmu.c | 18 #define TAD_PFC(counter) (TAD_PFC_OFFSET | (counter << 3)) 20 #define TAD_PRF(counter) (TAD_PRF_OFFSET | (counter << 3)) 122 /* Get a free counter for this event */
|
/linux-master/tools/perf/util/bpf_skel/vmlinux/ |
H A D | vmlinux.h | 50 s64 counter; member in struct:__anon1590
|
/linux-master/arch/arm64/kvm/ |
H A D | pmu-emul.c | 80 * kvm_pmc_is_64bit - determine if counter is 64bit 81 * @pmc: counter context 118 u64 counter, reg, enabled, running; local 121 counter = __vcpu_sys_reg(vcpu, reg); 124 * The real counter value is equal to the value of counter register plus 128 counter += perf_event_read_value(pmc->perf_event, &enabled, 132 counter = lower_32_bits(counter); 134 return counter; 482 compute_period(struct kvm_pmc *pmc, u64 counter) argument [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | wq.c | 13 int counter; member in struct:hmap_elem
|
/linux-master/fs/nfsd/ |
H A D | netns.h | 181 struct percpu_counter counter[NFSD_STATS_COUNTERS_NUM]; member in struct:nfsd_net
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ipsec_fs.c | 189 "Failed to add ipsec rx status drop rule counter, err=%d\n", err); 221 "Failed to add ipsec rx status drop rule counter, err=%d\n", err); 271 "Failed to add ipsec rx status drop rule counter, err=%d\n", err); 345 "Failed to add ipsec rx status drop rule counter, err=%d\n", err); 881 mlx5_core_err(mdev, "Fail to add ipsec tx counter rule err=%d\n", err); 1590 struct mlx5_fc *counter; local 1636 counter = mlx5_fc_create(mdev, true); 1637 if (IS_ERR(counter)) { 1638 err = PTR_ERR(counter); 1653 dest[1].counter_id = mlx5_fc_id(counter); 1709 struct mlx5_fc *counter; local 1973 struct mlx5_fc *counter; local [all...] |