tag | line | file | source code |
s | 49 | drivers/FPU-emu/reg_ld_str.c | long double *s = (long double *)FPU_data_address; |
s | 55 | drivers/FPU-emu/reg_ld_str.c | sigl = get_fs_long((unsigned long *) s); |
s | 56 | drivers/FPU-emu/reg_ld_str.c | sigh = get_fs_long(1 + (unsigned long *) s); |
s | 57 | drivers/FPU-emu/reg_ld_str.c | exp = get_fs_word(4 + (unsigned short *) s); |
s | 296 | drivers/FPU-emu/reg_ld_str.c | long long s; |
s | 299 | drivers/FPU-emu/reg_ld_str.c | ((unsigned long *)&s)[0] = get_fs_long((unsigned long *) _s); |
s | 300 | drivers/FPU-emu/reg_ld_str.c | ((unsigned long *)&s)[1] = get_fs_long(1 + (unsigned long *) _s); |
s | 303 | drivers/FPU-emu/reg_ld_str.c | if (s == 0) |
s | 306 | drivers/FPU-emu/reg_ld_str.c | if (s > 0) |
s | 310 | drivers/FPU-emu/reg_ld_str.c | s = -s; |
s | 315 | drivers/FPU-emu/reg_ld_str.c | significand(&FPU_loaded_data) = s; |
s | 326 | drivers/FPU-emu/reg_ld_str.c | long s; |
s | 330 | drivers/FPU-emu/reg_ld_str.c | s = (long)get_fs_long((unsigned long *) _s); |
s | 333 | drivers/FPU-emu/reg_ld_str.c | if (s == 0) |
s | 336 | drivers/FPU-emu/reg_ld_str.c | if (s > 0) |
s | 340 | drivers/FPU-emu/reg_ld_str.c | s = -s; |
s | 345 | drivers/FPU-emu/reg_ld_str.c | FPU_loaded_data.sigh = s; |
s | 357 | drivers/FPU-emu/reg_ld_str.c | int s, e; |
s | 361 | drivers/FPU-emu/reg_ld_str.c | s = (short)get_fs_word((unsigned short *) _s); |
s | 364 | drivers/FPU-emu/reg_ld_str.c | if (s == 0) |
s | 367 | drivers/FPU-emu/reg_ld_str.c | if (s > 0) |
s | 371 | drivers/FPU-emu/reg_ld_str.c | s = -s; |
s | 376 | drivers/FPU-emu/reg_ld_str.c | FPU_loaded_data.sigh = s << 16; |
s | 388 | drivers/FPU-emu/reg_ld_str.c | char *s = (char *)FPU_data_address; |
s | 397 | drivers/FPU-emu/reg_ld_str.c | bcd = (unsigned char)get_fs_byte((unsigned char *) s+pos); |
s | 408 | drivers/FPU-emu/reg_ld_str.c | ((unsigned char)get_fs_byte((unsigned char *) s+9)) & 0x80 ? |
s | 1155 | drivers/FPU-emu/reg_ld_str.c | char *s = (char *)FPU_data_address; |
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+4)); |
s | 1163 | drivers/FPU-emu/reg_ld_str.c | tag_word = get_fs_word((unsigned short *) (s+8)); |
s | 1164 | drivers/FPU-emu/reg_ld_str.c | ip_offset = get_fs_long((unsigned long *) (s+0x0c)); |
s | 1165 | drivers/FPU-emu/reg_ld_str.c | cs_selector = get_fs_long((unsigned long *) (s+0x10)); |
s | 1166 | drivers/FPU-emu/reg_ld_str.c | data_operand_offset = get_fs_long((unsigned long *) (s+0x14)); |
s | 1167 | drivers/FPU-emu/reg_ld_str.c | operand_selector = get_fs_long((unsigned long *) (s+0x18)); |
s | 1215 | drivers/FPU-emu/reg_ld_str.c | return s + 0x1c; |
s | 1223 | drivers/FPU-emu/reg_ld_str.c | char *s = fldenv(); |
s | 1228 | drivers/FPU-emu/reg_ld_str.c | FPU_data_address = (void *)(s+i*10); |
s | 1021 | drivers/block/mcd.c | int s; |
s | 1033 | drivers/block/mcd.c | s = inb(MCDPORT(0)) & 0xFF; |
s | 1034 | drivers/block/mcd.c | *result = (unsigned char) s; |
s | 105 | drivers/block/ramdisk.c | struct minix_super_block s; |
s | 136 | drivers/block/ramdisk.c | *((struct minix_super_block *) &s) = |
s | 139 | drivers/block/ramdisk.c | nblocks = s.s_nzones << s.s_log_zone_size; |
s | 140 | drivers/block/ramdisk.c | if (s.s_magic != MINIX_SUPER_MAGIC && |
s | 141 | drivers/block/ramdisk.c | s.s_magic != MINIX_SUPER_MAGIC2) { |
s | 1294 | drivers/char/console.c | void * memsetw(void * s,unsigned short c,int count) |
s | 1300 | drivers/char/console.c | :"a" (c),"D" (s),"c" (count) |
s | 1302 | drivers/char/console.c | return s; |
s | 1562 | drivers/char/console.c | static void highlight(const int currcons, const int s, const int e) |
s | 1566 | drivers/char/console.c | p1 = (unsigned char *)origin - hwscroll_offset + s + 1; |
s | 366 | drivers/char/tpqic02.c | static void tpqputs(char *s) |
s | 368 | drivers/char/tpqic02.c | printk(TPQIC_NAME ": %s\n", s); |
s | 419 | drivers/char/tpqic02.c | static int decode_exception_nr(short s) /* s must be short, because of sign-extension */ |
s | 424 | drivers/char/tpqic02.c | if ((s & exception_list[i].mask)==exception_list[i].code) |
s | 440 | drivers/char/tpqic02.c | static void report_error(int s) |
s | 444 | drivers/char/tpqic02.c | if (s & TP_ST1) { |
s | 445 | drivers/char/tpqic02.c | if (s & TP_ILL) /* 12: Illegal command. FATAL */ |
s | 447 | drivers/char/tpqic02.c | if (s & TP_POR) /* 13: Reset occurred. FATAL */ |
s | 450 | drivers/char/tpqic02.c | else if (s & TP_ST0) { |
s | 451 | drivers/char/tpqic02.c | if (s & TP_EOR) { /* extra: 15: End of Recorded Media. CONTINUABLE */ |
s | 455 | drivers/char/tpqic02.c | else if (s & TP_EOM) /* 4: End Of Media. CONTINUABLE */ |
s | 457 | drivers/char/tpqic02.c | else if (s & TP_USL) /* 2: Drive not online. FATAL */ |
s | 459 | drivers/char/tpqic02.c | else if (s & TP_CNI) { /* 1: Cartridge not in place. FATAL */ |
s | 465 | drivers/char/tpqic02.c | else if (s & TP_UDA) { |
s | 466 | drivers/char/tpqic02.c | if (s & TP_BNL) { |
s | 467 | drivers/char/tpqic02.c | if (s & TP_NDT) { |
s | 468 | drivers/char/tpqic02.c | if (s & TP_BOM) /* 9: Read error. No data detected & EOM. CONTINUABLE */ |
s | 470 | drivers/char/tpqic02.c | else if (s & TP_EOM) /* 10: Read error. No data detected & BOM. CONTINUABLE */ |
s | 480 | drivers/char/tpqic02.c | if (s & TP_EOM) /* 5: Read or Write error. Rewind tape. FATAL */ |
s | 492 | drivers/char/tpqic02.c | else if (s & TP_FIL) { |
s | 493 | drivers/char/tpqic02.c | if (s & TP_MBD) { /* 14: Marginal block detected. CONTINUABLE */ |
s | 499 | drivers/char/tpqic02.c | else if (s & TP_WRP) /* 3: Write protected cartridge. FATAL */ |
s | 767 | drivers/char/tpqic02.c | int s, n; |
s | 801 | drivers/char/tpqic02.c | do s = inb_p(QIC_STAT_PORT); |
s | 802 | drivers/char/tpqic02.c | while ((s & QIC_STAT_MASK) == QIC_STAT_MASK); /* wait for ready or exception */ |
s | 804 | drivers/char/tpqic02.c | if ((s & QIC_STAT_EXCEPTION) == 0) { /* if exception */ |
s | 2132 | drivers/char/tpqic02.c | int s; |
s | 2177 | drivers/char/tpqic02.c | s = tp_sense(TP_WRP|TP_EOM|TP_BOM|TP_CNI|TP_EOR); |
s | 2178 | drivers/char/tpqic02.c | if (s != TE_OK) { |
s | 2202 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_REWIND, TIM_R); |
s | 2203 | drivers/char/tpqic02.c | if (s != 0) { |
s | 2250 | drivers/char/tpqic02.c | s = 0; |
s | 2253 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_DENS_11, TIM_S); |
s | 2256 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_DENS_24, TIM_S); |
s | 2259 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_DENS_120, TIM_S); |
s | 2262 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_DENS_150, TIM_S); |
s | 2265 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_DENS_300, TIM_S); |
s | 2268 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_DENS_600, TIM_S); |
s | 2271 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_RETEN, TIM_R); |
s | 2273 | drivers/char/tpqic02.c | if (s != 0) { |
s | 238 | drivers/char/vt.c | u_char s; |
s | 245 | drivers/char/vt.c | if ((s = get_fs_byte((char *) &a->kb_table)) >= NR_KEYMAPS) |
s | 247 | drivers/char/vt.c | put_fs_word(key_map[s][i], (short *) &a->kb_value); |
s | 254 | drivers/char/vt.c | u_char s; |
s | 262 | drivers/char/vt.c | if ((s = get_fs_byte((char *) &a->kb_table)) >= NR_KEYMAPS) |
s | 268 | drivers/char/vt.c | key_map[s][i] = v; |
s | 882 | drivers/net/slip.c | slip_esc(unsigned char *s, unsigned char *d, int len) |
s | 900 | drivers/net/slip.c | switch(*s) { |
s | 910 | drivers/net/slip.c | d[count++] = *s; |
s | 912 | drivers/net/slip.c | ++s; |
s | 919 | drivers/net/slip.c | slip_unesc(struct slip *sl, unsigned char *s, int count, int error) |
s | 923 | drivers/net/slip.c | for (i = 0; i < count; ++i, ++s) { |
s | 924 | drivers/net/slip.c | switch(*s) { |
s | 932 | drivers/net/slip.c | sl_enqueue(sl, *s); |
s | 939 | drivers/net/slip.c | sl_enqueue(sl, *s); |
s | 950 | drivers/net/slip.c | sl_enqueue(sl, *s); |
s | 965 | drivers/net/slip.c | slip_esc6(unsigned char *s, unsigned char *d, int len) |
s | 985 | drivers/net/slip.c | v = (v << 8) | s[i]; |
s | 1006 | drivers/net/slip.c | slip_unesc6(struct slip *sl, unsigned char *s, int count, int error) |
s | 1011 | drivers/net/slip.c | for (i = 0; i < count; ++i, ++s) { |
s | 1012 | drivers/net/slip.c | if (*s == 0x70) { |
s | 1028 | drivers/net/slip.c | } else if (*s >= 0x30 && *s < 0x70) { |
s | 1029 | drivers/net/slip.c | sl->xdata = (sl->xdata << 6) | ((*s - 0x30) & 0x3F); |
s | 76 | drivers/net/slip.h | extern int slip_esc(unsigned char *s, unsigned char *d, int len); |
s | 77 | drivers/net/slip.h | extern int slip_esc6(unsigned char *s, unsigned char *d, int len); |
s | 78 | drivers/net/slip.h | extern void slip_unesc(struct slip *sl, unsigned char *s, int count, int error); |
s | 79 | drivers/net/slip.h | extern void slip_unesc6(struct slip *sl, unsigned char *s, int count, int error); |
s | 2067 | drivers/scsi/aha152x.c | int s; |
s | 2071 | drivers/scsi/aha152x.c | s=GETPORT(SCSISEQ); |
s | 2073 | drivers/scsi/aha152x.c | if( s & TEMODEO ) printk("TARGET MODE "); |
s | 2074 | drivers/scsi/aha152x.c | if( s & ENSELO ) printk("SELO "); |
s | 2075 | drivers/scsi/aha152x.c | if( s & ENSELI ) printk("SELI "); |
s | 2076 | drivers/scsi/aha152x.c | if( s & ENRESELI ) printk("RESELI "); |
s | 2077 | drivers/scsi/aha152x.c | if( s & ENAUTOATNO ) printk("AUTOATNO "); |
s | 2078 | drivers/scsi/aha152x.c | if( s & ENAUTOATNI ) printk("AUTOATNI "); |
s | 2079 | drivers/scsi/aha152x.c | if( s & ENAUTOATNP ) printk("AUTOATNP "); |
s | 2080 | drivers/scsi/aha152x.c | if( s & SCSIRSTO ) printk("SCSIRSTO "); |
s | 2084 | drivers/scsi/aha152x.c | s=GETPORT(SCSISIG); |
s | 2085 | drivers/scsi/aha152x.c | switch(s & P_MASK) |
s | 2115 | drivers/scsi/aha152x.c | s=GETPORT(SSTAT0); |
s | 2116 | drivers/scsi/aha152x.c | if( s & TARGET ) printk("TARGET "); |
s | 2117 | drivers/scsi/aha152x.c | if( s & SELDO ) printk("SELDO "); |
s | 2118 | drivers/scsi/aha152x.c | if( s & SELDI ) printk("SELDI "); |
s | 2119 | drivers/scsi/aha152x.c | if( s & SELINGO ) printk("SELINGO "); |
s | 2120 | drivers/scsi/aha152x.c | if( s & SWRAP ) printk("SWRAP "); |
s | 2121 | drivers/scsi/aha152x.c | if( s & SDONE ) printk("SDONE "); |
s | 2122 | drivers/scsi/aha152x.c | if( s & SPIORDY ) printk("SPIORDY "); |
s | 2123 | drivers/scsi/aha152x.c | if( s & DMADONE ) printk("DMADONE "); |
s | 2125 | drivers/scsi/aha152x.c | s=GETPORT(SSTAT1); |
s | 2126 | drivers/scsi/aha152x.c | if( s & SELTO ) printk("SELTO "); |
s | 2127 | drivers/scsi/aha152x.c | if( s & ATNTARG ) printk("ATNTARG "); |
s | 2128 | drivers/scsi/aha152x.c | if( s & SCSIRSTI ) printk("SCSIRSTI "); |
s | 2129 | drivers/scsi/aha152x.c | if( s & PHASEMIS ) printk("PHASEMIS "); |
s | 2130 | drivers/scsi/aha152x.c | if( s & BUSFREE ) printk("BUSFREE "); |
s | 2131 | drivers/scsi/aha152x.c | if( s & SCSIPERR ) printk("SCSIPERR "); |
s | 2132 | drivers/scsi/aha152x.c | if( s & PHASECHG ) printk("PHASECHG "); |
s | 2133 | drivers/scsi/aha152x.c | if( s & REQINIT ) printk("REQINIT "); |
s | 2139 | drivers/scsi/aha152x.c | s=GETPORT(SSTAT0) & GETPORT(SIMODE0); |
s | 2141 | drivers/scsi/aha152x.c | if( s & TARGET ) printk("TARGET "); |
s | 2142 | drivers/scsi/aha152x.c | if( s & SELDO ) printk("SELDO "); |
s | 2143 | drivers/scsi/aha152x.c | if( s & SELDI ) printk("SELDI "); |
s | 2144 | drivers/scsi/aha152x.c | if( s & SELINGO ) printk("SELINGO "); |
s | 2145 | drivers/scsi/aha152x.c | if( s & SWRAP ) printk("SWRAP "); |
s | 2146 | drivers/scsi/aha152x.c | if( s & SDONE ) printk("SDONE "); |
s | 2147 | drivers/scsi/aha152x.c | if( s & SPIORDY ) printk("SPIORDY "); |
s | 2148 | drivers/scsi/aha152x.c | if( s & DMADONE ) printk("DMADONE "); |
s | 2150 | drivers/scsi/aha152x.c | s=GETPORT(SSTAT1) & GETPORT(SIMODE1); |
s | 2152 | drivers/scsi/aha152x.c | if( s & SELTO ) printk("SELTO "); |
s | 2153 | drivers/scsi/aha152x.c | if( s & ATNTARG ) printk("ATNTARG "); |
s | 2154 | drivers/scsi/aha152x.c | if( s & SCSIRSTI ) printk("SCSIRSTI "); |
s | 2155 | drivers/scsi/aha152x.c | if( s & PHASEMIS ) printk("PHASEMIS "); |
s | 2156 | drivers/scsi/aha152x.c | if( s & BUSFREE ) printk("BUSFREE "); |
s | 2157 | drivers/scsi/aha152x.c | if( s & SCSIPERR ) printk("SCSIPERR "); |
s | 2158 | drivers/scsi/aha152x.c | if( s & PHASECHG ) printk("PHASECHG "); |
s | 2159 | drivers/scsi/aha152x.c | if( s & REQINIT ) printk("REQINIT "); |
s | 2164 | drivers/scsi/aha152x.c | s=GETPORT(SXFRCTL0); |
s | 2165 | drivers/scsi/aha152x.c | if( s & SCSIEN ) printk("SCSIEN "); |
s | 2166 | drivers/scsi/aha152x.c | if( s & DMAEN ) printk("DMAEN "); |
s | 2167 | drivers/scsi/aha152x.c | if( s & CH1 ) printk("CH1 "); |
s | 2168 | drivers/scsi/aha152x.c | if( s & CLRSTCNT ) printk("CLRSTCNT "); |
s | 2169 | drivers/scsi/aha152x.c | if( s & SPIOEN ) printk("SPIOEN "); |
s | 2170 | drivers/scsi/aha152x.c | if( s & CLRCH1 ) printk("CLRCH1 "); |
s | 2175 | drivers/scsi/aha152x.c | s=GETPORT(SCSISIG); |
s | 2176 | drivers/scsi/aha152x.c | if( s & ATNI ) printk("ATNI "); |
s | 2177 | drivers/scsi/aha152x.c | if( s & SELI ) printk("SELI "); |
s | 2178 | drivers/scsi/aha152x.c | if( s & BSYI ) printk("BSYI "); |
s | 2179 | drivers/scsi/aha152x.c | if( s & REQI ) printk("REQI "); |
s | 2180 | drivers/scsi/aha152x.c | if( s & ACKI ) printk("ACKI "); |
s | 2187 | drivers/scsi/aha152x.c | s=GETPORT(SSTAT2); |
s | 2188 | drivers/scsi/aha152x.c | if( s & SOFFSET) printk("SOFFSET "); |
s | 2189 | drivers/scsi/aha152x.c | if( s & SEMPTY) printk("SEMPTY "); |
s | 2190 | drivers/scsi/aha152x.c | if( s & SFULL) printk("SFULL "); |
s | 2191 | drivers/scsi/aha152x.c | printk("); SFCNT ( %d ); ", s & (SFULL|SFCNT) ); |
s | 2195 | drivers/scsi/aha152x.c | s=GETPORT(SSTAT4); |
s | 2196 | drivers/scsi/aha152x.c | if( s & SYNCERR) printk("SYNCERR "); |
s | 2197 | drivers/scsi/aha152x.c | if( s & FWERR) printk("FWERR "); |
s | 2198 | drivers/scsi/aha152x.c | if( s & FRERR) printk("FRERR "); |
s | 2205 | drivers/scsi/aha152x.c | s=GETPORT(DMACNTRL0); |
s | 2206 | drivers/scsi/aha152x.c | printk( "%s ", s & _8BIT ? "8BIT" : "16BIT" ); |
s | 2207 | drivers/scsi/aha152x.c | printk( "%s ", s & DMA ? "DMA" : "PIO" ); |
s | 2208 | drivers/scsi/aha152x.c | printk( "%s ", s & WRITE_READ ? "WRITE" : "READ" ); |
s | 2209 | drivers/scsi/aha152x.c | if( s & ENDMA ) printk("ENDMA "); |
s | 2210 | drivers/scsi/aha152x.c | if( s & INTEN ) printk("INTEN "); |
s | 2211 | drivers/scsi/aha152x.c | if( s & RSTFIFO ) printk("RSTFIFO "); |
s | 2212 | drivers/scsi/aha152x.c | if( s & SWINT ) printk("SWINT "); |
s | 2219 | drivers/scsi/aha152x.c | s=GETPORT(DMACNTRL1); |
s | 2220 | drivers/scsi/aha152x.c | if( s & PWRDWN ) printk("PWRDN "); |
s | 2224 | drivers/scsi/aha152x.c | printk("STK ( %d ); ", s & 0xf); |
s | 2227 | drivers/scsi/aha152x.c | s=GETPORT(DMASTAT); |
s | 2228 | drivers/scsi/aha152x.c | if( s & ATDONE ) printk("ATDONE "); |
s | 2229 | drivers/scsi/aha152x.c | if( s & WORDRDY ) printk("WORDRDY "); |
s | 2230 | drivers/scsi/aha152x.c | if( s & DFIFOFULL ) printk("DFIFOFULL "); |
s | 2231 | drivers/scsi/aha152x.c | if( s & DFIFOEMP ) printk("DFIFOEMP "); |
s | 2245 | drivers/scsi/aha152x.c | int s; |
s | 2249 | drivers/scsi/aha152x.c | s=GETPORT(SIMODE0); |
s | 2250 | drivers/scsi/aha152x.c | if( s & ENSELDO ) printk("ENSELDO "); |
s | 2251 | drivers/scsi/aha152x.c | if( s & ENSELDI ) printk("ENSELDI "); |
s | 2252 | drivers/scsi/aha152x.c | if( s & ENSELINGO ) printk("ENSELINGO "); |
s | 2253 | drivers/scsi/aha152x.c | if( s & ENSWRAP ) printk("ENSWRAP "); |
s | 2254 | drivers/scsi/aha152x.c | if( s & ENSDONE ) printk("ENSDONE "); |
s | 2255 | drivers/scsi/aha152x.c | if( s & ENSPIORDY ) printk("ENSPIORDY "); |
s | 2256 | drivers/scsi/aha152x.c | if( s & ENDMADONE ) printk("ENDMADONE "); |
s | 2258 | drivers/scsi/aha152x.c | s=GETPORT(SIMODE1); |
s | 2259 | drivers/scsi/aha152x.c | if( s & ENSELTIMO ) printk("ENSELTIMO "); |
s | 2260 | drivers/scsi/aha152x.c | if( s & ENATNTARG ) printk("ENATNTARG "); |
s | 2261 | drivers/scsi/aha152x.c | if( s & ENPHASEMIS ) printk("ENPHASEMIS "); |
s | 2262 | drivers/scsi/aha152x.c | if( s & ENBUSFREE ) printk("ENBUSFREE "); |
s | 2263 | drivers/scsi/aha152x.c | if( s & ENSCSIPERR ) printk("ENSCSIPERR "); |
s | 2264 | drivers/scsi/aha152x.c | if( s & ENPHASECHG ) printk("ENPHASECHG "); |
s | 2265 | drivers/scsi/aha152x.c | if( s & ENREQINIT ) printk("ENREQINIT "); |
s | 98 | drivers/scsi/constants.c | int i,s; |
s | 100 | drivers/scsi/constants.c | for ( i = 1, s = COMMAND_SIZE(command[0]); i < s; ++i) |
s | 362 | drivers/scsi/constants.c | int i, s; |
s | 373 | drivers/scsi/constants.c | s = sense_buffer[7] + 8; |
s | 374 | drivers/scsi/constants.c | if(s > sizeof(SCpnt->sense_buffer)) s = sizeof(SCpnt->sense_buffer); |
s | 436 | drivers/scsi/constants.c | s = 4; |
s | 440 | drivers/scsi/constants.c | for (i = 0; i < s; ++i) |
s | 453 | drivers/scsi/pas16.c | register unsigned char *s = src; |
s | 459 | drivers/scsi/pas16.c | outb( *s++, reg ); |
s | 357 | drivers/scsi/t128.c | T_DATA_REG_OFFSET), *s = src; |
s | 362 | drivers/scsi/t128.c | *reg = *s++; |
s | 989 | drivers/scsi/ultrastor.c | unsigned int s = config.heads * config.sectors; |
s | 993 | drivers/scsi/ultrastor.c | dkinfo[2] = size / s; /* Ignore partial cylinders */ |
s | 54 | drivers/sound/os.h | #define COPY_FROM_USER(d, s, o, c) memcpy_fromfs((d), &((s)[o]), (c)) |
s | 55 | drivers/sound/os.h | #define COPY_TO_USER(d, o, s, c) memcpy_tofs(&((d)[o]), (s), (c)) |
s | 56 | drivers/sound/os.h | #define IOCTL_FROM_USER(d, s, o, c) memcpy_fromfs((d), &((s)[o]), (c)) |
s | 57 | drivers/sound/os.h | #define IOCTL_TO_USER(d, o, s, c) memcpy_tofs(&((d)[o]), (s), (c)) |
s | 65 | drivers/sound/soundcard.c | put_status (char *s) |
s | 67 | drivers/sound/soundcard.c | int l = strlen (s); |
s | 72 | drivers/sound/soundcard.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 | 201 | fs/ext2/super.c | struct super_block * ext2_read_super (struct super_block * s, void * data, |
s | 208 | fs/ext2/super.c | int dev = s->s_dev; |
s | 215 | fs/ext2/super.c | s->u.ext2_sb.s_mount_opt = 0; |
s | 217 | fs/ext2/super.c | &s->u.ext2_sb.s_mount_opt)) { |
s | 218 | fs/ext2/super.c | s->s_dev = 0; |
s | 222 | fs/ext2/super.c | lock_super (s); |
s | 225 | fs/ext2/super.c | s->s_dev = 0; |
s | 226 | fs/ext2/super.c | unlock_super (s); |
s | 233 | fs/ext2/super.c | s->u.ext2_sb.s_es = es; |
s | 234 | fs/ext2/super.c | s->s_magic = es->s_magic; |
s | 235 | fs/ext2/super.c | if (s->s_magic != EXT2_SUPER_MAGIC |
s | 237 | fs/ext2/super.c | && s->s_magic != EXT2_PRE_02B_MAGIC |
s | 240 | fs/ext2/super.c | s->s_dev = 0; |
s | 241 | fs/ext2/super.c | unlock_super (s); |
s | 248 | fs/ext2/super.c | s->s_blocksize = EXT2_MIN_BLOCK_SIZE << es->s_log_block_size; |
s | 249 | fs/ext2/super.c | s->s_blocksize_bits = EXT2_BLOCK_SIZE_BITS(s); |
s | 250 | fs/ext2/super.c | if (s->s_blocksize != BLOCK_SIZE && |
s | 251 | fs/ext2/super.c | (s->s_blocksize == 1024 || s->s_blocksize == 2048 || |
s | 252 | fs/ext2/super.c | s->s_blocksize == 4096)) { |
s | 256 | fs/ext2/super.c | set_blocksize (dev, s->s_blocksize); |
s | 257 | fs/ext2/super.c | logic_sb_block = sb_block / s->s_blocksize; |
s | 258 | fs/ext2/super.c | offset = sb_block % s->s_blocksize; |
s | 259 | fs/ext2/super.c | bh = bread (dev, logic_sb_block, s->s_blocksize); |
s | 263 | fs/ext2/super.c | s->u.ext2_sb.s_es = es; |
s | 265 | fs/ext2/super.c | s->s_dev = 0; |
s | 266 | fs/ext2/super.c | unlock_super (s); |
s | 272 | fs/ext2/super.c | s->u.ext2_sb.s_frag_size = EXT2_MIN_FRAG_SIZE << |
s | 274 | fs/ext2/super.c | if (s->u.ext2_sb.s_frag_size) |
s | 275 | fs/ext2/super.c | s->u.ext2_sb.s_frags_per_block = s->s_blocksize / |
s | 276 | fs/ext2/super.c | s->u.ext2_sb.s_frag_size; |
s | 278 | fs/ext2/super.c | s->s_magic = 0; |
s | 279 | fs/ext2/super.c | s->u.ext2_sb.s_blocks_per_group = es->s_blocks_per_group; |
s | 280 | fs/ext2/super.c | s->u.ext2_sb.s_frags_per_group = es->s_frags_per_group; |
s | 281 | fs/ext2/super.c | s->u.ext2_sb.s_inodes_per_group = es->s_inodes_per_group; |
s | 282 | fs/ext2/super.c | s->u.ext2_sb.s_inodes_per_block = s->s_blocksize / |
s | 284 | fs/ext2/super.c | s->u.ext2_sb.s_desc_per_block = s->s_blocksize / |
s | 286 | fs/ext2/super.c | s->u.ext2_sb.s_sbh = bh; |
s | 287 | fs/ext2/super.c | s->u.ext2_sb.s_es = es; |
s | 288 | fs/ext2/super.c | s->u.ext2_sb.s_mount_state = es->s_state; |
s | 289 | fs/ext2/super.c | s->u.ext2_sb.s_rename_lock = 0; |
s | 290 | fs/ext2/super.c | s->u.ext2_sb.s_rename_wait = NULL; |
s | 292 | fs/ext2/super.c | if (s->s_magic == EXT2_PRE_02B_MAGIC) { |
s | 295 | fs/ext2/super.c | s->s_dev = 0; |
s | 296 | fs/ext2/super.c | unlock_super (s); |
s | 304 | fs/ext2/super.c | if (!(s->s_flags & MS_RDONLY)) { |
s | 305 | fs/ext2/super.c | s->s_dev = 0; |
s | 306 | fs/ext2/super.c | unlock_super (s); |
s | 311 | fs/ext2/super.c | if (!convert_pre_02b_fs (s, bh)) { |
s | 312 | fs/ext2/super.c | s->s_dev = 0; |
s | 313 | fs/ext2/super.c | unlock_super (s); |
s | 322 | fs/ext2/super.c | if (s->s_magic != EXT2_SUPER_MAGIC) { |
s | 323 | fs/ext2/super.c | s->s_dev = 0; |
s | 324 | fs/ext2/super.c | unlock_super (s); |
s | 331 | fs/ext2/super.c | if (s->s_blocksize != bh->b_size) { |
s | 332 | fs/ext2/super.c | s->s_dev = 0; |
s | 333 | fs/ext2/super.c | unlock_super (s); |
s | 341 | fs/ext2/super.c | if (s->s_blocksize != s->u.ext2_sb.s_frag_size) { |
s | 342 | fs/ext2/super.c | s->s_dev = 0; |
s | 343 | fs/ext2/super.c | unlock_super (s); |
s | 346 | fs/ext2/super.c | s->u.ext2_sb.s_frag_size, s->s_blocksize); |
s | 350 | fs/ext2/super.c | s->u.ext2_sb.s_groups_count = (es->s_blocks_count - |
s | 352 | fs/ext2/super.c | EXT2_BLOCKS_PER_GROUP(s) - 1) / |
s | 353 | fs/ext2/super.c | EXT2_BLOCKS_PER_GROUP(s); |
s | 355 | fs/ext2/super.c | s->u.ext2_sb.s_group_desc[i] = NULL; |
s | 356 | fs/ext2/super.c | bh_count = (s->u.ext2_sb.s_groups_count + EXT2_DESC_PER_BLOCK(s) - 1) / |
s | 357 | fs/ext2/super.c | EXT2_DESC_PER_BLOCK(s); |
s | 359 | fs/ext2/super.c | s->s_dev = 0; |
s | 360 | fs/ext2/super.c | unlock_super (s); |
s | 366 | fs/ext2/super.c | s->u.ext2_sb.s_group_desc[i] = bread (dev, logic_sb_block + i + 1, |
s | 367 | fs/ext2/super.c | s->s_blocksize); |
s | 368 | fs/ext2/super.c | if (!s->u.ext2_sb.s_group_desc[i]) { |
s | 369 | fs/ext2/super.c | s->s_dev = 0; |
s | 370 | fs/ext2/super.c | unlock_super (s); |
s | 372 | fs/ext2/super.c | brelse (s->u.ext2_sb.s_group_desc[i]); |
s | 379 | fs/ext2/super.c | s->u.ext2_sb.s_inode_bitmap_number[i] = 0; |
s | 380 | fs/ext2/super.c | s->u.ext2_sb.s_inode_bitmap[i] = NULL; |
s | 381 | fs/ext2/super.c | s->u.ext2_sb.s_block_bitmap_number[i] = 0; |
s | 382 | fs/ext2/super.c | s->u.ext2_sb.s_block_bitmap[i] = NULL; |
s | 384 | fs/ext2/super.c | s->u.ext2_sb.s_loaded_inode_bitmaps = 0; |
s | 385 | fs/ext2/super.c | s->u.ext2_sb.s_loaded_block_bitmaps = 0; |
s | 386 | fs/ext2/super.c | unlock_super (s); |
s | 388 | fs/ext2/super.c | s->s_dev = dev; |
s | 389 | fs/ext2/super.c | s->s_op = &ext2_sops; |
s | 390 | fs/ext2/super.c | if (!(s->s_mounted = iget (s, EXT2_ROOT_INO))) { |
s | 391 | fs/ext2/super.c | s->s_dev = 0; |
s | 393 | fs/ext2/super.c | if (s->u.ext2_sb.s_group_desc[i]) |
s | 394 | fs/ext2/super.c | brelse (s->u.ext2_sb.s_group_desc[i]); |
s | 399 | fs/ext2/super.c | if (!(s->s_flags & MS_RDONLY)) { |
s | 406 | fs/ext2/super.c | s->s_dirt = 1; |
s | 411 | fs/ext2/super.c | s->u.ext2_sb.s_group_desc[i]->b_dirt = 1; |
s | 412 | fs/ext2/super.c | s->s_dirt = 1; |
s | 415 | fs/ext2/super.c | if (!(s->u.ext2_sb.s_mount_state & EXT2_VALID_FS)) |
s | 418 | fs/ext2/super.c | else if (s->u.ext2_sb.s_mount_state & EXT2_ERROR_FS) |
s | 424 | fs/ext2/super.c | if (s->u.ext2_sb.s_mount_opt & EXT2_MOUNT_CHECK) { |
s | 426 | fs/ext2/super.c | EXT2FS_VERSION, EXT2FS_DATE, s->s_blocksize, |
s | 427 | fs/ext2/super.c | s->u.ext2_sb.s_frag_size, s->u.ext2_sb.s_groups_count, |
s | 428 | fs/ext2/super.c | EXT2_BLOCKS_PER_GROUP(s), EXT2_INODES_PER_GROUP(s)); |
s | 429 | fs/ext2/super.c | ext2_check_blocks_bitmap (s); |
s | 430 | fs/ext2/super.c | ext2_check_inodes_bitmap (s); |
s | 432 | fs/ext2/super.c | return s; |
s | 237 | fs/hpfs/hpfs_fs.c | static unsigned count_bitmap(struct super_block *s); |
s | 328 | fs/hpfs/hpfs_fs.c | struct super_block *hpfs_read_super(struct super_block *s, |
s | 352 | fs/hpfs/hpfs_fs.c | s->s_dev = 0; |
s | 360 | fs/hpfs/hpfs_fs.c | lock_super(s); |
s | 361 | fs/hpfs/hpfs_fs.c | dev = s->s_dev; |
s | 438 | fs/hpfs/hpfs_fs.c | s->s_flags |= MS_RDONLY; |
s | 444 | fs/hpfs/hpfs_fs.c | s->s_magic = HPFS_SUPER_MAGIC; |
s | 445 | fs/hpfs/hpfs_fs.c | s->s_blocksize = 512; |
s | 446 | fs/hpfs/hpfs_fs.c | s->s_blocksize_bits = 9; |
s | 447 | fs/hpfs/hpfs_fs.c | s->s_op = (struct super_operations *) &hpfs_sops; |
s | 453 | fs/hpfs/hpfs_fs.c | s->s_hpfs_root = dir_ino(superblock->root); |
s | 454 | fs/hpfs/hpfs_fs.c | s->s_hpfs_fs_size = superblock->n_sectors; |
s | 455 | fs/hpfs/hpfs_fs.c | s->s_hpfs_dirband_size = superblock->n_dir_band / 4; |
s | 456 | fs/hpfs/hpfs_fs.c | s->s_hpfs_dmap = superblock->dir_band_bitmap; |
s | 457 | fs/hpfs/hpfs_fs.c | s->s_hpfs_bitmaps = superblock->bitmaps; |
s | 458 | fs/hpfs/hpfs_fs.c | s->s_hpfs_uid = uid; |
s | 459 | fs/hpfs/hpfs_fs.c | s->s_hpfs_gid = gid; |
s | 460 | fs/hpfs/hpfs_fs.c | s->s_hpfs_mode = 0777 & ~umask; |
s | 461 | fs/hpfs/hpfs_fs.c | s->s_hpfs_n_free = -1; |
s | 462 | fs/hpfs/hpfs_fs.c | s->s_hpfs_n_free_dnodes = -1; |
s | 463 | fs/hpfs/hpfs_fs.c | s->s_hpfs_lowercase = lowercase; |
s | 464 | fs/hpfs/hpfs_fs.c | s->s_hpfs_conv = conv; |
s | 478 | fs/hpfs/hpfs_fs.c | s->s_mounted = iget(s, s->s_hpfs_root); |
s | 479 | fs/hpfs/hpfs_fs.c | unlock_super(s); |
s | 481 | fs/hpfs/hpfs_fs.c | if (!s->s_mounted) { |
s | 483 | fs/hpfs/hpfs_fs.c | s->s_dev = 0; |
s | 491 | fs/hpfs/hpfs_fs.c | root_dno = fnode_dno(dev, s->s_hpfs_root); |
s | 493 | fs/hpfs/hpfs_fs.c | de = map_dirent(s->s_mounted, root_dno, "\001\001", 2, &qbh); |
s | 497 | fs/hpfs/hpfs_fs.c | s->s_dev = 0; |
s | 501 | fs/hpfs/hpfs_fs.c | s->s_mounted->i_atime = local_to_gmt(de->read_date); |
s | 502 | fs/hpfs/hpfs_fs.c | s->s_mounted->i_mtime = local_to_gmt(de->write_date); |
s | 503 | fs/hpfs/hpfs_fs.c | s->s_mounted->i_ctime = local_to_gmt(de->creation_date); |
s | 506 | fs/hpfs/hpfs_fs.c | return s; |
s | 515 | fs/hpfs/hpfs_fs.c | s->s_dev = 0; |
s | 516 | fs/hpfs/hpfs_fs.c | unlock_super(s); |
s | 619 | fs/hpfs/hpfs_fs.c | struct super_block *s = inode->i_sb; |
s | 636 | fs/hpfs/hpfs_fs.c | inode->i_uid = s->s_hpfs_uid; |
s | 637 | fs/hpfs/hpfs_fs.c | inode->i_gid = s->s_hpfs_gid; |
s | 638 | fs/hpfs/hpfs_fs.c | inode->i_mode = s->s_hpfs_mode; |
s | 639 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_conv = s->s_hpfs_conv; |
s | 713 | fs/hpfs/hpfs_fs.c | static void hpfs_put_super(struct super_block *s) |
s | 715 | fs/hpfs/hpfs_fs.c | lock_super(s); |
s | 716 | fs/hpfs/hpfs_fs.c | s->s_dev = 0; |
s | 717 | fs/hpfs/hpfs_fs.c | unlock_super(s); |
s | 725 | fs/hpfs/hpfs_fs.c | static void hpfs_statfs(struct super_block *s, struct statfs *buf) |
s | 731 | fs/hpfs/hpfs_fs.c | if (s->s_hpfs_n_free == -1) { |
s | 732 | fs/hpfs/hpfs_fs.c | s->s_hpfs_n_free = count_bitmap(s); |
s | 733 | fs/hpfs/hpfs_fs.c | s->s_hpfs_n_free_dnodes = |
s | 734 | fs/hpfs/hpfs_fs.c | count_one_bitmap(s->s_dev, s->s_hpfs_dmap); |
s | 741 | fs/hpfs/hpfs_fs.c | put_fs_long(s->s_magic, &buf->f_type); |
s | 743 | fs/hpfs/hpfs_fs.c | put_fs_long(s->s_hpfs_fs_size, &buf->f_blocks); |
s | 744 | fs/hpfs/hpfs_fs.c | put_fs_long(s->s_hpfs_n_free, &buf->f_bfree); |
s | 745 | fs/hpfs/hpfs_fs.c | put_fs_long(s->s_hpfs_n_free, &buf->f_bavail); |
s | 746 | fs/hpfs/hpfs_fs.c | put_fs_long(s->s_hpfs_dirband_size, &buf->f_files); |
s | 747 | fs/hpfs/hpfs_fs.c | put_fs_long(s->s_hpfs_n_free_dnodes, &buf->f_ffree); |
s | 755 | fs/hpfs/hpfs_fs.c | static int hpfs_remount_fs(struct super_block *s, int *flags) |
s | 799 | fs/hpfs/hpfs_fs.c | static unsigned count_bitmap(struct super_block *s) |
s | 808 | fs/hpfs/hpfs_fs.c | n_bands = (s->s_hpfs_fs_size + 0x3fff) >> 14; |
s | 814 | fs/hpfs/hpfs_fs.c | bitmaps = map_4sectors(s->s_dev, s->s_hpfs_bitmaps, &qbh); |
s | 827 | fs/hpfs/hpfs_fs.c | count += count_one_bitmap(s->s_dev, bitmaps[n]); |
s | 120 | fs/isofs/inode.c | struct super_block *isofs_read_super(struct super_block *s,void *data, |
s | 127 | fs/isofs/inode.c | int dev=s->s_dev; |
s | 139 | fs/isofs/inode.c | s->s_dev = 0; |
s | 153 | fs/isofs/inode.c | lock_super(s); |
s | 155 | fs/isofs/inode.c | s->u.isofs_sb.s_high_sierra = high_sierra = 0; /* default is iso9660 */ |
s | 159 | fs/isofs/inode.c | s->s_dev=0; |
s | 162 | fs/isofs/inode.c | unlock_super(s); |
s | 176 | fs/isofs/inode.c | s->u.isofs_sb.s_high_sierra = 1; |
s | 198 | fs/isofs/inode.c | s->s_dev = 0; |
s | 199 | fs/isofs/inode.c | unlock_super(s); |
s | 210 | fs/isofs/inode.c | s->u.isofs_sb.s_nzones = isonum_733 (h_pri->volume_space_size); |
s | 211 | fs/isofs/inode.c | s->u.isofs_sb.s_log_zone_size = isonum_723 (h_pri->logical_block_size); |
s | 212 | fs/isofs/inode.c | s->u.isofs_sb.s_max_size = isonum_733(h_pri->volume_space_size); |
s | 219 | fs/isofs/inode.c | s->u.isofs_sb.s_nzones = isonum_733 (pri->volume_space_size); |
s | 220 | fs/isofs/inode.c | s->u.isofs_sb.s_log_zone_size = isonum_723 (pri->logical_block_size); |
s | 221 | fs/isofs/inode.c | s->u.isofs_sb.s_max_size = isonum_733(pri->volume_space_size); |
s | 224 | fs/isofs/inode.c | s->u.isofs_sb.s_ninodes = 0; /* No way to figure this out easily */ |
s | 226 | fs/isofs/inode.c | s->u.isofs_sb.s_firstdatazone = isonum_733( rootp->extent) << |
s | 228 | fs/isofs/inode.c | s->s_magic = ISOFS_SUPER_MAGIC; |
s | 235 | fs/isofs/inode.c | s->s_flags = MS_RDONLY /* | MS_NODEV | MS_NOSUID */; |
s | 237 | fs/isofs/inode.c | if(s->u.isofs_sb.s_log_zone_size != (1 << ISOFS_BLOCK_BITS)) { |
s | 245 | fs/isofs/inode.c | s->u.isofs_sb.s_max_size, |
s | 246 | fs/isofs/inode.c | s->u.isofs_sb.s_log_zone_size); |
s | 248 | fs/isofs/inode.c | s->u.isofs_sb.s_firstdatazone, |
s | 251 | fs/isofs/inode.c | unlock_super(s); |
s | 254 | fs/isofs/inode.c | s->s_dev = dev; |
s | 255 | fs/isofs/inode.c | s->s_op = &isofs_sops; |
s | 256 | fs/isofs/inode.c | s->u.isofs_sb.s_mapping = map; |
s | 257 | fs/isofs/inode.c | s->u.isofs_sb.s_rock = (rock == 'y' ? 1 : 0); |
s | 258 | fs/isofs/inode.c | s->u.isofs_sb.s_conversion = conversion; |
s | 259 | fs/isofs/inode.c | s->u.isofs_sb.s_cruft = cruft; |
s | 260 | fs/isofs/inode.c | s->s_blocksize = blocksize; |
s | 261 | fs/isofs/inode.c | s->s_blocksize_bits = blocksize_bits; |
s | 262 | fs/isofs/inode.c | s->s_mounted = iget(s, isonum_733 (rootp->extent) << ISOFS_BLOCK_BITS); |
s | 263 | fs/isofs/inode.c | unlock_super(s); |
s | 265 | fs/isofs/inode.c | if (!(s->s_mounted)) { |
s | 266 | fs/isofs/inode.c | s->s_dev=0; |
s | 271 | fs/isofs/inode.c | if (MAJOR(s->s_dev) == SCSI_CDROM_MAJOR) { |
s | 273 | fs/isofs/inode.c | if(check_cdrom_media_change(s->s_dev, 0)) |
s | 278 | fs/isofs/inode.c | if (MAJOR(s->s_dev) == CDU31A_CDROM_MAJOR) { |
s | 280 | fs/isofs/inode.c | if(check_cdu31a_media_change(s->s_dev, 0)) |
s | 285 | fs/isofs/inode.c | if (MAJOR(s->s_dev) == MITSUMI_CDROM_MAJOR) { |
s | 287 | fs/isofs/inode.c | if(check_mcd_media_change(s->s_dev, 0)) |
s | 291 | fs/isofs/inode.c | return s; |
s | 294 | fs/isofs/inode.c | s->s_dev = 0; |
s | 295 | fs/isofs/inode.c | unlock_super(s); |
s | 53 | fs/minix/inode.c | struct super_block *minix_read_super(struct super_block *s,void *data, |
s | 58 | fs/minix/inode.c | int i,dev=s->s_dev,block; |
s | 62 | fs/minix/inode.c | lock_super(s); |
s | 64 | fs/minix/inode.c | s->s_dev=0; |
s | 65 | fs/minix/inode.c | unlock_super(s); |
s | 70 | fs/minix/inode.c | s->s_blocksize = 1024; |
s | 71 | fs/minix/inode.c | s->s_blocksize_bits = 10; |
s | 72 | fs/minix/inode.c | s->u.minix_sb.s_ninodes = ms->s_ninodes; |
s | 73 | fs/minix/inode.c | s->u.minix_sb.s_nzones = ms->s_nzones; |
s | 74 | fs/minix/inode.c | s->u.minix_sb.s_imap_blocks = ms->s_imap_blocks; |
s | 75 | fs/minix/inode.c | s->u.minix_sb.s_zmap_blocks = ms->s_zmap_blocks; |
s | 76 | fs/minix/inode.c | s->u.minix_sb.s_firstdatazone = ms->s_firstdatazone; |
s | 77 | fs/minix/inode.c | s->u.minix_sb.s_log_zone_size = ms->s_log_zone_size; |
s | 78 | fs/minix/inode.c | s->u.minix_sb.s_max_size = ms->s_max_size; |
s | 79 | fs/minix/inode.c | s->s_magic = ms->s_magic; |
s | 81 | fs/minix/inode.c | if (s->s_magic == MINIX_SUPER_MAGIC) { |
s | 82 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = 16; |
s | 83 | fs/minix/inode.c | s->u.minix_sb.s_namelen = 14; |
s | 84 | fs/minix/inode.c | } else if (s->s_magic == MINIX_SUPER_MAGIC2) { |
s | 85 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = 32; |
s | 86 | fs/minix/inode.c | s->u.minix_sb.s_namelen = 30; |
s | 88 | fs/minix/inode.c | s->s_dev = 0; |
s | 89 | fs/minix/inode.c | unlock_super(s); |
s | 96 | fs/minix/inode.c | s->u.minix_sb.s_imap[i] = NULL; |
s | 98 | fs/minix/inode.c | s->u.minix_sb.s_zmap[i] = NULL; |
s | 100 | fs/minix/inode.c | for (i=0 ; i < s->u.minix_sb.s_imap_blocks ; i++) |
s | 101 | fs/minix/inode.c | if ((s->u.minix_sb.s_imap[i]=bread(dev,block,BLOCK_SIZE)) != NULL) |
s | 105 | fs/minix/inode.c | for (i=0 ; i < s->u.minix_sb.s_zmap_blocks ; i++) |
s | 106 | fs/minix/inode.c | if ((s->u.minix_sb.s_zmap[i]=bread(dev,block,BLOCK_SIZE)) != NULL) |
s | 110 | fs/minix/inode.c | if (block != 2+s->u.minix_sb.s_imap_blocks+s->u.minix_sb.s_zmap_blocks) { |
s | 112 | fs/minix/inode.c | brelse(s->u.minix_sb.s_imap[i]); |
s | 114 | fs/minix/inode.c | brelse(s->u.minix_sb.s_zmap[i]); |
s | 115 | fs/minix/inode.c | s->s_dev=0; |
s | 116 | fs/minix/inode.c | unlock_super(s); |
s | 120 | fs/minix/inode.c | set_bit(0,s->u.minix_sb.s_imap[0]->b_data); |
s | 121 | fs/minix/inode.c | set_bit(0,s->u.minix_sb.s_zmap[0]->b_data); |
s | 123 | fs/minix/inode.c | s->s_dev = dev; |
s | 124 | fs/minix/inode.c | s->s_op = &minix_sops; |
s | 125 | fs/minix/inode.c | s->s_mounted = iget(s,MINIX_ROOT_INO); |
s | 126 | fs/minix/inode.c | unlock_super(s); |
s | 127 | fs/minix/inode.c | if (!s->s_mounted) { |
s | 128 | fs/minix/inode.c | s->s_dev = 0; |
s | 132 | fs/minix/inode.c | return s; |
s | 144 | fs/msdos/inode.c | struct super_block *msdos_read_super(struct super_block *s,void *data, |
s | 158 | fs/msdos/inode.c | s->s_dev = 0; |
s | 162 | fs/msdos/inode.c | lock_super(s); |
s | 163 | fs/msdos/inode.c | bh = bread(s->s_dev, 0, BLOCK_SIZE); |
s | 164 | fs/msdos/inode.c | unlock_super(s); |
s | 166 | fs/msdos/inode.c | s->s_dev = 0; |
s | 171 | fs/msdos/inode.c | s->s_blocksize = 1024; /* we cannot handle anything else yet */ |
s | 172 | fs/msdos/inode.c | s->s_blocksize_bits = 10; /* we cannot handle anything else yet */ |
s | 194 | fs/msdos/inode.c | MSDOS_SB(s)->cluster_size = b->cluster_size*sector_mult; |
s | 195 | fs/msdos/inode.c | MSDOS_SB(s)->fats = b->fats; |
s | 196 | fs/msdos/inode.c | MSDOS_SB(s)->fat_start = CF_LE_W(b->reserved)*sector_mult; |
s | 197 | fs/msdos/inode.c | MSDOS_SB(s)->fat_length = CF_LE_W(b->fat_length)*sector_mult; |
s | 198 | fs/msdos/inode.c | MSDOS_SB(s)->dir_start = (CF_LE_W(b->reserved)+b->fats*CF_LE_W( |
s | 200 | fs/msdos/inode.c | MSDOS_SB(s)->dir_entries = CF_LE_W(*((unsigned short *) &b->dir_entries |
s | 202 | fs/msdos/inode.c | MSDOS_SB(s)->data_start = MSDOS_SB(s)->dir_start+ROUND_TO_MULTIPLE(( |
s | 203 | fs/msdos/inode.c | MSDOS_SB(s)->dir_entries << MSDOS_DIR_BITS) >> SECTOR_BITS, |
s | 207 | fs/msdos/inode.c | CF_LE_L(b->total_sect))*sector_mult-MSDOS_SB(s)->data_start; |
s | 210 | fs/msdos/inode.c | MSDOS_SB(s)->clusters = b->cluster_size ? data_sectors/ |
s | 212 | fs/msdos/inode.c | MSDOS_SB(s)->fat_bits = fat ? fat : MSDOS_SB(s)->clusters > |
s | 214 | fs/msdos/inode.c | error = !MSDOS_SB(s)->fats || (MSDOS_SB(s)->dir_entries & |
s | 215 | fs/msdos/inode.c | (MSDOS_DPS-1)) || MSDOS_SB(s)->clusters+2 > MSDOS_SB(s)-> |
s | 216 | fs/msdos/inode.c | fat_length*SECTOR_SIZE*8/MSDOS_SB(s)->fat_bits || |
s | 223 | fs/msdos/inode.c | "uid=%d,gid=%d,umask=%03o%s]\n",MSDOS_SB(s)->fat_bits,check, |
s | 224 | fs/msdos/inode.c | conversion,uid,gid,umask,MSDOS_CAN_BMAP(MSDOS_SB(s)) ? |
s | 227 | fs/msdos/inode.c | "se=%d,ts=%ld,ls=%d]\n",b->media,MSDOS_SB(s)->cluster_size, |
s | 228 | fs/msdos/inode.c | MSDOS_SB(s)->fats,MSDOS_SB(s)->fat_start,MSDOS_SB(s)-> |
s | 229 | fs/msdos/inode.c | fat_length,MSDOS_SB(s)->dir_start,MSDOS_SB(s)->dir_entries, |
s | 230 | fs/msdos/inode.c | MSDOS_SB(s)->data_start,CF_LE_W(*(unsigned short *) &b-> |
s | 236 | fs/msdos/inode.c | s->s_dev); |
s | 237 | fs/msdos/inode.c | s->s_dev = 0; |
s | 240 | fs/msdos/inode.c | s->s_magic = MSDOS_SUPER_MAGIC; |
s | 241 | fs/msdos/inode.c | MSDOS_SB(s)->name_check = check; |
s | 242 | fs/msdos/inode.c | MSDOS_SB(s)->conversion = conversion; |
s | 244 | fs/msdos/inode.c | s->s_op = &msdos_sops; |
s | 245 | fs/msdos/inode.c | MSDOS_SB(s)->fs_uid = uid; |
s | 246 | fs/msdos/inode.c | MSDOS_SB(s)->fs_gid = gid; |
s | 247 | fs/msdos/inode.c | MSDOS_SB(s)->fs_umask = umask; |
s | 248 | fs/msdos/inode.c | MSDOS_SB(s)->quiet = quiet; |
s | 249 | fs/msdos/inode.c | MSDOS_SB(s)->free_clusters = -1; /* don't know yet */ |
s | 250 | fs/msdos/inode.c | MSDOS_SB(s)->fat_wait = NULL; |
s | 251 | fs/msdos/inode.c | MSDOS_SB(s)->fat_lock = 0; |
s | 252 | fs/msdos/inode.c | MSDOS_SB(s)->prev_free = 0; |
s | 253 | fs/msdos/inode.c | if (!(s->s_mounted = iget(s,MSDOS_ROOT_INO))) { |
s | 254 | fs/msdos/inode.c | s->s_dev = 0; |
s | 258 | fs/msdos/inode.c | return s; |
s | 30 | fs/msdos/misc.c | void fs_panic(struct super_block *s,char *msg) |
s | 34 | fs/msdos/misc.c | not_ro = !(s->s_flags & MS_RDONLY); |
s | 35 | fs/msdos/misc.c | if (not_ro) s->s_flags |= MS_RDONLY; |
s | 37 | 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 | 92 | fs/super.c | struct super_block * s; |
s | 96 | fs/super.c | s = 0+super_blocks; |
s | 97 | fs/super.c | while (s < NR_SUPER+super_blocks) |
s | 98 | fs/super.c | if (s->s_dev == dev) { |
s | 99 | fs/super.c | wait_on_super(s); |
s | 100 | fs/super.c | if (s->s_dev == dev) |
s | 101 | fs/super.c | return s; |
s | 102 | fs/super.c | s = 0+super_blocks; |
s | 104 | fs/super.c | s++; |
s | 131 | fs/super.c | struct super_block * s; |
s | 137 | fs/super.c | s = get_super(dev); |
s | 138 | fs/super.c | if (s) |
s | 139 | fs/super.c | return s; |
s | 145 | fs/super.c | for (s = 0+super_blocks ;; s++) { |
s | 146 | fs/super.c | if (s >= NR_SUPER+super_blocks) |
s | 148 | fs/super.c | if (!s->s_dev) |
s | 151 | fs/super.c | s->s_dev = dev; |
s | 152 | fs/super.c | s->s_flags = flags; |
s | 153 | fs/super.c | if (!type->read_super(s,data, silent)) { |
s | 154 | fs/super.c | s->s_dev = 0; |
s | 157 | fs/super.c | s->s_dev = dev; |
s | 158 | fs/super.c | s->s_covered = NULL; |
s | 159 | fs/super.c | s->s_rd_only = 0; |
s | 160 | fs/super.c | s->s_dirt = 0; |
s | 161 | fs/super.c | return s; |
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 | 98 | include/linux/ext2_fs.h | # define EXT2_BLOCK_SIZE(s) ((s)->s_blocksize) |
s | 100 | include/linux/ext2_fs.h | # define EXT2_BLOCK_SIZE(s) (EXT2_MIN_BLOCK_SIZE << (s)->s_log_block_size) |
s | 102 | include/linux/ext2_fs.h | #define EXT2_ACLE_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (struct ext2_acl_entry)) |
s | 103 | include/linux/ext2_fs.h | #define EXT2_ADDR_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (unsigned long)) |
s | 105 | include/linux/ext2_fs.h | # define EXT2_BLOCK_SIZE_BITS(s) ((s)->u.ext2_sb.s_es->s_log_block_size + 10) |
s | 107 | include/linux/ext2_fs.h | # define EXT2_BLOCK_SIZE_BITS(s) ((s)->s_log_block_size + 10) |
s | 109 | include/linux/ext2_fs.h | #define EXT2_INODES_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (struct ext2_inode)) |
s | 118 | include/linux/ext2_fs.h | # define EXT2_FRAG_SIZE(s) ((s)->u.ext2_sb.s_frag_size) |
s | 119 | include/linux/ext2_fs.h | # define EXT2_FRAGS_PER_BLOCK(s) ((s)->u.ext2_sb.s_frags_per_block) |
s | 121 | include/linux/ext2_fs.h | # define EXT2_FRAG_SIZE(s) (EXT2_MIN_FRAG_SIZE << (s)->s_log_frag_size) |
s | 122 | include/linux/ext2_fs.h | # define EXT2_FRAGS_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / EXT2_FRAG_SIZE(s)) |
s | 175 | include/linux/ext2_fs.h | # define EXT2_BLOCKS_PER_GROUP(s) ((s)->u.ext2_sb.s_blocks_per_group) |
s | 176 | include/linux/ext2_fs.h | # define EXT2_DESC_PER_BLOCK(s) ((s)->u.ext2_sb.s_desc_per_block) |
s | 177 | include/linux/ext2_fs.h | # define EXT2_INODES_PER_GROUP(s) ((s)->u.ext2_sb.s_inodes_per_group) |
s | 179 | include/linux/ext2_fs.h | # define EXT2_BLOCKS_PER_GROUP(s) ((s)->s_blocks_per_group) |
s | 180 | include/linux/ext2_fs.h | # define EXT2_DESC_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (struct ext2_group_desc)) |
s | 181 | include/linux/ext2_fs.h | # define EXT2_INODES_PER_GROUP(s) ((s)->s_inodes_per_group) |
s | 43 | include/linux/msdos_fs.h | #define MSDOS_SB(s) (&((s)->u.msdos_sb)) |
s | 126 | include/linux/msdos_fs.h | extern void fs_panic(struct super_block *s,char *msg); |
s | 171 | include/linux/msdos_fs.h | extern struct super_block *msdos_read_super(struct super_block *s, |
s | 127 | include/linux/string.h | extern inline char * strchr(const char * s,char c) |
s | 140 | include/linux/string.h | :"=a" (__res):"S" (s),"0" (c):"si"); |
s | 144 | include/linux/string.h | extern inline char * strrchr(const char * s,char c) |
s | 156 | include/linux/string.h | :"=d" (__res):"0" (0),"S" (s),"a" (c):"ax","si"); |
s | 262 | include/linux/string.h | extern inline size_t strlen(const char * s) |
s | 270 | include/linux/string.h | :"=c" (__res):"D" (s),"a" (0),"0" (0xffffffff):"di"); |
s | 276 | include/linux/string.h | extern inline char * strtok(char * s,const char * ct) |
s | 330 | include/linux/string.h | :"0" (___strtok),"1" (s),"g" (ct) |
s | 408 | include/linux/string.h | extern inline void * memset(void * s,char c,size_t count) |
s | 414 | include/linux/string.h | :"a" (c),"D" (s),"c" (count) |
s | 416 | include/linux/string.h | return s; |
s | 360 | include/linux/tpqic02.h | # define TPQDEB(s) s |
s | 361 | include/linux/tpqic02.h | # define TPQPUTS(s) tpqputs(s) |
s | 363 | include/linux/tpqic02.h | # define TPQDEB(s) |
s | 364 | 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 | 124 | kernel/vsprintf.c | char *s; |
s | 197 | kernel/vsprintf.c | s = va_arg(args, char *); |
s | 198 | kernel/vsprintf.c | if (!s) |
s | 199 | kernel/vsprintf.c | s = "<NULL>"; |
s | 200 | kernel/vsprintf.c | len = strlen(s); |
s | 210 | kernel/vsprintf.c | *str++ = *s++; |
s | 1616 | net/inet/sock.c | struct sock *s; |
s | 1631 | net/inet/sock.c | for(s = prot->sock_array[hnum & (SOCK_ARRAY_SIZE - 1)]; |
s | 1632 | net/inet/sock.c | s != NULL; s = s->next) |
s | 1634 | net/inet/sock.c | if (s->num != hnum) |
s | 1636 | net/inet/sock.c | if(s->dead && (s->state == TCP_CLOSE)) |
s | 1639 | net/inet/sock.c | return s; |
s | 1640 | net/inet/sock.c | if(ip_addr_match(s->daddr,raddr)==0) |
s | 1642 | net/inet/sock.c | if (s->dummy_th.dest != rnum && s->dummy_th.dest != 0) |
s | 1644 | net/inet/sock.c | if(ip_addr_match(s->saddr,laddr) == 0) |
s | 1646 | net/inet/sock.c | return(s); |
s | 50 | tools/build.c | short s[2]; |
s | 71 | 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 | 274 | zBoot/inflate.c | else if (*p < s) |
s | 281 | zBoot/inflate.c | r.e = (uch)e[*p - s]; /* non-simple--look up in lists */ |
s | 282 | zBoot/inflate.c | r.v.n = d[*p++ - s]; |
s | 113 | zBoot/misc.c | static void puts(char *s) |
s | 121 | zBoot/misc.c | while ( ( c = *s++ ) != '\0' ) { |
s | 144 | zBoot/misc.c | __ptr_t memset(__ptr_t s, int c, size_t n) |
s | 147 | zBoot/misc.c | char *ss = (char*)s; |
s | 156 | zBoot/misc.c | char *d = (char *)__dest, *s = (char *)__src; |
s | 158 | zBoot/misc.c | for (i=0;i<__n;i++) d[i] = s[i]; |
s | 168 | zBoot/misc.c | ulg updcrc(s, n) |
s | 169 | zBoot/misc.c | uch *s; /* pointer to bytes to pump through */ |
s | 176 | zBoot/misc.c | if (s == NULL) { |
s | 181 | zBoot/misc.c | c = crc_32_tab[((int)c ^ (*s++)) & 0xff] ^ (c >> 8); |