tag | line | file | source code |
sc | 71 | arch/alpha/kernel/signal.c | asmlinkage void do_sigreturn(struct sigcontext_struct * sc, |
sc | 78 | arch/alpha/kernel/signal.c | if (verify_area(VERIFY_READ, sc, sizeof(*sc))) |
sc | 80 | arch/alpha/kernel/signal.c | if (get_fs_quad(&sc->sc_ps) != 8) |
sc | 82 | arch/alpha/kernel/signal.c | mask = get_fs_quad(&sc->sc_mask); |
sc | 87 | arch/alpha/kernel/signal.c | wrusp(get_fs_quad(sc->sc_regs+30)); |
sc | 88 | arch/alpha/kernel/signal.c | regs->pc = get_fs_quad(&sc->sc_pc); |
sc | 92 | arch/alpha/kernel/signal.c | regs->r0 = get_fs_quad(sc->sc_regs+0); |
sc | 93 | arch/alpha/kernel/signal.c | regs->r1 = get_fs_quad(sc->sc_regs+1); |
sc | 94 | arch/alpha/kernel/signal.c | regs->r2 = get_fs_quad(sc->sc_regs+2); |
sc | 95 | arch/alpha/kernel/signal.c | regs->r3 = get_fs_quad(sc->sc_regs+3); |
sc | 96 | arch/alpha/kernel/signal.c | regs->r4 = get_fs_quad(sc->sc_regs+4); |
sc | 97 | arch/alpha/kernel/signal.c | regs->r5 = get_fs_quad(sc->sc_regs+5); |
sc | 98 | arch/alpha/kernel/signal.c | regs->r6 = get_fs_quad(sc->sc_regs+6); |
sc | 99 | arch/alpha/kernel/signal.c | regs->r7 = get_fs_quad(sc->sc_regs+7); |
sc | 100 | arch/alpha/kernel/signal.c | regs->r8 = get_fs_quad(sc->sc_regs+8); |
sc | 101 | arch/alpha/kernel/signal.c | sw->r9 = get_fs_quad(sc->sc_regs+9); |
sc | 102 | arch/alpha/kernel/signal.c | sw->r10 = get_fs_quad(sc->sc_regs+10); |
sc | 103 | arch/alpha/kernel/signal.c | sw->r11 = get_fs_quad(sc->sc_regs+11); |
sc | 104 | arch/alpha/kernel/signal.c | sw->r12 = get_fs_quad(sc->sc_regs+12); |
sc | 105 | arch/alpha/kernel/signal.c | sw->r13 = get_fs_quad(sc->sc_regs+13); |
sc | 106 | arch/alpha/kernel/signal.c | sw->r14 = get_fs_quad(sc->sc_regs+14); |
sc | 107 | arch/alpha/kernel/signal.c | sw->r15 = get_fs_quad(sc->sc_regs+15); |
sc | 108 | arch/alpha/kernel/signal.c | regs->r16 = get_fs_quad(sc->sc_regs+16); |
sc | 109 | arch/alpha/kernel/signal.c | regs->r17 = get_fs_quad(sc->sc_regs+17); |
sc | 110 | arch/alpha/kernel/signal.c | regs->r18 = get_fs_quad(sc->sc_regs+18); |
sc | 111 | arch/alpha/kernel/signal.c | regs->r19 = get_fs_quad(sc->sc_regs+19); |
sc | 112 | arch/alpha/kernel/signal.c | regs->r20 = get_fs_quad(sc->sc_regs+20); |
sc | 113 | arch/alpha/kernel/signal.c | regs->r21 = get_fs_quad(sc->sc_regs+21); |
sc | 114 | arch/alpha/kernel/signal.c | regs->r22 = get_fs_quad(sc->sc_regs+22); |
sc | 115 | arch/alpha/kernel/signal.c | regs->r23 = get_fs_quad(sc->sc_regs+23); |
sc | 116 | arch/alpha/kernel/signal.c | regs->r24 = get_fs_quad(sc->sc_regs+24); |
sc | 117 | arch/alpha/kernel/signal.c | regs->r25 = get_fs_quad(sc->sc_regs+25); |
sc | 118 | arch/alpha/kernel/signal.c | regs->r26 = get_fs_quad(sc->sc_regs+26); |
sc | 119 | arch/alpha/kernel/signal.c | regs->r27 = get_fs_quad(sc->sc_regs+27); |
sc | 120 | arch/alpha/kernel/signal.c | regs->r28 = get_fs_quad(sc->sc_regs+28); |
sc | 121 | arch/alpha/kernel/signal.c | regs->gp = get_fs_quad(sc->sc_regs+29); |
sc | 123 | arch/alpha/kernel/signal.c | sw->fp[i] = get_fs_quad(sc->sc_fpregs+i); |
sc | 139 | arch/alpha/kernel/signal.c | struct sigcontext_struct * sc; |
sc | 141 | arch/alpha/kernel/signal.c | sc = *fp; |
sc | 143 | arch/alpha/kernel/signal.c | sc--; |
sc | 144 | arch/alpha/kernel/signal.c | if (verify_area(VERIFY_WRITE, sc, sizeof(*sc))) |
sc | 147 | arch/alpha/kernel/signal.c | put_fs_quad(oldmask, &sc->sc_mask); |
sc | 148 | arch/alpha/kernel/signal.c | put_fs_quad(8, &sc->sc_ps); |
sc | 149 | arch/alpha/kernel/signal.c | put_fs_quad(pc, &sc->sc_pc); |
sc | 150 | arch/alpha/kernel/signal.c | put_fs_quad((unsigned long)*fp, sc->sc_regs+30); |
sc | 152 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r0 , sc->sc_regs+0); |
sc | 153 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r1 , sc->sc_regs+1); |
sc | 154 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r2 , sc->sc_regs+2); |
sc | 155 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r3 , sc->sc_regs+3); |
sc | 156 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r4 , sc->sc_regs+4); |
sc | 157 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r5 , sc->sc_regs+5); |
sc | 158 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r6 , sc->sc_regs+6); |
sc | 159 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r7 , sc->sc_regs+7); |
sc | 160 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r8 , sc->sc_regs+8); |
sc | 161 | arch/alpha/kernel/signal.c | put_fs_quad(sw->r9 , sc->sc_regs+9); |
sc | 162 | arch/alpha/kernel/signal.c | put_fs_quad(sw->r10 , sc->sc_regs+10); |
sc | 163 | arch/alpha/kernel/signal.c | put_fs_quad(sw->r11 , sc->sc_regs+11); |
sc | 164 | arch/alpha/kernel/signal.c | put_fs_quad(sw->r12 , sc->sc_regs+12); |
sc | 165 | arch/alpha/kernel/signal.c | put_fs_quad(sw->r13 , sc->sc_regs+13); |
sc | 166 | arch/alpha/kernel/signal.c | put_fs_quad(sw->r14 , sc->sc_regs+14); |
sc | 167 | arch/alpha/kernel/signal.c | put_fs_quad(sw->r15 , sc->sc_regs+15); |
sc | 168 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r16, sc->sc_regs+16); |
sc | 169 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r17, sc->sc_regs+17); |
sc | 170 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r18, sc->sc_regs+18); |
sc | 171 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r19, sc->sc_regs+19); |
sc | 172 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r20, sc->sc_regs+20); |
sc | 173 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r21, sc->sc_regs+21); |
sc | 174 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r22, sc->sc_regs+22); |
sc | 175 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r23, sc->sc_regs+23); |
sc | 176 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r24, sc->sc_regs+24); |
sc | 177 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r25, sc->sc_regs+25); |
sc | 178 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r26, sc->sc_regs+26); |
sc | 179 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r27, sc->sc_regs+27); |
sc | 180 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r28, sc->sc_regs+28); |
sc | 181 | arch/alpha/kernel/signal.c | put_fs_quad(regs->gp , sc->sc_regs+29); |
sc | 183 | arch/alpha/kernel/signal.c | put_fs_quad(sw->fp[i], sc->sc_fpregs+i); |
sc | 194 | arch/alpha/kernel/signal.c | put_fs_quad(0x43ecf40047de0410, sc->sc_retcode+0); |
sc | 195 | arch/alpha/kernel/signal.c | put_fs_quad(0x0000000000000083, sc->sc_retcode+1); |
sc | 196 | arch/alpha/kernel/signal.c | regs->r26 = (unsigned long) sc->sc_retcode; |
sc | 198 | arch/alpha/kernel/signal.c | *fp = sc; |
sc | 144 | arch/mips/kernel/signal.c | #define scc_offset ((size_t)&((struct sc *)0)->scc) |
sc | 146 | arch/mips/kernel/signal.c | static void setup_frame(struct sigaction * sa, struct sc **fp, |
sc | 150 | arch/mips/kernel/signal.c | struct sc *frame; |
sc | 160 | arch/mips/kernel/signal.c | if (verify_area(VERIFY_WRITE, frame, sizeof (struct sc)) || |
sc | 244 | arch/mips/kernel/signal.c | struct sc *frame = NULL; |
sc | 336 | arch/mips/kernel/signal.c | frame = (struct sc *) regs->reg29; |
sc | 49 | arch/ppc/kernel/signal.c | struct sigcontext_struct *sc; |
sc | 52 | arch/ppc/kernel/signal.c | sc = (struct sigcontext_struct *)regs->gpr[1]; |
sc | 53 | arch/ppc/kernel/signal.c | current->blocked = sc->oldmask & _BLOCKABLE; |
sc | 54 | arch/ppc/kernel/signal.c | int_regs = sc->regs; |
sc | 55 | arch/ppc/kernel/signal.c | signo = sc->signal; |
sc | 56 | arch/ppc/kernel/signal.c | sc++; /* Pop signal 'context' */ |
sc | 57 | arch/ppc/kernel/signal.c | if (sc == (struct sigcontext_struct *)(int_regs)) |
sc | 72 | arch/ppc/kernel/signal.c | regs->gpr[1] = (unsigned long)sc; |
sc | 73 | arch/ppc/kernel/signal.c | regs->gpr[3] = sc->signal; |
sc | 74 | arch/ppc/kernel/signal.c | regs->gpr[4] = sc->regs; |
sc | 75 | arch/ppc/kernel/signal.c | regs->link = (unsigned long)((sc->regs)+1); |
sc | 76 | arch/ppc/kernel/signal.c | regs->nip = sc->handler; |
sc | 77 | arch/ppc/kernel/signal.c | return (sc->signal); |
sc | 101 | arch/ppc/kernel/signal.c | struct sigcontext_struct *sc; |
sc | 206 | arch/ppc/kernel/signal.c | sc = (struct sigcontext_struct *)frame; |
sc | 213 | arch/ppc/kernel/signal.c | sc->handler = nip; |
sc | 214 | arch/ppc/kernel/signal.c | sc->oldmask = current->blocked; |
sc | 215 | arch/ppc/kernel/signal.c | sc->regs = (unsigned long)regs_ptr; |
sc | 216 | arch/ppc/kernel/signal.c | sc->signal = signr; |
sc | 223 | arch/ppc/kernel/signal.c | regs->gpr[1] = (unsigned long)sc; |
sc | 179 | arch/sparc/kernel/signal.c | struct sigcontext_struct *sc; |
sc | 185 | arch/sparc/kernel/signal.c | sc = &sframep->sig_context; |
sc | 205 | arch/sparc/kernel/signal.c | sc->sigc_onstack = old_status; |
sc | 206 | arch/sparc/kernel/signal.c | sc->sigc_mask = oldmask; |
sc | 207 | arch/sparc/kernel/signal.c | sc->sigc_sp = regs->u_regs[UREG_FP]; |
sc | 208 | arch/sparc/kernel/signal.c | sc->sigc_pc = regs->pc; |
sc | 209 | arch/sparc/kernel/signal.c | sc->sigc_npc = regs->npc; |
sc | 210 | arch/sparc/kernel/signal.c | sc->sigc_psr = regs->psr; |
sc | 211 | arch/sparc/kernel/signal.c | sc->sigc_g1 = regs->u_regs[UREG_G1]; |
sc | 212 | arch/sparc/kernel/signal.c | sc->sigc_o0 = regs->u_regs[UREG_I0]; |
sc | 213 | arch/sparc/kernel/signal.c | sc->sigc_oswins = current->tss.w_saved; |
sc | 216 | arch/sparc/kernel/signal.c | sc->sigc_spbuf[window] = |
sc | 218 | arch/sparc/kernel/signal.c | memcpy(&sc->sigc_wbuf[window], |
sc | 245 | arch/sparc/kernel/signal.c | sframep->sig_scptr = sc; |
sc | 384 | drivers/char/vt.c | unsigned int sc; |
sc | 390 | drivers/char/vt.c | sc = get_user(&a->scancode); |
sc | 391 | drivers/char/vt.c | kc = getkeycode(sc); |
sc | 401 | drivers/char/vt.c | unsigned int sc, kc; |
sc | 408 | drivers/char/vt.c | sc = get_user(&a->scancode); |
sc | 410 | drivers/char/vt.c | return setkeycode(sc, kc); |
sc | 163 | drivers/net/eql.c | static int eql_g_slave_cfg(struct device *dev, slave_config_t *sc); /* */ |
sc | 164 | drivers/net/eql.c | static int eql_s_slave_cfg(struct device *dev, slave_config_t *sc); /* */ |
sc | 501 | drivers/net/eql.c | slave_config_t sc; |
sc | 508 | drivers/net/eql.c | memcpy_fromfs (&sc, scp, sizeof (slave_config_t)); |
sc | 511 | drivers/net/eql.c | printk ("%s: get config for slave `%s'\n", dev->name, sc.slave_name); |
sc | 514 | drivers/net/eql.c | slave_dev = dev_get (sc.slave_name); |
sc | 521 | drivers/net/eql.c | sc.priority = slave->priority; |
sc | 525 | drivers/net/eql.c | memcpy_tofs (scp, &sc, sizeof (slave_config_t)); |
sc | 538 | drivers/net/eql.c | slave_config_t sc; |
sc | 547 | drivers/net/eql.c | printk ("%s: set config for slave `%s'\n", dev->name, sc.slave_name); |
sc | 550 | drivers/net/eql.c | memcpy_fromfs (&sc, scp, sizeof (slave_config_t)); |
sc | 553 | drivers/net/eql.c | slave_dev = dev_get (sc.slave_name); |
sc | 560 | drivers/net/eql.c | slave->priority = sc.priority; |
sc | 561 | drivers/net/eql.c | slave->priority_bps = sc.priority; |
sc | 562 | drivers/net/eql.c | slave->priority_Bps = sc.priority / 8; |
sc | 313 | drivers/net/pi2.c | unsigned char sc; |
sc | 316 | drivers/net/pi2.c | sc = SC1; |
sc | 320 | drivers/net/pi2.c | sc = SC2; |
sc | 327 | drivers/net/pi2.c | outb_p(sc | LSB_MSB | MODE0, lp->cardbase + TMRCMD); |
sc | 349 | drivers/scsi/AM53C974.h | } sc; |
sc | 352 | drivers/scsi/AM53C974.h | #define _command stat_cmd.sc.command |
sc | 353 | drivers/scsi/AM53C974.h | #define _status stat_cmd.sc.status |
sc | 5339 | drivers/scsi/advansys.c | uchar sc; |
sc | 5342 | drivers/scsi/advansys.c | sc = inp(iop_base + IOP_REG_SC); |
sc | 5344 | drivers/scsi/advansys.c | return (sc); |
sc | 76 | drivers/scsi/aha1740.c | sc:1, /* Specification Check */ |
sc | 96 | drivers/scsi/aha1740.c | if ( (status[1]&0x18) || status_word.sc ) /*Additional info available*/ |
sc | 2649 | drivers/scsi/aic7xxx.c | read_2840_seeprom(int base, struct seeprom_config *sc) |
sc | 2654 | drivers/scsi/aic7xxx.c | unsigned short *seeprom = (unsigned short *) sc; |
sc | 2674 | drivers/scsi/aic7xxx.c | for (k = 0; k < (sizeof(*sc) / 2); k++) |
sc | 2732 | drivers/scsi/aic7xxx.c | if (k < (sizeof(*sc) / 2) - 1) |
sc | 2749 | drivers/scsi/aic7xxx.c | printk("Computed checksum 0x%x, checksum read 0x%x\n", checksum, sc->checksum); |
sc | 2751 | drivers/scsi/aic7xxx.c | for (k = 0; k < (sizeof(*sc) / 2); k++) |
sc | 2762 | drivers/scsi/aic7xxx.c | if (checksum != sc->checksum) |
sc | 2822 | drivers/scsi/aic7xxx.c | read_seeprom(int base, int offset, struct seeprom_config *sc) |
sc | 2828 | drivers/scsi/aic7xxx.c | unsigned short *seeprom = (unsigned short *) sc; |
sc | 2866 | drivers/scsi/aic7xxx.c | for (k = 0; k < (sizeof(*sc) / 2); k++) |
sc | 2925 | drivers/scsi/aic7xxx.c | if (k < (sizeof(*sc) / 2) - 1) |
sc | 2947 | drivers/scsi/aic7xxx.c | printk("Computed checksum 0x%x, checksum read 0x%x\n", checksum, sc->checksum); |
sc | 2949 | drivers/scsi/aic7xxx.c | for (k = 0; k < (sizeof(*sc) / 2); k++) |
sc | 2960 | drivers/scsi/aic7xxx.c | if (checksum != sc->checksum) |
sc | 3097 | drivers/scsi/aic7xxx.c | struct seeprom_config sc; |
sc | 3171 | drivers/scsi/aic7xxx.c | have_seeprom = read_2840_seeprom(base, &sc); |
sc | 3180 | drivers/scsi/aic7xxx.c | config->extended = ((sc.bios_control & CF284XEXTEND) >> 5); |
sc | 3181 | drivers/scsi/aic7xxx.c | config->scsi_id = (sc.brtime_id & CFSCSIID); |
sc | 3182 | drivers/scsi/aic7xxx.c | config->parity = (sc.adapter_control & CFSPARITY) ? |
sc | 3184 | drivers/scsi/aic7xxx.c | config->low_term = (sc.adapter_control & CF284XSTERM) ? |
sc | 3192 | drivers/scsi/aic7xxx.c | config->high_term = (sc.adapter_control & CFWSTERM) ? |
sc | 3194 | drivers/scsi/aic7xxx.c | config->busrtime = ((sc.brtime_id & CFBRTIME) >> 8); |
sc | 3226 | drivers/scsi/aic7xxx.c | have_seeprom = read_seeprom(base, config->chan_num * (sizeof(sc) / 2), &sc); |
sc | 3234 | drivers/scsi/aic7xxx.c | config->extended = ((sc.bios_control & CFEXTEND) >> 7); |
sc | 3235 | drivers/scsi/aic7xxx.c | config->scsi_id = (sc.brtime_id & CFSCSIID); |
sc | 3236 | drivers/scsi/aic7xxx.c | config->parity = (sc.adapter_control & CFSPARITY) ? |
sc | 3238 | drivers/scsi/aic7xxx.c | config->low_term = (sc.adapter_control & CFSTERM) ? |
sc | 3240 | drivers/scsi/aic7xxx.c | config->high_term = (sc.adapter_control & CFWSTERM) ? |
sc | 3242 | drivers/scsi/aic7xxx.c | config->busrtime = ((sc.brtime_id & CFBRTIME) >> 8); |
sc | 3245 | drivers/scsi/aic7xxx.c | (sc.adapter_control & CFULTRAEN)) |
sc | 3444 | drivers/scsi/aic7xxx.c | p->seeprom = sc; |
sc | 3593 | drivers/scsi/aic7xxx.c | target_settings = ((sc.device_flags[i] & CFXFER) << 4); |
sc | 3594 | drivers/scsi/aic7xxx.c | if (sc.device_flags[i] & CFSYNCH) |
sc | 3598 | drivers/scsi/aic7xxx.c | if (sc.device_flags[i] & CFWIDEB) |
sc | 3602 | drivers/scsi/aic7xxx.c | if (sc.device_flags[i] & CFDISC) |
sc | 191 | drivers/scsi/eata_generic.h | __u8 sc:1; /* seek complete */ |
sc | 118 | lib/string.c | const char *sc; |
sc | 120 | lib/string.c | for (sc = s; *sc != '\0'; ++sc) |
sc | 122 | lib/string.c | return sc - s; |
sc | 129 | lib/string.c | const char *sc; |
sc | 131 | lib/string.c | for (sc = s; count-- && *sc != '\0'; ++sc) |
sc | 133 | lib/string.c | return sc - s; |