tag | line | file | source code |
s | 120 | drivers/FPU-emu/fpu_proto.h | extern void reg_load_bcd(char *s, FPU_REG *loaded_data); |
s | 22 | drivers/FPU-emu/fpu_system.h | #define LDT_DESCRIPTOR(s) (current->ldt[(s) >> 3]) |
s | 27 | drivers/FPU-emu/fpu_system.h | #define SEG_BASE_ADDR(s) (((s).b & 0xff000000) \ |
s | 28 | drivers/FPU-emu/fpu_system.h | | (((s).b & 0xff) << 16) | ((s).a >> 16)) |
s | 29 | drivers/FPU-emu/fpu_system.h | #define SEG_LIMIT(s) (((s).b & 0xff0000) | ((s).a & 0xffff)) |
s | 30 | drivers/FPU-emu/fpu_system.h | #define SEG_EXECUTE_ONLY(s) (((s).b & ((1 << 11) | (1 << 9))) == (1 << 11)) |
s | 31 | drivers/FPU-emu/fpu_system.h | #define SEG_WRITE_PERM(s) (((s).b & ((1 << 11) | (1 << 9))) == (1 << 9)) |
s | 32 | drivers/FPU-emu/fpu_system.h | #define SEG_EXPAND_DOWN(s) (((s).b & ((1 << 11) | (1 << 10))) \ |
s | 45 | drivers/FPU-emu/reg_ld_str.c | int reg_load_extended(long double *s, FPU_REG *loaded_data) |
s | 50 | drivers/FPU-emu/reg_ld_str.c | FPU_verify_area(VERIFY_READ, s, 10); |
s | 51 | drivers/FPU-emu/reg_ld_str.c | sigl = get_fs_long((unsigned long *) s); |
s | 52 | drivers/FPU-emu/reg_ld_str.c | sigh = get_fs_long(1 + (unsigned long *) s); |
s | 53 | drivers/FPU-emu/reg_ld_str.c | exp = get_fs_word(4 + (unsigned short *) s); |
s | 288 | drivers/FPU-emu/reg_ld_str.c | long long s; |
s | 292 | drivers/FPU-emu/reg_ld_str.c | ((unsigned long *)&s)[0] = get_fs_long((unsigned long *) _s); |
s | 293 | drivers/FPU-emu/reg_ld_str.c | ((unsigned long *)&s)[1] = get_fs_long(1 + (unsigned long *) _s); |
s | 296 | drivers/FPU-emu/reg_ld_str.c | if (s == 0) |
s | 299 | drivers/FPU-emu/reg_ld_str.c | if (s > 0) |
s | 303 | drivers/FPU-emu/reg_ld_str.c | s = -s; |
s | 308 | drivers/FPU-emu/reg_ld_str.c | significand(loaded_data) = s; |
s | 318 | drivers/FPU-emu/reg_ld_str.c | long s; |
s | 323 | drivers/FPU-emu/reg_ld_str.c | s = (long)get_fs_long((unsigned long *) _s); |
s | 326 | drivers/FPU-emu/reg_ld_str.c | if (s == 0) |
s | 329 | drivers/FPU-emu/reg_ld_str.c | if (s > 0) |
s | 333 | drivers/FPU-emu/reg_ld_str.c | s = -s; |
s | 338 | drivers/FPU-emu/reg_ld_str.c | loaded_data->sigh = s; |
s | 349 | drivers/FPU-emu/reg_ld_str.c | int s, e; |
s | 354 | drivers/FPU-emu/reg_ld_str.c | s = (short)get_fs_word((unsigned short *) _s); |
s | 357 | drivers/FPU-emu/reg_ld_str.c | if (s == 0) |
s | 360 | drivers/FPU-emu/reg_ld_str.c | if (s > 0) |
s | 364 | drivers/FPU-emu/reg_ld_str.c | s = -s; |
s | 369 | drivers/FPU-emu/reg_ld_str.c | loaded_data->sigh = s << 16; |
s | 379 | drivers/FPU-emu/reg_ld_str.c | void reg_load_bcd(char *s, FPU_REG *loaded_data) |
s | 386 | drivers/FPU-emu/reg_ld_str.c | FPU_verify_area(VERIFY_READ, s, 10); |
s | 392 | drivers/FPU-emu/reg_ld_str.c | bcd = (unsigned char)get_fs_byte((unsigned char *) s+pos); |
s | 401 | drivers/FPU-emu/reg_ld_str.c | ((unsigned char)get_fs_byte((unsigned char *) s+9)) & 0x80 ? |
s | 1149 | drivers/FPU-emu/reg_ld_str.c | char *fldenv(fpu_addr_modes addr_modes, char *s) |
s | 1160 | drivers/FPU-emu/reg_ld_str.c | FPU_verify_area(VERIFY_READ, s, 0x0e); |
s | 1161 | drivers/FPU-emu/reg_ld_str.c | control_word = get_fs_word((unsigned short *) s); |
s | 1162 | drivers/FPU-emu/reg_ld_str.c | partial_status = get_fs_word((unsigned short *) (s+2)); |
s | 1163 | drivers/FPU-emu/reg_ld_str.c | tag_word = get_fs_word((unsigned short *) (s+4)); |
s | 1164 | drivers/FPU-emu/reg_ld_str.c | instruction_address.offset = get_fs_word((unsigned short *) (s+6)); |
s | 1165 | drivers/FPU-emu/reg_ld_str.c | instruction_address.selector = get_fs_word((unsigned short *) (s+8)); |
s | 1166 | drivers/FPU-emu/reg_ld_str.c | operand_address.offset = get_fs_word((unsigned short *) (s+0x0a)); |
s | 1167 | drivers/FPU-emu/reg_ld_str.c | operand_address.selector = get_fs_word((unsigned short *) (s+0x0c)); |
s | 1169 | drivers/FPU-emu/reg_ld_str.c | s += 0x0e; |
s | 1180 | drivers/FPU-emu/reg_ld_str.c | FPU_verify_area(VERIFY_READ, s, 0x1c); |
s | 1181 | drivers/FPU-emu/reg_ld_str.c | control_word = get_fs_word((unsigned short *) s); |
s | 1182 | drivers/FPU-emu/reg_ld_str.c | partial_status = get_fs_word((unsigned short *) (s+4)); |
s | 1183 | drivers/FPU-emu/reg_ld_str.c | tag_word = get_fs_word((unsigned short *) (s+8)); |
s | 1184 | drivers/FPU-emu/reg_ld_str.c | instruction_address.offset = get_fs_long((unsigned long *) (s+0x0c)); |
s | 1185 | drivers/FPU-emu/reg_ld_str.c | instruction_address.selector = get_fs_word((unsigned short *) (s+0x10)); |
s | 1186 | drivers/FPU-emu/reg_ld_str.c | instruction_address.opcode = get_fs_word((unsigned short *) (s+0x12)); |
s | 1187 | drivers/FPU-emu/reg_ld_str.c | operand_address.offset = get_fs_long((unsigned long *) (s+0x14)); |
s | 1188 | drivers/FPU-emu/reg_ld_str.c | operand_address.selector = get_fs_long((unsigned long *) (s+0x18)); |
s | 1190 | drivers/FPU-emu/reg_ld_str.c | s += 0x1c; |
s | 1237 | drivers/FPU-emu/reg_ld_str.c | return s; |
s | 1245 | drivers/FPU-emu/reg_ld_str.c | char *s = fldenv(addr_modes, data_address); |
s | 1252 | drivers/FPU-emu/reg_ld_str.c | reg_load_extended((long double *)(s+i*10), ®s[stnr]); |
s | 64 | drivers/block/hd.c | #define OK_STATUS(s) (((s)&(STAT_OK|(BUSY_STAT|WRERR_STAT|ERR_STAT)))==STAT_OK) |
s | 263 | drivers/block/hd.c | static void fixstring (unsigned char *s, int bytecount) |
s | 265 | drivers/block/hd.c | unsigned char *p, *end = &s[bytecount &= ~1]; /* bytecount must be even */ |
s | 268 | drivers/block/hd.c | for (p = end ; p != s;) { |
s | 274 | drivers/block/hd.c | while (s != end && *s == ' ') |
s | 275 | drivers/block/hd.c | ++s; |
s | 278 | drivers/block/hd.c | while (s != end && *s) { |
s | 279 | drivers/block/hd.c | if (*s++ != ' ' || (s != end && *s && *s != ' ')) |
s | 280 | drivers/block/hd.c | *p++ = *(s-1); |
s | 1330 | drivers/block/mcd.c | int s; |
s | 1342 | drivers/block/mcd.c | s = inb(MCDPORT(0)) & 0xFF; |
s | 1343 | drivers/block/mcd.c | *result = (unsigned char) s; |
s | 3514 | drivers/block/sbpcd.c | void sbpcd_setup(char *s, int *p) |
s | 3516 | drivers/block/sbpcd.c | DPRINTF((DBG_INI,"SBPCD: sbpcd_setup called with %04X,%s\n",p[1], s)); |
s | 3518 | drivers/block/sbpcd.c | if (!strcmp(s,str_sb)) sbpro_type=1; |
s | 3519 | drivers/block/sbpcd.c | else if (!strcmp(s,str_sp)) sbpro_type=2; |
s | 291 | drivers/char/console.c | static void * memsetw(void * s, unsigned short c, unsigned int count) |
s | 297 | drivers/char/console.c | :"a" (c),"D" (s),"c" (count/2) |
s | 299 | drivers/char/console.c | return s; |
s | 2208 | drivers/char/console.c | static void highlight(const int currcons, const int s, const int e) |
s | 2212 | drivers/char/console.c | p1 = (unsigned char *)origin - hwscroll_offset + s + 1; |
s | 425 | drivers/char/tpqic02.c | static void tpqputs(unsigned long flags, char *s) |
s | 428 | drivers/char/tpqic02.c | printk(TPQIC02_NAME ": %s\n", s); |
s | 484 | drivers/char/tpqic02.c | static int decode_exception_nr(unsigned s) |
s | 489 | drivers/char/tpqic02.c | if ((s & exception_list[i].mask)==exception_list[i].code) |
s | 492 | drivers/char/tpqic02.c | printk(TPQIC02_NAME ": decode_exception_nr: exception(%x) not recognized\n", s); |
s | 505 | drivers/char/tpqic02.c | static void report_error(int s) |
s | 509 | drivers/char/tpqic02.c | if (s & TP_ST1) { |
s | 510 | drivers/char/tpqic02.c | if (s & TP_ILL) /* 12: Illegal command. FATAL */ |
s | 512 | drivers/char/tpqic02.c | if (s & TP_POR) /* 13: Reset occurred. FATAL */ |
s | 515 | drivers/char/tpqic02.c | else if (s & TP_ST0) { |
s | 516 | drivers/char/tpqic02.c | if (s & TP_EOR) { /* extra: 15: End of Recorded Media. CONTINUABLE */ |
s | 520 | drivers/char/tpqic02.c | else if (s & TP_EOM) /* 4: End Of Media. CONTINUABLE */ |
s | 522 | drivers/char/tpqic02.c | else if (s & TP_USL) /* 2: Drive not online. FATAL */ |
s | 524 | drivers/char/tpqic02.c | else if (s & TP_CNI) { /* 1: Cartridge not in place. FATAL */ |
s | 530 | drivers/char/tpqic02.c | else if (s & TP_UDA) { |
s | 531 | drivers/char/tpqic02.c | if (s & TP_BNL) { |
s | 532 | drivers/char/tpqic02.c | if (s & TP_NDT) { |
s | 533 | drivers/char/tpqic02.c | if (s & TP_BOM) /* 9: Read error. No data detected & EOM. CONTINUABLE */ |
s | 535 | drivers/char/tpqic02.c | else if (s & TP_EOM) /* 10: Read error. No data detected & BOM. CONTINUABLE */ |
s | 545 | drivers/char/tpqic02.c | if (s & TP_EOM) /* 5: Read or Write error. Rewind tape. FATAL */ |
s | 557 | drivers/char/tpqic02.c | else if (s & TP_FIL) { |
s | 558 | drivers/char/tpqic02.c | if (s & TP_MBD) { /* 14: Marginal block detected. CONTINUABLE */ |
s | 564 | drivers/char/tpqic02.c | else if (s & TP_WRP) /* 3: Write protected cartridge. FATAL */ |
s | 845 | drivers/char/tpqic02.c | int s, n; |
s | 879 | drivers/char/tpqic02.c | do s = inb_p(QIC02_STAT_PORT); |
s | 880 | drivers/char/tpqic02.c | while ((s & QIC02_STAT_MASK) == QIC02_STAT_MASK); /* wait for ready or exception */ |
s | 882 | drivers/char/tpqic02.c | if ((s & QIC02_STAT_EXCEPTION) == 0) { /* if exception */ |
s | 2248 | drivers/char/tpqic02.c | int s; |
s | 2305 | drivers/char/tpqic02.c | s = tp_sense(TP_WRP|TP_EOM|TP_BOM|TP_CNI|TP_EOR); |
s | 2307 | drivers/char/tpqic02.c | if (s == TE_OK) |
s | 2310 | drivers/char/tpqic02.c | s = tp_sense(TP_WRP|TP_EOM|TP_BOM|TP_CNI|TP_EOR); |
s | 2312 | drivers/char/tpqic02.c | if (s != TE_OK) { |
s | 2348 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_REWIND, TIM_R); |
s | 2349 | drivers/char/tpqic02.c | if (s != 0) { |
s | 2395 | drivers/char/tpqic02.c | s = 0; |
s | 2398 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_DENS_11, TIM_S); |
s | 2401 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_DENS_24, TIM_S); |
s | 2404 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_DENS_120, TIM_S); |
s | 2407 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_DENS_150, TIM_S); |
s | 2410 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_DENS_300, TIM_S); |
s | 2413 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_DENS_600, TIM_S); |
s | 2416 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_RETEN, TIM_R); |
s | 2418 | drivers/char/tpqic02.c | if (s != 0) { |
s | 324 | drivers/char/vt.c | u_char s; |
s | 331 | drivers/char/vt.c | if ((s = get_fs_byte((char *) &a->kb_table)) >= MAX_NR_KEYMAPS) |
s | 333 | drivers/char/vt.c | key_map = key_maps[s]; |
s | 348 | drivers/char/vt.c | u_char s; |
s | 356 | drivers/char/vt.c | if ((s = get_fs_byte((char *) &a->kb_table)) >= MAX_NR_KEYMAPS) |
s | 361 | drivers/char/vt.c | key_map = key_maps[s]; |
s | 363 | drivers/char/vt.c | key_maps[s] = 0; |
s | 383 | drivers/char/vt.c | if (!(key_map = key_maps[s])) { |
s | 391 | drivers/char/vt.c | key_maps[s] = key_map; |
s | 393 | drivers/char/vt.c | for (s = 1; s < NR_KEYS; s++) |
s | 394 | drivers/char/vt.c | key_map[s] = U(K_HOLE); |
s | 476 | drivers/net/ni52.c | unsigned long s; |
s | 500 | drivers/net/ni52.c | s = jiffies; /* warning: only active with interrupts on !! */ |
s | 502 | drivers/net/ni52.c | if(jiffies-s > 30) break; |
s | 526 | drivers/net/ni52.c | s = jiffies; |
s | 528 | drivers/net/ni52.c | if(jiffies-s > 30) break; |
s | 550 | drivers/net/ni52.c | s = jiffies; |
s | 552 | drivers/net/ni52.c | if(jiffies - s > 30) { |
s | 343 | drivers/net/ni65.c | tmdp->u.s.status = XMIT_START | XMIT_END; |
s | 351 | drivers/net/ni65.c | rmdp->u.s.status = RCV_OWN; |
s | 460 | drivers/net/ni65.c | tmdstat = tmdp->u.s.status; |
s | 506 | drivers/net/ni65.c | while(!( (rmdstat = rmdp->u.s.status) & RCV_OWN)) |
s | 516 | drivers/net/ni65.c | rmdp->u.s.status = RCV_OWN; /* change owner */ |
s | 525 | drivers/net/ni65.c | rmdp->u.s.status = RCV_OWN; |
s | 543 | drivers/net/ni65.c | rmdp->u.s.status = RCV_OWN; |
s | 552 | drivers/net/ni65.c | rmdp->u.s.status = RCV_OWN; |
s | 616 | drivers/net/ni65.c | tmdp->u.s.status = XMIT_OWN | XMIT_START | XMIT_END; |
s | 623 | drivers/net/ni65.c | if( !((p->tmdhead + p->tmdnum)->u.s.status & XMIT_OWN) ) |
s | 109 | drivers/net/ni65.h | } s; |
s | 124 | drivers/net/ni65.h | } s; |
s | 286 | drivers/net/plip.c | unsigned char *s; |
s | 379 | drivers/net/plip.c | s = PLIP_STATE_STRING(snd->state); |
s | 382 | drivers/net/plip.c | dev->name, s, (unsigned int)c0); |
s | 387 | drivers/net/plip.c | s = PLIP_STATE_STRING(rcv->state); |
s | 390 | drivers/net/plip.c | dev->name, s, (unsigned int)c0); |
s | 1052 | drivers/net/sk_g16.c | tmdp->u.s.status = TX_STP | TX_ENP; |
s | 1072 | drivers/net/sk_g16.c | rmdp->u.s.status = RX_OWN; |
s | 1270 | drivers/net/sk_g16.c | tmdp->u.s.status = TX_OWN | TX_STP | TX_ENP; |
s | 1282 | drivers/net/sk_g16.c | if (! ((p->tmdhead + p->tmdnum)->u.s.status & TX_OWN) ) |
s | 1405 | drivers/net/sk_g16.c | tmdstat = tmdp->u.s.status & 0xff00; /* filter out status bits 15:08 */ |
s | 1524 | drivers/net/sk_g16.c | while (!( (rmdstat = rmdp->u.s.status) & RX_OWN)) |
s | 1554 | drivers/net/sk_g16.c | rmdp->u.s.status = RX_OWN; /* Relinquish ownership to LANCE */ |
s | 1566 | drivers/net/sk_g16.c | rmdp->u.s.status = RX_OWN; /* Relinquish ownership to LANCE */ |
s | 1585 | drivers/net/sk_g16.c | rmdp->u.s.status = RX_OWN; /* Relinquish ownership to LANCE */ |
s | 1623 | drivers/net/sk_g16.c | rmdp->u.s.status = RX_OWN; |
s | 141 | drivers/net/sk_g16.h | } s; |
s | 159 | drivers/net/sk_g16.h | } s; |
s | 786 | drivers/net/slip.c | slip_esc(unsigned char *s, unsigned char *d, int len) |
s | 804 | drivers/net/slip.c | switch(*s) { |
s | 814 | drivers/net/slip.c | d[count++] = *s; |
s | 816 | drivers/net/slip.c | ++s; |
s | 823 | drivers/net/slip.c | slip_unesc(struct slip *sl, unsigned char s) |
s | 825 | drivers/net/slip.c | switch(s) { |
s | 833 | drivers/net/slip.c | sl_enqueue(sl, s); |
s | 840 | drivers/net/slip.c | sl_enqueue(sl, s); |
s | 851 | drivers/net/slip.c | sl_enqueue(sl, s); |
s | 864 | drivers/net/slip.c | slip_esc6(unsigned char *s, unsigned char *d, int len) |
s | 884 | drivers/net/slip.c | v = (v << 8) | s[i]; |
s | 905 | drivers/net/slip.c | slip_unesc6(struct slip *sl, unsigned char s) |
s | 909 | drivers/net/slip.c | if (s == 0x70) { |
s | 925 | drivers/net/slip.c | } else if (s >= 0x30 && s < 0x70) { |
s | 926 | drivers/net/slip.c | sl->xdata = (sl->xdata << 6) | ((s - 0x30) & 0x3F); |
s | 87 | drivers/net/slip.h | extern int slip_esc(unsigned char *s, unsigned char *d, int len); |
s | 88 | drivers/net/slip.h | extern int slip_esc6(unsigned char *s, unsigned char *d, int len); |
s | 89 | drivers/net/slip.h | extern void slip_unesc(struct slip *sl, unsigned char s); |
s | 90 | drivers/net/slip.h | extern void slip_unesc6(struct slip *sl, unsigned char s); |
s | 2038 | drivers/scsi/53c7,8xx.c | TOKEN(ms,3), TOKEN(rp,2), TOKEN(rs,2), TOKEN(s,0), TOKEN(tb,0), TOKEN(te,0) |
s | 2224 | drivers/scsi/aha152x.c | int s; |
s | 2231 | drivers/scsi/aha152x.c | s=GETPORT(SCSISEQ); |
s | 2233 | drivers/scsi/aha152x.c | if( s & TEMODEO ) printk("TARGET MODE "); |
s | 2234 | drivers/scsi/aha152x.c | if( s & ENSELO ) printk("SELO "); |
s | 2235 | drivers/scsi/aha152x.c | if( s & ENSELI ) printk("SELI "); |
s | 2236 | drivers/scsi/aha152x.c | if( s & ENRESELI ) printk("RESELI "); |
s | 2237 | drivers/scsi/aha152x.c | if( s & ENAUTOATNO ) printk("AUTOATNO "); |
s | 2238 | drivers/scsi/aha152x.c | if( s & ENAUTOATNI ) printk("AUTOATNI "); |
s | 2239 | drivers/scsi/aha152x.c | if( s & ENAUTOATNP ) printk("AUTOATNP "); |
s | 2240 | drivers/scsi/aha152x.c | if( s & SCSIRSTO ) printk("SCSIRSTO "); |
s | 2244 | drivers/scsi/aha152x.c | s=GETPORT(SCSISIG); |
s | 2245 | drivers/scsi/aha152x.c | switch(s & P_MASK) |
s | 2275 | drivers/scsi/aha152x.c | s=GETPORT(SSTAT0); |
s | 2276 | drivers/scsi/aha152x.c | if( s & TARGET ) printk("TARGET "); |
s | 2277 | drivers/scsi/aha152x.c | if( s & SELDO ) printk("SELDO "); |
s | 2278 | drivers/scsi/aha152x.c | if( s & SELDI ) printk("SELDI "); |
s | 2279 | drivers/scsi/aha152x.c | if( s & SELINGO ) printk("SELINGO "); |
s | 2280 | drivers/scsi/aha152x.c | if( s & SWRAP ) printk("SWRAP "); |
s | 2281 | drivers/scsi/aha152x.c | if( s & SDONE ) printk("SDONE "); |
s | 2282 | drivers/scsi/aha152x.c | if( s & SPIORDY ) printk("SPIORDY "); |
s | 2283 | drivers/scsi/aha152x.c | if( s & DMADONE ) printk("DMADONE "); |
s | 2285 | drivers/scsi/aha152x.c | s=GETPORT(SSTAT1); |
s | 2286 | drivers/scsi/aha152x.c | if( s & SELTO ) printk("SELTO "); |
s | 2287 | drivers/scsi/aha152x.c | if( s & ATNTARG ) printk("ATNTARG "); |
s | 2288 | drivers/scsi/aha152x.c | if( s & SCSIRSTI ) printk("SCSIRSTI "); |
s | 2289 | drivers/scsi/aha152x.c | if( s & PHASEMIS ) printk("PHASEMIS "); |
s | 2290 | drivers/scsi/aha152x.c | if( s & BUSFREE ) printk("BUSFREE "); |
s | 2291 | drivers/scsi/aha152x.c | if( s & SCSIPERR ) printk("SCSIPERR "); |
s | 2292 | drivers/scsi/aha152x.c | if( s & PHASECHG ) printk("PHASECHG "); |
s | 2293 | drivers/scsi/aha152x.c | if( s & REQINIT ) printk("REQINIT "); |
s | 2299 | drivers/scsi/aha152x.c | s=GETPORT(SSTAT0) & GETPORT(SIMODE0); |
s | 2301 | drivers/scsi/aha152x.c | if( s & TARGET ) printk("TARGET "); |
s | 2302 | drivers/scsi/aha152x.c | if( s & SELDO ) printk("SELDO "); |
s | 2303 | drivers/scsi/aha152x.c | if( s & SELDI ) printk("SELDI "); |
s | 2304 | drivers/scsi/aha152x.c | if( s & SELINGO ) printk("SELINGO "); |
s | 2305 | drivers/scsi/aha152x.c | if( s & SWRAP ) printk("SWRAP "); |
s | 2306 | drivers/scsi/aha152x.c | if( s & SDONE ) printk("SDONE "); |
s | 2307 | drivers/scsi/aha152x.c | if( s & SPIORDY ) printk("SPIORDY "); |
s | 2308 | drivers/scsi/aha152x.c | if( s & DMADONE ) printk("DMADONE "); |
s | 2310 | drivers/scsi/aha152x.c | s=GETPORT(SSTAT1) & GETPORT(SIMODE1); |
s | 2312 | drivers/scsi/aha152x.c | if( s & SELTO ) printk("SELTO "); |
s | 2313 | drivers/scsi/aha152x.c | if( s & ATNTARG ) printk("ATNTARG "); |
s | 2314 | drivers/scsi/aha152x.c | if( s & SCSIRSTI ) printk("SCSIRSTI "); |
s | 2315 | drivers/scsi/aha152x.c | if( s & PHASEMIS ) printk("PHASEMIS "); |
s | 2316 | drivers/scsi/aha152x.c | if( s & BUSFREE ) printk("BUSFREE "); |
s | 2317 | drivers/scsi/aha152x.c | if( s & SCSIPERR ) printk("SCSIPERR "); |
s | 2318 | drivers/scsi/aha152x.c | if( s & PHASECHG ) printk("PHASECHG "); |
s | 2319 | drivers/scsi/aha152x.c | if( s & REQINIT ) printk("REQINIT "); |
s | 2324 | drivers/scsi/aha152x.c | s=GETPORT(SXFRCTL0); |
s | 2325 | drivers/scsi/aha152x.c | if( s & SCSIEN ) printk("SCSIEN "); |
s | 2326 | drivers/scsi/aha152x.c | if( s & DMAEN ) printk("DMAEN "); |
s | 2327 | drivers/scsi/aha152x.c | if( s & CH1 ) printk("CH1 "); |
s | 2328 | drivers/scsi/aha152x.c | if( s & CLRSTCNT ) printk("CLRSTCNT "); |
s | 2329 | drivers/scsi/aha152x.c | if( s & SPIOEN ) printk("SPIOEN "); |
s | 2330 | drivers/scsi/aha152x.c | if( s & CLRCH1 ) printk("CLRCH1 "); |
s | 2335 | drivers/scsi/aha152x.c | s=GETPORT(SCSISIG); |
s | 2336 | drivers/scsi/aha152x.c | if( s & ATNI ) printk("ATNI "); |
s | 2337 | drivers/scsi/aha152x.c | if( s & SELI ) printk("SELI "); |
s | 2338 | drivers/scsi/aha152x.c | if( s & BSYI ) printk("BSYI "); |
s | 2339 | drivers/scsi/aha152x.c | if( s & REQI ) printk("REQI "); |
s | 2340 | drivers/scsi/aha152x.c | if( s & ACKI ) printk("ACKI "); |
s | 2347 | drivers/scsi/aha152x.c | s=GETPORT(SSTAT2); |
s | 2348 | drivers/scsi/aha152x.c | if( s & SOFFSET) printk("SOFFSET "); |
s | 2349 | drivers/scsi/aha152x.c | if( s & SEMPTY) printk("SEMPTY "); |
s | 2350 | drivers/scsi/aha152x.c | if( s & SFULL) printk("SFULL "); |
s | 2351 | drivers/scsi/aha152x.c | printk("); SFCNT ( %d ); ", s & (SFULL|SFCNT) ); |
s | 2355 | drivers/scsi/aha152x.c | s=GETPORT(SSTAT4); |
s | 2356 | drivers/scsi/aha152x.c | if( s & SYNCERR) printk("SYNCERR "); |
s | 2357 | drivers/scsi/aha152x.c | if( s & FWERR) printk("FWERR "); |
s | 2358 | drivers/scsi/aha152x.c | if( s & FRERR) printk("FRERR "); |
s | 2365 | drivers/scsi/aha152x.c | s=GETPORT(DMACNTRL0); |
s | 2366 | drivers/scsi/aha152x.c | printk( "%s ", s & _8BIT ? "8BIT" : "16BIT" ); |
s | 2367 | drivers/scsi/aha152x.c | printk( "%s ", s & DMA ? "DMA" : "PIO" ); |
s | 2368 | drivers/scsi/aha152x.c | printk( "%s ", s & WRITE_READ ? "WRITE" : "READ" ); |
s | 2369 | drivers/scsi/aha152x.c | if( s & ENDMA ) printk("ENDMA "); |
s | 2370 | drivers/scsi/aha152x.c | if( s & INTEN ) printk("INTEN "); |
s | 2371 | drivers/scsi/aha152x.c | if( s & RSTFIFO ) printk("RSTFIFO "); |
s | 2372 | drivers/scsi/aha152x.c | if( s & SWINT ) printk("SWINT "); |
s | 2379 | drivers/scsi/aha152x.c | s=GETPORT(DMACNTRL1); |
s | 2380 | drivers/scsi/aha152x.c | if( s & PWRDWN ) printk("PWRDN "); |
s | 2384 | drivers/scsi/aha152x.c | printk("STK ( %d ); ", s & 0xf); |
s | 2387 | drivers/scsi/aha152x.c | s=GETPORT(DMASTAT); |
s | 2388 | drivers/scsi/aha152x.c | if( s & ATDONE ) printk("ATDONE "); |
s | 2389 | drivers/scsi/aha152x.c | if( s & WORDRDY ) printk("WORDRDY "); |
s | 2390 | drivers/scsi/aha152x.c | if( s & DFIFOFULL ) printk("DFIFOFULL "); |
s | 2391 | drivers/scsi/aha152x.c | if( s & DFIFOEMP ) printk("DFIFOEMP "); |
s | 2405 | drivers/scsi/aha152x.c | int s; |
s | 2409 | drivers/scsi/aha152x.c | s=GETPORT(SIMODE0); |
s | 2410 | drivers/scsi/aha152x.c | if( s & ENSELDO ) printk("ENSELDO "); |
s | 2411 | drivers/scsi/aha152x.c | if( s & ENSELDI ) printk("ENSELDI "); |
s | 2412 | drivers/scsi/aha152x.c | if( s & ENSELINGO ) printk("ENSELINGO "); |
s | 2413 | drivers/scsi/aha152x.c | if( s & ENSWRAP ) printk("ENSWRAP "); |
s | 2414 | drivers/scsi/aha152x.c | if( s & ENSDONE ) printk("ENSDONE "); |
s | 2415 | drivers/scsi/aha152x.c | if( s & ENSPIORDY ) printk("ENSPIORDY "); |
s | 2416 | drivers/scsi/aha152x.c | if( s & ENDMADONE ) printk("ENDMADONE "); |
s | 2418 | drivers/scsi/aha152x.c | s=GETPORT(SIMODE1); |
s | 2419 | drivers/scsi/aha152x.c | if( s & ENSELTIMO ) printk("ENSELTIMO "); |
s | 2420 | drivers/scsi/aha152x.c | if( s & ENATNTARG ) printk("ENATNTARG "); |
s | 2421 | drivers/scsi/aha152x.c | if( s & ENPHASEMIS ) printk("ENPHASEMIS "); |
s | 2422 | drivers/scsi/aha152x.c | if( s & ENBUSFREE ) printk("ENBUSFREE "); |
s | 2423 | drivers/scsi/aha152x.c | if( s & ENSCSIPERR ) printk("ENSCSIPERR "); |
s | 2424 | drivers/scsi/aha152x.c | if( s & ENPHASECHG ) printk("ENPHASECHG "); |
s | 2425 | drivers/scsi/aha152x.c | if( s & ENREQINIT ) printk("ENREQINIT "); |
s | 316 | drivers/scsi/aha274x.c | void aha274x_setup(char *s, int *dummy) |
s | 329 | drivers/scsi/aha274x.c | for (p = strtok(s, ","); p; p = strtok(NULL, ",")) { |
s | 63 | drivers/scsi/aic7770.c | void error(char *s) |
s | 65 | drivers/scsi/aic7770.c | fprintf(stderr, "%s: %s at line %d\n", filename, s, lineno); |
s | 85 | drivers/scsi/aic7770.c | char *Strdup(char *s) |
s | 87 | drivers/scsi/aic7770.c | char *p = (char *)Malloc(strlen(s) + 1); |
s | 88 | drivers/scsi/aic7770.c | strcpy(p, s); |
s | 213 | drivers/scsi/buslogic.c | int s = inb(STATUS(base)), i = inb(INTERRUPT(base)); |
s | 215 | drivers/scsi/buslogic.c | buslogic_printk("status=%02X intrflags=%02X\n", s, i); |
s | 102 | drivers/scsi/constants.c | int i,s; |
s | 104 | drivers/scsi/constants.c | for ( i = 1, s = COMMAND_SIZE(command[0]); i < s; ++i) |
s | 366 | drivers/scsi/constants.c | int i, s; |
s | 377 | drivers/scsi/constants.c | s = sense_buffer[7] + 8; |
s | 378 | drivers/scsi/constants.c | if(s > sizeof(SCpnt->sense_buffer)) s = sizeof(SCpnt->sense_buffer); |
s | 437 | drivers/scsi/constants.c | s = 4; |
s | 443 | drivers/scsi/constants.c | for (i = 0; i < s; ++i) |
s | 511 | drivers/scsi/pas16.c | register unsigned char *s = src; |
s | 517 | drivers/scsi/pas16.c | outsb( reg, s, i ); |
s | 361 | drivers/scsi/t128.c | T_DATA_REG_OFFSET), *s = src; |
s | 371 | drivers/scsi/t128.c | *reg = *s++; |
s | 1001 | drivers/scsi/ultrastor.c | unsigned int s = config.heads * config.sectors; |
s | 1005 | drivers/scsi/ultrastor.c | dkinfo[2] = size / s; /* Ignore partial cylinders */ |
s | 55 | drivers/sound/os.h | #define COPY_FROM_USER(d, s, o, c) memcpy_fromfs((d), &((s)[o]), (c)) |
s | 56 | drivers/sound/os.h | #define COPY_TO_USER(d, o, s, c) memcpy_tofs(&((d)[o]), (s), (c)) |
s | 57 | drivers/sound/os.h | #define IOCTL_FROM_USER(d, s, o, c) memcpy_fromfs((d), &((s)[o]), (c)) |
s | 58 | drivers/sound/os.h | #define IOCTL_TO_USER(d, o, s, c) memcpy_tofs(&((d)[o]), (s), (c)) |
s | 57 | drivers/sound/sound_switch.c | put_status (char *s) |
s | 61 | drivers/sound/sound_switch.c | for (l = 0; l < 256, s[l]; l++); /* |
s | 68 | drivers/sound/sound_switch.c | memcpy (&status_buf[status_len], s, l); |
s | 57 | fs/ext/inode.c | struct super_block *ext_read_super(struct super_block *s,void *data, |
s | 62 | fs/ext/inode.c | int dev = s->s_dev,block; |
s | 64 | fs/ext/inode.c | lock_super(s); |
s | 67 | fs/ext/inode.c | s->s_dev=0; |
s | 68 | fs/ext/inode.c | unlock_super(s); |
s | 73 | fs/ext/inode.c | s->s_blocksize = 1024; |
s | 74 | fs/ext/inode.c | s->s_blocksize_bits = 10; |
s | 75 | fs/ext/inode.c | s->u.ext_sb.s_ninodes = es->s_ninodes; |
s | 76 | fs/ext/inode.c | s->u.ext_sb.s_nzones = es->s_nzones; |
s | 77 | fs/ext/inode.c | s->u.ext_sb.s_firstdatazone = es->s_firstdatazone; |
s | 78 | fs/ext/inode.c | s->u.ext_sb.s_log_zone_size = es->s_log_zone_size; |
s | 79 | fs/ext/inode.c | s->u.ext_sb.s_max_size = es->s_max_size; |
s | 80 | fs/ext/inode.c | s->s_magic = es->s_magic; |
s | 81 | fs/ext/inode.c | s->u.ext_sb.s_firstfreeblocknumber = es->s_firstfreeblock; |
s | 82 | fs/ext/inode.c | s->u.ext_sb.s_freeblockscount = es->s_freeblockscount; |
s | 83 | fs/ext/inode.c | s->u.ext_sb.s_firstfreeinodenumber = es->s_firstfreeinode; |
s | 84 | fs/ext/inode.c | s->u.ext_sb.s_freeinodescount = es->s_freeinodescount; |
s | 86 | fs/ext/inode.c | if (s->s_magic != EXT_SUPER_MAGIC) { |
s | 87 | fs/ext/inode.c | s->s_dev = 0; |
s | 88 | fs/ext/inode.c | unlock_super(s); |
s | 94 | fs/ext/inode.c | if (!s->u.ext_sb.s_firstfreeblocknumber) |
s | 95 | fs/ext/inode.c | s->u.ext_sb.s_firstfreeblock = NULL; |
s | 97 | fs/ext/inode.c | if (!(s->u.ext_sb.s_firstfreeblock = bread(dev, |
s | 98 | fs/ext/inode.c | s->u.ext_sb.s_firstfreeblocknumber, BLOCK_SIZE))) { |
s | 100 | fs/ext/inode.c | s->s_dev = 0; |
s | 101 | fs/ext/inode.c | unlock_super(s); |
s | 104 | fs/ext/inode.c | if (!s->u.ext_sb.s_firstfreeinodenumber) |
s | 105 | fs/ext/inode.c | s->u.ext_sb.s_firstfreeinodeblock = NULL; |
s | 107 | fs/ext/inode.c | block = 2 + (s->u.ext_sb.s_firstfreeinodenumber - 1) / EXT_INODES_PER_BLOCK; |
s | 108 | fs/ext/inode.c | if (!(s->u.ext_sb.s_firstfreeinodeblock = bread(dev, block, BLOCK_SIZE))) { |
s | 110 | fs/ext/inode.c | brelse(s->u.ext_sb.s_firstfreeblock); |
s | 111 | fs/ext/inode.c | s->s_dev = 0; |
s | 112 | fs/ext/inode.c | unlock_super (s); |
s | 116 | fs/ext/inode.c | unlock_super(s); |
s | 118 | fs/ext/inode.c | s->s_dev = dev; |
s | 119 | fs/ext/inode.c | s->s_op = &ext_sops; |
s | 120 | fs/ext/inode.c | if (!(s->s_mounted = iget(s,EXT_ROOT_INO))) { |
s | 121 | fs/ext/inode.c | s->s_dev=0; |
s | 125 | fs/ext/inode.c | return s; |
s | 241 | fs/hpfs/hpfs_fs.c | static unsigned count_bitmap(struct super_block *s); |
s | 332 | fs/hpfs/hpfs_fs.c | struct super_block *hpfs_read_super(struct super_block *s, |
s | 356 | fs/hpfs/hpfs_fs.c | s->s_dev = 0; |
s | 364 | fs/hpfs/hpfs_fs.c | lock_super(s); |
s | 365 | fs/hpfs/hpfs_fs.c | dev = s->s_dev; |
s | 442 | fs/hpfs/hpfs_fs.c | s->s_flags |= MS_RDONLY; |
s | 448 | fs/hpfs/hpfs_fs.c | s->s_magic = HPFS_SUPER_MAGIC; |
s | 449 | fs/hpfs/hpfs_fs.c | s->s_blocksize = 512; |
s | 450 | fs/hpfs/hpfs_fs.c | s->s_blocksize_bits = 9; |
s | 451 | fs/hpfs/hpfs_fs.c | s->s_op = (struct super_operations *) &hpfs_sops; |
s | 457 | fs/hpfs/hpfs_fs.c | s->s_hpfs_root = dir_ino(superblock->root); |
s | 458 | fs/hpfs/hpfs_fs.c | s->s_hpfs_fs_size = superblock->n_sectors; |
s | 459 | fs/hpfs/hpfs_fs.c | s->s_hpfs_dirband_size = superblock->n_dir_band / 4; |
s | 460 | fs/hpfs/hpfs_fs.c | s->s_hpfs_dmap = superblock->dir_band_bitmap; |
s | 461 | fs/hpfs/hpfs_fs.c | s->s_hpfs_bitmaps = superblock->bitmaps; |
s | 462 | fs/hpfs/hpfs_fs.c | s->s_hpfs_uid = uid; |
s | 463 | fs/hpfs/hpfs_fs.c | s->s_hpfs_gid = gid; |
s | 464 | fs/hpfs/hpfs_fs.c | s->s_hpfs_mode = 0777 & ~umask; |
s | 465 | fs/hpfs/hpfs_fs.c | s->s_hpfs_n_free = -1; |
s | 466 | fs/hpfs/hpfs_fs.c | s->s_hpfs_n_free_dnodes = -1; |
s | 467 | fs/hpfs/hpfs_fs.c | s->s_hpfs_lowercase = lowercase; |
s | 468 | fs/hpfs/hpfs_fs.c | s->s_hpfs_conv = conv; |
s | 482 | fs/hpfs/hpfs_fs.c | s->s_mounted = iget(s, s->s_hpfs_root); |
s | 483 | fs/hpfs/hpfs_fs.c | unlock_super(s); |
s | 485 | fs/hpfs/hpfs_fs.c | if (!s->s_mounted) { |
s | 487 | fs/hpfs/hpfs_fs.c | s->s_dev = 0; |
s | 495 | fs/hpfs/hpfs_fs.c | root_dno = fnode_dno(dev, s->s_hpfs_root); |
s | 497 | fs/hpfs/hpfs_fs.c | de = map_dirent(s->s_mounted, root_dno, "\001\001", 2, &qbh); |
s | 501 | fs/hpfs/hpfs_fs.c | s->s_dev = 0; |
s | 505 | fs/hpfs/hpfs_fs.c | s->s_mounted->i_atime = local_to_gmt(de->read_date); |
s | 506 | fs/hpfs/hpfs_fs.c | s->s_mounted->i_mtime = local_to_gmt(de->write_date); |
s | 507 | fs/hpfs/hpfs_fs.c | s->s_mounted->i_ctime = local_to_gmt(de->creation_date); |
s | 510 | fs/hpfs/hpfs_fs.c | return s; |
s | 519 | fs/hpfs/hpfs_fs.c | s->s_dev = 0; |
s | 520 | fs/hpfs/hpfs_fs.c | unlock_super(s); |
s | 623 | fs/hpfs/hpfs_fs.c | struct super_block *s = inode->i_sb; |
s | 640 | fs/hpfs/hpfs_fs.c | inode->i_uid = s->s_hpfs_uid; |
s | 641 | fs/hpfs/hpfs_fs.c | inode->i_gid = s->s_hpfs_gid; |
s | 642 | fs/hpfs/hpfs_fs.c | inode->i_mode = s->s_hpfs_mode; |
s | 643 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_conv = s->s_hpfs_conv; |
s | 717 | fs/hpfs/hpfs_fs.c | static void hpfs_put_super(struct super_block *s) |
s | 719 | fs/hpfs/hpfs_fs.c | lock_super(s); |
s | 720 | fs/hpfs/hpfs_fs.c | s->s_dev = 0; |
s | 721 | fs/hpfs/hpfs_fs.c | unlock_super(s); |
s | 729 | fs/hpfs/hpfs_fs.c | static void hpfs_statfs(struct super_block *s, struct statfs *buf) |
s | 735 | fs/hpfs/hpfs_fs.c | if (s->s_hpfs_n_free == -1) { |
s | 736 | fs/hpfs/hpfs_fs.c | s->s_hpfs_n_free = count_bitmap(s); |
s | 737 | fs/hpfs/hpfs_fs.c | s->s_hpfs_n_free_dnodes = |
s | 738 | fs/hpfs/hpfs_fs.c | count_one_bitmap(s->s_dev, s->s_hpfs_dmap); |
s | 745 | fs/hpfs/hpfs_fs.c | put_fs_long(s->s_magic, &buf->f_type); |
s | 747 | fs/hpfs/hpfs_fs.c | put_fs_long(s->s_hpfs_fs_size, &buf->f_blocks); |
s | 748 | fs/hpfs/hpfs_fs.c | put_fs_long(s->s_hpfs_n_free, &buf->f_bfree); |
s | 749 | fs/hpfs/hpfs_fs.c | put_fs_long(s->s_hpfs_n_free, &buf->f_bavail); |
s | 750 | fs/hpfs/hpfs_fs.c | put_fs_long(s->s_hpfs_dirband_size, &buf->f_files); |
s | 751 | fs/hpfs/hpfs_fs.c | put_fs_long(s->s_hpfs_n_free_dnodes, &buf->f_ffree); |
s | 759 | fs/hpfs/hpfs_fs.c | static int hpfs_remount_fs(struct super_block *s, int *flags, char *data) |
s | 803 | fs/hpfs/hpfs_fs.c | static unsigned count_bitmap(struct super_block *s) |
s | 812 | fs/hpfs/hpfs_fs.c | n_bands = (s->s_hpfs_fs_size + 0x3fff) >> 14; |
s | 818 | fs/hpfs/hpfs_fs.c | bitmaps = map_4sectors(s->s_dev, s->s_hpfs_bitmaps, &qbh); |
s | 831 | fs/hpfs/hpfs_fs.c | count += count_one_bitmap(s->s_dev, bitmaps[n]); |
s | 140 | fs/isofs/inode.c | struct super_block *isofs_read_super(struct super_block *s,void *data, |
s | 147 | fs/isofs/inode.c | int dev=s->s_dev; |
s | 159 | fs/isofs/inode.c | s->s_dev = 0; |
s | 183 | fs/isofs/inode.c | lock_super(s); |
s | 185 | fs/isofs/inode.c | s->u.isofs_sb.s_high_sierra = high_sierra = 0; /* default is iso9660 */ |
s | 189 | fs/isofs/inode.c | s->s_dev=0; |
s | 192 | fs/isofs/inode.c | unlock_super(s); |
s | 206 | fs/isofs/inode.c | s->u.isofs_sb.s_high_sierra = 1; |
s | 228 | fs/isofs/inode.c | s->s_dev = 0; |
s | 229 | fs/isofs/inode.c | unlock_super(s); |
s | 240 | fs/isofs/inode.c | s->u.isofs_sb.s_nzones = isonum_733 (h_pri->volume_space_size); |
s | 241 | fs/isofs/inode.c | s->u.isofs_sb.s_log_zone_size = isonum_723 (h_pri->logical_block_size); |
s | 242 | fs/isofs/inode.c | s->u.isofs_sb.s_max_size = isonum_733(h_pri->volume_space_size); |
s | 249 | fs/isofs/inode.c | s->u.isofs_sb.s_nzones = isonum_733 (pri->volume_space_size); |
s | 250 | fs/isofs/inode.c | s->u.isofs_sb.s_log_zone_size = isonum_723 (pri->logical_block_size); |
s | 251 | fs/isofs/inode.c | s->u.isofs_sb.s_max_size = isonum_733(pri->volume_space_size); |
s | 254 | fs/isofs/inode.c | s->u.isofs_sb.s_ninodes = 0; /* No way to figure this out easily */ |
s | 258 | fs/isofs/inode.c | switch (s -> u.isofs_sb.s_log_zone_size) |
s | 259 | fs/isofs/inode.c | { case 512: s -> u.isofs_sb.s_log_zone_size = 9; break; |
s | 260 | fs/isofs/inode.c | case 1024: s -> u.isofs_sb.s_log_zone_size = 10; break; |
s | 261 | fs/isofs/inode.c | case 2048: s -> u.isofs_sb.s_log_zone_size = 11; break; |
s | 264 | fs/isofs/inode.c | printk("Bad logical zone size %ld\n", s -> u.isofs_sb.s_log_zone_size); |
s | 270 | fs/isofs/inode.c | s->u.isofs_sb.s_firstdatazone = (isonum_733( rootp->extent) |
s | 271 | fs/isofs/inode.c | << s -> u.isofs_sb.s_log_zone_size); |
s | 272 | fs/isofs/inode.c | s->s_magic = ISOFS_SUPER_MAGIC; |
s | 279 | fs/isofs/inode.c | s->s_flags |= MS_RDONLY /* | MS_NODEV | MS_NOSUID */; |
s | 284 | fs/isofs/inode.c | s->u.isofs_sb.s_max_size, |
s | 285 | fs/isofs/inode.c | 1UL << s->u.isofs_sb.s_log_zone_size); |
s | 287 | fs/isofs/inode.c | s->u.isofs_sb.s_firstdatazone >> s -> u.isofs_sb.s_log_zone_size, |
s | 288 | fs/isofs/inode.c | isonum_733 (rootp->extent) << s -> u.isofs_sb.s_log_zone_size); |
s | 290 | fs/isofs/inode.c | unlock_super(s); |
s | 293 | fs/isofs/inode.c | s->s_dev = dev; |
s | 294 | fs/isofs/inode.c | s->s_op = &isofs_sops; |
s | 295 | fs/isofs/inode.c | s->u.isofs_sb.s_mapping = opt.map; |
s | 296 | fs/isofs/inode.c | s->u.isofs_sb.s_rock = (opt.rock == 'y' ? 1 : 0); |
s | 297 | fs/isofs/inode.c | s->u.isofs_sb.s_conversion = opt.conversion; |
s | 298 | fs/isofs/inode.c | s->u.isofs_sb.s_cruft = opt.cruft; |
s | 299 | fs/isofs/inode.c | s->u.isofs_sb.s_uid = opt.uid; |
s | 300 | fs/isofs/inode.c | s->u.isofs_sb.s_gid = opt.gid; |
s | 301 | fs/isofs/inode.c | s->s_blocksize = opt.blocksize; |
s | 302 | fs/isofs/inode.c | s->s_blocksize_bits = blocksize_bits; |
s | 303 | fs/isofs/inode.c | s->s_mounted = iget(s, isonum_733 (rootp->extent) << s -> u.isofs_sb.s_log_zone_size); |
s | 304 | fs/isofs/inode.c | unlock_super(s); |
s | 306 | fs/isofs/inode.c | if (!(s->s_mounted)) { |
s | 307 | fs/isofs/inode.c | s->s_dev=0; |
s | 312 | fs/isofs/inode.c | if(!check_disk_change(s->s_dev)) { |
s | 316 | fs/isofs/inode.c | return s; |
s | 320 | fs/isofs/inode.c | s->s_dev = 0; |
s | 321 | fs/isofs/inode.c | unlock_super(s); |
s | 115 | fs/minix/inode.c | struct super_block *minix_read_super(struct super_block *s,void *data, |
s | 120 | fs/minix/inode.c | int i,dev=s->s_dev,block; |
s | 124 | fs/minix/inode.c | lock_super(s); |
s | 127 | fs/minix/inode.c | s->s_dev=0; |
s | 128 | fs/minix/inode.c | unlock_super(s); |
s | 133 | fs/minix/inode.c | s->u.minix_sb.s_ms = ms; |
s | 134 | fs/minix/inode.c | s->u.minix_sb.s_sbh = bh; |
s | 135 | fs/minix/inode.c | s->u.minix_sb.s_mount_state = ms->s_state; |
s | 136 | fs/minix/inode.c | s->s_blocksize = 1024; |
s | 137 | fs/minix/inode.c | s->s_blocksize_bits = 10; |
s | 138 | fs/minix/inode.c | s->u.minix_sb.s_ninodes = ms->s_ninodes; |
s | 139 | fs/minix/inode.c | s->u.minix_sb.s_nzones = ms->s_nzones; |
s | 140 | fs/minix/inode.c | s->u.minix_sb.s_imap_blocks = ms->s_imap_blocks; |
s | 141 | fs/minix/inode.c | s->u.minix_sb.s_zmap_blocks = ms->s_zmap_blocks; |
s | 142 | fs/minix/inode.c | s->u.minix_sb.s_firstdatazone = ms->s_firstdatazone; |
s | 143 | fs/minix/inode.c | s->u.minix_sb.s_log_zone_size = ms->s_log_zone_size; |
s | 144 | fs/minix/inode.c | s->u.minix_sb.s_max_size = ms->s_max_size; |
s | 145 | fs/minix/inode.c | s->s_magic = ms->s_magic; |
s | 146 | fs/minix/inode.c | if (s->s_magic == MINIX_SUPER_MAGIC) { |
s | 147 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = 16; |
s | 148 | fs/minix/inode.c | s->u.minix_sb.s_namelen = 14; |
s | 149 | fs/minix/inode.c | } else if (s->s_magic == MINIX_SUPER_MAGIC2) { |
s | 150 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = 32; |
s | 151 | fs/minix/inode.c | s->u.minix_sb.s_namelen = 30; |
s | 153 | fs/minix/inode.c | s->s_dev = 0; |
s | 154 | fs/minix/inode.c | unlock_super(s); |
s | 161 | fs/minix/inode.c | s->u.minix_sb.s_imap[i] = NULL; |
s | 163 | fs/minix/inode.c | s->u.minix_sb.s_zmap[i] = NULL; |
s | 165 | fs/minix/inode.c | for (i=0 ; i < s->u.minix_sb.s_imap_blocks ; i++) |
s | 166 | fs/minix/inode.c | if ((s->u.minix_sb.s_imap[i]=bread(dev,block,BLOCK_SIZE)) != NULL) |
s | 170 | fs/minix/inode.c | for (i=0 ; i < s->u.minix_sb.s_zmap_blocks ; i++) |
s | 171 | fs/minix/inode.c | if ((s->u.minix_sb.s_zmap[i]=bread(dev,block,BLOCK_SIZE)) != NULL) |
s | 175 | fs/minix/inode.c | if (block != 2+s->u.minix_sb.s_imap_blocks+s->u.minix_sb.s_zmap_blocks) { |
s | 177 | fs/minix/inode.c | brelse(s->u.minix_sb.s_imap[i]); |
s | 179 | fs/minix/inode.c | brelse(s->u.minix_sb.s_zmap[i]); |
s | 180 | fs/minix/inode.c | s->s_dev=0; |
s | 181 | fs/minix/inode.c | unlock_super(s); |
s | 186 | fs/minix/inode.c | set_bit(0,s->u.minix_sb.s_imap[0]->b_data); |
s | 187 | fs/minix/inode.c | set_bit(0,s->u.minix_sb.s_zmap[0]->b_data); |
s | 188 | fs/minix/inode.c | unlock_super(s); |
s | 190 | fs/minix/inode.c | s->s_dev = dev; |
s | 191 | fs/minix/inode.c | s->s_op = &minix_sops; |
s | 192 | fs/minix/inode.c | s->s_mounted = iget(s,MINIX_ROOT_INO); |
s | 193 | fs/minix/inode.c | if (!s->s_mounted) { |
s | 194 | fs/minix/inode.c | s->s_dev = 0; |
s | 199 | fs/minix/inode.c | if (!(s->s_flags & MS_RDONLY)) { |
s | 202 | fs/minix/inode.c | s->s_dirt = 1; |
s | 204 | fs/minix/inode.c | if (!(s->u.minix_sb.s_mount_state & MINIX_VALID_FS)) |
s | 207 | fs/minix/inode.c | else if (s->u.minix_sb.s_mount_state & MINIX_ERROR_FS) |
s | 210 | fs/minix/inode.c | return s; |
s | 156 | fs/msdos/inode.c | struct super_block *msdos_read_super(struct super_block *s,void *data, |
s | 170 | fs/msdos/inode.c | s->s_dev = 0; |
s | 174 | fs/msdos/inode.c | lock_super(s); |
s | 175 | fs/msdos/inode.c | set_blocksize(s->s_dev, SECTOR_SIZE); |
s | 176 | fs/msdos/inode.c | bh = bread(s->s_dev, 0, SECTOR_SIZE); |
s | 177 | fs/msdos/inode.c | unlock_super(s); |
s | 179 | fs/msdos/inode.c | s->s_dev = 0; |
s | 184 | fs/msdos/inode.c | s->s_blocksize = 512; /* Using this small block size solve the */ |
s | 188 | fs/msdos/inode.c | s->s_blocksize_bits = 9; /* we cannot handle anything else yet */ |
s | 209 | fs/msdos/inode.c | MSDOS_SB(s)->cluster_size = b->cluster_size*sector_mult; |
s | 210 | fs/msdos/inode.c | MSDOS_SB(s)->fats = b->fats; |
s | 211 | fs/msdos/inode.c | MSDOS_SB(s)->fat_start = CF_LE_W(b->reserved)*sector_mult; |
s | 212 | fs/msdos/inode.c | MSDOS_SB(s)->fat_length = CF_LE_W(b->fat_length)*sector_mult; |
s | 213 | fs/msdos/inode.c | MSDOS_SB(s)->dir_start = (CF_LE_W(b->reserved)+b->fats*CF_LE_W( |
s | 215 | fs/msdos/inode.c | MSDOS_SB(s)->dir_entries = CF_LE_W(*((unsigned short *) &b->dir_entries |
s | 217 | fs/msdos/inode.c | MSDOS_SB(s)->data_start = MSDOS_SB(s)->dir_start+ROUND_TO_MULTIPLE(( |
s | 218 | fs/msdos/inode.c | MSDOS_SB(s)->dir_entries << MSDOS_DIR_BITS) >> SECTOR_BITS, |
s | 222 | fs/msdos/inode.c | CF_LE_L(b->total_sect))*sector_mult-MSDOS_SB(s)->data_start; |
s | 225 | fs/msdos/inode.c | MSDOS_SB(s)->clusters = b->cluster_size ? data_sectors/ |
s | 227 | fs/msdos/inode.c | MSDOS_SB(s)->fat_bits = fat ? fat : MSDOS_SB(s)->clusters > |
s | 229 | fs/msdos/inode.c | error = !MSDOS_SB(s)->fats || (MSDOS_SB(s)->dir_entries & |
s | 230 | fs/msdos/inode.c | (MSDOS_DPS-1)) || MSDOS_SB(s)->clusters+2 > MSDOS_SB(s)-> |
s | 231 | fs/msdos/inode.c | fat_length*SECTOR_SIZE*8/MSDOS_SB(s)->fat_bits || |
s | 239 | fs/msdos/inode.c | "uid=%d,gid=%d,umask=%03o%s]\n",MSDOS_SB(s)->fat_bits,check, |
s | 240 | fs/msdos/inode.c | conversion,uid,gid,umask,MSDOS_CAN_BMAP(MSDOS_SB(s)) ? |
s | 243 | fs/msdos/inode.c | "se=%d,ts=%ld,ls=%d]\n",b->media,MSDOS_SB(s)->cluster_size, |
s | 244 | fs/msdos/inode.c | MSDOS_SB(s)->fats,MSDOS_SB(s)->fat_start,MSDOS_SB(s)-> |
s | 245 | fs/msdos/inode.c | fat_length,MSDOS_SB(s)->dir_start,MSDOS_SB(s)->dir_entries, |
s | 246 | fs/msdos/inode.c | MSDOS_SB(s)->data_start,CF_LE_W(*(unsigned short *) &b-> |
s | 252 | fs/msdos/inode.c | s->s_dev); |
s | 253 | fs/msdos/inode.c | s->s_dev = 0; |
s | 256 | fs/msdos/inode.c | s->s_magic = MSDOS_SUPER_MAGIC; |
s | 257 | fs/msdos/inode.c | MSDOS_SB(s)->name_check = check; |
s | 258 | fs/msdos/inode.c | MSDOS_SB(s)->conversion = conversion; |
s | 260 | fs/msdos/inode.c | s->s_op = &msdos_sops; |
s | 261 | fs/msdos/inode.c | MSDOS_SB(s)->fs_uid = uid; |
s | 262 | fs/msdos/inode.c | MSDOS_SB(s)->fs_gid = gid; |
s | 263 | fs/msdos/inode.c | MSDOS_SB(s)->fs_umask = umask; |
s | 264 | fs/msdos/inode.c | MSDOS_SB(s)->quiet = quiet; |
s | 265 | fs/msdos/inode.c | MSDOS_SB(s)->free_clusters = -1; /* don't know yet */ |
s | 266 | fs/msdos/inode.c | MSDOS_SB(s)->fat_wait = NULL; |
s | 267 | fs/msdos/inode.c | MSDOS_SB(s)->fat_lock = 0; |
s | 268 | fs/msdos/inode.c | MSDOS_SB(s)->prev_free = 0; |
s | 269 | fs/msdos/inode.c | if (!(s->s_mounted = iget(s,MSDOS_ROOT_INO))) { |
s | 270 | fs/msdos/inode.c | s->s_dev = 0; |
s | 277 | fs/msdos/inode.c | return s; |
s | 33 | fs/msdos/misc.c | void fs_panic(struct super_block *s,char *msg) |
s | 37 | fs/msdos/misc.c | not_ro = !(s->s_flags & MS_RDONLY); |
s | 38 | fs/msdos/misc.c | if (not_ro) s->s_flags |= MS_RDONLY; |
s | 40 | fs/msdos/misc.c | s->s_dev,s->s_covered->i_dev,s->s_covered->i_ino,msg); |
s | 44 | fs/proc/inode.c | struct super_block *proc_read_super(struct super_block *s,void *data, |
s | 47 | fs/proc/inode.c | lock_super(s); |
s | 48 | fs/proc/inode.c | s->s_blocksize = 1024; |
s | 49 | fs/proc/inode.c | s->s_blocksize_bits = 10; |
s | 50 | fs/proc/inode.c | s->s_magic = PROC_SUPER_MAGIC; |
s | 51 | fs/proc/inode.c | s->s_op = &proc_sops; |
s | 52 | fs/proc/inode.c | unlock_super(s); |
s | 53 | fs/proc/inode.c | if (!(s->s_mounted = iget(s,PROC_ROOT_INO))) { |
s | 54 | fs/proc/inode.c | s->s_dev = 0; |
s | 58 | fs/proc/inode.c | return s; |
s | 220 | fs/super.c | struct super_block * s; |
s | 224 | fs/super.c | s = 0+super_blocks; |
s | 225 | fs/super.c | while (s < NR_SUPER+super_blocks) |
s | 226 | fs/super.c | if (s->s_dev == dev) { |
s | 227 | fs/super.c | wait_on_super(s); |
s | 228 | fs/super.c | if (s->s_dev == dev) |
s | 229 | fs/super.c | return s; |
s | 230 | fs/super.c | s = 0+super_blocks; |
s | 232 | fs/super.c | s++; |
s | 259 | fs/super.c | struct super_block * s; |
s | 265 | fs/super.c | s = get_super(dev); |
s | 266 | fs/super.c | if (s) |
s | 267 | fs/super.c | return s; |
s | 273 | fs/super.c | for (s = 0+super_blocks ;; s++) { |
s | 274 | fs/super.c | if (s >= NR_SUPER+super_blocks) |
s | 276 | fs/super.c | if (!s->s_dev) |
s | 279 | fs/super.c | s->s_dev = dev; |
s | 280 | fs/super.c | s->s_flags = flags; |
s | 281 | fs/super.c | if (!type->read_super(s,data, silent)) { |
s | 282 | fs/super.c | s->s_dev = 0; |
s | 285 | fs/super.c | s->s_dev = dev; |
s | 286 | fs/super.c | s->s_covered = NULL; |
s | 287 | fs/super.c | s->s_rd_only = 0; |
s | 288 | fs/super.c | s->s_dirt = 0; |
s | 289 | fs/super.c | return s; |
s | 394 | fs/umsdos/inode.c | struct super_block *s, |
s | 411 | fs/umsdos/inode.c | struct super_block *sb = msdos_read_super(s,data,silent); |
s | 419 | fs/umsdos/inode.c | if (s == super_blocks){ |
s | 59 | fs/xiafs/inode.c | struct super_block *xiafs_read_super(struct super_block *s, void *data, |
s | 66 | fs/xiafs/inode.c | dev=s->s_dev; |
s | 67 | fs/xiafs/inode.c | lock_super(s); |
s | 72 | fs/xiafs/inode.c | s->s_dev=0; |
s | 73 | fs/xiafs/inode.c | unlock_super(s); |
s | 78 | fs/xiafs/inode.c | s->s_magic = sp->s_magic; |
s | 79 | fs/xiafs/inode.c | if (s->s_magic != _XIAFS_SUPER_MAGIC) { |
s | 80 | fs/xiafs/inode.c | s->s_dev = 0; |
s | 81 | fs/xiafs/inode.c | unlock_super(s); |
s | 88 | fs/xiafs/inode.c | s->s_blocksize = sp->s_zone_size; |
s | 89 | fs/xiafs/inode.c | s->s_blocksize_bits = 10 + sp->s_zone_shift; |
s | 90 | fs/xiafs/inode.c | if (s->s_blocksize != BLOCK_SIZE && |
s | 91 | fs/xiafs/inode.c | (s->s_blocksize == 1024 || s->s_blocksize == 2048 || |
s | 92 | fs/xiafs/inode.c | s->s_blocksize == 4096)) { |
s | 94 | fs/xiafs/inode.c | set_blocksize(dev, s->s_blocksize); |
s | 95 | fs/xiafs/inode.c | bh = bread (dev, 0, s->s_blocksize); |
s | 99 | fs/xiafs/inode.c | s->u.xiafs_sb.s_nzones = sp->s_nzones; |
s | 100 | fs/xiafs/inode.c | s->u.xiafs_sb.s_ninodes = sp->s_ninodes; |
s | 101 | fs/xiafs/inode.c | s->u.xiafs_sb.s_ndatazones = sp->s_ndatazones; |
s | 102 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_zones = sp->s_imap_zones; |
s | 103 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zones = sp->s_zmap_zones; |
s | 104 | fs/xiafs/inode.c | s->u.xiafs_sb.s_firstdatazone = sp->s_firstdatazone; |
s | 105 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zone_shift = sp->s_zone_shift; |
s | 106 | fs/xiafs/inode.c | s->u.xiafs_sb.s_max_size = sp->s_max_size; |
s | 109 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_buf[i] = NULL; |
s | 110 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_iznr[i] = -1; |
s | 113 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_buf[i] = NULL; |
s | 114 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zznr[i] = -1; |
s | 117 | fs/xiafs/inode.c | if ( s->u.xiafs_sb.s_imap_zones > _XIAFS_IMAP_SLOTS ) |
s | 118 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_cached=1; |
s | 120 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_cached=0; |
s | 121 | fs/xiafs/inode.c | for (i=0 ; i < s->u.xiafs_sb.s_imap_zones ; i++) { |
s | 122 | fs/xiafs/inode.c | if (!(s->u.xiafs_sb.s_imap_buf[i]=bread(dev, z++, XIAFS_ZSIZE(s)))) |
s | 124 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_iznr[i]=i; |
s | 127 | fs/xiafs/inode.c | if ( s->u.xiafs_sb.s_zmap_zones > _XIAFS_ZMAP_SLOTS ) |
s | 128 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_cached=1; |
s | 130 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_cached=0; |
s | 131 | fs/xiafs/inode.c | for (i=0 ; i < s->u.xiafs_sb.s_zmap_zones ; i++) { |
s | 132 | fs/xiafs/inode.c | if (!(s->u.xiafs_sb.s_zmap_buf[i]=bread(dev, z++, XIAFS_ZSIZE(s)))) |
s | 134 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zznr[i]=i; |
s | 138 | fs/xiafs/inode.c | s->s_dev = dev; |
s | 139 | fs/xiafs/inode.c | s->s_op = &xiafs_sops; |
s | 140 | fs/xiafs/inode.c | s->s_mounted = iget(s, _XIAFS_ROOT_INO); |
s | 141 | fs/xiafs/inode.c | if (!s->s_mounted) |
s | 143 | fs/xiafs/inode.c | unlock_super(s); |
s | 145 | fs/xiafs/inode.c | return s; |
s | 149 | fs/xiafs/inode.c | brelse(s->u.xiafs_sb.s_imap_buf[i]); |
s | 151 | fs/xiafs/inode.c | brelse(s->u.xiafs_sb.s_zmap_buf[i]); |
s | 152 | fs/xiafs/inode.c | s->s_dev=0; |
s | 153 | fs/xiafs/inode.c | unlock_super(s); |
s | 101 | include/asm-generic/string.h | extern inline char * strchr(const char * s,char c) |
s | 105 | include/asm-generic/string.h | for(; *s != ch; ++s) |
s | 106 | include/asm-generic/string.h | if (*s == '\0') |
s | 108 | include/asm-generic/string.h | return( (char *) s); |
s | 113 | include/asm-generic/string.h | extern inline size_t strlen(const char * s) |
s | 116 | include/asm-generic/string.h | for (sc = s; *sc != '\0'; ++sc) ; |
s | 117 | include/asm-generic/string.h | return(sc - s); |
s | 122 | include/asm-generic/string.h | extern inline size_t strspn(const char *s, const char *accept) |
s | 128 | include/asm-generic/string.h | for (p = s; *p != '\0'; ++p) |
s | 157 | include/asm-generic/string.h | extern inline char * strtok(char * s,const char * ct) |
s | 162 | include/asm-generic/string.h | sbegin = s ? s : ssave; |
s | 180 | include/asm-generic/string.h | extern inline void * memset(void * s,char c,size_t count) |
s | 182 | include/asm-generic/string.h | void *xs = s; |
s | 185 | include/asm-generic/string.h | *s++ = c; |
s | 44 | include/asm-i386/io.h | #define __OUT1(s,x) \ |
s | 45 | include/asm-i386/io.h | extern inline void __out##s(unsigned x value, unsigned short port) { |
s | 47 | include/asm-i386/io.h | #define __OUT2(s,s1,s2) \ |
s | 48 | include/asm-i386/io.h | __asm__ __volatile__ ("out" #s " %" s1 "0,%" s2 "1" |
s | 50 | include/asm-i386/io.h | #define __OUT(s,s1,x) \ |
s | 51 | include/asm-i386/io.h | __OUT1(s,x) __OUT2(s,s1,"w") : : "a" (value), "d" (port)); } \ |
s | 52 | include/asm-i386/io.h | __OUT1(s##c,x) __OUT2(s,s1,"") : : "a" (value), "i" (port)); } \ |
s | 53 | include/asm-i386/io.h | __OUT1(s##_p,x) __OUT2(s,s1,"w") : : "a" (value), "d" (port)); SLOW_DOWN_IO; } \ |
s | 54 | include/asm-i386/io.h | __OUT1(s##c_p,x) __OUT2(s,s1,"") : : "a" (value), "i" (port)); SLOW_DOWN_IO; } |
s | 56 | include/asm-i386/io.h | #define __IN1(s) \ |
s | 57 | include/asm-i386/io.h | extern inline unsigned int __in##s(unsigned short port) { unsigned int _v; |
s | 59 | include/asm-i386/io.h | #define __IN2(s,s1,s2) \ |
s | 60 | include/asm-i386/io.h | __asm__ __volatile__ ("in" #s " %" s2 "1,%" s1 "0" |
s | 62 | include/asm-i386/io.h | #define __IN(s,s1,i...) \ |
s | 63 | include/asm-i386/io.h | __IN1(s) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); return _v; } \ |
s | 64 | include/asm-i386/io.h | __IN1(s##c) __IN2(s,s1,"") : "=a" (_v) : "i" (port) ,##i ); return _v; } \ |
s | 65 | include/asm-i386/io.h | __IN1(s##_p) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); SLOW_DOWN_IO; return _v; } \ |
s | 66 | include/asm-i386/io.h | __IN1(s##c_p) __IN2(s,s1,"") : "=a" (_v) : "i" (port) ,##i ); SLOW_DOWN_IO; return _v; } |
s | 68 | include/asm-i386/io.h | #define __INS(s) \ |
s | 69 | include/asm-i386/io.h | extern inline void ins##s(unsigned short port, void * addr, unsigned long count) \ |
s | 70 | include/asm-i386/io.h | { __asm__ __volatile__ ("cld ; rep ; ins" #s \ |
s | 73 | include/asm-i386/io.h | #define __OUTS(s) \ |
s | 74 | include/asm-i386/io.h | extern inline void outs##s(unsigned short port, const void * addr, unsigned long count) \ |
s | 75 | include/asm-i386/io.h | { __asm__ __volatile__ ("cld ; rep ; outs" #s \ |
s | 125 | include/asm-i386/string.h | extern inline char * strchr(const char * s,char c) |
s | 139 | include/asm-i386/string.h | :"=a" (__res):"S" (s),"0" (c):"si"); |
s | 143 | include/asm-i386/string.h | extern inline char * strrchr(const char * s,char c) |
s | 155 | include/asm-i386/string.h | :"=d" (__res):"0" (0),"S" (s),"a" (c):"ax","si"); |
s | 265 | include/asm-i386/string.h | extern inline size_t strlen(const char * s) |
s | 274 | include/asm-i386/string.h | :"=c" (__res):"D" (s),"a" (0),"0" (0xffffffff):"di"); |
s | 280 | include/asm-i386/string.h | extern inline char * strtok(char * s,const char * ct) |
s | 335 | include/asm-i386/string.h | :"0" (___strtok),"1" (s),"g" (ct) |
s | 417 | include/asm-i386/string.h | extern inline void * __memset_generic(void * s,char c,size_t count) |
s | 424 | include/asm-i386/string.h | :"a" (c),"D" (s),"c" (count) |
s | 426 | include/asm-i386/string.h | return s; |
s | 430 | include/asm-i386/string.h | #define __constant_c_memset(s,c,count) __memset_generic((s),(c),(count)) |
s | 431 | include/asm-i386/string.h | #define __constant_count_memset(s,c,count) __memset_generic((s),(c),(count)) |
s | 437 | include/asm-i386/string.h | extern inline void * __constant_c_and_count_memset(void * s, unsigned long pattern, size_t count) |
s | 441 | include/asm-i386/string.h | return s; |
s | 443 | include/asm-i386/string.h | *(unsigned char *)s = pattern; |
s | 444 | include/asm-i386/string.h | return s; |
s | 446 | include/asm-i386/string.h | *(unsigned short *)s = pattern; |
s | 447 | include/asm-i386/string.h | return s; |
s | 449 | include/asm-i386/string.h | *(unsigned short *)s = pattern; |
s | 450 | include/asm-i386/string.h | *(2+(unsigned char *)s) = pattern; |
s | 451 | include/asm-i386/string.h | return s; |
s | 453 | include/asm-i386/string.h | *(unsigned long *)s = pattern; |
s | 454 | include/asm-i386/string.h | return s; |
s | 461 | include/asm-i386/string.h | : "a" (pattern),"c" (count/4),"D" ((long) s) \ |
s | 465 | include/asm-i386/string.h | case 0: COMMON(""); return s; |
s | 466 | include/asm-i386/string.h | case 1: COMMON("\n\tstosb"); return s; |
s | 467 | include/asm-i386/string.h | case 2: COMMON("\n\tstosw"); return s; |
s | 468 | include/asm-i386/string.h | case 3: COMMON("\n\tstosw\n\tstosb"); return s; |
s | 473 | include/asm-i386/string.h | #define __constant_c_x_memset(s, c, count) \ |
s | 475 | include/asm-i386/string.h | __constant_c_and_count_memset((s),(c),(count)) : \ |
s | 476 | include/asm-i386/string.h | __constant_c_memset((s),(c),(count))) |
s | 478 | include/asm-i386/string.h | #define __memset(s, c, count) \ |
s | 480 | include/asm-i386/string.h | __constant_count_memset((s),(c),(count)) : \ |
s | 481 | include/asm-i386/string.h | __memset_generic((s),(c),(count))) |
s | 483 | include/asm-i386/string.h | #define memset(s, c, count) \ |
s | 485 | include/asm-i386/string.h | __constant_c_x_memset((s),(0x01010101UL*(unsigned char)c),(count)) : \ |
s | 486 | include/asm-i386/string.h | __memset((s),(c),(count))) |
s | 124 | include/asm-mips/string.h | extern inline void * memset(void * s,char c,size_t count) |
s | 126 | include/asm-mips/string.h | void *xs = s; |
s | 137 | include/asm-mips/string.h | : "=d" (s), "=d" (count) |
s | 138 | include/asm-mips/string.h | : "0" (s), "d" (c), "1" (count) |
s | 95 | include/linux/ext2_fs.h | # define EXT2_BLOCK_SIZE(s) ((s)->s_blocksize) |
s | 97 | include/linux/ext2_fs.h | # define EXT2_BLOCK_SIZE(s) (EXT2_MIN_BLOCK_SIZE << (s)->s_log_block_size) |
s | 99 | include/linux/ext2_fs.h | #define EXT2_ACLE_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (struct ext2_acl_entry)) |
s | 100 | include/linux/ext2_fs.h | #define EXT2_ADDR_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (unsigned long)) |
s | 102 | include/linux/ext2_fs.h | # define EXT2_BLOCK_SIZE_BITS(s) ((s)->u.ext2_sb.s_es->s_log_block_size + 10) |
s | 104 | include/linux/ext2_fs.h | # define EXT2_BLOCK_SIZE_BITS(s) ((s)->s_log_block_size + 10) |
s | 106 | include/linux/ext2_fs.h | #define EXT2_INODES_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (struct ext2_inode)) |
s | 115 | include/linux/ext2_fs.h | # define EXT2_FRAG_SIZE(s) ((s)->u.ext2_sb.s_frag_size) |
s | 116 | include/linux/ext2_fs.h | # define EXT2_FRAGS_PER_BLOCK(s) ((s)->u.ext2_sb.s_frags_per_block) |
s | 118 | include/linux/ext2_fs.h | # define EXT2_FRAG_SIZE(s) (EXT2_MIN_FRAG_SIZE << (s)->s_log_frag_size) |
s | 119 | include/linux/ext2_fs.h | # define EXT2_FRAGS_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / EXT2_FRAG_SIZE(s)) |
s | 172 | include/linux/ext2_fs.h | # define EXT2_BLOCKS_PER_GROUP(s) ((s)->u.ext2_sb.s_blocks_per_group) |
s | 173 | include/linux/ext2_fs.h | # define EXT2_DESC_PER_BLOCK(s) ((s)->u.ext2_sb.s_desc_per_block) |
s | 174 | include/linux/ext2_fs.h | # define EXT2_INODES_PER_GROUP(s) ((s)->u.ext2_sb.s_inodes_per_group) |
s | 176 | include/linux/ext2_fs.h | # define EXT2_BLOCKS_PER_GROUP(s) ((s)->s_blocks_per_group) |
s | 177 | include/linux/ext2_fs.h | # define EXT2_DESC_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (struct ext2_group_desc)) |
s | 178 | include/linux/ext2_fs.h | # define EXT2_INODES_PER_GROUP(s) ((s)->s_inodes_per_group) |
s | 42 | include/linux/msdos_fs.h | #define MSDOS_SB(s) (&((s)->u.msdos_sb)) |
s | 121 | include/linux/msdos_fs.h | extern void fs_panic(struct super_block *s,char *msg); |
s | 167 | include/linux/msdos_fs.h | extern struct super_block *msdos_read_super(struct super_block *s, |
s | 609 | include/linux/tpqic02.h | # define TPQDEB(s) s |
s | 610 | include/linux/tpqic02.h | # define TPQPUTS(s) tpqputs(s) |
s | 612 | include/linux/tpqic02.h | # define TPQDEB(s) |
s | 613 | include/linux/tpqic02.h | # define TPQPUTS(s) |
s | 45 | kernel/vsprintf.c | static int skip_atoi(const char **s) |
s | 49 | kernel/vsprintf.c | while (is_digit(**s)) |
s | 50 | kernel/vsprintf.c | i = i*10 + *((*s)++) - '0'; |
s | 140 | kernel/vsprintf.c | char *s; |
s | 217 | kernel/vsprintf.c | s = va_arg(args, char *); |
s | 218 | kernel/vsprintf.c | if (!s) |
s | 219 | kernel/vsprintf.c | s = "<NULL>"; |
s | 220 | kernel/vsprintf.c | len = strlen(s); |
s | 230 | kernel/vsprintf.c | *str++ = *s++; |
s | 1289 | net/inet/af_inet.c | struct sock *s; |
s | 1305 | net/inet/af_inet.c | for(s = prot->sock_array[hnum & (SOCK_ARRAY_SIZE - 1)]; |
s | 1306 | net/inet/af_inet.c | s != NULL; s = s->next) |
s | 1310 | net/inet/af_inet.c | if (s->num != hnum) |
s | 1313 | net/inet/af_inet.c | if(s->dead && (s->state == TCP_CLOSE)) |
s | 1316 | net/inet/af_inet.c | if (s->saddr) { |
s | 1317 | net/inet/af_inet.c | if (s->saddr != laddr) |
s | 1322 | net/inet/af_inet.c | if (s->daddr) { |
s | 1323 | net/inet/af_inet.c | if (s->daddr != raddr) |
s | 1328 | net/inet/af_inet.c | if (s->dummy_th.dest) { |
s | 1329 | net/inet/af_inet.c | if (s->dummy_th.dest != rnum) |
s | 1335 | net/inet/af_inet.c | return s; |
s | 1339 | net/inet/af_inet.c | result = s; |
s | 1354 | net/inet/af_inet.c | struct sock *s; |
s | 1356 | net/inet/af_inet.c | s=sk; |
s | 1358 | net/inet/af_inet.c | for(; s != NULL; s = s->next) |
s | 1360 | net/inet/af_inet.c | if (s->num != num) |
s | 1362 | net/inet/af_inet.c | if(s->dead && (s->state == TCP_CLOSE)) |
s | 1364 | net/inet/af_inet.c | if(s->daddr && s->daddr!=raddr) |
s | 1366 | net/inet/af_inet.c | if(s->saddr && s->saddr!=laddr) |
s | 1368 | net/inet/af_inet.c | return(s); |
s | 1383 | net/inet/af_inet.c | struct sock *s; |
s | 1397 | net/inet/af_inet.c | s=sk; |
s | 1399 | net/inet/af_inet.c | for(; s != NULL; s = s->next) |
s | 1401 | net/inet/af_inet.c | if (s->num != hnum) |
s | 1403 | net/inet/af_inet.c | if(s->dead && (s->state == TCP_CLOSE)) |
s | 1405 | net/inet/af_inet.c | if(s->daddr && s->daddr!=raddr) |
s | 1407 | net/inet/af_inet.c | if (s->dummy_th.dest != rnum && s->dummy_th.dest != 0) |
s | 1409 | net/inet/af_inet.c | if(s->saddr && s->saddr!=laddr) |
s | 1411 | net/inet/af_inet.c | return(s); |
s | 80 | net/inet/ipx.c | ipx_socket *s; |
s | 83 | net/inet/ipx.c | s=ipx_socket_list; |
s | 84 | net/inet/ipx.c | if(s==sk) |
s | 86 | net/inet/ipx.c | ipx_socket_list=s->next; |
s | 90 | net/inet/ipx.c | while(s && s->next) |
s | 92 | net/inet/ipx.c | if(s->next==sk) |
s | 94 | net/inet/ipx.c | s->next=sk->next; |
s | 98 | net/inet/ipx.c | s=s->next; |
s | 113 | net/inet/ipx.c | ipx_socket *s; |
s | 114 | net/inet/ipx.c | s=ipx_socket_list; |
s | 115 | net/inet/ipx.c | while(s) |
s | 117 | net/inet/ipx.c | if(s->ipx_source_addr.sock==port) |
s | 119 | net/inet/ipx.c | return(s); |
s | 121 | net/inet/ipx.c | s=s->next; |
s | 150 | net/inet/ipx.c | ipx_socket *s; |
s | 158 | net/inet/ipx.c | for (s = ipx_socket_list; s != NULL; s = s->next) |
s | 160 | net/inet/ipx.c | len += sprintf (buffer+len,"%02X ", s->ipx_type); |
s | 161 | net/inet/ipx.c | len += sprintf (buffer+len,"%08lX:%02X%02X%02X%02X%02X%02X:%04X ", htonl(s->ipx_source_addr.net), |
s | 162 | net/inet/ipx.c | s->ipx_source_addr.node[0], s->ipx_source_addr.node[1], s->ipx_source_addr.node[2], |
s | 163 | net/inet/ipx.c | s->ipx_source_addr.node[3], s->ipx_source_addr.node[4], s->ipx_source_addr.node[5], |
s | 164 | net/inet/ipx.c | htons(s->ipx_source_addr.sock)); |
s | 165 | net/inet/ipx.c | len += sprintf (buffer+len,"%08lX:%02X%02X%02X%02X%02X%02X:%04X ", htonl(s->ipx_dest_addr.net), |
s | 166 | net/inet/ipx.c | s->ipx_dest_addr.node[0], s->ipx_dest_addr.node[1], s->ipx_dest_addr.node[2], |
s | 167 | net/inet/ipx.c | s->ipx_dest_addr.node[3], s->ipx_dest_addr.node[4], s->ipx_dest_addr.node[5], |
s | 168 | net/inet/ipx.c | htons(s->ipx_dest_addr.sock)); |
s | 169 | net/inet/ipx.c | len += sprintf (buffer+len,"%08lX:%08lX ", s->wmem_alloc, s->rmem_alloc); |
s | 170 | net/inet/ipx.c | len += sprintf (buffer+len,"%02X %d\n", s->state, SOCK_INODE(s->socket)->i_uid); |
s | 254 | net/inet/tcp.c | static struct sk_buff *tcp_find_established(struct sock *s) |
s | 256 | net/inet/tcp.c | struct sk_buff *p=skb_peek(&s->receive_queue); |
s | 265 | net/inet/tcp.c | while(p!=skb_peek(&s->receive_queue)); |
s | 305 | net/inet/tcp.c | static struct sk_buff *tcp_dequeue_established(struct sock *s) |
s | 311 | net/inet/tcp.c | skb=tcp_find_established(s); |
s | 52 | tools/build.c | short s[2]; |
s | 73 | tools/build.c | return t.s[0]; |
s | 22 | zBoot/gzip.h | # define memzero(s, n) memset ((s), 0, (n)) |
s | 27 | zBoot/gzip.h | # define memcpy(d, s, n) bcopy((s), (d), (n)) |
s | 29 | zBoot/gzip.h | # define memzero(s, n) bzero((s), (n)) |
s | 268 | zBoot/gzip.h | extern ulg updcrc OF((uch *s, unsigned n)); |
s | 273 | zBoot/gzip.h | extern char *strlwr OF((char *s)); |
s | 99 | zBoot/inflate.c | int huft_build(b, n, s, d, e, t, m) |
s | 102 | zBoot/inflate.c | unsigned s; /* number of simple-valued codes (0..s-1) */ |
s | 266 | zBoot/inflate.c | else if (*p < s) |
s | 273 | zBoot/inflate.c | r.e = (uch)e[*p - s]; /* non-simple--look up in lists */ |
s | 274 | zBoot/inflate.c | r.v.n = d[*p++ - s]; |
s | 128 | zBoot/misc.c | static void puts(const char *s) |
s | 136 | zBoot/misc.c | while ( ( c = *s++ ) != '\0' ) { |
s | 159 | zBoot/misc.c | __ptr_t memset(__ptr_t s, int c, size_t n) |
s | 162 | zBoot/misc.c | char *ss = (char*)s; |
s | 171 | zBoot/misc.c | char *d = (char *)__dest, *s = (char *)__src; |
s | 173 | zBoot/misc.c | for (i=0;i<__n;i++) d[i] = s[i]; |
s | 183 | zBoot/misc.c | ulg updcrc(s, n) |
s | 184 | zBoot/misc.c | uch *s; /* pointer to bytes to pump through */ |
s | 191 | zBoot/misc.c | if (s == NULL) { |
s | 196 | zBoot/misc.c | c = crc_32_tab[((int)c ^ (*s++)) & 0xff] ^ (c >> 8); |