Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 25 of 51) sorted by relevance

123

/arch/powerpc/platforms/cell/spufs/
Dbacking_ops.c48 static void gen_spu_event(struct spu_context *ctx, u32 event) in gen_spu_event()
63 static int spu_backing_mbox_read(struct spu_context *ctx, u32 * data) in spu_backing_mbox_read()
85 static u32 spu_backing_mbox_stat_read(struct spu_context *ctx) in spu_backing_mbox_stat_read()
90 static unsigned int spu_backing_mbox_stat_poll(struct spu_context *ctx, in spu_backing_mbox_stat_poll()
129 static int spu_backing_ibox_read(struct spu_context *ctx, u32 * data) in spu_backing_ibox_read()
153 static int spu_backing_wbox_write(struct spu_context *ctx, u32 data) in spu_backing_wbox_write()
184 static u32 spu_backing_signal1_read(struct spu_context *ctx) in spu_backing_signal1_read()
189 static void spu_backing_signal1_write(struct spu_context *ctx, u32 data) in spu_backing_signal1_write()
201 static u32 spu_backing_signal2_read(struct spu_context *ctx) in spu_backing_signal2_read()
206 static void spu_backing_signal2_write(struct spu_context *ctx, u32 data) in spu_backing_signal2_write()
[all …]
Dhw_ops.c38 static int spu_hw_mbox_read(struct spu_context *ctx, u32 * data) in spu_hw_mbox_read()
55 static u32 spu_hw_mbox_stat_read(struct spu_context *ctx) in spu_hw_mbox_stat_read()
60 static unsigned int spu_hw_mbox_stat_poll(struct spu_context *ctx, in spu_hw_mbox_stat_poll()
97 static int spu_hw_ibox_read(struct spu_context *ctx, u32 * data) in spu_hw_ibox_read()
118 static int spu_hw_wbox_write(struct spu_context *ctx, u32 data) in spu_hw_wbox_write()
139 static void spu_hw_signal1_write(struct spu_context *ctx, u32 data) in spu_hw_signal1_write()
144 static void spu_hw_signal2_write(struct spu_context *ctx, u32 data) in spu_hw_signal2_write()
149 static void spu_hw_signal1_type_set(struct spu_context *ctx, u64 val) in spu_hw_signal1_type_set()
165 static u64 spu_hw_signal1_type_get(struct spu_context *ctx) in spu_hw_signal1_type_get()
170 static void spu_hw_signal2_type_set(struct spu_context *ctx, u64 val) in spu_hw_signal2_type_set()
[all …]
Dcontext.c37 struct spu_context *ctx; in alloc_spu_context() local
79 struct spu_context *ctx; in destroy_spu_context() local
96 struct spu_context * get_spu_context(struct spu_context *ctx) in get_spu_context()
102 int put_spu_context(struct spu_context *ctx) in put_spu_context()
108 void spu_forget(struct spu_context *ctx) in spu_forget()
127 void spu_unmap_mappings(struct spu_context *ctx) in spu_unmap_mappings()
151 int spu_acquire_saved(struct spu_context *ctx) in spu_acquire_saved()
173 void spu_release_saved(struct spu_context *ctx) in spu_release_saved()
Dsched.c96 void spu_set_timeslice(struct spu_context *ctx) in spu_set_timeslice()
107 void __spu_update_sched_info(struct spu_context *ctx) in __spu_update_sched_info()
148 void spu_update_sched_info(struct spu_context *ctx) in spu_update_sched_info()
166 static int __node_allowed(struct spu_context *ctx, int node) in __node_allowed()
178 static int node_allowed(struct spu_context *ctx, int node) in node_allowed()
205 struct spu_context *ctx = spu->ctx; in do_notify_spus_active() local
221 static void spu_bind_context(struct spu *spu, struct spu_context *ctx) in spu_bind_context()
271 struct spu_context *ctx; in aff_merge_remaining_ctxs() local
282 struct spu_context *ctx; in aff_set_offsets() local
303 static struct spu *aff_ref_location(struct spu_context *ctx, int mem_aff, in aff_ref_location()
[all …]
Dfile.c163 struct spu_context *ctx = i->i_ctx; in spufs_mem_open() local
177 struct spu_context *ctx = i->i_ctx; in spufs_mem_release() local
187 __spufs_mem_read(struct spu_context *ctx, char __user *buffer, in __spufs_mem_read()
199 struct spu_context *ctx = file->private_data; in spufs_mem_read() local
215 struct spu_context *ctx = file->private_data; in spufs_mem_write() local
244 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_fault() local
293 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_access() local
320 struct spu_context *ctx = file->private_data; in spufs_mem_mmap() local
350 struct spu_context *ctx = file->private_data; in spufs_get_unmapped_area() local
381 struct spu_context *ctx = vma->vm_file->private_data; in spufs_ps_fault() local
[all …]
Drun.c16 struct spu_context *ctx = spu->ctx; in spufs_stop_callback() local
48 int spu_stopped(struct spu_context *ctx, u32 *stat) in spu_stopped()
81 static int spu_setup_isolated(struct spu_context *ctx) in spu_setup_isolated()
172 static int spu_run_init(struct spu_context *ctx, u32 *npc) in spu_run_init()
240 static int spu_run_fini(struct spu_context *ctx, u32 *npc, in spu_run_fini()
269 static int spu_handle_restartsys(struct spu_context *ctx, long *spu_ret, in spu_handle_restartsys()
305 static int spu_process_callback(struct spu_context *ctx) in spu_process_callback()
349 long spufs_run_spu(struct spu_context *ctx, u32 *npc, u32 *event) in spufs_run_spu()
Dfault.c37 static void spufs_handle_event(struct spu_context *ctx, in spufs_handle_event()
78 int spufs_handle_class0(struct spu_context *ctx) in spufs_handle_class0()
111 int spufs_handle_class1(struct spu_context *ctx) in spufs_handle_class1()
Dcoredump.c35 static ssize_t do_coredump_read(int num, struct spu_context *ctx, void *buffer, in do_coredump_read()
89 static int spufs_ctx_note_size(struct spu_context *ctx, int dfd) in spufs_ctx_note_size()
122 struct spu_context *ctx = NULL; in coredump_next_context() local
145 struct spu_context *ctx; in spufs_coredump_extra_notes_size() local
167 static int spufs_arch_write_note(struct spu_context *ctx, int i, in spufs_arch_write_note()
226 struct spu_context *ctx; in spufs_coredump_extra_notes_write() local
Dgang.c65 void spu_gang_add_ctx(struct spu_gang *gang, struct spu_context *ctx) in spu_gang_add_ctx()
74 void spu_gang_remove_ctx(struct spu_gang *gang, struct spu_context *ctx) in spu_gang_remove_ctx()
Dsputrace.c151 static void sputrace_log_item(const char *name, struct spu_context *ctx, in sputrace_log_item()
184 struct spu_context *ctx; in spu_context_event() local
197 struct spu_context *ctx; in spu_context_nospu_event() local
Dinode.c120 size_t size, struct spu_context *ctx) in spufs_new_file()
190 int mode, struct spu_context *ctx) in spufs_fill_dir()
227 struct spu_context *ctx; in spufs_dir_close() local
263 struct spu_context *ctx; in spufs_mkdir() local
410 spufs_set_affinity(unsigned int flags, struct spu_context *ctx, in spufs_set_affinity()
/arch/powerpc/platforms/cell/
Dspu_notify.c30 void spu_switch_notify(struct spu *spu, struct spu_context *ctx) in spu_switch_notify()
53 void spu_set_profile_private_kref(struct spu_context *ctx, in spu_set_profile_private_kref()
62 void *spu_get_profile_private_kref(struct spu_context *ctx) in spu_get_profile_private_kref()
/arch/ia64/kernel/
Dperfmon.c98 #define PMC_OVFL_NOTIFY(ctx, i) ((ctx)->ctx_pmds[i].flags & PFM_REGFL_OVFL_NOTIFY) argument
125 #define CTX_USED_PMD(ctx, mask) (ctx)->ctx_used_pmds[0] |= (mask) argument
126 #define CTX_IS_USED_PMD(ctx, c) (((ctx)->ctx_used_pmds[0] & (1UL << (c))) != 0UL) argument
128 #define CTX_USED_MONITOR(ctx, mask) (ctx)->ctx_used_monitors[0] |= (mask) argument
130 #define CTX_USED_IBR(ctx,n) (ctx)->ctx_used_ibrs[(n)>>6] |= 1UL<< ((n) % 64) argument
131 #define CTX_USED_DBR(ctx,n) (ctx)->ctx_used_dbrs[(n)>>6] |= 1UL<< ((n) % 64) argument
132 #define CTX_USES_DBREGS(ctx) (((pfm_context_t *)(ctx))->ctx_fl_using_dbreg==1) argument
347 #define SET_LAST_CPU(ctx, v) (ctx)->ctx_last_cpu = (v) argument
348 #define GET_LAST_CPU(ctx) (ctx)->ctx_last_cpu argument
350 #define SET_LAST_CPU(ctx, v) do {} while(0) argument
[all …]
Dperfmon_itanium.h51 pfm_ita_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsigned long *v… in pfm_ita_pmc_check()
/arch/frv/mm/
Dmmu-context.c44 static unsigned get_cxn(mm_context_t *ctx) in get_cxn()
90 void change_mm_context(mm_context_t *old, mm_context_t *ctx, pgd_t *pgd) in change_mm_context()
132 mm_context_t *ctx = &mm->context; in destroy_context() local
/arch/s390/crypto/
Dsha512_s390.c24 struct s390_sha_ctx *ctx = crypto_tfm_ctx(tfm); in sha512_init() local
58 struct s390_sha_ctx *ctx = crypto_tfm_ctx(tfm); in sha384_init() local
Dsha_common.c22 struct s390_sha_ctx *ctx = crypto_tfm_ctx(tfm); in s390_sha_update() local
59 struct s390_sha_ctx *ctx = crypto_tfm_ctx(tfm); in s390_sha_final() local
/arch/ia64/kvm/
Dmisc.h63 union context *ctx = &vcpu->arch.host; in kvm_get_host_context() local
70 union context *ctx = &vcpu->arch.guest; in kvm_get_guest_context() local
/arch/x86/crypto/
Dsalsa20_glue.c48 struct salsa20_ctx *ctx = crypto_tfm_ctx(tfm); in setkey() local
59 struct salsa20_ctx *ctx = crypto_blkcipher_ctx(tfm); in encrypt() local
/arch/sparc/prom/
Dsegment.c21 prom_putsegment(int ctx, unsigned long vaddr, int segment) in prom_putsegment()
Dmp.c23 prom_startcpu(int cpunode, struct linux_prom_registers *ctable_reg, int ctx, char *pc) in prom_startcpu()
/arch/sparc/kernel/
Diommu.c272 static inline void iommu_free_ctx(struct iommu *iommu, int ctx) in iommu_free_ctx()
361 unsigned long i, base_paddr, ctx; in dma_4u_map_single() local
410 u32 vaddr, unsigned long ctx, unsigned long npages, in strbuf_flush()
481 unsigned long flags, npages, ctx, i; in dma_4u_unmap_single() local
525 unsigned long flags, handle, prot, ctx; in dma_4u_map_sg() local
677 unsigned long ctx = 0; in fetch_sg_ctx() local
695 unsigned long flags, ctx; in dma_4u_unmap_sg() local
748 unsigned long flags, ctx, npages; in dma_4u_sync_single_for_cpu() local
785 unsigned long flags, ctx, npages, i; in dma_4u_sync_sg_for_cpu() local
/arch/powerpc/mm/
Dmmu_context_hash32.c69 unsigned long ctx = next_mmu_context; in init_new_context() local
/arch/um/os-Linux/
Daio.c43 static long io_submit(aio_context_t ctx, long nr, struct iocb **iocbpp) in io_submit()
68 static int do_aio(aio_context_t ctx, enum aio_type type, int fd, char *buf, in do_aio()
101 static aio_context_t ctx = 0; variable
/arch/sparc/include/asm/
Dpgtsun4.h151 register int ctx; in sun4c_get_context() local
160 static inline int sun4c_set_context(int ctx) in sun4c_set_context()

123