/tools/include/asm-generic/bitops/ |
A 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 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 36 #define HWEIGHT32(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight32(w)) argument 37 #define HWEIGHT64(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight64(w)) argument [all …]
|
A 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/ |
A 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()
|
A D | bitmap.c | 10 unsigned int k, w = 0, lim = bits/BITS_PER_LONG; in __bitmap_weight() local
|
/tools/perf/bench/ |
A 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() 241 struct worker *w = &worker[i]; in do_threads() local
|
A 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() 318 struct worker *w = &worker[i]; in do_threads() local 398 struct worker *w = &worker[i]; in writerfn() local
|
A D | futex-lock-pi.c | 87 struct worker *w = (struct worker *) arg; in workerfn() local 124 static void create_threads(struct worker *w, struct perf_cpu_map *cpu) in create_threads()
|
A D | futex-wake.c | 101 static void block_threads(pthread_t *w, struct perf_cpu_map *cpu) in block_threads()
|
A D | futex-hash.c | 76 struct worker *w = (struct worker *) arg; in workerfn() local
|
A D | futex-requeue.c | 127 static void block_threads(pthread_t *w, struct perf_cpu_map *cpu) in block_threads()
|
A D | futex-wake-parallel.c | 151 static void block_threads(pthread_t *w, struct perf_cpu_map *cpu) in block_threads()
|
/tools/testing/selftests/bpf/progs/ |
A D | bind_prog.h | 8 #define load_word(src, w, s) \ argument 13 #define load_word(src, w, s) \ argument
|
A D | wq_failures.c | 13 struct bpf_wq w; member
|
A D | test_subprogs.c | 34 static __noinline int sub4(int w) in sub4()
|
A D | wq.c | 36 struct bpf_wq w; member
|
/tools/testing/selftests/safesetid/ |
A D | safesetid-test.c | 268 pid_t cpid, w; in test_setuid() local 324 pid_t cpid, w; in test_setgid() local 380 pid_t cpid, w; in test_setgroups() local
|
/tools/thermal/tmon/ |
A 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/perf/util/ |
A D | levenshtein.c | 45 int w, int s, int a, int d) in levenshtein()
|
A D | sha1.c | 60 u32 w[80]; in sha1_blocks() local
|
A D | svghelper.c | 156 double w = time2pixels(end) - time2pixels(start); in svg_ubox() local 175 double w = time2pixels(end) - time2pixels(start); in svg_lbox() local 194 double w = time2pixels(end) - time2pixels(start); in svg_fbox() local
|
/tools/include/linux/ |
A D | bitops.h | 70 static inline unsigned long hweight_long(unsigned long w) in hweight_long()
|
/tools/testing/selftests/net/mptcp/ |
A D | mptcp_sockopt.c | 357 static void do_getsockopt_mptcp_info(struct so_state *s, int fd, size_t w) in do_getsockopt_mptcp_info() 380 static void do_getsockopt_tcp_info(struct so_state *s, int fd, size_t r, size_t w) in do_getsockopt_tcp_info() 556 static void do_getsockopts(struct so_state *s, int fd, size_t r, size_t w) in do_getsockopts()
|
/tools/testing/selftests/bpf/ |
A D | test_progs.c | 391 static void jsonw_write_log_message(json_writer_t *w, char *log_buf, size_t log_cnt) in jsonw_write_log_message() 407 json_writer_t *w) in dump_test_log() 1598 json_writer_t *w = NULL; in calculate_summary_and_print_errors() local
|
/tools/testing/selftests/kvm/arm64/ |
A D | debug-exceptions.c | 539 int b, w, c; in test_guest_debug_exceptions_all() local
|
/tools/iio/ |
A D | iio_utils.c | 32 char *w, *r; in iioutils_break_up_name() local
|