tag | line | file | source code |
s | 24 | arch/alpha/lib/memcpy.c | #define ALIGN_DEST_TO8(d,s,n) \ |
s | 28 | arch/alpha/lib/memcpy.c | *(char *) d = *(char *) s; \ |
s | 29 | arch/alpha/lib/memcpy.c | d++; s++; \ |
s | 36 | arch/alpha/lib/memcpy.c | #define DO_REST(d,s,n) \ |
s | 39 | arch/alpha/lib/memcpy.c | *(char *) d = *(char *) s; \ |
s | 40 | arch/alpha/lib/memcpy.c | d++; s++; \ |
s | 47 | arch/alpha/lib/memcpy.c | #define DO_REST_ALIGNED(d,s,n) DO_REST(d,s,n) |
s | 56 | arch/alpha/lib/memcpy.c | static inline void __memcpy_unaligned(unsigned long d, unsigned long s, long n) |
s | 58 | arch/alpha/lib/memcpy.c | ALIGN_DEST_TO8(d,s,n); |
s | 62 | arch/alpha/lib/memcpy.c | __asm__("ldq_u %0,%1":"=r" (low_word):"m" (*(unsigned long *) s)); |
s | 65 | arch/alpha/lib/memcpy.c | __asm__("ldq_u %0,%1":"=r" (high_word):"m" (*(unsigned long *)(s+8))); |
s | 69 | arch/alpha/lib/memcpy.c | :"r" (low_word), "r" (s)); |
s | 72 | arch/alpha/lib/memcpy.c | :"r" (high_word), "r" (s)); |
s | 73 | arch/alpha/lib/memcpy.c | s += 8; |
s | 80 | arch/alpha/lib/memcpy.c | DO_REST(d,s,n); |
s | 91 | arch/alpha/lib/memcpy.c | static inline void __memcpy_aligned(unsigned long d, unsigned long s, long n) |
s | 93 | arch/alpha/lib/memcpy.c | ALIGN_DEST_TO8(d,s,n); |
s | 97 | arch/alpha/lib/memcpy.c | __asm__("ldq %0,%1":"=r" (tmp):"m" (*(unsigned long *) s)); |
s | 99 | arch/alpha/lib/memcpy.c | s += 8; |
s | 104 | arch/alpha/lib/memcpy.c | DO_REST_ALIGNED(d,s,n); |
s | 13 | arch/alpha/lib/memset.c | inline void * __constant_c_memset(void * s, unsigned long c, long count) |
s | 15 | arch/alpha/lib/memset.c | unsigned long xs = (unsigned long) s; |
s | 33 | arch/alpha/lib/memset.c | return s; |
s | 36 | arch/alpha/lib/memset.c | void * __memset(void * s,char c,size_t count) |
s | 38 | arch/alpha/lib/memset.c | __constant_c_memset(s,0x0101010101010101UL * (unsigned char) c, count); |
s | 39 | arch/alpha/lib/memset.c | return s; |
s | 22 | arch/i386/boot/compressed/gzip.h | # define memzero(s, n) memset ((s), 0, (n)) |
s | 27 | arch/i386/boot/compressed/gzip.h | # define memcpy(d, s, n) bcopy((s), (d), (n)) |
s | 29 | arch/i386/boot/compressed/gzip.h | # define memzero(s, n) bzero((s), (n)) |
s | 268 | arch/i386/boot/compressed/gzip.h | extern ulg updcrc OF((uch *s, unsigned n)); |
s | 273 | arch/i386/boot/compressed/gzip.h | extern char *strlwr OF((char *s)); |
s | 99 | arch/i386/boot/compressed/inflate.c | int huft_build(b, n, s, d, e, t, m) |
s | 102 | arch/i386/boot/compressed/inflate.c | unsigned s; /* number of simple-valued codes (0..s-1) */ |
s | 266 | arch/i386/boot/compressed/inflate.c | else if (*p < s) |
s | 273 | arch/i386/boot/compressed/inflate.c | r.e = (uch)e[*p - s]; /* non-simple--look up in lists */ |
s | 274 | arch/i386/boot/compressed/inflate.c | r.v.n = d[*p++ - s]; |
s | 129 | arch/i386/boot/compressed/misc.c | static void puts(const char *s) |
s | 137 | arch/i386/boot/compressed/misc.c | while ( ( c = *s++ ) != '\0' ) { |
s | 160 | arch/i386/boot/compressed/misc.c | __ptr_t memset(__ptr_t s, int c, size_t n) |
s | 163 | arch/i386/boot/compressed/misc.c | char *ss = (char*)s; |
s | 172 | arch/i386/boot/compressed/misc.c | char *d = (char *)__dest, *s = (char *)__src; |
s | 174 | arch/i386/boot/compressed/misc.c | for (i=0;i<__n;i++) d[i] = s[i]; |
s | 184 | arch/i386/boot/compressed/misc.c | ulg updcrc(s, n) |
s | 185 | arch/i386/boot/compressed/misc.c | uch *s; /* pointer to bytes to pump through */ |
s | 192 | arch/i386/boot/compressed/misc.c | if (s == NULL) { |
s | 197 | arch/i386/boot/compressed/misc.c | c = crc_32_tab[((int)c ^ (*s++)) & 0xff] ^ (c >> 8); |
s | 55 | arch/i386/boot/tools/build.c | short s[2]; |
s | 76 | arch/i386/boot/tools/build.c | return t.s[0]; |
s | 120 | arch/i386/math-emu/fpu_proto.h | extern void reg_load_bcd(char *s, FPU_REG *loaded_data); |
s | 23 | arch/i386/math-emu/fpu_system.h | #define LDT_DESCRIPTOR(s) (current->ldt[(s) >> 3]) |
s | 28 | arch/i386/math-emu/fpu_system.h | #define SEG_BASE_ADDR(s) (((s).b & 0xff000000) \ |
s | 29 | arch/i386/math-emu/fpu_system.h | | (((s).b & 0xff) << 16) | ((s).a >> 16)) |
s | 30 | arch/i386/math-emu/fpu_system.h | #define SEG_LIMIT(s) (((s).b & 0xff0000) | ((s).a & 0xffff)) |
s | 31 | arch/i386/math-emu/fpu_system.h | #define SEG_EXECUTE_ONLY(s) (((s).b & ((1 << 11) | (1 << 9))) == (1 << 11)) |
s | 32 | arch/i386/math-emu/fpu_system.h | #define SEG_WRITE_PERM(s) (((s).b & ((1 << 11) | (1 << 9))) == (1 << 9)) |
s | 33 | arch/i386/math-emu/fpu_system.h | #define SEG_EXPAND_DOWN(s) (((s).b & ((1 << 11) | (1 << 10))) \ |
s | 45 | arch/i386/math-emu/reg_ld_str.c | int reg_load_extended(long double *s, FPU_REG *loaded_data) |
s | 50 | arch/i386/math-emu/reg_ld_str.c | FPU_verify_area(VERIFY_READ, s, 10); |
s | 51 | arch/i386/math-emu/reg_ld_str.c | sigl = get_fs_long((unsigned long *) s); |
s | 52 | arch/i386/math-emu/reg_ld_str.c | sigh = get_fs_long(1 + (unsigned long *) s); |
s | 53 | arch/i386/math-emu/reg_ld_str.c | exp = get_fs_word(4 + (unsigned short *) s); |
s | 288 | arch/i386/math-emu/reg_ld_str.c | long long s; |
s | 292 | arch/i386/math-emu/reg_ld_str.c | ((unsigned long *)&s)[0] = get_fs_long((unsigned long *) _s); |
s | 293 | arch/i386/math-emu/reg_ld_str.c | ((unsigned long *)&s)[1] = get_fs_long(1 + (unsigned long *) _s); |
s | 296 | arch/i386/math-emu/reg_ld_str.c | if (s == 0) |
s | 299 | arch/i386/math-emu/reg_ld_str.c | if (s > 0) |
s | 303 | arch/i386/math-emu/reg_ld_str.c | s = -s; |
s | 308 | arch/i386/math-emu/reg_ld_str.c | significand(loaded_data) = s; |
s | 318 | arch/i386/math-emu/reg_ld_str.c | long s; |
s | 323 | arch/i386/math-emu/reg_ld_str.c | s = (long)get_fs_long((unsigned long *) _s); |
s | 326 | arch/i386/math-emu/reg_ld_str.c | if (s == 0) |
s | 329 | arch/i386/math-emu/reg_ld_str.c | if (s > 0) |
s | 333 | arch/i386/math-emu/reg_ld_str.c | s = -s; |
s | 338 | arch/i386/math-emu/reg_ld_str.c | loaded_data->sigh = s; |
s | 349 | arch/i386/math-emu/reg_ld_str.c | int s, e; |
s | 354 | arch/i386/math-emu/reg_ld_str.c | s = (short)get_fs_word((unsigned short *) _s); |
s | 357 | arch/i386/math-emu/reg_ld_str.c | if (s == 0) |
s | 360 | arch/i386/math-emu/reg_ld_str.c | if (s > 0) |
s | 364 | arch/i386/math-emu/reg_ld_str.c | s = -s; |
s | 369 | arch/i386/math-emu/reg_ld_str.c | loaded_data->sigh = s << 16; |
s | 379 | arch/i386/math-emu/reg_ld_str.c | void reg_load_bcd(char *s, FPU_REG *loaded_data) |
s | 386 | arch/i386/math-emu/reg_ld_str.c | FPU_verify_area(VERIFY_READ, s, 10); |
s | 392 | arch/i386/math-emu/reg_ld_str.c | bcd = (unsigned char)get_fs_byte((unsigned char *) s+pos); |
s | 401 | arch/i386/math-emu/reg_ld_str.c | ((unsigned char)get_fs_byte((unsigned char *) s+9)) & 0x80 ? |
s | 1149 | arch/i386/math-emu/reg_ld_str.c | char *fldenv(fpu_addr_modes addr_modes, char *s) |
s | 1160 | arch/i386/math-emu/reg_ld_str.c | FPU_verify_area(VERIFY_READ, s, 0x0e); |
s | 1161 | arch/i386/math-emu/reg_ld_str.c | control_word = get_fs_word((unsigned short *) s); |
s | 1162 | arch/i386/math-emu/reg_ld_str.c | partial_status = get_fs_word((unsigned short *) (s+2)); |
s | 1163 | arch/i386/math-emu/reg_ld_str.c | tag_word = get_fs_word((unsigned short *) (s+4)); |
s | 1164 | arch/i386/math-emu/reg_ld_str.c | instruction_address.offset = get_fs_word((unsigned short *) (s+6)); |
s | 1165 | arch/i386/math-emu/reg_ld_str.c | instruction_address.selector = get_fs_word((unsigned short *) (s+8)); |
s | 1166 | arch/i386/math-emu/reg_ld_str.c | operand_address.offset = get_fs_word((unsigned short *) (s+0x0a)); |
s | 1167 | arch/i386/math-emu/reg_ld_str.c | operand_address.selector = get_fs_word((unsigned short *) (s+0x0c)); |
s | 1169 | arch/i386/math-emu/reg_ld_str.c | s += 0x0e; |
s | 1180 | arch/i386/math-emu/reg_ld_str.c | FPU_verify_area(VERIFY_READ, s, 0x1c); |
s | 1181 | arch/i386/math-emu/reg_ld_str.c | control_word = get_fs_word((unsigned short *) s); |
s | 1182 | arch/i386/math-emu/reg_ld_str.c | partial_status = get_fs_word((unsigned short *) (s+4)); |
s | 1183 | arch/i386/math-emu/reg_ld_str.c | tag_word = get_fs_word((unsigned short *) (s+8)); |
s | 1184 | arch/i386/math-emu/reg_ld_str.c | instruction_address.offset = get_fs_long((unsigned long *) (s+0x0c)); |
s | 1185 | arch/i386/math-emu/reg_ld_str.c | instruction_address.selector = get_fs_word((unsigned short *) (s+0x10)); |
s | 1186 | arch/i386/math-emu/reg_ld_str.c | instruction_address.opcode = get_fs_word((unsigned short *) (s+0x12)); |
s | 1187 | arch/i386/math-emu/reg_ld_str.c | operand_address.offset = get_fs_long((unsigned long *) (s+0x14)); |
s | 1188 | arch/i386/math-emu/reg_ld_str.c | operand_address.selector = get_fs_long((unsigned long *) (s+0x18)); |
s | 1190 | arch/i386/math-emu/reg_ld_str.c | s += 0x1c; |
s | 1237 | arch/i386/math-emu/reg_ld_str.c | return s; |
s | 1245 | arch/i386/math-emu/reg_ld_str.c | char *s = fldenv(addr_modes, data_address); |
s | 1252 | arch/i386/math-emu/reg_ld_str.c | reg_load_extended((long double *)(s+i*10), ®s[stnr]); |
s | 1747 | drivers/block/aztcd.c | { int s; |
s | 1754 | drivers/block/aztcd.c | s = inb(DATA_PORT) & 0xFF; |
s | 1755 | drivers/block/aztcd.c | *result = (unsigned char) s; |
s | 412 | drivers/block/cm206.c | inline int f_s_m2lba(uch f, uch s, uch m) |
s | 414 | drivers/block/cm206.c | return f + 75*(s-2 + 60*m); |
s | 1249 | drivers/block/cm206.c | void cm206_setup(char *s, int *p) |
s | 1252 | drivers/block/cm206.c | if (!strcmp(s, "auto")) auto_probe=1; |
s | 285 | drivers/block/floppy.c | # define CROSS_64KB(a,s) (0) |
s | 287 | drivers/block/floppy.c | # define CROSS_64KB(a,s) \ |
s | 288 | drivers/block/floppy.c | ((unsigned long)(a)/K_64 != ((unsigned long)(a) + (s) - 1) / K_64) |
s | 57 | drivers/block/hd.c | #define OK_STATUS(s) (((s)&(STAT_OK|(BUSY_STAT|WRERR_STAT|ERR_STAT)))==STAT_OK) |
s | 256 | drivers/block/hd.c | static void fixstring (unsigned char *s, int bytecount) |
s | 258 | drivers/block/hd.c | unsigned char *p, *end = &s[bytecount &= ~1]; /* bytecount must be even */ |
s | 261 | drivers/block/hd.c | for (p = end ; p != s;) { |
s | 267 | drivers/block/hd.c | while (s != end && *s == ' ') |
s | 268 | drivers/block/hd.c | ++s; |
s | 271 | drivers/block/hd.c | while (s != end && *s) { |
s | 272 | drivers/block/hd.c | if (*s++ != ' ' || (s != end && *s && *s != ' ')) |
s | 273 | drivers/block/hd.c | *p++ = *(s-1); |
s | 378 | drivers/block/ide-cd.c | char *s; |
s | 387 | drivers/block/ide-cd.c | s = sense_key_texts[reqbuf->sense_key]; |
s | 389 | drivers/block/ide-cd.c | s = "(bad sense key)"; |
s | 391 | drivers/block/ide-cd.c | printk (" Sense key: %x - %s\n", reqbuf->sense_key, s); |
s | 395 | drivers/block/ide-cd.c | s = buf; |
s | 406 | drivers/block/ide-cd.c | s = NULL; |
s | 411 | drivers/block/ide-cd.c | s = sense_data_texts[mid].text; |
s | 421 | drivers/block/ide-cd.c | if (s == NULL) { |
s | 423 | drivers/block/ide-cd.c | s = "(vendor-specific error)"; |
s | 425 | drivers/block/ide-cd.c | s = "(reserved error code)"; |
s | 429 | drivers/block/ide-cd.c | reqbuf->asc, reqbuf->ascq, s); |
s | 1520 | drivers/block/ide-cd.c | void lba_to_msf (int lba, byte *m, byte *s, byte *f) |
s | 1526 | drivers/block/ide-cd.c | *s = lba / CD_FRAMES; |
s | 1532 | drivers/block/ide-cd.c | int msf_to_lba (byte m, byte s, byte f) |
s | 1534 | drivers/block/ide-cd.c | return (((m * CD_SECS) + s) * CD_FRAMES + f) - CD_BLOCK_OFFSET; |
s | 1142 | drivers/block/ide.c | special_t *s = &drive->special; |
s | 1144 | drivers/block/ide.c | printk("%s: do_special: 0x%02x\n", drive->name, s->all); |
s | 1146 | drivers/block/ide.c | if (s->b.set_geometry) { |
s | 1147 | drivers/block/ide.c | s->b.set_geometry = 0; |
s | 1155 | drivers/block/ide.c | } else if (s->b.recalibrate) { |
s | 1156 | drivers/block/ide.c | s->b.recalibrate = 0; |
s | 1160 | drivers/block/ide.c | } else if (s->b.set_multmode) { |
s | 1161 | drivers/block/ide.c | s->b.set_multmode = 0; |
s | 1168 | drivers/block/ide.c | } else if (s->all) { |
s | 1169 | drivers/block/ide.c | s->all = 0; |
s | 1170 | drivers/block/ide.c | printk("%s: bad special flag: 0x%02x\n", drive->name, s->all); |
s | 1934 | drivers/block/ide.c | static void fixstring (byte *s, const int bytecount, const int byteswap) |
s | 1936 | drivers/block/ide.c | byte *p = s, *end = &s[bytecount & ~1]; /* bytecount must be even */ |
s | 1940 | drivers/block/ide.c | for (p = end ; p != s;) { |
s | 1947 | drivers/block/ide.c | while (s != end && *s == ' ') |
s | 1948 | drivers/block/ide.c | ++s; |
s | 1951 | drivers/block/ide.c | while (s != end && *s) { |
s | 1952 | drivers/block/ide.c | if (*s++ != ' ' || (s != end && *s && *s != ' ')) |
s | 1953 | drivers/block/ide.c | *p++ = *(s-1); |
s | 2428 | drivers/block/ide.c | static int stridx (const char *s, char c) |
s | 2430 | drivers/block/ide.c | char *i = strchr(s, c); |
s | 2431 | drivers/block/ide.c | return (i && c) ? i - s : -1; |
s | 2446 | drivers/block/ide.c | static int match_parm (char *s, const char *keywords[], int vals[], int max_vals) |
s | 2452 | drivers/block/ide.c | if (*s++ == '=') { |
s | 2458 | drivers/block/ide.c | if (!strcmp(s, *keywords++)) |
s | 2467 | drivers/block/ide.c | for (n = 0; (i = stridx(decimal, *s)) >= 0;) { |
s | 2469 | drivers/block/ide.c | while ((i = stridx(decimal, *++s)) >= 0) |
s | 2471 | drivers/block/ide.c | if (*s == 'x' && !vals[n]) { |
s | 2472 | drivers/block/ide.c | while ((i = stridx(hex, *++s)) >= 0) |
s | 2477 | drivers/block/ide.c | if (*s == ',') |
s | 2478 | drivers/block/ide.c | ++s; |
s | 2480 | drivers/block/ide.c | if (!*s) |
s | 2515 | drivers/block/ide.c | void ide_setup (char *s) |
s | 2524 | drivers/block/ide.c | printk("ide_setup: %s", s); |
s | 2530 | drivers/block/ide.c | if (s[0] == 'h' && s[1] == 'd' && s[2] >= 'a' && s[2] <= max_drive) { |
s | 2532 | drivers/block/ide.c | unit = s[2] - 'a'; |
s | 2537 | drivers/block/ide.c | switch (match_parm(&s[3], hd_words, vals, 3)) { |
s | 2568 | drivers/block/ide.c | if (s[0] == 'i' && s[1] == 'd' && s[2] == 'e' && s[3] >= '0' && s[3] <= max_hwif) { |
s | 2570 | drivers/block/ide.c | hw = s[3] - '0'; |
s | 2573 | drivers/block/ide.c | switch (match_parm(&s[4], ide_words, vals, 3)) { |
s | 1448 | drivers/block/mcd.c | int s; |
s | 1460 | drivers/block/mcd.c | s = inb(MCDPORT(0)) & 0xFF; |
s | 1461 | drivers/block/mcd.c | *result = (unsigned char) s; |
s | 1004 | drivers/block/mcdx.c | char s[255]; |
s | 1008 | drivers/block/mcdx.c | if (sizeof(s) < vsprintf(s, fmt, args)) |
s | 1010 | drivers/block/mcdx.c | else printk(MCDX ":: %s", s); |
s | 1017 | drivers/block/mcdx.c | char s[255]; |
s | 1020 | drivers/block/mcdx.c | if (sizeof(s) < vsprintf(s, fmt, args)) |
s | 1022 | drivers/block/mcdx.c | else printk(MCDX ": %s", s); |
s | 4985 | drivers/block/sbpcd.c | void sbpcd_setup(const char *s, int *p) |
s | 4988 | drivers/block/sbpcd.c | msg(DBG_INI,"sbpcd_setup called with %04X,%s\n",p[1], s); |
s | 4990 | drivers/block/sbpcd.c | if (!strcmp(s,str_sb)) sbpro_type=1; |
s | 4991 | drivers/block/sbpcd.c | else if (!strcmp(s,str_sb_l)) sbpro_type=1; |
s | 4992 | drivers/block/sbpcd.c | else if (!strcmp(s,str_sp)) sbpro_type=2; |
s | 4993 | drivers/block/sbpcd.c | else if (!strcmp(s,str_sp_l)) sbpro_type=2; |
s | 588 | drivers/block/sjcd.c | int s; |
s | 593 | drivers/block/sjcd.c | s = sjcd_receive_status(); |
s | 594 | drivers/block/sjcd.c | if( s < 0 || sjcd_command_failed || !sjcd_status_valid ){ |
s | 596 | drivers/block/sjcd.c | s = sjcd_receive_status(); |
s | 597 | drivers/block/sjcd.c | if( s < 0 || sjcd_command_failed || !sjcd_status_valid ) return( -1 ); |
s | 599 | drivers/block/sjcd.c | s = sjcd_receive_status(); |
s | 600 | drivers/block/sjcd.c | if( s < 0 || sjcd_command_failed || !sjcd_status_valid ) return( -1 ); |
s | 704 | drivers/block/sjcd.c | struct cdrom_ti ti; int s; |
s | 708 | drivers/block/sjcd.c | if( ( s = verify_area( VERIFY_READ, (void *) arg, sizeof( ti ) ) ) == 0 ){ |
s | 726 | drivers/block/sjcd.c | return( s ); |
s | 730 | drivers/block/sjcd.c | struct cdrom_msf sjcd_msf; int s; |
s | 734 | drivers/block/sjcd.c | if( ( s = verify_area( VERIFY_READ, (void *) arg, sizeof( sjcd_msf ) ) ) == 0 ){ |
s | 755 | drivers/block/sjcd.c | return( s ); |
s | 759 | drivers/block/sjcd.c | struct cdrom_tochdr toc_header; int s; |
s | 763 | drivers/block/sjcd.c | if( ( s = verify_area( VERIFY_WRITE, (void *) arg, sizeof( toc_header ) ) ) == 0 ){ |
s | 768 | drivers/block/sjcd.c | return( s ); |
s | 772 | drivers/block/sjcd.c | struct cdrom_tocentry toc_entry; int s; |
s | 776 | drivers/block/sjcd.c | if( ( s = verify_area( VERIFY_WRITE, (void *) arg, sizeof( toc_entry ) ) ) == 0 ){ |
s | 803 | drivers/block/sjcd.c | return( s ); |
s | 807 | drivers/block/sjcd.c | struct cdrom_subchnl subchnl; int s; |
s | 811 | drivers/block/sjcd.c | if( ( s = verify_area( VERIFY_WRITE, (void *) arg, sizeof( subchnl ) ) ) == 0 ){ |
s | 840 | drivers/block/sjcd.c | return( s ); |
s | 844 | drivers/block/sjcd.c | struct cdrom_volctrl vol_ctrl; int s; |
s | 848 | drivers/block/sjcd.c | if( ( s = verify_area( VERIFY_READ, (void *) arg, sizeof( vol_ctrl ) ) ) == 0 ){ |
s | 857 | drivers/block/sjcd.c | return( s ); |
s | 872 | drivers/block/sjcd.c | int s; |
s | 876 | drivers/block/sjcd.c | if( ( s = verify_area( VERIFY_WRITE, (void *) arg, sizeof( statistic ) ) ) == 0 ) |
s | 878 | drivers/block/sjcd.c | return( s ); |
s | 316 | drivers/char/console.c | static void memsetw(void * s, unsigned short c, unsigned int count) |
s | 318 | drivers/char/console.c | unsigned short * addr = (unsigned short *) s; |
s | 585 | drivers/char/console.c | unsigned short * s = (unsigned short *) last_origin; |
s | 593 | drivers/char/console.c | scr_writew(scr_readw(d++),s++); |
s | 683 | drivers/char/console.c | unsigned short * s = (unsigned short *) origin; |
s | 689 | drivers/char/console.c | scr_writew(scr_readw(s++),d++); |
s | 718 | drivers/char/console.c | unsigned short * s = (unsigned short *) (origin+video_size_row*(t+1)); |
s | 723 | drivers/char/console.c | scr_writew(scr_readw(s++), d++); |
s | 735 | drivers/char/console.c | unsigned short *d, *s; |
s | 741 | drivers/char/console.c | s = (unsigned short *) (origin+video_size_row*(b-1)); |
s | 745 | drivers/char/console.c | scr_writew(scr_readw(--s), --d); |
s | 48 | drivers/char/selection.c | highlight(const int s, const int e) { |
s | 49 | drivers/char/selection.c | invert_screen(sel_cons, s, e-s+2, 1); |
s | 427 | drivers/char/tpqic02.c | static void tpqputs(unsigned long flags, const char *s) |
s | 430 | drivers/char/tpqic02.c | printk(TPQIC02_NAME ": %s\n", s); |
s | 486 | drivers/char/tpqic02.c | static int decode_exception_nr(unsigned s) |
s | 491 | drivers/char/tpqic02.c | if ((s & exception_list[i].mask)==exception_list[i].code) |
s | 494 | drivers/char/tpqic02.c | printk(TPQIC02_NAME ": decode_exception_nr: exception(%x) not recognized\n", s); |
s | 507 | drivers/char/tpqic02.c | static void report_error(int s) |
s | 511 | drivers/char/tpqic02.c | if (s & TP_ST1) { |
s | 512 | drivers/char/tpqic02.c | if (s & TP_ILL) /* 12: Illegal command. FATAL */ |
s | 514 | drivers/char/tpqic02.c | if (s & TP_POR) /* 13: Reset occurred. FATAL */ |
s | 517 | drivers/char/tpqic02.c | else if (s & TP_ST0) { |
s | 518 | drivers/char/tpqic02.c | if (s & TP_EOR) { /* extra: 15: End of Recorded Media. CONTINUABLE */ |
s | 522 | drivers/char/tpqic02.c | else if (s & TP_EOM) /* 4: End Of Media. CONTINUABLE */ |
s | 524 | drivers/char/tpqic02.c | else if (s & TP_USL) /* 2: Drive not online. FATAL */ |
s | 526 | drivers/char/tpqic02.c | else if (s & TP_CNI) { /* 1: Cartridge not in place. FATAL */ |
s | 532 | drivers/char/tpqic02.c | else if (s & TP_UDA) { |
s | 533 | drivers/char/tpqic02.c | if (s & TP_BNL) { |
s | 534 | drivers/char/tpqic02.c | if (s & TP_NDT) { |
s | 535 | drivers/char/tpqic02.c | if (s & TP_BOM) /* 9: Read error. No data detected & EOM. CONTINUABLE */ |
s | 537 | drivers/char/tpqic02.c | else if (s & TP_EOM) /* 10: Read error. No data detected & BOM. CONTINUABLE */ |
s | 547 | drivers/char/tpqic02.c | if (s & TP_EOM) /* 5: Read or Write error. Rewind tape. FATAL */ |
s | 559 | drivers/char/tpqic02.c | else if (s & TP_FIL) { |
s | 560 | drivers/char/tpqic02.c | if (s & TP_MBD) { /* 14: Marginal block detected. CONTINUABLE */ |
s | 566 | drivers/char/tpqic02.c | else if (s & TP_WRP) /* 3: Write protected cartridge. FATAL */ |
s | 847 | drivers/char/tpqic02.c | int s, n; |
s | 881 | drivers/char/tpqic02.c | do s = inb_p(QIC02_STAT_PORT); |
s | 882 | drivers/char/tpqic02.c | while ((s & QIC02_STAT_MASK) == QIC02_STAT_MASK); /* wait for ready or exception */ |
s | 884 | drivers/char/tpqic02.c | if ((s & QIC02_STAT_EXCEPTION) == 0) { /* if exception */ |
s | 2250 | drivers/char/tpqic02.c | int s; |
s | 2307 | drivers/char/tpqic02.c | s = tp_sense(TP_WRP|TP_EOM|TP_BOM|TP_CNI|TP_EOR); |
s | 2309 | drivers/char/tpqic02.c | if (s == TE_OK) |
s | 2312 | drivers/char/tpqic02.c | s = tp_sense(TP_WRP|TP_EOM|TP_BOM|TP_CNI|TP_EOR); |
s | 2314 | drivers/char/tpqic02.c | if (s != TE_OK) { |
s | 2350 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_REWIND, TIM_R); |
s | 2351 | drivers/char/tpqic02.c | if (s != 0) { |
s | 2397 | drivers/char/tpqic02.c | s = 0; |
s | 2400 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_DENS_11, TIM_S); |
s | 2403 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_DENS_24, TIM_S); |
s | 2406 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_DENS_120, TIM_S); |
s | 2409 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_DENS_150, TIM_S); |
s | 2412 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_DENS_300, TIM_S); |
s | 2415 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_DENS_600, TIM_S); |
s | 2418 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_RETEN, TIM_R); |
s | 2420 | drivers/char/tpqic02.c | if (s != 0) { |
s | 396 | drivers/char/vt.c | u_char s; |
s | 403 | drivers/char/vt.c | if ((s = get_user(&a->kb_table)) >= MAX_NR_KEYMAPS) |
s | 405 | drivers/char/vt.c | key_map = key_maps[s]; |
s | 420 | drivers/char/vt.c | u_char s; |
s | 430 | drivers/char/vt.c | if ((s = get_user(&a->kb_table)) >= MAX_NR_KEYMAPS) |
s | 435 | drivers/char/vt.c | key_map = key_maps[s]; |
s | 436 | drivers/char/vt.c | if (s && key_map) { |
s | 437 | drivers/char/vt.c | key_maps[s] = 0; |
s | 457 | drivers/char/vt.c | if (!(key_map = key_maps[s])) { |
s | 467 | drivers/char/vt.c | key_maps[s] = key_map; |
s | 483 | drivers/char/vt.c | if (!s && (KTYP(ov) == KT_SHIFT || KTYP(v) == KT_SHIFT)) |
s | 460 | drivers/net/eql.c | slave_t *s = eql_new_slave (); |
s | 463 | drivers/net/eql.c | s->dev = slave_dev; |
s | 464 | drivers/net/eql.c | s->priority = srq.priority; |
s | 465 | drivers/net/eql.c | s->priority_bps = srq.priority; |
s | 466 | drivers/net/eql.c | s->priority_Bps = srq.priority / 8; |
s | 470 | drivers/net/eql.c | eql_insert_slave (eql->queue, s); |
s | 450 | drivers/net/ni52.c | unsigned long s; |
s | 481 | drivers/net/ni52.c | s = jiffies; /* warning: only active with interrupts on !! */ |
s | 483 | drivers/net/ni52.c | if(jiffies-s > 30) break; |
s | 507 | drivers/net/ni52.c | s = jiffies; |
s | 509 | drivers/net/ni52.c | if(jiffies-s > 30) break; |
s | 531 | drivers/net/ni52.c | s = jiffies; |
s | 533 | drivers/net/ni52.c | if(jiffies - s > 30) { |
s | 623 | drivers/net/ni52.c | s = jiffies; |
s | 625 | drivers/net/ni52.c | if(jiffies - s > 30) |
s | 340 | drivers/net/ni65.c | tmdp->u.s.status = XMIT_START | XMIT_END; |
s | 348 | drivers/net/ni65.c | rmdp->u.s.status = RCV_OWN; |
s | 456 | drivers/net/ni65.c | tmdstat = tmdp->u.s.status; |
s | 502 | drivers/net/ni65.c | while(!( (rmdstat = rmdp->u.s.status) & RCV_OWN)) |
s | 512 | drivers/net/ni65.c | rmdp->u.s.status = RCV_OWN; /* change owner */ |
s | 521 | drivers/net/ni65.c | rmdp->u.s.status = RCV_OWN; |
s | 539 | drivers/net/ni65.c | rmdp->u.s.status = RCV_OWN; |
s | 548 | drivers/net/ni65.c | rmdp->u.s.status = RCV_OWN; |
s | 612 | drivers/net/ni65.c | tmdp->u.s.status = XMIT_OWN | XMIT_START | XMIT_END; |
s | 619 | 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 | 1051 | drivers/net/sk_g16.c | tmdp->u.s.status = TX_STP | TX_ENP; |
s | 1071 | drivers/net/sk_g16.c | rmdp->u.s.status = RX_OWN; |
s | 1269 | drivers/net/sk_g16.c | tmdp->u.s.status = TX_OWN | TX_STP | TX_ENP; |
s | 1281 | drivers/net/sk_g16.c | if (! ((p->tmdhead + p->tmdnum)->u.s.status & TX_OWN) ) |
s | 1403 | drivers/net/sk_g16.c | tmdstat = tmdp->u.s.status & 0xff00; /* filter out status bits 15:08 */ |
s | 1522 | drivers/net/sk_g16.c | while (!( (rmdstat = rmdp->u.s.status) & RX_OWN)) |
s | 1552 | drivers/net/sk_g16.c | rmdp->u.s.status = RX_OWN; /* Relinquish ownership to LANCE */ |
s | 1564 | drivers/net/sk_g16.c | rmdp->u.s.status = RX_OWN; /* Relinquish ownership to LANCE */ |
s | 1583 | drivers/net/sk_g16.c | rmdp->u.s.status = RX_OWN; /* Relinquish ownership to LANCE */ |
s | 1622 | 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 | 840 | drivers/net/slip.c | slip_esc(unsigned char *s, unsigned char *d, int len) |
s | 859 | drivers/net/slip.c | switch(c = *s++) { |
s | 878 | drivers/net/slip.c | slip_unesc(struct slip *sl, unsigned char s) |
s | 881 | drivers/net/slip.c | switch(s) { |
s | 895 | drivers/net/slip.c | s = ESC; |
s | 900 | drivers/net/slip.c | s = END; |
s | 906 | drivers/net/slip.c | sl->rbuff[sl->rcount++] = s; |
s | 921 | drivers/net/slip.c | slip_esc6(unsigned char *s, unsigned char *d, int len) |
s | 942 | drivers/net/slip.c | v = (v << 8) | s[i]; |
s | 959 | drivers/net/slip.c | slip_unesc6(struct slip *sl, unsigned char s) |
s | 963 | drivers/net/slip.c | if (s == 0x70) { |
s | 970 | drivers/net/slip.c | } else if (s >= 0x30 && s < 0x70) { |
s | 971 | drivers/net/slip.c | sl->xdata = (sl->xdata << 6) | ((s - 0x30) & 0x3F); |
s | 758 | drivers/net/wavelan.c | #define SC(t,s,n) if (sizeof(t) != s) return n |
s | 2134 | drivers/scsi/53c7,8xx.c | TOKEN(ms,3), TOKEN(rp,2), TOKEN(rs,2), TOKEN(s,0), TOKEN(tb,0), TOKEN(te,0) |
s | 2292 | drivers/scsi/aha152x.c | int s; |
s | 2301 | drivers/scsi/aha152x.c | s=GETPORT(SCSISEQ); |
s | 2303 | drivers/scsi/aha152x.c | if( s & TEMODEO ) printk("TARGET MODE "); |
s | 2304 | drivers/scsi/aha152x.c | if( s & ENSELO ) printk("SELO "); |
s | 2305 | drivers/scsi/aha152x.c | if( s & ENSELI ) printk("SELI "); |
s | 2306 | drivers/scsi/aha152x.c | if( s & ENRESELI ) printk("RESELI "); |
s | 2307 | drivers/scsi/aha152x.c | if( s & ENAUTOATNO ) printk("AUTOATNO "); |
s | 2308 | drivers/scsi/aha152x.c | if( s & ENAUTOATNI ) printk("AUTOATNI "); |
s | 2309 | drivers/scsi/aha152x.c | if( s & ENAUTOATNP ) printk("AUTOATNP "); |
s | 2310 | drivers/scsi/aha152x.c | if( s & SCSIRSTO ) printk("SCSIRSTO "); |
s | 2314 | drivers/scsi/aha152x.c | s=GETPORT(SCSISIG); |
s | 2315 | drivers/scsi/aha152x.c | switch(s & P_MASK) |
s | 2345 | drivers/scsi/aha152x.c | s=GETPORT(SSTAT0); |
s | 2346 | drivers/scsi/aha152x.c | if( s & TARGET ) printk("TARGET "); |
s | 2347 | drivers/scsi/aha152x.c | if( s & SELDO ) printk("SELDO "); |
s | 2348 | drivers/scsi/aha152x.c | if( s & SELDI ) printk("SELDI "); |
s | 2349 | drivers/scsi/aha152x.c | if( s & SELINGO ) printk("SELINGO "); |
s | 2350 | drivers/scsi/aha152x.c | if( s & SWRAP ) printk("SWRAP "); |
s | 2351 | drivers/scsi/aha152x.c | if( s & SDONE ) printk("SDONE "); |
s | 2352 | drivers/scsi/aha152x.c | if( s & SPIORDY ) printk("SPIORDY "); |
s | 2353 | drivers/scsi/aha152x.c | if( s & DMADONE ) printk("DMADONE "); |
s | 2355 | drivers/scsi/aha152x.c | s=GETPORT(SSTAT1); |
s | 2356 | drivers/scsi/aha152x.c | if( s & SELTO ) printk("SELTO "); |
s | 2357 | drivers/scsi/aha152x.c | if( s & ATNTARG ) printk("ATNTARG "); |
s | 2358 | drivers/scsi/aha152x.c | if( s & SCSIRSTI ) printk("SCSIRSTI "); |
s | 2359 | drivers/scsi/aha152x.c | if( s & PHASEMIS ) printk("PHASEMIS "); |
s | 2360 | drivers/scsi/aha152x.c | if( s & BUSFREE ) printk("BUSFREE "); |
s | 2361 | drivers/scsi/aha152x.c | if( s & SCSIPERR ) printk("SCSIPERR "); |
s | 2362 | drivers/scsi/aha152x.c | if( s & PHASECHG ) printk("PHASECHG "); |
s | 2363 | drivers/scsi/aha152x.c | if( s & REQINIT ) printk("REQINIT "); |
s | 2369 | drivers/scsi/aha152x.c | s=GETPORT(SSTAT0) & GETPORT(SIMODE0); |
s | 2371 | drivers/scsi/aha152x.c | if( s & TARGET ) printk("TARGET "); |
s | 2372 | drivers/scsi/aha152x.c | if( s & SELDO ) printk("SELDO "); |
s | 2373 | drivers/scsi/aha152x.c | if( s & SELDI ) printk("SELDI "); |
s | 2374 | drivers/scsi/aha152x.c | if( s & SELINGO ) printk("SELINGO "); |
s | 2375 | drivers/scsi/aha152x.c | if( s & SWRAP ) printk("SWRAP "); |
s | 2376 | drivers/scsi/aha152x.c | if( s & SDONE ) printk("SDONE "); |
s | 2377 | drivers/scsi/aha152x.c | if( s & SPIORDY ) printk("SPIORDY "); |
s | 2378 | drivers/scsi/aha152x.c | if( s & DMADONE ) printk("DMADONE "); |
s | 2380 | drivers/scsi/aha152x.c | s=GETPORT(SSTAT1) & GETPORT(SIMODE1); |
s | 2382 | drivers/scsi/aha152x.c | if( s & SELTO ) printk("SELTO "); |
s | 2383 | drivers/scsi/aha152x.c | if( s & ATNTARG ) printk("ATNTARG "); |
s | 2384 | drivers/scsi/aha152x.c | if( s & SCSIRSTI ) printk("SCSIRSTI "); |
s | 2385 | drivers/scsi/aha152x.c | if( s & PHASEMIS ) printk("PHASEMIS "); |
s | 2386 | drivers/scsi/aha152x.c | if( s & BUSFREE ) printk("BUSFREE "); |
s | 2387 | drivers/scsi/aha152x.c | if( s & SCSIPERR ) printk("SCSIPERR "); |
s | 2388 | drivers/scsi/aha152x.c | if( s & PHASECHG ) printk("PHASECHG "); |
s | 2389 | drivers/scsi/aha152x.c | if( s & REQINIT ) printk("REQINIT "); |
s | 2394 | drivers/scsi/aha152x.c | s=GETPORT(SXFRCTL0); |
s | 2395 | drivers/scsi/aha152x.c | if( s & SCSIEN ) printk("SCSIEN "); |
s | 2396 | drivers/scsi/aha152x.c | if( s & DMAEN ) printk("DMAEN "); |
s | 2397 | drivers/scsi/aha152x.c | if( s & CH1 ) printk("CH1 "); |
s | 2398 | drivers/scsi/aha152x.c | if( s & CLRSTCNT ) printk("CLRSTCNT "); |
s | 2399 | drivers/scsi/aha152x.c | if( s & SPIOEN ) printk("SPIOEN "); |
s | 2400 | drivers/scsi/aha152x.c | if( s & CLRCH1 ) printk("CLRCH1 "); |
s | 2405 | drivers/scsi/aha152x.c | s=GETPORT(SCSISIG); |
s | 2406 | drivers/scsi/aha152x.c | if( s & ATNI ) printk("ATNI "); |
s | 2407 | drivers/scsi/aha152x.c | if( s & SELI ) printk("SELI "); |
s | 2408 | drivers/scsi/aha152x.c | if( s & BSYI ) printk("BSYI "); |
s | 2409 | drivers/scsi/aha152x.c | if( s & REQI ) printk("REQI "); |
s | 2410 | drivers/scsi/aha152x.c | if( s & ACKI ) printk("ACKI "); |
s | 2417 | drivers/scsi/aha152x.c | s=GETPORT(SSTAT2); |
s | 2418 | drivers/scsi/aha152x.c | if( s & SOFFSET) printk("SOFFSET "); |
s | 2419 | drivers/scsi/aha152x.c | if( s & SEMPTY) printk("SEMPTY "); |
s | 2420 | drivers/scsi/aha152x.c | if( s & SFULL) printk("SFULL "); |
s | 2421 | drivers/scsi/aha152x.c | printk("); SFCNT ( %d ); ", s & (SFULL|SFCNT) ); |
s | 2425 | drivers/scsi/aha152x.c | s=GETPORT(SSTAT4); |
s | 2426 | drivers/scsi/aha152x.c | if( s & SYNCERR) printk("SYNCERR "); |
s | 2427 | drivers/scsi/aha152x.c | if( s & FWERR) printk("FWERR "); |
s | 2428 | drivers/scsi/aha152x.c | if( s & FRERR) printk("FRERR "); |
s | 2435 | drivers/scsi/aha152x.c | s=GETPORT(DMACNTRL0); |
s | 2436 | drivers/scsi/aha152x.c | printk( "%s ", s & _8BIT ? "8BIT" : "16BIT" ); |
s | 2437 | drivers/scsi/aha152x.c | printk( "%s ", s & DMA ? "DMA" : "PIO" ); |
s | 2438 | drivers/scsi/aha152x.c | printk( "%s ", s & WRITE_READ ? "WRITE" : "READ" ); |
s | 2439 | drivers/scsi/aha152x.c | if( s & ENDMA ) printk("ENDMA "); |
s | 2440 | drivers/scsi/aha152x.c | if( s & INTEN ) printk("INTEN "); |
s | 2441 | drivers/scsi/aha152x.c | if( s & RSTFIFO ) printk("RSTFIFO "); |
s | 2442 | drivers/scsi/aha152x.c | if( s & SWINT ) printk("SWINT "); |
s | 2449 | drivers/scsi/aha152x.c | s=GETPORT(DMACNTRL1); |
s | 2450 | drivers/scsi/aha152x.c | if( s & PWRDWN ) printk("PWRDN "); |
s | 2454 | drivers/scsi/aha152x.c | printk("STK ( %d ); ", s & 0xf); |
s | 2457 | drivers/scsi/aha152x.c | s=GETPORT(DMASTAT); |
s | 2458 | drivers/scsi/aha152x.c | if( s & ATDONE ) printk("ATDONE "); |
s | 2459 | drivers/scsi/aha152x.c | if( s & WORDRDY ) printk("WORDRDY "); |
s | 2460 | drivers/scsi/aha152x.c | if( s & DFIFOFULL ) printk("DFIFOFULL "); |
s | 2461 | drivers/scsi/aha152x.c | if( s & DFIFOEMP ) printk("DFIFOEMP "); |
s | 2475 | drivers/scsi/aha152x.c | int s; |
s | 2479 | drivers/scsi/aha152x.c | s=GETPORT(SIMODE0); |
s | 2480 | drivers/scsi/aha152x.c | if( s & ENSELDO ) printk("ENSELDO "); |
s | 2481 | drivers/scsi/aha152x.c | if( s & ENSELDI ) printk("ENSELDI "); |
s | 2482 | drivers/scsi/aha152x.c | if( s & ENSELINGO ) printk("ENSELINGO "); |
s | 2483 | drivers/scsi/aha152x.c | if( s & ENSWRAP ) printk("ENSWRAP "); |
s | 2484 | drivers/scsi/aha152x.c | if( s & ENSDONE ) printk("ENSDONE "); |
s | 2485 | drivers/scsi/aha152x.c | if( s & ENSPIORDY ) printk("ENSPIORDY "); |
s | 2486 | drivers/scsi/aha152x.c | if( s & ENDMADONE ) printk("ENDMADONE "); |
s | 2488 | drivers/scsi/aha152x.c | s=GETPORT(SIMODE1); |
s | 2489 | drivers/scsi/aha152x.c | if( s & ENSELTIMO ) printk("ENSELTIMO "); |
s | 2490 | drivers/scsi/aha152x.c | if( s & ENATNTARG ) printk("ENATNTARG "); |
s | 2491 | drivers/scsi/aha152x.c | if( s & ENPHASEMIS ) printk("ENPHASEMIS "); |
s | 2492 | drivers/scsi/aha152x.c | if( s & ENBUSFREE ) printk("ENBUSFREE "); |
s | 2493 | drivers/scsi/aha152x.c | if( s & ENSCSIPERR ) printk("ENSCSIPERR "); |
s | 2494 | drivers/scsi/aha152x.c | if( s & ENPHASECHG ) printk("ENPHASECHG "); |
s | 2495 | drivers/scsi/aha152x.c | if( s & ENREQINIT ) printk("ENREQINIT "); |
s | 1079 | drivers/scsi/aic7xxx.c | aic7xxx_setup(char *s, int *dummy) |
s | 1093 | drivers/scsi/aic7xxx.c | for (p = strtok(s, ","); p; p = strtok(NULL, ",")) |
s | 58 | drivers/scsi/aic7xxx_asm.c | error(const char *s) |
s | 60 | drivers/scsi/aic7xxx_asm.c | fprintf(stderr, "%s: %s at line %d\n", filename, s, lineno); |
s | 83 | drivers/scsi/aic7xxx_asm.c | Strdup(char *s) |
s | 85 | drivers/scsi/aic7xxx_asm.c | char *p = (char *)Malloc(strlen(s) + 1); |
s | 86 | drivers/scsi/aic7xxx_asm.c | strcpy(p, s); |
s | 240 | drivers/scsi/buslogic.c | int s = inb(STATUS(base)), i = inb(INTERRUPT(base)); |
s | 242 | drivers/scsi/buslogic.c | buslogic_printk("status=%02X intrflags=%02X\n", s, i); |
s | 117 | drivers/scsi/constants.c | int i,s; |
s | 119 | drivers/scsi/constants.c | for ( i = 1, s = COMMAND_SIZE(command[0]); i < s; ++i) |
s | 381 | drivers/scsi/constants.c | int i, s; |
s | 392 | drivers/scsi/constants.c | s = sense_buffer[7] + 8; |
s | 393 | drivers/scsi/constants.c | if(s > sizeof(SCpnt->sense_buffer)) s = sizeof(SCpnt->sense_buffer); |
s | 452 | drivers/scsi/constants.c | s = 4; |
s | 458 | drivers/scsi/constants.c | for (i = 0; i < s; ++i) |
s | 516 | drivers/scsi/pas16.c | register unsigned char *s = src; |
s | 522 | 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 | 1009 | drivers/scsi/ultrastor.c | unsigned int s = config.heads * config.sectors; |
s | 1013 | drivers/scsi/ultrastor.c | dkinfo[2] = size / s; /* Ignore partial cylinders */ |
s | 62 | drivers/sound/os.h | #define COPY_FROM_USER(d, s, o, c) memcpy_fromfs((d), &((s)[o]), (c)) |
s | 63 | drivers/sound/os.h | #define COPY_TO_USER(d, o, s, c) memcpy_tofs(&((d)[o]), (s), (c)) |
s | 64 | drivers/sound/os.h | #define IOCTL_FROM_USER(d, s, o, c) memcpy_fromfs((d), &((s)[o]), (c)) |
s | 65 | 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 | 247 | fs/hpfs/hpfs_fs.c | static unsigned count_bitmap(struct super_block *s); |
s | 336 | fs/hpfs/hpfs_fs.c | struct super_block *hpfs_read_super(struct super_block *s, |
s | 362 | fs/hpfs/hpfs_fs.c | s->s_dev = 0; |
s | 371 | fs/hpfs/hpfs_fs.c | lock_super(s); |
s | 372 | fs/hpfs/hpfs_fs.c | dev = s->s_dev; |
s | 449 | fs/hpfs/hpfs_fs.c | s->s_flags |= MS_RDONLY; |
s | 455 | fs/hpfs/hpfs_fs.c | s->s_magic = HPFS_SUPER_MAGIC; |
s | 456 | fs/hpfs/hpfs_fs.c | s->s_blocksize = 512; |
s | 457 | fs/hpfs/hpfs_fs.c | s->s_blocksize_bits = 9; |
s | 458 | fs/hpfs/hpfs_fs.c | s->s_op = (struct super_operations *) &hpfs_sops; |
s | 464 | fs/hpfs/hpfs_fs.c | s->s_hpfs_root = dir_ino(superblock->root); |
s | 465 | fs/hpfs/hpfs_fs.c | s->s_hpfs_fs_size = superblock->n_sectors; |
s | 466 | fs/hpfs/hpfs_fs.c | s->s_hpfs_dirband_size = superblock->n_dir_band / 4; |
s | 467 | fs/hpfs/hpfs_fs.c | s->s_hpfs_dmap = superblock->dir_band_bitmap; |
s | 468 | fs/hpfs/hpfs_fs.c | s->s_hpfs_bitmaps = superblock->bitmaps; |
s | 469 | fs/hpfs/hpfs_fs.c | s->s_hpfs_uid = uid; |
s | 470 | fs/hpfs/hpfs_fs.c | s->s_hpfs_gid = gid; |
s | 471 | fs/hpfs/hpfs_fs.c | s->s_hpfs_mode = 0777 & ~umask; |
s | 472 | fs/hpfs/hpfs_fs.c | s->s_hpfs_n_free = -1; |
s | 473 | fs/hpfs/hpfs_fs.c | s->s_hpfs_n_free_dnodes = -1; |
s | 474 | fs/hpfs/hpfs_fs.c | s->s_hpfs_lowercase = lowercase; |
s | 475 | fs/hpfs/hpfs_fs.c | s->s_hpfs_conv = conv; |
s | 489 | fs/hpfs/hpfs_fs.c | s->s_mounted = iget(s, s->s_hpfs_root); |
s | 490 | fs/hpfs/hpfs_fs.c | unlock_super(s); |
s | 492 | fs/hpfs/hpfs_fs.c | if (!s->s_mounted) { |
s | 494 | fs/hpfs/hpfs_fs.c | s->s_dev = 0; |
s | 503 | fs/hpfs/hpfs_fs.c | root_dno = fnode_dno(dev, s->s_hpfs_root); |
s | 505 | fs/hpfs/hpfs_fs.c | de = map_dirent(s->s_mounted, root_dno, "\001\001", 2, &qbh); |
s | 509 | fs/hpfs/hpfs_fs.c | s->s_dev = 0; |
s | 514 | fs/hpfs/hpfs_fs.c | s->s_mounted->i_atime = local_to_gmt(de->read_date); |
s | 515 | fs/hpfs/hpfs_fs.c | s->s_mounted->i_mtime = local_to_gmt(de->write_date); |
s | 516 | fs/hpfs/hpfs_fs.c | s->s_mounted->i_ctime = local_to_gmt(de->creation_date); |
s | 519 | fs/hpfs/hpfs_fs.c | return s; |
s | 528 | fs/hpfs/hpfs_fs.c | s->s_dev = 0; |
s | 529 | fs/hpfs/hpfs_fs.c | unlock_super(s); |
s | 633 | fs/hpfs/hpfs_fs.c | struct super_block *s = inode->i_sb; |
s | 650 | fs/hpfs/hpfs_fs.c | inode->i_uid = s->s_hpfs_uid; |
s | 651 | fs/hpfs/hpfs_fs.c | inode->i_gid = s->s_hpfs_gid; |
s | 652 | fs/hpfs/hpfs_fs.c | inode->i_mode = s->s_hpfs_mode; |
s | 653 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_conv = s->s_hpfs_conv; |
s | 727 | fs/hpfs/hpfs_fs.c | static void hpfs_put_super(struct super_block *s) |
s | 729 | fs/hpfs/hpfs_fs.c | lock_super(s); |
s | 730 | fs/hpfs/hpfs_fs.c | s->s_dev = 0; |
s | 731 | fs/hpfs/hpfs_fs.c | unlock_super(s); |
s | 740 | fs/hpfs/hpfs_fs.c | static void hpfs_statfs(struct super_block *s, struct statfs *buf, int bufsiz) |
s | 747 | fs/hpfs/hpfs_fs.c | if (s->s_hpfs_n_free == -1) { |
s | 748 | fs/hpfs/hpfs_fs.c | s->s_hpfs_n_free = count_bitmap(s); |
s | 749 | fs/hpfs/hpfs_fs.c | s->s_hpfs_n_free_dnodes = |
s | 750 | fs/hpfs/hpfs_fs.c | count_one_bitmap(s->s_dev, s->s_hpfs_dmap); |
s | 756 | fs/hpfs/hpfs_fs.c | tmp.f_type = s->s_magic; |
s | 758 | fs/hpfs/hpfs_fs.c | tmp.f_blocks = s->s_hpfs_fs_size; |
s | 759 | fs/hpfs/hpfs_fs.c | tmp.f_bfree = s->s_hpfs_n_free; |
s | 760 | fs/hpfs/hpfs_fs.c | tmp.f_bavail = s->s_hpfs_n_free; |
s | 761 | fs/hpfs/hpfs_fs.c | tmp.f_files = s->s_hpfs_dirband_size; |
s | 762 | fs/hpfs/hpfs_fs.c | tmp.f_ffree = s->s_hpfs_n_free_dnodes; |
s | 771 | fs/hpfs/hpfs_fs.c | static int hpfs_remount_fs(struct super_block *s, int *flags, char *data) |
s | 815 | fs/hpfs/hpfs_fs.c | static unsigned count_bitmap(struct super_block *s) |
s | 824 | fs/hpfs/hpfs_fs.c | n_bands = (s->s_hpfs_fs_size + 0x3fff) >> 14; |
s | 830 | fs/hpfs/hpfs_fs.c | bitmaps = map_4sectors(s->s_dev, s->s_hpfs_bitmaps, &qbh); |
s | 843 | fs/hpfs/hpfs_fs.c | count += count_one_bitmap(s->s_dev, bitmaps[n]); |
s | 192 | fs/isofs/inode.c | struct super_block *isofs_read_super(struct super_block *s,void *data, |
s | 199 | fs/isofs/inode.c | int dev=s->s_dev; |
s | 215 | fs/isofs/inode.c | s->s_dev = 0; |
s | 241 | fs/isofs/inode.c | lock_super(s); |
s | 243 | fs/isofs/inode.c | s->u.isofs_sb.s_high_sierra = high_sierra = 0; /* default is iso9660 */ |
s | 252 | fs/isofs/inode.c | s->s_dev=0; |
s | 255 | fs/isofs/inode.c | unlock_super(s); |
s | 270 | fs/isofs/inode.c | s->u.isofs_sb.s_high_sierra = 1; |
s | 292 | fs/isofs/inode.c | s->s_dev = 0; |
s | 293 | fs/isofs/inode.c | unlock_super(s); |
s | 305 | fs/isofs/inode.c | s->u.isofs_sb.s_nzones = isonum_733 (h_pri->volume_space_size); |
s | 306 | fs/isofs/inode.c | s->u.isofs_sb.s_log_zone_size = isonum_723 (h_pri->logical_block_size); |
s | 307 | fs/isofs/inode.c | s->u.isofs_sb.s_max_size = isonum_733(h_pri->volume_space_size); |
s | 314 | fs/isofs/inode.c | s->u.isofs_sb.s_nzones = isonum_733 (pri->volume_space_size); |
s | 315 | fs/isofs/inode.c | s->u.isofs_sb.s_log_zone_size = isonum_723 (pri->logical_block_size); |
s | 316 | fs/isofs/inode.c | s->u.isofs_sb.s_max_size = isonum_733(pri->volume_space_size); |
s | 319 | fs/isofs/inode.c | s->u.isofs_sb.s_ninodes = 0; /* No way to figure this out easily */ |
s | 323 | fs/isofs/inode.c | switch (s -> u.isofs_sb.s_log_zone_size) |
s | 324 | fs/isofs/inode.c | { case 512: s -> u.isofs_sb.s_log_zone_size = 9; break; |
s | 325 | fs/isofs/inode.c | case 1024: s -> u.isofs_sb.s_log_zone_size = 10; break; |
s | 326 | fs/isofs/inode.c | case 2048: s -> u.isofs_sb.s_log_zone_size = 11; break; |
s | 329 | fs/isofs/inode.c | printk("Bad logical zone size %ld\n", s -> u.isofs_sb.s_log_zone_size); |
s | 335 | fs/isofs/inode.c | s->u.isofs_sb.s_firstdatazone = (isonum_733( rootp->extent) |
s | 336 | fs/isofs/inode.c | << s -> u.isofs_sb.s_log_zone_size); |
s | 337 | fs/isofs/inode.c | s->s_magic = ISOFS_SUPER_MAGIC; |
s | 344 | fs/isofs/inode.c | s->s_flags |= MS_RDONLY /* | MS_NODEV | MS_NOSUID */; |
s | 349 | fs/isofs/inode.c | s->u.isofs_sb.s_max_size, |
s | 350 | fs/isofs/inode.c | 1UL << s->u.isofs_sb.s_log_zone_size); |
s | 352 | fs/isofs/inode.c | s->u.isofs_sb.s_firstdatazone >> s -> u.isofs_sb.s_log_zone_size, |
s | 353 | fs/isofs/inode.c | isonum_733 (rootp->extent) << s -> u.isofs_sb.s_log_zone_size); |
s | 355 | fs/isofs/inode.c | unlock_super(s); |
s | 358 | fs/isofs/inode.c | s->s_dev = dev; |
s | 359 | fs/isofs/inode.c | s->s_op = &isofs_sops; |
s | 360 | fs/isofs/inode.c | s->u.isofs_sb.s_mapping = opt.map; |
s | 361 | fs/isofs/inode.c | s->u.isofs_sb.s_rock = (opt.rock == 'y' ? 1 : 0); |
s | 362 | fs/isofs/inode.c | s->u.isofs_sb.s_conversion = opt.conversion; |
s | 363 | fs/isofs/inode.c | s->u.isofs_sb.s_cruft = opt.cruft; |
s | 364 | fs/isofs/inode.c | s->u.isofs_sb.s_unhide = opt.unhide; |
s | 365 | fs/isofs/inode.c | s->u.isofs_sb.s_uid = opt.uid; |
s | 366 | fs/isofs/inode.c | s->u.isofs_sb.s_gid = opt.gid; |
s | 371 | fs/isofs/inode.c | s->u.isofs_sb.s_mode = opt.mode & 0777; |
s | 372 | fs/isofs/inode.c | s->s_blocksize = opt.blocksize; |
s | 373 | fs/isofs/inode.c | s->s_blocksize_bits = blocksize_bits; |
s | 374 | fs/isofs/inode.c | s->s_mounted = iget(s, isonum_733 (rootp->extent) << s -> u.isofs_sb.s_log_zone_size); |
s | 375 | fs/isofs/inode.c | unlock_super(s); |
s | 377 | fs/isofs/inode.c | if (!(s->s_mounted)) { |
s | 378 | fs/isofs/inode.c | s->s_dev=0; |
s | 384 | fs/isofs/inode.c | if(!check_disk_change(s->s_dev)) { |
s | 385 | fs/isofs/inode.c | return s; |
s | 389 | fs/isofs/inode.c | s->s_dev = 0; |
s | 390 | fs/isofs/inode.c | unlock_super(s); |
s | 124 | fs/minix/inode.c | struct super_block *minix_read_super(struct super_block *s,void *data, |
s | 129 | fs/minix/inode.c | int i,dev=s->s_dev,block; |
s | 134 | fs/minix/inode.c | lock_super(s); |
s | 137 | fs/minix/inode.c | s->s_dev=0; |
s | 138 | fs/minix/inode.c | unlock_super(s); |
s | 144 | fs/minix/inode.c | s->u.minix_sb.s_ms = ms; |
s | 145 | fs/minix/inode.c | s->u.minix_sb.s_sbh = bh; |
s | 146 | fs/minix/inode.c | s->u.minix_sb.s_mount_state = ms->s_state; |
s | 147 | fs/minix/inode.c | s->s_blocksize = 1024; |
s | 148 | fs/minix/inode.c | s->s_blocksize_bits = 10; |
s | 149 | fs/minix/inode.c | s->u.minix_sb.s_ninodes = ms->s_ninodes; |
s | 150 | fs/minix/inode.c | s->u.minix_sb.s_nzones = ms->s_nzones; |
s | 151 | fs/minix/inode.c | s->u.minix_sb.s_imap_blocks = ms->s_imap_blocks; |
s | 152 | fs/minix/inode.c | s->u.minix_sb.s_zmap_blocks = ms->s_zmap_blocks; |
s | 153 | fs/minix/inode.c | s->u.minix_sb.s_firstdatazone = ms->s_firstdatazone; |
s | 154 | fs/minix/inode.c | s->u.minix_sb.s_log_zone_size = ms->s_log_zone_size; |
s | 155 | fs/minix/inode.c | s->u.minix_sb.s_max_size = ms->s_max_size; |
s | 156 | fs/minix/inode.c | s->s_magic = ms->s_magic; |
s | 157 | fs/minix/inode.c | if (s->s_magic == MINIX_SUPER_MAGIC) { |
s | 158 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = 16; |
s | 159 | fs/minix/inode.c | s->u.minix_sb.s_namelen = 14; |
s | 160 | fs/minix/inode.c | } else if (s->s_magic == MINIX_SUPER_MAGIC2) { |
s | 161 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = 32; |
s | 162 | fs/minix/inode.c | s->u.minix_sb.s_namelen = 30; |
s | 164 | fs/minix/inode.c | s->s_dev = 0; |
s | 165 | fs/minix/inode.c | unlock_super(s); |
s | 173 | fs/minix/inode.c | s->u.minix_sb.s_imap[i] = NULL; |
s | 175 | fs/minix/inode.c | s->u.minix_sb.s_zmap[i] = NULL; |
s | 177 | fs/minix/inode.c | for (i=0 ; i < s->u.minix_sb.s_imap_blocks ; i++) |
s | 178 | fs/minix/inode.c | if ((s->u.minix_sb.s_imap[i]=bread(dev,block,BLOCK_SIZE)) != NULL) |
s | 182 | fs/minix/inode.c | for (i=0 ; i < s->u.minix_sb.s_zmap_blocks ; i++) |
s | 183 | fs/minix/inode.c | if ((s->u.minix_sb.s_zmap[i]=bread(dev,block,BLOCK_SIZE)) != NULL) |
s | 187 | fs/minix/inode.c | if (block != 2+s->u.minix_sb.s_imap_blocks+s->u.minix_sb.s_zmap_blocks) { |
s | 189 | fs/minix/inode.c | brelse(s->u.minix_sb.s_imap[i]); |
s | 191 | fs/minix/inode.c | brelse(s->u.minix_sb.s_zmap[i]); |
s | 192 | fs/minix/inode.c | s->s_dev=0; |
s | 193 | fs/minix/inode.c | unlock_super(s); |
s | 199 | fs/minix/inode.c | set_bit(0,s->u.minix_sb.s_imap[0]->b_data); |
s | 200 | fs/minix/inode.c | set_bit(0,s->u.minix_sb.s_zmap[0]->b_data); |
s | 201 | fs/minix/inode.c | unlock_super(s); |
s | 203 | fs/minix/inode.c | s->s_dev = dev; |
s | 204 | fs/minix/inode.c | s->s_op = &minix_sops; |
s | 205 | fs/minix/inode.c | s->s_mounted = iget(s,MINIX_ROOT_INO); |
s | 206 | fs/minix/inode.c | if (!s->s_mounted) { |
s | 207 | fs/minix/inode.c | s->s_dev = 0; |
s | 213 | fs/minix/inode.c | if (!(s->s_flags & MS_RDONLY)) { |
s | 216 | fs/minix/inode.c | s->s_dirt = 1; |
s | 218 | fs/minix/inode.c | if (!(s->u.minix_sb.s_mount_state & MINIX_VALID_FS)) |
s | 221 | fs/minix/inode.c | else if (s->u.minix_sb.s_mount_state & MINIX_ERROR_FS) |
s | 224 | fs/minix/inode.c | return s; |
s | 39 | fs/msdos/misc.c | void fs_panic(struct super_block *s,const char *msg) |
s | 43 | fs/msdos/misc.c | not_ro = !(s->s_flags & MS_RDONLY); |
s | 44 | fs/msdos/misc.c | if (not_ro) s->s_flags |= MS_RDONLY; |
s | 46 | fs/msdos/misc.c | s->s_dev,s->s_covered->i_dev,s->s_covered->i_ino,msg); |
s | 31 | fs/msdos/msbuffer.h | #define bread(d,b,s) msdos_bread(sb,b) |
s | 32 | fs/msdos/msbuffer.h | #define getblk(d,b,s) msdos_getblk(sb,b) |
s | 77 | fs/proc/inode.c | struct inode * proc_get_inode(struct super_block * s, int ino, struct proc_dir_entry * de) |
s | 79 | fs/proc/inode.c | struct inode * inode = iget(s, ino); |
s | 101 | fs/proc/inode.c | struct super_block *proc_read_super(struct super_block *s,void *data, |
s | 105 | fs/proc/inode.c | lock_super(s); |
s | 106 | fs/proc/inode.c | s->s_blocksize = 1024; |
s | 107 | fs/proc/inode.c | s->s_blocksize_bits = 10; |
s | 108 | fs/proc/inode.c | s->s_magic = PROC_SUPER_MAGIC; |
s | 109 | fs/proc/inode.c | s->s_op = &proc_sops; |
s | 110 | fs/proc/inode.c | unlock_super(s); |
s | 111 | fs/proc/inode.c | if (!(s->s_mounted = proc_get_inode(s, PROC_ROOT_INO, &proc_root))) { |
s | 112 | fs/proc/inode.c | s->s_dev = 0; |
s | 116 | fs/proc/inode.c | parse_options(data, &s->s_mounted->i_uid, &s->s_mounted->i_gid); |
s | 117 | fs/proc/inode.c | return s; |
s | 40 | fs/smbfs/proc.c | static int smb_request_ok(struct smb_server *s, int command, int wct, int bcc); |
s | 414 | fs/smbfs/proc.c | smb_request_ok(struct smb_server *s, int command, int wct, int bcc) |
s | 417 | fs/smbfs/proc.c | s->rcls = 0; |
s | 418 | fs/smbfs/proc.c | s->err = 0; |
s | 420 | fs/smbfs/proc.c | if (smb_request(s) < 0) { |
s | 424 | fs/smbfs/proc.c | else if (smb_valid_packet(s->packet) != 0) { |
s | 428 | fs/smbfs/proc.c | else if (s->rcls != 0) { |
s | 429 | fs/smbfs/proc.c | result = -smb_errno(s->rcls, s->err); |
s | 431 | fs/smbfs/proc.c | else if (smb_verify(s->packet, command, wct, bcc) != 0) { |
s | 468 | fs/smbfs/proc.c | smb_request_ok_unlock(struct smb_server *s, int command, int wct, int bcc) |
s | 470 | fs/smbfs/proc.c | int result = smb_request_ok(s, command, wct, bcc); |
s | 472 | fs/smbfs/proc.c | smb_unlock_server(s); |
s | 221 | fs/super.c | struct super_block * s; |
s | 225 | fs/super.c | s = 0+super_blocks; |
s | 226 | fs/super.c | while (s < NR_SUPER+super_blocks) |
s | 227 | fs/super.c | if (s->s_dev == dev) { |
s | 228 | fs/super.c | wait_on_super(s); |
s | 229 | fs/super.c | if (s->s_dev == dev) |
s | 230 | fs/super.c | return s; |
s | 231 | fs/super.c | s = 0+super_blocks; |
s | 233 | 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 == NULL) |
s | 269 | fs/super.c | if (!(s->s_op->statfs)) |
s | 278 | fs/super.c | s->s_op->statfs(s,&sbuf,sizeof(struct statfs)); |
s | 292 | fs/super.c | struct super_block * s; |
s | 298 | fs/super.c | s = get_super(dev); |
s | 299 | fs/super.c | if (s) |
s | 300 | fs/super.c | return s; |
s | 306 | fs/super.c | for (s = 0+super_blocks ;; s++) { |
s | 307 | fs/super.c | if (s >= NR_SUPER+super_blocks) |
s | 309 | fs/super.c | if (!s->s_dev) |
s | 312 | fs/super.c | s->s_dev = dev; |
s | 313 | fs/super.c | s->s_flags = flags; |
s | 314 | fs/super.c | if (!type->read_super(s,data, silent)) { |
s | 315 | fs/super.c | s->s_dev = 0; |
s | 318 | fs/super.c | s->s_dev = dev; |
s | 319 | fs/super.c | s->s_covered = NULL; |
s | 320 | fs/super.c | s->s_rd_only = 0; |
s | 321 | fs/super.c | s->s_dirt = 0; |
s | 322 | fs/super.c | s->s_type = type; |
s | 323 | fs/super.c | return s; |
s | 390 | fs/umsdos/inode.c | struct super_block *s, |
s | 409 | fs/umsdos/inode.c | sb = msdos_read_super(s,data,silent); |
s | 417 | fs/umsdos/inode.c | if (s == super_blocks){ |
s | 68 | fs/xiafs/inode.c | struct super_block *xiafs_read_super(struct super_block *s, void *data, |
s | 76 | fs/xiafs/inode.c | dev=s->s_dev; |
s | 77 | fs/xiafs/inode.c | lock_super(s); |
s | 82 | fs/xiafs/inode.c | s->s_dev=0; |
s | 83 | fs/xiafs/inode.c | unlock_super(s); |
s | 89 | fs/xiafs/inode.c | s->s_magic = sp->s_magic; |
s | 90 | fs/xiafs/inode.c | if (s->s_magic != _XIAFS_SUPER_MAGIC) { |
s | 91 | fs/xiafs/inode.c | s->s_dev = 0; |
s | 92 | fs/xiafs/inode.c | unlock_super(s); |
s | 100 | fs/xiafs/inode.c | s->s_blocksize = sp->s_zone_size; |
s | 101 | fs/xiafs/inode.c | s->s_blocksize_bits = 10 + sp->s_zone_shift; |
s | 102 | fs/xiafs/inode.c | if (s->s_blocksize != BLOCK_SIZE && |
s | 103 | fs/xiafs/inode.c | (s->s_blocksize == 1024 || s->s_blocksize == 2048 || |
s | 104 | fs/xiafs/inode.c | s->s_blocksize == 4096)) { |
s | 106 | fs/xiafs/inode.c | set_blocksize(dev, s->s_blocksize); |
s | 107 | fs/xiafs/inode.c | bh = bread (dev, 0, s->s_blocksize); |
s | 114 | fs/xiafs/inode.c | s->u.xiafs_sb.s_nzones = sp->s_nzones; |
s | 115 | fs/xiafs/inode.c | s->u.xiafs_sb.s_ninodes = sp->s_ninodes; |
s | 116 | fs/xiafs/inode.c | s->u.xiafs_sb.s_ndatazones = sp->s_ndatazones; |
s | 117 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_zones = sp->s_imap_zones; |
s | 118 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zones = sp->s_zmap_zones; |
s | 119 | fs/xiafs/inode.c | s->u.xiafs_sb.s_firstdatazone = sp->s_firstdatazone; |
s | 120 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zone_shift = sp->s_zone_shift; |
s | 121 | fs/xiafs/inode.c | s->u.xiafs_sb.s_max_size = sp->s_max_size; |
s | 124 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_buf[i] = NULL; |
s | 125 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_iznr[i] = -1; |
s | 128 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_buf[i] = NULL; |
s | 129 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zznr[i] = -1; |
s | 132 | fs/xiafs/inode.c | if ( s->u.xiafs_sb.s_imap_zones > _XIAFS_IMAP_SLOTS ) |
s | 133 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_cached=1; |
s | 135 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_cached=0; |
s | 136 | fs/xiafs/inode.c | for (i=0 ; i < s->u.xiafs_sb.s_imap_zones ; i++) { |
s | 137 | fs/xiafs/inode.c | if (!(s->u.xiafs_sb.s_imap_buf[i]=bread(dev, z++, XIAFS_ZSIZE(s)))) |
s | 139 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_iznr[i]=i; |
s | 142 | fs/xiafs/inode.c | if ( s->u.xiafs_sb.s_zmap_zones > _XIAFS_ZMAP_SLOTS ) |
s | 143 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_cached=1; |
s | 145 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_cached=0; |
s | 146 | fs/xiafs/inode.c | for (i=0 ; i < s->u.xiafs_sb.s_zmap_zones ; i++) { |
s | 147 | fs/xiafs/inode.c | if (!(s->u.xiafs_sb.s_zmap_buf[i]=bread(dev, z++, XIAFS_ZSIZE(s)))) |
s | 149 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zznr[i]=i; |
s | 153 | fs/xiafs/inode.c | s->s_dev = dev; |
s | 154 | fs/xiafs/inode.c | s->s_op = &xiafs_sops; |
s | 155 | fs/xiafs/inode.c | s->s_mounted = iget(s, _XIAFS_ROOT_INO); |
s | 156 | fs/xiafs/inode.c | if (!s->s_mounted) |
s | 158 | fs/xiafs/inode.c | unlock_super(s); |
s | 160 | fs/xiafs/inode.c | return s; |
s | 164 | fs/xiafs/inode.c | brelse(s->u.xiafs_sb.s_imap_buf[i]); |
s | 166 | fs/xiafs/inode.c | brelse(s->u.xiafs_sb.s_zmap_buf[i]); |
s | 167 | fs/xiafs/inode.c | s->s_dev=0; |
s | 168 | fs/xiafs/inode.c | unlock_super(s); |
s | 9 | include/asm-alpha/string.h | #define memset(s, c, count) \ |
s | 11 | include/asm-alpha/string.h | __constant_c_memset((s),(0x0101010101010101UL*(unsigned char)c),(count)) : \ |
s | 12 | include/asm-alpha/string.h | __memset((s),(c),(count))) |
s | 16 | include/asm-i386/bugs.h | static void no_halt(char *s, int *ints) |
s | 21 | include/asm-i386/bugs.h | static void no_387(char *s, int *ints) |
s | 84 | include/asm-i386/io.h | #define __OUT1(s,x) \ |
s | 85 | include/asm-i386/io.h | extern inline void __out##s(unsigned x value, unsigned short port) { |
s | 87 | include/asm-i386/io.h | #define __OUT2(s,s1,s2) \ |
s | 88 | include/asm-i386/io.h | __asm__ __volatile__ ("out" #s " %" s1 "0,%" s2 "1" |
s | 90 | include/asm-i386/io.h | #define __OUT(s,s1,x) \ |
s | 91 | include/asm-i386/io.h | __OUT1(s,x) __OUT2(s,s1,"w") : : "a" (value), "d" (port)); } \ |
s | 92 | include/asm-i386/io.h | __OUT1(s##c,x) __OUT2(s,s1,"") : : "a" (value), "id" (port)); } \ |
s | 93 | include/asm-i386/io.h | __OUT1(s##_p,x) __OUT2(s,s1,"w") : : "a" (value), "d" (port)); SLOW_DOWN_IO; } \ |
s | 94 | include/asm-i386/io.h | __OUT1(s##c_p,x) __OUT2(s,s1,"") : : "a" (value), "id" (port)); SLOW_DOWN_IO; } |
s | 96 | include/asm-i386/io.h | #define __IN1(s) \ |
s | 97 | include/asm-i386/io.h | extern inline RETURN_TYPE __in##s(unsigned short port) { RETURN_TYPE _v; |
s | 99 | include/asm-i386/io.h | #define __IN2(s,s1,s2) \ |
s | 100 | include/asm-i386/io.h | __asm__ __volatile__ ("in" #s " %" s2 "1,%" s1 "0" |
s | 102 | include/asm-i386/io.h | #define __IN(s,s1,i...) \ |
s | 103 | include/asm-i386/io.h | __IN1(s) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); return _v; } \ |
s | 104 | include/asm-i386/io.h | __IN1(s##c) __IN2(s,s1,"") : "=a" (_v) : "id" (port) ,##i ); return _v; } \ |
s | 105 | include/asm-i386/io.h | __IN1(s##_p) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); SLOW_DOWN_IO; return _v; } \ |
s | 106 | include/asm-i386/io.h | __IN1(s##c_p) __IN2(s,s1,"") : "=a" (_v) : "id" (port) ,##i ); SLOW_DOWN_IO; return _v; } |
s | 108 | include/asm-i386/io.h | #define __INS(s) \ |
s | 109 | include/asm-i386/io.h | extern inline void ins##s(unsigned short port, void * addr, unsigned long count) \ |
s | 110 | include/asm-i386/io.h | { __asm__ __volatile__ ("cld ; rep ; ins" #s \ |
s | 113 | include/asm-i386/io.h | #define __OUTS(s) \ |
s | 114 | include/asm-i386/io.h | extern inline void outs##s(unsigned short port, const void * addr, unsigned long count) \ |
s | 115 | include/asm-i386/io.h | { __asm__ __volatile__ ("cld ; rep ; outs" #s \ |
s | 132 | include/asm-i386/string.h | extern inline char * strchr(const char * s, int c) |
s | 146 | include/asm-i386/string.h | :"=a" (__res):"S" (s),"0" (c):"si"); |
s | 151 | include/asm-i386/string.h | extern inline char * strrchr(const char * s, int c) |
s | 163 | include/asm-i386/string.h | :"=d" (__res):"0" (0),"S" (s),"a" (c):"ax","si"); |
s | 278 | include/asm-i386/string.h | extern inline size_t strlen(const char * s) |
s | 287 | include/asm-i386/string.h | :"=c" (__res):"D" (s),"a" (0),"0" (0xffffffff):"di"); |
s | 292 | include/asm-i386/string.h | extern inline char * strtok(char * s,const char * ct) |
s | 347 | include/asm-i386/string.h | :"0" (___strtok),"1" (s),"g" (ct) |
s | 461 | include/asm-i386/string.h | extern inline void * __memset_generic(void * s, char c,size_t count) |
s | 468 | include/asm-i386/string.h | :"a" (c),"D" (s),"c" (count) |
s | 470 | include/asm-i386/string.h | return s; |
s | 474 | include/asm-i386/string.h | #define __constant_count_memset(s,c,count) __memset_generic((s),(c),(count)) |
s | 481 | include/asm-i386/string.h | extern inline void * __constant_c_memset(void * s, unsigned long c, size_t count) |
s | 494 | include/asm-i386/string.h | :"a" (c), "q" (count), "c" (count/4), "D" ((long) s) |
s | 496 | include/asm-i386/string.h | return (s); |
s | 501 | include/asm-i386/string.h | extern inline size_t strnlen(const char * s, size_t count) |
s | 514 | include/asm-i386/string.h | :"=a" (__res):"c" (s),"d" (count)); |
s | 523 | include/asm-i386/string.h | extern inline void * __constant_c_and_count_memset(void * s, unsigned long pattern, size_t count) |
s | 527 | include/asm-i386/string.h | return s; |
s | 529 | include/asm-i386/string.h | *(unsigned char *)s = pattern; |
s | 530 | include/asm-i386/string.h | return s; |
s | 532 | include/asm-i386/string.h | *(unsigned short *)s = pattern; |
s | 533 | include/asm-i386/string.h | return s; |
s | 535 | include/asm-i386/string.h | *(unsigned short *)s = pattern; |
s | 536 | include/asm-i386/string.h | *(2+(unsigned char *)s) = pattern; |
s | 537 | include/asm-i386/string.h | return s; |
s | 539 | include/asm-i386/string.h | *(unsigned long *)s = pattern; |
s | 540 | include/asm-i386/string.h | return s; |
s | 547 | include/asm-i386/string.h | : "a" (pattern),"c" (count/4),"D" ((long) s) \ |
s | 551 | include/asm-i386/string.h | case 0: COMMON(""); return s; |
s | 552 | include/asm-i386/string.h | case 1: COMMON("\n\tstosb"); return s; |
s | 553 | include/asm-i386/string.h | case 2: COMMON("\n\tstosw"); return s; |
s | 554 | include/asm-i386/string.h | case 3: COMMON("\n\tstosw\n\tstosb"); return s; |
s | 559 | include/asm-i386/string.h | #define __constant_c_x_memset(s, c, count) \ |
s | 561 | include/asm-i386/string.h | __constant_c_and_count_memset((s),(c),(count)) : \ |
s | 562 | include/asm-i386/string.h | __constant_c_memset((s),(c),(count))) |
s | 564 | include/asm-i386/string.h | #define __memset(s, c, count) \ |
s | 566 | include/asm-i386/string.h | __constant_count_memset((s),(c),(count)) : \ |
s | 567 | include/asm-i386/string.h | __memset_generic((s),(c),(count))) |
s | 570 | include/asm-i386/string.h | #define memset(s, c, count) \ |
s | 572 | include/asm-i386/string.h | __constant_c_x_memset((s),(0x01010101UL*(unsigned char)c),(count)) : \ |
s | 573 | include/asm-i386/string.h | __memset((s),(c),(count))) |
s | 92 | include/asm-m68k/string.h | extern inline void * memset(void * s,char c,size_t count) |
s | 94 | include/asm-m68k/string.h | void *xs = s; |
s | 102 | include/asm-m68k/string.h | : "=a" (s), "=d" (count) |
s | 103 | include/asm-m68k/string.h | : "0" (s), "d" (c), "1" (count) |
s | 53 | include/asm-mips/io.h | #define __OUT1(s) \ |
s | 54 | include/asm-mips/io.h | extern inline void __out##s(unsigned int value, unsigned int port) { |
s | 59 | include/asm-mips/io.h | #define __OUT(m,s) \ |
s | 60 | include/asm-mips/io.h | __OUT1(s) __OUT2(m) : : "r" (value), "i" (0), "r" (PORT_BASE+port)); } \ |
s | 61 | include/asm-mips/io.h | __OUT1(s##c) __OUT2(m) : : "r" (value), "i" (port), "r" (PORT_BASE)); } \ |
s | 62 | include/asm-mips/io.h | __OUT1(s##_p) __OUT2(m) : : "r" (value), "i" (0), "r" (PORT_BASE+port)); \ |
s | 64 | include/asm-mips/io.h | __OUT1(s##c_p) __OUT2(m) : : "r" (value), "i" (port), "r" (PORT_BASE)); \ |
s | 67 | include/asm-mips/io.h | #define __IN1(s) \ |
s | 68 | include/asm-mips/io.h | extern inline unsigned int __in##s(unsigned int port) { unsigned int _v; |
s | 73 | include/asm-mips/io.h | #define __IN(m,s) \ |
s | 74 | include/asm-mips/io.h | __IN1(s) __IN2(m) STR(FILL_LDS) : "=r" (_v) : "i" (0), "r" (PORT_BASE+port)); return _v; } \ |
s | 75 | include/asm-mips/io.h | __IN1(s##c) __IN2(m) STR(FILL_LDS) : "=r" (_v) : "i" (port), "r" (PORT_BASE)); return _v; } \ |
s | 76 | include/asm-mips/io.h | __IN1(s##_p) __IN2(m) : "=r" (_v) : "i" (0), "r" (PORT_BASE+port)); SLOW_DOWN_IO; return _v; } \ |
s | 77 | include/asm-mips/io.h | __IN1(s##c_p) __IN2(m) : "=r" (_v) : "i" (port), "r" (PORT_BASE)); SLOW_DOWN_IO; return _v; } |
s | 79 | include/asm-mips/io.h | #define __INS1(s) \ |
s | 80 | include/asm-mips/io.h | extern inline void __ins##s(unsigned int port, void * addr, unsigned long count) { |
s | 94 | include/asm-mips/io.h | #define __INS(m,s,i) \ |
s | 95 | include/asm-mips/io.h | __INS1(s) __INS2(m) \ |
s | 99 | include/asm-mips/io.h | __INS1(s##c) __INS2(m) \ |
s | 104 | include/asm-mips/io.h | #define __OUTS1(s) \ |
s | 105 | include/asm-mips/io.h | extern inline void __outs##s(unsigned int port, const void * addr, unsigned long count) { |
s | 119 | include/asm-mips/io.h | #define __OUTS(m,s,i) \ |
s | 120 | include/asm-mips/io.h | __OUTS1(s) __OUTS2(m) \ |
s | 124 | include/asm-mips/io.h | __OUTS1(s##c) __OUTS2(m) \ |
s | 117 | include/asm-mips/string.h | extern __inline__ void * memset(void * s, int c, size_t count) |
s | 119 | include/asm-mips/string.h | void *xs = s; |
s | 129 | include/asm-mips/string.h | : "=r" (s), "=r" (count) |
s | 130 | include/asm-mips/string.h | : "0" (s), "r" (c), "1" (s + count - 1) |
s | 114 | include/asm-sparc/string.h | extern __inline__ size_t strspn(const char *s, const char *accept) |
s | 120 | include/asm-sparc/string.h | for (p = s; *p != '\0'; ++p) { |
s | 133 | include/asm-sparc/string.h | extern __inline__ char *strtok(char *s, const char *ct) |
s | 137 | include/asm-sparc/string.h | sbegin = s ? s : ___strtok; |
s | 166 | include/asm-sparc/string.h | char *tmp = (char *) dest, *s = (char *) src; |
s | 169 | include/asm-sparc/string.h | *tmp++ = *s++; |
s | 176 | include/asm-sparc/string.h | char *tmp, *s; |
s | 180 | include/asm-sparc/string.h | s = (char *) src; |
s | 182 | include/asm-sparc/string.h | *tmp++ = *s++; |
s | 186 | include/asm-sparc/string.h | s = (char *) src + count; |
s | 188 | include/asm-sparc/string.h | *--tmp = *--s; |
s | 82 | include/linux/ext2_fs.h | # define EXT2_BLOCK_SIZE(s) ((s)->s_blocksize) |
s | 84 | include/linux/ext2_fs.h | # define EXT2_BLOCK_SIZE(s) (EXT2_MIN_BLOCK_SIZE << (s)->s_log_block_size) |
s | 86 | include/linux/ext2_fs.h | #define EXT2_ACLE_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (struct ext2_acl_entry)) |
s | 87 | include/linux/ext2_fs.h | #define EXT2_ADDR_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (__u32)) |
s | 89 | include/linux/ext2_fs.h | # define EXT2_BLOCK_SIZE_BITS(s) ((s)->s_blocksize_bits) |
s | 91 | include/linux/ext2_fs.h | # define EXT2_BLOCK_SIZE_BITS(s) ((s)->s_log_block_size + 10) |
s | 93 | include/linux/ext2_fs.h | #define EXT2_INODES_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (struct ext2_inode)) |
s | 95 | include/linux/ext2_fs.h | #define EXT2_ADDR_PER_BLOCK_BITS(s) ((s)->u.ext2_sb.s_addr_per_block_bits) |
s | 96 | include/linux/ext2_fs.h | #define EXT2_INODES_PER_BLOCK_BITS(s) ((s)->u.ext2_sb.s_inodes_per_block_bits) |
s | 106 | include/linux/ext2_fs.h | # define EXT2_FRAG_SIZE(s) ((s)->u.ext2_sb.s_frag_size) |
s | 107 | include/linux/ext2_fs.h | # define EXT2_FRAGS_PER_BLOCK(s) ((s)->u.ext2_sb.s_frags_per_block) |
s | 109 | include/linux/ext2_fs.h | # define EXT2_FRAG_SIZE(s) (EXT2_MIN_FRAG_SIZE << (s)->s_log_frag_size) |
s | 110 | include/linux/ext2_fs.h | # define EXT2_FRAGS_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / EXT2_FRAG_SIZE(s)) |
s | 154 | include/linux/ext2_fs.h | # define EXT2_BLOCKS_PER_GROUP(s) ((s)->u.ext2_sb.s_blocks_per_group) |
s | 155 | include/linux/ext2_fs.h | # define EXT2_DESC_PER_BLOCK(s) ((s)->u.ext2_sb.s_desc_per_block) |
s | 156 | include/linux/ext2_fs.h | # define EXT2_INODES_PER_GROUP(s) ((s)->u.ext2_sb.s_inodes_per_group) |
s | 157 | include/linux/ext2_fs.h | # define EXT2_DESC_PER_BLOCK_BITS(s) ((s)->u.ext2_sb.s_desc_per_block_bits) |
s | 159 | include/linux/ext2_fs.h | # define EXT2_BLOCKS_PER_GROUP(s) ((s)->s_blocks_per_group) |
s | 160 | include/linux/ext2_fs.h | # define EXT2_DESC_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (struct ext2_group_desc)) |
s | 161 | 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 | 115 | include/linux/msdos_fs.h | extern void fs_panic(struct super_block *s,const char *msg); |
s | 160 | include/linux/msdos_fs.h | extern struct super_block *msdos_read_super(struct super_block *s, |
s | 81 | include/linux/smb_fs.h | #define smb_kmalloc(s,p) kmalloc(s,p) |
s | 82 | include/linux/smb_fs.h | #define smb_kfree_s(o,s) kfree_s(o,s) |
s | 95 | include/linux/sonycd535.h | #define SONY_BLOCK_NUMBER(m,s,f) (((m)*60L+(s))*75L+(f)) |
s | 610 | include/linux/tpqic02.h | # define TPQDEB(s) s |
s | 611 | include/linux/tpqic02.h | # define TPQPUTS(s) tpqputs(s) |
s | 613 | include/linux/tpqic02.h | # define TPQDEB(s) |
s | 614 | include/linux/tpqic02.h | # define TPQPUTS(s) |
s | 106 | lib/string.c | char * strchr(const char * s, int c) |
s | 108 | lib/string.c | for(; *s != (char) c; ++s) |
s | 109 | lib/string.c | if (*s == '\0') |
s | 111 | lib/string.c | return (char *) s; |
s | 116 | lib/string.c | size_t strlen(const char * s) |
s | 120 | lib/string.c | for (sc = s; *sc != '\0'; ++sc) |
s | 122 | lib/string.c | return sc - s; |
s | 127 | lib/string.c | size_t strnlen(const char * s, size_t count) |
s | 131 | lib/string.c | for (sc = s; count-- && *sc != '\0'; ++sc) |
s | 133 | lib/string.c | return sc - s; |
s | 138 | lib/string.c | size_t strspn(const char *s, const char *accept) |
s | 144 | lib/string.c | for (p = s; *p != '\0'; ++p) { |
s | 174 | lib/string.c | char * strtok(char * s,const char * ct) |
s | 178 | lib/string.c | sbegin = s ? s : ___strtok; |
s | 196 | lib/string.c | void * memset(void * s,char c,size_t count) |
s | 198 | lib/string.c | char *xs = (char *) s; |
s | 203 | lib/string.c | return s; |
s | 222 | lib/string.c | char *tmp = (char *) dest, *s = (char *) src; |
s | 225 | lib/string.c | *tmp++ = *s++; |
s | 234 | lib/string.c | char *tmp, *s; |
s | 238 | lib/string.c | s = (char *) src; |
s | 240 | lib/string.c | *tmp++ = *s++; |
s | 244 | lib/string.c | s = (char *) src + count; |
s | 246 | lib/string.c | *--tmp = *--s; |
s | 45 | lib/vsprintf.c | static int skip_atoi(const char **s) |
s | 49 | lib/vsprintf.c | while (is_digit(**s)) |
s | 50 | lib/vsprintf.c | i = i*10 + *((*s)++) - '0'; |
s | 140 | lib/vsprintf.c | const char *s; |
s | 217 | lib/vsprintf.c | s = va_arg(args, char *); |
s | 218 | lib/vsprintf.c | if (!s) |
s | 219 | lib/vsprintf.c | s = "<NULL>"; |
s | 221 | lib/vsprintf.c | len = strnlen(s, precision); |
s | 227 | lib/vsprintf.c | *str++ = *s++; |
s | 90 | net/appletalk/ddp.c | atalk_socket *s; |
s | 95 | net/appletalk/ddp.c | s=atalk_socket_list; |
s | 96 | net/appletalk/ddp.c | if(s==sk) |
s | 98 | net/appletalk/ddp.c | atalk_socket_list=s->next; |
s | 102 | net/appletalk/ddp.c | while(s && s->next) |
s | 104 | net/appletalk/ddp.c | if(s->next==sk) |
s | 106 | net/appletalk/ddp.c | s->next=sk->next; |
s | 110 | net/appletalk/ddp.c | s=s->next; |
s | 127 | net/appletalk/ddp.c | atalk_socket *s; |
s | 129 | net/appletalk/ddp.c | for( s = atalk_socket_list; s != NULL; s = s->next ) { |
s | 130 | net/appletalk/ddp.c | if ( to->sat_port != s->at.src_port ) { |
s | 136 | net/appletalk/ddp.c | s->at.src_net == atif->address.s_net ) { |
s | 140 | net/appletalk/ddp.c | if ( to->sat_addr.s_net == s->at.src_net && |
s | 141 | net/appletalk/ddp.c | to->sat_addr.s_node == s->at.src_node ) { |
s | 147 | net/appletalk/ddp.c | return( s ); |
s | 156 | net/appletalk/ddp.c | atalk_socket *s; |
s | 158 | net/appletalk/ddp.c | for ( s = atalk_socket_list; s != NULL; s = s->next ) { |
s | 159 | net/appletalk/ddp.c | if ( s->at.src_net != sat->sat_addr.s_net ) { |
s | 162 | net/appletalk/ddp.c | if ( s->at.src_node != sat->sat_addr.s_node ) { |
s | 165 | net/appletalk/ddp.c | if ( s->at.src_port != sat->sat_port ) { |
s | 170 | net/appletalk/ddp.c | return( s ); |
s | 220 | net/appletalk/ddp.c | atalk_socket *s; |
s | 232 | net/appletalk/ddp.c | for (s = atalk_socket_list; s != NULL; s = s->next) |
s | 234 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%02X ", s->type); |
s | 236 | net/appletalk/ddp.c | s->at.src_net,s->at.src_node,s->at.src_port); |
s | 238 | net/appletalk/ddp.c | s->at.dest_net,s->at.dest_node,s->at.dest_port); |
s | 239 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%08lX:%08lX ", s->wmem_alloc, s->rmem_alloc); |
s | 240 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%02X %d\n", s->state, SOCK_INODE(s->socket)->i_uid); |
s | 122 | net/ax25/af_ax25.c | char c, *s; |
s | 125 | net/ax25/af_ax25.c | for (n = 0, s = buf; n < 6; n++) |
s | 129 | net/ax25/af_ax25.c | if (c != ' ') *s++ = c; |
s | 132 | net/ax25/af_ax25.c | *s++ = '-'; |
s | 136 | net/ax25/af_ax25.c | *s++ = '1'; |
s | 140 | net/ax25/af_ax25.c | *s++ = n + '0'; |
s | 141 | net/ax25/af_ax25.c | *s++ = '\0'; |
s | 171 | net/ax25/af_ax25.c | ax25_cb *s; |
s | 177 | net/ax25/af_ax25.c | if ((s = ax25_list) == ax25) { |
s | 178 | net/ax25/af_ax25.c | ax25_list = s->next; |
s | 183 | net/ax25/af_ax25.c | while (s != NULL && s->next != NULL) { |
s | 184 | net/ax25/af_ax25.c | if (s->next == ax25) { |
s | 185 | net/ax25/af_ax25.c | s->next = ax25->next; |
s | 190 | net/ax25/af_ax25.c | s = s->next; |
s | 201 | net/ax25/af_ax25.c | ax25_cb *s; |
s | 203 | net/ax25/af_ax25.c | for (s = ax25_list; s != NULL; s = s->next) { |
s | 204 | net/ax25/af_ax25.c | if (s->device == dev) { |
s | 205 | net/ax25/af_ax25.c | s->state = AX25_STATE_0; |
s | 206 | net/ax25/af_ax25.c | s->device = NULL; |
s | 207 | net/ax25/af_ax25.c | if (s->sk != NULL) { |
s | 208 | net/ax25/af_ax25.c | s->sk->state = TCP_CLOSE; |
s | 209 | net/ax25/af_ax25.c | s->sk->err = ENETUNREACH; |
s | 210 | net/ax25/af_ax25.c | if (!s->sk->dead) |
s | 211 | net/ax25/af_ax25.c | s->sk->state_change(s->sk); |
s | 212 | net/ax25/af_ax25.c | s->sk->dead = 1; |
s | 264 | net/ax25/af_ax25.c | ax25_cb *s; |
s | 269 | net/ax25/af_ax25.c | for (s = ax25_list; s != NULL; s = s->next) { |
s | 270 | net/ax25/af_ax25.c | if (s->sk != NULL && ax25cmp(&s->source_addr, addr) == 0 && s->sk->type == type && s->sk->state == TCP_LISTEN) { |
s | 272 | net/ax25/af_ax25.c | if (s->device == NULL || s->device == dev) { |
s | 274 | net/ax25/af_ax25.c | return s->sk; |
s | 288 | net/ax25/af_ax25.c | ax25_cb *s; |
s | 294 | net/ax25/af_ax25.c | for (s = ax25_list; s != NULL; s = s->next) { |
s | 295 | net/ax25/af_ax25.c | if (s->sk != NULL && ax25cmp(&s->source_addr, my_addr) == 0 && ax25cmp(&s->dest_addr, dest_addr) == 0 && s->sk->type == type) { |
s | 297 | net/ax25/af_ax25.c | return s->sk; |
s | 312 | net/ax25/af_ax25.c | ax25_cb *s; |
s | 318 | net/ax25/af_ax25.c | for (s = ax25_list; s != NULL; s = s->next) { |
s | 319 | net/ax25/af_ax25.c | if (s->sk != NULL && s->sk->type != SOCK_SEQPACKET) |
s | 321 | net/ax25/af_ax25.c | if (ax25cmp(&s->source_addr, my_addr) == 0 && ax25cmp(&s->dest_addr, dest_addr) == 0 && s->device == dev) { |
s | 323 | net/ax25/af_ax25.c | return s; |
s | 338 | net/ax25/af_ax25.c | ax25_cb *s; |
s | 343 | net/ax25/af_ax25.c | for (s = ax25_list; s != NULL; s = s->next) { |
s | 344 | net/ax25/af_ax25.c | if (s->sk != NULL && ax25cmp(&s->source_addr, addr) == 0 && s->sk->type == SOCK_RAW) { |
s | 346 | net/ax25/af_ax25.c | return s->sk; |
s | 140 | net/ax25/ax25_route.c | struct ax25_route *s, *t, *ax25_rt = ax25_route; |
s | 143 | net/ax25/ax25_route.c | s = ax25_rt; |
s | 146 | net/ax25/ax25_route.c | if (s->dev == dev) { |
s | 147 | net/ax25/ax25_route.c | if (ax25_route == s) { |
s | 148 | net/ax25/ax25_route.c | ax25_route = s->next; |
s | 149 | net/ax25/ax25_route.c | if (s->digipeat != NULL) |
s | 150 | net/ax25/ax25_route.c | kfree_s((void *)s->digipeat, sizeof(ax25_digi)); |
s | 151 | net/ax25/ax25_route.c | kfree_s((void *)s, (sizeof *s)); |
s | 154 | net/ax25/ax25_route.c | if (t->next == s) { |
s | 155 | net/ax25/ax25_route.c | t->next = s->next; |
s | 156 | net/ax25/ax25_route.c | if (s->digipeat != NULL) |
s | 157 | net/ax25/ax25_route.c | kfree_s((void *)s->digipeat, sizeof(ax25_digi)); |
s | 158 | net/ax25/ax25_route.c | kfree_s((void *)s, sizeof(*s)); |
s | 170 | net/ax25/ax25_route.c | struct ax25_route *s, *t, *ax25_rt; |
s | 239 | net/ax25/ax25_route.c | s = ax25_rt; |
s | 241 | net/ax25/ax25_route.c | if (s->dev == dev && ax25cmp(&route.dest_addr, &s->callsign) == 0) { |
s | 242 | net/ax25/ax25_route.c | if (ax25_route == s) { |
s | 243 | net/ax25/ax25_route.c | ax25_route = s->next; |
s | 244 | net/ax25/ax25_route.c | if (s->digipeat != NULL) |
s | 245 | net/ax25/ax25_route.c | kfree_s((void *)s->digipeat, sizeof(ax25_digi)); |
s | 246 | net/ax25/ax25_route.c | kfree_s((void *)s, (sizeof *s)); |
s | 249 | net/ax25/ax25_route.c | if (t->next == s) { |
s | 250 | net/ax25/ax25_route.c | t->next = s->next; |
s | 251 | net/ax25/ax25_route.c | if (s->digipeat != NULL) |
s | 252 | net/ax25/ax25_route.c | kfree_s((void *)s->digipeat, sizeof(ax25_digi)); |
s | 253 | net/ax25/ax25_route.c | kfree_s((void *)s, sizeof(*s)); |
s | 429 | net/ax25/ax25_route.c | struct ax25_dev *s; |
s | 431 | net/ax25/ax25_route.c | for (s = ax25_device; s != NULL; s = s->next) |
s | 432 | net/ax25/ax25_route.c | if (s->dev == dev) |
s | 433 | net/ax25/ax25_route.c | return s; |
s | 491 | net/ax25/ax25_route.c | struct ax25_dev *s, *t, *ax25_dev = ax25_device; |
s | 494 | net/ax25/ax25_route.c | s = ax25_dev; |
s | 497 | net/ax25/ax25_route.c | if (s->dev == dev) { |
s | 498 | net/ax25/ax25_route.c | if (ax25_device == s) { |
s | 499 | net/ax25/ax25_route.c | ax25_device = s->next; |
s | 500 | net/ax25/ax25_route.c | kfree_s((void *)s, (sizeof *s)); |
s | 503 | net/ax25/ax25_route.c | if (t->next == s) { |
s | 504 | net/ax25/ax25_route.c | t->next = s->next; |
s | 505 | net/ax25/ax25_route.c | kfree_s((void *)s, sizeof(*s)); |
s | 385 | net/core/sock.c | int s=skb->truesize; |
s | 395 | net/core/sock.c | sk->wmem_alloc -= s; |
s | 406 | net/core/sock.c | int s=skb->truesize; |
s | 416 | net/core/sock.c | sk->rmem_alloc -= s; |
s | 1402 | net/ipv4/af_inet.c | struct sock *s; |
s | 1418 | net/ipv4/af_inet.c | for(s = prot->sock_array[hnum & (SOCK_ARRAY_SIZE - 1)]; |
s | 1419 | net/ipv4/af_inet.c | s != NULL; s = s->next) |
s | 1423 | net/ipv4/af_inet.c | if (s->num != hnum) |
s | 1426 | net/ipv4/af_inet.c | if(s->dead && (s->state == TCP_CLOSE)) |
s | 1429 | net/ipv4/af_inet.c | if (s->saddr) { |
s | 1430 | net/ipv4/af_inet.c | if (s->saddr != laddr) |
s | 1435 | net/ipv4/af_inet.c | if (s->daddr) { |
s | 1436 | net/ipv4/af_inet.c | if (s->daddr != raddr) |
s | 1441 | net/ipv4/af_inet.c | if (s->dummy_th.dest) { |
s | 1442 | net/ipv4/af_inet.c | if (s->dummy_th.dest != rnum) |
s | 1448 | net/ipv4/af_inet.c | return s; |
s | 1452 | net/ipv4/af_inet.c | result = s; |
s | 1467 | net/ipv4/af_inet.c | struct sock *s; |
s | 1469 | net/ipv4/af_inet.c | s=sk; |
s | 1471 | net/ipv4/af_inet.c | for(; s != NULL; s = s->next) |
s | 1473 | net/ipv4/af_inet.c | if (s->num != num) |
s | 1475 | net/ipv4/af_inet.c | if(s->dead && (s->state == TCP_CLOSE)) |
s | 1477 | net/ipv4/af_inet.c | if(s->daddr && s->daddr!=raddr) |
s | 1479 | net/ipv4/af_inet.c | if(s->saddr && s->saddr!=laddr) |
s | 1481 | net/ipv4/af_inet.c | return(s); |
s | 1496 | net/ipv4/af_inet.c | struct sock *s; |
s | 1510 | net/ipv4/af_inet.c | s=sk; |
s | 1512 | net/ipv4/af_inet.c | for(; s != NULL; s = s->next) |
s | 1514 | net/ipv4/af_inet.c | if (s->num != hnum) |
s | 1516 | net/ipv4/af_inet.c | if(s->dead && (s->state == TCP_CLOSE)) |
s | 1518 | net/ipv4/af_inet.c | if(s->daddr && s->daddr!=raddr) |
s | 1520 | net/ipv4/af_inet.c | if (s->dummy_th.dest != rnum && s->dummy_th.dest != 0) |
s | 1522 | net/ipv4/af_inet.c | if(s->saddr && s->saddr!=laddr) |
s | 1524 | net/ipv4/af_inet.c | return(s); |
s | 371 | net/ipv4/tcp.c | static struct sk_buff *tcp_find_established(struct sock *s) |
s | 373 | net/ipv4/tcp.c | struct sk_buff *p=skb_peek(&s->receive_queue); |
s | 382 | net/ipv4/tcp.c | while(p!=(struct sk_buff *)&s->receive_queue); |
s | 391 | net/ipv4/tcp.c | static struct sk_buff *tcp_dequeue_established(struct sock *s) |
s | 397 | net/ipv4/tcp.c | skb=tcp_find_established(s); |
s | 137 | net/ipx/af_ipx.c | ipx_socket *s; |
s | 151 | net/ipx/af_ipx.c | s=intrfc->if_sklist; |
s | 152 | net/ipx/af_ipx.c | if(s==sk) { |
s | 153 | net/ipx/af_ipx.c | intrfc->if_sklist=s->next; |
s | 158 | net/ipx/af_ipx.c | while(s && s->next) { |
s | 159 | net/ipx/af_ipx.c | if(s->next==sk) { |
s | 160 | net/ipx/af_ipx.c | s->next=sk->next; |
s | 164 | net/ipx/af_ipx.c | s=s->next; |
s | 234 | net/ipx/af_ipx.c | ipx_socket *s; |
s | 241 | net/ipx/af_ipx.c | for (s = intrfc->if_sklist; s->next != NULL; s = s->next) |
s | 243 | net/ipx/af_ipx.c | s->next = sk; |
s | 250 | net/ipx/af_ipx.c | ipx_socket *s; |
s | 252 | net/ipx/af_ipx.c | for (s=intrfc->if_sklist; |
s | 253 | net/ipx/af_ipx.c | (s != NULL) && (s->ipx_port != port); |
s | 254 | net/ipx/af_ipx.c | s=s->next) |
s | 257 | net/ipx/af_ipx.c | return s; |
s | 266 | net/ipx/af_ipx.c | ipx_socket *s, *t; |
s | 272 | net/ipx/af_ipx.c | for (s = intrfc->if_sklist; s != NULL; ) { |
s | 273 | net/ipx/af_ipx.c | s->err = ENOLINK; |
s | 274 | net/ipx/af_ipx.c | s->error_report(s); |
s | 275 | net/ipx/af_ipx.c | s->ipx_intrfc = NULL; |
s | 276 | net/ipx/af_ipx.c | s->ipx_port = 0; |
s | 277 | net/ipx/af_ipx.c | s->zapped=1; /* Indicates it is no longer bound */ |
s | 278 | net/ipx/af_ipx.c | t = s; |
s | 279 | net/ipx/af_ipx.c | s = s->next; |
s | 1175 | net/ipx/af_ipx.c | ipx_socket *s; |
s | 1187 | net/ipx/af_ipx.c | for (s = i->if_sklist; s != NULL; s = s->next) { |
s | 1190 | net/ipx/af_ipx.c | htons(s->ipx_port)); |
s | 1191 | net/ipx/af_ipx.c | if (s->state!=TCP_ESTABLISHED) { |
s | 1196 | net/ipx/af_ipx.c | htonl(s->ipx_dest_addr.net), |
s | 1197 | net/ipx/af_ipx.c | s->ipx_dest_addr.node[0], s->ipx_dest_addr.node[1], |
s | 1198 | net/ipx/af_ipx.c | s->ipx_dest_addr.node[2], s->ipx_dest_addr.node[3], |
s | 1199 | net/ipx/af_ipx.c | s->ipx_dest_addr.node[4], s->ipx_dest_addr.node[5], |
s | 1200 | net/ipx/af_ipx.c | htons(s->ipx_dest_addr.sock)); |
s | 1203 | net/ipx/af_ipx.c | s->wmem_alloc, s->rmem_alloc); |
s | 1205 | net/ipx/af_ipx.c | s->state, SOCK_INODE(s->socket)->i_uid); |
s | 77 | net/netrom/af_netrom.c | struct sock *s; |
s | 83 | net/netrom/af_netrom.c | if ((s = nr_list) == sk) { |
s | 84 | net/netrom/af_netrom.c | nr_list = s->next; |
s | 89 | net/netrom/af_netrom.c | while (s != NULL && s->next != NULL) { |
s | 90 | net/netrom/af_netrom.c | if (s->next == sk) { |
s | 91 | net/netrom/af_netrom.c | s->next = sk->next; |
s | 96 | net/netrom/af_netrom.c | s = s->next; |
s | 107 | net/netrom/af_netrom.c | struct sock *s; |
s | 109 | net/netrom/af_netrom.c | for (s = nr_list; s != NULL; s = s->next) { |
s | 110 | net/netrom/af_netrom.c | if (s->nr->device == dev) { |
s | 111 | net/netrom/af_netrom.c | s->nr->state = NR_STATE_0; |
s | 112 | net/netrom/af_netrom.c | s->nr->device = NULL; |
s | 113 | net/netrom/af_netrom.c | s->state = TCP_CLOSE; |
s | 114 | net/netrom/af_netrom.c | s->err = ENETUNREACH; |
s | 115 | net/netrom/af_netrom.c | s->state_change(s); |
s | 116 | net/netrom/af_netrom.c | s->dead = 1; |
s | 160 | net/netrom/af_netrom.c | struct sock *s; |
s | 165 | net/netrom/af_netrom.c | for (s = nr_list; s != NULL; s = s->next) { |
s | 166 | net/netrom/af_netrom.c | if (ax25cmp(&s->nr->source_addr, addr) == 0 && s->type == type && s->state == TCP_LISTEN) { |
s | 168 | net/netrom/af_netrom.c | return s; |
s | 181 | net/netrom/af_netrom.c | struct sock *s; |
s | 187 | net/netrom/af_netrom.c | for (s = nr_list; s != NULL; s = s->next) { |
s | 188 | net/netrom/af_netrom.c | if (s->nr->my_index == index && s->nr->my_id == id && s->type == type) { |
s | 190 | net/netrom/af_netrom.c | return s; |
s | 204 | net/netrom/af_netrom.c | struct sock *s; |
s | 210 | net/netrom/af_netrom.c | for (s = nr_list; s != NULL; s = s->next) { |
s | 211 | net/netrom/af_netrom.c | if (s->nr->your_index == index && s->nr->your_id == id && s->type == type) { |
s | 213 | net/netrom/af_netrom.c | return s; |
s | 1343 | net/netrom/af_netrom.c | struct sock *s; |
s | 1354 | net/netrom/af_netrom.c | for (s = nr_list; s != NULL; s = s->next) { |
s | 1355 | net/netrom/af_netrom.c | if ((dev = s->nr->device) == NULL) |
s | 1361 | net/netrom/af_netrom.c | ax2asc(&s->nr->user_addr)); |
s | 1363 | net/netrom/af_netrom.c | ax2asc(&s->nr->dest_addr)); |
s | 1365 | net/netrom/af_netrom.c | ax2asc(&s->nr->source_addr), |
s | 1366 | net/netrom/af_netrom.c | devname, s->nr->my_index, s->nr->my_id, |
s | 1367 | net/netrom/af_netrom.c | s->nr->your_index, s->nr->your_id, |
s | 1368 | net/netrom/af_netrom.c | s->nr->state, |
s | 1369 | net/netrom/af_netrom.c | s->nr->vs, s->nr->vr, s->nr->va, |
s | 1370 | net/netrom/af_netrom.c | s->nr->t1timer / PR_SLOWHZ, |
s | 1371 | net/netrom/af_netrom.c | s->nr->t1 / PR_SLOWHZ, |
s | 1372 | net/netrom/af_netrom.c | s->nr->t2timer / PR_SLOWHZ, |
s | 1373 | net/netrom/af_netrom.c | s->nr->t2 / PR_SLOWHZ, |
s | 1374 | net/netrom/af_netrom.c | s->nr->n2count, s->nr->n2, |
s | 1375 | net/netrom/af_netrom.c | s->nr->rtt / PR_SLOWHZ, |
s | 1376 | net/netrom/af_netrom.c | s->window, |
s | 1377 | net/netrom/af_netrom.c | s->wmem_alloc, s->rmem_alloc); |
s | 226 | net/netrom/nr_route.c | struct nr_node *s; |
s | 232 | net/netrom/nr_route.c | if ((s = nr_node_list) == nr_node) { |
s | 239 | net/netrom/nr_route.c | while (s != NULL && s->next != NULL) { |
s | 240 | net/netrom/nr_route.c | if (s->next == nr_node) { |
s | 241 | net/netrom/nr_route.c | s->next = nr_node->next; |
s | 247 | net/netrom/nr_route.c | s = s->next; |
s | 255 | net/netrom/nr_route.c | struct nr_neigh *s; |
s | 261 | net/netrom/nr_route.c | if ((s = nr_neigh_list) == nr_neigh) { |
s | 270 | net/netrom/nr_route.c | while (s != NULL && s->next != NULL) { |
s | 271 | net/netrom/nr_route.c | if (s->next == nr_neigh) { |
s | 272 | net/netrom/nr_route.c | s->next = nr_neigh->next; |
s | 280 | net/netrom/nr_route.c | s = s->next; |
s | 407 | net/netrom/nr_route.c | struct nr_node *s, *nr_node; |
s | 413 | net/netrom/nr_route.c | s = nr_node; |
s | 416 | net/netrom/nr_route.c | for (i = 0; i < s->count; i++) { |
s | 417 | net/netrom/nr_route.c | switch (s->routes[i].obs_count) { |
s | 429 | net/netrom/nr_route.c | if (t->number == s->routes[i].neighbour) { |
s | 439 | net/netrom/nr_route.c | s->count--; |
s | 443 | net/netrom/nr_route.c | s->routes[0] = s->routes[1]; |
s | 445 | net/netrom/nr_route.c | s->routes[1] = s->routes[2]; |
s | 452 | net/netrom/nr_route.c | s->routes[i].obs_count--; |
s | 458 | net/netrom/nr_route.c | if (s->count <= 0) |
s | 459 | net/netrom/nr_route.c | nr_remove_node(s); |
s | 470 | net/netrom/nr_route.c | struct nr_neigh *s, *nr_neigh = nr_neigh_list; |
s | 475 | net/netrom/nr_route.c | s = nr_neigh; |
s | 478 | net/netrom/nr_route.c | if (s->dev == dev) { |
s | 486 | net/netrom/nr_route.c | if (t->routes[i].neighbour == s->number) { |
s | 504 | net/netrom/nr_route.c | nr_remove_neigh(s); |
s | 71 | net/unix/af_unix.c | unix_socket *s; |
s | 74 | net/unix/af_unix.c | s=unix_socket_list; |
s | 75 | net/unix/af_unix.c | if(s==sk) |
s | 77 | net/unix/af_unix.c | unix_socket_list=s->next; |
s | 81 | net/unix/af_unix.c | while(s && s->next) |
s | 83 | net/unix/af_unix.c | if(s->next==sk) |
s | 85 | net/unix/af_unix.c | s->next=sk->next; |
s | 89 | net/unix/af_unix.c | s=s->next; |
s | 104 | net/unix/af_unix.c | unix_socket *s; |
s | 106 | net/unix/af_unix.c | s=unix_socket_list; |
s | 107 | net/unix/af_unix.c | while(s) |
s | 109 | net/unix/af_unix.c | if(s->protinfo.af_unix.inode==i) |
s | 112 | net/unix/af_unix.c | return(s); |
s | 114 | net/unix/af_unix.c | s=s->next; |
s | 973 | net/unix/af_unix.c | unix_socket *s=unix_socket_list; |
s | 977 | net/unix/af_unix.c | while(s!=NULL) |
s | 980 | net/unix/af_unix.c | s, |
s | 981 | net/unix/af_unix.c | s->protinfo.af_unix.locks, |
s | 983 | net/unix/af_unix.c | s->socket->flags, |
s | 984 | net/unix/af_unix.c | s->socket->type, |
s | 985 | net/unix/af_unix.c | s->socket->state); |
s | 986 | net/unix/af_unix.c | if(s->protinfo.af_unix.name!=NULL) |
s | 987 | net/unix/af_unix.c | len+=sprintf(buffer+len, " %s\n", s->protinfo.af_unix.name); |
s | 999 | net/unix/af_unix.c | s=s->next; |