Searched refs:local_t (Results 1 – 21 of 21) sorted by relevance
/Linux-v4.19/arch/x86/include/asm/ |
D | local.h | 12 } local_t; typedef 19 static inline void local_inc(local_t *l) in local_inc() 25 static inline void local_dec(local_t *l) in local_dec() 31 static inline void local_add(long i, local_t *l) in local_add() 38 static inline void local_sub(long i, local_t *l) in local_sub() 54 static inline bool local_sub_and_test(long i, local_t *l) in local_sub_and_test() 67 static inline bool local_dec_and_test(local_t *l) in local_dec_and_test() 80 static inline bool local_inc_and_test(local_t *l) in local_inc_and_test() 94 static inline bool local_add_negative(long i, local_t *l) in local_add_negative() 106 static inline long local_add_return(long i, local_t *l) in local_add_return() [all …]
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | local.h | 16 } local_t; typedef 20 static __inline__ long local_read(local_t *l) in local_read() 25 static __inline__ void local_set(local_t *l, long i) in local_set() 31 static __inline__ void local_##op(long i, local_t *l) \ 41 static __inline__ long local_##op##_return(long a, local_t *l) \ 79 static __inline__ long local_cmpxchg(local_t *l, long o, long n) in local_cmpxchg() 93 static __inline__ long local_xchg(local_t *l, long n) in local_xchg() 115 static __inline__ int local_add_unless(local_t *l, long a, long u) in local_add_unless()
|
/Linux-v4.19/kernel/events/ |
D | internal.h | 25 local_t head; /* write position */ 26 local_t nest; /* nested writers */ 27 local_t events; /* event limit */ 28 local_t wakeup; /* wakeup stamp */ 29 local_t lost; /* nr records lost */ 43 local_t aux_nest;
|
/Linux-v4.19/Documentation/core-api/ |
D | local_ops.rst | 18 Note that ``local_t`` based operations are not recommended for general 20 really a special purpose. Most uses of ``local_t`` in the kernel have been 22 relocation with the ``local_t`` like semantics in a single instruction and 41 CPU writes to the ``local_t`` data. This is done by using per cpu data and 43 however permitted to read ``local_t`` data from any CPU: it will then appear to 56 The ``local_t`` type is defined as an opaque ``signed long`` by embedding an 60 typedef struct { atomic_long_t a; } local_t; 69 to update its ``local_t`` variables. 95 static DEFINE_PER_CPU(local_t, counters) = LOCAL_INIT(0); 131 the ``local_t`` variable as a counter of bytes written in a buffer: there should [all …]
|
D | atomic_ops.rst | 26 local_t is very similar to atomic_t. If the counter is per CPU and only 27 updated by one CPU, local_t is probably more appropriate. Please see 29 local_t.
|
/Linux-v4.19/arch/alpha/include/asm/ |
D | local.h | 11 } local_t; typedef 21 static __inline__ long local_add_return(long i, local_t * l) in local_add_return() 38 static __inline__ long local_sub_return(long i, local_t * l) in local_sub_return()
|
/Linux-v4.19/arch/mips/include/asm/ |
D | local.h | 15 } local_t; typedef 30 static __inline__ long local_add_return(long i, local_t * l) in local_add_return() 75 static __inline__ long local_sub_return(long i, local_t * l) in local_sub_return()
|
/Linux-v4.19/include/asm-generic/ |
D | local.h | 25 } local_t; typedef
|
D | local64.h | 25 local_t a;
|
/Linux-v4.19/arch/x86/events/intel/ |
D | pt.h | 146 local_t data_size;
|
D | bts.c | 65 local_t data_size; 66 local_t head;
|
/Linux-v4.19/drivers/hwtracing/coresight/ |
D | coresight-priv.h | 90 local_t data_size;
|
D | coresight-etm.h | 243 local_t mode;
|
D | coresight-etm4x.h | 346 local_t mode;
|
D | coresight-etb10.c | 86 local_t reading; 87 local_t mode;
|
D | coresight-stm.c | 137 local_t mode;
|
/Linux-v4.19/kernel/trace/ |
D | ring_buffer.c | 315 local_t commit; /* write committed index */ 329 local_t write; /* index for next write */ 331 local_t entries; /* entries on this page */ 483 local_t entries_bytes; 484 local_t entries; 485 local_t overrun; 486 local_t commit_overrun; 487 local_t dropped_events; 488 local_t committing; 489 local_t commits;
|
D | ring_buffer_benchmark.c | 17 local_t commit;
|
/Linux-v4.19/arch/mips/math-emu/ |
D | me-debugfs.c | 21 local_t *pv; in fpuemu_stat_get()
|
/Linux-v4.19/Documentation/kernel-hacking/ |
D | locking.rst | 1266 Of particular use for simple per-cpu counters is the ``local_t`` type,
|
/Linux-v4.19/Documentation/translations/it_IT/kernel-hacking/ |
D | locking.rst | 1299 Il tipo di dato ``local_t``, la funzione :c:func:`cpu_local_inc()` e tutte
|