tag | line | file | source code |
s | 402 | arch/alpha/kernel/lca.c | switch (el.s->reason & 0xffffffff) { |
s | 419 | arch/alpha/kernel/lca.c | el.s->reason & 0xffffffff); |
s | 429 | arch/alpha/kernel/lca.c | reason, el.c->retry ? ", retryable" : "", el.s->dc_stat); |
s | 430 | arch/alpha/kernel/lca.c | if (el.s->esr & ESR_EAV) { |
s | 431 | arch/alpha/kernel/lca.c | mem_error(el.s->esr, el.s->ear); |
s | 433 | arch/alpha/kernel/lca.c | if (el.s->ioc_stat0 & IOC_ERR) { |
s | 434 | arch/alpha/kernel/lca.c | ioc_error(el.s->ioc_stat0, el.s->ioc_stat1); |
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 | 73 | arch/alpha/math-emu/ieee-math.c | int s; /* 1 bit sign (0 for +, 1 for -) */ |
s | 243 | arch/alpha/math-emu/ieee-math.c | b->s = a >> 63; |
s | 280 | arch/alpha/math-emu/ieee-math.c | *b = (unsigned long) a->s << 63; /* return +/-0 */ |
s | 327 | arch/alpha/math-emu/ieee-math.c | if (a->s) { |
s | 335 | arch/alpha/math-emu/ieee-math.c | if (a->s) { |
s | 342 | arch/alpha/math-emu/ieee-math.c | *b |= ((unsigned long) a->s << 63); |
s | 347 | arch/alpha/math-emu/ieee-math.c | *b = (((unsigned long) a->s << 63) | |
s | 360 | arch/alpha/math-emu/ieee-math.c | *b = (unsigned long) a->s << 63; /* return +/-0 */ |
s | 406 | arch/alpha/math-emu/ieee-math.c | if (a->s) { |
s | 414 | arch/alpha/math-emu/ieee-math.c | if (a->s) { |
s | 421 | arch/alpha/math-emu/ieee-math.c | *b |= ((unsigned long) a->s << 63); |
s | 425 | arch/alpha/math-emu/ieee-math.c | *b = (((unsigned long) a->s << 63) | |
s | 457 | arch/alpha/math-emu/ieee-math.c | z1.s = z2.s = a->s; |
s | 484 | arch/alpha/math-emu/ieee-math.c | if (a->s) { |
s | 492 | arch/alpha/math-emu/ieee-math.c | if (a->s) { |
s | 514 | arch/alpha/math-emu/ieee-math.c | z1.s = z2.s = a->s; |
s | 542 | arch/alpha/math-emu/ieee-math.c | if (a->s) { |
s | 550 | arch/alpha/math-emu/ieee-math.c | if (a->s) { |
s | 586 | arch/alpha/math-emu/ieee-math.c | if (op_a->s) |
s | 588 | arch/alpha/math-emu/ieee-math.c | if (op_b->s) |
s | 592 | arch/alpha/math-emu/ieee-math.c | op_c->s = fc >> 63; |
s | 593 | arch/alpha/math-emu/ieee-math.c | if (op_c->s) { |
s | 681 | arch/alpha/math-emu/ieee-math.c | op_b.s = 0; |
s | 685 | arch/alpha/math-emu/ieee-math.c | op_b.s = 1; |
s | 711 | arch/alpha/math-emu/ieee-math.c | op_b.s = 0; |
s | 715 | arch/alpha/math-emu/ieee-math.c | op_b.s = 1; |
s | 801 | arch/alpha/math-emu/ieee-math.c | if (temp.s) { |
s | 822 | arch/alpha/math-emu/ieee-math.c | if ((op_a.e == op_b.e && op_a.s == op_b.s && |
s | 844 | arch/alpha/math-emu/ieee-math.c | if ((op_a.s == 1 && op_b.s == 0 && |
s | 846 | arch/alpha/math-emu/ieee-math.c | (op_a.s == 1 && op_b.s == 1 && |
s | 849 | arch/alpha/math-emu/ieee-math.c | (op_a.s == 0 && op_b.s == 0 && |
s | 872 | arch/alpha/math-emu/ieee-math.c | (op_a.s == 1 && op_b.s == 0) || |
s | 873 | arch/alpha/math-emu/ieee-math.c | (op_a.s == 1 && op_b.s == 1 && |
s | 876 | arch/alpha/math-emu/ieee-math.c | (op_a.s == 0 && op_b.s == 0 && |
s | 946 | arch/alpha/math-emu/ieee-math.c | op_c.s = op_a.s && op_b.s; |
s | 994 | arch/alpha/math-emu/ieee-math.c | op_c.s = op_a.s && op_b.s; |
s | 1040 | arch/alpha/math-emu/ieee-math.c | op_b.s = !op_b.s; |
s | 1044 | arch/alpha/math-emu/ieee-math.c | op_c.s = op_a.s && op_b.s; |
s | 1090 | arch/alpha/math-emu/ieee-math.c | op_b.s = !op_b.s; |
s | 1094 | arch/alpha/math-emu/ieee-math.c | op_c.s = op_a.s && op_b.s; |
s | 1142 | arch/alpha/math-emu/ieee-math.c | *c = ((unsigned long) op_a.s ^ op_b.s) << 63; |
s | 1145 | arch/alpha/math-emu/ieee-math.c | op_c.s = op_a.s ^ op_b.s; |
s | 1199 | arch/alpha/math-emu/ieee-math.c | *c = ((unsigned long) op_a.s ^ op_b.s) << 63; |
s | 1202 | arch/alpha/math-emu/ieee-math.c | op_c.s = op_a.s ^ op_b.s; |
s | 1261 | arch/alpha/math-emu/ieee-math.c | *c |= (unsigned long) (op_a.s ^ op_b.s) << 63; |
s | 1264 | arch/alpha/math-emu/ieee-math.c | op_c.s = op_a.s ^ op_b.s; |
s | 1328 | arch/alpha/math-emu/ieee-math.c | *c |= (unsigned long) (op_a.s ^ op_b.s) << 63; |
s | 1331 | arch/alpha/math-emu/ieee-math.c | op_c.s = op_a.s ^ op_b.s; |
s | 24 | arch/i386/boot/compressed/misc.c | #define memzero(s, n) memset ((s), 0, (n)) |
s | 178 | arch/i386/boot/compressed/misc.c | static void puts(const char *s) |
s | 186 | arch/i386/boot/compressed/misc.c | while ( ( c = *s++ ) != '\0' ) { |
s | 215 | arch/i386/boot/compressed/misc.c | __ptr_t memset(__ptr_t s, int c, size_t n) |
s | 218 | arch/i386/boot/compressed/misc.c | char *ss = (char*)s; |
s | 227 | arch/i386/boot/compressed/misc.c | char *d = (char *)__dest, *s = (char *)__src; |
s | 229 | arch/i386/boot/compressed/misc.c | for (i=0;i<__n;i++) d[i] = s[i]; |
s | 60 | arch/i386/boot/tools/build.c | short s[2]; |
s | 81 | 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 | 22 | arch/mips/kernel/sysmips.c | strnlen_user(const char *s, size_t count) |
s | 24 | arch/mips/kernel/sysmips.c | return strnlen(s, count); |
s | 42 | arch/ppc/kernel/irq.c | int s = _disable_interrupts(); |
s | 48 | arch/ppc/kernel/irq.c | _enable_interrupts(s); |
s | 53 | arch/ppc/kernel/irq.c | _enable_interrupts(s); |
s | 59 | arch/ppc/kernel/irq.c | int s = _disable_interrupts(); |
s | 65 | arch/ppc/kernel/irq.c | _enable_interrupts(s); |
s | 70 | arch/ppc/kernel/irq.c | _enable_interrupts(s); |
s | 110 | arch/ppc/kernel/irq.c | int irq, s; |
s | 174 | arch/ppc/kernel/irq.c | int s = _disable_interrupts(); |
s | 201 | arch/ppc/kernel/irq.c | _enable_interrupts(s); |
s | 43 | arch/ppc/kernel/process.c | int s; |
s | 49 | arch/ppc/kernel/process.c | s = _disable_interrupts(); |
s | 57 | arch/ppc/kernel/process.c | _enable_interrupts(s); |
s | 281 | arch/ppc/kernel/raw_printf.c | int s = _disable_interrupts(); |
s | 351 | arch/ppc/kernel/raw_printf.c | int s = _disable_interrupts(); |
s | 380 | arch/ppc/kernel/raw_printf.c | int s = _disable_interrupts(); |
s | 1036 | arch/ppc/kernel/raw_printf.c | #define CTRL(s) (s & 0x1F) |
s | 1092 | arch/ppc/kernel/raw_printf.c | _dump_buf_with_offset(unsigned char *p, int s, unsigned char *base) |
s | 1095 | arch/ppc/kernel/raw_printf.c | if ((unsigned int)s > (unsigned int)p) |
s | 1097 | arch/ppc/kernel/raw_printf.c | s = (unsigned int)s - (unsigned int)p; |
s | 1099 | arch/ppc/kernel/raw_printf.c | while (s > 0) |
s | 1110 | arch/ppc/kernel/raw_printf.c | if (i < s) |
s | 1123 | arch/ppc/kernel/raw_printf.c | if (i < s) |
s | 1134 | arch/ppc/kernel/raw_printf.c | s -= 16; |
s | 1139 | arch/ppc/kernel/raw_printf.c | _dump_buf(unsigned char *p, int s) |
s | 1141 | arch/ppc/kernel/raw_printf.c | _dump_buf_with_offset(p, s, 0); |
s | 1145 | arch/ppc/kernel/raw_printf.c | dump_buf_with_offset(unsigned char *p, int s, unsigned char *base) |
s | 1148 | arch/ppc/kernel/raw_printf.c | if ((unsigned int)s > (unsigned int)p) |
s | 1150 | arch/ppc/kernel/raw_printf.c | s = (unsigned int)s - (unsigned int)p; |
s | 1152 | arch/ppc/kernel/raw_printf.c | while (s > 0) |
s | 1163 | arch/ppc/kernel/raw_printf.c | if (i < s) |
s | 1176 | arch/ppc/kernel/raw_printf.c | if (i < s) |
s | 1187 | arch/ppc/kernel/raw_printf.c | s -= 16; |
s | 1192 | arch/ppc/kernel/raw_printf.c | dump_buf(unsigned char *p, int s) |
s | 1194 | arch/ppc/kernel/raw_printf.c | dump_buf_with_offset(p, s, 0); |
s | 103 | arch/ppc/kernel/signal.c | int s = _disable_interrupts(); |
s | 186 | arch/ppc/kernel/signal.c | _enable_interrupts(s); |
s | 233 | arch/ppc/kernel/signal.c | _enable_interrupts(s); |
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 | 436 | drivers/block/ide-cd.c | char *s; |
s | 445 | drivers/block/ide-cd.c | s = sense_key_texts[reqbuf->sense_key]; |
s | 447 | drivers/block/ide-cd.c | s = "(bad sense key)"; |
s | 449 | drivers/block/ide-cd.c | printk (" Sense key: 0x%02x - %s\n", reqbuf->sense_key, s); |
s | 454 | drivers/block/ide-cd.c | s = buf; |
s | 463 | drivers/block/ide-cd.c | s = NULL; |
s | 468 | drivers/block/ide-cd.c | s = sense_data_texts[mid].text; |
s | 478 | drivers/block/ide-cd.c | if (s == NULL) { |
s | 480 | drivers/block/ide-cd.c | s = "(vendor-specific error)"; |
s | 482 | drivers/block/ide-cd.c | s = "(reserved error code)"; |
s | 486 | drivers/block/ide-cd.c | reqbuf->asc, reqbuf->ascq, s); |
s | 1468 | drivers/block/ide-cd.c | void lba_to_msf (int lba, byte *m, byte *s, byte *f) |
s | 1474 | drivers/block/ide-cd.c | *s = lba / CD_FRAMES; |
s | 1480 | drivers/block/ide-cd.c | int msf_to_lba (byte m, byte s, byte f) |
s | 1482 | drivers/block/ide-cd.c | return (((m * CD_SECS) + s) * CD_FRAMES + f) - CD_BLOCK_OFFSET; |
s | 1159 | drivers/block/ide.c | special_t *s = &drive->special; |
s | 1162 | drivers/block/ide.c | printk("%s: do_special: 0x%02x\n", drive->name, s->all); |
s | 1164 | drivers/block/ide.c | if (s->b.set_geometry) { |
s | 1165 | drivers/block/ide.c | s->b.set_geometry = 0; |
s | 1174 | drivers/block/ide.c | } else if (s->b.recalibrate) { |
s | 1175 | drivers/block/ide.c | s->b.recalibrate = 0; |
s | 1178 | drivers/block/ide.c | } else if (s->b.set_pio) { |
s | 1180 | drivers/block/ide.c | s->b.set_pio = 0; |
s | 1184 | drivers/block/ide.c | } else if (s->b.set_multmode) { |
s | 1185 | drivers/block/ide.c | s->b.set_multmode = 0; |
s | 1193 | drivers/block/ide.c | } else if (s->all) { |
s | 1194 | drivers/block/ide.c | int special = s->all; |
s | 1195 | drivers/block/ide.c | s->all = 0; |
s | 2123 | drivers/block/ide.c | void ide_fixstring (byte *s, const int bytecount, const int byteswap) |
s | 2125 | drivers/block/ide.c | byte *p = s, *end = &s[bytecount & ~1]; /* bytecount must be even */ |
s | 2129 | drivers/block/ide.c | for (p = end ; p != s;) { |
s | 2136 | drivers/block/ide.c | while (s != end && *s == ' ') |
s | 2137 | drivers/block/ide.c | ++s; |
s | 2140 | drivers/block/ide.c | while (s != end && *s) { |
s | 2141 | drivers/block/ide.c | if (*s++ != ' ' || (s != end && *s && *s != ' ')) |
s | 2142 | drivers/block/ide.c | *p++ = *(s-1); |
s | 2564 | drivers/block/ide.c | static int stridx (const char *s, char c) |
s | 2566 | drivers/block/ide.c | char *i = strchr(s, c); |
s | 2567 | drivers/block/ide.c | return (i && c) ? i - s : -1; |
s | 2582 | drivers/block/ide.c | static int match_parm (char *s, const char *keywords[], int vals[], int max_vals) |
s | 2588 | drivers/block/ide.c | if (*s++ == '=') { |
s | 2594 | drivers/block/ide.c | if (!strcmp(s, *keywords++)) |
s | 2603 | drivers/block/ide.c | for (n = 0; (i = stridx(decimal, *s)) >= 0;) { |
s | 2605 | drivers/block/ide.c | while ((i = stridx(decimal, *++s)) >= 0) |
s | 2607 | drivers/block/ide.c | if (*s == 'x' && !vals[n]) { |
s | 2608 | drivers/block/ide.c | while ((i = stridx(hex, *++s)) >= 0) |
s | 2613 | drivers/block/ide.c | if (*s == ',') |
s | 2614 | drivers/block/ide.c | ++s; |
s | 2616 | drivers/block/ide.c | if (!*s) |
s | 2669 | drivers/block/ide.c | void ide_setup (char *s) |
s | 2678 | drivers/block/ide.c | printk("ide_setup: %s", s); |
s | 2684 | drivers/block/ide.c | if (s[0] == 'h' && s[1] == 'd' && s[2] >= 'a' && s[2] <= max_drive) { |
s | 2687 | drivers/block/ide.c | unit = s[2] - 'a'; |
s | 2692 | drivers/block/ide.c | switch (match_parm(&s[3], hd_words, vals, 3)) { |
s | 2730 | drivers/block/ide.c | if (s[0] == 'i' && s[1] == 'd' && s[2] == 'e' && s[3] >= '0' && s[3] <= max_hwif) { |
s | 2736 | drivers/block/ide.c | hw = s[3] - '0'; |
s | 2738 | drivers/block/ide.c | i = match_parm(&s[4], ide_words, vals, 3); |
s | 512 | drivers/block/ide.h | void ide_fixstring (byte *s, const int bytecount, const int byteswap); |
s | 539 | drivers/block/rd.c | #define memzero(s, n) memset ((s), 0, (n)) |
s | 1729 | drivers/cdrom/aztcd.c | { int s; |
s | 1736 | drivers/cdrom/aztcd.c | s = inb(DATA_PORT) & 0xFF; |
s | 1737 | drivers/cdrom/aztcd.c | *result = (unsigned char) s; |
s | 403 | drivers/cdrom/cm206.c | inline int f_s_m2lba(uch f, uch s, uch m) |
s | 405 | drivers/cdrom/cm206.c | return f + 75*(s-2 + 60*m); |
s | 1222 | drivers/cdrom/cm206.c | void cm206_setup(char *s, int *p) |
s | 1225 | drivers/cdrom/cm206.c | if (!strcmp(s, "auto")) auto_probe=1; |
s | 1410 | drivers/cdrom/mcd.c | int s; |
s | 1422 | drivers/cdrom/mcd.c | s = inb(MCDPORT(0)) & 0xFF; |
s | 1423 | drivers/cdrom/mcd.c | *result = (unsigned char) s; |
s | 1078 | drivers/cdrom/mcdx.c | char s[255]; |
s | 1082 | drivers/cdrom/mcdx.c | if (sizeof(s) < vsprintf(s, fmt, args)) |
s | 1084 | drivers/cdrom/mcdx.c | else printk(MCDX ":: %s", s); |
s | 1091 | drivers/cdrom/mcdx.c | char s[255]; |
s | 1094 | drivers/cdrom/mcdx.c | if (sizeof(s) < vsprintf(s, fmt, args)) |
s | 1096 | drivers/cdrom/mcdx.c | else printk(MCDX ": %s", s); |
s | 82 | drivers/cdrom/optcd.c | char s[1024]; |
s | 89 | drivers/cdrom/optcd.c | vsprintf(s, fmt, args); |
s | 90 | drivers/cdrom/optcd.c | printk("optcd: %s\n", s); |
s | 5049 | drivers/cdrom/sbpcd.c | void sbpcd_setup(const char *s, int *p) |
s | 5052 | drivers/cdrom/sbpcd.c | msg(DBG_INI,"sbpcd_setup called with %04X,%s\n",p[1], s); |
s | 5055 | drivers/cdrom/sbpcd.c | else if (!strcmp(s,str_sb)) sbpro_type=1; |
s | 5056 | drivers/cdrom/sbpcd.c | else if (!strcmp(s,str_sb_l)) sbpro_type=1; |
s | 5057 | drivers/cdrom/sbpcd.c | else if (!strcmp(s,str_sp)) sbpro_type=2; |
s | 5058 | drivers/cdrom/sbpcd.c | else if (!strcmp(s,str_sp_l)) sbpro_type=2; |
s | 5059 | drivers/cdrom/sbpcd.c | else if (!strcmp(s,str_ss)) sbpro_type=2; |
s | 5060 | drivers/cdrom/sbpcd.c | else if (!strcmp(s,str_ss_l)) sbpro_type=2; |
s | 5061 | drivers/cdrom/sbpcd.c | else if (!strcmp(s,str_t16)) sbpro_type=3; |
s | 5062 | drivers/cdrom/sbpcd.c | else if (!strcmp(s,str_t16_l)) sbpro_type=3; |
s | 569 | drivers/cdrom/sjcd.c | int s; |
s | 574 | drivers/cdrom/sjcd.c | s = sjcd_receive_status(); |
s | 575 | drivers/cdrom/sjcd.c | if( s < 0 || sjcd_command_failed || !sjcd_status_valid ){ |
s | 577 | drivers/cdrom/sjcd.c | s = sjcd_receive_status(); |
s | 578 | drivers/cdrom/sjcd.c | if( s < 0 || sjcd_command_failed || !sjcd_status_valid ) return( -1 ); |
s | 580 | drivers/cdrom/sjcd.c | s = sjcd_receive_status(); |
s | 581 | drivers/cdrom/sjcd.c | if( s < 0 || sjcd_command_failed || !sjcd_status_valid ) return( -1 ); |
s | 720 | drivers/cdrom/sjcd.c | struct cdrom_ti ti; int s; |
s | 724 | drivers/cdrom/sjcd.c | if( ( s = verify_area( VERIFY_READ, (void *)arg, sizeof( ti ) ) ) == 0 ){ |
s | 742 | drivers/cdrom/sjcd.c | return( s ); |
s | 746 | drivers/cdrom/sjcd.c | struct cdrom_msf sjcd_msf; int s; |
s | 750 | drivers/cdrom/sjcd.c | if( ( s = verify_area( VERIFY_READ, (void *)arg, sizeof( sjcd_msf ) ) ) == 0 ){ |
s | 771 | drivers/cdrom/sjcd.c | return( s ); |
s | 775 | drivers/cdrom/sjcd.c | struct cdrom_tochdr toc_header; int s; |
s | 779 | drivers/cdrom/sjcd.c | if( ( s = verify_area( VERIFY_WRITE, (void *)arg, sizeof( toc_header ) ) ) == 0 ){ |
s | 784 | drivers/cdrom/sjcd.c | return( s ); |
s | 788 | drivers/cdrom/sjcd.c | struct cdrom_tocentry toc_entry; int s; |
s | 792 | drivers/cdrom/sjcd.c | if( ( s = verify_area( VERIFY_WRITE, (void *)arg, sizeof( toc_entry ) ) ) == 0 ){ |
s | 819 | drivers/cdrom/sjcd.c | return( s ); |
s | 823 | drivers/cdrom/sjcd.c | struct cdrom_subchnl subchnl; int s; |
s | 827 | drivers/cdrom/sjcd.c | if( ( s = verify_area( VERIFY_WRITE, (void *)arg, sizeof( subchnl ) ) ) == 0 ){ |
s | 856 | drivers/cdrom/sjcd.c | return( s ); |
s | 860 | drivers/cdrom/sjcd.c | struct cdrom_volctrl vol_ctrl; int s; |
s | 864 | drivers/cdrom/sjcd.c | if( ( s = verify_area( VERIFY_READ, (void *)arg, sizeof( vol_ctrl ) ) ) == 0 ){ |
s | 873 | drivers/cdrom/sjcd.c | return( s ); |
s | 890 | drivers/cdrom/sjcd.c | int s; |
s | 894 | drivers/cdrom/sjcd.c | if( ( s = verify_area( VERIFY_WRITE, (void *)arg, sizeof( statistic ) ) ) == 0 ) |
s | 896 | drivers/cdrom/sjcd.c | return( s ); |
s | 1321 | drivers/cdrom/sjcd.c | int s, sjcd_open_tries; |
s | 1351 | drivers/cdrom/sjcd.c | s = sjcd_tray_close(); |
s | 1352 | drivers/cdrom/sjcd.c | if( s < 0 || !sjcd_status_valid || sjcd_command_failed ){ |
s | 1363 | drivers/cdrom/sjcd.c | s = sjcd_tray_lock(); |
s | 1364 | drivers/cdrom/sjcd.c | if( s < 0 || !sjcd_status_valid || sjcd_command_failed ){ |
s | 1385 | drivers/cdrom/sjcd.c | int s; |
s | 1397 | drivers/cdrom/sjcd.c | s = sjcd_tray_unlock(); |
s | 1398 | drivers/cdrom/sjcd.c | if( s < 0 || !sjcd_status_valid || sjcd_command_failed ){ |
s | 1404 | drivers/cdrom/sjcd.c | s = sjcd_tray_open(); |
s | 1405 | drivers/cdrom/sjcd.c | if( s < 0 || !sjcd_status_valid || sjcd_command_failed ){ |
s | 191 | drivers/char/console.c | extern int serial_echo_print (const char *s); |
s | 217 | drivers/char/console.c | serial_echo_print(const char *s) |
s | 233 | drivers/char/console.c | for (i = 0; *s; i++, s++) { |
s | 237 | drivers/char/console.c | serial_echo_outb(*s, UART_TX); |
s | 240 | drivers/char/console.c | if (*s == 10) { |
s | 550 | drivers/char/console.c | unsigned short * s = d + last_origin_rel; |
s | 554 | drivers/char/console.c | scr_writew(scr_readw(d++),s++); |
s | 602 | drivers/char/console.c | unsigned short * s = (unsigned short *) origin; |
s | 608 | drivers/char/console.c | scr_writew(scr_readw(s++),d++); |
s | 635 | drivers/char/console.c | unsigned short * s = (unsigned short *) (origin+video_size_row*(t+1)); |
s | 640 | drivers/char/console.c | scr_writew(scr_readw(s++), d++); |
s | 653 | drivers/char/console.c | unsigned short *d, *s; |
s | 659 | drivers/char/console.c | s = (unsigned short *) (origin+video_size_row*(b-1)); |
s | 663 | drivers/char/console.c | scr_writew(scr_readw(--s), --d); |
s | 464 | drivers/char/ftape/ecc.c | static inline void gfmat_mul(int n, Matrix A, unsigned char *s, unsigned char *b) |
s | 472 | drivers/char/ftape/ecc.c | dot_prod = gfadd(dot_prod, gfmul(A[i][j], s[j])); |
s | 592 | drivers/char/ftape/ecc.c | static int compute_syndromes(unsigned long *data, int nblocks, unsigned long *s) |
s | 603 | drivers/char/ftape/ecc.c | s[0] = gfmul_exp_long(gfadd_long(p[0], gfmul_exp_long(gfadd_long(p[1], |
s | 605 | drivers/char/ftape/ecc.c | s[1] = gfadd_long(gfadd_long(p[2], p[1]), p[0]); |
s | 606 | drivers/char/ftape/ecc.c | s[2] = gfmul_exp_long(gfadd_long(p[0], gfmul_exp_long(gfadd_long(p[1], |
s | 625 | drivers/char/ftape/ecc.c | unsigned char *s, |
s | 639 | drivers/char/ftape/ecc.c | if (s[0] == 0) { |
s | 645 | drivers/char/ftape/ecc.c | t1 = gfdiv(s[1], s[0]); |
s | 652 | drivers/char/ftape/ecc.c | error_mag[0] = s[1]; |
s | 655 | drivers/char/ftape/ecc.c | t1 = gfadd(gfmul_exp(s[1], bad_loc[0]), s[2]); |
s | 656 | drivers/char/ftape/ecc.c | t2 = gfadd(gfmul_exp(s[0], bad_loc[0]), s[1]); |
s | 685 | drivers/char/ftape/ecc.c | gfmat_mul(nbad, Ainv, s, error_mag); |
s | 701 | drivers/char/ftape/ecc.c | c0 = s[0]; |
s | 702 | drivers/char/ftape/ecc.c | c1 = s[1]; |
s | 703 | drivers/char/ftape/ecc.c | c2 = s[2]; |
s | 738 | drivers/char/ftape/ecc.c | unsigned long s[3]; |
s | 740 | drivers/char/ftape/ecc.c | if (!compute_syndromes(data, nblocks, s)) { |
s | 788 | drivers/char/ftape/ecc.c | unsigned char s[3]; |
s | 844 | drivers/char/ftape/ecc.c | s[0] = ss[0]; |
s | 845 | drivers/char/ftape/ecc.c | s[1] = ss[1]; |
s | 846 | drivers/char/ftape/ecc.c | s[2] = ss[2]; |
s | 847 | drivers/char/ftape/ecc.c | if (s[0] | s[1] | s[2]) { |
s | 851 | drivers/char/ftape/ecc.c | nerasures, erasure_loc, Ainv, s, |
s | 855 | drivers/char/ftape/ecc.c | nerasures, erasure_loc, Ainv, s, |
s | 470 | drivers/char/random.c | #define MD5STEP(f, w, x, y, z, data, s) \ |
s | 471 | drivers/char/random.c | ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x ) |
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 | 179 | drivers/char/selection.h | static inline void memsetw(void * s, unsigned short c, unsigned int count) |
s | 181 | drivers/char/selection.h | unsigned short * addr = (unsigned short *) s; |
s | 90 | drivers/char/serial.c | #define DBG_CNT(s) printk("(%s): [%x] refc=%d, serc=%d, ttyc=%d -> %s\n", \ |
s | 91 | drivers/char/serial.c | kdevname(tty->device), (info->flags), serial_refcount,info->count,tty->count,s) |
s | 93 | drivers/char/serial.c | #define DBG_CNT(s) |
s | 428 | drivers/char/tpqic02.c | static void tpqputs(unsigned long flags, const char *s) |
s | 431 | drivers/char/tpqic02.c | printk(TPQIC02_NAME ": %s\n", s); |
s | 487 | drivers/char/tpqic02.c | static int decode_exception_nr(unsigned s) |
s | 492 | drivers/char/tpqic02.c | if ((s & exception_list[i].mask)==exception_list[i].code) |
s | 495 | drivers/char/tpqic02.c | printk(TPQIC02_NAME ": decode_exception_nr: exception(%x) not recognized\n", s); |
s | 508 | drivers/char/tpqic02.c | static void report_error(int s) |
s | 512 | drivers/char/tpqic02.c | if (s & TP_ST1) { |
s | 513 | drivers/char/tpqic02.c | if (s & TP_ILL) /* 12: Illegal command. FATAL */ |
s | 515 | drivers/char/tpqic02.c | if (s & TP_POR) /* 13: Reset occurred. FATAL */ |
s | 518 | drivers/char/tpqic02.c | else if (s & TP_ST0) { |
s | 519 | drivers/char/tpqic02.c | if (s & TP_EOR) { /* extra: 15: End of Recorded Media. CONTINUABLE */ |
s | 523 | drivers/char/tpqic02.c | else if (s & TP_EOM) /* 4: End Of Media. CONTINUABLE */ |
s | 525 | drivers/char/tpqic02.c | else if (s & TP_USL) /* 2: Drive not online. FATAL */ |
s | 527 | drivers/char/tpqic02.c | else if (s & TP_CNI) { /* 1: Cartridge not in place. FATAL */ |
s | 533 | drivers/char/tpqic02.c | else if (s & TP_UDA) { |
s | 534 | drivers/char/tpqic02.c | if (s & TP_BNL) { |
s | 535 | drivers/char/tpqic02.c | if (s & TP_NDT) { |
s | 536 | drivers/char/tpqic02.c | if (s & TP_BOM) /* 9: Read error. No data detected & EOM. CONTINUABLE */ |
s | 538 | drivers/char/tpqic02.c | else if (s & TP_EOM) /* 10: Read error. No data detected & BOM. CONTINUABLE */ |
s | 548 | drivers/char/tpqic02.c | if (s & TP_EOM) /* 5: Read or Write error. Rewind tape. FATAL */ |
s | 560 | drivers/char/tpqic02.c | else if (s & TP_FIL) { |
s | 561 | drivers/char/tpqic02.c | if (s & TP_MBD) { /* 14: Marginal block detected. CONTINUABLE */ |
s | 567 | drivers/char/tpqic02.c | else if (s & TP_WRP) /* 3: Write protected cartridge. FATAL */ |
s | 848 | drivers/char/tpqic02.c | int s, n; |
s | 882 | drivers/char/tpqic02.c | do s = inb_p(QIC02_STAT_PORT); |
s | 883 | drivers/char/tpqic02.c | while ((s & QIC02_STAT_MASK) == QIC02_STAT_MASK); /* wait for ready or exception */ |
s | 885 | drivers/char/tpqic02.c | if ((s & QIC02_STAT_EXCEPTION) == 0) { /* if exception */ |
s | 2251 | drivers/char/tpqic02.c | int s; |
s | 2309 | drivers/char/tpqic02.c | s = tp_sense(TP_WRP|TP_EOM|TP_BOM|TP_CNI|TP_EOR); |
s | 2311 | drivers/char/tpqic02.c | if (s == TE_OK) |
s | 2314 | drivers/char/tpqic02.c | s = tp_sense(TP_WRP|TP_EOM|TP_BOM|TP_CNI|TP_EOR); |
s | 2316 | drivers/char/tpqic02.c | if (s != TE_OK) { |
s | 2352 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_REWIND, TIM_R); |
s | 2353 | drivers/char/tpqic02.c | if (s != 0) { |
s | 2399 | drivers/char/tpqic02.c | s = 0; |
s | 2402 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_DENS_11, TIM_S); |
s | 2405 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_DENS_24, TIM_S); |
s | 2408 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_DENS_120, TIM_S); |
s | 2411 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_DENS_150, TIM_S); |
s | 2414 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_DENS_300, TIM_S); |
s | 2417 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_DENS_600, TIM_S); |
s | 2420 | drivers/char/tpqic02.c | s = do_qic_cmd(QCMD_RETEN, TIM_R); |
s | 2422 | drivers/char/tpqic02.c | if (s != 0) { |
s | 417 | drivers/char/vt.c | u_char s; |
s | 424 | drivers/char/vt.c | if ((s = get_user(&a->kb_table)) >= MAX_NR_KEYMAPS) |
s | 426 | drivers/char/vt.c | key_map = key_maps[s]; |
s | 441 | drivers/char/vt.c | u_char s; |
s | 451 | drivers/char/vt.c | if ((s = get_user(&a->kb_table)) >= MAX_NR_KEYMAPS) |
s | 456 | drivers/char/vt.c | key_map = key_maps[s]; |
s | 457 | drivers/char/vt.c | if (s && key_map) { |
s | 458 | drivers/char/vt.c | key_maps[s] = 0; |
s | 478 | drivers/char/vt.c | if (!(key_map = key_maps[s])) { |
s | 488 | drivers/char/vt.c | key_maps[s] = key_map; |
s | 504 | drivers/char/vt.c | if (!s && (KTYP(ov) == KT_SHIFT || KTYP(v) == KT_SHIFT)) |
s | 163 | drivers/isdn/icn/icn.c | register u_char s; |
s | 166 | drivers/isdn/icn/icn.c | for (s = firstbit, c = bitcount; c > 0; s--, c--) |
s | 167 | drivers/isdn/icn/icn.c | OUTB_P((u_char) ((val >> s) & 1) ? 0xff : 0, port); |
s | 1035 | drivers/isdn/icn/icn.c | static int my_atoi(char *s) |
s | 1040 | drivers/isdn/icn/icn.c | if (!s) |
s | 1042 | drivers/isdn/icn/icn.c | for (i = 0; *s >= '0' && *s <= '9'; i++, s++) |
s | 1043 | drivers/isdn/icn/icn.c | n = 10 * n + (*s - '0'); |
s | 85 | drivers/isdn/isdn_common.c | void isdn_dumppkt(char *s, u_char * p, int len, int dumplen) |
s | 89 | drivers/isdn/isdn_common.c | printk(KERN_DEBUG "%s(%d) ", s, len); |
s | 1004 | drivers/isdn/isdn_common.c | char *s; |
s | 1033 | drivers/isdn/isdn_common.c | s = name; |
s | 1035 | drivers/isdn/isdn_common.c | s = NULL; |
s | 1036 | drivers/isdn/isdn_common.c | if ((s = isdn_net_new(s, NULL))) { |
s | 1037 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_WRITE, (void *) arg, strlen(s) + 1))) |
s | 1039 | drivers/isdn/isdn_common.c | memcpy_tofs((char *) arg, s, strlen(s) + 1); |
s | 1051 | drivers/isdn/isdn_common.c | if ((s = isdn_net_newslave(bname))) { |
s | 1052 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_WRITE, (void *) arg, strlen(s) + 1))) |
s | 1054 | drivers/isdn/isdn_common.c | memcpy_tofs((char *) arg, s, strlen(s) + 1); |
s | 69 | drivers/isdn/isdn_net.c | static int isdn_net_wildmat(char *s, char *p); |
s | 1246 | drivers/isdn/isdn_net.c | isdn_net_Star(char *s, char *p) |
s | 1248 | drivers/isdn/isdn_net.c | while (isdn_net_wildmat(s, p) == 0) |
s | 1249 | drivers/isdn/isdn_net.c | if (*++s == '\0') |
s | 1268 | drivers/isdn/isdn_net.c | isdn_net_wildmat(char *s, char *p) |
s | 1274 | drivers/isdn/isdn_net.c | for (; *p; s++, p++) |
s | 1283 | drivers/isdn/isdn_net.c | if (*s != *p) |
s | 1288 | drivers/isdn/isdn_net.c | if (*s == '\0') |
s | 1293 | drivers/isdn/isdn_net.c | return (*++p ? isdn_net_Star(s, p) : 1); |
s | 1300 | drivers/isdn/isdn_net.c | if (*p == '-' ? *s <= *++p && *s >= last : *s == *p) |
s | 1306 | drivers/isdn/isdn_net.c | return (*s == '\0'); |
s | 1373 | drivers/isdn/isdn_net.c | char *s; |
s | 1384 | drivers/isdn/isdn_net.c | s = strtok(nr, ","); |
s | 1385 | drivers/isdn/isdn_net.c | s = strtok(NULL, ","); |
s | 1386 | drivers/isdn/isdn_net.c | if (!s) { |
s | 1392 | drivers/isdn/isdn_net.c | si1 = (int)simple_strtoul(s,NULL,10); |
s | 1393 | drivers/isdn/isdn_net.c | s = strtok(NULL, ","); |
s | 1394 | drivers/isdn/isdn_net.c | if (!s) { |
s | 1400 | drivers/isdn/isdn_net.c | si2 = (int)simple_strtoul(s,NULL,10); |
s | 1222 | drivers/isdn/isdn_tty.c | char *s; |
s | 1234 | drivers/isdn/isdn_tty.c | s = strtok(nr, ","); |
s | 1235 | drivers/isdn/isdn_tty.c | s = strtok(NULL, ","); |
s | 1236 | drivers/isdn/isdn_tty.c | if (!s) { |
s | 1242 | drivers/isdn/isdn_tty.c | si1 = (int)simple_strtoul(s,NULL,10); |
s | 1243 | drivers/isdn/isdn_tty.c | s = strtok(NULL, ","); |
s | 1244 | drivers/isdn/isdn_tty.c | if (!s) { |
s | 1250 | drivers/isdn/isdn_tty.c | si2 = (int)simple_strtoul(s,NULL,10); |
s | 1438 | drivers/isdn/isdn_tty.c | char s[4]; |
s | 1475 | drivers/isdn/isdn_tty.c | sprintf(s, "%d", code); |
s | 1476 | drivers/isdn/isdn_tty.c | isdn_tty_at_cout(s, info); |
s | 26 | drivers/isdn/teles/callc.c | stat_debug(struct Channel *chanp, char *s) |
s | 31 | drivers/isdn/teles/callc.c | sprintf(tmp, "%s Channel %d HL->LL %s\n", tm, chanp->chan, s); |
s | 37 | drivers/isdn/teles/callc.c | stat_error(struct Channel *chanp, char *s) |
s | 41 | drivers/isdn/teles/callc.c | sprintf(tmp, "Channel %d: %s\n", chanp->chan, s); |
s | 180 | drivers/isdn/teles/callc.c | my_atoi(char *s) |
s | 185 | drivers/isdn/teles/callc.c | if (!s) |
s | 187 | drivers/isdn/teles/callc.c | for (i = 0; *s >= '0' && *s <= '9'; i++, s++) |
s | 188 | drivers/isdn/teles/callc.c | n = 10 * n + (*s - '0'); |
s | 862 | drivers/isdn/teles/callc.c | callc_debug(struct FsmInst *fi, char *s) |
s | 868 | drivers/isdn/teles/callc.c | sprintf(str, "%s Channel %d callc %s\n", tm, chanp->chan, s); |
s | 873 | drivers/isdn/teles/callc.c | lc_debug(struct FsmInst *fi, char *s) |
s | 879 | drivers/isdn/teles/callc.c | sprintf(str, "%s Channel %d lc %s\n", tm, lf->ch->chan, s); |
s | 884 | drivers/isdn/teles/callc.c | dlc_debug(struct FsmInst *fi, char *s) |
s | 890 | drivers/isdn/teles/callc.c | sprintf(str, "%s Channel %d dlc %s\n", tm, lf->ch->chan, s); |
s | 1150 | drivers/isdn/teles/callc.c | command_debug(struct Channel *chanp, char *s) |
s | 1155 | drivers/isdn/teles/callc.c | sprintf(tmp, "%s Channel %d LL->HL %s\n", tm, chanp->chan, s); |
s | 130 | drivers/isdn/teles/fsm.c | jiftime(char *s, long mark) |
s | 132 | drivers/isdn/teles/fsm.c | s += 8; |
s | 134 | drivers/isdn/teles/fsm.c | *s-- = '\0'; |
s | 135 | drivers/isdn/teles/fsm.c | *s-- = mark % 10 + '0'; |
s | 137 | drivers/isdn/teles/fsm.c | *s-- = mark % 10 + '0'; |
s | 139 | drivers/isdn/teles/fsm.c | *s-- = '.'; |
s | 140 | drivers/isdn/teles/fsm.c | *s-- = mark % 10 + '0'; |
s | 142 | drivers/isdn/teles/fsm.c | *s-- = mark % 6 + '0'; |
s | 144 | drivers/isdn/teles/fsm.c | *s-- = ':'; |
s | 145 | drivers/isdn/teles/fsm.c | *s-- = mark % 10 + '0'; |
s | 147 | drivers/isdn/teles/fsm.c | *s-- = mark % 10 + '0'; |
s | 6 | drivers/isdn/teles/isdnl2.c | static void l2m_debug(struct FsmInst *fi, char *s); |
s | 1363 | drivers/isdn/teles/isdnl2.c | l2m_debug(struct FsmInst *fi, char *s) |
s | 1369 | drivers/isdn/teles/isdnl2.c | sprintf(str, "%s %s %s\n", tm, st->l2.debug_id, s); |
s | 411 | drivers/isdn/teles/teles.h | void jiftime(char *s, long mark); |
s | 465 | drivers/net/eql.c | slave_t *s = eql_new_slave (); |
s | 467 | drivers/net/eql.c | s->dev = slave_dev; |
s | 468 | drivers/net/eql.c | s->priority = srq.priority; |
s | 469 | drivers/net/eql.c | s->priority_bps = srq.priority; |
s | 470 | drivers/net/eql.c | s->priority_Bps = srq.priority / 8; |
s | 472 | drivers/net/eql.c | eql_insert_slave (eql->queue, s); |
s | 93 | drivers/net/eth82586.h | #define SCB_complete(s) ((s&0x8000)!=0) |
s | 94 | drivers/net/eth82586.h | #define SCB_rxdframe(s) ((s&0x4000)!=0) |
s | 95 | drivers/net/eth82586.h | #define SCB_CUdead(s) ((s&0x2000)!=0) |
s | 96 | drivers/net/eth82586.h | #define SCB_RUdead(s) ((s&0x1000)!=0) |
s | 97 | drivers/net/eth82586.h | #define SCB_ack(s) (s & 0xf000) |
s | 100 | drivers/net/eth82586.h | #define SCB_CUstat(s) ((s&0x0300)>>8) |
s | 103 | drivers/net/eth82586.h | #define SCB_RUstat(s) ((s&0x0070)>>4) |
s | 126 | drivers/net/eth82586.h | #define Stat_Done(s) ((s&0x8000)!=0) |
s | 127 | drivers/net/eth82586.h | #define Stat_Busy(s) ((s&0x4000)!=0) |
s | 128 | drivers/net/eth82586.h | #define Stat_OK(s) ((s&0x2000)!=0) |
s | 129 | drivers/net/eth82586.h | #define Stat_Abort(s) ((s&0x1000)!=0) |
s | 130 | drivers/net/eth82586.h | #define Stat_STFail ((s&0x0800)!=0) |
s | 131 | drivers/net/eth82586.h | #define Stat_TNoCar(s) ((s&0x0400)!=0) |
s | 132 | drivers/net/eth82586.h | #define Stat_TNoCTS(s) ((s&0x0200)!=0) |
s | 133 | drivers/net/eth82586.h | #define Stat_TNoDMA(s) ((s&0x0100)!=0) |
s | 134 | drivers/net/eth82586.h | #define Stat_TDefer(s) ((s&0x0080)!=0) |
s | 135 | drivers/net/eth82586.h | #define Stat_TColl(s) ((s&0x0040)!=0) |
s | 136 | drivers/net/eth82586.h | #define Stat_TXColl(s) ((s&0x0020)!=0) |
s | 137 | drivers/net/eth82586.h | #define Stat_NoColl(s) (s&0x000f) |
s | 163 | drivers/net/eth82586.h | #define FD_Done(s) ((s&0x8000)!=0) |
s | 164 | drivers/net/eth82586.h | #define FD_Busy(s) ((s&0x4000)!=0) |
s | 165 | drivers/net/eth82586.h | #define FD_OK(s) ((s&0x2000)!=0) |
s | 167 | drivers/net/eth82586.h | #define FD_CRC(s) ((s&0x0800)!=0) |
s | 168 | drivers/net/eth82586.h | #define FD_Align(s) ((s&0x0400)!=0) |
s | 169 | drivers/net/eth82586.h | #define FD_Resrc(s) ((s&0x0200)!=0) |
s | 170 | drivers/net/eth82586.h | #define FD_DMA(s) ((s&0x0100)!=0) |
s | 171 | drivers/net/eth82586.h | #define FD_Short(s) ((s&0x0080)!=0) |
s | 172 | drivers/net/eth82586.h | #define FD_NoEOF(s) ((s&0x0040)!=0) |
s | 385 | drivers/net/ni65.c | tmdp->u.s.status = XMIT_START | XMIT_END; |
s | 400 | drivers/net/ni65.c | rmdp->u.s.status = RCV_OWN; |
s | 500 | drivers/net/ni65.c | if(! (rmdp->u.s.status & RCV_OWN) ) |
s | 537 | drivers/net/ni65.c | int tmdstat = tmdp->u.s.status; |
s | 594 | drivers/net/ni65.c | while(!( (rmdstat = rmdp->u.s.status) & RCV_OWN)) |
s | 620 | drivers/net/ni65.c | rmdp->u.s.status = RCV_OWN; /* change owner */ |
s | 651 | drivers/net/ni65.c | rmdp->u.s.status = RCV_OWN; |
s | 658 | drivers/net/ni65.c | rmdp->u.s.status = RCV_OWN; |
s | 664 | drivers/net/ni65.c | rmdp->u.s.status = RCV_OWN; |
s | 733 | drivers/net/ni65.c | tmdp->u.s.status = XMIT_OWN | XMIT_START | XMIT_END; |
s | 109 | drivers/net/ni65.h | } s; |
s | 124 | drivers/net/ni65.h | } s; |
s | 1049 | drivers/net/sk_g16.c | tmdp->u.s.status = TX_STP | TX_ENP; |
s | 1069 | drivers/net/sk_g16.c | rmdp->u.s.status = RX_OWN; |
s | 1267 | drivers/net/sk_g16.c | tmdp->u.s.status = TX_OWN | TX_STP | TX_ENP; |
s | 1279 | drivers/net/sk_g16.c | if (! ((p->tmdhead + p->tmdnum)->u.s.status & TX_OWN) ) |
s | 1401 | drivers/net/sk_g16.c | tmdstat = tmdp->u.s.status & 0xff00; /* filter out status bits 15:08 */ |
s | 1520 | drivers/net/sk_g16.c | while (!( (rmdstat = rmdp->u.s.status) & RX_OWN)) |
s | 1550 | drivers/net/sk_g16.c | rmdp->u.s.status = RX_OWN; /* Relinquish ownership to LANCE */ |
s | 1562 | drivers/net/sk_g16.c | rmdp->u.s.status = RX_OWN; /* Relinquish ownership to LANCE */ |
s | 1581 | drivers/net/sk_g16.c | rmdp->u.s.status = RX_OWN; /* Relinquish ownership to LANCE */ |
s | 1620 | 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 | 857 | drivers/net/slip.c | slip_esc(unsigned char *s, unsigned char *d, int len) |
s | 876 | drivers/net/slip.c | switch(c = *s++) { |
s | 895 | drivers/net/slip.c | slip_unesc(struct slip *sl, unsigned char s) |
s | 898 | drivers/net/slip.c | switch(s) { |
s | 916 | drivers/net/slip.c | s = ESC; |
s | 921 | drivers/net/slip.c | s = END; |
s | 927 | drivers/net/slip.c | sl->rbuff[sl->rcount++] = s; |
s | 942 | drivers/net/slip.c | slip_esc6(unsigned char *s, unsigned char *d, int len) |
s | 963 | drivers/net/slip.c | v = (v << 8) | s[i]; |
s | 980 | drivers/net/slip.c | slip_unesc6(struct slip *sl, unsigned char s) |
s | 984 | drivers/net/slip.c | if (s == 0x70) { |
s | 995 | drivers/net/slip.c | } else if (s >= 0x30 && s < 0x70) { |
s | 996 | drivers/net/slip.c | sl->xdata = (sl->xdata << 6) | ((s - 0x30) & 0x3F); |
s | 1380 | drivers/net/slip.c | unsigned char s = (sl->mode & SL_MODE_SLIP6)?0x70:END; |
s | 1382 | drivers/net/slip.c | unsigned char s = END; |
s | 1388 | drivers/net/slip.c | sl->tty->driver.write(sl->tty, 0, &s, 1); |
s | 506 | drivers/net/smc9194.c | static int crc32( char * s, int length ) { |
s | 518 | drivers/net/smc9194.c | c = *(s++); |
s | 631 | drivers/net/strip.c | ptr[3] = '0' + haddr.s[0] % 10; haddr.s[0] /= 10; |
s | 632 | drivers/net/strip.c | ptr[2] = '0' + haddr.s[0] % 10; haddr.s[0] /= 10; |
s | 633 | drivers/net/strip.c | ptr[1] = '0' + haddr.s[0] % 10; haddr.s[0] /= 10; |
s | 634 | drivers/net/strip.c | ptr[0] = '0' + haddr.s[0] % 10; |
s | 637 | drivers/net/strip.c | ptr[3] = '0' + haddr.s[1] % 10; haddr.s[1] /= 10; |
s | 638 | drivers/net/strip.c | ptr[2] = '0' + haddr.s[1] % 10; haddr.s[1] /= 10; |
s | 639 | drivers/net/strip.c | ptr[1] = '0' + haddr.s[1] % 10; haddr.s[1] /= 10; |
s | 640 | drivers/net/strip.c | ptr[0] = '0' + haddr.s[1] % 10; |
s | 1231 | drivers/net/strip.c | struct strip **s = &struct_strip_list; |
s | 1250 | drivers/net/strip.c | while (*s && (*s)->dev.base_addr == channel_id) |
s | 1253 | drivers/net/strip.c | s = &(*s)->next; |
s | 1260 | drivers/net/strip.c | strip_info->next = *s; |
s | 1261 | drivers/net/strip.c | if (*s) |
s | 1262 | drivers/net/strip.c | (*s)->referrer = &strip_info->next; |
s | 1263 | drivers/net/strip.c | strip_info->referrer = s; |
s | 1264 | drivers/net/strip.c | *s = strip_info; |
s | 753 | drivers/net/wavelan.c | #define SC(t,s,n) if (sizeof(t) != s) return n |
s | 3197 | drivers/scsi/53c7,8xx.c | TOKEN(ms,3), TOKEN(rp,2), TOKEN(rs,2), TOKEN(s,0), TOKEN(tb,0), TOKEN(te,0) |
s | 875 | drivers/scsi/NCR5380.c | int i, s; |
s | 877 | drivers/scsi/NCR5380.c | for ( i = 1, s = COMMAND_SIZE(command[0]); i < s; ++i) |
s | 2266 | drivers/scsi/advansys.c | #define ASC_DBG(lvl, s) |
s | 2267 | drivers/scsi/advansys.c | #define ASC_DBG1(lvl, s, a1) |
s | 2268 | drivers/scsi/advansys.c | #define ASC_DBG2(lvl, s, a1, a2) |
s | 2269 | drivers/scsi/advansys.c | #define ASC_DBG3(lvl, s, a1, a2, a3) |
s | 2270 | drivers/scsi/advansys.c | #define ASC_DBG4(lvl, s, a1, a2, a3, a4) |
s | 2271 | drivers/scsi/advansys.c | #define ASC_DBG_PRT_SCSI_HOST(lvl, s) |
s | 2291 | drivers/scsi/advansys.c | #define ASC_DBG(lvl, s) \ |
s | 2294 | drivers/scsi/advansys.c | printk(s); \ |
s | 2298 | drivers/scsi/advansys.c | #define ASC_DBG1(lvl, s, a1) \ |
s | 2301 | drivers/scsi/advansys.c | printk((s), (a1)); \ |
s | 2305 | drivers/scsi/advansys.c | #define ASC_DBG2(lvl, s, a1, a2) \ |
s | 2308 | drivers/scsi/advansys.c | printk((s), (a1), (a2)); \ |
s | 2312 | drivers/scsi/advansys.c | #define ASC_DBG3(lvl, s, a1, a2, a3) \ |
s | 2315 | drivers/scsi/advansys.c | printk((s), (a1), (a2), (a3)); \ |
s | 2319 | drivers/scsi/advansys.c | #define ASC_DBG4(lvl, s, a1, a2, a3, a4) \ |
s | 2322 | drivers/scsi/advansys.c | printk((s), (a1), (a2), (a3), (a4)); \ |
s | 2326 | drivers/scsi/advansys.c | #define ASC_DBG_PRT_SCSI_HOST(lvl, s) \ |
s | 2329 | drivers/scsi/advansys.c | asc_prt_scsi_host(s); \ |
s | 4489 | drivers/scsi/advansys.c | DvcDisplayString(uchar *s) |
s | 4491 | drivers/scsi/advansys.c | printk(s); |
s | 4679 | drivers/scsi/advansys.c | struct asc_stats *s; |
s | 4684 | drivers/scsi/advansys.c | s = &asc_stats; |
s | 4694 | drivers/scsi/advansys.c | s->command, s->queuecommand, s->abort, s->reset, s->biosparam); |
s | 4699 | drivers/scsi/advansys.c | s->interrupt, s->callback, s->cmd_disable, s->intr_disable); |
s | 4704 | drivers/scsi/advansys.c | s->error, s->enqueue, s->dequeue, s->rmqueue); |
s | 4707 | drivers/scsi/advansys.c | if (s->cont_cnt > 0) { |
s | 4710 | drivers/scsi/advansys.c | s->cont_cnt, s->cont_xfer, (s->cont_xfer/2)/s->cont_cnt); |
s | 4714 | drivers/scsi/advansys.c | if (s->sg_cnt > 0) { |
s | 4717 | drivers/scsi/advansys.c | s->sg_cnt, s->sg_elem, s->sg_xfer, |
s | 4718 | drivers/scsi/advansys.c | s->sg_elem/s->sg_cnt, (s->sg_xfer/2)/s->sg_cnt); |
s | 4741 | drivers/scsi/advansys.c | char s[160]; /* 2 lines */ |
s | 4744 | drivers/scsi/advansys.c | ret = vsprintf(s, fmt, args); |
s | 4746 | drivers/scsi/advansys.c | (void) printk(s); |
s | 4750 | drivers/scsi/advansys.c | memcpy(buf, s, ret); |
s | 4762 | drivers/scsi/advansys.c | asc_prt_scsi_host(struct Scsi_Host *s) |
s | 4764 | drivers/scsi/advansys.c | printk("Scsi_Host at addr %x\n", (unsigned) s); |
s | 4767 | drivers/scsi/advansys.c | (unsigned) s->next, s->extra_bytes, s->host_busy, s->host_no, |
s | 4768 | drivers/scsi/advansys.c | s->last_reset); |
s | 4772 | drivers/scsi/advansys.c | (unsigned) s->host_wait, (unsigned) s->host_queue, |
s | 4773 | drivers/scsi/advansys.c | (unsigned) s->hostt, (unsigned) s->block); |
s | 4777 | drivers/scsi/advansys.c | s->wish_block, (unsigned) s->base, s->io_port, s->n_io_port, |
s | 4778 | drivers/scsi/advansys.c | s->irq, s->dma_channel); |
s | 4781 | drivers/scsi/advansys.c | " this_id %d, can_queue %d,\n", s->this_id, s->can_queue); |
s | 4785 | drivers/scsi/advansys.c | s->cmd_per_lun, s->sg_tablesize, s->unchecked_isa_dma, |
s | 4786 | drivers/scsi/advansys.c | s->loaded_as_module); |
s | 4789 | drivers/scsi/advansys.c | asc_prt_dvc_var(&ASC_BOARD(s)->board); |
s | 4790 | drivers/scsi/advansys.c | asc_prt_dvc_cfg(&ASC_BOARD(s)->cfg); |
s | 4791 | drivers/scsi/advansys.c | printk(" overrun_buf %x\n", (unsigned) &ASC_BOARD(s)->overrun_buf[0]); |
s | 4924 | drivers/scsi/advansys.c | asc_prt_hex(char *f, uchar *s, int l) |
s | 4945 | drivers/scsi/advansys.c | (unsigned) s[i+(j*4)], (unsigned) s[i+(j*4)+1], |
s | 4946 | drivers/scsi/advansys.c | (unsigned) s[i+(j*4)+2], (unsigned) s[i+(j*4)+3]); |
s | 4955 | drivers/scsi/advansys.c | (unsigned) s[i+(j*4)+4]); |
s | 4959 | drivers/scsi/advansys.c | (unsigned) s[i+(j*4)+4], |
s | 4960 | drivers/scsi/advansys.c | (unsigned) s[i+(j*4)+5]); |
s | 4964 | drivers/scsi/advansys.c | (unsigned) s[i+(j*4)+4], |
s | 4965 | drivers/scsi/advansys.c | (unsigned) s[i+(j*4)+5], |
s | 4966 | drivers/scsi/advansys.c | (unsigned) s[i+(j*4)+6]); |
s | 2414 | drivers/scsi/aha152x.c | int s; |
s | 2423 | drivers/scsi/aha152x.c | s=GETPORT(SCSISEQ); |
s | 2425 | drivers/scsi/aha152x.c | if(s & TEMODEO) printk("TARGET MODE "); |
s | 2426 | drivers/scsi/aha152x.c | if(s & ENSELO) printk("SELO "); |
s | 2427 | drivers/scsi/aha152x.c | if(s & ENSELI) printk("SELI "); |
s | 2428 | drivers/scsi/aha152x.c | if(s & ENRESELI) printk("RESELI "); |
s | 2429 | drivers/scsi/aha152x.c | if(s & ENAUTOATNO) printk("AUTOATNO "); |
s | 2430 | drivers/scsi/aha152x.c | if(s & ENAUTOATNI) printk("AUTOATNI "); |
s | 2431 | drivers/scsi/aha152x.c | if(s & ENAUTOATNP) printk("AUTOATNP "); |
s | 2432 | drivers/scsi/aha152x.c | if(s & SCSIRSTO) printk("SCSIRSTO "); |
s | 2436 | drivers/scsi/aha152x.c | s=GETPORT(SCSISIG); |
s | 2437 | drivers/scsi/aha152x.c | switch(s & P_MASK) |
s | 2467 | drivers/scsi/aha152x.c | s=GETPORT(SSTAT0); |
s | 2468 | drivers/scsi/aha152x.c | if(s & TARGET) printk("TARGET "); |
s | 2469 | drivers/scsi/aha152x.c | if(s & SELDO) printk("SELDO "); |
s | 2470 | drivers/scsi/aha152x.c | if(s & SELDI) printk("SELDI "); |
s | 2471 | drivers/scsi/aha152x.c | if(s & SELINGO) printk("SELINGO "); |
s | 2472 | drivers/scsi/aha152x.c | if(s & SWRAP) printk("SWRAP "); |
s | 2473 | drivers/scsi/aha152x.c | if(s & SDONE) printk("SDONE "); |
s | 2474 | drivers/scsi/aha152x.c | if(s & SPIORDY) printk("SPIORDY "); |
s | 2475 | drivers/scsi/aha152x.c | if(s & DMADONE) printk("DMADONE "); |
s | 2477 | drivers/scsi/aha152x.c | s=GETPORT(SSTAT1); |
s | 2478 | drivers/scsi/aha152x.c | if(s & SELTO) printk("SELTO "); |
s | 2479 | drivers/scsi/aha152x.c | if(s & ATNTARG) printk("ATNTARG "); |
s | 2480 | drivers/scsi/aha152x.c | if(s & SCSIRSTI) printk("SCSIRSTI "); |
s | 2481 | drivers/scsi/aha152x.c | if(s & PHASEMIS) printk("PHASEMIS "); |
s | 2482 | drivers/scsi/aha152x.c | if(s & BUSFREE) printk("BUSFREE "); |
s | 2483 | drivers/scsi/aha152x.c | if(s & SCSIPERR) printk("SCSIPERR "); |
s | 2484 | drivers/scsi/aha152x.c | if(s & PHASECHG) printk("PHASECHG "); |
s | 2485 | drivers/scsi/aha152x.c | if(s & REQINIT) printk("REQINIT "); |
s | 2491 | drivers/scsi/aha152x.c | s=GETPORT(SSTAT0) & GETPORT(SIMODE0); |
s | 2493 | drivers/scsi/aha152x.c | if(s & TARGET) printk("TARGET "); |
s | 2494 | drivers/scsi/aha152x.c | if(s & SELDO) printk("SELDO "); |
s | 2495 | drivers/scsi/aha152x.c | if(s & SELDI) printk("SELDI "); |
s | 2496 | drivers/scsi/aha152x.c | if(s & SELINGO) printk("SELINGO "); |
s | 2497 | drivers/scsi/aha152x.c | if(s & SWRAP) printk("SWRAP "); |
s | 2498 | drivers/scsi/aha152x.c | if(s & SDONE) printk("SDONE "); |
s | 2499 | drivers/scsi/aha152x.c | if(s & SPIORDY) printk("SPIORDY "); |
s | 2500 | drivers/scsi/aha152x.c | if(s & DMADONE) printk("DMADONE "); |
s | 2502 | drivers/scsi/aha152x.c | s=GETPORT(SSTAT1) & GETPORT(SIMODE1); |
s | 2504 | drivers/scsi/aha152x.c | if(s & SELTO) printk("SELTO "); |
s | 2505 | drivers/scsi/aha152x.c | if(s & ATNTARG) printk("ATNTARG "); |
s | 2506 | drivers/scsi/aha152x.c | if(s & SCSIRSTI) printk("SCSIRSTI "); |
s | 2507 | drivers/scsi/aha152x.c | if(s & PHASEMIS) printk("PHASEMIS "); |
s | 2508 | drivers/scsi/aha152x.c | if(s & BUSFREE) printk("BUSFREE "); |
s | 2509 | drivers/scsi/aha152x.c | if(s & SCSIPERR) printk("SCSIPERR "); |
s | 2510 | drivers/scsi/aha152x.c | if(s & PHASECHG) printk("PHASECHG "); |
s | 2511 | drivers/scsi/aha152x.c | if(s & REQINIT) printk("REQINIT "); |
s | 2516 | drivers/scsi/aha152x.c | s=GETPORT(SXFRCTL0); |
s | 2517 | drivers/scsi/aha152x.c | if(s & SCSIEN) printk("SCSIEN "); |
s | 2518 | drivers/scsi/aha152x.c | if(s & DMAEN) printk("DMAEN "); |
s | 2519 | drivers/scsi/aha152x.c | if(s & CH1) printk("CH1 "); |
s | 2520 | drivers/scsi/aha152x.c | if(s & CLRSTCNT) printk("CLRSTCNT "); |
s | 2521 | drivers/scsi/aha152x.c | if(s & SPIOEN) printk("SPIOEN "); |
s | 2522 | drivers/scsi/aha152x.c | if(s & CLRCH1) printk("CLRCH1 "); |
s | 2527 | drivers/scsi/aha152x.c | s=GETPORT(SCSISIG); |
s | 2528 | drivers/scsi/aha152x.c | if(s & ATNI) printk("ATNI "); |
s | 2529 | drivers/scsi/aha152x.c | if(s & SELI) printk("SELI "); |
s | 2530 | drivers/scsi/aha152x.c | if(s & BSYI) printk("BSYI "); |
s | 2531 | drivers/scsi/aha152x.c | if(s & REQI) printk("REQI "); |
s | 2532 | drivers/scsi/aha152x.c | if(s & ACKI) printk("ACKI "); |
s | 2539 | drivers/scsi/aha152x.c | s=GETPORT(SSTAT2); |
s | 2540 | drivers/scsi/aha152x.c | if(s & SOFFSET) printk("SOFFSET "); |
s | 2541 | drivers/scsi/aha152x.c | if(s & SEMPTY) printk("SEMPTY "); |
s | 2542 | drivers/scsi/aha152x.c | if(s & SFULL) printk("SFULL "); |
s | 2543 | drivers/scsi/aha152x.c | printk("); SFCNT (%d); ", s & (SFULL|SFCNT)); |
s | 2545 | drivers/scsi/aha152x.c | s=GETPORT(SSTAT3); |
s | 2546 | drivers/scsi/aha152x.c | printk("SCSICNT (%d), OFFCNT(%d), ", (s&0xf0)>>4, s&0x0f); |
s | 2549 | drivers/scsi/aha152x.c | s=GETPORT(SSTAT4); |
s | 2550 | drivers/scsi/aha152x.c | if(s & SYNCERR) printk("SYNCERR "); |
s | 2551 | drivers/scsi/aha152x.c | if(s & FWERR) printk("FWERR "); |
s | 2552 | drivers/scsi/aha152x.c | if(s & FRERR) printk("FRERR "); |
s | 2556 | drivers/scsi/aha152x.c | s=GETPORT(DMACNTRL0); |
s | 2557 | drivers/scsi/aha152x.c | printk("%s ", s & _8BIT ? "8BIT" : "16BIT"); |
s | 2558 | drivers/scsi/aha152x.c | printk("%s ", s & DMA ? "DMA" : "PIO" ); |
s | 2559 | drivers/scsi/aha152x.c | printk("%s ", s & WRITE_READ ? "WRITE" : "READ" ); |
s | 2560 | drivers/scsi/aha152x.c | if(s & ENDMA) printk("ENDMA "); |
s | 2561 | drivers/scsi/aha152x.c | if(s & INTEN) printk("INTEN "); |
s | 2562 | drivers/scsi/aha152x.c | if(s & RSTFIFO) printk("RSTFIFO "); |
s | 2563 | drivers/scsi/aha152x.c | if(s & SWINT) printk("SWINT "); |
s | 2570 | drivers/scsi/aha152x.c | s=GETPORT(DMACNTRL1); |
s | 2571 | drivers/scsi/aha152x.c | if(s & PWRDWN) printk("PWRDN "); |
s | 2575 | drivers/scsi/aha152x.c | printk("STK (%d); ", s & 0xf); |
s | 2580 | drivers/scsi/aha152x.c | s=GETPORT(DMASTAT); |
s | 2581 | drivers/scsi/aha152x.c | if(s & ATDONE) printk("ATDONE "); |
s | 2582 | drivers/scsi/aha152x.c | if(s & WORDRDY) printk("WORDRDY "); |
s | 2583 | drivers/scsi/aha152x.c | if(s & DFIFOFULL) printk("DFIFOFULL "); |
s | 2584 | drivers/scsi/aha152x.c | if(s & DFIFOEMP) printk("DFIFOEMP "); |
s | 2596 | drivers/scsi/aha152x.c | int s; |
s | 2600 | drivers/scsi/aha152x.c | s=GETPORT(SIMODE0); |
s | 2601 | drivers/scsi/aha152x.c | if(s & ENSELDO) printk("ENSELDO "); |
s | 2602 | drivers/scsi/aha152x.c | if(s & ENSELDI) printk("ENSELDI "); |
s | 2603 | drivers/scsi/aha152x.c | if(s & ENSELINGO) printk("ENSELINGO "); |
s | 2604 | drivers/scsi/aha152x.c | if(s & ENSWRAP) printk("ENSWRAP "); |
s | 2605 | drivers/scsi/aha152x.c | if(s & ENSDONE) printk("ENSDONE "); |
s | 2606 | drivers/scsi/aha152x.c | if(s & ENSPIORDY) printk("ENSPIORDY "); |
s | 2607 | drivers/scsi/aha152x.c | if(s & ENDMADONE) printk("ENDMADONE "); |
s | 2609 | drivers/scsi/aha152x.c | s=GETPORT(SIMODE1); |
s | 2610 | drivers/scsi/aha152x.c | if(s & ENSELTIMO) printk("ENSELTIMO "); |
s | 2611 | drivers/scsi/aha152x.c | if(s & ENATNTARG) printk("ENATNTARG "); |
s | 2612 | drivers/scsi/aha152x.c | if(s & ENPHASEMIS) printk("ENPHASEMIS "); |
s | 2613 | drivers/scsi/aha152x.c | if(s & ENBUSFREE) printk("ENBUSFREE "); |
s | 2614 | drivers/scsi/aha152x.c | if(s & ENSCSIPERR) printk("ENSCSIPERR "); |
s | 2615 | drivers/scsi/aha152x.c | if(s & ENPHASECHG) printk("ENPHASECHG "); |
s | 2616 | drivers/scsi/aha152x.c | if(s & ENREQINIT) printk("ENREQINIT "); |
s | 845 | drivers/scsi/aic7xxx.c | aic7xxx_setup(char *s, int *dummy) |
s | 859 | drivers/scsi/aic7xxx.c | for (p = strtok(s, ","); p; p = strtok(NULL, ",")) |
s | 75 | drivers/scsi/aic7xxx_asm.c | error(const char *s) |
s | 77 | drivers/scsi/aic7xxx_asm.c | fprintf(stderr, "%s: %s at line %d\n", filename, s, lineno); |
s | 100 | drivers/scsi/aic7xxx_asm.c | Strdup(char *s) |
s | 102 | drivers/scsi/aic7xxx_asm.c | char *p = (char *)Malloc(strlen(s) + 1); |
s | 103 | drivers/scsi/aic7xxx_asm.c | strcpy(p, s); |
s | 114 | drivers/scsi/constants.c | int i,s; |
s | 116 | drivers/scsi/constants.c | for ( i = 1, s = COMMAND_SIZE(command[0]); i < s; ++i) |
s | 378 | drivers/scsi/constants.c | int i, s; |
s | 388 | drivers/scsi/constants.c | s = sense_buffer[7] + 8; |
s | 389 | 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 | 584 | drivers/scsi/g_NCR5380.c | int i,s,start=len; |
s | 586 | drivers/scsi/g_NCR5380.c | for ( i = 1, s = COMMAND_SIZE(command[0]); i < s; ++i) |
s | 547 | drivers/scsi/pas16.c | register unsigned char *s = src; |
s | 555 | drivers/scsi/pas16.c | outsb( reg, s, i ); |
s | 177 | drivers/scsi/ppa.c | { char r, s; |
s | 188 | drivers/scsi/ppa.c | s = in_p(2); |
s | 197 | drivers/scsi/ppa.c | out_p(2,s); |
s | 329 | drivers/scsi/ppa.c | { int s; |
s | 332 | drivers/scsi/ppa.c | s = 0; |
s | 335 | drivers/scsi/ppa.c | s = ppa_completion(cmd); |
s | 336 | drivers/scsi/ppa.c | return s + (ppa_error_code << 16); |
s | 370 | drivers/scsi/t128.c | T_DATA_REG_OFFSET), *s = src; |
s | 380 | drivers/scsi/t128.c | *reg = *s++; |
s | 1016 | drivers/scsi/ultrastor.c | unsigned int s = config.heads * config.sectors; |
s | 1020 | drivers/scsi/ultrastor.c | dkinfo[2] = size / s; /* Ignore partial cylinders */ |
s | 49 | drivers/sound/sound_switch.c | put_status (char *s) |
s | 51 | drivers/sound/sound_switch.c | int l = strnlen (s, 256); |
s | 56 | drivers/sound/sound_switch.c | memcpy (&status_buf[status_len], s, l); |
s | 60 | fs/ext/inode.c | struct super_block *ext_read_super(struct super_block *s,void *data, |
s | 65 | fs/ext/inode.c | kdev_t dev = s->s_dev; |
s | 69 | fs/ext/inode.c | lock_super(s); |
s | 72 | fs/ext/inode.c | s->s_dev = 0; |
s | 73 | fs/ext/inode.c | unlock_super(s); |
s | 79 | fs/ext/inode.c | s->s_blocksize = 1024; |
s | 80 | fs/ext/inode.c | s->s_blocksize_bits = 10; |
s | 81 | fs/ext/inode.c | s->u.ext_sb.s_ninodes = es->s_ninodes; |
s | 82 | fs/ext/inode.c | s->u.ext_sb.s_nzones = es->s_nzones; |
s | 83 | fs/ext/inode.c | s->u.ext_sb.s_firstdatazone = es->s_firstdatazone; |
s | 84 | fs/ext/inode.c | s->u.ext_sb.s_log_zone_size = es->s_log_zone_size; |
s | 85 | fs/ext/inode.c | s->u.ext_sb.s_max_size = es->s_max_size; |
s | 86 | fs/ext/inode.c | s->s_magic = es->s_magic; |
s | 87 | fs/ext/inode.c | s->u.ext_sb.s_firstfreeblocknumber = es->s_firstfreeblock; |
s | 88 | fs/ext/inode.c | s->u.ext_sb.s_freeblockscount = es->s_freeblockscount; |
s | 89 | fs/ext/inode.c | s->u.ext_sb.s_firstfreeinodenumber = es->s_firstfreeinode; |
s | 90 | fs/ext/inode.c | s->u.ext_sb.s_freeinodescount = es->s_freeinodescount; |
s | 92 | fs/ext/inode.c | if (s->s_magic != EXT_SUPER_MAGIC) { |
s | 93 | fs/ext/inode.c | s->s_dev = 0; |
s | 94 | fs/ext/inode.c | unlock_super(s); |
s | 101 | fs/ext/inode.c | if (!s->u.ext_sb.s_firstfreeblocknumber) |
s | 102 | fs/ext/inode.c | s->u.ext_sb.s_firstfreeblock = NULL; |
s | 104 | fs/ext/inode.c | if (!(s->u.ext_sb.s_firstfreeblock = bread(dev, |
s | 105 | fs/ext/inode.c | s->u.ext_sb.s_firstfreeblocknumber, BLOCK_SIZE))) { |
s | 107 | fs/ext/inode.c | s->s_dev = 0; |
s | 108 | fs/ext/inode.c | unlock_super(s); |
s | 112 | fs/ext/inode.c | if (!s->u.ext_sb.s_firstfreeinodenumber) |
s | 113 | fs/ext/inode.c | s->u.ext_sb.s_firstfreeinodeblock = NULL; |
s | 115 | fs/ext/inode.c | block = 2 + (s->u.ext_sb.s_firstfreeinodenumber - 1) / EXT_INODES_PER_BLOCK; |
s | 116 | fs/ext/inode.c | if (!(s->u.ext_sb.s_firstfreeinodeblock = bread(dev, block, BLOCK_SIZE))) { |
s | 118 | fs/ext/inode.c | brelse(s->u.ext_sb.s_firstfreeblock); |
s | 119 | fs/ext/inode.c | s->s_dev = 0; |
s | 120 | fs/ext/inode.c | unlock_super (s); |
s | 125 | fs/ext/inode.c | unlock_super(s); |
s | 127 | fs/ext/inode.c | s->s_dev = dev; |
s | 128 | fs/ext/inode.c | s->s_op = &ext_sops; |
s | 129 | fs/ext/inode.c | if (!(s->s_mounted = iget(s,EXT_ROOT_INO))) { |
s | 130 | fs/ext/inode.c | s->s_dev = 0; |
s | 135 | fs/ext/inode.c | return s; |
s | 36 | fs/fat/misc.c | void fat_fs_panic(struct super_block *s,const char *msg) |
s | 40 | fs/fat/misc.c | not_ro = !(s->s_flags & MS_RDONLY); |
s | 41 | fs/fat/misc.c | if (not_ro) s->s_flags |= MS_RDONLY; |
s | 42 | fs/fat/misc.c | printk("Filesystem panic (dev %s, ", kdevname(s->s_dev)); |
s | 44 | fs/fat/misc.c | kdevname(s->s_covered->i_dev), s->s_covered->i_ino, msg); |
s | 31 | fs/fat/msbuffer.h | #define bread(d,b,s) fat_bread(sb,b) |
s | 32 | fs/fat/msbuffer.h | #define getblk(d,b,s) fat_getblk(sb,b) |
s | 245 | fs/hpfs/hpfs_fs.c | static unsigned count_bitmap(struct super_block *s); |
s | 334 | 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 | 636 | fs/hpfs/hpfs_fs.c | struct super_block *s = inode->i_sb; |
s | 653 | fs/hpfs/hpfs_fs.c | inode->i_uid = s->s_hpfs_uid; |
s | 654 | fs/hpfs/hpfs_fs.c | inode->i_gid = s->s_hpfs_gid; |
s | 655 | fs/hpfs/hpfs_fs.c | inode->i_mode = s->s_hpfs_mode; |
s | 656 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_conv = s->s_hpfs_conv; |
s | 730 | fs/hpfs/hpfs_fs.c | static void hpfs_put_super(struct super_block *s) |
s | 732 | fs/hpfs/hpfs_fs.c | lock_super(s); |
s | 733 | fs/hpfs/hpfs_fs.c | s->s_dev = 0; |
s | 734 | fs/hpfs/hpfs_fs.c | unlock_super(s); |
s | 743 | fs/hpfs/hpfs_fs.c | static void hpfs_statfs(struct super_block *s, struct statfs *buf, int bufsiz) |
s | 750 | fs/hpfs/hpfs_fs.c | if (s->s_hpfs_n_free == -1) { |
s | 751 | fs/hpfs/hpfs_fs.c | s->s_hpfs_n_free = count_bitmap(s); |
s | 752 | fs/hpfs/hpfs_fs.c | s->s_hpfs_n_free_dnodes = |
s | 753 | fs/hpfs/hpfs_fs.c | count_one_bitmap(s->s_dev, s->s_hpfs_dmap); |
s | 759 | fs/hpfs/hpfs_fs.c | tmp.f_type = s->s_magic; |
s | 761 | fs/hpfs/hpfs_fs.c | tmp.f_blocks = s->s_hpfs_fs_size; |
s | 762 | fs/hpfs/hpfs_fs.c | tmp.f_bfree = s->s_hpfs_n_free; |
s | 763 | fs/hpfs/hpfs_fs.c | tmp.f_bavail = s->s_hpfs_n_free; |
s | 764 | fs/hpfs/hpfs_fs.c | tmp.f_files = s->s_hpfs_dirband_size; |
s | 765 | fs/hpfs/hpfs_fs.c | tmp.f_ffree = s->s_hpfs_n_free_dnodes; |
s | 774 | fs/hpfs/hpfs_fs.c | static int hpfs_remount_fs(struct super_block *s, int *flags, char *data) |
s | 818 | fs/hpfs/hpfs_fs.c | static unsigned count_bitmap(struct super_block *s) |
s | 827 | fs/hpfs/hpfs_fs.c | n_bands = (s->s_hpfs_fs_size + 0x3fff) >> 14; |
s | 833 | fs/hpfs/hpfs_fs.c | bitmaps = map_4sectors(s->s_dev, s->s_hpfs_bitmaps, &qbh); |
s | 846 | fs/hpfs/hpfs_fs.c | count += count_one_bitmap(s->s_dev, bitmaps[n]); |
s | 196 | fs/isofs/inode.c | struct super_block *isofs_read_super(struct super_block *s,void *data, |
s | 203 | fs/isofs/inode.c | kdev_t dev = s->s_dev; |
s | 220 | fs/isofs/inode.c | s->s_dev = 0; |
s | 247 | fs/isofs/inode.c | lock_super(s); |
s | 249 | fs/isofs/inode.c | s->u.isofs_sb.s_high_sierra = high_sierra = 0; /* default is iso9660 */ |
s | 258 | fs/isofs/inode.c | s->s_dev = 0; |
s | 262 | fs/isofs/inode.c | unlock_super(s); |
s | 277 | fs/isofs/inode.c | s->u.isofs_sb.s_high_sierra = 1; |
s | 299 | fs/isofs/inode.c | s->s_dev = 0; |
s | 300 | fs/isofs/inode.c | unlock_super(s); |
s | 312 | fs/isofs/inode.c | s->u.isofs_sb.s_nzones = isonum_733 (h_pri->volume_space_size); |
s | 313 | fs/isofs/inode.c | s->u.isofs_sb.s_log_zone_size = isonum_723 (h_pri->logical_block_size); |
s | 314 | fs/isofs/inode.c | s->u.isofs_sb.s_max_size = isonum_733(h_pri->volume_space_size); |
s | 321 | fs/isofs/inode.c | s->u.isofs_sb.s_nzones = isonum_733 (pri->volume_space_size); |
s | 322 | fs/isofs/inode.c | s->u.isofs_sb.s_log_zone_size = isonum_723 (pri->logical_block_size); |
s | 323 | fs/isofs/inode.c | s->u.isofs_sb.s_max_size = isonum_733(pri->volume_space_size); |
s | 326 | fs/isofs/inode.c | s->u.isofs_sb.s_ninodes = 0; /* No way to figure this out easily */ |
s | 330 | fs/isofs/inode.c | orig_zonesize = s -> u.isofs_sb.s_log_zone_size; |
s | 331 | fs/isofs/inode.c | switch (s -> u.isofs_sb.s_log_zone_size) |
s | 332 | fs/isofs/inode.c | { case 512: s -> u.isofs_sb.s_log_zone_size = 9; break; |
s | 333 | fs/isofs/inode.c | case 1024: s -> u.isofs_sb.s_log_zone_size = 10; break; |
s | 334 | fs/isofs/inode.c | case 2048: s -> u.isofs_sb.s_log_zone_size = 11; break; |
s | 337 | fs/isofs/inode.c | printk("Bad logical zone size %ld\n", s -> u.isofs_sb.s_log_zone_size); |
s | 343 | fs/isofs/inode.c | s->u.isofs_sb.s_firstdatazone = ((isonum_733 (rootp->extent) + |
s | 345 | fs/isofs/inode.c | << s -> u.isofs_sb.s_log_zone_size); |
s | 346 | fs/isofs/inode.c | s->s_magic = ISOFS_SUPER_MAGIC; |
s | 353 | fs/isofs/inode.c | s->s_flags |= MS_RDONLY /* | MS_NODEV | MS_NOSUID */; |
s | 358 | fs/isofs/inode.c | s->u.isofs_sb.s_max_size, |
s | 359 | fs/isofs/inode.c | 1UL << s->u.isofs_sb.s_log_zone_size); |
s | 361 | fs/isofs/inode.c | s->u.isofs_sb.s_firstdatazone >> s -> u.isofs_sb.s_log_zone_size, |
s | 363 | fs/isofs/inode.c | << s -> u.isofs_sb.s_log_zone_size); |
s | 365 | fs/isofs/inode.c | unlock_super(s); |
s | 388 | fs/isofs/inode.c | s->s_dev = dev; |
s | 389 | fs/isofs/inode.c | s->s_op = &isofs_sops; |
s | 390 | fs/isofs/inode.c | s->u.isofs_sb.s_mapping = opt.map; |
s | 391 | fs/isofs/inode.c | s->u.isofs_sb.s_rock = (opt.rock == 'y' ? 1 : 0); |
s | 392 | fs/isofs/inode.c | s->u.isofs_sb.s_name_check = opt.check; |
s | 393 | fs/isofs/inode.c | s->u.isofs_sb.s_conversion = opt.conversion; |
s | 394 | fs/isofs/inode.c | s->u.isofs_sb.s_cruft = opt.cruft; |
s | 395 | fs/isofs/inode.c | s->u.isofs_sb.s_unhide = opt.unhide; |
s | 396 | fs/isofs/inode.c | s->u.isofs_sb.s_uid = opt.uid; |
s | 397 | fs/isofs/inode.c | s->u.isofs_sb.s_gid = opt.gid; |
s | 402 | fs/isofs/inode.c | s->u.isofs_sb.s_mode = opt.mode & 0777; |
s | 403 | fs/isofs/inode.c | s->s_blocksize = opt.blocksize; |
s | 404 | fs/isofs/inode.c | s->s_blocksize_bits = blocksize_bits; |
s | 405 | fs/isofs/inode.c | s->s_mounted = iget(s, (isonum_733(rootp->extent) + |
s | 407 | fs/isofs/inode.c | << s -> u.isofs_sb.s_log_zone_size); |
s | 408 | fs/isofs/inode.c | unlock_super(s); |
s | 410 | fs/isofs/inode.c | if (!(s->s_mounted)) { |
s | 411 | fs/isofs/inode.c | s->s_dev = 0; |
s | 417 | fs/isofs/inode.c | if(!check_disk_change(s->s_dev)) { |
s | 418 | fs/isofs/inode.c | return s; |
s | 422 | fs/isofs/inode.c | s->s_dev = 0; |
s | 423 | fs/isofs/inode.c | unlock_super(s); |
s | 125 | fs/minix/inode.c | static const char * minix_checkroot(struct super_block *s) |
s | 133 | fs/minix/inode.c | dir = s->s_mounted; |
s | 155 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = dirsize; |
s | 156 | fs/minix/inode.c | s->u.minix_sb.s_namelen = dirsize - 2; |
s | 164 | fs/minix/inode.c | struct super_block *minix_read_super(struct super_block *s,void *data, |
s | 170 | fs/minix/inode.c | kdev_t dev = s->s_dev; |
s | 178 | fs/minix/inode.c | lock_super(s); |
s | 181 | fs/minix/inode.c | s->s_dev = 0; |
s | 182 | fs/minix/inode.c | unlock_super(s); |
s | 188 | fs/minix/inode.c | s->u.minix_sb.s_ms = ms; |
s | 189 | fs/minix/inode.c | s->u.minix_sb.s_sbh = bh; |
s | 190 | fs/minix/inode.c | s->u.minix_sb.s_mount_state = ms->s_state; |
s | 191 | fs/minix/inode.c | s->s_blocksize = 1024; |
s | 192 | fs/minix/inode.c | s->s_blocksize_bits = 10; |
s | 193 | fs/minix/inode.c | s->u.minix_sb.s_ninodes = ms->s_ninodes; |
s | 194 | fs/minix/inode.c | s->u.minix_sb.s_imap_blocks = ms->s_imap_blocks; |
s | 195 | fs/minix/inode.c | s->u.minix_sb.s_zmap_blocks = ms->s_zmap_blocks; |
s | 196 | fs/minix/inode.c | s->u.minix_sb.s_firstdatazone = ms->s_firstdatazone; |
s | 197 | fs/minix/inode.c | s->u.minix_sb.s_log_zone_size = ms->s_log_zone_size; |
s | 198 | fs/minix/inode.c | s->u.minix_sb.s_max_size = ms->s_max_size; |
s | 199 | fs/minix/inode.c | s->s_magic = ms->s_magic; |
s | 200 | fs/minix/inode.c | if (s->s_magic == MINIX_SUPER_MAGIC) { |
s | 201 | fs/minix/inode.c | s->u.minix_sb.s_version = MINIX_V1; |
s | 202 | fs/minix/inode.c | s->u.minix_sb.s_nzones = ms->s_nzones; |
s | 203 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = 16; |
s | 204 | fs/minix/inode.c | s->u.minix_sb.s_namelen = 14; |
s | 205 | fs/minix/inode.c | } else if (s->s_magic == MINIX_SUPER_MAGIC2) { |
s | 206 | fs/minix/inode.c | s->u.minix_sb.s_version = MINIX_V1; |
s | 207 | fs/minix/inode.c | s->u.minix_sb.s_nzones = ms->s_nzones; |
s | 208 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = 32; |
s | 209 | fs/minix/inode.c | s->u.minix_sb.s_namelen = 30; |
s | 210 | fs/minix/inode.c | } else if (s->s_magic == MINIX2_SUPER_MAGIC) { |
s | 211 | fs/minix/inode.c | s->u.minix_sb.s_version = MINIX_V2; |
s | 212 | fs/minix/inode.c | s->u.minix_sb.s_nzones = ms->s_zones; |
s | 213 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = 16; |
s | 214 | fs/minix/inode.c | s->u.minix_sb.s_namelen = 14; |
s | 215 | fs/minix/inode.c | } else if (s->s_magic == MINIX2_SUPER_MAGIC2) { |
s | 216 | fs/minix/inode.c | s->u.minix_sb.s_version = MINIX_V2; |
s | 217 | fs/minix/inode.c | s->u.minix_sb.s_nzones = ms->s_zones; |
s | 218 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = 32; |
s | 219 | fs/minix/inode.c | s->u.minix_sb.s_namelen = 30; |
s | 221 | fs/minix/inode.c | s->s_dev = 0; |
s | 222 | fs/minix/inode.c | unlock_super(s); |
s | 231 | fs/minix/inode.c | s->u.minix_sb.s_imap[i] = NULL; |
s | 233 | fs/minix/inode.c | s->u.minix_sb.s_zmap[i] = NULL; |
s | 234 | fs/minix/inode.c | if (s->u.minix_sb.s_zmap_blocks > MINIX_Z_MAP_SLOTS) { |
s | 235 | fs/minix/inode.c | s->s_dev = 0; |
s | 236 | fs/minix/inode.c | unlock_super (s); |
s | 244 | fs/minix/inode.c | for (i=0 ; i < s->u.minix_sb.s_imap_blocks ; i++) |
s | 245 | fs/minix/inode.c | if ((s->u.minix_sb.s_imap[i]=bread(dev,block,BLOCK_SIZE)) != NULL) |
s | 249 | fs/minix/inode.c | for (i=0 ; i < s->u.minix_sb.s_zmap_blocks ; i++) |
s | 250 | fs/minix/inode.c | if ((s->u.minix_sb.s_zmap[i]=bread(dev,block,BLOCK_SIZE)) != NULL) |
s | 254 | fs/minix/inode.c | if (block != 2+s->u.minix_sb.s_imap_blocks+s->u.minix_sb.s_zmap_blocks) { |
s | 256 | fs/minix/inode.c | brelse(s->u.minix_sb.s_imap[i]); |
s | 258 | fs/minix/inode.c | brelse(s->u.minix_sb.s_zmap[i]); |
s | 259 | fs/minix/inode.c | s->s_dev = 0; |
s | 260 | fs/minix/inode.c | unlock_super(s); |
s | 266 | fs/minix/inode.c | set_bit(0,s->u.minix_sb.s_imap[0]->b_data); |
s | 267 | fs/minix/inode.c | set_bit(0,s->u.minix_sb.s_zmap[0]->b_data); |
s | 268 | fs/minix/inode.c | unlock_super(s); |
s | 270 | fs/minix/inode.c | s->s_dev = dev; |
s | 271 | fs/minix/inode.c | s->s_op = &minix_sops; |
s | 272 | fs/minix/inode.c | s->s_mounted = iget(s,MINIX_ROOT_INO); |
s | 273 | fs/minix/inode.c | if (!s->s_mounted) { |
s | 274 | fs/minix/inode.c | s->s_dev = 0; |
s | 282 | fs/minix/inode.c | errmsg = minix_checkroot(s); |
s | 286 | fs/minix/inode.c | iput (s->s_mounted); |
s | 287 | fs/minix/inode.c | s->s_dev = 0; |
s | 293 | fs/minix/inode.c | if (!(s->s_flags & MS_RDONLY)) { |
s | 296 | fs/minix/inode.c | s->s_dirt = 1; |
s | 298 | fs/minix/inode.c | if (!(s->u.minix_sb.s_mount_state & MINIX_VALID_FS)) |
s | 301 | fs/minix/inode.c | else if (s->u.minix_sb.s_mount_state & MINIX_ERROR_FS) |
s | 304 | fs/minix/inode.c | return s; |
s | 21 | fs/ncpfs/dir.c | struct nw_search_sequence s; /* given back for i */ |
s | 150 | fs/ncpfs/dir.c | struct ncp_server *s = NCP_SERVER(inode); |
s | 152 | fs/ncpfs/dir.c | return ( (!ncp_single_volume(s)) |
s | 153 | fs/ncpfs/dir.c | && (inode->i_ino == ncp_info_ino(s, &(s->root)))); |
s | 508 | fs/ncpfs/dir.c | entry->s = seq; |
s | 74 | fs/ncpfs/ncplib_kernel.c | ncp_add_pstring(struct ncp_server *server, const char *s) |
s | 76 | fs/ncpfs/ncplib_kernel.c | int len = strlen(s); |
s | 80 | fs/ncpfs/ncplib_kernel.c | DPRINTK("ncpfs: string too long: %s\n", s); |
s | 84 | fs/ncpfs/ncplib_kernel.c | ncp_add_mem(server, s, len); |
s | 1506 | fs/nfs/nfsroot.c | static struct nfs_server s = { |
s | 1521 | fs/nfs/nfsroot.c | s.file = nfs_file; |
s | 1525 | fs/nfs/nfsroot.c | sock->ops->getname(sock, &(s.toaddr), &dummylen, 1); |
s | 1526 | fs/nfs/nfsroot.c | ((struct sockaddr_in *) &s.toaddr)->sin_port = server.sin_port; |
s | 1527 | fs/nfs/nfsroot.c | ((struct sockaddr_in *) &s.toaddr)->sin_family = server.sin_family; |
s | 1528 | fs/nfs/nfsroot.c | ((struct sockaddr_in *) &s.toaddr)->sin_addr.s_addr = server.sin_addr.s_addr; |
s | 1530 | fs/nfs/nfsroot.c | s.rsock = rpc_makesock(nfs_file); |
s | 1531 | fs/nfs/nfsroot.c | s.flags = nfs_data.flags; |
s | 1532 | fs/nfs/nfsroot.c | s.rsize = nfs_data.rsize; |
s | 1533 | fs/nfs/nfsroot.c | s.wsize = nfs_data.wsize; |
s | 1534 | fs/nfs/nfsroot.c | s.timeo = nfs_data.timeo * HZ / 10; |
s | 1535 | fs/nfs/nfsroot.c | s.retrans = nfs_data.retrans; |
s | 1536 | fs/nfs/nfsroot.c | strcpy(s.hostname, nfs_data.hostname); |
s | 1548 | fs/nfs/nfsroot.c | if (nfs_rpc_call(&s, rpc_packet, end, nfs_data.wsize) < 0) |
s | 74 | fs/proc/inode.c | struct inode * proc_get_inode(struct super_block * s, int ino, struct proc_dir_entry * de) |
s | 76 | fs/proc/inode.c | struct inode * inode = iget(s, ino); |
s | 98 | fs/proc/inode.c | struct super_block *proc_read_super(struct super_block *s,void *data, |
s | 102 | fs/proc/inode.c | lock_super(s); |
s | 103 | fs/proc/inode.c | s->s_blocksize = 1024; |
s | 104 | fs/proc/inode.c | s->s_blocksize_bits = 10; |
s | 105 | fs/proc/inode.c | s->s_magic = PROC_SUPER_MAGIC; |
s | 106 | fs/proc/inode.c | s->s_op = &proc_sops; |
s | 107 | fs/proc/inode.c | unlock_super(s); |
s | 108 | fs/proc/inode.c | if (!(s->s_mounted = proc_get_inode(s, PROC_ROOT_INO, &proc_root))) { |
s | 109 | fs/proc/inode.c | s->s_dev = 0; |
s | 113 | fs/proc/inode.c | parse_options(data, &s->s_mounted->i_uid, &s->s_mounted->i_gid); |
s | 114 | fs/proc/inode.c | return s; |
s | 33 | fs/smbfs/proc.c | static int smb_request_ok(struct smb_server *s, int command, int wct, int bcc); |
s | 412 | fs/smbfs/proc.c | smb_request_ok(struct smb_server *s, int command, int wct, int bcc) |
s | 415 | fs/smbfs/proc.c | s->rcls = 0; |
s | 416 | fs/smbfs/proc.c | s->err = 0; |
s | 418 | fs/smbfs/proc.c | if (smb_request(s) < 0) { |
s | 422 | fs/smbfs/proc.c | else if (smb_valid_packet(s->packet) != 0) { |
s | 426 | fs/smbfs/proc.c | else if (s->rcls != 0) { |
s | 427 | fs/smbfs/proc.c | result = -smb_errno(s->rcls, s->err); |
s | 429 | fs/smbfs/proc.c | else if (smb_verify(s->packet, command, wct, bcc) != 0) { |
s | 466 | fs/smbfs/proc.c | smb_request_ok_unlock(struct smb_server *s, int command, int wct, int bcc) |
s | 468 | fs/smbfs/proc.c | int result = smb_request_ok(s, command, wct, bcc); |
s | 470 | fs/smbfs/proc.c | smb_unlock_server(s); |
s | 433 | fs/super.c | struct super_block * s; |
s | 437 | fs/super.c | s = 0+super_blocks; |
s | 438 | fs/super.c | while (s < NR_SUPER+super_blocks) |
s | 439 | fs/super.c | if (s->s_dev == dev) { |
s | 440 | fs/super.c | wait_on_super(s); |
s | 441 | fs/super.c | if (s->s_dev == dev) |
s | 442 | fs/super.c | return s; |
s | 443 | fs/super.c | s = 0+super_blocks; |
s | 445 | fs/super.c | s++; |
s | 471 | fs/super.c | struct super_block *s; |
s | 477 | fs/super.c | s = get_super(to_kdev_t(dev)); |
s | 478 | fs/super.c | if (s == NULL) |
s | 481 | fs/super.c | if (!(s->s_op->statfs)) |
s | 490 | fs/super.c | s->s_op->statfs(s,&sbuf,sizeof(struct statfs)); |
s | 504 | fs/super.c | struct super_block * s; |
s | 510 | fs/super.c | s = get_super(dev); |
s | 511 | fs/super.c | if (s) |
s | 512 | fs/super.c | return s; |
s | 518 | fs/super.c | for (s = 0+super_blocks ;; s++) { |
s | 519 | fs/super.c | if (s >= NR_SUPER+super_blocks) |
s | 521 | fs/super.c | if (!(s->s_dev)) |
s | 524 | fs/super.c | s->s_dev = dev; |
s | 525 | fs/super.c | s->s_flags = flags; |
s | 526 | fs/super.c | if (!type->read_super(s,data, silent)) { |
s | 527 | fs/super.c | s->s_dev = 0; |
s | 530 | fs/super.c | s->s_dev = dev; |
s | 531 | fs/super.c | s->s_covered = NULL; |
s | 532 | fs/super.c | s->s_rd_only = 0; |
s | 533 | fs/super.c | s->s_dirt = 0; |
s | 534 | fs/super.c | s->s_type = type; |
s | 535 | fs/super.c | return s; |
s | 384 | fs/umsdos/inode.c | struct super_block *s, |
s | 403 | fs/umsdos/inode.c | sb = msdos_read_super(s,data,silent); |
s | 412 | fs/umsdos/inode.c | if (s == super_blocks){ |
s | 62 | fs/xiafs/inode.c | struct super_block *xiafs_read_super(struct super_block *s, void *data, |
s | 71 | fs/xiafs/inode.c | dev = s->s_dev; |
s | 72 | fs/xiafs/inode.c | lock_super(s); |
s | 77 | fs/xiafs/inode.c | s->s_dev = 0; |
s | 78 | fs/xiafs/inode.c | unlock_super(s); |
s | 84 | fs/xiafs/inode.c | s->s_magic = sp->s_magic; |
s | 85 | fs/xiafs/inode.c | if (s->s_magic != _XIAFS_SUPER_MAGIC) { |
s | 86 | fs/xiafs/inode.c | s->s_dev = 0; |
s | 87 | fs/xiafs/inode.c | unlock_super(s); |
s | 95 | fs/xiafs/inode.c | s->s_blocksize = sp->s_zone_size; |
s | 96 | fs/xiafs/inode.c | s->s_blocksize_bits = 10 + sp->s_zone_shift; |
s | 97 | fs/xiafs/inode.c | if (s->s_blocksize != BLOCK_SIZE && |
s | 98 | fs/xiafs/inode.c | (s->s_blocksize == 1024 || s->s_blocksize == 2048 || |
s | 99 | fs/xiafs/inode.c | s->s_blocksize == 4096)) { |
s | 101 | fs/xiafs/inode.c | set_blocksize(dev, s->s_blocksize); |
s | 102 | fs/xiafs/inode.c | bh = bread (dev, 0, s->s_blocksize); |
s | 109 | fs/xiafs/inode.c | s->u.xiafs_sb.s_nzones = sp->s_nzones; |
s | 110 | fs/xiafs/inode.c | s->u.xiafs_sb.s_ninodes = sp->s_ninodes; |
s | 111 | fs/xiafs/inode.c | s->u.xiafs_sb.s_ndatazones = sp->s_ndatazones; |
s | 112 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_zones = sp->s_imap_zones; |
s | 113 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zones = sp->s_zmap_zones; |
s | 114 | fs/xiafs/inode.c | s->u.xiafs_sb.s_firstdatazone = sp->s_firstdatazone; |
s | 115 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zone_shift = sp->s_zone_shift; |
s | 116 | fs/xiafs/inode.c | s->u.xiafs_sb.s_max_size = sp->s_max_size; |
s | 119 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_buf[i] = NULL; |
s | 120 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_iznr[i] = -1; |
s | 123 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_buf[i] = NULL; |
s | 124 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zznr[i] = -1; |
s | 127 | fs/xiafs/inode.c | if ( s->u.xiafs_sb.s_imap_zones > _XIAFS_IMAP_SLOTS ) |
s | 128 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_cached=1; |
s | 130 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_cached=0; |
s | 131 | fs/xiafs/inode.c | for (i=0 ; i < s->u.xiafs_sb.s_imap_zones ; i++) { |
s | 132 | fs/xiafs/inode.c | if (!(s->u.xiafs_sb.s_imap_buf[i]=bread(dev, z++, XIAFS_ZSIZE(s)))) |
s | 134 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_iznr[i]=i; |
s | 137 | fs/xiafs/inode.c | if ( s->u.xiafs_sb.s_zmap_zones > _XIAFS_ZMAP_SLOTS ) |
s | 138 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_cached=1; |
s | 140 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_cached=0; |
s | 141 | fs/xiafs/inode.c | for (i=0 ; i < s->u.xiafs_sb.s_zmap_zones ; i++) { |
s | 142 | fs/xiafs/inode.c | if (!(s->u.xiafs_sb.s_zmap_buf[i]=bread(dev, z++, XIAFS_ZSIZE(s)))) |
s | 144 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zznr[i]=i; |
s | 148 | fs/xiafs/inode.c | s->s_dev = dev; |
s | 149 | fs/xiafs/inode.c | s->s_op = &xiafs_sops; |
s | 150 | fs/xiafs/inode.c | s->s_mounted = iget(s, _XIAFS_ROOT_INO); |
s | 151 | fs/xiafs/inode.c | if (!s->s_mounted) |
s | 153 | fs/xiafs/inode.c | unlock_super(s); |
s | 155 | fs/xiafs/inode.c | return s; |
s | 159 | fs/xiafs/inode.c | brelse(s->u.xiafs_sb.s_imap_buf[i]); |
s | 161 | fs/xiafs/inode.c | brelse(s->u.xiafs_sb.s_zmap_buf[i]); |
s | 162 | fs/xiafs/inode.c | s->s_dev = 0; |
s | 163 | fs/xiafs/inode.c | unlock_super(s); |
s | 55 | include/asm-alpha/floppy.h | #define CROSS_64KB(a,s) \ |
s | 56 | include/asm-alpha/floppy.h | ((unsigned long)(a)/0x10000 != ((unsigned long)(a) + (s) - 1) / 0x10000) |
s | 58 | include/asm-alpha/floppy.h | #define CROSS_64KB(a,s) (0) |
s | 351 | include/asm-alpha/lca.h | struct el_lca_mcheck_short * s; |
s | 25 | include/asm-alpha/string.h | #define memset(s, c, count) \ |
s | 27 | include/asm-alpha/string.h | __constant_c_memset((s),(0x0101010101010101UL*(unsigned char)c),(count)) : \ |
s | 28 | include/asm-alpha/string.h | __memset((s),(c),(count))) |
s | 18 | include/asm-i386/bugs.h | static void no_halt(char *s, int *ints) |
s | 23 | include/asm-i386/bugs.h | static void no_387(char *s, int *ints) |
s | 261 | include/asm-i386/floppy.h | #define CROSS_64KB(a,s) ((unsigned long)(a)/K_64 != ((unsigned long)(a) + (s) - 1) / K_64) |
s | 90 | include/asm-i386/io.h | #define __OUT1(s,x) \ |
s | 91 | include/asm-i386/io.h | extern inline void __out##s(unsigned x value, unsigned short port) { |
s | 93 | include/asm-i386/io.h | #define __OUT2(s,s1,s2) \ |
s | 94 | include/asm-i386/io.h | __asm__ __volatile__ ("out" #s " %" s1 "0,%" s2 "1" |
s | 96 | include/asm-i386/io.h | #define __OUT(s,s1,x) \ |
s | 97 | include/asm-i386/io.h | __OUT1(s,x) __OUT2(s,s1,"w") : : "a" (value), "d" (port)); } \ |
s | 98 | include/asm-i386/io.h | __OUT1(s##c,x) __OUT2(s,s1,"") : : "a" (value), "id" (port)); } \ |
s | 99 | include/asm-i386/io.h | __OUT1(s##_p,x) __OUT2(s,s1,"w") : : "a" (value), "d" (port)); SLOW_DOWN_IO; } \ |
s | 100 | include/asm-i386/io.h | __OUT1(s##c_p,x) __OUT2(s,s1,"") : : "a" (value), "id" (port)); SLOW_DOWN_IO; } |
s | 102 | include/asm-i386/io.h | #define __IN1(s) \ |
s | 103 | include/asm-i386/io.h | extern inline RETURN_TYPE __in##s(unsigned short port) { RETURN_TYPE _v; |
s | 105 | include/asm-i386/io.h | #define __IN2(s,s1,s2) \ |
s | 106 | include/asm-i386/io.h | __asm__ __volatile__ ("in" #s " %" s2 "1,%" s1 "0" |
s | 108 | include/asm-i386/io.h | #define __IN(s,s1,i...) \ |
s | 109 | include/asm-i386/io.h | __IN1(s) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); return _v; } \ |
s | 110 | include/asm-i386/io.h | __IN1(s##c) __IN2(s,s1,"") : "=a" (_v) : "id" (port) ,##i ); return _v; } \ |
s | 111 | include/asm-i386/io.h | __IN1(s##_p) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); SLOW_DOWN_IO; return _v; } \ |
s | 112 | include/asm-i386/io.h | __IN1(s##c_p) __IN2(s,s1,"") : "=a" (_v) : "id" (port) ,##i ); SLOW_DOWN_IO; return _v; } |
s | 114 | include/asm-i386/io.h | #define __INS(s) \ |
s | 115 | include/asm-i386/io.h | extern inline void ins##s(unsigned short port, void * addr, unsigned long count) \ |
s | 116 | include/asm-i386/io.h | { __asm__ __volatile__ ("cld ; rep ; ins" #s \ |
s | 119 | include/asm-i386/io.h | #define __OUTS(s) \ |
s | 120 | include/asm-i386/io.h | extern inline void outs##s(unsigned short port, const void * addr, unsigned long count) \ |
s | 121 | include/asm-i386/io.h | { __asm__ __volatile__ ("cld ; rep ; outs" #s \ |
s | 162 | include/asm-i386/string-486.h | extern inline char * strchr(const char * s, int c) |
s | 175 | include/asm-i386/string-486.h | :"=a" (__res), "=r" (s) |
s | 176 | include/asm-i386/string-486.h | :"0" (c), "1" (s)); |
s | 181 | include/asm-i386/string-486.h | extern inline char * strrchr(const char * s, int c) |
s | 193 | include/asm-i386/string-486.h | :"=d" (__res):"0" (0),"S" (s),"a" (c):"ax","si"); |
s | 308 | include/asm-i386/string-486.h | extern inline size_t strlen(const char * s) |
s | 314 | include/asm-i386/string-486.h | register char dummy, *tmp= (char *)s; |
s | 322 | include/asm-i386/string-486.h | :"0" (s) |
s | 324 | include/asm-i386/string-486.h | return (tmp-s-1); |
s | 329 | include/asm-i386/string-486.h | extern inline size_t strnlen(const char * s, size_t count) |
s | 342 | include/asm-i386/string-486.h | :"=a" (__res):"c" (s),"d" (count)); |
s | 348 | include/asm-i386/string-486.h | extern inline char * strtok(char * s,const char * ct) |
s | 403 | include/asm-i386/string-486.h | :"0" (___strtok),"1" (s),"g" (ct) |
s | 408 | include/asm-i386/string-486.h | #define __memcpy_c(d,s,count) \ |
s | 410 | include/asm-i386/string-486.h | __memcpy_by4((d),(s),(count)) : \ |
s | 412 | include/asm-i386/string-486.h | __memcpy_by2((d),(s),(count)) : \ |
s | 413 | include/asm-i386/string-486.h | __memcpy_g((d),(s),(count)))) |
s | 416 | include/asm-i386/string-486.h | #define memcpy(d,s,count) \ |
s | 418 | include/asm-i386/string-486.h | __memcpy_c((d),(s),(count)) : \ |
s | 419 | include/asm-i386/string-486.h | __memcpy_g((d),(s),(count))) |
s | 540 | include/asm-i386/string-486.h | #define __memset_cc(s,c,count) \ |
s | 542 | include/asm-i386/string-486.h | __memset_cc_by4((s),(c),(count)) : \ |
s | 544 | include/asm-i386/string-486.h | __memset_cc_by2((s),(c),(count)) : \ |
s | 545 | include/asm-i386/string-486.h | __memset_cg((s),(c),(count)))) |
s | 547 | include/asm-i386/string-486.h | #define __memset_gc(s,c,count) \ |
s | 549 | include/asm-i386/string-486.h | __memset_gc_by4((s),(c),(count)) : \ |
s | 551 | include/asm-i386/string-486.h | __memset_gc_by2((s),(c),(count)) : \ |
s | 552 | include/asm-i386/string-486.h | __memset_gg((s),(c),(count)))) |
s | 555 | include/asm-i386/string-486.h | #define memset(s,c,count) \ |
s | 558 | include/asm-i386/string-486.h | __memset_cc((s),(c),(count)) : \ |
s | 559 | include/asm-i386/string-486.h | __memset_cg((s),(c),(count))) : \ |
s | 561 | include/asm-i386/string-486.h | __memset_gc((s),(c),(count)) : \ |
s | 562 | include/asm-i386/string-486.h | __memset_gg((s),(c),(count)))) |
s | 564 | include/asm-i386/string-486.h | extern inline void * __memset_cc_by4(void * s, char c, size_t count) |
s | 569 | include/asm-i386/string-486.h | register char *tmp = (char *)s; |
s | 579 | include/asm-i386/string-486.h | return s; |
s | 582 | include/asm-i386/string-486.h | extern inline void * __memset_cc_by2(void * s, char c, size_t count) |
s | 584 | include/asm-i386/string-486.h | register void *tmp = (void *)s; |
s | 597 | include/asm-i386/string-486.h | return s; |
s | 600 | include/asm-i386/string-486.h | extern inline void * __memset_gc_by4(void * s, char c, size_t count) |
s | 602 | include/asm-i386/string-486.h | register void *tmp = (void *)s; |
s | 616 | include/asm-i386/string-486.h | return s; |
s | 619 | include/asm-i386/string-486.h | extern inline void * __memset_gc_by2(void * s, char c, size_t count) |
s | 621 | include/asm-i386/string-486.h | register void *tmp = (void *)s; |
s | 638 | include/asm-i386/string-486.h | return s; |
s | 641 | include/asm-i386/string-486.h | extern inline void * __memset_cg(void * s, char c, size_t count) |
s | 643 | include/asm-i386/string-486.h | register void *tmp = (void *)s; |
s | 654 | include/asm-i386/string-486.h | return s; |
s | 657 | include/asm-i386/string-486.h | extern inline void * __memset_gg(void * s,char c,size_t count) |
s | 659 | include/asm-i386/string-486.h | register void *tmp = (void *)s; |
s | 671 | include/asm-i386/string-486.h | return s; |
s | 145 | include/asm-i386/string.h | extern inline char * strchr(const char * s, int c) |
s | 159 | include/asm-i386/string.h | :"=a" (__res):"S" (s),"0" (c):"si"); |
s | 164 | include/asm-i386/string.h | extern inline char * strrchr(const char * s, int c) |
s | 176 | include/asm-i386/string.h | :"=d" (__res):"0" (0),"S" (s),"a" (c):"ax","si"); |
s | 291 | include/asm-i386/string.h | extern inline size_t strlen(const char * s) |
s | 300 | include/asm-i386/string.h | :"=c" (__res):"D" (s),"a" (0),"0" (0xffffffff):"di"); |
s | 305 | include/asm-i386/string.h | extern inline char * strtok(char * s,const char * ct) |
s | 360 | include/asm-i386/string.h | :"0" (___strtok),"1" (s),"g" (ct) |
s | 496 | include/asm-i386/string.h | extern inline void * __memset_generic(void * s, char c,size_t count) |
s | 503 | include/asm-i386/string.h | :"a" (c),"D" (s),"c" (count) |
s | 505 | include/asm-i386/string.h | return s; |
s | 509 | include/asm-i386/string.h | #define __constant_count_memset(s,c,count) __memset_generic((s),(c),(count)) |
s | 516 | include/asm-i386/string.h | extern inline void * __constant_c_memset(void * s, unsigned long c, size_t count) |
s | 529 | include/asm-i386/string.h | :"a" (c), "q" (count), "c" (count/4), "D" ((long) s) |
s | 531 | include/asm-i386/string.h | return (s); |
s | 536 | include/asm-i386/string.h | extern inline size_t strnlen(const char * s, size_t count) |
s | 549 | include/asm-i386/string.h | :"=a" (__res):"c" (s),"d" (count)); |
s | 558 | include/asm-i386/string.h | extern inline void * __constant_c_and_count_memset(void * s, unsigned long pattern, size_t count) |
s | 562 | include/asm-i386/string.h | return s; |
s | 564 | include/asm-i386/string.h | *(unsigned char *)s = pattern; |
s | 565 | include/asm-i386/string.h | return s; |
s | 567 | include/asm-i386/string.h | *(unsigned short *)s = pattern; |
s | 568 | include/asm-i386/string.h | return s; |
s | 570 | include/asm-i386/string.h | *(unsigned short *)s = pattern; |
s | 571 | include/asm-i386/string.h | *(2+(unsigned char *)s) = pattern; |
s | 572 | include/asm-i386/string.h | return s; |
s | 574 | include/asm-i386/string.h | *(unsigned long *)s = pattern; |
s | 575 | include/asm-i386/string.h | return s; |
s | 582 | include/asm-i386/string.h | : "a" (pattern),"c" (count/4),"D" ((long) s) \ |
s | 586 | include/asm-i386/string.h | case 0: COMMON(""); return s; |
s | 587 | include/asm-i386/string.h | case 1: COMMON("\n\tstosb"); return s; |
s | 588 | include/asm-i386/string.h | case 2: COMMON("\n\tstosw"); return s; |
s | 589 | include/asm-i386/string.h | case 3: COMMON("\n\tstosw\n\tstosb"); return s; |
s | 594 | include/asm-i386/string.h | #define __constant_c_x_memset(s, c, count) \ |
s | 596 | include/asm-i386/string.h | __constant_c_and_count_memset((s),(c),(count)) : \ |
s | 597 | include/asm-i386/string.h | __constant_c_memset((s),(c),(count))) |
s | 599 | include/asm-i386/string.h | #define __memset(s, c, count) \ |
s | 601 | include/asm-i386/string.h | __constant_count_memset((s),(c),(count)) : \ |
s | 602 | include/asm-i386/string.h | __memset_generic((s),(c),(count))) |
s | 605 | include/asm-i386/string.h | #define memset(s, c, count) \ |
s | 607 | include/asm-i386/string.h | __constant_c_x_memset((s),(0x01010101UL*(unsigned char)c),(count)) : \ |
s | 608 | 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 | 78 | include/asm-mips/floppy.h | #define CROSS_64KB(a,s) ((unsigned long)(a)/K_64 != ((unsigned long)(a) + (s) - 1) / K_64) |
s | 98 | include/asm-mips/io.h | #define __OUT1(s) \ |
s | 99 | include/asm-mips/io.h | extern inline void __out##s(unsigned int value, unsigned int port) { |
s | 104 | include/asm-mips/io.h | #define __OUT(m,s) \ |
s | 105 | include/asm-mips/io.h | __OUT1(s) __OUT2(m) : : "r" (value), "i" (0), "r" (PORT_BASE+port)); } \ |
s | 106 | include/asm-mips/io.h | __OUT1(s##c) __OUT2(m) : : "r" (value), "ir" (port), "r" (PORT_BASE)); } \ |
s | 107 | include/asm-mips/io.h | __OUT1(s##_p) __OUT2(m) : : "r" (value), "i" (0), "r" (PORT_BASE+port)); \ |
s | 109 | include/asm-mips/io.h | __OUT1(s##c_p) __OUT2(m) : : "r" (value), "ir" (port), "r" (PORT_BASE)); \ |
s | 112 | include/asm-mips/io.h | #define __IN1(t,s) \ |
s | 113 | include/asm-mips/io.h | extern __inline__ t __in##s(unsigned int port) { t _v; |
s | 121 | include/asm-mips/io.h | #define __IN(t,m,s) \ |
s | 122 | include/asm-mips/io.h | __IN1(t,s) __IN2(m) : "=r" (_v) : "i" (0), "r" (PORT_BASE+port)); return _v; } \ |
s | 123 | include/asm-mips/io.h | __IN1(t,s##c) __IN2(m) : "=r" (_v) : "ir" (port), "r" (PORT_BASE)); return _v; } \ |
s | 124 | include/asm-mips/io.h | __IN1(t,s##_p) __IN2(m) : "=r" (_v) : "i" (0), "r" (PORT_BASE+port)); SLOW_DOWN_IO; return _v; } \ |
s | 125 | include/asm-mips/io.h | __IN1(t,s##c_p) __IN2(m) : "=r" (_v) : "ir" (port), "r" (PORT_BASE)); SLOW_DOWN_IO; return _v; } |
s | 127 | include/asm-mips/io.h | #define __INS1(s) \ |
s | 128 | include/asm-mips/io.h | extern inline void __ins##s(unsigned int port, void * addr, unsigned long count) { |
s | 142 | include/asm-mips/io.h | #define __INS(m,s,i) \ |
s | 143 | include/asm-mips/io.h | __INS1(s) __INS2(m) \ |
s | 147 | include/asm-mips/io.h | __INS1(s##c) __INS2(m) \ |
s | 152 | include/asm-mips/io.h | #define __OUTS1(s) \ |
s | 153 | include/asm-mips/io.h | extern inline void __outs##s(unsigned int port, const void * addr, unsigned long count) { |
s | 167 | include/asm-mips/io.h | #define __OUTS(m,s,i) \ |
s | 168 | include/asm-mips/io.h | __OUTS1(s) __OUTS2(m) \ |
s | 172 | include/asm-mips/io.h | __OUTS1(s##c) __OUTS2(m) \ |
s | 121 | include/asm-mips/string.h | extern __inline__ void * memset(void * s, int c, size_t count) |
s | 123 | include/asm-mips/string.h | void *xs = s; |
s | 133 | include/asm-mips/string.h | : "=r" (s), "=r" (count) |
s | 134 | include/asm-mips/string.h | : "0" (s), "r" (c), "1" (s + count - 1) |
s | 30 | include/asm-ppc/bitops.h | int s = _disable_interrupts(); |
s | 35 | include/asm-ppc/bitops.h | _enable_interrupts(s); |
s | 47 | include/asm-ppc/bitops.h | int s = _disable_interrupts(); |
s | 52 | include/asm-ppc/bitops.h | _enable_interrupts(s); |
s | 62 | include/asm-ppc/bitops.h | int s = _disable_interrupts(); |
s | 67 | include/asm-ppc/bitops.h | _enable_interrupts(s); |
s | 13 | include/asm-ppc/string.h | extern inline void * memset(void * s,int c,size_t count) |
s | 15 | include/asm-ppc/string.h | char *xs = (char *) s; |
s | 20 | include/asm-ppc/string.h | return s; |
s | 133 | include/asm-sparc/checksum.h | #define csum_partial_copy_fromuser(s, d, l, w) \ |
s | 134 | include/asm-sparc/checksum.h | csum_partial_copy((char *) (s), (d), (l), (w)) |
s | 98 | include/asm-sparc/floppy.h | #define CROSS_64KB(a,s) (0) |
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 | 23 | include/linux/if_strip.h | __u16 s[2]; |
s | 61 | include/linux/msdos_fs.h | #define MSDOS_SB(s) (&((s)->u.msdos_sb)) |
s | 178 | include/linux/msdos_fs.h | extern void fat_fs_panic(struct super_block *s,const char *msg); |
s | 206 | include/linux/msdos_fs.h | extern struct super_block *fat_read_super(struct super_block *s, void *data, int silent); |
s | 103 | include/linux/ncp_fs.h | #define ncp_kmalloc(s,p) kmalloc(s,p) |
s | 104 | include/linux/ncp_fs.h | #define ncp_kfree_s(o,s) kfree_s(o,s) |
s | 39 | include/linux/pagemap.h | return s(i+o) & (PAGE_HASH_SIZE-1); |
s | 77 | include/linux/smb_fs.h | #define smb_kmalloc(s,p) kmalloc(s,p) |
s | 78 | 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 | 125 | init/main.c | static void no_initrd(char *s,int *ints); |
s | 805 | init/main.c | static void no_initrd(char *s,int *ints) |
s | 268 | lib/inflate.c | STATIC int huft_build(b, n, s, d, e, t, m) |
s | 271 | lib/inflate.c | unsigned s; /* number of simple-valued codes (0..s-1) */ |
s | 444 | lib/inflate.c | else if (*p < s) |
s | 452 | lib/inflate.c | r.e = (uch)e[*p - s]; /* non-simple--look up in lists */ |
s | 453 | lib/inflate.c | r.v.n = d[*p++ - 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 | 365 | mm/vmscan.c | char *revision="$Revision: 1.4.2.2 $", *s, *e; |
s | 391 | mm/vmscan.c | if ((s = strchr(revision, ':')) && |
s | 392 | mm/vmscan.c | (e = strchr(s, '$'))) |
s | 393 | mm/vmscan.c | s++, i = e - s; |
s | 395 | mm/vmscan.c | s = revision, i = -1; |
s | 396 | mm/vmscan.c | printk ("Started kswapd v%.*s\n", i, s); |
s | 100 | net/appletalk/ddp.c | atalk_socket *s; |
s | 105 | net/appletalk/ddp.c | s=atalk_socket_list; |
s | 106 | net/appletalk/ddp.c | if(s==sk) |
s | 108 | net/appletalk/ddp.c | atalk_socket_list=s->next; |
s | 112 | net/appletalk/ddp.c | while(s && s->next) |
s | 114 | net/appletalk/ddp.c | if(s->next==sk) |
s | 116 | net/appletalk/ddp.c | s->next=sk->next; |
s | 120 | net/appletalk/ddp.c | s=s->next; |
s | 137 | net/appletalk/ddp.c | atalk_socket *s; |
s | 139 | net/appletalk/ddp.c | for( s = atalk_socket_list; s != NULL; s = s->next ) |
s | 141 | net/appletalk/ddp.c | if ( to->sat_port != s->protinfo.af_at.src_port ) |
s | 148 | net/appletalk/ddp.c | s->protinfo.af_at.src_net == atif->address.s_net ) |
s | 153 | net/appletalk/ddp.c | if ( to->sat_addr.s_net == s->protinfo.af_at.src_net && |
s | 154 | net/appletalk/ddp.c | (to->sat_addr.s_node == s->protinfo.af_at.src_node |
s | 162 | net/appletalk/ddp.c | return( s ); |
s | 171 | net/appletalk/ddp.c | atalk_socket *s; |
s | 173 | net/appletalk/ddp.c | for ( s = atalk_socket_list; s != NULL; s = s->next ) |
s | 175 | net/appletalk/ddp.c | if ( s->protinfo.af_at.src_net != sat->sat_addr.s_net ) |
s | 179 | net/appletalk/ddp.c | if ( s->protinfo.af_at.src_node != sat->sat_addr.s_node ) |
s | 183 | net/appletalk/ddp.c | if ( s->protinfo.af_at.src_port != sat->sat_port ) |
s | 189 | net/appletalk/ddp.c | return( s ); |
s | 245 | net/appletalk/ddp.c | atalk_socket *s; |
s | 255 | net/appletalk/ddp.c | for (s = atalk_socket_list; s != NULL; s = s->next) |
s | 257 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%02X ", s->type); |
s | 259 | net/appletalk/ddp.c | ntohs(s->protinfo.af_at.src_net), |
s | 260 | net/appletalk/ddp.c | s->protinfo.af_at.src_node, |
s | 261 | net/appletalk/ddp.c | s->protinfo.af_at.src_port); |
s | 263 | net/appletalk/ddp.c | ntohs(s->protinfo.af_at.dest_net), |
s | 264 | net/appletalk/ddp.c | s->protinfo.af_at.dest_node, |
s | 265 | net/appletalk/ddp.c | s->protinfo.af_at.dest_port); |
s | 266 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%08X:%08X ", s->wmem_alloc, s->rmem_alloc); |
s | 267 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%02X %d\n", s->state, SOCK_INODE(s->socket)->i_uid); |
s | 137 | net/ax25/af_ax25.c | char c, *s; |
s | 140 | net/ax25/af_ax25.c | for (n = 0, s = buf; n < 6; n++) |
s | 144 | net/ax25/af_ax25.c | if (c != ' ') *s++ = c; |
s | 147 | net/ax25/af_ax25.c | *s++ = '-'; |
s | 151 | net/ax25/af_ax25.c | *s++ = '1'; |
s | 155 | net/ax25/af_ax25.c | *s++ = n + '0'; |
s | 156 | net/ax25/af_ax25.c | *s++ = '\0'; |
s | 189 | net/ax25/af_ax25.c | ax25_cb *s; |
s | 195 | net/ax25/af_ax25.c | if ((s = ax25_list) == ax25) { |
s | 196 | net/ax25/af_ax25.c | ax25_list = s->next; |
s | 201 | net/ax25/af_ax25.c | while (s != NULL && s->next != NULL) { |
s | 202 | net/ax25/af_ax25.c | if (s->next == ax25) { |
s | 203 | net/ax25/af_ax25.c | s->next = ax25->next; |
s | 208 | net/ax25/af_ax25.c | s = s->next; |
s | 219 | net/ax25/af_ax25.c | ax25_cb *s; |
s | 221 | net/ax25/af_ax25.c | for (s = ax25_list; s != NULL; s = s->next) { |
s | 222 | net/ax25/af_ax25.c | if (s->device == dev) { |
s | 223 | net/ax25/af_ax25.c | s->state = AX25_STATE_0; |
s | 224 | net/ax25/af_ax25.c | s->device = NULL; |
s | 225 | net/ax25/af_ax25.c | if (s->sk != NULL) { |
s | 226 | net/ax25/af_ax25.c | s->sk->state = TCP_CLOSE; |
s | 227 | net/ax25/af_ax25.c | s->sk->err = ENETUNREACH; |
s | 228 | net/ax25/af_ax25.c | if (!s->sk->dead) |
s | 229 | net/ax25/af_ax25.c | s->sk->state_change(s->sk); |
s | 230 | net/ax25/af_ax25.c | s->sk->dead = 1; |
s | 282 | net/ax25/af_ax25.c | ax25_cb *s; |
s | 287 | net/ax25/af_ax25.c | for (s = ax25_list; s != NULL; s = s->next) { |
s | 288 | 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 | 290 | net/ax25/af_ax25.c | if (s->device == NULL || s->device == dev) { |
s | 292 | net/ax25/af_ax25.c | return s->sk; |
s | 306 | net/ax25/af_ax25.c | ax25_cb *s; |
s | 312 | net/ax25/af_ax25.c | for (s = ax25_list; s != NULL; s = s->next) { |
s | 313 | 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 | 315 | net/ax25/af_ax25.c | return s->sk; |
s | 330 | net/ax25/af_ax25.c | ax25_cb *s; |
s | 336 | net/ax25/af_ax25.c | for (s = ax25_list; s != NULL; s = s->next) { |
s | 337 | net/ax25/af_ax25.c | if (s->sk != NULL && s->sk->type != SOCK_SEQPACKET) |
s | 339 | net/ax25/af_ax25.c | if (ax25cmp(&s->source_addr, my_addr) == 0 && ax25cmp(&s->dest_addr, dest_addr) == 0 && s->device == dev) { |
s | 341 | net/ax25/af_ax25.c | return s; |
s | 356 | net/ax25/af_ax25.c | ax25_cb *s; |
s | 361 | net/ax25/af_ax25.c | for (s = ax25_list; s != NULL; s = s->next) { |
s | 362 | net/ax25/af_ax25.c | if (s->sk != NULL && ax25cmp(&s->source_addr, addr) == 0 && s->sk->type == SOCK_RAW) { |
s | 364 | net/ax25/af_ax25.c | return s->sk; |
s | 203 | net/ax25/ax25_route.c | struct ax25_route *s, *t, *ax25_rt = ax25_route; |
s | 206 | net/ax25/ax25_route.c | s = ax25_rt; |
s | 209 | net/ax25/ax25_route.c | if (s->dev == dev) { |
s | 210 | net/ax25/ax25_route.c | if (ax25_route == s) { |
s | 211 | net/ax25/ax25_route.c | ax25_route = s->next; |
s | 212 | net/ax25/ax25_route.c | if (s->digipeat != NULL) |
s | 213 | net/ax25/ax25_route.c | kfree_s((void *)s->digipeat, sizeof(ax25_digi)); |
s | 214 | net/ax25/ax25_route.c | kfree_s((void *)s, (sizeof *s)); |
s | 217 | net/ax25/ax25_route.c | if (t->next == s) { |
s | 218 | net/ax25/ax25_route.c | t->next = s->next; |
s | 219 | net/ax25/ax25_route.c | if (s->digipeat != NULL) |
s | 220 | net/ax25/ax25_route.c | kfree_s((void *)s->digipeat, sizeof(ax25_digi)); |
s | 221 | net/ax25/ax25_route.c | kfree_s((void *)s, sizeof(*s)); |
s | 233 | net/ax25/ax25_route.c | struct ax25_route *s, *t, *ax25_rt; |
s | 304 | net/ax25/ax25_route.c | s = ax25_rt; |
s | 306 | net/ax25/ax25_route.c | if (s->dev == dev && ax25cmp(&route.dest_addr, &s->callsign) == 0) { |
s | 307 | net/ax25/ax25_route.c | if (ax25_route == s) { |
s | 308 | net/ax25/ax25_route.c | ax25_route = s->next; |
s | 309 | net/ax25/ax25_route.c | if (s->digipeat != NULL) |
s | 310 | net/ax25/ax25_route.c | kfree_s((void *)s->digipeat, sizeof(ax25_digi)); |
s | 311 | net/ax25/ax25_route.c | kfree_s((void *)s, (sizeof *s)); |
s | 314 | net/ax25/ax25_route.c | if (t->next == s) { |
s | 315 | net/ax25/ax25_route.c | t->next = s->next; |
s | 316 | net/ax25/ax25_route.c | if (s->digipeat != NULL) |
s | 317 | net/ax25/ax25_route.c | kfree_s((void *)s->digipeat, sizeof(ax25_digi)); |
s | 318 | net/ax25/ax25_route.c | kfree_s((void *)s, sizeof(*s)); |
s | 645 | net/ax25/ax25_route.c | struct ax25_dev *s; |
s | 647 | net/ax25/ax25_route.c | for (s = ax25_device; s != NULL; s = s->next) |
s | 648 | net/ax25/ax25_route.c | if (s->dev == dev) |
s | 649 | net/ax25/ax25_route.c | return s; |
s | 711 | net/ax25/ax25_route.c | struct ax25_dev *s, *t, *ax25_dev = ax25_device; |
s | 714 | net/ax25/ax25_route.c | s = ax25_dev; |
s | 717 | net/ax25/ax25_route.c | if (s->dev == dev) { |
s | 718 | net/ax25/ax25_route.c | if (ax25_device == s) { |
s | 719 | net/ax25/ax25_route.c | ax25_device = s->next; |
s | 720 | net/ax25/ax25_route.c | kfree_s((void *)s, (sizeof *s)); |
s | 723 | net/ax25/ax25_route.c | if (t->next == s) { |
s | 724 | net/ax25/ax25_route.c | t->next = s->next; |
s | 725 | net/ax25/ax25_route.c | kfree_s((void *)s, sizeof(*s)); |
s | 406 | net/core/sock.c | int s=skb->truesize; |
s | 415 | net/core/sock.c | atomic_sub(s, &sk->wmem_alloc); |
s | 422 | net/core/sock.c | int s=skb->truesize; |
s | 429 | net/core/sock.c | atomic_sub(s, &sk->rmem_alloc); |
s | 1318 | net/ipv4/af_inet.c | struct sock *s; |
s | 1334 | net/ipv4/af_inet.c | for(s = prot->sock_array[hnum & (SOCK_ARRAY_SIZE - 1)]; |
s | 1335 | net/ipv4/af_inet.c | s != NULL; s = s->next) |
s | 1339 | net/ipv4/af_inet.c | if (s->num != hnum) |
s | 1342 | net/ipv4/af_inet.c | if(s->dead && (s->state == TCP_CLOSE)) |
s | 1345 | net/ipv4/af_inet.c | if (s->rcv_saddr) { |
s | 1346 | net/ipv4/af_inet.c | if (s->rcv_saddr != laddr) |
s | 1351 | net/ipv4/af_inet.c | if (s->daddr) { |
s | 1352 | net/ipv4/af_inet.c | if (s->daddr != raddr) |
s | 1357 | net/ipv4/af_inet.c | if (s->dummy_th.dest) { |
s | 1358 | net/ipv4/af_inet.c | if (s->dummy_th.dest != rnum) |
s | 1364 | net/ipv4/af_inet.c | return s; |
s | 1368 | net/ipv4/af_inet.c | result = s; |
s | 1383 | net/ipv4/af_inet.c | struct sock *s; |
s | 1385 | net/ipv4/af_inet.c | s=sk; |
s | 1387 | net/ipv4/af_inet.c | for(; s != NULL; s = s->next) |
s | 1389 | net/ipv4/af_inet.c | if (s->num != num) |
s | 1391 | net/ipv4/af_inet.c | if(s->dead && (s->state == TCP_CLOSE)) |
s | 1393 | net/ipv4/af_inet.c | if(s->daddr && s->daddr!=raddr) |
s | 1395 | net/ipv4/af_inet.c | if(s->rcv_saddr && s->rcv_saddr != laddr) |
s | 1397 | net/ipv4/af_inet.c | return(s); |
s | 1412 | net/ipv4/af_inet.c | struct sock *s; |
s | 1426 | net/ipv4/af_inet.c | s=sk; |
s | 1428 | net/ipv4/af_inet.c | for(; s != NULL; s = s->next) |
s | 1430 | net/ipv4/af_inet.c | if (s->num != hnum) |
s | 1432 | net/ipv4/af_inet.c | if(s->dead && (s->state == TCP_CLOSE)) |
s | 1434 | net/ipv4/af_inet.c | if(s->daddr && s->daddr!=raddr) |
s | 1436 | net/ipv4/af_inet.c | if (s->dummy_th.dest != rnum && s->dummy_th.dest != 0) |
s | 1438 | net/ipv4/af_inet.c | if(s->rcv_saddr && s->rcv_saddr != laddr) |
s | 1440 | net/ipv4/af_inet.c | return(s); |
s | 1035 | net/ipv4/ip_output.c | struct sockaddr_in *s; |
s | 1041 | net/ipv4/ip_output.c | s=(struct sockaddr_in *)&nrt->rtmsg_dst; |
s | 1042 | net/ipv4/ip_output.c | s->sin_family=AF_INET; |
s | 1043 | net/ipv4/ip_output.c | s->sin_addr.s_addr=daddr; |
s | 1044 | net/ipv4/ip_output.c | s=(struct sockaddr_in *)&nrt->rtmsg_gateway; |
s | 1045 | net/ipv4/ip_output.c | s->sin_family=AF_INET; |
s | 1046 | net/ipv4/ip_output.c | s->sin_addr.s_addr=gw; |
s | 1047 | net/ipv4/ip_output.c | s=(struct sockaddr_in *)&nrt->rtmsg_genmask; |
s | 1048 | net/ipv4/ip_output.c | s->sin_family=AF_INET; |
s | 1049 | net/ipv4/ip_output.c | s->sin_addr.s_addr=mask; |
s | 450 | net/ipv4/tcp.c | static struct sk_buff *tcp_find_established(struct sock *s) |
s | 452 | net/ipv4/tcp.c | struct sk_buff *p=skb_peek(&s->receive_queue); |
s | 461 | net/ipv4/tcp.c | while(p!=(struct sk_buff *)&s->receive_queue); |
s | 470 | net/ipv4/tcp.c | static struct sk_buff *tcp_dequeue_established(struct sock *s) |
s | 476 | net/ipv4/tcp.c | skb=tcp_find_established(s); |
s | 148 | net/ipx/af_ipx.c | ipx_socket *s; |
s | 162 | net/ipx/af_ipx.c | s=intrfc->if_sklist; |
s | 163 | net/ipx/af_ipx.c | if(s==sk) { |
s | 164 | net/ipx/af_ipx.c | intrfc->if_sklist=s->next; |
s | 169 | net/ipx/af_ipx.c | while(s && s->next) { |
s | 170 | net/ipx/af_ipx.c | if(s->next==sk) { |
s | 171 | net/ipx/af_ipx.c | s->next=sk->next; |
s | 175 | net/ipx/af_ipx.c | s=s->next; |
s | 246 | net/ipx/af_ipx.c | ipx_socket *s; |
s | 253 | net/ipx/af_ipx.c | for (s = intrfc->if_sklist; s->next != NULL; s = s->next) |
s | 255 | net/ipx/af_ipx.c | s->next = sk; |
s | 262 | net/ipx/af_ipx.c | ipx_socket *s; |
s | 264 | net/ipx/af_ipx.c | for (s=intrfc->if_sklist; |
s | 265 | net/ipx/af_ipx.c | (s != NULL) && (s->protinfo.af_ipx.port != port); |
s | 266 | net/ipx/af_ipx.c | s=s->next) |
s | 269 | net/ipx/af_ipx.c | return s; |
s | 278 | net/ipx/af_ipx.c | ipx_socket *s = intrfc->if_sklist; |
s | 280 | net/ipx/af_ipx.c | while (s != NULL) |
s | 282 | net/ipx/af_ipx.c | if ( (s->protinfo.af_ipx.port == port) |
s | 283 | net/ipx/af_ipx.c | && (memcmp(node, s->protinfo.af_ipx.node, IPX_NODE_LEN) == 0)) |
s | 287 | net/ipx/af_ipx.c | s = s->next; |
s | 289 | net/ipx/af_ipx.c | return s; |
s | 299 | net/ipx/af_ipx.c | ipx_socket *s, *t; |
s | 305 | net/ipx/af_ipx.c | for (s = intrfc->if_sklist; s != NULL; ) { |
s | 306 | net/ipx/af_ipx.c | s->err = ENOLINK; |
s | 307 | net/ipx/af_ipx.c | s->error_report(s); |
s | 308 | net/ipx/af_ipx.c | s->protinfo.af_ipx.intrfc = NULL; |
s | 309 | net/ipx/af_ipx.c | s->protinfo.af_ipx.port = 0; |
s | 310 | net/ipx/af_ipx.c | s->zapped=1; /* Indicates it is no longer bound */ |
s | 311 | net/ipx/af_ipx.c | t = s; |
s | 312 | net/ipx/af_ipx.c | s = s->next; |
s | 387 | net/ipx/af_ipx.c | ipx_socket *s; |
s | 392 | net/ipx/af_ipx.c | s = intrfc->if_sklist; |
s | 394 | net/ipx/af_ipx.c | while (s != NULL) |
s | 396 | net/ipx/af_ipx.c | if ( (s->protinfo.af_ipx.port == ipx->ipx_dest.sock) |
s | 398 | net/ipx/af_ipx.c | || (memcmp(ipx->ipx_dest.node, s->protinfo.af_ipx.node, |
s | 421 | net/ipx/af_ipx.c | ipxitf_def_skb_handler(s, skb1); |
s | 431 | net/ipx/af_ipx.c | s = s->next; |
s | 1461 | net/ipx/af_ipx.c | ipx_socket *s; |
s | 1477 | net/ipx/af_ipx.c | for (s = i->if_sklist; s != NULL; s = s->next) { |
s | 1481 | net/ipx/af_ipx.c | htonl(s->protinfo.af_ipx.intrfc->if_netnum), |
s | 1482 | net/ipx/af_ipx.c | s->protinfo.af_ipx.node[0], |
s | 1483 | net/ipx/af_ipx.c | s->protinfo.af_ipx.node[1], |
s | 1484 | net/ipx/af_ipx.c | s->protinfo.af_ipx.node[2], |
s | 1485 | net/ipx/af_ipx.c | s->protinfo.af_ipx.node[3], |
s | 1486 | net/ipx/af_ipx.c | s->protinfo.af_ipx.node[4], |
s | 1487 | net/ipx/af_ipx.c | s->protinfo.af_ipx.node[5], |
s | 1488 | net/ipx/af_ipx.c | htons(s->protinfo.af_ipx.port)); |
s | 1492 | net/ipx/af_ipx.c | htons(s->protinfo.af_ipx.port)); |
s | 1494 | net/ipx/af_ipx.c | if (s->state!=TCP_ESTABLISHED) { |
s | 1499 | net/ipx/af_ipx.c | htonl(s->protinfo.af_ipx.dest_addr.net), |
s | 1500 | net/ipx/af_ipx.c | s->protinfo.af_ipx.dest_addr.node[0], |
s | 1501 | net/ipx/af_ipx.c | s->protinfo.af_ipx.dest_addr.node[1], |
s | 1502 | net/ipx/af_ipx.c | s->protinfo.af_ipx.dest_addr.node[2], |
s | 1503 | net/ipx/af_ipx.c | s->protinfo.af_ipx.dest_addr.node[3], |
s | 1504 | net/ipx/af_ipx.c | s->protinfo.af_ipx.dest_addr.node[4], |
s | 1505 | net/ipx/af_ipx.c | s->protinfo.af_ipx.dest_addr.node[5], |
s | 1506 | net/ipx/af_ipx.c | htons(s->protinfo.af_ipx.dest_addr.sock)); |
s | 1509 | net/ipx/af_ipx.c | s->wmem_alloc, s->rmem_alloc); |
s | 1511 | net/ipx/af_ipx.c | s->state, SOCK_INODE(s->socket)->i_uid); |
s | 74 | net/netrom/af_netrom.c | struct sock *s; |
s | 80 | net/netrom/af_netrom.c | if ((s = nr_list) == sk) { |
s | 81 | net/netrom/af_netrom.c | nr_list = s->next; |
s | 86 | net/netrom/af_netrom.c | while (s != NULL && s->next != NULL) { |
s | 87 | net/netrom/af_netrom.c | if (s->next == sk) { |
s | 88 | net/netrom/af_netrom.c | s->next = sk->next; |
s | 93 | net/netrom/af_netrom.c | s = s->next; |
s | 104 | net/netrom/af_netrom.c | struct sock *s; |
s | 106 | net/netrom/af_netrom.c | for (s = nr_list; s != NULL; s = s->next) { |
s | 107 | net/netrom/af_netrom.c | if (s->nr->device == dev) { |
s | 108 | net/netrom/af_netrom.c | s->nr->state = NR_STATE_0; |
s | 109 | net/netrom/af_netrom.c | s->nr->device = NULL; |
s | 110 | net/netrom/af_netrom.c | s->state = TCP_CLOSE; |
s | 111 | net/netrom/af_netrom.c | s->err = ENETUNREACH; |
s | 112 | net/netrom/af_netrom.c | s->state_change(s); |
s | 113 | net/netrom/af_netrom.c | s->dead = 1; |
s | 157 | net/netrom/af_netrom.c | struct sock *s; |
s | 162 | net/netrom/af_netrom.c | for (s = nr_list; s != NULL; s = s->next) { |
s | 163 | net/netrom/af_netrom.c | if (ax25cmp(&s->nr->source_addr, addr) == 0 && s->state == TCP_LISTEN) { |
s | 165 | net/netrom/af_netrom.c | return s; |
s | 178 | net/netrom/af_netrom.c | struct sock *s; |
s | 184 | net/netrom/af_netrom.c | for (s = nr_list; s != NULL; s = s->next) { |
s | 185 | net/netrom/af_netrom.c | if (s->nr->my_index == index && s->nr->my_id == id) { |
s | 187 | net/netrom/af_netrom.c | return s; |
s | 201 | net/netrom/af_netrom.c | struct sock *s; |
s | 207 | net/netrom/af_netrom.c | for (s = nr_list; s != NULL; s = s->next) { |
s | 208 | net/netrom/af_netrom.c | if (s->nr->your_index == index && s->nr->your_id == id) { |
s | 210 | net/netrom/af_netrom.c | return s; |
s | 1321 | net/netrom/af_netrom.c | struct sock *s; |
s | 1332 | net/netrom/af_netrom.c | for (s = nr_list; s != NULL; s = s->next) { |
s | 1333 | net/netrom/af_netrom.c | if ((dev = s->nr->device) == NULL) |
s | 1339 | net/netrom/af_netrom.c | ax2asc(&s->nr->user_addr)); |
s | 1341 | net/netrom/af_netrom.c | ax2asc(&s->nr->dest_addr)); |
s | 1343 | net/netrom/af_netrom.c | ax2asc(&s->nr->source_addr), |
s | 1344 | net/netrom/af_netrom.c | devname, s->nr->my_index, s->nr->my_id, |
s | 1345 | net/netrom/af_netrom.c | s->nr->your_index, s->nr->your_id, |
s | 1346 | net/netrom/af_netrom.c | s->nr->state, |
s | 1347 | net/netrom/af_netrom.c | s->nr->vs, s->nr->vr, s->nr->va, |
s | 1348 | net/netrom/af_netrom.c | s->nr->t1timer / PR_SLOWHZ, |
s | 1349 | net/netrom/af_netrom.c | s->nr->t1 / PR_SLOWHZ, |
s | 1350 | net/netrom/af_netrom.c | s->nr->t2timer / PR_SLOWHZ, |
s | 1351 | net/netrom/af_netrom.c | s->nr->t2 / PR_SLOWHZ, |
s | 1352 | net/netrom/af_netrom.c | s->nr->n2count, s->nr->n2, |
s | 1353 | net/netrom/af_netrom.c | s->nr->rtt / PR_SLOWHZ, |
s | 1354 | net/netrom/af_netrom.c | s->window, s->nr->paclen, |
s | 1355 | net/netrom/af_netrom.c | s->wmem_alloc, s->rmem_alloc); |
s | 227 | net/netrom/nr_route.c | struct nr_node *s; |
s | 233 | net/netrom/nr_route.c | if ((s = nr_node_list) == nr_node) { |
s | 240 | net/netrom/nr_route.c | while (s != NULL && s->next != NULL) { |
s | 241 | net/netrom/nr_route.c | if (s->next == nr_node) { |
s | 242 | net/netrom/nr_route.c | s->next = nr_node->next; |
s | 248 | net/netrom/nr_route.c | s = s->next; |
s | 256 | net/netrom/nr_route.c | struct nr_neigh *s; |
s | 262 | net/netrom/nr_route.c | if ((s = nr_neigh_list) == nr_neigh) { |
s | 271 | net/netrom/nr_route.c | while (s != NULL && s->next != NULL) { |
s | 272 | net/netrom/nr_route.c | if (s->next == nr_neigh) { |
s | 273 | net/netrom/nr_route.c | s->next = nr_neigh->next; |
s | 281 | 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 | 96 | net/unix/af_unix.c | unix_socket **s; |
s | 99 | net/unix/af_unix.c | s=&unix_socket_list; |
s | 101 | net/unix/af_unix.c | while(*s!=NULL) |
s | 103 | net/unix/af_unix.c | if(*s==sk) |
s | 105 | net/unix/af_unix.c | *s=sk->next; |
s | 109 | net/unix/af_unix.c | s=&((*s)->next); |
s | 124 | net/unix/af_unix.c | unix_socket *s; |
s | 126 | net/unix/af_unix.c | s=unix_socket_list; |
s | 127 | net/unix/af_unix.c | while(s) |
s | 129 | net/unix/af_unix.c | if(s->protinfo.af_unix.inode==i) |
s | 132 | net/unix/af_unix.c | return(s); |
s | 134 | net/unix/af_unix.c | s=s->next; |
s | 1242 | net/unix/af_unix.c | unix_socket *s=unix_socket_list; |
s | 1247 | net/unix/af_unix.c | while(s!=NULL) |
s | 1250 | net/unix/af_unix.c | s, |
s | 1251 | net/unix/af_unix.c | s->protinfo.af_unix.locks, |
s | 1253 | net/unix/af_unix.c | s->socket->flags, |
s | 1254 | net/unix/af_unix.c | s->socket->type, |
s | 1255 | net/unix/af_unix.c | s->socket->state, |
s | 1256 | net/unix/af_unix.c | s->socket->inode ? s->socket->inode->i_ino : 0); |
s | 1257 | net/unix/af_unix.c | if(s->protinfo.af_unix.name!=NULL) |
s | 1258 | net/unix/af_unix.c | len+=sprintf(buffer+len, " %s\n", s->protinfo.af_unix.name); |
s | 1270 | net/unix/af_unix.c | s=s->next; |
s | 73 | net/unix/garbage.c | struct socket *s; |
s | 79 | net/unix/garbage.c | s=&(filp->f_inode->u.socket_i); |
s | 83 | net/unix/garbage.c | if(s->ops!=&unix_proto_ops) |
s | 88 | net/unix/garbage.c | return s->data; |
s | 98 | net/unix/garbage.c | unix_socket *s=unix_get_socket(fp); |
s | 99 | net/unix/garbage.c | if(s) |
s | 100 | net/unix/garbage.c | s->protinfo.af_unix.inflight++; |
s | 105 | net/unix/garbage.c | unix_socket *s=unix_get_socket(fp); |
s | 106 | net/unix/garbage.c | if(s) |
s | 107 | net/unix/garbage.c | s->protinfo.af_unix.inflight--; |
s | 148 | net/unix/garbage.c | unix_socket *s; |
s | 178 | net/unix/garbage.c | for(s=unix_socket_list;s!=NULL;s=s->next) |
s | 184 | net/unix/garbage.c | if(s->socket && s->socket->file && s->socket->file->f_count > s->protinfo.af_unix.inflight) |
s | 185 | net/unix/garbage.c | maybe_mark_and_push(s); |
s | 257 | net/unix/garbage.c | for(s=unix_socket_list;s!=NULL;s=next) |
s | 259 | net/unix/garbage.c | next=s->next; |
s | 260 | net/unix/garbage.c | if (!(s->protinfo.af_unix.marksweep&MARKED)) |
s | 267 | net/unix/garbage.c | if(s->socket && s->socket->file) |
s | 268 | net/unix/garbage.c | close_fp(s->socket->file); |
s | 271 | net/unix/garbage.c | s->protinfo.af_unix.marksweep&=~MARKED; /* unmark everything for next collection */ |