Home
last modified time | relevance | path

Searched refs:local_t (Results 1 – 15 of 15) sorted by relevance

/linux-4.1.27/arch/x86/include/asm/
Dlocal.h11 } local_t; typedef
18 static inline void local_inc(local_t *l) in local_inc()
24 static inline void local_dec(local_t *l) in local_dec()
30 static inline void local_add(long i, local_t *l) in local_add()
37 static inline void local_sub(long i, local_t *l) in local_sub()
53 static inline int local_sub_and_test(long i, local_t *l) in local_sub_and_test()
66 static inline int local_dec_and_test(local_t *l) in local_dec_and_test()
79 static inline int local_inc_and_test(local_t *l) in local_inc_and_test()
93 static inline int local_add_negative(long i, local_t *l) in local_add_negative()
105 static inline long local_add_return(long i, local_t *l) in local_add_return()
[all …]
/linux-4.1.27/arch/m32r/include/asm/
Dlocal.h27 typedef struct { volatile int counter; } local_t; typedef
55 static inline long local_add_return(long i, local_t *l) in local_add_return()
86 static inline long local_sub_return(long i, local_t *l) in local_sub_return()
145 static inline long local_inc_return(local_t *l) in local_inc_return()
175 static inline long local_dec_return(local_t *l) in local_dec_return()
258 static inline int local_add_unless(local_t *l, long a, long u) in local_add_unless()
275 static inline void local_clear_mask(unsigned long mask, local_t *addr) in local_clear_mask()
297 static inline void local_set_mask(unsigned long mask, local_t *addr) in local_set_mask()
/linux-4.1.27/arch/powerpc/include/asm/
Dlocal.h10 } local_t; typedef
22 static __inline__ long local_add_return(long a, local_t *l) in local_add_return()
41 static __inline__ long local_sub_return(long a, local_t *l) in local_sub_return()
58 static __inline__ long local_inc_return(local_t *l) in local_inc_return()
85 static __inline__ long local_dec_return(local_t *l) in local_dec_return()
115 static __inline__ int local_add_unless(local_t *l, long a, long u) in local_add_unless()
145 static __inline__ long local_dec_if_positive(local_t *l) in local_dec_if_positive()
/linux-4.1.27/kernel/events/
Dinternal.h24 local_t head; /* write position */
25 local_t nest; /* nested writers */
26 local_t events; /* event limit */
27 local_t wakeup; /* wakeup stamp */
28 local_t lost; /* nr records lost */
41 local_t aux_head;
42 local_t aux_nest;
43 local_t aux_wakeup;
/linux-4.1.27/Documentation/
Dlocal_ops.txt11 Note that local_t based operations are not recommended for general kernel use.
13 Most uses of local_t in the kernel have been replaced by this_cpu operations.
14 this_cpu operations combine the relocation with the local_t like semantics in
32 CPU writes to the local_t data. This is done by using per cpu data and making
34 permitted to read local_t data from any CPU : it will then appear to be written
46 The local_t type is defined as an opaque signed long by embedding an
50 typedef struct { atomic_long_t a; } local_t;
58 to update its local_t variables.
81 static DEFINE_PER_CPU(local_t, counters) = LOCAL_INIT(0);
115 the local_t variable as a counter of bytes written in a buffer : there should
[all …]
Datomic_ops.txt21 local_t is very similar to atomic_t. If the counter is per CPU and only
22 updated by one CPU, local_t is probably more appropriate. Please see
23 Documentation/local_ops.txt for the semantics of local_t.
/linux-4.1.27/arch/alpha/include/asm/
Dlocal.h10 } local_t; typedef
20 static __inline__ long local_add_return(long i, local_t * l) in local_add_return()
37 static __inline__ long local_sub_return(long i, local_t * l) in local_sub_return()
/linux-4.1.27/arch/x86/kernel/cpu/
Dintel_pt.h112 local_t data_size;
113 local_t lost;
Dperf_event_intel_bts.c55 local_t data_size;
56 local_t lost;
57 local_t head;
/linux-4.1.27/arch/mips/include/asm/
Dlocal.h14 } local_t; typedef
29 static __inline__ long local_add_return(long i, local_t * l) in local_add_return()
74 static __inline__ long local_sub_return(long i, local_t * l) in local_sub_return()
/linux-4.1.27/arch/mips/math-emu/
Dme-debugfs.c19 local_t *pv; in fpuemu_stat_get()
/linux-4.1.27/include/asm-generic/
Dlocal.h24 } local_t; typedef
Dlocal64.h24 local_t a;
/linux-4.1.27/kernel/trace/
Dring_buffer.c337 local_t commit; /* write committed index */
351 local_t write; /* index for next write */
353 local_t entries; /* entries on this page */
473 local_t entries_bytes;
474 local_t entries;
475 local_t overrun;
476 local_t commit_overrun;
477 local_t dropped_events;
478 local_t committing;
479 local_t commits;
Dring_buffer_benchmark.c15 local_t commit;