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))
nr118arch/alpha/mm/init.cunsigned long pfn, nr;
nr122arch/alpha/mm/init.cnr = cluster->numpages;
nr128arch/alpha/mm/init.cwhile (nr--)
nr184arch/i386/kernel/process.cvoid copy_thread(int nr, unsigned long clone_flags, unsigned long esp,
nr198arch/i386/kernel/process.cp->tss.tr = _TSS(nr);
nr207arch/i386/kernel/process.cp->tss.ldt = _LDT(nr);
nr213arch/i386/kernel/process.cset_tss_desc(gdt+(nr<<1)+FIRST_TSS_ENTRY,&(p->tss));
nr215arch/i386/kernel/process.cset_ldt_desc(gdt+(nr<<1)+FIRST_LDT_ENTRY,p->ldt, 512);
nr217arch/i386/kernel/process.cset_ldt_desc(gdt+(nr<<1)+FIRST_LDT_ENTRY,&default_ldt, 1);
nr155arch/i386/kernel/setup.cstatic const char * i486model(unsigned int nr)
nr160arch/i386/kernel/setup.cif (nr < sizeof(model)/sizeof(char *))
nr161arch/i386/kernel/setup.creturn model[nr];
nr165arch/i386/kernel/setup.cstatic const char * i586model(unsigned int nr)
nr170arch/i386/kernel/setup.cif (nr < sizeof(model)/sizeof(char *))
nr171arch/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));
nr97arch/mips/kernel/process.cvoid copy_thread(int nr, unsigned long clone_flags, struct task_struct * p, struct pt_regs * regs)
nr19arch/mips/kernel/signal.c#define _S(nr) (1<<((nr)-1))
nr97arch/ppc/kernel/process.cvoid copy_thread(int nr, unsigned long clone_flags, unsigned long usp,
nr112arch/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))
nr827drivers/block/floppy.cstatic void motor_off_callback(unsigned long nr)
nr829drivers/block/floppy.cunsigned char mask = ~(0x10 << UNIT(nr));
nr831drivers/block/floppy.cset_dor(FDC(nr), mask, 0);
nr544drivers/block/genhd.cint nr=0;
nr559drivers/block/genhd.cnr += p->nr_real;
nr467drivers/block/ll_rw_blk.cvoid ll_rw_block(int rw, int nr, struct buffer_head * bh[])
nr478drivers/block/ll_rw_blk.cif (--nr <= 0)
nr501drivers/block/ll_rw_blk.cfor (i = 0; i < nr; i++) {
nr521drivers/block/ll_rw_blk.cif (nr > 1)
nr523drivers/block/ll_rw_blk.cfor (i = 0; i < nr; i++) {
nr537drivers/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 */
nr1201drivers/char/console.cstatic void csi_at(int currcons, unsigned int nr)
nr1203drivers/char/console.cif (nr > video_num_columns)
nr1204drivers/char/console.cnr = video_num_columns;
nr1205drivers/char/console.celse if (!nr)
nr1206drivers/char/console.cnr = 1;
nr1207drivers/char/console.cwhile (nr--)
nr1211drivers/char/console.cstatic void csi_L(int currcons, unsigned int nr)
nr1213drivers/char/console.cif (nr > video_num_lines)
nr1214drivers/char/console.cnr = video_num_lines;
nr1215drivers/char/console.celse if (!nr)
nr1216drivers/char/console.cnr = 1;
nr1217drivers/char/console.cwhile (nr--)
nr1221drivers/char/console.cstatic void csi_P(int currcons, unsigned int nr)
nr1223drivers/char/console.cif (nr > video_num_columns)
nr1224drivers/char/console.cnr = video_num_columns;
nr1225drivers/char/console.celse if (!nr)
nr1226drivers/char/console.cnr = 1;
nr1227drivers/char/console.cwhile (nr--)
nr1231drivers/char/console.cstatic void csi_M(int currcons, unsigned int nr)
nr1233drivers/char/console.cif (nr > video_num_lines)
nr1234drivers/char/console.cnr = video_num_lines;
nr1235drivers/char/console.celse if (!nr)
nr1236drivers/char/console.cnr=1;
nr1237drivers/char/console.cwhile (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;
nr1773drivers/net/ppp.cunsigned int nr)
nr1799drivers/net/ppp.cbuf, nr);
nr1825drivers/net/ppp.cindx = verify_area (VERIFY_WRITE, buf, nr);
nr1872drivers/net/ppp.cif (len + 2 > nr) {
nr1878drivers/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")
nr217drivers/sound/configure.ccan_select_option (int nr)
nr220drivers/sound/configure.cif (hw_table[nr].conditions)
nr221drivers/sound/configure.cif (!(hw_table[nr].conditions & selected_options))
nr224drivers/sound/configure.cif (hw_table[nr].exclusive_options)
nr225drivers/sound/configure.cif (hw_table[nr].exclusive_options & selected_options)
nr228drivers/sound/configure.cif (DISABLED_OPTIONS & B (nr))
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))) \
nr148fs/exec.c#define DUMP_WRITE(addr,nr) \
nr149fs/exec.cwhile (file.f_op->write(inode,&file,(char *)(addr),(nr)) != (nr)) goto close_coredump
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 int block_bmap (struct buffer_head * bh, int nr)
nr50fs/ext2/inode.ctmp = ((u32 *) bh->b_data)[nr];
nr184fs/ext2/inode.cstatic struct buffer_head * inode_getblk (struct inode * inode, int nr,
nr192fs/ext2/inode.cp = inode->u.ext2_i.i_data + nr;
nr214fs/ext2/inode.cfor (tmp = nr - 1; tmp >= 0; tmp--) {
nr250fs/ext2/inode.cstruct buffer_head * bh, int nr,
nr269fs/ext2/inode.cp = (u32 *) bh->b_data + nr;
nr291fs/ext2/inode.cfor (tmp = nr - 1; tmp >= 0; tmp--) {
nr327fs/ext2/inode.cint nr,
nr339fs/ext2/inode.cif((nr & ((PAGE_SIZE >> EXT2_BLOCK_SIZE_BITS(inode->i_sb)) - 1)) != 0)
nr341fs/ext2/inode.cif(nr + 3 > EXT2_ADDR_PER_BLOCK(inode->i_sb)) goto out;
nr344fs/ext2/inode.cp = (u32 *) bh->b_data + nr + i;
nr354fs/ext2/inode.cp = (u32 *) bh->b_data + nr;
nr502fs/inode.cstruct inode * __iget(struct super_block * sb, int nr, int crossmntp)
nr511fs/inode.ch = hash(sb->s_dev, nr);
nr514fs/inode.cif (inode->i_dev == sb->s_dev && inode->i_ino == nr)
nr528fs/inode.cinode->i_ino = nr;
nr540fs/inode.cif (inode->i_dev != sb->s_dev || inode->i_ino != nr) {
nr238fs/minix/inode.c#define inode_bmap(inode,nr) ((inode)->u.minix_i.i_data[(nr)])
nr240fs/minix/inode.cstatic int block_bmap(struct buffer_head * bh, int nr)
nr246fs/minix/inode.ctmp = ((unsigned short *) bh->b_data)[nr];
nr282fs/minix/inode.cstatic struct buffer_head * inode_getblk(struct inode * inode, int nr, int create)
nr288fs/minix/inode.cp = inode->u.minix_i.i_data + nr;
nr316fs/minix/inode.cstruct buffer_head * bh, int nr, int create)
nr332fs/minix/inode.cp = nr + (unsigned short *) bh->b_data;
nr20fs/msdos/fat.cint fat_access(struct super_block *sb,int nr,int new_value)
nr26fs/msdos/fat.cif ((unsigned) (nr-2) >= MSDOS_SB(sb)->clusters) return 0;
nr27fs/msdos/fat.cif (MSDOS_SB(sb)->fat_bits == 16) first = last = nr*2;
nr29fs/msdos/fat.cfirst = nr*3/2;
nr57fs/msdos/fat.cif (nr & 1) next = ((*p_first >> 4) | (*p_last << 4)) & 0xfff;
nr66fs/msdos/fat.cif (nr & 1) {
nr227fs/msdos/fat.cint nr,count;
nr229fs/msdos/fat.cif (!(nr = MSDOS_I(inode)->i_start)) return 0;
nr230fs/msdos/fat.cif (!cluster) return nr;
nr232fs/msdos/fat.cfor (cache_lookup(inode,cluster,&count,&nr); count < cluster;
nr234fs/msdos/fat.cif ((nr = fat_access(inode->i_sb,nr,-1)) == -1) return 0;
nr235fs/msdos/fat.cif (!nr) return 0;
nr237fs/msdos/fat.ccache_add(inode,cluster,nr);
nr238fs/msdos/fat.creturn nr;
nr265fs/msdos/fat.cint nr,last;
nr267fs/msdos/fat.cif (!(nr = MSDOS_I(inode)->i_start)) return 0;
nr270fs/msdos/fat.clast = nr;
nr271fs/msdos/fat.cif ((nr = fat_access(inode->i_sb,nr,-1)) == -1) return 0;
nr272fs/msdos/fat.cif (!nr) {
nr285fs/msdos/fat.cwhile (nr != -1) {
nr286fs/msdos/fat.cif (!(nr = fat_access(inode->i_sb,nr,0))) {
nr316fs/msdos/inode.cint free,nr;
nr324fs/msdos/inode.cfor (nr = 2; nr < MSDOS_SB(sb)->clusters+2; nr++)
nr325fs/msdos/inode.cif (!fat_access(sb,nr,-1)) free++;
nr362fs/msdos/inode.cint nr;
nr409fs/msdos/inode.cif ((nr = CF_LE_W(raw_entry->start)) != 0)
nr410fs/msdos/inode.cwhile (nr != -1) {
nr413fs/msdos/inode.cif (!(nr = fat_access(inode->i_sb,nr,-1))) {
nr119fs/msdos/misc.cint count,nr,limit,last,curr,sector,last_sector,file_cluster;
nr127fs/msdos/misc.cnr = limit; /* to keep GCC happy */
nr129fs/msdos/misc.cnr = ((count+MSDOS_SB(inode->i_sb)->prev_free) % limit)+2;
nr130fs/msdos/misc.cif (fat_access(inode->i_sb,nr,-1) == 0) break;
nr134fs/msdos/misc.cprintk("free cluster: %d\n",nr);
nr143fs/msdos/misc.cfat_access(inode->i_sb,nr,MSDOS_SB(inode->i_sb)->fat_bits == 12 ?
nr149fs/msdos/misc.cprintk("set to %x\n",fat_access(inode->i_sb,nr,-1));
nr180fs/msdos/misc.cif (last) fat_access(inode->i_sb,last,nr);
nr182fs/msdos/misc.cMSDOS_I(inode)->i_start = nr;
nr188fs/msdos/misc.csector = MSDOS_SB(inode->i_sb)->data_start+(nr-2)*cluster_size;
nr207fs/msdos/misc.ccache_add(inode,file_cluster,nr);
nr488fs/msdos/misc.cint error,curr,prev,nr;
nr498fs/msdos/misc.cif (!curr) nr = MSDOS_ROOT_INO;
nr505fs/msdos/misc.cif ((error = raw_scan(dir->i_sb,prev,NULL,&curr,&nr,NULL,
nr512fs/msdos/misc.creturn nr;
nr108fs/nfs/rpcsock.cwait_table.nr = 0;
nr120fs/nfs/rpcsock.c} else if (wait_table.nr)
nr38fs/nfs/sock.c#define _S(nr) (1<<((nr)-1))
nr483fs/proc/root.cunsigned int nr,pid;
nr486fs/proc/root.cnr = filp->f_pos;
nr487fs/proc/root.cif (nr < FIRST_PROCESS_ENTRY) {
nr491fs/proc/root.cfilp->f_pos = nr = FIRST_PROCESS_ENTRY;
nr494fs/proc/root.cfor (nr -= FIRST_PROCESS_ENTRY; nr < NR_TASKS; nr++, filp->f_pos++) {
nr495fs/proc/root.cstruct task_struct * p = task[nr];
nr232fs/read_write.cint len, nr;
nr238fs/read_write.cnr = fn(inode, file, base, len);
nr239fs/read_write.cif (nr < 0) {
nr242fs/read_write.cretval = nr;
nr245fs/read_write.cretval += nr;
nr246fs/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) \
nr42include/asm-alpha/ioctl.h((nr)   << _IOC_NRSHIFT) | \
nr46include/asm-alpha/ioctl.h#define _IO(type,nr)    _IOC(_IOC_NONE,(type),(nr),0)
nr47include/asm-alpha/ioctl.h#define _IOR(type,nr,size)  _IOC(_IOC_READ,(type),(nr),sizeof(size))
nr48include/asm-alpha/ioctl.h#define _IOW(type,nr,size)  _IOC(_IOC_WRITE,(type),(nr),sizeof(size))
nr49include/asm-alpha/ioctl.h#define _IOWR(type,nr,size)  _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
nr52include/asm-alpha/ioctl.h#define _IOC_DIR(nr)    (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK)
nr53include/asm-alpha/ioctl.h#define _IOC_TYPE(nr)    (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK)
nr54include/asm-alpha/ioctl.h#define _IOC_NR(nr)    (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
nr55include/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); \
nr226include/asm-alpha/unistd.hstatic inline int write(int fd, const char * buf, int nr)
nr228include/asm-alpha/unistd.hreturn sys_write(fd, buf, nr);
nr232include/asm-alpha/unistd.hstatic inline int read(int fd, char * buf, int nr)
nr234include/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 & (((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)
nr187include/asm-i386/irq.h#define BUILD_IRQ(chip,nr,mask) \
nr188include/asm-i386/irq.hasmlinkage void IRQ_NAME(nr); \
nr189include/asm-i386/irq.hasmlinkage void FAST_IRQ_NAME(nr); \
nr190include/asm-i386/irq.hasmlinkage void BAD_IRQ_NAME(nr); \
nr193include/asm-i386/irq.hSYMBOL_NAME_STR(IRQ) #nr "_interrupt:\n\t" \
nr194include/asm-i386/irq.h"pushl $-"#nr"-2\n\t" \
nr202include/asm-i386/irq.h"pushl $" #nr "\n\t" \
nr211include/asm-i386/irq.hSYMBOL_NAME_STR(fast_IRQ) #nr "_interrupt:\n\t" \
nr216include/asm-i386/irq.h"pushl $" #nr "\n\t" \
nr225include/asm-i386/irq.hSYMBOL_NAME_STR(bad_IRQ) #nr "_interrupt:\n\t" \
nr237include/asm-i386/irq.h#define BUILD_MSGIRQ(chip,nr,mask) \
nr238include/asm-i386/irq.hasmlinkage void IRQ_NAME(nr); \
nr239include/asm-i386/irq.hasmlinkage void FAST_IRQ_NAME(nr); \
nr240include/asm-i386/irq.hasmlinkage void BAD_IRQ_NAME(nr); \
nr243include/asm-i386/irq.hSYMBOL_NAME_STR(IRQ) #nr "_interrupt:\n\t" \
nr244include/asm-i386/irq.h"pushl $-"#nr"-2\n\t" \
nr252include/asm-i386/irq.h"pushl $" #nr "\n\t" \
nr261include/asm-i386/irq.hSYMBOL_NAME_STR(fast_IRQ) #nr "_interrupt:\n\t" \
nr265include/asm-i386/irq.h"pushl $" #nr "\n\t" \
nr272include/asm-i386/irq.hSYMBOL_NAME_STR(bad_IRQ) #nr "_interrupt:\n\t" \
nr277include/asm-i386/irq.h#define BUILD_RESCHEDIRQ(nr) \
nr278include/asm-i386/irq.hasmlinkage void IRQ_NAME(nr); \
nr281include/asm-i386/irq.hSYMBOL_NAME_STR(IRQ) #nr "_interrupt:\n\t" \
nr282include/asm-i386/irq.h"pushl $-"#nr"-2\n\t" \
nr289include/asm-i386/irq.h"pushl $" #nr "\n\t" \
nr298include/asm-i386/irq.h#define BUILD_IRQ(chip,nr,mask) \
nr299include/asm-i386/irq.hasmlinkage void IRQ_NAME(nr); \
nr300include/asm-i386/irq.hasmlinkage void FAST_IRQ_NAME(nr); \
nr301include/asm-i386/irq.hasmlinkage void BAD_IRQ_NAME(nr); \
nr304include/asm-i386/irq.hSYMBOL_NAME_STR(IRQ) #nr "_interrupt:\n\t" \
nr305include/asm-i386/irq.h"pushl $-"#nr"-2\n\t" \
nr312include/asm-i386/irq.h"pushl $" #nr "\n\t" \
nr320include/asm-i386/irq.hSYMBOL_NAME_STR(fast_IRQ) #nr "_interrupt:\n\t" \
nr324include/asm-i386/irq.h"pushl $" #nr "\n\t" \
nr332include/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));
nr20include/asm-mips/bitops.hextern __inline__ int set_bit(int nr, void *addr)
nr24include/asm-mips/bitops.haddr += ((nr >> 3) & ~3);
nr25include/asm-mips/bitops.hmask = 1 << (nr & 0x1f);
nr35include/asm-mips/bitops.hextern __inline__ int clear_bit(int nr, void *addr)
nr39include/asm-mips/bitops.haddr += ((nr >> 3) & ~3);
nr40include/asm-mips/bitops.hmask = 1 << (nr & 0x1f);
nr50include/asm-mips/bitops.hextern __inline__ int change_bit(int nr, void *addr)
nr54include/asm-mips/bitops.haddr += ((nr >> 3) & ~3);
nr55include/asm-mips/bitops.hmask = 1 << (nr & 0x1f);
nr80include/asm-mips/bitops.hextern __inline__ int set_bit(int nr, void * addr)
nr86include/asm-mips/bitops.ha += nr >> 5;
nr87include/asm-mips/bitops.hmask = 1 << (nr & 0x1f);
nr97include/asm-mips/bitops.hextern __inline__ int clear_bit(int nr, void * addr)
nr103include/asm-mips/bitops.ha += nr >> 5;
nr104include/asm-mips/bitops.hmask = 1 << (nr & 0x1f);
nr114include/asm-mips/bitops.hextern __inline__ int change_bit(int nr, void * addr)
nr120include/asm-mips/bitops.ha += nr >> 5;
nr121include/asm-mips/bitops.hmask = 1 << (nr & 0x1f);
nr138include/asm-mips/bitops.hextern __inline__ int test_bit(int nr, const void *addr)
nr144include/asm-mips/bitops.haddr += nr >> 5;
nr145include/asm-mips/bitops.hmask = 1 << (nr & 0x1f);
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);
nr520include/linux/fs.hextern struct inode * __iget(struct super_block * sb,int nr,int crsmnt);
nr529include/linux/fs.hextern void ll_rw_block(int rw, int nr, struct buffer_head * bh[]);
nr530include/linux/fs.hextern void ll_rw_page(int rw, kdev_t dev, unsigned long nr, char * buffer);
nr576include/linux/fs.hextern inline struct inode * iget(struct super_block * sb,int nr)
nr578include/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)
nr199include/linux/mm.hextern void rw_swap_page(int rw, unsigned long nr, char * buf);
nr212include/linux/mm.h#define read_swap_page(nr,buf) \
nr213include/linux/mm.hrw_swap_page(READ,(nr),(buf))
nr214include/linux/mm.h#define write_swap_page(nr,buf) \
nr215include/linux/mm.hrw_swap_page(WRITE,(nr),(buf))
nr138include/linux/msdos_fs.hextern int fat_access(struct super_block *sb,int nr,int new_value);
nr418include/linux/sched.hif (p->nr >= __MAX_SELECT_TABLE_ENTRIES)
nr420include/linux/sched.hentry = p->entry + p->nr;
nr425include/linux/sched.hp->nr++;
nr113include/linux/sjcd.h#define S_READ_DATA( port, buf, nr )      insb( port, buf, nr )
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;
nr200include/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;
nr75kernel/sched.c#define _S(nr) (1<<((nr)-1))
nr126kernel/sched.cstatic int nr = 0;
nr127kernel/sched.cif (nr < 5) {
nr128kernel/sched.cnr++;
nr539kernel/sched.cunsigned long nr = 0;
nr545kernel/sched.cnr += FIXED_1;
nr547kernel/sched.cnr-=(smp_num_cpus-1)*FIXED_1;
nr549kernel/sched.creturn nr;
nr939kernel/sched.cstatic void show_task(int nr,struct task_struct * p)
nr944kernel/sched.cprintk("%-8s %3d ", p->comm, (p == current) ? -nr : nr);
nr18kernel/signal.c#define _S(nr) (1<<((nr)-1))
nr39mm/filemap.cstatic inline void multi_bmap(struct inode * inode, unsigned long block, unsigned int * nr, int shift)
nr44mm/filemap.c*nr = bmap(inode, block);
nr47mm/filemap.cnr++;
nr60mm/filemap.cint nr[PAGE_SIZE/512];
nr65mm/filemap.cmulti_bmap(inode, address, nr, inode->i_sb->s_blocksize_bits);
nr66mm/filemap.creturn bread_page(page, inode->i_dev, nr, inode->i_sb->s_blocksize, no_share);
nr877mm/swap.cunsigned long nr = 0;
nr879mm/swap.cnr ++;
nr881mm/swap.ctotal += nr * ((PAGE_SIZE>>10) << order);
nr882mm/swap.cprintk("%lu*%lukB ", nr, (PAGE_SIZE>>10) << order);
nr1029mm/swap.cint nr;
nr1034mm/swap.cnr = 0;
nr1035mm/swap.cwhile (nr < NR_TASKS) {
nr1036mm/swap.cif (task[nr]) {
nr1037mm/swap.cif (unuse_process(task[nr], type, page)) {
nr1044mm/swap.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);
nr689net/appletalk/ddp.cstruct netrange *nr;
nr719net/appletalk/ddp.cnr=(struct netrange *)&sa->sat_zero[0];
nr720net/appletalk/ddp.cif(nr->nr_phase!=2)
nr740net/appletalk/ddp.catif->nets= *nr;
nr771net/appletalk/ddp.cif(nr->nr_firstnet==htons(0) && nr->nr_lastnet==htons(0xFFFE)) 
nr779net/appletalk/ddp.climit=ntohs(nr->nr_lastnet);
nr780net/appletalk/ddp.cif(limit-ntohs(nr->nr_firstnet) > 256)
nr785net/appletalk/ddp.cfor(ct=ntohs(nr->nr_firstnet);ct<=limit;ct++)
nr304net/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)
nr363net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr364net/ax25/ax25_in.cax25_check_iframes_acked(ax25, nr);
nr374net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr375net/ax25/ax25_in.cax25_check_iframes_acked(ax25, nr);
nr385net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr386net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr402net/ax25/ax25_in.cif (!ax25_validate_nr(ax25, nr)) {
nr408net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr410net/ax25/ax25_in.cax25_check_iframes_acked(ax25, nr);
nr461net/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)
nr525net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr526net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr540net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr541net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr552net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr553net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr569net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr570net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr581net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr582net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr598net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr599net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr614net/ax25/ax25_in.cif (!ax25_validate_nr(ax25, nr)) {
nr619net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr669net/ax25/ax25_in.cint queued = 0, frametype, ns, nr, pf;
nr682net/ax25/ax25_in.cframetype = ax25_decode(ax25, skb, &ns, &nr, &pf);
nr692net/ax25/ax25_in.cqueued = ax25_state3_machine(ax25, skb, frametype, ns, nr, pf, type);
nr695net/ax25/ax25_in.cqueued = ax25_state4_machine(ax25, skb, frametype, ns, nr, pf, type);
nr300net/ax25/ax25_out.cvoid ax25_check_iframes_acked(ax25_cb *ax25, unsigned short nr)
nr302net/ax25/ax25_out.cif (ax25->vs == nr) {
nr303net/ax25/ax25_out.cax25_frames_acked(ax25, nr);
nr308net/ax25/ax25_out.cif (ax25->va != nr) {
nr309net/ax25/ax25_out.cax25_frames_acked(ax25, nr);
nr84net/ax25/ax25_subr.cvoid ax25_frames_acked(ax25_cb *ax25, unsigned short nr)
nr91net/ax25/ax25_subr.cif (ax25->va != nr) {
nr92net/ax25/ax25_subr.cwhile (skb_peek(&ax25->ack_queue) != NULL && ax25->va != nr) {
nr127net/ax25/ax25_subr.cint ax25_validate_nr(ax25_cb *ax25, unsigned short nr)
nr132net/ax25/ax25_subr.cif (nr == vc) return 1;
nr136net/ax25/ax25_subr.cif (nr == ax25->vs) return 1;
nr145net/ax25/ax25_subr.cint ax25_decode(ax25_cb *ax25, struct sk_buff *skb, int *ns, int *nr, int *pf)
nr151net/ax25/ax25_subr.c*ns = *nr = *pf = 0;
nr157net/ax25/ax25_subr.c*nr = (frame[0] >> 5) & 0x07;
nr161net/ax25/ax25_subr.c*nr = (frame[0] >> 5) & 0x07;
nr172net/ax25/ax25_subr.c*nr = (frame[1] >> 1) & 0x7F;
nr177net/ax25/ax25_subr.c*nr = (frame[1] >> 1) & 0x7F;
nr1140net/ipv4/route.cint nr=0;
nr1156net/ipv4/route.cnr++;
nr1161net/ipv4/route.cif (nr > 0)
nr1162net/ipv4/route.cprintk("rt_cache_flush: %d@%02x\n", nr, i);
nr113net/netrom/af_netrom.cif (s->nr->device == dev) {
nr114net/netrom/af_netrom.cs->nr->state  = NR_STATE_0;
nr115net/netrom/af_netrom.cs->nr->device = NULL;
nr169net/netrom/af_netrom.cif (ax25cmp(&s->nr->source_addr, addr) == 0 && s->type == type && s->state == TCP_LISTEN) {
nr191net/netrom/af_netrom.cif (s->nr->my_index == index && s->nr->my_id == id && s->type == type) {
nr214net/netrom/af_netrom.cif (s->nr->your_index == index && s->nr->your_id == id && s->type == type) {
nr261net/netrom/af_netrom.cskb->sk->nr->state = NR_STATE_0;
nr274net/netrom/af_netrom.ckfree_s(sk->nr, sizeof(*sk->nr));
nr322net/netrom/af_netrom.csk->nr->rtt = (opt * PR_SLOWHZ) / 2;
nr328net/netrom/af_netrom.csk->nr->t2 = opt * PR_SLOWHZ;
nr334net/netrom/af_netrom.csk->nr->n2 = opt;
nr338net/netrom/af_netrom.csk->nr->hdrincl = opt ? 1 : 0;
nr363net/netrom/af_netrom.cval = (sk->nr->t1 * 2) / PR_SLOWHZ;
nr367net/netrom/af_netrom.cval = sk->nr->t2 / PR_SLOWHZ;
nr371net/netrom/af_netrom.cval = sk->nr->n2;
nr375net/netrom/af_netrom.cval = sk->nr->hdrincl;
nr400net/netrom/af_netrom.cmemset(&sk->nr->user_addr, '\0', sizeof(ax25_address));
nr424net/netrom/af_netrom.cnr_cb *nr;
nr432net/netrom/af_netrom.cif ((nr = (nr_cb *)kmalloc(sizeof(*nr), GFP_ATOMIC)) == NULL) {
nr479net/netrom/af_netrom.cskb_queue_head_init(&nr->ack_queue);
nr480net/netrom/af_netrom.cskb_queue_head_init(&nr->reseq_queue);
nr481net/netrom/af_netrom.cskb_queue_head_init(&nr->frag_queue);
nr483net/netrom/af_netrom.cnr->my_index = 0;
nr484net/netrom/af_netrom.cnr->my_id    = 0;
nr485net/netrom/af_netrom.cnr->rtt      = nr_default.timeout / 2;
nr486net/netrom/af_netrom.cnr->t1       = nr_default.timeout;
nr487net/netrom/af_netrom.cnr->t2       = nr_default.ack_delay;
nr488net/netrom/af_netrom.cnr->n2       = nr_default.tries;
nr490net/netrom/af_netrom.cnr->t1timer  = 0;
nr491net/netrom/af_netrom.cnr->t2timer  = 0;
nr492net/netrom/af_netrom.cnr->t4timer  = 0;
nr493net/netrom/af_netrom.cnr->n2count  = 0;
nr495net/netrom/af_netrom.cnr->va       = 0;
nr496net/netrom/af_netrom.cnr->vr       = 0;
nr497net/netrom/af_netrom.cnr->vs       = 0;
nr498net/netrom/af_netrom.cnr->vl       = 0;
nr500net/netrom/af_netrom.cnr->your_index = 0;
nr501net/netrom/af_netrom.cnr->your_id    = 0;
nr503net/netrom/af_netrom.cnr->my_index   = 0;
nr504net/netrom/af_netrom.cnr->my_id      = 0;
nr506net/netrom/af_netrom.cnr->bpqext     = 1;
nr507net/netrom/af_netrom.cnr->fraglen    = 0;
nr508net/netrom/af_netrom.cnr->hdrincl    = 0;
nr509net/netrom/af_netrom.cnr->state      = NR_STATE_0;
nr510net/netrom/af_netrom.cnr->device     = NULL;
nr512net/netrom/af_netrom.cmemset(&nr->source_addr, '\0', sizeof(ax25_address));
nr513net/netrom/af_netrom.cmemset(&nr->user_addr,   '\0', sizeof(ax25_address));
nr514net/netrom/af_netrom.cmemset(&nr->dest_addr,   '\0', sizeof(ax25_address));
nr516net/netrom/af_netrom.cnr->sk = sk;
nr517net/netrom/af_netrom.csk->nr = nr;
nr525net/netrom/af_netrom.cnr_cb *nr;
nr533net/netrom/af_netrom.cif ((nr = (nr_cb *)kmalloc(sizeof(*nr), GFP_ATOMIC)) == NULL) {
nr575net/netrom/af_netrom.cskb_queue_head_init(&nr->ack_queue);
nr576net/netrom/af_netrom.cskb_queue_head_init(&nr->reseq_queue);
nr577net/netrom/af_netrom.cskb_queue_head_init(&nr->frag_queue);
nr579net/netrom/af_netrom.cnr->rtt      = osk->nr->rtt;
nr580net/netrom/af_netrom.cnr->t1       = osk->nr->t1;
nr581net/netrom/af_netrom.cnr->t2       = osk->nr->t2;
nr582net/netrom/af_netrom.cnr->n2       = osk->nr->n2;
nr584net/netrom/af_netrom.cnr->device   = osk->nr->device;
nr585net/netrom/af_netrom.cnr->bpqext   = osk->nr->bpqext;
nr586net/netrom/af_netrom.cnr->hdrincl  = osk->nr->hdrincl;
nr587net/netrom/af_netrom.cnr->fraglen  = 0;
nr589net/netrom/af_netrom.cnr->t1timer  = 0;
nr590net/netrom/af_netrom.cnr->t2timer  = 0;
nr591net/netrom/af_netrom.cnr->t4timer  = 0;
nr592net/netrom/af_netrom.cnr->n2count  = 0;
nr594net/netrom/af_netrom.cnr->va       = 0;
nr595net/netrom/af_netrom.cnr->vr       = 0;
nr596net/netrom/af_netrom.cnr->vs       = 0;
nr597net/netrom/af_netrom.cnr->vl       = 0;
nr599net/netrom/af_netrom.csk->nr = nr;
nr600net/netrom/af_netrom.cnr->sk = sk;
nr619net/netrom/af_netrom.cswitch (sk->nr->state) {
nr628net/netrom/af_netrom.csk->nr->state = NR_STATE_0;
nr637net/netrom/af_netrom.csk->nr->state = NR_STATE_0;
nr646net/netrom/af_netrom.csk->nr->n2count = 0;
nr648net/netrom/af_netrom.csk->nr->t1timer = sk->nr->t1 = nr_calculate_t1(sk);
nr649net/netrom/af_netrom.csk->nr->t2timer = 0;
nr650net/netrom/af_netrom.csk->nr->t4timer = 0;
nr651net/netrom/af_netrom.csk->nr->state   = NR_STATE_2;
nr709net/netrom/af_netrom.cmemcpy(&sk->nr->user_addr,   &addr->fsa_digipeater[0],   sizeof(ax25_address));
nr710net/netrom/af_netrom.cmemcpy(&sk->nr->source_addr, &addr->fsa_ax25.sax25_call, sizeof(ax25_address));
nr720net/netrom/af_netrom.cmemcpy(&sk->nr->user_addr,   user,   sizeof(ax25_address));
nr721net/netrom/af_netrom.cmemcpy(&sk->nr->source_addr, source, sizeof(ax25_address));
nr724net/netrom/af_netrom.csk->nr->device = dev;
nr776net/netrom/af_netrom.cmemcpy(&sk->nr->user_addr,   user,   sizeof(ax25_address));
nr777net/netrom/af_netrom.cmemcpy(&sk->nr->source_addr, source, sizeof(ax25_address));
nr779net/netrom/af_netrom.csk->nr->device = dev;
nr784net/netrom/af_netrom.cmemcpy(&sk->nr->dest_addr, &addr->sax25_call, sizeof(ax25_address));
nr789net/netrom/af_netrom.csk->nr->my_index = circuit / 256;
nr790net/netrom/af_netrom.csk->nr->my_id    = circuit % 256;
nr798net/netrom/af_netrom.csk->nr->state = NR_STATE_1;
nr898net/netrom/af_netrom.cmemcpy(&sax->fsa_ax25.sax25_call, &sk->nr->user_addr, sizeof(ax25_address));
nr899net/netrom/af_netrom.cmemcpy(&sax->fsa_digipeater[0],   &sk->nr->dest_addr, sizeof(ax25_address));
nr904net/netrom/af_netrom.cmemcpy(&sax->fsa_ax25.sax25_call, &sk->nr->source_addr, sizeof(ax25_address));
nr954net/netrom/af_netrom.csk->nr->bpqext = 1;
nr956net/netrom/af_netrom.csk->nr->bpqext = 0;
nr979net/netrom/af_netrom.cmemcpy(&make->nr->source_addr, dest, sizeof(ax25_address));
nr980net/netrom/af_netrom.cmemcpy(&make->nr->dest_addr,   src,  sizeof(ax25_address));
nr981net/netrom/af_netrom.cmemcpy(&make->nr->user_addr,   user, sizeof(ax25_address));
nr983net/netrom/af_netrom.cmake->nr->your_index = circuit_index;
nr984net/netrom/af_netrom.cmake->nr->your_id    = circuit_id;
nr986net/netrom/af_netrom.cmake->nr->my_index   = circuit / 256;
nr987net/netrom/af_netrom.cmake->nr->my_id      = circuit % 256;
nr998net/netrom/af_netrom.cif (timeout * PR_SLOWHZ < make->nr->rtt * 2)
nr999net/netrom/af_netrom.cmake->nr->rtt = (timeout * PR_SLOWHZ) / 2;
nr1000net/netrom/af_netrom.cmake->nr->bpqext = 1;
nr1002net/netrom/af_netrom.cmake->nr->bpqext = 0;
nr1007net/netrom/af_netrom.cmake->nr->condition = 0x00;
nr1008net/netrom/af_netrom.cmake->nr->vs        = 0;
nr1009net/netrom/af_netrom.cmake->nr->va        = 0;
nr1010net/netrom/af_netrom.cmake->nr->vr        = 0;
nr1011net/netrom/af_netrom.cmake->nr->vl        = 0;
nr1012net/netrom/af_netrom.cmake->nr->state     = NR_STATE_3;
nr1047net/netrom/af_netrom.cif (sk->nr->device == NULL)
nr1054net/netrom/af_netrom.cif (sk->type == SOCK_SEQPACKET && memcmp(&sk->nr->dest_addr, &sax.sax25_call, sizeof(ax25_address)) != 0)
nr1062net/netrom/af_netrom.cmemcpy(&sax.sax25_call, &sk->nr->dest_addr, sizeof(ax25_address));
nr1094net/netrom/af_netrom.c*asmptr++ = sk->nr->your_index;
nr1095net/netrom/af_netrom.c*asmptr++ = sk->nr->your_id;
nr1157net/netrom/af_netrom.cif (!sk->nr->hdrincl) {
nr1295net/netrom/af_netrom.cif ((dev = s->nr->device) == NULL)
nr1301net/netrom/af_netrom.cax2asc(&s->nr->user_addr));
nr1303net/netrom/af_netrom.cax2asc(&s->nr->dest_addr));
nr1305net/netrom/af_netrom.cax2asc(&s->nr->source_addr),
nr1306net/netrom/af_netrom.cdevname, s->nr->my_index, s->nr->my_id,
nr1307net/netrom/af_netrom.cs->nr->your_index, s->nr->your_id,
nr1308net/netrom/af_netrom.cs->nr->state,
nr1309net/netrom/af_netrom.cs->nr->vs, s->nr->vr, s->nr->va,
nr1310net/netrom/af_netrom.cs->nr->t1timer / PR_SLOWHZ,
nr1311net/netrom/af_netrom.cs->nr->t1      / PR_SLOWHZ,
nr1312net/netrom/af_netrom.cs->nr->t2timer / PR_SLOWHZ,
nr1313net/netrom/af_netrom.cs->nr->t2      / PR_SLOWHZ,
nr1314net/netrom/af_netrom.cs->nr->n2count, s->nr->n2,
nr1315net/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);