/kernel/linux/linux-5.10/net/l2tp/ |
H A 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( in l2tp_dfs_seq_session_show() [all...] |
H A D | l2tp_ppp.c | 1026 dest->tx_packets = atomic_long_read(&stats->tx_packets); in pppol2tp_copy_stats() 1027 dest->tx_bytes = atomic_long_read(&stats->tx_bytes); in pppol2tp_copy_stats() 1028 dest->tx_errors = atomic_long_read(&stats->tx_errors); in pppol2tp_copy_stats() 1029 dest->rx_packets = atomic_long_read(&stats->rx_packets); in pppol2tp_copy_stats() 1030 dest->rx_bytes = atomic_long_read(&stats->rx_bytes); in pppol2tp_copy_stats() 1031 dest->rx_seq_discards = atomic_long_read(&stats->rx_seq_discards); in pppol2tp_copy_stats() 1032 dest->rx_oos_packets = atomic_long_read(&stats->rx_oos_packets); in pppol2tp_copy_stats() 1033 dest->rx_errors = atomic_long_read(&stats->rx_errors); in pppol2tp_copy_stats() 1519 atomic_long_read(&tunnel->stats.tx_packets), in pppol2tp_seq_tunnel_show() 1520 atomic_long_read( in pppol2tp_seq_tunnel_show() [all...] |
H A 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() 433 atomic_long_read( in l2tp_nl_tunnel_send() [all...] |
H A 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()
|
/kernel/linux/linux-6.6/net/l2tp/ |
H A D | l2tp_debugfs.c | 169 atomic_long_read(&tunnel->stats.tx_packets), in l2tp_dfs_seq_tunnel_show() 170 atomic_long_read(&tunnel->stats.tx_bytes), in l2tp_dfs_seq_tunnel_show() 171 atomic_long_read(&tunnel->stats.tx_errors), in l2tp_dfs_seq_tunnel_show() 172 atomic_long_read(&tunnel->stats.rx_packets), in l2tp_dfs_seq_tunnel_show() 173 atomic_long_read(&tunnel->stats.rx_bytes), in l2tp_dfs_seq_tunnel_show() 174 atomic_long_read(&tunnel->stats.rx_errors)); in l2tp_dfs_seq_tunnel_show() 220 atomic_long_read(&session->stats.tx_packets), in l2tp_dfs_seq_session_show() 221 atomic_long_read(&session->stats.tx_bytes), in l2tp_dfs_seq_session_show() 222 atomic_long_read(&session->stats.tx_errors), in l2tp_dfs_seq_session_show() 223 atomic_long_read( in l2tp_dfs_seq_session_show() [all...] |
H A D | l2tp_ppp.c | 1025 dest->tx_packets = atomic_long_read(&stats->tx_packets); in pppol2tp_copy_stats() 1026 dest->tx_bytes = atomic_long_read(&stats->tx_bytes); in pppol2tp_copy_stats() 1027 dest->tx_errors = atomic_long_read(&stats->tx_errors); in pppol2tp_copy_stats() 1028 dest->rx_packets = atomic_long_read(&stats->rx_packets); in pppol2tp_copy_stats() 1029 dest->rx_bytes = atomic_long_read(&stats->rx_bytes); in pppol2tp_copy_stats() 1030 dest->rx_seq_discards = atomic_long_read(&stats->rx_seq_discards); in pppol2tp_copy_stats() 1031 dest->rx_oos_packets = atomic_long_read(&stats->rx_oos_packets); in pppol2tp_copy_stats() 1032 dest->rx_errors = atomic_long_read(&stats->rx_errors); in pppol2tp_copy_stats() 1518 atomic_long_read(&tunnel->stats.tx_packets), in pppol2tp_seq_tunnel_show() 1519 atomic_long_read( in pppol2tp_seq_tunnel_show() [all...] |
H A 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() 433 atomic_long_read( in l2tp_nl_tunnel_send() [all...] |
H A 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()
|
/kernel/linux/linux-5.10/kernel/locking/ |
H A 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( in rwsem_mark_wake() [all...] |
/kernel/linux/linux-5.10/kernel/ |
H A D | cred.c | 102 atomic_long_read(&cred->usage) != 0 || in put_cred_rcu() 107 atomic_long_read(&cred->usage), in put_cred_rcu() 110 if (atomic_long_read(&cred->usage) != 0) in put_cred_rcu() 112 cred, atomic_long_read(&cred->usage)); in put_cred_rcu() 136 atomic_long_read(&cred->usage), in __put_cred() 139 BUG_ON(atomic_long_read(&cred->usage) != 0); in __put_cred() 163 atomic_long_read(&tsk->cred->usage), in exit_creds() 353 p->cred, atomic_long_read(&p->cred->usage), in copy_creds() 445 atomic_long_read(&new->usage), in commit_creds() 454 BUG_ON(atomic_long_read( in commit_creds() [all...] |
/kernel/linux/linux-6.6/kernel/ |
H A D | cred.c | 75 if (atomic_long_read(&cred->usage) != 0) in put_cred_rcu() 77 cred, atomic_long_read(&cred->usage)); in put_cred_rcu() 102 atomic_long_read(&cred->usage)); in __put_cred() 104 BUG_ON(atomic_long_read(&cred->usage) != 0); in __put_cred() 123 atomic_long_read(&tsk->cred->usage)); in exit_creds() 304 p->cred, atomic_long_read(&p->cred->usage)); in copy_creds() 396 atomic_long_read(&new->usage)); in commit_creds() 399 BUG_ON(atomic_long_read(&new->usage) < 1); in commit_creds() 471 atomic_long_read(&new->usage)); in abort_creds() 473 BUG_ON(atomic_long_read( in abort_creds() [all...] |
/kernel/linux/linux-5.10/mm/ |
H A 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()
|
/kernel/linux/linux-6.6/arch/riscv/mm/ |
H A D | context.c | 98 unsigned long cntx = atomic_long_read(&mm->context.id); in __new_context() 99 unsigned long asid, ver = atomic_long_read(¤t_version); in __new_context() 151 cntx = atomic_long_read(&mm->context.id); in set_mm_asid() 169 old_active_cntx = atomic_long_read(&per_cpu(active_context, cpu)); in set_mm_asid() 171 ((cntx & ~asid_mask) == atomic_long_read(¤t_version)) && in set_mm_asid() 179 cntx = atomic_long_read(&mm->context.id); in set_mm_asid() 180 if ((cntx & ~asid_mask) != atomic_long_read(¤t_version)) { in set_mm_asid()
|
/kernel/linux/linux-5.10/drivers/lightnvm/ |
H A 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( in pblk_sysfs_stats_debug() [all...] |
/kernel/linux/linux-6.6/kernel/locking/ |
H A 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() 193 long count = atomic_long_read(&sem->count); in is_rwsem_reader_owned() 210 unsigned long val = atomic_long_read(&sem->owner); in rwsem_clear_reader_owned() 230 unsigned long owner = atomic_long_read(&sem->owner); in rwsem_set_nonspinnable() 274 (atomic_long_read(&sem->owner) & ~RWSEM_OWNER_FLAGS_MASK); in rwsem_owner() 284 unsigned long owner = atomic_long_read(&sem->owner); in rwsem_owner_flags() 446 if (unlikely(atomic_long_read( in rwsem_mark_wake() [all...] |
/kernel/linux/linux-5.10/fs/ubifs/ |
H A 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()
|
/kernel/linux/linux-6.6/fs/ubifs/ |
H A 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()
|
/kernel/linux/linux-6.6/kernel/printk/ |
H A D | printk_ringbuffer.c | 443 state_val = atomic_long_read(state_var); /* LMM(desc_read:A) */ in desc_read() 530 state_val = atomic_long_read(state_var); /* LMM(desc_read:E) */ in desc_read() 661 tail_lpos = atomic_long_read(&data_ring->tail_lpos); /* LMM(data_push_tail:A) */ in data_push_tail() 733 tail_lpos_new = atomic_long_read(&data_ring->tail_lpos in data_push_tail() 783 if (DESC_ID(atomic_long_read(&desc.state_var)) == in desc_push_tail() 867 if (atomic_long_read(&desc_ring->tail_id) == tail_id) /* LMM(desc_push_tail:D) */ in desc_push_tail() 884 head_id = atomic_long_read(&desc_ring->head_id); /* LMM(desc_reserve:A) */ in desc_reserve() 914 if (id_prev_wrap == atomic_long_read(&desc_ring->tail_id in desc_reserve() 974 prev_state_val = atomic_long_read(&desc->state_var); /* LMM(desc_reserve:E) */ in desc_reserve() 1041 begin_lpos = atomic_long_read( in data_alloc() [all...] |
/kernel/linux/linux-6.6/kernel/module/ |
H A 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()
|
/kernel/linux/linux-5.10/kernel/printk/ |
H A 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( in data_alloc() [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | page_counter.c | 26 old_protected = atomic_long_read(&c->min_usage); in propagate_protected_usage() 35 old_protected = atomic_long_read(&c->low_usage); in propagate_protected_usage() 217 propagate_protected_usage(c, atomic_long_read(&c->usage)); in page_counter_set_min() 234 propagate_protected_usage(c, atomic_long_read(&c->usage)); in page_counter_set_low()
|
/kernel/linux/linux-5.10/include/linux/ |
H A 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()
|
/kernel/linux/linux-5.10/lib/ |
H A D | percpu-refcount.c | 140 ref->percpu_count_ptr |= atomic_long_read(&ref->data->count) << in percpu_ref_exit() 179 atomic_long_read(&data->count), count); in percpu_ref_switch_to_atomic_rcu() 195 WARN_ONCE(atomic_long_read(&data->count) <= 0, in percpu_ref_switch_to_atomic_rcu() 197 data->release, atomic_long_read(&data->count)); in percpu_ref_switch_to_atomic_rcu() 414 count = atomic_long_read(&ref->data->count); in percpu_ref_is_zero()
|
/kernel/linux/linux-6.6/lib/ |
H A 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()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
H A 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()
|