taglinefilesource code
nr20arch/alpha/boot/main.cextern unsigned long switch_to_osf_pal(unsigned long nr,
nr114arch/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))
nr119arch/alpha/mm/init.cunsigned long pfn, nr;
nr123arch/alpha/mm/init.cnr = cluster->numpages;
nr129arch/alpha/mm/init.cwhile (nr--)
nr150arch/i386/kernel/process.cvoid copy_thread(int nr, unsigned long clone_flags, unsigned long esp,
nr164arch/i386/kernel/process.cp->tss.tr = _TSS(nr);
nr173arch/i386/kernel/process.cp->tss.ldt = _LDT(nr);
nr179arch/i386/kernel/process.cset_tss_desc(gdt+(nr<<1)+FIRST_TSS_ENTRY,&(p->tss));
nr181arch/i386/kernel/process.cset_ldt_desc(gdt+(nr<<1)+FIRST_LDT_ENTRY,p->ldt, 512);
nr183arch/i386/kernel/process.cset_ldt_desc(gdt+(nr<<1)+FIRST_LDT_ENTRY,&default_ldt, 1);
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));
nr90arch/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))
nr88arch/sparc/kernel/process.cvoid copy_thread(int nr, unsigned long clone_flags, unsigned long sp,
nr17arch/sparc/kernel/signal.c#define _S(nr) (1<<((nr)-1))
nr116drivers/block/blk.hstatic void floppy_off(unsigned int nr);
nr1113drivers/block/cm206.cint probe_irq(int nr) {
nr1122drivers/block/cm206.cif (nr && irq!=nr && irq>0) return 0;  /* wrong interrupt happened */
nr826drivers/block/floppy.cstatic void motor_off_callback(unsigned long nr)
nr828drivers/block/floppy.cunsigned char mask = ~(0x10 << UNIT(nr));
nr830drivers/block/floppy.cset_dor( FDC(nr), mask, 0 );
nr433drivers/block/genhd.cint nr=0;
nr437drivers/block/genhd.cnr += p->nr_real;
nr448drivers/block/ll_rw_blk.cvoid ll_rw_block(int rw, int nr, struct buffer_head * bh[])
nr459drivers/block/ll_rw_blk.cif (--nr <= 0)
nr482drivers/block/ll_rw_blk.cfor (i = 0; i < nr; i++) {
nr501drivers/block/ll_rw_blk.cif (nr > 1)
nr503drivers/block/ll_rw_blk.cfor (i = 0; i < nr; i++) {
nr517drivers/block/ll_rw_blk.cfor (i = 0; i < nr; i++) {
nr1258drivers/char/console.cstatic void csi_at(int currcons, unsigned int nr)
nr1260drivers/char/console.cif (nr > video_num_columns)
nr1261drivers/char/console.cnr = video_num_columns;
nr1262drivers/char/console.celse if (!nr)
nr1263drivers/char/console.cnr = 1;
nr1264drivers/char/console.cwhile (nr--)
nr1268drivers/char/console.cstatic void csi_L(int currcons, unsigned int nr)
nr1270drivers/char/console.cif (nr > video_num_lines)
nr1271drivers/char/console.cnr = video_num_lines;
nr1272drivers/char/console.celse if (!nr)
nr1273drivers/char/console.cnr = 1;
nr1274drivers/char/console.cwhile (nr--)
nr1278drivers/char/console.cstatic void csi_P(int currcons, unsigned int nr)
nr1280drivers/char/console.cif (nr > video_num_columns)
nr1281drivers/char/console.cnr = video_num_columns;
nr1282drivers/char/console.celse if (!nr)
nr1283drivers/char/console.cnr = 1;
nr1284drivers/char/console.cwhile (nr--)
nr1288drivers/char/console.cstatic void csi_M(int currcons, unsigned int nr)
nr1290drivers/char/console.cif (nr > video_num_lines)
nr1291drivers/char/console.cnr = video_num_lines;
nr1292drivers/char/console.celse if (!nr)
nr1293drivers/char/console.cnr=1;
nr1294drivers/char/console.cwhile (nr--)
nr727drivers/char/n_tty.cunsigned int *nr)
nr732drivers/char/n_tty.cn = MIN(*nr, MIN(tty->read_cnt, N_TTY_BUF_SIZE - tty->read_tail));
nr739drivers/char/n_tty.c*nr -= n;
nr743drivers/char/n_tty.cunsigned char *buf, unsigned int nr)
nr844drivers/char/n_tty.cnr--;
nr865drivers/char/n_tty.cif (--nr)
nr874drivers/char/n_tty.cnr--;
nr880drivers/char/n_tty.ccopy_from_read_buf(tty, &b, &nr);
nr881drivers/char/n_tty.ccopy_from_read_buf(tty, &b, &nr);
nr892drivers/char/n_tty.cif (b - buf >= minimum || !nr)
nr905drivers/char/n_tty.cif (size && nr)
nr915drivers/char/n_tty.cconst unsigned char * buf, unsigned int nr)
nr941drivers/char/n_tty.cwhile (nr > 0) {
nr945drivers/char/n_tty.cb++; nr--;
nr950drivers/char/n_tty.cc = tty->driver.write(tty, 1, b, nr);
nr952drivers/char/n_tty.cnr -= c;
nr954drivers/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;
nr1241drivers/net/ppp.cppp_read(struct tty_struct *tty, struct file *file, unsigned char *buf, unsigned int nr)
nr1255drivers/net/ppp.cbuf, nr));
nr1271drivers/net/ppp.ci = verify_area (VERIFY_WRITE,buf,nr);
nr1284drivers/net/ppp.cif (len + 2 > nr) {
nr1288drivers/net/ppp.cnr, len+2));
nr1353drivers/net/ppp.cppp_write(struct tty_struct *tty, struct file *file, const unsigned char *buf, unsigned int nr)
nr1368drivers/net/ppp.cif (nr > ppp->mtu) {
nr1371drivers/net/ppp.cnr, ppp->mtu));
nr1372drivers/net/ppp.cnr = ppp->mtu;
nr1375drivers/net/ppp.ci = verify_area (VERIFY_READ,buf,nr);
nr1380drivers/net/ppp.cppp_print_buffer ("write frame", buf, nr, USER_DS);
nr1412drivers/net/ppp.ci = nr;
nr1434drivers/net/ppp.creturn((int)nr);
nr110drivers/scsi/in2000.c#define port_read(port,buf,nr) \
nr111drivers/scsi/in2000.c__asm__("cld;rep;insw": :"d" (port),"D" (buf),"c" (nr):"cx","di")
nr113drivers/scsi/in2000.c#define port_write(port,buf,nr) \
nr114drivers/scsi/in2000.c__asm__("cld;rep;outsw": :"d" (port),"S" (buf),"c" (nr):"cx","si")
nr173drivers/sound/configure.ccan_select_option (int nr)
nr176drivers/sound/configure.cswitch (nr)
nr203drivers/sound/configure.cif (hw_table[nr].conditions)
nr204drivers/sound/configure.cif (!(hw_table[nr].conditions & selected_options))
nr207drivers/sound/configure.cif (hw_table[nr].exclusive_options)
nr208drivers/sound/configure.cif (hw_table[nr].exclusive_options & selected_options)
nr211drivers/sound/configure.cif (DISABLED_OPTIONS & B (nr))
nr811fs/binfmt_elf.cstatic int dump_write(struct file *file, const void *addr, int nr)
nr813fs/binfmt_elf.creturn file->f_op->write(file->f_inode, file, addr, nr) == nr;
nr886fs/binfmt_elf.c#define DUMP_WRITE(addr, nr)  \
nr887fs/binfmt_elf.cdo { if (!dump_write(file, (addr), (nr))) return 0; } while(0)
nr911fs/binfmt_elf.c#define DUMP_WRITE(addr, nr)  \
nr912fs/binfmt_elf.cif (!dump_write(&file, (addr), (nr))) \
nr147fs/exec.c#define DUMP_WRITE(addr,nr) \
nr148fs/exec.cwhile (file.f_op->write(inode,&file,(char *)(addr),(nr)) != (nr)) goto close_coredump
nr177fs/ext/inode.c#define inode_bmap(inode,nr) ((inode)->u.ext_i.i_data[(nr)])
nr179fs/ext/inode.cstatic int block_bmap(struct buffer_head * bh, int nr)
nr185fs/ext/inode.ctmp = ((unsigned long *) bh->b_data)[nr];
nr234fs/ext/inode.cstatic struct buffer_head * inode_getblk(struct inode * inode, int nr, int create)
nr240fs/ext/inode.cp = inode->u.ext_i.i_data + nr;
nr268fs/ext/inode.cstruct buffer_head * bh, int nr, int create)
nr284fs/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) {
nr242fs/minix/inode.c#define inode_bmap(inode,nr) ((inode)->u.minix_i.i_data[(nr)])
nr244fs/minix/inode.cstatic int block_bmap(struct buffer_head * bh, int nr)
nr250fs/minix/inode.ctmp = ((unsigned short *) bh->b_data)[nr];
nr286fs/minix/inode.cstatic struct buffer_head * inode_getblk(struct inode * inode, int nr, int create)
nr292fs/minix/inode.cp = inode->u.minix_i.i_data + nr;
nr320fs/minix/inode.cstruct buffer_head * bh, int nr, int create)
nr336fs/minix/inode.cp = nr + (unsigned short *) bh->b_data;
nr24fs/msdos/fat.cint fat_access(struct super_block *sb,int nr,int new_value)
nr30fs/msdos/fat.cif ((unsigned) (nr-2) >= MSDOS_SB(sb)->clusters) return 0;
nr31fs/msdos/fat.cif (MSDOS_SB(sb)->fat_bits == 16) first = last = nr*2;
nr33fs/msdos/fat.cfirst = nr*3/2;
nr61fs/msdos/fat.cif (nr & 1) next = ((*p_first >> 4) | (*p_last << 4)) & 0xfff;
nr70fs/msdos/fat.cif (nr & 1) {
nr226fs/msdos/fat.cint nr,count;
nr228fs/msdos/fat.cif (!(nr = MSDOS_I(inode)->i_start)) return 0;
nr229fs/msdos/fat.cif (!cluster) return nr;
nr231fs/msdos/fat.cfor (cache_lookup(inode,cluster,&count,&nr); count < cluster;
nr233fs/msdos/fat.cif ((nr = fat_access(inode->i_sb,nr,-1)) == -1) return 0;
nr234fs/msdos/fat.cif (!nr) return 0;
nr236fs/msdos/fat.ccache_add(inode,cluster,nr);
nr237fs/msdos/fat.creturn nr;
nr264fs/msdos/fat.cint nr,last;
nr266fs/msdos/fat.cif (!(nr = MSDOS_I(inode)->i_start)) return 0;
nr269fs/msdos/fat.clast = nr;
nr270fs/msdos/fat.cif ((nr = fat_access(inode->i_sb,nr,-1)) == -1) return 0;
nr271fs/msdos/fat.cif (!nr) {
nr284fs/msdos/fat.cwhile (nr != -1) {
nr285fs/msdos/fat.cif (!(nr = fat_access(inode->i_sb,nr,0))) {
nr312fs/msdos/inode.cint free,nr;
nr320fs/msdos/inode.cfor (nr = 2; nr < MSDOS_SB(sb)->clusters+2; nr++)
nr321fs/msdos/inode.cif (!fat_access(sb,nr,-1)) free++;
nr358fs/msdos/inode.cint nr;
nr404fs/msdos/inode.cif ((nr = CF_LE_W(raw_entry->start)) != 0)
nr405fs/msdos/inode.cwhile (nr != -1) {
nr408fs/msdos/inode.cif (!(nr = fat_access(inode->i_sb,nr,-1))) {
nr121fs/msdos/misc.cint count,nr,limit,last,current,sector,last_sector,file_cluster;
nr129fs/msdos/misc.cnr = limit; /* to keep GCC happy */
nr131fs/msdos/misc.cnr = ((count+MSDOS_SB(inode->i_sb)->prev_free) % limit)+2;
nr132fs/msdos/misc.cif (fat_access(inode->i_sb,nr,-1) == 0) break;
nr136fs/msdos/misc.cprintk("free cluster: %d\n",nr);
nr145fs/msdos/misc.cfat_access(inode->i_sb,nr,MSDOS_SB(inode->i_sb)->fat_bits == 12 ?
nr151fs/msdos/misc.cprintk("set to %x\n",fat_access(inode->i_sb,nr,-1));
nr182fs/msdos/misc.cif (last) fat_access(inode->i_sb,last,nr);
nr184fs/msdos/misc.cMSDOS_I(inode)->i_start = nr;
nr190fs/msdos/misc.csector = MSDOS_SB(inode->i_sb)->data_start+(nr-2)*cluster_size;
nr209fs/msdos/misc.ccache_add(inode,file_cluster,nr);
nr481fs/msdos/misc.cint error,current,prev,nr;
nr491fs/msdos/misc.cif (!current) nr = MSDOS_ROOT_INO;
nr498fs/msdos/misc.cif ((error = raw_scan(dir->i_sb,prev,NULL,&current,&nr,NULL,
nr505fs/msdos/misc.creturn nr;
nr40fs/nfs/sock.c#define _S(nr) (1<<((nr)-1))
nr114fs/nfs/sock.cwait_table.nr = 0;
nr158fs/nfs/sock.celse if (wait_table.nr)
nr475fs/proc/root.cunsigned int nr,pid;
nr478fs/proc/root.cnr = filp->f_pos;
nr479fs/proc/root.cif (nr < FIRST_PROCESS_ENTRY) {
nr483fs/proc/root.cfilp->f_pos = nr = FIRST_PROCESS_ENTRY;
nr486fs/proc/root.cfor (nr -= FIRST_PROCESS_ENTRY; nr < NR_TASKS; nr++, filp->f_pos++) {
nr487fs/proc/root.cstruct task_struct * p = task[nr];
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))
nr31fs/smbfs/sock.c#define _S(nr) (1<<((nr)-1))
nr557fs/sysv/inode.cstatic inline int inode_bmap(struct super_block * sb, struct inode * inode, int nr)
nr559fs/sysv/inode.cint tmp = inode->u.sysv_i.i_data[nr];
nr565fs/sysv/inode.cstatic int block_bmap(struct super_block * sb, struct buffer_head * bh, int nr, int convert)
nr571fs/sysv/inode.ctmp = ((sysv_zone_t *) bh->b_data) [nr];
nr640fs/sysv/inode.cstatic struct buffer_head * inode_getblk(struct inode * inode, int nr, int create)
nr648fs/sysv/inode.cp = inode->u.sysv_i.i_data + nr;
nr676fs/sysv/inode.cstruct buffer_head * bh, int nr, int create)
nr694fs/sysv/inode.cp = nr + (sysv_zone_t *) bh->b_data;
nr189fs/xiafs/inode.cstatic int zone_bmap(struct buffer_head * bh, int nr)
nr195fs/xiafs/inode.ctmp = ((u_long *) bh->b_data)[nr];
nr280fs/xiafs/inode.cint nr, int create, u_long prev_addr)
nr296fs/xiafs/inode.clp = nr + (u_long *) bh->b_data;
nr16include/asm-alpha/bitops.hextern __inline__ unsigned long set_bit(unsigned long nr, void * addr)
nr31include/asm-alpha/bitops.h"=m" (((int *) addr)[nr >> 5]),
nr33include/asm-alpha/bitops.h:"r" (1UL << (nr & 31)),
nr34include/asm-alpha/bitops.h"m" (((int *) addr)[nr >> 5]));
nr38include/asm-alpha/bitops.hextern __inline__ unsigned long clear_bit(unsigned long nr, void * addr)
nr53include/asm-alpha/bitops.h"=m" (((int *) addr)[nr >> 5]),
nr55include/asm-alpha/bitops.h:"r" (1UL << (nr & 31)),
nr56include/asm-alpha/bitops.h"m" (((int *) addr)[nr >> 5]));
nr60include/asm-alpha/bitops.hextern __inline__ unsigned long change_bit(unsigned long nr, void * addr)
nr73include/asm-alpha/bitops.h"=m" (((int *) addr)[nr >> 5]),
nr75include/asm-alpha/bitops.h:"r" (1UL << (nr & 31)),
nr76include/asm-alpha/bitops.h"m" (((int *) addr)[nr >> 5]));
nr80include/asm-alpha/bitops.hextern __inline__ unsigned long test_bit(int nr, void * addr)
nr82include/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)
nr43include/asm-alpha/irq.h#define IRQ_NAME2(nr) nr##_interrupt(void)
nr44include/asm-alpha/irq.h#define IRQ_NAME(nr) IRQ_NAME2(IRQ##nr)
nr45include/asm-alpha/irq.h#define FAST_IRQ_NAME(nr) IRQ_NAME2(fast_IRQ##nr)
nr46include/asm-alpha/irq.h#define BAD_IRQ_NAME(nr) IRQ_NAME2(bad_IRQ##nr)
nr48include/asm-alpha/irq.h#define BUILD_IRQ(chip,nr,mask) \
nr49include/asm-alpha/irq.hasmlinkage void IRQ_NAME(nr); \
nr50include/asm-alpha/irq.hasmlinkage void FAST_IRQ_NAME(nr); \
nr51include/asm-alpha/irq.hasmlinkage void BAD_IRQ_NAME(nr); \
nr228include/asm-alpha/unistd.hstatic inline int write(int fd, const char * buf, int nr)
nr230include/asm-alpha/unistd.hreturn sys_write(fd, buf, nr);
nr234include/asm-alpha/unistd.hstatic inline int read(int fd, char * buf, int nr)
nr236include/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);
nr22include/asm-i386/bitops.hextern __inline__ int set_bit(int nr, void * addr)
nr28include/asm-i386/bitops.h:"ir" (nr));
nr32include/asm-i386/bitops.hextern __inline__ int clear_bit(int nr, void * addr)
nr38include/asm-i386/bitops.h:"ir" (nr));
nr42include/asm-i386/bitops.hextern __inline__ int change_bit(int nr, void * addr)
nr48include/asm-i386/bitops.h:"ir" (nr));
nr56include/asm-i386/bitops.hextern __inline__ int test_bit(int nr, void * addr)
nr62include/asm-i386/bitops.h:"m" (ADDR),"ir" (nr));
nr84include/asm-i386/ioctl.h#define _IOC_DIR(nr)    (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK)
nr85include/asm-i386/ioctl.h#define _IOC_NR(nr)    (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
nr86include/asm-i386/ioctl.h#define _IOC_SIZE(nr)    (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK)
nr121include/asm-i386/irq.h#define IRQ_NAME2(nr) nr##_interrupt(void)
nr122include/asm-i386/irq.h#define IRQ_NAME(nr) IRQ_NAME2(IRQ##nr)
nr123include/asm-i386/irq.h#define FAST_IRQ_NAME(nr) IRQ_NAME2(fast_IRQ##nr)
nr124include/asm-i386/irq.h#define BAD_IRQ_NAME(nr) IRQ_NAME2(bad_IRQ##nr)
nr126include/asm-i386/irq.h#define BUILD_IRQ(chip,nr,mask) \
nr127include/asm-i386/irq.hasmlinkage void IRQ_NAME(nr); \
nr128include/asm-i386/irq.hasmlinkage void FAST_IRQ_NAME(nr); \
nr129include/asm-i386/irq.hasmlinkage void BAD_IRQ_NAME(nr); \
nr132include/asm-i386/irq.hSYMBOL_NAME_STR(IRQ) #nr "_interrupt:\n\t" \
nr133include/asm-i386/irq.h"pushl $-"#nr"-2\n\t" \
nr140include/asm-i386/irq.h"pushl $" #nr "\n\t" \
nr148include/asm-i386/irq.hSYMBOL_NAME_STR(fast_IRQ) #nr "_interrupt:\n\t" \
nr152include/asm-i386/irq.h"pushl $" #nr "\n\t" \
nr160include/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, void *addr)
nr144include/asm-mips/bitops.haddr += nr >> 5;
nr145include/asm-mips/bitops.hmask = 1 << (nr & 0x1f);
nr40include/asm-sparc/bitops.hextern __inline__ unsigned int set_bit(unsigned int nr, void *vaddr)
nr54include/asm-sparc/bitops.haddr += nr >> 3;
nr55include/asm-sparc/bitops.hmask = 1 << (nr & 0x7);
nr81include/asm-sparc/bitops.haddr += nr>>5;
nr82include/asm-sparc/bitops.hmask = 1 << (nr&31);
nr102include/asm-sparc/bitops.hextern __inline__ unsigned int clear_bit(unsigned int nr, void *vaddr)
nr114include/asm-sparc/bitops.haddr += nr >> 3;
nr115include/asm-sparc/bitops.hmask = 1 << (nr & 7);
nr142include/asm-sparc/bitops.haddr += nr>>5;
nr143include/asm-sparc/bitops.hmask = 1 << (nr&31);
nr163include/asm-sparc/bitops.hextern __inline__ unsigned int change_bit(unsigned int nr, void *vaddr)
nr175include/asm-sparc/bitops.haddr += nr >> 3;
nr176include/asm-sparc/bitops.hmask = 1 << (nr & 7);
nr203include/asm-sparc/bitops.haddr += nr>>5;
nr204include/asm-sparc/bitops.hmask = 1 << (nr&31);
nr226include/asm-sparc/bitops.hextern __inline__ unsigned int test_bit(int nr, void *vaddr)
nr233include/asm-sparc/bitops.haddr += nr >> 3;
nr234include/asm-sparc/bitops.hmask = 1 << (nr & 7);
nr242include/asm-sparc/bitops.haddr += (nr>>5);
nr243include/asm-sparc/bitops.hmask = 1 << (nr&31);
nr88include/asm-sparc/irq.h#define IRQ_NAME2(nr) nr##_interrupt(void)
nr89include/asm-sparc/irq.h#define IRQ_NAME(nr) IRQ_NAME2(IRQ##nr)
nr90include/asm-sparc/irq.h#define FAST_IRQ_NAME(nr) IRQ_NAME2(fast_IRQ##nr)
nr91include/asm-sparc/irq.h#define BAD_IRQ_NAME(nr) IRQ_NAME2(bad_IRQ##nr)
nr93include/asm-sparc/irq.h#define BUILD_IRQ(chip,nr,mask) \
nr94include/asm-sparc/irq.hasmlinkage void IRQ_NAME(nr); \
nr95include/asm-sparc/irq.hasmlinkage void FAST_IRQ_NAME(nr); \
nr96include/asm-sparc/irq.hasmlinkage void BAD_IRQ_NAME(nr); \
nr479include/linux/fs.hextern struct inode * __iget(struct super_block * sb,int nr,int crsmnt);
nr488include/linux/fs.hextern void ll_rw_block(int rw, int nr, struct buffer_head * bh[]);
nr489include/linux/fs.hextern void ll_rw_page(int rw, int dev, unsigned long nr, char * buffer);
nr524include/linux/fs.hextern inline struct inode * iget(struct super_block * sb,int nr)
nr526include/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)
nr210include/linux/mm.hextern void rw_swap_page(int rw, unsigned long nr, char * buf);
nr225include/linux/mm.h#define read_swap_page(nr,buf) \
nr226include/linux/mm.hrw_swap_page(READ,(nr),(buf))
nr227include/linux/mm.h#define write_swap_page(nr,buf) \
nr228include/linux/mm.hrw_swap_page(WRITE,(nr),(buf))
nr133include/linux/msdos_fs.hextern int fat_access(struct super_block *sb,int nr,int new_value);
nr393include/linux/sched.hif (p->nr >= __MAX_SELECT_TABLE_ENTRIES)
nr395include/linux/sched.hentry = p->entry + p->nr;
nr400include/linux/sched.hp->nr++;
nr79include/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;
nr174include/net/sock.hnr_cb        *nr;
nr184kernel/fork.cint nr;
nr196kernel/fork.cnr = find_empty_process();
nr197kernel/fork.cif (nr < 0)
nr228kernel/fork.ctask[nr] = p;
nr242kernel/fork.ccopy_thread(nr, clone_flags, usp, p, regs);
nr263kernel/fork.ctask[nr] = NULL;
nr76kernel/sched.c#define _S(nr) (1<<((nr)-1))
nr129kernel/sched.cstatic int nr = 0;
nr130kernel/sched.cif (nr < 5) {
nr131kernel/sched.cnr++;
nr445kernel/sched.cunsigned long nr = 0;
nr451kernel/sched.cnr += FIXED_1;
nr452kernel/sched.creturn nr;
nr783kernel/sched.cstatic void show_task(int nr,struct task_struct * p)
nr788kernel/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++;
nr55mm/filemap.cint nr[PAGE_SIZE/512];
nr57mm/filemap.cmulti_bmap(inode, (address & PAGE_MASK) - area->vm_start + area->vm_offset, nr,
nr59mm/filemap.creturn bread_page(page, inode->i_dev, nr, inode->i_sb->s_blocksize, no_share);
nr825mm/swap.cunsigned long nr = 0;
nr827mm/swap.cnr ++;
nr829mm/swap.ctotal += nr * ((PAGE_SIZE>>10) << order);
nr830mm/swap.cprintk("%lu*%lukB ", nr, (PAGE_SIZE>>10) << order);
nr975mm/swap.cint nr;
nr980mm/swap.cnr = 0;
nr981mm/swap.cwhile (nr < NR_TASKS) {
nr982mm/swap.cif (task[nr]) {
nr983mm/swap.cif (unuse_process(task[nr], type, page)) {
nr990mm/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);
nr672net/appletalk/ddp.cstruct netrange *nr;
nr702net/appletalk/ddp.cnr=(struct netrange *)&sa->sat_zero[0];
nr703net/appletalk/ddp.cif(nr->nr_phase!=2)
nr723net/appletalk/ddp.catif->nets= *nr;
nr754net/appletalk/ddp.cif(nr->nr_firstnet==htons(0) && nr->nr_lastnet==htons(0xFFFE)) {
nr759net/appletalk/ddp.climit=ntohs(nr->nr_lastnet);
nr760net/appletalk/ddp.cif(limit-ntohs(nr->nr_firstnet) > 256)
nr765net/appletalk/ddp.cfor(ct=ntohs(nr->nr_firstnet);ct<=limit;ct++)
nr306net/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)
nr370net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr371net/ax25/ax25_in.cax25_check_iframes_acked(ax25, nr);
nr381net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr382net/ax25/ax25_in.cax25_check_iframes_acked(ax25, nr);
nr392net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr393net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr406net/ax25/ax25_in.cif (!ax25_validate_nr(ax25, nr)) {
nr412net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr414net/ax25/ax25_in.cax25_check_iframes_acked(ax25, nr);
nr465net/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)
nr534net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr535net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr549net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr550net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr561net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr562net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr576net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr577net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr588net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr589net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr603net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr604net/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;
nr679net/ax25/ax25_in.cframetype = ax25_decode(ax25, skb, &ns, &nr, &pf);
nr689net/ax25/ax25_in.cqueued = ax25_state3_machine(ax25, skb, frametype, ns, nr, pf, type);
nr692net/ax25/ax25_in.cqueued = ax25_state4_machine(ax25, skb, frametype, ns, nr, pf, type);
nr299net/ax25/ax25_out.cvoid ax25_check_iframes_acked(ax25_cb *ax25, unsigned short nr)
nr301net/ax25/ax25_out.cif (ax25->vs == nr) {
nr302net/ax25/ax25_out.cax25_frames_acked(ax25, nr);
nr307net/ax25/ax25_out.cif (ax25->va != nr) {
nr308net/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) {
nr118net/ax25/ax25_subr.cint ax25_validate_nr(ax25_cb *ax25, unsigned short nr)
nr123net/ax25/ax25_subr.cif (nr == vc) return 1;
nr127net/ax25/ax25_subr.cif (nr == ax25->vs) return 1;
nr136net/ax25/ax25_subr.cint ax25_decode(ax25_cb *ax25, struct sk_buff *skb, int *ns, int *nr, int *pf)
nr142net/ax25/ax25_subr.c*ns = *nr = *pf = 0;
nr148net/ax25/ax25_subr.c*nr = (frame[0] >> 5) & 0x07;
nr152net/ax25/ax25_subr.c*nr = (frame[0] >> 5) & 0x07;
nr163net/ax25/ax25_subr.c*nr = (frame[1] >> 1) & 0x7F;
nr168net/ax25/ax25_subr.c*nr = (frame[1] >> 1) & 0x7F;
nr110net/netrom/af_netrom.cif (s->nr->device == dev) {
nr111net/netrom/af_netrom.cs->nr->state  = NR_STATE_0;
nr112net/netrom/af_netrom.cs->nr->device = NULL;
nr166net/netrom/af_netrom.cif (ax25cmp(&s->nr->source_addr, addr) == 0 && s->type == type && s->state == TCP_LISTEN) {
nr188net/netrom/af_netrom.cif (s->nr->my_index == index && s->nr->my_id == id && s->type == type) {
nr211net/netrom/af_netrom.cif (s->nr->your_index == index && s->nr->your_id == id && s->type == type) {
nr258net/netrom/af_netrom.cskb->sk->nr->state = NR_STATE_0;
nr271net/netrom/af_netrom.ckfree_s(sk->nr, sizeof(*sk->nr));
nr319net/netrom/af_netrom.csk->nr->rtt = (opt * PR_SLOWHZ) / 2;
nr325net/netrom/af_netrom.csk->nr->t2 = opt * PR_SLOWHZ;
nr331net/netrom/af_netrom.csk->nr->n2 = opt;
nr335net/netrom/af_netrom.csk->nr->hdrincl = opt ? 1 : 0;
nr360net/netrom/af_netrom.cval = (sk->nr->t1 * 2) / PR_SLOWHZ;
nr364net/netrom/af_netrom.cval = sk->nr->t2 / PR_SLOWHZ;
nr368net/netrom/af_netrom.cval = sk->nr->n2;
nr372net/netrom/af_netrom.cval = sk->nr->hdrincl;
nr397net/netrom/af_netrom.cmemset(&sk->nr->user_addr, '\0', sizeof(ax25_address));
nr421net/netrom/af_netrom.cnr_cb *nr;
nr426net/netrom/af_netrom.cif ((nr = (nr_cb *)kmalloc(sizeof(*nr), GFP_ATOMIC)) == NULL) {
nr438net/netrom/af_netrom.ckfree_s((void *)nr, sizeof(*nr));
nr482net/netrom/af_netrom.cskb_queue_head_init(&nr->ack_queue);
nr483net/netrom/af_netrom.cskb_queue_head_init(&nr->reseq_queue);
nr484net/netrom/af_netrom.cskb_queue_head_init(&nr->frag_queue);
nr486net/netrom/af_netrom.cnr->my_index = 0;
nr487net/netrom/af_netrom.cnr->my_id    = 0;
nr488net/netrom/af_netrom.cnr->rtt      = nr_default.timeout;
nr489net/netrom/af_netrom.cnr->t1       = nr_default.timeout;
nr490net/netrom/af_netrom.cnr->t2       = nr_default.ack_delay;
nr491net/netrom/af_netrom.cnr->n2       = nr_default.tries;
nr493net/netrom/af_netrom.cnr->t1timer  = 0;
nr494net/netrom/af_netrom.cnr->t2timer  = 0;
nr495net/netrom/af_netrom.cnr->t4timer  = 0;
nr496net/netrom/af_netrom.cnr->n2count  = 0;
nr498net/netrom/af_netrom.cnr->va       = 0;
nr499net/netrom/af_netrom.cnr->vr       = 0;
nr500net/netrom/af_netrom.cnr->vs       = 0;
nr501net/netrom/af_netrom.cnr->vl       = 0;
nr503net/netrom/af_netrom.cnr->your_index = 0;
nr504net/netrom/af_netrom.cnr->your_id    = 0;
nr506net/netrom/af_netrom.cnr->my_index   = 0;
nr507net/netrom/af_netrom.cnr->my_id      = 0;
nr509net/netrom/af_netrom.cnr->bpqext     = 1;
nr510net/netrom/af_netrom.cnr->fraglen    = 0;
nr511net/netrom/af_netrom.cnr->hdrincl    = 0;
nr512net/netrom/af_netrom.cnr->state      = NR_STATE_0;
nr513net/netrom/af_netrom.cnr->device     = NULL;
nr515net/netrom/af_netrom.cmemset(&nr->source_addr, '\0', sizeof(ax25_address));
nr516net/netrom/af_netrom.cmemset(&nr->user_addr,   '\0', sizeof(ax25_address));
nr517net/netrom/af_netrom.cmemset(&nr->dest_addr,   '\0', sizeof(ax25_address));
nr519net/netrom/af_netrom.cnr->sk = sk;
nr520net/netrom/af_netrom.csk->nr = nr;
nr528net/netrom/af_netrom.cnr_cb *nr;
nr533net/netrom/af_netrom.cif ((nr = (nr_cb *)kmalloc(sizeof(*nr), GFP_ATOMIC)) == NULL) {
nr546net/netrom/af_netrom.ckfree_s((void *)nr, sizeof(*nr));
nr584net/netrom/af_netrom.cskb_queue_head_init(&nr->ack_queue);
nr585net/netrom/af_netrom.cskb_queue_head_init(&nr->reseq_queue);
nr586net/netrom/af_netrom.cskb_queue_head_init(&nr->frag_queue);
nr588net/netrom/af_netrom.cnr->rtt      = osk->nr->rtt;
nr589net/netrom/af_netrom.cnr->t1       = osk->nr->t1;
nr590net/netrom/af_netrom.cnr->t2       = osk->nr->t2;
nr591net/netrom/af_netrom.cnr->n2       = osk->nr->n2;
nr593net/netrom/af_netrom.cnr->device   = osk->nr->device;
nr594net/netrom/af_netrom.cnr->bpqext   = osk->nr->bpqext;
nr595net/netrom/af_netrom.cnr->hdrincl  = osk->nr->hdrincl;
nr596net/netrom/af_netrom.cnr->fraglen  = 0;
nr598net/netrom/af_netrom.cnr->t1timer  = 0;
nr599net/netrom/af_netrom.cnr->t2timer  = 0;
nr600net/netrom/af_netrom.cnr->t4timer  = 0;
nr601net/netrom/af_netrom.cnr->n2count  = 0;
nr603net/netrom/af_netrom.cnr->va       = 0;
nr604net/netrom/af_netrom.cnr->vr       = 0;
nr605net/netrom/af_netrom.cnr->vs       = 0;
nr606net/netrom/af_netrom.cnr->vl       = 0;
nr608net/netrom/af_netrom.csk->nr = nr;
nr609net/netrom/af_netrom.cnr->sk = sk;
nr628net/netrom/af_netrom.cswitch (sk->nr->state) {
nr636net/netrom/af_netrom.csk->nr->state = NR_STATE_0;
nr644net/netrom/af_netrom.csk->nr->state = NR_STATE_0;
nr652net/netrom/af_netrom.csk->nr->n2count = 0;
nr654net/netrom/af_netrom.csk->nr->t1timer = sk->nr->t1 = nr_calculate_t1(sk);
nr655net/netrom/af_netrom.csk->nr->t2timer = 0;
nr656net/netrom/af_netrom.csk->nr->t4timer = 0;
nr657net/netrom/af_netrom.csk->nr->state   = NR_STATE_2;
nr711net/netrom/af_netrom.cmemcpy(&sk->nr->user_addr,   &addr->fsa_digipeater[0],   sizeof(ax25_address));
nr712net/netrom/af_netrom.cmemcpy(&sk->nr->source_addr, &addr->fsa_ax25.sax25_call, sizeof(ax25_address));
nr722net/netrom/af_netrom.cmemcpy(&sk->nr->user_addr,   user,   sizeof(ax25_address));
nr723net/netrom/af_netrom.cmemcpy(&sk->nr->source_addr, source, sizeof(ax25_address));
nr726net/netrom/af_netrom.csk->nr->device = dev;
nr778net/netrom/af_netrom.cmemcpy(&sk->nr->user_addr,   user,   sizeof(ax25_address));
nr779net/netrom/af_netrom.cmemcpy(&sk->nr->source_addr, source, sizeof(ax25_address));
nr784net/netrom/af_netrom.cmemcpy(&sk->nr->dest_addr, &addr->sax25_call, sizeof(ax25_address));
nr786net/netrom/af_netrom.csk->nr->my_index = circuit / 256;
nr787net/netrom/af_netrom.csk->nr->my_id    = circuit % 256;
nr795net/netrom/af_netrom.csk->nr->state = NR_STATE_1;
nr895net/netrom/af_netrom.cmemcpy(&sax->fsa_ax25.sax25_call, &sk->nr->user_addr, sizeof(ax25_address));
nr896net/netrom/af_netrom.cmemcpy(&sax->fsa_digipeater[0],   &sk->nr->dest_addr, sizeof(ax25_address));
nr901net/netrom/af_netrom.cmemcpy(&sax->fsa_ax25.sax25_call, &sk->nr->source_addr, sizeof(ax25_address));
nr950net/netrom/af_netrom.csk->nr->bpqext = 1;
nr952net/netrom/af_netrom.csk->nr->bpqext = 0;
nr974net/netrom/af_netrom.cmemcpy(&make->nr->source_addr, dest, sizeof(ax25_address));
nr975net/netrom/af_netrom.cmemcpy(&make->nr->dest_addr,   src,  sizeof(ax25_address));
nr976net/netrom/af_netrom.cmemcpy(&make->nr->user_addr,   user, sizeof(ax25_address));
nr978net/netrom/af_netrom.cmake->nr->your_index = circuit_index;
nr979net/netrom/af_netrom.cmake->nr->your_id    = circuit_id;
nr981net/netrom/af_netrom.cmake->nr->my_index   = circuit / 256;
nr982net/netrom/af_netrom.cmake->nr->my_id      = circuit % 256;
nr993net/netrom/af_netrom.cif (timeout * PR_SLOWHZ < make->nr->rtt * 2)
nr994net/netrom/af_netrom.cmake->nr->rtt = (timeout * PR_SLOWHZ) / 2;
nr995net/netrom/af_netrom.cmake->nr->bpqext = 1;
nr997net/netrom/af_netrom.cmake->nr->bpqext = 0;
nr1002net/netrom/af_netrom.cmake->nr->condition = 0x00;
nr1003net/netrom/af_netrom.cmake->nr->vs        = 0;
nr1004net/netrom/af_netrom.cmake->nr->va        = 0;
nr1005net/netrom/af_netrom.cmake->nr->vr        = 0;
nr1006net/netrom/af_netrom.cmake->nr->vl        = 0;
nr1007net/netrom/af_netrom.cmake->nr->state     = NR_STATE_3;
nr1045net/netrom/af_netrom.cif (sk->nr->device == NULL)
nr1052net/netrom/af_netrom.cif (sk->type == SOCK_SEQPACKET && memcmp(&sk->nr->dest_addr, &sax.sax25_call, sizeof(ax25_address)) != 0)
nr1060net/netrom/af_netrom.cmemcpy(&sax.sax25_call, &sk->nr->dest_addr, sizeof(ax25_address));
nr1092net/netrom/af_netrom.c*asmptr++ = sk->nr->your_index;
nr1093net/netrom/af_netrom.c*asmptr++ = sk->nr->your_id;
nr1184net/netrom/af_netrom.cif (!sk->nr->hdrincl) {
nr1356net/netrom/af_netrom.cif ((dev = s->nr->device) == NULL)
nr1362net/netrom/af_netrom.cax2asc(&s->nr->user_addr));
nr1364net/netrom/af_netrom.cax2asc(&s->nr->dest_addr));
nr1366net/netrom/af_netrom.cax2asc(&s->nr->source_addr),
nr1367net/netrom/af_netrom.cdevname, s->nr->my_index, s->nr->my_id,
nr1368net/netrom/af_netrom.cs->nr->your_index, s->nr->your_id,
nr1369net/netrom/af_netrom.cs->nr->state,
nr1370net/netrom/af_netrom.cs->nr->vs, s->nr->vr, s->nr->va,
nr1371net/netrom/af_netrom.cs->nr->t1timer / PR_SLOWHZ,
nr1372net/netrom/af_netrom.cs->nr->t1      / PR_SLOWHZ,
nr1373net/netrom/af_netrom.cs->nr->t2timer / PR_SLOWHZ,
nr1374net/netrom/af_netrom.cs->nr->t2      / PR_SLOWHZ,
nr1375net/netrom/af_netrom.cs->nr->n2count, s->nr->n2,
nr1376net/netrom/af_netrom.cs->nr->rtt     / PR_SLOWHZ,
nr56net/netrom/nr_in.csk->nr->fraglen += skb->len;
nr57net/netrom/nr_in.cskb_queue_tail(&sk->nr->frag_queue, skb);
nr61net/netrom/nr_in.cif (!more && sk->nr->fraglen > 0) {  /* End of fragment */
nr62net/netrom/nr_in.csk->nr->fraglen += skb->len;
nr63net/netrom/nr_in.cskb_queue_tail(&sk->nr->frag_queue, skb);
nr65net/netrom/nr_in.cif ((skbn = alloc_skb(sk->nr->fraglen, GFP_ATOMIC)) == NULL)
nr74net/netrom/nr_in.cskbo = skb_dequeue(&sk->nr->frag_queue);
nr78net/netrom/nr_in.cwhile ((skbo = skb_dequeue(&sk->nr->frag_queue)) != NULL) {
nr84net/netrom/nr_in.csk->nr->fraglen = 0;    
nr102net/netrom/nr_in.csk->nr->your_index = skb->data[17];
nr103net/netrom/nr_in.csk->nr->your_id    = skb->data[18];
nr104net/netrom/nr_in.csk->nr->t1timer    = 0;
nr105net/netrom/nr_in.csk->nr->t2timer    = 0;
nr106net/netrom/nr_in.csk->nr->t4timer    = 0;
nr107net/netrom/nr_in.csk->nr->vs         = 0;
nr108net/netrom/nr_in.csk->nr->va         = 0;
nr109net/netrom/nr_in.csk->nr->vr         = 0;
nr110net/netrom/nr_in.csk->nr->vl     = 0;
nr111net/netrom/nr_in.csk->nr->state      = NR_STATE_3;
nr113net/netrom/nr_in.csk->nr->n2count    = 0;
nr121net/netrom/nr_in.csk->nr->state = NR_STATE_0;
nr150net/netrom/nr_in.csk->nr->state = NR_STATE_0;
nr175net/netrom/nr_in.cunsigned short nr, ns;
nr178net/netrom/nr_in.cnr = skb->data[18];
nr185net/netrom/nr_in.csk->nr->condition = 0x00;
nr186net/netrom/nr_in.csk->nr->t1timer   = 0;
nr187net/netrom/nr_in.csk->nr->t2timer   = 0;
nr188net/netrom/nr_in.csk->nr->t4timer   = 0;
nr189net/netrom/nr_in.csk->nr->vs        = 0;
nr190net/netrom/nr_in.csk->nr->va        = 0;
nr191net/netrom/nr_in.csk->nr->vr        = 0;
nr192net/netrom/nr_in.csk->nr->vl    = 0;
nr198net/netrom/nr_in.csk->nr->state = NR_STATE_0;
nr208net/netrom/nr_in.csk->nr->state = NR_STATE_0;
nr219net/netrom/nr_in.csk->nr->condition |= PEER_RX_BUSY_CONDITION;
nr220net/netrom/nr_in.csk->nr->t4timer = nr_default.busy_delay;
nr222net/netrom/nr_in.csk->nr->condition &= ~PEER_RX_BUSY_CONDITION;
nr223net/netrom/nr_in.csk->nr->t4timer = 0;
nr225net/netrom/nr_in.cif (!nr_validate_nr(sk, nr)) {
nr227net/netrom/nr_in.csk->nr->state = NR_STATE_1;
nr230net/netrom/nr_in.cif (sk->nr->condition & PEER_RX_BUSY_CONDITION) {
nr231net/netrom/nr_in.cnr_frames_acked(sk, nr);
nr233net/netrom/nr_in.cnr_check_iframes_acked(sk, nr);
nr240net/netrom/nr_in.csk->nr->condition |= PEER_RX_BUSY_CONDITION;
nr241net/netrom/nr_in.csk->nr->t4timer = nr_default.busy_delay;
nr243net/netrom/nr_in.csk->nr->condition &= ~PEER_RX_BUSY_CONDITION;
nr244net/netrom/nr_in.csk->nr->t4timer = 0;
nr246net/netrom/nr_in.cif (nr_validate_nr(sk, nr)) {
nr247net/netrom/nr_in.cnr_frames_acked(sk, nr);
nr251net/netrom/nr_in.csk->nr->state = NR_STATE_1;
nr260net/netrom/nr_in.csk->nr->condition |= PEER_RX_BUSY_CONDITION;
nr261net/netrom/nr_in.csk->nr->t4timer = nr_default.busy_delay;
nr263net/netrom/nr_in.csk->nr->condition &= ~PEER_RX_BUSY_CONDITION;
nr264net/netrom/nr_in.csk->nr->t4timer = 0;
nr266net/netrom/nr_in.cif (!nr_validate_nr(sk, nr)) {
nr268net/netrom/nr_in.csk->nr->state = NR_STATE_1;
nr271net/netrom/nr_in.cif (sk->nr->condition & PEER_RX_BUSY_CONDITION) {
nr272net/netrom/nr_in.cnr_frames_acked(sk, nr);
nr274net/netrom/nr_in.cnr_check_iframes_acked(sk, nr);
nr277net/netrom/nr_in.cskb_queue_head(&sk->nr->reseq_queue, skb);
nr278net/netrom/nr_in.cif (sk->nr->condition & OWN_RX_BUSY_CONDITION)
nr282net/netrom/nr_in.csave_vr = sk->nr->vr;
nr283net/netrom/nr_in.cwhile ((skbn = skb_dequeue(&sk->nr->reseq_queue)) != NULL) {
nr285net/netrom/nr_in.cif (ns == sk->nr->vr) {
nr287net/netrom/nr_in.csk->nr->vr = (sk->nr->vr + 1) % NR_MODULUS;
nr289net/netrom/nr_in.csk->nr->condition |= OWN_RX_BUSY_CONDITION;
nr300net/netrom/nr_in.cskb_queue_tail(&sk->nr->reseq_queue, skbn);
nr302net/netrom/nr_in.c} while (save_vr != sk->nr->vr);
nr306net/netrom/nr_in.cif (((sk->nr->vl + sk->window) % NR_MODULUS) == sk->nr->vr) {
nr309net/netrom/nr_in.cif (!(sk->nr->condition & ACK_PENDING_CONDITION)) {
nr310net/netrom/nr_in.csk->nr->t2timer = sk->nr->t2;
nr311net/netrom/nr_in.csk->nr->condition |= ACK_PENDING_CONDITION;
nr328net/netrom/nr_in.cif (sk->nr->state != NR_STATE_1 && sk->nr->state != NR_STATE_2 &&
nr329net/netrom/nr_in.csk->nr->state != NR_STATE_3) {
nr330net/netrom/nr_in.cprintk("nr_process_rx_frame: frame received - state: %d\n", sk->nr->state);
nr338net/netrom/nr_in.cswitch (sk->nr->state)
nr54net/netrom/nr_out.cmtu = sk->nr->device->mtu;
nr95net/netrom/nr_out.cif (sk->nr->state == NR_STATE_3)
nr108net/netrom/nr_out.cskb->data[2] = sk->nr->vs;
nr109net/netrom/nr_out.cskb->data[3] = sk->nr->vr;
nr111net/netrom/nr_out.cif (sk->nr->condition & OWN_RX_BUSY_CONDITION)
nr121net/netrom/nr_out.cif ((skb = skb_peek(&sk->nr->ack_queue)) == NULL)
nr129net/netrom/nr_out.csk->nr->condition &= ~ACK_PENDING_CONDITION;
nr130net/netrom/nr_out.csk->nr->vl      = sk->nr->vr;
nr131net/netrom/nr_out.csk->nr->t1timer = 0;
nr142net/netrom/nr_out.cstart = (skb_peek(&sk->nr->ack_queue) == NULL) ? sk->nr->va : sk->nr->vs;
nr143net/netrom/nr_out.cend   = (sk->nr->va + sk->window) % NR_MODULUS;
nr145net/netrom/nr_out.cif (!(sk->nr->condition & PEER_RX_BUSY_CONDITION) &&
nr149net/netrom/nr_out.csk->nr->vs = start;
nr166net/netrom/nr_out.cnext = (sk->nr->vs + 1) % NR_MODULUS;
nr174net/netrom/nr_out.csk->nr->vs = next;
nr179net/netrom/nr_out.cskb_queue_tail(&sk->nr->ack_queue, skb);
nr183net/netrom/nr_out.csk->nr->vl = sk->nr->vr;
nr184net/netrom/nr_out.csk->nr->condition &= ~ACK_PENDING_CONDITION;
nr186net/netrom/nr_out.cif (sk->nr->t1timer == 0) {
nr187net/netrom/nr_out.csk->nr->t1timer = sk->nr->t1 = nr_calculate_t1(sk);
nr203net/netrom/nr_out.cmemcpy(dptr, &sk->nr->source_addr, sizeof(ax25_address));
nr209net/netrom/nr_out.cmemcpy(dptr, &sk->nr->dest_addr,   sizeof(ax25_address));
nr242net/netrom/nr_out.csk->nr->condition = 0x00;
nr243net/netrom/nr_out.csk->nr->n2count   = 0;
nr247net/netrom/nr_out.csk->nr->t2timer = 0;
nr248net/netrom/nr_out.csk->nr->t1timer = sk->nr->t1 = nr_calculate_t1(sk);
nr258net/netrom/nr_out.cif (sk->nr->condition & OWN_RX_BUSY_CONDITION) {
nr261net/netrom/nr_out.cif (skb_peek(&sk->nr->reseq_queue) != NULL) {
nr268net/netrom/nr_out.csk->nr->vl = sk->nr->vr;
nr269net/netrom/nr_out.csk->nr->condition &= ~ACK_PENDING_CONDITION;
nr272net/netrom/nr_out.cvoid nr_check_iframes_acked(struct sock *sk, unsigned short nr)
nr274net/netrom/nr_out.cif (sk->nr->vs == nr) {
nr275net/netrom/nr_out.cnr_frames_acked(sk, nr);
nr278net/netrom/nr_out.csk->nr->t1timer = 0;
nr279net/netrom/nr_out.csk->nr->n2count = 0;
nr281net/netrom/nr_out.cif (sk->nr->va != nr) {
nr282net/netrom/nr_out.cnr_frames_acked(sk, nr);
nr284net/netrom/nr_out.csk->nr->t1timer = sk->nr->t1 = nr_calculate_t1(sk);
nr65net/netrom/nr_route.cstatic int nr_add_node(ax25_address *nr, const char *mnemonic, ax25_address *ax25,
nr75net/netrom/nr_route.cif (ax25cmp(nr, &nr_node->callsign) == 0)
nr119net/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->vl;
nr137net/netrom/nr_subr.cunsigned short vt = (sk->nr->vl + sk->window) % NR_MODULUS;
nr166net/netrom/nr_subr.clen += (sk->nr->bpqext) ? 2 : 1;
nr190net/netrom/nr_subr.ctimeout  = (sk->nr->rtt / PR_SLOWHZ) * 2;
nr191net/netrom/nr_subr.c*dptr++  = sk->nr->my_index;
nr192net/netrom/nr_subr.c*dptr++  = sk->nr->my_id;
nr197net/netrom/nr_subr.cmemcpy(dptr, &sk->nr->user_addr, sizeof(ax25_address));
nr202net/netrom/nr_subr.cmemcpy(dptr, &sk->nr->source_addr, sizeof(ax25_address));
nr212net/netrom/nr_subr.c*dptr++ = sk->nr->your_index;
nr213net/netrom/nr_subr.c*dptr++ = sk->nr->your_id;
nr214net/netrom/nr_subr.c*dptr++ = sk->nr->my_index;
nr215net/netrom/nr_subr.c*dptr++ = sk->nr->my_id;
nr218net/netrom/nr_subr.cif (sk->nr->bpqext) *dptr++ = nr_default.ttl;
nr223net/netrom/nr_subr.c*dptr++ = sk->nr->your_index;
nr224net/netrom/nr_subr.c*dptr++ = sk->nr->your_id;
nr231net/netrom/nr_subr.c*dptr++ = sk->nr->your_index;
nr232net/netrom/nr_subr.c*dptr++ = sk->nr->your_id;
nr234net/netrom/nr_subr.c*dptr++ = sk->nr->vr;
nr298net/netrom/nr_subr.cfor (t = 2, n = 0; n < sk->nr->n2count; n++)
nr303net/netrom/nr_subr.creturn t * sk->nr->rtt;
nr311net/netrom/nr_subr.cif (sk->nr->t1timer > 0 && sk->nr->n2count == 0)
nr312net/netrom/nr_subr.csk->nr->rtt = (9 * sk->nr->rtt + sk->nr->t1 - sk->nr->t1timer) / 10;
nr315net/netrom/nr_subr.cif (sk->nr->rtt < 1 * PR_SLOWHZ)
nr316net/netrom/nr_subr.csk->nr->rtt = 1 * PR_SLOWHZ;
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);