/arch/powerpc/kernel/ |
H A D | signal_32.c | 1301 int sys_debug_setcontext(struct ucontext __user *ctx, argument 1364 if (!access_ok(VERIFY_READ, ctx, sizeof(*ctx)) 1365 || __get_user(tmp, (u8 __user *) ctx) 1366 || __get_user(tmp, (u8 __user *) (ctx + 1) - 1)) 1380 if (do_setcontext(ctx, regs, 1)) { 1386 ctx, regs->nip, regs->link); 1399 restore_altstack(&ctx->uc_stack);
|
/arch/powerpc/platforms/cell/spufs/ |
H A D | inode.c | 128 size_t size, struct spu_context *ctx) 145 inode->i_private = SPUFS_I(inode)->i_ctx = get_spu_context(ctx); 201 struct spu_context *ctx) 209 files->mode & mode, files->size, ctx); 219 struct spu_context *ctx; local 226 ctx = SPUFS_I(dir->d_inode)->i_ctx; 252 struct spu_context *ctx; local 262 ctx = alloc_spu_context(SPUFS_I(dir)->i_gang); /* XXX gang */ 263 SPUFS_I(inode)->i_ctx = ctx; 264 if (!ctx) { 126 spufs_new_file(struct super_block *sb, struct dentry *dentry, const struct file_operations *fops, umode_t mode, size_t size, struct spu_context *ctx) argument 199 spufs_fill_dir(struct dentry *dir, const struct spufs_tree_descr *files, umode_t mode, struct spu_context *ctx) argument 391 spufs_set_affinity(unsigned int flags, struct spu_context *ctx, struct spu_context *neighbor) argument [all...] |
H A D | sched.c | 97 void spu_set_timeslice(struct spu_context *ctx) argument 99 if (ctx->prio < NORMAL_PRIO) 100 ctx->time_slice = SCALE_PRIO(DEF_SPU_TIMESLICE * 4, ctx->prio); 102 ctx->time_slice = SCALE_PRIO(DEF_SPU_TIMESLICE, ctx->prio); 108 void __spu_update_sched_info(struct spu_context *ctx) argument 114 BUG_ON(!list_empty(&ctx->rq)); 121 ctx->tid = current->pid; 130 ctx 149 spu_update_sched_info(struct spu_context *ctx) argument 167 __node_allowed(struct spu_context *ctx, int node) argument 179 node_allowed(struct spu_context *ctx, int node) argument 206 struct spu_context *ctx = spu->ctx; local 222 spu_bind_context(struct spu *spu, struct spu_context *ctx) argument 272 struct spu_context *ctx; local 283 struct spu_context *ctx; local 304 aff_ref_location(struct spu_context *ctx, int mem_aff, int group_size, int lowest_offset) argument 359 struct spu_context *ctx; local 410 has_affinity(struct spu_context *ctx) argument 436 spu_unbind_context(struct spu *spu, struct spu_context *ctx) argument 493 __spu_add_to_rq(struct spu_context *ctx) argument 516 spu_add_to_rq(struct spu_context *ctx) argument 523 __spu_del_from_rq(struct spu_context *ctx) argument 537 spu_del_from_rq(struct spu_context *ctx) argument 544 spu_prio_wait(struct spu_context *ctx) argument 571 spu_get_idle(struct spu_context *ctx) argument 629 find_victim(struct spu_context *ctx) argument 717 __spu_schedule(struct spu *spu, struct spu_context *ctx) argument 739 spu_schedule(struct spu *spu, struct spu_context *ctx) argument 762 spu_unschedule(struct spu *spu, struct spu_context *ctx, int free_spu) argument 786 spu_activate(struct spu_context *ctx, unsigned long flags) argument 839 struct spu_context *ctx; local 862 __spu_deactivate(struct spu_context *ctx, int force, int max_prio) argument 895 spu_deactivate(struct spu_context *ctx) argument 909 spu_yield(struct spu_context *ctx) argument 919 spusched_tick(struct spu_context *ctx) argument 1020 struct spu_context *ctx = spu->ctx; local 1037 spuctx_switch_state(struct spu_context *ctx, enum spu_utilization_state new_state) argument [all...] |
H A D | spufs.h | 49 /* ctx->sched_flags */ 133 /* updates protected by ctx->state_mutex */ 143 unsigned long long slb_flt_base; /* # at last ctx switch */ 145 unsigned long long class2_intr_base; /* # at last ctx switch */ 188 int (*mbox_read) (struct spu_context * ctx, u32 * data); 189 u32(*mbox_stat_read) (struct spu_context * ctx); 190 unsigned int (*mbox_stat_poll)(struct spu_context *ctx, 192 int (*ibox_read) (struct spu_context * ctx, u32 * data); 193 int (*wbox_write) (struct spu_context * ctx, u32 data); 194 u32(*signal1_read) (struct spu_context * ctx); 275 spu_acquire(struct spu_context *ctx) argument 280 spu_release(struct spu_context *ctx) argument [all...] |
H A D | file.c | 164 struct spu_context *ctx = i->i_ctx; local 166 mutex_lock(&ctx->mapping_lock); 167 file->private_data = ctx; 169 ctx->local_store = inode->i_mapping; 170 mutex_unlock(&ctx->mapping_lock); 178 struct spu_context *ctx = i->i_ctx; local 180 mutex_lock(&ctx->mapping_lock); 182 ctx->local_store = NULL; 183 mutex_unlock(&ctx->mapping_lock); 188 __spufs_mem_read(struct spu_context *ctx, cha argument 200 struct spu_context *ctx = file->private_data; local 216 struct spu_context *ctx = file->private_data; local 238 struct spu_context *ctx = vma->vm_file->private_data; local 287 struct spu_context *ctx = vma->vm_file->private_data; local 314 struct spu_context *ctx = file->private_data; local 344 struct spu_context *ctx = file->private_data; local 375 struct spu_context *ctx = vma->vm_file->private_data; local 457 struct spu_context *ctx = data; local 471 struct spu_context *ctx = data; local 486 struct spu_context *ctx = i->i_ctx; local 501 struct spu_context *ctx = i->i_ctx; local 530 __spufs_regs_read(struct spu_context *ctx, char __user *buffer, size_t size, loff_t *pos) argument 543 struct spu_context *ctx = file->private_data; local 562 struct spu_context *ctx = file->private_data; local 588 __spufs_fpcr_read(struct spu_context *ctx, char __user * buffer, size_t size, loff_t * pos) argument 601 struct spu_context *ctx = file->private_data; local 615 struct spu_context *ctx = file->private_data; local 660 struct spu_context *ctx = file->private_data; local 711 struct spu_context *ctx = file->private_data; local 739 spu_ibox_read(struct spu_context *ctx, u32 *data) argument 746 struct spu_context *ctx = file->private_data; local 754 struct spu_context *ctx = spu->ctx; local 778 struct spu_context *ctx = file->private_data; local 835 struct spu_context *ctx = file->private_data; local 862 struct spu_context *ctx = file->private_data; local 888 spu_wbox_write(struct spu_context *ctx, u32 data) argument 895 struct spu_context *ctx = file->private_data; local 906 struct spu_context *ctx = spu->ctx; local 930 struct spu_context *ctx = file->private_data; local 985 struct spu_context *ctx = file->private_data; local 1012 struct spu_context *ctx = file->private_data; local 1040 struct spu_context *ctx = i->i_ctx; local 1054 struct spu_context *ctx = i->i_ctx; local 1063 __spufs_signal1_read(struct spu_context *ctx, char __user *buf, size_t len, loff_t *pos) argument 1091 struct spu_context *ctx = file->private_data; local 1105 struct spu_context *ctx; local 1177 struct spu_context *ctx = i->i_ctx; local 1191 struct spu_context *ctx = i->i_ctx; local 1200 __spufs_signal2_read(struct spu_context *ctx, char __user *buf, size_t len, loff_t *pos) argument 1227 struct spu_context *ctx = file->private_data; local 1242 struct spu_context *ctx; local 1351 struct spu_context *ctx = data; local 1363 spufs_signal1_type_get(struct spu_context *ctx) argument 1373 struct spu_context *ctx = data; local 1385 spufs_signal2_type_get(struct spu_context *ctx) argument 1424 struct spu_context *ctx = i->i_ctx; local 1439 struct spu_context *ctx = i->i_ctx; local 1483 struct spu_context *ctx = i->i_ctx; local 1497 struct spu_context *ctx = i->i_ctx; local 1546 struct spu_context *ctx = i->i_ctx; local 1567 struct spu_context *ctx = i->i_ctx; local 1579 struct spu_context *ctx = spu->ctx; local 1605 spufs_read_mfc_tagstatus(struct spu_context *ctx, u32 *status) argument 1623 struct spu_context *ctx = file->private_data; local 1728 spu_send_mfc_command(struct spu_context *ctx, struct mfc_dma_command cmd, int *error) argument 1749 struct spu_context *ctx = file->private_data; local 1798 struct spu_context *ctx = file->private_data; local 1828 struct spu_context *ctx = file->private_data; local 1866 struct spu_context *ctx = file->private_data; local 1886 struct spu_context *ctx = data; local 1898 spufs_npc_get(struct spu_context *ctx) argument 1907 struct spu_context *ctx = data; local 1920 spufs_decr_get(struct spu_context *ctx) argument 1930 struct spu_context *ctx = data; local 1945 spufs_decr_status_get(struct spu_context *ctx) argument 1958 struct spu_context *ctx = data; local 1971 spufs_event_mask_get(struct spu_context *ctx) argument 1981 spufs_event_status_get(struct spu_context *ctx) argument 1995 struct spu_context *ctx = data; local 2008 spufs_srr0_get(struct spu_context *ctx) argument 2016 spufs_id_get(struct spu_context *ctx) argument 2030 spufs_object_id_get(struct spu_context *ctx) argument 2038 struct spu_context *ctx = data; local 2047 spufs_lslr_get(struct spu_context *ctx) argument 2057 struct spu_context *ctx = i->i_ctx; local 2064 struct spu_context *ctx = s->private; local 2085 __spufs_mbox_info_read(struct spu_context *ctx, char __user *buf, size_t len, loff_t *pos) argument 2103 struct spu_context *ctx = file->private_data; local 2125 __spufs_ibox_info_read(struct spu_context *ctx, char __user *buf, size_t len, loff_t *pos) argument 2142 struct spu_context *ctx = file->private_data; local 2165 __spufs_wbox_info_read(struct spu_context *ctx, char __user *buf, size_t len, loff_t *pos) argument 2185 struct spu_context *ctx = file->private_data; local 2208 __spufs_dma_info_read(struct spu_context *ctx, char __user *buf, size_t len, loff_t *pos) argument 2237 struct spu_context *ctx = file->private_data; local 2260 __spufs_proxydma_info_read(struct spu_context *ctx, char __user *buf, size_t len, loff_t *pos) argument 2294 struct spu_context *ctx = file->private_data; local 2316 struct spu_context *ctx = s->private; local 2338 spufs_acct_time(struct spu_context *ctx, enum spu_utilization_state state) argument 2359 spufs_slb_flts(struct spu_context *ctx) argument 2371 spufs_class2_intrs(struct spu_context *ctx) argument 2386 struct spu_context *ctx = s->private; local 2424 spufs_switch_log_used(struct spu_context *ctx) argument 2430 spufs_switch_log_avail(struct spu_context *ctx) argument 2437 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; local 2469 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; local 2483 switch_log_sprint(struct spu_context *ctx, char *tbuf, int n) argument 2502 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; local 2572 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; local 2603 spu_switch_log_notify(struct spu *spu, struct spu_context *ctx, u32 type, u32 val) argument 2628 struct spu_context *ctx = s->private; local [all...] |
H A D | switch.c | 1714 struct spu_context *ctx = spu->ctx; local 1716 spu_cpu_affinity_set(spu, ctx->last_ran);
|
/arch/powerpc/platforms/ps3/ |
H A D | spu.c | 459 static void ps3_enable_spu(struct spu_context *ctx) argument 463 static void ps3_disable_spu(struct spu_context *ctx) argument 465 ctx->ops->runcntl_stop(ctx);
|
/arch/sparc/kernel/ |
H A D | iommu.c | 274 static inline void iommu_free_ctx(struct iommu *iommu, int ctx) argument 276 if (likely(ctx)) { 277 __clear_bit(ctx, iommu->ctx_bitmap); 278 if (ctx < iommu->ctx_lowest_free) 279 iommu->ctx_lowest_free = ctx; 364 unsigned long i, base_paddr, ctx; local 380 ctx = 0; 382 ctx = iommu_alloc_ctx(iommu); 393 iopte_protection = IOPTE_STREAMING(ctx); 395 iopte_protection = IOPTE_CONSISTENT(ctx); 412 strbuf_flush(struct strbuf *strbuf, struct iommu *iommu, u32 vaddr, unsigned long ctx, unsigned long npages, enum dma_data_direction direction) argument 485 unsigned long flags, npages, ctx, i; local 530 unsigned long flags, handle, prot, ctx; local 682 unsigned long ctx = 0; local 701 unsigned long flags, ctx; local 754 unsigned long flags, ctx, npages; local 791 unsigned long flags, ctx, npages, i; local [all...] |
H A D | smp_64.c | 780 static void smp_cross_call_masked(unsigned long *func, u32 ctx, u64 data1, u64 data2, const cpumask_t *mask) argument 782 u64 data0 = (((u64)ctx)<<32 | (((u64)func) & 0xffffffff)); 788 static void smp_cross_call(unsigned long *func, u32 ctx, u64 data1, u64 data2) argument 790 smp_cross_call_masked(func, ctx, data1, data2, cpu_online_mask); 1055 u32 ctx = CTX_HWBITS(mm->context); local 1064 ctx, 0, 0, 1068 __flush_tlb_mm(ctx, SECONDARY_CONTEXT); 1074 unsigned long ctx; member in struct:tlb_pending_info 1083 __flush_tlb_pending(t->ctx, t->nr, t->vaddrs); 1088 u32 ctx local [all...] |
H A D | traps_64.c | 231 unsigned short ctx = (type_ctx & 0xffff); local 241 addr, ctx, type); 321 unsigned short ctx = (type_ctx & 0xffff); local 346 addr, ctx, type); 2127 printk(KERN_EMERG "SUN4V-ITLB: vaddr[%lx] ctx[%lx] " 2150 printk(KERN_EMERG "SUN4V-DTLB: vaddr[%lx] ctx[%lx] "
|
/arch/x86/crypto/ |
H A D | camellia_glue.c | 39 asmlinkage void __camellia_enc_blk(struct camellia_ctx *ctx, u8 *dst, 42 asmlinkage void camellia_dec_blk(struct camellia_ctx *ctx, u8 *dst, 47 asmlinkage void __camellia_enc_blk_2way(struct camellia_ctx *ctx, u8 *dst, 50 asmlinkage void camellia_dec_blk_2way(struct camellia_ctx *ctx, u8 *dst, 1282 void camellia_decrypt_cbc_2way(void *ctx, u128 *dst, const u128 *src) argument 1286 camellia_dec_blk_2way(ctx, (u8 *)dst, (u8 *)src); 1292 void camellia_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) argument 1302 camellia_enc_blk_xor(ctx, (u8 *)dst, (u8 *)&ctrblk); 1306 void camellia_crypt_ctr_2way(void *ctx, u128 *dst, const u128 *src, le128 *iv) argument 1320 camellia_enc_blk_xor_2way(ctx, (u 1411 struct camellia_ctx *ctx = priv; local 1427 struct camellia_ctx *ctx = priv; local 1443 struct camellia_lrw_ctx *ctx = crypto_tfm_ctx(tfm); local 1460 struct camellia_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); local 1477 struct camellia_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); local 1493 struct camellia_lrw_ctx *ctx = crypto_tfm_ctx(tfm); local 1502 struct camellia_xts_ctx *ctx = crypto_tfm_ctx(tfm); local 1528 struct camellia_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); local 1546 struct camellia_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); local [all...] |
H A D | aesni-intel_glue.c | 86 asmlinkage int aesni_set_key(struct crypto_aes_ctx *ctx, const u8 *in_key, 88 asmlinkage void aesni_enc(struct crypto_aes_ctx *ctx, u8 *out, 90 asmlinkage void aesni_dec(struct crypto_aes_ctx *ctx, u8 *out, 92 asmlinkage void aesni_ecb_enc(struct crypto_aes_ctx *ctx, u8 *out, 94 asmlinkage void aesni_ecb_dec(struct crypto_aes_ctx *ctx, u8 *out, 96 asmlinkage void aesni_cbc_enc(struct crypto_aes_ctx *ctx, u8 *out, 98 asmlinkage void aesni_cbc_dec(struct crypto_aes_ctx *ctx, u8 *out, 109 static void (*aesni_ctr_enc_tfm)(struct crypto_aes_ctx *ctx, u8 *out, 111 asmlinkage void aesni_ctr_enc(struct crypto_aes_ctx *ctx, u8 *out, 114 asmlinkage void aesni_xts_crypt8(struct crypto_aes_ctx *ctx, u 184 aesni_gcm_enc_avx(void *ctx, u8 *out, const u8 *in, unsigned long plaintext_len, u8 *iv, u8 *hash_subkey, const u8 *aad, unsigned long aad_len, u8 *auth_tag, unsigned long auth_tag_len) argument 199 aesni_gcm_dec_avx(void *ctx, u8 *out, const u8 *in, unsigned long ciphertext_len, u8 *iv, u8 *hash_subkey, const u8 *aad, unsigned long aad_len, u8 *auth_tag, unsigned long auth_tag_len) argument 233 aesni_gcm_enc_avx2(void *ctx, u8 *out, const u8 *in, unsigned long plaintext_len, u8 *iv, u8 *hash_subkey, const u8 *aad, unsigned long aad_len, u8 *auth_tag, unsigned long auth_tag_len) argument 252 aesni_gcm_dec_avx2(void *ctx, u8 *out, const u8 *in, unsigned long ciphertext_len, u8 *iv, u8 *hash_subkey, const u8 *aad, unsigned long aad_len, u8 *auth_tag, unsigned long auth_tag_len) argument 305 struct crypto_aes_ctx *ctx = aes_ctx(raw_ctx); local 334 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); local 347 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); local 360 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); local 367 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); local 376 struct crypto_aes_ctx *ctx = aes_ctx(crypto_blkcipher_ctx(desc->tfm)); local 400 struct crypto_aes_ctx *ctx = aes_ctx(crypto_blkcipher_ctx(desc->tfm)); local 424 struct crypto_aes_ctx *ctx = aes_ctx(crypto_blkcipher_ctx(desc->tfm)); local 448 struct crypto_aes_ctx *ctx = aes_ctx(crypto_blkcipher_ctx(desc->tfm)); local 469 ctr_crypt_final(struct crypto_aes_ctx *ctx, struct blkcipher_walk *walk) argument 485 aesni_ctr_enc_avx_tfm(struct crypto_aes_ctx *ctx, u8 *out, const u8 *in, unsigned int len, u8 *iv) argument 507 struct crypto_aes_ctx *ctx = aes_ctx(crypto_blkcipher_ctx(desc->tfm)); local 557 lrw_xts_encrypt_callback(void *ctx, u8 *blks, unsigned int nbytes) argument 562 lrw_xts_decrypt_callback(void *ctx, u8 *blks, unsigned int nbytes) argument 570 struct aesni_lrw_ctx *ctx = crypto_tfm_ctx(tfm); local 583 struct aesni_lrw_ctx *ctx = crypto_tfm_ctx(tfm); local 591 struct aesni_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); local 615 struct aesni_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); local 639 struct aesni_xts_ctx *ctx = crypto_tfm_ctx(tfm); local 662 aesni_xts_tweak(void *ctx, u8 *out, const u8 *in) argument 669 aesni_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) argument 674 aesni_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) argument 679 aesni_xts_enc8(void *ctx, u128 *dst, const u128 *src, le128 *iv) argument 684 aesni_xts_dec8(void *ctx, u128 *dst, const u128 *src, le128 *iv) argument 718 struct aesni_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); local 729 struct aesni_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); local 742 struct aesni_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); local 767 struct aesni_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); local 795 struct aesni_rfc4106_gcm_ctx *ctx = (struct aesni_rfc4106_gcm_ctx *) local 814 struct aesni_rfc4106_gcm_ctx *ctx = local 897 struct aesni_rfc4106_gcm_ctx *ctx = aesni_rfc4106_gcm_ctx_get(parent); local 955 struct aesni_rfc4106_gcm_ctx *ctx = aesni_rfc4106_gcm_ctx_get(parent); local 975 struct aesni_rfc4106_gcm_ctx *ctx = aesni_rfc4106_gcm_ctx_get(tfm); local 996 struct aesni_rfc4106_gcm_ctx *ctx = aesni_rfc4106_gcm_ctx_get(tfm); local 1019 struct aesni_rfc4106_gcm_ctx *ctx = aesni_rfc4106_gcm_ctx_get(tfm); local 1097 struct aesni_rfc4106_gcm_ctx *ctx = aesni_rfc4106_gcm_ctx_get(tfm); local [all...] |
/arch/arm/mach-ixp4xx/ |
H A D | ixp4xx_npe.c | 216 static int __must_check npe_debug_instr(struct npe *npe, u32 instr, u32 ctx, argument 232 (ctx << ECS_REG_1_CCTXT_BITS) | 233 (ctx << ECS_REG_1_SELCTXT_BITS)); 260 u8 val, u32 ctx) 267 return npe_debug_instr(npe, instr, ctx, 1); /* execute it */ 271 u16 val, u32 ctx) 278 return npe_debug_instr(npe, instr, ctx, 1); /* execute it */ 282 u32 val, u32 ctx) 285 if (npe_logical_reg_write16(npe, addr, val >> 16, ctx)) 287 return npe_logical_reg_write16(npe, addr + 2, val & 0xFFFF, ctx); 259 npe_logical_reg_write8(struct npe *npe, u32 addr, u8 val, u32 ctx) argument 270 npe_logical_reg_write16(struct npe *npe, u32 addr, u16 val, u32 ctx) argument 281 npe_logical_reg_write32(struct npe *npe, u32 addr, u32 val, u32 ctx) argument [all...] |
/arch/mips/net/ |
H A D | bpf_jit.c | 154 static inline void emit_jit_reg_move(ptr dst, ptr src, struct jit_ctx *ctx); 157 #define emit_instr(ctx, func, ...) \ 159 if ((ctx)->target != NULL) { \ 160 u32 *p = &(ctx)->target[ctx->idx]; \ 163 (ctx)->idx++; \ 170 #define emit_long_instr(ctx, func, ...) \ 172 if ((ctx)->target != NULL) { \ 173 u32 *p = &(ctx)->target[ctx 185 emit_addu(unsigned int dst, unsigned int src1, unsigned int src2, struct jit_ctx *ctx) argument 191 emit_nop(struct jit_ctx *ctx) argument 197 emit_load_imm(unsigned int dst, u32 imm, struct jit_ctx *ctx) argument 217 emit_or(unsigned int dst, unsigned int src1, unsigned int src2, struct jit_ctx *ctx) argument 223 emit_ori(unsigned int dst, unsigned src, u32 imm, struct jit_ctx *ctx) argument 234 emit_daddiu(unsigned int dst, unsigned int src, int imm, struct jit_ctx *ctx) argument 244 emit_addiu(unsigned int dst, unsigned int src, u32 imm, struct jit_ctx *ctx) argument 255 emit_and(unsigned int dst, unsigned int src1, unsigned int src2, struct jit_ctx *ctx) argument 261 emit_andi(unsigned int dst, unsigned int src, u32 imm, struct jit_ctx *ctx) argument 273 emit_xor(unsigned int dst, unsigned int src1, unsigned int src2, struct jit_ctx *ctx) argument 279 emit_xori(ptr dst, ptr src, u32 imm, struct jit_ctx *ctx) argument 290 emit_stack_offset(int offset, struct jit_ctx *ctx) argument 295 emit_subu(unsigned int dst, unsigned int src1, unsigned int src2, struct jit_ctx *ctx) argument 301 emit_neg(unsigned int reg, struct jit_ctx *ctx) argument 306 emit_sllv(unsigned int dst, unsigned int src, unsigned int sa, struct jit_ctx *ctx) argument 312 emit_sll(unsigned int dst, unsigned int src, unsigned int sa, struct jit_ctx *ctx) argument 323 emit_srlv(unsigned int dst, unsigned int src, unsigned int sa, struct jit_ctx *ctx) argument 329 emit_srl(unsigned int dst, unsigned int src, unsigned int sa, struct jit_ctx *ctx) argument 340 emit_slt(unsigned int dst, unsigned int src1, unsigned int src2, struct jit_ctx *ctx) argument 346 emit_sltu(unsigned int dst, unsigned int src1, unsigned int src2, struct jit_ctx *ctx) argument 352 emit_sltiu(unsigned dst, unsigned int src, unsigned int imm, struct jit_ctx *ctx) argument 366 emit_store_stack_reg(ptr reg, ptr base, unsigned int offset, struct jit_ctx *ctx) argument 373 emit_store(ptr reg, ptr base, unsigned int offset, struct jit_ctx *ctx) argument 379 emit_load_stack_reg(ptr reg, ptr base, unsigned int offset, struct jit_ctx *ctx) argument 386 emit_load(unsigned int reg, unsigned int base, unsigned int offset, struct jit_ctx *ctx) argument 392 emit_load_byte(unsigned int reg, unsigned int base, unsigned int offset, struct jit_ctx *ctx) argument 398 emit_half_load(unsigned int reg, unsigned int base, unsigned int offset, struct jit_ctx *ctx) argument 404 emit_mul(unsigned int dst, unsigned int src1, unsigned int src2, struct jit_ctx *ctx) argument 410 emit_div(unsigned int dst, unsigned int src, struct jit_ctx *ctx) argument 422 emit_mod(unsigned int dst, unsigned int src, struct jit_ctx *ctx) argument 434 emit_dsll(unsigned int dst, unsigned int src, unsigned int sa, struct jit_ctx *ctx) argument 440 emit_dsrl32(unsigned int dst, unsigned int src, unsigned int sa, struct jit_ctx *ctx) argument 446 emit_wsbh(unsigned int dst, unsigned int src, struct jit_ctx *ctx) argument 453 emit_load_ptr(unsigned int dst, unsigned int src, int imm, struct jit_ctx *ctx) argument 461 emit_load_func(unsigned int reg, ptr imm, struct jit_ctx *ctx) argument 477 emit_reg_move(ptr dst, ptr src, struct jit_ctx *ctx) argument 483 emit_jit_reg_move(ptr dst, ptr src, struct jit_ctx *ctx) argument 489 b_imm(unsigned int tgt, struct jit_ctx *ctx) argument 511 emit_bcond(int cond, unsigned int reg1, unsigned int reg2, unsigned int imm, struct jit_ctx *ctx) argument 535 emit_b(unsigned int imm, struct jit_ctx *ctx) argument 540 emit_jalr(unsigned int link, unsigned int reg, struct jit_ctx *ctx) argument 546 emit_jr(unsigned int reg, struct jit_ctx *ctx) argument 572 save_bpf_jit_regs(struct jit_ctx *ctx, unsigned offset) argument 620 restore_bpf_jit_regs(struct jit_ctx *ctx, unsigned int offset) argument 657 emit_stack_offset(align_sp(offset), ctx); local 660 get_stack_depth(struct jit_ctx *ctx) argument 691 build_prologue(struct jit_ctx *ctx) argument 711 build_epilogue(struct jit_ctx *ctx) argument 755 build_body(struct jit_ctx *ctx) argument 1336 struct jit_ctx ctx; local [all...] |
/arch/alpha/kernel/ |
H A D | osf_sys.c | 99 struct dir_context ctx; member in struct:osf_dirent_callback 151 .ctx.actor = osf_filldir, 160 error = iterate_dir(arg.file, &buf.ctx);
|
/arch/mips/mm/ |
H A D | tlbex.c | 955 static void build_adjust_context(u32 **p, unsigned int ctx) argument 977 UASM_i_SRL(p, ctx, ctx, shift); 978 uasm_i_andi(p, ctx, ctx, mask);
|
/arch/powerpc/kvm/ |
H A D | book3s_64_mmu_hv.c | 1394 struct kvm_htab_ctx *ctx = file->private_data; local 1395 struct kvm *kvm = ctx->kvm; 1409 first_pass = ctx->first_pass; 1410 flags = ctx->flags; 1412 i = ctx->index; 1478 ctx->first_pass = 0; 1483 ctx->index = i; 1491 struct kvm_htab_ctx *ctx = file->private_data; local 1492 struct kvm *kvm = ctx->kvm; 1598 struct kvm_htab_ctx *ctx local 1618 struct kvm_htab_ctx *ctx; local [all...] |
/arch/sparc/mm/ |
H A D | srmmu.c | 441 int ctx; local 447 for (ctx = 0; ctx < numctx; ctx++) { 450 clist = (ctx_list_pool + ctx); 451 clist->ctx_number = ctx; 456 for (ctx = 0; ctx < numctx; ctx++) 457 add_to_free_ctxlist(ctx_list_pool + ctx); [all...] |
H A D | init_64.c | 684 unsigned long ctx, new_ctx; local 690 ctx = (tlb_context_cache + 1) & CTX_NR_MASK; 691 new_ctx = find_next_zero_bit(mmu_context_bmap, 1 << CTX_NR_BITS, ctx); 694 new_ctx = find_next_zero_bit(mmu_context_bmap, ctx, 1); 695 if (new_ctx >= ctx) { 2733 unsigned long ctx; local 2736 ctx = mm->context.sparc64_ctx_val; 2737 ctx &= ~CTX_PGSZ_MASK; 2738 ctx |= CTX_PGSZ_BASE << CTX_PGSZ0_SHIFT; 2739 ctx | [all...] |
/arch/ia64/kernel/ |
H A D | perfmon.c | 99 #define PMC_OVFL_NOTIFY(ctx, i) ((ctx)->ctx_pmds[i].flags & PFM_REGFL_OVFL_NOTIFY) 126 #define CTX_USED_PMD(ctx, mask) (ctx)->ctx_used_pmds[0] |= (mask) 127 #define CTX_IS_USED_PMD(ctx, c) (((ctx)->ctx_used_pmds[0] & (1UL << (c))) != 0UL) 129 #define CTX_USED_MONITOR(ctx, mask) (ctx)->ctx_used_monitors[0] |= (mask) 131 #define CTX_USED_IBR(ctx,n) (ctx) 747 pfm_read_soft_counter(pfm_context_t *ctx, int i) argument 756 pfm_write_soft_counter(pfm_context_t *ctx, int i, unsigned long val) argument 769 pfm_get_new_msg(pfm_context_t *ctx) argument 787 pfm_get_next_msg(pfm_context_t *ctx) argument 811 pfm_reset_msgq(pfm_context_t *ctx) argument 858 pfm_context_t *ctx; local 912 pfm_context_free(pfm_context_t *ctx) argument 923 pfm_context_t *ctx = PFM_GET_CTX(task); local 997 pfm_context_t *ctx = PFM_GET_CTX(task); local 1123 pfm_copy_pmds(struct task_struct *task, pfm_context_t *ctx) argument 1159 pfm_copy_pmcs(struct task_struct *task, pfm_context_t *ctx) argument 1393 pfm_unreserve_session(pfm_context_t *ctx, int is_syswide, unsigned int cpu) argument 1547 pfm_context_t *ctx; local 1648 pfm_context_t *ctx; local 1691 pfm_do_fasync(int fd, struct file *filp, pfm_context_t *ctx, int on) argument 1709 pfm_context_t *ctx; local 1749 pfm_context_t *ctx = (pfm_context_t *)info; local 1795 pfm_syswide_cleanup_other_cpu(pfm_context_t *ctx) argument 1812 pfm_context_t *ctx; local 1951 pfm_context_t *ctx; local 2182 pfm_alloc_file(pfm_context_t *ctx) argument 2249 pfm_smpl_buffer_alloc(struct task_struct *task, struct file *filp, pfm_context_t *ctx, unsigned long rsize, void **user_vaddr) argument 2426 pfm_setup_buffer_fmt(struct task_struct *task, struct file *filp, pfm_context_t *ctx, unsigned int ctx_flags, unsigned int cpu, pfarg_context_t *arg) argument 2481 pfm_reset_pmu_state(pfm_context_t *ctx) argument 2567 pfm_task_incompatible(pfm_context_t *ctx, struct task_struct *task) argument 2613 pfm_get_task(pfm_context_t *ctx, pid_t pid, struct task_struct **task) argument 2647 pfm_context_create(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs) argument 2744 pfm_reset_regs_masked(pfm_context_t *ctx, unsigned long *ovfl_regs, int is_long_reset) argument 2780 pfm_reset_regs(pfm_context_t *ctx, unsigned long *ovfl_regs, int is_long_reset) argument 2831 pfm_write_pmcs(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs) argument 3071 pfm_write_pmds(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs) argument 3267 pfm_read_pmds(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs) argument 3400 pfm_context_t *ctx; local 3421 pfm_context_t *ctx; local 3446 pfm_context_t *ctx = task->thread.pfm_context; local 3520 pfm_restart(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs) argument 3673 pfm_debug(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs) argument 3692 pfm_write_ibr_dbr(int mode, pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs) argument 3887 pfm_write_ibrs(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs) argument 3893 pfm_write_dbrs(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs) argument 3901 pfm_context_t *ctx; local 3922 pfm_context_t *ctx; local 3942 pfm_get_features(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs) argument 3951 pfm_stop(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs) argument 4040 pfm_start(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs) argument 4121 pfm_get_pmc_reset(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs) argument 4148 pfm_check_task_exist(pfm_context_t *ctx) argument 4170 pfm_context_load(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs) argument 4427 pfm_context_unload(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs) argument 4562 pfm_context_t *ctx; local 4668 pfm_check_task_state(pfm_context_t *ctx, int cmd, unsigned long flags) argument 4775 pfm_context_t *ctx = NULL; local 4922 pfm_resume_after_ovfl(pfm_context_t *ctx, unsigned long ovfl_regs, struct pt_regs *regs) argument 4968 pfm_context_force_terminate(pfm_context_t *ctx, struct pt_regs *regs) argument 5005 pfm_context_t *ctx; local 5105 pfm_notify_user(pfm_context_t *ctx, pfm_msg_t *msg) argument 5126 pfm_ovfl_notify_user(pfm_context_t *ctx, unsigned long ovfl_pmds) argument 5157 pfm_end_notify_user(pfm_context_t *ctx) argument 5185 pfm_overflow_handler(struct task_struct *task, pfm_context_t *ctx, unsigned long pmc0, struct pt_regs *regs) argument 5470 pfm_context_t *ctx; local 5789 pfm_force_cleanup(pfm_context_t *ctx, struct pt_regs *regs) argument 5820 pfm_context_t *ctx; local 5909 pfm_context_t *ctx; local 5940 pfm_context_t *ctx; local 6002 pfm_context_t *ctx; local 6165 pfm_context_t *ctx; local 6279 pfm_flush_pmds(struct task_struct *task, pfm_context_t *ctx) argument 6697 pfm_context_t *ctx; local [all...] |
/arch/powerpc/include/asm/ |
H A D | spu.h | 142 struct spu_context *ctx; member in struct:spu 225 void spu_set_profile_private_kref(struct spu_context *ctx, 229 void *spu_get_profile_private_kref(struct spu_context *ctx); 295 * function can assume that spu->ctx is valid.
|