taglinefilesource code
p39drivers/block/genhd.cstruct partition *p;
p59drivers/block/genhd.cp = (struct partition *) (0x1BE + bh->b_data);
p64drivers/block/genhd.cif (p->sys_ind == EXTENDED_PARTITION ||
p65drivers/block/genhd.c!(hd->part[current_minor].nr_sects = p->nr_sects))
p67drivers/block/genhd.chd->part[current_minor].start_sect = this_sector + p->start_sect;
p72drivers/block/genhd.cp++;
p80drivers/block/genhd.cif (p->sys_ind != EXTENDED_PARTITION ||
p81drivers/block/genhd.c!(hd->part[current_minor].nr_sects = p->nr_sects))
p83drivers/block/genhd.chd->part[current_minor].start_sect = first_sector + p->start_sect;
p84drivers/block/genhd.cthis_sector = first_sector + p->start_sect;
p99drivers/block/genhd.cstruct partition *p;
p114drivers/block/genhd.cp = (struct partition *) (0x1BE + bh->b_data);
p115drivers/block/genhd.cfor (i=1 ; i<=4 ; minor++,i++,p++) {
p116drivers/block/genhd.cif (!(hd->part[minor].nr_sects = p->nr_sects))
p118drivers/block/genhd.chd->part[minor].start_sect = first_sector + p->start_sect;
p122drivers/block/genhd.cif (p->sys_ind == EXTENDED_PARTITION) {
p132drivers/block/genhd.cp = (struct partition *) (0x1BE + bh->b_data);
p134drivers/block/genhd.cp--;
p137drivers/block/genhd.cif (!(p->start_sect && p->nr_sects))
p139drivers/block/genhd.chd->part[current_minor].start_sect = p->start_sect;
p140drivers/block/genhd.chd->part[current_minor].nr_sects = p->nr_sects;
p199drivers/block/genhd.cstruct gendisk *p;
p202drivers/block/genhd.cfor (p = gendisk_head ; p ; p=p->next) {
p203drivers/block/genhd.csetup_dev(p);
p204drivers/block/genhd.cnr += p->nr_real;
p136drivers/block/mcd.cstatic void bin2bcd(unsigned char *p);
p1218drivers/block/mcd.cbin2bcd(unsigned char *p)
p1222drivers/block/mcd.cu = *p % 10;
p1223drivers/block/mcd.ct = *p / 10;
p1224drivers/block/mcd.c*p = u | (t << 4);
p636drivers/block/sbpcd.cstatic void bin2bcdx(u_char *p)  /* must work only up to 75 or 99 */
p638drivers/block/sbpcd.c*p=((*p/10)<<4)|(*p%10);
p1667drivers/block/sbpcd.cstatic int convert_UPC(u_char *p)
p1671drivers/block/sbpcd.cp++;
p1672drivers/block/sbpcd.cif (!new_drive) p[13]=0;
p1675drivers/block/sbpcd.cif (new_drive) DriveStruct[d].UPC_buf[i]=swap_nibbles(*p++);
p1678drivers/block/sbpcd.cDriveStruct[d].UPC_buf[i]=((*p++)<<4)&0xFF;
p1679drivers/block/sbpcd.cDriveStruct[d].UPC_buf[i] |= *p++;
p2653drivers/block/sbpcd.cu_char *p;
p2762drivers/block/sbpcd.cp = DriveStruct[d].aud_buf;
p2767drivers/block/sbpcd.cREAD_DATA(CDi_data, p, read_audio.nframes*CD_FRAMESIZE_RAW);
p3085drivers/block/sbpcd.cu_char *p;
p3134drivers/block/sbpcd.cp = DriveStruct[d].sbp_buf + frame *  CD_FRAMESIZE;
p3138drivers/block/sbpcd.cREAD_DATA(CDi_data, p, CD_FRAMESIZE);
p3358drivers/block/sbpcd.cvoid sbpcd_setup(char *s, int *p)
p3360drivers/block/sbpcd.cDPRINTF((DBG_INI,"SBPCD: sbpcd_setup called with %04X,%s\n",p[1], s));
p3364drivers/block/sbpcd.cif (p[0]>0) sbpcd_ioaddr=p[1];
p766drivers/char/console.cstatic void respond_string(char * p, struct tty_struct * tty)
p768drivers/char/console.cwhile (*p) {
p769drivers/char/console.ctty_insert_flip_char(tty, *p, 0);
p770drivers/char/console.cp++;
p804drivers/char/console.cunsigned char *p;
p807drivers/char/console.cfor (p = (unsigned char *)origin+1; p < (unsigned char *)scr_end; p+=2)
p808drivers/char/console.c*p = (*p & 0x88) | (((*p >> 4) | (*p << 4)) & 0x77);
p810drivers/char/console.cfor (p = (unsigned char *)origin+1; p < (unsigned char *)scr_end; p+=2)
p811drivers/char/console.c*p ^= *p & 0x07 == 1 ? 0x70 : 0x77;
p902drivers/char/console.cunsigned short * p = (unsigned short *) pos;
p905drivers/char/console.ctmp = *p;
p906drivers/char/console.c*p = old;
p908drivers/char/console.cp++;
p922drivers/char/console.cunsigned short * p = (unsigned short *) pos;
p925drivers/char/console.c*p = *(p+1);
p926drivers/char/console.cp++;
p928drivers/char/console.c*p = video_erase_char;
p1790drivers/char/console.cunsigned char *p, *p1, *p2;
p1796drivers/char/console.cp = p1;
p1798drivers/char/console.cp2 = p;
p1800drivers/char/console.cfor (p = p1; p <= p2; p += 2)
p1801drivers/char/console.c*p = (*p & 0x88) | ((*p << 4) & 0x70) | ((*p >> 4) & 0x07);
p1807drivers/char/console.cunsigned char *p;
p1820drivers/char/console.cp = (unsigned char *)origin - hwscroll_offset + where + 1;
p1821drivers/char/console.c*p ^= 0x77;
p1823drivers/char/console.cprev=p;
p1849drivers/char/console.cstatic inline int atedge(const int p)
p1851drivers/char/console.creturn (!(p % video_size_row) || !((p + 2) % video_size_row));
p38drivers/char/mem.cunsigned long p = file->f_pos;
p43drivers/char/mem.cif (p >= high_memory)
p45drivers/char/mem.cif (count > high_memory - p)
p46drivers/char/mem.ccount = high_memory - p;
p48drivers/char/mem.cwhile (p < PAGE_SIZE && count > 0) {
p51drivers/char/mem.cp++;
p55drivers/char/mem.cmemcpy_tofs(buf,(void *) p,count);
p63drivers/char/mem.cunsigned long p = file->f_pos;
p68drivers/char/mem.cif (p >= high_memory)
p70drivers/char/mem.cif (count > high_memory - p)
p71drivers/char/mem.ccount = high_memory - p;
p73drivers/char/mem.cwhile (p < PAGE_SIZE && count > 0) {
p76drivers/char/mem.cp++;
p80drivers/char/mem.cmemcpy_fromfs((void *) p,buf,count);
p518drivers/char/n_tty.cunsigned char *p;
p540drivers/char/n_tty.cfor (i=count, p = cp, f = fp; i; i--, p++) {
p545drivers/char/n_tty.cn_tty_receive_char(tty, *p);
p552drivers/char/n_tty.cn_tty_receive_parity_error(tty, *p);
p213drivers/char/tty_io.cstruct tty_driver *p;
p218drivers/char/tty_io.cfor (p = tty_drivers; p; p = p->next) {
p219drivers/char/tty_io.cif (p->major != major)
p221drivers/char/tty_io.cif (minor < p->minor_start)
p223drivers/char/tty_io.cif (minor >= p->minor_start + p->num)
p225drivers/char/tty_io.creturn p;
p311drivers/char/tty_io.cstruct task_struct *p;
p362drivers/char/tty_io.cfor_each_task(p) {
p363drivers/char/tty_io.cif (p->tty == tty)
p364drivers/char/tty_io.cp->tty = NULL;
p404drivers/char/tty_io.cstruct task_struct *p;
p416drivers/char/tty_io.cfor_each_task(p)
p417drivers/char/tty_io.cif (p->session == current->session)
p418drivers/char/tty_io.cp->tty = NULL;
p887drivers/char/tty_io.cstruct task_struct **p;
p980drivers/char/tty_io.cfor (p = &LAST_TASK ; p > &FIRST_TASK ; --p) {
p981drivers/char/tty_io.cif ((*p) && (*p)->tty == tty)
p982drivers/char/tty_io.c(*p)->tty = NULL;
p1201drivers/char/tty_io.cstruct task_struct **p;
p1208drivers/char/tty_io.cfor (p = &FIRST_TASK ; p <= &LAST_TASK ; p++, n++)
p1209drivers/char/tty_io.cif (*p)
p1211drivers/char/tty_io.cc = (char *)(*p);
p1322drivers/char/tty_io.cstruct task_struct *p;
p1324drivers/char/tty_io.cfor_each_task(p)
p1325drivers/char/tty_io.cif (p->tty == tty)
p1326drivers/char/tty_io.cp->tty = NULL;
p1437drivers/char/tty_io.cstruct task_struct **p;
p1446drivers/char/tty_io.cfor (p = &LAST_TASK ; p > &FIRST_TASK ; --p) {
p1447drivers/char/tty_io.cif (!(*p))
p1449drivers/char/tty_io.cif (((*p)->tty == tty) ||
p1450drivers/char/tty_io.c((session > 0) && ((*p)->session == session)))
p1451drivers/char/tty_io.csend_sig(SIGKILL, *p, 1);
p1454drivers/char/tty_io.cfilp = (*p)->files->fd[i];
p1457drivers/char/tty_io.csend_sig(SIGKILL, *p, 1);
p325drivers/char/vt.cchar *p;
p334drivers/char/vt.cp = func_table[i];
p335drivers/char/vt.cif(!p) {
p341drivers/char/vt.cfor ( ; *p; p++)
p342drivers/char/vt.cput_fs_byte(*p, q++);
p353drivers/char/vt.cu_char *p;
p369drivers/char/vt.cfor (p = a->kb_string; get_fs_byte(p); p++)
p387drivers/char/vt.cfor (p = a->kb_string, q = func_table[i]; ; p++, q++)
p388drivers/char/vt.cif (!(*q = get_fs_byte(p)))
p100drivers/net/3c505.c#define CHECK_NULL(p) if (!p) printk(null_msg, filename, __LINE__)
p659drivers/net/atp.cstatic void read_block(short ioaddr, int length, unsigned char *p, int data_mode)
p667drivers/net/atp.cdo  *p++ = read_byte_mode0(ioaddr);  while (--length > 0);
p669drivers/net/atp.cdo  *p++ = read_byte_mode2(ioaddr);  while (--length > 0);
p671drivers/net/atp.cdo      *p++ = read_byte_mode4(ioaddr);  while (--length > 0);
p673drivers/net/atp.cdo      *p++ = read_byte_mode6(ioaddr);  while (--length > 0);
p787drivers/net/depca.cchar *p = (char *) skb->data;
p821drivers/net/depca.cfor (p += len; skbL > 0; p += len) {
p846drivers/net/depca.cmemcpy((unsigned char *)(buf + PKT_HDR_LEN), (unsigned char *)p, len);
p76drivers/net/ppp.c#define PRINTK(p) printk p ;
p77drivers/net/ppp.c#define ASSERT(p) if (!p) PRINTK ((KERN_CRIT "assertion failed: " # p))
p78drivers/net/ppp.c#define PRINTKN(n,p) {if (ppp_debug >= n) PRINTK (p)}
p86drivers/net/ppp.c#define bset(p,b)  ((p)[(b) >> 5] |= (1 << ((b) & 0x1f)))
p1681drivers/net/ppp.cunsigned char *p;
p1694drivers/net/ppp.cp     = (unsigned char *) (skb + 1);
p1725drivers/net/ppp.cif (ppp_us_queue (ppp, proto, p, len))
p1743drivers/net/ppp.clen = slhc_compress(ppp->slcomp, p, len, ppp->cbuff, &p, 0);
p1744drivers/net/ppp.cif (p[0] & SL_TYPE_COMPRESSED_TCP)
p1747drivers/net/ppp.cif (p[0] >= SL_TYPE_UNCOMPRESSED_TCP) {
p1749drivers/net/ppp.cp[0] = (p[0] & 0x0f) | 0x40; 
p1788drivers/net/ppp.cppp_stuff_char(ppp, *p++);
p643drivers/net/sk_g16.cstruct priv *p;         /* SK_G16 private structure */
p791drivers/net/sk_g16.cp = dev->priv = (void *) kmalloc(sizeof(struct priv), GFP_KERNEL);
p812drivers/net/sk_g16.cp->ram = (struct SK_ram *) rom_addr; /* Set dual ported RAM addr */
p813drivers/net/sk_g16.cp->tmdhead = &(p->ram)->tmde[0];     /* Set TMD head */
p814drivers/net/sk_g16.cp->rmdhead = &(p->ram)->rmde[0];     /* Set RMD head */
p820drivers/net/sk_g16.cp->tmdbufs[i] = &(p->ram)->tmdbuf[i];
p825drivers/net/sk_g16.cp->rmdbufs[i] = &(p->ram)->rmdbuf[i]; 
p871drivers/net/sk_g16.cstruct priv *p = (struct priv *)dev->priv;
p960drivers/net/sk_g16.c(int) dev->irq, (unsigned int) p->ram);
p1031drivers/net/sk_g16.cstruct priv *p = (struct priv *) dev->priv; 
p1042drivers/net/sk_g16.cp->tmdnum = 0;                   /* First descriptor for transmitting */ 
p1043drivers/net/sk_g16.cp->tmdlast = 0;                  /* First descriptor for reading stats */
p1047drivers/net/sk_g16.ctmdp = p->tmdhead + i; 
p1049drivers/net/sk_g16.ctmdp->u.buffer = (unsigned long) p->tmdbufs[i]; /* assign buffer */
p1058drivers/net/sk_g16.cp->rmdnum = 0;                   /* First RMD which will be used */
p1062drivers/net/sk_g16.crmdp = p->rmdhead + i;
p1065drivers/net/sk_g16.crmdp->u.buffer = (unsigned long) p->rmdbufs[i]; /* assign buffer */
p1082drivers/net/sk_g16.c(p->ram)->ib.mode = mode;        /* Set operation mode */
p1086drivers/net/sk_g16.c(p->ram)->ib.paddr[i] = dev->dev_addr[i]; 
p1091drivers/net/sk_g16.c(p->ram)->ib.laddr[i] = 0;   /* We do not use logical addressing */
p1096drivers/net/sk_g16.c(p->ram)->ib.rdrp = (int)  p->rmdhead | RMDNUMMASK;
p1097drivers/net/sk_g16.c(p->ram)->ib.tdrp = (int)  p->tmdhead | TMDNUMMASK;
p1150drivers/net/sk_g16.c(unsigned int) &(p->ram)->ib);
p1196drivers/net/sk_g16.cstruct priv *p = (struct priv *) dev->priv;
p1253drivers/net/sk_g16.ctmdp = p->tmdhead + p->tmdnum; /* Which descriptor for transmitting */
p1278drivers/net/sk_g16.cp->tmdnum++; 
p1279drivers/net/sk_g16.cp->tmdnum &= TMDNUM-1; 
p1282drivers/net/sk_g16.cif (! ((p->tmdhead + p->tmdnum)->u.s.status & TX_OWN) )
p1318drivers/net/sk_g16.cstruct priv *p = (struct priv *) dev->priv;
p1352drivers/net/sk_g16.cp->stats.rx_dropped++;
p1393drivers/net/sk_g16.cstruct priv *p = (struct priv *) dev->priv;
p1399drivers/net/sk_g16.ctmdp = p->tmdhead + p->tmdlast;     /* Which buffer we sent at last ? */
p1402drivers/net/sk_g16.cp->tmdlast++;
p1403drivers/net/sk_g16.cp->tmdlast &= TMDNUM-1;
p1422drivers/net/sk_g16.cp->stats.tx_aborted_errors++;   
p1424drivers/net/sk_g16.cp->stats.tx_window_errors++; 
p1426drivers/net/sk_g16.cp->stats.tx_carrier_errors++;
p1429drivers/net/sk_g16.cp->stats.tx_fifo_errors++;
p1439drivers/net/sk_g16.cp->stats.tx_errors++;
p1457drivers/net/sk_g16.cp->stats.collisions++; 
p1461drivers/net/sk_g16.cp->stats.tx_packets++; 
p1513drivers/net/sk_g16.cstruct priv *p = (struct priv *) dev->priv;
p1518drivers/net/sk_g16.crmdp = p->rmdhead + p->rmdnum;
p1540drivers/net/sk_g16.cp->stats.rx_errors++;        /* bad packet received */
p1541drivers/net/sk_g16.cp->stats.rx_length_errors++; /* packet to long */
p1561drivers/net/sk_g16.cp->stats.rx_errors++;
p1563drivers/net/sk_g16.cif (rmdstat & RX_FRAM) p->stats.rx_frame_errors++;
p1564drivers/net/sk_g16.cif (rmdstat & RX_CRC)  p->stats.rx_crc_errors++;
p1588drivers/net/sk_g16.cp->stats.rx_dropped++;
p1624drivers/net/sk_g16.cp->stats.rx_packets++;
p1627drivers/net/sk_g16.cp->rmdnum++;
p1628drivers/net/sk_g16.cp->rmdnum %= RMDNUM;
p1630drivers/net/sk_g16.crmdp = p->rmdhead + p->rmdnum;
p1697drivers/net/sk_g16.cstruct priv *p = (struct priv *) dev->priv;
p1702drivers/net/sk_g16.creturn &p->stats;             /* Return Device status */
p2086drivers/net/sk_g16.cstruct priv *p = (struct priv *) dev->priv;
p2091drivers/net/sk_g16.c(unsigned int) p->ram,
p2092drivers/net/sk_g16.c(unsigned int) p->tmdhead, 
p2093drivers/net/sk_g16.c(unsigned int) p->rmdhead, 
p2094drivers/net/sk_g16.c(unsigned int) &(p->ram)->ib);
p2104drivers/net/sk_g16.cprintk("tmdbufs%d: %#08x ", (i+1), (int) p->tmdbufs[i]);
p2114drivers/net/sk_g16.cprintk("rmdbufs%d: %#08x ", (i+1), (int) p->rmdbufs[i]);
p356drivers/net/slip.cunsigned char *p;
p369drivers/net/slip.cp = icp;
p372drivers/net/slip.clen = slhc_compress(sl->slcomp, p, len, sl->cbuff, &p, 1);
p375drivers/net/slip.ccount=slip_esc6(p, (unsigned char *)sl->xbuff,len);
p377drivers/net/slip.ccount=slip_esc(p, (unsigned char *)sl->xbuff,len);
p534drivers/net/slip.cunsigned char *p;
p560drivers/net/slip.cp = (unsigned char *) kmalloc(l + 4, GFP_KERNEL);
p561drivers/net/slip.cif (p == NULL) {
p566drivers/net/slip.csl->dev->mem_start  = (unsigned long) p;
p569drivers/net/slip.cp = (unsigned char *) kmalloc(l + 4, GFP_KERNEL);
p570drivers/net/slip.cif (p == NULL) {
p574drivers/net/slip.csl->dev->rmem_start  = (unsigned long) p;
p586drivers/net/slip.cp = (unsigned char *) kmalloc(l + 4, GFP_KERNEL);
p587drivers/net/slip.cif (p == NULL) {
p592drivers/net/slip.csl->cbuff    = p;
p207drivers/net/znet.cchar *p;
p210drivers/net/znet.cfor(p = (char *)0xf0000; p < (char *)0x100000; p++)
p211drivers/net/znet.cif (*p == 'N'  &&  strncmp(p, "NETIDBLK", 8) == 0)
p214drivers/net/znet.cif (p >= (char *)0x100000) {
p219drivers/net/znet.cnetinfo = (struct netidblk *)p;
p1328drivers/scsi/NCR5380.cregister unsigned char p = *phase, tmp;
p1339drivers/scsi/NCR5380.cNCR5380_write(TARGET_COMMAND_REG, PHASE_SR_TO_TCR(p));
p1353drivers/scsi/NCR5380.cif ((tmp & PHASE_MASK) != p) {
p1362drivers/scsi/NCR5380.cif (!(p & SR_IO)) 
p1376drivers/scsi/NCR5380.cif (!(p & SR_IO)) {
p1377drivers/scsi/NCR5380.cif (!((p & SR_MSG) && c > 1)) {
p1407drivers/scsi/NCR5380.cif (!(p == PHASE_MSGOUT && c > 1))
p1425drivers/scsi/NCR5380.cif (!c || (*phase == p))
p1456drivers/scsi/NCR5380.cregister unsigned char p = *phase;
p1470drivers/scsi/NCR5380.cif ((tmp = (NCR5380_read(STATUS_REG) & PHASE_MASK)) != p) {
p1476drivers/scsi/NCR5380.cif (p & SR_IO) {
p1482drivers/scsi/NCR5380.cinstance->host_no, instance->dma_channel, (p & SR_IO) ? "reading" :
p1483drivers/scsi/NCR5380.c"writing", c, (p & SR_IO) ? "to" : "from", (unsigned) d);
p1485drivers/scsi/NCR5380.chostdata->dma_len = (p & SR_IO) ?
p1490drivers/scsi/NCR5380.cNCR5380_write(TARGET_COMMAND_REG, PHASE_SR_TO_TCR(p));
p1513drivers/scsi/NCR5380.cif (p & SR_IO)
p1562drivers/scsi/NCR5380.cif (p & SR_IO) {
p1596drivers/scsi/NCR5380.cif (*phase == p && (p & SR_IO) && residue == 0) {
p1626drivers/scsi/NCR5380.cif (p & SR_IO) {
p93drivers/scsi/aha1542.h#define any2scsi(up, p)        \
p94drivers/scsi/aha1542.h(up)[0] = (((unsigned long)(p)) >> 16)  ;  \
p95drivers/scsi/aha1542.h(up)[1] = (((unsigned long)(p)) >> 8);    \
p96drivers/scsi/aha1542.h(up)[2] = ((unsigned long)(p));
p100drivers/scsi/aha1542.h#define xany2scsi(up, p)  \
p101drivers/scsi/aha1542.h(up)[0] = ((long)(p)) >> 24;  \
p102drivers/scsi/aha1542.h(up)[1] = ((long)(p)) >> 16;  \
p103drivers/scsi/aha1542.h(up)[2] = ((long)(p)) >> 8;  \
p104drivers/scsi/aha1542.h(up)[3] = ((long)(p));
p89drivers/scsi/aha1740.h#define any2scsi(up, p)        \
p90drivers/scsi/aha1740.h(up)[0] = (((unsigned long)(p)) >> 16)  ;  \
p91drivers/scsi/aha1740.h(up)[1] = (((unsigned long)(p)) >> 8);    \
p92drivers/scsi/aha1740.h(up)[2] = ((unsigned long)(p));
p96drivers/scsi/aha1740.h#define xany2scsi(up, p)  \
p97drivers/scsi/aha1740.h(up)[0] = ((long)(p)) >> 24;  \
p98drivers/scsi/aha1740.h(up)[1] = ((long)(p)) >> 16;  \
p99drivers/scsi/aha1740.h(up)[2] = ((long)(p)) >> 8;  \
p100drivers/scsi/aha1740.h(up)[3] = ((long)(p));
p158drivers/scsi/scsi_debug.cstruct partition * p;
p275drivers/scsi/scsi_debug.cp = (struct partition* ) (buff + 0x1be);
p278drivers/scsi/scsi_debug.cp->start_sect = starts[npart];
p279drivers/scsi/scsi_debug.cp->nr_sects = starts[npart+1] - starts [npart];
p280drivers/scsi/scsi_debug.cp->sys_ind = 0x81;  /* Linux partition */
p281drivers/scsi/scsi_debug.cp++;
p844drivers/scsi/ultrastor.cunsigned char p = inb(port0 + i);
p845drivers/scsi/ultrastor.cout[28 + i * 3] = "0123456789abcdef"[p >> 4];
p846drivers/scsi/ultrastor.cout[29 + i * 3] = "0123456789abcdef"[p & 15];
p519drivers/scsi/wd7000.c#define any2scsi(up, p)      \
p520drivers/scsi/wd7000.c(up)[0] = (((unsigned long)(p)) >> 16);          \
p521drivers/scsi/wd7000.c(up)[1] = ((unsigned long)(p)) >> 8;    \
p522drivers/scsi/wd7000.c(up)[2] = ((unsigned long)(p));
p598drivers/scsi/wd7000.cregister Scb *scb, *p;
p635drivers/scsi/wd7000.cfor (i = 0; i < needed; i++)  { p = scbfree;  scbfree = p->next; }
p636drivers/scsi/wd7000.cp->next = NULL;
p168drivers/sound/audio.cint             c, p, l;
p173drivers/sound/audio.cp = 0;
p221drivers/sound/audio.cCOPY_FROM_USER (&wr_dma_buf[dev][wr_buff_ptr[dev]], buf, p, l);
p225drivers/sound/audio.cwr_dma_buf[dev], wr_buff_ptr[dev], buf, p, l);
p244drivers/sound/audio.cp += l;
p265drivers/sound/audio.cint             c, p, l;
p270drivers/sound/audio.cp = 0;
p309drivers/sound/audio.cCOPY_TO_USER (buf, p, dmabuf, l);
p313drivers/sound/audio.cp += l;
p57drivers/sound/dmabuf.cunsigned        i, p, n;
p126drivers/sound/dmabuf.cp = 0;
p128drivers/sound/dmabuf.cwhile ((p + bsz) <= dsp_dev->buffsize &&
p132drivers/sound/dmabuf.cdmap->buf[n] = dmap->raw_buf[i] + p;
p133drivers/sound/dmabuf.cdmap->buf_phys[n] = dmap->raw_buf_phys[i] + p;
p134drivers/sound/dmabuf.cp += bsz;
p373drivers/sound/dmabuf.cint             p = dmap->counts[dmap->qhead] + c;
p375drivers/sound/dmabuf.cif (p >= dmap->fragment_size)
p385drivers/sound/dmabuf.cdmap->counts[dmap->qhead] = p;
p2606drivers/sound/gus_wave.cint             i, p;
p2608drivers/sound/gus_wave.cp = alloc->ptr;
p2615drivers/sound/gus_wave.cif (alloc->map[p] == 0)
p2617drivers/sound/gus_wave.calloc->ptr = p;
p2618drivers/sound/gus_wave.creturn p;
p2620drivers/sound/gus_wave.cp = (p + 1) % alloc->max_voice;
p2629drivers/sound/gus_wave.cif (alloc->map[p] == 0xffff)
p2631drivers/sound/gus_wave.calloc->ptr = p;
p2632drivers/sound/gus_wave.creturn p;
p2634drivers/sound/gus_wave.cp = (p + 1) % alloc->max_voice;
p2638drivers/sound/gus_wave.calloc->ptr = p;
p2639drivers/sound/gus_wave.creturn p;
p1079drivers/sound/opl3.cint             i, p, avail_voices;
p1100drivers/sound/opl3.cp = 0;
p1106drivers/sound/opl3.cp = 6;
p1108drivers/sound/opl3.cp = 0;
p1118drivers/sound/opl3.cif (alloc->map[p] == 0)
p1120drivers/sound/opl3.creturn p;
p1122drivers/sound/opl3.cp = (p + 1) % nr_voices;
p812drivers/sound/pss.cint             c, p;
p819drivers/sound/pss.cp = 0;
p100drivers/sound/sequencer.cint             c = count, p = 0;
p128drivers/sound/sequencer.cCOPY_TO_USER (buf, p, &iqueue[iqhead * IEV_SZ], ev_len);
p129drivers/sound/sequencer.cp += ev_len;
p234drivers/sound/sequencer.cint             p = 0, c, ev_size;
p254drivers/sound/sequencer.cCOPY_FROM_USER (event, buf, p, 4);
p268drivers/sound/sequencer.cerr = synth_devs[dev]->load_patch (dev, *(short *) &event[0], buf, p + 4, c, 0);
p292drivers/sound/sequencer.cCOPY_FROM_USER (&event[4], buf, p + 4, 4);
p342drivers/sound/sequencer.cp += ev_size;
p32fs/block_dev.cregister char * p;
p108fs/block_dev.cp = offset + bh->b_data;
p113fs/block_dev.cmemcpy_fromfs(p,buf,chars);
p114fs/block_dev.cp += chars;
p1025fs/buffer.cint * p;
p1032fs/buffer.cp = b;
p1034fs/buffer.cblock = *(p++);
p1041fs/buffer.cp = b;
p1051fs/buffer.cbh->b_blocknr = *(p++);
p1207fs/buffer.cstruct buffer_head * tmp, * p;
p1223fs/buffer.cp = tmp;
p1227fs/buffer.cif (p == *bhp)
p1229fs/buffer.c*bhp = p->b_prev_free;
p1230fs/buffer.cif (p == *bhp) /* Was this the last in the list? */
p1233fs/buffer.cremove_from_queues(p);
p1234fs/buffer.cput_unused_buffer_head(p);
p1422fs/buffer.cstruct buffer_head * tmp, * p;
p1445fs/buffer.cp = tmp;
p1447fs/buffer.cremove_from_queues(p);
p1448fs/buffer.cp->b_dev=dev;
p1449fs/buffer.cp->b_uptodate = 0;
p1450fs/buffer.cp->b_req = 0;
p1451fs/buffer.cp->b_blocknr=starting_block++;
p1452fs/buffer.cinsert_into_queues(p);
p313fs/exec.cunsigned long * create_tables(char * p,int argc,int envc,int ibcs)
p322fs/exec.cmpnt->vm_start = PAGE_MASK & (unsigned long) p;
p332fs/exec.csp = (unsigned long *) (0xfffffffc & (unsigned long) p);
p342fs/exec.ccurrent->mm->arg_start = (unsigned long) p;
p344fs/exec.cput_fs_long((unsigned long) p,argv++);
p345fs/exec.cwhile (get_fs_byte(p++)) /* nothing */ ;
p348fs/exec.ccurrent->mm->arg_end = current->mm->env_start = (unsigned long) p;
p350fs/exec.cput_fs_long((unsigned long) p,envp++);
p351fs/exec.cwhile (get_fs_byte(p++)) /* nothing */ ;
p354fs/exec.ccurrent->mm->env_end = (unsigned long) p;
p391fs/exec.cunsigned long p, int from_kmem)
p397fs/exec.cif (!p)
p414fs/exec.cif (p < len) {  /* this shouldn't happen - 128kB */
p419fs/exec.c--p; --tmp; --len;
p421fs/exec.coffset = p % PAGE_SIZE;
p424fs/exec.cif (!(pag = (char *) page[p/PAGE_SIZE]) &&
p425fs/exec.c!(pag = (char *) page[p/PAGE_SIZE] =
p437fs/exec.creturn p;
p595fs/exec.cbprm.p = PAGE_SIZE*MAX_ARG_PAGES-4;
p689fs/exec.cbprm.p = copy_strings(bprm.envc, envp, bprm.page, bprm.p, 0);
p690fs/exec.cbprm.p = copy_strings(--bprm.argc, argv+1, bprm.page, bprm.p, 0);
p700fs/exec.cbprm.p = copy_strings(1, &bprm.filename, bprm.page, bprm.p, 2);
p703fs/exec.cbprm.p = copy_strings(1, &i_arg, bprm.page, bprm.p, 2);
p706fs/exec.cbprm.p = copy_strings(1, &i_name, bprm.page, bprm.p, 2);
p708fs/exec.cif (!bprm.p) {
p723fs/exec.cbprm.p = copy_strings(bprm.envc,envp,bprm.page,bprm.p,0);
p724fs/exec.cbprm.p = copy_strings(bprm.argc,argv,bprm.page,bprm.p,0);
p725fs/exec.cif (!bprm.p) {
p790fs/exec.cunsigned long p = bprm->p;
p888fs/exec.cp += change_ldt(ex.a_text,bprm->page);
p889fs/exec.cp -= MAX_ARG_PAGES*PAGE_SIZE;
p890fs/exec.cp = (unsigned long)create_tables((char *)p,
p893fs/exec.ccurrent->mm->start_stack = p;
p895fs/exec.cregs->esp = p;      /* stack pointer */
p202fs/ext/file.cchar * p;
p241fs/ext/file.cp = (pos % BLOCK_SIZE) + bh->b_data;
p248fs/ext/file.cmemcpy_fromfs(p,buf,c);
p224fs/ext/inode.cunsigned long * p;
p227fs/ext/inode.cp = inode->u.ext_i.i_data + nr;
p229fs/ext/inode.ctmp = *p;
p232fs/ext/inode.cif (tmp == *p)
p243fs/ext/inode.cif (*p) {
p248fs/ext/inode.c*p = tmp;
p258fs/ext/inode.cunsigned long * p;
p271fs/ext/inode.cp = nr + (unsigned long *) bh->b_data;
p273fs/ext/inode.ctmp = *p;
p276fs/ext/inode.cif (tmp == *p) {
p293fs/ext/inode.cif (*p) {
p298fs/ext/inode.c*p = tmp;
p35fs/ext/truncate.cunsigned long * p;
p42fs/ext/truncate.cp = inode->u.ext_i.i_data+i;
p43fs/ext/truncate.cif (!(tmp = *p))
p50fs/ext/truncate.cif ((bh && bh->b_count != 1) || tmp != *p) {
p55fs/ext/truncate.c*p = 0;
p63fs/ext/truncate.cstatic int trunc_indirect(struct inode * inode, int offset, unsigned long * p)
p72fs/ext/truncate.ctmp = *p;
p76fs/ext/truncate.cif (tmp != *p) {
p81fs/ext/truncate.c*p = 0;
p117fs/ext/truncate.ctmp = *p;
p118fs/ext/truncate.c*p = 0;
p126fs/ext/truncate.cstatic int trunc_dindirect(struct inode * inode, int offset, unsigned long * p)
p134fs/ext/truncate.ctmp = *p;
p138fs/ext/truncate.cif (tmp != *p) {
p143fs/ext/truncate.c*p = 0;
p167fs/ext/truncate.ctmp = *p;
p168fs/ext/truncate.c*p = 0;
p180fs/ext/truncate.cunsigned long * tind, * p;
p184fs/ext/truncate.cp = inode->u.ext_i.i_data+11;
p185fs/ext/truncate.cif (!(tmp = *p))
p188fs/ext/truncate.cif (tmp != *p) {
p193fs/ext/truncate.c*p = 0;
p214fs/ext/truncate.ctmp = *p;
p215fs/ext/truncate.c*p = 0;
p74fs/ext2/balloc.cunsigned long * p = ((unsigned long *) addr) + (offset >> 5);
p87fs/ext2/balloc.c: "r" (~(*p >> bit)));
p91fs/ext2/balloc.cp++;
p96fs/ext2/balloc.cres = find_first_zero_bit (p, size - 32 * (p - addr));
p339fs/ext2/balloc.cchar * p, * r;
p423fs/ext2/balloc.cp = ((char *) bh->b_data) + (j >> 3);
p424fs/ext2/balloc.cr = find_first_zero_byte (p, 
p88fs/ext2/dcache.cstruct dir_cache_entry * p;
p90fs/ext2/dcache.cfor (p = queue_head[queue]; p != NULL && (p->dev != dev ||
p91fs/ext2/dcache.cp->dir != dir || p->len != len ||
p92fs/ext2/dcache.cstrncmp (name, p->name, p->len) != 0);
p93fs/ext2/dcache.cp = p->queue_next)
p95fs/ext2/dcache.creturn p;
p104fs/ext2/dcache.cstruct dir_cache_entry * p;
p107fs/ext2/dcache.cfor (p = first; p != NULL; p = p->next)
p109fs/ext2/dcache.cp->dev, p->dir, p->name);
p116fs/ext2/dcache.cstatic void add_to_cache (struct dir_cache_entry * p)
p118fs/ext2/dcache.cp->prev = NULL;
p119fs/ext2/dcache.cp->next = first;
p121fs/ext2/dcache.cfirst->prev = p;
p123fs/ext2/dcache.clast = p;
p124fs/ext2/dcache.cfirst = p;
p130fs/ext2/dcache.cstatic void add_to_queue (int queue, struct dir_cache_entry * p)
p132fs/ext2/dcache.cp->queue_prev = NULL;
p133fs/ext2/dcache.cp->queue_next = queue_head[queue];
p135fs/ext2/dcache.cqueue_head[queue]->queue_prev = p;
p137fs/ext2/dcache.cqueue_tail[queue] = p;
p138fs/ext2/dcache.cqueue_head[queue] = p;
p144fs/ext2/dcache.cstatic void remove_from_cache (struct dir_cache_entry * p)
p146fs/ext2/dcache.cif (p->prev)
p147fs/ext2/dcache.cp->prev->next = p->next;
p149fs/ext2/dcache.cfirst = p->next;
p150fs/ext2/dcache.cif (p->next)
p151fs/ext2/dcache.cp->next->prev = p->prev;
p153fs/ext2/dcache.clast = p->prev;
p154fs/ext2/dcache.cp->prev = NULL;
p155fs/ext2/dcache.cp->next = NULL;
p161fs/ext2/dcache.cstatic void remove_from_queue (int queue, struct dir_cache_entry * p)
p163fs/ext2/dcache.cif (p->queue_prev)
p164fs/ext2/dcache.cp->queue_prev->queue_next = p->queue_next;
p166fs/ext2/dcache.cqueue_head[queue] = p->queue_next;
p167fs/ext2/dcache.cif (p->queue_next)
p168fs/ext2/dcache.cp->queue_next->queue_prev = p->queue_prev;
p170fs/ext2/dcache.cqueue_tail[queue] = p->queue_prev;
p171fs/ext2/dcache.cp->queue_prev = NULL;
p172fs/ext2/dcache.cp->queue_next = NULL;
p181fs/ext2/dcache.cstruct dir_cache_entry * p;
p186fs/ext2/dcache.cfor (p = first; p != NULL; p = p2) {
p187fs/ext2/dcache.cp2 = p->next;
p188fs/ext2/dcache.cif (p->dev == dev) {
p189fs/ext2/dcache.cremove_from_cache (p);
p190fs/ext2/dcache.cremove_from_queue (hash (p->dev, p->dir), p);
p191fs/ext2/dcache.cp->next = first_free;
p192fs/ext2/dcache.cfirst_free = p;
p208fs/ext2/dcache.cstruct dir_cache_entry * p;
p220fs/ext2/dcache.cif ((p = find_name (queue, dev, dir, our_name, len))) {
p221fs/ext2/dcache.cif (p != first) {
p222fs/ext2/dcache.cremove_from_cache (p);
p223fs/ext2/dcache.cadd_to_cache (p);
p225fs/ext2/dcache.cif (p != queue_head[queue]) {
p226fs/ext2/dcache.cremove_from_queue (queue, p);
p227fs/ext2/dcache.cadd_to_queue (queue, p);
p232fs/ext2/dcache.cour_name, p->ino, hits, misses);
p235fs/ext2/dcache.creturn p->ino;
p256fs/ext2/dcache.cstruct dir_cache_entry * p;
p268fs/ext2/dcache.cif ((p = find_name (queue, dev, dir, name, len))) {
p269fs/ext2/dcache.cp->dir = dir;
p270fs/ext2/dcache.cp->ino = ino;
p271fs/ext2/dcache.cif (p != first) {
p272fs/ext2/dcache.cremove_from_cache (p);
p273fs/ext2/dcache.cadd_to_cache (p);
p275fs/ext2/dcache.cif (p != queue_head[queue]) {
p276fs/ext2/dcache.cremove_from_queue (queue, p);
p277fs/ext2/dcache.cadd_to_queue (queue, p);
p281fs/ext2/dcache.cp = first_free;
p282fs/ext2/dcache.cfirst_free = p->next;
p287fs/ext2/dcache.cp = last;
p288fs/ext2/dcache.clast = p->prev;
p291fs/ext2/dcache.cremove_from_queue (hash (p->dev, p->dir), p);
p294fs/ext2/dcache.cp->dev = dev;
p295fs/ext2/dcache.cp->dir = dir;
p296fs/ext2/dcache.cp->ino = ino;
p297fs/ext2/dcache.cstrncpy (p->name, name, len);
p298fs/ext2/dcache.cp->len = len;
p299fs/ext2/dcache.cp->name[len] = '\0';
p300fs/ext2/dcache.cadd_to_cache (p);
p301fs/ext2/dcache.cadd_to_queue (queue, p);
p316fs/ext2/dcache.cstruct dir_cache_entry * p;
p327fs/ext2/dcache.cif ((p = find_name (queue, dev, dir, name, len))) {
p328fs/ext2/dcache.cremove_from_cache (p);
p329fs/ext2/dcache.cremove_from_queue (queue, p);
p330fs/ext2/dcache.cp->next = first_free;
p331fs/ext2/dcache.cfirst_free = p;
p232fs/ext2/file.cchar * p;
p278fs/ext2/file.cp = (pos % sb->s_blocksize) + bh->b_data;
p281fs/ext2/file.cmemcpy_fromfs (p, buf, c);
p193fs/ext2/inode.cunsigned long * p;
p197fs/ext2/inode.cp = inode->u.ext2_i.i_data + nr;
p199fs/ext2/inode.ctmp = *p;
p202fs/ext2/inode.cif (tmp == *p)
p237fs/ext2/inode.cif (*p) {
p242fs/ext2/inode.c*p = tmp;
p260fs/ext2/inode.cunsigned long * p;
p274fs/ext2/inode.cp = (unsigned long *) bh->b_data + nr;
p276fs/ext2/inode.ctmp = *p;
p279fs/ext2/inode.cif (tmp == *p) {
p311fs/ext2/inode.cif (*p) {
p316fs/ext2/inode.c*p = tmp;
p335fs/ext2/inode.cunsigned long * p;
p348fs/ext2/inode.cp = (unsigned long *) bh->b_data + nr + i;
p351fs/ext2/inode.cif(*p == 0) goto out;
p354fs/ext2/inode.cif(i==0) firstblock = *p;
p355fs/ext2/inode.celse if(*p != firstblock + i) goto out;
p358fs/ext2/inode.cp = (unsigned long *) bh->b_data + nr;
p359fs/ext2/inode.cresult = generate_cluster(bh->b_dev, (int *) p, blocksize);
p56fs/ext2/truncate.cunsigned long * p;
p68fs/ext2/truncate.cp = inode->u.ext2_i.i_data + i;
p69fs/ext2/truncate.ctmp = *p;
p82fs/ext2/truncate.cif ((bh && bh->b_count != 1) || tmp != *p) {
p87fs/ext2/truncate.c*p = 0;
p113fs/ext2/truncate.cstatic int trunc_indirect (struct inode * inode, int offset, unsigned long * p)
p127fs/ext2/truncate.ctmp = *p;
p131fs/ext2/truncate.cif (tmp != *p) {
p136fs/ext2/truncate.c*p = 0;
p196fs/ext2/truncate.ctmp = *p;
p197fs/ext2/truncate.c*p = 0;
p211fs/ext2/truncate.cunsigned long * p)
p222fs/ext2/truncate.ctmp = *p;
p226fs/ext2/truncate.cif (tmp != *p) {
p231fs/ext2/truncate.c*p = 0;
p256fs/ext2/truncate.ctmp = *p;
p257fs/ext2/truncate.c*p = 0;
p274fs/ext2/truncate.cunsigned long * tind, * p;
p283fs/ext2/truncate.cp = inode->u.ext2_i.i_data + EXT2_TIND_BLOCK;
p284fs/ext2/truncate.cif (!(tmp = *p))
p287fs/ext2/truncate.cif (tmp != *p) {
p292fs/ext2/truncate.c*p = 0;
p315fs/ext2/truncate.ctmp = *p;
p316fs/ext2/truncate.c*p = 0;
p253fs/hpfs/hpfs_fs.cstatic unsigned choose_conv(unsigned char *p, unsigned len);
p531fs/hpfs/hpfs_fs.cunsigned char *p = addr;
p532fs/hpfs/hpfs_fs.creturn p[0] == 0 && memcmp(p, p + 1, len - 1) == 0;
p542fs/hpfs/hpfs_fs.cchar *p, *rhs;
p553fs/hpfs/hpfs_fs.cfor (p = strtok(opts, ","); p != 0; p = strtok(0, ",")) {
p554fs/hpfs/hpfs_fs.cif ((rhs = strchr(p, '=')) != 0)
p556fs/hpfs/hpfs_fs.cif (!strcmp(p, "uid")) {
p563fs/hpfs/hpfs_fs.celse if (!strcmp(p, "gid")) {
p570fs/hpfs/hpfs_fs.celse if (!strcmp(p, "umask")) {
p577fs/hpfs/hpfs_fs.celse if (!strcmp(p, "case")) {
p585fs/hpfs/hpfs_fs.celse if (!strcmp(p, "conv")) {
p944fs/hpfs/hpfs_fs.cstatic unsigned choose_conv(unsigned char *p, unsigned len)
p952fs/hpfs/hpfs_fs.cc = *p++;
p954fs/hpfs/hpfs_fs.cif (c == '\r' && len && *p == '\n')
p283fs/isofs/rock.c{ int p;
p284fs/isofs/rock.cfor(p=0;p<rr->u.ER.len_id;p++) printk("%c",rr->u.ER.data[p]);
p14fs/isofs/util.cisonum_711 (char * p)
p16fs/isofs/util.creturn (*p & 0xff);
p20fs/isofs/util.cisonum_712 (char * p)
p24fs/isofs/util.cval = *p;
p31fs/isofs/util.cisonum_721 (char * p)
p33fs/isofs/util.creturn ((p[0] & 0xff) | ((p[1] & 0xff) << 8));
p37fs/isofs/util.cisonum_722 (char * p)
p39fs/isofs/util.creturn (((p[0] & 0xff) << 8) | (p[1] & 0xff));
p43fs/isofs/util.cisonum_723 (char * p)
p46fs/isofs/util.cif (p[0] != p[3] || p[1] != p[2]) {
p51fs/isofs/util.creturn (isonum_721 (p));
p55fs/isofs/util.cisonum_731 (char * p)
p57fs/isofs/util.creturn ((p[0] & 0xff)
p58fs/isofs/util.c| ((p[1] & 0xff) << 8)
p59fs/isofs/util.c| ((p[2] & 0xff) << 16)
p60fs/isofs/util.c| ((p[3] & 0xff) << 24));
p64fs/isofs/util.cisonum_732 (char * p)
p66fs/isofs/util.creturn (((p[0] & 0xff) << 24)
p67fs/isofs/util.c| ((p[1] & 0xff) << 16)
p68fs/isofs/util.c| ((p[2] & 0xff) << 8)
p69fs/isofs/util.c| (p[3] & 0xff));
p73fs/isofs/util.cisonum_733 (char * p)
p79fs/isofs/util.cif (p[i] != p[7-i]) {
p85fs/isofs/util.creturn (isonum_731 (p));
p92fs/isofs/util.cint iso_date(char * p, int flag)
p97fs/isofs/util.cyear = p[0] - 70;
p98fs/isofs/util.cmonth = p[1];
p99fs/isofs/util.cday = p[2];
p100fs/isofs/util.chour = p[3];
p101fs/isofs/util.cminute = p[4];
p102fs/isofs/util.csecond = p[5];
p103fs/isofs/util.cif (flag == 0) tz = p[6]; /* High sierra has no time zone */
p194fs/minix/file.cchar * p;
p230fs/minix/file.cp = (pos % BLOCK_SIZE) + bh->b_data;
p233fs/minix/file.cmemcpy_fromfs(p,buf,c);
p277fs/minix/inode.cunsigned short *p;
p280fs/minix/inode.cp = inode->u.minix_i.i_data + nr;
p282fs/minix/inode.ctmp = *p;
p285fs/minix/inode.cif (tmp == *p)
p296fs/minix/inode.cif (*p) {
p301fs/minix/inode.c*p = tmp;
p311fs/minix/inode.cunsigned short *p;
p324fs/minix/inode.cp = nr + (unsigned short *) bh->b_data;
p326fs/minix/inode.ctmp = *p;
p329fs/minix/inode.cif (tmp == *p) {
p346fs/minix/inode.cif (*p) {
p351fs/minix/inode.c*p = tmp;
p28fs/minix/truncate.cunsigned short * p;
p36fs/minix/truncate.cp = i + inode->u.minix_i.i_data;
p37fs/minix/truncate.cif (!(tmp = *p))
p44fs/minix/truncate.cif ((bh && bh->b_count != 1) || tmp != *p) {
p49fs/minix/truncate.c*p = 0;
p57fs/minix/truncate.cstatic int trunc_indirect(struct inode * inode, int offset, unsigned short * p)
p66fs/minix/truncate.ctmp = *p;
p70fs/minix/truncate.cif (tmp != *p) {
p75fs/minix/truncate.c*p = 0;
p111fs/minix/truncate.ctmp = *p;
p112fs/minix/truncate.c*p = 0;
p123fs/minix/truncate.cunsigned short * dind, * p;
p127fs/minix/truncate.cp = 8 + inode->u.minix_i.i_data;
p128fs/minix/truncate.cif (!(tmp = *p))
p131fs/minix/truncate.cif (tmp != *p) {
p136fs/minix/truncate.c*p = 0;
p157fs/minix/truncate.ctmp = *p;
p158fs/minix/truncate.c*p = 0;
p280fs/namei.cstruct task_struct ** p;
p352fs/namei.cfor (p = &LAST_TASK ; p > &FIRST_TASK ; --p) {
p354fs/namei.cif (!*p)
p356fs/namei.cif (inode == (*p)->executable) {
p360fs/namei.cfor(mpnt = (*p)->mm->mmap; mpnt; mpnt = mpnt->vm_next) {
p55fs/nfs/proc.cstatic int *nfs_rpc_header(int *p, int procedure, int ruid);
p56fs/nfs/proc.cstatic int *nfs_rpc_verify(int *p);
p71fs/nfs/proc.cstatic inline void nfs_rpc_free(int *p)
p73fs/nfs/proc.ckfree((void *)p);
p81fs/nfs/proc.cstatic inline int *xdr_encode_fhandle(int *p, struct nfs_fh *fhandle)
p83fs/nfs/proc.c*((struct nfs_fh *) p) = *fhandle;
p84fs/nfs/proc.cp += (sizeof (*fhandle) + 3) >> 2;
p85fs/nfs/proc.creturn p;
p88fs/nfs/proc.cstatic inline int *xdr_decode_fhandle(int *p, struct nfs_fh *fhandle)
p90fs/nfs/proc.c*fhandle = *((struct nfs_fh *) p);
p91fs/nfs/proc.cp += (sizeof (*fhandle) + 3) >> 2;
p92fs/nfs/proc.creturn p;
p95fs/nfs/proc.cstatic inline int *xdr_encode_string(int *p, const char *string)
p101fs/nfs/proc.c*p++ = htonl(len);
p102fs/nfs/proc.cmemcpy((char *) p, string, len);
p103fs/nfs/proc.cmemset(((char *) p) + len, '\0', (quadlen << 2) - len);
p104fs/nfs/proc.cp += quadlen;
p105fs/nfs/proc.creturn p;
p108fs/nfs/proc.cstatic inline int *xdr_decode_string(int *p, char *string, int maxlen)
p112fs/nfs/proc.clen = ntohl(*p++);
p115fs/nfs/proc.cmemcpy(string, (char *) p, len);
p117fs/nfs/proc.cp += (len + 3) >> 2;
p118fs/nfs/proc.creturn p;
p121fs/nfs/proc.cstatic inline int *xdr_encode_data(int *p, char *data, int len)
p126fs/nfs/proc.c*p++ = htonl(len);
p127fs/nfs/proc.cmemcpy((char *) p, data, len);
p128fs/nfs/proc.cmemset(((char *) p) + len, '\0', (quadlen << 2) - len);
p129fs/nfs/proc.cp += quadlen;
p130fs/nfs/proc.creturn p;
p133fs/nfs/proc.cstatic inline int *xdr_decode_data(int *p, char *data, int *lenp, int maxlen)
p137fs/nfs/proc.clen = *lenp = ntohl(*p++);
p140fs/nfs/proc.cmemcpy(data, (char *) p, len);
p141fs/nfs/proc.cp += (len + 3) >> 2;
p142fs/nfs/proc.creturn p;
p145fs/nfs/proc.cstatic int *xdr_decode_fattr(int *p, struct nfs_fattr *fattr)
p147fs/nfs/proc.cfattr->type = (enum nfs_ftype) ntohl(*p++);
p148fs/nfs/proc.cfattr->mode = ntohl(*p++);
p149fs/nfs/proc.cfattr->nlink = ntohl(*p++);
p150fs/nfs/proc.cfattr->uid = ntohl(*p++);
p151fs/nfs/proc.cfattr->gid = ntohl(*p++);
p152fs/nfs/proc.cfattr->size = ntohl(*p++);
p153fs/nfs/proc.cfattr->blocksize = ntohl(*p++);
p154fs/nfs/proc.cfattr->rdev = ntohl(*p++);
p155fs/nfs/proc.cfattr->blocks = ntohl(*p++);
p156fs/nfs/proc.cfattr->fsid = ntohl(*p++);
p157fs/nfs/proc.cfattr->fileid = ntohl(*p++);
p158fs/nfs/proc.cfattr->atime.seconds = ntohl(*p++);
p159fs/nfs/proc.cfattr->atime.useconds = ntohl(*p++);
p160fs/nfs/proc.cfattr->mtime.seconds = ntohl(*p++);
p161fs/nfs/proc.cfattr->mtime.useconds = ntohl(*p++);
p162fs/nfs/proc.cfattr->ctime.seconds = ntohl(*p++);
p163fs/nfs/proc.cfattr->ctime.useconds = ntohl(*p++);
p164fs/nfs/proc.creturn p;
p167fs/nfs/proc.cstatic int *xdr_encode_sattr(int *p, struct nfs_sattr *sattr)
p169fs/nfs/proc.c*p++ = htonl(sattr->mode);
p170fs/nfs/proc.c*p++ = htonl(sattr->uid);
p171fs/nfs/proc.c*p++ = htonl(sattr->gid);
p172fs/nfs/proc.c*p++ = htonl(sattr->size);
p173fs/nfs/proc.c*p++ = htonl(sattr->atime.seconds);
p174fs/nfs/proc.c*p++ = htonl(sattr->atime.useconds);
p175fs/nfs/proc.c*p++ = htonl(sattr->mtime.seconds);
p176fs/nfs/proc.c*p++ = htonl(sattr->mtime.useconds);
p177fs/nfs/proc.creturn p;
p180fs/nfs/proc.cstatic int *xdr_decode_entry(int *p, struct nfs_entry *entry)
p182fs/nfs/proc.centry->fileid = ntohl(*p++);
p183fs/nfs/proc.cif (!(p = xdr_decode_string(p, entry->name, NFS_MAXNAMLEN)))
p185fs/nfs/proc.centry->cookie = ntohl(*p++);
p187fs/nfs/proc.creturn p;
p190fs/nfs/proc.cstatic int *xdr_decode_fsinfo(int *p, struct nfs_fsinfo *res)
p192fs/nfs/proc.cres->tsize = ntohl(*p++);
p193fs/nfs/proc.cres->bsize = ntohl(*p++);
p194fs/nfs/proc.cres->blocks = ntohl(*p++);
p195fs/nfs/proc.cres->bfree = ntohl(*p++);
p196fs/nfs/proc.cres->bavail = ntohl(*p++);
p197fs/nfs/proc.creturn p;
p207fs/nfs/proc.cint *p, *p0;
p215fs/nfs/proc.cp = nfs_rpc_header(p0, NFSPROC_GETATTR, ruid);
p216fs/nfs/proc.cp = xdr_encode_fhandle(p, fhandle);
p217fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
p221fs/nfs/proc.cif (!(p = nfs_rpc_verify(p0)))
p223fs/nfs/proc.celse if ((status = ntohl(*p++)) == NFS_OK) {
p224fs/nfs/proc.cp = xdr_decode_fattr(p, fattr);
p241fs/nfs/proc.cint *p, *p0;
p249fs/nfs/proc.cp = nfs_rpc_header(p0, NFSPROC_SETATTR, ruid);
p250fs/nfs/proc.cp = xdr_encode_fhandle(p, fhandle);
p251fs/nfs/proc.cp = xdr_encode_sattr(p, sattr);
p252fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
p256fs/nfs/proc.cif (!(p = nfs_rpc_verify(p0)))
p258fs/nfs/proc.celse if ((status = ntohl(*p++)) == NFS_OK) {
p259fs/nfs/proc.cp = xdr_decode_fattr(p, fattr);
p276fs/nfs/proc.cint *p, *p0;
p288fs/nfs/proc.cp = nfs_rpc_header(p0, NFSPROC_LOOKUP, ruid);
p289fs/nfs/proc.cp = xdr_encode_fhandle(p, dir);
p290fs/nfs/proc.cp = xdr_encode_string(p, name);
p291fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
p295fs/nfs/proc.cif (!(p = nfs_rpc_verify(p0)))
p297fs/nfs/proc.celse if ((status = ntohl(*p++)) == NFS_OK) {
p298fs/nfs/proc.cp = xdr_decode_fhandle(p, fhandle);
p299fs/nfs/proc.cp = xdr_decode_fattr(p, fattr);
p316fs/nfs/proc.cint *p, *p0;
p324fs/nfs/proc.cp = nfs_rpc_header(p0, NFSPROC_READLINK, ruid);
p325fs/nfs/proc.cp = xdr_encode_fhandle(p, fhandle);
p326fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
p330fs/nfs/proc.cif (!(p = nfs_rpc_verify(p0)))
p332fs/nfs/proc.celse if ((status = ntohl(*p++)) == NFS_OK) {
p333fs/nfs/proc.cif (!(p = xdr_decode_string(p, res, NFS_MAXPATHLEN))) {
p354fs/nfs/proc.cint *p, *p0;
p363fs/nfs/proc.cp = nfs_rpc_header(p0, NFSPROC_READ, ruid);
p364fs/nfs/proc.cp = xdr_encode_fhandle(p, fhandle);
p365fs/nfs/proc.c*p++ = htonl(offset);
p366fs/nfs/proc.c*p++ = htonl(count);
p367fs/nfs/proc.c*p++ = htonl(count); /* traditional, could be any value */
p368fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
p372fs/nfs/proc.cif (!(p = nfs_rpc_verify(p0)))
p374fs/nfs/proc.celse if ((status = ntohl(*p++)) == NFS_OK) {
p375fs/nfs/proc.cp = xdr_decode_fattr(p, fattr);
p376fs/nfs/proc.cif (!(p = xdr_decode_data(p, data, &len, count))) {
p397fs/nfs/proc.cint *p, *p0;
p405fs/nfs/proc.cp = nfs_rpc_header(p0, NFSPROC_WRITE, ruid);
p406fs/nfs/proc.cp = xdr_encode_fhandle(p, fhandle);
p407fs/nfs/proc.c*p++ = htonl(offset); /* traditional, could be any value */
p408fs/nfs/proc.c*p++ = htonl(offset);
p409fs/nfs/proc.c*p++ = htonl(count); /* traditional, could be any value */
p410fs/nfs/proc.cp = xdr_encode_data(p, data, count);
p411fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
p415fs/nfs/proc.cif (!(p = nfs_rpc_verify(p0)))
p417fs/nfs/proc.celse if ((status = ntohl(*p++)) == NFS_OK) {
p418fs/nfs/proc.cp = xdr_decode_fattr(p, fattr);
p436fs/nfs/proc.cint *p, *p0;
p444fs/nfs/proc.cp = nfs_rpc_header(p0, NFSPROC_CREATE, ruid);
p445fs/nfs/proc.cp = xdr_encode_fhandle(p, dir);
p446fs/nfs/proc.cp = xdr_encode_string(p, name);
p447fs/nfs/proc.cp = xdr_encode_sattr(p, sattr);
p448fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
p452fs/nfs/proc.cif (!(p = nfs_rpc_verify(p0)))
p454fs/nfs/proc.celse if ((status = ntohl(*p++)) == NFS_OK) {
p455fs/nfs/proc.cp = xdr_decode_fhandle(p, fhandle);
p456fs/nfs/proc.cp = xdr_decode_fattr(p, fattr);
p472fs/nfs/proc.cint *p, *p0;
p480fs/nfs/proc.cp = nfs_rpc_header(p0, NFSPROC_REMOVE, ruid);
p481fs/nfs/proc.cp = xdr_encode_fhandle(p, dir);
p482fs/nfs/proc.cp = xdr_encode_string(p, name);
p483fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
p487fs/nfs/proc.cif (!(p = nfs_rpc_verify(p0)))
p489fs/nfs/proc.celse if ((status = ntohl(*p++)) == NFS_OK) {
p507fs/nfs/proc.cint *p, *p0;
p515fs/nfs/proc.cp = nfs_rpc_header(p0, NFSPROC_RENAME, ruid);
p516fs/nfs/proc.cp = xdr_encode_fhandle(p, old_dir);
p517fs/nfs/proc.cp = xdr_encode_string(p, old_name);
p518fs/nfs/proc.cp = xdr_encode_fhandle(p, new_dir);
p519fs/nfs/proc.cp = xdr_encode_string(p, new_name);
p520fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
p524fs/nfs/proc.cif (!(p = nfs_rpc_verify(p0)))
p526fs/nfs/proc.celse if ((status = ntohl(*p++)) == NFS_OK) {
p543fs/nfs/proc.cint *p, *p0;
p551fs/nfs/proc.cp = nfs_rpc_header(p0, NFSPROC_LINK, ruid);
p552fs/nfs/proc.cp = xdr_encode_fhandle(p, fhandle);
p553fs/nfs/proc.cp = xdr_encode_fhandle(p, dir);
p554fs/nfs/proc.cp = xdr_encode_string(p, name);
p555fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
p559fs/nfs/proc.cif (!(p = nfs_rpc_verify(p0)))
p561fs/nfs/proc.celse if ((status = ntohl(*p++)) == NFS_OK) {
p578fs/nfs/proc.cint *p, *p0;
p586fs/nfs/proc.cp = nfs_rpc_header(p0, NFSPROC_SYMLINK, ruid);
p587fs/nfs/proc.cp = xdr_encode_fhandle(p, dir);
p588fs/nfs/proc.cp = xdr_encode_string(p, name);
p589fs/nfs/proc.cp = xdr_encode_string(p, path);
p590fs/nfs/proc.cp = xdr_encode_sattr(p, sattr);
p591fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
p595fs/nfs/proc.cif (!(p = nfs_rpc_verify(p0)))
p597fs/nfs/proc.celse if ((status = ntohl(*p++)) == NFS_OK) {
p615fs/nfs/proc.cint *p, *p0;
p623fs/nfs/proc.cp = nfs_rpc_header(p0, NFSPROC_MKDIR, ruid);
p624fs/nfs/proc.cp = xdr_encode_fhandle(p, dir);
p625fs/nfs/proc.cp = xdr_encode_string(p, name);
p626fs/nfs/proc.cp = xdr_encode_sattr(p, sattr);
p627fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
p631fs/nfs/proc.cif (!(p = nfs_rpc_verify(p0)))
p633fs/nfs/proc.celse if ((status = ntohl(*p++)) == NFS_OK) {
p634fs/nfs/proc.cp = xdr_decode_fhandle(p, fhandle);
p635fs/nfs/proc.cp = xdr_decode_fattr(p, fattr);
p651fs/nfs/proc.cint *p, *p0;
p659fs/nfs/proc.cp = nfs_rpc_header(p0, NFSPROC_RMDIR, ruid);
p660fs/nfs/proc.cp = xdr_encode_fhandle(p, dir);
p661fs/nfs/proc.cp = xdr_encode_string(p, name);
p662fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
p666fs/nfs/proc.cif (!(p = nfs_rpc_verify(p0)))
p668fs/nfs/proc.celse if ((status = ntohl(*p++)) == NFS_OK) {
p685fs/nfs/proc.cint *p, *p0;
p697fs/nfs/proc.cp = nfs_rpc_header(p0, NFSPROC_READDIR, ruid);
p698fs/nfs/proc.cp = xdr_encode_fhandle(p, fhandle);
p699fs/nfs/proc.c*p++ = htonl(cookie);
p700fs/nfs/proc.c*p++ = htonl(size);
p701fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
p705fs/nfs/proc.cif (!(p = nfs_rpc_verify(p0)))
p707fs/nfs/proc.celse if ((status = ntohl(*p++)) == NFS_OK) {
p708fs/nfs/proc.cfor (i = 0; i < count && *p++; i++) {
p709fs/nfs/proc.cif (!(p = xdr_decode_entry(p, entry++)))
p712fs/nfs/proc.cif (!p) {
p717fs/nfs/proc.ceof = (i == count && !*p++ && *p++)
p718fs/nfs/proc.c|| (i < count && *p++);
p739fs/nfs/proc.cint *p, *p0;
p747fs/nfs/proc.cp = nfs_rpc_header(p0, NFSPROC_STATFS, ruid);
p748fs/nfs/proc.cp = xdr_encode_fhandle(p, fhandle);
p749fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
p753fs/nfs/proc.cif (!(p = nfs_rpc_verify(p0)))
p755fs/nfs/proc.celse if ((status = ntohl(*p++)) == NFS_OK) {
p756fs/nfs/proc.cp = xdr_decode_fsinfo(p, res);
p774fs/nfs/proc.cstatic int *nfs_rpc_header(int *p, int procedure, int ruid)
p785fs/nfs/proc.c*p++ = htonl(++xid);
p786fs/nfs/proc.c*p++ = htonl(RPC_CALL);
p787fs/nfs/proc.c*p++ = htonl(RPC_VERSION);
p788fs/nfs/proc.c*p++ = htonl(NFS_PROGRAM);
p789fs/nfs/proc.c*p++ = htonl(NFS_VERSION);
p790fs/nfs/proc.c*p++ = htonl(procedure);
p791fs/nfs/proc.c*p++ = htonl(RPC_AUTH_UNIX);
p792fs/nfs/proc.cp1 = p++;
p793fs/nfs/proc.c*p++ = htonl(CURRENT_TIME); /* traditional, could be anything */
p794fs/nfs/proc.cp = xdr_encode_string(p, (char *) sys);
p795fs/nfs/proc.c*p++ = htonl(ruid ? current->uid : current->euid);
p796fs/nfs/proc.c*p++ = htonl(current->egid);
p797fs/nfs/proc.cp2 = p++;
p799fs/nfs/proc.c*p++ = htonl(current->groups[i]);
p801fs/nfs/proc.c*p1 = htonl((p - (p1 + 1)) << 2);
p802fs/nfs/proc.c*p++ = htonl(RPC_AUTH_NULL);
p803fs/nfs/proc.c*p++ = htonl(0);
p804fs/nfs/proc.creturn p;
p807fs/nfs/proc.cstatic int *nfs_rpc_verify(int *p)
p811fs/nfs/proc.cp++;
p812fs/nfs/proc.cif ((n = ntohl(*p++)) != RPC_REPLY) {
p816fs/nfs/proc.cif ((n = ntohl(*p++)) != RPC_MSG_ACCEPTED) {
p820fs/nfs/proc.cswitch (n = ntohl(*p++)) {
p827fs/nfs/proc.cif ((n = ntohl(*p++)) > 400) {
p831fs/nfs/proc.cp += (n + 3) >> 2;
p832fs/nfs/proc.cif ((n = ntohl(*p++)) != RPC_SUCCESS) {
p836fs/nfs/proc.creturn p;
p41fs/proc/array.cunsigned long p = file->f_pos;
p53fs/proc/array.cif (p >= high_memory + PAGE_SIZE)
p55fs/proc/array.cif (count > high_memory + PAGE_SIZE - p)
p56fs/proc/array.ccount = high_memory + PAGE_SIZE - p;
p59fs/proc/array.cif (p < sizeof(struct user) && count > 0) {
p61fs/proc/array.cif (p + count1 > sizeof(struct user))
p62fs/proc/array.ccount1 = sizeof(struct user)-p;
p63fs/proc/array.cpnt = (char *) &dump + p;
p66fs/proc/array.cp += count1;
p71fs/proc/array.cwhile (p < 2*PAGE_SIZE && count > 0) {
p74fs/proc/array.cp++;
p78fs/proc/array.cmemcpy_tofs(buf,(void *) (p - PAGE_SIZE),count);
p171fs/proc/array.cstruct task_struct ** p;
p173fs/proc/array.cp = task;
p174fs/proc/array.cwhile (++p < task+NR_TASKS) {
p175fs/proc/array.cif (*p && (*p)->pid == pid)
p176fs/proc/array.creturn p;
p181fs/proc/array.cstatic unsigned long get_phys_addr(struct task_struct ** p, unsigned long ptr)
p185fs/proc/array.cif (!p || !*p || ptr >= TASK_SIZE)
p187fs/proc/array.cpage = *PAGE_DIR_OFFSET((*p)->tss.cr3,ptr);
p200fs/proc/array.cstatic int get_array(struct task_struct ** p, unsigned long start, unsigned long end, char * buffer)
p209fs/proc/array.caddr = get_phys_addr(p, start);
p235fs/proc/array.cstruct task_struct ** p = get_task(pid);
p237fs/proc/array.cif (!p || !*p)
p239fs/proc/array.creturn get_array(p, (*p)->mm->env_start, (*p)->mm->env_end, buffer);
p244fs/proc/array.cstruct task_struct ** p = get_task(pid);
p246fs/proc/array.cif (!p || !*p)
p248fs/proc/array.creturn get_array(p, (*p)->mm->arg_start, (*p)->mm->arg_end, buffer);
p251fs/proc/array.cstatic unsigned long get_wchan(struct task_struct *p)
p257fs/proc/array.cif (!p || p == current || p->state == TASK_RUNNING)
p259fs/proc/array.cstack_page = p->kernel_stack_page;
p262fs/proc/array.cebp = p->tss.ebp;
p280fs/proc/array.cstruct task_struct ** p = get_task(pid);
p286fs/proc/array.cif (!p || !*p)
p288fs/proc/array.cif ((*p)->state < 0 || (*p)->state > 5)
p291fs/proc/array.cstate = "RSDZTD"[(*p)->state];
p293fs/proc/array.cvsize = (*p)->kernel_stack_page;
p297fs/proc/array.cvsize = (*p)->mm->brk - (*p)->mm->start_code + PAGE_SIZE-1;
p301fs/proc/array.cwchan = get_wchan(*p);
p303fs/proc/array.cswitch((int) (*p)->sigaction[i].sa_handler) {
p309fs/proc/array.cif ((*p)->tty)
p310fs/proc/array.ctty_pgrp = (*p)->tty->pgrp;
p317fs/proc/array.c(*p)->comm,
p319fs/proc/array.c(*p)->p_pptr->pid,
p320fs/proc/array.c(*p)->pgrp,
p321fs/proc/array.c(*p)->session,
p322fs/proc/array.c(*p)->tty ? (*p)->tty->device : 0,
p324fs/proc/array.c(*p)->flags,
p325fs/proc/array.c(*p)->mm->min_flt,
p326fs/proc/array.c(*p)->mm->cmin_flt,
p327fs/proc/array.c(*p)->mm->maj_flt,
p328fs/proc/array.c(*p)->mm->cmaj_flt,
p329fs/proc/array.c(*p)->utime,
p330fs/proc/array.c(*p)->stime,
p331fs/proc/array.c(*p)->cutime,
p332fs/proc/array.c(*p)->cstime,
p333fs/proc/array.c(*p)->counter,  /* this is the kernel priority ---
p335fs/proc/array.c(*p)->priority, /* this is the nice value ---
p337fs/proc/array.c(*p)->timeout,
p338fs/proc/array.c(*p)->it_real_value,
p339fs/proc/array.c(*p)->start_time,
p341fs/proc/array.c(*p)->mm->rss, /* you might want to shift this left 3 */
p342fs/proc/array.c(*p)->rlim[RLIMIT_RSS].rlim_cur,
p343fs/proc/array.c(*p)->mm->start_code,
p344fs/proc/array.c(*p)->mm->end_code,
p345fs/proc/array.c(*p)->mm->start_stack,
p348fs/proc/array.c(*p)->signal,
p349fs/proc/array.c(*p)->blocked,
p357fs/proc/array.cstruct task_struct ** p = get_task(pid);
p362fs/proc/array.cif (!p || !*p)
p364fs/proc/array.ctpag = (*p)->mm->end_code / PAGE_SIZE;
p365fs/proc/array.cif ((*p)->state != TASK_ZOMBIE) {
p366fs/proc/array.cpagedir = (unsigned long *) (*p)->tss.cr3;
p405fs/proc/array.cstruct task_struct **p = get_task(pid);
p408fs/proc/array.cif (!p || !*p)
p411fs/proc/array.cfor(map = (*p)->mm->mmap; map != NULL; map = map->vm_next) {
p57fs/proc/fd.cstruct task_struct * p;
p103fs/proc/fd.cif ((p = task[i]) && p->pid == pid)
p108fs/proc/fd.cif (fd >= NR_OPEN || !p->files->fd[fd] || !p->files->fd[fd]->f_inode)
p114fs/proc/fd.cfor (mpnt = p->mm->mmap; mpnt; mpnt = mpnt->vm_next)
p129fs/proc/fd.cstruct task_struct * p;
p159fs/proc/fd.cif ((p = task[i]) && p->pid == pid)
p166fs/proc/fd.cif (!p->files->fd[fd] || !p->files->fd[fd]->f_inode)
p171fs/proc/fd.cfor (mpnt = p->mm->mmap ; mpnt ; mpnt = mpnt->vm_next)
p77fs/proc/inode.cstruct task_struct * p;
p91fs/proc/inode.cp = task[0];
p93fs/proc/inode.cif ((p = task[i]) && (p->pid == pid))
p95fs/proc/inode.cif (!p || i >= NR_TASKS)
p135fs/proc/inode.cinode->i_uid = p->euid;
p136fs/proc/inode.cinode->i_gid = p->egid;
p172fs/proc/inode.cif (ino >= NR_OPEN || !p->files->fd[ino])
p183fs/proc/inode.cfor (mpnt = p->mm->mmap ; mpnt ; mpnt = mpnt->vm_next)
p45fs/proc/link.cstruct task_struct * p;
p62fs/proc/link.cif ((p = task[i]) && p->pid == pid)
p69fs/proc/link.cinode = p->fs->pwd;
p72fs/proc/link.cinode = p->fs->root;
p75fs/proc/link.cinode = p->executable;
p81fs/proc/link.cif (ino < NR_OPEN && p->files->fd[ino])
p82fs/proc/link.cinode = p->files->fd[ino]->f_inode;
p88fs/proc/link.cfor(mpnt = p->mm->mmap; mpnt && j >= 0;
p137fs/proc/root.cstruct task_struct * p;
p162fs/proc/root.cp = task[nr];
p163fs/proc/root.cif (!p || !(pid = p->pid))
p47fs/select.cstatic void free_wait(select_table * p)
p49fs/select.cstruct select_table_entry * entry = p->entry + p->nr;
p51fs/select.cwhile (p->nr > 0) {
p52fs/select.cp->nr--;
p249fs/sysv/file.cchar * p;
p294fs/sysv/file.cp = (pos & sb->sv_block_size_1) + bh_data;
p301fs/sysv/file.cmemcpy_fromfs(p,buf,c);
p476fs/sysv/inode.cunsigned long *p;
p480fs/sysv/inode.cp = inode->u.sysv_i.i_data + nr;
p482fs/sysv/inode.ctmp = *p;
p485fs/sysv/inode.cif (tmp == *p) {
p498fs/sysv/inode.cif (*p) {
p503fs/sysv/inode.c*p = tmp;
p515fs/sysv/inode.csysv_zone_t *p;
p529fs/sysv/inode.cp = nr + (sysv_zone_t *) *start;
p531fs/sysv/inode.cblock = tmp = *p;
p536fs/sysv/inode.cif (tmp == *p) {
p554fs/sysv/inode.cif (*p) {
p559fs/sysv/inode.c*p = (sb->sv_convert ? to_coh_ulong(block) : block);
p616fs/sysv/inode.cstatic inline unsigned long read3byte (char * p)
p618fs/sysv/inode.creturn (unsigned long)(*(unsigned short *)p)
p619fs/sysv/inode.c| (unsigned long)(*(unsigned char *)(p+2)) << 16;
p622fs/sysv/inode.cstatic inline void write3byte (char * p, unsigned long val)
p624fs/sysv/inode.c*(unsigned short *)p = (unsigned short) val;
p625fs/sysv/inode.c*(unsigned char *)(p+2) = val >> 16;
p628fs/sysv/inode.cstatic inline unsigned long coh_read3byte (char * p)
p630fs/sysv/inode.creturn (unsigned long)(*(unsigned char *)p) << 16
p631fs/sysv/inode.c| (unsigned long)(*(unsigned short *)(p+1));
p634fs/sysv/inode.cstatic inline void coh_write3byte (char * p, unsigned long val)
p636fs/sysv/inode.c*(unsigned char *)p = val >> 16;
p637fs/sysv/inode.c*(unsigned short *)(p+1) = (unsigned short) val;
p35fs/sysv/truncate.cunsigned long * p;
p39fs/sysv/truncate.cp = &inode->u.sysv_i.i_data[i];
p40fs/sysv/truncate.cblock = *p;
p43fs/sysv/truncate.c*p = 0;
p53fs/sysv/truncate.cstatic int coh_trunc_indirect (struct inode * inode, unsigned long blocks, unsigned long * p, int convert, unsigned char * dirt)
p64fs/sysv/truncate.cblock = tmp = *p;
p70fs/sysv/truncate.cif (tmp != *p) {
p75fs/sysv/truncate.c*p = 0;
p93fs/sysv/truncate.cif (tmp != *p) {
p97fs/sysv/truncate.c*p = 0;
p108fs/sysv/truncate.cstatic int coh_trunc_dindirect (struct inode * inode, unsigned long blocks, unsigned long * p, int convert, unsigned char * dirt)
p120fs/sysv/truncate.cblock = tmp = *p;
p126fs/sysv/truncate.cif (tmp != *p) {
p131fs/sysv/truncate.c*p = 0;
p150fs/sysv/truncate.cif (tmp != *p) {
p154fs/sysv/truncate.c*p = 0;
p165fs/sysv/truncate.cstatic int coh_trunc_tindirect (struct inode * inode, unsigned long blocks, unsigned long * p)
p177fs/sysv/truncate.cblock = *p;
p181fs/sysv/truncate.cif (block != *p) {
p186fs/sysv/truncate.c*p = 0;
p205fs/sysv/truncate.cif (block != *p) {
p209fs/sysv/truncate.c*p = 0;
p259fs/sysv/truncate.cunsigned long * p;
p267fs/sysv/truncate.cp = inode->u.sysv_i.i_data + i;
p268fs/sysv/truncate.cblock = *p;
p276fs/sysv/truncate.cif ((bh && bh->b_count != 1) || (block != *p)) {
p281fs/sysv/truncate.c*p = 0;
p291fs/sysv/truncate.cstatic int trunc_indirect(struct inode * inode, unsigned long offset, unsigned long * p, int convert, unsigned char * dirt)
p302fs/sysv/truncate.cindblock = indtmp = *p;
p309fs/sysv/truncate.cif (indtmp != *p) {
p314fs/sysv/truncate.c*p = 0;
p348fs/sysv/truncate.cif ((indbh->b_count != 1) || (indtmp != *p)) {
p352fs/sysv/truncate.c*p = 0;
p360fs/sysv/truncate.cstatic int trunc_dindirect(struct inode * inode, unsigned long offset, unsigned long * p, int convert, unsigned char * dirt)
p370fs/sysv/truncate.cindblock = indtmp = *p;
p377fs/sysv/truncate.cif (indtmp != *p) {
p382fs/sysv/truncate.c*p = 0;
p402fs/sysv/truncate.cif ((indbh->b_count != 1) || (indtmp != *p)) {
p406fs/sysv/truncate.c*p = 0;
p414fs/sysv/truncate.cstatic int trunc_tindirect(struct inode * inode, unsigned long offset, unsigned long * p, int convert, unsigned char * dirt)
p424fs/sysv/truncate.cindblock = indtmp = *p;
p431fs/sysv/truncate.cif (indtmp != *p) {
p436fs/sysv/truncate.c*p = 0;
p456fs/sysv/truncate.cif ((indbh->b_count != 1) || (indtmp != *p)) {
p460fs/sysv/truncate.c*p = 0;
p449ibcs/binfmt_coff.cbprm->p += change_ldt (0, bprm->page);
p450ibcs/binfmt_coff.cbprm->p -= MAX_ARG_PAGES*PAGE_SIZE;
p451ibcs/binfmt_coff.cbprm->p  = (unsigned long) create_tables ((char *) bprm->p,
p471ibcs/binfmt_coff.ccurrent->mm->start_stack = bprm->p;
p57ibcs/binfmt_elf.cunsigned long * create_elf_tables(char * p,int argc,int envc,struct elfhdr * exec, unsigned int load_addr, int ibcs)
p66ibcs/binfmt_elf.cmpnt->vm_start = PAGE_MASK & (unsigned long) p;
p76ibcs/binfmt_elf.csp = (unsigned long *) (0xfffffffc & (unsigned long) p);
p105ibcs/binfmt_elf.ccurrent->mm->arg_start = (unsigned long) p;
p107ibcs/binfmt_elf.cput_fs_long((unsigned long) p,argv++);
p108ibcs/binfmt_elf.cwhile (get_fs_byte(p++)) /* nothing */ ;
p111ibcs/binfmt_elf.ccurrent->mm->arg_end = current->mm->env_start = (unsigned long) p;
p113ibcs/binfmt_elf.cput_fs_long((unsigned long) p,envp++);
p114ibcs/binfmt_elf.cwhile (get_fs_byte(p++)) /* nothing */ ;
p117ibcs/binfmt_elf.ccurrent->mm->env_end = (unsigned long) p;
p411ibcs/binfmt_elf.cbprm->p = copy_strings(1,&passed_p,bprm->page,bprm->p,2);
p415ibcs/binfmt_elf.cif (!bprm->p) {
p436ibcs/binfmt_elf.cbprm->p += change_ldt(0, bprm->page);
p437ibcs/binfmt_elf.ccurrent->mm->start_stack = bprm->p;
p521ibcs/binfmt_elf.ccurrent->start_stack = p = elf_stack - 4;
p523ibcs/binfmt_elf.cbprm->p -= MAX_ARG_PAGES*PAGE_SIZE;
p524ibcs/binfmt_elf.cbprm->p = (unsigned long) 
p525ibcs/binfmt_elf.ccreate_elf_tables((char *)bprm->p,
p537ibcs/binfmt_elf.ccurrent->mm->start_stack = bprm->p;
p556ibcs/binfmt_elf.cregs->esp = bprm->p;      /* stack pointer */
p19include/linux/binfmts.hunsigned long p;
p49include/linux/binfmts.hextern unsigned long * create_tables(char * p,int argc,int envc,int ibcs);
p51include/linux/binfmts.hunsigned long p, int from_kmem);
p367include/linux/sched.hextern void sleep_on(struct wait_queue ** p);
p368include/linux/sched.hextern void interruptible_sleep_on(struct wait_queue ** p);
p369include/linux/sched.hextern void wake_up(struct wait_queue ** p);
p370include/linux/sched.hextern void wake_up_interruptible(struct wait_queue ** p);
p373include/linux/sched.hextern int send_sig(unsigned long sig,struct task_struct * p,int priv);
p458include/linux/sched.hextern inline void add_wait_queue(struct wait_queue ** p, struct wait_queue * wait)
p472include/linux/sched.hif (!*p) {
p474include/linux/sched.h*p = wait;
p476include/linux/sched.hwait->next = (*p)->next;
p477include/linux/sched.h(*p)->next = wait;
p482include/linux/sched.hextern inline void remove_wait_queue(struct wait_queue ** p, struct wait_queue * wait)
p492include/linux/sched.hif ((*p == wait) &&
p496include/linux/sched.h((*p = wait->next) == wait)) {
p497include/linux/sched.h*p = NULL;
p503include/linux/sched.hif (tmp == *p)
p514include/linux/sched.hprintk("list = %08x, queue = %08x\n",(unsigned long) p, (unsigned long) wait);
p521include/linux/sched.hextern inline void select_wait(struct wait_queue ** wait_address, select_table * p)
p525include/linux/sched.hif (!p || !wait_address)
p527include/linux/sched.hif (p->nr >= __MAX_SELECT_TABLE_ENTRIES)
p529include/linux/sched.hentry = p->entry + p->nr;
p534include/linux/sched.hp->nr++;
p579include/linux/sched.h#define REMOVE_LINKS(p) do { unsigned long flags; \
p581include/linux/sched.h(p)->next_task->prev_task = (p)->prev_task; \
p582include/linux/sched.h(p)->prev_task->next_task = (p)->next_task; \
p584include/linux/sched.hif ((p)->p_osptr) \
p585include/linux/sched.h(p)->p_osptr->p_ysptr = (p)->p_ysptr; \
p586include/linux/sched.hif ((p)->p_ysptr) \
p587include/linux/sched.h(p)->p_ysptr->p_osptr = (p)->p_osptr; \
p589include/linux/sched.h(p)->p_pptr->p_cptr = (p)->p_osptr; \
p592include/linux/sched.h#define SET_LINKS(p) do { unsigned long flags; \
p594include/linux/sched.h(p)->next_task = &init_task; \
p595include/linux/sched.h(p)->prev_task = init_task.prev_task; \
p596include/linux/sched.hinit_task.prev_task->next_task = (p); \
p597include/linux/sched.hinit_task.prev_task = (p); \
p599include/linux/sched.h(p)->p_ysptr = NULL; \
p600include/linux/sched.hif (((p)->p_osptr = (p)->p_pptr->p_cptr) != NULL) \
p601include/linux/sched.h(p)->p_osptr->p_ysptr = p; \
p602include/linux/sched.h(p)->p_pptr->p_cptr = p; \
p605include/linux/sched.h#define for_each_task(p) \
p606include/linux/sched.hfor (p = &init_task ; (p = p->next_task) != &init_task ; )
p155include/linux/tqueue.hregister struct tq_struct *p;
p160include/linux/tqueue.hp = &tq_last;
p161include/linux/tqueue.h__asm__ __volatile__("xchgl %0,%2" : "=r" (p) :
p162include/linux/tqueue.h"0" (p), "m" (*list) : "memory");
p163include/linux/tqueue.hif(p == &tq_last)
p167include/linux/tqueue.harg    = p -> data;
p168include/linux/tqueue.hf      = p -> routine;
p169include/linux/tqueue.hsave_p = p -> next;
p170include/linux/tqueue.hp -> sync = 0;
p172include/linux/tqueue.hp = save_p;
p173include/linux/tqueue.h} while(p != &tq_last);
p108include/linux/ultrasound.h#define GUS_VOICEFREQ(chn, voice, p)    _GUS_CMD(chn, voice, _GUS_VOICEFREQ, \
p109include/linux/ultrasound.h(p) & 0xffff, ((p) >> 16) & 0xffff)
p118include/linux/ultrasound.h#define GUS_VOICE_POS(chn, voice, p)    _GUS_CMD(chn, voice, _GUS_VOICE_POS, \
p119include/linux/ultrasound.h(p) & 0xffff, ((p) >> 16) & 0xffff)
p44kernel/dma.cstatic __inline__ unsigned int mutex_atomic_swap(volatile unsigned int * p, unsigned int newval)
p57kernel/dma.c: /* inputs: newval, p */ "0" (semval), "m" (*p)
p25kernel/exit.cstatic int generate(unsigned long sig, struct task_struct * p)
p28kernel/exit.cstruct sigaction * sa = sig + p->sigaction - 1;
p31kernel/exit.cif (p->flags & PF_PTRACED) {
p32kernel/exit.cp->signal |= mask;
p42kernel/exit.cp->signal |= mask;
p46kernel/exit.cint send_sig(unsigned long sig,struct task_struct * p,int priv)
p48kernel/exit.cif (!p || sig > 32)
p50kernel/exit.cif (!priv && ((sig != SIGCONT) || (current->session != p->session)) &&
p51kernel/exit.c(current->euid != p->euid) && (current->uid != p->uid) && !suser())
p58kernel/exit.cif (p->state == TASK_ZOMBIE)
p61kernel/exit.cif (p->state == TASK_STOPPED)
p62kernel/exit.cp->state = TASK_RUNNING;
p63kernel/exit.cp->exit_code = 0;
p64kernel/exit.cp->signal &= ~( (1<<(SIGSTOP-1)) | (1<<(SIGTSTP-1)) |
p69kernel/exit.cp->signal &= ~(1<<(SIGCONT-1));
p71kernel/exit.cgenerate(sig,p);
p83kernel/exit.cvoid release(struct task_struct * p)
p87kernel/exit.cif (!p)
p89kernel/exit.cif (p == current) {
p94kernel/exit.cif (task[i] == p) {
p96kernel/exit.cREMOVE_LINKS(p);
p97kernel/exit.cif (STACK_MAGIC != *(unsigned long *)p->kernel_stack_page)
p98kernel/exit.cprintk(KERN_ALERT "release: %s kernel stack corruption. Aiee\n", p->comm);
p99kernel/exit.cfree_page(p->kernel_stack_page);
p100kernel/exit.cfree_page((long) p);
p111kernel/exit.cint bad_task_ptr(struct task_struct *p)
p115kernel/exit.cif (!p)
p118kernel/exit.cif (task[i] == p)
p206kernel/exit.cstruct task_struct *p;
p210kernel/exit.cfor_each_task(p) {
p211kernel/exit.cif (p->session <= 0)
p213kernel/exit.cif (p->pgrp == pgrp)
p214kernel/exit.creturn p->session;
p215kernel/exit.cif (p->pid == pgrp)
p216kernel/exit.cfallback = p->session;
p227kernel/exit.cstruct task_struct *p;
p233kernel/exit.cfor_each_task(p) {
p234kernel/exit.cif (p->pgrp == pgrp) {
p235kernel/exit.cif ((err = send_sig(sig,p,priv)) != 0)
p251kernel/exit.cstruct task_struct *p;
p257kernel/exit.cfor_each_task(p) {
p258kernel/exit.cif (p->session == sess && p->leader) {
p259kernel/exit.cif ((err = send_sig(sig,p,priv)) != 0)
p270kernel/exit.cstruct task_struct *p;
p274kernel/exit.cfor_each_task(p) {
p275kernel/exit.cif (p && p->pid == pid)
p276kernel/exit.creturn send_sig(sig,p,priv);
p292kernel/exit.cstruct task_struct * p;
p293kernel/exit.cfor_each_task(p) {
p294kernel/exit.cif (p->pid > 1 && p != current) {
p296kernel/exit.cif ((err = send_sig(sig,p,0)) != -EPERM)
p318kernel/exit.cstruct task_struct *p;
p320kernel/exit.cfor_each_task(p) {
p321kernel/exit.cif ((p->pgrp != pgrp) || 
p322kernel/exit.c(p->state == TASK_ZOMBIE) ||
p323kernel/exit.c(p->p_pptr->pid == 1))
p325kernel/exit.cif ((p->p_pptr->pgrp != pgrp) &&
p326kernel/exit.c(p->p_pptr->session == p->session))
p334kernel/exit.cstruct task_struct * p;
p336kernel/exit.cfor_each_task(p) {
p337kernel/exit.cif (p->pgrp != pgrp)
p339kernel/exit.cif (p->state == TASK_STOPPED)
p347kernel/exit.cstruct task_struct * p;
p349kernel/exit.cfor_each_task(p) {
p350kernel/exit.cif (p->p_opptr == father)
p352kernel/exit.cp->p_opptr = task[1];
p354kernel/exit.cp->p_opptr = task[0];
p409kernel/exit.cstruct task_struct *p;
p451kernel/exit.cwhile ((p = current->p_cptr) != NULL) {
p452kernel/exit.ccurrent->p_cptr = p->p_osptr;
p453kernel/exit.cp->p_ysptr = NULL;
p454kernel/exit.cp->flags &= ~(PF_PTRACED|PF_TRACESYS);
p456kernel/exit.cp->p_pptr = task[1];
p458kernel/exit.cp->p_pptr = task[0];
p459kernel/exit.cp->p_osptr = p->p_pptr->p_cptr;
p460kernel/exit.cp->p_osptr->p_ysptr = p;
p461kernel/exit.cp->p_pptr->p_cptr = p;
p462kernel/exit.cif (p->state == TASK_ZOMBIE)
p463kernel/exit.cnotify_parent(p);
p470kernel/exit.cif ((p->pgrp != current->pgrp) &&
p471kernel/exit.c(p->session == current->session) &&
p472kernel/exit.cis_orphaned_pgrp(p->pgrp) &&
p473kernel/exit.chas_stopped_jobs(p->pgrp)) {
p474kernel/exit.ckill_pg(p->pgrp,SIGHUP,1);
p475kernel/exit.ckill_pg(p->pgrp,SIGCONT,1);
p518kernel/exit.cstruct task_struct *p;
p528kernel/exit.cfor (p = current->p_cptr ; p ; p = p->p_osptr) {
p530kernel/exit.cif (p->pid != pid)
p533kernel/exit.cif (p->pgrp != current->pgrp)
p536kernel/exit.cif (p->pgrp != -pid)
p540kernel/exit.cif ((p->exit_signal != SIGCHLD) ^ ((options & __WCLONE) != 0))
p543kernel/exit.cswitch (p->state) {
p545kernel/exit.cif (!p->exit_code)
p547kernel/exit.cif (!(options & WUNTRACED) && !(p->flags & PF_PTRACED))
p550kernel/exit.cput_fs_long((p->exit_code << 8) | 0x7f,
p552kernel/exit.cp->exit_code = 0;
p554kernel/exit.cgetrusage(p, RUSAGE_BOTH, ru);
p555kernel/exit.cretval = p->pid;
p558kernel/exit.ccurrent->cutime += p->utime + p->cutime;
p559kernel/exit.ccurrent->cstime += p->stime + p->cstime;
p560kernel/exit.ccurrent->mm->cmin_flt += p->mm->min_flt + p->mm->cmin_flt;
p561kernel/exit.ccurrent->mm->cmaj_flt += p->mm->maj_flt + p->mm->cmaj_flt;
p563kernel/exit.cgetrusage(p, RUSAGE_BOTH, ru);
p564kernel/exit.cflag = p->pid;
p566kernel/exit.cput_fs_long(p->exit_code, stat_addr);
p567kernel/exit.cif (p->p_opptr != p->p_pptr) {
p568kernel/exit.cREMOVE_LINKS(p);
p569kernel/exit.cp->p_pptr = p->p_opptr;
p570kernel/exit.cSET_LINKS(p);
p571kernel/exit.cnotify_parent(p);
p573kernel/exit.crelease(p);
p94kernel/fork.cstruct vm_area_struct * mpnt, **p, *tmp;
p97kernel/fork.cp = &tsk->mm->mmap;
p107kernel/fork.c*p = tmp;
p108kernel/fork.cp = &tmp->vm_next;
p116kernel/fork.cstatic void copy_files(unsigned long clone_flags, struct task_struct * p)
p123kernel/fork.cif ((f = p->files->fd[i]) != NULL)
p124kernel/fork.cp->files->fd[i] = copy_fd(f);
p127kernel/fork.cif ((f = p->files->fd[i]) != NULL)
p136kernel/fork.cstatic int copy_mm(unsigned long clone_flags, struct task_struct * p)
p139kernel/fork.cp->mm->swappable = 1;
p140kernel/fork.cp->mm->min_flt = p->mm->maj_flt = 0;
p141kernel/fork.cp->mm->cmin_flt = p->mm->cmaj_flt = 0;
p142kernel/fork.cif (copy_page_tables(p))
p144kernel/fork.cdup_mmap(p);
p146kernel/fork.cif (clone_page_tables(p))
p148kernel/fork.cdup_mmap(p);    /* wrong.. */
p150kernel/fork.creturn shm_fork(current, p);
p153kernel/fork.cstatic void copy_fs(unsigned long clone_flags, struct task_struct * p)
p173kernel/fork.cstruct task_struct *p;
p177kernel/fork.cif(!(p = (struct task_struct*)__get_free_page(GFP_KERNEL)))
p182kernel/fork.ctask[nr] = p;
p183kernel/fork.c*p = *current;
p185kernel/fork.cif (p->exec_domain && p->exec_domain->use_count)
p186kernel/fork.c(*p->exec_domain->use_count)++;
p187kernel/fork.cif (p->binfmt && p->binfmt->use_count)
p188kernel/fork.c(*p->binfmt->use_count)++;
p190kernel/fork.cp->did_exec = 0;
p191kernel/fork.cp->kernel_stack_page = 0;
p192kernel/fork.cp->state = TASK_UNINTERRUPTIBLE;
p193kernel/fork.cp->flags &= ~(PF_PTRACED|PF_TRACESYS);
p194kernel/fork.cp->pid = last_pid;
p195kernel/fork.cp->p_pptr = p->p_opptr = current;
p196kernel/fork.cp->p_cptr = NULL;
p197kernel/fork.cSET_LINKS(p);
p198kernel/fork.cp->signal = 0;
p199kernel/fork.cp->it_real_value = p->it_virt_value = p->it_prof_value = 0;
p200kernel/fork.cp->it_real_incr = p->it_virt_incr = p->it_prof_incr = 0;
p201kernel/fork.cp->leader = 0;    /* process leadership doesn't inherit */
p202kernel/fork.cp->utime = p->stime = 0;
p203kernel/fork.cp->cutime = p->cstime = 0;
p204kernel/fork.cp->start_time = jiffies;
p208kernel/fork.cif (!(p->kernel_stack_page = get_free_page(GFP_KERNEL)))
p210kernel/fork.c*(unsigned long *)p->kernel_stack_page = STACK_MAGIC;
p211kernel/fork.cp->tss.es = KERNEL_DS;
p212kernel/fork.cp->tss.cs = KERNEL_CS;
p213kernel/fork.cp->tss.ss = KERNEL_DS;
p214kernel/fork.cp->tss.ds = KERNEL_DS;
p215kernel/fork.cp->tss.fs = USER_DS;
p216kernel/fork.cp->tss.gs = KERNEL_DS;
p217kernel/fork.cp->tss.ss0 = KERNEL_DS;
p218kernel/fork.cp->tss.esp0 = p->kernel_stack_page + PAGE_SIZE;
p219kernel/fork.cp->tss.tr = _TSS(nr);
p220kernel/fork.cchildregs = ((struct pt_regs *) (p->kernel_stack_page + PAGE_SIZE)) - 1;
p221kernel/fork.cp->tss.esp = (unsigned long) childregs;
p222kernel/fork.cp->tss.eip = (unsigned long) ret_from_sys_call;
p225kernel/fork.cp->tss.back_link = 0;
p226kernel/fork.cp->tss.eflags = regs.eflags & 0xffffcfff;  /* iopl is always 0 for a new process */
p234kernel/fork.cp->exit_signal = clone_flags & CSIGNAL;
p235kernel/fork.cp->tss.ldt = _LDT(nr);
p236kernel/fork.cif (p->ldt) {
p237kernel/fork.cp->ldt = (struct desc_struct*) vmalloc(LDT_ENTRIES*LDT_ENTRY_SIZE);
p238kernel/fork.cif (p->ldt != NULL)
p239kernel/fork.cmemcpy(p->ldt, current->ldt, LDT_ENTRIES*LDT_ENTRY_SIZE);
p241kernel/fork.cp->tss.bitmap = offsetof(struct tss_struct,io_bitmap);
p243kernel/fork.cp->tss.io_bitmap[i] = ~0;
p245kernel/fork.c__asm__("clts ; fnsave %0 ; frstor %0":"=m" (p->tss.i387));
p246kernel/fork.cif (copy_mm(clone_flags, p))
p248kernel/fork.ccopy_files(clone_flags, p);
p249kernel/fork.ccopy_fs(clone_flags, p);
p250kernel/fork.cset_tss_desc(gdt+(nr<<1)+FIRST_TSS_ENTRY,&(p->tss));
p251kernel/fork.cif (p->ldt)
p252kernel/fork.cset_ldt_desc(gdt+(nr<<1)+FIRST_LDT_ENTRY,p->ldt, 512);
p256kernel/fork.cp->counter = current->counter >> 1;
p257kernel/fork.cp->state = TASK_RUNNING;  /* do this last, just in case */
p258kernel/fork.creturn p->pid;
p261kernel/fork.cREMOVE_LINKS(p);
p262kernel/fork.cfree_page(p->kernel_stack_page);
p264kernel/fork.cfree_page((long) p);
p21kernel/info.cstruct task_struct **p;
p34kernel/info.cfor (p = &LAST_TASK; p > &FIRST_TASK; p--)
p35kernel/info.cif (*p) val.procs++;
p452kernel/module.cchar *p;
p459kernel/module.cp = buf;
p462kernel/module.cif (p - buf > 4096 - 100)
p467kernel/module.c*p++ = *q++;
p475kernel/module.c*p++ = ' ';
p478kernel/module.c*p++ = *q++;
p488kernel/module.c*p++ = *q++;
p491kernel/module.c*p++ = '\t';
p492kernel/module.c*p++ = '[';
p496kernel/module.c*p++ = *q++;
p498kernel/module.c*p++ = ' ';
p500kernel/module.c*p++ = ']';
p502kernel/module.c*p++ = '\n';
p504kernel/module.creturn p - buf;
p516kernel/module.cchar *p = buf;
p525kernel/module.cif (p - buf > 4096 - 100) {
p526kernel/module.cstrcat(p, "...\n");
p527kernel/module.cp += strlen(p);
p528kernel/module.creturn p - buf; /* avoid overflowing buffer */
p532kernel/module.csprintf(p, "%08lx %s\t[%s]\n",
p536kernel/module.csprintf(p, "%08lx %s\n",
p539kernel/module.cp += strlen(p);
p544kernel/module.creturn p - buf;
p146kernel/printk.cchar *msg, *p, *buf_end;
p156kernel/printk.cfor (p = buf + 3; p < buf_end; p++) {
p157kernel/printk.cmsg = p;
p160kernel/printk.cp[0] != '<' ||
p161kernel/printk.cp[1] < '0' || 
p162kernel/printk.cp[1] > '7' ||
p163kernel/printk.cp[2] != '>'
p165kernel/printk.cp -= 3;
p166kernel/printk.cp[0] = '<';
p167kernel/printk.cp[1] = DEFAULT_MESSAGE_LOGLEVEL - 1 + '0';
p168kernel/printk.cp[2] = '>';
p171kernel/printk.cmsg_level = p[1] - '0';
p173kernel/printk.cfor (; p < buf_end; p++) {
p174kernel/printk.clog_buf[(log_start+log_size) & (LOG_BUF_LEN-1)] = *p;
p180kernel/printk.cif (*p == '\n')
p184kernel/printk.cchar tmp = p[1];
p185kernel/printk.cp[1] = '\0';
p187kernel/printk.cp[1] = tmp;
p189kernel/printk.cif (*p == '\n')
p206kernel/printk.cint  p = log_start;
p214kernel/printk.cbuf[j++] = log_buf[p];
p215kernel/printk.cp++; p &= LOG_BUF_LEN-1;
p167kernel/sched.cstruct task_struct * p;
p183kernel/sched.cp = &init_task;
p185kernel/sched.cif ((p = p->next_task) == &init_task)
p187kernel/sched.cif (ticks && p->it_real_value) {
p188kernel/sched.cif (p->it_real_value <= ticks) {
p189kernel/sched.csend_sig(SIGALRM, p, 1);
p190kernel/sched.cif (!p->it_real_incr) {
p191kernel/sched.cp->it_real_value = 0;
p195kernel/sched.cp->it_real_value += p->it_real_incr;
p196kernel/sched.c} while (p->it_real_value <= ticks);
p198kernel/sched.cp->it_real_value -= ticks;
p199kernel/sched.cif (p->it_real_value < itimer_next)
p200kernel/sched.citimer_next = p->it_real_value;
p203kernel/sched.cif (p->state != TASK_INTERRUPTIBLE)
p205kernel/sched.cif (p->signal & ~p->blocked) {
p206kernel/sched.cp->state = TASK_RUNNING;
p209kernel/sched.cif (p->timeout && p->timeout <= jiffies) {
p210kernel/sched.cp->timeout = 0;
p211kernel/sched.cp->state = TASK_RUNNING;
p228kernel/sched.cnext = p = &init_task;
p230kernel/sched.cif ((p = p->next_task) == &init_task)
p232kernel/sched.cif (p->state == TASK_RUNNING && p->counter > c)
p233kernel/sched.cc = p->counter, next = p;
p237kernel/sched.cfor_each_task(p)
p238kernel/sched.cp->counter = (p->counter >> 1) + p->priority;
p272kernel/sched.cstruct task_struct * p;
p277kernel/sched.cif ((p = tmp->task) != NULL) {
p278kernel/sched.cif ((p->state == TASK_UNINTERRUPTIBLE) ||
p279kernel/sched.c(p->state == TASK_INTERRUPTIBLE)) {
p280kernel/sched.cp->state = TASK_RUNNING;
p281kernel/sched.cif (p->counter > current->counter)
p299kernel/sched.cstruct task_struct * p;
p304kernel/sched.cif ((p = tmp->task) != NULL) {
p305kernel/sched.cif (p->state == TASK_INTERRUPTIBLE) {
p306kernel/sched.cp->state = TASK_RUNNING;
p307kernel/sched.cif (p->counter > current->counter)
p335kernel/sched.cstatic inline void __sleep_on(struct wait_queue **p, int state)
p340kernel/sched.cif (!p)
p345kernel/sched.cadd_wait_queue(p, &wait);
p349kernel/sched.cremove_wait_queue(p, &wait);
p353kernel/sched.cvoid interruptible_sleep_on(struct wait_queue **p)
p355kernel/sched.c__sleep_on(p,TASK_INTERRUPTIBLE);
p358kernel/sched.cvoid sleep_on(struct wait_queue **p)
p360kernel/sched.c__sleep_on(p,TASK_UNINTERRUPTIBLE);
p373kernel/sched.cstruct timer_list *p;
p382kernel/sched.cp = &timer_head;
p387kernel/sched.cp = p->next;
p388kernel/sched.c} while (timer->expires > p->expires);
p389kernel/sched.ctimer->next = p;
p390kernel/sched.ctimer->prev = p->prev;
p391kernel/sched.cp->prev = timer;
p400kernel/sched.cstruct timer_list * p;
p402kernel/sched.cp = &timer_head;
p405kernel/sched.cwhile ((p = p->next) != &timer_head) {
p406kernel/sched.cif (p == timer) {
p452kernel/sched.cstruct task_struct **p;
p455kernel/sched.cfor(p = &LAST_TASK; p > &FIRST_TASK; --p)
p456kernel/sched.cif (*p && ((*p)->state == TASK_RUNNING ||
p457kernel/sched.c(*p)->state == TASK_UNINTERRUPTIBLE ||
p458kernel/sched.c(*p)->state == TASK_SWAPPING))
p758kernel/sched.cstatic void show_task(int nr,struct task_struct * p)
p763kernel/sched.cprintk("%-8s %3d ", p->comm, (p == current) ? -nr : nr);
p764kernel/sched.cif (((unsigned) p->state) < sizeof(stat_nam)/sizeof(char *))
p765kernel/sched.cprintk(stat_nam[p->state]);
p768kernel/sched.cif (p == current)
p771kernel/sched.cprintk(" %08lX ", ((unsigned long *)p->tss.esp)[3]);
p773kernel/sched.cif (((unsigned long *)p->kernel_stack_page)[free])
p776kernel/sched.cprintk("%5lu %5d %6d ", free << 2, p->pid, p->p_pptr->pid);
p777kernel/sched.cif (p->p_cptr)
p778kernel/sched.cprintk("%5d ", p->p_cptr->pid);
p781kernel/sched.cif (p->p_ysptr)
p782kernel/sched.cprintk("%7d", p->p_ysptr->pid);
p785kernel/sched.cif (p->p_osptr)
p786kernel/sched.cprintk(" %5d\n", p->p_osptr->pid);
p805kernel/sched.cstruct desc_struct * p;
p814kernel/sched.cp = gdt+2+FIRST_TSS_ENTRY;
p817kernel/sched.cp->a=p->b=0;
p818kernel/sched.cp++;
p819kernel/sched.cp->a=p->b=0;
p820kernel/sched.cp++;
p115kernel/signal.cstruct sigaction *p;
p117kernel/signal.cp = signum - 1 + current->sigaction;
p118kernel/signal.cif (p->sa_handler == SIG_IGN) {
p124kernel/signal.cif (p->sa_handler == SIG_DFL) {
p155kernel/signal.cstruct sigaction new_sa, *p;
p161kernel/signal.cp = signum - 1 + current->sigaction;
p180kernel/signal.cmemcpy_tofs(oldaction, p, sizeof(struct sigaction));
p183kernel/signal.c*p = new_sa;
p58kernel/sys.cstatic int proc_sel(struct task_struct *p, int which, int who)
p62kernel/sys.cif (!who && p == current)
p64kernel/sys.creturn(p->pid == who);
p68kernel/sys.creturn(p->pgrp == who);
p72kernel/sys.creturn(p->uid == who);
p79kernel/sys.cstruct task_struct **p;
p89kernel/sys.cfor(p = &LAST_TASK; p > &FIRST_TASK; --p) {
p90kernel/sys.cif (!*p || !proc_sel(*p, which, who))
p92kernel/sys.cif ((*p)->uid != current->euid &&
p93kernel/sys.c(*p)->uid != current->uid && !suser()) {
p99kernel/sys.cif (priority > (*p)->priority && !suser())
p102kernel/sys.c(*p)->priority = priority;
p109kernel/sys.cstruct task_struct **p;
p115kernel/sys.cfor(p = &LAST_TASK; p > &FIRST_TASK; --p) {
p116kernel/sys.cif (!*p || !proc_sel(*p, which, who))
p118kernel/sys.cif ((*p)->priority > max_prio)
p119kernel/sys.cmax_prio = (*p)->priority;
p433kernel/sys.cstruct task_struct * p;
p441kernel/sys.cfor_each_task(p) {
p442kernel/sys.cif (p->pid == pid)
p448kernel/sys.cif (p->p_pptr == current || p->p_opptr == current) {
p449kernel/sys.cif (p->session != current->session)
p451kernel/sys.cif (p->did_exec)
p453kernel/sys.c} else if (p != current)
p455kernel/sys.cif (p->leader)
p468kernel/sys.cp->pgrp = pgid;
p474kernel/sys.cstruct task_struct * p;
p478kernel/sys.cfor_each_task(p) {
p479kernel/sys.cif (p->pid == pid)
p480kernel/sys.creturn p->pgrp;
p689kernel/sys.cint getrusage(struct task_struct *p, int who, struct rusage *ru)
p701kernel/sys.cr.ru_utime.tv_sec = CT_TO_SECS(p->utime);
p702kernel/sys.cr.ru_utime.tv_usec = CT_TO_USECS(p->utime);
p703kernel/sys.cr.ru_stime.tv_sec = CT_TO_SECS(p->stime);
p704kernel/sys.cr.ru_stime.tv_usec = CT_TO_USECS(p->stime);
p705kernel/sys.cr.ru_minflt = p->mm->min_flt;
p706kernel/sys.cr.ru_majflt = p->mm->maj_flt;
p709kernel/sys.cr.ru_utime.tv_sec = CT_TO_SECS(p->cutime);
p710kernel/sys.cr.ru_utime.tv_usec = CT_TO_USECS(p->cutime);
p711kernel/sys.cr.ru_stime.tv_sec = CT_TO_SECS(p->cstime);
p712kernel/sys.cr.ru_stime.tv_usec = CT_TO_USECS(p->cstime);
p713kernel/sys.cr.ru_minflt = p->mm->cmin_flt;
p714kernel/sys.cr.ru_majflt = p->mm->cmaj_flt;
p717kernel/sys.cr.ru_utime.tv_sec = CT_TO_SECS(p->utime + p->cutime);
p718kernel/sys.cr.ru_utime.tv_usec = CT_TO_USECS(p->utime + p->cutime);
p719kernel/sys.cr.ru_stime.tv_sec = CT_TO_SECS(p->stime + p->cstime);
p720kernel/sys.cr.ru_stime.tv_usec = CT_TO_USECS(p->stime + p->cstime);
p721kernel/sys.cr.ru_minflt = p->mm->min_flt + p->mm->cmin_flt;
p722kernel/sys.cr.ru_majflt = p->mm->maj_flt + p->mm->cmaj_flt;
p64mm/kmalloc.c#define BH(p) ((struct block_header *)(p))
p78mm/kmalloc.c#define PAGE_DESC(p) ((struct page_descriptor *)(((unsigned long)(p)) & PAGE_MASK))
p167mm/kmalloc.cstruct block_header *p;
p197mm/kmalloc.c(p    =  page->firstfree))
p199mm/kmalloc.cif (p->bh_flags == MF_FREE)
p201mm/kmalloc.cpage->firstfree = p->bh_next;
p212mm/kmalloc.cp->bh_flags =  MF_USED; /* As of now this block is officially in use */
p213mm/kmalloc.cp->bh_length = size;
p214mm/kmalloc.creturn p+1; /* Pointer arithmetic: increments past header */
p216mm/kmalloc.cprintk ("Problem: block on freelist at %08lx isn't free.\n",(long)p);
p242mm/kmalloc.cfor (i=NBLOCKS(order),p=BH (page+1);i > 1;i--,p=p->bh_next) 
p244mm/kmalloc.cp->bh_flags = MF_FREE;
p245mm/kmalloc.cp->bh_next = BH ( ((long)p)+sz);
p248mm/kmalloc.cp->bh_flags = MF_FREE;
p249mm/kmalloc.cp->bh_next = NULL;
p288mm/kmalloc.cregister struct block_header *p=((struct block_header *)ptr) -1;
p291mm/kmalloc.cpage = PAGE_DESC (p);
p296mm/kmalloc.c(p->bh_flags != MF_USED))
p299mm/kmalloc.cp, page->next, page->order);
p303mm/kmalloc.csize != p->bh_length)
p306mm/kmalloc.cp,size,p->bh_length);
p309mm/kmalloc.csize = p->bh_length;
p310mm/kmalloc.cp->bh_flags = MF_FREE; /* As of now this block is officially free */
p313mm/kmalloc.cp->bh_next = page->firstfree;
p314mm/kmalloc.cpage->firstfree = p;
p80mm/memory.c#define CODE_SPACE(addr,p) ((addr) < (p)->end_code)
p800mm/memory.cstruct task_struct ** p;
p815mm/memory.cfor (p = &LAST_TASK ; p > &FIRST_TASK ; --p) {
p817mm/memory.cif (!*p)
p819mm/memory.cif (area->vm_task == *p)
p823mm/memory.cfor (mpnt = (*p)->mm->mmap; mpnt; mpnt = mpnt->vm_next) {
p853mm/memory.cunsigned long *p;
p855mm/memory.cp = PAGE_DIR_OFFSET(tsk->tss.cr3,address);
p856mm/memory.cif (PAGE_PRESENT & *p)
p857mm/memory.creturn *p;
p858mm/memory.cif (*p) {
p860mm/memory.c*p = 0;
p863mm/memory.cp = PAGE_DIR_OFFSET(tsk->tss.cr3,address);
p864mm/memory.cif (PAGE_PRESENT & *p) {
p866mm/memory.creturn *p;
p868mm/memory.cif (*p) {
p870mm/memory.c*p = 0;
p873mm/memory.c*p = page | PAGE_TABLE;
p874mm/memory.creturn *p;
p877mm/memory.c*p = BAD_PAGETABLE | PAGE_TABLE;
p1289mm/memory.cint i, *p;
p1295mm/memory.cp = nr;
p1297mm/memory.c*p = bmap(inode,block);
p1300mm/memory.cp++;
p110mm/swap.cstruct swap_info_struct * p = &swap_info[SWP_TYPE(entry)];
p115mm/swap.cif ((p->flags & SWP_WRITEOK) == SWP_WRITEOK) { 
p163mm/swap.cstruct swap_info_struct * p;
p170mm/swap.cp = &swap_info[type];
p172mm/swap.cif (offset >= p->max) {
p176mm/swap.cif (!(p->flags & SWP_USED)) {
p180mm/swap.cwhile (set_bit(offset,p->swap_lockmap))
p186mm/swap.cif (p->swap_device) {
p187mm/swap.cll_rw_page(rw,p->swap_device,offset,buf);
p188mm/swap.c} else if (p->swap_file) {
p193mm/swap.cblock = offset << (12 - p->swap_file->i_sb->s_blocksize_bits);
p195mm/swap.cfor (i=0, j=0; j< PAGE_SIZE ; i++, j +=p->swap_file->i_sb->s_blocksize)
p196mm/swap.cif (!(zones[i] = bmap(p->swap_file,block++))) {
p200mm/swap.cll_rw_swap_file(rw,p->swap_file->i_dev, zones, i,buf);
p203mm/swap.cif (offset && !clear_bit(offset,p->swap_lockmap))
p210mm/swap.cstruct swap_info_struct * p;
p213mm/swap.cp = swap_info;
p214mm/swap.cfor (type = 0 ; type < nr_swapfiles ; type++,p++) {
p215mm/swap.cif ((p->flags & SWP_WRITEOK) != SWP_WRITEOK)
p217mm/swap.cfor (offset = p->lowest_bit; offset <= p->highest_bit ; offset++) {
p218mm/swap.cif (p->swap_map[offset])
p220mm/swap.cp->swap_map[offset] = 1;
p222mm/swap.cif (offset == p->highest_bit)
p223mm/swap.cp->highest_bit--;
p224mm/swap.cp->lowest_bit = offset;
p233mm/swap.cstruct swap_info_struct * p;
p246mm/swap.cp = type + swap_info;
p247mm/swap.cif (offset >= p->max) {
p251mm/swap.cif (!p->swap_map[offset]) {
p255mm/swap.cp->swap_map[offset]++;
p261mm/swap.cstruct swap_info_struct * p;
p273mm/swap.cp = & swap_info[type];
p275mm/swap.cif (offset >= p->max) {
p279mm/swap.cif (!(p->flags & SWP_USED)) {
p283mm/swap.cwhile (set_bit(offset,p->swap_lockmap))
p285mm/swap.cif (offset < p->lowest_bit)
p286mm/swap.cp->lowest_bit = offset;
p287mm/swap.cif (offset > p->highest_bit)
p288mm/swap.cp->highest_bit = offset;
p289mm/swap.cif (!p->swap_map[offset])
p292mm/swap.cif (!--p->swap_map[offset])
p294mm/swap.cif (!clear_bit(offset,p->swap_lockmap))
p399mm/swap.cstruct task_struct *p;
p417mm/swap.cp = task[swap_task];
p418mm/swap.cif(p && p->mm->swappable && p->mm->rss)
p427mm/swap.cif(! p->mm->swap_cnt) {
p428mm/swap.cp->mm->dec_flt = (p->mm->dec_flt * 3) / 4 + p->mm->maj_flt - p->mm->old_maj_flt;
p429mm/swap.cp->mm->old_maj_flt = p->mm->maj_flt;
p431mm/swap.cif(p->mm->dec_flt >= SWAP_RATIO / SWAP_MIN) {
p432mm/swap.cp->mm->dec_flt = SWAP_RATIO / SWAP_MIN;
p433mm/swap.cp->mm->swap_cnt = SWAP_MIN;
p434mm/swap.c} else if(p->mm->dec_flt <= SWAP_RATIO / SWAP_MAX)
p435mm/swap.cp->mm->swap_cnt = SWAP_MAX;
p437mm/swap.cp->mm->swap_cnt = SWAP_RATIO / p->mm->dec_flt;
p443mm/swap.cfor(table = p->mm->swap_table; table < 1024; table++) {
p444mm/swap.cpg_table = ((unsigned long *) p->tss.cr3)[table];
p452mm/swap.c((unsigned long *) p->tss.cr3)[table] = 0;
p460mm/swap.cfor(page = p->mm->swap_page; page < 1024; page++) {
p466mm/swap.cp->mm->rss--;
p468mm/swap.cp->mm->swap_table = table;
p469mm/swap.cp->mm->swap_page  = page + 1;
p470mm/swap.cif((--p->mm->swap_cnt) == 0)
p475mm/swap.cp->mm->rss--;
p480mm/swap.cp->mm->swap_page = 0;
p487mm/swap.cp->mm->swap_table = 0;
p509mm/swap.cstruct task_struct * p;
p519mm/swap.cp = task[swap_task];
p520mm/swap.cif (!p || !p->mm->swappable) {
p530mm/swap.cpg_table = ((unsigned long *) p->tss.cr3)[swap_table];
p538mm/swap.c((unsigned long *) p->tss.cr3)[swap_table] = 0;
p551mm/swap.ccase 1: p->mm->rss--; return 1;
p552mm/swap.cdefault: p->mm->rss--;
p757mm/swap.cstruct task_struct *p;
p767mm/swap.cp = task[nr];
p768mm/swap.cif (!p)
p771mm/swap.cppage = pgt + ((unsigned long *) p->tss.cr3);
p803mm/swap.c++p->mm->rss;
p817mm/swap.cstruct swap_info_struct * p;
p827mm/swap.cp = swap_info;
p828mm/swap.cfor (type = 0 ; type < nr_swapfiles ; type++,p++) {
p829mm/swap.cif ((p->flags & SWP_WRITEOK) != SWP_WRITEOK)
p831mm/swap.cif (p->swap_file) {
p832mm/swap.cif (p->swap_file == inode)
p837mm/swap.cif (p->swap_device == inode->i_rdev)
p844mm/swap.cp->flags = SWP_USED;
p847mm/swap.cp->flags = SWP_WRITEOK;
p850mm/swap.cnr_swap_pages -= p->pages;
p851mm/swap.ciput(p->swap_file);
p852mm/swap.cp->swap_file = NULL;
p853mm/swap.cp->swap_device = 0;
p854mm/swap.cvfree(p->swap_map);
p855mm/swap.cp->swap_map = NULL;
p856mm/swap.cfree_page((long) p->swap_lockmap);
p857mm/swap.cp->swap_lockmap = NULL;
p858mm/swap.cp->flags = 0;
p869mm/swap.cstruct swap_info_struct * p;
p877mm/swap.cp = swap_info;
p878mm/swap.cfor (type = 0 ; type < nr_swapfiles ; type++,p++)
p879mm/swap.cif (!(p->flags & SWP_USED))
p885mm/swap.cp->flags = SWP_USED;
p886mm/swap.cp->swap_file = NULL;
p887mm/swap.cp->swap_device = 0;
p888mm/swap.cp->swap_map = NULL;
p889mm/swap.cp->swap_lockmap = NULL;
p890mm/swap.cp->lowest_bit = 0;
p891mm/swap.cp->highest_bit = 0;
p892mm/swap.cp->max = 1;
p896mm/swap.cp->swap_file = swap_inode;
p902mm/swap.cp->swap_device = swap_inode->i_rdev;
p903mm/swap.cp->swap_file = NULL;
p906mm/swap.cif (!p->swap_device)
p912mm/swap.cif (p->swap_device == swap_info[i].swap_device)
p917mm/swap.cp->swap_lockmap = (unsigned char *) get_free_page(GFP_USER);
p918mm/swap.cif (!p->swap_lockmap) {
p923mm/swap.cread_swap_page(SWP_ENTRY(type,0), (char *) p->swap_lockmap);
p924mm/swap.cif (memcmp("SWAP-SPACE",p->swap_lockmap+4086,10)) {
p929mm/swap.cmemset(p->swap_lockmap+PAGE_SIZE-10,0,10);
p931mm/swap.cp->lowest_bit = 0;
p932mm/swap.cp->highest_bit = 0;
p934mm/swap.cif (test_bit(i,p->swap_lockmap)) {
p935mm/swap.cif (!p->lowest_bit)
p936mm/swap.cp->lowest_bit = i;
p937mm/swap.cp->highest_bit = i;
p938mm/swap.cp->max = i+1;
p947mm/swap.cp->swap_map = (unsigned char *) vmalloc(p->max);
p948mm/swap.cif (!p->swap_map) {
p952mm/swap.cfor (i = 1 ; i < p->max ; i++) {
p953mm/swap.cif (test_bit(i,p->swap_lockmap))
p954mm/swap.cp->swap_map[i] = 0;
p956mm/swap.cp->swap_map[i] = 0x80;
p958mm/swap.cp->swap_map[0] = 0x80;
p959mm/swap.cmemset(p->swap_lockmap,0,PAGE_SIZE);
p960mm/swap.cp->flags = SWP_WRITEOK;
p961mm/swap.cp->pages = j;
p966mm/swap.cfree_page((long) p->swap_lockmap);
p967mm/swap.cvfree(p->swap_map);
p968mm/swap.ciput(p->swap_file);
p969mm/swap.cp->swap_device = 0;
p970mm/swap.cp->swap_file = NULL;
p971mm/swap.cp->swap_map = NULL;
p972mm/swap.cp->swap_lockmap = NULL;
p973mm/swap.cp->flags = 0;
p1008mm/swap.cunsigned short * p;
p1014mm/swap.cp = mem_map + MAP_NR(end_mem);
p1015mm/swap.cstart_mem = (unsigned long) p;
p1016mm/swap.cwhile (p > mem_map)
p1017mm/swap.c*--p = MAP_PAGE_RESERVED;
p39mm/vmalloc.cstruct task_struct * p;
p41mm/vmalloc.cp = &init_task;
p43mm/vmalloc.c((unsigned long *) p->tss.cr3)[dindex] = value;
p44mm/vmalloc.cp = p->next_task;
p45mm/vmalloc.c} while (p != &init_task);
p130mm/vmalloc.cstruct vm_struct **p, *tmp;
p138mm/vmalloc.cfor (p = &vmlist ; (tmp = *p) ; p = &tmp->next) {
p140mm/vmalloc.c*p = tmp->next;
p152mm/vmalloc.cstruct vm_struct **p, *tmp, *area;
p163mm/vmalloc.cfor (p = &vmlist; (tmp = *p) ; p = &tmp->next) {
p169mm/vmalloc.carea->next = *p;
p170mm/vmalloc.c*p = area;
p180mm/vmalloc.cstruct vm_struct **p, *tmp;
p184mm/vmalloc.cfor (p = &vmlist; (tmp = *p) ; p = &tmp->next) {
p1308net/inet/af_inet.cstruct inet_protocol *p;
p1334net/inet/af_inet.cfor(p = inet_protocol_base; p != NULL;) 
p1336net/inet/af_inet.cstruct inet_protocol *tmp = (struct inet_protocol *) p->next;
p1337net/inet/af_inet.cinet_add_protocol(p);
p1338net/inet/af_inet.cprintk("%s%s",p->name,tmp?", ":"\n");
p1339net/inet/af_inet.cp = tmp;
p239net/inet/packet.cstruct packet_type *p;
p241net/inet/packet.cp = (struct packet_type *) kmalloc(sizeof(*p), GFP_KERNEL);
p242net/inet/packet.cif (p == NULL) 
p245net/inet/packet.cp->func = packet_rcv;
p246net/inet/packet.cp->type = sk->num;
p247net/inet/packet.cp->data = (void *)sk;
p248net/inet/packet.cdev_add_pack(p);
p254net/inet/packet.csk->pair = (struct sock *)p;
p89net/inet/protocol.cstruct inet_protocol *p;
p92net/inet/protocol.cfor (p = inet_protos[hash] ; p != NULL; p=p->next) {
p93net/inet/protocol.cif (p->protocol == prot) return((struct inet_protocol *) p);
p125net/inet/protocol.cstruct inet_protocol *p;
p135net/inet/protocol.cp = (struct inet_protocol *) inet_protos[hash];
p136net/inet/protocol.cwhile(p != NULL) {
p142net/inet/protocol.cif (p->next != NULL && p->next == prot) {
p147net/inet/protocol.cif (p->copy == 0 && lp != NULL) lp->copy = 0;
p148net/inet/protocol.cp->next = prot->next;
p152net/inet/protocol.cif (p->next != NULL && p->next->protocol == prot->protocol) {
p153net/inet/protocol.clp = p;
p156net/inet/protocol.cp = (struct inet_protocol *) p->next;
p288net/inet/raw.cstruct inet_protocol *p;
p290net/inet/raw.cp = (struct inet_protocol *) kmalloc(sizeof (*p), GFP_KERNEL);
p291net/inet/raw.cif (p == NULL)
p294net/inet/raw.cp->handler = raw_rcv;
p295net/inet/raw.cp->protocol = sk->protocol;
p296net/inet/raw.cp->data = (void *)sk;
p297net/inet/raw.cp->err_handler = raw_err;
p298net/inet/raw.cp->name="USER";
p299net/inet/raw.cp->frag_handler = NULL;  /* For now */
p300net/inet/raw.cinet_add_protocol(p);
p303net/inet/raw.csk->pair = (struct sock *)p;
p52net/inet/utils.cchar *p;
p54net/inet/utils.cp = (char *) &in;
p56net/inet/utils.c(p[0] & 255), (p[1] & 255), (p[2] & 255), (p[3] & 255));
p216zBoot/gzip.h#define SH(p) ((ush)(uch)((p)[0]) | ((ush)(uch)((p)[1]) << 8))
p217zBoot/gzip.h#define LG(p) ((ulg)(SH(p)) | ((ulg)(SH((p)+2)) << 16))
p122zBoot/inflate.cregister unsigned *p;         /* pointer into c[], b[], or v[] */
p137zBoot/inflate.cp = b;  i = n;
p139zBoot/inflate.cc[*p++]++;                  /* assume all entries <= BMAX */
p180zBoot/inflate.cp = c + 1;  xp = x + 2;
p182zBoot/inflate.c*xp++ = (j += *p++);
p188zBoot/inflate.cp = b;  i = 0;
p190zBoot/inflate.cif ((j = *p++) != 0)
p198zBoot/inflate.cp = v;                        /* grab values in bit order */
p264zBoot/inflate.cif (p >= v + n)
p266zBoot/inflate.celse if (*p < s)
p268zBoot/inflate.cr.e = (uch)(*p < 256 ? 16 : 15);    /* 256 is end-of-block code */
p269zBoot/inflate.cr.v.n = *p++;           /* simple code is just the value */
p273zBoot/inflate.cr.e = (uch)e[*p - s];   /* non-simple--look up in lists */
p274zBoot/inflate.cr.v.n = d[*p++ - s];
p313zBoot/inflate.cregister struct huft *p, *q;
p317zBoot/inflate.cp = t;
p318zBoot/inflate.cwhile (p != (struct huft *)NULL)
p320zBoot/inflate.cq = (--p)->v.t;
p321zBoot/inflate.cfree(p);
p322zBoot/inflate.cp = q;
p85zBoot/misc.cvoid *p;
p93zBoot/misc.cp = (void *)free_mem_ptr;
p106zBoot/misc.creturn p;
p109zBoot/misc.creturn p;
p275zBoot/misc.cstatic int p[] = {0,1,2,4,5,7,8,10,11,12,16,22,23,26};
p279zBoot/misc.cfor (i = 0; i < sizeof(p)/sizeof(int); i++)
p280zBoot/misc.ce |= 1L << (31 - p[i]);