/linux-master/fs/bcachefs/ |
H A D | btree_key_cache.h | 7 size_t nr_dirty = atomic_long_read(&c->btree_key_cache.nr_dirty); 8 size_t nr_keys = atomic_long_read(&c->btree_key_cache.nr_keys); 16 size_t nr_dirty = atomic_long_read(&c->btree_key_cache.nr_dirty); 17 size_t nr_keys = atomic_long_read(&c->btree_key_cache.nr_keys);
|
H A D | two_state_shared_lock.h | 30 EBUG_ON(atomic_long_read(&lock->v) == 0); 39 long v = atomic_long_read(&lock->v), old;
|
H A D | btree_key_cache.c | 921 long nr = atomic_long_read(&bc->nr_keys) - 922 atomic_long_read(&bc->nr_dirty); 946 while (atomic_long_read(&bc->nr_keys)) { 987 if (atomic_long_read(&bc->nr_dirty) && 991 atomic_long_read(&bc->nr_dirty)); 993 if (atomic_long_read(&bc->nr_keys)) 995 atomic_long_read(&bc->nr_keys)); 1040 prt_printf(out, "nr_freed:\t%lu", atomic_long_read(&c->nr_freed)); 1042 prt_printf(out, "nr_keys:\t%lu", atomic_long_read(&c->nr_keys)); 1044 prt_printf(out, "nr_dirty:\t%lu", atomic_long_read( [all...] |
/linux-master/net/l2tp/ |
H A D | l2tp_debugfs.c | 169 atomic_long_read(&tunnel->stats.tx_packets), 170 atomic_long_read(&tunnel->stats.tx_bytes), 171 atomic_long_read(&tunnel->stats.tx_errors), 172 atomic_long_read(&tunnel->stats.rx_packets), 173 atomic_long_read(&tunnel->stats.rx_bytes), 174 atomic_long_read(&tunnel->stats.rx_errors)); 220 atomic_long_read(&session->stats.tx_packets), 221 atomic_long_read(&session->stats.tx_bytes), 222 atomic_long_read(&session->stats.tx_errors), 223 atomic_long_read( [all...] |
H A D | l2tp_netlink.c | 406 atomic_long_read(&tunnel->stats.tx_packets), 409 atomic_long_read(&tunnel->stats.tx_bytes), 412 atomic_long_read(&tunnel->stats.tx_errors), 415 atomic_long_read(&tunnel->stats.rx_packets), 418 atomic_long_read(&tunnel->stats.rx_bytes), 421 atomic_long_read(&tunnel->stats.rx_seq_discards), 424 atomic_long_read(&tunnel->stats.rx_cookie_discards), 427 atomic_long_read(&tunnel->stats.rx_oos_packets), 430 atomic_long_read(&tunnel->stats.rx_errors), 433 atomic_long_read( [all...] |
H A D | l2tp_ppp.c | 1025 dest->tx_packets = atomic_long_read(&stats->tx_packets); 1026 dest->tx_bytes = atomic_long_read(&stats->tx_bytes); 1027 dest->tx_errors = atomic_long_read(&stats->tx_errors); 1028 dest->rx_packets = atomic_long_read(&stats->rx_packets); 1029 dest->rx_bytes = atomic_long_read(&stats->rx_bytes); 1030 dest->rx_seq_discards = atomic_long_read(&stats->rx_seq_discards); 1031 dest->rx_oos_packets = atomic_long_read(&stats->rx_oos_packets); 1032 dest->rx_errors = atomic_long_read(&stats->rx_errors); 1518 atomic_long_read(&tunnel->stats.tx_packets), 1519 atomic_long_read( [all...] |
/linux-master/fs/ubifs/ |
H A D | shrinker.c | 67 if (!c->zroot.znode || atomic_long_read(&c->clean_zn_cnt) == 0) 82 atomic_long_read(&c->clean_zn_cnt) > 0) { 237 dirty_zn_cnt = atomic_long_read(&c->dirty_zn_cnt); 270 long clean_zn_cnt = atomic_long_read(&ubifs_clean_zn_cnt); 285 long clean_zn_cnt = atomic_long_read(&ubifs_clean_zn_cnt);
|
/linux-master/arch/riscv/mm/ |
H A D | context.c | 98 unsigned long cntx = atomic_long_read(&mm->context.id); 99 unsigned long asid, ver = atomic_long_read(¤t_version); 151 cntx = atomic_long_read(&mm->context.id); 169 old_active_cntx = atomic_long_read(&per_cpu(active_context, cpu)); 171 ((cntx & ~asid_mask) == atomic_long_read(¤t_version)) && 179 cntx = atomic_long_read(&mm->context.id); 180 if ((cntx & ~asid_mask) != atomic_long_read(¤t_version)) {
|
/linux-master/mm/ |
H A D | page_counter.c | 26 old_protected = atomic_long_read(&c->min_usage); 35 old_protected = atomic_long_read(&c->low_usage); 217 propagate_protected_usage(c, atomic_long_read(&c->usage)); 234 propagate_protected_usage(c, atomic_long_read(&c->usage));
|
/linux-master/kernel/module/ |
H A D | stats.c | 290 total_size = atomic_long_read(&total_mod_size); 291 text_size = atomic_long_read(&total_text_size); 292 ikread_bytes = atomic_long_read(&invalid_kread_bytes); 293 idecompress_bytes = atomic_long_read(&invalid_decompress_bytes); 294 ibecoming_bytes = atomic_long_read(&invalid_becoming_bytes); 295 imod_bytes = atomic_long_read(&invalid_mod_bytes); 389 atomic_long_read(&mod_fail->count), mod_fail_to_str(mod_fail));
|
/linux-master/kernel/ |
H A D | cred.c | 74 if (atomic_long_read(&cred->usage) != 0) 76 cred, atomic_long_read(&cred->usage)); 101 atomic_long_read(&cred->usage)); 103 BUG_ON(atomic_long_read(&cred->usage) != 0); 122 atomic_long_read(&tsk->cred->usage)); 307 p->cred, atomic_long_read(&p->cred->usage)); 398 atomic_long_read(&new->usage)); 401 BUG_ON(atomic_long_read(&new->usage) < 1); 472 atomic_long_read(&new->usage)); 474 BUG_ON(atomic_long_read( [all...] |
/linux-master/lib/ |
H A D | percpu-refcount.c | 141 ref->percpu_count_ptr |= atomic_long_read(&ref->data->count) << 181 atomic_long_read(&data->count), count); 197 if (WARN_ONCE(atomic_long_read(&data->count) <= 0, 199 data->release, atomic_long_read(&data->count)) && 421 count = atomic_long_read(&ref->data->count);
|
/linux-master/kernel/sched/ |
H A D | loadavg.c | 288 if (atomic_long_read(&calc_load_nohz[idx])) 316 active = atomic_long_read(&calc_load_tasks); 365 active = atomic_long_read(&calc_load_tasks);
|
/linux-master/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; 174 (atomic_long_read(&sem->owner) & RWSEM_NONSPINNABLE); 193 long count = atomic_long_read(&sem->count); 210 unsigned long val = atomic_long_read(&sem->owner); 230 unsigned long owner = atomic_long_read(&sem->owner); 274 (atomic_long_read(&sem->owner) & ~RWSEM_OWNER_FLAGS_MASK); 284 unsigned long owner = atomic_long_read(&sem->owner); 446 if (unlikely(atomic_long_read( [all...] |
/linux-master/kernel/printk/ |
H A D | printk_ringbuffer.c | 447 state_val = atomic_long_read(state_var); /* LMM(desc_read:A) */ 534 state_val = atomic_long_read(state_var); /* LMM(desc_read:E) */ 665 tail_lpos = atomic_long_read(&data_ring->tail_lpos); /* LMM(data_push_tail:A) */ 737 tail_lpos_new = atomic_long_read(&data_ring->tail_lpos 787 if (DESC_ID(atomic_long_read(&desc.state_var)) == 871 if (atomic_long_read(&desc_ring->tail_id) == tail_id) /* LMM(desc_push_tail:D) */ 888 head_id = atomic_long_read(&desc_ring->head_id); /* LMM(desc_reserve:A) */ 918 if (id_prev_wrap == atomic_long_read(&desc_ring->tail_id 978 prev_state_val = atomic_long_read(&desc->state_var); /* LMM(desc_reserve:E) */ 1049 begin_lpos = atomic_long_read( [all...] |
/linux-master/include/linux/ |
H A D | page_counter.h | 57 return atomic_long_read(&counter->usage);
|
H A D | rwsem.h | 75 return atomic_long_read(&sem->count) != RWSEM_UNLOCKED_VALUE; 80 WARN_ON(atomic_long_read(&sem->count) == RWSEM_UNLOCKED_VALUE); 85 WARN_ON(!(atomic_long_read(&sem->count) & RWSEM_WRITER_LOCKED));
|
H A D | vmstat.h | 155 return atomic_long_read(&zone->vm_numa_event[item]); 161 return atomic_long_read(&vm_numa_event[item]); 181 long x = atomic_long_read(&vm_zone_stat[item]); 192 long x = atomic_long_read(&vm_node_stat[item]); 210 long x = atomic_long_read(&zone->vm_stat[item]); 227 long x = atomic_long_read(&zone->vm_stat[item]);
|
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | cmm.c | 219 loaned_pages_target = atomic_long_read(&loaned_pages); 236 const long __loaned_pages = atomic_long_read(&loaned_pages); 323 __loaned_pages = atomic_long_read(&loaned_pages); 342 CMM_SHOW(loaned_kb, "%lu\n", PAGES2KB(atomic_long_read(&loaned_pages))); 453 cmm_free_pages(atomic_long_read(&loaned_pages)); 625 cmm_free_pages(atomic_long_read(&loaned_pages)); 646 cmm_free_pages(atomic_long_read(&loaned_pages));
|
/linux-master/drivers/md/bcache/ |
H A D | sysfs.c | 205 wb ? atomic_long_read(&dc->writeback_rate.rate) << 9 : 0); 231 wb ? atomic_long_read(&dc->writeback_rate.rate) << 9 320 long int v = atomic_long_read(&dc->writeback_rate.rate); 750 atomic_long_read(&c->cache_read_races)); 753 atomic_long_read(&c->reclaim)); 756 atomic_long_read(&c->reclaimed_journal_buckets)); 759 atomic_long_read(&c->flush_write)); 762 atomic_long_read(&c->writeback_keys_done)); 764 atomic_long_read(&c->writeback_keys_failed)); 1040 sysfs_hprint(written, atomic_long_read( [all...] |
/linux-master/include/asm-generic/ |
H A D | local.h | 29 #define local_read(l) atomic_long_read(&(l)->a)
|
/linux-master/drivers/target/ |
H A D | target_core_stat.c | 142 atomic_long_read(&to_stat_tgt_dev(item)->num_resets)); 149 atomic_long_read(&to_stat_tgt_dev(item)->aborts_complete)); 156 atomic_long_read(&to_stat_tgt_dev(item)->aborts_no_task)); 286 atomic_long_read(&dev->num_cmds)); 296 atomic_long_read(&dev->read_bytes) >> 20); 306 atomic_long_read(&dev->write_bytes) >> 20); 315 atomic_long_read(&dev->num_resets)); 616 atomic_long_read(&lun->lun_stats.cmd_pdus)); 632 (u32)(atomic_long_read(&lun->lun_stats.rx_data_octets) >> 20)); 648 (u32)(atomic_long_read( [all...] |
/linux-master/drivers/misc/sgi-gru/ |
H A D | gruprocfs.c | 24 unsigned long val = atomic_long_read(v); 124 count = atomic_long_read(&mcs_op_statistics[op].count); 125 total = atomic_long_read(&mcs_op_statistics[op].total);
|
/linux-master/net/ipv6/ |
H A D | proc.c | 164 atomic_long_read(smib + i)); 171 val = atomic_long_read(smib + i); 200 atomic_long_read(smib + itemlist[i].entry));
|
/linux-master/kernel/rcu/ |
H A D | rcu_segcblist.h | 52 return atomic_long_read(&rsclp->len);
|