/tools/include/asm-generic/bitops/ |
D | non-atomic.h | 16 static inline void __set_bit(int nr, volatile unsigned long *addr) in __set_bit() 24 static inline void __clear_bit(int nr, volatile unsigned long *addr) in __clear_bit() 41 static inline void __change_bit(int nr, volatile unsigned long *addr) in __change_bit() 58 static inline int __test_and_set_bit(int nr, volatile unsigned long *addr) in __test_and_set_bit() 77 static inline int __test_and_clear_bit(int nr, volatile unsigned long *addr) in __test_and_clear_bit() 89 volatile unsigned long *addr) in __test_and_change_bit() 104 static inline int test_bit(int nr, const volatile unsigned long *addr) in test_bit()
|
D | atomic.h | 8 static inline void set_bit(int nr, unsigned long *addr) in set_bit() 13 static inline void clear_bit(int nr, unsigned long *addr) in clear_bit()
|
/tools/testing/selftests/futex/include/ |
D | atomic.h | 36 atomic_cmpxchg(atomic_t *addr, int oldval, int newval) in atomic_cmpxchg() 48 atomic_inc(atomic_t *addr) in atomic_inc() 60 atomic_dec(atomic_t *addr) in atomic_dec() 73 atomic_set(atomic_t *addr, int newval) in atomic_set()
|
/tools/testing/selftests/vm/ |
D | hugepage-mmap.c | 39 static void check_bytes(char *addr) in check_bytes() 44 static void write_bytes(char *addr) in write_bytes() 52 static int read_bytes(char *addr) in read_bytes() 67 void *addr; in main() local
|
D | map_hugetlb.c | 44 static void check_bytes(char *addr) in check_bytes() 49 static void write_bytes(char *addr, size_t length) in write_bytes() 57 static int read_bytes(char *addr, size_t length) in read_bytes() 72 void *addr; in main() local
|
D | mlock2-tests.c | 19 static int get_vm_area(unsigned long addr, struct vm_boundaries *area) in get_vm_area() 72 static bool is_vmflag_set(unsigned long addr, const char *vmflag) in is_vmflag_set() 109 static unsigned long get_value_for_name(unsigned long addr, const char *name) in get_value_for_name() 146 static bool is_vma_lock_on_fault(unsigned long addr) in is_vma_lock_on_fault() 166 static int lock_check(unsigned long addr) in lock_check()
|
D | map_fixed_noreplace.c | 30 void *addr; in find_base_addr() local 50 unsigned long flags, addr, size, page_size; in main() local
|
/tools/testing/selftests/mincore/ |
D | mincore_selftest.c | 36 char *addr; in TEST() local 87 char *addr; in TEST() local 143 char *addr; in TEST() local 192 char *addr; in TEST() local 297 char *addr; in TEST() local
|
/tools/testing/selftests/bpf/ |
D | network_helpers.c | 72 struct sockaddr_storage addr = {}; in start_server() local 110 struct sockaddr_storage addr; in fastopen_connect() local 145 const struct sockaddr_storage *addr, in connect_fd_to_addr() 158 struct sockaddr_storage addr; in connect_to_fd() local 197 struct sockaddr_storage addr; in connect_fd_to_fd() local 215 struct sockaddr_storage *addr, socklen_t *len) in make_sockaddr()
|
D | test_socket_cookie.c | 28 struct sockaddr_in6 addr; in start_server() local 63 struct sockaddr_storage addr; in connect_to_server() local 95 struct sockaddr_in6 addr; in validate_map() local
|
/tools/lib/ |
D | find_bit.c | 68 unsigned long find_next_bit(const unsigned long *addr, unsigned long size, in find_next_bit() 79 unsigned long find_first_bit(const unsigned long *addr, unsigned long size) in find_first_bit() 96 unsigned long find_first_zero_bit(const unsigned long *addr, unsigned long size) in find_first_zero_bit() 110 unsigned long find_next_zero_bit(const unsigned long *addr, unsigned long size, in find_next_zero_bit()
|
/tools/perf/util/ |
D | srcline.c | 132 u64 addr; member 292 static int addr2line(const char *dso_name, u64 addr, in addr2line() 364 static struct inline_node *addr2inlines(const char *dso_name, u64 addr, in addr2inlines() 405 static int addr2line(const char *dso_name, u64 addr, in addr2line() 449 static struct inline_node *addr2inlines(const char *dso_name, u64 addr, in addr2inlines() 519 char *__get_srcline(struct dso *dso, u64 addr, struct symbol *sym, in __get_srcline() 569 char *get_srcline_split(struct dso *dso, u64 addr, unsigned *line) in get_srcline_split() 602 char *get_srcline(struct dso *dso, u64 addr, struct symbol *sym, in get_srcline() 609 u64 addr; member 614 void srcline__tree_insert(struct rb_root_cached *tree, u64 addr, char *srcline) in srcline__tree_insert() [all …]
|
D | dwarf-aux.c | 63 static Dwarf_Line *cu_getsrc_die(Dwarf_Die *cu_die, Dwarf_Addr addr) in cu_getsrc_die() 116 int cu_find_lineinfo(Dwarf_Die *cu_die, unsigned long addr, in cu_find_lineinfo() 155 int cu_walk_functions_at(Dwarf_Die *cu_die, Dwarf_Addr addr, in cu_walk_functions_at() 346 Dwarf_Addr addr = 0; in die_is_func_def() local 376 int die_entrypc(Dwarf_Die *dw_die, Dwarf_Addr *addr) in die_entrypc() 541 Dwarf_Addr addr; member 548 Dwarf_Addr addr = 0; in __die_search_func_tail_cb() local 569 Dwarf_Die *die_find_tailfunc(Dwarf_Die *cu_die, Dwarf_Addr addr, in die_find_tailfunc() 608 Dwarf_Die *die_find_realfunc(Dwarf_Die *cu_die, Dwarf_Addr addr, in die_find_realfunc() 624 Dwarf_Addr *addr = data; in __die_find_inline_cb() local [all …]
|
/tools/testing/selftests/bpf/prog_tests/ |
D | sk_assign.c | 77 start_server(const struct sockaddr *addr, socklen_t len, int type) in start_server() 101 connect_to_server(const struct sockaddr *addr, socklen_t len, int type) in connect_to_server() 157 run_test(int server_fd, const struct sockaddr *addr, socklen_t len, int type) in run_test() 217 prepare_addr(struct sockaddr *addr, int family, __u16 port, bool rewrite_addr) in prepare_addr() 250 struct sockaddr *addr; member 305 const struct sockaddr *addr; in test_sk_assign() local
|
D | sockopt_inherit.c | 12 struct sockaddr_storage addr; in connect_to_server() local 67 struct sockaddr_storage addr; in server_thread() local 105 struct sockaddr_in addr = { in start_server() local
|
D | sockmap_listen.c | 49 #define xaccept_nonblock(fd, addr, len) \ argument 58 #define xbind(fd, addr, len) \ argument 74 #define xconnect(fd, addr, len) \ argument 82 #define xgetsockname(fd, addr, len) \ argument 214 static int accept_timeout(int fd, struct sockaddr *addr, socklen_t *len, in accept_timeout() 289 struct sockaddr_storage addr; in socket_loopback_reuseport() local 362 struct sockaddr_storage addr; in test_insert_bound() local 554 struct sockaddr_storage addr; in test_destroy_orphan_child() local 588 struct sockaddr_storage addr; in test_clone_after_delete() local 624 struct sockaddr_storage addr; in test_accept_after_delete() local [all …]
|
/tools/testing/selftests/powerpc/mm/ |
D | subpage_prot.c | 52 static inline void do_read(const volatile void *addr) in do_read() 60 static inline void do_write(const volatile void *addr) in do_write() 68 static inline void check_faulted(void *addr, long page, long subpage, int write) in check_faulted() 93 static int run_test(void *addr, unsigned long size) in run_test()
|
/tools/perf/tests/ |
D | bp_account.c | 29 static int __event(bool is_x, void *addr, struct perf_event_attr *attr) in __event() 58 static int wp_event(void *addr, struct perf_event_attr *attr) in wp_event() 63 static int bp_event(void *addr, struct perf_event_attr *attr) in bp_event() 103 void *addr = is_x ? (void *)test_function : (void *)&the_var; in detect_cnt() local
|
D | bp_signal.c | 102 static int __event(bool is_x, void *addr, int sig) in __event() 140 static int bp_event(void *addr, int sig) in bp_event() 145 static int wp_event(void *addr, int sig) in wp_event()
|
/tools/include/linux/ |
D | bitops.h | 36 #define for_each_set_bit(bit, addr, size) \ argument 41 #define for_each_clear_bit(bit, addr, size) \ argument 47 #define for_each_set_bit_from(bit, addr, size) \ argument
|
/tools/testing/selftests/net/ |
D | ip_defrag.c | 134 static void send_fragment(int fd_raw, struct sockaddr *addr, socklen_t alen, in send_fragment() 203 static void send_udp_frags(int fd_raw, struct sockaddr *addr, in send_udp_frags() 334 static void run_test(struct sockaddr *addr, socklen_t alen, bool ipv6) in run_test() 411 struct sockaddr_in addr = {0}; in run_test_v4() local 422 struct sockaddr_in6 addr = {0}; in run_test_v6() local
|
D | udpgso.c | 452 struct sockaddr *addr, socklen_t alen) in send_one() 506 struct sockaddr *addr, socklen_t alen) in run_one() 557 static void run_all(int fdt, int fdr, struct sockaddr *addr, socklen_t alen) in run_all() 571 static void run_test(struct sockaddr *addr, socklen_t alen) in run_test() 621 struct sockaddr_in addr = {0}; in run_test_v4() local 632 struct sockaddr_in6 addr = {0}; in run_test_v6() local
|
D | nettest.c | 210 static int tcp_md5sig(int sd, void *addr, socklen_t alen, struct sock_args *args) in tcp_md5sig() 256 void *addr; in tcp_md5_remote() local 442 static int set_membership(int sd, uint32_t grp, uint32_t addr, int ifindex) in set_membership() 636 static int send_msg_no_cmsg(int sd, void *addr, socklen_t alen) in send_msg_no_cmsg() 657 static int send_msg_cmsg(int sd, void *addr, socklen_t alen, in send_msg_cmsg() 719 static int send_msg(int sd, void *addr, socklen_t alen, struct sock_args *args) in send_msg() 742 unsigned char addr[sizeof(struct sockaddr_in6)]; in socket_read_dgram() local 893 static int stdin_to_socket(int sd, int type, void *addr, socklen_t alen) in stdin_to_socket() 940 static int msg_loop(int client, int sd, void *addr, socklen_t alen, in msg_loop() 1098 void *addr; in bind_socket() local [all …]
|
D | reuseport_bpf.c | 47 struct sockaddr_storage *addr; in new_any_sockaddr() local 75 struct sockaddr *addr = new_any_sockaddr(family, port); in new_loopback_sockaddr() local 155 struct sockaddr * const addr = in build_recv_group() local 309 struct sockaddr * const addr = in test_extra_filter() local 341 struct sockaddr * const addr = in test_filter_no_reuseport() local
|
/tools/lib/bpf/ |
D | xsk.h | 166 static inline void *xsk_umem__get_data(void *umem_area, __u64 addr) in xsk_umem__get_data() 171 static inline __u64 xsk_umem__extract_addr(__u64 addr) in xsk_umem__extract_addr() 176 static inline __u64 xsk_umem__extract_offset(__u64 addr) in xsk_umem__extract_offset() 181 static inline __u64 xsk_umem__add_offset_to_addr(__u64 addr) in xsk_umem__add_offset_to_addr()
|