Home
last modified time | relevance | path

Searched refs:cxl_context (Results 1 – 8 of 8) sorted by relevance

/linux-4.1.27/drivers/misc/cxl/
Dcontext.c29 struct cxl_context *cxl_context_alloc(void) in cxl_context_alloc()
31 return kzalloc(sizeof(struct cxl_context), GFP_KERNEL); in cxl_context_alloc()
37 int cxl_context_init(struct cxl_context *ctx, struct cxl_afu *afu, bool master, in cxl_context_init()
105 struct cxl_context *ctx = vma->vm_file->private_data; in cxl_mmap_fault()
146 int cxl_context_iomap(struct cxl_context *ctx, struct vm_area_struct *vma) in cxl_context_iomap()
177 static void __detach_context(struct cxl_context *ctx) in __detach_context()
200 void cxl_context_detach(struct cxl_context *ctx) in cxl_context_detach()
210 struct cxl_context *ctx; in cxl_context_detach_all()
235 void cxl_context_free(struct cxl_context *ctx) in cxl_context_free()
Dfault.c35 static struct cxl_sste* find_free_sste(struct cxl_context *ctx, in find_free_sste()
66 static void cxl_load_segment(struct cxl_context *ctx, struct copro_slb *slb) in cxl_load_segment()
87 static int cxl_fault_segment(struct cxl_context *ctx, struct mm_struct *mm, in cxl_fault_segment()
100 static void cxl_ack_ae(struct cxl_context *ctx) in cxl_ack_ae()
115 static int cxl_handle_segment_miss(struct cxl_context *ctx, in cxl_handle_segment_miss()
134 static void cxl_handle_page_fault(struct cxl_context *ctx, in cxl_handle_page_fault()
171 struct cxl_context *ctx = in cxl_handle_fault()
172 container_of(fault_work, struct cxl_context, fault_work); in cxl_handle_fault()
222 static void cxl_prefault_one(struct cxl_context *ctx, u64 ea) in cxl_prefault_one()
256 static void cxl_prefault_vma(struct cxl_context *ctx) in cxl_prefault_vma()
[all …]
Dcxl.h405 struct cxl_context { struct
587 void cxl_context_free(struct cxl_context *ctx);
588 void cxl_context_detach(struct cxl_context *ctx);
608 int afu_register_irqs(struct cxl_context *ctx, u32 count);
609 void afu_release_irqs(struct cxl_context *ctx);
620 void cxl_prefault(struct cxl_context *ctx, u64 wed);
623 int cxl_alloc_sst(struct cxl_context *ctx);
627 struct cxl_context *cxl_context_alloc(void);
628 int cxl_context_init(struct cxl_context *ctx, struct cxl_afu *afu, bool master,
630 void cxl_context_free(struct cxl_context *ctx);
[all …]
Dtrace.h59 TP_PROTO(struct cxl_context *ctx),
84 TP_PROTO(struct cxl_context *ctx, u64 wed, s16 num_interrupts, u64 amr),
120 TP_PROTO(struct cxl_context *ctx),
125 TP_PROTO(struct cxl_context *ctx, int afu_irq, int virq, irq_hw_number_t hwirq),
158 TP_PROTO(struct cxl_context *ctx, int irq, u64 dsisr, u64 dar),
191 TP_PROTO(struct cxl_context *ctx, u64 tfc),
218 TP_PROTO(struct cxl_context *ctx, u64 dar),
245 TP_PROTO(struct cxl_context *ctx, unsigned int idx, u64 e, u64 v),
278 TP_PROTO(struct cxl_context *ctx, u64 dsisr, u64 dar),
308 TP_PROTO(struct cxl_context *ctx, u64 cmd),
[all …]
Dnative.c269 static void slb_invalid(struct cxl_context *ctx) in slb_invalid()
289 static int do_process_element_cmd(struct cxl_context *ctx, in do_process_element_cmd()
335 static int add_process_element(struct cxl_context *ctx) in add_process_element()
348 static int terminate_process_element(struct cxl_context *ctx) in terminate_process_element()
366 static int remove_process_element(struct cxl_context *ctx) in remove_process_element()
382 static void assign_psn_space(struct cxl_context *ctx) in assign_psn_space()
433 static int attach_afu_directed(struct cxl_context *ctx, u64 wed, u64 amr) in attach_afu_directed()
530 static int attach_dedicated(struct cxl_context *ctx, u64 wed, u64 amr) in attach_dedicated()
618 int cxl_attach_process(struct cxl_context *ctx, bool kernel, u64 wed, u64 amr) in cxl_attach_process()
630 static inline int detach_process_native_dedicated(struct cxl_context *ctx) in detach_process_native_dedicated()
[all …]
Dfile.c52 struct cxl_context *ctx; in __afu_open()
111 struct cxl_context *ctx = file->private_data; in afu_release()
135 static long afu_ioctl_start_work(struct cxl_context *ctx, in afu_ioctl_start_work()
204 static long afu_ioctl_process_element(struct cxl_context *ctx, in afu_ioctl_process_element()
217 struct cxl_context *ctx = file->private_data; in afu_ioctl()
240 struct cxl_context *ctx = file->private_data; in afu_mmap()
251 struct cxl_context *ctx = file->private_data; in afu_poll()
275 static inline int ctx_event_pending(struct cxl_context *ctx) in ctx_event_pending()
284 struct cxl_context *ctx = file->private_data; in afu_read()
Dirq.c23 static irqreturn_t handle_psl_slice_error(struct cxl_context *ctx, u64 dsisr, u64 errstat) in handle_psl_slice_error()
88 static irqreturn_t schedule_cxl_fault(struct cxl_context *ctx, u64 dsisr, u64 dar) in schedule_cxl_fault()
98 struct cxl_context *ctx = data; in cxl_irq()
195 struct cxl_context *ctx; in cxl_irq_multiplexed()
223 struct cxl_context *ctx = data; in cxl_irq_afu()
407 void afu_irq_name_free(struct cxl_context *ctx) in afu_irq_name_free()
418 int afu_register_irqs(struct cxl_context *ctx, u32 count) in afu_register_irqs()
479 void afu_release_irqs(struct cxl_context *ctx) in afu_release_irqs()
Dmain.c35 static inline void _cxl_slbia(struct cxl_context *ctx, struct mm_struct *mm) in _cxl_slbia()
65 struct cxl_context *ctx; in cxl_slbia_core()
93 int cxl_alloc_sst(struct cxl_context *ctx) in cxl_alloc_sst()