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 | 29 | fs/ext/bitmap.c | #define set_bit(nr,addr) ({\ |
nr | 32 | fs/ext/bitmap.c | "=q" (res):"r" (nr),"m" (*(addr))); \ |
nr | 35 | fs/ext/bitmap.c | #define clear_bit(nr,addr) ({\ |
nr | 38 | fs/ext/bitmap.c | "=q" (res):"r" (nr),"m" (*(addr))); \ |
nr | 81 | fs/ext/file.c | int read,left,chars,nr; |
nr | 110 | fs/ext/file.c | if (nr = ext_bmap(inode,block++)) { |
nr | 111 | fs/ext/file.c | *bhb = getblk(inode->i_dev,nr); |
nr | 202 | fs/inode.c | struct inode * iget(int dev,int nr) |
nr | 211 | fs/inode.c | if (inode->i_dev != dev || inode->i_ino != nr) { |
nr | 216 | fs/inode.c | if (inode->i_dev != dev || inode->i_ino != nr) { |
nr | 254 | fs/inode.c | inode->i_ino = nr; |
nr | 20 | fs/minix/bitmap.c | #define set_bit(nr,addr) ({\ |
nr | 23 | fs/minix/bitmap.c | "=q" (res):"r" (nr),"m" (*(addr))); \ |
nr | 26 | fs/minix/bitmap.c | #define clear_bit(nr,addr) ({\ |
nr | 29 | fs/minix/bitmap.c | "=q" (res):"r" (nr),"m" (*(addr))); \ |
nr | 81 | fs/minix/file.c | int read,left,chars,nr; |
nr | 110 | fs/minix/file.c | if (nr = minix_bmap(inode,block++)) { |
nr | 111 | fs/minix/file.c | *bhb = getblk(inode->i_dev,nr); |
nr | 364 | fs/minix/namei.c | int nr,block; |
nr | 381 | fs/minix/namei.c | nr = 2; |
nr | 383 | fs/minix/namei.c | while (nr<len) { |
nr | 386 | fs/minix/namei.c | block = minix_bmap(inode,nr/MINIX_DIR_ENTRIES_PER_BLOCK); |
nr | 388 | fs/minix/namei.c | nr += MINIX_DIR_ENTRIES_PER_BLOCK; |
nr | 400 | fs/minix/namei.c | nr++; |
nr | 46 | fs/select.c | for (i = 0 ; i < p->nr ; i++) |
nr | 50 | fs/select.c | p->entry[p->nr].wait_address = wait_address; |
nr | 51 | fs/select.c | p->entry[p->nr].old_task = *wait_address; |
nr | 53 | fs/select.c | p->nr++; |
nr | 68 | fs/select.c | if (!p->nr) |
nr | 70 | fs/select.c | for (i = 0; i < p->nr ; i++) { |
nr | 74 | fs/select.c | p->nr = 0; |
nr | 211 | fs/select.c | wait_table.nr = 0; |
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 | 134 | include/linux/fs.h | int nr, woken; |
nr | 235 | include/linux/fs.h | extern struct inode * iget(int dev,int nr); |
nr | 241 | include/linux/fs.h | extern void ll_rw_page(int rw, int dev, int nr, char * buffer); |
nr | 13 | include/linux/mm.h | extern void rw_swap_page(int rw, unsigned int nr, char * buf); |
nr | 15 | include/linux/mm.h | #define read_swap_page(nr,buf) \ |
nr | 16 | include/linux/mm.h | rw_swap_page(READ,(nr),(buf)) |
nr | 17 | include/linux/mm.h | #define write_swap_page(nr,buf) \ |
nr | 18 | include/linux/mm.h | rw_swap_page(WRITE,(nr),(buf)) |
nr | 151 | include/linux/tty.h | #define TTY_TABLE(nr) \ |
nr | 152 | include/linux/tty.h | (tty_table + ((nr) ? (((nr) < 64)? (nr)-1:(nr)) : fg_console)) |
nr | 237 | kernel/blk_drv/floppy.c | void floppy_deselect(unsigned int nr) |
nr | 239 | kernel/blk_drv/floppy.c | if (nr != (current_DOR & 3)) |
nr | 79 | kernel/blk_drv/hd.c | #define port_read(port,buf,nr) \ |
nr | 80 | kernel/blk_drv/hd.c | __asm__("cld;rep;insw"::"d" (port),"D" (buf),"c" (nr):"cx","di") |
nr | 82 | kernel/blk_drv/hd.c | #define port_write(port,buf,nr) \ |
nr | 83 | kernel/blk_drv/hd.c | __asm__("cld;rep;outsw"::"d" (port),"S" (buf),"c" (nr):"cx","si") |
nr | 773 | kernel/chr_drv/console.c | static void csi_at(int currcons, unsigned int nr) |
nr | 775 | kernel/chr_drv/console.c | if (nr > video_num_columns) |
nr | 776 | kernel/chr_drv/console.c | nr = video_num_columns; |
nr | 777 | kernel/chr_drv/console.c | else if (!nr) |
nr | 778 | kernel/chr_drv/console.c | nr = 1; |
nr | 779 | kernel/chr_drv/console.c | while (nr--) |
nr | 783 | kernel/chr_drv/console.c | static void csi_L(int currcons, unsigned int nr) |
nr | 785 | kernel/chr_drv/console.c | if (nr > video_num_lines) |
nr | 786 | kernel/chr_drv/console.c | nr = video_num_lines; |
nr | 787 | kernel/chr_drv/console.c | else if (!nr) |
nr | 788 | kernel/chr_drv/console.c | nr = 1; |
nr | 789 | kernel/chr_drv/console.c | while (nr--) |
nr | 793 | kernel/chr_drv/console.c | static void csi_P(int currcons, unsigned int nr) |
nr | 795 | kernel/chr_drv/console.c | if (nr > video_num_columns) |
nr | 796 | kernel/chr_drv/console.c | nr = video_num_columns; |
nr | 797 | kernel/chr_drv/console.c | else if (!nr) |
nr | 798 | kernel/chr_drv/console.c | nr = 1; |
nr | 799 | kernel/chr_drv/console.c | while (nr--) |
nr | 803 | kernel/chr_drv/console.c | static void csi_M(int currcons, unsigned int nr) |
nr | 805 | kernel/chr_drv/console.c | if (nr > video_num_lines) |
nr | 806 | kernel/chr_drv/console.c | nr = video_num_lines; |
nr | 807 | kernel/chr_drv/console.c | else if (!nr) |
nr | 808 | kernel/chr_drv/console.c | nr=1; |
nr | 809 | kernel/chr_drv/console.c | while (nr--) |
nr | 299 | kernel/chr_drv/tty_io.c | static int read_chan(unsigned int channel, struct file * file, char * buf, int nr) |
nr | 324 | kernel/chr_drv/tty_io.c | minimum = nr; |
nr | 330 | kernel/chr_drv/tty_io.c | minimum = nr; |
nr | 337 | kernel/chr_drv/tty_io.c | if (minimum>nr) |
nr | 338 | kernel/chr_drv/tty_io.c | minimum = nr; |
nr | 340 | kernel/chr_drv/tty_io.c | while (nr>0) { |
nr | 370 | kernel/chr_drv/tty_io.c | if (!--nr) |
nr | 375 | kernel/chr_drv/tty_io.c | } while (nr>0 && !EMPTY(tty->secondary)); |
nr | 396 | kernel/chr_drv/tty_io.c | static int write_chan(unsigned int channel, struct file * file, char * buf, int nr) |
nr | 411 | kernel/chr_drv/tty_io.c | if (nr < 0) |
nr | 413 | kernel/chr_drv/tty_io.c | if (!nr) |
nr | 419 | kernel/chr_drv/tty_io.c | while (nr>0) { |
nr | 430 | kernel/chr_drv/tty_io.c | while (nr>0 && !FULL(tty->write_q)) { |
nr | 445 | kernel/chr_drv/tty_io.c | b++; nr--; |
nr | 449 | kernel/chr_drv/tty_io.c | if (nr>0) |
nr | 39 | kernel/fork.c | int copy_mem(int nr,struct task_struct * p) |
nr | 56 | kernel/fork.c | new_data_base = new_code_base = nr * TASK_SIZE; |
nr | 95 | kernel/fork.c | int i,nr; |
nr | 101 | kernel/fork.c | nr = find_empty_process(); |
nr | 102 | kernel/fork.c | if (nr < 0) { |
nr | 104 | kernel/fork.c | return nr; |
nr | 106 | kernel/fork.c | task[nr] = p; |
nr | 143 | kernel/fork.c | p->tss.ldt = _LDT(nr); |
nr | 149 | kernel/fork.c | if (copy_mem(nr,p)) { |
nr | 150 | kernel/fork.c | task[nr] = NULL; |
nr | 167 | kernel/fork.c | set_tss_desc(gdt+(nr<<1)+FIRST_TSS_ENTRY,&(p->tss)); |
nr | 168 | kernel/fork.c | set_ldt_desc(gdt+(nr<<1)+FIRST_LDT_ENTRY,&(p->ldt)); |
nr | 28 | kernel/sched.c | #define _S(nr) (1<<((nr)-1)) |
nr | 31 | kernel/sched.c | static void show_task(int nr,struct task_struct * p) |
nr | 35 | kernel/sched.c | printk("%d: pid=%d, state=%d, father=%d, child=%d, ",nr,p->pid, |
nr | 248 | kernel/sched.c | int ticks_to_floppy_on(unsigned int nr) |
nr | 251 | kernel/sched.c | unsigned char mask = 0x10 << nr; |
nr | 253 | kernel/sched.c | if (nr>3) |
nr | 255 | kernel/sched.c | moff_timer[nr]=10000; /* 100 s = very big :-) */ |
nr | 260 | kernel/sched.c | mask |= nr; |
nr | 265 | kernel/sched.c | mon_timer[nr] = HZ/2; |
nr | 266 | kernel/sched.c | else if (mon_timer[nr] < 2) |
nr | 267 | kernel/sched.c | mon_timer[nr] = 2; |
nr | 271 | kernel/sched.c | return mon_timer[nr]; |
nr | 274 | kernel/sched.c | void floppy_off(unsigned int nr) |
nr | 276 | kernel/sched.c | moff_timer[nr]=3*HZ; |
nr | 64 | kernel/traps.c | static void die(char * str,long esp_ptr,long nr) |
nr | 69 | kernel/traps.c | printk("%s: %04x\n\r",str,nr&0xffff); |
nr | 79 | mm/memory.c | unsigned long * dir, nr; |
nr | 96 | mm/memory.c | for (nr=0 ; nr<1024 ; nr++,pg_table++) { |
nr | 137 | mm/memory.c | unsigned long nr; |
nr | 160 | mm/memory.c | nr = (from==0)?0xA0:1024; |
nr | 161 | mm/memory.c | for ( ; nr-- > 0 ; from_page_table++,to_page_table++) { |
nr | 618 | mm/memory.c | int nr[4]; |
nr | 697 | mm/memory.c | nr[i] = bmap(inode,block); |
nr | 698 | mm/memory.c | bread_page(page,inode->i_dev,nr); |
nr | 24 | mm/swap.c | static inline int name(char * addr,unsigned int nr) \ |
nr | 29 | mm/swap.c | :"r" (nr),"m" (*(addr)),"0" (0)); \ |
nr | 41 | mm/swap.c | void rw_swap_page(int rw, unsigned int nr, char * buf) |
nr | 47 | mm/swap.c | ll_rw_page(rw,swap_device,nr,buf); |
nr | 51 | mm/swap.c | nr <<= 2; |
nr | 53 | mm/swap.c | if (!(zones[i] = bmap(swap_file,nr++))) { |
nr | 73 | mm/swap.c | int nr; |
nr | 77 | mm/swap.c | for (nr = 1; nr < SWAP_BITS ; nr++) |
nr | 78 | mm/swap.c | if (clrbit(swap_bitmap,nr)) |
nr | 79 | mm/swap.c | return nr; |