Home
last modified time | relevance | path

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

12345678910>>...15

/tools/include/linux/
Dunaligned.h17 static inline u16 get_unaligned_le16(const void *p) in get_unaligned_le16()
22 static inline u32 get_unaligned_le32(const void *p) in get_unaligned_le32()
27 static inline u64 get_unaligned_le64(const void *p) in get_unaligned_le64()
32 static inline void put_unaligned_le16(u16 val, void *p) in put_unaligned_le16()
37 static inline void put_unaligned_le32(u32 val, void *p) in put_unaligned_le32()
42 static inline void put_unaligned_le64(u64 val, void *p) in put_unaligned_le64()
47 static inline u16 get_unaligned_be16(const void *p) in get_unaligned_be16()
52 static inline u32 get_unaligned_be32(const void *p) in get_unaligned_be32()
57 static inline u64 get_unaligned_be64(const void *p) in get_unaligned_be64()
62 static inline void put_unaligned_be16(u16 val, void *p) in put_unaligned_be16()
[all …]
/tools/include/tools/
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 …]
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 …]
/tools/testing/selftests/mm/
Dkhugepaged.c260 void *p; in alloc_mapping() local
272 static void fill_memory(int *p, unsigned long start, unsigned long end) in fill_memory()
286 static int madvise_collapse_retry(void *p, unsigned long size) in madvise_collapse_retry()
306 void *p = ops->setup_area(1); in alloc_hpage() local
334 static void validate_memory(int *p, unsigned long start, unsigned long end) in validate_memory()
352 static void anon_cleanup_area(void *p, unsigned long size) in anon_cleanup_area()
357 static void anon_fault(void *p, unsigned long start, unsigned long end) in anon_fault()
370 void *p; in file_setup_area() local
410 static void file_cleanup_area(void *p, unsigned long size) in file_cleanup_area()
417 static void file_fault(void *p, unsigned long start, unsigned long end) in file_fault()
[all …]
/tools/testing/selftests/sched_ext/
Dmaximal.bpf.c17 s32 BPF_STRUCT_OPS(maximal_select_cpu, struct task_struct *p, s32 prev_cpu, in BPF_STRUCT_OPS()
23 void BPF_STRUCT_OPS(maximal_enqueue, struct task_struct *p, u64 enq_flags) in BPF_STRUCT_OPS()
28 void BPF_STRUCT_OPS(maximal_dequeue, struct task_struct *p, u64 deq_flags) in BPF_STRUCT_OPS()
36 void BPF_STRUCT_OPS(maximal_runnable, struct task_struct *p, u64 enq_flags) in BPF_STRUCT_OPS()
39 void BPF_STRUCT_OPS(maximal_running, struct task_struct *p) in BPF_STRUCT_OPS()
42 void BPF_STRUCT_OPS(maximal_stopping, struct task_struct *p, bool runnable) in BPF_STRUCT_OPS()
45 void BPF_STRUCT_OPS(maximal_quiescent, struct task_struct *p, u64 deq_flags) in BPF_STRUCT_OPS()
60 void BPF_STRUCT_OPS(maximal_set_weight, struct task_struct *p, u32 weight) in BPF_STRUCT_OPS()
63 void BPF_STRUCT_OPS(maximal_set_cpumask, struct task_struct *p, in BPF_STRUCT_OPS()
84 s32 BPF_STRUCT_OPS(maximal_init_task, struct task_struct *p, in BPF_STRUCT_OPS()
[all …]
Dselect_cpu_vtime.bpf.c28 static inline u64 task_vtime(const struct task_struct *p) in task_vtime()
38 s32 BPF_STRUCT_OPS(select_cpu_vtime_select_cpu, struct task_struct *p, in BPF_STRUCT_OPS()
54 void BPF_STRUCT_OPS(select_cpu_vtime_dispatch, s32 cpu, struct task_struct *p) in BPF_STRUCT_OPS()
60 void BPF_STRUCT_OPS(select_cpu_vtime_running, struct task_struct *p) in BPF_STRUCT_OPS()
66 void BPF_STRUCT_OPS(select_cpu_vtime_stopping, struct task_struct *p, in BPF_STRUCT_OPS()
72 void BPF_STRUCT_OPS(select_cpu_vtime_enable, struct task_struct *p) in BPF_STRUCT_OPS()
Dexit.bpf.c20 s32 BPF_STRUCT_OPS(exit_select_cpu, struct task_struct *p, in BPF_STRUCT_OPS()
31 void BPF_STRUCT_OPS(exit_enqueue, struct task_struct *p, u64 enq_flags) in BPF_STRUCT_OPS()
39 void BPF_STRUCT_OPS(exit_dispatch, s32 cpu, struct task_struct *p) in BPF_STRUCT_OPS()
47 void BPF_STRUCT_OPS(exit_enable, struct task_struct *p) in BPF_STRUCT_OPS()
53 s32 BPF_STRUCT_OPS(exit_init_task, struct task_struct *p, in BPF_STRUCT_OPS()
Dinit_enable_count.bpf.c18 s32 BPF_STRUCT_OPS_SLEEPABLE(cnt_init_task, struct task_struct *p, in BPF_STRUCT_OPS_SLEEPABLE()
31 void BPF_STRUCT_OPS(cnt_exit_task, struct task_struct *p) in BPF_STRUCT_OPS()
36 void BPF_STRUCT_OPS(cnt_enable, struct task_struct *p) in BPF_STRUCT_OPS()
41 void BPF_STRUCT_OPS(cnt_disable, struct task_struct *p) in BPF_STRUCT_OPS()
/tools/testing/selftests/bpf/progs/
Dpercpu_alloc_fail.c13 char *p; member
42 struct val_t __percpu_kptr *p; in BPF_PROG() local
67 struct val_t __percpu_kptr *p; in BPF_PROG() local
90 struct val_t __percpu_kptr *p, *p1; in BPF_PROG() local
116 struct val_t __percpu_kptr *p; in BPF_PROG() local
130 struct val_t *p; in BPF_PROG() local
144 struct val_with_ptr_t __percpu_kptr *p; in BPF_PROG() local
158 struct val_with_rb_root_t __percpu_kptr *p; in BPF_PROG() local
172 struct val_600b_t __percpu_kptr *p; in BPF_PROG() local
Dcb_refs.c20 void *p = *(void **)ctx; in cb1() local
29 struct prog_test_ref_kfunc *p; in underflow_prog() local
52 struct prog_test_ref_kfunc *p; in leak_prog() local
75 void *p; in cb3() local
88 struct prog_test_ref_kfunc *p; in nested_cb() local
103 struct prog_test_ref_kfunc *p; in non_cb_transfer_ref() local
Dkfunc_call_fail.c43 int *p = NULL; in kfunc_call_test_get_mem_fail_rdonly() local
64 int *p = NULL; in kfunc_call_test_get_mem_fail_use_after_free() local
90 int *p = NULL; in kfunc_call_test_get_mem_fail_oob() local
113 int *p = NULL; in kfunc_call_test_get_mem_fail_not_const() local
134 int *p = NULL; in kfunc_call_test_mem_acquire_fail() local
Dpercpu_alloc_array.c28 struct val_t __percpu_kptr *p; in BPF_PROG() local
51 struct val_t __percpu_kptr *p; in BPF_PROG() local
80 struct val_t __percpu_kptr *p; in BPF_PROG() local
112 struct val_t __percpu_kptr *p; in BPF_PROG() local
132 struct val_t __percpu_kptr *p, *p1; in BPF_PROG() local
/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/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
118 static inline void *krealloc_array(void *p, size_t new_n, size_t new_size, gfp_t gfp) in krealloc_array()
/tools/include/asm-generic/bitops/
Dnon-atomic.h20 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in ___set_bit() local
29 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in ___clear_bit() local
47 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in ___change_bit() local
65 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in ___test_and_set_bit() local
85 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in ___test_and_clear_bit() local
97 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in ___test_and_change_bit() local
/tools/testing/shared/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/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/sched_ext/
Dscx_simple.bpf.c60 s32 BPF_STRUCT_OPS(simple_select_cpu, struct task_struct *p, s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS()
74 void BPF_STRUCT_OPS(simple_enqueue, struct task_struct *p, u64 enq_flags) in BPF_STRUCT_OPS()
100 void BPF_STRUCT_OPS(simple_running, struct task_struct *p) in BPF_STRUCT_OPS()
115 void BPF_STRUCT_OPS(simple_stopping, struct task_struct *p, bool runnable) in BPF_STRUCT_OPS()
132 void BPF_STRUCT_OPS(simple_enable, struct task_struct *p) in BPF_STRUCT_OPS()
Dscx_qmap.bpf.c134 static s32 pick_direct_dispatch_cpu(struct task_struct *p, s32 prev_cpu) in pick_direct_dispatch_cpu()
149 static struct task_ctx *lookup_task_ctx(struct task_struct *p) in lookup_task_ctx()
160 s32 BPF_STRUCT_OPS(qmap_select_cpu, struct task_struct *p, in BPF_STRUCT_OPS()
194 void BPF_STRUCT_OPS(qmap_enqueue, struct task_struct *p, u64 enq_flags) in BPF_STRUCT_OPS()
280 void BPF_STRUCT_OPS(qmap_dequeue, struct task_struct *p, u64 deq_flags) in BPF_STRUCT_OPS()
287 static void update_core_sched_head_seq(struct task_struct *p) in update_core_sched_head_seq()
308 struct task_struct *p; in dispatch_highpri() local
367 struct task_struct *p; in BPF_STRUCT_OPS() local
468 void BPF_STRUCT_OPS(qmap_tick, struct task_struct *p) in BPF_STRUCT_OPS()
495 static s64 task_qdist(struct task_struct *p) in task_qdist()
[all …]
/tools/lib/thermal/
Dcommands.c352 static int thermal_genl_tz_id_encode(struct nl_msg *msg, struct cmd_param *p) in thermal_genl_tz_id_encode()
360 static int thermal_genl_threshold_encode(struct nl_msg *msg, struct cmd_param *p) in thermal_genl_threshold_encode()
418 struct cmd_param p = { .tz_id = tz->id }; in thermal_cmd_get_trip() local
426 struct cmd_param p = { .tz_id = tz->id }; in thermal_cmd_get_governor() local
434 struct cmd_param p = { .tz_id = tz->id }; in thermal_cmd_get_temp() local
443 struct cmd_param p = { .tz_id = tz->id }; in thermal_cmd_threshold_get() local
454 struct cmd_param p = { .tz_id = tz->id, .temp = temperature, .direction = direction }; in thermal_cmd_threshold_add() local
465 struct cmd_param p = { .tz_id = tz->id, .temp = temperature, .direction = direction }; in thermal_cmd_threshold_delete() local
474 struct cmd_param p = { .tz_id = tz->id }; in thermal_cmd_threshold_flush() local
/tools/lib/bpf/
Dbpf_helpers.h225 #define ___bpf_fill0(arr, p, x) do {} while (0) argument
226 #define ___bpf_fill1(arr, p, x) arr[p] = x argument
227 #define ___bpf_fill2(arr, p, x, args...) arr[p] = x; ___bpf_fill1(arr, p + 1, args) argument
228 #define ___bpf_fill3(arr, p, x, args...) arr[p] = x; ___bpf_fill2(arr, p + 1, args) argument
229 #define ___bpf_fill4(arr, p, x, args...) arr[p] = x; ___bpf_fill3(arr, p + 1, args) argument
230 #define ___bpf_fill5(arr, p, x, args...) arr[p] = x; ___bpf_fill4(arr, p + 1, args) argument
231 #define ___bpf_fill6(arr, p, x, args...) arr[p] = x; ___bpf_fill5(arr, p + 1, args) argument
232 #define ___bpf_fill7(arr, p, x, args...) arr[p] = x; ___bpf_fill6(arr, p + 1, args) argument
233 #define ___bpf_fill8(arr, p, x, args...) arr[p] = x; ___bpf_fill7(arr, p + 1, args) argument
234 #define ___bpf_fill9(arr, p, x, args...) arr[p] = x; ___bpf_fill8(arr, p + 1, args) argument
[all …]
/tools/testing/selftests/net/
Dreuseport_bpf.c141 struct sock_fprog p = { in attach_cbpf() local
150 static void build_recv_group(const struct test_params p, int fd[], uint16_t mod, in build_recv_group()
186 static void send_from(struct test_params p, uint16_t sport, char *buf, in send_from()
211 static void test_recv_order(const struct test_params p, int fd[], int mod) in test_recv_order()
271 static void test_reuseport_ebpf(struct test_params p) in test_reuseport_ebpf()
288 static void test_reuseport_cbpf(struct test_params p) in test_reuseport_cbpf()
305 static void test_extra_filter(const struct test_params p) in test_extra_filter()
337 static void test_filter_no_reuseport(const struct test_params p) in test_filter_no_reuseport()
/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/perf/util/
Dblock-range.c31 struct rb_node **p = &block_ranges.root.rb_node; in block_range__find() local
52 struct rb_node **p = &node->rb_left; in rb_link_left_of_node() local
62 struct rb_node **p = &node->rb_right; in rb_link_right_of_node() local
79 struct rb_node **p = &block_ranges.root.rb_node; in block_range__create() local

12345678910>>...15