/Linux-v5.10/net/l2tp/ |
D | l2tp_debugfs.c | 171 atomic_long_read(&tunnel->stats.tx_packets), in l2tp_dfs_seq_tunnel_show() 172 atomic_long_read(&tunnel->stats.tx_bytes), in l2tp_dfs_seq_tunnel_show() 173 atomic_long_read(&tunnel->stats.tx_errors), in l2tp_dfs_seq_tunnel_show() 174 atomic_long_read(&tunnel->stats.rx_packets), in l2tp_dfs_seq_tunnel_show() 175 atomic_long_read(&tunnel->stats.rx_bytes), in l2tp_dfs_seq_tunnel_show() 176 atomic_long_read(&tunnel->stats.rx_errors)); in l2tp_dfs_seq_tunnel_show() 222 atomic_long_read(&session->stats.tx_packets), in l2tp_dfs_seq_session_show() 223 atomic_long_read(&session->stats.tx_bytes), in l2tp_dfs_seq_session_show() 224 atomic_long_read(&session->stats.tx_errors), in l2tp_dfs_seq_session_show() 225 atomic_long_read(&session->stats.rx_packets), in l2tp_dfs_seq_session_show() [all …]
|
D | l2tp_netlink.c | 406 atomic_long_read(&tunnel->stats.tx_packets), in l2tp_nl_tunnel_send() 409 atomic_long_read(&tunnel->stats.tx_bytes), in l2tp_nl_tunnel_send() 412 atomic_long_read(&tunnel->stats.tx_errors), in l2tp_nl_tunnel_send() 415 atomic_long_read(&tunnel->stats.rx_packets), in l2tp_nl_tunnel_send() 418 atomic_long_read(&tunnel->stats.rx_bytes), in l2tp_nl_tunnel_send() 421 atomic_long_read(&tunnel->stats.rx_seq_discards), in l2tp_nl_tunnel_send() 424 atomic_long_read(&tunnel->stats.rx_cookie_discards), in l2tp_nl_tunnel_send() 427 atomic_long_read(&tunnel->stats.rx_oos_packets), in l2tp_nl_tunnel_send() 430 atomic_long_read(&tunnel->stats.rx_errors), in l2tp_nl_tunnel_send() 749 atomic_long_read(&session->stats.tx_packets), in l2tp_nl_session_send() [all …]
|
D | l2tp_eth.c | 95 stats->tx_bytes = (unsigned long)atomic_long_read(&priv->tx_bytes); in l2tp_eth_get_stats64() 96 stats->tx_packets = (unsigned long)atomic_long_read(&priv->tx_packets); in l2tp_eth_get_stats64() 97 stats->tx_dropped = (unsigned long)atomic_long_read(&priv->tx_dropped); in l2tp_eth_get_stats64() 98 stats->rx_bytes = (unsigned long)atomic_long_read(&priv->rx_bytes); in l2tp_eth_get_stats64() 99 stats->rx_packets = (unsigned long)atomic_long_read(&priv->rx_packets); in l2tp_eth_get_stats64() 100 stats->rx_errors = (unsigned long)atomic_long_read(&priv->rx_errors); in l2tp_eth_get_stats64()
|
D | l2tp_ppp.c | 1017 dest->tx_packets = atomic_long_read(&stats->tx_packets); in pppol2tp_copy_stats() 1018 dest->tx_bytes = atomic_long_read(&stats->tx_bytes); in pppol2tp_copy_stats() 1019 dest->tx_errors = atomic_long_read(&stats->tx_errors); in pppol2tp_copy_stats() 1020 dest->rx_packets = atomic_long_read(&stats->rx_packets); in pppol2tp_copy_stats() 1021 dest->rx_bytes = atomic_long_read(&stats->rx_bytes); in pppol2tp_copy_stats() 1022 dest->rx_seq_discards = atomic_long_read(&stats->rx_seq_discards); in pppol2tp_copy_stats() 1023 dest->rx_oos_packets = atomic_long_read(&stats->rx_oos_packets); in pppol2tp_copy_stats() 1024 dest->rx_errors = atomic_long_read(&stats->rx_errors); in pppol2tp_copy_stats() 1510 atomic_long_read(&tunnel->stats.tx_packets), in pppol2tp_seq_tunnel_show() 1511 atomic_long_read(&tunnel->stats.tx_bytes), in pppol2tp_seq_tunnel_show() [all …]
|
/Linux-v5.10/kernel/locking/ |
D | rwsem.c | 108 #c, atomic_long_read(&(sem)->count), \ 110 atomic_long_read(&(sem)->owner), (long)current, \ 189 return atomic_long_read(&sem->owner) & flags; in rwsem_test_oflags() 206 (atomic_long_read(&sem->owner) & RWSEM_RD_NONSPINNABLE); in __rwsem_set_reader_owned() 225 long count = atomic_long_read(&sem->count); in is_rwsem_reader_owned() 242 unsigned long val = atomic_long_read(&sem->owner); in rwsem_clear_reader_owned() 262 unsigned long owner = atomic_long_read(&sem->owner); in rwsem_set_nonspinnable() 287 (atomic_long_read(&sem->owner) & ~RWSEM_OWNER_FLAGS_MASK); in rwsem_owner() 297 unsigned long owner = atomic_long_read(&sem->owner); in rwsem_owner_flags() 435 if (unlikely(atomic_long_read(&sem->count) < 0)) in rwsem_mark_wake() [all …]
|
D | mutex.c | 75 return (struct task_struct *)(atomic_long_read(&lock->owner) & ~MUTEX_FLAGS); in __mutex_owner() 111 owner = atomic_long_read(&lock->owner); in __mutex_trylock_or_owner() 226 unsigned long owner = atomic_long_read(&lock->owner); in __mutex_handoff() 487 if (likely(!(atomic_long_read(&lock->base.owner) & MUTEX_FLAG_WAITERS))) in ww_mutex_set_context_fastpath() 530 if (!waiter && (atomic_long_read(&lock->owner) & MUTEX_FLAG_WAITERS)) in ww_mutex_spin_on_owner() 1237 owner = atomic_long_read(&lock->owner); in __mutex_unlock_slowpath()
|
/Linux-v5.10/mm/ |
D | page_counter.c | 27 if (min || atomic_long_read(&c->min_usage)) { in propagate_protected_usage() 36 if (low || atomic_long_read(&c->low_usage)) { in propagate_protected_usage() 186 usage = atomic_long_read(&counter->usage); in page_counter_set_max() 193 if (atomic_long_read(&counter->usage) <= usage) in page_counter_set_max() 215 propagate_protected_usage(c, atomic_long_read(&c->usage)); in page_counter_set_min() 232 propagate_protected_usage(c, atomic_long_read(&c->usage)); in page_counter_set_low()
|
/Linux-v5.10/drivers/lightnvm/ |
D | pblk-sysfs.c | 98 atomic_long_read(&pblk->read_failed), in pblk_sysfs_stats() 99 atomic_long_read(&pblk->read_high_ecc), in pblk_sysfs_stats() 100 atomic_long_read(&pblk->read_empty), in pblk_sysfs_stats() 101 atomic_long_read(&pblk->read_failed_gc), in pblk_sysfs_stats() 102 atomic_long_read(&pblk->write_failed), in pblk_sysfs_stats() 103 atomic_long_read(&pblk->erase_failed)); in pblk_sysfs_stats() 435 atomic_long_read(&pblk->inflight_writes), in pblk_sysfs_stats_debug() 436 atomic_long_read(&pblk->inflight_reads), in pblk_sysfs_stats_debug() 437 atomic_long_read(&pblk->req_writes), in pblk_sysfs_stats_debug() 439 atomic_long_read(&pblk->padded_writes), in pblk_sysfs_stats_debug() [all …]
|
/Linux-v5.10/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-v5.10/kernel/printk/ |
D | printk_ringbuffer.c | 443 state_val = atomic_long_read(state_var); /* LMM(desc_read:A) */ in desc_read() 528 state_val = atomic_long_read(state_var); /* LMM(desc_read:E) */ in desc_read() 658 tail_lpos = atomic_long_read(&data_ring->tail_lpos); /* LMM(data_push_tail:A) */ in data_push_tail() 731 tail_lpos_new = atomic_long_read(&data_ring->tail_lpos in data_push_tail() 781 if (DESC_ID(atomic_long_read(&desc.state_var)) == in desc_push_tail() 865 if (atomic_long_read(&desc_ring->tail_id) == tail_id) /* LMM(desc_push_tail:D) */ in desc_push_tail() 882 head_id = atomic_long_read(&desc_ring->head_id); /* LMM(desc_reserve:A) */ in desc_reserve() 912 if (id_prev_wrap == atomic_long_read(&desc_ring->tail_id in desc_reserve() 972 prev_state_val = atomic_long_read(&desc->state_var); /* LMM(desc_reserve:E) */ in desc_reserve() 1039 begin_lpos = atomic_long_read(&data_ring->head_lpos); in data_alloc() [all …]
|
/Linux-v5.10/lib/ |
D | percpu-refcount.c | 139 ref->percpu_count_ptr |= atomic_long_read(&ref->data->count) << in percpu_ref_exit() 178 atomic_long_read(&data->count), count); in percpu_ref_switch_to_atomic_rcu() 194 WARN_ONCE(atomic_long_read(&data->count) <= 0, in percpu_ref_switch_to_atomic_rcu() 196 data->release, atomic_long_read(&data->count)); in percpu_ref_switch_to_atomic_rcu() 413 count = atomic_long_read(&ref->data->count); in percpu_ref_is_zero()
|
D | show_mem.c | 42 printk("%lu pages hwpoisoned\n", atomic_long_read(&num_poisoned_pages)); in show_mem()
|
/Linux-v5.10/include/linux/ |
D | vmstat.h | 154 long x = atomic_long_read(&vm_numa_stat[item]); in global_numa_state() 162 long x = atomic_long_read(&zone->vm_numa_stat[item]); in zone_numa_state_snapshot() 188 long x = atomic_long_read(&vm_zone_stat[item]); in global_zone_page_state() 199 long x = atomic_long_read(&vm_node_stat[item]); in global_node_page_state_pages() 217 long x = atomic_long_read(&zone->vm_stat[item]); in zone_page_state() 234 long x = atomic_long_read(&zone->vm_stat[item]); in zone_page_state_snapshot()
|
D | iocontext.h | 126 WARN_ON_ONCE(atomic_long_read(&ioc->refcount) <= 0); in get_io_context_active()
|
/Linux-v5.10/arch/powerpc/platforms/pseries/ |
D | cmm.c | 222 loaned_pages_target = atomic_long_read(&loaned_pages); in cmm_oom_notify() 239 const long __loaned_pages = atomic_long_read(&loaned_pages); in cmm_get_mpp() 326 __loaned_pages = atomic_long_read(&loaned_pages); in cmm_thread() 345 CMM_SHOW(loaned_kb, "%lu\n", PAGES2KB(atomic_long_read(&loaned_pages))); 456 cmm_free_pages(atomic_long_read(&loaned_pages)); in cmm_reboot_notifier() 680 cmm_free_pages(atomic_long_read(&loaned_pages)); in cmm_exit() 702 cmm_free_pages(atomic_long_read(&loaned_pages)); in cmm_set_disable()
|
/Linux-v5.10/kernel/sched/ |
D | loadavg.c | 289 if (atomic_long_read(&calc_load_nohz[idx])) in calc_load_nohz_read() 317 active = atomic_long_read(&calc_load_tasks); in calc_global_nohz() 366 active = atomic_long_read(&calc_load_tasks); in calc_global_load()
|
/Linux-v5.10/drivers/md/bcache/ |
D | sysfs.c | 201 wb ? atomic_long_read(&dc->writeback_rate.rate) << 9 : 0); in SHOW() 224 wb ? atomic_long_read(&dc->writeback_rate.rate) << 9 in SHOW() 313 long int v = atomic_long_read(&dc->writeback_rate.rate); in STORE() 735 atomic_long_read(&c->cache_read_races)); in SHOW() 738 atomic_long_read(&c->reclaim)); in SHOW() 741 atomic_long_read(&c->reclaimed_journal_buckets)); in SHOW() 744 atomic_long_read(&c->flush_write)); in SHOW() 747 atomic_long_read(&c->writeback_keys_done)); in SHOW() 749 atomic_long_read(&c->writeback_keys_failed)); in SHOW() 1022 sysfs_hprint(written, atomic_long_read(&ca->sectors_written) << 9); in SHOW() [all …]
|
/Linux-v5.10/drivers/target/ |
D | target_core_stat.c | 145 atomic_long_read(&to_stat_tgt_dev(item)->num_resets)); in target_stat_tgt_resets_show() 152 atomic_long_read(&to_stat_tgt_dev(item)->aborts_complete)); in target_stat_tgt_aborts_complete_show() 159 atomic_long_read(&to_stat_tgt_dev(item)->aborts_no_task)); in target_stat_tgt_aborts_no_task_show() 289 atomic_long_read(&dev->num_cmds)); in target_stat_lu_num_cmds_show() 299 atomic_long_read(&dev->read_bytes) >> 20); in target_stat_lu_read_mbytes_show() 309 atomic_long_read(&dev->write_bytes) >> 20); in target_stat_lu_write_mbytes_show() 318 atomic_long_read(&dev->num_resets)); in target_stat_lu_resets_show() 619 atomic_long_read(&lun->lun_stats.cmd_pdus)); in target_stat_tgt_port_in_cmds_show() 635 (u32)(atomic_long_read(&lun->lun_stats.rx_data_octets) >> 20)); in target_stat_tgt_port_write_mbytes_show() 651 (u32)(atomic_long_read(&lun->lun_stats.tx_data_octets) >> 20)); in target_stat_tgt_port_read_mbytes_show() [all …]
|
/Linux-v5.10/arch/powerpc/mm/book3s64/ |
D | pgtable.c | 414 atomic_long_read(&direct_pages_count[MMU_PAGE_4K]) << 2); in arch_report_meminfo() 416 atomic_long_read(&direct_pages_count[MMU_PAGE_64K]) << 6); in arch_report_meminfo() 418 atomic_long_read(&direct_pages_count[MMU_PAGE_2M]) << 11); in arch_report_meminfo() 420 atomic_long_read(&direct_pages_count[MMU_PAGE_1G]) << 20); in arch_report_meminfo()
|
/Linux-v5.10/net/ipv6/ |
D | proc.c | 160 atomic_long_read(smib + i)); in snmp6_seq_show_icmpv6msg() 167 val = atomic_long_read(smib + i); in snmp6_seq_show_icmpv6msg() 196 atomic_long_read(smib + itemlist[i].entry)); in snmp6_seq_show_item()
|
/Linux-v5.10/net/unix/ |
D | garbage.c | 237 inflight_refs = atomic_long_read(&u->inflight); in unix_gc() 268 if (atomic_long_read(&u->inflight) > 0) { in unix_gc()
|
/Linux-v5.10/fs/proc/ |
D | meminfo.c | 84 (unsigned long)atomic_long_read(&mmap_pages_allocated)); in meminfo_proc_show() 127 atomic_long_read(&num_poisoned_pages) << (PAGE_SHIFT - 10)); in meminfo_proc_show()
|
/Linux-v5.10/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()
|
/Linux-v5.10/drivers/target/iscsi/ |
D | iscsi_target_stat.c | 656 atomic_long_read(&sess->cmd_pdus)); in iscsi_stat_sess_cmd_pdus_show() 678 atomic_long_read(&sess->rsp_pdus)); in iscsi_stat_sess_rsp_pdus_show() 700 atomic_long_read(&sess->tx_data_octets)); in iscsi_stat_sess_txdata_octs_show() 722 atomic_long_read(&sess->rx_data_octets)); in iscsi_stat_sess_rxdata_octs_show() 744 atomic_long_read(&sess->conn_digest_errors)); in iscsi_stat_sess_conn_digest_errors_show() 766 atomic_long_read(&sess->conn_timeout_errors)); in iscsi_stat_sess_conn_timeout_errors_show()
|
/Linux-v5.10/arch/s390/mm/ |
D | pageattr.c | 48 atomic_long_read(&direct_pages_count[PG_DIRECT_MAP_4K]) << 2); in arch_report_meminfo() 50 atomic_long_read(&direct_pages_count[PG_DIRECT_MAP_1M]) << 10); in arch_report_meminfo() 52 atomic_long_read(&direct_pages_count[PG_DIRECT_MAP_2G]) << 21); in arch_report_meminfo()
|