Home
last modified time | relevance | path

Searched refs:atomic64_set (Results 1 – 25 of 143) sorted by relevance

123456

/linux-6.6.21/arch/arm64/kvm/
Dvmid.c102 atomic64_set(&kvm_vmid->id, newvmid); in new_vmid()
107 atomic64_set(&kvm_vmid->id, newvmid); in new_vmid()
128 atomic64_set(&kvm_vmid->id, vmid); in new_vmid()
135 atomic64_set(this_cpu_ptr(&active_vmids), VMID_ACTIVE_INVALID); in kvm_arm_vmid_clear_active()
168 atomic64_set(this_cpu_ptr(&active_vmids), vmid); in kvm_arm_vmid_update()
184 atomic64_set(&vmid_generation, VMID_FIRST_VERSION); in kvm_arm_vmid_alloc_init()
/linux-6.6.21/kernel/dma/
Dmap_benchmark.c129 atomic64_set(&map->sum_map_100ns, 0); in do_map_benchmark()
130 atomic64_set(&map->sum_unmap_100ns, 0); in do_map_benchmark()
131 atomic64_set(&map->sum_sq_map, 0); in do_map_benchmark()
132 atomic64_set(&map->sum_sq_unmap, 0); in do_map_benchmark()
133 atomic64_set(&map->loops, 0); in do_map_benchmark()
/linux-6.6.21/arch/csky/mm/
Dasid.c148 atomic64_set(pasid, asid); in asid_new_context()
154 atomic64_set(&active_asid(info, cpu), asid); in asid_new_context()
180 atomic64_set(&info->generation, ASID_FIRST_VERSION(info)); in asid_allocator_init()
/linux-6.6.21/arch/arm64/mm/
Dcontext.c251 atomic64_set(&mm->context.id, asid); in check_and_switch_context()
258 atomic64_set(this_cpu_ptr(&active_asids), asid); in check_and_switch_context()
299 atomic64_set(&mm->context.id, asid); in arm64_mm_context_get()
404 atomic64_set(&asid_generation, ASID_FIRST_VERSION); in asids_init()
/linux-6.6.21/kernel/cgroup/
Dpids.c78 atomic64_set(&pids->counter, 0); in pids_css_alloc()
79 atomic64_set(&pids->limit, PIDS_MAX); in pids_css_alloc()
80 atomic64_set(&pids->events_limit, 0); in pids_css_alloc()
308 atomic64_set(&pids->limit, limit); in pids_max_write()
/linux-6.6.21/drivers/infiniband/hw/erdma/
Derdma_eq.c98 atomic64_set(&eq->event_num, 0); in erdma_aeq_init()
99 atomic64_set(&eq->notify_num, 0); in erdma_aeq_init()
242 atomic64_set(&eq->event_num, 0); in erdma_ceq_init_one()
243 atomic64_set(&eq->notify_num, 0); in erdma_ceq_init_one()
/linux-6.6.21/drivers/net/wireguard/
Dsend.c29 atomic64_set(&peer->last_sent_handshake, ktime_get_coarse_boottime_ns()); in wg_packet_send_handshake_initiation()
38 atomic64_set(&peer->last_sent_handshake, in wg_packet_send_handshake_initiation()
89 atomic64_set(&peer->last_sent_handshake, ktime_get_coarse_boottime_ns()); in wg_packet_send_handshake_response()
101 atomic64_set(&peer->last_sent_handshake, in wg_packet_send_handshake_response()
/linux-6.6.21/arch/s390/kernel/
Dvtime.c305 atomic64_set(&virt_timer_current, timer->expires); in virt_timer_expire()
341 atomic64_set(&virt_timer_current, timer->expires); in internal_add_vtimer()
342 atomic64_set(&virt_timer_elapsed, 0); in internal_add_vtimer()
350 atomic64_set(&virt_timer_current, timer->expires); in internal_add_vtimer()
/linux-6.6.21/net/netfilter/
Dnft_quota.c97 atomic64_set(&priv->quota, quota); in nft_quota_do_init()
99 atomic64_set(priv->consumed, consumed); in nft_quota_do_init()
127 atomic64_set(&priv->quota, newquota); in nft_quota_obj_update()
Dnfnetlink_acct.c89 atomic64_set(&matching->pkts, 0); in nfnl_acct_new()
90 atomic64_set(&matching->bytes, 0); in nfnl_acct_new()
129 atomic64_set(&nfacct->bytes, in nfnl_acct_new()
133 atomic64_set(&nfacct->pkts, in nfnl_acct_new()
/linux-6.6.21/arch/arm/mm/
Dcontext.c262 atomic64_set(&mm->context.id, asid); in check_and_switch_context()
270 atomic64_set(&per_cpu(active_asids, cpu), asid); in check_and_switch_context()
/linux-6.6.21/include/net/
Dtls.h442 atomic64_set(&rx_ctx->resync_req, ((u64)ntohl(seq) << 32) | RESYNC_REQ); in tls_offload_rx_resync_request()
452 atomic64_set(&rx_ctx->resync_async->req, ((u64)ntohl(seq) << 32) | in tls_offload_rx_resync_async_request_start()
464 atomic64_set(&rx_ctx->resync_async->req, in tls_offload_rx_resync_async_request_end()
/linux-6.6.21/net/smc/
Dsmc_cdc.h112 atomic64_set(&tgt->acurs, atomic64_read(&src->acurs)); in smc_curs_copy()
127 atomic64_set(&tgt->acurs, atomic64_read(&src->acurs)); in smc_curs_copy_net()
142 atomic64_set(&tgt->acurs, atomic64_read(&src->acurs)); in smcd_curs_copy()
/linux-6.6.21/arch/csky/include/asm/
Dmmu_context.h19 #define init_new_context(tsk,mm) ({ atomic64_set(&(mm)->context.asid, 0); 0; })
/linux-6.6.21/kernel/trace/
Dtracing_map.c73 atomic64_set(&elt->vars[i], n); in tracing_map_set_var()
364 atomic64_set(&elt->fields[i].sum, 0); in tracing_map_elt_clear()
367 atomic64_set(&elt->vars[i], 0); in tracing_map_elt_clear()
703 atomic64_set(&map->hits, 0); in tracing_map_clear()
704 atomic64_set(&map->drops, 0); in tracing_map_clear()
/linux-6.6.21/drivers/crypto/cavium/nitrox/
Dnitrox_main.c486 atomic64_set(&ndev->stats.posted, 0); in nitrox_probe()
487 atomic64_set(&ndev->stats.completed, 0); in nitrox_probe()
488 atomic64_set(&ndev->stats.dropped, 0); in nitrox_probe()
/linux-6.6.21/include/linux/
Diversion.h113 atomic64_set(&inode->i_version, val); in inode_set_iversion_raw()
/linux-6.6.21/fs/ceph/
Dmetric.c243 atomic64_set(&m->total_dentries, 0); in ceph_metric_init()
252 atomic64_set(&m->total_caps, 0); in ceph_metric_init()
275 atomic64_set(&m->opened_files, 0); in ceph_metric_init()
/linux-6.6.21/drivers/scsi/fnic/
Dfnic_scsi.c222 atomic64_set(&fnic->fnic_stats.fw_stats.max_fw_reqs, in fnic_fw_reset_handler()
293 atomic64_set(&fnic->fnic_stats.fw_stats.max_fw_reqs, in fnic_flogi_reg_handler()
399 atomic64_set(&fnic->fnic_stats.fw_stats.max_fw_reqs, in fnic_queue_wq_copy_desc()
580 atomic64_set(&fnic_stats->io_stats.max_active_ios, in fnic_queuecommand_lck()
629 atomic64_set(&fnic->fnic_stats.fw_stats.active_fw_reqs, 0); in DEF_SCSI_QCMD()
630 atomic64_set(&fnic->fnic_stats.io_stats.active_ios, 0); in DEF_SCSI_QCMD()
631 atomic64_set(&fnic->io_cmpl_skip, 0); in DEF_SCSI_QCMD()
1038 atomic64_set(&fnic_stats->io_stats.current_max_io_time, io_duration_time); in fnic_fcpio_icmnd_cmpl_handler()
1346 atomic64_set(&misc_stats->max_isr_jiffies, in fnic_wq_copy_cmpl_handler()
1349 atomic64_set(&misc_stats->max_isr_time_ms, delta_ms); in fnic_wq_copy_cmpl_handler()
[all …]
/linux-6.6.21/drivers/scsi/snic/
Dsnic_io.c194 atomic64_set(&fwstats->max_actv_reqs, act_reqs); in snic_queue_wq_desc()
252 atomic64_set(&snic->s_stats.io.max_sgl, sg_cnt); in snic_req_init()
554 atomic64_set(&snic->s_stats.io.max_time, duration); in snic_calc_io_process_time()
/linux-6.6.21/fs/btrfs/
Ddev-replace.c119 atomic64_set(&dev_replace->num_write_errors, 0); in btrfs_init_dev_replace()
120 atomic64_set(&dev_replace->num_uncorrectable_read_errors, 0); in btrfs_init_dev_replace()
149 atomic64_set(&dev_replace->num_write_errors, in btrfs_init_dev_replace()
151 atomic64_set(&dev_replace->num_uncorrectable_read_errors, in btrfs_init_dev_replace()
682 atomic64_set(&dev_replace->num_write_errors, 0); in btrfs_dev_replace_start()
683 atomic64_set(&dev_replace->num_uncorrectable_read_errors, 0); in btrfs_dev_replace_start()
/linux-6.6.21/arch/arm/include/asm/
Dmmu_context.h44 atomic64_set(&mm->context.id, 0); in init_new_context()
/linux-6.6.21/block/
Dblk-cgroup-rwstat.c19 atomic64_set(&rwstat->aux_cnt[i], 0); in blkg_rwstat_init()
/linux-6.6.21/fs/xfs/
Dxfs_log_priv.h547 atomic64_set(lsn, xlog_assign_lsn(cycle, block)); in xlog_assign_atomic_lsn()
577 atomic64_set(head, xlog_assign_grant_head_val(cycle, space)); in xlog_assign_grant_head()
/linux-6.6.21/lib/
Datomic64_test.c146 #define INIT(c) do { atomic64_set(&v, c); r = c; } while (0)
161 atomic64_set(&v, v1); in test_atomic64()

123456