tag | line | file | source code |
nr | 213 | drivers/FPU-emu/reg_compare.c | static int compare_st_st(int nr) |
nr | 217 | drivers/FPU-emu/reg_compare.c | if ( !NOT_EMPTY_0 || !NOT_EMPTY(nr) ) |
nr | 225 | drivers/FPU-emu/reg_compare.c | c = compare(&st(nr)); |
nr | 263 | drivers/FPU-emu/reg_compare.c | static int compare_u_st_st(int nr) |
nr | 267 | drivers/FPU-emu/reg_compare.c | if ( !NOT_EMPTY_0 || !NOT_EMPTY(nr) ) |
nr | 275 | drivers/FPU-emu/reg_compare.c | c = compare(&st(nr)); |
nr | 118 | drivers/block/blk.h | static void floppy_on(unsigned int nr); |
nr | 119 | drivers/block/blk.h | static void floppy_off(unsigned int nr); |
nr | 302 | drivers/block/floppy.c | static void floppy_select(unsigned int nr) |
nr | 320 | drivers/block/floppy.c | static void motor_on_callback(unsigned long nr) |
nr | 322 | drivers/block/floppy.c | running |= 0x10 << nr; |
nr | 323 | drivers/block/floppy.c | floppy_select(nr); |
nr | 333 | drivers/block/floppy.c | static void motor_off_callback(unsigned long nr) |
nr | 335 | drivers/block/floppy.c | unsigned char mask = ~(0x10 << nr); |
nr | 350 | drivers/block/floppy.c | static void floppy_on(unsigned int nr) |
nr | 352 | drivers/block/floppy.c | unsigned char mask = 0x10 << nr; |
nr | 354 | drivers/block/floppy.c | del_timer(motor_off_timer + nr); |
nr | 356 | drivers/block/floppy.c | floppy_select(nr); |
nr | 358 | drivers/block/floppy.c | del_timer(motor_on_timer + nr); |
nr | 359 | drivers/block/floppy.c | motor_on_timer[nr].expires = HZ; |
nr | 360 | drivers/block/floppy.c | add_timer(motor_on_timer + nr); |
nr | 364 | drivers/block/floppy.c | current_DOR |= nr; |
nr | 368 | drivers/block/floppy.c | static void floppy_off(unsigned int nr) |
nr | 370 | drivers/block/floppy.c | del_timer(motor_off_timer+nr); |
nr | 371 | drivers/block/floppy.c | motor_off_timer[nr].expires = 3*HZ; |
nr | 372 | drivers/block/floppy.c | add_timer(motor_off_timer+nr); |
nr | 599 | drivers/block/floppy.c | static void tell_sector(int nr) |
nr | 601 | drivers/block/floppy.c | if (nr!=7) { |
nr | 618 | drivers/block/floppy.c | int nr; |
nr | 621 | drivers/block/floppy.c | nr = result(); |
nr | 641 | drivers/block/floppy.c | tell_sector(nr); |
nr | 644 | drivers/block/floppy.c | tell_sector(nr); |
nr | 648 | drivers/block/floppy.c | tell_sector(nr); |
nr | 201 | drivers/block/genhd.c | int nr=0; |
nr | 209 | drivers/block/genhd.c | nr += p->nr_real; |
nr | 88 | drivers/block/hd.c | #define port_read(port,buf,nr) \ |
nr | 89 | drivers/block/hd.c | __asm__("cld;rep;insw": :"d" (port),"D" (buf),"c" (nr):"cx","di") |
nr | 91 | drivers/block/hd.c | #define port_write(port,buf,nr) \ |
nr | 92 | drivers/block/hd.c | __asm__("cld;rep;outsw": :"d" (port),"S" (buf),"c" (nr):"cx","si") |
nr | 338 | drivers/block/ll_rw_blk.c | void ll_rw_block(int rw, int nr, struct buffer_head * bh[]) |
nr | 350 | drivers/block/ll_rw_blk.c | if (--nr <= 0) |
nr | 373 | drivers/block/ll_rw_blk.c | for (i = 0; i < nr; i++) { |
nr | 394 | drivers/block/ll_rw_blk.c | if (!dev->current_request && nr > 1) { |
nr | 401 | drivers/block/ll_rw_blk.c | for (i = 0; i < nr; i++) { |
nr | 416 | drivers/block/ll_rw_blk.c | for (i = 0; i < nr; i++) { |
nr | 843 | drivers/char/console.c | static void csi_at(int currcons, unsigned int nr) |
nr | 845 | drivers/char/console.c | if (nr > video_num_columns) |
nr | 846 | drivers/char/console.c | nr = video_num_columns; |
nr | 847 | drivers/char/console.c | else if (!nr) |
nr | 848 | drivers/char/console.c | nr = 1; |
nr | 849 | drivers/char/console.c | while (nr--) |
nr | 853 | drivers/char/console.c | static void csi_L(int currcons, unsigned int nr) |
nr | 855 | drivers/char/console.c | if (nr > video_num_lines) |
nr | 856 | drivers/char/console.c | nr = video_num_lines; |
nr | 857 | drivers/char/console.c | else if (!nr) |
nr | 858 | drivers/char/console.c | nr = 1; |
nr | 859 | drivers/char/console.c | while (nr--) |
nr | 863 | drivers/char/console.c | static void csi_P(int currcons, unsigned int nr) |
nr | 865 | drivers/char/console.c | if (nr > video_num_columns) |
nr | 866 | drivers/char/console.c | nr = video_num_columns; |
nr | 867 | drivers/char/console.c | else if (!nr) |
nr | 868 | drivers/char/console.c | nr = 1; |
nr | 869 | drivers/char/console.c | while (nr--) |
nr | 873 | drivers/char/console.c | static void csi_M(int currcons, unsigned int nr) |
nr | 875 | drivers/char/console.c | if (nr > video_num_lines) |
nr | 876 | drivers/char/console.c | nr = video_num_lines; |
nr | 877 | drivers/char/console.c | else if (!nr) |
nr | 878 | drivers/char/console.c | nr=1; |
nr | 879 | drivers/char/console.c | while (nr--) |
nr | 758 | drivers/char/tty_io.c | static int read_chan(struct tty_struct * tty, struct file * file, char * buf, int nr) |
nr | 790 | drivers/char/tty_io.c | if (minimum>nr) |
nr | 791 | drivers/char/tty_io.c | minimum = nr; |
nr | 803 | drivers/char/tty_io.c | nr--; |
nr | 806 | drivers/char/tty_io.c | if (nr == 0) |
nr | 810 | drivers/char/tty_io.c | while (nr>0) { |
nr | 818 | drivers/char/tty_io.c | while (nr > 0 && ((c = get_tty_queue(&tty->secondary)) >= 0)) { |
nr | 826 | drivers/char/tty_io.c | nr--; |
nr | 925 | drivers/char/tty_io.c | static int write_chan(struct tty_struct * tty, struct file * file, char * buf, int nr) |
nr | 930 | drivers/char/tty_io.c | if (nr < 0) |
nr | 932 | drivers/char/tty_io.c | if (!nr) |
nr | 935 | drivers/char/tty_io.c | while (nr>0) { |
nr | 953 | drivers/char/tty_io.c | while (nr>0 && !FULL(&tty->write_q)) { |
nr | 965 | drivers/char/tty_io.c | b--; nr++; |
nr | 973 | drivers/char/tty_io.c | b++; nr--; |
nr | 989 | drivers/char/tty_io.c | b--; nr++; |
nr | 1003 | drivers/char/tty_io.c | b++; nr--; |
nr | 41 | drivers/net/3c509.c | #define port_read_l(port,buf,nr) \ |
nr | 42 | drivers/net/3c509.c | __asm__("cld;rep;insl": :"d" (port),"D" (buf),"c" (nr):"cx","di") |
nr | 43 | drivers/net/3c509.c | #define port_write_l(port,buf,nr) \ |
nr | 44 | drivers/net/3c509.c | __asm__("cld;rep;outsl": :"d" (port),"S" (buf),"c" (nr):"cx","si") |
nr | 118 | drivers/net/iow.h | #define port_read(port,buf,nr) \ |
nr | 119 | drivers/net/iow.h | __asm__("cld;rep;insw": :"d" (port),"D" (buf),"c" (nr):"cx","di") |
nr | 120 | drivers/net/iow.h | #define port_write(port,buf,nr) \ |
nr | 121 | drivers/net/iow.h | __asm__("cld;rep;outsw": :"d" (port),"S" (buf),"c" (nr):"cx","si") |
nr | 123 | drivers/net/iow.h | #define port_read_b(port,buf,nr) \ |
nr | 124 | drivers/net/iow.h | __asm__("cld;rep;insb": :"d" (port),"D" (buf),"c" (nr):"cx","di") |
nr | 125 | drivers/net/iow.h | #define port_write_b(port,buf,nr) \ |
nr | 126 | drivers/net/iow.h | __asm__("cld;rep;outsb": :"d" (port),"S" (buf),"c" (nr):"cx","si") |
nr | 133 | drivers/sound/configure.c | can_select_option (int nr) |
nr | 135 | drivers/sound/configure.c | switch (nr) |
nr | 161 | drivers/sound/configure.c | if (hw_table[nr].conditions) |
nr | 162 | drivers/sound/configure.c | if (!(hw_table[nr].conditions & selected_options)) |
nr | 165 | drivers/sound/configure.c | if (hw_table[nr].exclusive_options) |
nr | 166 | drivers/sound/configure.c | if (hw_table[nr].exclusive_options & selected_options) |
nr | 98 | fs/exec.c | #define DUMP_WRITE(addr,nr) \ |
nr | 99 | 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 | 38 | fs/ext2/inode.c | #define inode_bmap(inode, nr) ((inode)->u.ext2_i.i_data[(nr)]) |
nr | 40 | fs/ext2/inode.c | static int block_bmap (struct buffer_head * bh, int nr) |
nr | 46 | fs/ext2/inode.c | tmp = ((unsigned long *) bh->b_data)[nr]; |
nr | 106 | fs/ext2/inode.c | static struct buffer_head * inode_getblk (struct inode * inode, int nr, |
nr | 114 | fs/ext2/inode.c | p = inode->u.ext2_i.i_data + nr; |
nr | 136 | fs/ext2/inode.c | for (tmp = nr - 1; tmp >= 0; tmp--) { |
nr | 172 | fs/ext2/inode.c | struct buffer_head * bh, int nr, |
nr | 191 | fs/ext2/inode.c | p = (unsigned long *) bh->b_data + nr; |
nr | 213 | fs/ext2/inode.c | for (tmp = nr - 1; tmp >= 0; tmp--) { |
nr | 417 | fs/inode.c | struct inode * iget(struct super_block * sb,int nr) |
nr | 419 | fs/inode.c | return __iget(sb,nr,1); |
nr | 422 | fs/inode.c | struct inode * __iget(struct super_block * sb, int nr, int crossmntp) |
nr | 430 | fs/inode.c | inode = *(hash(sb->s_dev,nr)); |
nr | 432 | fs/inode.c | if (inode->i_dev != sb->s_dev || inode->i_ino != nr) { |
nr | 437 | fs/inode.c | if (inode->i_dev != sb->s_dev || inode->i_ino != nr) |
nr | 460 | fs/inode.c | inode->i_ino = nr; |
nr | 153 | fs/minix/inode.c | #define inode_bmap(inode,nr) ((inode)->u.minix_i.i_data[(nr)]) |
nr | 155 | fs/minix/inode.c | static int block_bmap(struct buffer_head * bh, int nr) |
nr | 161 | fs/minix/inode.c | tmp = ((unsigned short *) bh->b_data)[nr]; |
nr | 197 | fs/minix/inode.c | static struct buffer_head * inode_getblk(struct inode * inode, int nr, int create) |
nr | 203 | fs/minix/inode.c | p = inode->u.minix_i.i_data + nr; |
nr | 231 | fs/minix/inode.c | struct buffer_head * bh, int nr, int create) |
nr | 247 | fs/minix/inode.c | p = nr + (unsigned short *) bh->b_data; |
nr | 18 | fs/msdos/fat.c | int fat_access(struct super_block *sb,int nr,int new_value) |
nr | 25 | fs/msdos/fat.c | if ((unsigned) (nr-2) >= MSDOS_SB(sb)->clusters) return 0; |
nr | 26 | fs/msdos/fat.c | if (MSDOS_SB(sb)->fat_bits == 16) first = last = nr*2; |
nr | 28 | fs/msdos/fat.c | first = nr*3/2; |
nr | 58 | fs/msdos/fat.c | if (nr & 1) next = ((*p_first >> 4) | (*p_last << 4)) & 0xfff; |
nr | 67 | fs/msdos/fat.c | if (nr & 1) { |
nr | 223 | fs/msdos/fat.c | int nr,count; |
nr | 225 | fs/msdos/fat.c | if (!(nr = MSDOS_I(inode)->i_start)) return 0; |
nr | 226 | fs/msdos/fat.c | if (!cluster) return nr; |
nr | 228 | fs/msdos/fat.c | for (cache_lookup(inode,cluster,&count,&nr); count < cluster; |
nr | 230 | fs/msdos/fat.c | if ((nr = fat_access(inode->i_sb,nr,-1)) == -1) return 0; |
nr | 231 | fs/msdos/fat.c | if (!nr) return 0; |
nr | 233 | fs/msdos/fat.c | cache_add(inode,cluster,nr); |
nr | 234 | fs/msdos/fat.c | return nr; |
nr | 261 | fs/msdos/fat.c | int nr,last; |
nr | 263 | fs/msdos/fat.c | if (!(nr = MSDOS_I(inode)->i_start)) return 0; |
nr | 266 | fs/msdos/fat.c | last = nr; |
nr | 267 | fs/msdos/fat.c | if ((nr = fat_access(inode->i_sb,nr,-1)) == -1) return 0; |
nr | 268 | fs/msdos/fat.c | if (!nr) { |
nr | 281 | fs/msdos/fat.c | while (nr != -1) { |
nr | 282 | fs/msdos/fat.c | if (!(nr = fat_access(inode->i_sb,nr,0))) { |
nr | 264 | fs/msdos/inode.c | int free,nr; |
nr | 274 | fs/msdos/inode.c | for (nr = 2; nr < MSDOS_SB(sb)->clusters+2; nr++) |
nr | 275 | fs/msdos/inode.c | if (!fat_access(sb,nr,-1)) free++; |
nr | 309 | fs/msdos/inode.c | int nr; |
nr | 355 | fs/msdos/inode.c | if ((nr = CF_LE_W(raw_entry->start)) != 0) |
nr | 356 | fs/msdos/inode.c | while (nr != -1) { |
nr | 359 | fs/msdos/inode.c | if (!(nr = fat_access(inode->i_sb,nr,-1))) { |
nr | 111 | fs/msdos/misc.c | int count,nr,limit,last,current,sector; |
nr | 119 | fs/msdos/misc.c | nr = limit; /* to keep GCC happy */ |
nr | 121 | fs/msdos/misc.c | nr = ((count+MSDOS_SB(inode->i_sb)->prev_free) % limit)+2; |
nr | 122 | fs/msdos/misc.c | if (fat_access(inode->i_sb,nr,-1) == 0) break; |
nr | 125 | fs/msdos/misc.c | printk("free cluster: %d\n",nr); |
nr | 134 | fs/msdos/misc.c | fat_access(inode->i_sb,nr,MSDOS_SB(inode->i_sb)->fat_bits == 12 ? |
nr | 140 | fs/msdos/misc.c | printk("set to %x\n",fat_access(inode->i_sb,nr,-1)); |
nr | 155 | fs/msdos/misc.c | if (last) fat_access(inode->i_sb,last,nr); |
nr | 157 | fs/msdos/misc.c | MSDOS_I(inode)->i_start = nr; |
nr | 165 | fs/msdos/misc.c | sector = MSDOS_SB(inode->i_sb)->data_start+(nr-2)* |
nr | 458 | fs/msdos/misc.c | int error,current,prev,nr; |
nr | 468 | fs/msdos/misc.c | if (!current) nr = MSDOS_ROOT_INO; |
nr | 475 | fs/msdos/misc.c | if ((error = raw_scan(dir->i_sb,prev,NULL,¤t,&nr,NULL, |
nr | 482 | fs/msdos/misc.c | return nr; |
nr | 22 | fs/nfs/sock.c | #define _S(nr) (1<<((nr)-1)) |
nr | 90 | fs/nfs/sock.c | wait_table.nr = 0; |
nr | 128 | fs/nfs/sock.c | else if (wait_table.nr) |
nr | 134 | fs/proc/root.c | unsigned int nr,pid; |
nr | 140 | fs/proc/root.c | nr = filp->f_pos; |
nr | 141 | fs/proc/root.c | if (nr < NR_ROOT_DIRENTRY) { |
nr | 142 | fs/proc/root.c | struct proc_dir_entry * de = root_dir + nr; |
nr | 154 | fs/proc/root.c | nr -= NR_ROOT_DIRENTRY; |
nr | 155 | fs/proc/root.c | if (nr >= NR_TASKS) |
nr | 158 | 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 | 113 | fs/select.c | wait_table.nr = 0; |
nr | 150 | fs/select.c | static int __get_fd_set(int nr, unsigned long * fs_pointer, unsigned long * fdset) |
nr | 160 | fs/select.c | while (nr > 0) { |
nr | 164 | fs/select.c | nr -= 32; |
nr | 169 | fs/select.c | static void __set_fd_set(int nr, unsigned long * fs_pointer, unsigned long * fdset) |
nr | 173 | fs/select.c | while (nr > 0) { |
nr | 177 | fs/select.c | nr -= 32; |
nr | 181 | fs/select.c | #define get_fd_set(nr,fsp,fdp) \ |
nr | 182 | fs/select.c | __get_fd_set(nr, (unsigned long *) (fsp), (unsigned long *) (fdp)) |
nr | 184 | fs/select.c | #define set_fd_set(nr,fsp,fdp) \ |
nr | 185 | fs/select.c | __set_fd_set(nr, (unsigned long *) (fsp), (unsigned long *) (fdp)) |
nr | 389 | fs/sysv/inode.c | static inline int inode_bmap(struct super_block * sb, struct inode * inode, int nr) |
nr | 391 | fs/sysv/inode.c | int tmp = inode->u.sysv_i.i_data[nr]; |
nr | 397 | fs/sysv/inode.c | static int block_bmap(struct super_block * sb, struct buffer_head * bh, int nr, int convert) |
nr | 403 | fs/sysv/inode.c | tmp = ((sysv_zone_t *) bh->b_data) [nr]; |
nr | 472 | fs/sysv/inode.c | static struct buffer_head * inode_getblk(struct inode * inode, int nr, int create, char * *start) |
nr | 480 | fs/sysv/inode.c | p = inode->u.sysv_i.i_data + nr; |
nr | 511 | fs/sysv/inode.c | struct buffer_head * bh, int nr, int create, char * *start) |
nr | 529 | fs/sysv/inode.c | p = nr + (sysv_zone_t *) *start; |
nr | 24 | fs/xiafs/bitmap.c | #define clear_bit(nr,addr) ({\ |
nr | 27 | fs/xiafs/bitmap.c | "=q" (res):"r" (nr),"m" (*(addr))); \ |
nr | 174 | fs/xiafs/inode.c | static int zone_bmap(struct buffer_head * bh, int nr) |
nr | 180 | fs/xiafs/inode.c | tmp = ((u_long *) bh->b_data)[nr]; |
nr | 265 | fs/xiafs/inode.c | int nr, int create, u_long prev_addr) |
nr | 281 | fs/xiafs/inode.c | lp = nr + (u_long *) bh->b_data; |
nr | 22 | include/asm/bitops.h | extern __inline__ int set_bit(int nr, void * addr) |
nr | 28 | include/asm/bitops.h | :"r" (nr)); |
nr | 32 | include/asm/bitops.h | extern __inline__ int clear_bit(int nr, void * addr) |
nr | 38 | include/asm/bitops.h | :"r" (nr)); |
nr | 46 | include/asm/bitops.h | extern __inline__ int test_bit(int nr, void * addr) |
nr | 52 | include/asm/bitops.h | :"m" (ADDR),"r" (nr)); |
nr | 72 | include/asm/bitops.h | extern __inline__ int set_bit(int nr,int * addr) |
nr | 76 | include/asm/bitops.h | addr += nr >> 5; |
nr | 77 | include/asm/bitops.h | mask = 1 << (nr & 0x1f); |
nr | 85 | include/asm/bitops.h | extern __inline__ int clear_bit(int nr, int * addr) |
nr | 89 | include/asm/bitops.h | addr += nr >> 5; |
nr | 90 | include/asm/bitops.h | mask = 1 << (nr & 0x1f); |
nr | 98 | include/asm/bitops.h | extern __inline__ int test_bit(int nr, int * addr) |
nr | 102 | include/asm/bitops.h | addr += nr >> 5; |
nr | 103 | include/asm/bitops.h | mask = 1 << (nr & 0x1f); |
nr | 121 | include/asm/irq.h | #define IRQ_NAME2(nr) nr##_interrupt(void) |
nr | 122 | include/asm/irq.h | #define IRQ_NAME(nr) IRQ_NAME2(IRQ##nr) |
nr | 123 | include/asm/irq.h | #define FAST_IRQ_NAME(nr) IRQ_NAME2(fast_IRQ##nr) |
nr | 124 | include/asm/irq.h | #define BAD_IRQ_NAME(nr) IRQ_NAME2(bad_IRQ##nr) |
nr | 126 | include/asm/irq.h | #define BUILD_IRQ(chip,nr,mask) \ |
nr | 127 | include/asm/irq.h | asmlinkage void IRQ_NAME(nr); \ |
nr | 128 | include/asm/irq.h | asmlinkage void FAST_IRQ_NAME(nr); \ |
nr | 129 | include/asm/irq.h | asmlinkage void BAD_IRQ_NAME(nr); \ |
nr | 132 | include/asm/irq.h | "_IRQ" #nr "_interrupt:\n\t" \ |
nr | 133 | include/asm/irq.h | "pushl $-"#nr"-2\n\t" \ |
nr | 140 | include/asm/irq.h | "pushl $" #nr "\n\t" \ |
nr | 148 | include/asm/irq.h | "_fast_IRQ" #nr "_interrupt:\n\t" \ |
nr | 152 | include/asm/irq.h | "pushl $" #nr "\n\t" \ |
nr | 160 | include/asm/irq.h | "_bad_IRQ" #nr "_interrupt:\n\t" \ |
nr | 374 | include/linux/fs.h | extern struct inode * __iget(struct super_block * sb,int nr,int crsmnt); |
nr | 375 | include/linux/fs.h | extern struct inode * iget(struct super_block * sb,int nr); |
nr | 383 | include/linux/fs.h | extern void ll_rw_block(int rw, int nr, struct buffer_head * bh[]); |
nr | 384 | 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 | 30 | include/linux/interrupt.h | extern inline void disable_bh(int nr) |
nr | 32 | include/linux/interrupt.h | __asm__ __volatile__("btcl %1,%0":"=m" (bh_mask):"ir" (nr)); |
nr | 35 | include/linux/interrupt.h | extern inline void enable_bh(int nr) |
nr | 37 | include/linux/interrupt.h | __asm__ __volatile__("btsl %1,%0":"=m" (bh_mask):"ir" (nr)); |
nr | 70 | include/linux/mcd.h | #define READ_DATA(port, buf, nr) \ |
nr | 71 | include/linux/mcd.h | __asm__("cld;rep;insb": :"d" (port),"D" (buf),"c" (nr):"cx","di") |
nr | 125 | include/linux/mm.h | extern void rw_swap_page(int rw, unsigned long nr, char * buf); |
nr | 138 | include/linux/mm.h | #define read_swap_page(nr,buf) \ |
nr | 139 | include/linux/mm.h | rw_swap_page(READ,(nr),(buf)) |
nr | 140 | include/linux/mm.h | #define write_swap_page(nr,buf) \ |
nr | 141 | include/linux/mm.h | rw_swap_page(WRITE,(nr),(buf)) |
nr | 145 | include/linux/msdos_fs.h | extern int fat_access(struct super_block *sb,int nr,int new_value); |
nr | 462 | include/linux/sched.h | if (p->nr >= __MAX_SELECT_TABLE_ENTRIES) |
nr | 464 | include/linux/sched.h | entry = p->entry + p->nr; |
nr | 469 | include/linux/sched.h | p->nr++; |
nr | 257 | include/linux/tty.h | char * buf, int nr); |
nr | 259 | include/linux/tty.h | char * buf, int nr); |
nr | 345 | include/linux/tty.h | #define TTY_TABLE_IDX(nr) ((nr) ? (nr) : (fg_console+1)) |
nr | 346 | include/linux/tty.h | #define TTY_TABLE(nr) (tty_table[TTY_TABLE_IDX(nr)]) |
nr | 20 | include/linux/wait.h | int nr; |
nr | 127 | kernel/fork.c | int i,nr; |
nr | 133 | kernel/fork.c | nr = find_empty_process(); |
nr | 134 | kernel/fork.c | if (nr < 0) |
nr | 136 | kernel/fork.c | task[nr] = p; |
nr | 168 | kernel/fork.c | p->tss.tr = _TSS(nr); |
nr | 184 | kernel/fork.c | p->tss.ldt = _LDT(nr); |
nr | 214 | kernel/fork.c | set_tss_desc(gdt+(nr<<1)+FIRST_TSS_ENTRY,&(p->tss)); |
nr | 216 | kernel/fork.c | set_ldt_desc(gdt+(nr<<1)+FIRST_LDT_ENTRY,p->ldt, 512); |
nr | 218 | kernel/fork.c | set_ldt_desc(gdt+(nr<<1)+FIRST_LDT_ENTRY,&default_ldt, 1); |
nr | 224 | kernel/fork.c | task[nr] = NULL; |
nr | 74 | kernel/sched.c | #define _S(nr) (1<<((nr)-1)) |
nr | 446 | kernel/sched.c | unsigned long nr = 0; |
nr | 452 | kernel/sched.c | nr += FIXED_1; |
nr | 453 | kernel/sched.c | return nr; |
nr | 742 | kernel/sched.c | static void show_task(int nr,struct task_struct * p) |
nr | 746 | kernel/sched.c | printk("%-8s %3d ", p->comm, (p == current) ? -nr : nr); |
nr | 17 | kernel/signal.c | #define _S(nr) (1<<((nr)-1)) |
nr | 1161 | mm/memory.c | int nr[8]; |
nr | 1182 | mm/memory.c | nr[j] = bmap(inode,block); |
nr | 1185 | mm/memory.c | page = bread_page(page, inode->i_dev, nr, inode->i_sb->s_blocksize, prot); |
nr | 548 | mm/swap.c | #define REMOVE_FROM_MEM_QUEUE(queue,nr) \ |
nr | 555 | mm/swap.c | nr--; \ |
nr | 565 | mm/swap.c | nr = 0; \ |
nr | 566 | mm/swap.c | } else if (nr) { \ |
nr | 567 | mm/swap.c | printk(#nr " is %d, but " #queue " is empty\n",nr); \ |
nr | 568 | mm/swap.c | nr = 0; \ |
nr | 610 | mm/swap.c | int nr, pgt, pg; |
nr | 615 | mm/swap.c | nr = 0; |
nr | 621 | mm/swap.c | for (; nr < NR_TASKS ; nr++) { |
nr | 622 | mm/swap.c | p = task[nr]; |
nr | 48 | mm/vmalloc.c | static int free_area_pages(unsigned long dindex, unsigned long index, unsigned long nr) |
nr | 56 | mm/vmalloc.c | for ( ; nr > 0 ; nr--, pte++) { |
nr | 64 | mm/vmalloc.c | for (nr = 0 ; nr < 1024 ; nr++, pte++) |
nr | 73 | mm/vmalloc.c | static int alloc_area_pages(unsigned long dindex, unsigned long index, unsigned long nr) |
nr | 93 | mm/vmalloc.c | for ( ; nr > 0 ; nr--, pte++) { |
nr | 106 | mm/vmalloc.c | unsigned long nr, dindex, index; |
nr | 108 | mm/vmalloc.c | nr = size >> PAGE_SHIFT; |
nr | 111 | mm/vmalloc.c | while (nr > 0) { |
nr | 114 | mm/vmalloc.c | if (i > nr) |
nr | 115 | mm/vmalloc.c | i = nr; |
nr | 118 | mm/vmalloc.c | nr -= i; |