Home
last modified time | relevance | path

Searched defs:w (Results 1 – 18 of 18) sorted by relevance

/tools/include/asm-generic/bitops/
Dconst_hweight.h7 #define __const_hweight8(w) \ argument
18 #define __const_hweight16(w) (__const_hweight8(w) + __const_hweight8((w) >> 8 )) argument
19 #define __const_hweight32(w) (__const_hweight16(w) + __const_hweight16((w) >> 16)) argument
20 #define __const_hweight64(w) (__const_hweight32(w) + __const_hweight32((w) >> 32)) argument
25 #define hweight8(w) (__builtin_constant_p(w) ? __const_hweight8(w) : __arch_hweight8(w)) argument
26 #define hweight16(w) (__builtin_constant_p(w) ? __const_hweight16(w) : __arch_hweight16(w)) argument
27 #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w)) argument
28 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w)) argument
33 #define HWEIGHT8(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight8(w)) argument
34 #define HWEIGHT16(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight16(w)) argument
[all …]
Darch_hweight.h6 static inline unsigned int __arch_hweight32(unsigned int w) in __arch_hweight32()
11 static inline unsigned int __arch_hweight16(unsigned int w) in __arch_hweight16()
16 static inline unsigned int __arch_hweight8(unsigned int w) in __arch_hweight8()
21 static inline unsigned long __arch_hweight64(__u64 w) in __arch_hweight64()
/tools/lib/
Dhweight.c11 unsigned int __sw_hweight32(unsigned int w) in __sw_hweight32()
27 unsigned int __sw_hweight16(unsigned int w) in __sw_hweight16()
35 unsigned int __sw_hweight8(unsigned int w) in __sw_hweight8()
42 unsigned long __sw_hweight64(__u64 w) in __sw_hweight64()
Dbitmap.c12 int k, w = 0, lim = bits/BITS_PER_LONG; in __bitmap_weight() local
/tools/perf/util/
Dlevenshtein.c44 int w, int s, int a, int d) in levenshtein()
Dsvghelper.c157 double w = time2pixels(end) - time2pixels(start); in svg_ubox() local
176 double w = time2pixels(end) - time2pixels(start); in svg_lbox() local
195 double w = time2pixels(end) - time2pixels(start); in svg_fbox() local
Dpmu.c688 __u64 w = 0; in pmu_format_max_value() local
/tools/perf/bench/
Dfutex-lock-pi.c77 struct worker *w = (struct worker *) arg; in workerfn() local
112 static void create_threads(struct worker *w, pthread_attr_t thread_attr) in create_threads()
Dfutex-requeue.c83 static void block_threads(pthread_t *w, in block_threads()
Dfutex-wake.c89 static void block_threads(pthread_t *w, in block_threads()
Dfutex-hash.c67 struct worker *w = (struct worker *) arg; in workerfn() local
Dfutex-wake-parallel.c120 static void block_threads(pthread_t *w, pthread_attr_t thread_attr) in block_threads()
/tools/include/linux/
Dbitops.h48 static inline unsigned long hweight_long(unsigned long w) in hweight_long()
/tools/thermal/tmon/
Dtui.c289 WINDOW *w = dialogue_window; in show_dialogue() local
326 WINDOW *w = dialogue_window; in write_dialogue_win() local
420 WINDOW *w = dialogue_window; in handle_input_val() local
/tools/hv/
Dhv_kvp_daemon.c824 static unsigned int hweight32(unsigned int *w) in hweight32()
885 unsigned int *w; in kvp_get_ip_info() local
/tools/iio/
Diio_utils.c35 char *w, *r; in iioutils_break_up_name() local
/tools/vm/
Dpage-types.c860 char r, w, x, s; in parse_pid() local
/tools/perf/ui/browsers/
Dannotate.c105 int w = 7 * ab->nr_events; in annotate_browser__pcnt_width() local