Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/scsi/
Dscsi_common.c262 u8 *ucp, len; in scsi_set_sense_information() local
265 ucp = (char *)scsi_sense_desc_find(buf, len + 8, 0); in scsi_set_sense_information()
266 if (!ucp) { in scsi_set_sense_information()
268 ucp = buf + 8 + len; in scsi_set_sense_information()
275 ucp[0] = 0; in scsi_set_sense_information()
276 ucp[1] = 0xa; in scsi_set_sense_information()
277 ucp[2] = 0x80; /* Valid bit */ in scsi_set_sense_information()
278 ucp[3] = 0; in scsi_set_sense_information()
279 put_unaligned_be64(info, &ucp[4]); in scsi_set_sense_information()
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.c2442 const u8 * ucp; in scsi_get_sense_info_fld() local
2459 ucp = scsi_sense_desc_find(sense_buffer, sb_len, in scsi_get_sense_info_fld()
2461 if (ucp && (0xa == ucp[1])) { in scsi_get_sense_info_fld()
2466 ull |= ucp[4 + j]; in scsi_get_sense_info_fld()
Dst.c326 const u8 *ucp; in st_analyze_sense() local
348 ucp = scsi_sense_desc_find(sense, SCSI_SENSE_BUFFERSIZE, 4); in st_analyze_sense()
349 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.4.14/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.4.14/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.4.14/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.4.14/drivers/scsi/device_handler/
Dscsi_dh_alua.c535 unsigned char *ucp; in alua_rtpg() local
615 for (k = tpg_desc_tbl_off, ucp = h->buff + tpg_desc_tbl_off; in alua_rtpg()
617 k += off, ucp += off) { in alua_rtpg()
619 if (h->group_id == (ucp[2] << 8) + ucp[3]) { in alua_rtpg()
620 h->state = ucp[0] & 0x0f; in alua_rtpg()
621 h->pref = ucp[0] >> 7; in alua_rtpg()
622 valid_states = ucp[1]; in alua_rtpg()
624 off = 8 + (ucp[7] * 4); in alua_rtpg()
/linux-4.4.14/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.4.14/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.4.14/Documentation/powerpc/
Dtransactional_memory.txt130 ucontext_t *ucp = uc;
131 ucontext_t *transactional_ucp = ucp->uc_link;
134 u64 msr = ucp->uc_mcontext.regs->msr;
143 ucp->uc_mcontext.regs->nip,
148 fix_the_problem(ucp->dar);
/linux-4.4.14/arch/powerpc/kernel/
Dsignal_32.c1081 static int do_setcontext(struct ucontext __user *ucp, struct pt_regs *regs, int sig) in do_setcontext() argument
1086 if (get_sigset_t(&set, &ucp->uc_sigmask)) in do_setcontext()
1092 if (__get_user(cmcp, &ucp->uc_regs)) in do_setcontext()
1098 if (__get_user(mcp, &ucp->uc_regs)) in do_setcontext()
1111 static int do_setcontext_tm(struct ucontext __user *ucp, in do_setcontext_tm() argument
1121 if (get_sigset_t(&set, &ucp->uc_sigmask)) in do_setcontext_tm()
1124 if (__get_user(cmcp, &ucp->uc_regs) || in do_setcontext_tm()
/linux-4.4.14/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.4.14/Documentation/filesystems/caching/
Dfscache.txt305 ucp=N Number of in-progress uncache_page() cache ops