Home
last modified time | relevance | path

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

12

/tools/include/asm-generic/bitops/
A 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
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 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/
A 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()
A Dbitmap.c10 unsigned int k, w = 0, lim = bits/BITS_PER_LONG; in __bitmap_weight() local
/tools/perf/bench/
A 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()
241 struct worker *w = &worker[i]; in do_threads() local
A Depoll-wait.c186 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 Dfutex-lock-pi.c87 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 Dfutex-wake.c101 static void block_threads(pthread_t *w, struct perf_cpu_map *cpu) in block_threads()
A Dfutex-hash.c76 struct worker *w = (struct worker *) arg; in workerfn() local
A Dfutex-requeue.c127 static void block_threads(pthread_t *w, struct perf_cpu_map *cpu) in block_threads()
A Dfutex-wake-parallel.c151 static void block_threads(pthread_t *w, struct perf_cpu_map *cpu) in block_threads()
/tools/testing/selftests/bpf/progs/
A Dbind_prog.h8 #define load_word(src, w, s) \ argument
13 #define load_word(src, w, s) \ argument
A Dwq_failures.c13 struct bpf_wq w; member
A Dtest_subprogs.c34 static __noinline int sub4(int w) in sub4()
A Dwq.c36 struct bpf_wq w; member
/tools/testing/selftests/safesetid/
A Dsafesetid-test.c268 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 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/perf/util/
A Dlevenshtein.c45 int w, int s, int a, int d) in levenshtein()
A Dsha1.c60 u32 w[80]; in sha1_blocks() local
A Dsvghelper.c156 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 Dbitops.h70 static inline unsigned long hweight_long(unsigned long w) in hweight_long()
/tools/testing/selftests/net/mptcp/
A Dmptcp_sockopt.c357 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 Dtest_progs.c391 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 Ddebug-exceptions.c539 int b, w, c; in test_guest_debug_exceptions_all() local
/tools/iio/
A Diio_utils.c32 char *w, *r; in iioutils_break_up_name() local

Completed in 58 milliseconds

12