/linux-6.12.1/fs/bcachefs/ |
D | btree_key_cache.h | 7 size_t nr_dirty = atomic_long_read(&c->btree_key_cache.nr_dirty); in bch2_nr_btree_keys_need_flush() 8 size_t nr_keys = atomic_long_read(&c->btree_key_cache.nr_keys); in bch2_nr_btree_keys_need_flush() 16 size_t nr_dirty = atomic_long_read(&c->btree_key_cache.nr_dirty); in __bch2_btree_key_cache_must_wait() 17 size_t nr_keys = atomic_long_read(&c->btree_key_cache.nr_keys); in __bch2_btree_key_cache_must_wait() 30 size_t nr_dirty = atomic_long_read(&c->btree_key_cache.nr_dirty); in bch2_btree_key_cache_wait_done() 31 size_t nr_keys = atomic_long_read(&c->btree_key_cache.nr_keys); in bch2_btree_key_cache_wait_done()
|
D | two_state_shared_lock.h | 30 EBUG_ON(atomic_long_read(&lock->v) == 0); in bch2_two_state_unlock() 41 old = atomic_long_read(&lock->v); in bch2_two_state_trylock()
|
D | btree_key_cache.c | 677 long nr = atomic_long_read(&bc->nr_keys) - in bch2_btree_key_cache_count() 678 atomic_long_read(&bc->nr_dirty); in bch2_btree_key_cache_count() 705 while (atomic_long_read(&bc->nr_keys)) { in bch2_fs_btree_key_cache_exit() 728 if (atomic_long_read(&bc->nr_dirty) && in bch2_fs_btree_key_cache_exit() 732 atomic_long_read(&bc->nr_dirty)); in bch2_fs_btree_key_cache_exit() 734 if (atomic_long_read(&bc->nr_keys)) in bch2_fs_btree_key_cache_exit() 736 atomic_long_read(&bc->nr_keys)); in bch2_fs_btree_key_cache_exit() 787 prt_printf(out, "keys:\t%lu\r\n", atomic_long_read(&bc->nr_keys)); in bch2_btree_key_cache_to_text() 788 prt_printf(out, "dirty:\t%lu\r\n", atomic_long_read(&bc->nr_dirty)); in bch2_btree_key_cache_to_text()
|
/linux-6.12.1/net/l2tp/ |
D | l2tp_debugfs.c | 168 atomic_long_read(&tunnel->stats.tx_packets), in l2tp_dfs_seq_tunnel_show() 169 atomic_long_read(&tunnel->stats.tx_bytes), in l2tp_dfs_seq_tunnel_show() 170 atomic_long_read(&tunnel->stats.tx_errors), in l2tp_dfs_seq_tunnel_show() 171 atomic_long_read(&tunnel->stats.rx_packets), in l2tp_dfs_seq_tunnel_show() 172 atomic_long_read(&tunnel->stats.rx_bytes), in l2tp_dfs_seq_tunnel_show() 173 atomic_long_read(&tunnel->stats.rx_errors)); in l2tp_dfs_seq_tunnel_show() 219 atomic_long_read(&session->stats.tx_packets), in l2tp_dfs_seq_session_show() 220 atomic_long_read(&session->stats.tx_bytes), in l2tp_dfs_seq_session_show() 221 atomic_long_read(&session->stats.tx_errors), in l2tp_dfs_seq_session_show() 222 atomic_long_read(&session->stats.rx_packets), in l2tp_dfs_seq_session_show() [all …]
|
D | l2tp_netlink.c | 407 atomic_long_read(&tunnel->stats.tx_packets), in l2tp_nl_tunnel_send() 410 atomic_long_read(&tunnel->stats.tx_bytes), in l2tp_nl_tunnel_send() 413 atomic_long_read(&tunnel->stats.tx_errors), in l2tp_nl_tunnel_send() 416 atomic_long_read(&tunnel->stats.rx_packets), in l2tp_nl_tunnel_send() 419 atomic_long_read(&tunnel->stats.rx_bytes), in l2tp_nl_tunnel_send() 422 atomic_long_read(&tunnel->stats.rx_seq_discards), in l2tp_nl_tunnel_send() 425 atomic_long_read(&tunnel->stats.rx_cookie_discards), in l2tp_nl_tunnel_send() 428 atomic_long_read(&tunnel->stats.rx_oos_packets), in l2tp_nl_tunnel_send() 431 atomic_long_read(&tunnel->stats.rx_errors), in l2tp_nl_tunnel_send() 434 atomic_long_read(&tunnel->stats.rx_invalid), in l2tp_nl_tunnel_send() [all …]
|
D | l2tp_ppp.c | 1012 dest->tx_packets = atomic_long_read(&stats->tx_packets); in pppol2tp_copy_stats() 1013 dest->tx_bytes = atomic_long_read(&stats->tx_bytes); in pppol2tp_copy_stats() 1014 dest->tx_errors = atomic_long_read(&stats->tx_errors); in pppol2tp_copy_stats() 1015 dest->rx_packets = atomic_long_read(&stats->rx_packets); in pppol2tp_copy_stats() 1016 dest->rx_bytes = atomic_long_read(&stats->rx_bytes); in pppol2tp_copy_stats() 1017 dest->rx_seq_discards = atomic_long_read(&stats->rx_seq_discards); in pppol2tp_copy_stats() 1018 dest->rx_oos_packets = atomic_long_read(&stats->rx_oos_packets); in pppol2tp_copy_stats() 1019 dest->rx_errors = atomic_long_read(&stats->rx_errors); in pppol2tp_copy_stats() 1507 atomic_long_read(&tunnel->stats.tx_packets), in pppol2tp_seq_tunnel_show() 1508 atomic_long_read(&tunnel->stats.tx_bytes), in pppol2tp_seq_tunnel_show() [all …]
|
/linux-6.12.1/arch/riscv/mm/ |
D | context.c | 97 unsigned long cntx = atomic_long_read(&mm->context.id); in __new_context() 98 unsigned long asid, ver = atomic_long_read(¤t_version); in __new_context() 150 cntx = atomic_long_read(&mm->context.id); in set_mm_asid() 168 old_active_cntx = atomic_long_read(&per_cpu(active_context, cpu)); in set_mm_asid() 170 (cntx2version(cntx) == atomic_long_read(¤t_version)) && in set_mm_asid() 178 cntx = atomic_long_read(&mm->context.id); in set_mm_asid() 179 if (cntx2version(cntx) != atomic_long_read(¤t_version)) { in set_mm_asid()
|
/linux-6.12.1/kernel/ |
D | cred.c | 74 if (atomic_long_read(&cred->usage) != 0) in put_cred_rcu() 76 cred, atomic_long_read(&cred->usage)); in put_cred_rcu() 101 atomic_long_read(&cred->usage)); in __put_cred() 103 BUG_ON(atomic_long_read(&cred->usage) != 0); in __put_cred() 122 atomic_long_read(&tsk->cred->usage)); in exit_creds() 307 p->cred, atomic_long_read(&p->cred->usage)); in copy_creds() 398 atomic_long_read(&new->usage)); in commit_creds() 401 BUG_ON(atomic_long_read(&new->usage) < 1); in commit_creds() 472 atomic_long_read(&new->usage)); in abort_creds() 474 BUG_ON(atomic_long_read(&new->usage) < 1); in abort_creds() [all …]
|
/linux-6.12.1/kernel/module/ |
D | stats.c | 290 total_size = atomic_long_read(&total_mod_size); in read_file_mod_stats() 291 text_size = atomic_long_read(&total_text_size); in read_file_mod_stats() 292 ikread_bytes = atomic_long_read(&invalid_kread_bytes); in read_file_mod_stats() 293 idecompress_bytes = atomic_long_read(&invalid_decompress_bytes); in read_file_mod_stats() 294 ibecoming_bytes = atomic_long_read(&invalid_becoming_bytes); in read_file_mod_stats() 295 imod_bytes = atomic_long_read(&invalid_mod_bytes); in read_file_mod_stats() 389 atomic_long_read(&mod_fail->count), mod_fail_to_str(mod_fail)); in read_file_mod_stats()
|
/linux-6.12.1/fs/ubifs/ |
D | shrinker.c | 67 if (!c->zroot.znode || atomic_long_read(&c->clean_zn_cnt) == 0) in shrink_tnc() 82 atomic_long_read(&c->clean_zn_cnt) > 0) { in shrink_tnc() 237 dirty_zn_cnt = atomic_long_read(&c->dirty_zn_cnt); in kick_a_thread() 270 long clean_zn_cnt = atomic_long_read(&ubifs_clean_zn_cnt); in ubifs_shrink_count() 285 long clean_zn_cnt = atomic_long_read(&ubifs_clean_zn_cnt); in ubifs_shrink_scan()
|
/linux-6.12.1/kernel/locking/ |
D | rwsem.c | 71 #c, atomic_long_read(&(sem)->count), \ 73 atomic_long_read(&(sem)->owner), (long)current, \ 157 return atomic_long_read(&sem->owner) & flags; in rwsem_test_oflags() 174 (atomic_long_read(&sem->owner) & RWSEM_NONSPINNABLE); in __rwsem_set_reader_owned() 191 (atomic_long_read(&sem->owner) & ~RWSEM_OWNER_FLAGS_MASK); in rwsem_owner() 202 long count = atomic_long_read(&sem->count); in is_rwsem_reader_owned() 217 unsigned long val = atomic_long_read(&sem->owner); in rwsem_clear_reader_owned() 237 unsigned long owner = atomic_long_read(&sem->owner); in rwsem_set_nonspinnable() 282 unsigned long owner = atomic_long_read(&sem->owner); in rwsem_owner_flags() 444 if (unlikely(atomic_long_read(&sem->count) < 0)) in rwsem_mark_wake() [all …]
|
D | mutex.c | 81 return (struct task_struct *)(atomic_long_read(&lock->owner) & ~MUTEX_FLAGS); in __mutex_owner() 107 owner = atomic_long_read(&lock->owner); in __mutex_trylock_common() 233 unsigned long owner = atomic_long_read(&lock->owner); in __mutex_handoff() 332 if (!waiter && (atomic_long_read(&lock->owner) & MUTEX_FLAG_WAITERS)) in ww_mutex_spin_on_owner() 921 owner = atomic_long_read(&lock->owner); in __mutex_unlock_slowpath()
|
/linux-6.12.1/mm/ |
D | page_counter.c | 31 old_protected = atomic_long_read(&c->min_usage); in propagate_protected_usage() 40 old_protected = atomic_long_read(&c->low_usage); in propagate_protected_usage() 241 propagate_protected_usage(c, atomic_long_read(&c->usage)); in page_counter_set_min() 258 propagate_protected_usage(c, atomic_long_read(&c->usage)); in page_counter_set_low() 454 atomic_long_read(&parent->children_min_usage), in page_counter_calculate_protection() 460 atomic_long_read(&parent->children_low_usage), in page_counter_calculate_protection()
|
/linux-6.12.1/kernel/printk/ |
D | printk_ringbuffer.c | 447 state_val = atomic_long_read(state_var); /* LMM(desc_read:A) */ in desc_read() 534 state_val = atomic_long_read(state_var); /* LMM(desc_read:E) */ in desc_read() 665 tail_lpos = atomic_long_read(&data_ring->tail_lpos); /* LMM(data_push_tail:A) */ in data_push_tail() 737 tail_lpos_new = atomic_long_read(&data_ring->tail_lpos in data_push_tail() 787 if (DESC_ID(atomic_long_read(&desc.state_var)) == in desc_push_tail() 871 if (atomic_long_read(&desc_ring->tail_id) == tail_id) /* LMM(desc_push_tail:D) */ in desc_push_tail() 888 head_id = atomic_long_read(&desc_ring->head_id); /* LMM(desc_reserve:A) */ in desc_reserve() 918 if (id_prev_wrap == atomic_long_read(&desc_ring->tail_id in desc_reserve() 978 prev_state_val = atomic_long_read(&desc->state_var); /* LMM(desc_reserve:E) */ in desc_reserve() 1049 begin_lpos = atomic_long_read(&data_ring->head_lpos); in data_alloc() [all …]
|
/linux-6.12.1/lib/ |
D | percpu-refcount.c | 141 ref->percpu_count_ptr |= atomic_long_read(&ref->data->count) << in percpu_ref_exit() 181 atomic_long_read(&data->count), count); in percpu_ref_switch_to_atomic_rcu() 197 if (WARN_ONCE(atomic_long_read(&data->count) <= 0, in percpu_ref_switch_to_atomic_rcu() 199 data->release, atomic_long_read(&data->count)) && in percpu_ref_switch_to_atomic_rcu() 421 count = atomic_long_read(&ref->data->count); in percpu_ref_is_zero()
|
/linux-6.12.1/arch/powerpc/platforms/pseries/ |
D | cmm.c | 219 loaned_pages_target = atomic_long_read(&loaned_pages); in cmm_oom_notify() 236 const long __loaned_pages = atomic_long_read(&loaned_pages); in cmm_get_mpp() 323 __loaned_pages = atomic_long_read(&loaned_pages); in cmm_thread() 342 CMM_SHOW(loaned_kb, "%lu\n", PAGES2KB(atomic_long_read(&loaned_pages))); 453 cmm_free_pages(atomic_long_read(&loaned_pages)); in cmm_reboot_notifier() 625 cmm_free_pages(atomic_long_read(&loaned_pages)); in cmm_exit() 646 cmm_free_pages(atomic_long_read(&loaned_pages)); in cmm_set_disable()
|
/linux-6.12.1/kernel/sched/ |
D | loadavg.c | 288 if (atomic_long_read(&calc_load_nohz[idx])) in calc_load_nohz_read() 316 active = atomic_long_read(&calc_load_tasks); in calc_global_nohz() 365 active = atomic_long_read(&calc_load_tasks); in calc_global_load()
|
/linux-6.12.1/drivers/md/bcache/ |
D | sysfs.c | 205 wb ? atomic_long_read(&dc->writeback_rate.rate) << 9 : 0); in SHOW() 231 wb ? atomic_long_read(&dc->writeback_rate.rate) << 9 in SHOW() 320 long int v = atomic_long_read(&dc->writeback_rate.rate); in STORE() 752 atomic_long_read(&c->cache_read_races)); in SHOW() 755 atomic_long_read(&c->reclaim)); in SHOW() 758 atomic_long_read(&c->reclaimed_journal_buckets)); in SHOW() 761 atomic_long_read(&c->flush_write)); in SHOW() 764 atomic_long_read(&c->writeback_keys_done)); in SHOW() 766 atomic_long_read(&c->writeback_keys_failed)); in SHOW() 1042 sysfs_hprint(written, atomic_long_read(&ca->sectors_written) << 9); in SHOW() [all …]
|
/linux-6.12.1/drivers/target/ |
D | target_core_stat.c | 142 atomic_long_read(&to_stat_tgt_dev(item)->num_resets)); in target_stat_tgt_resets_show() 149 atomic_long_read(&to_stat_tgt_dev(item)->aborts_complete)); in target_stat_tgt_aborts_complete_show() 156 atomic_long_read(&to_stat_tgt_dev(item)->aborts_no_task)); in target_stat_tgt_aborts_no_task_show() 286 atomic_long_read(&dev->num_cmds)); in target_stat_lu_num_cmds_show() 296 atomic_long_read(&dev->read_bytes) >> 20); in target_stat_lu_read_mbytes_show() 306 atomic_long_read(&dev->write_bytes) >> 20); in target_stat_lu_write_mbytes_show() 315 atomic_long_read(&dev->num_resets)); in target_stat_lu_resets_show() 616 atomic_long_read(&lun->lun_stats.cmd_pdus)); in target_stat_tgt_port_in_cmds_show() 632 (u32)(atomic_long_read(&lun->lun_stats.rx_data_octets) >> 20)); in target_stat_tgt_port_write_mbytes_show() 648 (u32)(atomic_long_read(&lun->lun_stats.tx_data_octets) >> 20)); in target_stat_tgt_port_read_mbytes_show() [all …]
|
/linux-6.12.1/include/linux/ |
D | vmstat.h | 159 return atomic_long_read(&zone->vm_numa_event[item]); in zone_numa_event_state() 165 return atomic_long_read(&vm_numa_event[item]); in global_numa_event_state() 185 long x = atomic_long_read(&vm_zone_stat[item]); in global_zone_page_state() 196 long x = atomic_long_read(&vm_node_stat[item]); in global_node_page_state_pages() 214 long x = atomic_long_read(&zone->vm_stat[item]); in zone_page_state() 231 long x = atomic_long_read(&zone->vm_stat[item]); in zone_page_state_snapshot()
|
D | rwsem.h | 75 return atomic_long_read(&sem->count) != RWSEM_UNLOCKED_VALUE; in rwsem_is_locked() 80 WARN_ON(atomic_long_read(&sem->count) == RWSEM_UNLOCKED_VALUE); in rwsem_assert_held_nolockdep() 85 WARN_ON(!(atomic_long_read(&sem->count) & RWSEM_WRITER_LOCKED)); in rwsem_assert_held_write_nolockdep()
|
/linux-6.12.1/net/ipv6/ |
D | proc.c | 164 atomic_long_read(smib + i)); in snmp6_seq_show_icmpv6msg() 171 val = atomic_long_read(smib + i); in snmp6_seq_show_icmpv6msg() 200 atomic_long_read(smib + itemlist[i].entry)); in snmp6_seq_show_item()
|
/linux-6.12.1/drivers/target/iscsi/ |
D | iscsi_target_stat.c | 655 atomic_long_read(&sess->cmd_pdus)); in iscsi_stat_sess_cmd_pdus_show() 677 atomic_long_read(&sess->rsp_pdus)); in iscsi_stat_sess_rsp_pdus_show() 699 atomic_long_read(&sess->tx_data_octets)); in iscsi_stat_sess_txdata_octs_show() 721 atomic_long_read(&sess->rx_data_octets)); in iscsi_stat_sess_rxdata_octs_show() 743 atomic_long_read(&sess->conn_digest_errors)); in iscsi_stat_sess_conn_digest_errors_show() 765 atomic_long_read(&sess->conn_timeout_errors)); in iscsi_stat_sess_conn_timeout_errors_show()
|
/linux-6.12.1/arch/powerpc/mm/book3s64/ |
D | pgtable.c | 519 atomic_long_read(&direct_pages_count[MMU_PAGE_4K]) << 2); in arch_report_meminfo() 521 atomic_long_read(&direct_pages_count[MMU_PAGE_64K]) << 6); in arch_report_meminfo() 523 atomic_long_read(&direct_pages_count[MMU_PAGE_2M]) << 11); in arch_report_meminfo() 525 atomic_long_read(&direct_pages_count[MMU_PAGE_1G]) << 20); in arch_report_meminfo()
|
/linux-6.12.1/drivers/misc/sgi-gru/ |
D | gruprocfs.c | 24 unsigned long val = atomic_long_read(v); in printstat_val() 124 count = atomic_long_read(&mcs_op_statistics[op].count); in mcs_statistics_show() 125 total = atomic_long_read(&mcs_op_statistics[op].total); in mcs_statistics_show()
|