Home
last modified time | relevance | path

Searched refs:atomic_long_read (Results 1 – 25 of 123) sorted by relevance

12345

/linux/net/l2tp/
A Dl2tp_debugfs.c171 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 …]
A Dl2tp_netlink.c406 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()
430 atomic_long_read(&tunnel->stats.rx_errors), in l2tp_nl_tunnel_send()
433 atomic_long_read(&tunnel->stats.rx_invalid), in l2tp_nl_tunnel_send()
755 atomic_long_read(&session->stats.tx_bytes), in l2tp_nl_session_send()
758 atomic_long_read(&session->stats.tx_errors), in l2tp_nl_session_send()
764 atomic_long_read(&session->stats.rx_bytes), in l2tp_nl_session_send()
[all …]
A Dl2tp_eth.c95 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()
A Dl2tp_ppp.c1510 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()
1512 atomic_long_read(&tunnel->stats.tx_errors), in pppol2tp_seq_tunnel_show()
1513 atomic_long_read(&tunnel->stats.rx_packets), in pppol2tp_seq_tunnel_show()
1514 atomic_long_read(&tunnel->stats.rx_bytes), in pppol2tp_seq_tunnel_show()
1515 atomic_long_read(&tunnel->stats.rx_errors)); in pppol2tp_seq_tunnel_show()
1559 atomic_long_read(&session->stats.tx_packets), in pppol2tp_seq_session_show()
1560 atomic_long_read(&session->stats.tx_bytes), in pppol2tp_seq_session_show()
1561 atomic_long_read(&session->stats.tx_errors), in pppol2tp_seq_session_show()
1562 atomic_long_read(&session->stats.rx_packets), in pppol2tp_seq_session_show()
[all …]
/linux/arch/riscv/mm/
A Dcontext.c98 unsigned long cntx = atomic_long_read(&mm->context.id); in __new_context()
99 unsigned long asid, ver = atomic_long_read(&current_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(&current_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(&current_version)) { in set_mm_asid()
/linux/kernel/locking/
A Drwsem.c70 #c, atomic_long_read(&(sem)->count), \
72 atomic_long_read(&(sem)->owner), (long)current, \
151 return atomic_long_read(&sem->owner) & flags; in rwsem_test_oflags()
187 long count = atomic_long_read(&sem->count); in is_rwsem_reader_owned()
518 oldcount = atomic_long_read(&sem->count); in rwsem_mark_wake()
576 count = atomic_long_read(&sem->count); in rwsem_try_write_lock()
648 long count = atomic_long_read(&sem->count); in rwsem_try_write_lock_unqueued()
775 long count = atomic_long_read(&sem->count); in rwsem_rspin_threshold()
993 if (!(atomic_long_read(&sem->count) & in rwsem_down_read_slowpath()
1087 count = atomic_long_read(&sem->count); in rwsem_down_write_slowpath()
[all …]
A Dmutex.c78 return (struct task_struct *)(atomic_long_read(&lock->owner) & ~MUTEX_FLAGS); in __mutex_owner()
104 owner = atomic_long_read(&lock->owner); in __mutex_trylock_common()
230 unsigned long owner = atomic_long_read(&lock->owner); in __mutex_handoff()
329 if (!waiter && (atomic_long_read(&lock->owner) & MUTEX_FLAG_WAITERS)) in ww_mutex_spin_on_owner()
909 owner = atomic_long_read(&lock->owner); in __mutex_unlock_slowpath()
/linux/fs/ubifs/
A Dshrinker.c67 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/kernel/printk/
A Dprintk_ringbuffer.c443 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()
730 tail_lpos_new = atomic_long_read(&data_ring->tail_lpos in data_push_tail()
780 if (DESC_ID(atomic_long_read(&desc.state_var)) == in desc_push_tail()
881 head_id = atomic_long_read(&desc_ring->head_id); /* LMM(desc_reserve:A) */ in desc_reserve()
911 if (id_prev_wrap == atomic_long_read(&desc_ring->tail_id in desc_reserve()
1038 begin_lpos = atomic_long_read(&data_ring->head_lpos); in data_alloc()
1112 head_lpos = atomic_long_read(&data_ring->head_lpos); in data_realloc()
1266 id = atomic_long_read(&desc_ring->head_id); in desc_reopen_last()
1638 head_id = atomic_long_read(&desc_ring->head_id); /* LMM(prb_commit:A) */ in prb_commit()
[all …]
/linux/mm/
A Dpage_counter.c27 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()
219 propagate_protected_usage(c, atomic_long_read(&c->usage)); in page_counter_set_min()
236 propagate_protected_usage(c, atomic_long_read(&c->usage)); in page_counter_set_low()
/linux/lib/
A Dpercpu-refcount.c140 ref->percpu_count_ptr |= atomic_long_read(&ref->data->count) << in percpu_ref_exit()
180 atomic_long_read(&data->count), count); in percpu_ref_switch_to_atomic_rcu()
196 if (WARN_ONCE(atomic_long_read(&data->count) <= 0, in percpu_ref_switch_to_atomic_rcu()
198 data->release, atomic_long_read(&data->count)) && in percpu_ref_switch_to_atomic_rcu()
419 count = atomic_long_read(&ref->data->count); in percpu_ref_is_zero()
/linux/arch/powerpc/platforms/pseries/
A Dcmm.c222 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/drivers/md/bcache/
A Dsysfs.c231 wb ? atomic_long_read(&dc->writeback_rate.rate) << 9 in SHOW()
320 long int v = atomic_long_read(&dc->writeback_rate.rate); in STORE()
754 atomic_long_read(&c->cache_read_races)); in SHOW()
757 atomic_long_read(&c->reclaim)); in SHOW()
760 atomic_long_read(&c->reclaimed_journal_buckets)); in SHOW()
763 atomic_long_read(&c->flush_write)); in SHOW()
766 atomic_long_read(&c->writeback_keys_done)); in SHOW()
768 atomic_long_read(&c->writeback_keys_failed)); in SHOW()
1043 atomic_long_read(&ca->btree_sectors_written) << 9); in SHOW()
1045 (atomic_long_read(&ca->meta_sectors_written) + in SHOW()
[all …]
/linux/kernel/sched/
A Dloadavg.c289 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/drivers/target/
A Dtarget_core_stat.c142 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()
1034 atomic_long_read(&deve->total_cmds)); in target_stat_auth_num_cmds_show()
1055 (u32)(atomic_long_read(&deve->read_bytes) >> 20)); in target_stat_auth_read_mbytes_show()
[all …]
/linux/include/linux/
A Dvmstat.h155 return atomic_long_read(&zone->vm_numa_event[item]); in zone_numa_event_state()
161 return atomic_long_read(&vm_numa_event[item]); in global_numa_event_state()
181 long x = atomic_long_read(&vm_zone_stat[item]); in global_zone_page_state()
192 long x = atomic_long_read(&vm_node_stat[item]); in global_node_page_state_pages()
210 long x = atomic_long_read(&zone->vm_stat[item]); in zone_page_state()
227 long x = atomic_long_read(&zone->vm_stat[item]); in zone_page_state_snapshot()
A Dfsnotify.h33 if (atomic_long_read(&dir->i_sb->s_fsnotify_connectors) == 0) in fsnotify_name()
47 if (atomic_long_read(&inode->i_sb->s_fsnotify_connectors) == 0) in fsnotify_inode()
62 if (atomic_long_read(&inode->i_sb->s_fsnotify_connectors) == 0) in fsnotify_parent()
/linux/arch/powerpc/mm/book3s64/
A Dpgtable.c427 atomic_long_read(&direct_pages_count[MMU_PAGE_4K]) << 2); in arch_report_meminfo()
429 atomic_long_read(&direct_pages_count[MMU_PAGE_64K]) << 6); in arch_report_meminfo()
431 atomic_long_read(&direct_pages_count[MMU_PAGE_2M]) << 11); in arch_report_meminfo()
433 atomic_long_read(&direct_pages_count[MMU_PAGE_1G]) << 20); in arch_report_meminfo()
/linux/kernel/cgroup/
A Dmisc.c80 return atomic_long_read(&root_cg.res[type].usage); in misc_cg_res_total_usage()
304 usage = atomic_long_read(&cg->res[i].usage); in misc_cg_current_show()
342 events = atomic_long_read(&cg->res[i].events); in misc_events_show()
/linux/net/ipv6/
A Dproc.c162 atomic_long_read(smib + i)); in snmp6_seq_show_icmpv6msg()
169 val = atomic_long_read(smib + i); in snmp6_seq_show_icmpv6msg()
198 atomic_long_read(smib + itemlist[i].entry)); in snmp6_seq_show_item()
/linux/drivers/target/iscsi/
A Discsi_target_stat.c655 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/drivers/misc/sgi-gru/
A Dgruprocfs.c24 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/fs/proc/
A Dmeminfo.c84 (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/net/unix/
A Dgarbage.c237 inflight_refs = atomic_long_read(&u->inflight); in unix_gc()
268 if (atomic_long_read(&u->inflight) > 0) { in unix_gc()
/linux/arch/s390/mm/
A Dpageattr.c49 atomic_long_read(&direct_pages_count[PG_DIRECT_MAP_4K]) << 2); in arch_report_meminfo()
51 atomic_long_read(&direct_pages_count[PG_DIRECT_MAP_1M]) << 10); in arch_report_meminfo()
53 atomic_long_read(&direct_pages_count[PG_DIRECT_MAP_2G]) << 21); in arch_report_meminfo()

Completed in 801 milliseconds

12345