/linux-4.1.27/include/asm-generic/ |
H A D | atomic-long.h | 14 * Suppport for atomic_long_t 23 typedef atomic64_t atomic_long_t; typedef 27 static inline long atomic_long_read(atomic_long_t *l) atomic_long_read() 34 static inline void atomic_long_set(atomic_long_t *l, long i) atomic_long_set() 41 static inline void atomic_long_inc(atomic_long_t *l) atomic_long_inc() 48 static inline void atomic_long_dec(atomic_long_t *l) atomic_long_dec() 55 static inline void atomic_long_add(long i, atomic_long_t *l) atomic_long_add() 62 static inline void atomic_long_sub(long i, atomic_long_t *l) atomic_long_sub() 69 static inline int atomic_long_sub_and_test(long i, atomic_long_t *l) atomic_long_sub_and_test() 76 static inline int atomic_long_dec_and_test(atomic_long_t *l) atomic_long_dec_and_test() 83 static inline int atomic_long_inc_and_test(atomic_long_t *l) atomic_long_inc_and_test() 90 static inline int atomic_long_add_negative(long i, atomic_long_t *l) atomic_long_add_negative() 97 static inline long atomic_long_add_return(long i, atomic_long_t *l) atomic_long_add_return() 104 static inline long atomic_long_sub_return(long i, atomic_long_t *l) atomic_long_sub_return() 111 static inline long atomic_long_inc_return(atomic_long_t *l) atomic_long_inc_return() 118 static inline long atomic_long_dec_return(atomic_long_t *l) atomic_long_dec_return() 125 static inline long atomic_long_add_unless(atomic_long_t *l, long a, long u) atomic_long_add_unless() 141 typedef atomic_t atomic_long_t; typedef 144 static inline long atomic_long_read(atomic_long_t *l) atomic_long_read() 151 static inline void atomic_long_set(atomic_long_t *l, long i) atomic_long_set() 158 static inline void atomic_long_inc(atomic_long_t *l) atomic_long_inc() 165 static inline void atomic_long_dec(atomic_long_t *l) atomic_long_dec() 172 static inline void atomic_long_add(long i, atomic_long_t *l) atomic_long_add() 179 static inline void atomic_long_sub(long i, atomic_long_t *l) atomic_long_sub() 186 static inline int atomic_long_sub_and_test(long i, atomic_long_t *l) atomic_long_sub_and_test() 193 static inline int atomic_long_dec_and_test(atomic_long_t *l) atomic_long_dec_and_test() 200 static inline int atomic_long_inc_and_test(atomic_long_t *l) atomic_long_inc_and_test() 207 static inline int atomic_long_add_negative(long i, atomic_long_t *l) atomic_long_add_negative() 214 static inline long atomic_long_add_return(long i, atomic_long_t *l) atomic_long_add_return() 221 static inline long atomic_long_sub_return(long i, atomic_long_t *l) atomic_long_sub_return() 228 static inline long atomic_long_inc_return(atomic_long_t *l) atomic_long_inc_return() 235 static inline long atomic_long_dec_return(atomic_long_t *l) atomic_long_dec_return() 242 static inline long atomic_long_add_unless(atomic_long_t *l, long a, long u) atomic_long_add_unless()
|
H A D | rwsem.h | 36 if (unlikely(atomic_long_inc_return((atomic_long_t *)&sem->count) <= 0)) __down_read() 61 (atomic_long_t *)&sem->count); __down_write_nested() 87 tmp = atomic_long_dec_return((atomic_long_t *)&sem->count); __up_read() 98 (atomic_long_t *)&sem->count) < 0)) __up_write() 107 atomic_long_add(delta, (atomic_long_t *)&sem->count); rwsem_atomic_add() 118 (atomic_long_t *)&sem->count); __downgrade_write() 128 return atomic_long_add_return(delta, (atomic_long_t *)&sem->count); rwsem_atomic_update()
|
H A D | local.h | 12 * This is the default implementation, which uses atomic_long_t. Which is 23 atomic_long_t a;
|
/linux-4.1.27/include/linux/ |
H A D | ns_common.h | 7 atomic_long_t stashed;
|
H A D | page_counter.h | 9 atomic_long_t count;
|
H A D | shrinker.h | 62 atomic_long_t *nr_deferred;
|
H A D | iocontext.h | 98 atomic_long_t refcount;
|
H A D | workqueue.h | 101 atomic_long_t data; 208 (_work)->data = (atomic_long_t) WORK_DATA_INIT(); \ work_static() 217 (_work)->data = (atomic_long_t) WORK_DATA_INIT(); \
|
H A D | mm_types.h | 337 atomic_long_t count[NR_MM_COUNTERS]; 357 atomic_long_t nr_ptes; /* PTE page table pages */ 359 atomic_long_t nr_pmds; /* PMD page table pages */
|
H A D | nfs_fs_sb.h | 133 atomic_long_t writeback; /* number of writeback pages */
|
H A D | vmstat.h | 111 extern atomic_long_t vm_stat[NR_VM_ZONE_STAT_ITEMS];
|
H A D | percpu-refcount.h | 84 atomic_long_t count;
|
H A D | ww_mutex.h | 20 atomic_long_t stamp;
|
H A D | swap.h | 406 extern atomic_long_t nr_swap_pages;
|
H A D | mmzone.h | 495 atomic_long_t inactive_age; 529 atomic_long_t vm_stat[NR_VM_ZONE_STAT_ITEMS];
|
H A D | perf_event.h | 428 atomic_long_t refcount;
|
H A D | sched.h | 798 atomic_long_t epoll_watches; /* The number of file descriptors currently watched */ 817 atomic_long_t locked_vm;
|
H A D | mm.h | 1786 extern atomic_long_t mmap_pages_allocated; 2181 extern atomic_long_t num_poisoned_pages;
|
H A D | netdevice.h | 1557 atomic_long_t rx_dropped; 1558 atomic_long_t tx_dropped;
|
H A D | fs.h | 843 atomic_long_t f_count; 1349 atomic_long_t s_remove_count;
|
/linux-4.1.27/drivers/misc/sgi-gru/ |
H A D | grutables.h | 170 atomic_long_t vdata_alloc; 171 atomic_long_t vdata_free; 172 atomic_long_t gts_alloc; 173 atomic_long_t gts_free; 174 atomic_long_t gms_alloc; 175 atomic_long_t gms_free; 176 atomic_long_t gts_double_allocate; 177 atomic_long_t assign_context; 178 atomic_long_t assign_context_failed; 179 atomic_long_t free_context; 180 atomic_long_t load_user_context; 181 atomic_long_t load_kernel_context; 182 atomic_long_t lock_kernel_context; 183 atomic_long_t unlock_kernel_context; 184 atomic_long_t steal_user_context; 185 atomic_long_t steal_kernel_context; 186 atomic_long_t steal_context_failed; 187 atomic_long_t nopfn; 188 atomic_long_t asid_new; 189 atomic_long_t asid_next; 190 atomic_long_t asid_wrap; 191 atomic_long_t asid_reuse; 192 atomic_long_t intr; 193 atomic_long_t intr_cbr; 194 atomic_long_t intr_tfh; 195 atomic_long_t intr_spurious; 196 atomic_long_t intr_mm_lock_failed; 197 atomic_long_t call_os; 198 atomic_long_t call_os_wait_queue; 199 atomic_long_t user_flush_tlb; 200 atomic_long_t user_unload_context; 201 atomic_long_t user_exception; 202 atomic_long_t set_context_option; 203 atomic_long_t check_context_retarget_intr; 204 atomic_long_t check_context_unload; 205 atomic_long_t tlb_dropin; 206 atomic_long_t tlb_preload_page; 207 atomic_long_t tlb_dropin_fail_no_asid; 208 atomic_long_t tlb_dropin_fail_upm; 209 atomic_long_t tlb_dropin_fail_invalid; 210 atomic_long_t tlb_dropin_fail_range_active; 211 atomic_long_t tlb_dropin_fail_idle; 212 atomic_long_t tlb_dropin_fail_fmm; 213 atomic_long_t tlb_dropin_fail_no_exception; 214 atomic_long_t tfh_stale_on_fault; 215 atomic_long_t mmu_invalidate_range; 216 atomic_long_t mmu_invalidate_page; 217 atomic_long_t flush_tlb; 218 atomic_long_t flush_tlb_gru; 219 atomic_long_t flush_tlb_gru_tgh; 220 atomic_long_t flush_tlb_gru_zero_asid; 222 atomic_long_t copy_gpa; 223 atomic_long_t read_gpa; 225 atomic_long_t mesq_receive; 226 atomic_long_t mesq_receive_none; 227 atomic_long_t mesq_send; 228 atomic_long_t mesq_send_failed; 229 atomic_long_t mesq_noop; 230 atomic_long_t mesq_send_unexpected_error; 231 atomic_long_t mesq_send_lb_overflow; 232 atomic_long_t mesq_send_qlimit_reached; 233 atomic_long_t mesq_send_amo_nacked; 234 atomic_long_t mesq_send_put_nacked; 235 atomic_long_t mesq_page_overflow; 236 atomic_long_t mesq_qf_locked; 237 atomic_long_t mesq_qf_noop_not_full; 238 atomic_long_t mesq_qf_switch_head_failed; 239 atomic_long_t mesq_qf_unexpected_error; 240 atomic_long_t mesq_noop_unexpected_error; 241 atomic_long_t mesq_noop_lb_overflow; 242 atomic_long_t mesq_noop_qlimit_reached; 243 atomic_long_t mesq_noop_amo_nacked; 244 atomic_long_t mesq_noop_put_nacked; 245 atomic_long_t mesq_noop_page_overflow; 254 atomic_long_t count; 255 atomic_long_t total;
|
H A D | gruprocfs.c | 35 static void printstat_val(struct seq_file *s, atomic_long_t *v, char *id) printstat_val()
|
/linux-4.1.27/net/l2tp/ |
H A D | l2tp_core.h | 39 atomic_long_t tx_packets; 40 atomic_long_t tx_bytes; 41 atomic_long_t tx_errors; 42 atomic_long_t rx_packets; 43 atomic_long_t rx_bytes; 44 atomic_long_t rx_seq_discards; 45 atomic_long_t rx_oos_packets; 46 atomic_long_t rx_errors; 47 atomic_long_t rx_cookie_discards;
|
H A D | l2tp_eth.c | 45 atomic_long_t tx_bytes; 46 atomic_long_t tx_packets; 47 atomic_long_t tx_dropped; 48 atomic_long_t rx_bytes; 49 atomic_long_t rx_packets; 50 atomic_long_t rx_errors;
|
/linux-4.1.27/include/net/ |
H A D | snmp.h | 70 atomic_long_t mibs[ICMPMSG_MIB_MAX]; 81 atomic_long_t mibs[ICMP6_MIB_MAX]; 87 atomic_long_t mibs[ICMP6MSG_MIB_MAX]; 91 atomic_long_t mibs[ICMP6MSG_MIB_MAX];
|
H A D | af_unix.h | 59 atomic_long_t inflight;
|
H A D | udp.h | 100 extern atomic_long_t udp_memory_allocated;
|
H A D | ipv6.h | 132 /* per device counters are atomic_long_t */ 141 /* per device and per net counters are atomic_long_t */
|
H A D | tcp.h | 285 extern atomic_long_t tcp_memory_allocated;
|
H A D | sock.h | 1003 atomic_long_t *memory_allocated; /* Current allocated memory. */
|
/linux-4.1.27/arch/alpha/include/asm/ |
H A D | local.h | 9 atomic_long_t a;
|
/linux-4.1.27/net/openvswitch/ |
H A D | vport.h | 74 atomic_long_t rx_dropped; 75 atomic_long_t rx_errors; 76 atomic_long_t tx_dropped; 77 atomic_long_t tx_errors;
|
/linux-4.1.27/kernel/rcu/ |
H A D | tree.h | 348 atomic_long_t nocb_q_count; /* # CBs waiting for nocb */ 349 atomic_long_t nocb_q_count_lazy; /* invocation (all stages). */ 466 atomic_long_t expedited_start; /* Starting ticket. */ 467 atomic_long_t expedited_done; /* Done ticket. */ 468 atomic_long_t expedited_wrap; /* # near-wrap incidents. */ 469 atomic_long_t expedited_tryfail; /* # acquisition failures. */ 470 atomic_long_t expedited_workdone1; /* # done by others #1. */ 471 atomic_long_t expedited_workdone2; /* # done by others #2. */ 472 atomic_long_t expedited_normal; /* # fallbacks to normal. */ 473 atomic_long_t expedited_stoppedcpus; /* # successful stop_cpus. */ 474 atomic_long_t expedited_done_tries; /* # tries to update _done. */ 475 atomic_long_t expedited_done_lost; /* # times beaten to _done. */ 476 atomic_long_t expedited_done_exit; /* # times exited _done loop. */
|
H A D | rcutorture.c | 151 static atomic_long_t n_cbfloods;
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | local.h | 9 atomic_long_t a;
|
/linux-4.1.27/include/target/iscsi/ |
H A D | iscsi_target_core.h | 661 atomic_long_t cmd_pdus; 662 atomic_long_t rsp_pdus; 663 atomic_long_t tx_data_octets; 664 atomic_long_t rx_data_octets; 665 atomic_long_t conn_digest_errors; 666 atomic_long_t conn_timeout_errors;
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | local.h | 10 atomic_long_t a;
|
/linux-4.1.27/drivers/block/zram/ |
H A D | zram_drv.h | 94 atomic_long_t max_used_pages; /* no. of maximum pages stored */
|
/linux-4.1.27/arch/mips/include/asm/ |
H A D | local.h | 13 atomic_long_t a;
|
/linux-4.1.27/net/ipv6/ |
H A D | proc.c | 154 static void snmp6_seq_show_icmpv6msg(struct seq_file *seq, atomic_long_t *smib) snmp6_seq_show_icmpv6msg() 191 atomic_long_t *smib, snmp6_seq_show_item()
|
H A D | addrconf.c | 4622 static inline void __snmp6_fill_statsdev(u64 *stats, atomic_long_t *mib, __snmp6_fill_statsdev()
|
/linux-4.1.27/security/integrity/ima/ |
H A D | ima.h | 119 atomic_long_t len; /* number of stored measurements in the list */ 120 atomic_long_t violations;
|
H A D | ima_fs.c | 31 loff_t *ppos, atomic_long_t *val) ima_show_htable_value()
|
/linux-4.1.27/include/target/ |
H A D | target_core_base.h | 767 atomic_long_t num_resets; 768 atomic_long_t num_cmds; 769 atomic_long_t read_bytes; 770 atomic_long_t write_bytes;
|
/linux-4.1.27/mm/ |
H A D | debug.c | 208 atomic_long_read((atomic_long_t *)&mm->nr_ptes), dump_mm()
|
H A D | slab.h | 352 atomic_long_t nr_slabs; 353 atomic_long_t total_objects;
|
H A D | backing-dev.c | 15 static atomic_long_t bdi_seq = ATOMIC_LONG_INIT(0);
|
H A D | vmstat.c | 89 atomic_long_t vm_stat[NR_VM_ZONE_STAT_ITEMS] __cacheline_aligned_in_smp;
|
H A D | zsmalloc.c | 256 atomic_long_t pages_allocated;
|
H A D | memory-failure.c | 64 atomic_long_t num_poisoned_pages __read_mostly = ATOMIC_LONG_INIT(0);
|
H A D | nommu.c | 77 atomic_long_t mmap_pages_allocated;
|
H A D | swapfile.c | 50 atomic_long_t nr_swap_pages;
|
/linux-4.1.27/drivers/md/bcache/ |
H A D | bcache.h | 454 atomic_long_t meta_sectors_written; 455 atomic_long_t btree_sectors_written; 456 atomic_long_t sectors_written; 661 atomic_long_t cache_read_races; 662 atomic_long_t writeback_keys_done; 663 atomic_long_t writeback_keys_failed;
|
/linux-4.1.27/include/linux/sunrpc/ |
H A D | svc.h | 29 atomic_long_t packets; 31 atomic_long_t threads_woken; 32 atomic_long_t threads_timedout;
|
/linux-4.1.27/kernel/sched/ |
H A D | proc.c | 59 atomic_long_t calc_load_tasks; 152 static atomic_long_t calc_load_idle[2];
|
H A D | sched.h | 27 extern atomic_long_t calc_load_tasks; 240 atomic_long_t load_avg; 376 atomic_long_t removed_load;
|
/linux-4.1.27/crypto/ |
H A D | af_alg.c | 31 static atomic_long_t alg_memory_allocated;
|
/linux-4.1.27/drivers/tty/ |
H A D | tty_ldsem.c | 79 return atomic_long_add_return(delta, (atomic_long_t *)&sem->count); ldsem_atomic_update()
|
/linux-4.1.27/fs/ubifs/ |
H A D | shrinker.c | 58 atomic_long_t ubifs_clean_zn_cnt;
|
H A D | ubifs.h | 1339 atomic_long_t dirty_pg_cnt; 1340 atomic_long_t dirty_zn_cnt; 1341 atomic_long_t clean_zn_cnt; 1470 extern atomic_long_t ubifs_clean_zn_cnt;
|
/linux-4.1.27/net/ipv4/ |
H A D | proc.c | 351 atomic_long_t *ptr = net->mib.icmpmsg_statistics->mibs; icmp_put()
|
H A D | tcp.c | 302 atomic_long_t tcp_memory_allocated; /* Current allocated memory. */
|
H A D | udp.c | 130 atomic_long_t udp_memory_allocated;
|
/linux-4.1.27/lib/ |
H A D | percpu-refcount.c | 31 * atomic_long_t can't hit 0 before we've added up all the percpu refs.
|
/linux-4.1.27/kernel/ |
H A D | acct.c | 82 atomic_long_t count;
|
H A D | audit_tree.c | 29 atomic_long_t refs;
|
/linux-4.1.27/fs/ceph/ |
H A D | super.c | 888 static atomic_long_t bdi_seq = ATOMIC_LONG_INIT(0);
|
H A D | super.h | 90 atomic_long_t writeback_count;
|
/linux-4.1.27/drivers/net/ethernet/tile/ |
H A D | tilegx.c | 353 BUILD_BUG_ON(sizeof(atomic_long_t) != sizeof(unsigned long)); tile_net_stats_add() 354 atomic_long_add(value, (atomic_long_t *)field); tile_net_stats_add()
|
/linux-4.1.27/fs/nfs/ |
H A D | dir.c | 2088 static atomic_long_t nfs_access_nr_entries;
|
H A D | inode.c | 1273 static atomic_long_t nfs_attr_generation_counter;
|
/linux-4.1.27/net/decnet/ |
H A D | af_decnet.c | 158 static atomic_long_t decnet_memory_allocated;
|
/linux-4.1.27/net/unix/ |
H A D | af_unix.c | 125 static atomic_long_t unix_nr_socks;
|
/linux-4.1.27/drivers/infiniband/core/ |
H A D | cm.c | 118 atomic_long_t counter[CM_ATTR_COUNT];
|
/linux-4.1.27/fs/nfsd/ |
H A D | nfs4state.c | 364 static atomic_long_t num_delegations;
|
/linux-4.1.27/net/sctp/ |
H A D | socket.c | 106 static atomic_long_t sctp_memory_allocated;
|