Home
last modified time | relevance | path

Searched refs:pt (Results 1 - 25 of 582) sorted by relevance

12345678910>>...24

/kernel/linux/linux-5.10/tools/perf/util/
H A Dintel-pt.c34 #include "intel-pt.h"
42 #include "intel-pt-decoder/intel-pt-log.h"
43 #include "intel-pt-decoder/intel-pt-decoder.h"
44 #include "intel-pt-decoder/intel-pt-insn-decoder.h"
45 #include "intel-pt-decoder/intel-pt-pkt-decoder.h"
146 struct intel_pt *pt; member
225 intel_pt_dump_event(struct intel_pt *pt, unsigned char *buf, size_t len) intel_pt_dump_event() argument
245 struct intel_pt *pt = container_of(session->auxtrace, struct intel_pt, intel_pt_dump_sample() local
252 intel_pt_log_events(struct intel_pt *pt, u64 tm) intel_pt_log_events() argument
270 intel_pt_do_fix_overlap(struct intel_pt *pt, struct auxtrace_buffer *a, struct auxtrace_buffer *b) intel_pt_do_fix_overlap() argument
552 intel_pt_cpumode(struct intel_pt *pt, uint64_t ip) intel_pt_cpumode() argument
691 intel_pt_match_pgd_ip(struct intel_pt *pt, uint64_t ip, uint64_t offset, const char *filename) intel_pt_match_pgd_ip() argument
760 intel_pt_get_config(struct intel_pt *pt, struct perf_event_attr *attr, u64 *config) intel_pt_get_config() argument
772 intel_pt_exclude_kernel(struct intel_pt *pt) intel_pt_exclude_kernel() argument
784 intel_pt_return_compression(struct intel_pt *pt) intel_pt_return_compression() argument
800 intel_pt_branch_enable(struct intel_pt *pt) intel_pt_branch_enable() argument
813 intel_pt_mtc_period(struct intel_pt *pt) intel_pt_mtc_period() argument
832 intel_pt_timeless_decoding(struct intel_pt *pt) intel_pt_timeless_decoding() argument
854 intel_pt_tracing_kernel(struct intel_pt *pt) intel_pt_tracing_kernel() argument
866 intel_pt_have_tsc(struct intel_pt *pt) intel_pt_have_tsc() argument
886 intel_pt_sampling_mode(struct intel_pt *pt) intel_pt_sampling_mode() argument
898 intel_pt_ctl(struct intel_pt *pt) intel_pt_ctl() argument
910 intel_pt_ns_to_ticks(const struct intel_pt *pt, u64 ns) intel_pt_ns_to_ticks() argument
920 intel_pt_alloc_chain(struct intel_pt *pt) intel_pt_alloc_chain() argument
929 intel_pt_callchain_init(struct intel_pt *pt) intel_pt_callchain_init() argument
945 intel_pt_add_callchain(struct intel_pt *pt, struct perf_sample *sample) intel_pt_add_callchain() argument
967 intel_pt_br_stack_init(struct intel_pt *pt) intel_pt_br_stack_init() argument
983 intel_pt_add_br_stack(struct intel_pt *pt, struct perf_sample *sample) intel_pt_add_br_stack() argument
1000 intel_pt_alloc_queue(struct intel_pt *pt, unsigned int queue_nr) intel_pt_alloc_queue() argument
1112 intel_pt_set_pid_tid_cpu(struct intel_pt *pt, struct auxtrace_queue *queue) intel_pt_set_pid_tid_cpu() argument
1166 intel_pt_setup_time_range(struct intel_pt *pt, struct intel_pt_queue *ptq) intel_pt_setup_time_range() argument
1183 intel_pt_setup_queue(struct intel_pt *pt, struct auxtrace_queue *queue, unsigned int queue_nr) intel_pt_setup_queue() argument
1265 intel_pt_setup_queues(struct intel_pt *pt) intel_pt_setup_queues() argument
1278 intel_pt_skip_event(struct intel_pt *pt) intel_pt_skip_event() argument
1289 intel_pt_skip_cbr_event(struct intel_pt *pt) intel_pt_skip_cbr_event() argument
1309 intel_pt_prep_b_sample(struct intel_pt *pt, struct intel_pt_queue *ptq, union perf_event *event, struct perf_sample *sample) intel_pt_prep_b_sample() argument
1335 intel_pt_opt_inject(struct intel_pt *pt, union perf_event *event, struct perf_sample *sample, u64 type) intel_pt_opt_inject() argument
1345 intel_pt_deliver_synth_event(struct intel_pt *pt, union perf_event *event, struct perf_sample *sample, u64 type) intel_pt_deliver_synth_event() argument
1364 struct intel_pt *pt = ptq->pt; intel_pt_synth_branch_sample() local
1412 intel_pt_prep_sample(struct intel_pt *pt, struct intel_pt_queue *ptq, union perf_event *event, struct perf_sample *sample) intel_pt_prep_sample() argument
1435 struct intel_pt *pt = ptq->pt; intel_pt_synth_instruction_sample() local
1467 struct intel_pt *pt = ptq->pt; intel_pt_synth_transaction_sample() local
1483 intel_pt_prep_p_sample(struct intel_pt *pt, struct intel_pt_queue *ptq, union perf_event *event, struct perf_sample *sample) intel_pt_prep_p_sample() argument
1500 struct intel_pt *pt = ptq->pt; intel_pt_synth_ptwrite_sample() local
1526 struct intel_pt *pt = ptq->pt; intel_pt_synth_cbr_sample() local
1556 struct intel_pt *pt = ptq->pt; intel_pt_synth_mwait_sample() local
1581 struct intel_pt *pt = ptq->pt; intel_pt_synth_pwre_sample() local
1606 struct intel_pt *pt = ptq->pt; intel_pt_synth_exstop_sample() local
1631 struct intel_pt *pt = ptq->pt; intel_pt_synth_pwrx_sample() local
1786 struct intel_pt *pt = ptq->pt; intel_pt_synth_pebs_sample() local
1901 intel_pt_synth_error(struct intel_pt *pt, int code, int cpu, pid_t pid, pid_t tid, u64 ip, u64 timestamp) intel_pt_synth_error() argument
1933 struct intel_pt *pt = ptq->pt; intel_ptq_synth_error() local
1942 intel_pt_next_tid(struct intel_pt *pt, struct intel_pt_queue *ptq) intel_pt_next_tid() argument
1965 struct intel_pt *pt = ptq->pt; intel_pt_is_switch_ip() local
1979 struct intel_pt *pt = ptq->pt; intel_pt_sample() local
2097 intel_pt_switch_ip(struct intel_pt *pt, u64 *ptss_ip) intel_pt_switch_ip() argument
2149 intel_pt_enable_sync_switch(struct intel_pt *pt) intel_pt_enable_sync_switch() argument
2170 struct intel_pt *pt = ptq->pt; intel_pt_next_time() local
2239 struct intel_pt *pt = ptq->pt; intel_pt_run_decoder() local
2320 intel_pt_update_queues(struct intel_pt *pt) intel_pt_update_queues() argument
2329 intel_pt_process_queues(struct intel_pt *pt, u64 timestamp) intel_pt_process_queues() argument
2384 intel_pt_process_timeless_queues(struct intel_pt *pt, pid_t tid, u64 time_) intel_pt_process_timeless_queues() argument
2432 intel_pt_process_timeless_sample(struct intel_pt *pt, struct perf_sample *sample) intel_pt_process_timeless_sample() argument
2454 intel_pt_lost(struct intel_pt *pt, struct perf_sample *sample) intel_pt_lost() argument
2460 intel_pt_cpu_to_ptq(struct intel_pt *pt, int cpu) intel_pt_cpu_to_ptq() argument
2488 intel_pt_sync_switch(struct intel_pt *pt, int cpu, pid_t tid, u64 timestamp) intel_pt_sync_switch() argument
2533 intel_pt_process_switch(struct intel_pt *pt, struct perf_sample *sample) intel_pt_process_switch() argument
2558 intel_pt_context_switch_in(struct intel_pt *pt, struct perf_sample *sample) intel_pt_context_switch_in() argument
2596 intel_pt_context_switch(struct intel_pt *pt, union perf_event *event, struct perf_sample *sample) intel_pt_context_switch() argument
2631 intel_pt_process_itrace_start(struct intel_pt *pt, union perf_event *event, struct perf_sample *sample) intel_pt_process_itrace_start() argument
2660 intel_pt_text_poke(struct intel_pt *pt, union perf_event *event) intel_pt_text_poke() argument
2714 struct intel_pt *pt = container_of(session->auxtrace, struct intel_pt, intel_pt_process_event() local
2791 struct intel_pt *pt = container_of(session->auxtrace, struct intel_pt, intel_pt_flush() local
2814 struct intel_pt *pt = container_of(session->auxtrace, struct intel_pt, intel_pt_free_events() local
2829 struct intel_pt *pt = container_of(session->auxtrace, struct intel_pt, intel_pt_free() local
2846 struct intel_pt *pt = container_of(session->auxtrace, struct intel_pt, intel_pt_evsel_is_auxtrace() local
2856 struct intel_pt *pt = container_of(session->auxtrace, struct intel_pt, intel_pt_process_auxtrace_event() local
2895 struct intel_pt *pt = container_of(session->auxtrace, struct intel_pt, intel_pt_queue_data() local
2966 intel_pt_evsel(struct intel_pt *pt, struct evlist *evlist) intel_pt_evsel() argument
2979 intel_pt_synth_events(struct intel_pt *pt, struct perf_session *session) intel_pt_synth_events() argument
3139 intel_pt_setup_pebs_events(struct intel_pt *pt) intel_pt_setup_pebs_events() argument
3183 struct intel_pt *pt = data; intel_pt_perf_config() local
3192 intel_pt_tsc_start(u64 ns, struct intel_pt *pt) intel_pt_tsc_start() argument
3212 intel_pt_tsc_end(u64 ns, struct intel_pt *pt) intel_pt_tsc_end() argument
3231 intel_pt_setup_time_ranges(struct intel_pt *pt, struct itrace_synth_opts *opts) intel_pt_setup_time_ranges() argument
3324 struct intel_pt *pt; intel_pt_process_auxtrace_info() local
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dintel-pt.c35 #include "intel-pt.h"
43 #include "intel-pt-decoder/intel-pt-log.h"
44 #include "intel-pt-decoder/intel-pt-decoder.h"
45 #include "intel-pt-decoder/intel-pt-insn-decoder.h"
46 #include "intel-pt-decoder/intel-pt-pkt-decoder.h"
181 struct intel_pt *pt; member
271 intel_pt_dump_event(struct intel_pt *pt, unsigned char *buf, size_t len) intel_pt_dump_event() argument
291 struct intel_pt *pt = container_of(session->auxtrace, struct intel_pt, intel_pt_dump_sample() local
298 intel_pt_log_events(struct intel_pt *pt, u64 tm) intel_pt_log_events() argument
353 struct intel_pt *pt = ptq->pt; intel_pt_findnew_vmcs_info() local
361 intel_pt_free_vmcs_info(struct intel_pt *pt) intel_pt_free_vmcs_info() argument
375 intel_pt_do_fix_overlap(struct intel_pt *pt, struct auxtrace_buffer *a, struct auxtrace_buffer *b) intel_pt_do_fix_overlap() argument
943 intel_pt_match_pgd_ip(struct intel_pt *pt, uint64_t ip, uint64_t offset, const char *filename) intel_pt_match_pgd_ip() argument
1021 intel_pt_get_config(struct intel_pt *pt, struct perf_event_attr *attr, u64 *config) intel_pt_get_config() argument
1033 intel_pt_exclude_kernel(struct intel_pt *pt) intel_pt_exclude_kernel() argument
1045 intel_pt_return_compression(struct intel_pt *pt) intel_pt_return_compression() argument
1061 intel_pt_branch_enable(struct intel_pt *pt) intel_pt_branch_enable() argument
1075 intel_pt_disabled_tnt(struct intel_pt *pt) intel_pt_disabled_tnt() argument
1088 intel_pt_mtc_period(struct intel_pt *pt) intel_pt_mtc_period() argument
1107 intel_pt_timeless_decoding(struct intel_pt *pt) intel_pt_timeless_decoding() argument
1129 intel_pt_tracing_kernel(struct intel_pt *pt) intel_pt_tracing_kernel() argument
1141 intel_pt_have_tsc(struct intel_pt *pt) intel_pt_have_tsc() argument
1161 intel_pt_have_mtc(struct intel_pt *pt) intel_pt_have_mtc() argument
1174 intel_pt_sampling_mode(struct intel_pt *pt) intel_pt_sampling_mode() argument
1186 intel_pt_ctl(struct intel_pt *pt) intel_pt_ctl() argument
1198 intel_pt_ns_to_ticks(const struct intel_pt *pt, u64 ns) intel_pt_ns_to_ticks() argument
1208 intel_pt_alloc_chain(struct intel_pt *pt) intel_pt_alloc_chain() argument
1217 intel_pt_callchain_init(struct intel_pt *pt) intel_pt_callchain_init() argument
1233 intel_pt_add_callchain(struct intel_pt *pt, struct perf_sample *sample) intel_pt_add_callchain() argument
1255 intel_pt_br_stack_init(struct intel_pt *pt) intel_pt_br_stack_init() argument
1271 intel_pt_add_br_stack(struct intel_pt *pt, struct perf_sample *sample) intel_pt_add_br_stack() argument
1289 intel_pt_alloc_queue(struct intel_pt *pt, unsigned int queue_nr) intel_pt_alloc_queue() argument
1412 intel_pt_first_timestamp(struct intel_pt *pt, u64 timestamp) intel_pt_first_timestamp() argument
1476 intel_pt_set_pid_tid_cpu(struct intel_pt *pt, struct auxtrace_queue *queue) intel_pt_set_pid_tid_cpu() argument
1507 struct intel_pt *pt = ptq->pt; intel_pt_sample_flags() local
1554 intel_pt_setup_time_range(struct intel_pt *pt, struct intel_pt_queue *ptq) intel_pt_setup_time_range() argument
1571 intel_pt_setup_queue(struct intel_pt *pt, struct auxtrace_queue *queue, unsigned int queue_nr) intel_pt_setup_queue() argument
1653 intel_pt_setup_queues(struct intel_pt *pt) intel_pt_setup_queues() argument
1666 intel_pt_skip_event(struct intel_pt *pt) intel_pt_skip_event() argument
1677 intel_pt_skip_cbr_event(struct intel_pt *pt) intel_pt_skip_cbr_event() argument
1708 intel_pt_prep_b_sample(struct intel_pt *pt, struct intel_pt_queue *ptq, union perf_event *event, struct perf_sample *sample) intel_pt_prep_b_sample() argument
1734 intel_pt_opt_inject(struct intel_pt *pt, union perf_event *event, struct perf_sample *sample, u64 type) intel_pt_opt_inject() argument
1744 intel_pt_deliver_synth_event(struct intel_pt *pt, union perf_event *event, struct perf_sample *sample, u64 type) intel_pt_deliver_synth_event() argument
1763 struct intel_pt *pt = ptq->pt; intel_pt_synth_branch_sample() local
1811 intel_pt_prep_sample(struct intel_pt *pt, struct intel_pt_queue *ptq, union perf_event *event, struct perf_sample *sample) intel_pt_prep_sample() argument
1834 struct intel_pt *pt = ptq->pt; intel_pt_synth_instruction_sample() local
1866 struct intel_pt *pt = ptq->pt; intel_pt_synth_cycle_sample() local
1893 struct intel_pt *pt = ptq->pt; intel_pt_synth_transaction_sample() local
1909 intel_pt_prep_p_sample(struct intel_pt *pt, struct intel_pt_queue *ptq, union perf_event *event, struct perf_sample *sample) intel_pt_prep_p_sample() argument
1926 struct intel_pt *pt = ptq->pt; intel_pt_synth_ptwrite_sample() local
1952 struct intel_pt *pt = ptq->pt; intel_pt_synth_cbr_sample() local
1982 struct intel_pt *pt = ptq->pt; intel_pt_synth_psb_sample() local
2008 struct intel_pt *pt = ptq->pt; intel_pt_synth_mwait_sample() local
2033 struct intel_pt *pt = ptq->pt; intel_pt_synth_pwre_sample() local
2058 struct intel_pt *pt = ptq->pt; intel_pt_synth_exstop_sample() local
2083 struct intel_pt *pt = ptq->pt; intel_pt_synth_pwrx_sample() local
2238 struct intel_pt *pt = ptq->pt; intel_pt_do_synth_pebs_sample() local
2367 struct intel_pt *pt = ptq->pt; intel_pt_synth_single_pebs_sample() local
2378 struct intel_pt *pt = ptq->pt; intel_pt_synth_pebs_sample() local
2406 struct intel_pt *pt = ptq->pt; intel_pt_synth_events_sample() local
2445 struct intel_pt *pt = ptq->pt; intel_pt_synth_iflag_chg_sample() local
2476 intel_pt_synth_error(struct intel_pt *pt, int code, int cpu, pid_t pid, pid_t tid, u64 ip, u64 timestamp, pid_t machine_pid, int vcpu) intel_pt_synth_error() argument
2522 struct intel_pt *pt = ptq->pt; intel_ptq_synth_error() local
2542 intel_pt_next_tid(struct intel_pt *pt, struct intel_pt_queue *ptq) intel_pt_next_tid() argument
2565 struct intel_pt *pt = ptq->pt; intel_pt_is_switch_ip() local
2579 struct intel_pt *pt = ptq->pt; intel_pt_sample() local
2753 intel_pt_switch_ip(struct intel_pt *pt, u64 *ptss_ip) intel_pt_switch_ip() argument
2805 intel_pt_enable_sync_switch(struct intel_pt *pt) intel_pt_enable_sync_switch() argument
2823 intel_pt_disable_sync_switch(struct intel_pt *pt) intel_pt_disable_sync_switch() argument
2846 struct intel_pt *pt = ptq->pt; intel_pt_next_time() local
2915 struct intel_pt *pt = ptq->pt; intel_pt_run_decoder() local
2996 intel_pt_update_queues(struct intel_pt *pt) intel_pt_update_queues() argument
3005 intel_pt_process_queues(struct intel_pt *pt, u64 timestamp) intel_pt_process_queues() argument
3060 intel_pt_process_timeless_queues(struct intel_pt *pt, pid_t tid, u64 time_) intel_pt_process_timeless_queues() argument
3108 intel_pt_process_timeless_sample(struct intel_pt *pt, struct perf_sample *sample) intel_pt_process_timeless_sample() argument
3130 intel_pt_lost(struct intel_pt *pt, struct perf_sample *sample) intel_pt_lost() argument
3137 intel_pt_cpu_to_ptq(struct intel_pt *pt, int cpu) intel_pt_cpu_to_ptq() argument
3165 intel_pt_sync_switch(struct intel_pt *pt, int cpu, pid_t tid, u64 timestamp) intel_pt_sync_switch() argument
3211 intel_pt_process_switch(struct intel_pt *pt, struct perf_sample *sample) intel_pt_process_switch() argument
3236 intel_pt_context_switch_in(struct intel_pt *pt, struct perf_sample *sample) intel_pt_context_switch_in() argument
3274 intel_pt_guest_context_switch(struct intel_pt *pt, union perf_event *event, struct perf_sample *sample) intel_pt_guest_context_switch() argument
3301 intel_pt_context_switch(struct intel_pt *pt, union perf_event *event, struct perf_sample *sample) intel_pt_context_switch() argument
3339 intel_pt_process_itrace_start(struct intel_pt *pt, union perf_event *event, struct perf_sample *sample) intel_pt_process_itrace_start() argument
3356 intel_pt_process_aux_output_hw_id(struct intel_pt *pt, union perf_event *event, struct perf_sample *sample) intel_pt_process_aux_output_hw_id() argument
3392 intel_pt_text_poke(struct intel_pt *pt, union perf_event *event) intel_pt_text_poke() argument
3452 struct intel_pt *pt = container_of(session->auxtrace, struct intel_pt, intel_pt_process_event() local
3536 struct intel_pt *pt = container_of(session->auxtrace, struct intel_pt, intel_pt_flush() local
3559 struct intel_pt *pt = container_of(session->auxtrace, struct intel_pt, intel_pt_free_events() local
3574 struct intel_pt *pt = container_of(session->auxtrace, struct intel_pt, intel_pt_free() local
3593 struct intel_pt *pt = container_of(session->auxtrace, struct intel_pt, intel_pt_evsel_is_auxtrace() local
3603 struct intel_pt *pt = container_of(session->auxtrace, struct intel_pt, intel_pt_process_auxtrace_event() local
3642 struct intel_pt *pt = container_of(session->auxtrace, struct intel_pt, intel_pt_queue_data() local
3713 intel_pt_evsel(struct intel_pt *pt, struct evlist *evlist) intel_pt_evsel() argument
3726 intel_pt_synth_events(struct intel_pt *pt, struct perf_session *session) intel_pt_synth_events() argument
3932 intel_pt_setup_pebs_events(struct intel_pt *pt) intel_pt_setup_pebs_events() argument
3980 struct intel_pt *pt = data; intel_pt_perf_config() local
3992 intel_pt_tsc_start(u64 ns, struct intel_pt *pt) intel_pt_tsc_start() argument
4012 intel_pt_tsc_end(u64 ns, struct intel_pt *pt) intel_pt_tsc_end() argument
4031 intel_pt_setup_time_ranges(struct intel_pt *pt, struct itrace_synth_opts *opts) intel_pt_setup_time_ranges() argument
4070 intel_pt_parse_vm_tm_corr_arg(struct intel_pt *pt, char **args) intel_pt_parse_vm_tm_corr_arg() argument
4110 intel_pt_parse_vm_tm_corr_args(struct intel_pt *pt) intel_pt_parse_vm_tm_corr_args() argument
4184 struct intel_pt *pt; intel_pt_process_auxtrace_info() local
[all...]
/kernel/linux/linux-6.6/drivers/dma/ptdma/
H A Dptdma-pci.c38 struct pt_device *pt; in pt_alloc_struct() local
40 pt = devm_kzalloc(dev, sizeof(*pt), GFP_KERNEL); in pt_alloc_struct()
42 if (!pt) in pt_alloc_struct()
44 pt->dev = dev; in pt_alloc_struct()
46 INIT_LIST_HEAD(&pt->cmd); in pt_alloc_struct()
48 return pt; in pt_alloc_struct()
51 static int pt_get_msix_irqs(struct pt_device *pt) in pt_get_msix_irqs() argument
53 struct pt_msix *pt_msix = pt->pt_msix; in pt_get_msix_irqs()
54 struct device *dev = pt in pt_get_msix_irqs()
71 pt_get_msi_irq(struct pt_device *pt) pt_get_msi_irq() argument
86 pt_get_irqs(struct pt_device *pt) pt_get_irqs() argument
107 pt_free_irqs(struct pt_device *pt) pt_free_irqs() argument
123 struct pt_device *pt; pt_pci_probe() local
208 struct pt_device *pt = dev_get_drvdata(dev); pt_pci_remove() local
[all...]
H A Dptdma-dev.c104 struct pt_device *pt = container_of(cmd_q, struct pt_device, cmd_q); in pt_core_perform_passthru() local
117 pt_core_enable_queue_interrupts(pt); in pt_core_perform_passthru()
119 pt_core_disable_queue_interrupts(pt); in pt_core_perform_passthru()
128 struct pt_cmd_queue *cmd_q = &cmd->pt->cmd_q; in pt_do_cmd_complete()
137 pt_log_error(cmd_q->pt, cmd_q->cmd_error); in pt_do_cmd_complete()
144 void pt_check_status_trans(struct pt_device *pt, struct pt_cmd_queue *cmd_q) in pt_check_status_trans() argument
160 pt_do_cmd_complete((ulong)&pt->tdata); in pt_check_status_trans()
166 struct pt_device *pt = data; in pt_core_irq_handler() local
167 struct pt_cmd_queue *cmd_q = &pt->cmd_q; in pt_core_irq_handler()
169 pt_core_disable_queue_interrupts(pt); in pt_core_irq_handler()
176 pt_core_init(struct pt_device *pt) pt_core_init() argument
277 pt_core_destroy(struct pt_device *pt) pt_core_destroy() argument
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dkfunc_call_fail.c41 struct prog_test_ref_kfunc *pt; in kfunc_call_test_get_mem_fail_rdonly() local
46 pt = bpf_kfunc_call_test_acquire(&s); in kfunc_call_test_get_mem_fail_rdonly()
47 if (pt) { in kfunc_call_test_get_mem_fail_rdonly()
48 p = bpf_kfunc_call_test_get_rdonly_mem(pt, 2 * sizeof(int)); in kfunc_call_test_get_mem_fail_rdonly()
54 bpf_kfunc_call_test_release(pt); in kfunc_call_test_get_mem_fail_rdonly()
62 struct prog_test_ref_kfunc *pt; in kfunc_call_test_get_mem_fail_use_after_free() local
67 pt = bpf_kfunc_call_test_acquire(&s); in kfunc_call_test_get_mem_fail_use_after_free()
68 if (pt) { in kfunc_call_test_get_mem_fail_use_after_free()
69 p = bpf_kfunc_call_test_get_rdwr_mem(pt, 2 * sizeof(int)); in kfunc_call_test_get_mem_fail_use_after_free()
77 bpf_kfunc_call_test_release(pt); in kfunc_call_test_get_mem_fail_use_after_free()
88 struct prog_test_ref_kfunc *pt; kfunc_call_test_get_mem_fail_oob() local
111 struct prog_test_ref_kfunc *pt; kfunc_call_test_get_mem_fail_not_const() local
132 struct prog_test_ref_kfunc *pt; kfunc_call_test_mem_acquire_fail() local
[all...]
/kernel/linux/linux-5.10/sound/i2c/other/
H A Dpt2258.c32 int snd_pt2258_reset(struct snd_pt2258 *pt) in snd_pt2258_reset() argument
39 snd_i2c_lock(pt->i2c_bus); in snd_pt2258_reset()
40 if (snd_i2c_sendbytes(pt->i2c_dev, bytes, 1) != 1) in snd_pt2258_reset()
42 snd_i2c_unlock(pt->i2c_bus); in snd_pt2258_reset()
45 pt->mute = 1; in snd_pt2258_reset()
47 snd_i2c_lock(pt->i2c_bus); in snd_pt2258_reset()
48 if (snd_i2c_sendbytes(pt->i2c_dev, bytes, 1) != 1) in snd_pt2258_reset()
50 snd_i2c_unlock(pt->i2c_bus); in snd_pt2258_reset()
54 pt->volume[i] = 0; in snd_pt2258_reset()
57 snd_i2c_lock(pt in snd_pt2258_reset()
83 struct snd_pt2258 *pt = kcontrol->private_data; pt2258_stereo_volume_get() local
95 struct snd_pt2258 *pt = kcontrol->private_data; pt2258_stereo_volume_put() local
136 struct snd_pt2258 *pt = kcontrol->private_data; pt2258_switch_get() local
145 struct snd_pt2258 *pt = kcontrol->private_data; pt2258_switch_put() local
170 snd_pt2258_build_controls(struct snd_pt2258 *pt) snd_pt2258_build_controls() argument
[all...]
/kernel/linux/linux-6.6/sound/i2c/other/
H A Dpt2258.c32 int snd_pt2258_reset(struct snd_pt2258 *pt) in snd_pt2258_reset() argument
39 snd_i2c_lock(pt->i2c_bus); in snd_pt2258_reset()
40 if (snd_i2c_sendbytes(pt->i2c_dev, bytes, 1) != 1) in snd_pt2258_reset()
42 snd_i2c_unlock(pt->i2c_bus); in snd_pt2258_reset()
45 pt->mute = 1; in snd_pt2258_reset()
47 snd_i2c_lock(pt->i2c_bus); in snd_pt2258_reset()
48 if (snd_i2c_sendbytes(pt->i2c_dev, bytes, 1) != 1) in snd_pt2258_reset()
50 snd_i2c_unlock(pt->i2c_bus); in snd_pt2258_reset()
54 pt->volume[i] = 0; in snd_pt2258_reset()
57 snd_i2c_lock(pt in snd_pt2258_reset()
83 struct snd_pt2258 *pt = kcontrol->private_data; pt2258_stereo_volume_get() local
95 struct snd_pt2258 *pt = kcontrol->private_data; pt2258_stereo_volume_put() local
136 struct snd_pt2258 *pt = kcontrol->private_data; pt2258_switch_get() local
145 struct snd_pt2258 *pt = kcontrol->private_data; pt2258_switch_put() local
170 snd_pt2258_build_controls(struct snd_pt2258 *pt) snd_pt2258_build_controls() argument
[all...]
/kernel/linux/linux-5.10/arch/sparc/lib/
H A DMemcpy_utils.S20 ba,pt %xcc, __restore_asi
24 ba,pt %xcc, __restore_asi
28 ba,pt %xcc, __restore_asi
32 ba,pt %xcc, __restore_asi
36 ba,pt %xcc, __restore_asi
40 ba,pt %xcc, __restore_asi
44 ba,pt %xcc, __restore_asi
48 ba,pt %xcc, __restore_asi
52 ba,pt %xcc, __restore_asi
57 ba,pt
[all...]
/kernel/linux/linux-6.6/arch/sparc/lib/
H A DMemcpy_utils.S20 ba,pt %xcc, __restore_asi
24 ba,pt %xcc, __restore_asi
28 ba,pt %xcc, __restore_asi
32 ba,pt %xcc, __restore_asi
36 ba,pt %xcc, __restore_asi
40 ba,pt %xcc, __restore_asi
44 ba,pt %xcc, __restore_asi
48 ba,pt %xcc, __restore_asi
52 ba,pt %xcc, __restore_asi
57 ba,pt
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
H A Dintel_ppgtt.c18 struct i915_page_table *pt; in alloc_pt() local
20 pt = kmalloc(sizeof(*pt), I915_GFP_ALLOW_FAIL); in alloc_pt()
21 if (unlikely(!pt)) in alloc_pt()
24 pt->base = vm->alloc_pt_dma(vm, sz); in alloc_pt()
25 if (IS_ERR(pt->base)) { in alloc_pt()
26 kfree(pt); in alloc_pt()
30 pt->is_compact = false; in alloc_pt()
31 atomic_set(&pt->used, 0); in alloc_pt()
32 return pt; in alloc_pt()
71 free_px(struct i915_address_space *vm, struct i915_page_table *pt, int lvl) free_px() argument
125 release_pd_entry(struct i915_page_directory * const pd, const unsigned short idx, struct i915_page_table * const pt, const struct drm_i915_gem_object * const scratch) release_pd_entry() argument
244 struct i915_page_table *pt; i915_vm_alloc_pt_stash() local
279 struct i915_page_table *pt; i915_vm_map_pt_stash() local
296 struct i915_page_table *pt; i915_vm_free_pt_stash() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/gma500/
H A Dmmu.c223 static void psb_mmu_free_pt(struct psb_mmu_pt *pt) in psb_mmu_free_pt() argument
225 __free_page(pt->p); in psb_mmu_free_pt()
226 kfree(pt); in psb_mmu_free_pt()
234 struct psb_mmu_pt *pt; in psb_mmu_free_pagedir() local
247 pt = pd->tables[i]; in psb_mmu_free_pagedir()
248 if (pt) in psb_mmu_free_pagedir()
249 psb_mmu_free_pt(pt); in psb_mmu_free_pagedir()
262 struct psb_mmu_pt *pt = kmalloc(sizeof(*pt), GFP_KERNEL); in psb_mmu_alloc_pt() local
271 if (!pt) in psb_mmu_alloc_pt()
310 struct psb_mmu_pt *pt; psb_mmu_pt_alloc_map_lock() local
350 struct psb_mmu_pt *pt; psb_mmu_pt_map_lock() local
363 psb_mmu_pt_unmap_unlock(struct psb_mmu_pt *pt) psb_mmu_pt_unmap_unlock() argument
386 psb_mmu_set_pte(struct psb_mmu_pt *pt, unsigned long addr, uint32_t pte) psb_mmu_set_pte() argument
392 psb_mmu_invalidate_pte(struct psb_mmu_pt *pt, unsigned long addr) psb_mmu_invalidate_pte() argument
481 struct psb_mmu_pt *pt; psb_mmu_flush_ptes() local
528 struct psb_mmu_pt *pt; psb_mmu_remove_pfn_sequence() local
568 struct psb_mmu_pt *pt; psb_mmu_remove_pages() local
624 struct psb_mmu_pt *pt; psb_mmu_insert_pfn_sequence() local
671 struct psb_mmu_pt *pt; psb_mmu_insert_pages() local
737 struct psb_mmu_pt *pt; psb_mmu_virtual_to_pfn() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
H A Dintel_ppgtt.c15 struct i915_page_table *pt; in alloc_pt() local
17 pt = kmalloc(sizeof(*pt), I915_GFP_ALLOW_FAIL); in alloc_pt()
18 if (unlikely(!pt)) in alloc_pt()
21 pt->base = vm->alloc_pt_dma(vm, I915_GTT_PAGE_SIZE_4K); in alloc_pt()
22 if (IS_ERR(pt->base)) { in alloc_pt()
23 kfree(pt); in alloc_pt()
27 atomic_set(&pt->used, 0); in alloc_pt()
28 return pt; in alloc_pt()
57 pd->pt in alloc_pd()
67 free_px(struct i915_address_space *vm, struct i915_page_table *pt, int lvl) free_px() argument
122 release_pd_entry(struct i915_page_directory * const pd, const unsigned short idx, struct i915_page_table * const pt, const struct drm_i915_gem_object * const scratch) release_pd_entry() argument
225 struct i915_page_table *pt; i915_vm_alloc_pt_stash() local
260 struct i915_page_table *pt; i915_vm_pin_pt_stash() local
277 struct i915_page_table *pt; i915_vm_free_pt_stash() local
[all...]
/kernel/linux/linux-5.10/arch/ia64/kernel/
H A Dsignal.c59 err |= __get_user(scr->pt.ar_unat, &sc->sc_ar_unat); in restore_sigcontext()
60 err |= __get_user(scr->pt.ar_fpsr, &sc->sc_ar_fpsr); in restore_sigcontext()
61 err |= __get_user(scr->pt.ar_pfs, &sc->sc_ar_pfs); in restore_sigcontext()
62 err |= __get_user(scr->pt.pr, &sc->sc_pr); /* predicates */ in restore_sigcontext()
63 err |= __get_user(scr->pt.b0, &sc->sc_br[0]); /* b0 (rp) */ in restore_sigcontext()
64 err |= __get_user(scr->pt.b6, &sc->sc_br[6]); /* b6 */ in restore_sigcontext()
65 err |= __copy_from_user(&scr->pt.r1, &sc->sc_gr[1], 8); /* r1 */ in restore_sigcontext()
66 err |= __copy_from_user(&scr->pt.r8, &sc->sc_gr[8], 4*8); /* r8-r11 */ in restore_sigcontext()
67 err |= __copy_from_user(&scr->pt.r12, &sc->sc_gr[12], 2*8); /* r12-r13 */ in restore_sigcontext()
68 err |= __copy_from_user(&scr->pt in restore_sigcontext()
[all...]
/kernel/linux/linux-6.6/arch/ia64/kernel/
H A Dsignal.c58 err |= __get_user(scr->pt.ar_unat, &sc->sc_ar_unat); in restore_sigcontext()
59 err |= __get_user(scr->pt.ar_fpsr, &sc->sc_ar_fpsr); in restore_sigcontext()
60 err |= __get_user(scr->pt.ar_pfs, &sc->sc_ar_pfs); in restore_sigcontext()
61 err |= __get_user(scr->pt.pr, &sc->sc_pr); /* predicates */ in restore_sigcontext()
62 err |= __get_user(scr->pt.b0, &sc->sc_br[0]); /* b0 (rp) */ in restore_sigcontext()
63 err |= __get_user(scr->pt.b6, &sc->sc_br[6]); /* b6 */ in restore_sigcontext()
64 err |= __copy_from_user(&scr->pt.r1, &sc->sc_gr[1], 8); /* r1 */ in restore_sigcontext()
65 err |= __copy_from_user(&scr->pt.r8, &sc->sc_gr[8], 4*8); /* r8-r11 */ in restore_sigcontext()
66 err |= __copy_from_user(&scr->pt.r12, &sc->sc_gr[12], 2*8); /* r12-r13 */ in restore_sigcontext()
67 err |= __copy_from_user(&scr->pt in restore_sigcontext()
[all...]
/kernel/linux/linux-5.10/lib/
H A Dnlattr.c115 void nla_get_range_unsigned(const struct nla_policy *pt, in nla_get_range_unsigned() argument
118 WARN_ON_ONCE(pt->validation_type != NLA_VALIDATE_RANGE_PTR && in nla_get_range_unsigned()
119 (pt->min < 0 || pt->max < 0)); in nla_get_range_unsigned()
123 switch (pt->type) { in nla_get_range_unsigned()
143 switch (pt->validation_type) { in nla_get_range_unsigned()
146 range->min = pt->min; in nla_get_range_unsigned()
147 range->max = pt->max; in nla_get_range_unsigned()
150 *range = *pt->range; in nla_get_range_unsigned()
153 range->min = pt in nla_get_range_unsigned()
163 nla_validate_range_unsigned(const struct nla_policy *pt, const struct nlattr *nla, struct netlink_ext_ack *extack, unsigned int validate) nla_validate_range_unsigned() argument
224 nla_get_range_signed(const struct nla_policy *pt, struct netlink_range_validation_signed *range) nla_get_range_signed() argument
268 nla_validate_int_range_signed(const struct nla_policy *pt, const struct nlattr *nla, struct netlink_ext_ack *extack) nla_validate_int_range_signed() argument
303 nla_validate_int_range(const struct nla_policy *pt, const struct nlattr *nla, struct netlink_ext_ack *extack, unsigned int validate) nla_validate_int_range() argument
327 nla_validate_mask(const struct nla_policy *pt, const struct nlattr *nla, struct netlink_ext_ack *extack) nla_validate_mask() argument
363 const struct nla_policy *pt; validate_nla() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
H A Dscatterlist.c41 static noinline int expect_pfn_sg(struct pfn_table *pt, in expect_pfn_sg() argument
50 pfn = pt->start; in expect_pfn_sg()
51 for_each_sg(pt->st.sgl, sg, pt->st.nents, n) { in expect_pfn_sg()
53 unsigned int npages = npages_fn(n, pt->st.nents, rnd); in expect_pfn_sg()
72 if (pfn != pt->end) { in expect_pfn_sg()
74 __func__, who, pt->end, pfn); in expect_pfn_sg()
81 static noinline int expect_pfn_sg_page_iter(struct pfn_table *pt, in expect_pfn_sg_page_iter() argument
88 pfn = pt->start; in expect_pfn_sg_page_iter()
89 for_each_sg_page(pt in expect_pfn_sg_page_iter()
112 expect_pfn_sgtiter(struct pfn_table *pt, const char *who, unsigned long timeout) expect_pfn_sgtiter() argument
142 expect_pfn_sgtable(struct pfn_table *pt, npages_fn_t npages_fn, struct rnd_state *rnd, const char *who, unsigned long timeout) expect_pfn_sgtable() argument
214 alloc_table(struct pfn_table *pt, unsigned long count, unsigned long max, npages_fn_t npages_fn, struct rnd_state *rnd, int alloc_error) alloc_table() argument
289 struct pfn_table pt; igt_sg_alloc() local
325 struct pfn_table pt; igt_sg_trim() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/
H A Dscatterlist.c41 static noinline int expect_pfn_sg(struct pfn_table *pt, in expect_pfn_sg() argument
50 pfn = pt->start; in expect_pfn_sg()
51 for_each_sg(pt->st.sgl, sg, pt->st.nents, n) { in expect_pfn_sg()
53 unsigned int npages = npages_fn(n, pt->st.nents, rnd); in expect_pfn_sg()
72 if (pfn != pt->end) { in expect_pfn_sg()
74 __func__, who, pt->end, pfn); in expect_pfn_sg()
81 static noinline int expect_pfn_sg_page_iter(struct pfn_table *pt, in expect_pfn_sg_page_iter() argument
88 pfn = pt->start; in expect_pfn_sg_page_iter()
89 for_each_sg_page(pt in expect_pfn_sg_page_iter()
112 expect_pfn_sgtiter(struct pfn_table *pt, const char *who, unsigned long timeout) expect_pfn_sgtiter() argument
142 expect_pfn_sgtable(struct pfn_table *pt, npages_fn_t npages_fn, struct rnd_state *rnd, const char *who, unsigned long timeout) expect_pfn_sgtable() argument
214 alloc_table(struct pfn_table *pt, unsigned long count, unsigned long max, npages_fn_t npages_fn, struct rnd_state *rnd, int alloc_error) alloc_table() argument
293 struct pfn_table pt; igt_sg_alloc() local
329 struct pfn_table pt; igt_sg_trim() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dbase.c34 struct nvkm_mmu_pt *pt; member
42 nvkm_mmu_ptp_put(struct nvkm_mmu *mmu, bool force, struct nvkm_mmu_pt *pt) in nvkm_mmu_ptp_put() argument
44 const int slot = pt->base >> pt->ptp->shift; in nvkm_mmu_ptp_put()
45 struct nvkm_mmu_ptp *ptp = pt->ptp; in nvkm_mmu_ptp_put()
56 nvkm_mmu_ptc_put(mmu, force, &ptp->pt); in nvkm_mmu_ptp_put()
61 kfree(pt); in nvkm_mmu_ptp_put()
67 struct nvkm_mmu_pt *pt; in nvkm_mmu_ptp_get() local
71 if (!(pt = kzalloc(sizeof(*pt), GFP_KERNE in nvkm_mmu_ptp_get()
143 struct nvkm_mmu_pt *pt = *ppt; nvkm_mmu_ptc_put() local
170 struct nvkm_mmu_pt *pt; nvkm_mmu_ptc_get() local
224 struct nvkm_mmu_pt *pt, *tt; nvkm_mmu_ptc_dump() local
[all...]
H A Dvmmgp100.c35 struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes) in gp100_vmm_pfn_unmap()
40 nvkm_kmap(pt->memory); in gp100_vmm_pfn_unmap()
42 u32 datalo = nvkm_ro32(pt->memory, pt->base + ptei * 8 + 0); in gp100_vmm_pfn_unmap()
43 u32 datahi = nvkm_ro32(pt->memory, pt->base + ptei * 8 + 4); in gp100_vmm_pfn_unmap()
51 nvkm_done(pt->memory); in gp100_vmm_pfn_unmap()
56 struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes) in gp100_vmm_pfn_clear()
59 nvkm_kmap(pt->memory); in gp100_vmm_pfn_clear()
61 u32 datalo = nvkm_ro32(pt in gp100_vmm_pfn_clear()
34 gp100_vmm_pfn_unmap(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes) gp100_vmm_pfn_unmap() argument
55 gp100_vmm_pfn_clear(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes) gp100_vmm_pfn_clear() argument
75 gp100_vmm_pgt_pfn(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) gp100_vmm_pgt_pfn() argument
112 gp100_vmm_pgt_pte(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map, u64 addr) gp100_vmm_pgt_pte() argument
126 gp100_vmm_pgt_sgl(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) gp100_vmm_pgt_sgl() argument
133 gp100_vmm_pgt_dma(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) gp100_vmm_pgt_dma() argument
152 gp100_vmm_pgt_mem(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) gp100_vmm_pgt_mem() argument
159 gp100_vmm_pgt_sparse(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes) gp100_vmm_pgt_sparse() argument
179 gp100_vmm_lpt_invalid(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes) gp100_vmm_lpt_invalid() argument
195 gp100_vmm_pd0_pte(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map, u64 addr) gp100_vmm_pd0_pte() argument
209 gp100_vmm_pd0_mem(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) gp100_vmm_pd0_mem() argument
216 gp100_vmm_pde(struct nvkm_mmu_pt *pt, u64 *data) gp100_vmm_pde() argument
250 gp100_vmm_pd0_sparse(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 pdei, u32 pdes) gp100_vmm_pd0_sparse() argument
258 gp100_vmm_pd0_unmap(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 pdei, u32 pdes) gp100_vmm_pd0_unmap() argument
265 gp100_vmm_pd0_pfn_unmap(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes) gp100_vmm_pd0_pfn_unmap() argument
287 gp100_vmm_pd0_pfn_clear(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes) gp100_vmm_pd0_pfn_clear() argument
309 gp100_vmm_pd0_pfn(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) gp100_vmm_pd0_pfn() argument
[all...]
H A Dvmmnv44.c27 nv44_vmm_pgt_fill(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in nv44_vmm_pgt_fill() argument
33 tmp[0] = nvkm_ro32(pt->memory, pteo + 0x0); in nv44_vmm_pgt_fill()
34 tmp[1] = nvkm_ro32(pt->memory, pteo + 0x4); in nv44_vmm_pgt_fill()
35 tmp[2] = nvkm_ro32(pt->memory, pteo + 0x8); in nv44_vmm_pgt_fill()
36 tmp[3] = nvkm_ro32(pt->memory, pteo + 0xc); in nv44_vmm_pgt_fill()
66 VMM_WO032(pt, vmm, pteo + 0x0, tmp[0]); in nv44_vmm_pgt_fill()
67 VMM_WO032(pt, vmm, pteo + 0x4, tmp[1]); in nv44_vmm_pgt_fill()
68 VMM_WO032(pt, vmm, pteo + 0x8, tmp[2]); in nv44_vmm_pgt_fill()
69 VMM_WO032(pt, vmm, pteo + 0xc, tmp[3] | 0x40000000); in nv44_vmm_pgt_fill()
73 nv44_vmm_pgt_pte(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in nv44_vmm_pgt_pte() argument
105 nv44_vmm_pgt_sgl(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) nv44_vmm_pgt_sgl() argument
112 nv44_vmm_pgt_dma(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) nv44_vmm_pgt_dma() argument
147 nv44_vmm_pgt_unmap(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes) nv44_vmm_pgt_unmap() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dbase.c34 struct nvkm_mmu_pt *pt; member
42 nvkm_mmu_ptp_put(struct nvkm_mmu *mmu, bool force, struct nvkm_mmu_pt *pt) in nvkm_mmu_ptp_put() argument
44 const int slot = pt->base >> pt->ptp->shift; in nvkm_mmu_ptp_put()
45 struct nvkm_mmu_ptp *ptp = pt->ptp; in nvkm_mmu_ptp_put()
56 nvkm_mmu_ptc_put(mmu, force, &ptp->pt); in nvkm_mmu_ptp_put()
61 kfree(pt); in nvkm_mmu_ptp_put()
67 struct nvkm_mmu_pt *pt; in nvkm_mmu_ptp_get() local
71 if (!(pt = kzalloc(sizeof(*pt), GFP_KERNE in nvkm_mmu_ptp_get()
143 struct nvkm_mmu_pt *pt = *ppt; nvkm_mmu_ptc_put() local
170 struct nvkm_mmu_pt *pt; nvkm_mmu_ptc_get() local
224 struct nvkm_mmu_pt *pt, *tt; nvkm_mmu_ptc_dump() local
[all...]
H A Dvmmgp100.c35 struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes) in gp100_vmm_pfn_unmap()
40 nvkm_kmap(pt->memory); in gp100_vmm_pfn_unmap()
42 u32 datalo = nvkm_ro32(pt->memory, pt->base + ptei * 8 + 0); in gp100_vmm_pfn_unmap()
43 u32 datahi = nvkm_ro32(pt->memory, pt->base + ptei * 8 + 4); in gp100_vmm_pfn_unmap()
51 nvkm_done(pt->memory); in gp100_vmm_pfn_unmap()
56 struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes) in gp100_vmm_pfn_clear()
59 nvkm_kmap(pt->memory); in gp100_vmm_pfn_clear()
61 u32 datalo = nvkm_ro32(pt in gp100_vmm_pfn_clear()
34 gp100_vmm_pfn_unmap(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes) gp100_vmm_pfn_unmap() argument
55 gp100_vmm_pfn_clear(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes) gp100_vmm_pfn_clear() argument
75 gp100_vmm_pgt_pfn(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) gp100_vmm_pgt_pfn() argument
115 gp100_vmm_pgt_pte(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map, u64 addr) gp100_vmm_pgt_pte() argument
129 gp100_vmm_pgt_sgl(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) gp100_vmm_pgt_sgl() argument
136 gp100_vmm_pgt_dma(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) gp100_vmm_pgt_dma() argument
155 gp100_vmm_pgt_mem(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) gp100_vmm_pgt_mem() argument
162 gp100_vmm_pgt_sparse(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes) gp100_vmm_pgt_sparse() argument
182 gp100_vmm_lpt_invalid(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes) gp100_vmm_lpt_invalid() argument
198 gp100_vmm_pd0_pte(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map, u64 addr) gp100_vmm_pd0_pte() argument
212 gp100_vmm_pd0_mem(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) gp100_vmm_pd0_mem() argument
219 gp100_vmm_pde(struct nvkm_mmu_pt *pt, u64 *data) gp100_vmm_pde() argument
253 gp100_vmm_pd0_sparse(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 pdei, u32 pdes) gp100_vmm_pd0_sparse() argument
261 gp100_vmm_pd0_unmap(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 pdei, u32 pdes) gp100_vmm_pd0_unmap() argument
268 gp100_vmm_pd0_pfn_unmap(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes) gp100_vmm_pd0_pfn_unmap() argument
290 gp100_vmm_pd0_pfn_clear(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes) gp100_vmm_pd0_pfn_clear() argument
312 gp100_vmm_pd0_pfn(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) gp100_vmm_pd0_pfn() argument
[all...]
H A Dvmmnv44.c27 nv44_vmm_pgt_fill(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in nv44_vmm_pgt_fill() argument
33 tmp[0] = nvkm_ro32(pt->memory, pteo + 0x0); in nv44_vmm_pgt_fill()
34 tmp[1] = nvkm_ro32(pt->memory, pteo + 0x4); in nv44_vmm_pgt_fill()
35 tmp[2] = nvkm_ro32(pt->memory, pteo + 0x8); in nv44_vmm_pgt_fill()
36 tmp[3] = nvkm_ro32(pt->memory, pteo + 0xc); in nv44_vmm_pgt_fill()
66 VMM_WO032(pt, vmm, pteo + 0x0, tmp[0]); in nv44_vmm_pgt_fill()
67 VMM_WO032(pt, vmm, pteo + 0x4, tmp[1]); in nv44_vmm_pgt_fill()
68 VMM_WO032(pt, vmm, pteo + 0x8, tmp[2]); in nv44_vmm_pgt_fill()
69 VMM_WO032(pt, vmm, pteo + 0xc, tmp[3] | 0x40000000); in nv44_vmm_pgt_fill()
73 nv44_vmm_pgt_pte(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in nv44_vmm_pgt_pte() argument
105 nv44_vmm_pgt_sgl(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) nv44_vmm_pgt_sgl() argument
112 nv44_vmm_pgt_dma(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) nv44_vmm_pgt_dma() argument
147 nv44_vmm_pgt_unmap(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes) nv44_vmm_pgt_unmap() argument
[all...]
/kernel/linux/linux-5.10/drivers/dma-buf/
H A Dsw_sync.c133 struct sync_pt *pt = dma_fence_to_sync_pt(fence); in timeline_fence_release() local
138 if (!list_empty(&pt->link)) { in timeline_fence_release()
139 list_del(&pt->link); in timeline_fence_release()
140 rb_erase(&pt->node, &parent->pt_tree); in timeline_fence_release()
195 struct sync_pt *pt, *next; in sync_timeline_signal() local
203 list_for_each_entry_safe(pt, next, &obj->pt_list, link) { in sync_timeline_signal()
204 if (!timeline_fence_signaled(&pt->base)) in sync_timeline_signal()
207 dma_fence_get(&pt->base); in sync_timeline_signal()
209 list_move_tail(&pt->link, &signalled); in sync_timeline_signal()
210 rb_erase(&pt in sync_timeline_signal()
236 struct sync_pt *pt; sync_pt_create() local
312 struct sync_pt *pt, *next; sw_sync_debugfs_release() local
332 struct sync_pt *pt; sw_sync_ioctl_create_fence() local
[all...]
/kernel/linux/linux-6.6/drivers/dma-buf/
H A Dsw_sync.c133 struct sync_pt *pt = dma_fence_to_sync_pt(fence); in timeline_fence_release() local
138 if (!list_empty(&pt->link)) { in timeline_fence_release()
139 list_del(&pt->link); in timeline_fence_release()
140 rb_erase(&pt->node, &parent->pt_tree); in timeline_fence_release()
195 struct sync_pt *pt, *next; in sync_timeline_signal() local
203 list_for_each_entry_safe(pt, next, &obj->pt_list, link) { in sync_timeline_signal()
204 if (!timeline_fence_signaled(&pt->base)) in sync_timeline_signal()
207 dma_fence_get(&pt->base); in sync_timeline_signal()
209 list_move_tail(&pt->link, &signalled); in sync_timeline_signal()
210 rb_erase(&pt in sync_timeline_signal()
236 struct sync_pt *pt; sync_pt_create() local
312 struct sync_pt *pt, *next; sw_sync_debugfs_release() local
332 struct sync_pt *pt; sw_sync_ioctl_create_fence() local
[all...]

Completed in 18 milliseconds

12345678910>>...24