tag | line | file | source code |
nr | 20 | arch/alpha/boot/main.c | extern unsigned long switch_to_osf_pal(unsigned long nr, |
nr | 122 | arch/alpha/kernel/process.c | void copy_thread(int nr, unsigned long clone_flags, unsigned long usp, |
nr | 17 | arch/alpha/kernel/signal.c | #define _S(nr) (1<<((nr)-1)) |
nr | 119 | arch/alpha/mm/init.c | unsigned long pfn, nr; |
nr | 123 | arch/alpha/mm/init.c | nr = cluster->numpages; |
nr | 129 | arch/alpha/mm/init.c | while (nr--) |
nr | 153 | arch/i386/kernel/process.c | void copy_thread(int nr, unsigned long clone_flags, unsigned long esp, |
nr | 167 | arch/i386/kernel/process.c | p->tss.tr = _TSS(nr); |
nr | 176 | arch/i386/kernel/process.c | p->tss.ldt = _LDT(nr); |
nr | 182 | arch/i386/kernel/process.c | set_tss_desc(gdt+(nr<<1)+FIRST_TSS_ENTRY,&(p->tss)); |
nr | 184 | arch/i386/kernel/process.c | set_ldt_desc(gdt+(nr<<1)+FIRST_LDT_ENTRY,p->ldt, 512); |
nr | 186 | arch/i386/kernel/process.c | set_ldt_desc(gdt+(nr<<1)+FIRST_LDT_ENTRY,&default_ldt, 1); |
nr | 18 | arch/i386/kernel/signal.c | #define _S(nr) (1<<((nr)-1)) |
nr | 218 | arch/i386/kernel/vm86.c | static inline int is_revectored(int nr, struct revectored_struct * bitmap) |
nr | 221 | arch/i386/kernel/vm86.c | :"=r" (nr) |
nr | 222 | arch/i386/kernel/vm86.c | :"m" (*bitmap),"r" (nr)); |
nr | 223 | arch/i386/kernel/vm86.c | return nr; |
nr | 218 | arch/i386/math-emu/reg_compare.c | static int compare_st_st(int nr) |
nr | 222 | arch/i386/math-emu/reg_compare.c | if ( !NOT_EMPTY(0) || !NOT_EMPTY(nr) ) |
nr | 230 | arch/i386/math-emu/reg_compare.c | c = compare(&st(nr)); |
nr | 268 | arch/i386/math-emu/reg_compare.c | static int compare_u_st_st(int nr) |
nr | 272 | arch/i386/math-emu/reg_compare.c | if ( !NOT_EMPTY(0) || !NOT_EMPTY(nr) ) |
nr | 280 | arch/i386/math-emu/reg_compare.c | c = compare(&st(nr)); |
nr | 90 | arch/mips/kernel/process.c | unsigned long copy_thread(int nr, unsigned long clone_flags, struct task_struct * p, struct pt_regs * regs) |
nr | 19 | arch/mips/kernel/signal.c | #define _S(nr) (1<<((nr)-1)) |
nr | 79 | arch/sparc/kernel/process.c | void copy_thread(int nr, unsigned long clone_flags, unsigned long sp, struct task_struct * p, struct pt_regs * regs) |
nr | 17 | arch/sparc/kernel/signal.c | #define _S(nr) (1<<((nr)-1)) |
nr | 101 | drivers/block/blk.h | static void floppy_off(unsigned int nr); |
nr | 698 | drivers/block/floppy.c | static void motor_off_callback(unsigned long nr) |
nr | 700 | drivers/block/floppy.c | unsigned char mask = ~(0x10 << UNIT(nr)); |
nr | 702 | drivers/block/floppy.c | set_dor( FDC(nr), mask, 0 ); |
nr | 214 | drivers/block/genhd.c | int nr=0; |
nr | 218 | drivers/block/genhd.c | nr += p->nr_real; |
nr | 434 | drivers/block/ll_rw_blk.c | void ll_rw_block(int rw, int nr, struct buffer_head * bh[]) |
nr | 445 | drivers/block/ll_rw_blk.c | if (--nr <= 0) |
nr | 468 | drivers/block/ll_rw_blk.c | for (i = 0; i < nr; i++) { |
nr | 487 | drivers/block/ll_rw_blk.c | if (nr > 1) |
nr | 489 | drivers/block/ll_rw_blk.c | for (i = 0; i < nr; i++) { |
nr | 503 | drivers/block/ll_rw_blk.c | for (i = 0; i < nr; i++) { |
nr | 1188 | drivers/char/console.c | static void csi_at(int currcons, unsigned int nr) |
nr | 1190 | drivers/char/console.c | if (nr > video_num_columns) |
nr | 1191 | drivers/char/console.c | nr = video_num_columns; |
nr | 1192 | drivers/char/console.c | else if (!nr) |
nr | 1193 | drivers/char/console.c | nr = 1; |
nr | 1194 | drivers/char/console.c | while (nr--) |
nr | 1198 | drivers/char/console.c | static void csi_L(int currcons, unsigned int nr) |
nr | 1200 | drivers/char/console.c | if (nr > video_num_lines) |
nr | 1201 | drivers/char/console.c | nr = video_num_lines; |
nr | 1202 | drivers/char/console.c | else if (!nr) |
nr | 1203 | drivers/char/console.c | nr = 1; |
nr | 1204 | drivers/char/console.c | while (nr--) |
nr | 1208 | drivers/char/console.c | static void csi_P(int currcons, unsigned int nr) |
nr | 1210 | drivers/char/console.c | if (nr > video_num_columns) |
nr | 1211 | drivers/char/console.c | nr = video_num_columns; |
nr | 1212 | drivers/char/console.c | else if (!nr) |
nr | 1213 | drivers/char/console.c | nr = 1; |
nr | 1214 | drivers/char/console.c | while (nr--) |
nr | 1218 | drivers/char/console.c | static void csi_M(int currcons, unsigned int nr) |
nr | 1220 | drivers/char/console.c | if (nr > video_num_lines) |
nr | 1221 | drivers/char/console.c | nr = video_num_lines; |
nr | 1222 | drivers/char/console.c | else if (!nr) |
nr | 1223 | drivers/char/console.c | nr=1; |
nr | 1224 | drivers/char/console.c | while (nr--) |
nr | 728 | drivers/char/n_tty.c | unsigned int *nr) |
nr | 733 | drivers/char/n_tty.c | n = MIN(*nr, MIN(tty->read_cnt, N_TTY_BUF_SIZE - tty->read_tail)); |
nr | 740 | drivers/char/n_tty.c | *nr -= n; |
nr | 744 | drivers/char/n_tty.c | unsigned char *buf, unsigned int nr) |
nr | 845 | drivers/char/n_tty.c | nr--; |
nr | 866 | drivers/char/n_tty.c | if (--nr) |
nr | 875 | drivers/char/n_tty.c | nr--; |
nr | 881 | drivers/char/n_tty.c | copy_from_read_buf(tty, &b, &nr); |
nr | 882 | drivers/char/n_tty.c | copy_from_read_buf(tty, &b, &nr); |
nr | 893 | drivers/char/n_tty.c | if (b - buf >= minimum || !nr) |
nr | 906 | drivers/char/n_tty.c | if (size && nr) |
nr | 916 | drivers/char/n_tty.c | unsigned char * buf, unsigned int nr) |
nr | 942 | drivers/char/n_tty.c | while (nr > 0) { |
nr | 946 | drivers/char/n_tty.c | b++; nr--; |
nr | 951 | drivers/char/n_tty.c | c = tty->driver.write(tty, 1, b, nr); |
nr | 953 | drivers/char/n_tty.c | nr -= c; |
nr | 955 | drivers/char/n_tty.c | if (!nr) |
nr | 201 | drivers/char/tty_ioctl.c | int nr, head, tail; |
nr | 207 | drivers/char/tty_ioctl.c | nr = (head - tail) & (N_TTY_BUF_SIZE-1); |
nr | 212 | drivers/char/tty_ioctl.c | nr--; |
nr | 215 | drivers/char/tty_ioctl.c | return nr; |
nr | 1226 | drivers/net/ppp.c | ppp_read(struct tty_struct *tty, struct file *file, unsigned char *buf, unsigned int nr) |
nr | 1241 | drivers/net/ppp.c | nr)); |
nr | 1264 | drivers/net/ppp.c | if (len + 2 > nr) { |
nr | 1268 | drivers/net/ppp.c | nr, len+2)); |
nr | 1327 | drivers/net/ppp.c | ppp_write(struct tty_struct *tty, struct file *file, unsigned char *buf, unsigned int nr) |
nr | 1342 | drivers/net/ppp.c | if (nr > ppp->mtu) { |
nr | 1345 | drivers/net/ppp.c | nr, ppp->mtu)); |
nr | 1346 | drivers/net/ppp.c | nr = ppp->mtu; |
nr | 1350 | drivers/net/ppp.c | ppp_print_buffer ("write frame", buf, nr, USER_DS); |
nr | 1376 | drivers/net/ppp.c | i = nr; |
nr | 1398 | drivers/net/ppp.c | return((int)nr); |
nr | 107 | drivers/scsi/in2000.c | #define port_read(port,buf,nr) \ |
nr | 108 | drivers/scsi/in2000.c | __asm__("cld;rep;insw": :"d" (port),"D" (buf),"c" (nr):"cx","di") |
nr | 110 | drivers/scsi/in2000.c | #define port_write(port,buf,nr) \ |
nr | 111 | drivers/scsi/in2000.c | __asm__("cld;rep;outsw": :"d" (port),"S" (buf),"c" (nr):"cx","si") |
nr | 151 | drivers/sound/configure.c | can_select_option (int nr) |
nr | 153 | drivers/sound/configure.c | switch (nr) |
nr | 179 | drivers/sound/configure.c | if (hw_table[nr].conditions) |
nr | 180 | drivers/sound/configure.c | if (!(hw_table[nr].conditions & selected_options)) |
nr | 183 | drivers/sound/configure.c | if (hw_table[nr].exclusive_options) |
nr | 184 | drivers/sound/configure.c | if (hw_table[nr].exclusive_options & selected_options) |
nr | 187 | drivers/sound/configure.c | if (DISABLED_OPTIONS & B (nr)) |
nr | 149 | fs/exec.c | #define DUMP_WRITE(addr,nr) \ |
nr | 150 | fs/exec.c | while (file.f_op->write(inode,&file,(char *)(addr),(nr)) != (nr)) goto close_coredump |
nr | 164 | fs/ext/inode.c | #define inode_bmap(inode,nr) ((inode)->u.ext_i.i_data[(nr)]) |
nr | 166 | fs/ext/inode.c | static int block_bmap(struct buffer_head * bh, int nr) |
nr | 172 | fs/ext/inode.c | tmp = ((unsigned long *) bh->b_data)[nr]; |
nr | 221 | fs/ext/inode.c | static struct buffer_head * inode_getblk(struct inode * inode, int nr, int create) |
nr | 227 | fs/ext/inode.c | p = inode->u.ext_i.i_data + nr; |
nr | 255 | fs/ext/inode.c | struct buffer_head * bh, int nr, int create) |
nr | 271 | fs/ext/inode.c | p = nr + (unsigned long *) bh->b_data; |
nr | 42 | fs/ext2/inode.c | #define inode_bmap(inode, nr) ((inode)->u.ext2_i.i_data[(nr)]) |
nr | 44 | fs/ext2/inode.c | static int block_bmap (struct buffer_head * bh, int nr) |
nr | 50 | fs/ext2/inode.c | tmp = ((u32 *) bh->b_data)[nr]; |
nr | 183 | fs/ext2/inode.c | static struct buffer_head * inode_getblk (struct inode * inode, int nr, |
nr | 191 | fs/ext2/inode.c | p = inode->u.ext2_i.i_data + nr; |
nr | 213 | fs/ext2/inode.c | for (tmp = nr - 1; tmp >= 0; tmp--) { |
nr | 249 | fs/ext2/inode.c | struct buffer_head * bh, int nr, |
nr | 268 | fs/ext2/inode.c | p = (u32 *) bh->b_data + nr; |
nr | 290 | fs/ext2/inode.c | for (tmp = nr - 1; tmp >= 0; tmp--) { |
nr | 326 | fs/ext2/inode.c | int nr, |
nr | 338 | fs/ext2/inode.c | if(nr % (PAGE_SIZE / inode->i_sb->s_blocksize) != 0) goto out; |
nr | 339 | fs/ext2/inode.c | if(nr + 3 > EXT2_ADDR_PER_BLOCK(inode->i_sb)) goto out; |
nr | 342 | fs/ext2/inode.c | p = (u32 *) bh->b_data + nr + i; |
nr | 352 | fs/ext2/inode.c | p = (u32 *) bh->b_data + nr; |
nr | 499 | fs/inode.c | struct inode * __iget(struct super_block * sb, int nr, int crossmntp) |
nr | 508 | fs/inode.c | h = hash(sb->s_dev, nr); |
nr | 511 | fs/inode.c | if (inode->i_dev == sb->s_dev && inode->i_ino == nr) |
nr | 525 | fs/inode.c | inode->i_ino = nr; |
nr | 537 | fs/inode.c | if (inode->i_dev != sb->s_dev || inode->i_ino != nr) { |
nr | 245 | fs/minix/inode.c | #define inode_bmap(inode,nr) ((inode)->u.minix_i.i_data[(nr)]) |
nr | 247 | fs/minix/inode.c | static int block_bmap(struct buffer_head * bh, int nr) |
nr | 253 | fs/minix/inode.c | tmp = ((unsigned short *) bh->b_data)[nr]; |
nr | 289 | fs/minix/inode.c | static struct buffer_head * inode_getblk(struct inode * inode, int nr, int create) |
nr | 295 | fs/minix/inode.c | p = inode->u.minix_i.i_data + nr; |
nr | 323 | fs/minix/inode.c | struct buffer_head * bh, int nr, int create) |
nr | 339 | fs/minix/inode.c | p = nr + (unsigned short *) bh->b_data; |
nr | 24 | fs/msdos/fat.c | int fat_access(struct super_block *sb,int nr,int new_value) |
nr | 30 | fs/msdos/fat.c | if ((unsigned) (nr-2) >= MSDOS_SB(sb)->clusters) return 0; |
nr | 31 | fs/msdos/fat.c | if (MSDOS_SB(sb)->fat_bits == 16) first = last = nr*2; |
nr | 33 | fs/msdos/fat.c | first = nr*3/2; |
nr | 61 | fs/msdos/fat.c | if (nr & 1) next = ((*p_first >> 4) | (*p_last << 4)) & 0xfff; |
nr | 70 | fs/msdos/fat.c | if (nr & 1) { |
nr | 226 | fs/msdos/fat.c | int nr,count; |
nr | 228 | fs/msdos/fat.c | if (!(nr = MSDOS_I(inode)->i_start)) return 0; |
nr | 229 | fs/msdos/fat.c | if (!cluster) return nr; |
nr | 231 | fs/msdos/fat.c | for (cache_lookup(inode,cluster,&count,&nr); count < cluster; |
nr | 233 | fs/msdos/fat.c | if ((nr = fat_access(inode->i_sb,nr,-1)) == -1) return 0; |
nr | 234 | fs/msdos/fat.c | if (!nr) return 0; |
nr | 236 | fs/msdos/fat.c | cache_add(inode,cluster,nr); |
nr | 237 | fs/msdos/fat.c | return nr; |
nr | 264 | fs/msdos/fat.c | int nr,last; |
nr | 266 | fs/msdos/fat.c | if (!(nr = MSDOS_I(inode)->i_start)) return 0; |
nr | 269 | fs/msdos/fat.c | last = nr; |
nr | 270 | fs/msdos/fat.c | if ((nr = fat_access(inode->i_sb,nr,-1)) == -1) return 0; |
nr | 271 | fs/msdos/fat.c | if (!nr) { |
nr | 284 | fs/msdos/fat.c | while (nr != -1) { |
nr | 285 | fs/msdos/fat.c | if (!(nr = fat_access(inode->i_sb,nr,0))) { |
nr | 314 | fs/msdos/inode.c | int free,nr; |
nr | 324 | fs/msdos/inode.c | for (nr = 2; nr < MSDOS_SB(sb)->clusters+2; nr++) |
nr | 325 | fs/msdos/inode.c | if (!fat_access(sb,nr,-1)) free++; |
nr | 358 | fs/msdos/inode.c | int nr; |
nr | 404 | fs/msdos/inode.c | if ((nr = CF_LE_W(raw_entry->start)) != 0) |
nr | 405 | fs/msdos/inode.c | while (nr != -1) { |
nr | 408 | fs/msdos/inode.c | if (!(nr = fat_access(inode->i_sb,nr,-1))) { |
nr | 121 | fs/msdos/misc.c | int count,nr,limit,last,current,sector,last_sector,file_cluster; |
nr | 129 | fs/msdos/misc.c | nr = limit; /* to keep GCC happy */ |
nr | 131 | fs/msdos/misc.c | nr = ((count+MSDOS_SB(inode->i_sb)->prev_free) % limit)+2; |
nr | 132 | fs/msdos/misc.c | if (fat_access(inode->i_sb,nr,-1) == 0) break; |
nr | 136 | fs/msdos/misc.c | printk("free cluster: %d\n",nr); |
nr | 145 | fs/msdos/misc.c | fat_access(inode->i_sb,nr,MSDOS_SB(inode->i_sb)->fat_bits == 12 ? |
nr | 151 | fs/msdos/misc.c | printk("set to %x\n",fat_access(inode->i_sb,nr,-1)); |
nr | 182 | fs/msdos/misc.c | if (last) fat_access(inode->i_sb,last,nr); |
nr | 184 | fs/msdos/misc.c | MSDOS_I(inode)->i_start = nr; |
nr | 190 | fs/msdos/misc.c | sector = MSDOS_SB(inode->i_sb)->data_start+(nr-2)*cluster_size; |
nr | 209 | fs/msdos/misc.c | cache_add(inode,file_cluster,nr); |
nr | 481 | fs/msdos/misc.c | int error,current,prev,nr; |
nr | 491 | fs/msdos/misc.c | if (!current) nr = MSDOS_ROOT_INO; |
nr | 498 | fs/msdos/misc.c | if ((error = raw_scan(dir->i_sb,prev,NULL,¤t,&nr,NULL, |
nr | 505 | fs/msdos/misc.c | return nr; |
nr | 40 | fs/nfs/sock.c | #define _S(nr) (1<<((nr)-1)) |
nr | 111 | fs/nfs/sock.c | wait_table.nr = 0; |
nr | 155 | fs/nfs/sock.c | else if (wait_table.nr) |
nr | 148 | fs/proc/root.c | unsigned int nr,pid; |
nr | 154 | fs/proc/root.c | nr = filp->f_pos; |
nr | 155 | fs/proc/root.c | if (nr < NR_ROOT_DIRENTRY) { |
nr | 156 | fs/proc/root.c | struct proc_dir_entry * de = root_dir + nr; |
nr | 168 | fs/proc/root.c | nr -= NR_ROOT_DIRENTRY; |
nr | 169 | fs/proc/root.c | if (nr >= NR_TASKS) |
nr | 172 | fs/proc/root.c | p = task[nr]; |
nr | 50 | fs/select.c | struct select_table_entry * entry = p->entry + p->nr; |
nr | 52 | fs/select.c | while (p->nr > 0) { |
nr | 53 | fs/select.c | p->nr--; |
nr | 120 | fs/select.c | wait_table.nr = 0; |
nr | 157 | fs/select.c | static int __get_fd_set(int nr, unsigned long * fs_pointer, unsigned long * fdset) |
nr | 167 | fs/select.c | while (nr > 0) { |
nr | 171 | fs/select.c | nr -= 32; |
nr | 176 | fs/select.c | static void __set_fd_set(int nr, unsigned long * fs_pointer, unsigned long * fdset) |
nr | 180 | fs/select.c | while (nr > 0) { |
nr | 184 | fs/select.c | nr -= 32; |
nr | 188 | fs/select.c | #define get_fd_set(nr,fsp,fdp) \ |
nr | 189 | fs/select.c | __get_fd_set(nr, (unsigned long *) (fsp), (unsigned long *) (fdp)) |
nr | 191 | fs/select.c | #define set_fd_set(nr,fsp,fdp) \ |
nr | 192 | fs/select.c | __set_fd_set(nr, (unsigned long *) (fsp), (unsigned long *) (fdp)) |
nr | 558 | fs/sysv/inode.c | static inline int inode_bmap(struct super_block * sb, struct inode * inode, int nr) |
nr | 560 | fs/sysv/inode.c | int tmp = inode->u.sysv_i.i_data[nr]; |
nr | 566 | fs/sysv/inode.c | static int block_bmap(struct super_block * sb, struct buffer_head * bh, int nr, int convert) |
nr | 572 | fs/sysv/inode.c | tmp = ((sysv_zone_t *) bh->b_data) [nr]; |
nr | 641 | fs/sysv/inode.c | static struct buffer_head * inode_getblk(struct inode * inode, int nr, int create) |
nr | 649 | fs/sysv/inode.c | p = inode->u.sysv_i.i_data + nr; |
nr | 677 | fs/sysv/inode.c | struct buffer_head * bh, int nr, int create) |
nr | 695 | fs/sysv/inode.c | p = nr + (sysv_zone_t *) bh->b_data; |
nr | 190 | fs/xiafs/inode.c | static int zone_bmap(struct buffer_head * bh, int nr) |
nr | 196 | fs/xiafs/inode.c | tmp = ((u_long *) bh->b_data)[nr]; |
nr | 281 | fs/xiafs/inode.c | int nr, int create, u_long prev_addr) |
nr | 297 | fs/xiafs/inode.c | lp = nr + (u_long *) bh->b_data; |
nr | 16 | include/asm-alpha/bitops.h | extern __inline__ unsigned long set_bit(unsigned long nr, void * addr) |
nr | 31 | include/asm-alpha/bitops.h | "=m" (((unsigned long *) addr)[nr >> 6]), |
nr | 33 | include/asm-alpha/bitops.h | :"r" (1UL << (nr & 63)), |
nr | 34 | include/asm-alpha/bitops.h | "m" (((unsigned long *) addr)[nr >> 6])); |
nr | 38 | include/asm-alpha/bitops.h | extern __inline__ unsigned long clear_bit(unsigned long nr, void * addr) |
nr | 53 | include/asm-alpha/bitops.h | "=m" (((unsigned long *) addr)[nr >> 6]), |
nr | 55 | include/asm-alpha/bitops.h | :"r" (1UL << (nr & 63)), |
nr | 56 | include/asm-alpha/bitops.h | "m" (((unsigned long *) addr)[nr >> 6])); |
nr | 60 | include/asm-alpha/bitops.h | extern __inline__ unsigned long change_bit(unsigned long nr, void * addr) |
nr | 73 | include/asm-alpha/bitops.h | "=m" (((unsigned long *) addr)[nr >> 6]), |
nr | 75 | include/asm-alpha/bitops.h | :"r" (1UL << (nr & 63)), |
nr | 76 | include/asm-alpha/bitops.h | "m" (((unsigned long *) addr)[nr >> 6])); |
nr | 80 | include/asm-alpha/bitops.h | extern __inline__ unsigned long test_bit(int nr, void * addr) |
nr | 82 | include/asm-alpha/bitops.h | return 1UL & (((unsigned long *) addr)[nr >> 6] >> (nr & 63)); |
nr | 43 | include/asm-alpha/irq.h | #define IRQ_NAME2(nr) nr##_interrupt(void) |
nr | 44 | include/asm-alpha/irq.h | #define IRQ_NAME(nr) IRQ_NAME2(IRQ##nr) |
nr | 45 | include/asm-alpha/irq.h | #define FAST_IRQ_NAME(nr) IRQ_NAME2(fast_IRQ##nr) |
nr | 46 | include/asm-alpha/irq.h | #define BAD_IRQ_NAME(nr) IRQ_NAME2(bad_IRQ##nr) |
nr | 48 | include/asm-alpha/irq.h | #define BUILD_IRQ(chip,nr,mask) \ |
nr | 49 | include/asm-alpha/irq.h | asmlinkage void IRQ_NAME(nr); \ |
nr | 50 | include/asm-alpha/irq.h | asmlinkage void FAST_IRQ_NAME(nr); \ |
nr | 51 | include/asm-alpha/irq.h | asmlinkage void BAD_IRQ_NAME(nr); \ |
nr | 110 | include/asm-alpha/unistd.h | static inline int write(int fd, const char * buf, int nr) |
nr | 112 | include/asm-alpha/unistd.h | return sys_write(fd, buf, nr); |
nr | 116 | include/asm-alpha/unistd.h | static inline int read(int fd, char * buf, int nr) |
nr | 118 | include/asm-alpha/unistd.h | int res = sys_read(fd, buf, nr); |
nr | 119 | include/asm-alpha/unistd.h | printk("[%d]read(%d,%s,%d)=%d\n",current->pid, fd, buf, nr, res); |
nr | 19 | include/asm-generic/bitops.h | extern __inline__ int set_bit(int nr,int * addr) |
nr | 23 | include/asm-generic/bitops.h | addr += nr >> 5; |
nr | 24 | include/asm-generic/bitops.h | mask = 1 << (nr & 0x1f); |
nr | 32 | include/asm-generic/bitops.h | extern __inline__ int clear_bit(int nr, int * addr) |
nr | 36 | include/asm-generic/bitops.h | addr += nr >> 5; |
nr | 37 | include/asm-generic/bitops.h | mask = 1 << (nr & 0x1f); |
nr | 45 | include/asm-generic/bitops.h | extern __inline__ int test_bit(int nr, int * addr) |
nr | 49 | include/asm-generic/bitops.h | addr += nr >> 5; |
nr | 50 | include/asm-generic/bitops.h | mask = 1 << (nr & 0x1f); |
nr | 22 | include/asm-i386/bitops.h | extern __inline__ int set_bit(int nr, void * addr) |
nr | 28 | include/asm-i386/bitops.h | :"r" (nr)); |
nr | 32 | include/asm-i386/bitops.h | extern __inline__ int clear_bit(int nr, void * addr) |
nr | 38 | include/asm-i386/bitops.h | :"r" (nr)); |
nr | 42 | include/asm-i386/bitops.h | extern __inline__ int change_bit(int nr, void * addr) |
nr | 48 | include/asm-i386/bitops.h | :"r" (nr)); |
nr | 56 | include/asm-i386/bitops.h | extern __inline__ int test_bit(int nr, void * addr) |
nr | 62 | include/asm-i386/bitops.h | :"m" (ADDR),"r" (nr)); |
nr | 121 | include/asm-i386/irq.h | #define IRQ_NAME2(nr) nr##_interrupt(void) |
nr | 122 | include/asm-i386/irq.h | #define IRQ_NAME(nr) IRQ_NAME2(IRQ##nr) |
nr | 123 | include/asm-i386/irq.h | #define FAST_IRQ_NAME(nr) IRQ_NAME2(fast_IRQ##nr) |
nr | 124 | include/asm-i386/irq.h | #define BAD_IRQ_NAME(nr) IRQ_NAME2(bad_IRQ##nr) |
nr | 126 | include/asm-i386/irq.h | #define BUILD_IRQ(chip,nr,mask) \ |
nr | 127 | include/asm-i386/irq.h | asmlinkage void IRQ_NAME(nr); \ |
nr | 128 | include/asm-i386/irq.h | asmlinkage void FAST_IRQ_NAME(nr); \ |
nr | 129 | include/asm-i386/irq.h | asmlinkage void BAD_IRQ_NAME(nr); \ |
nr | 132 | include/asm-i386/irq.h | "_IRQ" #nr "_interrupt:\n\t" \ |
nr | 133 | include/asm-i386/irq.h | "pushl $-"#nr"-2\n\t" \ |
nr | 140 | include/asm-i386/irq.h | "pushl $" #nr "\n\t" \ |
nr | 148 | include/asm-i386/irq.h | "_fast_IRQ" #nr "_interrupt:\n\t" \ |
nr | 152 | include/asm-i386/irq.h | "pushl $" #nr "\n\t" \ |
nr | 160 | include/asm-i386/irq.h | "_bad_IRQ" #nr "_interrupt:\n\t" \ |
nr | 20 | include/asm-m68k/bitops.h | extern __inline__ int set_bit(int nr,void * vaddr) |
nr | 25 | include/asm-m68k/bitops.h | : "=d" (retval) : "d" (nr), "a" (vaddr)); |
nr | 30 | include/asm-m68k/bitops.h | extern __inline__ int clear_bit(int nr, void * vaddr) |
nr | 35 | include/asm-m68k/bitops.h | : "=d" (retval) : "d" (nr), "a" (vaddr)); |
nr | 40 | include/asm-m68k/bitops.h | extern __inline__ int change_bit(int nr, void * vaddr) |
nr | 45 | include/asm-m68k/bitops.h | : "=d" (retval) : "d" (nr), "a" (vaddr)); |
nr | 50 | include/asm-m68k/bitops.h | extern __inline__ int test_bit(int nr, const void * vaddr) |
nr | 55 | include/asm-m68k/bitops.h | : "=d" (retval) : "d" (nr), "a" (vaddr)); |
nr | 20 | include/asm-mips/bitops.h | extern __inline__ int set_bit(int nr, void *addr) |
nr | 24 | include/asm-mips/bitops.h | addr += ((nr >> 3) & ~3); |
nr | 25 | include/asm-mips/bitops.h | mask = 1 << (nr & 0x1f); |
nr | 35 | include/asm-mips/bitops.h | extern __inline__ int clear_bit(int nr, void *addr) |
nr | 39 | include/asm-mips/bitops.h | addr += ((nr >> 3) & ~3); |
nr | 40 | include/asm-mips/bitops.h | mask = 1 << (nr & 0x1f); |
nr | 50 | include/asm-mips/bitops.h | extern __inline__ int change_bit(int nr, void *addr) |
nr | 54 | include/asm-mips/bitops.h | addr += ((nr >> 3) & ~3); |
nr | 55 | include/asm-mips/bitops.h | mask = 1 << (nr & 0x1f); |
nr | 80 | include/asm-mips/bitops.h | extern __inline__ int set_bit(int nr, void * addr) |
nr | 86 | include/asm-mips/bitops.h | a += nr >> 5; |
nr | 87 | include/asm-mips/bitops.h | mask = 1 << (nr & 0x1f); |
nr | 97 | include/asm-mips/bitops.h | extern __inline__ int clear_bit(int nr, void * addr) |
nr | 103 | include/asm-mips/bitops.h | a += nr >> 5; |
nr | 104 | include/asm-mips/bitops.h | mask = 1 << (nr & 0x1f); |
nr | 114 | include/asm-mips/bitops.h | extern __inline__ int change_bit(int nr, void * addr) |
nr | 120 | include/asm-mips/bitops.h | a += nr >> 5; |
nr | 121 | include/asm-mips/bitops.h | mask = 1 << (nr & 0x1f); |
nr | 138 | include/asm-mips/bitops.h | extern __inline__ int test_bit(int nr, void *addr) |
nr | 144 | include/asm-mips/bitops.h | addr += nr >> 5; |
nr | 145 | include/asm-mips/bitops.h | mask = 1 << (nr & 0x1f); |
nr | 20 | include/asm-sparc/bitops.h | extern __inline__ unsigned int set_bit(unsigned int nr, void *addr) |
nr | 35 | include/asm-sparc/bitops.h | "r" (nr), "r" (psr=0)); |
nr | 41 | include/asm-sparc/bitops.h | extern __inline__ unsigned int clear_bit(unsigned int nr, void *addr) |
nr | 56 | include/asm-sparc/bitops.h | "r" (nr), "r" (psr=0)); |
nr | 62 | include/asm-sparc/bitops.h | extern __inline__ unsigned int change_bit(unsigned int nr, void *addr) |
nr | 77 | include/asm-sparc/bitops.h | "r" (nr), "r" (psr=0)); |
nr | 85 | include/asm-sparc/bitops.h | extern __inline__ unsigned int test_bit(int nr, void *addr) |
nr | 95 | include/asm-sparc/bitops.h | "r" (nr)); |
nr | 32 | include/asm-sparc/irq.h | #define IRQ_NAME2(nr) nr##_interrupt(void) |
nr | 33 | include/asm-sparc/irq.h | #define IRQ_NAME(nr) IRQ_NAME2(IRQ##nr) |
nr | 34 | include/asm-sparc/irq.h | #define FAST_IRQ_NAME(nr) IRQ_NAME2(fast_IRQ##nr) |
nr | 35 | include/asm-sparc/irq.h | #define BAD_IRQ_NAME(nr) IRQ_NAME2(bad_IRQ##nr) |
nr | 37 | include/asm-sparc/irq.h | #define BUILD_IRQ(chip,nr,mask) \ |
nr | 38 | include/asm-sparc/irq.h | asmlinkage void IRQ_NAME(nr); \ |
nr | 39 | include/asm-sparc/irq.h | asmlinkage void FAST_IRQ_NAME(nr); \ |
nr | 40 | include/asm-sparc/irq.h | asmlinkage void BAD_IRQ_NAME(nr); \ |
nr | 478 | include/linux/fs.h | extern struct inode * __iget(struct super_block * sb,int nr,int crsmnt); |
nr | 486 | include/linux/fs.h | extern void ll_rw_block(int rw, int nr, struct buffer_head * bh[]); |
nr | 487 | include/linux/fs.h | extern void ll_rw_page(int rw, int dev, int nr, char * buffer); |
nr | 521 | include/linux/fs.h | extern inline struct inode * iget(struct super_block * sb,int nr) |
nr | 523 | include/linux/fs.h | return __iget(sb,nr,1); |
nr | 33 | include/linux/interrupt.h | extern inline void mark_bh(int nr) |
nr | 35 | include/linux/interrupt.h | set_bit(nr, &bh_active); |
nr | 38 | include/linux/interrupt.h | extern inline void disable_bh(int nr) |
nr | 40 | include/linux/interrupt.h | clear_bit(nr, &bh_mask); |
nr | 43 | include/linux/interrupt.h | extern inline void enable_bh(int nr) |
nr | 45 | include/linux/interrupt.h | set_bit(nr, &bh_mask); |
nr | 71 | include/linux/mcd.h | #define READ_DATA(port, buf, nr) \ |
nr | 72 | include/linux/mcd.h | insb(port, buf, nr) |
nr | 205 | include/linux/mm.h | extern void rw_swap_page(int rw, unsigned long nr, char * buf); |
nr | 220 | include/linux/mm.h | #define read_swap_page(nr,buf) \ |
nr | 221 | include/linux/mm.h | rw_swap_page(READ,(nr),(buf)) |
nr | 222 | include/linux/mm.h | #define write_swap_page(nr,buf) \ |
nr | 223 | include/linux/mm.h | rw_swap_page(WRITE,(nr),(buf)) |
nr | 133 | include/linux/msdos_fs.h | extern int fat_access(struct super_block *sb,int nr,int new_value); |
nr | 332 | include/linux/sbpcd.h | #define READ_DATA(port, buf, nr) insb(port, buf, nr) |
nr | 356 | include/linux/sched.h | if (p->nr >= __MAX_SELECT_TABLE_ENTRIES) |
nr | 358 | include/linux/sched.h | entry = p->entry + p->nr; |
nr | 363 | include/linux/sched.h | p->nr++; |
nr | 23 | include/linux/tty_ldisc.h | unsigned char * buf, unsigned int nr); |
nr | 25 | include/linux/tty_ldisc.h | unsigned char * buf, unsigned int nr); |
nr | 30 | include/linux/wait.h | int nr; |
nr | 169 | kernel/fork.c | int nr; |
nr | 178 | kernel/fork.c | nr = find_empty_process(); |
nr | 179 | kernel/fork.c | if (nr < 0) |
nr | 206 | kernel/fork.c | task[nr] = p; |
nr | 211 | kernel/fork.c | copy_thread(nr, clone_flags, usp, p, regs); |
nr | 225 | kernel/fork.c | task[nr] = NULL; |
nr | 74 | kernel/sched.c | #define _S(nr) (1<<((nr)-1)) |
nr | 396 | kernel/sched.c | unsigned long nr = 0; |
nr | 402 | kernel/sched.c | nr += FIXED_1; |
nr | 403 | kernel/sched.c | return nr; |
nr | 731 | kernel/sched.c | static void show_task(int nr,struct task_struct * p) |
nr | 736 | kernel/sched.c | printk("%-8s %3d ", p->comm, (p == current) ? -nr : nr); |
nr | 18 | kernel/signal.c | #define _S(nr) (1<<((nr)-1)) |
nr | 37 | mm/filemap.c | int nr[8]; |
nr | 44 | mm/filemap.c | p = nr; |
nr | 51 | mm/filemap.c | return bread_page(page, inode->i_dev, nr, inode->i_sb->s_blocksize, no_share); |
nr | 258 | mm/filemap.c | static int nr = 0; |
nr | 261 | mm/filemap.c | if (nr++ < 5) |
nr | 810 | mm/swap.c | unsigned long nr = 0; |
nr | 812 | mm/swap.c | nr ++; |
nr | 814 | mm/swap.c | total += nr * ((PAGE_SIZE>>10) << order); |
nr | 815 | mm/swap.c | printk("%lu*%lukB ", nr, (PAGE_SIZE>>10) << order); |
nr | 960 | mm/swap.c | int nr; |
nr | 965 | mm/swap.c | nr = 0; |
nr | 966 | mm/swap.c | while (nr < NR_TASKS) { |
nr | 967 | mm/swap.c | if (task[nr]) { |
nr | 968 | mm/swap.c | if (unuse_process(task[nr], type, page)) { |
nr | 975 | mm/swap.c | nr++; |