Searched refs:counter (Results 226 - 250 of 676) sorted by relevance

1234567891011>>

/linux-master/arch/arm/mm/
H A Dcontext.c59 context_id = mm->context.id.counter;
67 asid = per_cpu(active_asids, cpu).counter;
/linux-master/arch/xtensa/include/asm/
H A Datomic.h46 #define arch_atomic_read(v) READ_ONCE((v)->counter)
55 #define arch_atomic_set(v,i) WRITE_ONCE((v)->counter, (i))
/linux-master/arch/arm64/include/asm/
H A Datomic.h102 #define arch_atomic_read(v) __READ_ONCE((v)->counter)
103 #define arch_atomic_set(v, i) __WRITE_ONCE(((v)->counter), (i))
/linux-master/arch/powerpc/crypto/
H A Dchacha-p10le-8x.S610 lxvw4x 51, 19, 3 # vr19, counter, nonce
619 vsldoi 30, 4, 5, 8 # vr30 counter, 4 (0, 1, 2, 3)
645 vadduwm 31, 30, 25 # counter = (0, 1, 2, 3) + (4, 4, 4, 4)
675 vadduwm 12, 12, 30 # increase counter
692 vadduwm 28, 28, 31 # increase counter
767 lxvw4x 51, 19, 3 # vr19, counter, nonce
794 vadduwm 12, 12, 30 # increase counter
816 # Update state counter
H A Daes-gcm-p10-glue.c116 __be32 counter = cpu_to_be32(1); local
122 *((__be32 *)(iv+12)) = counter;
127 * Encrypt counter vector as iv tag and increment counter.
131 counter = cpu_to_be32(2);
132 *((__be32 *)(iv+12)) = counter;
/linux-master/drivers/misc/
H A Dphantom.c50 atomic_t counter; member in struct:phantom_device
70 atomic_set(&dev->counter, 0);
175 atomic_set(&dev->counter, 0);
236 atomic_set(&dev->counter, 0);
263 pr_debug("phantom_poll: %d\n", atomic_read(&dev->counter));
268 else if (atomic_read(&dev->counter))
271 pr_debug("phantom_poll end: %x/%d\n", mask, atomic_read(&dev->counter));
316 atomic_inc(&dev->counter);
/linux-master/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.h179 __le32 counter; member in struct:sec_sqe_type2
403 __le32 counter; member in struct:sec_sqe3
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dmonitor_stats.c91 monitor_counter[cnt].counter,
103 monitor_counter[cnt].counter,
H A Dtc_ct.c137 struct mlx5_fc *counter; member in struct:mlx5_ct_counter
150 struct mlx5_ct_counter *counter; member in struct:mlx5_ct_entry
501 if (entry->counter->is_shared &&
502 !refcount_dec_and_test(&entry->counter->refcount))
505 mlx5_fc_destroy(ct_priv->dev, entry->counter->counter);
506 kfree(entry->counter);
834 attr->counter = entry->counter->counter;
1010 struct mlx5_ct_counter *counter; local
[all...]
/linux-master/sound/soc/sof/
H A Dipc3-dtrace.c47 int capacity, int *counter)
49 if (*counter >= capacity)
52 elem_list[*counter].key = key;
53 elem_list[*counter].value = value;
54 ++*counter;
61 int capacity, int *counter)
65 int cnt = *counter;
104 /* update counter only when parsing whole entry passed */
105 *counter = cnt;
45 trace_filter_append_elem(struct snd_sof_dev *sdev, u32 key, u32 value, struct sof_ipc_trace_filter_elem *elem_list, int capacity, int *counter) argument
59 trace_filter_parse_entry(struct snd_sof_dev *sdev, const char *line, struct sof_ipc_trace_filter_elem *elem, int capacity, int *counter) argument
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_acl_flex_actions.c681 struct mlxsw_afa_counter *counter)
683 mlxsw_afa_resource_del(&counter->resource);
685 counter->counter_index);
686 kfree(counter);
693 struct mlxsw_afa_counter *counter; local
695 counter = container_of(resource, struct mlxsw_afa_counter, resource);
696 mlxsw_afa_counter_destroy(block, counter);
702 struct mlxsw_afa_counter *counter; local
705 counter = kzalloc(sizeof(*counter), GFP_KERNE
680 mlxsw_afa_counter_destroy(struct mlxsw_afa_block *block, struct mlxsw_afa_counter *counter) argument
1783 struct mlxsw_afa_counter *counter; local
[all...]
/linux-master/drivers/net/wireguard/
H A Dmessages.h108 __le64 counter; member in struct:message_data
/linux-master/fs/ecryptfs/
H A Dmessaging.c75 msg_ctx->counter = ++ecryptfs_msg_counter;
228 } else if (msg_ctx->counter != seq) {
232 msg_ctx->counter, seq);
396 ecryptfs_msg_ctx_arr[i].counter = 0;
/linux-master/include/asm-generic/
H A Datomic64.h13 s64 counter; member in struct:__anon521
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_mksstat.h127 atomic64_inc(&pstat[kern_cntr].counter.count); \
/linux-master/drivers/staging/nvec/
H A Dnvec_power.c340 static int counter; variable
354 if (counter >= ARRAY_SIZE(bat_iter))
355 counter = 0;
366 buf[1] = bat_iter[counter++];
/linux-master/drivers/infiniband/hw/mlx5/
H A Dqp.h56 int mlx5_ib_qp_set_counter(struct ib_qp *qp, struct rdma_counter *counter);
/linux-master/tools/testing/selftests/bpf/
H A Dbench.h62 struct counter { struct
/linux-master/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.h80 struct mlx5_fc *counter; member in struct:mlx5_vdpa_counter
/linux-master/fs/nfsd/
H A Dexport.h60 struct percpu_counter counter[EXP_STATS_COUNTERS_NUM]; member in struct:export_stats
/linux-master/arch/s390/mm/
H A Dcmm.c62 static long cmm_alloc_pages(long nr, long *counter, argument
95 (*counter)++;
102 static long cmm_free_pages(long nr, long *counter, struct cmm_page_array **list) argument
119 (*counter)--;
/linux-master/drivers/gpu/drm/loongson/
H A Dlsdc_pixpll.c378 unsigned int counter = 0; local
386 ++counter;
387 } while (counter < 2000);
389 drm_dbg(this->ddev, "%u loop waited\n", counter);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtimer.c12 int counter; member in struct:hmap_elem
174 if (val->counter > 0 && --val->counter) {
256 init.counter = 10; /* number of times to trigger timer_cb2 */
/linux-master/tools/testing/selftests/powerpc/tm/
H A Dtm-unavailable.c96 uint64_t counter = 0x1ff000000; local
141 " mtctr %[counter] ;"
220 [counter] "r" (counter)
/linux-master/drivers/net/ethernet/engleder/
H A Dtsnep_ptp.c187 u64 counter; local
198 counter = (((u64)high) << 32) | ((u64)low);
200 *ts = ns_to_timespec64(counter);

Completed in 397 milliseconds

1234567891011>>