Home
last modified time | relevance | path

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

12

/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.c10 int k, w = 0, lim = bits/BITS_PER_LONG; in __bitmap_weight() local
/tools/perf/bench/
Depoll-ctl.c132 static inline void do_epoll_op(struct worker *w, int op, int fd) in do_epoll_op()
160 static inline void do_random_epoll_op(struct worker *w) in do_random_epoll_op()
174 struct worker *w = (struct worker *) arg; in workerfn() local
204 static void init_fdmaps(struct worker *w, int pct) in init_fdmaps()
234 struct worker *w = &worker[i]; in do_threads() local
Depoll-wait.c186 struct worker *w = (struct worker *) arg; in workerfn() local
240 static void nest_epollfd(struct worker *w) in nest_epollfd()
311 struct worker *w = &worker[i]; in do_threads() local
385 struct worker *w = &worker[i]; in writerfn() local
Dfutex-lock-pi.c81 struct worker *w = (struct worker *) arg; in workerfn() local
118 static void create_threads(struct worker *w, pthread_attr_t thread_attr, in create_threads()
Dfutex-requeue.c87 static void block_threads(pthread_t *w, in block_threads()
Dfutex-wake.c93 static void block_threads(pthread_t *w, in block_threads()
Dfutex-hash.c70 struct worker *w = (struct worker *) arg; in workerfn() local
Dfutex-wake-parallel.c141 static void block_threads(pthread_t *w, pthread_attr_t thread_attr, in block_threads()
/tools/perf/util/
Dlevenshtein.c45 int w, int s, int a, int d) in levenshtein()
Dsvghelper.c155 double w = time2pixels(end) - time2pixels(start); in svg_ubox() local
174 double w = time2pixels(end) - time2pixels(start); in svg_lbox() local
193 double w = time2pixels(end) - time2pixels(start); in svg_fbox() local
/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/thermal/tmon/
Dtui.c280 WINDOW *w = dialogue_window; in show_dialogue() local
317 WINDOW *w = dialogue_window; in write_dialogue_win() local
411 WINDOW *w = dialogue_window; in handle_input_val() local
/tools/testing/selftests/bpf/progs/
Dtest_subprogs.c24 static __noinline int sub4(int w) in sub4()
/tools/include/linux/
Dbitops.h52 static inline unsigned long hweight_long(unsigned long w) in hweight_long()
/tools/testing/selftests/kvm/x86_64/
Dkvm_pv_test.c50 bool r, w; in guest_gp_handler() local
/tools/testing/selftests/safesetid/
Dsafesetid-test.c207 pid_t cpid, w; in test_setuid() local
/tools/bpf/bpftool/
Dgen.c559 int w = obj_data[i] ? 4 : 2; in do_skeleton() local
Dbtf.c103 json_writer_t *w = json_wtr; in dump_btf_type() local
/tools/hv/
Dhv_kvp_daemon.c755 static unsigned int hweight32(unsigned int *w) in hweight32()
816 unsigned int *w; in kvp_get_ip_info() local
/tools/iio/
Diio_utils.c32 char *w, *r; in iioutils_break_up_name() local
/tools/testing/selftests/powerpc/nx-gzip/
Dgunz_test.c314 char w[1024]; in decompress_file() local
/tools/testing/selftests/resctrl/
Dresctrl_val.c337 struct imc_counter_config *w = in get_mem_bw_imc() local

12