taglinefilesource code
nr20arch/alpha/boot/main.cextern unsigned long switch_to_osf_pal(unsigned long nr,
nr110arch/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--)
nr155arch/i386/kernel/process.cvoid copy_thread(int nr, unsigned long clone_flags, unsigned long esp,
nr169arch/i386/kernel/process.cp->tss.tr = _TSS(nr);
nr178arch/i386/kernel/process.cp->tss.ldt = _LDT(nr);
nr184arch/i386/kernel/process.cset_tss_desc(gdt+(nr<<1)+FIRST_TSS_ENTRY,&(p->tss));
nr186arch/i386/kernel/process.cset_ldt_desc(gdt+(nr<<1)+FIRST_LDT_ENTRY,p->ldt, 512);
nr188arch/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.cunsigned long 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))
nr114drivers/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 );
nr357drivers/block/genhd.cint nr=0;
nr361drivers/block/genhd.cnr += p->nr_real;
nr445drivers/block/ll_rw_blk.cvoid ll_rw_block(int rw, int nr, struct buffer_head * bh[])
nr456drivers/block/ll_rw_blk.cif (--nr <= 0)
nr479drivers/block/ll_rw_blk.cfor (i = 0; i < nr; i++) {
nr498drivers/block/ll_rw_blk.cif (nr > 1)
nr500drivers/block/ll_rw_blk.cfor (i = 0; i < nr; i++) {
nr514drivers/block/ll_rw_blk.cfor (i = 0; i < nr; i++) {
nr1259drivers/char/console.cstatic void csi_at(int currcons, unsigned int nr)
nr1261drivers/char/console.cif (nr > video_num_columns)
nr1262drivers/char/console.cnr = video_num_columns;
nr1263drivers/char/console.celse if (!nr)
nr1264drivers/char/console.cnr = 1;
nr1265drivers/char/console.cwhile (nr--)
nr1269drivers/char/console.cstatic void csi_L(int currcons, unsigned int nr)
nr1271drivers/char/console.cif (nr > video_num_lines)
nr1272drivers/char/console.cnr = video_num_lines;
nr1273drivers/char/console.celse if (!nr)
nr1274drivers/char/console.cnr = 1;
nr1275drivers/char/console.cwhile (nr--)
nr1279drivers/char/console.cstatic void csi_P(int currcons, unsigned int nr)
nr1281drivers/char/console.cif (nr > video_num_columns)
nr1282drivers/char/console.cnr = video_num_columns;
nr1283drivers/char/console.celse if (!nr)
nr1284drivers/char/console.cnr = 1;
nr1285drivers/char/console.cwhile (nr--)
nr1289drivers/char/console.cstatic void csi_M(int currcons, unsigned int nr)
nr1291drivers/char/console.cif (nr > video_num_lines)
nr1292drivers/char/console.cnr = video_num_lines;
nr1293drivers/char/console.celse if (!nr)
nr1294drivers/char/console.cnr=1;
nr1295drivers/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.cunsigned 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));
nr1278drivers/net/ppp.cif (len + 2 > nr) {
nr1282drivers/net/ppp.cnr, len+2));
nr1341drivers/net/ppp.cppp_write(struct tty_struct *tty, struct file *file, unsigned char *buf, unsigned int nr)
nr1356drivers/net/ppp.cif (nr > ppp->mtu) {
nr1359drivers/net/ppp.cnr, ppp->mtu));
nr1360drivers/net/ppp.cnr = ppp->mtu;
nr1364drivers/net/ppp.cppp_print_buffer ("write frame", buf, nr, USER_DS);
nr1390drivers/net/ppp.ci = nr;
nr1412drivers/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))
nr783fs/binfmt_elf.cstatic int dump_write(struct file *file, void *addr, int nr)
nr785fs/binfmt_elf.creturn file->f_op->write(file->f_inode, file, addr, nr) == nr;
nr858fs/binfmt_elf.c#define DUMP_WRITE(addr, nr)  \
nr859fs/binfmt_elf.cdo { if (!dump_write(file, (addr), (nr))) return 0; } while(0)
nr883fs/binfmt_elf.c#define DUMP_WRITE(addr, nr)  \
nr884fs/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
nr162fs/ext/inode.c#define inode_bmap(inode,nr) ((inode)->u.ext_i.i_data[(nr)])
nr164fs/ext/inode.cstatic int block_bmap(struct buffer_head * bh, int nr)
nr170fs/ext/inode.ctmp = ((unsigned long *) bh->b_data)[nr];
nr219fs/ext/inode.cstatic struct buffer_head * inode_getblk(struct inode * inode, int nr, int create)
nr225fs/ext/inode.cp = inode->u.ext_i.i_data + nr;
nr253fs/ext/inode.cstruct buffer_head * bh, int nr, int create)
nr269fs/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))) {
nr314fs/msdos/inode.cint free,nr;
nr322fs/msdos/inode.cfor (nr = 2; nr < MSDOS_SB(sb)->clusters+2; nr++)
nr323fs/msdos/inode.cif (!fat_access(sb,nr,-1)) free++;
nr360fs/msdos/inode.cint nr;
nr406fs/msdos/inode.cif ((nr = CF_LE_W(raw_entry->start)) != 0)
nr407fs/msdos/inode.cwhile (nr != -1) {
nr410fs/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)
nr151fs/proc/root.cunsigned int nr,pid;
nr157fs/proc/root.cnr = filp->f_pos;
nr158fs/proc/root.cwhile (nr < NR_ROOT_DIRENTRY) {
nr159fs/proc/root.cstruct proc_dir_entry * de = root_dir + nr;
nr161fs/proc/root.cif (filldir(dirent, de->name, de->namelen, nr, de->low_ino) < 0)
nr164fs/proc/root.cnr++;
nr167fs/proc/root.cfor (nr -= NR_ROOT_DIRENTRY; nr < NR_TASKS; nr++, filp->f_pos++) {
nr168fs/proc/root.cstruct task_struct * p = task[nr];
nr181fs/proc/root.cif (filldir(dirent, buf+j, NUMBUF-j, nr+NR_ROOT_DIRENTRY, (pid << 16)+2) < 0)
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 long * fs_pointer, fd_set * fdset)
nr170fs/select.cif (nr <= 0)
nr175fs/select.cnr -= 8 * sizeof(unsigned long);
nr180fs/select.cstatic void __set_fd_set(int nr, unsigned long * fs_pointer, unsigned long * fdset)
nr187fs/select.cif (nr <= 0)
nr192fs/select.cnr -= 8 * sizeof(unsigned long);
nr196fs/select.c#define get_fd_set(nr,fsp,fdp) \
nr197fs/select.c__get_fd_set(nr, (unsigned long *) (fsp), fdp)
nr199fs/select.c#define set_fd_set(nr,fsp,fdp) \
nr200fs/select.c__set_fd_set(nr, (unsigned long *) (fsp), (unsigned long *) (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" (((unsigned long *) addr)[nr >> 6]),
nr33include/asm-alpha/bitops.h:"r" (1UL << (nr & 63)),
nr34include/asm-alpha/bitops.h"m" (((unsigned long *) addr)[nr >> 6]));
nr38include/asm-alpha/bitops.hextern __inline__ unsigned long clear_bit(unsigned long nr, void * addr)
nr53include/asm-alpha/bitops.h"=m" (((unsigned long *) addr)[nr >> 6]),
nr55include/asm-alpha/bitops.h:"r" (1UL << (nr & 63)),
nr56include/asm-alpha/bitops.h"m" (((unsigned long *) addr)[nr >> 6]));
nr60include/asm-alpha/bitops.hextern __inline__ unsigned long change_bit(unsigned long nr, void * addr)
nr73include/asm-alpha/bitops.h"=m" (((unsigned long *) addr)[nr >> 6]),
nr75include/asm-alpha/bitops.h:"r" (1UL << (nr & 63)),
nr76include/asm-alpha/bitops.h"m" (((unsigned long *) addr)[nr >> 6]));
nr80include/asm-alpha/bitops.hextern __inline__ unsigned long test_bit(int nr, void * addr)
nr82include/asm-alpha/bitops.hreturn 1UL & (((unsigned long *) addr)[nr >> 6] >> (nr & 63));
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); \
nr218include/asm-alpha/unistd.hstatic inline int write(int fd, const char * buf, int nr)
nr220include/asm-alpha/unistd.hreturn sys_write(fd, buf, nr);
nr224include/asm-alpha/unistd.hstatic inline int read(int fd, char * buf, int nr)
nr226include/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));
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); \
nr488include/linux/fs.hextern struct inode * __iget(struct super_block * sb,int nr,int crsmnt);
nr496include/linux/fs.hextern void ll_rw_block(int rw, int nr, struct buffer_head * bh[]);
nr497include/linux/fs.hextern void ll_rw_page(int rw, int dev, unsigned long nr, char * buffer);
nr532include/linux/fs.hextern inline struct inode * iget(struct super_block * sb,int nr)
nr534include/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);
nr71include/linux/mcd.h#define READ_DATA(port, buf, nr) \
nr72include/linux/mcd.hinsb(port, buf, nr)
nr206include/linux/mm.hextern void rw_swap_page(int rw, unsigned long nr, char * buf);
nr221include/linux/mm.h#define read_swap_page(nr,buf) \
nr222include/linux/mm.hrw_swap_page(READ,(nr),(buf))
nr223include/linux/mm.h#define write_swap_page(nr,buf) \
nr224include/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);
nr372include/linux/sched.hif (p->nr >= __MAX_SELECT_TABLE_ENTRIES)
nr374include/linux/sched.hentry = p->entry + p->nr;
nr379include/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.hunsigned char * buf, unsigned int nr);  
nr30include/linux/wait.hint nr;
nr157include/net/sock.hnr_cb        *nr;
nr169kernel/fork.cint nr;
nr178kernel/fork.cnr = find_empty_process();
nr179kernel/fork.cif (nr < 0)
nr210kernel/fork.ctask[nr] = p;
nr215kernel/fork.ccopy_thread(nr, clone_flags, usp, p, regs);
nr229kernel/fork.ctask[nr] = NULL;
nr75kernel/sched.c#define _S(nr) (1<<((nr)-1))
nr438kernel/sched.cunsigned long nr = 0;
nr444kernel/sched.cnr += FIXED_1;
nr445kernel/sched.creturn nr;
nr771kernel/sched.cstatic void show_task(int nr,struct task_struct * p)
nr776kernel/sched.cprintk("%-8s %3d ", p->comm, (p == current) ? -nr : nr);
nr18kernel/signal.c#define _S(nr) (1<<((nr)-1))
nr31mm/filemap.cstatic inline void multi_bmap(struct inode * inode, unsigned int block, unsigned int * nr, int shift)
nr36mm/filemap.c*nr = bmap(inode, block);
nr39mm/filemap.cnr++;
nr47mm/filemap.cint nr[PAGE_SIZE/512];
nr49mm/filemap.cmulti_bmap(inode, (address & PAGE_MASK) - area->vm_start + area->vm_offset, nr,
nr51mm/filemap.creturn bread_page(page, inode->i_dev, nr, inode->i_sb->s_blocksize, no_share);
nr70mm/filemap.cint nr[PAGE_SIZE/512];
nr84mm/filemap.cmulti_bmap(inode, offset, nr, inode->i_sb->s_blocksize_bits);
nr85mm/filemap.cbwrite_page(page, inode->i_dev, nr, inode->i_sb->s_blocksize);
nr815mm/swap.cunsigned long nr = 0;
nr817mm/swap.cnr ++;
nr819mm/swap.ctotal += nr * ((PAGE_SIZE>>10) << order);
nr820mm/swap.cprintk("%lu*%lukB ", nr, (PAGE_SIZE>>10) << order);
nr965mm/swap.cint nr;
nr970mm/swap.cnr = 0;
nr971mm/swap.cwhile (nr < NR_TASKS) {
nr972mm/swap.cif (task[nr]) {
nr973mm/swap.cif (unuse_process(task[nr], type, page)) {
nr980mm/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);
nr662net/appletalk/ddp.cstruct netrange *nr;
nr692net/appletalk/ddp.cnr=(struct netrange *)&sa->sat_zero[0];
nr693net/appletalk/ddp.cif(nr->nr_phase!=2)
nr713net/appletalk/ddp.catif->nets= *nr;
nr744net/appletalk/ddp.cif(nr->nr_firstnet==htons(0) && nr->nr_lastnet==htons(0xFFFE)) {
nr749net/appletalk/ddp.climit=ntohs(nr->nr_lastnet);
nr750net/appletalk/ddp.cif(limit-ntohs(nr->nr_firstnet) > 256)
nr755net/appletalk/ddp.cfor(ct=ntohs(nr->nr_firstnet);ct<=limit;ct++)
nr223net/ax25/ax25_in.cunsigned short nr = (skb->data[0] >> 5) & 7;
nr274net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr275net/ax25/ax25_in.cax25_check_iframes_acked(ax25, nr);
nr285net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr286net/ax25/ax25_in.cax25_check_iframes_acked(ax25, nr);
nr296net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr297net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr310net/ax25/ax25_in.cif (!ax25_validate_nr(ax25, nr)) {
nr316net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr318net/ax25/ax25_in.cax25_check_iframes_acked(ax25, nr);
nr371net/ax25/ax25_in.cunsigned short nr = (skb->data[0] >> 5) & 7;
nr425net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr426net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr440net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr441net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr452net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr453net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr467net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr468net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr479net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr480net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr494net/ax25/ax25_in.cif (ax25_validate_nr(ax25, nr)) {
nr495net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr505net/ax25/ax25_in.cif (!ax25_validate_nr(ax25, nr)) {
nr510net/ax25/ax25_in.cax25_frames_acked(ax25, nr);
nr221net/ax25/ax25_out.cvoid ax25_check_iframes_acked(ax25_cb *ax25, unsigned short nr)
nr223net/ax25/ax25_out.cif (ax25->vs == nr) {
nr224net/ax25/ax25_out.cax25_frames_acked(ax25, nr);
nr229net/ax25/ax25_out.cif (ax25->va != nr) {
nr230net/ax25/ax25_out.cax25_frames_acked(ax25, nr);
nr74net/ax25/ax25_subr.cvoid ax25_frames_acked(ax25_cb *ax25, unsigned short nr)
nr81net/ax25/ax25_subr.cif (ax25->va != nr) {
nr82net/ax25/ax25_subr.cwhile (skb_peek(&ax25->ack_queue) != NULL && ax25->va != nr) {
nr108net/ax25/ax25_subr.cint ax25_validate_nr(ax25_cb *ax25, unsigned short nr)
nr113net/ax25/ax25_subr.cif (nr == vc) return 1;
nr117net/ax25/ax25_subr.cif (nr == ax25->vs) return 1;
nr140net/netrom/af_netrom.cif (ax25cmp(&s->nr->source_addr, addr) == 0 && s->type == type && s->state == TCP_LISTEN) {
nr162net/netrom/af_netrom.cif (s->nr->my_index == index && s->nr->my_id == id && s->type == type) {
nr185net/netrom/af_netrom.cif (s->nr->your_index == index && s->nr->your_id == id && s->type == type) {
nr232net/netrom/af_netrom.cskb->sk->nr->state = NR_STATE_0;
nr245net/netrom/af_netrom.ckfree_s(sk->nr, sizeof(*sk->nr));
nr293net/netrom/af_netrom.csk->nr->rtt = (opt * PR_SLOWHZ) / 2;
nr299net/netrom/af_netrom.csk->nr->t2 = opt * PR_SLOWHZ;
nr305net/netrom/af_netrom.csk->nr->n2 = opt;
nr330net/netrom/af_netrom.cval = sk->nr->t1 / PR_SLOWHZ;
nr334net/netrom/af_netrom.cval = sk->nr->t2 / PR_SLOWHZ;
nr338net/netrom/af_netrom.cval = sk->nr->n2;
nr363net/netrom/af_netrom.cmemset(&sk->nr->user_addr, '\0', sizeof(ax25_address));
nr387net/netrom/af_netrom.cnr_cb *nr;
nr392net/netrom/af_netrom.cif ((nr = (nr_cb *)kmalloc(sizeof(*nr), GFP_ATOMIC)) == NULL) {
nr404net/netrom/af_netrom.ckfree_s((void *)nr, sizeof(*nr));
nr447net/netrom/af_netrom.cskb_queue_head_init(&nr->ack_queue);
nr448net/netrom/af_netrom.cskb_queue_head_init(&nr->reseq_queue);
nr450net/netrom/af_netrom.cnr->my_index = 0;
nr451net/netrom/af_netrom.cnr->my_id    = 0;
nr452net/netrom/af_netrom.cnr->rtt      = nr_default.timeout;
nr453net/netrom/af_netrom.cnr->t1       = nr_default.timeout;
nr454net/netrom/af_netrom.cnr->t2       = nr_default.ack_delay;
nr455net/netrom/af_netrom.cnr->n2       = nr_default.tries;
nr457net/netrom/af_netrom.cnr->t1timer  = 0;
nr458net/netrom/af_netrom.cnr->t2timer  = 0;
nr459net/netrom/af_netrom.cnr->t4timer  = 0;
nr460net/netrom/af_netrom.cnr->n2count  = 0;
nr462net/netrom/af_netrom.cnr->va       = 0;
nr463net/netrom/af_netrom.cnr->vr       = 0;
nr464net/netrom/af_netrom.cnr->vs       = 0;
nr465net/netrom/af_netrom.cnr->vl       = 0;
nr467net/netrom/af_netrom.cnr->your_index = 0;
nr468net/netrom/af_netrom.cnr->your_id    = 0;
nr470net/netrom/af_netrom.cnr->my_index   = 0;
nr471net/netrom/af_netrom.cnr->my_id      = 0;
nr473net/netrom/af_netrom.cnr->bpqext     = 1;
nr474net/netrom/af_netrom.cnr->state      = NR_STATE_0;
nr476net/netrom/af_netrom.cmemset(&nr->source_addr, '\0', sizeof(ax25_address));
nr477net/netrom/af_netrom.cmemset(&nr->user_addr,   '\0', sizeof(ax25_address));
nr478net/netrom/af_netrom.cmemset(&nr->dest_addr,   '\0', sizeof(ax25_address));
nr480net/netrom/af_netrom.cnr->sk = sk;
nr481net/netrom/af_netrom.csk->nr = nr;
nr489net/netrom/af_netrom.cnr_cb *nr;
nr494net/netrom/af_netrom.cif ((nr = (nr_cb *)kmalloc(sizeof(*nr), GFP_ATOMIC)) == NULL) {
nr507net/netrom/af_netrom.ckfree_s((void *)nr, sizeof(*nr));
nr546net/netrom/af_netrom.cskb_queue_head_init(&nr->ack_queue);
nr547net/netrom/af_netrom.cskb_queue_head_init(&nr->reseq_queue);
nr549net/netrom/af_netrom.cnr->rtt      = osk->nr->rtt;
nr550net/netrom/af_netrom.cnr->t1       = osk->nr->t1;
nr551net/netrom/af_netrom.cnr->t2       = osk->nr->t2;
nr552net/netrom/af_netrom.cnr->n2       = osk->nr->n2;
nr554net/netrom/af_netrom.cnr->bpqext   = osk->nr->bpqext;
nr556net/netrom/af_netrom.cnr->t1timer  = 0;
nr557net/netrom/af_netrom.cnr->t2timer  = 0;
nr558net/netrom/af_netrom.cnr->t4timer  = 0;
nr559net/netrom/af_netrom.cnr->n2count  = 0;
nr561net/netrom/af_netrom.cnr->va       = 0;
nr562net/netrom/af_netrom.cnr->vr       = 0;
nr563net/netrom/af_netrom.cnr->vs       = 0;
nr564net/netrom/af_netrom.cnr->vl       = 0;
nr566net/netrom/af_netrom.csk->nr = nr;
nr567net/netrom/af_netrom.cnr->sk = sk;
nr586net/netrom/af_netrom.cswitch (sk->nr->state) {
nr594net/netrom/af_netrom.csk->nr->state = NR_STATE_0;
nr602net/netrom/af_netrom.csk->nr->state = NR_STATE_0;
nr610net/netrom/af_netrom.csk->nr->n2count = 0;
nr612net/netrom/af_netrom.csk->nr->t1timer = sk->nr->t1 = nr_calculate_t1(sk);
nr613net/netrom/af_netrom.csk->nr->t2timer = 0;
nr614net/netrom/af_netrom.csk->nr->t4timer = 0;
nr615net/netrom/af_netrom.csk->nr->state   = NR_STATE_2;
nr668net/netrom/af_netrom.cmemcpy(&sk->nr->user_addr,   &addr->fsa_digipeater[0],   sizeof(ax25_address));
nr669net/netrom/af_netrom.cmemcpy(&sk->nr->source_addr, &addr->fsa_ax25.sax25_call, sizeof(ax25_address));
nr679net/netrom/af_netrom.cmemcpy(&sk->nr->user_addr,   user,   sizeof(ax25_address));
nr680net/netrom/af_netrom.cmemcpy(&sk->nr->source_addr, source, sizeof(ax25_address));
nr734net/netrom/af_netrom.cmemcpy(&sk->nr->user_addr,   user,   sizeof(ax25_address));
nr735net/netrom/af_netrom.cmemcpy(&sk->nr->source_addr, source, sizeof(ax25_address));
nr740net/netrom/af_netrom.cmemcpy(&sk->nr->dest_addr, &addr->sax25_call, sizeof(ax25_address));
nr742net/netrom/af_netrom.csk->nr->my_index = circuit / 256;
nr743net/netrom/af_netrom.csk->nr->my_id    = circuit % 256;
nr751net/netrom/af_netrom.csk->nr->state = NR_STATE_1;
nr851net/netrom/af_netrom.cmemcpy(&sax->fsa_ax25.sax25_call, &sk->nr->user_addr, sizeof(ax25_address));
nr852net/netrom/af_netrom.cmemcpy(&sax->fsa_digipeater[0],   &sk->nr->dest_addr, sizeof(ax25_address));
nr857net/netrom/af_netrom.cmemcpy(&sax->fsa_ax25.sax25_call, &sk->nr->source_addr, sizeof(ax25_address));
nr907net/netrom/af_netrom.csk->nr->bpqext = 1;
nr909net/netrom/af_netrom.csk->nr->bpqext = 0;
nr931net/netrom/af_netrom.cmemcpy(&make->nr->source_addr, dest, sizeof(ax25_address));
nr932net/netrom/af_netrom.cmemcpy(&make->nr->dest_addr,   src,  sizeof(ax25_address));
nr933net/netrom/af_netrom.cmemcpy(&make->nr->user_addr,   user, sizeof(ax25_address));
nr935net/netrom/af_netrom.cmake->nr->your_index = circuit_index;
nr936net/netrom/af_netrom.cmake->nr->your_id    = circuit_id;
nr938net/netrom/af_netrom.cmake->nr->my_index   = circuit / 256;
nr939net/netrom/af_netrom.cmake->nr->my_id      = circuit % 256;
nr950net/netrom/af_netrom.cif (timeout * PR_SLOWHZ < make->nr->rtt * 2)
nr951net/netrom/af_netrom.cmake->nr->rtt = (timeout * PR_SLOWHZ) / 2;
nr952net/netrom/af_netrom.cmake->nr->bpqext = 1;
nr954net/netrom/af_netrom.cmake->nr->bpqext = 0;
nr959net/netrom/af_netrom.cmake->nr->condition = 0x00;
nr960net/netrom/af_netrom.cmake->nr->vs        = 0;
nr961net/netrom/af_netrom.cmake->nr->va        = 0;
nr962net/netrom/af_netrom.cmake->nr->vr        = 0;
nr963net/netrom/af_netrom.cmake->nr->vl        = 0;
nr964net/netrom/af_netrom.cmake->nr->state     = NR_STATE_3;
nr1007net/netrom/af_netrom.cif (sk->type == SOCK_SEQPACKET && memcmp(&sk->nr->dest_addr, &sax.sax25_call, sizeof(ax25_address)) != 0)
nr1015net/netrom/af_netrom.cmemcpy(&sax.sax25_call, &sk->nr->dest_addr, sizeof(ax25_address));
nr1047net/netrom/af_netrom.c*asmptr++ = sk->nr->your_index;
nr1048net/netrom/af_netrom.c*asmptr++ = sk->nr->your_id;
nr1267net/netrom/af_netrom.cax2asc(&s->nr->user_addr));
nr1269net/netrom/af_netrom.cax2asc(&s->nr->dest_addr));
nr1271net/netrom/af_netrom.cax2asc(&s->nr->source_addr),
nr1272net/netrom/af_netrom.cs->nr->my_index, s->nr->my_id,
nr1273net/netrom/af_netrom.cs->nr->your_index, s->nr->your_id,
nr1274net/netrom/af_netrom.cs->nr->state,
nr1275net/netrom/af_netrom.cs->nr->vs, s->nr->vr, s->nr->va,
nr1276net/netrom/af_netrom.cs->nr->t1timer / PR_SLOWHZ,
nr1277net/netrom/af_netrom.cs->nr->t1      / PR_SLOWHZ,
nr1278net/netrom/af_netrom.cs->nr->t2timer / PR_SLOWHZ,
nr1279net/netrom/af_netrom.cs->nr->t2      / PR_SLOWHZ,
nr1280net/netrom/af_netrom.cs->nr->n2count, s->nr->n2,
nr1281net/netrom/af_netrom.cs->nr->rtt     / PR_SLOWHZ,
nr62net/netrom/nr_in.csk->nr->your_index = skb->data[2];
nr63net/netrom/nr_in.csk->nr->your_id    = skb->data[3];
nr64net/netrom/nr_in.csk->nr->t1timer    = 0;
nr65net/netrom/nr_in.csk->nr->t2timer    = 0;
nr66net/netrom/nr_in.csk->nr->t4timer    = 0;
nr67net/netrom/nr_in.csk->nr->vs         = 0;
nr68net/netrom/nr_in.csk->nr->va         = 0;
nr69net/netrom/nr_in.csk->nr->vr         = 0;
nr70net/netrom/nr_in.csk->nr->vl     = 0;
nr71net/netrom/nr_in.csk->nr->state      = NR_STATE_3;
nr73net/netrom/nr_in.csk->nr->n2count    = 0;
nr81net/netrom/nr_in.csk->nr->state = NR_STATE_0;
nr110net/netrom/nr_in.csk->nr->state = NR_STATE_0;
nr135net/netrom/nr_in.cunsigned short nr, ns;
nr138net/netrom/nr_in.cnr = skb->data[3];
nr145net/netrom/nr_in.csk->nr->condition = 0x00;
nr146net/netrom/nr_in.csk->nr->t1timer   = 0;
nr147net/netrom/nr_in.csk->nr->t2timer   = 0;
nr148net/netrom/nr_in.csk->nr->t4timer   = 0;
nr149net/netrom/nr_in.csk->nr->vs        = 0;
nr150net/netrom/nr_in.csk->nr->va        = 0;
nr151net/netrom/nr_in.csk->nr->vr        = 0;
nr152net/netrom/nr_in.csk->nr->vl    = 0;
nr158net/netrom/nr_in.csk->nr->state = NR_STATE_0;
nr168net/netrom/nr_in.csk->nr->state = NR_STATE_0;
nr179net/netrom/nr_in.csk->nr->condition |= PEER_RX_BUSY_CONDITION;
nr180net/netrom/nr_in.csk->nr->t4timer = nr_default.busy_delay;
nr182net/netrom/nr_in.csk->nr->condition &= ~PEER_RX_BUSY_CONDITION;
nr183net/netrom/nr_in.csk->nr->t4timer = 0;
nr185net/netrom/nr_in.cif (!nr_validate_nr(sk, nr)) {
nr187net/netrom/nr_in.csk->nr->state = NR_STATE_1;
nr190net/netrom/nr_in.cif (sk->nr->condition & PEER_RX_BUSY_CONDITION) {
nr191net/netrom/nr_in.cnr_frames_acked(sk, nr);
nr193net/netrom/nr_in.cnr_check_iframes_acked(sk, nr);
nr200net/netrom/nr_in.csk->nr->condition |= PEER_RX_BUSY_CONDITION;
nr201net/netrom/nr_in.csk->nr->t4timer = nr_default.busy_delay;
nr203net/netrom/nr_in.csk->nr->condition &= ~PEER_RX_BUSY_CONDITION;
nr204net/netrom/nr_in.csk->nr->t4timer = 0;
nr206net/netrom/nr_in.cif (nr_validate_nr(sk, nr)) {
nr207net/netrom/nr_in.cnr_frames_acked(sk, nr);
nr211net/netrom/nr_in.csk->nr->state = NR_STATE_1;
nr220net/netrom/nr_in.csk->nr->condition |= PEER_RX_BUSY_CONDITION;
nr221net/netrom/nr_in.csk->nr->t4timer = nr_default.busy_delay;
nr223net/netrom/nr_in.csk->nr->condition &= ~PEER_RX_BUSY_CONDITION;
nr224net/netrom/nr_in.csk->nr->t4timer = 0;
nr226net/netrom/nr_in.cif (!nr_validate_nr(sk, nr)) {
nr228net/netrom/nr_in.csk->nr->state = NR_STATE_1;
nr231net/netrom/nr_in.cif (sk->nr->condition & PEER_RX_BUSY_CONDITION) {
nr232net/netrom/nr_in.cnr_frames_acked(sk, nr);
nr234net/netrom/nr_in.cnr_check_iframes_acked(sk, nr);
nr237net/netrom/nr_in.cskb_queue_head(&sk->nr->reseq_queue, skb);
nr238net/netrom/nr_in.cif (sk->nr->condition & OWN_RX_BUSY_CONDITION)
nr242net/netrom/nr_in.csave_vr = sk->nr->vr;
nr243net/netrom/nr_in.cwhile ((skbn = skb_dequeue(&sk->nr->reseq_queue)) != NULL) {
nr245net/netrom/nr_in.cif (ns == sk->nr->vr) {
nr247net/netrom/nr_in.csk->nr->vr = (sk->nr->vr + 1) % NR_MODULUS;
nr249net/netrom/nr_in.csk->nr->condition |= OWN_RX_BUSY_CONDITION;
nr260net/netrom/nr_in.cskb_queue_tail(&sk->nr->reseq_queue, skbn);
nr262net/netrom/nr_in.c} while (save_vr != sk->nr->vr);
nr266net/netrom/nr_in.cif (((sk->nr->vl + sk->window) % NR_MODULUS) == sk->nr->vr) {
nr269net/netrom/nr_in.cif (!(sk->nr->condition & ACK_PENDING_CONDITION)) {
nr270net/netrom/nr_in.csk->nr->t2timer = sk->nr->t2;
nr271net/netrom/nr_in.csk->nr->condition |= ACK_PENDING_CONDITION;
nr288net/netrom/nr_in.cif (sk->nr->state != NR_STATE_1 && sk->nr->state != NR_STATE_2 &&
nr289net/netrom/nr_in.csk->nr->state != NR_STATE_3) {
nr290net/netrom/nr_in.cprintk("nr_process_rx_frame: frame received - state: %d\n", sk->nr->state);
nr298net/netrom/nr_in.cswitch (sk->nr->state)
nr47net/netrom/nr_out.cif (sk->nr->state == NR_STATE_3)
nr62net/netrom/nr_out.cskb->data[2] = sk->nr->vs;
nr63net/netrom/nr_out.cskb->data[3] = sk->nr->vr;
nr72net/netrom/nr_out.cif ((skb = skb_peek(&sk->nr->ack_queue)) == NULL)
nr80net/netrom/nr_out.csk->nr->condition &= ~ACK_PENDING_CONDITION;
nr81net/netrom/nr_out.csk->nr->vl      = sk->nr->vr;
nr82net/netrom/nr_out.csk->nr->t1timer = 0;
nr93net/netrom/nr_out.cstart = (skb_peek(&sk->nr->ack_queue) == NULL) ? sk->nr->va : sk->nr->vs;
nr94net/netrom/nr_out.cend   = (sk->nr->va + sk->window) % NR_MODULUS;
nr96net/netrom/nr_out.cif (!(sk->nr->condition & PEER_RX_BUSY_CONDITION) &&
nr100net/netrom/nr_out.csk->nr->vs = start;
nr117net/netrom/nr_out.cnext = (sk->nr->vs + 1) % NR_MODULUS;
nr125net/netrom/nr_out.csk->nr->vs = next;
nr130net/netrom/nr_out.cskb_queue_tail(&sk->nr->ack_queue, skb);
nr134net/netrom/nr_out.csk->nr->vl = sk->nr->vr;
nr135net/netrom/nr_out.csk->nr->condition &= ~ACK_PENDING_CONDITION;
nr137net/netrom/nr_out.cif (sk->nr->t1timer == 0) {
nr138net/netrom/nr_out.csk->nr->t1timer = sk->nr->t1 = nr_calculate_t1(sk);
nr154net/netrom/nr_out.cmemcpy(dptr, &sk->nr->source_addr, sizeof(ax25_address));
nr160net/netrom/nr_out.cmemcpy(dptr, &sk->nr->dest_addr,   sizeof(ax25_address));
nr193net/netrom/nr_out.csk->nr->condition = 0x00;
nr194net/netrom/nr_out.csk->nr->n2count   = 0;
nr198net/netrom/nr_out.csk->nr->t2timer = 0;
nr199net/netrom/nr_out.csk->nr->t1timer = sk->nr->t1 = nr_calculate_t1(sk);
nr209net/netrom/nr_out.cif (sk->nr->condition & OWN_RX_BUSY_CONDITION) {
nr212net/netrom/nr_out.cif (skb_peek(&sk->nr->reseq_queue) != NULL) {
nr219net/netrom/nr_out.csk->nr->vl = sk->nr->vr;
nr220net/netrom/nr_out.csk->nr->condition &= ~ACK_PENDING_CONDITION;
nr223net/netrom/nr_out.cvoid nr_check_iframes_acked(struct sock *sk, unsigned short nr)
nr225net/netrom/nr_out.cif (sk->nr->vs == nr) {
nr226net/netrom/nr_out.cnr_frames_acked(sk, nr);
nr229net/netrom/nr_out.csk->nr->t1timer = 0;
nr230net/netrom/nr_out.csk->nr->n2count = 0;
nr232net/netrom/nr_out.cif (sk->nr->va != nr) {
nr233net/netrom/nr_out.cnr_frames_acked(sk, nr);
nr235net/netrom/nr_out.csk->nr->t1timer = sk->nr->t1 = nr_calculate_t1(sk);
nr64net/netrom/nr_route.cstatic int nr_add_node(ax25_address *nr, char *mnemonic, ax25_address *ax25,
nr74net/netrom/nr_route.cif (ax25cmp(nr, &nr_node->callsign) == 0)
nr118net/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) {
nr74net/netrom/nr_subr.cvoid nr_frames_acked(struct sock *sk, unsigned short nr)
nr81net/netrom/nr_subr.cif (sk->nr->va != nr) {
nr82net/netrom/nr_subr.cwhile (skb_peek(&sk->nr->ack_queue) != NULL && sk->nr->va != nr) {
nr83net/netrom/nr_subr.cskb = skb_dequeue(&sk->nr->ack_queue);
nr87net/netrom/nr_subr.csk->nr->va = (sk->nr->va + 1) % NR_MODULUS;
nr101net/netrom/nr_subr.cwhile ((skb = skb_dequeue(&sk->nr->ack_queue)) != NULL) {
nr114net/netrom/nr_subr.cint nr_validate_nr(struct sock *sk, unsigned short nr)
nr116net/netrom/nr_subr.cunsigned short vc = sk->nr->va;
nr118net/netrom/nr_subr.cwhile (vc != sk->nr->vs) {
nr119net/netrom/nr_subr.cif (nr == vc) return 1;
nr123net/netrom/nr_subr.cif (nr == sk->nr->vs) return 1;
nr133net/netrom/nr_subr.cunsigned short vc = sk->nr->vl;
nr134net/netrom/nr_subr.cunsigned short vt = (sk->nr->vl + sk->window) % NR_MODULUS;
nr163net/netrom/nr_subr.clen += (sk->nr->bpqext) ? 2 : 1;
nr187net/netrom/nr_subr.ctimeout  = (sk->nr->rtt / PR_SLOWHZ) * 2;
nr188net/netrom/nr_subr.c*dptr++  = sk->nr->my_index;
nr189net/netrom/nr_subr.c*dptr++  = sk->nr->my_id;
nr194net/netrom/nr_subr.cmemcpy(dptr, &sk->nr->user_addr, sizeof(ax25_address));
nr199net/netrom/nr_subr.cmemcpy(dptr, &sk->nr->source_addr, sizeof(ax25_address));
nr209net/netrom/nr_subr.c*dptr++ = sk->nr->your_index;
nr210net/netrom/nr_subr.c*dptr++ = sk->nr->your_id;
nr211net/netrom/nr_subr.c*dptr++ = sk->nr->my_index;
nr212net/netrom/nr_subr.c*dptr++ = sk->nr->my_id;
nr215net/netrom/nr_subr.cif (sk->nr->bpqext) *dptr++ = nr_default.ttl;
nr220net/netrom/nr_subr.c*dptr++ = sk->nr->your_index;
nr221net/netrom/nr_subr.c*dptr++ = sk->nr->your_id;
nr228net/netrom/nr_subr.c*dptr++ = sk->nr->your_index;
nr229net/netrom/nr_subr.c*dptr++ = sk->nr->your_id;
nr231net/netrom/nr_subr.c*dptr++ = sk->nr->vr;
nr295net/netrom/nr_subr.cfor (t = 2, n = 0; n < sk->nr->n2count; n++)
nr298net/netrom/nr_subr.creturn t * sk->nr->rtt;
nr306net/netrom/nr_subr.cif (sk->nr->t1timer > 0 && sk->nr->n2count == 0)
nr307net/netrom/nr_subr.csk->nr->rtt = (9 * sk->nr->rtt + sk->nr->t1 - sk->nr->t1timer) / 10;
nr310net/netrom/nr_subr.cif (sk->nr->rtt < 1 * PR_SLOWHZ)
nr311net/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);