taglinefilesource code
nr20arch/alpha/boot/main.cextern unsigned long switch_to_osf_pal(unsigned long nr,
nr119arch/alpha/kernel/process.cvoid copy_thread(int nr, unsigned long clone_flags, unsigned long usp,
nr19arch/alpha/kernel/signal.c#define _S(nr) (1<<((nr)-1))
nr112arch/alpha/mm/init.cunsigned long pfn, nr;
nr116arch/alpha/mm/init.cnr = cluster->numpages;
nr122arch/alpha/mm/init.cwhile (nr--)
nr254arch/i386/kernel/process.cvoid copy_thread(int nr, unsigned long clone_flags, unsigned long esp,
nr268arch/i386/kernel/process.cp->tss.tr = _TSS(nr);
nr277arch/i386/kernel/process.cp->tss.ldt = _LDT(nr);
nr283arch/i386/kernel/process.cset_tss_desc(gdt+(nr<<1)+FIRST_TSS_ENTRY,&(p->tss));
nr285arch/i386/kernel/process.cset_ldt_desc(gdt+(nr<<1)+FIRST_LDT_ENTRY,p->ldt, 512);
nr287arch/i386/kernel/process.cset_ldt_desc(gdt+(nr<<1)+FIRST_LDT_ENTRY,&default_ldt, 1);
nr186arch/i386/kernel/setup.cstatic const char * i486model(unsigned int nr)
nr191arch/i386/kernel/setup.cif (nr < sizeof(model)/sizeof(char *))
nr192arch/i386/kernel/setup.creturn model[nr];
nr196arch/i386/kernel/setup.cstatic const char * i586model(unsigned int nr)
nr201arch/i386/kernel/setup.cif (nr < sizeof(model)/sizeof(char *))
nr202arch/i386/kernel/setup.creturn model[nr];
nr18arch/i386/kernel/signal.c#define _S(nr) (1<<((nr)-1))
nr218arch/i386/kernel/vm86.cstatic inline int is_revectored(int nr, struct revectored_struct * bitmap)
nr223arch/i386/kernel/vm86.c:"=r" (nr)
nr224arch/i386/kernel/vm86.c:"m" (*bitmap),"r" (nr));
nr225arch/i386/kernel/vm86.creturn nr;
nr218arch/i386/math-emu/reg_compare.cstatic int compare_st_st(int nr)
nr222arch/i386/math-emu/reg_compare.cif ( !NOT_EMPTY(0) || !NOT_EMPTY(nr) )
nr230arch/i386/math-emu/reg_compare.cc = compare(&st(nr));
nr268arch/i386/math-emu/reg_compare.cstatic int compare_u_st_st(int nr)
nr272arch/i386/math-emu/reg_compare.cif ( !NOT_EMPTY(0) || !NOT_EMPTY(nr) )
nr280arch/i386/math-emu/reg_compare.cc = compare(&st(nr));
nr118arch/mips/kernel/process.cvoid copy_thread(int nr, unsigned long clone_flags, unsigned long usp,
nr19arch/mips/kernel/signal.c#define _S(nr) (1<<((nr)-1))
nr98arch/ppc/kernel/process.cvoid copy_thread(int nr, unsigned long clone_flags, unsigned long usp,
nr113arch/ppc/kernel/process.csegs[i].vsid = i | (nr << 4);
nr17arch/ppc/kernel/signal.c#define _S(nr) (1<<((nr)-1))
nr132arch/sparc/kernel/process.cvoid copy_thread(int nr, unsigned long clone_flags, unsigned long sp,
nr20arch/sparc/kernel/signal.c#define _S(nr) (1<<((nr)-1))
nr313arch/sparc/kernel/sys_sunos.c#define _S(nr) (1<<((nr)-1))
nr828drivers/block/floppy.cstatic void motor_off_callback(unsigned long nr)
nr830drivers/block/floppy.cunsigned char mask = ~(0x10 << UNIT(nr));
nr832drivers/block/floppy.cset_dor(FDC(nr), mask, 0);
nr574drivers/block/genhd.cint nr=0;
nr589drivers/block/genhd.cnr += p->nr_real;
nr458drivers/block/ll_rw_blk.cvoid ll_rw_block(int rw, int nr, struct buffer_head * bh[])
nr469drivers/block/ll_rw_blk.cif (--nr <= 0)
nr492drivers/block/ll_rw_blk.cfor (i = 0; i < nr; i++) {
nr513drivers/block/ll_rw_blk.cif (nr > 1)
nr515drivers/block/ll_rw_blk.cfor (i = 0; i < nr; i++) {
nr525drivers/block/ll_rw_blk.cfor (i = 0; i < nr; i++) {
nr1103drivers/cdrom/cm206.cint probe_irq(int nr) {
nr1112drivers/cdrom/cm206.cif (nr && irq!=nr && irq>0) return 0;  /* wrong interrupt happened */
nr1212drivers/char/console.cstatic void csi_at(int currcons, unsigned int nr)
nr1214drivers/char/console.cif (nr > video_num_columns)
nr1215drivers/char/console.cnr = video_num_columns;
nr1216drivers/char/console.celse if (!nr)
nr1217drivers/char/console.cnr = 1;
nr1218drivers/char/console.cwhile (nr--)
nr1222drivers/char/console.cstatic void csi_L(int currcons, unsigned int nr)
nr1224drivers/char/console.cif (nr > video_num_lines)
nr1225drivers/char/console.cnr = video_num_lines;
nr1226drivers/char/console.celse if (!nr)
nr1227drivers/char/console.cnr = 1;
nr1228drivers/char/console.cwhile (nr--)
nr1232drivers/char/console.cstatic void csi_P(int currcons, unsigned int nr)
nr1234drivers/char/console.cif (nr > video_num_columns)
nr1235drivers/char/console.cnr = video_num_columns;
nr1236drivers/char/console.celse if (!nr)
nr1237drivers/char/console.cnr = 1;
nr1238drivers/char/console.cwhile (nr--)
nr1242drivers/char/console.cstatic void csi_M(int currcons, unsigned int nr)
nr1244drivers/char/console.cif (nr > video_num_lines)
nr1245drivers/char/console.cnr = video_num_lines;
nr1246drivers/char/console.celse if (!nr)
nr1247drivers/char/console.cnr=1;
nr1248drivers/char/console.cwhile (nr--)
nr78drivers/char/kbd_kern.hextern inline void set_console(int nr)
nr80drivers/char/kbd_kern.hwant_console = nr;
nr736drivers/char/n_tty.cunsigned int *nr)
nr741drivers/char/n_tty.cn = MIN(*nr, MIN(tty->read_cnt, N_TTY_BUF_SIZE - tty->read_tail));
nr748drivers/char/n_tty.c*nr -= n;
nr752drivers/char/n_tty.cunsigned char *buf, unsigned int nr)
nr853drivers/char/n_tty.cnr--;
nr874drivers/char/n_tty.cif (--nr)
nr883drivers/char/n_tty.cnr--;
nr889drivers/char/n_tty.ccopy_from_read_buf(tty, &b, &nr);
nr890drivers/char/n_tty.ccopy_from_read_buf(tty, &b, &nr);
nr901drivers/char/n_tty.cif (b - buf >= minimum || !nr)
nr914drivers/char/n_tty.cif (size && nr)
nr924drivers/char/n_tty.cconst unsigned char * buf, unsigned int nr)
nr950drivers/char/n_tty.cwhile (nr > 0) {
nr954drivers/char/n_tty.cb++; nr--;
nr959drivers/char/n_tty.cc = tty->driver.write(tty, 1, b, nr);
nr961drivers/char/n_tty.cnr -= c;
nr963drivers/char/n_tty.cif (!nr)
nr194drivers/char/tty_ioctl.cint nr, head, tail;
nr200drivers/char/tty_ioctl.cnr = (head - tail) & (N_TTY_BUF_SIZE-1);
nr205drivers/char/tty_ioctl.cnr--;
nr208drivers/char/tty_ioctl.creturn nr;
nr1774drivers/net/ppp.cunsigned int nr)
nr1800drivers/net/ppp.cbuf, nr);
nr1826drivers/net/ppp.cindx = verify_area (VERIFY_WRITE, buf, nr);
nr1873drivers/net/ppp.cif (len + 2 > nr) {
nr1879drivers/net/ppp.c"frame\n", nr, len + 2);
nr116drivers/scsi/in2000.c#define port_read(port,buf,nr) \
nr117drivers/scsi/in2000.c__asm__("cld;rep;insw": :"d" (port),"D" (buf),"c" (nr):"cx","di")
nr119drivers/scsi/in2000.c#define port_write(port,buf,nr) \
nr120drivers/scsi/in2000.c__asm__("cld;rep;outsw": :"d" (port),"S" (buf),"c" (nr):"cx","si")
nr226drivers/sound/configure.ccan_select_option (int nr)
nr229drivers/sound/configure.cif (hw_table[nr].conditions)
nr230drivers/sound/configure.cif (!(hw_table[nr].conditions & selected_options))
nr233drivers/sound/configure.cif (hw_table[nr].exclusive_options)
nr234drivers/sound/configure.cif (hw_table[nr].exclusive_options & selected_options)
nr237drivers/sound/configure.cif (DISABLED_OPTIONS & B (nr))
nr59fs/binfmt_aout.c#define DUMP_WRITE(addr,nr) \
nr60fs/binfmt_aout.cwhile (file.f_op->write(inode,&file,(char *)(addr),(nr)) != (nr)) goto close_coredump
nr829fs/binfmt_elf.cstatic int dump_write(struct file *file, const void *addr, int nr)
nr831fs/binfmt_elf.creturn file->f_op->write(file->f_inode, file, addr, nr) == nr;
nr904fs/binfmt_elf.c#define DUMP_WRITE(addr, nr)  \
nr905fs/binfmt_elf.cdo { if (!dump_write(file, (addr), (nr))) return 0; } while(0)
nr929fs/binfmt_elf.c#define DUMP_WRITE(addr, nr)  \
nr930fs/binfmt_elf.cif (!dump_write(&file, (addr), (nr))) \
nr1071fs/buffer.cint block, nr;
nr1079fs/buffer.cnr = 0;
nr1124fs/buffer.carr[nr++] = next;
nr1128fs/buffer.cif (nr)
nr1129fs/buffer.cll_rw_block(rw, nr, arr);
nr1232fs/buffer.cint *p, nr[PAGE_SIZE/512];
nr1246fs/buffer.cp = nr;
nr1255fs/buffer.cbrw_page(READ, address, inode->i_dev, nr, inode->i_sb->s_blocksize, 1);
nr172fs/ext/inode.c#define inode_bmap(inode,nr) ((inode)->u.ext_i.i_data[(nr)])
nr174fs/ext/inode.cstatic inline int block_bmap(struct buffer_head * bh, int nr)
nr180fs/ext/inode.ctmp = ((unsigned long *) bh->b_data)[nr];
nr229fs/ext/inode.cstatic struct buffer_head * inode_getblk(struct inode * inode, int nr, int create)
nr235fs/ext/inode.cp = inode->u.ext_i.i_data + nr;
nr263fs/ext/inode.cstruct buffer_head * bh, int nr, int create)
nr279fs/ext/inode.cp = nr + (unsigned long *) bh->b_data;
nr42fs/ext2/inode.c#define inode_bmap(inode, nr) ((inode)->u.ext2_i.i_data[(nr)])
nr44fs/ext2/inode.cstatic inline int block_bmap (struct buffer_head * bh, int nr)
nr50fs/ext2/inode.ctmp = ((u32 *) bh->b_data)[nr];
nr183fs/ext2/inode.cstatic struct buffer_head * inode_getblk (struct inode * inode, int nr,
nr191fs/ext2/inode.cp = inode->u.ext2_i.i_data + nr;
nr213fs/ext2/inode.cfor (tmp = nr - 1; tmp >= 0; tmp--) {
nr249fs/ext2/inode.cstruct buffer_head * bh, int nr,
nr268fs/ext2/inode.cp = (u32 *) bh->b_data + nr;
nr290fs/ext2/inode.cfor (tmp = nr - 1; tmp >= 0; tmp--) {
nr326fs/ext2/inode.cint nr,
nr338fs/ext2/inode.cif((nr & ((PAGE_SIZE >> EXT2_BLOCK_SIZE_BITS(inode->i_sb)) - 1)) != 0)
nr340fs/ext2/inode.cif(nr + 3 > EXT2_ADDR_PER_BLOCK(inode->i_sb)) goto out;
nr343fs/ext2/inode.cp = (u32 *) bh->b_data + nr + i;
nr353fs/ext2/inode.cp = (u32 *) bh->b_data + nr;
nr20fs/fat/cache.cint fat_access(struct super_block *sb,int nr,int new_value)
nr26fs/fat/cache.cif ((unsigned) (nr-2) >= MSDOS_SB(sb)->clusters) return 0;
nr27fs/fat/cache.cif (MSDOS_SB(sb)->fat_bits == 16) first = last = nr*2;
nr29fs/fat/cache.cfirst = nr*3/2;
nr57fs/fat/cache.cif (nr & 1) next = ((*p_first >> 4) | (*p_last << 4)) & 0xfff;
nr66fs/fat/cache.cif (nr & 1) {
nr227fs/fat/cache.cint nr,count;
nr229fs/fat/cache.cif (!(nr = MSDOS_I(inode)->i_start)) return 0;
nr230fs/fat/cache.cif (!cluster) return nr;
nr232fs/fat/cache.cfor (cache_lookup(inode,cluster,&count,&nr); count < cluster;
nr234fs/fat/cache.cif ((nr = fat_access(inode->i_sb,nr,-1)) == -1) return 0;
nr235fs/fat/cache.cif (!nr) return 0;
nr237fs/fat/cache.ccache_add(inode,cluster,nr);
nr238fs/fat/cache.creturn nr;
nr265fs/fat/cache.cint nr,last;
nr267fs/fat/cache.cif (!(nr = MSDOS_I(inode)->i_start)) return 0;
nr270fs/fat/cache.clast = nr;
nr271fs/fat/cache.cif ((nr = fat_access(inode->i_sb,nr,-1)) == -1) return 0;
nr272fs/fat/cache.cif (!nr) {
nr285fs/fat/cache.cwhile (nr != -1) {
nr286fs/fat/cache.cif (!(nr = fat_access(inode->i_sb,nr,0))) {
nr321fs/fat/inode.cint free,nr;
nr329fs/fat/inode.cfor (nr = 2; nr < MSDOS_SB(sb)->clusters+2; nr++)
nr330fs/fat/inode.cif (!fat_access(sb,nr,-1)) free++;
nr367fs/fat/inode.cint nr;
nr415fs/fat/inode.cif ((nr = CF_LE_W(raw_entry->start)) != 0)
nr416fs/fat/inode.cwhile (nr != -1) {
nr419fs/fat/inode.cif (!(nr = fat_access(inode->i_sb,nr,-1))) {
nr119fs/fat/misc.cint count,nr,limit,last,curr,sector,last_sector,file_cluster;
nr127fs/fat/misc.cnr = limit; /* to keep GCC happy */
nr129fs/fat/misc.cnr = ((count+MSDOS_SB(inode->i_sb)->prev_free) % limit)+2;
nr130fs/fat/misc.cif (fat_access(inode->i_sb,nr,-1) == 0) break;
nr134fs/fat/misc.cprintk("free cluster: %d\n",nr);
nr143fs/fat/misc.cfat_access(inode->i_sb,nr,MSDOS_SB(inode->i_sb)->fat_bits == 12 ?
nr149fs/fat/misc.cprintk("set to %x\n",fat_access(inode->i_sb,nr,-1));
nr180fs/fat/misc.cif (last) fat_access(inode->i_sb,last,nr);
nr182fs/fat/misc.cMSDOS_I(inode)->i_start = nr;
nr188fs/fat/misc.csector = MSDOS_SB(inode->i_sb)->data_start+(nr-2)*cluster_size;
nr207fs/fat/misc.ccache_add(inode,file_cluster,nr);
nr488fs/fat/misc.cint error,curr,prev,nr;
nr498fs/fat/misc.cif (!curr) nr = MSDOS_ROOT_INO;
nr505fs/fat/misc.cif ((error = raw_scan(dir->i_sb,prev,NULL,&curr,&nr,NULL,
nr512fs/fat/misc.creturn nr;
nr550fs/inode.cstruct inode *__iget(struct super_block * sb, int nr, int crossmntp)
nr559fs/inode.ch = hash(sb->s_dev, nr);
nr562fs/inode.cif (inode->i_dev == sb->s_dev && inode->i_ino == nr)
nr576fs/inode.cinode->i_ino = nr;
nr588fs/inode.cif (inode->i_dev != sb->s_dev || inode->i_ino != nr) {
nr258fs/minix/inode.c#define V1_inode_bmap(inode,nr) (((unsigned short *)(inode)->u.minix_i.u.i1_data)[(nr)])
nr260fs/minix/inode.cstatic int V1_block_bmap(struct buffer_head * bh, int nr)
nr266fs/minix/inode.ctmp = ((unsigned short *) bh->b_data)[nr];
nr305fs/minix/inode.c#define V2_inode_bmap(inode,nr) (((unsigned long  *)(inode)->u.minix_i.u.i2_data)[(nr)])
nr306fs/minix/inode.cstatic int V2_block_bmap(struct buffer_head * bh, int nr)
nr312fs/minix/inode.ctmp = ((unsigned long *) bh->b_data)[nr];
nr375fs/minix/inode.cstatic struct buffer_head * V1_inode_getblk(struct inode * inode, int nr, 
nr382fs/minix/inode.cp = inode->u.minix_i.u.i1_data + nr;
nr410fs/minix/inode.cstruct buffer_head * bh, int nr, int create)
nr426fs/minix/inode.cp = nr + (unsigned short *) bh->b_data;
nr488fs/minix/inode.cstatic struct buffer_head * V2_inode_getblk(struct inode * inode, int nr, 
nr495fs/minix/inode.cp = (unsigned long *) inode->u.minix_i.u.i2_data + nr;
nr523fs/minix/inode.cstruct buffer_head * bh, int nr, int create)
nr539fs/minix/inode.cp = nr + (unsigned long *) bh->b_data;
nr29fs/ncpfs/sock.c#define _S(nr) (1<<((nr)-1))
nr241fs/ncpfs/sock.c#define _S(nr) (1<<((nr)-1))
nr326fs/ncpfs/sock.cwait_table.nr = 0;
nr376fs/ncpfs/sock.celse if (wait_table.nr)
nr113fs/nfs/rpcsock.cwait_table.nr = 0;
nr125fs/nfs/rpcsock.c} else if (wait_table.nr)
nr38fs/nfs/sock.c#define _S(nr) (1<<((nr)-1))
nr554fs/proc/root.cunsigned int nr,pid;
nr557fs/proc/root.cnr = filp->f_pos;
nr558fs/proc/root.cif (nr < FIRST_PROCESS_ENTRY) {
nr562fs/proc/root.cfilp->f_pos = nr = FIRST_PROCESS_ENTRY;
nr565fs/proc/root.cfor (nr -= FIRST_PROCESS_ENTRY; nr < NR_TASKS; nr++, filp->f_pos++) {
nr566fs/proc/root.cstruct task_struct * p = task[nr];
nr236fs/read_write.cint len, nr;
nr242fs/read_write.cnr = fn(inode, file, base, len);
nr243fs/read_write.cif (nr < 0) {
nr246fs/read_write.cretval = nr;
nr249fs/read_write.cretval += nr;
nr250fs/read_write.cif (nr != len)
nr50fs/select.cstruct select_table_entry * entry = p->entry + p->nr;
nr52fs/select.cwhile (p->nr > 0) {
nr53fs/select.cp->nr--;
nr120fs/select.cwait_table.nr = 0;
nr157fs/select.cstatic int __get_fd_set(int nr, unsigned int * fs_pointer, fd_set * fdset)
nr170fs/select.cif (nr <= 0)
nr175fs/select.cnr -= 8 * sizeof(unsigned int);
nr180fs/select.cstatic void __set_fd_set(int nr, unsigned int * fs_pointer, unsigned int * fdset)
nr187fs/select.cif (nr <= 0)
nr192fs/select.cnr -= 8 * sizeof(unsigned int);
nr196fs/select.c#define get_fd_set(nr,fsp,fdp) \
nr197fs/select.c__get_fd_set(nr, (unsigned int *) (fsp), fdp)
nr199fs/select.c#define set_fd_set(nr,fsp,fdp) \
nr200fs/select.c__set_fd_set(nr, (unsigned int *) (fsp), (unsigned int *) (fdp))
nr25fs/smbfs/sock.c#define _S(nr) (1<<((nr)-1))
nr553fs/sysv/inode.cstatic inline int inode_bmap(struct super_block * sb, struct inode * inode, int nr)
nr555fs/sysv/inode.cint tmp = inode->u.sysv_i.i_data[nr];
nr561fs/sysv/inode.cstatic int block_bmap(struct super_block * sb, struct buffer_head * bh, int nr, int convert)
nr567fs/sysv/inode.ctmp = ((sysv_zone_t *) bh->b_data) [nr];
nr636fs/sysv/inode.cstatic struct buffer_head * inode_getblk(struct inode * inode, int nr, int create)
nr644fs/sysv/inode.cp = inode->u.sysv_i.i_data + nr;
nr672fs/sysv/inode.cstruct buffer_head * bh, int nr, int create)
nr690fs/sysv/inode.cp = nr + (sysv_zone_t *) bh->b_data;
nr184fs/xiafs/inode.cstatic int zone_bmap(struct buffer_head * bh, int nr)
nr190fs/xiafs/inode.ctmp = ((u_long *) bh->b_data)[nr];
nr275fs/xiafs/inode.cint nr, int create, u_long prev_addr)
nr291fs/xiafs/inode.clp = nr + (u_long *) bh->b_data;
nr16include/asm-alpha/bitops.hextern __inline__ unsigned long set_bit(unsigned long nr, void * addr)
nr20include/asm-alpha/bitops.hunsigned int * m = ((unsigned int *) addr) + (nr >> 5);
nr34include/asm-alpha/bitops.h:"r" (1UL << (nr & 31)),
nr39include/asm-alpha/bitops.hextern __inline__ unsigned long clear_bit(unsigned long nr, void * addr)
nr43include/asm-alpha/bitops.hunsigned int * m = ((unsigned int *) addr) + (nr >> 5);
nr57include/asm-alpha/bitops.h:"r" (1UL << (nr & 31)),
nr62include/asm-alpha/bitops.hextern __inline__ unsigned long change_bit(unsigned long nr, void * addr)
nr66include/asm-alpha/bitops.hunsigned int * m = ((unsigned int *) addr) + (nr >> 5);
nr78include/asm-alpha/bitops.h:"r" (1UL << (nr & 31)),
nr83include/asm-alpha/bitops.hextern __inline__ unsigned long test_bit(int nr, const void * addr)
nr85include/asm-alpha/bitops.hreturn 1UL & (((int *) addr)[nr >> 5] >> (nr & 31));
nr39include/asm-alpha/ioctl.h#define _IOC(dir,type,nr,size)      \
nr43include/asm-alpha/ioctl.h((nr)   << _IOC_NRSHIFT) |    \
nr47include/asm-alpha/ioctl.h#define _IO(type,nr)    _IOC(_IOC_NONE,(type),(nr),0)
nr48include/asm-alpha/ioctl.h#define _IOR(type,nr,size)  _IOC(_IOC_READ,(type),(nr),sizeof(size))
nr49include/asm-alpha/ioctl.h#define _IOW(type,nr,size)  _IOC(_IOC_WRITE,(type),(nr),sizeof(size))
nr50include/asm-alpha/ioctl.h#define _IOWR(type,nr,size)  _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
nr53include/asm-alpha/ioctl.h#define _IOC_DIR(nr)    (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK)
nr54include/asm-alpha/ioctl.h#define _IOC_TYPE(nr)    (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK)
nr55include/asm-alpha/ioctl.h#define _IOC_NR(nr)    (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
nr56include/asm-alpha/ioctl.h#define _IOC_SIZE(nr)    (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK)
nr53include/asm-alpha/irq.h#define IRQ_NAME2(nr) nr##_interrupt(void)
nr54include/asm-alpha/irq.h#define IRQ_NAME(nr) IRQ_NAME2(IRQ##nr)
nr55include/asm-alpha/irq.h#define FAST_IRQ_NAME(nr) IRQ_NAME2(fast_IRQ##nr)
nr56include/asm-alpha/irq.h#define BAD_IRQ_NAME(nr) IRQ_NAME2(bad_IRQ##nr)
nr58include/asm-alpha/irq.h#define BUILD_IRQ(chip,nr,mask) \
nr59include/asm-alpha/irq.hasmlinkage void IRQ_NAME(nr); \
nr60include/asm-alpha/irq.hasmlinkage void FAST_IRQ_NAME(nr); \
nr61include/asm-alpha/irq.hasmlinkage void BAD_IRQ_NAME(nr); \
nr262include/asm-alpha/unistd.hstatic inline int write(int fd, const char * buf, int nr)
nr264include/asm-alpha/unistd.hreturn sys_write(fd, buf, nr);
nr268include/asm-alpha/unistd.hstatic inline int read(int fd, char * buf, int nr)
nr270include/asm-alpha/unistd.hreturn sys_read(fd, buf, nr);
nr19include/asm-generic/bitops.hextern __inline__ int set_bit(int nr,int * addr)
nr23include/asm-generic/bitops.haddr += nr >> 5;
nr24include/asm-generic/bitops.hmask = 1 << (nr & 0x1f);
nr32include/asm-generic/bitops.hextern __inline__ int clear_bit(int nr, int * addr)
nr36include/asm-generic/bitops.haddr += nr >> 5;
nr37include/asm-generic/bitops.hmask = 1 << (nr & 0x1f);
nr45include/asm-generic/bitops.hextern __inline__ int test_bit(int nr, int * addr)
nr49include/asm-generic/bitops.haddr += nr >> 5;
nr50include/asm-generic/bitops.hmask = 1 << (nr & 0x1f);
nr29include/asm-i386/bitops.hextern __inline__ int set_bit(int nr, void * addr)
nr36include/asm-i386/bitops.h:"ir" (nr));
nr40include/asm-i386/bitops.hextern __inline__ int clear_bit(int nr, void * addr)
nr47include/asm-i386/bitops.h:"ir" (nr));
nr51include/asm-i386/bitops.hextern __inline__ int change_bit(int nr, void * addr)
nr58include/asm-i386/bitops.h:"ir" (nr));
nr65include/asm-i386/bitops.hextern __inline__ int test_bit(int nr, const void * addr)
nr67include/asm-i386/bitops.hreturn 1UL & (((const unsigned int *) addr)[nr >> 5] >> (nr & 31));
nr49include/asm-i386/ioctl.h#define _IOC(dir,type,nr,size) \
nr52include/asm-i386/ioctl.h((nr)   << _IOC_NRSHIFT) | \
nr56include/asm-i386/ioctl.h#define _IO(type,nr)    _IOC(_IOC_NONE,(type),(nr),0)
nr57include/asm-i386/ioctl.h#define _IOR(type,nr,size)  _IOC(_IOC_READ,(type),(nr),sizeof(size))
nr58include/asm-i386/ioctl.h#define _IOW(type,nr,size)  _IOC(_IOC_WRITE,(type),(nr),sizeof(size))
nr59include/asm-i386/ioctl.h#define _IOWR(type,nr,size)  _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
nr62include/asm-i386/ioctl.h#define _IOC_DIR(nr)    (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK)
nr63include/asm-i386/ioctl.h#define _IOC_TYPE(nr)    (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK)
nr64include/asm-i386/ioctl.h#define _IOC_NR(nr)    (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
nr65include/asm-i386/ioctl.h#define _IOC_SIZE(nr)    (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK)
nr125include/asm-i386/irq.h#define IRQ_NAME2(nr) nr##_interrupt(void)
nr126include/asm-i386/irq.h#define IRQ_NAME(nr) IRQ_NAME2(IRQ##nr)
nr127include/asm-i386/irq.h#define FAST_IRQ_NAME(nr) IRQ_NAME2(fast_IRQ##nr)
nr128include/asm-i386/irq.h#define BAD_IRQ_NAME(nr) IRQ_NAME2(bad_IRQ##nr)
nr195include/asm-i386/irq.h#define BUILD_IRQ(chip,nr,mask) \
nr196include/asm-i386/irq.hasmlinkage void IRQ_NAME(nr); \
nr197include/asm-i386/irq.hasmlinkage void FAST_IRQ_NAME(nr); \
nr198include/asm-i386/irq.hasmlinkage void BAD_IRQ_NAME(nr); \
nr201include/asm-i386/irq.hSYMBOL_NAME_STR(IRQ) #nr "_interrupt:\n\t" \
nr202include/asm-i386/irq.h"pushl $-"#nr"-2\n\t" \
nr210include/asm-i386/irq.h"pushl $" #nr "\n\t" \
nr219include/asm-i386/irq.hSYMBOL_NAME_STR(fast_IRQ) #nr "_interrupt:\n\t" \
nr224include/asm-i386/irq.h"pushl $" #nr "\n\t" \
nr233include/asm-i386/irq.hSYMBOL_NAME_STR(bad_IRQ) #nr "_interrupt:\n\t" \
nr245include/asm-i386/irq.h#define BUILD_MSGIRQ(chip,nr,mask) \
nr246include/asm-i386/irq.hasmlinkage void IRQ_NAME(nr); \
nr247include/asm-i386/irq.hasmlinkage void FAST_IRQ_NAME(nr); \
nr248include/asm-i386/irq.hasmlinkage void BAD_IRQ_NAME(nr); \
nr251include/asm-i386/irq.hSYMBOL_NAME_STR(IRQ) #nr "_interrupt:\n\t" \
nr252include/asm-i386/irq.h"pushl $-"#nr"-2\n\t" \
nr260include/asm-i386/irq.h"pushl $" #nr "\n\t" \
nr269include/asm-i386/irq.hSYMBOL_NAME_STR(fast_IRQ) #nr "_interrupt:\n\t" \
nr273include/asm-i386/irq.h"pushl $" #nr "\n\t" \
nr280include/asm-i386/irq.hSYMBOL_NAME_STR(bad_IRQ) #nr "_interrupt:\n\t" \
nr285include/asm-i386/irq.h#define BUILD_RESCHEDIRQ(nr) \
nr286include/asm-i386/irq.hasmlinkage void IRQ_NAME(nr); \
nr289include/asm-i386/irq.hSYMBOL_NAME_STR(IRQ) #nr "_interrupt:\n\t" \
nr290include/asm-i386/irq.h"pushl $-"#nr"-2\n\t" \
nr297include/asm-i386/irq.h"pushl $" #nr "\n\t" \
nr306include/asm-i386/irq.h#define BUILD_IRQ(chip,nr,mask) \
nr307include/asm-i386/irq.hasmlinkage void IRQ_NAME(nr); \
nr308include/asm-i386/irq.hasmlinkage void FAST_IRQ_NAME(nr); \
nr309include/asm-i386/irq.hasmlinkage void BAD_IRQ_NAME(nr); \
nr312include/asm-i386/irq.hSYMBOL_NAME_STR(IRQ) #nr "_interrupt:\n\t" \
nr313include/asm-i386/irq.h"pushl $-"#nr"-2\n\t" \
nr320include/asm-i386/irq.h"pushl $" #nr "\n\t" \
nr328include/asm-i386/irq.hSYMBOL_NAME_STR(fast_IRQ) #nr "_interrupt:\n\t" \
nr332include/asm-i386/irq.h"pushl $" #nr "\n\t" \
nr340include/asm-i386/irq.hSYMBOL_NAME_STR(bad_IRQ) #nr "_interrupt:\n\t" \
nr20include/asm-m68k/bitops.hextern __inline__ int set_bit(int nr,void * vaddr)
nr25include/asm-m68k/bitops.h: "=d" (retval) : "d" (nr), "a" (vaddr));
nr30include/asm-m68k/bitops.hextern __inline__ int clear_bit(int nr, void * vaddr)
nr35include/asm-m68k/bitops.h: "=d" (retval) : "d" (nr), "a" (vaddr));
nr40include/asm-m68k/bitops.hextern __inline__ int change_bit(int nr, void * vaddr)
nr45include/asm-m68k/bitops.h: "=d" (retval) : "d" (nr), "a" (vaddr));
nr50include/asm-m68k/bitops.hextern __inline__ int test_bit(int nr, const void * vaddr)
nr55include/asm-m68k/bitops.h: "=d" (retval) : "d" (nr), "a" (vaddr));
nr24include/asm-mips/bitops.hextern __inline__ int set_bit(int nr, void *addr)
nr28include/asm-mips/bitops.haddr += ((nr >> 3) & ~3);
nr29include/asm-mips/bitops.hmask = 1 << (nr & 0x1f);
nr39include/asm-mips/bitops.hextern __inline__ int clear_bit(int nr, void *addr)
nr43include/asm-mips/bitops.haddr += ((nr >> 3) & ~3);
nr44include/asm-mips/bitops.hmask = 1 << (nr & 0x1f);
nr54include/asm-mips/bitops.hextern __inline__ int change_bit(int nr, void *addr)
nr58include/asm-mips/bitops.haddr += ((nr >> 3) & ~3);
nr59include/asm-mips/bitops.hmask = 1 << (nr & 0x1f);
nr89include/asm-mips/bitops.hextern __inline__ int set_bit(int nr, void * addr)
nr95include/asm-mips/bitops.ha += nr >> 5;
nr96include/asm-mips/bitops.hmask = 1 << (nr & 0x1f);
nr106include/asm-mips/bitops.hextern __inline__ int clear_bit(int nr, void * addr)
nr112include/asm-mips/bitops.ha += nr >> 5;
nr113include/asm-mips/bitops.hmask = 1 << (nr & 0x1f);
nr123include/asm-mips/bitops.hextern __inline__ int change_bit(int nr, void * addr)
nr129include/asm-mips/bitops.ha += nr >> 5;
nr130include/asm-mips/bitops.hmask = 1 << (nr & 0x1f);
nr147include/asm-mips/bitops.hextern __inline__ int test_bit(int nr, const void *addr)
nr149include/asm-mips/bitops.hreturn 1UL & (((const unsigned int *) addr)[nr >> 5] >> (nr & 31));
nr55include/asm-mips/ioctl.h#define _IOC(dir,type,nr,size) \
nr58include/asm-mips/ioctl.h((nr)   << _IOC_NRSHIFT) | \
nr62include/asm-mips/ioctl.h#define _IO(type,nr)    _IOC(_IOC_NONE,(type),(nr),0)
nr63include/asm-mips/ioctl.h#define _IOR(type,nr,size)  _IOC(_IOC_READ,(type),(nr),sizeof(size))
nr64include/asm-mips/ioctl.h#define _IOW(type,nr,size)  _IOC(_IOC_WRITE,(type),(nr),sizeof(size))
nr65include/asm-mips/ioctl.h#define _IOWR(type,nr,size)  _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
nr68include/asm-mips/ioctl.h#define _IOC_DIR(nr)    (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK)
nr69include/asm-mips/ioctl.h#define _IOC_TYPE(nr)    (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK)
nr70include/asm-mips/ioctl.h#define _IOC_NR(nr)    (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
nr71include/asm-mips/ioctl.h#define _IOC_SIZE(nr)    (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK)
nr24include/asm-ppc/bitops.hextern __inline__ int set_bit(int nr, void * add)
nr31include/asm-ppc/bitops.haddr += nr >> 5;
nr32include/asm-ppc/bitops.hmask = BIT(nr);
nr43include/asm-ppc/bitops.hextern __inline__ int change_bit(int nr, void *add)
nr48include/asm-ppc/bitops.haddr += nr >> 5;
nr49include/asm-ppc/bitops.hmask = BIT(nr);
nr58include/asm-ppc/bitops.hextern __inline__ int clear_bit(int nr, void *add)
nr63include/asm-ppc/bitops.haddr += nr >> 5;
nr64include/asm-ppc/bitops.hmask = BIT(nr);
nr71include/asm-ppc/bitops.hextern __inline__ int test_bit(int nr, void *add)
nr77include/asm-ppc/bitops.haddr += nr >> 5;
nr78include/asm-ppc/bitops.hmask = BIT(nr);
nr34include/asm-ppc/ioctl.h#define _IOC(dir,type,nr,size) \
nr37include/asm-ppc/ioctl.h((nr)   << _IOC_NRSHIFT) | \
nr41include/asm-ppc/ioctl.h#define _IO(type,nr)    _IOC(_IOC_NONE,(type),(nr),0)
nr42include/asm-ppc/ioctl.h#define _IOR(type,nr,size)  _IOC(_IOC_READ,(type),(nr),sizeof(size))
nr43include/asm-ppc/ioctl.h#define _IOW(type,nr,size)  _IOC(_IOC_WRITE,(type),(nr),sizeof(size))
nr44include/asm-ppc/ioctl.h#define _IOWR(type,nr,size)  _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
nr47include/asm-ppc/ioctl.h#define _IOC_DIR(nr)    (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK)
nr48include/asm-ppc/ioctl.h#define _IOC_TYPE(nr)    (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK)
nr49include/asm-ppc/ioctl.h#define _IOC_NR(nr)    (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
nr50include/asm-ppc/ioctl.h#define _IOC_SIZE(nr)    (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK)
nr22include/asm-sparc/bitops.hextern __inline__ unsigned long set_bit(unsigned long nr, void *addr)
nr28include/asm-sparc/bitops.hADDR += nr >> 5;
nr29include/asm-sparc/bitops.hmask = 1 << (nr & 31);
nr37include/asm-sparc/bitops.hextern __inline__ unsigned long clear_bit(unsigned long nr, void *addr)
nr43include/asm-sparc/bitops.hADDR += nr >> 5;
nr44include/asm-sparc/bitops.hmask = 1 << (nr & 31);
nr52include/asm-sparc/bitops.hextern __inline__ unsigned long change_bit(unsigned long nr, void *addr)
nr58include/asm-sparc/bitops.hADDR += nr >> 5;
nr59include/asm-sparc/bitops.hmask = 1 << (nr & 31);
nr68include/asm-sparc/bitops.hextern __inline__ unsigned long test_bit(int nr, const void *addr)
nr70include/asm-sparc/bitops.hreturn 1UL & (((int *) addr)[nr >> 5] >> (nr & 31));
nr135include/asm-sparc/bitops.hextern __inline__ int ext2_set_bit(int nr,void * addr)
nr140include/asm-sparc/bitops.hADDR += nr >> 3;
nr141include/asm-sparc/bitops.hmask = 1 << (nr & 0x07);
nr149include/asm-sparc/bitops.hextern __inline__ int ext2_clear_bit(int nr, void * addr)
nr154include/asm-sparc/bitops.hADDR += nr >> 3;
nr155include/asm-sparc/bitops.hmask = 1 << (nr & 0x07);
nr163include/asm-sparc/bitops.hextern __inline__ int ext2_test_bit(int nr, const void * addr)
nr168include/asm-sparc/bitops.hADDR += nr >> 3;
nr169include/asm-sparc/bitops.hmask = 1 << (nr & 0x07);
nr27include/asm-sparc/ioctl.h#define _IOC(dir,type,nr,size) \
nr30include/asm-sparc/ioctl.h((nr)   << _IOC_NRSHIFT) | \
nr33include/asm-sparc/ioctl.h#define _IO(type,nr)        _IOC(_IOC_NONE,(type),(nr),0)
nr34include/asm-sparc/ioctl.h#define _IOR(type,nr,size)  _IOC(_IOC_READ,(type),(nr),sizeof(size))
nr35include/asm-sparc/ioctl.h#define _IOW(type,nr,size)  _IOC(_IOC_WRITE,(type),(nr),sizeof(size))
nr36include/asm-sparc/ioctl.h#define _IORW(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
nr38include/asm-sparc/ioctl.h#define _IOC_DIR(nr)        (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK)
nr39include/asm-sparc/ioctl.h#define _IOC_TYPE(nr)       (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK)
nr40include/asm-sparc/ioctl.h#define _IOC_NR(nr)         (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
nr41include/asm-sparc/ioctl.h#define _IOC_SIZE(nr)       (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK)
nr116include/linux/blk.hstatic void floppy_off(unsigned int nr);
nr568include/linux/fs.hextern struct inode * __iget(struct super_block * sb,int nr,int crsmnt);
nr577include/linux/fs.hextern void ll_rw_block(int rw, int nr, struct buffer_head * bh[]);
nr578include/linux/fs.hextern void ll_rw_page(int rw, kdev_t dev, unsigned long nr, char * buffer);
nr626include/linux/fs.hextern inline struct inode * iget(struct super_block * sb,int nr)
nr628include/linux/fs.hreturn __iget(sb, nr, 1);
nr74include/linux/gscd.h#define READ_DATA(port, buf, nr) insb(port, buf, nr)
nr34include/linux/interrupt.hextern inline void mark_bh(int nr)
nr36include/linux/interrupt.hset_bit(nr, &bh_active);
nr39include/linux/interrupt.hextern inline void disable_bh(int nr)
nr41include/linux/interrupt.hclear_bit(nr, &bh_mask);
nr44include/linux/interrupt.hextern inline void enable_bh(int nr)
nr46include/linux/interrupt.hset_bit(nr, &bh_mask);
nr75include/linux/mcd.h#define READ_DATA(port, buf, nr) \
nr76include/linux/mcd.hinsb(port, buf, nr)
nr187include/linux/msdos_fs.hextern int fat_access(struct super_block *sb,int nr,int new_value);
nr454include/linux/sched.hif (p->nr >= __MAX_SELECT_TABLE_ENTRIES)
nr456include/linux/sched.hentry = p->entry + p->nr;
nr461include/linux/sched.hp->nr++;
nr113include/linux/sjcd.h#define S_READ_DATA( port, buf, nr )      insb( port, buf, nr )
nr53include/linux/swap.h#define read_swap_page(nr,buf) \
nr54include/linux/swap.hrw_swap_page(READ,(nr),(buf),1)
nr55include/linux/swap.h#define write_swap_page(nr,buf) \
nr56include/linux/swap.hrw_swap_page(WRITE,(nr),(buf),1)
nr23include/linux/tty_ldisc.hunsigned char * buf, unsigned int nr);
nr25include/linux/tty_ldisc.hconst unsigned char * buf, unsigned int nr);  
nr30include/linux/wait.hint nr;
nr208include/net/sock.hnr_cb      *nr;
nr201kernel/fork.cint nr;
nr213kernel/fork.cnr = find_empty_process();
nr214kernel/fork.cif (nr < 0)
nr249kernel/fork.ctask[nr] = p;
nr263kernel/fork.ccopy_thread(nr, clone_flags, usp, p, regs);
nr284kernel/fork.ctask[nr] = NULL;
nr79kernel/sched.c#define _S(nr) (1<<((nr)-1))
nr130kernel/sched.cstatic int nr = 0;
nr131kernel/sched.cif (nr < 5) {
nr132kernel/sched.cnr++;
nr564kernel/sched.cunsigned long nr = 0;
nr570kernel/sched.cnr += FIXED_1;
nr572kernel/sched.cnr-=(smp_num_cpus-1)*FIXED_1;
nr574kernel/sched.creturn nr;
nr1151kernel/sched.cstatic void show_task(int nr,struct task_struct * p)
nr1156kernel/sched.cprintk("%-8s %3d ", p->comm, (p == current) ? -nr : nr);
nr18kernel/signal.c#define _S(nr) (1<<((nr)-1))
nr265mm/filemap.cunsigned long offset, addr, nr;
nr272mm/filemap.cnr = PAGE_SIZE - offset;
nr325mm/filemap.cif (nr > count)
nr326mm/filemap.cnr = count;
nr331mm/filemap.cif (newpage && nr < count) {
nr336mm/filemap.cif (pre_read > (count - nr))
nr337mm/filemap.cpre_read = count - nr;
nr349mm/filemap.cif (newpage && nr == count && filp->f_reada
nr350mm/filemap.c&& !((pos + nr) & ~PAGE_MASK)) {
nr357mm/filemap.cif (nr > inode->i_size - pos)
nr358mm/filemap.cnr = inode->i_size - pos;
nr359mm/filemap.cmemcpy_tofs(buf, (void *) (addr + offset), nr);
nr361mm/filemap.cbuf += nr;
nr362mm/filemap.cpos += nr;
nr363mm/filemap.cread += nr;
nr364mm/filemap.ccount -= nr;
nr204mm/page_alloc.cunsigned long nr = 0;
nr206mm/page_alloc.cnr ++;
nr208mm/page_alloc.ctotal += nr * ((PAGE_SIZE>>10) << order);
nr209mm/page_alloc.cprintk("%lu*%lukB ", nr, (PAGE_SIZE>>10) << order);
nr292mm/swapfile.cint nr;
nr297mm/swapfile.cnr = 0;
nr298mm/swapfile.cwhile (nr < NR_TASKS) {
nr299mm/swapfile.cif (task[nr]) {
nr300mm/swapfile.cif (unuse_process(task[nr], type, page)) {
nr307mm/swapfile.cnr++;
nr6net/802/llc.cint llc_rx_adm(struct sock *sk,struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
nr36net/802/llc.cint llc_rx_setup(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
nr70net/802/llc.cint llc_rx_reset(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
nr114net/802/llc.cint llc_rx_d_conn(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
nr150net/802/llc.cint llc_rx_error(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
nr199net/802/llc.cint llc_rx_nr_shared(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
nr288net/802/llc.cint llc_rx_normal(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
nr290net/802/llc.cif(llc_rx_nr_shared(sk, skb, type, cmd, pf, nr, ns))
nr299net/802/llc.cllc_ack_frames(sk,nr);  /* Ack frames and update N(R) */
nr312net/802/llc.cllc_ack_frames(sk,nr);
nr320net/802/llc.cllc_ack_frames(sk,nr);
nr338net/802/llc.cllc_ack_frames(sk,nr);
nr348net/802/llc.cif(sk->llc.nr!=nr)
nr350net/802/llc.cllc_ack_frames(sk,nr);
nr358net/802/llc.cif(sk->llc.nr!=nr)
nr360net/802/llc.cllc_ack_frames(sk,nr);
nr373net/802/llc.cif(sk->llc.nr!=nr)
nr375net/802/llc.cllc_ack_frames(sk,nr);
nr396net/802/llc.cif(sk->llc.nr!=nr)
nr398net/802/llc.cllc_ack_frames(sk,nr);
nr690net/appletalk/ddp.cstruct netrange *nr;
nr720net/appletalk/ddp.cnr=(struct netrange *)&sa->sat_zero[0];
nr721net/appletalk/ddp.cif(nr->nr_phase!=2)
nr741net/appletalk/ddp.catif->nets= *nr;
nr772net/appletalk/ddp.cif(nr->nr_firstnet==htons(0) && nr->nr_lastnet==htons(0xFFFE)) 
nr780net/appletalk/ddp.climit=ntohs(nr->nr_lastnet);
nr781net/appletalk/ddp.cif(limit-ntohs(nr->nr_firstnet) > 256)
nr786net/appletalk/ddp.cfor(ct=ntohs(nr->nr_firstnet);ct<=limit;ct++)
nr345net/ax25/ax25_in.cstatic int ax25_state3_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type, int dama)
nr415net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr416net/ax25/ax25_in.cax25_check_iframes_acked(ax25, nr);
nr427net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr428net/ax25/ax25_in.cax25_check_iframes_acked(ax25, nr);
nr439net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr440net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr457net/ax25/ax25_in.cif (!ax25_validate_nr(ax25, nr)) {
nr463net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr465net/ax25/ax25_in.cax25_check_iframes_acked(ax25, nr);
nr540net/ax25/ax25_in.cstatic int ax25_state4_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type, int dama)
nr616net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr617net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr633net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr634net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr646net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr647net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr664net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr665net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr677net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr678net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr695net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr696net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr712net/ax25/ax25_in.cif (!ax25_validate_nr(ax25, nr)) {
nr717net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr791net/ax25/ax25_in.cint queued = 0, frametype, ns, nr, pf;
nr804net/ax25/ax25_in.cframetype = ax25_decode(ax25, skb, &ns, &nr, &pf);
nr814net/ax25/ax25_in.cqueued = ax25_state3_machine(ax25, skb, frametype, ns, nr, pf, type, dama);
nr817net/ax25/ax25_in.cqueued = ax25_state4_machine(ax25, skb, frametype, ns, nr, pf, type, dama);
nr306net/ax25/ax25_out.cvoid ax25_check_iframes_acked(ax25_cb *ax25, unsigned short nr)
nr308net/ax25/ax25_out.cif (ax25->vs == nr) {
nr309net/ax25/ax25_out.cax25_frames_acked(ax25, nr);
nr314net/ax25/ax25_out.cif (ax25->va != nr) {
nr315net/ax25/ax25_out.cax25_frames_acked(ax25, nr);
nr88net/ax25/ax25_subr.cvoid ax25_frames_acked(ax25_cb *ax25, unsigned short nr)
nr95net/ax25/ax25_subr.cif (ax25->va != nr) {
nr96net/ax25/ax25_subr.cwhile (skb_peek(&ax25->ack_queue) != NULL && ax25->va != nr) {
nr133net/ax25/ax25_subr.cint ax25_validate_nr(ax25_cb *ax25, unsigned short nr)
nr138net/ax25/ax25_subr.cif (nr == vc) return 1;
nr142net/ax25/ax25_subr.cif (nr == ax25->vs) return 1;
nr151net/ax25/ax25_subr.cint ax25_decode(ax25_cb *ax25, struct sk_buff *skb, int *ns, int *nr, int *pf)
nr157net/ax25/ax25_subr.c*ns = *nr = *pf = 0;
nr163net/ax25/ax25_subr.c*nr = (frame[0] >> 5) & 0x07;
nr167net/ax25/ax25_subr.c*nr = (frame[0] >> 5) & 0x07;
nr178net/ax25/ax25_subr.c*nr = (frame[1] >> 1) & 0x7F;
nr183net/ax25/ax25_subr.c*nr = (frame[1] >> 1) & 0x7F;
nr1147net/ipv4/route.cint nr=0;
nr1163net/ipv4/route.cnr++;
nr1168net/ipv4/route.cif (nr > 0)
nr1169net/ipv4/route.cprintk("rt_cache_flush: %d@%02x\n", nr, i);
nr107net/netrom/af_netrom.cif (s->nr->device == dev) {
nr108net/netrom/af_netrom.cs->nr->state  = NR_STATE_0;
nr109net/netrom/af_netrom.cs->nr->device = NULL;
nr163net/netrom/af_netrom.cif (ax25cmp(&s->nr->source_addr, addr) == 0 && s->type == type && s->state == TCP_LISTEN) {
nr185net/netrom/af_netrom.cif (s->nr->my_index == index && s->nr->my_id == id && s->type == type) {
nr208net/netrom/af_netrom.cif (s->nr->your_index == index && s->nr->your_id == id && s->type == type) {
nr255net/netrom/af_netrom.cskb->sk->nr->state = NR_STATE_0;
nr268net/netrom/af_netrom.ckfree_s(sk->nr, sizeof(*sk->nr));
nr311net/netrom/af_netrom.csk->nr->rtt = (opt * PR_SLOWHZ) / 2;
nr317net/netrom/af_netrom.csk->nr->t2 = opt * PR_SLOWHZ;
nr323net/netrom/af_netrom.csk->nr->n2 = opt;
nr327net/netrom/af_netrom.csk->nr->hdrincl = opt ? 1 : 0;
nr352net/netrom/af_netrom.cval = (sk->nr->t1 * 2) / PR_SLOWHZ;
nr356net/netrom/af_netrom.cval = sk->nr->t2 / PR_SLOWHZ;
nr360net/netrom/af_netrom.cval = sk->nr->n2;
nr364net/netrom/af_netrom.cval = sk->nr->hdrincl;
nr389net/netrom/af_netrom.cmemset(&sk->nr->user_addr, '\0', sizeof(ax25_address));
nr413net/netrom/af_netrom.cnr_cb *nr;
nr421net/netrom/af_netrom.cif ((nr = (nr_cb *)kmalloc(sizeof(*nr), GFP_ATOMIC)) == NULL) {
nr468net/netrom/af_netrom.cskb_queue_head_init(&nr->ack_queue);
nr469net/netrom/af_netrom.cskb_queue_head_init(&nr->reseq_queue);
nr470net/netrom/af_netrom.cskb_queue_head_init(&nr->frag_queue);
nr472net/netrom/af_netrom.cnr->my_index = 0;
nr473net/netrom/af_netrom.cnr->my_id    = 0;
nr474net/netrom/af_netrom.cnr->rtt      = nr_default.timeout / 2;
nr475net/netrom/af_netrom.cnr->t1       = nr_default.timeout;
nr476net/netrom/af_netrom.cnr->t2       = nr_default.ack_delay;
nr477net/netrom/af_netrom.cnr->n2       = nr_default.tries;
nr479net/netrom/af_netrom.cnr->t1timer  = 0;
nr480net/netrom/af_netrom.cnr->t2timer  = 0;
nr481net/netrom/af_netrom.cnr->t4timer  = 0;
nr482net/netrom/af_netrom.cnr->n2count  = 0;
nr484net/netrom/af_netrom.cnr->va       = 0;
nr485net/netrom/af_netrom.cnr->vr       = 0;
nr486net/netrom/af_netrom.cnr->vs       = 0;
nr487net/netrom/af_netrom.cnr->vl       = 0;
nr489net/netrom/af_netrom.cnr->your_index = 0;
nr490net/netrom/af_netrom.cnr->your_id    = 0;
nr492net/netrom/af_netrom.cnr->my_index   = 0;
nr493net/netrom/af_netrom.cnr->my_id      = 0;
nr495net/netrom/af_netrom.cnr->bpqext     = 1;
nr496net/netrom/af_netrom.cnr->fraglen    = 0;
nr497net/netrom/af_netrom.cnr->hdrincl    = 0;
nr498net/netrom/af_netrom.cnr->state      = NR_STATE_0;
nr499net/netrom/af_netrom.cnr->device     = NULL;
nr501net/netrom/af_netrom.cmemset(&nr->source_addr, '\0', sizeof(ax25_address));
nr502net/netrom/af_netrom.cmemset(&nr->user_addr,   '\0', sizeof(ax25_address));
nr503net/netrom/af_netrom.cmemset(&nr->dest_addr,   '\0', sizeof(ax25_address));
nr505net/netrom/af_netrom.cnr->sk = sk;
nr506net/netrom/af_netrom.csk->nr = nr;
nr514net/netrom/af_netrom.cnr_cb *nr;
nr522net/netrom/af_netrom.cif ((nr = (nr_cb *)kmalloc(sizeof(*nr), GFP_ATOMIC)) == NULL) {
nr564net/netrom/af_netrom.cskb_queue_head_init(&nr->ack_queue);
nr565net/netrom/af_netrom.cskb_queue_head_init(&nr->reseq_queue);
nr566net/netrom/af_netrom.cskb_queue_head_init(&nr->frag_queue);
nr568net/netrom/af_netrom.cnr->rtt      = osk->nr->rtt;
nr569net/netrom/af_netrom.cnr->t1       = osk->nr->t1;
nr570net/netrom/af_netrom.cnr->t2       = osk->nr->t2;
nr571net/netrom/af_netrom.cnr->n2       = osk->nr->n2;
nr573net/netrom/af_netrom.cnr->device   = osk->nr->device;
nr574net/netrom/af_netrom.cnr->bpqext   = osk->nr->bpqext;
nr575net/netrom/af_netrom.cnr->hdrincl  = osk->nr->hdrincl;
nr576net/netrom/af_netrom.cnr->fraglen  = 0;
nr578net/netrom/af_netrom.cnr->t1timer  = 0;
nr579net/netrom/af_netrom.cnr->t2timer  = 0;
nr580net/netrom/af_netrom.cnr->t4timer  = 0;
nr581net/netrom/af_netrom.cnr->n2count  = 0;
nr583net/netrom/af_netrom.cnr->va       = 0;
nr584net/netrom/af_netrom.cnr->vr       = 0;
nr585net/netrom/af_netrom.cnr->vs       = 0;
nr586net/netrom/af_netrom.cnr->vl       = 0;
nr588net/netrom/af_netrom.csk->nr = nr;
nr589net/netrom/af_netrom.cnr->sk = sk;
nr608net/netrom/af_netrom.cswitch (sk->nr->state) {
nr617net/netrom/af_netrom.csk->nr->state = NR_STATE_0;
nr626net/netrom/af_netrom.csk->nr->state = NR_STATE_0;
nr635net/netrom/af_netrom.csk->nr->n2count = 0;
nr637net/netrom/af_netrom.csk->nr->t1timer = sk->nr->t1 = nr_calculate_t1(sk);
nr638net/netrom/af_netrom.csk->nr->t2timer = 0;
nr639net/netrom/af_netrom.csk->nr->t4timer = 0;
nr640net/netrom/af_netrom.csk->nr->state   = NR_STATE_2;
nr690net/netrom/af_netrom.cmemcpy(&sk->nr->user_addr,   &addr->fsa_digipeater[0],   sizeof(ax25_address));
nr691net/netrom/af_netrom.cmemcpy(&sk->nr->source_addr, &addr->fsa_ax25.sax25_call, sizeof(ax25_address));
nr701net/netrom/af_netrom.cmemcpy(&sk->nr->user_addr,   user,   sizeof(ax25_address));
nr702net/netrom/af_netrom.cmemcpy(&sk->nr->source_addr, source, sizeof(ax25_address));
nr705net/netrom/af_netrom.csk->nr->device = dev;
nr757net/netrom/af_netrom.cmemcpy(&sk->nr->user_addr,   user,   sizeof(ax25_address));
nr758net/netrom/af_netrom.cmemcpy(&sk->nr->source_addr, source, sizeof(ax25_address));
nr760net/netrom/af_netrom.csk->nr->device = dev;
nr765net/netrom/af_netrom.cmemcpy(&sk->nr->dest_addr, &addr->sax25_call, sizeof(ax25_address));
nr770net/netrom/af_netrom.csk->nr->my_index = circuit / 256;
nr771net/netrom/af_netrom.csk->nr->my_id    = circuit % 256;
nr779net/netrom/af_netrom.csk->nr->state = NR_STATE_1;
nr881net/netrom/af_netrom.cmemcpy(&sax->fsa_ax25.sax25_call, &sk->nr->user_addr, sizeof(ax25_address));
nr882net/netrom/af_netrom.cmemcpy(&sax->fsa_digipeater[0],   &sk->nr->dest_addr, sizeof(ax25_address));
nr887net/netrom/af_netrom.cmemcpy(&sax->fsa_ax25.sax25_call, &sk->nr->source_addr, sizeof(ax25_address));
nr937net/netrom/af_netrom.csk->nr->bpqext = 1;
nr939net/netrom/af_netrom.csk->nr->bpqext = 0;
nr962net/netrom/af_netrom.cmemcpy(&make->nr->source_addr, dest, sizeof(ax25_address));
nr963net/netrom/af_netrom.cmemcpy(&make->nr->dest_addr,   src,  sizeof(ax25_address));
nr964net/netrom/af_netrom.cmemcpy(&make->nr->user_addr,   user, sizeof(ax25_address));
nr966net/netrom/af_netrom.cmake->nr->your_index = circuit_index;
nr967net/netrom/af_netrom.cmake->nr->your_id    = circuit_id;
nr969net/netrom/af_netrom.cmake->nr->my_index   = circuit / 256;
nr970net/netrom/af_netrom.cmake->nr->my_id      = circuit % 256;
nr981net/netrom/af_netrom.cif (timeout * PR_SLOWHZ < make->nr->rtt * 2)
nr982net/netrom/af_netrom.cmake->nr->rtt = (timeout * PR_SLOWHZ) / 2;
nr983net/netrom/af_netrom.cmake->nr->bpqext = 1;
nr985net/netrom/af_netrom.cmake->nr->bpqext = 0;
nr990net/netrom/af_netrom.cmake->nr->condition = 0x00;
nr991net/netrom/af_netrom.cmake->nr->vs        = 0;
nr992net/netrom/af_netrom.cmake->nr->va        = 0;
nr993net/netrom/af_netrom.cmake->nr->vr        = 0;
nr994net/netrom/af_netrom.cmake->nr->vl        = 0;
nr995net/netrom/af_netrom.cmake->nr->state     = NR_STATE_3;
nr1030net/netrom/af_netrom.cif (sk->nr->device == NULL)
nr1037net/netrom/af_netrom.cif (sk->type == SOCK_SEQPACKET && memcmp(&sk->nr->dest_addr, &sax.sax25_call, sizeof(ax25_address)) != 0)
nr1045net/netrom/af_netrom.cmemcpy(&sax.sax25_call, &sk->nr->dest_addr, sizeof(ax25_address));
nr1077net/netrom/af_netrom.c*asmptr++ = sk->nr->your_index;
nr1078net/netrom/af_netrom.c*asmptr++ = sk->nr->your_id;
nr1140net/netrom/af_netrom.cif (!sk->nr->hdrincl) {
nr1278net/netrom/af_netrom.cif ((dev = s->nr->device) == NULL)
nr1284net/netrom/af_netrom.cax2asc(&s->nr->user_addr));
nr1286net/netrom/af_netrom.cax2asc(&s->nr->dest_addr));
nr1288net/netrom/af_netrom.cax2asc(&s->nr->source_addr),
nr1289net/netrom/af_netrom.cdevname, s->nr->my_index, s->nr->my_id,
nr1290net/netrom/af_netrom.cs->nr->your_index, s->nr->your_id,
nr1291net/netrom/af_netrom.cs->nr->state,
nr1292net/netrom/af_netrom.cs->nr->vs, s->nr->vr, s->nr->va,
nr1293net/netrom/af_netrom.cs->nr->t1timer / PR_SLOWHZ,
nr1294net/netrom/af_netrom.cs->nr->t1      / PR_SLOWHZ,
nr1295net/netrom/af_netrom.cs->nr->t2timer / PR_SLOWHZ,
nr1296net/netrom/af_netrom.cs->nr->t2      / PR_SLOWHZ,
nr1297net/netrom/af_netrom.cs->nr->n2count, s->nr->n2,
nr1298net/netrom/af_netrom.cs->nr->rtt     / PR_SLOWHZ,
nr58net/netrom/nr_in.csk->nr->fraglen += skb->len;
nr59net/netrom/nr_in.cskb_queue_tail(&sk->nr->frag_queue, skb);
nr63net/netrom/nr_in.cif (!more && sk->nr->fraglen > 0) {  /* End of fragment */
nr64net/netrom/nr_in.csk->nr->fraglen += skb->len;
nr65net/netrom/nr_in.cskb_queue_tail(&sk->nr->frag_queue, skb);
nr67net/netrom/nr_in.cif ((skbn = alloc_skb(sk->nr->fraglen, GFP_ATOMIC)) == NULL)
nr76net/netrom/nr_in.cskbo = skb_dequeue(&sk->nr->frag_queue);
nr80net/netrom/nr_in.cwhile ((skbo = skb_dequeue(&sk->nr->frag_queue)) != NULL) {
nr86net/netrom/nr_in.csk->nr->fraglen = 0;    
nr104net/netrom/nr_in.csk->nr->your_index = skb->data[17];
nr105net/netrom/nr_in.csk->nr->your_id    = skb->data[18];
nr106net/netrom/nr_in.csk->nr->t1timer    = 0;
nr107net/netrom/nr_in.csk->nr->t2timer    = 0;
nr108net/netrom/nr_in.csk->nr->t4timer    = 0;
nr109net/netrom/nr_in.csk->nr->vs         = 0;
nr110net/netrom/nr_in.csk->nr->va         = 0;
nr111net/netrom/nr_in.csk->nr->vr         = 0;
nr112net/netrom/nr_in.csk->nr->vl     = 0;
nr113net/netrom/nr_in.csk->nr->state      = NR_STATE_3;
nr115net/netrom/nr_in.csk->nr->n2count    = 0;
nr123net/netrom/nr_in.csk->nr->state = NR_STATE_0;
nr151net/netrom/nr_in.csk->nr->state = NR_STATE_0;
nr176net/netrom/nr_in.cunsigned short nr, ns;
nr179net/netrom/nr_in.cnr = skb->data[18];
nr191net/netrom/nr_in.csk->nr->state = NR_STATE_0;
nr201net/netrom/nr_in.csk->nr->state = NR_STATE_0;
nr214net/netrom/nr_in.csk->nr->condition |= PEER_RX_BUSY_CONDITION;
nr215net/netrom/nr_in.csk->nr->t4timer = nr_default.busy_delay;
nr217net/netrom/nr_in.csk->nr->condition &= ~PEER_RX_BUSY_CONDITION;
nr218net/netrom/nr_in.csk->nr->t4timer = 0;
nr220net/netrom/nr_in.cif (!nr_validate_nr(sk, nr)) {
nr224net/netrom/nr_in.cnr_frames_acked(sk, nr);
nr227net/netrom/nr_in.cif (sk->nr->condition & PEER_RX_BUSY_CONDITION) {
nr228net/netrom/nr_in.cnr_frames_acked(sk, nr);
nr230net/netrom/nr_in.cnr_check_iframes_acked(sk, nr);
nr244net/netrom/nr_in.csk->nr->condition |= PEER_RX_BUSY_CONDITION;
nr245net/netrom/nr_in.csk->nr->t4timer = nr_default.busy_delay;
nr247net/netrom/nr_in.csk->nr->condition &= ~PEER_RX_BUSY_CONDITION;
nr248net/netrom/nr_in.csk->nr->t4timer = 0;
nr250net/netrom/nr_in.cif (nr_validate_nr(sk, nr)) {
nr252net/netrom/nr_in.cnr_frames_acked(sk, nr);
nr255net/netrom/nr_in.cif (sk->nr->condition & PEER_RX_BUSY_CONDITION) {
nr256net/netrom/nr_in.cnr_frames_acked(sk, nr);
nr258net/netrom/nr_in.cnr_check_iframes_acked(sk, nr);
nr263net/netrom/nr_in.cskb_queue_head(&sk->nr->reseq_queue, skb);
nr264net/netrom/nr_in.cif (sk->nr->condition & OWN_RX_BUSY_CONDITION)
nr268net/netrom/nr_in.csave_vr = sk->nr->vr;
nr269net/netrom/nr_in.cwhile ((skbn = skb_dequeue(&sk->nr->reseq_queue)) != NULL) {
nr271net/netrom/nr_in.cif (ns == sk->nr->vr) {
nr273net/netrom/nr_in.csk->nr->vr = (sk->nr->vr + 1) % NR_MODULUS;
nr275net/netrom/nr_in.csk->nr->condition |= OWN_RX_BUSY_CONDITION;
nr286net/netrom/nr_in.cskb_queue_tail(&sk->nr->reseq_queue, skbn);
nr288net/netrom/nr_in.c} while (save_vr != sk->nr->vr);
nr292net/netrom/nr_in.cif (((sk->nr->vl + sk->window) % NR_MODULUS) == sk->nr->vr) {
nr295net/netrom/nr_in.cif (!(sk->nr->condition & ACK_PENDING_CONDITION)) {
nr296net/netrom/nr_in.csk->nr->t2timer = sk->nr->t2;
nr297net/netrom/nr_in.csk->nr->condition |= ACK_PENDING_CONDITION;
nr314net/netrom/nr_in.cif (sk->nr->state == NR_STATE_0 && sk->dead)
nr317net/netrom/nr_in.cif (sk->nr->state != NR_STATE_1 && sk->nr->state != NR_STATE_2 &&
nr318net/netrom/nr_in.csk->nr->state != NR_STATE_3) {
nr319net/netrom/nr_in.cprintk("nr_process_rx_frame: frame received - state: %d\n", sk->nr->state);
nr327net/netrom/nr_in.cswitch (sk->nr->state)
nr55net/netrom/nr_out.cmtu = sk->nr->device->mtu;
nr96net/netrom/nr_out.cif (sk->nr->state == NR_STATE_3)
nr109net/netrom/nr_out.cskb->data[2] = sk->nr->vs;
nr110net/netrom/nr_out.cskb->data[3] = sk->nr->vr;
nr112net/netrom/nr_out.cif (sk->nr->condition & OWN_RX_BUSY_CONDITION)
nr122net/netrom/nr_out.cif ((skb = skb_peek(&sk->nr->ack_queue)) == NULL)
nr128net/netrom/nr_out.cskbn->data[2] = sk->nr->va;
nr129net/netrom/nr_out.cskbn->data[3] = sk->nr->vr;
nr131net/netrom/nr_out.cif (sk->nr->condition & OWN_RX_BUSY_CONDITION)
nr136net/netrom/nr_out.csk->nr->condition &= ~ACK_PENDING_CONDITION;
nr137net/netrom/nr_out.csk->nr->vl      = sk->nr->vr;
nr138net/netrom/nr_out.csk->nr->t1timer = 0;
nr149net/netrom/nr_out.cstart = (skb_peek(&sk->nr->ack_queue) == NULL) ? sk->nr->va : sk->nr->vs;
nr150net/netrom/nr_out.cend   = (sk->nr->va + sk->window) % NR_MODULUS;
nr152net/netrom/nr_out.cif (!(sk->nr->condition & PEER_RX_BUSY_CONDITION) &&
nr156net/netrom/nr_out.csk->nr->vs = start;
nr174net/netrom/nr_out.cnext = (sk->nr->vs + 1) % NR_MODULUS;
nr182net/netrom/nr_out.csk->nr->vs = next;
nr187net/netrom/nr_out.cskb_queue_tail(&sk->nr->ack_queue, skb);
nr191net/netrom/nr_out.csk->nr->vl = sk->nr->vr;
nr192net/netrom/nr_out.csk->nr->condition &= ~ACK_PENDING_CONDITION;
nr194net/netrom/nr_out.cif (sk->nr->t1timer == 0) {
nr195net/netrom/nr_out.csk->nr->t1timer = sk->nr->t1 = nr_calculate_t1(sk);
nr211net/netrom/nr_out.cmemcpy(dptr, &sk->nr->source_addr, sizeof(ax25_address));
nr217net/netrom/nr_out.cmemcpy(dptr, &sk->nr->dest_addr,   sizeof(ax25_address));
nr245net/netrom/nr_out.csk->nr->condition = 0x00;
nr246net/netrom/nr_out.csk->nr->n2count   = 0;
nr250net/netrom/nr_out.csk->nr->t2timer = 0;
nr251net/netrom/nr_out.csk->nr->t1timer = sk->nr->t1 = nr_calculate_t1(sk);
nr261net/netrom/nr_out.cif (sk->nr->condition & OWN_RX_BUSY_CONDITION) {
nr264net/netrom/nr_out.cif (skb_peek(&sk->nr->reseq_queue) != NULL) {
nr271net/netrom/nr_out.csk->nr->vl = sk->nr->vr;
nr272net/netrom/nr_out.csk->nr->condition &= ~ACK_PENDING_CONDITION;
nr275net/netrom/nr_out.cvoid nr_check_iframes_acked(struct sock *sk, unsigned short nr)
nr277net/netrom/nr_out.cif (sk->nr->vs == nr) {
nr278net/netrom/nr_out.cnr_frames_acked(sk, nr);
nr280net/netrom/nr_out.csk->nr->t1timer = 0;
nr281net/netrom/nr_out.csk->nr->n2count = 0;
nr283net/netrom/nr_out.cif (sk->nr->va != nr) {
nr284net/netrom/nr_out.cnr_frames_acked(sk, nr);
nr285net/netrom/nr_out.csk->nr->t1timer = sk->nr->t1 = nr_calculate_t1(sk);
nr67net/netrom/nr_route.cstatic int nr_add_node(ax25_address *nr, const char *mnemonic, ax25_address *ax25,
nr77net/netrom/nr_route.cif (ax25cmp(nr, &nr_node->callsign) == 0)
nr121net/netrom/nr_route.cmemcpy(&nr_node->callsign, nr, sizeof(ax25_address));
nr57net/netrom/nr_subr.cwhile ((skb = skb_dequeue(&sk->nr->ack_queue)) != NULL) {
nr63net/netrom/nr_subr.cwhile ((skb = skb_dequeue(&sk->nr->reseq_queue)) != NULL) {
nr67net/netrom/nr_subr.cwhile ((skb = skb_dequeue(&sk->nr->frag_queue)) != NULL) {
nr77net/netrom/nr_subr.cvoid nr_frames_acked(struct sock *sk, unsigned short nr)
nr84net/netrom/nr_subr.cif (sk->nr->va != nr) {
nr85net/netrom/nr_subr.cwhile (skb_peek(&sk->nr->ack_queue) != NULL && sk->nr->va != nr) {
nr86net/netrom/nr_subr.cskb = skb_dequeue(&sk->nr->ack_queue);
nr90net/netrom/nr_subr.csk->nr->va = (sk->nr->va + 1) % NR_MODULUS;
nr104net/netrom/nr_subr.cwhile ((skb = skb_dequeue(&sk->nr->ack_queue)) != NULL) {
nr117net/netrom/nr_subr.cint nr_validate_nr(struct sock *sk, unsigned short nr)
nr119net/netrom/nr_subr.cunsigned short vc = sk->nr->va;
nr121net/netrom/nr_subr.cwhile (vc != sk->nr->vs) {
nr122net/netrom/nr_subr.cif (nr == vc) return 1;
nr126net/netrom/nr_subr.cif (nr == sk->nr->vs) return 1;
nr136net/netrom/nr_subr.cunsigned short vc = sk->nr->vr;
nr137net/netrom/nr_subr.cunsigned short vt = (sk->nr->vl + sk->window) % NR_MODULUS;
nr164net/netrom/nr_subr.clen += (sk->nr->bpqext) ? 2 : 1;
nr188net/netrom/nr_subr.ctimeout  = (sk->nr->rtt / PR_SLOWHZ) * 2;
nr189net/netrom/nr_subr.c*dptr++  = sk->nr->my_index;
nr190net/netrom/nr_subr.c*dptr++  = sk->nr->my_id;
nr195net/netrom/nr_subr.cmemcpy(dptr, &sk->nr->user_addr, sizeof(ax25_address));
nr200net/netrom/nr_subr.cmemcpy(dptr, &sk->nr->source_addr, sizeof(ax25_address));
nr210net/netrom/nr_subr.c*dptr++ = sk->nr->your_index;
nr211net/netrom/nr_subr.c*dptr++ = sk->nr->your_id;
nr212net/netrom/nr_subr.c*dptr++ = sk->nr->my_index;
nr213net/netrom/nr_subr.c*dptr++ = sk->nr->my_id;
nr216net/netrom/nr_subr.cif (sk->nr->bpqext) *dptr++ = nr_default.ttl;
nr221net/netrom/nr_subr.c*dptr++ = sk->nr->your_index;
nr222net/netrom/nr_subr.c*dptr++ = sk->nr->your_id;
nr229net/netrom/nr_subr.c*dptr++ = sk->nr->your_index;
nr230net/netrom/nr_subr.c*dptr++ = sk->nr->your_id;
nr232net/netrom/nr_subr.c*dptr++ = sk->nr->vr;
nr296net/netrom/nr_subr.cfor (t = 2, n = 0; n < sk->nr->n2count; n++)
nr301net/netrom/nr_subr.creturn t * sk->nr->rtt;
nr309net/netrom/nr_subr.cif (sk->nr->t1timer > 0 && sk->nr->n2count == 0)
nr310net/netrom/nr_subr.csk->nr->rtt = (9 * sk->nr->rtt + sk->nr->t1 - sk->nr->t1timer) / 10;
nr314net/netrom/nr_subr.cif (sk->nr->rtt < (NR_T1CLAMPLO))
nr315net/netrom/nr_subr.csk->nr->rtt = (NR_T1CLAMPLO);
nr317net/netrom/nr_subr.cif (sk->nr->rtt == 0)
nr318net/netrom/nr_subr.csk->nr->rtt = PR_SLOWHZ;
nr322net/netrom/nr_subr.cif (sk->nr->rtt > (NR_T1CLAMPHI))
nr323net/netrom/nr_subr.csk->nr->rtt = (NR_T1CLAMPHI);
nr90net/netrom/nr_timer.cswitch (sk->nr->state) {
nr105net/netrom/nr_timer.cif (sk->rmem_alloc < (sk->rcvbuf / 2) && (sk->nr->condition & OWN_RX_BUSY_CONDITION)) {
nr106net/netrom/nr_timer.csk->nr->condition &= ~OWN_RX_BUSY_CONDITION;
nr108net/netrom/nr_timer.csk->nr->condition &= ~ACK_PENDING_CONDITION;
nr109net/netrom/nr_timer.csk->nr->vl = sk->nr->vr;
nr122net/netrom/nr_timer.cif (sk->nr->t2timer > 0 && --sk->nr->t2timer == 0) {
nr123net/netrom/nr_timer.cif (sk->nr->state == NR_STATE_3) {
nr124net/netrom/nr_timer.cif (sk->nr->condition & ACK_PENDING_CONDITION) {
nr125net/netrom/nr_timer.csk->nr->condition &= ~ACK_PENDING_CONDITION;
nr131net/netrom/nr_timer.cif (sk->nr->t4timer > 0 && --sk->nr->t4timer == 0) {
nr132net/netrom/nr_timer.csk->nr->condition &= ~PEER_RX_BUSY_CONDITION;
nr135net/netrom/nr_timer.cif (sk->nr->t1timer == 0 || --sk->nr->t1timer > 0) {
nr140net/netrom/nr_timer.cswitch (sk->nr->state) {
nr142net/netrom/nr_timer.cif (sk->nr->n2count == sk->nr->n2) {
nr144net/netrom/nr_timer.csk->nr->state = NR_STATE_0;
nr151net/netrom/nr_timer.csk->nr->n2count++;
nr157net/netrom/nr_timer.cif (sk->nr->n2count == sk->nr->n2) {
nr159net/netrom/nr_timer.csk->nr->state = NR_STATE_0;
nr166net/netrom/nr_timer.csk->nr->n2count++;
nr172net/netrom/nr_timer.cif (sk->nr->n2count == sk->nr->n2) {
nr174net/netrom/nr_timer.csk->nr->state = NR_STATE_0;
nr181net/netrom/nr_timer.csk->nr->n2count++;
nr187net/netrom/nr_timer.csk->nr->t1timer = sk->nr->t1 = nr_calculate_t1(sk);