Home
last modified time | relevance | path

Searched defs:p (Results 1 – 25 of 274) sorted by relevance

1234567891011

/tools/include/tools/
Dbe_byteshift.h7 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 …]
Dle_byteshift.h7 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/
Drcupdate.h7 #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/
Dpacked_struct.h11 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/
Dnon-atomic.h19 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/virtio/linux/
Dkernel.h43 #define virt_to_phys(p) ((unsigned long)p) argument
46 #define page_to_phys(p) ((dma_addr_t)(unsigned long)(p)) argument
47 #define virt_to_page(p) ((struct page *)((unsigned long)p & PAGE_MASK)) argument
49 #define offset_in_page(p) (((unsigned long)p) % PAGE_SIZE) argument
69 void *p = kmalloc(s, gfp); in kzalloc() local
80 static inline void kfree(void *p) in kfree()
87 static inline void free_pages_exact(void *p, size_t s) in free_pages_exact()
92 static inline void *krealloc(void *p, size_t s, gfp_t gfp) in krealloc()
100 void *p; in __get_free_page() local
122 static inline void *krealloc_array(void *p, size_t new_n, size_t new_size, gfp_t gfp) in krealloc_array()
Ddma-mapping.h22 #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/selftests/vm/
Dkhugepaged.c439 void *p; in alloc_mapping() local
451 static void fill_memory(int *p, unsigned long start, unsigned long end) in fill_memory()
459 static void validate_memory(int *p, unsigned long start, unsigned long end) in validate_memory()
473 static bool wait_for_scan(const char *msg, char *p) in wait_for_scan()
507 char *p; in alloc_at_fault() local
533 void *p; in collapse_full() local
549 void *p; in collapse_empty() local
563 void *p; in collapse_single_pte_entry() local
581 void *p; in collapse_max_ptes_none() local
612 void *p; in collapse_swapin_single_pte() local
[all …]
/tools/testing/selftests/powerpc/pmu/ebb/
Dtrace.c38 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/lib/bpf/
Dbpf_helpers.h180 #define ___bpf_fill0(arr, p, x) do {} while (0) argument
181 #define ___bpf_fill1(arr, p, x) arr[p] = x argument
182 #define ___bpf_fill2(arr, p, x, args...) arr[p] = x; ___bpf_fill1(arr, p + 1, args) argument
183 #define ___bpf_fill3(arr, p, x, args...) arr[p] = x; ___bpf_fill2(arr, p + 1, args) argument
184 #define ___bpf_fill4(arr, p, x, args...) arr[p] = x; ___bpf_fill3(arr, p + 1, args) argument
185 #define ___bpf_fill5(arr, p, x, args...) arr[p] = x; ___bpf_fill4(arr, p + 1, args) argument
186 #define ___bpf_fill6(arr, p, x, args...) arr[p] = x; ___bpf_fill5(arr, p + 1, args) argument
187 #define ___bpf_fill7(arr, p, x, args...) arr[p] = x; ___bpf_fill6(arr, p + 1, args) argument
188 #define ___bpf_fill8(arr, p, x, args...) arr[p] = x; ___bpf_fill7(arr, p + 1, args) argument
189 #define ___bpf_fill9(arr, p, x, args...) arr[p] = x; ___bpf_fill8(arr, p + 1, args) argument
[all …]
/tools/testing/radix-tree/
Dregression1.c57 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/perf/ui/tui/
Dprogress.c10 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/testing/selftests/resctrl/
Dfill_buf.c44 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/testing/selftests/bpf/progs/
Dsocket_cookie_prog.c35 struct socket_cookie *p; in set_cookie() local
55 struct socket_cookie *p; in update_cookie_sockops() local
82 struct socket_cookie *p; in BPF_PROG() local
Dtest_rdonly_maps.c28 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
/tools/perf/util/
Dblock-range.c35 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/
Dsetup.c10 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/
Dreuseport_bpf.c143 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/
Dbarrier.h51 # define smp_store_release(p, v) \ argument
59 # define smp_load_acquire(p) \ argument
/tools/arch/ia64/include/asm/
Dbarrier.h46 #define smp_store_release(p, v) \ argument
52 #define smp_load_acquire(p) \ argument
/tools/testing/selftests/filesystems/incfs/
Dutils.h15 #define ptr_to_u64(p) ((__u64)p) argument
17 #define ptr_to_u64(p) ((__u64)(__u32)p) argument
/tools/arch/powerpc/include/asm/
Dbarrier.h33 #define smp_store_release(p, v) \ argument
39 #define smp_load_acquire(p) \ argument
/tools/arch/sparc/include/asm/
Dbarrier_64.h43 #define smp_store_release(p, v) \ argument
49 #define smp_load_acquire(p) \ argument
/tools/arch/s390/include/asm/
Dbarrier.h31 #define smp_store_release(p, v) \ argument
37 #define smp_load_acquire(p) \ argument
/tools/arch/arm64/include/asm/
Dbarrier.h27 #define smp_store_release(p, v) \ argument
64 #define smp_load_acquire(p) \ argument

1234567891011