Searched refs:local_t (Results 1 – 15 of 15) sorted by relevance
/linux-4.4.14/arch/x86/include/asm/ |
D | local.h | 11 } 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.4.14/arch/m32r/include/asm/ |
D | local.h | 27 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.4.14/arch/powerpc/include/asm/ |
D | local.h | 10 } 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.4.14/kernel/events/ |
D | internal.h | 24 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.4.14/Documentation/ |
D | local_ops.txt | 11 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 …]
|
D | atomic_ops.txt | 21 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.4.14/arch/alpha/include/asm/ |
D | local.h | 10 } 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.4.14/arch/x86/kernel/cpu/ |
D | intel_pt.h | 97 local_t data_size; 98 local_t lost;
|
D | perf_event_intel_bts.c | 55 local_t data_size; 56 local_t lost; 57 local_t head;
|
/linux-4.4.14/arch/mips/include/asm/ |
D | local.h | 14 } 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.4.14/arch/mips/math-emu/ |
D | me-debugfs.c | 20 local_t *pv; in fpuemu_stat_get()
|
/linux-4.4.14/include/asm-generic/ |
D | local.h | 24 } local_t; typedef
|
D | local64.h | 24 local_t a;
|
/linux-4.4.14/kernel/trace/ |
D | ring_buffer.c | 285 local_t commit; /* write committed index */ 299 local_t write; /* index for next write */ 301 local_t entries; /* entries on this page */ 449 local_t entries_bytes; 450 local_t entries; 451 local_t overrun; 452 local_t commit_overrun; 453 local_t dropped_events; 454 local_t committing; 455 local_t commits;
|
D | ring_buffer_benchmark.c | 15 local_t commit;
|