Home
last modified time | relevance | path

Searched refs:atomic_long_set (Results 1 – 25 of 62) sorted by relevance

123

/linux-6.6.21/kernel/printk/
Dprintk_ringbuffer.c534 atomic_long_set(&desc_out->state_var, state_val); in desc_read()
1457 atomic_long_set(&desc_ring->last_finalized_id, id); in desc_make_final()
1671 atomic_long_set(&desc_ring->last_finalized_id, e->id); in prb_final_commit()
2086 atomic_long_set(&rb->desc_ring.head_id, DESC0_ID(descbits)); in prb_init()
2087 atomic_long_set(&rb->desc_ring.tail_id, DESC0_ID(descbits)); in prb_init()
2088 atomic_long_set(&rb->desc_ring.last_finalized_id, DESC0_ID(descbits)); in prb_init()
2092 atomic_long_set(&rb->text_data_ring.head_lpos, BLK0_LPOS(textbits)); in prb_init()
2093 atomic_long_set(&rb->text_data_ring.tail_lpos, BLK0_LPOS(textbits)); in prb_init()
2095 atomic_long_set(&rb->fail, 0); in prb_init()
2097 atomic_long_set(&(descs[_DESCS_COUNT(descbits) - 1].state_var), DESC0_SV(descbits)); in prb_init()
/linux-6.6.21/arch/riscv/mm/
Dcontext.c182 atomic_long_set(&mm->context.id, cntx); in set_mm_asid()
188 atomic_long_set(&per_cpu(active_context, cpu), cntx); in set_mm_asid()
258 atomic_long_set(&current_version, num_asids); in asids_init()
/linux-6.6.21/tools/include/linux/
Datomic.h7 void atomic_long_set(atomic_long_t *v, long i);
/linux-6.6.21/tools/testing/memblock/
Dmmzone.c18 void atomic_long_set(atomic_long_t *v, long i) in atomic_long_set() function
/linux-6.6.21/arch/riscv/include/asm/
Dmmu_context.h31 atomic_long_set(&mm->context.id, 0); in init_new_context()
/linux-6.6.21/include/linux/
Dpage_counter.h50 atomic_long_set(&counter->usage, 0); in page_counter_init()
Dproc_ns.h69 atomic_long_set(&ns->stashed, 0); in ns_alloc_inum()
/linux-6.6.21/include/drm/
Dspsc_queue.h51 atomic_long_set(&queue->tail, (long)&queue->head); in spsc_queue_init()
/linux-6.6.21/drivers/md/bcache/
Dsysfs.c325 atomic_long_set(&dc->writeback_rate.rate, v); in STORE()
854 atomic_long_set(&c->writeback_keys_done, 0); in STORE()
855 atomic_long_set(&c->writeback_keys_failed, 0); in STORE()
1177 atomic_long_set(&ca->sectors_written, 0); in STORE()
1178 atomic_long_set(&ca->btree_sectors_written, 0); in STORE()
1179 atomic_long_set(&ca->meta_sectors_written, 0); in STORE()
Dwriteback.c156 atomic_long_set(&dc->writeback_rate.rate, new_rate); in __update_writeback_rate()
224 atomic_long_set(&dc->writeback_rate.rate, INT_MAX); in set_at_max_writeback_rate()
1059 atomic_long_set(&dc->writeback_rate.rate, 1024); in bch_cached_dev_writeback_init()
/linux-6.6.21/include/asm-generic/
Dlocal.h30 #define local_set(l,i) atomic_long_set((&(l)->a),(i))
/linux-6.6.21/kernel/
Dcred.c176 atomic_long_set(&new->usage, 1); in cred_alloc_blank()
217 atomic_long_set(&new->usage, 1); in prepare_creds()
644 atomic_long_set(&new->usage, 1); in prepare_kernel_cred()
/linux-6.6.21/kernel/locking/
Drwsem.c143 atomic_long_set(&sem->owner, (long)current); in rwsem_set_owner()
149 atomic_long_set(&sem->owner, 0); in rwsem_clear_owner()
176 atomic_long_set(&sem->owner, val); in __rwsem_set_reader_owned()
323 atomic_long_set(&sem->count, RWSEM_UNLOCKED_VALUE); in __init_rwsem()
326 atomic_long_set(&sem->owner, 0L); in __init_rwsem()
/linux-6.6.21/include/net/page_pool/
Dhelpers.h110 atomic_long_set(&page->pp_frag_count, nr); in page_pool_fragment_page()
/linux-6.6.21/arch/alpha/include/asm/
Dlocal.h15 #define local_set(l,i) atomic_long_set(&(l)->a, (i))
/linux-6.6.21/net/smc/
Dsmc_wr.h59 atomic_long_set(wr_tx_id, val); in smc_wr_tx_set_wr_id()
/linux-6.6.21/arch/loongarch/include/asm/
Dlocal.h20 #define local_set(l, i) atomic_long_set(&(l)->a, (i))
/linux-6.6.21/arch/x86/include/asm/
Dlocal.h17 #define local_set(l, i) atomic_long_set(&(l)->a, (i))
/linux-6.6.21/arch/mips/include/asm/
Dlocal.h20 #define local_set(l, i) atomic_long_set(&(l)->a, (i))
/linux-6.6.21/mm/
Dpage_counter.c58 atomic_long_set(&counter->usage, new); in page_counter_cancel()
Dswap_state.c358 atomic_long_set(&vma->swap_readahead_info, in swap_cache_get_folio()
740 atomic_long_set(&vma->swap_readahead_info, in swap_ra_info()
/linux-6.6.21/fs/nfs/
Dnfs42xattr.c297 atomic_long_set(&cache->nent, 0); in nfs4_xattr_alloc_cache()
406 atomic_long_set(&cache->nent, 0); in nfs4_xattr_discard_cache()
987 atomic_long_set(&cache->nent, 0); in nfs4_xattr_cache_init_once()
/linux-6.6.21/lib/
Dpercpu-refcount.c98 atomic_long_set(&data->count, start_count); in percpu_ref_init()
/linux-6.6.21/fs/
Dnsfs.c41 atomic_long_set(&ns->stashed, 0); in ns_prune_dentry()
/linux-6.6.21/drivers/tty/
Dtty_ldsem.c67 atomic_long_set(&sem->count, LDSEM_UNLOCKED); in __init_ldsem()

123