Searched refs:atomic_long_t (Results 1 - 76 of 76) sorted by relevance

/linux-4.1.27/include/asm-generic/
H A Datomic-long.h14 * 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 Drwsem.h36 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 Dlocal.h12 * 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 Dns_common.h7 atomic_long_t stashed;
H A Dpage_counter.h9 atomic_long_t count;
H A Dshrinker.h62 atomic_long_t *nr_deferred;
H A Diocontext.h98 atomic_long_t refcount;
H A Dworkqueue.h101 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 Dmm_types.h337 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 Dnfs_fs_sb.h133 atomic_long_t writeback; /* number of writeback pages */
H A Dvmstat.h111 extern atomic_long_t vm_stat[NR_VM_ZONE_STAT_ITEMS];
H A Dpercpu-refcount.h84 atomic_long_t count;
H A Dww_mutex.h20 atomic_long_t stamp;
H A Dswap.h406 extern atomic_long_t nr_swap_pages;
H A Dmmzone.h495 atomic_long_t inactive_age;
529 atomic_long_t vm_stat[NR_VM_ZONE_STAT_ITEMS];
H A Dperf_event.h428 atomic_long_t refcount;
H A Dsched.h798 atomic_long_t epoll_watches; /* The number of file descriptors currently watched */
817 atomic_long_t locked_vm;
H A Dmm.h1786 extern atomic_long_t mmap_pages_allocated;
2181 extern atomic_long_t num_poisoned_pages;
H A Dnetdevice.h1557 atomic_long_t rx_dropped;
1558 atomic_long_t tx_dropped;
H A Dfs.h843 atomic_long_t f_count;
1349 atomic_long_t s_remove_count;
/linux-4.1.27/drivers/misc/sgi-gru/
H A Dgrutables.h170 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 Dgruprocfs.c35 static void printstat_val(struct seq_file *s, atomic_long_t *v, char *id) printstat_val()
/linux-4.1.27/net/l2tp/
H A Dl2tp_core.h39 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 Dl2tp_eth.c45 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 Dsnmp.h70 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 Daf_unix.h59 atomic_long_t inflight;
H A Dudp.h100 extern atomic_long_t udp_memory_allocated;
H A Dipv6.h132 /* per device counters are atomic_long_t */
141 /* per device and per net counters are atomic_long_t */
H A Dtcp.h285 extern atomic_long_t tcp_memory_allocated;
H A Dsock.h1003 atomic_long_t *memory_allocated; /* Current allocated memory. */
/linux-4.1.27/arch/alpha/include/asm/
H A Dlocal.h9 atomic_long_t a;
/linux-4.1.27/net/openvswitch/
H A Dvport.h74 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 Dtree.h348 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 Drcutorture.c151 static atomic_long_t n_cbfloods;
/linux-4.1.27/arch/powerpc/include/asm/
H A Dlocal.h9 atomic_long_t a;
/linux-4.1.27/include/target/iscsi/
H A Discsi_target_core.h661 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 Dlocal.h10 atomic_long_t a;
/linux-4.1.27/drivers/block/zram/
H A Dzram_drv.h94 atomic_long_t max_used_pages; /* no. of maximum pages stored */
/linux-4.1.27/arch/mips/include/asm/
H A Dlocal.h13 atomic_long_t a;
/linux-4.1.27/net/ipv6/
H A Dproc.c154 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 Daddrconf.c4622 static inline void __snmp6_fill_statsdev(u64 *stats, atomic_long_t *mib, __snmp6_fill_statsdev()
/linux-4.1.27/security/integrity/ima/
H A Dima.h119 atomic_long_t len; /* number of stored measurements in the list */
120 atomic_long_t violations;
H A Dima_fs.c31 loff_t *ppos, atomic_long_t *val) ima_show_htable_value()
/linux-4.1.27/include/target/
H A Dtarget_core_base.h767 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 Ddebug.c208 atomic_long_read((atomic_long_t *)&mm->nr_ptes), dump_mm()
H A Dslab.h352 atomic_long_t nr_slabs;
353 atomic_long_t total_objects;
H A Dbacking-dev.c15 static atomic_long_t bdi_seq = ATOMIC_LONG_INIT(0);
H A Dvmstat.c89 atomic_long_t vm_stat[NR_VM_ZONE_STAT_ITEMS] __cacheline_aligned_in_smp;
H A Dzsmalloc.c256 atomic_long_t pages_allocated;
H A Dmemory-failure.c64 atomic_long_t num_poisoned_pages __read_mostly = ATOMIC_LONG_INIT(0);
H A Dnommu.c77 atomic_long_t mmap_pages_allocated;
H A Dswapfile.c50 atomic_long_t nr_swap_pages;
/linux-4.1.27/drivers/md/bcache/
H A Dbcache.h454 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 Dsvc.h29 atomic_long_t packets;
31 atomic_long_t threads_woken;
32 atomic_long_t threads_timedout;
/linux-4.1.27/kernel/sched/
H A Dproc.c59 atomic_long_t calc_load_tasks;
152 static atomic_long_t calc_load_idle[2];
H A Dsched.h27 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 Daf_alg.c31 static atomic_long_t alg_memory_allocated;
/linux-4.1.27/drivers/tty/
H A Dtty_ldsem.c79 return atomic_long_add_return(delta, (atomic_long_t *)&sem->count); ldsem_atomic_update()
/linux-4.1.27/fs/ubifs/
H A Dshrinker.c58 atomic_long_t ubifs_clean_zn_cnt;
H A Dubifs.h1339 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 Dproc.c351 atomic_long_t *ptr = net->mib.icmpmsg_statistics->mibs; icmp_put()
H A Dtcp.c302 atomic_long_t tcp_memory_allocated; /* Current allocated memory. */
H A Dudp.c130 atomic_long_t udp_memory_allocated;
/linux-4.1.27/lib/
H A Dpercpu-refcount.c31 * atomic_long_t can't hit 0 before we've added up all the percpu refs.
/linux-4.1.27/kernel/
H A Dacct.c82 atomic_long_t count;
H A Daudit_tree.c29 atomic_long_t refs;
/linux-4.1.27/fs/ceph/
H A Dsuper.c888 static atomic_long_t bdi_seq = ATOMIC_LONG_INIT(0);
H A Dsuper.h90 atomic_long_t writeback_count;
/linux-4.1.27/drivers/net/ethernet/tile/
H A Dtilegx.c353 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 Ddir.c2088 static atomic_long_t nfs_access_nr_entries;
H A Dinode.c1273 static atomic_long_t nfs_attr_generation_counter;
/linux-4.1.27/net/decnet/
H A Daf_decnet.c158 static atomic_long_t decnet_memory_allocated;
/linux-4.1.27/net/unix/
H A Daf_unix.c125 static atomic_long_t unix_nr_socks;
/linux-4.1.27/drivers/infiniband/core/
H A Dcm.c118 atomic_long_t counter[CM_ATTR_COUNT];
/linux-4.1.27/fs/nfsd/
H A Dnfs4state.c364 static atomic_long_t num_delegations;
/linux-4.1.27/net/sctp/
H A Dsocket.c106 static atomic_long_t sctp_memory_allocated;

Completed in 2429 milliseconds