Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/
Dscsi_common.c263 u8 *ucp, len; in scsi_set_sense_information() local
266 ucp = (char *)scsi_sense_desc_find(buf, len + 8, 0); in scsi_set_sense_information()
267 if (!ucp) { in scsi_set_sense_information()
269 ucp = buf + 8 + len; in scsi_set_sense_information()
276 ucp[0] = 0; in scsi_set_sense_information()
277 ucp[1] = 0xa; in scsi_set_sense_information()
278 ucp[2] = 0x80; /* Valid bit */ in scsi_set_sense_information()
279 ucp[3] = 0; in scsi_set_sense_information()
280 put_unaligned_be64(info, &ucp[4]); in scsi_set_sense_information()
312 u8 *ucp, len; in scsi_set_sense_field_pointer() local
[all …]
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 …]
Dscsi_error.c2425 const u8 * ucp; in scsi_get_sense_info_fld() local
2439 ucp = scsi_sense_desc_find(sense_buffer, sb_len, in scsi_get_sense_info_fld()
2441 if (ucp && (0xa == ucp[1])) { in scsi_get_sense_info_fld()
2442 *info_out = get_unaligned_be64(&ucp[4]); 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-v4.19/tools/testing/selftests/powerpc/tm/
Dtm-trap.c63 ucontext_t *ucp = uc; in trap_signal_handler() local
67 thread_endianness = MSR_LE & ucp->uc_mcontext.gp_regs[PT_MSR]; in trap_signal_handler()
116 ucp->uc_mcontext.gp_regs[PT_NIP] += 16; in trap_signal_handler()
123 ucp->uc_mcontext.gp_regs[PT_MSR] |= 1UL; in trap_signal_handler()
124 ucp->uc_mcontext.gp_regs[PT_NIP] += 4; in trap_signal_handler()
141 ucp->uc_mcontext.gp_regs[PT_MSR] |= 1UL; in trap_signal_handler()
171 ucp->uc_mcontext.gp_regs[PT_MSR] &= ~1UL; in trap_signal_handler()
172 ucp->uc_mcontext.gp_regs[PT_NIP] += 8; in trap_signal_handler()
Dtm-signal-msr-resv.c35 ucontext_t *ucp = uc; in signal_usr1() local
38 ucp->uc_link = ucp; in signal_usr1()
41 ucp->uc_mcontext.gp_regs[PT_MSR] |= (7ULL << 32); in signal_usr1()
43 ucp->uc_mcontext.uc_regs->gregs[PT_MSR] |= (7ULL); in signal_usr1()
Dtm-signal-context-chk-fpu.c51 ucontext_t *ucp = uc; in signal_usr1() local
52 ucontext_t *tm_ucp = ucp->uc_link; in signal_usr1()
55 fail = (ucp->uc_mcontext.fp_regs[i + 14] != fps[i]); in signal_usr1()
58 …printf("Failed on %d FP %g or %g\n", i, ucp->uc_mcontext.fp_regs[i + 14], tm_ucp->uc_mcontext.fp_r… in signal_usr1()
Dtm-signal-context-chk-gpr.c48 ucontext_t *ucp = uc; in signal_usr1() local
49 ucontext_t *tm_ucp = ucp->uc_link; in signal_usr1()
52 fail = (ucp->uc_mcontext.gp_regs[i + 14] != gps[i]); in signal_usr1()
56 ucp->uc_mcontext.gp_regs[i + 14], tm_ucp->uc_mcontext.gp_regs[i + 14]); in signal_usr1()
Dtm-signal-context-chk-vmx.c57 ucontext_t *ucp = uc; in signal_usr1() local
58 ucontext_t *tm_ucp = ucp->uc_link; in signal_usr1()
61 fail = memcmp(ucp->uc_mcontext.v_regs->vrregs[i + 20], in signal_usr1()
71 fprintf(stderr, "%04x", ucp->uc_mcontext.v_regs->vrregs[i + 20][j]); in signal_usr1()
Dtm-signal-context-chk-vsx.c59 ucontext_t *ucp = uc; in signal_usr1() local
60 ucontext_t *tm_ucp = ucp->uc_link; in signal_usr1()
71 long *vsx_ptr = (long *)(ucp->uc_mcontext.v_regs + 1); in signal_usr1()
74 memcpy(vsc, &ucp->uc_mcontext.fp_regs[i + 20], 8); in signal_usr1()
/Linux-v4.19/arch/sparc/kernel/
Dsignal_64.c44 struct ucontext __user *ucp = (struct ucontext __user *) in sparc64_set_context() local
55 (((unsigned long)ucp) & (sizeof(unsigned long)-1)) || in sparc64_set_context()
56 (!__access_ok(ucp, sizeof(*ucp)))) in sparc64_set_context()
58 grp = &ucp->uc_mcontext.mc_gregs; in sparc64_set_context()
67 if (__get_user(set.sig[0], &ucp->uc_sigmask.sig[0])) in sparc64_set_context()
70 if (__copy_from_user(&set, &ucp->uc_sigmask, sizeof(sigset_t))) in sparc64_set_context()
103 err |= __get_user(fp, &(ucp->uc_mcontext.mc_fp)); in sparc64_set_context()
104 err |= __get_user(i7, &(ucp->uc_mcontext.mc_i7)); in sparc64_set_context()
110 err |= __get_user(fenab, &(ucp->uc_mcontext.mc_fpregs.mcfpu_enab)); in sparc64_set_context()
116 err |= __get_user(fprs, &(ucp->uc_mcontext.mc_fpregs.mcfpu_fprs)); in sparc64_set_context()
[all …]
/Linux-v4.19/arch/m68k/mvme16x/
Dconfig.c329 volatile unsigned char uc, *ucp; in mvme16x_abort_int() local
334 ucp = (volatile unsigned char *)0xfff42043; in mvme16x_abort_int()
335 uc = *ucp | 8; in mvme16x_abort_int()
336 *ucp = uc; in mvme16x_abort_int()
/Linux-v4.19/fs/ext4/
Dhash.c105 const unsigned char *ucp = (const unsigned char *) name; in dx_hack_hash_unsigned() local
108 hash = hash1 + (hash0 ^ (((int) *ucp++) * 7152373)); in dx_hack_hash_unsigned()
164 const unsigned char *ucp = (const unsigned char *) msg; in str2hashbuf_unsigned() local
173 val = ((int) ucp[i]) + (val << 8); in str2hashbuf_unsigned()
/Linux-v4.19/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-v4.19/tools/testing/selftests/powerpc/alignment/
Dalignment_handler.c63 ucontext_t *ucp = ctx; in sighandler() local
71 ucp->uc_mcontext.gp_regs[PT_NIP] += 4; in sighandler()
73 ucp->uc_mcontext.uc_regs->gregs[PT_NIP] += 4; in sighandler()
/Linux-v4.19/arch/powerpc/kernel/
Dsignal_32.c983 static int do_setcontext(struct ucontext __user *ucp, struct pt_regs *regs, int sig) in do_setcontext() argument
988 if (get_sigset_t(&set, &ucp->uc_sigmask)) in do_setcontext()
994 if (__get_user(cmcp, &ucp->uc_regs)) in do_setcontext()
1000 if (__get_user(mcp, &ucp->uc_regs)) in do_setcontext()
1013 static int do_setcontext_tm(struct ucontext __user *ucp, in do_setcontext_tm() argument
1023 if (get_sigset_t(&set, &ucp->uc_sigmask)) in do_setcontext_tm()
1026 if (__get_user(cmcp, &ucp->uc_regs) || in do_setcontext_tm()
/Linux-v4.19/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-v4.19/drivers/s390/crypto/
Dpkey_api.c1111 struct pkey_clr2protk __user *ucp = (void __user *) arg; in pkey_unlocked_ioctl() local
1114 if (copy_from_user(&kcp, ucp, sizeof(kcp))) in pkey_unlocked_ioctl()
1121 if (copy_to_user(ucp, &kcp, sizeof(kcp))) in pkey_unlocked_ioctl()
/Linux-v4.19/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-v4.19/Documentation/filesystems/caching/
Dfscache.txt305 ucp=N Number of in-progress uncache_page() cache ops