/tools/include/linux/ |
D | bitops.h | 33 #define bitop(op, nr, addr) \ argument 36 #define __set_bit(nr, addr) bitop(___set_bit, nr, addr) argument 37 #define __clear_bit(nr, addr) bitop(___clear_bit, nr, addr) argument 38 #define __change_bit(nr, addr) bitop(___change_bit, nr, addr) argument 39 #define __test_and_set_bit(nr, addr) bitop(___test_and_set_bit, nr, addr) argument 40 #define __test_and_clear_bit(nr, addr) bitop(___test_and_clear_bit, nr, addr) argument 41 #define __test_and_change_bit(nr, addr) bitop(___test_and_change_bit, nr, addr) argument 42 #define test_bit(nr, addr) bitop(_test_bit, nr, addr) argument 52 #define for_each_set_bit(bit, addr, size) \ argument 57 #define for_each_clear_bit(bit, addr, size) \ argument [all …]
|
D | find.h | 33 unsigned long find_next_bit(const unsigned long *addr, unsigned long size, in find_next_bit() 91 unsigned long find_next_zero_bit(const unsigned long *addr, unsigned long size, in find_next_zero_bit() 118 unsigned long find_first_bit(const unsigned long *addr, unsigned long size) in find_first_bit() 165 unsigned long find_first_zero_bit(const unsigned long *addr, unsigned long size) in find_first_zero_bit()
|
/tools/testing/selftests/bpf/progs/ |
D | get_func_ip_test.c | 30 __u64 addr = bpf_get_func_ip(ctx); in BPF_PROG() local 40 __u64 addr = bpf_get_func_ip(ctx); in BPF_PROG() local 50 __u64 addr = bpf_get_func_ip(ctx); in test3() local 60 __u64 addr = bpf_get_func_ip(ctx); in BPF_KRETPROBE() local 70 __u64 addr = bpf_get_func_ip(ctx); in BPF_PROG() local 80 __u64 addr = bpf_get_func_ip(ctx); in test6() local 92 __u64 addr = bpf_get_func_ip(ctx); in BPF_UPROBE() local 102 __u64 addr = bpf_get_func_ip(ctx); in BPF_URETPROBE() local
|
/tools/include/asm-generic/bitops/ |
D | non-atomic.h | 17 ___set_bit(unsigned long nr, volatile unsigned long *addr) in ___set_bit() 26 ___clear_bit(unsigned long nr, volatile unsigned long *addr) in ___clear_bit() 44 ___change_bit(unsigned long nr, volatile unsigned long *addr) in ___change_bit() 62 ___test_and_set_bit(unsigned long nr, volatile unsigned long *addr) in ___test_and_set_bit() 82 ___test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in ___test_and_clear_bit() 94 ___test_and_change_bit(unsigned long nr, volatile unsigned long *addr) in ___test_and_change_bit() 110 _test_bit(unsigned long nr, const volatile unsigned long *addr) in _test_bit()
|
/tools/testing/selftests/mm/ |
D | madv_populate.c | 32 char *addr; in sense_support() local 53 char *addr; in test_prot_read() local 74 char *addr; in test_prot_write() local 95 char *addr; in test_holes() local 165 char *addr; in test_populate_read() local 187 char *addr; in test_populate_write() local 237 char *addr; in test_softdirty() local
|
D | hugepage-mremap.c | 35 static void check_bytes(char *addr) in check_bytes() 40 static void write_bytes(char *addr, size_t len) in write_bytes() 48 static int read_bytes(char *addr, size_t len) in read_bytes() 61 static void register_region_with_uffd(char *addr, size_t len) in register_region_with_uffd() 162 void *addr = mremap(haddr, length, length, in main() local
|
D | hugepage-mmap.c | 38 static void check_bytes(char *addr) in check_bytes() 43 static void write_bytes(char *addr) in write_bytes() 51 static int read_bytes(char *addr) in read_bytes() 66 void *addr; in main() local
|
D | map_hugetlb.c | 31 static void check_bytes(char *addr) in check_bytes() 36 static void write_bytes(char *addr, size_t length) in write_bytes() 44 static int read_bytes(char *addr, size_t length) in read_bytes() 59 void *addr; in main() local
|
D | vm_util.c | 100 bool __check_huge(void *addr, char *pattern, int nr_hpages, in __check_huge() 138 bool check_huge_anon(void *addr, int nr_hpages, uint64_t hpage_size) in check_huge_anon() 143 bool check_huge_file(void *addr, int nr_hpages, uint64_t hpage_size) in check_huge_file() 148 bool check_huge_shmem(void *addr, int nr_hpages, uint64_t hpage_size) in check_huge_shmem() 229 int uffd_register_with_ioctls(int uffd, void *addr, uint64_t len, in uffd_register_with_ioctls() 255 int uffd_register(int uffd, void *addr, uint64_t len, in uffd_register() 262 int uffd_unregister(int uffd, void *addr, uint64_t len) in uffd_unregister()
|
D | hugetlb-madvise.c | 58 void write_fault_pages(void *addr, unsigned long nr_pages) in write_fault_pages() 66 void read_fault_pages(void *addr, unsigned long nr_pages) in read_fault_pages() 82 void *addr, *addr2; in main() local
|
D | hugepage-vmemmap.c | 42 static void write_bytes(char *addr, size_t length) in write_bytes() 50 static unsigned long virt_to_pfn(void *addr) in virt_to_pfn() 106 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() 71 static bool is_vmflag_set(unsigned long addr, const char *vmflag) in is_vmflag_set() 108 static unsigned long get_value_for_name(unsigned long addr, const char *name) in get_value_for_name() 145 static bool is_vma_lock_on_fault(unsigned long addr) in is_vma_lock_on_fault() 165 static int lock_check(unsigned long addr) in lock_check()
|
/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/mincore/ |
D | mincore_selftest.c | 35 char *addr; in TEST() local 86 char *addr; in TEST() local 142 char *addr; in TEST() local 191 char *addr; in TEST() local 296 char *addr; in TEST() local
|
/tools/perf/util/ |
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, Dwarf_Addr 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() 560 Dwarf_Addr addr; member 567 Dwarf_Addr addr = 0; in __die_search_func_tail_cb() local 588 Dwarf_Die *die_find_tailfunc(Dwarf_Die *cu_die, Dwarf_Addr addr, in die_find_tailfunc() 627 Dwarf_Die *die_find_realfunc(Dwarf_Die *cu_die, Dwarf_Addr addr, in die_find_realfunc() 643 Dwarf_Addr *addr = data; in __die_find_inline_cb() local [all …]
|
D | srcline.c | 143 u64 addr; member 301 static int addr2line(const char *dso_name, u64 addr, in addr2line() 505 u64 addr, in read_addr2line_record() 634 static int addr2line(const char *dso_name, u64 addr, in addr2line() 793 static struct inline_node *addr2inlines(const char *dso_name, u64 addr, in addr2inlines() 817 char *__get_srcline(struct dso *dso, u64 addr, struct symbol *sym, in __get_srcline() 867 char *get_srcline_split(struct dso *dso, u64 addr, unsigned *line) in get_srcline_split() 905 char *get_srcline(struct dso *dso, u64 addr, struct symbol *sym, in get_srcline() 912 u64 addr; member 917 void srcline__tree_insert(struct rb_root_cached *tree, u64 addr, char *srcline) in srcline__tree_insert() [all …]
|
/tools/lib/ |
D | find_bit.c | 74 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() 103 unsigned long _find_next_bit(const unsigned long *addr, unsigned long nbits, unsigned long start) in _find_next_bit() 118 unsigned long _find_next_zero_bit(const unsigned long *addr, unsigned long nbits, in _find_next_zero_bit()
|
/tools/testing/selftests/bpf/ |
D | network_helpers.c | 80 static int __start_server(int type, int protocol, const struct sockaddr *addr, in __start_server() 123 struct sockaddr_storage addr; in start_server_proto() local 149 struct sockaddr_storage addr; in start_reuseport_server() local 199 struct sockaddr_storage addr; in fastopen_connect() local 234 const struct sockaddr_storage *addr, in connect_fd_to_addr() 264 struct sockaddr_storage addr; in connect_to_fd_opts() local 335 struct sockaddr_storage addr; in connect_fd_to_fd() local 353 struct sockaddr_storage *addr, socklen_t *len) in make_sockaddr() 448 struct sockaddr_storage addr; in get_socket_local_port() local
|
D | test_tcp_check_syncookie_user.c | 20 static int start_server(const struct sockaddr *addr, socklen_t len, bool dual) in start_server() 58 static int connect_to_server(const struct sockaddr *addr, socklen_t len) in connect_to_server() 121 const struct sockaddr *addr, socklen_t len) in run_test() 206 struct sockaddr_in addr; in get_port() local
|
/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 | sockmap_helpers.h | 33 #define xaccept_nonblock(fd, addr, len) \ argument 42 #define xbind(fd, addr, len) \ argument 58 #define xconnect(fd, addr, len) \ argument 66 #define xgetsockname(fd, addr, len) \ argument 224 static inline int accept_timeout(int fd, struct sockaddr *addr, socklen_t *len, in accept_timeout() 267 struct sockaddr_vm *addr = memset(ss, 0, sizeof(*ss)); in init_addr_loopback_vsock() local 317 struct sockaddr_storage addr; in create_pair() local 380 struct sockaddr_storage addr; in socket_loopback_reuseport() local
|
/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 | 42 static int __event(bool is_x, void *addr, struct perf_event_attr *attr) in __event() 71 static int wp_event(void *addr, struct perf_event_attr *attr) in wp_event() 76 static int bp_event(void *addr, struct perf_event_attr *attr) in bp_event() 116 void *addr = is_x ? (void *)test_function : (void *)&the_var; in detect_cnt() local
|
/tools/testing/selftests/kvm/aarch64/ |
D | vgic_init.c | 147 uint64_t addr; in subtest_dist_rdist() local 227 uint64_t addr, expected_addr; in subtest_v3_redist_regions() local 412 uint64_t addr; in test_v3_new_redist_regions() local 464 uint64_t addr; in test_v3_typer_accesses() local 550 uint64_t addr; in test_v3_last_bit_redist_regions() local 584 uint64_t addr; in test_v3_last_bit_single_rdist() local 610 uint64_t addr; in test_v3_redist_ipa_range_check_at_vcpu_run() local 642 uint64_t addr; in test_v3_its_region() local
|
/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
|