/tools/include/asm-generic/bitops/ |
D | const_hweight.h | 8 #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 …]
|
D | arch_hweight.h | 7 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/ |
D | hweight.c | 12 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()
|
D | bitmap.c | 10 int k, w = 0, lim = bits/BITS_PER_LONG; in __bitmap_weight() local
|
/tools/perf/bench/ |
D | epoll-ctl.c | 132 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
|
D | epoll-wait.c | 186 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
|
D | futex-lock-pi.c | 81 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()
|
D | futex-requeue.c | 87 static void block_threads(pthread_t *w, in block_threads()
|
D | futex-wake.c | 93 static void block_threads(pthread_t *w, in block_threads()
|
D | futex-hash.c | 70 struct worker *w = (struct worker *) arg; in workerfn() local
|
D | futex-wake-parallel.c | 141 static void block_threads(pthread_t *w, pthread_attr_t thread_attr, in block_threads()
|
/tools/perf/util/ |
D | levenshtein.c | 45 int w, int s, int a, int d) in levenshtein()
|
D | svghelper.c | 155 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/ |
D | workqueues.h | 76 #define INIT_WORK(w, f) \ argument 82 #define INIT_DELAYED_WORK(w, f) INIT_WORK(&(w)->work, (f)) argument
|
/tools/thermal/tmon/ |
D | tui.c | 280 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/ |
D | test_subprogs.c | 24 static __noinline int sub4(int w) in sub4()
|
/tools/include/linux/ |
D | bitops.h | 52 static inline unsigned long hweight_long(unsigned long w) in hweight_long()
|
/tools/testing/selftests/kvm/x86_64/ |
D | kvm_pv_test.c | 50 bool r, w; in guest_gp_handler() local
|
/tools/testing/selftests/safesetid/ |
D | safesetid-test.c | 207 pid_t cpid, w; in test_setuid() local
|
/tools/bpf/bpftool/ |
D | gen.c | 559 int w = obj_data[i] ? 4 : 2; in do_skeleton() local
|
D | btf.c | 103 json_writer_t *w = json_wtr; in dump_btf_type() local
|
/tools/hv/ |
D | hv_kvp_daemon.c | 755 static unsigned int hweight32(unsigned int *w) in hweight32() 816 unsigned int *w; in kvp_get_ip_info() local
|
/tools/iio/ |
D | iio_utils.c | 32 char *w, *r; in iioutils_break_up_name() local
|
/tools/testing/selftests/powerpc/nx-gzip/ |
D | gunz_test.c | 314 char w[1024]; in decompress_file() local
|
/tools/testing/selftests/resctrl/ |
D | resctrl_val.c | 337 struct imc_counter_config *w = in get_mem_bw_imc() local
|