tag | line | file | source code |
nr | 49 | fs/exec.c | #define DUMP_WRITE(addr,nr) \ |
nr | 50 | fs/exec.c | while (file.f_op->write(inode,&file,(char *)(addr),(nr)) != (nr)) goto close_coredump |
nr | 161 | fs/ext/inode.c | #define inode_bmap(inode,nr) ((inode)->u.ext_i.i_data[(nr)]) |
nr | 163 | fs/ext/inode.c | static int block_bmap(struct buffer_head * bh, int nr) |
nr | 169 | fs/ext/inode.c | tmp = ((unsigned long *) bh->b_data)[nr]; |
nr | 218 | fs/ext/inode.c | static struct buffer_head * inode_getblk(struct inode * inode, int nr, int create) |
nr | 224 | fs/ext/inode.c | p = inode->u.ext_i.i_data + nr; |
nr | 252 | fs/ext/inode.c | struct buffer_head * bh, int nr, int create) |
nr | 268 | fs/ext/inode.c | p = nr + (unsigned long *) bh->b_data; |
nr | 357 | fs/ext2/inode.c | #define inode_bmap(inode, nr) ((inode)->u.ext2_i.i_data[(nr)]) |
nr | 359 | fs/ext2/inode.c | static int block_bmap (struct buffer_head * bh, int nr) |
nr | 365 | fs/ext2/inode.c | tmp = ((unsigned long *) bh->b_data)[nr]; |
nr | 425 | fs/ext2/inode.c | static struct buffer_head * inode_getblk (struct inode * inode, int nr, |
nr | 433 | fs/ext2/inode.c | p = inode->u.ext2_i.i_data + nr; |
nr | 455 | fs/ext2/inode.c | for (tmp = nr-1; tmp>=0; tmp--) { |
nr | 489 | fs/ext2/inode.c | struct buffer_head * bh, int nr, |
nr | 508 | fs/ext2/inode.c | p = nr + (unsigned long *) bh->b_data; |
nr | 530 | fs/ext2/inode.c | for (tmp = nr-1; tmp>=0; tmp--) { |
nr | 290 | fs/inode.c | struct inode * iget(struct super_block * sb,int nr) |
nr | 299 | fs/inode.c | if (inode->i_dev != sb->s_dev || inode->i_ino != nr) { |
nr | 304 | fs/inode.c | if (inode->i_dev != sb->s_dev || inode->i_ino != nr) { |
nr | 351 | fs/inode.c | inode->i_ino = nr; |
nr | 148 | fs/minix/inode.c | #define inode_bmap(inode,nr) ((inode)->u.minix_i.i_data[(nr)]) |
nr | 150 | fs/minix/inode.c | static int block_bmap(struct buffer_head * bh, int nr) |
nr | 156 | fs/minix/inode.c | tmp = ((unsigned short *) bh->b_data)[nr]; |
nr | 192 | fs/minix/inode.c | static struct buffer_head * inode_getblk(struct inode * inode, int nr, int create) |
nr | 198 | fs/minix/inode.c | p = inode->u.minix_i.i_data + nr; |
nr | 226 | fs/minix/inode.c | struct buffer_head * bh, int nr, int create) |
nr | 242 | fs/minix/inode.c | p = nr + (unsigned short *) bh->b_data; |
nr | 76 | fs/nfs/sock.c | wait_table.nr = 0; |
nr | 119 | fs/nfs/sock.c | else if (wait_table.nr) |
nr | 127 | fs/proc/root.c | unsigned int nr,pid; |
nr | 133 | fs/proc/root.c | nr = filp->f_pos; |
nr | 134 | fs/proc/root.c | if (nr < NR_ROOT_DIRENTRY) { |
nr | 135 | fs/proc/root.c | struct proc_dir_entry * de = root_dir + nr; |
nr | 147 | fs/proc/root.c | nr -= NR_ROOT_DIRENTRY; |
nr | 148 | fs/proc/root.c | if (nr >= NR_TASKS) |
nr | 151 | fs/proc/root.c | p = task[nr]; |
nr | 43 | fs/select.c | struct select_table_entry * entry = p->entry + p->nr; |
nr | 45 | fs/select.c | while (p->nr > 0) { |
nr | 46 | fs/select.c | p->nr--; |
nr | 114 | fs/select.c | wait_table.nr = 0; |
nr | 151 | fs/select.c | static int __get_fd_set(int nr, unsigned long * fs_pointer, unsigned long * fdset) |
nr | 161 | fs/select.c | while (nr > 0) { |
nr | 165 | fs/select.c | nr -= 32; |
nr | 170 | fs/select.c | static void __set_fd_set(int nr, unsigned long * fs_pointer, unsigned long * fdset) |
nr | 174 | fs/select.c | while (nr > 0) { |
nr | 178 | fs/select.c | nr -= 32; |
nr | 182 | fs/select.c | #define get_fd_set(nr,fsp,fdp) \ |
nr | 183 | fs/select.c | __get_fd_set(nr, (unsigned long *) (fsp), (unsigned long *) (fdp)) |
nr | 185 | fs/select.c | #define set_fd_set(nr,fsp,fdp) \ |
nr | 186 | fs/select.c | __set_fd_set(nr, (unsigned long *) (fsp), (unsigned long *) (fdp)) |
nr | 24 | fs/xiafs/bitmap.c | #define clear_bit(nr,addr) ({\ |
nr | 27 | fs/xiafs/bitmap.c | "=q" (res):"r" (nr),"m" (*(addr))); \ |
nr | 160 | fs/xiafs/inode.c | static int zone_bmap(struct buffer_head * bh, int nr) |
nr | 166 | fs/xiafs/inode.c | tmp = ((u_long *) bh->b_data)[nr]; |
nr | 251 | fs/xiafs/inode.c | int nr, int create, u_long prev_addr) |
nr | 267 | fs/xiafs/inode.c | lp = nr + (u_long *) bh->b_data; |
nr | 21 | include/asm/bitops.h | extern inline int set_bit(int nr, void * addr) |
nr | 27 | include/asm/bitops.h | :"r" (nr)); |
nr | 31 | include/asm/bitops.h | extern inline int clear_bit(int nr, void * addr) |
nr | 37 | include/asm/bitops.h | :"r" (nr)); |
nr | 45 | include/asm/bitops.h | extern inline int test_bit(int nr, void * addr) |
nr | 51 | include/asm/bitops.h | :"m" (ADDR),"r" (nr)); |
nr | 71 | include/asm/bitops.h | extern inline int set_bit(int nr,int * addr) |
nr | 75 | include/asm/bitops.h | addr += nr >> 5; |
nr | 76 | include/asm/bitops.h | mask = 1 << (nr & 0x1f); |
nr | 84 | include/asm/bitops.h | extern inline int clear_bit(int nr, int * addr) |
nr | 88 | include/asm/bitops.h | addr += nr >> 5; |
nr | 89 | include/asm/bitops.h | mask = 1 << (nr & 0x1f); |
nr | 97 | include/asm/bitops.h | extern inline int test_bit(int nr, int * addr) |
nr | 101 | include/asm/bitops.h | addr += nr >> 5; |
nr | 102 | include/asm/bitops.h | mask = 1 << (nr & 0x1f); |
nr | 110 | include/asm/irq.h | #define IRQ_NAME2(nr) nr##_interrupt(void) |
nr | 111 | include/asm/irq.h | #define IRQ_NAME(nr) IRQ_NAME2(IRQ##nr) |
nr | 112 | include/asm/irq.h | #define FAST_IRQ_NAME(nr) IRQ_NAME2(fast_IRQ##nr) |
nr | 113 | include/asm/irq.h | #define BAD_IRQ_NAME(nr) IRQ_NAME2(bad_IRQ##nr) |
nr | 115 | include/asm/irq.h | #define BUILD_IRQ(chip,nr,mask) \ |
nr | 116 | include/asm/irq.h | void IRQ_NAME(nr); \ |
nr | 117 | include/asm/irq.h | void FAST_IRQ_NAME(nr); \ |
nr | 118 | include/asm/irq.h | void BAD_IRQ_NAME(nr); \ |
nr | 121 | include/asm/irq.h | "_IRQ" #nr "_interrupt:\n\t" \ |
nr | 122 | include/asm/irq.h | "pushl $-"#nr"-2\n\t" \ |
nr | 129 | include/asm/irq.h | "pushl $" #nr "\n\t" \ |
nr | 150 | include/asm/irq.h | "_fast_IRQ" #nr "_interrupt:\n\t" \ |
nr | 154 | include/asm/irq.h | "pushl $" #nr "\n\t" \ |
nr | 178 | include/asm/irq.h | "_bad_IRQ" #nr "_interrupt:\n\t" \ |
nr | 9 | include/linux/fdreg.h | extern int ticks_to_floppy_on(unsigned int nr); |
nr | 10 | include/linux/fdreg.h | extern void floppy_on(unsigned int nr); |
nr | 11 | include/linux/fdreg.h | extern void floppy_off(unsigned int nr); |
nr | 12 | include/linux/fdreg.h | extern void floppy_select(unsigned int nr); |
nr | 13 | include/linux/fdreg.h | extern void floppy_deselect(unsigned int nr); |
nr | 358 | include/linux/fs.h | extern struct inode * iget(struct super_block * sb,int nr); |
nr | 365 | include/linux/fs.h | extern void ll_rw_block(int rw, int nr, struct buffer_head * bh[]); |
nr | 366 | include/linux/fs.h | extern void ll_rw_page(int rw, int dev, int nr, char * buffer); |
nr | 25 | include/linux/interrupt.h | extern inline void mark_bh(int nr) |
nr | 27 | include/linux/interrupt.h | __asm__ __volatile__("btsl %1,%0":"=m" (bh_active):"ir" (nr)); |
nr | 119 | include/linux/mm.h | extern void rw_swap_page(int rw, unsigned long nr, char * buf); |
nr | 121 | include/linux/mm.h | #define read_swap_page(nr,buf) \ |
nr | 122 | include/linux/mm.h | rw_swap_page(READ,(nr),(buf)) |
nr | 123 | include/linux/mm.h | #define write_swap_page(nr,buf) \ |
nr | 124 | include/linux/mm.h | rw_swap_page(WRITE,(nr),(buf)) |
nr | 426 | include/linux/sched.h | if (p->nr >= __MAX_SELECT_TABLE_ENTRIES) |
nr | 428 | include/linux/sched.h | entry = p->entry + p->nr; |
nr | 433 | include/linux/sched.h | p->nr++; |
nr | 239 | include/linux/tty.h | char * buf, int nr); |
nr | 241 | include/linux/tty.h | char * buf, int nr); |
nr | 322 | include/linux/tty.h | #define TTY_TABLE_IDX(nr) ((nr) ? (nr) : (fg_console+1)) |
nr | 323 | include/linux/tty.h | #define TTY_TABLE(nr) (tty_table[TTY_TABLE_IDX(nr)]) |
nr | 13 | include/linux/wait.h | int nr; |
nr | 150 | kernel/FPU-emu/reg_compare.c | static void compare_st_st(int nr) |
nr | 152 | kernel/FPU-emu/reg_compare.c | int c = compare(&st(nr)); |
nr | 185 | kernel/FPU-emu/reg_compare.c | static void compare_u_st_st(int nr) |
nr | 188 | kernel/FPU-emu/reg_compare.c | int c = compare(&st(nr)); |
nr | 286 | kernel/blk_drv/floppy.c | void floppy_deselect(unsigned int nr) |
nr | 288 | kernel/blk_drv/floppy.c | if (nr != (current_DOR & 3)) |
nr | 519 | kernel/blk_drv/floppy.c | static void tell_sector(int nr) |
nr | 521 | kernel/blk_drv/floppy.c | if (nr!=7) { |
nr | 538 | kernel/blk_drv/floppy.c | int nr; |
nr | 541 | kernel/blk_drv/floppy.c | nr = result(); |
nr | 562 | kernel/blk_drv/floppy.c | tell_sector(nr); |
nr | 565 | kernel/blk_drv/floppy.c | tell_sector(nr); |
nr | 569 | kernel/blk_drv/floppy.c | tell_sector(nr); |
nr | 201 | kernel/blk_drv/genhd.c | int nr=0; |
nr | 209 | kernel/blk_drv/genhd.c | nr += p->nr_real; |
nr | 89 | kernel/blk_drv/hd.c | #define port_read(port,buf,nr) \ |
nr | 90 | kernel/blk_drv/hd.c | __asm__("cld;rep;insw"::"d" (port),"D" (buf),"c" (nr):"cx","di") |
nr | 92 | kernel/blk_drv/hd.c | #define port_write(port,buf,nr) \ |
nr | 93 | kernel/blk_drv/hd.c | __asm__("cld;rep;outsw"::"d" (port),"S" (buf),"c" (nr):"cx","si") |
nr | 266 | kernel/blk_drv/ll_rw_blk.c | void ll_rw_block(int rw, int nr, struct buffer_head * bh[]) |
nr | 278 | kernel/blk_drv/ll_rw_blk.c | nr--; |
nr | 279 | kernel/blk_drv/ll_rw_blk.c | if (nr <= 0) return; |
nr | 282 | kernel/blk_drv/ll_rw_blk.c | for(j=0;j<nr; j++){ |
nr | 286 | kernel/blk_drv/ll_rw_blk.c | for (i=0;i<nr; i++) |
nr | 295 | kernel/blk_drv/ll_rw_blk.c | for (i=0;i<nr; i++) |
nr | 301 | kernel/blk_drv/ll_rw_blk.c | for (i=0;i<nr; i++) |
nr | 311 | kernel/blk_drv/ll_rw_blk.c | if (!blk_dev[major].current_request && nr > 1) { |
nr | 318 | kernel/blk_drv/ll_rw_blk.c | for (i=0;i<nr; i++) |
nr | 776 | kernel/chr_drv/console.c | static void csi_at(int currcons, unsigned int nr) |
nr | 778 | kernel/chr_drv/console.c | if (nr > video_num_columns) |
nr | 779 | kernel/chr_drv/console.c | nr = video_num_columns; |
nr | 780 | kernel/chr_drv/console.c | else if (!nr) |
nr | 781 | kernel/chr_drv/console.c | nr = 1; |
nr | 782 | kernel/chr_drv/console.c | while (nr--) |
nr | 786 | kernel/chr_drv/console.c | static void csi_L(int currcons, unsigned int nr) |
nr | 788 | kernel/chr_drv/console.c | if (nr > video_num_lines) |
nr | 789 | kernel/chr_drv/console.c | nr = video_num_lines; |
nr | 790 | kernel/chr_drv/console.c | else if (!nr) |
nr | 791 | kernel/chr_drv/console.c | nr = 1; |
nr | 792 | kernel/chr_drv/console.c | while (nr--) |
nr | 796 | kernel/chr_drv/console.c | static void csi_P(int currcons, unsigned int nr) |
nr | 798 | kernel/chr_drv/console.c | if (nr > video_num_columns) |
nr | 799 | kernel/chr_drv/console.c | nr = video_num_columns; |
nr | 800 | kernel/chr_drv/console.c | else if (!nr) |
nr | 801 | kernel/chr_drv/console.c | nr = 1; |
nr | 802 | kernel/chr_drv/console.c | while (nr--) |
nr | 806 | kernel/chr_drv/console.c | static void csi_M(int currcons, unsigned int nr) |
nr | 808 | kernel/chr_drv/console.c | if (nr > video_num_lines) |
nr | 809 | kernel/chr_drv/console.c | nr = video_num_lines; |
nr | 810 | kernel/chr_drv/console.c | else if (!nr) |
nr | 811 | kernel/chr_drv/console.c | nr=1; |
nr | 812 | kernel/chr_drv/console.c | while (nr--) |
nr | 702 | kernel/chr_drv/tty_io.c | static int read_chan(struct tty_struct * tty, struct file * file, char * buf, int nr) |
nr | 736 | kernel/chr_drv/tty_io.c | if (minimum>nr) |
nr | 737 | kernel/chr_drv/tty_io.c | minimum = nr; |
nr | 749 | kernel/chr_drv/tty_io.c | nr--; |
nr | 752 | kernel/chr_drv/tty_io.c | if (nr == 0) |
nr | 756 | kernel/chr_drv/tty_io.c | while (nr>0) { |
nr | 764 | kernel/chr_drv/tty_io.c | while (nr > 0 && ((c = get_tty_queue(&tty->secondary)) >= 0)) { |
nr | 772 | kernel/chr_drv/tty_io.c | nr--; |
nr | 859 | kernel/chr_drv/tty_io.c | static int write_chan(struct tty_struct * tty, struct file * file, char * buf, int nr) |
nr | 864 | kernel/chr_drv/tty_io.c | if (nr < 0) |
nr | 866 | kernel/chr_drv/tty_io.c | if (!nr) |
nr | 869 | kernel/chr_drv/tty_io.c | while (nr>0) { |
nr | 887 | kernel/chr_drv/tty_io.c | while (nr>0 && !FULL(&tty->write_q)) { |
nr | 902 | kernel/chr_drv/tty_io.c | b++; nr--; |
nr | 74 | kernel/fork.c | int i,nr; |
nr | 80 | kernel/fork.c | nr = find_empty_process(); |
nr | 81 | kernel/fork.c | if (nr < 0) { |
nr | 83 | kernel/fork.c | return nr; |
nr | 85 | kernel/fork.c | task[nr] = p; |
nr | 125 | kernel/fork.c | p->tss.ldt = _LDT(nr); |
nr | 133 | kernel/fork.c | task[nr] = NULL; |
nr | 152 | kernel/fork.c | set_tss_desc(gdt+(nr<<1)+FIRST_TSS_ENTRY,&(p->tss)); |
nr | 153 | kernel/fork.c | set_ldt_desc(gdt+(nr<<1)+FIRST_LDT_ENTRY,&(p->ldt)); |
nr | 52 | kernel/irq.c | void do_bottom_half(int nr) |
nr | 56 | kernel/irq.c | bh = bh_base+nr; |
nr | 60 | kernel/irq.c | printk ("irq.c:bad bottom half entry (%d).\n",nr); |
nr | 38 | kernel/sched.c | #define _S(nr) (1<<((nr)-1)) |
nr | 250 | kernel/sched.c | int ticks_to_floppy_on(unsigned int nr) |
nr | 253 | kernel/sched.c | unsigned char mask = 0x10 << nr; |
nr | 255 | kernel/sched.c | if (nr>3) |
nr | 257 | kernel/sched.c | moff_timer[nr]=10000; /* 100 s = very big :-) */ |
nr | 262 | kernel/sched.c | mask |= nr; |
nr | 267 | kernel/sched.c | mon_timer[nr] = HZ/2; |
nr | 268 | kernel/sched.c | else if (mon_timer[nr] < 2) |
nr | 269 | kernel/sched.c | mon_timer[nr] = 2; |
nr | 273 | kernel/sched.c | return mon_timer[nr]; |
nr | 276 | kernel/sched.c | void floppy_off(unsigned int nr) |
nr | 278 | kernel/sched.c | moff_timer[nr]=3*HZ; |
nr | 364 | kernel/sched.c | unsigned long nr = 0; |
nr | 368 | kernel/sched.c | nr += FIXED_1; |
nr | 369 | kernel/sched.c | return nr; |
nr | 513 | kernel/sched.c | static void show_task(int nr,struct task_struct * p) |
nr | 518 | kernel/sched.c | printk("%d: pid=%d, state=%d, father=%d, child=%d, ",(p == current)?-nr:nr,p->pid, |
nr | 17 | kernel/signal.c | #define _S(nr) (1<<((nr)-1)) |
nr | 61 | kernel/traps.c | /*static*/ void die_if_kernel(char * str,long esp_ptr,long nr) |
nr | 68 | kernel/traps.c | printk("%s: %04x\n",str,nr&0xffff); |
nr | 785 | mm/memory.c | int nr[8], prot; |
nr | 855 | mm/memory.c | nr[i] = bmap(inode,block); |
nr | 856 | mm/memory.c | page = bread_page(page,inode->i_dev,nr,1024,prot); |
nr | 407 | mm/swap.c | #define REMOVE_FROM_MEM_QUEUE(queue,nr) \ |
nr | 414 | mm/swap.c | nr--; \ |
nr | 424 | mm/swap.c | nr = 0; \ |
nr | 425 | mm/swap.c | } else if (nr) { \ |
nr | 426 | mm/swap.c | printk(#nr " is %d, but " #queue " is empty\n",nr); \ |
nr | 427 | mm/swap.c | nr = 0; \ |
nr | 469 | mm/swap.c | int nr, pgt, pg; |
nr | 474 | mm/swap.c | nr = 0; |
nr | 480 | mm/swap.c | for (; nr < NR_TASKS ; nr++) { |
nr | 481 | mm/swap.c | p = task[nr]; |
nr | 490 | mm/swap.c | printk("try_to_unuse: bad page directory (%d,%d:%08x)\n",nr,pgt,page); |
nr | 503 | mm/swap.c | printk("try_to_unuse: bad page table (%d,%d,%d:%08x)\n",nr,pgt,pg,page); |