tag | line | file | source code |
p | 123 | arch/alpha/kernel/process.c | struct task_struct * p, struct pt_regs * regs) |
p | 128 | arch/alpha/kernel/process.c | childregs = ((struct pt_regs *) (p->kernel_stack_page + PAGE_SIZE)) - 1; |
p | 131 | arch/alpha/kernel/process.c | regs->r0 = p->pid; |
p | 135 | arch/alpha/kernel/process.c | p->tss.usp = usp; |
p | 136 | arch/alpha/kernel/process.c | p->tss.ksp = (unsigned long) childstack; |
p | 216 | arch/i386/boot/compressed/gzip.h | #define SH(p) ((ush)(uch)((p)[0]) | ((ush)(uch)((p)[1]) << 8)) |
p | 217 | arch/i386/boot/compressed/gzip.h | #define LG(p) ((ulg)(SH(p)) | ((ulg)(SH((p)+2)) << 16)) |
p | 122 | arch/i386/boot/compressed/inflate.c | register unsigned *p; /* pointer into c[], b[], or v[] */ |
p | 137 | arch/i386/boot/compressed/inflate.c | p = b; i = n; |
p | 139 | arch/i386/boot/compressed/inflate.c | c[*p++]++; /* assume all entries <= BMAX */ |
p | 180 | arch/i386/boot/compressed/inflate.c | p = c + 1; xp = x + 2; |
p | 182 | arch/i386/boot/compressed/inflate.c | *xp++ = (j += *p++); |
p | 188 | arch/i386/boot/compressed/inflate.c | p = b; i = 0; |
p | 190 | arch/i386/boot/compressed/inflate.c | if ((j = *p++) != 0) |
p | 198 | arch/i386/boot/compressed/inflate.c | p = v; /* grab values in bit order */ |
p | 264 | arch/i386/boot/compressed/inflate.c | if (p >= v + n) |
p | 266 | arch/i386/boot/compressed/inflate.c | else if (*p < s) |
p | 268 | arch/i386/boot/compressed/inflate.c | r.e = (uch)(*p < 256 ? 16 : 15); /* 256 is end-of-block code */ |
p | 269 | arch/i386/boot/compressed/inflate.c | r.v.n = *p++; /* simple code is just the value */ |
p | 273 | arch/i386/boot/compressed/inflate.c | r.e = (uch)e[*p - s]; /* non-simple--look up in lists */ |
p | 274 | arch/i386/boot/compressed/inflate.c | r.v.n = d[*p++ - s]; |
p | 313 | arch/i386/boot/compressed/inflate.c | register struct huft *p, *q; |
p | 317 | arch/i386/boot/compressed/inflate.c | p = t; |
p | 318 | arch/i386/boot/compressed/inflate.c | while (p != (struct huft *)NULL) |
p | 320 | arch/i386/boot/compressed/inflate.c | q = (--p)->v.t; |
p | 321 | arch/i386/boot/compressed/inflate.c | free(p); |
p | 322 | arch/i386/boot/compressed/inflate.c | p = q; |
p | 85 | arch/i386/boot/compressed/misc.c | void *p; |
p | 93 | arch/i386/boot/compressed/misc.c | p = (void *)free_mem_ptr; |
p | 106 | arch/i386/boot/compressed/misc.c | return p; |
p | 109 | arch/i386/boot/compressed/misc.c | return p; |
p | 275 | arch/i386/boot/compressed/misc.c | static int p[] = {0,1,2,4,5,7,8,10,11,12,16,22,23,26}; |
p | 279 | arch/i386/boot/compressed/misc.c | for (i = 0; i < sizeof(p)/sizeof(int); i++) |
p | 280 | arch/i386/boot/compressed/misc.c | e |= 1L << (31 - p[i]); |
p | 449 | arch/i386/ibcs/binfmt_coff.c | bprm->p += change_ldt (0, bprm->page); |
p | 450 | arch/i386/ibcs/binfmt_coff.c | bprm->p -= MAX_ARG_PAGES*PAGE_SIZE; |
p | 451 | arch/i386/ibcs/binfmt_coff.c | bprm->p = (unsigned long) create_tables ((char *) bprm->p, |
p | 471 | arch/i386/ibcs/binfmt_coff.c | current->mm->start_stack = bprm->p; |
p | 57 | arch/i386/ibcs/binfmt_elf.c | unsigned long * create_elf_tables(char * p,int argc,int envc,struct elfhdr * exec, unsigned int load_addr, int ibcs) |
p | 66 | arch/i386/ibcs/binfmt_elf.c | mpnt->vm_start = PAGE_MASK & (unsigned long) p; |
p | 76 | arch/i386/ibcs/binfmt_elf.c | sp = (unsigned long *) (0xfffffffc & (unsigned long) p); |
p | 105 | arch/i386/ibcs/binfmt_elf.c | current->mm->arg_start = (unsigned long) p; |
p | 107 | arch/i386/ibcs/binfmt_elf.c | put_fs_long((unsigned long) p,argv++); |
p | 108 | arch/i386/ibcs/binfmt_elf.c | while (get_fs_byte(p++)) /* nothing */ ; |
p | 111 | arch/i386/ibcs/binfmt_elf.c | current->mm->arg_end = current->mm->env_start = (unsigned long) p; |
p | 113 | arch/i386/ibcs/binfmt_elf.c | put_fs_long((unsigned long) p,envp++); |
p | 114 | arch/i386/ibcs/binfmt_elf.c | while (get_fs_byte(p++)) /* nothing */ ; |
p | 117 | arch/i386/ibcs/binfmt_elf.c | current->mm->env_end = (unsigned long) p; |
p | 411 | arch/i386/ibcs/binfmt_elf.c | bprm->p = copy_strings(1,&passed_p,bprm->page,bprm->p,2); |
p | 415 | arch/i386/ibcs/binfmt_elf.c | if (!bprm->p) { |
p | 436 | arch/i386/ibcs/binfmt_elf.c | bprm->p += change_ldt(0, bprm->page); |
p | 437 | arch/i386/ibcs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
p | 521 | arch/i386/ibcs/binfmt_elf.c | current->start_stack = p = elf_stack - 4; |
p | 523 | arch/i386/ibcs/binfmt_elf.c | bprm->p -= MAX_ARG_PAGES*PAGE_SIZE; |
p | 524 | arch/i386/ibcs/binfmt_elf.c | bprm->p = (unsigned long) |
p | 525 | arch/i386/ibcs/binfmt_elf.c | create_elf_tables((char *)bprm->p, |
p | 537 | arch/i386/ibcs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
p | 556 | arch/i386/ibcs/binfmt_elf.c | regs->esp = bprm->p; /* stack pointer */ |
p | 154 | arch/i386/kernel/process.c | struct task_struct * p, struct pt_regs * regs) |
p | 159 | arch/i386/kernel/process.c | p->tss.es = KERNEL_DS; |
p | 160 | arch/i386/kernel/process.c | p->tss.cs = KERNEL_CS; |
p | 161 | arch/i386/kernel/process.c | p->tss.ss = KERNEL_DS; |
p | 162 | arch/i386/kernel/process.c | p->tss.ds = KERNEL_DS; |
p | 163 | arch/i386/kernel/process.c | p->tss.fs = USER_DS; |
p | 164 | arch/i386/kernel/process.c | p->tss.gs = KERNEL_DS; |
p | 165 | arch/i386/kernel/process.c | p->tss.ss0 = KERNEL_DS; |
p | 166 | arch/i386/kernel/process.c | p->tss.esp0 = p->kernel_stack_page + PAGE_SIZE; |
p | 167 | arch/i386/kernel/process.c | p->tss.tr = _TSS(nr); |
p | 168 | arch/i386/kernel/process.c | childregs = ((struct pt_regs *) (p->kernel_stack_page + PAGE_SIZE)) - 1; |
p | 169 | arch/i386/kernel/process.c | p->tss.esp = (unsigned long) childregs; |
p | 170 | arch/i386/kernel/process.c | p->tss.eip = (unsigned long) ret_from_sys_call; |
p | 174 | arch/i386/kernel/process.c | p->tss.back_link = 0; |
p | 175 | arch/i386/kernel/process.c | p->tss.eflags = regs->eflags & 0xffffcfff; /* iopl is always 0 for a new process */ |
p | 176 | arch/i386/kernel/process.c | p->tss.ldt = _LDT(nr); |
p | 177 | arch/i386/kernel/process.c | if (p->ldt) { |
p | 178 | arch/i386/kernel/process.c | p->ldt = (struct desc_struct*) vmalloc(LDT_ENTRIES*LDT_ENTRY_SIZE); |
p | 179 | arch/i386/kernel/process.c | if (p->ldt != NULL) |
p | 180 | arch/i386/kernel/process.c | memcpy(p->ldt, current->ldt, LDT_ENTRIES*LDT_ENTRY_SIZE); |
p | 182 | arch/i386/kernel/process.c | set_tss_desc(gdt+(nr<<1)+FIRST_TSS_ENTRY,&(p->tss)); |
p | 183 | arch/i386/kernel/process.c | if (p->ldt) |
p | 184 | arch/i386/kernel/process.c | set_ldt_desc(gdt+(nr<<1)+FIRST_LDT_ENTRY,p->ldt, 512); |
p | 187 | arch/i386/kernel/process.c | p->tss.bitmap = offsetof(struct thread_struct,io_bitmap); |
p | 189 | arch/i386/kernel/process.c | p->tss.io_bitmap[i] = ~0; |
p | 191 | arch/i386/kernel/process.c | __asm__("clts ; fnsave %0 ; frstor %0":"=m" (p->tss.i387)); |
p | 307 | arch/i386/kernel/traps.c | struct desc_struct * p; |
p | 334 | arch/i386/kernel/traps.c | p = gdt+FIRST_TSS_ENTRY; |
p | 335 | arch/i386/kernel/traps.c | set_tss_desc(p, &init_task.tss); |
p | 336 | arch/i386/kernel/traps.c | p++; |
p | 337 | arch/i386/kernel/traps.c | set_ldt_desc(p, &default_ldt, 1); |
p | 338 | arch/i386/kernel/traps.c | p++; |
p | 340 | arch/i386/kernel/traps.c | p->a=p->b=0; |
p | 341 | arch/i386/kernel/traps.c | p++; |
p | 342 | arch/i386/kernel/traps.c | p->a=p->b=0; |
p | 343 | arch/i386/kernel/traps.c | p++; |
p | 87 | arch/mips/kernel/ioport.c | resource_entry_t *p; |
p | 93 | arch/mips/kernel/ioport.c | for (p = root; ; p = p->next) { |
p | 94 | arch/mips/kernel/ioport.c | if ((p != root) && (p->from+p->num-1 >= from)) { |
p | 95 | arch/mips/kernel/ioport.c | p = NULL; |
p | 98 | arch/mips/kernel/ioport.c | if ((p->next == NULL) || (p->next->from > from+num-1)) |
p | 102 | arch/mips/kernel/ioport.c | return p; |
p | 90 | arch/mips/kernel/process.c | unsigned long copy_thread(int nr, unsigned long clone_flags, struct task_struct * p, struct pt_regs * regs) |
p | 97 | arch/mips/kernel/process.c | p->tss.fs = KERNEL_DS; |
p | 98 | arch/mips/kernel/process.c | p->tss.ksp = (p->kernel_stack_page + PAGE_SIZE - 4) | KSEG0; |
p | 99 | arch/mips/kernel/process.c | childregs = ((struct pt_regs *) (p->kernel_stack_page + PAGE_SIZE)) - 1; |
p | 100 | arch/mips/kernel/process.c | p->tss.reg29 = ((unsigned long) childregs) | KSEG0; /* new sp */ |
p | 101 | arch/mips/kernel/process.c | p->tss.reg31 = (unsigned long) ret_from_sys_call; |
p | 109 | arch/mips/kernel/process.c | p->tss.cp0_status = regs->cp0_status & |
p | 79 | arch/sparc/kernel/process.c | void copy_thread(int nr, unsigned long clone_flags, unsigned long sp, struct task_struct * p, struct pt_regs * regs) |
p | 83 | arch/sparc/kernel/process.c | childregs = ((struct pt_regs *) (p->kernel_stack_page + PAGE_SIZE)) - 1; |
p | 84 | arch/sparc/kernel/process.c | p->tss.usp = (unsigned long) childregs; |
p | 87 | arch/sparc/kernel/process.c | p->tss.psr = regs->psr; /* for condition codes */ |
p | 59 | arch/sparc/kernel/setup.c | void sparc_console_print(const char * p) |
p | 63 | arch/sparc/kernel/setup.c | while ((c = *(p++)) != 0) |
p | 75 | arch/sparc/kernel/setup.c | void sparc_console_print_v3 (const char *p) |
p | 79 | arch/sparc/kernel/setup.c | while ((c = *(p++)) != 0) |
p | 221 | drivers/block/aztcd.c | static void azt_bin2bcd(unsigned char *p); |
p | 1478 | drivers/block/aztcd.c | static void azt_bin2bcd(unsigned char *p) |
p | 1481 | drivers/block/aztcd.c | u = *p % 10; |
p | 1482 | drivers/block/aztcd.c | t = *p / 10; |
p | 1483 | drivers/block/aztcd.c | *p = u | (t << 4); |
p | 52 | drivers/block/genhd.c | struct partition *p; |
p | 72 | drivers/block/genhd.c | p = (struct partition *) (0x1BE + bh->b_data); |
p | 77 | drivers/block/genhd.c | if (p->sys_ind == EXTENDED_PARTITION || !p->nr_sects) |
p | 79 | drivers/block/genhd.c | add_partition(hd, current_minor, this_sector+p->start_sect, p->nr_sects); |
p | 81 | drivers/block/genhd.c | p++; |
p | 89 | drivers/block/genhd.c | if (p->sys_ind != EXTENDED_PARTITION || |
p | 90 | drivers/block/genhd.c | !(hd->part[current_minor].nr_sects = p->nr_sects)) |
p | 92 | drivers/block/genhd.c | hd->part[current_minor].start_sect = first_sector + p->start_sect; |
p | 93 | drivers/block/genhd.c | this_sector = first_sector + p->start_sect; |
p | 108 | drivers/block/genhd.c | struct partition *p; |
p | 133 | drivers/block/genhd.c | p = (struct partition *) (0x1BE + bh->b_data); |
p | 134 | drivers/block/genhd.c | for (i=1 ; i<=4 ; minor++,i++,p++) { |
p | 135 | drivers/block/genhd.c | if (!p->nr_sects) |
p | 137 | drivers/block/genhd.c | add_partition(hd, minor, first_sector+p->start_sect, p->nr_sects); |
p | 140 | drivers/block/genhd.c | if (p->sys_ind == EXTENDED_PARTITION) { |
p | 150 | drivers/block/genhd.c | p = (struct partition *) (0x1BE + bh->b_data); |
p | 152 | drivers/block/genhd.c | p--; |
p | 155 | drivers/block/genhd.c | if (!(p->start_sect && p->nr_sects)) |
p | 157 | drivers/block/genhd.c | add_partition(hd, current_minor, p->start_sect, p->nr_sects); |
p | 213 | drivers/block/genhd.c | struct gendisk *p; |
p | 216 | drivers/block/genhd.c | for (p = gendisk_head ; p ; p=p->next) { |
p | 217 | drivers/block/genhd.c | setup_dev(p); |
p | 218 | drivers/block/genhd.c | nr += p->nr_real; |
p | 260 | drivers/block/hd.c | unsigned char *p, *end = &s[bytecount &= ~1]; /* bytecount must be even */ |
p | 263 | drivers/block/hd.c | for (p = end ; p != s;) { |
p | 264 | drivers/block/hd.c | unsigned short *pp = (unsigned short *) (p -= 2); |
p | 275 | drivers/block/hd.c | *p++ = *(s-1); |
p | 279 | drivers/block/hd.c | while (p != end) |
p | 280 | drivers/block/hd.c | *p++ = '\0'; |
p | 870 | drivers/block/ide-cd.c | struct request req, **p, **pfirst; |
p | 889 | drivers/block/ide-cd.c | p = &blk_dev[major].current_request; |
p | 890 | drivers/block/ide-cd.c | pfirst = p; |
p | 891 | drivers/block/ide-cd.c | while ((*p) != NULL) |
p | 893 | drivers/block/ide-cd.c | p = &((*p)->next); |
p | 895 | drivers/block/ide-cd.c | *p = &req; |
p | 896 | drivers/block/ide-cd.c | if (p == pfirst) |
p | 217 | drivers/block/ide.c | #define IDE_PORT(p,hwif) ((p)^((hwif)<<7)) /* IDE0: p^0x00 , IDE1: p^0x80 */ |
p | 220 | drivers/block/ide.c | #define OUT_BYTE(b,p) outb((b),IDE_PORT(p,DEV_HWIF)) |
p | 221 | drivers/block/ide.c | #define IN_BYTE(p,hwif) (byte)inb(IDE_PORT(p,hwif)) |
p | 223 | drivers/block/ide.c | #define OUT_BYTE(b,p) outb_p((b),IDE_PORT(p,DEV_HWIF)) |
p | 224 | drivers/block/ide.c | #define IN_BYTE(p,hwif) (byte)inb_p(IDE_PORT(p,hwif)) |
p | 1558 | drivers/block/ide.c | byte *p, *end = &s[bytecount &= ~1]; /* bytecount must be even */ |
p | 1562 | drivers/block/ide.c | for (p = end ; p != s;) { |
p | 1563 | drivers/block/ide.c | unsigned short *pp = (unsigned short *) (p -= 2); |
p | 1567 | drivers/block/ide.c | p = s; |
p | 1576 | drivers/block/ide.c | *p++ = *(s-1); |
p | 1580 | drivers/block/ide.c | while (p != end) |
p | 1581 | drivers/block/ide.c | *p++ = '\0'; |
p | 1934 | drivers/block/ide.c | const char *p[] = {"cyls","heads","sects","wpcom","irq"}; |
p | 1978 | drivers/block/ide.c | printk("%s=%d%c",p[i-1],ints[i],i<ints[0]?',':'\n'); |
p | 137 | drivers/block/mcd.c | static void bin2bcd(unsigned char *p); |
p | 1192 | drivers/block/mcd.c | bin2bcd(unsigned char *p) |
p | 1196 | drivers/block/mcd.c | u = *p % 10; |
p | 1197 | drivers/block/mcd.c | t = *p / 10; |
p | 1198 | drivers/block/mcd.c | *p = u | (t << 4); |
p | 738 | drivers/block/sbpcd.c | static INLINE void bin2bcdx(u_char *p) /* must work only up to 75 or 99 */ |
p | 740 | drivers/block/sbpcd.c | *p=((*p/10)<<4)|(*p%10); |
p | 2133 | drivers/block/sbpcd.c | static int convert_UPC(u_char *p) |
p | 2137 | drivers/block/sbpcd.c | p++; |
p | 2138 | drivers/block/sbpcd.c | if (fam0L_drive) p[13]=0; |
p | 2141 | drivers/block/sbpcd.c | if (fam1_drive) DriveStruct[d].UPC_buf[i]=swap_nibbles(*p++); |
p | 2144 | drivers/block/sbpcd.c | DriveStruct[d].UPC_buf[i]=((*p++)<<4)&0xFF; |
p | 2145 | drivers/block/sbpcd.c | DriveStruct[d].UPC_buf[i] |= *p++; |
p | 3354 | drivers/block/sbpcd.c | u_char *p; |
p | 3468 | drivers/block/sbpcd.c | p = DriveStruct[d].aud_buf; |
p | 3473 | drivers/block/sbpcd.c | READ_DATA(CDi_data, p, read_audio.nframes*CD_FRAMESIZE_RAW); |
p | 3794 | drivers/block/sbpcd.c | u_char *p; |
p | 3843 | drivers/block/sbpcd.c | p = DriveStruct[d].sbp_buf + frame * CD_FRAMESIZE; |
p | 3847 | drivers/block/sbpcd.c | READ_DATA(CDi_data, p, CD_FRAMESIZE); |
p | 4085 | drivers/block/sbpcd.c | void sbpcd_setup(char *s, int *p) |
p | 4088 | drivers/block/sbpcd.c | DPRINTF((DBG_INI,"SBPCD: sbpcd_setup called with %04X,%s\n",p[1], s)); |
p | 4094 | drivers/block/sbpcd.c | if (p[0]>0) sbpcd_ioaddr=p[1]; |
p | 324 | drivers/char/console.c | long p, q; |
p | 336 | drivers/char/console.c | p = (long) kmalloc(structsize, GFP_KERNEL); |
p | 337 | drivers/char/console.c | if (!p) { |
p | 342 | drivers/char/console.c | vc_cons[i].d = (struct vc_data *) p; |
p | 343 | drivers/char/console.c | p += sizeof(struct vc_data); |
p | 344 | drivers/char/console.c | vt_cons[i] = (struct vt_struct *) p; |
p | 362 | drivers/char/console.c | unsigned short *p; |
p | 385 | drivers/char/console.c | p = (unsigned short *) kmalloc(ss, GFP_USER); |
p | 386 | drivers/char/console.c | if (!p) { |
p | 392 | drivers/char/console.c | newscreens[currcons] = p; |
p | 938 | drivers/char/console.c | static void respond_string(char * p, struct tty_struct * tty) |
p | 940 | drivers/char/console.c | while (*p) { |
p | 941 | drivers/char/console.c | tty_insert_flip_char(tty, *p, 0); |
p | 942 | drivers/char/console.c | p++; |
p | 984 | drivers/char/console.c | unsigned short *p = (unsigned short *)(origin + offset); |
p | 986 | drivers/char/console.c | p -= (__real_origin - __origin); |
p | 987 | drivers/char/console.c | return p; |
p | 993 | drivers/char/console.c | unsigned short *p; |
p | 996 | drivers/char/console.c | p = screenpos(currcons, offset, viewed); |
p | 999 | drivers/char/console.c | unsigned short old = scr_readw(p); |
p | 1000 | drivers/char/console.c | scr_writew(reverse_video_short(old), p); |
p | 1001 | drivers/char/console.c | p++; |
p | 1005 | drivers/char/console.c | unsigned short old = scr_readw(p); |
p | 1007 | drivers/char/console.c | ? 0x7000 : 0x7700), p); |
p | 1008 | drivers/char/console.c | p++; |
p | 1015 | drivers/char/console.c | static unsigned short *p = NULL; |
p | 1018 | drivers/char/console.c | if (p) |
p | 1019 | drivers/char/console.c | scr_writew(old, p); |
p | 1021 | drivers/char/console.c | p = NULL; |
p | 1023 | drivers/char/console.c | p = screenpos(currcons, offset, 1); |
p | 1024 | drivers/char/console.c | old = scr_readw(p); |
p | 1025 | drivers/char/console.c | scr_writew(old ^ 0x7700, p); |
p | 1041 | drivers/char/console.c | void getconsxy(int currcons, char *p) |
p | 1043 | drivers/char/console.c | p[0] = x; |
p | 1044 | drivers/char/console.c | p[1] = y; |
p | 1047 | drivers/char/console.c | void putconsxy(int currcons, char *p) |
p | 1049 | drivers/char/console.c | gotoxy(currcons, p[0], p[1]); |
p | 1152 | drivers/char/console.c | unsigned short * p = (unsigned short *) pos; |
p | 1155 | drivers/char/console.c | tmp = scr_readw(p); |
p | 1156 | drivers/char/console.c | scr_writew(old, p); |
p | 1158 | drivers/char/console.c | p++; |
p | 1172 | drivers/char/console.c | unsigned short * p = (unsigned short *) pos; |
p | 1175 | drivers/char/console.c | scr_writew(scr_readw(p+1), p); |
p | 1176 | drivers/char/console.c | p++; |
p | 1178 | drivers/char/console.c | scr_writew(video_erase_char, p); |
p | 95 | drivers/char/consolemap.c | unsigned char *p = translations[i]; |
p | 109 | drivers/char/consolemap.c | if (q[p[j]] < 32) /* prefer '-' above SHY etc. */ |
p | 110 | drivers/char/consolemap.c | q[p[j]] = j; |
p | 139 | drivers/char/consolemap.c | unsigned char *p = translations[USER_MAP]; |
p | 146 | drivers/char/consolemap.c | p[i] = get_fs_byte(arg+i); |
p | 147 | drivers/char/consolemap.c | p[012] = p[014] = p[015] = p[033] = 0; |
p | 155 | drivers/char/consolemap.c | unsigned char *p = translations[USER_MAP]; |
p | 161 | drivers/char/consolemap.c | for (i=0; i<E_TABSZ ; i++) put_fs_byte(p[i],arg+i); |
p | 40 | drivers/char/mem.c | unsigned long p = file->f_pos; |
p | 45 | drivers/char/mem.c | if (p >= high_memory) |
p | 47 | drivers/char/mem.c | if (count > high_memory - p) |
p | 48 | drivers/char/mem.c | count = high_memory - p; |
p | 50 | drivers/char/mem.c | while (p < PAGE_SIZE && count > 0) { |
p | 53 | drivers/char/mem.c | p++; |
p | 57 | drivers/char/mem.c | memcpy_tofs(buf,(void *) p,count); |
p | 65 | drivers/char/mem.c | unsigned long p = file->f_pos; |
p | 70 | drivers/char/mem.c | if (p >= high_memory) |
p | 72 | drivers/char/mem.c | if (count > high_memory - p) |
p | 73 | drivers/char/mem.c | count = high_memory - p; |
p | 75 | drivers/char/mem.c | while (p < PAGE_SIZE && count > 0) { |
p | 78 | drivers/char/mem.c | p++; |
p | 82 | drivers/char/mem.c | memcpy_fromfs((void *) p,buf,count); |
p | 531 | drivers/char/n_tty.c | unsigned char *p; |
p | 553 | drivers/char/n_tty.c | for (i=count, p = cp, f = fp; i; i--, p++) { |
p | 558 | drivers/char/n_tty.c | n_tty_receive_char(tty, *p); |
p | 565 | drivers/char/n_tty.c | n_tty_receive_parity_error(tty, *p); |
p | 98 | drivers/char/selection.c | static inline int atedge(const int p) |
p | 100 | drivers/char/selection.c | return (!(p % video_size_row) || !((p + 2) % video_size_row)); |
p | 31 | drivers/char/selection.h | extern void getconsxy(int currcons, char *p); |
p | 32 | drivers/char/selection.h | extern void putconsxy(int currcons, char *p); |
p | 243 | drivers/char/tty_io.c | struct tty_driver *p; |
p | 248 | drivers/char/tty_io.c | for (p = tty_drivers; p; p = p->next) { |
p | 249 | drivers/char/tty_io.c | if (p->major != major) |
p | 251 | drivers/char/tty_io.c | if (minor < p->minor_start) |
p | 253 | drivers/char/tty_io.c | if (minor >= p->minor_start + p->num) |
p | 255 | drivers/char/tty_io.c | return p; |
p | 341 | drivers/char/tty_io.c | struct task_struct *p; |
p | 386 | drivers/char/tty_io.c | for_each_task(p) { |
p | 387 | drivers/char/tty_io.c | if ((tty->session > 0) && (p->session == tty->session) && |
p | 388 | drivers/char/tty_io.c | p->leader) { |
p | 389 | drivers/char/tty_io.c | send_sig(SIGHUP,p,1); |
p | 390 | drivers/char/tty_io.c | send_sig(SIGCONT,p,1); |
p | 392 | drivers/char/tty_io.c | p->tty_old_pgrp = tty->pgrp; |
p | 394 | drivers/char/tty_io.c | if (p->tty == tty) |
p | 395 | drivers/char/tty_io.c | p->tty = NULL; |
p | 441 | drivers/char/tty_io.c | struct task_struct *p; |
p | 459 | drivers/char/tty_io.c | for_each_task(p) |
p | 460 | drivers/char/tty_io.c | if (p->session == current->session) |
p | 461 | drivers/char/tty_io.c | p->tty = NULL; |
p | 927 | drivers/char/tty_io.c | struct task_struct **p; |
p | 1033 | drivers/char/tty_io.c | for (p = &LAST_TASK ; p > &FIRST_TASK ; --p) { |
p | 1034 | drivers/char/tty_io.c | if (*p == 0) |
p | 1036 | drivers/char/tty_io.c | if ((*p)->tty == tty) |
p | 1037 | drivers/char/tty_io.c | (*p)->tty = NULL; |
p | 1038 | drivers/char/tty_io.c | if (o_tty && (*p)->tty == o_tty) |
p | 1039 | drivers/char/tty_io.c | (*p)->tty = NULL; |
p | 1259 | drivers/char/tty_io.c | struct task_struct **p; |
p | 1266 | drivers/char/tty_io.c | for (p = &FIRST_TASK ; p <= &LAST_TASK ; p++, n++) |
p | 1267 | drivers/char/tty_io.c | if (*p) |
p | 1269 | drivers/char/tty_io.c | c = (char *)(*p); |
p | 1391 | drivers/char/tty_io.c | struct task_struct *p; |
p | 1393 | drivers/char/tty_io.c | for_each_task(p) |
p | 1394 | drivers/char/tty_io.c | if (p->tty == tty) |
p | 1395 | drivers/char/tty_io.c | p->tty = NULL; |
p | 1536 | drivers/char/tty_io.c | struct task_struct **p; |
p | 1548 | drivers/char/tty_io.c | for (p = &LAST_TASK ; p > &FIRST_TASK ; --p) { |
p | 1549 | drivers/char/tty_io.c | if (!(*p)) |
p | 1551 | drivers/char/tty_io.c | if (((*p)->tty == tty) || |
p | 1552 | drivers/char/tty_io.c | ((session > 0) && ((*p)->session == session))) |
p | 1553 | drivers/char/tty_io.c | send_sig(SIGKILL, *p, 1); |
p | 1556 | drivers/char/tty_io.c | filp = (*p)->files->fd[i]; |
p | 1559 | drivers/char/tty_io.c | send_sig(SIGKILL, *p, 1); |
p | 1662 | drivers/char/tty_io.c | struct tty_driver *p; |
p | 1669 | drivers/char/tty_io.c | for (p = tty_drivers; p; p = p->next) { |
p | 1670 | drivers/char/tty_io.c | if (p == driver) |
p | 1672 | drivers/char/tty_io.c | else if (p->major == driver->major) |
p | 1673 | drivers/char/tty_io.c | othername = p->name; |
p | 65 | drivers/char/vc_screen.c | unsigned long p = file->f_pos; |
p | 84 | drivers/char/vc_screen.c | if (count < 0 || p > size) |
p | 86 | drivers/char/vc_screen.c | if (count > size - p) |
p | 87 | drivers/char/vc_screen.c | count = size - p; |
p | 91 | drivers/char/vc_screen.c | org = screen_pos(cons, p, viewed); |
p | 95 | drivers/char/vc_screen.c | if (p < HEADER_SIZE) { |
p | 100 | drivers/char/vc_screen.c | while (p < HEADER_SIZE && count-- > 0) |
p | 101 | drivers/char/vc_screen.c | put_fs_byte(header[p++], buf++); |
p | 103 | drivers/char/vc_screen.c | p -= HEADER_SIZE; |
p | 104 | drivers/char/vc_screen.c | org = screen_pos(cons, p/2, viewed); |
p | 105 | drivers/char/vc_screen.c | if ((p & 1) && count-- > 0) |
p | 123 | drivers/char/vc_screen.c | unsigned long p = file->f_pos; |
p | 142 | drivers/char/vc_screen.c | if (count < 0 || p > size) |
p | 144 | drivers/char/vc_screen.c | if (count > size - p) |
p | 145 | drivers/char/vc_screen.c | count = size - p; |
p | 149 | drivers/char/vc_screen.c | org = screen_pos(cons, p, viewed); |
p | 156 | drivers/char/vc_screen.c | if (p < HEADER_SIZE) { |
p | 159 | drivers/char/vc_screen.c | while (p < HEADER_SIZE && count-- > 0) |
p | 160 | drivers/char/vc_screen.c | header[p++] = get_fs_byte(buf++); |
p | 164 | drivers/char/vc_screen.c | p -= HEADER_SIZE; |
p | 165 | drivers/char/vc_screen.c | org = screen_pos(cons, p/2, viewed); |
p | 166 | drivers/char/vc_screen.c | if ((p & 1) && count-- > 0) { |
p | 443 | drivers/char/vt.c | char *p; |
p | 455 | drivers/char/vt.c | p = func_table[i]; |
p | 456 | drivers/char/vt.c | if(p) |
p | 457 | drivers/char/vt.c | for ( ; *p && sz; p++, sz--) |
p | 458 | drivers/char/vt.c | put_fs_byte(*p, q++); |
p | 460 | drivers/char/vt.c | return ((p && *p) ? -EOVERFLOW : 0); |
p | 469 | drivers/char/vt.c | u_char *p; |
p | 491 | drivers/char/vt.c | for (p = a->kb_string; get_fs_byte(p) && sz; p++,sz--) |
p | 533 | drivers/char/vt.c | for (p = a->kb_string, q = func_table[i]; ; p++, q++) |
p | 534 | drivers/char/vt.c | if (!(*q = get_fs_byte(p))) |
p | 99 | drivers/net/3c505.c | #define CHECK_NULL(p) if (!p) printk(null_msg, filename, __LINE__) |
p | 701 | drivers/net/atp.c | static void read_block(short ioaddr, int length, unsigned char *p, int data_mode) |
p | 709 | drivers/net/atp.c | do *p++ = read_byte_mode0(ioaddr); while (--length > 0); |
p | 711 | drivers/net/atp.c | do *p++ = read_byte_mode2(ioaddr); while (--length > 0); |
p | 713 | drivers/net/atp.c | do *p++ = read_byte_mode4(ioaddr); while (--length > 0); |
p | 715 | drivers/net/atp.c | do *p++ = read_byte_mode6(ioaddr); while (--length > 0); |
p | 1177 | drivers/net/de4x5.c | long *p = (long *) multicast_table; |
p | 1184 | drivers/net/de4x5.c | *p++ = 0x0000ffff; |
p | 864 | drivers/net/depca.c | char *p = (char *) skb->data; |
p | 898 | drivers/net/depca.c | for (p += len; skbL > 0; p += len) { |
p | 923 | drivers/net/depca.c | memcpy((unsigned char *)(buf + PKT_HDR_LEN), (unsigned char *)p, len); |
p | 848 | drivers/net/ewrk3.c | unsigned char *p = skb->data; |
p | 855 | drivers/net/ewrk3.c | outb(*p++, EWRK3_DATA); |
p | 1043 | drivers/net/ewrk3.c | unsigned char *p = skb->data; |
p | 1045 | drivers/net/ewrk3.c | *p = inb(EWRK3_DATA); /* dummy read */ |
p | 1047 | drivers/net/ewrk3.c | *p++ = inb(EWRK3_DATA); |
p | 1254 | drivers/net/ewrk3.c | short *p = (short *) multicast_table; |
p | 1272 | drivers/net/ewrk3.c | *p++ = 0xffff; |
p | 34 | drivers/net/i82586.h | #define toff(t,p,f) (unsigned short)((void *)(&((t *)((void *)0 + (p)))->f) - (void *)0) |
p | 122 | drivers/net/i82586.h | #define scboff(p,f) toff(scb_t, p, f) |
p | 176 | drivers/net/i82586.h | #define acoff(p,f) toff(ach_t, p, f) |
p | 364 | drivers/net/i82586.h | #define rbdoff(p,f) toff(rbd_t, p, f) |
p | 402 | drivers/net/i82586.h | #define fdoff(p,f) toff(fd_t, p, f) |
p | 103 | drivers/net/ni52.c | #define make32(ptr16) (p->memtop + (short) (ptr16) ) |
p | 104 | drivers/net/ni52.c | #define make24(ptr32) ((char *) (ptr32) - p->base) |
p | 105 | drivers/net/ni52.c | #define make16(ptr32) ((unsigned short) ((unsigned long) (ptr32) - (unsigned long) p->memtop )) |
p | 143 | drivers/net/ni52.c | if(!p->scb->cmd) break; \ |
p | 250 | drivers/net/ni52.c | struct priv *p = (struct priv *) dev->priv; |
p | 254 | drivers/net/ni52.c | p->base = (unsigned long) where + size - 0x01000000; |
p | 255 | drivers/net/ni52.c | p->memtop = where + size; |
p | 256 | drivers/net/ni52.c | p->scp = (struct scp_struct *)(p->base + SCP_DEFAULT_ADDRESS); |
p | 257 | drivers/net/ni52.c | memset((char *)p->scp,0, sizeof(struct scp_struct)); |
p | 258 | drivers/net/ni52.c | p->scp->sysbus = SYSBUSVAL; /* 1 = 8Bit-Bus, 0 = 16 Bit */ |
p | 261 | drivers/net/ni52.c | iscp_addrs[1]= (char *) p->scp - sizeof(struct iscp_struct); |
p | 265 | drivers/net/ni52.c | p->iscp = (struct iscp_struct *) iscp_addrs[i]; |
p | 266 | drivers/net/ni52.c | memset((char *)p->iscp,0, sizeof(struct iscp_struct)); |
p | 268 | drivers/net/ni52.c | p->scp->iscp = make24(p->iscp); |
p | 269 | drivers/net/ni52.c | p->iscp->busy = 1; |
p | 275 | drivers/net/ni52.c | if(p->iscp->busy) /* i82586 clears 'busy' after successful init */ |
p | 287 | drivers/net/ni52.c | struct priv *p = (struct priv *) dev->priv; |
p | 292 | drivers/net/ni52.c | p->scp = (struct scp_struct *) (p->base + SCP_DEFAULT_ADDRESS); |
p | 293 | drivers/net/ni52.c | p->scb = (struct scb_struct *) (dev->mem_start); |
p | 294 | drivers/net/ni52.c | p->iscp = (struct iscp_struct *) ((char *)p->scp - sizeof(struct iscp_struct)); |
p | 296 | drivers/net/ni52.c | memset((char *) p->iscp,0,sizeof(struct iscp_struct)); |
p | 297 | drivers/net/ni52.c | memset((char *) p->scp ,0,sizeof(struct scp_struct)); |
p | 299 | drivers/net/ni52.c | p->scp->iscp = make24(p->iscp); |
p | 300 | drivers/net/ni52.c | p->scp->sysbus = SYSBUSVAL; |
p | 301 | drivers/net/ni52.c | p->iscp->scb_offset = make16(p->scb); |
p | 303 | drivers/net/ni52.c | p->iscp->busy = 1; |
p | 309 | drivers/net/ni52.c | if(p->iscp->busy) |
p | 312 | drivers/net/ni52.c | memset((char *)p->scb,0,sizeof(struct scb_struct)); |
p | 455 | drivers/net/ni52.c | struct priv *p = (struct priv *) dev->priv; |
p | 461 | drivers/net/ni52.c | ptr = (void *) ((char *)p->scb + sizeof(struct scb_struct)); |
p | 479 | drivers/net/ni52.c | p->scb->cbl_offset = make16(cfg_cmd); |
p | 481 | drivers/net/ni52.c | p->scb->cmd = CUC_START; /* cmd.-unit start */ |
p | 505 | drivers/net/ni52.c | p->scb->cbl_offset = make16(ias_cmd); |
p | 507 | drivers/net/ni52.c | p->scb->cmd = CUC_START; /* cmd.-unit start */ |
p | 529 | drivers/net/ni52.c | p->scb->cbl_offset = make16(tdr_cmd); |
p | 531 | drivers/net/ni52.c | p->scb->cmd = CUC_START; /* cmd.-unit start */ |
p | 546 | drivers/net/ni52.c | p->scb->cmd = p->scb->status & STAT_MASK; |
p | 566 | drivers/net/ni52.c | p->scb->cmd = p->scb->status & STAT_MASK; |
p | 575 | drivers/net/ni52.c | p->nop_cmds[i] = (struct nop_cmd_struct *)ptr; |
p | 576 | drivers/net/ni52.c | p->nop_cmds[i]->cmd_cmd = CMD_NOP; |
p | 577 | drivers/net/ni52.c | p->nop_cmds[i]->cmd_status = 0; |
p | 578 | drivers/net/ni52.c | p->nop_cmds[i]->cmd_link = make16((p->nop_cmds[i])); |
p | 581 | drivers/net/ni52.c | p->xmit_cmds[0] = (struct transmit_cmd_struct *)ptr; /* transmit cmd/buff 0 */ |
p | 586 | drivers/net/ni52.c | p->nop_cmds[i] = (struct nop_cmd_struct *)ptr; |
p | 587 | drivers/net/ni52.c | p->nop_cmds[i]->cmd_cmd = CMD_NOP; |
p | 588 | drivers/net/ni52.c | p->nop_cmds[i]->cmd_status = 0; |
p | 589 | drivers/net/ni52.c | p->nop_cmds[i]->cmd_link = make16((p->nop_cmds[i])); |
p | 591 | drivers/net/ni52.c | p->xmit_cmds[i] = (struct transmit_cmd_struct *)ptr; /*transmit cmd/buff 0*/ |
p | 604 | drivers/net/ni52.c | int len = ((char *) p->iscp - (char *) ptr - 8) / 6; |
p | 623 | drivers/net/ni52.c | p->scb->cbl_offset = make16(mc_cmd); |
p | 624 | drivers/net/ni52.c | p->scb->cmd = CUC_START; |
p | 640 | drivers/net/ni52.c | p->xmit_cbuffs[i] = (char *)ptr; /* char-buffs */ |
p | 642 | drivers/net/ni52.c | p->xmit_buffs[i] = (struct tbd_struct *)ptr; /* TBD */ |
p | 644 | drivers/net/ni52.c | if((void *)ptr > (void *)p->iscp) |
p | 649 | drivers/net/ni52.c | memset((char *)(p->xmit_cmds[i]) ,0, sizeof(struct transmit_cmd_struct)); |
p | 650 | drivers/net/ni52.c | memset((char *)(p->xmit_buffs[i]),0, sizeof(struct tbd_struct)); |
p | 651 | drivers/net/ni52.c | p->xmit_cmds[i]->cmd_status = STAT_COMPL; |
p | 652 | drivers/net/ni52.c | p->xmit_cmds[i]->cmd_cmd = CMD_XMIT | CMD_INT; |
p | 653 | drivers/net/ni52.c | p->xmit_cmds[i]->tbd_offset = make16((p->xmit_buffs[i])); |
p | 654 | drivers/net/ni52.c | p->xmit_buffs[i]->next = 0xffff; |
p | 655 | drivers/net/ni52.c | p->xmit_buffs[i]->buffer = make24((p->xmit_cbuffs[i])); |
p | 658 | drivers/net/ni52.c | p->xmit_count = 0; |
p | 659 | drivers/net/ni52.c | p->xmit_last = 0; |
p | 661 | drivers/net/ni52.c | p->nop_point = 0; |
p | 668 | drivers/net/ni52.c | p->scb->cbl_offset = make16(p->nop_cmds[0]); |
p | 669 | drivers/net/ni52.c | p->scb->cmd = CUC_START; |
p | 673 | drivers/net/ni52.c | p->xmit_cmds[0]->cmd_link = 0xffff; |
p | 674 | drivers/net/ni52.c | p->xmit_cmds[0]->cmd_cmd = CMD_XMIT | CMD_LAST | CMD_INT; |
p | 690 | drivers/net/ni52.c | struct priv *p = (struct priv *) dev->priv; |
p | 692 | drivers/net/ni52.c | memset((char *) rfd,0,sizeof(struct rfd_struct)*p->num_recv_buffs); |
p | 693 | drivers/net/ni52.c | p->rfd_first = rfd; |
p | 695 | drivers/net/ni52.c | for(i = 0; i < p->num_recv_buffs; i++) |
p | 696 | drivers/net/ni52.c | rfd[i].next = make16(rfd + (i+1) % p->num_recv_buffs); |
p | 697 | drivers/net/ni52.c | rfd[p->num_recv_buffs-1].last = RFD_SUSP; /* RU suspend */ |
p | 699 | drivers/net/ni52.c | ptr = (void *) (rfd + p->num_recv_buffs); |
p | 702 | drivers/net/ni52.c | ptr = (void *) (rbd + p->num_recv_buffs); |
p | 705 | drivers/net/ni52.c | memset((char *) rbd,0,sizeof(struct rbd_struct)*p->num_recv_buffs); |
p | 707 | drivers/net/ni52.c | for(i=0;i<p->num_recv_buffs;i++) |
p | 709 | drivers/net/ni52.c | rbd[i].next = make16((rbd + (i+1) % p->num_recv_buffs)); |
p | 715 | drivers/net/ni52.c | p->rfd_top = p->rfd_first; |
p | 716 | drivers/net/ni52.c | p->rfd_last = p->rfd_first + p->num_recv_buffs - 1; |
p | 718 | drivers/net/ni52.c | p->scb->rfa_offset = make16(p->rfd_first); |
p | 719 | drivers/net/ni52.c | p->rfd_first->rbd_offset = make16(rbd); |
p | 733 | drivers/net/ni52.c | struct priv *p; |
p | 739 | drivers/net/ni52.c | p = (struct priv *) dev->priv; |
p | 743 | drivers/net/ni52.c | while((stat=p->scb->status & STAT_MASK)) |
p | 745 | drivers/net/ni52.c | p->scb->cmd = stat; |
p | 758 | drivers/net/ni52.c | printk("%s: oops! CU has left active state. stat: %04x/%04x.\n",dev->name,(int) stat,(int) p->scb->status); |
p | 764 | drivers/net/ni52.c | if(p->scb->status & RU_SUSPEND) /* special case: RU_SUSPEND */ |
p | 767 | drivers/net/ni52.c | p->scb->cmd = RUC_RESUME; |
p | 772 | drivers/net/ni52.c | printk("%s: Receiver-Unit went 'NOT READY': %04x/%04x.\n",dev->name,(int) stat,(int) p->scb->status); |
p | 777 | drivers/net/ni52.c | if(p->scb->cmd) /* timed out? */ |
p | 794 | drivers/net/ni52.c | struct priv *p = (struct priv *) dev->priv; |
p | 796 | drivers/net/ni52.c | for(;(status = p->rfd_top->status) & STAT_COMPL;) |
p | 798 | drivers/net/ni52.c | rbd = (struct rbd_struct *) make32(p->rfd_top->rbd_offset); |
p | 811 | drivers/net/ni52.c | memcpy( (char *) skb->data,(char *) p->base+(unsigned long) rbd->buffer, totlen); |
p | 813 | drivers/net/ni52.c | p->stats.rx_packets++; |
p | 816 | drivers/net/ni52.c | p->stats.rx_dropped++; |
p | 821 | drivers/net/ni52.c | p->stats.rx_dropped++; |
p | 827 | drivers/net/ni52.c | p->stats.rx_errors++; |
p | 829 | drivers/net/ni52.c | p->rfd_top->status = 0; |
p | 830 | drivers/net/ni52.c | p->rfd_top->last = RFD_SUSP; |
p | 831 | drivers/net/ni52.c | p->rfd_last->last = 0; /* delete RU_SUSP */ |
p | 832 | drivers/net/ni52.c | p->rfd_last = p->rfd_top; |
p | 833 | drivers/net/ni52.c | p->rfd_top = (struct rfd_struct *) make32(p->rfd_top->next); /* step to next RFD */ |
p | 843 | drivers/net/ni52.c | struct priv *p = (struct priv *) dev->priv; |
p | 845 | drivers/net/ni52.c | p->stats.rx_errors++; |
p | 848 | drivers/net/ni52.c | p->scb->cmd = RUC_ABORT; /* usually the RU is in the 'no resource'-state .. abort it now. */ |
p | 852 | drivers/net/ni52.c | alloc_rfa(dev,(char *)p->rfd_first); |
p | 855 | drivers/net/ni52.c | printk("%s: Receive-Unit restarted. Status: %04x\n",dev->name,p->scb->status); |
p | 866 | drivers/net/ni52.c | struct priv *p = (struct priv *) dev->priv; |
p | 868 | drivers/net/ni52.c | status = p->xmit_cmds[p->xmit_last]->cmd_status; |
p | 874 | drivers/net/ni52.c | p->stats.tx_packets++; |
p | 875 | drivers/net/ni52.c | p->stats.collisions += (status & TCMD_MAXCOLLMASK); |
p | 879 | drivers/net/ni52.c | p->stats.tx_errors++; |
p | 882 | drivers/net/ni52.c | p->stats.collisions++; |
p | 885 | drivers/net/ni52.c | p->stats.tx_carrier_errors++; |
p | 891 | drivers/net/ni52.c | p->stats.tx_fifo_errors++; |
p | 896 | drivers/net/ni52.c | p->stats.collisions += 16; |
p | 901 | drivers/net/ni52.c | if( (++p->xmit_last) == NUM_XMIT_BUFFS) |
p | 902 | drivers/net/ni52.c | p->xmit_last = 0; |
p | 915 | drivers/net/ni52.c | struct priv *p = (struct priv *) dev->priv; |
p | 917 | drivers/net/ni52.c | p->scb->rfa_offset = make16(p->rfd_first); |
p | 918 | drivers/net/ni52.c | p->scb->cmd = RUC_START; |
p | 933 | drivers/net/ni52.c | struct priv *p = (struct priv *) dev->priv; |
p | 941 | drivers/net/ni52.c | if(p->scb->status & CU_ACTIVE) /* COMMAND-UNIT active? */ |
p | 946 | drivers/net/ni52.c | printk("%s: X0: %04x N0: %04x N1: %04x %d\n",dev->name,(int)p->xmit_cmds[0]->cmd_status,(int)p->nop_cmds[0]->cmd_status,(int)p->nop_cmds[1]->cmd_status,(int)p->nop_point); |
p | 948 | drivers/net/ni52.c | p->scb->cmd = CUC_ABORT; |
p | 951 | drivers/net/ni52.c | p->scb->cbl_offset = make16(p->nop_cmds[p->nop_point]); |
p | 952 | drivers/net/ni52.c | p->scb->cmd = CUC_START; |
p | 961 | drivers/net/ni52.c | printk("%s: xmitter timed out, try to restart! stat: %04x\n",dev->name,p->scb->status); |
p | 962 | drivers/net/ni52.c | printk("%s: command-stats: %04x %04x\n",dev->name,p->xmit_cmds[0]->cmd_status,p->xmit_cmds[1]->cmd_status); |
p | 989 | drivers/net/ni52.c | memcpy((char *)p->xmit_cbuffs[p->xmit_count],(char *)(skb->data),skb->len); |
p | 994 | drivers/net/ni52.c | p->xmit_buffs[0]->size = TBD_LAST | len; |
p | 997 | drivers/net/ni52.c | p->scb->cbl_offset = make16(p->xmit_cmds[0]); |
p | 998 | drivers/net/ni52.c | p->scb->cmd = CUC_START; |
p | 999 | drivers/net/ni52.c | p->xmit_cmds[0]->cmd_status = 0; |
p | 1006 | drivers/net/ni52.c | if( (p->scb->status & CU_ACTIVE)) /* test it, because CU sometimes doesn't start immediately */ |
p | 1008 | drivers/net/ni52.c | if(p->xmit_cmds[0]->cmd_status) |
p | 1014 | drivers/net/ni52.c | next_nop = (p->nop_point + 1) & 0x1; |
p | 1015 | drivers/net/ni52.c | p->xmit_buffs[0]->size = TBD_LAST | len; |
p | 1017 | drivers/net/ni52.c | p->xmit_cmds[0]->cmd_link = p->nop_cmds[next_nop]->cmd_link |
p | 1018 | drivers/net/ni52.c | = make16((p->nop_cmds[next_nop])); |
p | 1019 | drivers/net/ni52.c | p->xmit_cmds[0]->cmd_status = p->nop_cmds[next_nop]->cmd_status = 0; |
p | 1021 | drivers/net/ni52.c | p->nop_cmds[p->nop_point]->cmd_link = make16((p->xmit_cmds[0])); |
p | 1023 | drivers/net/ni52.c | p->nop_point = next_nop; |
p | 1027 | drivers/net/ni52.c | p->xmit_buffs[p->xmit_count]->size = TBD_LAST | len; |
p | 1028 | drivers/net/ni52.c | if( (next_nop = p->xmit_count + 1) == NUM_XMIT_BUFFS ) |
p | 1031 | drivers/net/ni52.c | p->xmit_cmds[p->xmit_count]->cmd_status = 0; |
p | 1032 | drivers/net/ni52.c | p->xmit_cmds[p->xmit_count]->cmd_link = p->nop_cmds[next_nop]->cmd_link |
p | 1033 | drivers/net/ni52.c | = make16((p->nop_cmds[next_nop])); |
p | 1034 | drivers/net/ni52.c | p->nop_cmds[next_nop]->cmd_status = 0; |
p | 1036 | drivers/net/ni52.c | p->nop_cmds[p->xmit_count]->cmd_link = make16((p->xmit_cmds[p->xmit_count])); |
p | 1038 | drivers/net/ni52.c | p->xmit_count = next_nop; |
p | 1041 | drivers/net/ni52.c | if(p->xmit_count != p->xmit_last) |
p | 1056 | drivers/net/ni52.c | struct priv *p = (struct priv *) dev->priv; |
p | 1059 | drivers/net/ni52.c | crc = p->scb->crc_errs; /* get error-statistic from the ni82586 */ |
p | 1060 | drivers/net/ni52.c | p->scb->crc_errs -= crc; |
p | 1061 | drivers/net/ni52.c | aln = p->scb->aln_errs; |
p | 1062 | drivers/net/ni52.c | p->scb->aln_errs -= aln; |
p | 1063 | drivers/net/ni52.c | rsc = p->scb->rsc_errs; |
p | 1064 | drivers/net/ni52.c | p->scb->rsc_errs -= rsc; |
p | 1065 | drivers/net/ni52.c | ovrn = p->scb->ovrn_errs; |
p | 1066 | drivers/net/ni52.c | p->scb->ovrn_errs -= ovrn; |
p | 1068 | drivers/net/ni52.c | p->stats.rx_crc_errors += crc; |
p | 1069 | drivers/net/ni52.c | p->stats.rx_fifo_errors += ovrn; |
p | 1070 | drivers/net/ni52.c | p->stats.rx_frame_errors += aln; |
p | 1071 | drivers/net/ni52.c | p->stats.rx_dropped += rsc; |
p | 1073 | drivers/net/ni52.c | return &p->stats; |
p | 210 | drivers/net/ni65.c | struct priv *p; |
p | 248 | drivers/net/ni65.c | p = dev->priv = (void *) kmalloc(sizeof(struct priv),GFP_KERNEL); |
p | 263 | drivers/net/ni65.c | if( (p->memptr = kmalloc(MEMSIZE,GFP_KERNEL)) == NULL) { |
p | 267 | drivers/net/ni65.c | if( (unsigned long) (p->memptr + MEMSIZE) & 0xff000000) { |
p | 271 | drivers/net/ni65.c | p->tmdhead = (struct tmd *) ((( (unsigned long)p->memptr ) + 8) & 0xfffffff8); |
p | 272 | drivers/net/ni65.c | p->rmdhead = (struct rmd *) (p->tmdhead + TMDNUM); |
p | 277 | drivers/net/ni65.c | if( (p->tmdbufs[i] = kmalloc(T_BUF_SIZE,GFP_ATOMIC)) == NULL) { |
p | 281 | drivers/net/ni65.c | if( (unsigned long) (p->tmdbufs[i]+T_BUF_SIZE) & 0xff000000) { |
p | 290 | drivers/net/ni65.c | if( (p->recv_skb[i] = (struct sk_buff *) alloc_skb(R_BUF_SIZE,GFP_ATOMIC)) == NULL) { |
p | 294 | drivers/net/ni65.c | if( (unsigned long) (p->recv_skb[i]->data + R_BUF_SIZE) & 0xff000000) { |
p | 312 | drivers/net/ni65.c | struct priv *p = (struct priv *) dev->priv; |
p | 314 | drivers/net/ni65.c | p->lock = 0; |
p | 315 | drivers/net/ni65.c | p->xmit_queued = 0; |
p | 333 | drivers/net/ni65.c | memset(p->memptr,0,MEMSIZE); |
p | 335 | drivers/net/ni65.c | p->tmdnum = 0; p->tmdlast = 0; |
p | 338 | drivers/net/ni65.c | tmdp = p->tmdhead + i; |
p | 340 | drivers/net/ni65.c | tmdp->u.buffer = (unsigned long) p->tmdbufs[i]; |
p | 345 | drivers/net/ni65.c | p->rmdnum = 0; |
p | 348 | drivers/net/ni65.c | rmdp = p->rmdhead + i; |
p | 349 | drivers/net/ni65.c | rmdp->u.buffer = (unsigned long) p->recv_skb[i]->data; |
p | 357 | drivers/net/ni65.c | p->ib.eaddr[i] = dev->dev_addr[i]; |
p | 359 | drivers/net/ni65.c | p->ib.mode = 0; |
p | 361 | drivers/net/ni65.c | p->ib.filter[i] = 0; |
p | 362 | drivers/net/ni65.c | p->ib.trplow = (unsigned short) (( (unsigned long) p->tmdhead ) & 0xffff); |
p | 363 | drivers/net/ni65.c | p->ib.trphigh = (unsigned short) ((( (unsigned long) p->tmdhead )>>16) & 0x00ff) | TMDNUMMASK; |
p | 364 | drivers/net/ni65.c | p->ib.rrplow = (unsigned short) (( (unsigned long) p->rmdhead ) & 0xffff); |
p | 365 | drivers/net/ni65.c | p->ib.rrphigh = (unsigned short) ((( (unsigned long) p->rmdhead )>>16) & 0x00ff) | RMDNUMMASK; |
p | 368 | drivers/net/ni65.c | writereg((unsigned short) (((unsigned long) &(p->ib)) & 0xffff),CSR1); |
p | 369 | drivers/net/ni65.c | writereg((unsigned short) (((unsigned long) &(p->ib))>>16),CSR2); |
p | 417 | drivers/net/ni65.c | struct priv *p = (struct priv *) dev->priv; |
p | 420 | drivers/net/ni65.c | p->stats.tx_errors++; |
p | 422 | drivers/net/ni65.c | p->stats.rx_errors++; |
p | 449 | drivers/net/ni65.c | struct priv *p = (struct priv *) dev->priv; |
p | 455 | drivers/net/ni65.c | while(p->xmit_queued) |
p | 457 | drivers/net/ni65.c | tmdp = p->tmdhead + p->tmdlast; |
p | 462 | drivers/net/ni65.c | skb = (struct sk_buff *) p->tmdbufs[p->tmdlast]; |
p | 474 | drivers/net/ni65.c | p->stats.tx_aborted_errors++; |
p | 476 | drivers/net/ni65.c | p->stats.tx_carrier_errors++; |
p | 477 | drivers/net/ni65.c | p->stats.tx_errors++; |
p | 481 | drivers/net/ni65.c | p->stats.tx_packets++; |
p | 483 | drivers/net/ni65.c | p->tmdlast = (p->tmdlast + 1) & (TMDNUM-1); |
p | 484 | drivers/net/ni65.c | if(p->tmdlast == p->tmdnum) |
p | 485 | drivers/net/ni65.c | p->xmit_queued = 0; |
p | 501 | drivers/net/ni65.c | struct priv *p = (struct priv *) dev->priv; |
p | 503 | drivers/net/ni65.c | rmdp = p->rmdhead + p->rmdnum; |
p | 510 | drivers/net/ni65.c | p->stats.rx_errors++; |
p | 511 | drivers/net/ni65.c | p->stats.rx_length_errors++; |
p | 519 | drivers/net/ni65.c | p->stats.rx_errors++; |
p | 520 | drivers/net/ni65.c | if(rmdstat & RCV_FRAM) p->stats.rx_frame_errors++; |
p | 521 | drivers/net/ni65.c | if(rmdstat & RCV_OFLO) p->stats.rx_over_errors++; |
p | 522 | drivers/net/ni65.c | if(rmdstat & RCV_CRC) p->stats.rx_crc_errors++; |
p | 533 | drivers/net/ni65.c | memcpy(skb->data,p->recv_skb[p->rmdnum]->data,len); |
p | 537 | drivers/net/ni65.c | skb1 = p->recv_skb[p->rmdnum]; |
p | 538 | drivers/net/ni65.c | p->recv_skb[p->rmdnum] = skb; |
p | 545 | drivers/net/ni65.c | p->stats.rx_packets++; |
p | 552 | drivers/net/ni65.c | p->stats.rx_dropped++; |
p | 555 | drivers/net/ni65.c | p->rmdnum++; p->rmdnum &= RMDNUM-1; |
p | 556 | drivers/net/ni65.c | rmdp = p->rmdhead + p->rmdnum; |
p | 566 | drivers/net/ni65.c | struct priv *p = (struct priv *) dev->priv; |
p | 595 | drivers/net/ni65.c | if(set_bit(0,(void*) &p->lock) != 0) |
p | 604 | drivers/net/ni65.c | tmdp = p->tmdhead + p->tmdnum; |
p | 608 | drivers/net/ni65.c | p->tmdbufs[p->tmdnum] = skb; |
p | 617 | drivers/net/ni65.c | p->xmit_queued = 1; |
p | 619 | drivers/net/ni65.c | p->tmdnum++; p->tmdnum &= TMDNUM-1; |
p | 621 | drivers/net/ni65.c | if( !((p->tmdhead + p->tmdnum)->u.s.status & XMIT_OWN) ) |
p | 623 | drivers/net/ni65.c | p->lock = 0; |
p | 81 | drivers/net/ppp.c | #define PRINTK(p) printk p ; |
p | 82 | drivers/net/ppp.c | #define ASSERT(p) if (!p) PRINTK ((KERN_CRIT "assertion failed: " # p)) |
p | 83 | drivers/net/ppp.c | #define PRINTKN(n,p) {if (ppp_debug >= n) PRINTK (p)} |
p | 91 | drivers/net/ppp.c | #define bset(p,b) ((p)[(b) >> 5] |= (1 << ((b) & 0x1f))) |
p | 1692 | drivers/net/ppp.c | unsigned char *p; |
p | 1705 | drivers/net/ppp.c | p = (unsigned char *) (skb + 1); |
p | 1736 | drivers/net/ppp.c | if (ppp_us_queue (ppp, proto, p, len)) |
p | 1754 | drivers/net/ppp.c | len = slhc_compress(ppp->slcomp, p, len, ppp->cbuff, &p, 0); |
p | 1755 | drivers/net/ppp.c | if (p[0] & SL_TYPE_COMPRESSED_TCP) |
p | 1758 | drivers/net/ppp.c | if (p[0] >= SL_TYPE_UNCOMPRESSED_TCP) { |
p | 1760 | drivers/net/ppp.c | p[0] = (p[0] & 0x0f) | 0x40; |
p | 1799 | drivers/net/ppp.c | ppp_stuff_char(ppp, *p++); |
p | 642 | drivers/net/sk_g16.c | struct priv *p; /* SK_G16 private structure */ |
p | 790 | drivers/net/sk_g16.c | p = dev->priv = (void *) kmalloc(sizeof(struct priv), GFP_KERNEL); |
p | 811 | drivers/net/sk_g16.c | p->ram = (struct SK_ram *) rom_addr; /* Set dual ported RAM addr */ |
p | 812 | drivers/net/sk_g16.c | p->tmdhead = &(p->ram)->tmde[0]; /* Set TMD head */ |
p | 813 | drivers/net/sk_g16.c | p->rmdhead = &(p->ram)->rmde[0]; /* Set RMD head */ |
p | 819 | drivers/net/sk_g16.c | p->tmdbufs[i] = &(p->ram)->tmdbuf[i]; |
p | 824 | drivers/net/sk_g16.c | p->rmdbufs[i] = &(p->ram)->rmdbuf[i]; |
p | 870 | drivers/net/sk_g16.c | struct priv *p = (struct priv *)dev->priv; |
p | 959 | drivers/net/sk_g16.c | (int) dev->irq, (unsigned int) p->ram); |
p | 1030 | drivers/net/sk_g16.c | struct priv *p = (struct priv *) dev->priv; |
p | 1041 | drivers/net/sk_g16.c | p->tmdnum = 0; /* First descriptor for transmitting */ |
p | 1042 | drivers/net/sk_g16.c | p->tmdlast = 0; /* First descriptor for reading stats */ |
p | 1046 | drivers/net/sk_g16.c | tmdp = p->tmdhead + i; |
p | 1048 | drivers/net/sk_g16.c | tmdp->u.buffer = (unsigned long) p->tmdbufs[i]; /* assign buffer */ |
p | 1057 | drivers/net/sk_g16.c | p->rmdnum = 0; /* First RMD which will be used */ |
p | 1061 | drivers/net/sk_g16.c | rmdp = p->rmdhead + i; |
p | 1064 | drivers/net/sk_g16.c | rmdp->u.buffer = (unsigned long) p->rmdbufs[i]; /* assign buffer */ |
p | 1081 | drivers/net/sk_g16.c | (p->ram)->ib.mode = mode; /* Set operation mode */ |
p | 1085 | drivers/net/sk_g16.c | (p->ram)->ib.paddr[i] = dev->dev_addr[i]; |
p | 1090 | drivers/net/sk_g16.c | (p->ram)->ib.laddr[i] = 0; /* We do not use logical addressing */ |
p | 1095 | drivers/net/sk_g16.c | (p->ram)->ib.rdrp = (int) p->rmdhead | RMDNUMMASK; |
p | 1096 | drivers/net/sk_g16.c | (p->ram)->ib.tdrp = (int) p->tmdhead | TMDNUMMASK; |
p | 1149 | drivers/net/sk_g16.c | (unsigned int) &(p->ram)->ib); |
p | 1195 | drivers/net/sk_g16.c | struct priv *p = (struct priv *) dev->priv; |
p | 1252 | drivers/net/sk_g16.c | tmdp = p->tmdhead + p->tmdnum; /* Which descriptor for transmitting */ |
p | 1277 | drivers/net/sk_g16.c | p->tmdnum++; |
p | 1278 | drivers/net/sk_g16.c | p->tmdnum &= TMDNUM-1; |
p | 1281 | drivers/net/sk_g16.c | if (! ((p->tmdhead + p->tmdnum)->u.s.status & TX_OWN) ) |
p | 1316 | drivers/net/sk_g16.c | struct priv *p = (struct priv *) dev->priv; |
p | 1350 | drivers/net/sk_g16.c | p->stats.rx_dropped++; |
p | 1391 | drivers/net/sk_g16.c | struct priv *p = (struct priv *) dev->priv; |
p | 1397 | drivers/net/sk_g16.c | tmdp = p->tmdhead + p->tmdlast; /* Which buffer we sent at last ? */ |
p | 1400 | drivers/net/sk_g16.c | p->tmdlast++; |
p | 1401 | drivers/net/sk_g16.c | p->tmdlast &= TMDNUM-1; |
p | 1420 | drivers/net/sk_g16.c | p->stats.tx_aborted_errors++; |
p | 1422 | drivers/net/sk_g16.c | p->stats.tx_window_errors++; |
p | 1424 | drivers/net/sk_g16.c | p->stats.tx_carrier_errors++; |
p | 1427 | drivers/net/sk_g16.c | p->stats.tx_fifo_errors++; |
p | 1437 | drivers/net/sk_g16.c | p->stats.tx_errors++; |
p | 1455 | drivers/net/sk_g16.c | p->stats.collisions++; |
p | 1459 | drivers/net/sk_g16.c | p->stats.tx_packets++; |
p | 1511 | drivers/net/sk_g16.c | struct priv *p = (struct priv *) dev->priv; |
p | 1516 | drivers/net/sk_g16.c | rmdp = p->rmdhead + p->rmdnum; |
p | 1538 | drivers/net/sk_g16.c | p->stats.rx_errors++; /* bad packet received */ |
p | 1539 | drivers/net/sk_g16.c | p->stats.rx_length_errors++; /* packet to long */ |
p | 1559 | drivers/net/sk_g16.c | p->stats.rx_errors++; |
p | 1561 | drivers/net/sk_g16.c | if (rmdstat & RX_FRAM) p->stats.rx_frame_errors++; |
p | 1562 | drivers/net/sk_g16.c | if (rmdstat & RX_CRC) p->stats.rx_crc_errors++; |
p | 1586 | drivers/net/sk_g16.c | p->stats.rx_dropped++; |
p | 1622 | drivers/net/sk_g16.c | p->stats.rx_packets++; |
p | 1625 | drivers/net/sk_g16.c | p->rmdnum++; |
p | 1626 | drivers/net/sk_g16.c | p->rmdnum %= RMDNUM; |
p | 1628 | drivers/net/sk_g16.c | rmdp = p->rmdhead + p->rmdnum; |
p | 1695 | drivers/net/sk_g16.c | struct priv *p = (struct priv *) dev->priv; |
p | 1700 | drivers/net/sk_g16.c | return &p->stats; /* Return Device status */ |
p | 2084 | drivers/net/sk_g16.c | struct priv *p = (struct priv *) dev->priv; |
p | 2089 | drivers/net/sk_g16.c | (unsigned int) p->ram, |
p | 2090 | drivers/net/sk_g16.c | (unsigned int) p->tmdhead, |
p | 2091 | drivers/net/sk_g16.c | (unsigned int) p->rmdhead, |
p | 2092 | drivers/net/sk_g16.c | (unsigned int) &(p->ram)->ib); |
p | 2102 | drivers/net/sk_g16.c | printk("tmdbufs%d: %#08x ", (i+1), (int) p->tmdbufs[i]); |
p | 2112 | drivers/net/sk_g16.c | printk("rmdbufs%d: %#08x ", (i+1), (int) p->rmdbufs[i]); |
p | 91 | drivers/net/slip.c | static int slip_esc(unsigned char *p, unsigned char *d, int len); |
p | 94 | drivers/net/slip.c | static int slip_esc6(unsigned char *p, unsigned char *d, int len); |
p | 332 | drivers/net/slip.c | unsigned char *p; |
p | 352 | drivers/net/slip.c | p = icp; |
p | 355 | drivers/net/slip.c | len = slhc_compress(sl->slcomp, p, len, sl->cbuff, &p, 1); |
p | 360 | drivers/net/slip.c | count = slip_esc6(p, (unsigned char *) sl->xbuff, len); |
p | 363 | drivers/net/slip.c | count = slip_esc(p, (unsigned char *) sl->xbuff, len); |
p | 2030 | drivers/net/wavelan.c | wavelan_cu_show_one(device *dev, net_local *lp, int i, unsigned short p) |
p | 2037 | drivers/net/wavelan.c | printk("%d: 0x%x:", i, p); |
p | 2039 | drivers/net/wavelan.c | obram_read(ioaddr, p, (unsigned char *)&actx, sizeof(actx)); |
p | 2058 | drivers/net/wavelan.c | wavelan_psa_show(psa_t *p) |
p | 2062 | drivers/net/wavelan.c | printk("psa_io_base_addr_1: 0x%02x,", p->psa_io_base_addr_1); |
p | 2063 | drivers/net/wavelan.c | printk("psa_io_base_addr_2: 0x%02x,", p->psa_io_base_addr_2); |
p | 2064 | drivers/net/wavelan.c | printk("psa_io_base_addr_3: 0x%02x,", p->psa_io_base_addr_3); |
p | 2065 | drivers/net/wavelan.c | printk("psa_io_base_addr_4: 0x%02x,", p->psa_io_base_addr_4); |
p | 2066 | drivers/net/wavelan.c | printk("psa_rem_boot_addr_1: 0x%02x,", p->psa_rem_boot_addr_1); |
p | 2067 | drivers/net/wavelan.c | printk("psa_rem_boot_addr_2: 0x%02x,", p->psa_rem_boot_addr_2); |
p | 2068 | drivers/net/wavelan.c | printk("psa_rem_boot_addr_3: 0x%02x,", p->psa_rem_boot_addr_3); |
p | 2069 | drivers/net/wavelan.c | printk("psa_holi_params: 0x%02x,", p->psa_holi_params); |
p | 2070 | drivers/net/wavelan.c | printk("psa_int_req_no: %d,", p->psa_int_req_no); |
p | 2074 | drivers/net/wavelan.c | p->psa_univ_mac_addr[0], |
p | 2075 | drivers/net/wavelan.c | p->psa_univ_mac_addr[1], |
p | 2076 | drivers/net/wavelan.c | p->psa_univ_mac_addr[2], |
p | 2077 | drivers/net/wavelan.c | p->psa_univ_mac_addr[3], |
p | 2078 | drivers/net/wavelan.c | p->psa_univ_mac_addr[4], |
p | 2079 | drivers/net/wavelan.c | p->psa_univ_mac_addr[5] |
p | 2084 | drivers/net/wavelan.c | p->psa_local_mac_addr[0], |
p | 2085 | drivers/net/wavelan.c | p->psa_local_mac_addr[1], |
p | 2086 | drivers/net/wavelan.c | p->psa_local_mac_addr[2], |
p | 2087 | drivers/net/wavelan.c | p->psa_local_mac_addr[3], |
p | 2088 | drivers/net/wavelan.c | p->psa_local_mac_addr[4], |
p | 2089 | drivers/net/wavelan.c | p->psa_local_mac_addr[5] |
p | 2091 | drivers/net/wavelan.c | printk("psa_univ_local_sel: %d,", p->psa_univ_local_sel); |
p | 2092 | drivers/net/wavelan.c | printk("psa_comp_number: %d,", p->psa_comp_number); |
p | 2093 | drivers/net/wavelan.c | printk("psa_thr_pre_set: 0x%02x,", p->psa_thr_pre_set); |
p | 2094 | drivers/net/wavelan.c | printk("psa_feature_select/decay_prm: 0x%02x,", p->psa_feature_select); |
p | 2095 | drivers/net/wavelan.c | printk("psa_subband/decay_update_prm: %d,", p->psa_subband); |
p | 2096 | drivers/net/wavelan.c | printk("psa_quality_thr: 0x%02x,", p->psa_quality_thr); |
p | 2097 | drivers/net/wavelan.c | printk("psa_mod_delay: 0x%02x,", p->psa_mod_delay); |
p | 2098 | drivers/net/wavelan.c | printk("psa_nwid: 0x%02x%02x,", p->psa_nwid[0], p->psa_nwid[1]); |
p | 2099 | drivers/net/wavelan.c | printk("psa_undefined: %d,", p->psa_undefined); |
p | 2100 | drivers/net/wavelan.c | printk("psa_encryption_select: %d,", p->psa_encryption_select); |
p | 2104 | drivers/net/wavelan.c | p->psa_encryption_key[0], |
p | 2105 | drivers/net/wavelan.c | p->psa_encryption_key[1], |
p | 2106 | drivers/net/wavelan.c | p->psa_encryption_key[2], |
p | 2107 | drivers/net/wavelan.c | p->psa_encryption_key[3], |
p | 2108 | drivers/net/wavelan.c | p->psa_encryption_key[4], |
p | 2109 | drivers/net/wavelan.c | p->psa_encryption_key[5], |
p | 2110 | drivers/net/wavelan.c | p->psa_encryption_key[6], |
p | 2111 | drivers/net/wavelan.c | p->psa_encryption_key[7] |
p | 2113 | drivers/net/wavelan.c | printk("psa_databus_width: %d,", p->psa_databus_width); |
p | 2114 | drivers/net/wavelan.c | printk("psa_call_code/auto_squelch: 0x%02x,", p->psa_call_code); |
p | 2115 | drivers/net/wavelan.c | printk("psa_no_of_retries: %d,", p->psa_no_of_retries); |
p | 2116 | drivers/net/wavelan.c | printk("psa_acr: %d,", p->psa_acr); |
p | 2117 | drivers/net/wavelan.c | printk("psa_dump_count: %d,", p->psa_dump_count); |
p | 2118 | drivers/net/wavelan.c | printk("psa_nwid_prefix: 0x%02x,", p->psa_nwid_prefix); |
p | 2119 | drivers/net/wavelan.c | printk("psa_conf_status: %d,", p->psa_conf_status); |
p | 2120 | drivers/net/wavelan.c | printk("psa_crc: 0x%02x%02x,", p->psa_crc[0], p->psa_crc[1]); |
p | 2121 | drivers/net/wavelan.c | printk("psa_crc_status: 0x%02x,", p->psa_crc_status); |
p | 2260 | drivers/net/wavelan.c | unsigned short p; |
p | 2267 | drivers/net/wavelan.c | for (i = 0, p = lp->tx_first_in_use; i < NTXBLOCKS; i++) |
p | 2269 | drivers/net/wavelan.c | wavelan_cu_show_one(dev, lp, i, p); |
p | 2271 | drivers/net/wavelan.c | p += TXBLOCKZ; |
p | 2272 | drivers/net/wavelan.c | if (p >= OFFSET_CU + NTXBLOCKS * TXBLOCKZ) |
p | 2273 | drivers/net/wavelan.c | p -= NTXBLOCKS * TXBLOCKZ; |
p | 116 | drivers/net/wavelan.h | #define mmwoff(p,f) (unsigned short)((void *)(&((mmw_t *)((void *)0 + (p)))->f) - (void *)0) |
p | 157 | drivers/net/wavelan.h | #define mmroff(p,f) (unsigned short)((void *)(&((mmr_t *)((void *)0 + (p)))->f) - (void *)0) |
p | 202 | drivers/net/wavelan.h | #define hoff(p,f) (unsigned short)((void *)(&((ha_t *)((void *)0 + (p)))->f) - (void *)0) |
p | 203 | drivers/net/wavelan.h | #define HACR(p) hoff(p, ha_command) |
p | 204 | drivers/net/wavelan.h | #define HASR(p) hoff(p, ha_status) |
p | 205 | drivers/net/wavelan.h | #define MMCR(p) hoff(p, ha_mmcr) |
p | 206 | drivers/net/wavelan.h | #define PIOR0(p) hoff(p, ha_pior0) |
p | 207 | drivers/net/wavelan.h | #define PIOP0(p) hoff(p, ha_piop0) |
p | 208 | drivers/net/wavelan.h | #define PIOR1(p) hoff(p, ha_pior1) |
p | 209 | drivers/net/wavelan.h | #define PIOP1(p) hoff(p, ha_piop1) |
p | 210 | drivers/net/wavelan.h | #define PIOR2(p) hoff(p, ha_pior2) |
p | 211 | drivers/net/wavelan.h | #define PIOP2(p) hoff(p, ha_piop2) |
p | 206 | drivers/net/znet.c | char *p; |
p | 209 | drivers/net/znet.c | for(p = (char *)0xf0000; p < (char *)0x100000; p++) |
p | 210 | drivers/net/znet.c | if (*p == 'N' && strncmp(p, "NETIDBLK", 8) == 0) |
p | 213 | drivers/net/znet.c | if (p >= (char *)0x100000) { |
p | 218 | drivers/net/znet.c | netinfo = (struct netidblk *)p; |
p | 1467 | drivers/scsi/NCR5380.c | register unsigned char p = *phase, tmp; |
p | 1478 | drivers/scsi/NCR5380.c | NCR5380_write(TARGET_COMMAND_REG, PHASE_SR_TO_TCR(p)); |
p | 1492 | drivers/scsi/NCR5380.c | if ((tmp & PHASE_MASK) != p) { |
p | 1501 | drivers/scsi/NCR5380.c | if (!(p & SR_IO)) |
p | 1515 | drivers/scsi/NCR5380.c | if (!(p & SR_IO)) { |
p | 1516 | drivers/scsi/NCR5380.c | if (!((p & SR_MSG) && c > 1)) { |
p | 1557 | drivers/scsi/NCR5380.c | if (!(p == PHASE_MSGIN && c == 1)) { |
p | 1558 | drivers/scsi/NCR5380.c | if (p == PHASE_MSGOUT && c > 1) |
p | 1577 | drivers/scsi/NCR5380.c | if (!c || (*phase == p)) |
p | 1608 | drivers/scsi/NCR5380.c | register unsigned char p = *phase; |
p | 1622 | drivers/scsi/NCR5380.c | if ((tmp = (NCR5380_read(STATUS_REG) & PHASE_MASK)) != p) { |
p | 1628 | drivers/scsi/NCR5380.c | if (p & SR_IO) { |
p | 1634 | drivers/scsi/NCR5380.c | instance->host_no, instance->dma_channel, (p & SR_IO) ? "reading" : |
p | 1635 | drivers/scsi/NCR5380.c | "writing", c, (p & SR_IO) ? "to" : "from", (unsigned) d); |
p | 1637 | drivers/scsi/NCR5380.c | hostdata->dma_len = (p & SR_IO) ? |
p | 1642 | drivers/scsi/NCR5380.c | NCR5380_write(TARGET_COMMAND_REG, PHASE_SR_TO_TCR(p)); |
p | 1674 | drivers/scsi/NCR5380.c | if (p & SR_IO) { |
p | 1735 | drivers/scsi/NCR5380.c | if (p & SR_IO) { |
p | 1769 | drivers/scsi/NCR5380.c | if (*phase == p && (p & SR_IO) && residue == 0) { |
p | 1799 | drivers/scsi/NCR5380.c | if (p & SR_IO) { |
p | 94 | drivers/scsi/aha1542.h | #define any2scsi(up, p) \ |
p | 95 | drivers/scsi/aha1542.h | (up)[0] = (((unsigned long)(p)) >> 16) ; \ |
p | 96 | drivers/scsi/aha1542.h | (up)[1] = (((unsigned long)(p)) >> 8); \ |
p | 97 | drivers/scsi/aha1542.h | (up)[2] = ((unsigned long)(p)); |
p | 101 | drivers/scsi/aha1542.h | #define xany2scsi(up, p) \ |
p | 102 | drivers/scsi/aha1542.h | (up)[0] = ((long)(p)) >> 24; \ |
p | 103 | drivers/scsi/aha1542.h | (up)[1] = ((long)(p)) >> 16; \ |
p | 104 | drivers/scsi/aha1542.h | (up)[2] = ((long)(p)) >> 8; \ |
p | 105 | drivers/scsi/aha1542.h | (up)[3] = ((long)(p)); |
p | 89 | drivers/scsi/aha1740.h | #define any2scsi(up, p) \ |
p | 90 | drivers/scsi/aha1740.h | (up)[0] = (((unsigned long)(p)) >> 16) ; \ |
p | 91 | drivers/scsi/aha1740.h | (up)[1] = (((unsigned long)(p)) >> 8); \ |
p | 92 | drivers/scsi/aha1740.h | (up)[2] = ((unsigned long)(p)); |
p | 96 | drivers/scsi/aha1740.h | #define xany2scsi(up, p) \ |
p | 97 | drivers/scsi/aha1740.h | (up)[0] = ((long)(p)) >> 24; \ |
p | 98 | drivers/scsi/aha1740.h | (up)[1] = ((long)(p)) >> 16; \ |
p | 99 | drivers/scsi/aha1740.h | (up)[2] = ((long)(p)) >> 8; \ |
p | 100 | drivers/scsi/aha1740.h | (up)[3] = ((long)(p)); |
p | 319 | drivers/scsi/aha274x.c | char *p; |
p | 329 | drivers/scsi/aha274x.c | for (p = strtok(s, ","); p; p = strtok(NULL, ",")) { |
p | 331 | drivers/scsi/aha274x.c | if (!strcmp(options[i].name, p)) |
p | 427 | drivers/scsi/aha274x.c | #define PAUSE_SEQUENCER(p) \ |
p | 429 | drivers/scsi/aha274x.c | outb(0xe, O_HCNTRL(p->base)); /* IRQMS|PAUSE|INTEN */ \ |
p | 431 | drivers/scsi/aha274x.c | while ((inb(O_HCNTRL(p->base)) & 0x4) == 0) \ |
p | 439 | drivers/scsi/aha274x.c | #define UNPAUSE_SEQUENCER(p) \ |
p | 440 | drivers/scsi/aha274x.c | outb(p->unpause, O_HCNTRL(p->base)) /* IRQMS|INTEN */ |
p | 445 | drivers/scsi/aha274x.c | #define RESTART_SEQUENCER(p) \ |
p | 448 | drivers/scsi/aha274x.c | outb(0x2, O_SEQCTL(p->base)); \ |
p | 449 | drivers/scsi/aha274x.c | } while (inw(O_SEQADDR(p->base)) != 0); \ |
p | 451 | drivers/scsi/aha274x.c | UNPAUSE_SEQUENCER(p); \ |
p | 462 | drivers/scsi/aha274x.c | struct aha274x_host *p; |
p | 464 | drivers/scsi/aha274x.c | p = (struct aha274x_host *)aha274x_boards[irq]->hostdata; |
p | 465 | drivers/scsi/aha274x.c | base = p->base; |
p | 473 | drivers/scsi/aha274x.c | if (p->startup) { |
p | 474 | drivers/scsi/aha274x.c | p->unpause ^= 0x8; |
p | 475 | drivers/scsi/aha274x.c | outb(inb(O_HCNTRL(p->base)) ^ 0x8, O_HCNTRL(p->base)); |
p | 497 | drivers/scsi/aha274x.c | cmd = (Scsi_Cmnd *)p->SCB_array[scbptr]; |
p | 506 | drivers/scsi/aha274x.c | UNPAUSE_SEQUENCER(p); |
p | 510 | drivers/scsi/aha274x.c | p->SCB_array[scbptr] = NULL; |
p | 549 | drivers/scsi/aha274x.c | RESTART_SEQUENCER(p); |
p | 569 | drivers/scsi/aha274x.c | UNPAUSE_SEQUENCER(p); |
p | 581 | drivers/scsi/aha274x.c | UNPAUSE_SEQUENCER(p); |
p | 601 | drivers/scsi/aha274x.c | cmd = (Scsi_Cmnd *)p->SCB_array[complete]; |
p | 607 | drivers/scsi/aha274x.c | p->SCB_array[complete] = NULL; |
p | 609 | drivers/scsi/aha274x.c | PAUSE_SEQUENCER(p); |
p | 627 | drivers/scsi/aha274x.c | UNPAUSE_SEQUENCER(p); |
p | 680 | drivers/scsi/aha274x.c | PAUSE_SEQUENCER(p); |
p | 714 | drivers/scsi/aha274x.c | UNPAUSE_SEQUENCER(p); |
p | 864 | drivers/scsi/aha274x.c | struct aha274x_host *p; |
p | 941 | drivers/scsi/aha274x.c | p = (struct aha274x_host *)host->hostdata; |
p | 943 | drivers/scsi/aha274x.c | p->SCB_array[i] = NULL; |
p | 944 | drivers/scsi/aha274x.c | p->base = base; |
p | 954 | drivers/scsi/aha274x.c | p->unpause = (type != T_274X ? 0x2 : 0xa); |
p | 955 | drivers/scsi/aha274x.c | p->startup = !0; |
p | 1002 | drivers/scsi/aha274x.c | UNPAUSE_SEQUENCER(p); |
p | 1059 | drivers/scsi/aha274x.c | void aha274x_buildscb(struct aha274x_host *p, |
p | 1152 | drivers/scsi/aha274x.c | struct aha274x_host *p; |
p | 1163 | drivers/scsi/aha274x.c | p = (struct aha274x_host *)cmd->host->hostdata; |
p | 1169 | drivers/scsi/aha274x.c | aha274x_buildscb(p, cmd, &scb); |
p | 1175 | drivers/scsi/aha274x.c | p->startup = 0; |
p | 1193 | drivers/scsi/aha274x.c | if (!p->SCB_array[empty]) |
p | 1204 | drivers/scsi/aha274x.c | PAUSE_SEQUENCER(p); |
p | 1212 | drivers/scsi/aha274x.c | old_scbptr = inb(O_SCBPTR(p->base)); |
p | 1213 | drivers/scsi/aha274x.c | outb(empty, O_SCBPTR(p->base)); |
p | 1215 | drivers/scsi/aha274x.c | aha274x_putscb(p->base, &scb); |
p | 1217 | drivers/scsi/aha274x.c | outb(empty, O_QINFIFO(p->base)); |
p | 1218 | drivers/scsi/aha274x.c | outb(old_scbptr, O_SCBPTR(p->base)); |
p | 1227 | drivers/scsi/aha274x.c | p->SCB_array[empty] = cmd; |
p | 1230 | drivers/scsi/aha274x.c | UNPAUSE_SEQUENCER(p); |
p | 1266 | drivers/scsi/aha274x.c | struct aha274x_host *p; |
p | 1270 | drivers/scsi/aha274x.c | p = (struct aha274x_host *)cmd->host->hostdata; |
p | 1277 | drivers/scsi/aha274x.c | if (p->SCB_array[scb] == cmd) |
p | 1283 | drivers/scsi/aha274x.c | PAUSE_SEQUENCER(p); |
p | 1290 | drivers/scsi/aha274x.c | queued = inb(O_QINCNT(p->base)); |
p | 1293 | drivers/scsi/aha274x.c | scbsave[i] = inb(O_QINFIFO(p->base)); |
p | 1303 | drivers/scsi/aha274x.c | outb(scbsave[i], O_QINFIFO(p->base)); |
p | 1315 | drivers/scsi/aha274x.c | if (inb(O_SCBPTR(p->base)) != scb) { |
p | 1317 | drivers/scsi/aha274x.c | UNPAUSE_SEQUENCER(p); |
p | 1327 | drivers/scsi/aha274x.c | if (inb(HA_MSG_FLAGS(p->base)) & 0x80) { |
p | 1329 | drivers/scsi/aha274x.c | UNPAUSE_SEQUENCER(p); |
p | 1333 | drivers/scsi/aha274x.c | outb(0x80, HA_MSG_FLAGS(p->base)); /* active message */ |
p | 1334 | drivers/scsi/aha274x.c | outb(1, HA_MSG_LEN(p->base)); /* length = 1 */ |
p | 1335 | drivers/scsi/aha274x.c | outb(message, HA_MSG_START(p->base)); /* message body */ |
p | 1342 | drivers/scsi/aha274x.c | outb(inb(HA_SIGSTATE(p->base)) | 0x10, O_SCSISIGO(p->base)); |
p | 1349 | drivers/scsi/aha274x.c | p->SCB_array[scb] = NULL; |
p | 1351 | drivers/scsi/aha274x.c | UNPAUSE_SEQUENCER(p); |
p | 1391 | drivers/scsi/aha274x.c | struct aha274x_host *p; |
p | 1393 | drivers/scsi/aha274x.c | p = (struct aha274x_host *)cmd->host->hostdata; |
p | 1406 | drivers/scsi/aha274x.c | outb((1 << cmd->target), HA_NEEDSDTR(p->base)); |
p | 1407 | drivers/scsi/aha274x.c | UNPAUSE_SEQUENCER(p); |
p | 1415 | drivers/scsi/aha274x.c | PAUSE_SEQUENCER(p); |
p | 1434 | drivers/scsi/aha274x.c | outb(1, O_SCSISEQ(p->base)); /* SCSIRSTO */ |
p | 1436 | drivers/scsi/aha274x.c | outb(0, O_SCSISEQ(p->base)); /* !SCSIRSTO */ |
p | 1438 | drivers/scsi/aha274x.c | outb(0xff, HA_NEEDSDTR(p->base)); |
p | 1439 | drivers/scsi/aha274x.c | UNPAUSE_SEQUENCER(p); |
p | 1447 | drivers/scsi/aha274x.c | if (cmd == p->SCB_array[i]) { |
p | 1448 | drivers/scsi/aha274x.c | reset = (Scsi_Cmnd *)p->SCB_array[i]; |
p | 1449 | drivers/scsi/aha274x.c | p->SCB_array[i] = NULL; |
p | 71 | drivers/scsi/aic7770.c | void *p = malloc(size); |
p | 72 | drivers/scsi/aic7770.c | if (!p) |
p | 74 | drivers/scsi/aic7770.c | return(p); |
p | 79 | drivers/scsi/aic7770.c | void *p = realloc(ptr, size); |
p | 80 | drivers/scsi/aic7770.c | if (!p) |
p | 82 | drivers/scsi/aic7770.c | return(p); |
p | 87 | drivers/scsi/aic7770.c | char *p = (char *)Malloc(strlen(s) + 1); |
p | 88 | drivers/scsi/aic7770.c | strcpy(p, s); |
p | 89 | drivers/scsi/aic7770.c | return(p); |
p | 103 | drivers/scsi/aic7770.c | sym_t *p, *q; |
p | 105 | drivers/scsi/aic7770.c | for (p = head, q = (sym_t *)&head; p; p = p->next) { |
p | 106 | drivers/scsi/aic7770.c | if (!strcmp(p->name, name)) |
p | 108 | drivers/scsi/aic7770.c | q = p; |
p | 111 | drivers/scsi/aic7770.c | p = q->next = (sym_t *)Malloc(sizeof(sym_t)); |
p | 112 | drivers/scsi/aic7770.c | p->next = NULL; |
p | 113 | drivers/scsi/aic7770.c | p->name = Strdup(name); |
p | 114 | drivers/scsi/aic7770.c | p->value = value; |
p | 115 | drivers/scsi/aic7770.c | p->npatch = 0; |
p | 116 | drivers/scsi/aic7770.c | p->patch = NULL; |
p | 119 | drivers/scsi/aic7770.c | fprintf(stderr, "\"%s\" ", p->name); |
p | 120 | drivers/scsi/aic7770.c | if (p->value != NOVALUE) |
p | 121 | drivers/scsi/aic7770.c | fprintf(stderr, "defined as 0x%x\n", p->value); |
p | 129 | drivers/scsi/aic7770.c | sym_t *p; |
p | 131 | drivers/scsi/aic7770.c | for (p = head; p; p = p->next) |
p | 132 | drivers/scsi/aic7770.c | if (!strcmp(p->name, name)) |
p | 133 | drivers/scsi/aic7770.c | return(p); |
p | 137 | drivers/scsi/aic7770.c | void patch(sym_t *p, int location) |
p | 139 | drivers/scsi/aic7770.c | p->npatch += 1; |
p | 140 | drivers/scsi/aic7770.c | p->patch = (int *)Realloc(p->patch, p->npatch * sizeof(int *)); |
p | 142 | drivers/scsi/aic7770.c | p->patch[p->npatch - 1] = location; |
p | 148 | drivers/scsi/aic7770.c | sym_t *p; |
p | 150 | drivers/scsi/aic7770.c | for (p = head; p; p = p->next) { |
p | 152 | drivers/scsi/aic7770.c | if (p->value == NOVALUE) { |
p | 155 | drivers/scsi/aic7770.c | filename, p->name); |
p | 159 | drivers/scsi/aic7770.c | if (p->npatch) { |
p | 163 | drivers/scsi/aic7770.c | p->name, p->value); |
p | 165 | drivers/scsi/aic7770.c | for (i = 0; i < p->npatch; i++) { |
p | 166 | drivers/scsi/aic7770.c | M[p->patch[i]][0] &= ~1; |
p | 167 | drivers/scsi/aic7770.c | M[p->patch[i]][0] |= ((p->value >> 8) & 1); |
p | 168 | drivers/scsi/aic7770.c | M[p->patch[i]][1] = p->value & 0xff; |
p | 171 | drivers/scsi/aic7770.c | fprintf(stderr, " 0x%x", p->patch[i]); |
p | 199 | drivers/scsi/aic7770.c | char *p; |
p | 212 | drivers/scsi/aic7770.c | p = strchr(buf, '#'); |
p | 213 | drivers/scsi/aic7770.c | if (p) |
p | 214 | drivers/scsi/aic7770.c | *p = '\0'; |
p | 216 | drivers/scsi/aic7770.c | for (p = strtok(buf, ", \t\n"); p; p = strtok(NULL, ", \t\n")) |
p | 218 | drivers/scsi/aic7770.c | a[i++] = p; |
p | 338 | drivers/scsi/aic7770.c | sym_t *p; |
p | 352 | drivers/scsi/aic7770.c | p = lookup(a[spec &~ (SL|SR|RL|RR)]); |
p | 353 | drivers/scsi/aic7770.c | if (!p) |
p | 355 | drivers/scsi/aic7770.c | val = p->value; |
p | 396 | drivers/scsi/aic7770.c | p = lookup(a[spec]); |
p | 397 | drivers/scsi/aic7770.c | if (p) |
p | 398 | drivers/scsi/aic7770.c | return(p->value); |
p | 407 | drivers/scsi/aic7770.c | sym_t *p; |
p | 414 | drivers/scsi/aic7770.c | p = lookup(a[spec]); |
p | 416 | drivers/scsi/aic7770.c | if (p) { |
p | 417 | drivers/scsi/aic7770.c | if (p->value != NOVALUE) |
p | 418 | drivers/scsi/aic7770.c | return(p->value); |
p | 419 | drivers/scsi/aic7770.c | patch(p, LC); |
p | 422 | drivers/scsi/aic7770.c | p = lookup(a[spec]); |
p | 423 | drivers/scsi/aic7770.c | patch(p, LC); |
p | 497 | drivers/scsi/aic7770.c | sym_t *p; |
p | 503 | drivers/scsi/aic7770.c | p = lookup(*a); |
p | 504 | drivers/scsi/aic7770.c | if (p) |
p | 505 | drivers/scsi/aic7770.c | p->value = LC; |
p | 344 | drivers/scsi/eata.c | ushort *p; |
p | 346 | drivers/scsi/eata.c | for (p = start; p <= end; p++) { |
p | 352 | drivers/scsi/eata.c | *p = inw(iobase); |
p | 633 | drivers/scsi/eata_dma.c | ushort *p; |
p | 648 | drivers/scsi/eata_dma.c | for (p = (ushort *) buf; |
p | 649 | drivers/scsi/eata_dma.c | (long)p <= ((long)buf + (sizeof(struct get_conf)/ 2)); p++) { |
p | 654 | drivers/scsi/eata_dma.c | *p = inw((uint) base + HA_RDATA); |
p | 881 | drivers/scsi/eata_dma.c | unsigned char pal1, pal2, pal3, *p; |
p | 889 | drivers/scsi/eata_dma.c | p = (char *)base; |
p | 890 | drivers/scsi/eata_dma.c | pal1 = *(p - 8); |
p | 891 | drivers/scsi/eata_dma.c | pal2 = *(p - 7); |
p | 892 | drivers/scsi/eata_dma.c | pal3 = *(p - 6); |
p | 75 | drivers/scsi/in2000.h | #define any2scsi(up, p) \ |
p | 76 | drivers/scsi/in2000.h | (up)[0] = (((unsigned long)(p)) >> 16); \ |
p | 77 | drivers/scsi/in2000.h | (up)[1] = (((unsigned long)(p)) >> 8); \ |
p | 78 | drivers/scsi/in2000.h | (up)[2] = ((unsigned long)(p)); |
p | 84 | drivers/scsi/in2000.h | #define xany2scsi(up, p) \ |
p | 85 | drivers/scsi/in2000.h | (up)[0] = ((long)(p)) >> 24; \ |
p | 86 | drivers/scsi/in2000.h | (up)[1] = ((long)(p)) >> 16; \ |
p | 87 | drivers/scsi/in2000.h | (up)[2] = ((long)(p)) >> 8; \ |
p | 88 | drivers/scsi/in2000.h | (up)[3] = ((long)(p)); |
p | 158 | drivers/scsi/scsi_debug.c | struct partition * p; |
p | 276 | drivers/scsi/scsi_debug.c | p = (struct partition* ) (buff + 0x1be); |
p | 279 | drivers/scsi/scsi_debug.c | p->start_sect = starts[npart]; |
p | 280 | drivers/scsi/scsi_debug.c | p->nr_sects = starts[npart+1] - starts [npart]; |
p | 281 | drivers/scsi/scsi_debug.c | p->sys_ind = 0x81; /* Linux partition */ |
p | 282 | drivers/scsi/scsi_debug.c | p++; |
p | 78 | drivers/scsi/scsicam.c | struct partition *p, *largest = NULL; |
p | 85 | drivers/scsi/scsicam.c | for (largest_cyl = -1, p = (struct partition *) |
p | 86 | drivers/scsi/scsicam.c | (0x1BE + bh->b_data), i = 0; i < 4; ++i, ++p) { |
p | 87 | drivers/scsi/scsicam.c | if (!p->sys_ind) |
p | 93 | drivers/scsi/scsicam.c | cyl = p->cyl + ((p->sector & 0xc0) << 2); |
p | 96 | drivers/scsi/scsicam.c | largest = p; |
p | 851 | drivers/scsi/ultrastor.c | unsigned char p = inb(port0 + i); |
p | 852 | drivers/scsi/ultrastor.c | out[28 + i * 3] = "0123456789abcdef"[p >> 4]; |
p | 853 | drivers/scsi/ultrastor.c | out[29 + i * 3] = "0123456789abcdef"[p & 15]; |
p | 518 | drivers/scsi/wd7000.c | #define any2scsi(up, p) \ |
p | 519 | drivers/scsi/wd7000.c | (up)[0] = (((unsigned long)(p)) >> 16); \ |
p | 520 | drivers/scsi/wd7000.c | (up)[1] = ((unsigned long)(p)) >> 8; \ |
p | 521 | drivers/scsi/wd7000.c | (up)[2] = ((unsigned long)(p)); |
p | 597 | drivers/scsi/wd7000.c | register Scb *scb, *p; |
p | 634 | drivers/scsi/wd7000.c | for (i = 0; i < needed; i++) { p = scbfree; scbfree = p->next; } |
p | 635 | drivers/scsi/wd7000.c | p->next = NULL; |
p | 168 | drivers/sound/audio.c | int c, p, l; |
p | 173 | drivers/sound/audio.c | p = 0; |
p | 221 | drivers/sound/audio.c | COPY_FROM_USER (&wr_dma_buf[dev][wr_buff_ptr[dev]], buf, p, l); |
p | 225 | drivers/sound/audio.c | wr_dma_buf[dev], wr_buff_ptr[dev], buf, p, l); |
p | 244 | drivers/sound/audio.c | p += l; |
p | 265 | drivers/sound/audio.c | int c, p, l; |
p | 270 | drivers/sound/audio.c | p = 0; |
p | 309 | drivers/sound/audio.c | COPY_TO_USER (buf, p, dmabuf, l); |
p | 313 | drivers/sound/audio.c | p += l; |
p | 57 | drivers/sound/dmabuf.c | unsigned i, p, n; |
p | 126 | drivers/sound/dmabuf.c | p = 0; |
p | 128 | drivers/sound/dmabuf.c | while ((p + bsz) <= dsp_dev->buffsize && |
p | 132 | drivers/sound/dmabuf.c | dmap->buf[n] = dmap->raw_buf[i] + p; |
p | 133 | drivers/sound/dmabuf.c | dmap->buf_phys[n] = dmap->raw_buf_phys[i] + p; |
p | 134 | drivers/sound/dmabuf.c | p += bsz; |
p | 373 | drivers/sound/dmabuf.c | int p = dmap->counts[dmap->qhead] + c; |
p | 375 | drivers/sound/dmabuf.c | if (p >= dmap->fragment_size) |
p | 385 | drivers/sound/dmabuf.c | dmap->counts[dmap->qhead] = p; |
p | 2606 | drivers/sound/gus_wave.c | int i, p; |
p | 2608 | drivers/sound/gus_wave.c | p = alloc->ptr; |
p | 2615 | drivers/sound/gus_wave.c | if (alloc->map[p] == 0) |
p | 2617 | drivers/sound/gus_wave.c | alloc->ptr = p; |
p | 2618 | drivers/sound/gus_wave.c | return p; |
p | 2620 | drivers/sound/gus_wave.c | p = (p + 1) % alloc->max_voice; |
p | 2629 | drivers/sound/gus_wave.c | if (alloc->map[p] == 0xffff) |
p | 2631 | drivers/sound/gus_wave.c | alloc->ptr = p; |
p | 2632 | drivers/sound/gus_wave.c | return p; |
p | 2634 | drivers/sound/gus_wave.c | p = (p + 1) % alloc->max_voice; |
p | 2638 | drivers/sound/gus_wave.c | alloc->ptr = p; |
p | 2639 | drivers/sound/gus_wave.c | return p; |
p | 1079 | drivers/sound/opl3.c | int i, p, avail_voices; |
p | 1100 | drivers/sound/opl3.c | p = 0; |
p | 1106 | drivers/sound/opl3.c | p = 6; |
p | 1108 | drivers/sound/opl3.c | p = 0; |
p | 1118 | drivers/sound/opl3.c | if (alloc->map[p] == 0) |
p | 1120 | drivers/sound/opl3.c | return p; |
p | 1122 | drivers/sound/opl3.c | p = (p + 1) % nr_voices; |
p | 812 | drivers/sound/pss.c | int c, p; |
p | 819 | drivers/sound/pss.c | p = 0; |
p | 100 | drivers/sound/sequencer.c | int c = count, p = 0; |
p | 128 | drivers/sound/sequencer.c | COPY_TO_USER (buf, p, &iqueue[iqhead * IEV_SZ], ev_len); |
p | 129 | drivers/sound/sequencer.c | p += ev_len; |
p | 234 | drivers/sound/sequencer.c | int p = 0, c, ev_size; |
p | 254 | drivers/sound/sequencer.c | COPY_FROM_USER (event, buf, p, 4); |
p | 268 | drivers/sound/sequencer.c | err = synth_devs[dev]->load_patch (dev, *(short *) &event[0], buf, p + 4, c, 0); |
p | 292 | drivers/sound/sequencer.c | COPY_FROM_USER (&event[4], buf, p + 4, 4); |
p | 342 | drivers/sound/sequencer.c | p += ev_size; |
p | 81 | fs/binfmt_elf.c | unsigned long * create_elf_tables(char * p,int argc,int envc,struct elfhdr * exec, unsigned int load_addr, int ibcs) |
p | 90 | fs/binfmt_elf.c | mpnt->vm_start = PAGE_MASK & (unsigned long) p; |
p | 110 | fs/binfmt_elf.c | sp = (unsigned long *) (0xfffffffc & (unsigned long) p); |
p | 139 | fs/binfmt_elf.c | current->mm->arg_start = (unsigned long) p; |
p | 141 | fs/binfmt_elf.c | put_fs_long((unsigned long) p,argv++); |
p | 142 | fs/binfmt_elf.c | while (get_fs_byte(p++)) /* nothing */ ; |
p | 145 | fs/binfmt_elf.c | current->mm->arg_end = current->mm->env_start = (unsigned long) p; |
p | 147 | fs/binfmt_elf.c | put_fs_long((unsigned long) p,envp++); |
p | 148 | fs/binfmt_elf.c | while (get_fs_byte(p++)) /* nothing */ ; |
p | 151 | fs/binfmt_elf.c | current->mm->env_end = (unsigned long) p; |
p | 465 | fs/binfmt_elf.c | bprm->p = copy_strings(1,&passed_p,bprm->page,bprm->p,2); |
p | 469 | fs/binfmt_elf.c | if (!bprm->p) { |
p | 491 | fs/binfmt_elf.c | bprm->p += setup_arg_pages(0, bprm->page); |
p | 492 | fs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
p | 582 | fs/binfmt_elf.c | current->start_stack = p = elf_stack - 4; |
p | 584 | fs/binfmt_elf.c | bprm->p -= MAX_ARG_PAGES*PAGE_SIZE; |
p | 585 | fs/binfmt_elf.c | bprm->p = (unsigned long) |
p | 586 | fs/binfmt_elf.c | create_elf_tables((char *)bprm->p, |
p | 598 | fs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
p | 625 | fs/binfmt_elf.c | start_thread(regs, elf_entry, bprm->p); |
p | 36 | fs/block_dev.c | register char * p; |
p | 118 | fs/block_dev.c | p = offset + bh->b_data; |
p | 123 | fs/block_dev.c | memcpy_fromfs(p,buf,chars); |
p | 124 | fs/block_dev.c | p += chars; |
p | 1046 | fs/buffer.c | int * p; |
p | 1053 | fs/buffer.c | p = b; |
p | 1055 | fs/buffer.c | block = *(p++); |
p | 1062 | fs/buffer.c | p = b; |
p | 1072 | fs/buffer.c | bh->b_blocknr = *(p++); |
p | 1226 | fs/buffer.c | struct buffer_head * tmp, * p; |
p | 1242 | fs/buffer.c | p = tmp; |
p | 1246 | fs/buffer.c | if (p == *bhp) |
p | 1248 | fs/buffer.c | *bhp = p->b_prev_free; |
p | 1249 | fs/buffer.c | if (p == *bhp) /* Was this the last in the list? */ |
p | 1252 | fs/buffer.c | remove_from_queues(p); |
p | 1253 | fs/buffer.c | put_unused_buffer_head(p); |
p | 1446 | fs/buffer.c | struct buffer_head * tmp, * p; |
p | 1469 | fs/buffer.c | p = tmp; |
p | 1471 | fs/buffer.c | remove_from_queues(p); |
p | 1472 | fs/buffer.c | p->b_dev=dev; |
p | 1473 | fs/buffer.c | p->b_uptodate = 0; |
p | 1474 | fs/buffer.c | p->b_req = 0; |
p | 1475 | fs/buffer.c | p->b_blocknr=starting_block++; |
p | 1476 | fs/buffer.c | insert_into_queues(p); |
p | 216 | fs/dcache.c | struct dir_cache_entry * p; |
p | 221 | fs/dcache.c | p = level1_cache; |
p | 223 | fs/dcache.c | p[1].prev_lru = p; |
p | 224 | fs/dcache.c | p[0].next_lru = p+1; |
p | 225 | fs/dcache.c | p[0].lru_head = &level1_head; |
p | 226 | fs/dcache.c | } while (++p < level1_cache + DCACHE_SIZE-1); |
p | 227 | fs/dcache.c | level1_cache[0].prev_lru = p; |
p | 228 | fs/dcache.c | p[0].next_lru = &level1_cache[0]; |
p | 229 | fs/dcache.c | p[0].lru_head = &level1_head; |
p | 235 | fs/dcache.c | p = level2_cache; |
p | 237 | fs/dcache.c | p[1].prev_lru = p; |
p | 238 | fs/dcache.c | p[0].next_lru = p+1; |
p | 239 | fs/dcache.c | p[0].lru_head = &level2_head; |
p | 240 | fs/dcache.c | } while (++p < level2_cache + DCACHE_SIZE-1); |
p | 241 | fs/dcache.c | level2_cache[0].prev_lru = p; |
p | 242 | fs/dcache.c | p[0].next_lru = &level2_cache[0]; |
p | 243 | fs/dcache.c | p[0].lru_head = &level2_head; |
p | 300 | fs/exec.c | unsigned long * create_tables(char * p,int argc,int envc,int ibcs) |
p | 309 | fs/exec.c | mpnt->vm_start = PAGE_MASK & (unsigned long) p; |
p | 319 | fs/exec.c | sp = (unsigned long *) (0xfffffffc & (unsigned long) p); |
p | 329 | fs/exec.c | current->mm->arg_start = (unsigned long) p; |
p | 331 | fs/exec.c | put_fs_long((unsigned long) p,argv++); |
p | 332 | fs/exec.c | while (get_fs_byte(p++)) /* nothing */ ; |
p | 335 | fs/exec.c | current->mm->arg_end = current->mm->env_start = (unsigned long) p; |
p | 337 | fs/exec.c | put_fs_long((unsigned long) p,envp++); |
p | 338 | fs/exec.c | while (get_fs_byte(p++)) /* nothing */ ; |
p | 341 | fs/exec.c | current->mm->env_end = (unsigned long) p; |
p | 354 | fs/exec.c | char ** tmp, *p; |
p | 360 | fs/exec.c | while ((p = (char *) get_fs_long((unsigned long *) (tmp++))) != NULL) { |
p | 362 | fs/exec.c | error = verify_area(VERIFY_READ, p, 1); |
p | 388 | fs/exec.c | unsigned long p, int from_kmem) |
p | 394 | fs/exec.c | if (!p) |
p | 411 | fs/exec.c | if (p < len) { /* this shouldn't happen - 128kB */ |
p | 416 | fs/exec.c | --p; --tmp; --len; |
p | 418 | fs/exec.c | offset = p % PAGE_SIZE; |
p | 421 | fs/exec.c | if (!(pag = (char *) page[p/PAGE_SIZE]) && |
p | 422 | fs/exec.c | !(pag = (char *) page[p/PAGE_SIZE] = |
p | 434 | fs/exec.c | return p; |
p | 560 | fs/exec.c | bprm.p = PAGE_SIZE*MAX_ARG_PAGES-4; |
p | 657 | fs/exec.c | bprm.p = copy_strings(bprm.envc, envp, bprm.page, bprm.p, 0); |
p | 658 | fs/exec.c | bprm.p = copy_strings(--bprm.argc, argv+1, bprm.page, bprm.p, 0); |
p | 668 | fs/exec.c | bprm.p = copy_strings(1, &bprm.filename, bprm.page, bprm.p, 2); |
p | 671 | fs/exec.c | bprm.p = copy_strings(1, &i_arg, bprm.page, bprm.p, 2); |
p | 674 | fs/exec.c | bprm.p = copy_strings(1, &i_name, bprm.page, bprm.p, 2); |
p | 676 | fs/exec.c | if (!bprm.p) { |
p | 691 | fs/exec.c | bprm.p = copy_strings(bprm.envc,envp,bprm.page,bprm.p,0); |
p | 692 | fs/exec.c | bprm.p = copy_strings(bprm.argc,argv,bprm.page,bprm.p,0); |
p | 693 | fs/exec.c | if (!bprm.p) { |
p | 742 | fs/exec.c | unsigned long p = bprm->p; |
p | 837 | fs/exec.c | p += setup_arg_pages(ex.a_text,bprm->page); |
p | 838 | fs/exec.c | p -= MAX_ARG_PAGES*PAGE_SIZE; |
p | 839 | fs/exec.c | p = (unsigned long)create_tables((char *)p, |
p | 842 | fs/exec.c | current->mm->start_stack = p; |
p | 843 | fs/exec.c | start_thread(regs, ex.a_entry, p); |
p | 202 | fs/ext/file.c | char * p; |
p | 241 | fs/ext/file.c | p = (pos % BLOCK_SIZE) + bh->b_data; |
p | 248 | fs/ext/file.c | memcpy_fromfs(p,buf,c); |
p | 224 | fs/ext/inode.c | unsigned long * p; |
p | 227 | fs/ext/inode.c | p = inode->u.ext_i.i_data + nr; |
p | 229 | fs/ext/inode.c | tmp = *p; |
p | 232 | fs/ext/inode.c | if (tmp == *p) |
p | 243 | fs/ext/inode.c | if (*p) { |
p | 248 | fs/ext/inode.c | *p = tmp; |
p | 258 | fs/ext/inode.c | unsigned long * p; |
p | 271 | fs/ext/inode.c | p = nr + (unsigned long *) bh->b_data; |
p | 273 | fs/ext/inode.c | tmp = *p; |
p | 276 | fs/ext/inode.c | if (tmp == *p) { |
p | 293 | fs/ext/inode.c | if (*p) { |
p | 298 | fs/ext/inode.c | *p = tmp; |
p | 35 | fs/ext/truncate.c | unsigned long * p; |
p | 42 | fs/ext/truncate.c | p = inode->u.ext_i.i_data+i; |
p | 43 | fs/ext/truncate.c | if (!(tmp = *p)) |
p | 50 | fs/ext/truncate.c | if ((bh && bh->b_count != 1) || tmp != *p) { |
p | 55 | fs/ext/truncate.c | *p = 0; |
p | 63 | fs/ext/truncate.c | static int trunc_indirect(struct inode * inode, int offset, unsigned long * p) |
p | 72 | fs/ext/truncate.c | tmp = *p; |
p | 76 | fs/ext/truncate.c | if (tmp != *p) { |
p | 81 | fs/ext/truncate.c | *p = 0; |
p | 117 | fs/ext/truncate.c | tmp = *p; |
p | 118 | fs/ext/truncate.c | *p = 0; |
p | 126 | fs/ext/truncate.c | static int trunc_dindirect(struct inode * inode, int offset, unsigned long * p) |
p | 134 | fs/ext/truncate.c | tmp = *p; |
p | 138 | fs/ext/truncate.c | if (tmp != *p) { |
p | 143 | fs/ext/truncate.c | *p = 0; |
p | 167 | fs/ext/truncate.c | tmp = *p; |
p | 168 | fs/ext/truncate.c | *p = 0; |
p | 180 | fs/ext/truncate.c | unsigned long * tind, * p; |
p | 184 | fs/ext/truncate.c | p = inode->u.ext_i.i_data+11; |
p | 185 | fs/ext/truncate.c | if (!(tmp = *p)) |
p | 188 | fs/ext/truncate.c | if (tmp != *p) { |
p | 193 | fs/ext/truncate.c | *p = 0; |
p | 214 | fs/ext/truncate.c | tmp = *p; |
p | 215 | fs/ext/truncate.c | *p = 0; |
p | 258 | fs/ext2/balloc.c | char * p, * r; |
p | 342 | fs/ext2/balloc.c | p = ((char *) bh->b_data) + (j >> 3); |
p | 343 | fs/ext2/balloc.c | r = memscan(p, 0, (EXT2_BLOCKS_PER_GROUP(sb) - j + 7) >> 3); |
p | 239 | fs/ext2/file.c | char * p; |
p | 301 | fs/ext2/file.c | p = (pos2 % sb->s_blocksize) + bh->b_data; |
p | 305 | fs/ext2/file.c | memcpy_fromfs (p, buf, c); |
p | 186 | fs/ext2/inode.c | u32 * p; |
p | 191 | fs/ext2/inode.c | p = inode->u.ext2_i.i_data + nr; |
p | 193 | fs/ext2/inode.c | tmp = *p; |
p | 196 | fs/ext2/inode.c | if (tmp == *p) |
p | 231 | fs/ext2/inode.c | if (*p) { |
p | 236 | fs/ext2/inode.c | *p = tmp; |
p | 254 | fs/ext2/inode.c | u32 * p; |
p | 268 | fs/ext2/inode.c | p = (u32 *) bh->b_data + nr; |
p | 270 | fs/ext2/inode.c | tmp = *p; |
p | 273 | fs/ext2/inode.c | if (tmp == *p) { |
p | 305 | fs/ext2/inode.c | if (*p) { |
p | 310 | fs/ext2/inode.c | *p = tmp; |
p | 329 | fs/ext2/inode.c | u32 * p; |
p | 342 | fs/ext2/inode.c | p = (u32 *) bh->b_data + nr + i; |
p | 345 | fs/ext2/inode.c | if(*p == 0) goto out; |
p | 348 | fs/ext2/inode.c | if(i==0) firstblock = *p; |
p | 349 | fs/ext2/inode.c | else if(*p != firstblock + i) goto out; |
p | 352 | fs/ext2/inode.c | p = (u32 *) bh->b_data + nr; |
p | 353 | fs/ext2/inode.c | result = generate_cluster(bh->b_dev, (int *) p, blocksize); |
p | 49 | fs/ext2/truncate.c | u32 * p; |
p | 62 | fs/ext2/truncate.c | p = inode->u.ext2_i.i_data + i; |
p | 63 | fs/ext2/truncate.c | tmp = *p; |
p | 76 | fs/ext2/truncate.c | if ((bh && bh->b_count != 1) || tmp != *p) { |
p | 81 | fs/ext2/truncate.c | *p = 0; |
p | 106 | fs/ext2/truncate.c | static int trunc_indirect (struct inode * inode, int offset, u32 * p) |
p | 120 | fs/ext2/truncate.c | tmp = *p; |
p | 124 | fs/ext2/truncate.c | if (tmp != *p) { |
p | 129 | fs/ext2/truncate.c | *p = 0; |
p | 188 | fs/ext2/truncate.c | tmp = *p; |
p | 189 | fs/ext2/truncate.c | *p = 0; |
p | 203 | fs/ext2/truncate.c | u32 * p) |
p | 214 | fs/ext2/truncate.c | tmp = *p; |
p | 218 | fs/ext2/truncate.c | if (tmp != *p) { |
p | 223 | fs/ext2/truncate.c | *p = 0; |
p | 248 | fs/ext2/truncate.c | tmp = *p; |
p | 249 | fs/ext2/truncate.c | *p = 0; |
p | 266 | fs/ext2/truncate.c | u32 * tind, * p; |
p | 275 | fs/ext2/truncate.c | p = inode->u.ext2_i.i_data + EXT2_TIND_BLOCK; |
p | 276 | fs/ext2/truncate.c | if (!(tmp = *p)) |
p | 279 | fs/ext2/truncate.c | if (tmp != *p) { |
p | 284 | fs/ext2/truncate.c | *p = 0; |
p | 307 | fs/ext2/truncate.c | tmp = *p; |
p | 308 | fs/ext2/truncate.c | *p = 0; |
p | 69 | fs/fcntl.c | struct task_struct *p; |
p | 145 | fs/fcntl.c | for_each_task(p) { |
p | 146 | fs/fcntl.c | if ((p->pid == arg) || (p->pid == -arg) || |
p | 147 | fs/fcntl.c | (p->pgrp == -arg)) { |
p | 149 | fs/fcntl.c | if ((p->session != current->session) && |
p | 150 | fs/fcntl.c | (p->uid != current->uid) && |
p | 151 | fs/fcntl.c | (p->euid != current->euid) && |
p | 257 | fs/hpfs/hpfs_fs.c | static unsigned choose_conv(unsigned char *p, unsigned len); |
p | 535 | fs/hpfs/hpfs_fs.c | unsigned char *p = addr; |
p | 536 | fs/hpfs/hpfs_fs.c | return p[0] == 0 && memcmp(p, p + 1, len - 1) == 0; |
p | 546 | fs/hpfs/hpfs_fs.c | char *p, *rhs; |
p | 557 | fs/hpfs/hpfs_fs.c | for (p = strtok(opts, ","); p != 0; p = strtok(0, ",")) { |
p | 558 | fs/hpfs/hpfs_fs.c | if ((rhs = strchr(p, '=')) != 0) |
p | 560 | fs/hpfs/hpfs_fs.c | if (!strcmp(p, "uid")) { |
p | 567 | fs/hpfs/hpfs_fs.c | else if (!strcmp(p, "gid")) { |
p | 574 | fs/hpfs/hpfs_fs.c | else if (!strcmp(p, "umask")) { |
p | 581 | fs/hpfs/hpfs_fs.c | else if (!strcmp(p, "case")) { |
p | 589 | fs/hpfs/hpfs_fs.c | else if (!strcmp(p, "conv")) { |
p | 948 | fs/hpfs/hpfs_fs.c | static unsigned choose_conv(unsigned char *p, unsigned len) |
p | 956 | fs/hpfs/hpfs_fs.c | c = *p++; |
p | 958 | fs/hpfs/hpfs_fs.c | if (c == '\r' && len && *p == '\n') |
p | 293 | fs/isofs/rock.c | { int p; |
p | 294 | fs/isofs/rock.c | for(p=0;p<rr->u.ER.len_id;p++) printk("%c",rr->u.ER.data[p]); |
p | 18 | fs/isofs/util.c | isonum_711 (char * p) |
p | 20 | fs/isofs/util.c | return (*p & 0xff); |
p | 24 | fs/isofs/util.c | isonum_712 (char * p) |
p | 28 | fs/isofs/util.c | val = *p; |
p | 35 | fs/isofs/util.c | isonum_721 (char * p) |
p | 37 | fs/isofs/util.c | return ((p[0] & 0xff) | ((p[1] & 0xff) << 8)); |
p | 41 | fs/isofs/util.c | isonum_722 (char * p) |
p | 43 | fs/isofs/util.c | return (((p[0] & 0xff) << 8) | (p[1] & 0xff)); |
p | 47 | fs/isofs/util.c | isonum_723 (char * p) |
p | 50 | fs/isofs/util.c | if (p[0] != p[3] || p[1] != p[2]) { |
p | 55 | fs/isofs/util.c | return (isonum_721 (p)); |
p | 59 | fs/isofs/util.c | isonum_731 (char * p) |
p | 61 | fs/isofs/util.c | return ((p[0] & 0xff) |
p | 62 | fs/isofs/util.c | | ((p[1] & 0xff) << 8) |
p | 63 | fs/isofs/util.c | | ((p[2] & 0xff) << 16) |
p | 64 | fs/isofs/util.c | | ((p[3] & 0xff) << 24)); |
p | 68 | fs/isofs/util.c | isonum_732 (char * p) |
p | 70 | fs/isofs/util.c | return (((p[0] & 0xff) << 24) |
p | 71 | fs/isofs/util.c | | ((p[1] & 0xff) << 16) |
p | 72 | fs/isofs/util.c | | ((p[2] & 0xff) << 8) |
p | 73 | fs/isofs/util.c | | (p[3] & 0xff)); |
p | 77 | fs/isofs/util.c | isonum_733 (char * p) |
p | 83 | fs/isofs/util.c | if (p[i] != p[7-i]) { |
p | 89 | fs/isofs/util.c | return (isonum_731 (p)); |
p | 96 | fs/isofs/util.c | int iso_date(char * p, int flag) |
p | 101 | fs/isofs/util.c | year = p[0] - 70; |
p | 102 | fs/isofs/util.c | month = p[1]; |
p | 103 | fs/isofs/util.c | day = p[2]; |
p | 104 | fs/isofs/util.c | hour = p[3]; |
p | 105 | fs/isofs/util.c | minute = p[4]; |
p | 106 | fs/isofs/util.c | second = p[5]; |
p | 107 | fs/isofs/util.c | if (flag == 0) tz = p[6]; /* High sierra has no time zone */ |
p | 198 | fs/minix/file.c | char * p; |
p | 234 | fs/minix/file.c | p = (pos % BLOCK_SIZE) + bh->b_data; |
p | 237 | fs/minix/file.c | memcpy_fromfs(p,buf,c); |
p | 292 | fs/minix/inode.c | unsigned short *p; |
p | 295 | fs/minix/inode.c | p = inode->u.minix_i.i_data + nr; |
p | 297 | fs/minix/inode.c | tmp = *p; |
p | 300 | fs/minix/inode.c | if (tmp == *p) |
p | 311 | fs/minix/inode.c | if (*p) { |
p | 316 | fs/minix/inode.c | *p = tmp; |
p | 326 | fs/minix/inode.c | unsigned short *p; |
p | 339 | fs/minix/inode.c | p = nr + (unsigned short *) bh->b_data; |
p | 341 | fs/minix/inode.c | tmp = *p; |
p | 344 | fs/minix/inode.c | if (tmp == *p) { |
p | 361 | fs/minix/inode.c | if (*p) { |
p | 366 | fs/minix/inode.c | *p = tmp; |
p | 32 | fs/minix/truncate.c | unsigned short * p; |
p | 40 | fs/minix/truncate.c | p = i + inode->u.minix_i.i_data; |
p | 41 | fs/minix/truncate.c | if (!(tmp = *p)) |
p | 48 | fs/minix/truncate.c | if ((bh && bh->b_count != 1) || tmp != *p) { |
p | 53 | fs/minix/truncate.c | *p = 0; |
p | 61 | fs/minix/truncate.c | static int trunc_indirect(struct inode * inode, int offset, unsigned short * p) |
p | 70 | fs/minix/truncate.c | tmp = *p; |
p | 74 | fs/minix/truncate.c | if (tmp != *p) { |
p | 79 | fs/minix/truncate.c | *p = 0; |
p | 115 | fs/minix/truncate.c | tmp = *p; |
p | 116 | fs/minix/truncate.c | *p = 0; |
p | 127 | fs/minix/truncate.c | unsigned short * dind, * p; |
p | 131 | fs/minix/truncate.c | p = 8 + inode->u.minix_i.i_data; |
p | 132 | fs/minix/truncate.c | if (!(tmp = *p)) |
p | 135 | fs/minix/truncate.c | if (tmp != *p) { |
p | 140 | fs/minix/truncate.c | *p = 0; |
p | 161 | fs/minix/truncate.c | tmp = *p; |
p | 162 | fs/minix/truncate.c | *p = 0; |
p | 125 | fs/namei.c | struct task_struct ** p; |
p | 128 | fs/namei.c | for (p = &LAST_TASK ; p > &FIRST_TASK ; --p) { |
p | 130 | fs/namei.c | if (!*p) |
p | 132 | fs/namei.c | for(mpnt = (*p)->mm->mmap; mpnt; mpnt = mpnt->vm_next) { |
p | 69 | fs/nfs/proc.c | static int *nfs_rpc_header(int *p, int procedure, int ruid); |
p | 70 | fs/nfs/proc.c | static int *nfs_rpc_verify(int *p); |
p | 91 | fs/nfs/proc.c | static inline void nfs_rpc_free(int *p) |
p | 93 | fs/nfs/proc.c | kfree((void *)p); |
p | 103 | fs/nfs/proc.c | static inline int *xdr_encode_fhandle(int *p, struct nfs_fh *fhandle) |
p | 105 | fs/nfs/proc.c | *((struct nfs_fh *) p) = *fhandle; |
p | 106 | fs/nfs/proc.c | return p + QUADLEN(sizeof(*fhandle)); |
p | 109 | fs/nfs/proc.c | static inline int *xdr_decode_fhandle(int *p, struct nfs_fh *fhandle) |
p | 111 | fs/nfs/proc.c | *fhandle = *((struct nfs_fh *) p); |
p | 112 | fs/nfs/proc.c | return p + QUADLEN(sizeof(*fhandle)); |
p | 115 | fs/nfs/proc.c | static inline int *xdr_encode_string(int *p, const char *string) |
p | 120 | fs/nfs/proc.c | p[quadlen] = 0; |
p | 121 | fs/nfs/proc.c | *p++ = htonl(len); |
p | 122 | fs/nfs/proc.c | memcpy(p, string, len); |
p | 123 | fs/nfs/proc.c | return p + quadlen; |
p | 126 | fs/nfs/proc.c | static inline int *xdr_decode_string(int *p, char *string, unsigned int maxlen) |
p | 128 | fs/nfs/proc.c | unsigned int len = ntohl(*p++); |
p | 131 | fs/nfs/proc.c | memcpy(string, p, len); |
p | 133 | fs/nfs/proc.c | return p + QUADLEN(len); |
p | 136 | fs/nfs/proc.c | static inline int *xdr_decode_string2(int *p, char **string, unsigned int *len, |
p | 139 | fs/nfs/proc.c | *len = ntohl(*p++); |
p | 142 | fs/nfs/proc.c | *string = (char *) p; |
p | 143 | fs/nfs/proc.c | return p + QUADLEN(*len); |
p | 147 | fs/nfs/proc.c | static inline int *xdr_encode_data(int *p, char *data, int len) |
p | 151 | fs/nfs/proc.c | p[quadlen] = 0; |
p | 152 | fs/nfs/proc.c | *p++ = htonl(len); |
p | 153 | fs/nfs/proc.c | memcpy_fromfs(p, data, len); |
p | 154 | fs/nfs/proc.c | return p + quadlen; |
p | 157 | fs/nfs/proc.c | static inline int *xdr_decode_data(int *p, char *data, int *lenp, int maxlen, |
p | 160 | fs/nfs/proc.c | unsigned len = *lenp = ntohl(*p++); |
p | 164 | fs/nfs/proc.c | memcpy_tofs(data, p, len); |
p | 166 | fs/nfs/proc.c | memcpy(data, p, len); |
p | 167 | fs/nfs/proc.c | return p + QUADLEN(len); |
p | 170 | fs/nfs/proc.c | static int *xdr_decode_fattr(int *p, struct nfs_fattr *fattr) |
p | 172 | fs/nfs/proc.c | fattr->type = (enum nfs_ftype) ntohl(*p++); |
p | 173 | fs/nfs/proc.c | fattr->mode = ntohl(*p++); |
p | 174 | fs/nfs/proc.c | fattr->nlink = ntohl(*p++); |
p | 175 | fs/nfs/proc.c | fattr->uid = ntohl(*p++); |
p | 176 | fs/nfs/proc.c | fattr->gid = ntohl(*p++); |
p | 177 | fs/nfs/proc.c | fattr->size = ntohl(*p++); |
p | 178 | fs/nfs/proc.c | fattr->blocksize = ntohl(*p++); |
p | 179 | fs/nfs/proc.c | fattr->rdev = ntohl(*p++); |
p | 180 | fs/nfs/proc.c | fattr->blocks = ntohl(*p++); |
p | 181 | fs/nfs/proc.c | fattr->fsid = ntohl(*p++); |
p | 182 | fs/nfs/proc.c | fattr->fileid = ntohl(*p++); |
p | 183 | fs/nfs/proc.c | fattr->atime.seconds = ntohl(*p++); |
p | 184 | fs/nfs/proc.c | fattr->atime.useconds = ntohl(*p++); |
p | 185 | fs/nfs/proc.c | fattr->mtime.seconds = ntohl(*p++); |
p | 186 | fs/nfs/proc.c | fattr->mtime.useconds = ntohl(*p++); |
p | 187 | fs/nfs/proc.c | fattr->ctime.seconds = ntohl(*p++); |
p | 188 | fs/nfs/proc.c | fattr->ctime.useconds = ntohl(*p++); |
p | 189 | fs/nfs/proc.c | return p; |
p | 192 | fs/nfs/proc.c | static int *xdr_encode_sattr(int *p, struct nfs_sattr *sattr) |
p | 194 | fs/nfs/proc.c | *p++ = htonl(sattr->mode); |
p | 195 | fs/nfs/proc.c | *p++ = htonl(sattr->uid); |
p | 196 | fs/nfs/proc.c | *p++ = htonl(sattr->gid); |
p | 197 | fs/nfs/proc.c | *p++ = htonl(sattr->size); |
p | 198 | fs/nfs/proc.c | *p++ = htonl(sattr->atime.seconds); |
p | 199 | fs/nfs/proc.c | *p++ = htonl(sattr->atime.useconds); |
p | 200 | fs/nfs/proc.c | *p++ = htonl(sattr->mtime.seconds); |
p | 201 | fs/nfs/proc.c | *p++ = htonl(sattr->mtime.useconds); |
p | 202 | fs/nfs/proc.c | return p; |
p | 205 | fs/nfs/proc.c | static int *xdr_decode_entry(int *p, struct nfs_entry *entry) |
p | 207 | fs/nfs/proc.c | entry->fileid = ntohl(*p++); |
p | 208 | fs/nfs/proc.c | if (!(p = xdr_decode_string(p, entry->name, NFS_MAXNAMLEN))) |
p | 210 | fs/nfs/proc.c | entry->cookie = ntohl(*p++); |
p | 212 | fs/nfs/proc.c | return p; |
p | 215 | fs/nfs/proc.c | static int *xdr_decode_fsinfo(int *p, struct nfs_fsinfo *res) |
p | 217 | fs/nfs/proc.c | res->tsize = ntohl(*p++); |
p | 218 | fs/nfs/proc.c | res->bsize = ntohl(*p++); |
p | 219 | fs/nfs/proc.c | res->blocks = ntohl(*p++); |
p | 220 | fs/nfs/proc.c | res->bfree = ntohl(*p++); |
p | 221 | fs/nfs/proc.c | res->bavail = ntohl(*p++); |
p | 222 | fs/nfs/proc.c | return p; |
p | 232 | fs/nfs/proc.c | int *p, *p0; |
p | 240 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_GETATTR, ruid); |
p | 241 | fs/nfs/proc.c | p = xdr_encode_fhandle(p, fhandle); |
p | 242 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) { |
p | 246 | fs/nfs/proc.c | if (!(p = nfs_rpc_verify(p0))) |
p | 248 | fs/nfs/proc.c | else if ((status = ntohl(*p++)) == NFS_OK) { |
p | 249 | fs/nfs/proc.c | p = xdr_decode_fattr(p, fattr); |
p | 268 | fs/nfs/proc.c | int *p, *p0; |
p | 276 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_SETATTR, ruid); |
p | 277 | fs/nfs/proc.c | p = xdr_encode_fhandle(p, fhandle); |
p | 278 | fs/nfs/proc.c | p = xdr_encode_sattr(p, sattr); |
p | 279 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
p | 283 | fs/nfs/proc.c | if (!(p = nfs_rpc_verify(p0))) |
p | 285 | fs/nfs/proc.c | else if ((status = ntohl(*p++)) == NFS_OK) { |
p | 286 | fs/nfs/proc.c | p = xdr_decode_fattr(p, fattr); |
p | 305 | fs/nfs/proc.c | int *p, *p0; |
p | 317 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_LOOKUP, ruid); |
p | 318 | fs/nfs/proc.c | p = xdr_encode_fhandle(p, dir); |
p | 319 | fs/nfs/proc.c | p = xdr_encode_string(p, name); |
p | 320 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) { |
p | 324 | fs/nfs/proc.c | if (!(p = nfs_rpc_verify(p0))) |
p | 326 | fs/nfs/proc.c | else if ((status = ntohl(*p++)) == NFS_OK) { |
p | 327 | fs/nfs/proc.c | p = xdr_decode_fhandle(p, fhandle); |
p | 328 | fs/nfs/proc.c | p = xdr_decode_fattr(p, fattr); |
p | 347 | fs/nfs/proc.c | int *p; |
p | 354 | fs/nfs/proc.c | p = nfs_rpc_header(*p0, NFSPROC_READLINK, ruid); |
p | 355 | fs/nfs/proc.c | p = xdr_encode_fhandle(p, fhandle); |
p | 356 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, *p0, p, server->rsize)) < 0) |
p | 358 | fs/nfs/proc.c | if (!(p = nfs_rpc_verify(*p0))) |
p | 360 | fs/nfs/proc.c | else if ((status = ntohl(*p++)) == NFS_OK) { |
p | 361 | fs/nfs/proc.c | if (!(p = xdr_decode_string2(p, string, len, maxlen))) { |
p | 382 | fs/nfs/proc.c | int *p, *p0; |
p | 391 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_READ, ruid); |
p | 392 | fs/nfs/proc.c | p = xdr_encode_fhandle(p, fhandle); |
p | 393 | fs/nfs/proc.c | *p++ = htonl(offset); |
p | 394 | fs/nfs/proc.c | *p++ = htonl(count); |
p | 395 | fs/nfs/proc.c | *p++ = htonl(count); /* traditional, could be any value */ |
p | 396 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) { |
p | 400 | fs/nfs/proc.c | if (!(p = nfs_rpc_verify(p0))) |
p | 402 | fs/nfs/proc.c | else if ((status = ntohl(*p++)) == NFS_OK) { |
p | 403 | fs/nfs/proc.c | p = xdr_decode_fattr(p, fattr); |
p | 404 | fs/nfs/proc.c | if (!(p = xdr_decode_data(p, data, &len, count, fs))) { |
p | 428 | fs/nfs/proc.c | int *p, *p0; |
p | 436 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_WRITE, ruid); |
p | 437 | fs/nfs/proc.c | p = xdr_encode_fhandle(p, fhandle); |
p | 438 | fs/nfs/proc.c | *p++ = htonl(offset); /* traditional, could be any value */ |
p | 439 | fs/nfs/proc.c | *p++ = htonl(offset); |
p | 440 | fs/nfs/proc.c | *p++ = htonl(count); /* traditional, could be any value */ |
p | 441 | fs/nfs/proc.c | p = xdr_encode_data(p, data, count); |
p | 442 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
p | 446 | fs/nfs/proc.c | if (!(p = nfs_rpc_verify(p0))) |
p | 448 | fs/nfs/proc.c | else if ((status = ntohl(*p++)) == NFS_OK) { |
p | 449 | fs/nfs/proc.c | p = xdr_decode_fattr(p, fattr); |
p | 469 | fs/nfs/proc.c | int *p, *p0; |
p | 477 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_CREATE, ruid); |
p | 478 | fs/nfs/proc.c | p = xdr_encode_fhandle(p, dir); |
p | 479 | fs/nfs/proc.c | p = xdr_encode_string(p, name); |
p | 480 | fs/nfs/proc.c | p = xdr_encode_sattr(p, sattr); |
p | 481 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
p | 485 | fs/nfs/proc.c | if (!(p = nfs_rpc_verify(p0))) |
p | 487 | fs/nfs/proc.c | else if ((status = ntohl(*p++)) == NFS_OK) { |
p | 488 | fs/nfs/proc.c | p = xdr_decode_fhandle(p, fhandle); |
p | 489 | fs/nfs/proc.c | p = xdr_decode_fattr(p, fattr); |
p | 507 | fs/nfs/proc.c | int *p, *p0; |
p | 515 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_REMOVE, ruid); |
p | 516 | fs/nfs/proc.c | p = xdr_encode_fhandle(p, dir); |
p | 517 | fs/nfs/proc.c | p = xdr_encode_string(p, name); |
p | 518 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
p | 522 | fs/nfs/proc.c | if (!(p = nfs_rpc_verify(p0))) |
p | 524 | fs/nfs/proc.c | else if ((status = ntohl(*p++)) == NFS_OK) { |
p | 544 | fs/nfs/proc.c | int *p, *p0; |
p | 552 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_RENAME, ruid); |
p | 553 | fs/nfs/proc.c | p = xdr_encode_fhandle(p, old_dir); |
p | 554 | fs/nfs/proc.c | p = xdr_encode_string(p, old_name); |
p | 555 | fs/nfs/proc.c | p = xdr_encode_fhandle(p, new_dir); |
p | 556 | fs/nfs/proc.c | p = xdr_encode_string(p, new_name); |
p | 557 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
p | 561 | fs/nfs/proc.c | if (!(p = nfs_rpc_verify(p0))) |
p | 563 | fs/nfs/proc.c | else if ((status = ntohl(*p++)) == NFS_OK) { |
p | 582 | fs/nfs/proc.c | int *p, *p0; |
p | 590 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_LINK, ruid); |
p | 591 | fs/nfs/proc.c | p = xdr_encode_fhandle(p, fhandle); |
p | 592 | fs/nfs/proc.c | p = xdr_encode_fhandle(p, dir); |
p | 593 | fs/nfs/proc.c | p = xdr_encode_string(p, name); |
p | 594 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
p | 598 | fs/nfs/proc.c | if (!(p = nfs_rpc_verify(p0))) |
p | 600 | fs/nfs/proc.c | else if ((status = ntohl(*p++)) == NFS_OK) { |
p | 619 | fs/nfs/proc.c | int *p, *p0; |
p | 627 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_SYMLINK, ruid); |
p | 628 | fs/nfs/proc.c | p = xdr_encode_fhandle(p, dir); |
p | 629 | fs/nfs/proc.c | p = xdr_encode_string(p, name); |
p | 630 | fs/nfs/proc.c | p = xdr_encode_string(p, path); |
p | 631 | fs/nfs/proc.c | p = xdr_encode_sattr(p, sattr); |
p | 632 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
p | 636 | fs/nfs/proc.c | if (!(p = nfs_rpc_verify(p0))) |
p | 638 | fs/nfs/proc.c | else if ((status = ntohl(*p++)) == NFS_OK) { |
p | 658 | fs/nfs/proc.c | int *p, *p0; |
p | 666 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_MKDIR, ruid); |
p | 667 | fs/nfs/proc.c | p = xdr_encode_fhandle(p, dir); |
p | 668 | fs/nfs/proc.c | p = xdr_encode_string(p, name); |
p | 669 | fs/nfs/proc.c | p = xdr_encode_sattr(p, sattr); |
p | 670 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
p | 674 | fs/nfs/proc.c | if (!(p = nfs_rpc_verify(p0))) |
p | 676 | fs/nfs/proc.c | else if ((status = ntohl(*p++)) == NFS_OK) { |
p | 677 | fs/nfs/proc.c | p = xdr_decode_fhandle(p, fhandle); |
p | 678 | fs/nfs/proc.c | p = xdr_decode_fattr(p, fattr); |
p | 696 | fs/nfs/proc.c | int *p, *p0; |
p | 704 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_RMDIR, ruid); |
p | 705 | fs/nfs/proc.c | p = xdr_encode_fhandle(p, dir); |
p | 706 | fs/nfs/proc.c | p = xdr_encode_string(p, name); |
p | 707 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
p | 711 | fs/nfs/proc.c | if (!(p = nfs_rpc_verify(p0))) |
p | 713 | fs/nfs/proc.c | else if ((status = ntohl(*p++)) == NFS_OK) { |
p | 732 | fs/nfs/proc.c | int *p, *p0; |
p | 744 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_READDIR, ruid); |
p | 745 | fs/nfs/proc.c | p = xdr_encode_fhandle(p, fhandle); |
p | 746 | fs/nfs/proc.c | *p++ = htonl(cookie); |
p | 747 | fs/nfs/proc.c | *p++ = htonl(size); |
p | 748 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) { |
p | 752 | fs/nfs/proc.c | if (!(p = nfs_rpc_verify(p0))) |
p | 754 | fs/nfs/proc.c | else if ((status = ntohl(*p++)) == NFS_OK) { |
p | 755 | fs/nfs/proc.c | for (i = 0; i < count && *p++; i++) { |
p | 756 | fs/nfs/proc.c | if (!(p = xdr_decode_entry(p, entry++))) |
p | 759 | fs/nfs/proc.c | if (!p) { |
p | 764 | fs/nfs/proc.c | eof = (i == count && !*p++ && *p++) |
p | 765 | fs/nfs/proc.c | || (i < count && *p++); |
p | 788 | fs/nfs/proc.c | int *p, *p0; |
p | 796 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_STATFS, ruid); |
p | 797 | fs/nfs/proc.c | p = xdr_encode_fhandle(p, fhandle); |
p | 798 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) { |
p | 802 | fs/nfs/proc.c | if (!(p = nfs_rpc_verify(p0))) |
p | 804 | fs/nfs/proc.c | else if ((status = ntohl(*p++)) == NFS_OK) { |
p | 805 | fs/nfs/proc.c | p = xdr_decode_fsinfo(p, res); |
p | 825 | fs/nfs/proc.c | static int *nfs_rpc_header(int *p, int procedure, int ruid) |
p | 836 | fs/nfs/proc.c | *p++ = htonl(++xid); |
p | 837 | fs/nfs/proc.c | *p++ = htonl(RPC_CALL); |
p | 838 | fs/nfs/proc.c | *p++ = htonl(RPC_VERSION); |
p | 839 | fs/nfs/proc.c | *p++ = htonl(NFS_PROGRAM); |
p | 840 | fs/nfs/proc.c | *p++ = htonl(NFS_VERSION); |
p | 841 | fs/nfs/proc.c | *p++ = htonl(procedure); |
p | 842 | fs/nfs/proc.c | *p++ = htonl(RPC_AUTH_UNIX); |
p | 843 | fs/nfs/proc.c | p1 = p++; |
p | 844 | fs/nfs/proc.c | *p++ = htonl(CURRENT_TIME); /* traditional, could be anything */ |
p | 845 | fs/nfs/proc.c | p = xdr_encode_string(p, (char *) sys); |
p | 846 | fs/nfs/proc.c | *p++ = htonl(ruid ? current->uid : current->fsuid); |
p | 847 | fs/nfs/proc.c | *p++ = htonl(current->egid); |
p | 848 | fs/nfs/proc.c | p2 = p++; |
p | 850 | fs/nfs/proc.c | *p++ = htonl(current->groups[i]); |
p | 852 | fs/nfs/proc.c | *p1 = htonl((p - (p1 + 1)) << 2); |
p | 853 | fs/nfs/proc.c | *p++ = htonl(RPC_AUTH_NULL); |
p | 854 | fs/nfs/proc.c | *p++ = htonl(0); |
p | 855 | fs/nfs/proc.c | return p; |
p | 858 | fs/nfs/proc.c | static int *nfs_rpc_verify(int *p) |
p | 862 | fs/nfs/proc.c | p++; |
p | 863 | fs/nfs/proc.c | if ((n = ntohl(*p++)) != RPC_REPLY) { |
p | 867 | fs/nfs/proc.c | if ((n = ntohl(*p++)) != RPC_MSG_ACCEPTED) { |
p | 871 | fs/nfs/proc.c | switch (n = ntohl(*p++)) { |
p | 878 | fs/nfs/proc.c | if ((n = ntohl(*p++)) > 400) { |
p | 882 | fs/nfs/proc.c | p += QUADLEN(n); |
p | 883 | fs/nfs/proc.c | if ((n = ntohl(*p++)) != RPC_SUCCESS) { |
p | 887 | fs/nfs/proc.c | return p; |
p | 61 | fs/proc/array.c | unsigned long p = file->f_pos; |
p | 73 | fs/proc/array.c | if (p >= high_memory + PAGE_SIZE) |
p | 75 | fs/proc/array.c | if (count > high_memory + PAGE_SIZE - p) |
p | 76 | fs/proc/array.c | count = high_memory + PAGE_SIZE - p; |
p | 79 | fs/proc/array.c | if (p < sizeof(struct user) && count > 0) { |
p | 81 | fs/proc/array.c | if (p + count1 > sizeof(struct user)) |
p | 82 | fs/proc/array.c | count1 = sizeof(struct user)-p; |
p | 83 | fs/proc/array.c | pnt = (char *) &dump + p; |
p | 86 | fs/proc/array.c | p += count1; |
p | 91 | fs/proc/array.c | while (p < 2*PAGE_SIZE && count > 0) { |
p | 94 | fs/proc/array.c | p++; |
p | 98 | fs/proc/array.c | memcpy_tofs(buf,(void *) (p - PAGE_SIZE),count); |
p | 126 | fs/proc/array.c | unsigned long p = file->f_pos; |
p | 133 | fs/proc/array.c | if (p >= (prof_len+1)*sizeof(unsigned long)) |
p | 135 | fs/proc/array.c | if (count > (prof_len+1)*sizeof(unsigned long) - p) |
p | 136 | fs/proc/array.c | count = (prof_len+1)*sizeof(unsigned long) - p; |
p | 139 | fs/proc/array.c | while (p < sizeof(unsigned long) && count > 0) { |
p | 140 | fs/proc/array.c | put_fs_byte(*((char *)(&sample_step)+p),buf); |
p | 141 | fs/proc/array.c | buf++; p++; count--; read++; |
p | 143 | fs/proc/array.c | pnt = (char *)prof_buffer + p - sizeof(unsigned long); |
p | 329 | fs/proc/array.c | struct task_struct ** p; |
p | 331 | fs/proc/array.c | p = task; |
p | 332 | fs/proc/array.c | while (++p < task+NR_TASKS) { |
p | 333 | fs/proc/array.c | if (*p && (*p)->pid == pid) |
p | 334 | fs/proc/array.c | return p; |
p | 339 | fs/proc/array.c | static unsigned long get_phys_addr(struct task_struct * p, unsigned long ptr) |
p | 345 | fs/proc/array.c | if (!p || ptr >= TASK_SIZE) |
p | 347 | fs/proc/array.c | page_dir = pgd_offset(p,ptr); |
p | 369 | fs/proc/array.c | static int get_array(struct task_struct ** p, unsigned long start, unsigned long end, char * buffer) |
p | 378 | fs/proc/array.c | addr = get_phys_addr(*p, start); |
p | 404 | fs/proc/array.c | struct task_struct ** p = get_task(pid); |
p | 406 | fs/proc/array.c | if (!p || !*p) |
p | 408 | fs/proc/array.c | return get_array(p, (*p)->mm->env_start, (*p)->mm->env_end, buffer); |
p | 413 | fs/proc/array.c | struct task_struct ** p = get_task(pid); |
p | 415 | fs/proc/array.c | if (!p || !*p) |
p | 417 | fs/proc/array.c | return get_array(p, (*p)->mm->arg_start, (*p)->mm->arg_end, buffer); |
p | 420 | fs/proc/array.c | static unsigned long get_wchan(struct task_struct *p) |
p | 427 | fs/proc/array.c | if (!p || p == current || p->state == TASK_RUNNING) |
p | 429 | fs/proc/array.c | stack_page = p->kernel_stack_page; |
p | 432 | fs/proc/array.c | ebp = p->tss.ebp; |
p | 451 | fs/proc/array.c | struct task_struct ** p = get_task(pid); |
p | 457 | fs/proc/array.c | if (!p || !*p) |
p | 459 | fs/proc/array.c | if ((*p)->state < 0 || (*p)->state > 5) |
p | 462 | fs/proc/array.c | state = "RSDZTD"[(*p)->state]; |
p | 464 | fs/proc/array.c | vsize = (*p)->kernel_stack_page; |
p | 468 | fs/proc/array.c | vsize = (*p)->mm->brk - (*p)->mm->start_code + PAGE_SIZE-1; |
p | 472 | fs/proc/array.c | wchan = get_wchan(*p); |
p | 474 | fs/proc/array.c | switch((unsigned long) (*p)->sigaction[i].sa_handler) { |
p | 480 | fs/proc/array.c | if ((*p)->tty) |
p | 481 | fs/proc/array.c | tty_pgrp = (*p)->tty->pgrp; |
p | 488 | fs/proc/array.c | (*p)->comm, |
p | 490 | fs/proc/array.c | (*p)->p_pptr->pid, |
p | 491 | fs/proc/array.c | (*p)->pgrp, |
p | 492 | fs/proc/array.c | (*p)->session, |
p | 493 | fs/proc/array.c | (*p)->tty ? (*p)->tty->device : 0, |
p | 495 | fs/proc/array.c | (*p)->flags, |
p | 496 | fs/proc/array.c | (*p)->mm->min_flt, |
p | 497 | fs/proc/array.c | (*p)->mm->cmin_flt, |
p | 498 | fs/proc/array.c | (*p)->mm->maj_flt, |
p | 499 | fs/proc/array.c | (*p)->mm->cmaj_flt, |
p | 500 | fs/proc/array.c | (*p)->utime, |
p | 501 | fs/proc/array.c | (*p)->stime, |
p | 502 | fs/proc/array.c | (*p)->cutime, |
p | 503 | fs/proc/array.c | (*p)->cstime, |
p | 504 | fs/proc/array.c | (*p)->counter, /* this is the kernel priority --- |
p | 506 | fs/proc/array.c | (*p)->priority, /* this is the nice value --- |
p | 508 | fs/proc/array.c | (*p)->timeout, |
p | 509 | fs/proc/array.c | (*p)->it_real_value, |
p | 510 | fs/proc/array.c | (*p)->start_time, |
p | 512 | fs/proc/array.c | (*p)->mm->rss, /* you might want to shift this left 3 */ |
p | 513 | fs/proc/array.c | (*p)->rlim[RLIMIT_RSS].rlim_cur, |
p | 514 | fs/proc/array.c | (*p)->mm->start_code, |
p | 515 | fs/proc/array.c | (*p)->mm->end_code, |
p | 516 | fs/proc/array.c | (*p)->mm->start_stack, |
p | 519 | fs/proc/array.c | (*p)->signal, |
p | 520 | fs/proc/array.c | (*p)->blocked, |
p | 601 | fs/proc/array.c | struct task_struct ** p = get_task(pid); |
p | 604 | fs/proc/array.c | if (!p || !*p) |
p | 606 | fs/proc/array.c | if ((*p)->state != TASK_ZOMBIE) { |
p | 607 | fs/proc/array.c | struct vm_area_struct * vma = (*p)->mm->mmap; |
p | 610 | fs/proc/array.c | pgd_t *pgd = pgd_offset(*p, vma->vm_start); |
p | 660 | fs/proc/array.c | struct task_struct ** p = get_task(pid); |
p | 667 | fs/proc/array.c | if (!p || !*p) |
p | 678 | fs/proc/array.c | for (map = (*p)->mm->mmap, i = 0; map && (i < lineno); map = map->vm_next, i++) |
p | 738 | fs/proc/array.c | if (*p != current) |
p | 57 | fs/proc/fd.c | struct task_struct * p; |
p | 102 | fs/proc/fd.c | if ((p = task[i]) && p->pid == pid) |
p | 107 | fs/proc/fd.c | if (fd >= NR_OPEN || !p->files->fd[fd] || !p->files->fd[fd]->f_inode) |
p | 120 | fs/proc/fd.c | struct task_struct * p; |
p | 149 | fs/proc/fd.c | if ((p = task[i]) && p->pid == pid) |
p | 156 | fs/proc/fd.c | if (!p->files->fd[fd] || !p->files->fd[fd]->f_inode) |
p | 112 | fs/proc/inode.c | struct task_struct * p; |
p | 126 | fs/proc/inode.c | p = task[0]; |
p | 128 | fs/proc/inode.c | if ((p = task[i]) && (p->pid == pid)) |
p | 130 | fs/proc/inode.c | if (!p || i >= NR_TASKS) |
p | 197 | fs/proc/inode.c | inode->i_uid = p->euid; |
p | 198 | fs/proc/inode.c | inode->i_gid = p->egid; |
p | 239 | fs/proc/inode.c | if (ino >= NR_OPEN || !p->files->fd[ino]) |
p | 244 | fs/proc/inode.c | if (p->files->fd[ino]->f_mode & 1) |
p | 246 | fs/proc/inode.c | if (p->files->fd[ino]->f_mode & 2) |
p | 70 | fs/proc/link.c | struct task_struct * p; |
p | 84 | fs/proc/link.c | if ((p = task[i]) && p->pid == pid) |
p | 88 | fs/proc/link.c | ((ino >> 8) != 1) || !(new_f = p->files->fd[ino & 0x0ff])) |
p | 105 | fs/proc/link.c | struct task_struct * p; |
p | 122 | fs/proc/link.c | if ((p = task[i]) && p->pid == pid) |
p | 131 | fs/proc/link.c | new_inode = p->fs->pwd; |
p | 134 | fs/proc/link.c | new_inode = p->fs->root; |
p | 137 | fs/proc/link.c | struct vm_area_struct * vma = p->mm->mmap; |
p | 151 | fs/proc/link.c | if (ino < NR_OPEN && p->files->fd[ino]) { |
p | 158 | fs/proc/link.c | new_inode = p->files->fd[ino]->f_inode; |
p | 147 | fs/proc/root.c | struct task_struct * p; |
p | 172 | fs/proc/root.c | p = task[nr]; |
p | 173 | fs/proc/root.c | if (!p || !(pid = p->pid)) |
p | 48 | fs/select.c | static void free_wait(select_table * p) |
p | 50 | fs/select.c | struct select_table_entry * entry = p->entry + p->nr; |
p | 52 | fs/select.c | while (p->nr > 0) { |
p | 53 | fs/select.c | p->nr--; |
p | 209 | fs/sysv/file.c | char * p; |
p | 252 | fs/sysv/file.c | p = (pos & sb->sv_block_size_1) + bh->b_data; |
p | 259 | fs/sysv/file.c | memcpy_fromfs(p,buf,c); |
p | 645 | fs/sysv/inode.c | unsigned long *p; |
p | 649 | fs/sysv/inode.c | p = inode->u.sysv_i.i_data + nr; |
p | 651 | fs/sysv/inode.c | tmp = *p; |
p | 654 | fs/sysv/inode.c | if (tmp == *p) |
p | 665 | fs/sysv/inode.c | if (*p) { |
p | 670 | fs/sysv/inode.c | *p = tmp; |
p | 681 | fs/sysv/inode.c | sysv_zone_t *p; |
p | 695 | fs/sysv/inode.c | p = nr + (sysv_zone_t *) bh->b_data; |
p | 697 | fs/sysv/inode.c | block = tmp = *p; |
p | 702 | fs/sysv/inode.c | if (tmp == *p) { |
p | 719 | fs/sysv/inode.c | if (*p) { |
p | 724 | fs/sysv/inode.c | *p = (sb->sv_convert ? to_coh_ulong(block) : block); |
p | 779 | fs/sysv/inode.c | static inline unsigned long read3byte (char * p) |
p | 781 | fs/sysv/inode.c | return (unsigned long)(*(unsigned short *)p) |
p | 782 | fs/sysv/inode.c | | (unsigned long)(*(unsigned char *)(p+2)) << 16; |
p | 785 | fs/sysv/inode.c | static inline void write3byte (char * p, unsigned long val) |
p | 787 | fs/sysv/inode.c | *(unsigned short *)p = (unsigned short) val; |
p | 788 | fs/sysv/inode.c | *(unsigned char *)(p+2) = val >> 16; |
p | 791 | fs/sysv/inode.c | static inline unsigned long coh_read3byte (char * p) |
p | 793 | fs/sysv/inode.c | return (unsigned long)(*(unsigned char *)p) << 16 |
p | 794 | fs/sysv/inode.c | | (unsigned long)(*(unsigned short *)(p+1)); |
p | 797 | fs/sysv/inode.c | static inline void coh_write3byte (char * p, unsigned long val) |
p | 799 | fs/sysv/inode.c | *(unsigned char *)p = val >> 16; |
p | 800 | fs/sysv/inode.c | *(unsigned short *)(p+1) = (unsigned short) val; |
p | 48 | fs/sysv/truncate.c | unsigned long * p; |
p | 56 | fs/sysv/truncate.c | p = inode->u.sysv_i.i_data + i; |
p | 57 | fs/sysv/truncate.c | block = *p; |
p | 65 | fs/sysv/truncate.c | if ((bh && bh->b_count != 1) || (block != *p)) { |
p | 70 | fs/sysv/truncate.c | *p = 0; |
p | 78 | fs/sysv/truncate.c | static int trunc_indirect(struct inode * inode, unsigned long offset, unsigned long * p, int convert, unsigned char * dirt) |
p | 89 | fs/sysv/truncate.c | indblock = indtmp = *p; |
p | 96 | fs/sysv/truncate.c | if (indtmp != *p) { |
p | 101 | fs/sysv/truncate.c | *p = 0; |
p | 135 | fs/sysv/truncate.c | if ((indbh->b_count != 1) || (indtmp != *p)) { |
p | 139 | fs/sysv/truncate.c | *p = 0; |
p | 147 | fs/sysv/truncate.c | static int trunc_dindirect(struct inode * inode, unsigned long offset, unsigned long * p, int convert, unsigned char * dirt) |
p | 157 | fs/sysv/truncate.c | indblock = indtmp = *p; |
p | 164 | fs/sysv/truncate.c | if (indtmp != *p) { |
p | 169 | fs/sysv/truncate.c | *p = 0; |
p | 189 | fs/sysv/truncate.c | if ((indbh->b_count != 1) || (indtmp != *p)) { |
p | 193 | fs/sysv/truncate.c | *p = 0; |
p | 201 | fs/sysv/truncate.c | static int trunc_tindirect(struct inode * inode, unsigned long offset, unsigned long * p, int convert, unsigned char * dirt) |
p | 211 | fs/sysv/truncate.c | indblock = indtmp = *p; |
p | 218 | fs/sysv/truncate.c | if (indtmp != *p) { |
p | 223 | fs/sysv/truncate.c | *p = 0; |
p | 243 | fs/sysv/truncate.c | if ((indbh->b_count != 1) || (indtmp != *p)) { |
p | 247 | fs/sysv/truncate.c | *p = 0; |
p | 236 | fs/umsdos/inode.c | || inode->u.umsdos_i.u.dir_info.p != NULL)){ |
p | 240 | fs/umsdos/inode.c | ,inode->u.umsdos_i.u.dir_info.p)); |
p | 40 | fs/umsdos/namei.c | sleep_on(&dir->u.umsdos_i.u.dir_info.p); |
p | 51 | fs/umsdos/namei.c | sleep_on(&dir->u.umsdos_i.u.dir_info.p); |
p | 141 | fs/umsdos/namei.c | wake_up (&dir->u.umsdos_i.u.dir_info.p); |
p | 153 | fs/umsdos/namei.c | wake_up (&dir->u.umsdos_i.u.dir_info.p); |
p | 119 | include/asm-alpha/bitops.h | unsigned long * p = ((unsigned long *) addr) + (offset >> 6); |
p | 128 | include/asm-alpha/bitops.h | tmp = *(p++); |
p | 138 | include/asm-alpha/bitops.h | if (~(tmp = *(p++))) |
p | 145 | include/asm-alpha/bitops.h | tmp = *p; |
p | 86 | include/asm-alpha/system.h | #define switch_to(p) do { \ |
p | 87 | include/asm-alpha/system.h | current = p; \ |
p | 88 | include/asm-alpha/system.h | alpha_switch_to((unsigned long) &(p)->tss - 0xfffffc0000000000); \ |
p | 97 | include/asm-i386/bitops.h | unsigned long * p = ((unsigned long *) addr) + (offset >> 5); |
p | 110 | include/asm-i386/bitops.h | : "r" (~(*p >> bit))); |
p | 114 | include/asm-i386/bitops.h | p++; |
p | 119 | include/asm-i386/bitops.h | res = find_first_zero_bit (p, size - 32 * (p - (unsigned long *) addr)); |
p | 63 | include/asm-m68k/bitops.h | unsigned long *p; |
p | 80 | include/asm-m68k/bitops.h | : "=d" (res), "=a" (p) |
p | 83 | include/asm-m68k/bitops.h | return ((p - addr) << 5) + res; |
p | 90 | include/asm-m68k/bitops.h | unsigned long *p = addr + (offset >> 5); |
p | 97 | include/asm-m68k/bitops.h | : "d" (~*p << bit)); |
p | 101 | include/asm-m68k/bitops.h | p++; |
p | 104 | include/asm-m68k/bitops.h | res = find_first_zero_bit (p, size - 32 * (p - addr)); |
p | 185 | include/asm-mips/bitops.h | unsigned long * p = ((unsigned long *) addr) + (offset >> 5); |
p | 202 | include/asm-mips/bitops.h | : "r" (*p >> bit), |
p | 209 | include/asm-mips/bitops.h | p++; |
p | 214 | include/asm-mips/bitops.h | res = find_first_zero_bit (p, size - 32 * (p - (unsigned long *) addr)); |
p | 128 | include/asm-sparc/bitops.h | unsigned long *p = ((unsigned long *) addr) + (offset >> 6); |
p | 138 | include/asm-sparc/bitops.h | tmp = *(p++); |
p | 149 | include/asm-sparc/bitops.h | if (~(tmp = *(p++))) |
p | 156 | include/asm-sparc/bitops.h | tmp = *p; |
p | 19 | include/linux/binfmts.h | unsigned long p; |
p | 49 | include/linux/binfmts.h | extern unsigned long * create_tables(char * p,int argc,int envc,int ibcs); |
p | 51 | include/linux/binfmts.h | unsigned long p, int from_kmem); |
p | 261 | include/linux/sched.h | extern void sleep_on(struct wait_queue ** p); |
p | 262 | include/linux/sched.h | extern void interruptible_sleep_on(struct wait_queue ** p); |
p | 263 | include/linux/sched.h | extern void wake_up(struct wait_queue ** p); |
p | 264 | include/linux/sched.h | extern void wake_up_interruptible(struct wait_queue ** p); |
p | 267 | include/linux/sched.h | extern int send_sig(unsigned long sig,struct task_struct * p,int priv); |
p | 287 | include/linux/sched.h | extern inline void add_wait_queue(struct wait_queue ** p, struct wait_queue * wait) |
p | 301 | include/linux/sched.h | if (!*p) { |
p | 303 | include/linux/sched.h | *p = wait; |
p | 305 | include/linux/sched.h | wait->next = (*p)->next; |
p | 306 | include/linux/sched.h | (*p)->next = wait; |
p | 311 | include/linux/sched.h | extern inline void remove_wait_queue(struct wait_queue ** p, struct wait_queue * wait) |
p | 321 | include/linux/sched.h | if ((*p == wait) && |
p | 325 | include/linux/sched.h | ((*p = wait->next) == wait)) { |
p | 326 | include/linux/sched.h | *p = NULL; |
p | 332 | include/linux/sched.h | if (tmp == *p) |
p | 343 | include/linux/sched.h | printk("list = %08x, queue = %08x\n",(unsigned long) p, (unsigned long) wait); |
p | 350 | include/linux/sched.h | extern inline void select_wait(struct wait_queue ** wait_address, select_table * p) |
p | 354 | include/linux/sched.h | if (!p || !wait_address) |
p | 356 | include/linux/sched.h | if (p->nr >= __MAX_SELECT_TABLE_ENTRIES) |
p | 358 | include/linux/sched.h | entry = p->entry + p->nr; |
p | 363 | include/linux/sched.h | p->nr++; |
p | 384 | include/linux/sched.h | #define REMOVE_LINKS(p) do { unsigned long flags; \ |
p | 386 | include/linux/sched.h | (p)->next_task->prev_task = (p)->prev_task; \ |
p | 387 | include/linux/sched.h | (p)->prev_task->next_task = (p)->next_task; \ |
p | 389 | include/linux/sched.h | if ((p)->p_osptr) \ |
p | 390 | include/linux/sched.h | (p)->p_osptr->p_ysptr = (p)->p_ysptr; \ |
p | 391 | include/linux/sched.h | if ((p)->p_ysptr) \ |
p | 392 | include/linux/sched.h | (p)->p_ysptr->p_osptr = (p)->p_osptr; \ |
p | 394 | include/linux/sched.h | (p)->p_pptr->p_cptr = (p)->p_osptr; \ |
p | 397 | include/linux/sched.h | #define SET_LINKS(p) do { unsigned long flags; \ |
p | 399 | include/linux/sched.h | (p)->next_task = &init_task; \ |
p | 400 | include/linux/sched.h | (p)->prev_task = init_task.prev_task; \ |
p | 401 | include/linux/sched.h | init_task.prev_task->next_task = (p); \ |
p | 402 | include/linux/sched.h | init_task.prev_task = (p); \ |
p | 404 | include/linux/sched.h | (p)->p_ysptr = NULL; \ |
p | 405 | include/linux/sched.h | if (((p)->p_osptr = (p)->p_pptr->p_cptr) != NULL) \ |
p | 406 | include/linux/sched.h | (p)->p_osptr->p_ysptr = p; \ |
p | 407 | include/linux/sched.h | (p)->p_pptr->p_cptr = p; \ |
p | 410 | include/linux/sched.h | #define for_each_task(p) \ |
p | 411 | include/linux/sched.h | for (p = &init_task ; (p = p->next_task) != &init_task ; ) |
p | 141 | include/linux/tqueue.h | register struct tq_struct *p; |
p | 146 | include/linux/tqueue.h | p = xchg_ptr(list,&tq_last); |
p | 147 | include/linux/tqueue.h | if(p == &tq_last) |
p | 151 | include/linux/tqueue.h | arg = p -> data; |
p | 152 | include/linux/tqueue.h | f = p -> routine; |
p | 153 | include/linux/tqueue.h | save_p = p -> next; |
p | 154 | include/linux/tqueue.h | p -> sync = 0; |
p | 156 | include/linux/tqueue.h | p = save_p; |
p | 157 | include/linux/tqueue.h | } while(p != &tq_last); |
p | 108 | include/linux/ultrasound.h | #define GUS_VOICEFREQ(chn, voice, p) _GUS_CMD(chn, voice, _GUS_VOICEFREQ, \ |
p | 109 | include/linux/ultrasound.h | (p) & 0xffff, ((p) >> 16) & 0xffff) |
p | 118 | include/linux/ultrasound.h | #define GUS_VOICE_POS(chn, voice, p) _GUS_CMD(chn, voice, _GUS_VOICE_POS, \ |
p | 119 | include/linux/ultrasound.h | (p) & 0xffff, ((p) >> 16) & 0xffff) |
p | 48 | include/linux/umsdos_fs_i.h | struct wait_queue *p; |
p | 24 | kernel/exit.c | static int generate(unsigned long sig, struct task_struct * p) |
p | 27 | kernel/exit.c | struct sigaction * sa = sig + p->sigaction - 1; |
p | 30 | kernel/exit.c | if (p->flags & PF_PTRACED) { |
p | 31 | kernel/exit.c | p->signal |= mask; |
p | 41 | kernel/exit.c | p->signal |= mask; |
p | 45 | kernel/exit.c | int send_sig(unsigned long sig,struct task_struct * p,int priv) |
p | 47 | kernel/exit.c | if (!p || sig > 32) |
p | 49 | kernel/exit.c | if (!priv && ((sig != SIGCONT) || (current->session != p->session)) && |
p | 50 | kernel/exit.c | (current->euid != p->euid) && (current->euid != p->uid) && !suser()) |
p | 57 | kernel/exit.c | if (p->state == TASK_ZOMBIE) |
p | 60 | kernel/exit.c | if (p->state == TASK_STOPPED) |
p | 61 | kernel/exit.c | p->state = TASK_RUNNING; |
p | 62 | kernel/exit.c | p->exit_code = 0; |
p | 63 | kernel/exit.c | p->signal &= ~( (1<<(SIGSTOP-1)) | (1<<(SIGTSTP-1)) | |
p | 68 | kernel/exit.c | p->signal &= ~(1<<(SIGCONT-1)); |
p | 70 | kernel/exit.c | generate(sig,p); |
p | 82 | kernel/exit.c | void release(struct task_struct * p) |
p | 86 | kernel/exit.c | if (!p) |
p | 88 | kernel/exit.c | if (p == current) { |
p | 93 | kernel/exit.c | if (task[i] == p) { |
p | 96 | kernel/exit.c | REMOVE_LINKS(p); |
p | 97 | kernel/exit.c | if (STACK_MAGIC != *(unsigned long *)p->kernel_stack_page) |
p | 98 | kernel/exit.c | printk(KERN_ALERT "release: %s kernel stack corruption. Aiee\n", p->comm); |
p | 99 | kernel/exit.c | free_page(p->kernel_stack_page); |
p | 100 | kernel/exit.c | free_page((long) p); |
p | 111 | kernel/exit.c | int bad_task_ptr(struct task_struct *p) |
p | 115 | kernel/exit.c | if (!p) |
p | 118 | kernel/exit.c | if (task[i] == p) |
p | 206 | kernel/exit.c | struct task_struct *p; |
p | 210 | kernel/exit.c | for_each_task(p) { |
p | 211 | kernel/exit.c | if (p->session <= 0) |
p | 213 | kernel/exit.c | if (p->pgrp == pgrp) |
p | 214 | kernel/exit.c | return p->session; |
p | 215 | kernel/exit.c | if (p->pid == pgrp) |
p | 216 | kernel/exit.c | fallback = p->session; |
p | 227 | kernel/exit.c | struct task_struct *p; |
p | 233 | kernel/exit.c | for_each_task(p) { |
p | 234 | kernel/exit.c | if (p->pgrp == pgrp) { |
p | 235 | kernel/exit.c | if ((err = send_sig(sig,p,priv)) != 0) |
p | 251 | kernel/exit.c | struct task_struct *p; |
p | 257 | kernel/exit.c | for_each_task(p) { |
p | 258 | kernel/exit.c | if (p->session == sess && p->leader) { |
p | 259 | kernel/exit.c | if ((err = send_sig(sig,p,priv)) != 0) |
p | 270 | kernel/exit.c | struct task_struct *p; |
p | 274 | kernel/exit.c | for_each_task(p) { |
p | 275 | kernel/exit.c | if (p && p->pid == pid) |
p | 276 | kernel/exit.c | return send_sig(sig,p,priv); |
p | 292 | kernel/exit.c | struct task_struct * p; |
p | 293 | kernel/exit.c | for_each_task(p) { |
p | 294 | kernel/exit.c | if (p->pid > 1 && p != current) { |
p | 296 | kernel/exit.c | if ((err = send_sig(sig,p,0)) != -EPERM) |
p | 318 | kernel/exit.c | struct task_struct *p; |
p | 320 | kernel/exit.c | for_each_task(p) { |
p | 321 | kernel/exit.c | if ((p->pgrp != pgrp) || |
p | 322 | kernel/exit.c | (p->state == TASK_ZOMBIE) || |
p | 323 | kernel/exit.c | (p->p_pptr->pid == 1)) |
p | 325 | kernel/exit.c | if ((p->p_pptr->pgrp != pgrp) && |
p | 326 | kernel/exit.c | (p->p_pptr->session == p->session)) |
p | 334 | kernel/exit.c | struct task_struct * p; |
p | 336 | kernel/exit.c | for_each_task(p) { |
p | 337 | kernel/exit.c | if (p->pgrp != pgrp) |
p | 339 | kernel/exit.c | if (p->state == TASK_STOPPED) |
p | 347 | kernel/exit.c | struct task_struct * p; |
p | 349 | kernel/exit.c | for_each_task(p) { |
p | 350 | kernel/exit.c | if (p->p_opptr == father) |
p | 352 | kernel/exit.c | p->p_opptr = task[1]; |
p | 354 | kernel/exit.c | p->p_opptr = task[0]; |
p | 377 | kernel/exit.c | struct task_struct *p; |
p | 419 | kernel/exit.c | while ((p = current->p_cptr) != NULL) { |
p | 420 | kernel/exit.c | current->p_cptr = p->p_osptr; |
p | 421 | kernel/exit.c | p->p_ysptr = NULL; |
p | 422 | kernel/exit.c | p->flags &= ~(PF_PTRACED|PF_TRACESYS); |
p | 424 | kernel/exit.c | p->p_pptr = task[1]; |
p | 426 | kernel/exit.c | p->p_pptr = task[0]; |
p | 427 | kernel/exit.c | p->p_osptr = p->p_pptr->p_cptr; |
p | 428 | kernel/exit.c | p->p_osptr->p_ysptr = p; |
p | 429 | kernel/exit.c | p->p_pptr->p_cptr = p; |
p | 430 | kernel/exit.c | if (p->state == TASK_ZOMBIE) |
p | 431 | kernel/exit.c | notify_parent(p); |
p | 438 | kernel/exit.c | if ((p->pgrp != current->pgrp) && |
p | 439 | kernel/exit.c | (p->session == current->session) && |
p | 440 | kernel/exit.c | is_orphaned_pgrp(p->pgrp) && |
p | 441 | kernel/exit.c | has_stopped_jobs(p->pgrp)) { |
p | 442 | kernel/exit.c | kill_pg(p->pgrp,SIGHUP,1); |
p | 443 | kernel/exit.c | kill_pg(p->pgrp,SIGCONT,1); |
p | 486 | kernel/exit.c | struct task_struct *p; |
p | 496 | kernel/exit.c | for (p = current->p_cptr ; p ; p = p->p_osptr) { |
p | 498 | kernel/exit.c | if (p->pid != pid) |
p | 501 | kernel/exit.c | if (p->pgrp != current->pgrp) |
p | 504 | kernel/exit.c | if (p->pgrp != -pid) |
p | 508 | kernel/exit.c | if ((p->exit_signal != SIGCHLD) ^ ((options & __WCLONE) != 0)) |
p | 511 | kernel/exit.c | switch (p->state) { |
p | 513 | kernel/exit.c | if (!p->exit_code) |
p | 515 | kernel/exit.c | if (!(options & WUNTRACED) && !(p->flags & PF_PTRACED)) |
p | 518 | kernel/exit.c | put_fs_long((p->exit_code << 8) | 0x7f, |
p | 520 | kernel/exit.c | p->exit_code = 0; |
p | 522 | kernel/exit.c | getrusage(p, RUSAGE_BOTH, ru); |
p | 523 | kernel/exit.c | retval = p->pid; |
p | 526 | kernel/exit.c | current->cutime += p->utime + p->cutime; |
p | 527 | kernel/exit.c | current->cstime += p->stime + p->cstime; |
p | 528 | kernel/exit.c | current->mm->cmin_flt += p->mm->min_flt + p->mm->cmin_flt; |
p | 529 | kernel/exit.c | current->mm->cmaj_flt += p->mm->maj_flt + p->mm->cmaj_flt; |
p | 531 | kernel/exit.c | getrusage(p, RUSAGE_BOTH, ru); |
p | 532 | kernel/exit.c | flag = p->pid; |
p | 534 | kernel/exit.c | put_fs_long(p->exit_code, stat_addr); |
p | 535 | kernel/exit.c | if (p->p_opptr != p->p_pptr) { |
p | 536 | kernel/exit.c | REMOVE_LINKS(p); |
p | 537 | kernel/exit.c | p->p_pptr = p->p_opptr; |
p | 538 | kernel/exit.c | SET_LINKS(p); |
p | 539 | kernel/exit.c | notify_parent(p); |
p | 541 | kernel/exit.c | release(p); |
p | 87 | kernel/fork.c | struct vm_area_struct * mpnt, **p, *tmp; |
p | 90 | kernel/fork.c | p = &tsk->mm->mmap; |
p | 109 | kernel/fork.c | *p = tmp; |
p | 110 | kernel/fork.c | p = &tmp->vm_next; |
p | 119 | kernel/fork.c | static void copy_files(unsigned long clone_flags, struct task_struct * p) |
p | 126 | kernel/fork.c | if ((f = p->files->fd[i]) != NULL) |
p | 127 | kernel/fork.c | p->files->fd[i] = copy_fd(f); |
p | 130 | kernel/fork.c | if ((f = p->files->fd[i]) != NULL) |
p | 139 | kernel/fork.c | static int copy_mm(unsigned long clone_flags, struct task_struct * p) |
p | 142 | kernel/fork.c | p->mm->min_flt = p->mm->maj_flt = 0; |
p | 143 | kernel/fork.c | p->mm->cmin_flt = p->mm->cmaj_flt = 0; |
p | 144 | kernel/fork.c | if (copy_page_tables(p)) |
p | 146 | kernel/fork.c | return dup_mmap(p); |
p | 148 | kernel/fork.c | if (clone_page_tables(p)) |
p | 150 | kernel/fork.c | return dup_mmap(p); /* wrong.. */ |
p | 154 | kernel/fork.c | static void copy_fs(unsigned long clone_flags, struct task_struct * p) |
p | 171 | kernel/fork.c | struct task_struct *p; |
p | 173 | kernel/fork.c | if(!(p = (struct task_struct*)__get_free_page(GFP_KERNEL))) |
p | 182 | kernel/fork.c | *p = *current; |
p | 184 | kernel/fork.c | if (p->exec_domain && p->exec_domain->use_count) |
p | 185 | kernel/fork.c | (*p->exec_domain->use_count)++; |
p | 186 | kernel/fork.c | if (p->binfmt && p->binfmt->use_count) |
p | 187 | kernel/fork.c | (*p->binfmt->use_count)++; |
p | 189 | kernel/fork.c | p->did_exec = 0; |
p | 190 | kernel/fork.c | p->kernel_stack_page = new_stack; |
p | 191 | kernel/fork.c | *(unsigned long *) p->kernel_stack_page = STACK_MAGIC; |
p | 192 | kernel/fork.c | p->state = TASK_UNINTERRUPTIBLE; |
p | 193 | kernel/fork.c | p->flags &= ~(PF_PTRACED|PF_TRACESYS); |
p | 194 | kernel/fork.c | p->pid = last_pid; |
p | 195 | kernel/fork.c | p->p_pptr = p->p_opptr = current; |
p | 196 | kernel/fork.c | p->p_cptr = NULL; |
p | 197 | kernel/fork.c | p->signal = 0; |
p | 198 | kernel/fork.c | p->it_real_value = p->it_virt_value = p->it_prof_value = 0; |
p | 199 | kernel/fork.c | p->it_real_incr = p->it_virt_incr = p->it_prof_incr = 0; |
p | 200 | kernel/fork.c | p->leader = 0; /* process leadership doesn't inherit */ |
p | 201 | kernel/fork.c | p->tty_old_pgrp = 0; |
p | 202 | kernel/fork.c | p->utime = p->stime = 0; |
p | 203 | kernel/fork.c | p->cutime = p->cstime = 0; |
p | 204 | kernel/fork.c | p->start_time = jiffies; |
p | 205 | kernel/fork.c | p->mm->swappable = 0; /* don't try to swap it out before it's set up */ |
p | 206 | kernel/fork.c | task[nr] = p; |
p | 207 | kernel/fork.c | SET_LINKS(p); |
p | 211 | kernel/fork.c | copy_thread(nr, clone_flags, usp, p, regs); |
p | 212 | kernel/fork.c | if (copy_mm(clone_flags, p)) |
p | 214 | kernel/fork.c | p->semundo = NULL; |
p | 215 | kernel/fork.c | copy_files(clone_flags, p); |
p | 216 | kernel/fork.c | copy_fs(clone_flags, p); |
p | 219 | kernel/fork.c | p->mm->swappable = 1; |
p | 220 | kernel/fork.c | p->exit_signal = clone_flags & CSIGNAL; |
p | 221 | kernel/fork.c | p->counter = current->counter >> 1; |
p | 222 | kernel/fork.c | p->state = TASK_RUNNING; /* do this last, just in case */ |
p | 223 | kernel/fork.c | return p->pid; |
p | 226 | kernel/fork.c | REMOVE_LINKS(p); |
p | 230 | kernel/fork.c | free_page((long) p); |
p | 21 | kernel/info.c | struct task_struct **p; |
p | 34 | kernel/info.c | for (p = &LAST_TASK; p > &FIRST_TASK; p--) |
p | 35 | kernel/info.c | if (*p) val.procs++; |
p | 511 | kernel/module.c | char *p; |
p | 518 | kernel/module.c | p = buf; |
p | 521 | kernel/module.c | if (p - buf > 4096 - 100) |
p | 526 | kernel/module.c | *p++ = *q++; |
p | 534 | kernel/module.c | *p++ = ' '; |
p | 537 | kernel/module.c | *p++ = *q++; |
p | 547 | kernel/module.c | *p++ = *q++; |
p | 550 | kernel/module.c | *p++ = '\t'; |
p | 551 | kernel/module.c | *p++ = '['; |
p | 555 | kernel/module.c | *p++ = *q++; |
p | 557 | kernel/module.c | *p++ = ' '; |
p | 559 | kernel/module.c | *p++ = ']'; |
p | 561 | kernel/module.c | *p++ = '\n'; |
p | 563 | kernel/module.c | return p - buf; |
p | 575 | kernel/module.c | char *p = buf; |
p | 584 | kernel/module.c | if (p - buf > 4096 - 100) { |
p | 585 | kernel/module.c | strcat(p, "...\n"); |
p | 586 | kernel/module.c | p += strlen(p); |
p | 587 | kernel/module.c | return p - buf; /* avoid overflowing buffer */ |
p | 591 | kernel/module.c | sprintf(p, "%08lx %s\t[%s]\n", |
p | 595 | kernel/module.c | sprintf(p, "%08lx %s\n", |
p | 598 | kernel/module.c | p += strlen(p); |
p | 603 | kernel/module.c | return p - buf; |
p | 146 | kernel/printk.c | char *msg, *p, *buf_end; |
p | 156 | kernel/printk.c | for (p = buf + 3; p < buf_end; p++) { |
p | 157 | kernel/printk.c | msg = p; |
p | 160 | kernel/printk.c | p[0] != '<' || |
p | 161 | kernel/printk.c | p[1] < '0' || |
p | 162 | kernel/printk.c | p[1] > '7' || |
p | 163 | kernel/printk.c | p[2] != '>' |
p | 165 | kernel/printk.c | p -= 3; |
p | 166 | kernel/printk.c | p[0] = '<'; |
p | 167 | kernel/printk.c | p[1] = DEFAULT_MESSAGE_LOGLEVEL - 1 + '0'; |
p | 168 | kernel/printk.c | p[2] = '>'; |
p | 171 | kernel/printk.c | msg_level = p[1] - '0'; |
p | 173 | kernel/printk.c | for (; p < buf_end; p++) { |
p | 174 | kernel/printk.c | log_buf[(log_start+log_size) & (LOG_BUF_LEN-1)] = *p; |
p | 182 | kernel/printk.c | if (*p == '\n') |
p | 186 | kernel/printk.c | char tmp = p[1]; |
p | 187 | kernel/printk.c | p[1] = '\0'; |
p | 189 | kernel/printk.c | p[1] = tmp; |
p | 191 | kernel/printk.c | if (*p == '\n') |
p | 208 | kernel/printk.c | int p = log_start; |
p | 216 | kernel/printk.c | buf[j++] = log_buf[p]; |
p | 217 | kernel/printk.c | p++; p &= LOG_BUF_LEN-1; |
p | 33 | kernel/resource.c | resource_entry_t *p; |
p | 36 | kernel/resource.c | for (p = iolist.next; (p) && (len < 4000); p = p->next) |
p | 38 | kernel/resource.c | p->from, p->from+p->num-1, p->name); |
p | 39 | kernel/resource.c | if (p) |
p | 51 | kernel/resource.c | resource_entry_t *p; |
p | 57 | kernel/resource.c | for (p = root; ; p = p->next) { |
p | 58 | kernel/resource.c | if ((p != root) && (p->from+p->num-1 >= from)) { |
p | 59 | kernel/resource.c | p = NULL; |
p | 62 | kernel/resource.c | if ((p->next == NULL) || (p->next->from > from+num-1)) |
p | 66 | kernel/resource.c | return p; |
p | 74 | kernel/resource.c | resource_entry_t *p; |
p | 83 | kernel/resource.c | p = find_gap(&iolist, from, num); |
p | 84 | kernel/resource.c | if (p == NULL) |
p | 89 | kernel/resource.c | iotable[i].next = p->next; |
p | 90 | kernel/resource.c | p->next = &iotable[i]; |
p | 109 | kernel/resource.c | resource_entry_t *p, *q; |
p | 111 | kernel/resource.c | for (p = &iolist; ; p = q) { |
p | 112 | kernel/resource.c | q = p->next; |
p | 117 | kernel/resource.c | p->next = q->next; |
p | 112 | kernel/sched.c | struct task_struct * p; |
p | 129 | kernel/sched.c | p = &init_task; |
p | 131 | kernel/sched.c | if ((p = p->next_task) == &init_task) |
p | 133 | kernel/sched.c | if (ticks && p->it_real_value) { |
p | 134 | kernel/sched.c | if (p->it_real_value <= ticks) { |
p | 135 | kernel/sched.c | send_sig(SIGALRM, p, 1); |
p | 136 | kernel/sched.c | if (!p->it_real_incr) { |
p | 137 | kernel/sched.c | p->it_real_value = 0; |
p | 141 | kernel/sched.c | p->it_real_value += p->it_real_incr; |
p | 142 | kernel/sched.c | } while (p->it_real_value <= ticks); |
p | 144 | kernel/sched.c | p->it_real_value -= ticks; |
p | 145 | kernel/sched.c | if (p->it_real_value < itimer_next) |
p | 146 | kernel/sched.c | itimer_next = p->it_real_value; |
p | 149 | kernel/sched.c | if (p->state != TASK_INTERRUPTIBLE) |
p | 151 | kernel/sched.c | if (p->signal & ~p->blocked) { |
p | 152 | kernel/sched.c | p->state = TASK_RUNNING; |
p | 155 | kernel/sched.c | if (p->timeout && p->timeout <= jiffies) { |
p | 156 | kernel/sched.c | p->timeout = 0; |
p | 157 | kernel/sched.c | p->state = TASK_RUNNING; |
p | 174 | kernel/sched.c | next = p = &init_task; |
p | 176 | kernel/sched.c | if ((p = p->next_task) == &init_task) |
p | 178 | kernel/sched.c | if (p->state == TASK_RUNNING) { |
p | 180 | kernel/sched.c | if (p->counter > c) |
p | 181 | kernel/sched.c | c = p->counter, next = p; |
p | 186 | kernel/sched.c | for_each_task(p) |
p | 187 | kernel/sched.c | p->counter = (p->counter >> 1) + p->priority; |
p | 213 | kernel/sched.c | struct task_struct * p; |
p | 218 | kernel/sched.c | if ((p = tmp->task) != NULL) { |
p | 219 | kernel/sched.c | if ((p->state == TASK_UNINTERRUPTIBLE) || |
p | 220 | kernel/sched.c | (p->state == TASK_INTERRUPTIBLE)) { |
p | 221 | kernel/sched.c | p->state = TASK_RUNNING; |
p | 222 | kernel/sched.c | if (p->counter > current->counter + 3) |
p | 241 | kernel/sched.c | struct task_struct * p; |
p | 246 | kernel/sched.c | if ((p = tmp->task) != NULL) { |
p | 247 | kernel/sched.c | if (p->state == TASK_INTERRUPTIBLE) { |
p | 248 | kernel/sched.c | p->state = TASK_RUNNING; |
p | 249 | kernel/sched.c | if (p->counter > current->counter + 3) |
p | 278 | kernel/sched.c | static inline void __sleep_on(struct wait_queue **p, int state) |
p | 283 | kernel/sched.c | if (!p) |
p | 288 | kernel/sched.c | add_wait_queue(p, &wait); |
p | 292 | kernel/sched.c | remove_wait_queue(p, &wait); |
p | 296 | kernel/sched.c | void interruptible_sleep_on(struct wait_queue **p) |
p | 298 | kernel/sched.c | __sleep_on(p,TASK_INTERRUPTIBLE); |
p | 301 | kernel/sched.c | void sleep_on(struct wait_queue **p) |
p | 303 | kernel/sched.c | __sleep_on(p,TASK_UNINTERRUPTIBLE); |
p | 316 | kernel/sched.c | struct timer_list *p; |
p | 325 | kernel/sched.c | p = &timer_head; |
p | 330 | kernel/sched.c | p = p->next; |
p | 331 | kernel/sched.c | } while (timer->expires > p->expires); |
p | 332 | kernel/sched.c | timer->next = p; |
p | 333 | kernel/sched.c | timer->prev = p->prev; |
p | 334 | kernel/sched.c | p->prev = timer; |
p | 343 | kernel/sched.c | struct timer_list * p; |
p | 345 | kernel/sched.c | p = &timer_head; |
p | 348 | kernel/sched.c | while ((p = p->next) != &timer_head) { |
p | 349 | kernel/sched.c | if (p == timer) { |
p | 395 | kernel/sched.c | struct task_struct **p; |
p | 398 | kernel/sched.c | for(p = &LAST_TASK; p > &FIRST_TASK; --p) |
p | 399 | kernel/sched.c | if (*p && ((*p)->state == TASK_RUNNING || |
p | 400 | kernel/sched.c | (*p)->state == TASK_UNINTERRUPTIBLE || |
p | 401 | kernel/sched.c | (*p)->state == TASK_SWAPPING)) |
p | 731 | kernel/sched.c | static void show_task(int nr,struct task_struct * p) |
p | 736 | kernel/sched.c | printk("%-8s %3d ", p->comm, (p == current) ? -nr : nr); |
p | 737 | kernel/sched.c | if (((unsigned) p->state) < sizeof(stat_nam)/sizeof(char *)) |
p | 738 | kernel/sched.c | printk(stat_nam[p->state]); |
p | 742 | kernel/sched.c | if (p == current) |
p | 745 | kernel/sched.c | printk(" %08lX ", ((unsigned long *)p->tss.esp)[3]); |
p | 748 | kernel/sched.c | if (((unsigned long *)p->kernel_stack_page)[free]) |
p | 751 | kernel/sched.c | printk("%5lu %5d %6d ", free << 2, p->pid, p->p_pptr->pid); |
p | 752 | kernel/sched.c | if (p->p_cptr) |
p | 753 | kernel/sched.c | printk("%5d ", p->p_cptr->pid); |
p | 756 | kernel/sched.c | if (p->p_ysptr) |
p | 757 | kernel/sched.c | printk("%7d", p->p_ysptr->pid); |
p | 760 | kernel/sched.c | if (p->p_osptr) |
p | 761 | kernel/sched.c | printk(" %5d\n", p->p_osptr->pid); |
p | 95 | kernel/signal.c | struct sigaction *p; |
p | 97 | kernel/signal.c | p = signum - 1 + current->sigaction; |
p | 98 | kernel/signal.c | if (p->sa_handler == SIG_IGN) { |
p | 104 | kernel/signal.c | if (p->sa_handler == SIG_DFL) { |
p | 139 | kernel/signal.c | struct sigaction new_sa, *p; |
p | 145 | kernel/signal.c | p = signum - 1 + current->sigaction; |
p | 167 | kernel/signal.c | memcpy_tofs(oldaction, p, sizeof(struct sigaction)); |
p | 170 | kernel/signal.c | *p = new_sa; |
p | 38 | kernel/sys.c | static int proc_sel(struct task_struct *p, int which, int who) |
p | 42 | kernel/sys.c | if (!who && p == current) |
p | 44 | kernel/sys.c | return(p->pid == who); |
p | 48 | kernel/sys.c | return(p->pgrp == who); |
p | 52 | kernel/sys.c | return(p->uid == who); |
p | 59 | kernel/sys.c | struct task_struct **p; |
p | 69 | kernel/sys.c | for(p = &LAST_TASK; p > &FIRST_TASK; --p) { |
p | 70 | kernel/sys.c | if (!*p || !proc_sel(*p, which, who)) |
p | 72 | kernel/sys.c | if ((*p)->uid != current->euid && |
p | 73 | kernel/sys.c | (*p)->uid != current->uid && !suser()) { |
p | 79 | kernel/sys.c | if (priority > (*p)->priority && !suser()) |
p | 82 | kernel/sys.c | (*p)->priority = priority; |
p | 89 | kernel/sys.c | struct task_struct **p; |
p | 95 | kernel/sys.c | for(p = &LAST_TASK; p > &FIRST_TASK; --p) { |
p | 96 | kernel/sys.c | if (!*p || !proc_sel(*p, which, who)) |
p | 98 | kernel/sys.c | if ((*p)->priority > max_prio) |
p | 99 | kernel/sys.c | max_prio = (*p)->priority; |
p | 456 | kernel/sys.c | struct task_struct * p; |
p | 464 | kernel/sys.c | for_each_task(p) { |
p | 465 | kernel/sys.c | if (p->pid == pid) |
p | 471 | kernel/sys.c | if (p->p_pptr == current || p->p_opptr == current) { |
p | 472 | kernel/sys.c | if (p->session != current->session) |
p | 474 | kernel/sys.c | if (p->did_exec) |
p | 476 | kernel/sys.c | } else if (p != current) |
p | 478 | kernel/sys.c | if (p->leader) |
p | 491 | kernel/sys.c | p->pgrp = pgid; |
p | 497 | kernel/sys.c | struct task_struct * p; |
p | 501 | kernel/sys.c | for_each_task(p) { |
p | 502 | kernel/sys.c | if (p->pid == pid) |
p | 503 | kernel/sys.c | return p->pgrp; |
p | 720 | kernel/sys.c | int getrusage(struct task_struct *p, int who, struct rusage *ru) |
p | 731 | kernel/sys.c | r.ru_utime.tv_sec = CT_TO_SECS(p->utime); |
p | 732 | kernel/sys.c | r.ru_utime.tv_usec = CT_TO_USECS(p->utime); |
p | 733 | kernel/sys.c | r.ru_stime.tv_sec = CT_TO_SECS(p->stime); |
p | 734 | kernel/sys.c | r.ru_stime.tv_usec = CT_TO_USECS(p->stime); |
p | 735 | kernel/sys.c | r.ru_minflt = p->mm->min_flt; |
p | 736 | kernel/sys.c | r.ru_majflt = p->mm->maj_flt; |
p | 739 | kernel/sys.c | r.ru_utime.tv_sec = CT_TO_SECS(p->cutime); |
p | 740 | kernel/sys.c | r.ru_utime.tv_usec = CT_TO_USECS(p->cutime); |
p | 741 | kernel/sys.c | r.ru_stime.tv_sec = CT_TO_SECS(p->cstime); |
p | 742 | kernel/sys.c | r.ru_stime.tv_usec = CT_TO_USECS(p->cstime); |
p | 743 | kernel/sys.c | r.ru_minflt = p->mm->cmin_flt; |
p | 744 | kernel/sys.c | r.ru_majflt = p->mm->cmaj_flt; |
p | 747 | kernel/sys.c | r.ru_utime.tv_sec = CT_TO_SECS(p->utime + p->cutime); |
p | 748 | kernel/sys.c | r.ru_utime.tv_usec = CT_TO_USECS(p->utime + p->cutime); |
p | 749 | kernel/sys.c | r.ru_stime.tv_sec = CT_TO_SECS(p->stime + p->cstime); |
p | 750 | kernel/sys.c | r.ru_stime.tv_usec = CT_TO_USECS(p->stime + p->cstime); |
p | 751 | kernel/sys.c | r.ru_minflt = p->mm->min_flt + p->mm->cmin_flt; |
p | 752 | kernel/sys.c | r.ru_majflt = p->mm->maj_flt + p->mm->cmaj_flt; |
p | 118 | lib/string.c | const char *p; |
p | 122 | lib/string.c | for (p = s; *p != '\0'; ++p) { |
p | 124 | lib/string.c | if (*p == *a) |
p | 234 | lib/string.c | unsigned char * p = (unsigned char *) addr; |
p | 237 | lib/string.c | if (*p == c) |
p | 238 | lib/string.c | return (void *) p; |
p | 239 | lib/string.c | p++; |
p | 242 | lib/string.c | return (void *) p; |
p | 38 | mm/filemap.c | int i, *p; |
p | 44 | mm/filemap.c | p = nr; |
p | 46 | mm/filemap.c | *p = bmap(inode,block); |
p | 49 | mm/filemap.c | p++; |
p | 64 | mm/kmalloc.c | #define BH(p) ((struct block_header *)(p)) |
p | 78 | mm/kmalloc.c | #define PAGE_DESC(p) ((struct page_descriptor *)(((unsigned long)(p)) & PAGE_MASK)) |
p | 169 | mm/kmalloc.c | struct block_header *p; |
p | 202 | mm/kmalloc.c | (p = page->firstfree)) |
p | 204 | mm/kmalloc.c | if (p->bh_flags == MF_FREE) |
p | 206 | mm/kmalloc.c | page->firstfree = p->bh_next; |
p | 220 | mm/kmalloc.c | p->bh_flags = MF_USED; /* As of now this block is officially in use */ |
p | 221 | mm/kmalloc.c | p->bh_length = size; |
p | 222 | mm/kmalloc.c | return p+1; /* Pointer arithmetic: increments past header */ |
p | 224 | mm/kmalloc.c | printk ("Problem: block on freelist at %08lx isn't free.\n",(long)p); |
p | 254 | mm/kmalloc.c | for (i=NBLOCKS(order),p=BH (page+1);i > 1;i--,p=p->bh_next) |
p | 256 | mm/kmalloc.c | p->bh_flags = MF_FREE; |
p | 257 | mm/kmalloc.c | p->bh_next = BH ( ((long)p)+sz); |
p | 260 | mm/kmalloc.c | p->bh_flags = MF_FREE; |
p | 261 | mm/kmalloc.c | p->bh_next = NULL; |
p | 304 | mm/kmalloc.c | register struct block_header *p=((struct block_header *)ptr) -1; |
p | 307 | mm/kmalloc.c | page = PAGE_DESC (p); |
p | 312 | mm/kmalloc.c | (p->bh_flags != MF_USED)) |
p | 315 | mm/kmalloc.c | p, page->next, page->order); |
p | 319 | mm/kmalloc.c | size != p->bh_length) |
p | 322 | mm/kmalloc.c | p,size,p->bh_length); |
p | 325 | mm/kmalloc.c | size = p->bh_length; |
p | 326 | mm/kmalloc.c | p->bh_flags = MF_FREE; /* As of now this block is officially free */ |
p | 329 | mm/kmalloc.c | p->bh_next = page->firstfree; |
p | 330 | mm/kmalloc.c | page->firstfree = p; |
p | 829 | mm/mmap.c | struct vm_area_struct **p, *mpnt; |
p | 831 | mm/mmap.c | p = &t->mm->mmap; |
p | 832 | mm/mmap.c | while ((mpnt = *p) != NULL) { |
p | 837 | mm/mmap.c | p = &mpnt->vm_next; |
p | 840 | mm/mmap.c | *p = vmp; |
p | 77 | mm/swap.c | struct swap_info_struct * p = &swap_info[SWP_TYPE(entry)]; |
p | 82 | mm/swap.c | if ((p->flags & SWP_WRITEOK) == SWP_WRITEOK) { |
p | 110 | mm/swap.c | struct swap_info_struct * p; |
p | 117 | mm/swap.c | p = &swap_info[type]; |
p | 119 | mm/swap.c | if (offset >= p->max) { |
p | 123 | mm/swap.c | if (p->swap_map && !p->swap_map[offset]) { |
p | 127 | mm/swap.c | if (!(p->flags & SWP_USED)) { |
p | 131 | mm/swap.c | while (set_bit(offset,p->swap_lockmap)) |
p | 137 | mm/swap.c | if (p->swap_device) { |
p | 138 | mm/swap.c | ll_rw_page(rw,p->swap_device,offset,buf); |
p | 139 | mm/swap.c | } else if (p->swap_file) { |
p | 140 | mm/swap.c | struct inode *swapf = p->swap_file; |
p | 180 | mm/swap.c | if (offset && !clear_bit(offset,p->swap_lockmap)) |
p | 187 | mm/swap.c | struct swap_info_struct * p; |
p | 190 | mm/swap.c | p = swap_info; |
p | 191 | mm/swap.c | for (type = 0 ; type < nr_swapfiles ; type++,p++) { |
p | 192 | mm/swap.c | if ((p->flags & SWP_WRITEOK) != SWP_WRITEOK) |
p | 194 | mm/swap.c | for (offset = p->lowest_bit; offset <= p->highest_bit ; offset++) { |
p | 195 | mm/swap.c | if (p->swap_map[offset]) |
p | 197 | mm/swap.c | if (test_bit(offset, p->swap_lockmap)) |
p | 199 | mm/swap.c | p->swap_map[offset] = 1; |
p | 201 | mm/swap.c | if (offset == p->highest_bit) |
p | 202 | mm/swap.c | p->highest_bit--; |
p | 203 | mm/swap.c | p->lowest_bit = offset; |
p | 212 | mm/swap.c | struct swap_info_struct * p; |
p | 225 | mm/swap.c | p = type + swap_info; |
p | 226 | mm/swap.c | if (offset >= p->max) { |
p | 230 | mm/swap.c | if (!p->swap_map[offset]) { |
p | 234 | mm/swap.c | p->swap_map[offset]++; |
p | 240 | mm/swap.c | struct swap_info_struct * p; |
p | 252 | mm/swap.c | p = & swap_info[type]; |
p | 254 | mm/swap.c | if (offset >= p->max) { |
p | 258 | mm/swap.c | if (!(p->flags & SWP_USED)) { |
p | 262 | mm/swap.c | if (offset < p->lowest_bit) |
p | 263 | mm/swap.c | p->lowest_bit = offset; |
p | 264 | mm/swap.c | if (offset > p->highest_bit) |
p | 265 | mm/swap.c | p->highest_bit = offset; |
p | 266 | mm/swap.c | if (!p->swap_map[offset]) |
p | 269 | mm/swap.c | if (!--p->swap_map[offset]) |
p | 487 | mm/swap.c | static int swap_out_process(struct task_struct * p) |
p | 495 | mm/swap.c | address = p->mm->swap_address; |
p | 496 | mm/swap.c | p->mm->swap_address = 0; |
p | 501 | mm/swap.c | vma = find_vma(p, address); |
p | 508 | mm/swap.c | int result = swap_out_vma(vma, pgd_offset(p, address), address); |
p | 516 | mm/swap.c | p->mm->swap_address = 0; |
p | 524 | mm/swap.c | struct task_struct *p; |
p | 542 | mm/swap.c | p = task[swap_task]; |
p | 543 | mm/swap.c | if (p && p->mm->swappable && p->mm->rss) |
p | 552 | mm/swap.c | if (!p->mm->swap_cnt) { |
p | 553 | mm/swap.c | p->mm->dec_flt = (p->mm->dec_flt * 3) / 4 + p->mm->maj_flt - p->mm->old_maj_flt; |
p | 554 | mm/swap.c | p->mm->old_maj_flt = p->mm->maj_flt; |
p | 556 | mm/swap.c | if (p->mm->dec_flt >= SWAP_RATIO / SWAP_MIN) { |
p | 557 | mm/swap.c | p->mm->dec_flt = SWAP_RATIO / SWAP_MIN; |
p | 558 | mm/swap.c | p->mm->swap_cnt = SWAP_MIN; |
p | 559 | mm/swap.c | } else if (p->mm->dec_flt <= SWAP_RATIO / SWAP_MAX) |
p | 560 | mm/swap.c | p->mm->swap_cnt = SWAP_MAX; |
p | 562 | mm/swap.c | p->mm->swap_cnt = SWAP_RATIO / p->mm->dec_flt; |
p | 564 | mm/swap.c | if (!--p->mm->swap_cnt) |
p | 566 | mm/swap.c | switch (swap_out_process(p)) { |
p | 568 | mm/swap.c | if (p->mm->swap_cnt) |
p | 936 | mm/swap.c | static int unuse_process(struct task_struct * p, unsigned int type, unsigned long page) |
p | 943 | mm/swap.c | vma = p->mm->mmap; |
p | 945 | mm/swap.c | pgd_t * pgd = pgd_offset(p, vma->vm_start); |
p | 983 | mm/swap.c | struct swap_info_struct * p; |
p | 994 | mm/swap.c | p = swap_info; |
p | 995 | mm/swap.c | for (type = 0 ; type < nr_swapfiles ; type++,p++) { |
p | 996 | mm/swap.c | if ((p->flags & SWP_WRITEOK) != SWP_WRITEOK) |
p | 998 | mm/swap.c | if (p->swap_file) { |
p | 999 | mm/swap.c | if (p->swap_file == inode) |
p | 1004 | mm/swap.c | if (p->swap_device == inode->i_rdev) |
p | 1013 | mm/swap.c | p->flags = SWP_USED; |
p | 1017 | mm/swap.c | p->flags = SWP_WRITEOK; |
p | 1021 | mm/swap.c | if(p->swap_device){ |
p | 1034 | mm/swap.c | nr_swap_pages -= p->pages; |
p | 1035 | mm/swap.c | iput(p->swap_file); |
p | 1036 | mm/swap.c | p->swap_file = NULL; |
p | 1037 | mm/swap.c | p->swap_device = 0; |
p | 1038 | mm/swap.c | vfree(p->swap_map); |
p | 1039 | mm/swap.c | p->swap_map = NULL; |
p | 1040 | mm/swap.c | free_page((long) p->swap_lockmap); |
p | 1041 | mm/swap.c | p->swap_lockmap = NULL; |
p | 1042 | mm/swap.c | p->flags = 0; |
p | 1053 | mm/swap.c | struct swap_info_struct * p; |
p | 1063 | mm/swap.c | p = swap_info; |
p | 1064 | mm/swap.c | for (type = 0 ; type < nr_swapfiles ; type++,p++) |
p | 1065 | mm/swap.c | if (!(p->flags & SWP_USED)) |
p | 1071 | mm/swap.c | p->flags = SWP_USED; |
p | 1072 | mm/swap.c | p->swap_file = NULL; |
p | 1073 | mm/swap.c | p->swap_device = 0; |
p | 1074 | mm/swap.c | p->swap_map = NULL; |
p | 1075 | mm/swap.c | p->swap_lockmap = NULL; |
p | 1076 | mm/swap.c | p->lowest_bit = 0; |
p | 1077 | mm/swap.c | p->highest_bit = 0; |
p | 1078 | mm/swap.c | p->max = 1; |
p | 1082 | mm/swap.c | p->swap_file = swap_inode; |
p | 1089 | mm/swap.c | p->swap_device = swap_inode->i_rdev; |
p | 1094 | mm/swap.c | p->swap_file = NULL; |
p | 1099 | mm/swap.c | if (!p->swap_device) |
p | 1105 | mm/swap.c | if (p->swap_device == swap_info[i].swap_device) |
p | 1110 | mm/swap.c | p->swap_lockmap = (unsigned char *) get_free_page(GFP_USER); |
p | 1111 | mm/swap.c | if (!p->swap_lockmap) { |
p | 1116 | mm/swap.c | read_swap_page(SWP_ENTRY(type,0), (char *) p->swap_lockmap); |
p | 1117 | mm/swap.c | if (memcmp("SWAP-SPACE",p->swap_lockmap+4086,10)) { |
p | 1122 | mm/swap.c | memset(p->swap_lockmap+PAGE_SIZE-10,0,10); |
p | 1124 | mm/swap.c | p->lowest_bit = 0; |
p | 1125 | mm/swap.c | p->highest_bit = 0; |
p | 1127 | mm/swap.c | if (test_bit(i,p->swap_lockmap)) { |
p | 1128 | mm/swap.c | if (!p->lowest_bit) |
p | 1129 | mm/swap.c | p->lowest_bit = i; |
p | 1130 | mm/swap.c | p->highest_bit = i; |
p | 1131 | mm/swap.c | p->max = i+1; |
p | 1140 | mm/swap.c | p->swap_map = (unsigned char *) vmalloc(p->max); |
p | 1141 | mm/swap.c | if (!p->swap_map) { |
p | 1145 | mm/swap.c | for (i = 1 ; i < p->max ; i++) { |
p | 1146 | mm/swap.c | if (test_bit(i,p->swap_lockmap)) |
p | 1147 | mm/swap.c | p->swap_map[i] = 0; |
p | 1149 | mm/swap.c | p->swap_map[i] = 0x80; |
p | 1151 | mm/swap.c | p->swap_map[0] = 0x80; |
p | 1152 | mm/swap.c | memset(p->swap_lockmap,0,PAGE_SIZE); |
p | 1153 | mm/swap.c | p->flags = SWP_WRITEOK; |
p | 1154 | mm/swap.c | p->pages = j; |
p | 1162 | mm/swap.c | free_page((long) p->swap_lockmap); |
p | 1163 | mm/swap.c | vfree(p->swap_map); |
p | 1164 | mm/swap.c | iput(p->swap_file); |
p | 1165 | mm/swap.c | p->swap_device = 0; |
p | 1166 | mm/swap.c | p->swap_file = NULL; |
p | 1167 | mm/swap.c | p->swap_map = NULL; |
p | 1168 | mm/swap.c | p->swap_lockmap = NULL; |
p | 1169 | mm/swap.c | p->flags = 0; |
p | 1204 | mm/swap.c | mem_map_t * p; |
p | 1218 | mm/swap.c | p = mem_map + MAP_NR(end_mem); |
p | 1219 | mm/swap.c | start_mem = (unsigned long) p; |
p | 1220 | mm/swap.c | while (p > mem_map) |
p | 1221 | mm/swap.c | *--p = MAP_PAGE_RESERVED; |
p | 33 | mm/vmalloc.c | struct task_struct * p; |
p | 35 | mm/vmalloc.c | for_each_task(p) |
p | 36 | mm/vmalloc.c | *pgd_offset(p,address) = entry; |
p | 173 | mm/vmalloc.c | struct vm_struct **p, *tmp; |
p | 181 | mm/vmalloc.c | for (p = &vmlist ; (tmp = *p) ; p = &tmp->next) { |
p | 183 | mm/vmalloc.c | *p = tmp->next; |
p | 195 | mm/vmalloc.c | struct vm_struct **p, *tmp, *area; |
p | 206 | mm/vmalloc.c | for (p = &vmlist; (tmp = *p) ; p = &tmp->next) { |
p | 212 | mm/vmalloc.c | area->next = *p; |
p | 213 | mm/vmalloc.c | *p = area; |
p | 223 | mm/vmalloc.c | struct vm_struct **p, *tmp; |
p | 227 | mm/vmalloc.c | for (p = &vmlist; (tmp = *p) ; p = &tmp->next) { |
p | 1516 | net/inet/af_inet.c | struct inet_protocol *p; |
p | 1548 | net/inet/af_inet.c | for(p = inet_protocol_base; p != NULL;) |
p | 1550 | net/inet/af_inet.c | struct inet_protocol *tmp = (struct inet_protocol *) p->next; |
p | 1551 | net/inet/af_inet.c | inet_add_protocol(p); |
p | 1552 | net/inet/af_inet.c | printk("%s%s",p->name,tmp?", ":"\n"); |
p | 1553 | net/inet/af_inet.c | p = tmp; |
p | 925 | net/inet/ip_fw.c | int len, p; |
p | 966 | net/inet/ip_fw.c | for (p = 0; p < IP_FW_MAX_PORTS; p++) |
p | 967 | net/inet/ip_fw.c | len+=sprintf(buffer+len, " %u", i->fw_pts[p]); |
p | 1590 | net/inet/ipx.c | char *p, b[64]; |
p | 1592 | net/inet/ipx.c | p = b; |
p | 1594 | net/inet/ipx.c | *(p++) = h2c[d[i] & 0x0f]; |
p | 1595 | net/inet/ipx.c | *(p++) = h2c[(d[i] >> 4) & 0x0f]; |
p | 1596 | net/inet/ipx.c | *(p++) = ' '; |
p | 1598 | net/inet/ipx.c | *(p++) = '-'; |
p | 1599 | net/inet/ipx.c | *(p++) = ' '; |
p | 1600 | net/inet/ipx.c | for (i=0; i < 8 ; i++) *(p++) = ' '<= d[i] && d[i]<'\177' ? d[i] : '.'; |
p | 1601 | net/inet/ipx.c | *p = '\000'; |
p | 1607 | net/inet/ipx.c | void dump_addr(char *str,ipx_address *p) { |
p | 1609 | net/inet/ipx.c | str,ntohl(p->net),p->node[0],p->node[1],p->node[2], |
p | 1610 | net/inet/ipx.c | p->node[3],p->node[4],p->node[5],ntohs(p->sock)); |
p | 1613 | net/inet/ipx.c | void dump_hdr(char *str,ipx_packet *p) { |
p | 1615 | net/inet/ipx.c | str,p->ipx_checksum,ntohs(p->ipx_pktsize),ntohs(p->ipx_pktsize), |
p | 1616 | net/inet/ipx.c | p->ipx_tctrl,p->ipx_tctrl,p->ipx_type); |
p | 1617 | net/inet/ipx.c | dump_addr(" IPX-DST",&p->ipx_dest); |
p | 1618 | net/inet/ipx.c | dump_addr(" IPX-SRC",&p->ipx_source); |
p | 1621 | net/inet/ipx.c | void dump_pkt(char *str,ipx_packet *p) { |
p | 1622 | net/inet/ipx.c | dump_hdr(str,p); |
p | 1623 | net/inet/ipx.c | dump_data(str,(unsigned char *)p); |
p | 257 | net/inet/packet.c | struct packet_type *p; |
p | 259 | net/inet/packet.c | p = (struct packet_type *) kmalloc(sizeof(*p), GFP_KERNEL); |
p | 260 | net/inet/packet.c | if (p == NULL) |
p | 263 | net/inet/packet.c | p->func = packet_rcv; |
p | 264 | net/inet/packet.c | p->type = sk->num; |
p | 265 | net/inet/packet.c | p->data = (void *)sk; |
p | 266 | net/inet/packet.c | p->dev = NULL; |
p | 267 | net/inet/packet.c | dev_add_pack(p); |
p | 273 | net/inet/packet.c | sk->pair = (struct sock *)p; |
p | 107 | net/inet/protocol.c | struct inet_protocol *p; |
p | 110 | net/inet/protocol.c | for (p = inet_protos[hash] ; p != NULL; p=p->next) { |
p | 111 | net/inet/protocol.c | if (p->protocol == prot) return((struct inet_protocol *) p); |
p | 143 | net/inet/protocol.c | struct inet_protocol *p; |
p | 153 | net/inet/protocol.c | p = (struct inet_protocol *) inet_protos[hash]; |
p | 154 | net/inet/protocol.c | while(p != NULL) { |
p | 160 | net/inet/protocol.c | if (p->next != NULL && p->next == prot) { |
p | 165 | net/inet/protocol.c | if (p->copy == 0 && lp != NULL) lp->copy = 0; |
p | 166 | net/inet/protocol.c | p->next = prot->next; |
p | 170 | net/inet/protocol.c | if (p->next != NULL && p->next->protocol == prot->protocol) { |
p | 171 | net/inet/protocol.c | lp = p; |
p | 174 | net/inet/protocol.c | p = (struct inet_protocol *) p->next; |
p | 336 | net/inet/tcp.c | struct sk_buff *p=skb_peek(&s->receive_queue); |
p | 337 | net/inet/tcp.c | if(p==NULL) |
p | 341 | net/inet/tcp.c | if(p->sk->state == TCP_ESTABLISHED || p->sk->state >= TCP_FIN_WAIT1) |
p | 342 | net/inet/tcp.c | return p; |
p | 343 | net/inet/tcp.c | p=p->next; |
p | 345 | net/inet/tcp.c | while(p!=(struct sk_buff *)&s->receive_queue); |
p | 52 | net/inet/utils.c | char *p; |
p | 54 | net/inet/utils.c | p = (char *) ∈ |
p | 56 | net/inet/utils.c | (p[0] & 255), (p[1] & 255), (p[2] & 255), (p[3] & 255)); |