Home
last modified time | relevance | path

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

/tools/include/asm-generic/bitops/
Dconst_hweight.h8 #define __const_hweight8(w) \ argument
19 #define __const_hweight16(w) (__const_hweight8(w) + __const_hweight8((w) >> 8 )) argument
20 #define __const_hweight32(w) (__const_hweight16(w) + __const_hweight16((w) >> 16)) argument
21 #define __const_hweight64(w) (__const_hweight32(w) + __const_hweight32((w) >> 32)) argument
26 #define hweight8(w) (__builtin_constant_p(w) ? __const_hweight8(w) : __arch_hweight8(w)) argument
27 #define hweight16(w) (__builtin_constant_p(w) ? __const_hweight16(w) : __arch_hweight16(w)) argument
28 #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w)) argument
29 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w)) argument
34 #define HWEIGHT8(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight8(w)) argument
35 #define HWEIGHT16(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight16(w)) argument
[all …]
Darch_hweight.h7 static inline unsigned int __arch_hweight32(unsigned int w) in __arch_hweight32()
12 static inline unsigned int __arch_hweight16(unsigned int w) in __arch_hweight16()
17 static inline unsigned int __arch_hweight8(unsigned int w) in __arch_hweight8()
22 static inline unsigned long __arch_hweight64(__u64 w) in __arch_hweight64()
/tools/lib/
Dhweight.c12 unsigned int __sw_hweight32(unsigned int w) in __sw_hweight32()
28 unsigned int __sw_hweight16(unsigned int w) in __sw_hweight16()
36 unsigned int __sw_hweight8(unsigned int w) in __sw_hweight8()
43 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/bench/
Dfutex-lock-pi.c79 struct worker *w = (struct worker *) arg; in workerfn() local
116 static void create_threads(struct worker *w, pthread_attr_t thread_attr) in create_threads()
Dfutex-wake.c91 static void block_threads(pthread_t *w, in block_threads()
Dfutex-requeue.c85 static void block_threads(pthread_t *w, in block_threads()
Dfutex-hash.c68 struct worker *w = (struct worker *) arg; in workerfn() local
Dfutex-wake-parallel.c122 static void block_threads(pthread_t *w, pthread_attr_t thread_attr) in block_threads()
/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/
Dworkqueues.h76 #define INIT_WORK(w, f) \ argument
82 #define INIT_DELAYED_WORK(w, f) INIT_WORK(&(w)->work, (f)) argument
/tools/perf/util/
Dlevenshtein.c45 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.c757 int w; in pmu_format_max_value() local
/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/include/linux/
Dbitops.h50 static inline unsigned long hweight_long(unsigned long w) in hweight_long()
/tools/hv/
Dhv_kvp_daemon.c813 static unsigned int hweight32(unsigned int *w) in hweight32()
874 unsigned int *w; in kvp_get_ip_info() local
/tools/iio/
Diio_utils.c35 char *w, *r; in iioutils_break_up_name() local
/tools/testing/selftests/bpf/
Dtest_maps.c479 fd_set w; in test_sockmap() local
/tools/vm/
Dpage-types.c854 char r, w, x, s; in parse_pid() local
/tools/include/uapi/drm/
Di915_drm.h109 unsigned int w; member