Home
last modified time | relevance | path

Searched refs:ucp (Results 1 – 16 of 16) sorted by relevance

/linux-4.1.27/arch/m32r/kernel/
Dalign.c460 unsigned char **ucp) in insn_check() argument
470 *ucp += (short)(insn & 0x0000ffff); in insn_check()
488 unsigned char *ucp; in emu_ld() local
495 ucp = (unsigned char *)get_reg(regs, src); in emu_ld()
497 if (insn_check(insn32, regs, &ucp)) in emu_ld()
501 if (copy_from_user(&val, ucp, size)) in emu_ld()
515 set_reg(regs, src, (unsigned long)(ucp + 4)); in emu_ld()
522 unsigned char *ucp; in emu_st() local
530 ucp = (unsigned char *)get_reg(regs, src2); in emu_st()
532 if (insn_check(insn32, regs, &ucp)) in emu_st()
[all …]
/linux-4.1.27/arch/sparc/kernel/
Dsignal_64.c46 struct ucontext __user *ucp = (struct ucontext __user *) in sparc64_set_context() local
57 (((unsigned long)ucp) & (sizeof(unsigned long)-1)) || in sparc64_set_context()
58 (!__access_ok(ucp, sizeof(*ucp)))) in sparc64_set_context()
60 grp = &ucp->uc_mcontext.mc_gregs; in sparc64_set_context()
69 if (__get_user(set.sig[0], &ucp->uc_sigmask.sig[0])) in sparc64_set_context()
72 if (__copy_from_user(&set, &ucp->uc_sigmask, sizeof(sigset_t))) in sparc64_set_context()
105 err |= __get_user(fp, &(ucp->uc_mcontext.mc_fp)); in sparc64_set_context()
106 err |= __get_user(i7, &(ucp->uc_mcontext.mc_i7)); in sparc64_set_context()
112 err |= __get_user(fenab, &(ucp->uc_mcontext.mc_fpregs.mcfpu_enab)); in sparc64_set_context()
118 err |= __get_user(fprs, &(ucp->uc_mcontext.mc_fpregs.mcfpu_fprs)); in sparc64_set_context()
[all …]
/linux-4.1.27/fs/ext4/
Dhash.c40 const unsigned char *ucp = (const unsigned char *) name; in dx_hack_hash_unsigned() local
43 hash = hash1 + (hash0 ^ (((int) *ucp++) * 7152373)); in dx_hack_hash_unsigned()
101 const unsigned char *ucp = (const unsigned char *) msg; in str2hashbuf_unsigned() local
112 val = ((int) ucp[i]) + (val << 8); in str2hashbuf_unsigned()
/linux-4.1.27/fs/ext3/
Dhash.c39 const unsigned char *ucp = (const unsigned char *) name; in dx_hack_hash_unsigned() local
42 hash = hash1 + (hash0 ^ (((int) *ucp++) * 7152373)); in dx_hack_hash_unsigned()
100 const unsigned char *ucp = (const unsigned char *) msg; in str2hashbuf_unsigned() local
111 val = ((int) ucp[i]) + (val << 8); in str2hashbuf_unsigned()
/linux-4.1.27/arch/m68k/mvme16x/
Dconfig.c332 volatile unsigned char uc, *ucp; in mvme16x_abort_int() local
337 ucp = (volatile unsigned char *)0xfff42043; in mvme16x_abort_int()
338 uc = *ucp | 8; in mvme16x_abort_int()
339 *ucp = uc; in mvme16x_abort_int()
/linux-4.1.27/drivers/scsi/device_handler/
Dscsi_dh_alua.c541 unsigned char *ucp; in alua_rtpg() local
621 for (k = tpg_desc_tbl_off, ucp = h->buff + tpg_desc_tbl_off; in alua_rtpg()
623 k += off, ucp += off) { in alua_rtpg()
625 if (h->group_id == (ucp[2] << 8) + ucp[3]) { in alua_rtpg()
626 h->state = ucp[0] & 0x0f; in alua_rtpg()
627 h->pref = ucp[0] >> 7; in alua_rtpg()
628 valid_states = ucp[1]; in alua_rtpg()
630 off = 8 + (ucp[7] * 4); in alua_rtpg()
/linux-4.1.27/arch/sh/boards/mach-highlander/
Dsetup.c403 unsigned char *ucp = highlander_plat_irq_setup(); in highlander_init_irq() local
405 if (ucp) { in highlander_init_irq()
407 memcpy(irl2irq, ucp, HL_NR_IRL); in highlander_init_irq()
/linux-4.1.27/drivers/scsi/
Dwd33c93.c808 uchar asr, sr, phs, id, lun, *ucp, msg; in wd33c93_intr() local
927 ucp = hostdata->outgoing_msg + 1; in wd33c93_intr()
929 ucp[0], ucp[2], ucp[3], ucp[4]); in wd33c93_intr()
1060 ucp = hostdata->incoming_msg; in wd33c93_intr()
1063 printk("%02x", ucp[hostdata->incoming_ptr]); in wd33c93_intr()
1068 (hostdata->incoming_ptr == (ucp[1] + 1))) { in wd33c93_intr()
1070 switch (ucp[2]) { /* what's the EXTENDED code? */ in wd33c93_intr()
1099 if (ucp[4]) /* well, sync transfer */ in wd33c93_intr()
1100 id = calc_sync_xfer(ucp[3], ucp[4], in wd33c93_intr()
1103 else if (ucp[3]) /* very unlikely... */ in wd33c93_intr()
[all …]
Din2000.c838 uchar asr, sr, phs, id, lun, *ucp, msg; in in2000_intr() local
1237 ucp = hostdata->incoming_msg; in in2000_intr()
1240 printk("%02x", ucp[hostdata->incoming_ptr]); in in2000_intr()
1244 if ((hostdata->incoming_ptr >= 2) && (hostdata->incoming_ptr == (ucp[1] + 1))) { in in2000_intr()
1246 switch (ucp[2]) { /* what's the EXTENDED code? */ in in2000_intr()
1248 id = calc_sync_xfer(ucp[3], ucp[4]); in in2000_intr()
1291 printk("Rejecting Unknown Extended Message(%02x). ", ucp[2]); in in2000_intr()
Dscsi_error.c2535 const u8 * ucp; in scsi_get_sense_info_fld() local
2552 ucp = scsi_sense_desc_find(sense_buffer, sb_len, in scsi_get_sense_info_fld()
2554 if (ucp && (0xa == ucp[1])) { in scsi_get_sense_info_fld()
2559 ull |= ucp[4 + j]; in scsi_get_sense_info_fld()
Dst.c327 const u8 *ucp; in st_analyze_sense() local
349 ucp = scsi_sense_desc_find(sense, SCSI_SENSE_BUFFERSIZE, 4); in st_analyze_sense()
350 s->flags = ucp ? (ucp[3] & 0xe0) : 0; in st_analyze_sense()
Dosst.c205 const u8 *ucp; in osst_analyze_sense() local
227 ucp = scsi_sense_desc_find(sense, SCSI_SENSE_BUFFERSIZE, 4); in osst_analyze_sense()
228 s->flags = ucp ? (ucp[3] & 0xe0) : 0; in osst_analyze_sense()
/linux-4.1.27/Documentation/powerpc/
Dtransactional_memory.txt129 ucontext_t *ucp = uc;
130 ucontext_t *transactional_ucp = ucp->uc_link;
133 u64 msr = ucp->uc_mcontext.regs->msr;
142 ucp->uc_mcontext.regs->nip,
147 fix_the_problem(ucp->dar);
/linux-4.1.27/arch/powerpc/kernel/
Dsignal_32.c1076 static int do_setcontext(struct ucontext __user *ucp, struct pt_regs *regs, int sig) in do_setcontext() argument
1081 if (get_sigset_t(&set, &ucp->uc_sigmask)) in do_setcontext()
1087 if (__get_user(cmcp, &ucp->uc_regs)) in do_setcontext()
1093 if (__get_user(mcp, &ucp->uc_regs)) in do_setcontext()
1106 static int do_setcontext_tm(struct ucontext __user *ucp, in do_setcontext_tm() argument
1116 if (get_sigset_t(&set, &ucp->uc_sigmask)) in do_setcontext_tm()
1119 if (__get_user(cmcp, &ucp->uc_regs) || in do_setcontext_tm()
/linux-4.1.27/drivers/scsi/sym53c8xx_2/
Dsym_glue.c512 struct sym_ucmd *ucp = SYM_UCMD_PTR(cmd); in sym53c8xx_queue_command_lck() local
516 memset(ucp, 0, sizeof(*ucp)); in sym53c8xx_queue_command_lck()
/linux-4.1.27/Documentation/filesystems/caching/
Dfscache.txt304 ucp=N Number of in-progress uncache_page() cache ops