tag | line | file | source code |
nr | 218 | drivers/FPU-emu/reg_compare.c | static int compare_st_st(int nr) |
nr | 222 | drivers/FPU-emu/reg_compare.c | if ( !NOT_EMPTY(0) || !NOT_EMPTY(nr) ) |
nr | 230 | drivers/FPU-emu/reg_compare.c | c = compare(&st(nr)); |
nr | 268 | drivers/FPU-emu/reg_compare.c | static int compare_u_st_st(int nr) |
nr | 272 | drivers/FPU-emu/reg_compare.c | if ( !NOT_EMPTY(0) || !NOT_EMPTY(nr) ) |
nr | 280 | drivers/FPU-emu/reg_compare.c | c = compare(&st(nr)); |
nr | 120 | drivers/block/blk.h | static void floppy_on(unsigned int nr); |
nr | 121 | drivers/block/blk.h | static void floppy_off(unsigned int nr); |
nr | 538 | drivers/block/floppy.c | static void motor_off_callback(unsigned long nr) |
nr | 540 | drivers/block/floppy.c | unsigned char mask = ~(0x10 << UNIT(nr)); |
nr | 542 | drivers/block/floppy.c | set_dor( FDC(nr), mask, 0 ); |
nr | 559 | drivers/block/floppy.c | static void floppy_off(unsigned int nr) |
nr | 564 | drivers/block/floppy.c | del_timer(motor_off_timer+nr); |
nr | 568 | drivers/block/floppy.c | if ( drive_params[nr].rps ){ |
nr | 569 | drivers/block/floppy.c | delta = jiffies - drive_state[nr].first_read_date + HZ - |
nr | 570 | drivers/block/floppy.c | drive_params[nr].spindown_offset; |
nr | 571 | drivers/block/floppy.c | delta = (( delta * drive_params[nr].rps) % HZ ) / |
nr | 572 | drivers/block/floppy.c | drive_params[nr].rps; |
nr | 573 | drivers/block/floppy.c | motor_off_timer[nr].expires = drive_params[nr].spindown - delta; |
nr | 575 | drivers/block/floppy.c | add_timer(motor_off_timer+nr); |
nr | 630 | drivers/block/floppy.c | static int wait_for_completion(int nr, int delay, timeout_fn function) |
nr | 200 | drivers/block/genhd.c | int nr=0; |
nr | 204 | drivers/block/genhd.c | nr += p->nr_real; |
nr | 342 | drivers/block/ll_rw_blk.c | void ll_rw_block(int rw, int nr, struct buffer_head * bh[]) |
nr | 354 | drivers/block/ll_rw_blk.c | if (--nr <= 0) |
nr | 377 | drivers/block/ll_rw_blk.c | for (i = 0; i < nr; i++) { |
nr | 398 | drivers/block/ll_rw_blk.c | if (!dev->current_request && nr > 1) { |
nr | 405 | drivers/block/ll_rw_blk.c | for (i = 0; i < nr; i++) { |
nr | 424 | drivers/block/ll_rw_blk.c | for (i = 0; i < nr; i++) { |
nr | 964 | drivers/char/console.c | static void csi_at(int currcons, unsigned int nr) |
nr | 966 | drivers/char/console.c | if (nr > video_num_columns) |
nr | 967 | drivers/char/console.c | nr = video_num_columns; |
nr | 968 | drivers/char/console.c | else if (!nr) |
nr | 969 | drivers/char/console.c | nr = 1; |
nr | 970 | drivers/char/console.c | while (nr--) |
nr | 974 | drivers/char/console.c | static void csi_L(int currcons, unsigned int nr) |
nr | 976 | drivers/char/console.c | if (nr > video_num_lines) |
nr | 977 | drivers/char/console.c | nr = video_num_lines; |
nr | 978 | drivers/char/console.c | else if (!nr) |
nr | 979 | drivers/char/console.c | nr = 1; |
nr | 980 | drivers/char/console.c | while (nr--) |
nr | 984 | drivers/char/console.c | static void csi_P(int currcons, unsigned int nr) |
nr | 986 | drivers/char/console.c | if (nr > video_num_columns) |
nr | 987 | drivers/char/console.c | nr = video_num_columns; |
nr | 988 | drivers/char/console.c | else if (!nr) |
nr | 989 | drivers/char/console.c | nr = 1; |
nr | 990 | drivers/char/console.c | while (nr--) |
nr | 994 | drivers/char/console.c | static void csi_M(int currcons, unsigned int nr) |
nr | 996 | drivers/char/console.c | if (nr > video_num_lines) |
nr | 997 | drivers/char/console.c | nr = video_num_lines; |
nr | 998 | drivers/char/console.c | else if (!nr) |
nr | 999 | drivers/char/console.c | nr=1; |
nr | 1000 | drivers/char/console.c | while (nr--) |
nr | 706 | drivers/char/n_tty.c | unsigned int *nr) |
nr | 711 | drivers/char/n_tty.c | n = MIN(*nr, MIN(tty->read_cnt, N_TTY_BUF_SIZE - tty->read_tail)); |
nr | 718 | drivers/char/n_tty.c | *nr -= n; |
nr | 740 | drivers/char/n_tty.c | unsigned char *buf, unsigned int nr) |
nr | 838 | drivers/char/n_tty.c | nr--; |
nr | 859 | drivers/char/n_tty.c | if (--nr) |
nr | 869 | drivers/char/n_tty.c | nr--; |
nr | 875 | drivers/char/n_tty.c | copy_from_read_buf(tty, &b, &nr); |
nr | 876 | drivers/char/n_tty.c | copy_from_read_buf(tty, &b, &nr); |
nr | 887 | drivers/char/n_tty.c | if (b - buf >= minimum || !nr) |
nr | 903 | drivers/char/n_tty.c | unsigned char * buf, unsigned int nr) |
nr | 929 | drivers/char/n_tty.c | while (nr > 0) { |
nr | 933 | drivers/char/n_tty.c | b++; nr--; |
nr | 938 | drivers/char/n_tty.c | c = tty->driver.write(tty, 1, b, nr); |
nr | 940 | drivers/char/n_tty.c | nr -= c; |
nr | 942 | drivers/char/n_tty.c | if (!nr) |
nr | 186 | drivers/char/tty_ioctl.c | int nr, head, tail; |
nr | 192 | drivers/char/tty_ioctl.c | nr = (head - tail) & (N_TTY_BUF_SIZE-1); |
nr | 197 | drivers/char/tty_ioctl.c | nr--; |
nr | 200 | drivers/char/tty_ioctl.c | return nr; |
nr | 1214 | drivers/net/ppp.c | ppp_read(struct tty_struct *tty, struct file *file, unsigned char *buf, unsigned int nr) |
nr | 1229 | drivers/net/ppp.c | nr)); |
nr | 1252 | drivers/net/ppp.c | if (len + 2 > nr) { |
nr | 1256 | drivers/net/ppp.c | nr, len+2)); |
nr | 1315 | drivers/net/ppp.c | ppp_write(struct tty_struct *tty, struct file *file, unsigned char *buf, unsigned int nr) |
nr | 1330 | drivers/net/ppp.c | if (nr > ppp->mtu) { |
nr | 1333 | drivers/net/ppp.c | nr, ppp->mtu)); |
nr | 1334 | drivers/net/ppp.c | nr = ppp->mtu; |
nr | 1338 | drivers/net/ppp.c | ppp_print_buffer ("write frame", buf, nr, USER_DS); |
nr | 1364 | drivers/net/ppp.c | i = nr; |
nr | 1386 | drivers/net/ppp.c | return((int)nr); |
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 | 141 | fs/exec.c | #define DUMP_WRITE(addr,nr) \ |
nr | 142 | 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 | 40 | fs/ext2/inode.c | #define inode_bmap(inode, nr) ((inode)->u.ext2_i.i_data[(nr)]) |
nr | 42 | fs/ext2/inode.c | static int block_bmap (struct buffer_head * bh, int nr) |
nr | 48 | fs/ext2/inode.c | tmp = ((unsigned long *) bh->b_data)[nr]; |
nr | 181 | fs/ext2/inode.c | static struct buffer_head * inode_getblk (struct inode * inode, int nr, |
nr | 189 | fs/ext2/inode.c | p = inode->u.ext2_i.i_data + nr; |
nr | 211 | fs/ext2/inode.c | for (tmp = nr - 1; tmp >= 0; tmp--) { |
nr | 247 | fs/ext2/inode.c | struct buffer_head * bh, int nr, |
nr | 266 | fs/ext2/inode.c | p = (unsigned long *) bh->b_data + nr; |
nr | 288 | fs/ext2/inode.c | for (tmp = nr - 1; tmp >= 0; tmp--) { |
nr | 324 | fs/ext2/inode.c | int nr, |
nr | 336 | fs/ext2/inode.c | if(nr % (PAGE_SIZE / inode->i_sb->s_blocksize) != 0) goto out; |
nr | 337 | fs/ext2/inode.c | if(nr + 3 > EXT2_ADDR_PER_BLOCK(inode->i_sb)) goto out; |
nr | 340 | fs/ext2/inode.c | p = (unsigned long *) bh->b_data + nr + i; |
nr | 350 | fs/ext2/inode.c | p = (unsigned long *) bh->b_data + nr; |
nr | 423 | fs/inode.c | struct inode * __iget(struct super_block * sb, int nr, int crossmntp) |
nr | 432 | fs/inode.c | h = hash(sb->s_dev, nr); |
nr | 435 | fs/inode.c | if (inode->i_dev == sb->s_dev && inode->i_ino == nr) |
nr | 449 | fs/inode.c | inode->i_ino = nr; |
nr | 461 | fs/inode.c | if (inode->i_dev != sb->s_dev || inode->i_ino != nr) { |
nr | 230 | fs/minix/inode.c | #define inode_bmap(inode,nr) ((inode)->u.minix_i.i_data[(nr)]) |
nr | 232 | fs/minix/inode.c | static int block_bmap(struct buffer_head * bh, int nr) |
nr | 238 | fs/minix/inode.c | tmp = ((unsigned short *) bh->b_data)[nr]; |
nr | 274 | fs/minix/inode.c | static struct buffer_head * inode_getblk(struct inode * inode, int nr, int create) |
nr | 280 | fs/minix/inode.c | p = inode->u.minix_i.i_data + nr; |
nr | 308 | fs/minix/inode.c | struct buffer_head * bh, int nr, int create) |
nr | 324 | fs/minix/inode.c | p = nr + (unsigned short *) bh->b_data; |
nr | 19 | fs/msdos/fat.c | int fat_access(struct super_block *sb,int nr,int new_value) |
nr | 26 | fs/msdos/fat.c | if ((unsigned) (nr-2) >= MSDOS_SB(sb)->clusters) return 0; |
nr | 27 | fs/msdos/fat.c | if (MSDOS_SB(sb)->fat_bits == 16) first = last = nr*2; |
nr | 29 | fs/msdos/fat.c | first = nr*3/2; |
nr | 59 | fs/msdos/fat.c | if (nr & 1) next = ((*p_first >> 4) | (*p_last << 4)) & 0xfff; |
nr | 68 | fs/msdos/fat.c | if (nr & 1) { |
nr | 224 | fs/msdos/fat.c | int nr,count; |
nr | 226 | fs/msdos/fat.c | if (!(nr = MSDOS_I(inode)->i_start)) return 0; |
nr | 227 | fs/msdos/fat.c | if (!cluster) return nr; |
nr | 229 | fs/msdos/fat.c | for (cache_lookup(inode,cluster,&count,&nr); count < cluster; |
nr | 231 | fs/msdos/fat.c | if ((nr = fat_access(inode->i_sb,nr,-1)) == -1) return 0; |
nr | 232 | fs/msdos/fat.c | if (!nr) return 0; |
nr | 234 | fs/msdos/fat.c | cache_add(inode,cluster,nr); |
nr | 235 | fs/msdos/fat.c | return nr; |
nr | 262 | fs/msdos/fat.c | int nr,last; |
nr | 264 | fs/msdos/fat.c | if (!(nr = MSDOS_I(inode)->i_start)) return 0; |
nr | 267 | fs/msdos/fat.c | last = nr; |
nr | 268 | fs/msdos/fat.c | if ((nr = fat_access(inode->i_sb,nr,-1)) == -1) return 0; |
nr | 269 | fs/msdos/fat.c | if (!nr) { |
nr | 282 | fs/msdos/fat.c | while (nr != -1) { |
nr | 283 | 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 | 112 | fs/msdos/misc.c | int count,nr,limit,last,current,sector; |
nr | 120 | fs/msdos/misc.c | nr = limit; /* to keep GCC happy */ |
nr | 122 | fs/msdos/misc.c | nr = ((count+MSDOS_SB(inode->i_sb)->prev_free) % limit)+2; |
nr | 123 | fs/msdos/misc.c | if (fat_access(inode->i_sb,nr,-1) == 0) break; |
nr | 126 | fs/msdos/misc.c | printk("free cluster: %d\n",nr); |
nr | 135 | fs/msdos/misc.c | fat_access(inode->i_sb,nr,MSDOS_SB(inode->i_sb)->fat_bits == 12 ? |
nr | 141 | fs/msdos/misc.c | printk("set to %x\n",fat_access(inode->i_sb,nr,-1)); |
nr | 156 | fs/msdos/misc.c | if (last) fat_access(inode->i_sb,last,nr); |
nr | 158 | fs/msdos/misc.c | MSDOS_I(inode)->i_start = nr; |
nr | 166 | fs/msdos/misc.c | sector = MSDOS_SB(inode->i_sb)->data_start+(nr-2)* |
nr | 459 | fs/msdos/misc.c | int error,current,prev,nr; |
nr | 469 | fs/msdos/misc.c | if (!current) nr = MSDOS_ROOT_INO; |
nr | 476 | fs/msdos/misc.c | if ((error = raw_scan(dir->i_sb,prev,NULL,¤t,&nr,NULL, |
nr | 483 | fs/msdos/misc.c | return nr; |
nr | 35 | fs/nfs/sock.c | #define _S(nr) (1<<((nr)-1)) |
nr | 106 | fs/nfs/sock.c | wait_table.nr = 0; |
nr | 150 | fs/nfs/sock.c | else if (wait_table.nr) |
nr | 140 | fs/proc/root.c | unsigned int nr,pid; |
nr | 146 | fs/proc/root.c | nr = filp->f_pos; |
nr | 147 | fs/proc/root.c | if (nr < NR_ROOT_DIRENTRY) { |
nr | 148 | fs/proc/root.c | struct proc_dir_entry * de = root_dir + nr; |
nr | 160 | fs/proc/root.c | nr -= NR_ROOT_DIRENTRY; |
nr | 161 | fs/proc/root.c | if (nr >= NR_TASKS) |
nr | 164 | fs/proc/root.c | p = task[nr]; |
nr | 49 | fs/select.c | struct select_table_entry * entry = p->entry + p->nr; |
nr | 51 | fs/select.c | while (p->nr > 0) { |
nr | 52 | fs/select.c | p->nr--; |
nr | 119 | fs/select.c | wait_table.nr = 0; |
nr | 156 | fs/select.c | static int __get_fd_set(int nr, unsigned long * fs_pointer, unsigned long * fdset) |
nr | 166 | fs/select.c | while (nr > 0) { |
nr | 170 | fs/select.c | nr -= 32; |
nr | 175 | fs/select.c | static void __set_fd_set(int nr, unsigned long * fs_pointer, unsigned long * fdset) |
nr | 179 | fs/select.c | while (nr > 0) { |
nr | 183 | fs/select.c | nr -= 32; |
nr | 187 | fs/select.c | #define get_fd_set(nr,fsp,fdp) \ |
nr | 188 | fs/select.c | __get_fd_set(nr, (unsigned long *) (fsp), (unsigned long *) (fdp)) |
nr | 190 | fs/select.c | #define set_fd_set(nr,fsp,fdp) \ |
nr | 191 | 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 | 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 | 445 | include/linux/fs.h | extern struct inode * __iget(struct super_block * sb,int nr,int crsmnt); |
nr | 453 | include/linux/fs.h | extern void ll_rw_block(int rw, int nr, struct buffer_head * bh[]); |
nr | 454 | include/linux/fs.h | extern void ll_rw_page(int rw, int dev, int nr, char * buffer); |
nr | 485 | include/linux/fs.h | extern inline struct inode * iget(struct super_block * sb,int nr) |
nr | 487 | include/linux/fs.h | return __iget(sb,nr,1); |
nr | 26 | include/linux/interrupt.h | extern inline void mark_bh(int nr) |
nr | 28 | include/linux/interrupt.h | __asm__ __volatile__("orl %1,%0":"=m" (bh_active):"ir" (1<<nr)); |
nr | 31 | include/linux/interrupt.h | extern inline void disable_bh(int nr) |
nr | 33 | include/linux/interrupt.h | __asm__ __volatile__("andl %1,%0":"=m" (bh_mask):"ir" (~(1<<nr))); |
nr | 36 | include/linux/interrupt.h | extern inline void enable_bh(int nr) |
nr | 38 | include/linux/interrupt.h | __asm__ __volatile__("orl %1,%0":"=m" (bh_mask):"ir" (1<<nr)); |
nr | 71 | include/linux/mcd.h | #define READ_DATA(port, buf, nr) \ |
nr | 72 | include/linux/mcd.h | insb(port, buf, nr) |
nr | 192 | include/linux/mm.h | extern void rw_swap_page(int rw, unsigned long nr, char * buf); |
nr | 201 | include/linux/mm.h | #define read_swap_page(nr,buf) \ |
nr | 202 | include/linux/mm.h | rw_swap_page(READ,(nr),(buf)) |
nr | 203 | include/linux/mm.h | #define write_swap_page(nr,buf) \ |
nr | 204 | 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 | 435 | include/linux/sbpcd.h | #define READ_DATA(port, buf, nr) insb(port, buf, nr) |
nr | 527 | include/linux/sched.h | if (p->nr >= __MAX_SELECT_TABLE_ENTRIES) |
nr | 529 | include/linux/sched.h | entry = p->entry + p->nr; |
nr | 534 | 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 | 172 | kernel/fork.c | int i,nr; |
nr | 177 | kernel/fork.c | nr = find_empty_process(); |
nr | 178 | kernel/fork.c | if (nr < 0) |
nr | 180 | kernel/fork.c | task[nr] = p; |
nr | 217 | kernel/fork.c | p->tss.tr = _TSS(nr); |
nr | 233 | kernel/fork.c | p->tss.ldt = _LDT(nr); |
nr | 248 | kernel/fork.c | set_tss_desc(gdt+(nr<<1)+FIRST_TSS_ENTRY,&(p->tss)); |
nr | 250 | kernel/fork.c | set_ldt_desc(gdt+(nr<<1)+FIRST_LDT_ENTRY,p->ldt, 512); |
nr | 252 | kernel/fork.c | set_ldt_desc(gdt+(nr<<1)+FIRST_LDT_ENTRY,&default_ldt, 1); |
nr | 258 | kernel/fork.c | task[nr] = NULL; |
nr | 85 | kernel/sched.c | #define _S(nr) (1<<((nr)-1)) |
nr | 456 | kernel/sched.c | unsigned long nr = 0; |
nr | 462 | kernel/sched.c | nr += FIXED_1; |
nr | 463 | kernel/sched.c | return nr; |
nr | 761 | kernel/sched.c | static void show_task(int nr,struct task_struct * p) |
nr | 766 | kernel/sched.c | printk("%-8s %3d ", p->comm, (p == current) ? -nr : nr); |
nr | 17 | kernel/signal.c | #define _S(nr) (1<<((nr)-1)) |
nr | 204 | kernel/vm86.c | static inline int is_revectored(int nr, struct revectored_struct * bitmap) |
nr | 207 | kernel/vm86.c | :"=r" (nr) |
nr | 208 | kernel/vm86.c | :"m" (*bitmap),"r" (nr)); |
nr | 209 | kernel/vm86.c | return nr; |
nr | 1288 | mm/memory.c | int nr[8]; |
nr | 1295 | mm/memory.c | p = nr; |
nr | 1302 | mm/memory.c | return bread_page(page, inode->i_dev, nr, inode->i_sb->s_blocksize, no_share); |
nr | 25 | mm/mprotect.c | int nr; |
nr | 29 | mm/mprotect.c | nr = (end - start) >> PAGE_SHIFT; |
nr | 30 | mm/mprotect.c | while (nr > 0) { |
nr | 34 | mm/mprotect.c | nr = nr - PTRS_PER_PAGE + offset; |
nr | 40 | mm/mprotect.c | if (offset > nr) |
nr | 41 | mm/mprotect.c | offset = nr; |
nr | 42 | mm/mprotect.c | nr = nr - offset; |
nr | 655 | mm/swap.c | unsigned long nr = 0; |
nr | 657 | mm/swap.c | nr ++; |
nr | 659 | mm/swap.c | total += nr * (4 << order); |
nr | 660 | mm/swap.c | printk("%lu*%ukB ", nr, 4 << order); |
nr | 676 | mm/swap.c | int nr, pgt, pg; |
nr | 681 | mm/swap.c | nr = 0; |
nr | 688 | mm/swap.c | for (; nr < NR_TASKS ; nr++) { |
nr | 689 | 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 | 62 | mm/vmalloc.c | } while (--nr); |
nr | 64 | mm/vmalloc.c | for (nr = 0 ; nr < 1024 ; nr++, pte++) |
nr | 74 | mm/vmalloc.c | static int alloc_area_pages(unsigned long dindex, unsigned long index, unsigned long nr) |
nr | 101 | mm/vmalloc.c | } while (--nr); |
nr | 109 | mm/vmalloc.c | unsigned long nr, dindex, index; |
nr | 111 | mm/vmalloc.c | nr = size >> PAGE_SHIFT; |
nr | 114 | mm/vmalloc.c | while (nr > 0) { |
nr | 117 | mm/vmalloc.c | if (i > nr) |
nr | 118 | mm/vmalloc.c | i = nr; |
nr | 119 | mm/vmalloc.c | nr -= i; |