/tools/include/tools/ |
D | be_byteshift.h | 7 static inline uint16_t __get_unaligned_be16(const uint8_t *p) in __get_unaligned_be16() 12 static inline uint32_t __get_unaligned_be32(const uint8_t *p) in __get_unaligned_be32() 17 static inline uint64_t __get_unaligned_be64(const uint8_t *p) in __get_unaligned_be64() 23 static inline void __put_unaligned_be16(uint16_t val, uint8_t *p) in __put_unaligned_be16() 29 static inline void __put_unaligned_be32(uint32_t val, uint8_t *p) in __put_unaligned_be32() 35 static inline void __put_unaligned_be64(uint64_t val, uint8_t *p) in __put_unaligned_be64() 41 static inline uint16_t get_unaligned_be16(const void *p) in get_unaligned_be16() 46 static inline uint32_t get_unaligned_be32(const void *p) in get_unaligned_be32() 51 static inline uint64_t get_unaligned_be64(const void *p) in get_unaligned_be64() 56 static inline void put_unaligned_be16(uint16_t val, void *p) in put_unaligned_be16() [all …]
|
D | le_byteshift.h | 7 static inline uint16_t __get_unaligned_le16(const uint8_t *p) in __get_unaligned_le16() 12 static inline uint32_t __get_unaligned_le32(const uint8_t *p) in __get_unaligned_le32() 17 static inline uint64_t __get_unaligned_le64(const uint8_t *p) in __get_unaligned_le64() 23 static inline void __put_unaligned_le16(uint16_t val, uint8_t *p) in __put_unaligned_le16() 29 static inline void __put_unaligned_le32(uint32_t val, uint8_t *p) in __put_unaligned_le32() 35 static inline void __put_unaligned_le64(uint64_t val, uint8_t *p) in __put_unaligned_le64() 41 static inline uint16_t get_unaligned_le16(const void *p) in get_unaligned_le16() 46 static inline uint32_t get_unaligned_le32(const void *p) in get_unaligned_le32() 51 static inline uint64_t get_unaligned_le64(const void *p) in get_unaligned_le64() 56 static inline void put_unaligned_le16(uint16_t val, void *p) in put_unaligned_le16() [all …]
|
/tools/testing/radix-tree/linux/ |
D | rcupdate.h | 7 #define rcu_dereference_raw(p) rcu_dereference(p) argument 8 #define rcu_dereference_protected(p, cond) rcu_dereference(p) argument 9 #define rcu_dereference_check(p, cond) rcu_dereference(p) argument 10 #define RCU_INIT_POINTER(p, v) do { (p) = (v); } while (0) argument
|
/tools/include/linux/unaligned/ |
D | packed_struct.h | 11 static inline u16 __get_unaligned_cpu16(const void *p) in __get_unaligned_cpu16() 17 static inline u32 __get_unaligned_cpu32(const void *p) in __get_unaligned_cpu32() 23 static inline u64 __get_unaligned_cpu64(const void *p) in __get_unaligned_cpu64() 29 static inline void __put_unaligned_cpu16(u16 val, void *p) in __put_unaligned_cpu16() 35 static inline void __put_unaligned_cpu32(u32 val, void *p) in __put_unaligned_cpu32() 41 static inline void __put_unaligned_cpu64(u64 val, void *p) in __put_unaligned_cpu64()
|
/tools/include/asm-generic/bitops/ |
D | non-atomic.h | 19 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __set_bit() local 27 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __clear_bit() local 44 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __change_bit() local 61 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __test_and_set_bit() local 80 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __test_and_clear_bit() local 92 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __test_and_change_bit() local
|
/tools/testing/selftests/vm/ |
D | khugepaged.c | 443 void *p; in alloc_mapping() local 455 static void fill_memory(int *p, unsigned long start, unsigned long end) in fill_memory() 463 static void validate_memory(int *p, unsigned long start, unsigned long end) in validate_memory() 477 static bool wait_for_scan(const char *msg, char *p) in wait_for_scan() 511 char *p; in alloc_at_fault() local 537 void *p; in collapse_full() local 553 void *p; in collapse_empty() local 567 void *p; in collapse_single_pte_entry() local 585 void *p; in collapse_max_ptes_none() local 616 void *p; in collapse_swapin_single_pte() local [all …]
|
/tools/testing/selftests/powerpc/pmu/ebb/ |
D | trace.c | 38 static bool trace_check_bounds(struct trace_buffer *tb, void *p) in trace_check_bounds() 43 static bool trace_check_alloc(struct trace_buffer *tb, void *p) in trace_check_alloc() 64 void *p, *newtail; in trace_alloc() local 90 u64 *p; in trace_log_reg() local 107 u64 *p; in trace_log_counter() local 123 char *p; in trace_log_string() local 202 u64 *p, *reg, *value; in trace_print_reg() local 273 void *p; in trace_buffer_print() local
|
/tools/virtio/linux/ |
D | kernel.h | 42 #define virt_to_phys(p) ((unsigned long)p) argument 45 #define page_to_phys(p) ((dma_addr_t)(unsigned long)(p)) argument 46 #define virt_to_page(p) ((struct page *)((unsigned long)p & PAGE_MASK)) argument 48 #define offset_in_page(p) (((unsigned long)p) % PAGE_SIZE) argument 68 void *p = kmalloc(s, gfp); in kzalloc() local 79 static inline void kfree(void *p) in kfree() 86 static inline void free_pages_exact(void *p, size_t s) in free_pages_exact() 91 static inline void *krealloc(void *p, size_t s, gfp_t gfp) in krealloc() 99 void *p; in __get_free_page() local
|
D | dma-mapping.h | 22 #define dma_free_coherent(d, s, p, h) kfree(p) argument 24 #define dma_map_page(d, p, o, s, dir) (page_to_phys(p) + (o)) argument 26 #define dma_map_single(d, p, s, dir) (virt_to_phys(p)) argument
|
/tools/testing/radix-tree/ |
D | regression1.c | 57 struct page *p; in page_alloc() local 68 struct page *p = container_of(rcu, struct page, rcu); in page_rcu_free() local 74 static void page_free(struct page *p) in page_free() 125 struct page *p; in regression1_fn() local
|
/tools/testing/selftests/resctrl/ |
D | fill_buf.c | 44 static void cl_flush(void *p) in cl_flush() 52 static void mem_flush(void *p, size_t s) in mem_flush() 70 void *p = memalign(PAGE_SIZE, s); in malloc_and_init_memory() local 88 unsigned char sum, *p; in fill_one_span_read() local 103 unsigned char *p; in fill_one_span_write() local
|
/tools/perf/ui/tui/ |
D | progress.c | 10 static void __tui_progress__init(struct ui_progress *p) in __tui_progress__init() 15 static int get_title(struct ui_progress *p, char *buf, size_t size) in get_title() 28 static void tui_progress__update(struct ui_progress *p) in tui_progress__update()
|
/tools/perf/util/ |
D | block-range.c | 35 struct rb_node **p = &block_ranges.root.rb_node; in block_range__find() local 56 struct rb_node **p = &node->rb_left; in rb_link_left_of_node() local 66 struct rb_node **p = &node->rb_right; in rb_link_right_of_node() local 83 struct rb_node **p = &block_ranges.root.rb_node; in block_range__create() local
|
/tools/io_uring/ |
D | setup.c | 10 static int io_uring_mmap(int fd, struct io_uring_params *p, in io_uring_mmap() 64 int io_uring_queue_mmap(int fd, struct io_uring_params *p, struct io_uring *ring) in io_uring_queue_mmap() 81 struct io_uring_params p; in io_uring_queue_init() local
|
/tools/testing/selftests/net/ |
D | reuseport_bpf.c | 143 struct sock_fprog p = { in attach_cbpf() local 152 static void build_recv_group(const struct test_params p, int fd[], uint16_t mod, in build_recv_group() 188 static void send_from(struct test_params p, uint16_t sport, char *buf, in send_from() 213 static void test_recv_order(const struct test_params p, int fd[], int mod) in test_recv_order() 273 static void test_reuseport_ebpf(struct test_params p) in test_reuseport_ebpf() 290 static void test_reuseport_cbpf(struct test_params p) in test_reuseport_cbpf() 307 static void test_extra_filter(const struct test_params p) in test_extra_filter() 339 static void test_filter_no_reuseport(const struct test_params p) in test_filter_no_reuseport()
|
/tools/include/asm/ |
D | barrier.h | 51 # define smp_store_release(p, v) \ argument 59 # define smp_load_acquire(p) \ argument
|
/tools/arch/ia64/include/asm/ |
D | barrier.h | 46 #define smp_store_release(p, v) \ argument 52 #define smp_load_acquire(p) \ argument
|
/tools/testing/selftests/filesystems/incfs/ |
D | utils.h | 15 #define ptr_to_u64(p) ((__u64)p) argument 17 #define ptr_to_u64(p) ((__u64)(__u32)p) argument
|
/tools/arch/powerpc/include/asm/ |
D | barrier.h | 33 #define smp_store_release(p, v) \ argument 39 #define smp_load_acquire(p) \ argument
|
/tools/testing/selftests/bpf/progs/ |
D | test_rdonly_maps.c | 28 unsigned * volatile p = (void *)&rdonly_values.a; in skip_loop() local 47 unsigned * volatile p = (void *)&rdonly_values.a; in part_loop() local 66 unsigned * volatile p = (void *)&rdonly_values.a; in full_loop() local
|
D | socket_cookie_prog.c | 25 struct socket_cookie *p; in set_cookie() local 45 struct socket_cookie *p; in update_cookie() local
|
/tools/arch/s390/include/asm/ |
D | barrier.h | 31 #define smp_store_release(p, v) \ argument 37 #define smp_load_acquire(p) \ argument
|
/tools/arch/sparc/include/asm/ |
D | barrier_64.h | 43 #define smp_store_release(p, v) \ argument 49 #define smp_load_acquire(p) \ argument
|
/tools/arch/arm64/include/asm/ |
D | barrier.h | 27 #define smp_store_release(p, v) \ argument 64 #define smp_load_acquire(p) \ argument
|
/tools/testing/selftests/memfd/ |
D | memfd_test.c | 173 void *p; in mfd_assert_mmap_shared() local 191 void *p; in mfd_assert_mmap_private() local 238 void *p; in mfd_assert_read() local 277 void *p; in mfd_assert_read_shared() local 295 int *p; in mfd_assert_fork_private_write() local 330 void *p; in mfd_assert_write() local 410 void *p; in mfd_fail_write() local 772 void *p; in test_seal_future_write() local 931 void *p; in test_share_mmap() local
|