i                  75 fs/buffer.c    	int i;
i                  79 fs/buffer.c    	for (i = nr_buffers*2 ; i-- > 0 ; bh = bh->b_next_free) {
i                 104 fs/buffer.c    	int i;
i                 108 fs/buffer.c    	for (i = nr_buffers*2 ; --i > 0 ; bh = bh->b_next_free) {
i                 133 fs/buffer.c    	int i;
i                 140 fs/buffer.c    		i = floppy_change(bh);
i                 146 fs/buffer.c    		i = check_scsidisk_media_change(dev, 0);
i                 147 fs/buffer.c    		if (i) printk("Flushing buffers and inodes for SCSI disk\n");
i                 153 fs/buffer.c    		i = check_cdrom_media_change(dev, 0);
i                 154 fs/buffer.c    		if (i) printk("Flushing buffers and inodes for CDROM\n");
i                 162 fs/buffer.c    	if (!i)	return;
i                 164 fs/buffer.c    	for (i=0 ; i<NR_SUPER ; i++)
i                 165 fs/buffer.c    		if (super_block[i].s_dev == dev)
i                 166 fs/buffer.c    			put_super(super_block[i].s_dev);
i                 424 fs/buffer.c    	int i;
i                 426 fs/buffer.c    	for (i=0 ; i<4 ; i++)
i                 427 fs/buffer.c    		if (b[i]) {
i                 428 fs/buffer.c    			bh[i] = getblk(dev, b[i], 1024);
i                 429 fs/buffer.c    			if (bh[i] && !bh[i]->b_uptodate)
i                 430 fs/buffer.c    				bhr[bhnum++] = bh[i];
i                 432 fs/buffer.c    			bh[i] = NULL;
i                 437 fs/buffer.c    	for (i=0 ; i<4 ; i++,address += BLOCK_SIZE)
i                 438 fs/buffer.c    		if (bh[i]) {
i                 439 fs/buffer.c    			wait_on_buffer(bh[i]);
i                 440 fs/buffer.c    			if (bh[i]->b_uptodate)
i                 441 fs/buffer.c    				COPYBLK((unsigned long) bh[i]->b_data,address);
i                 442 fs/buffer.c    			brelse(bh[i]);
i                 535 fs/buffer.c    	int i;
i                 546 fs/buffer.c    	i = 0;
i                 547 fs/buffer.c    	for (i = 0 ; i+size <= 4096 ; i += size) {
i                 553 fs/buffer.c    		bh->b_data = (char * ) (page+i);
i                 632 fs/buffer.c    	int i;
i                 637 fs/buffer.c    	i = nr_buffers >> priority;
i                 638 fs/buffer.c    	for ( ; i-- > 0 ; bh = bh->b_next_free) {
i                 665 fs/buffer.c    	int i;
i                 667 fs/buffer.c    	for (i = 0 ; i < NR_HASH ; i++)
i                 668 fs/buffer.c    		hash_table[i] = NULL;
i                 274 fs/exec.c      	int i=0;
i                 279 fs/exec.c      			i++;
i                 281 fs/exec.c      	return i;
i                 354 fs/exec.c      	int i;
i                 367 fs/exec.c      	for (i=MAX_ARG_PAGES-1 ; i>=0 ; i--) {
i                 369 fs/exec.c      		if (page[i])
i                 370 fs/exec.c      			put_dirty_page(current,page[i],data_base);
i                 427 fs/exec.c      	int i,argc,envc;
i                 436 fs/exec.c      	for (i=0 ; i<MAX_ARG_PAGES ; i++)	/* clear page-table */
i                 437 fs/exec.c      		page[i]=0;
i                 457 fs/exec.c      	i = inode->i_mode;
i                 458 fs/exec.c      	if (IS_NOSUID(inode) && (((i & S_ISUID) && inode->i_uid != current->
i                 459 fs/exec.c      	    euid) || ((i & S_ISGID) && inode->i_gid != current->egid)) &&
i                 469 fs/exec.c      		e_uid = (i & S_ISUID) ? inode->i_uid : current->euid;
i                 470 fs/exec.c      		e_gid = (i & S_ISGID) ? inode->i_gid : current->egid;
i                 473 fs/exec.c      		i >>= 6;
i                 475 fs/exec.c      		i >>= 3;
i                 476 fs/exec.c      	if (!(i & 1) &&
i                 585 fs/exec.c      	for (i=0; (ch = get_fs_byte(filename++)) != '\0';)
i                 587 fs/exec.c      			i = 0;
i                 589 fs/exec.c      			if (i < 15)
i                 590 fs/exec.c      				current->comm[i++] = ch;
i                 591 fs/exec.c      	current->comm[i] = '\0';
i                 596 fs/exec.c      	i = current->numlibraries;
i                 597 fs/exec.c      	while (i-- > 0) {
i                 598 fs/exec.c      		iput(current->libraries[i].library);
i                 599 fs/exec.c      		current->libraries[i].library = NULL;
i                 606 fs/exec.c      	for (i=0 ; i<32 ; i++) {
i                 607 fs/exec.c      		current->sigaction[i].sa_mask = 0;
i                 608 fs/exec.c      		current->sigaction[i].sa_flags = 0;
i                 609 fs/exec.c      		if (current->sigaction[i].sa_handler != SIG_IGN)
i                 610 fs/exec.c      			current->sigaction[i].sa_handler = NULL;
i                 612 fs/exec.c      	for (i=0 ; i<NR_OPEN ; i++)
i                 613 fs/exec.c      		if (FD_ISSET(i,&current->close_on_exec))
i                 614 fs/exec.c      			sys_close(i);
i                 646 fs/exec.c      	for (i=0 ; i<MAX_ARG_PAGES ; i++)
i                 647 fs/exec.c      		free_page(page[i]);
i                  25 fs/ext/blkdev.c 	int i;
i                  27 fs/ext/blkdev.c 	i = MAJOR(inode->i_rdev);
i                  28 fs/ext/blkdev.c 	if (i >= MAX_BLKDEV || !blkdev_fops[i])
i                  30 fs/ext/blkdev.c 	filp->f_op = blkdev_fops[i];
i                  25 fs/ext/chrdev.c 	int i;
i                  27 fs/ext/chrdev.c 	i = MAJOR(inode->i_rdev);
i                  28 fs/ext/chrdev.c 	if (i >= MAX_CHRDEV || !chrdev_fops[i])
i                  30 fs/ext/chrdev.c 	filp->f_op = chrdev_fops[i];
i                  66 fs/ext/dir.c   	unsigned int offset,i;
i                  98 fs/ext/dir.c   				for (i = 0; i < de->name_len; i++)
i                  99 fs/ext/dir.c   					if ((c = de->name[i]) != 0)
i                 100 fs/ext/dir.c   						put_fs_byte(c,i+dirent->d_name);
i                 103 fs/ext/dir.c   				if (i) {
i                 105 fs/ext/dir.c   					put_fs_byte(0,i+dirent->d_name);
i                 106 fs/ext/dir.c   					put_fs_word(i,&dirent->d_reclen);
i                 108 fs/ext/dir.c   					return i;
i                 172 fs/ext/inode.c 	int i;
i                 186 fs/ext/inode.c 		i = inode_bmap(inode,9);
i                 187 fs/ext/inode.c 		if (!i)
i                 189 fs/ext/inode.c 		return block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block);
i                 193 fs/ext/inode.c 		i = inode_bmap(inode,10);
i                 194 fs/ext/inode.c 		if (!i)
i                 196 fs/ext/inode.c 		i = block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block>>8);
i                 197 fs/ext/inode.c 		if (!i)
i                 199 fs/ext/inode.c 		return block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block & 255);
i                 202 fs/ext/inode.c 	i = inode_bmap(inode,11);
i                 203 fs/ext/inode.c 	if (!i)
i                 205 fs/ext/inode.c 	i = block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block>>16);
i                 206 fs/ext/inode.c 	if (!i)
i                 208 fs/ext/inode.c 	i = block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),(block>>8) & 255);
i                 209 fs/ext/inode.c 	if (!i)
i                 211 fs/ext/inode.c 	return block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block & 255);
i                 198 fs/ext/namei.c 	int i;
i                 293 fs/ext/namei.c 			for (i=0; i < namelen ; i++)
i                 294 fs/ext/namei.c 				de->name[i]=get_fs_byte(name+i);
i                 628 fs/ext/namei.c 	int i;
i                 645 fs/ext/namei.c 	i = 0;
i                 646 fs/ext/namei.c 	while (i < 1023 && (c=get_fs_byte(symname++)))
i                 647 fs/ext/namei.c 		name_block->b_data[i++] = c;
i                 648 fs/ext/namei.c 	name_block->b_data[i] = 0;
i                 651 fs/ext/namei.c 	inode->i_size = i;
i                  92 fs/ext/symlink.c 	int i;
i                 105 fs/ext/symlink.c 	i = 0;
i                 106 fs/ext/symlink.c 	while (i<buflen && (c = bh->b_data[i])) {
i                 107 fs/ext/symlink.c 		i++;
i                 111 fs/ext/symlink.c 	return i;
i                  35 fs/ext/truncate.c 	int i, tmp;
i                  42 fs/ext/truncate.c 	for (i = DIRECT_BLOCK ; i < 9 ; i++) {
i                  43 fs/ext/truncate.c 		p = inode->u.ext_i.i_data+i;
i                  47 fs/ext/truncate.c 		if (i < DIRECT_BLOCK) {
i                  66 fs/ext/truncate.c 	int i, tmp;
i                  86 fs/ext/truncate.c 	for (i = INDIRECT_BLOCK ; i < 256 ; i++) {
i                  87 fs/ext/truncate.c 		if (i < 0)
i                  88 fs/ext/truncate.c 			i = 0;
i                  89 fs/ext/truncate.c 		if (i < INDIRECT_BLOCK)
i                  91 fs/ext/truncate.c 		ind = i+(unsigned long *) ind_bh->b_data;
i                  96 fs/ext/truncate.c 		if (i < INDIRECT_BLOCK) {
i                 111 fs/ext/truncate.c 	for (i = 0; i < 256; i++)
i                 114 fs/ext/truncate.c 	if (i >= 256)
i                 129 fs/ext/truncate.c 	int i,tmp;
i                 148 fs/ext/truncate.c 	for (i = DINDIRECT_BLOCK ; i < 256 ; i ++) {
i                 149 fs/ext/truncate.c 		if (i < 0)
i                 150 fs/ext/truncate.c 			i = 0;
i                 151 fs/ext/truncate.c 		if (i < DINDIRECT_BLOCK)
i                 153 fs/ext/truncate.c 		dind = i+(unsigned long *) dind_bh->b_data;
i                 157 fs/ext/truncate.c 		retry |= trunc_indirect(inode,offset+(i<<8),dind);
i                 161 fs/ext/truncate.c 	for (i = 0; i < 256; i++)
i                 164 fs/ext/truncate.c 	if (i >= 256)
i                 179 fs/ext/truncate.c 	int i,tmp;
i                 198 fs/ext/truncate.c 	for (i = TINDIRECT_BLOCK ; i < 256 ; i ++) {
i                 199 fs/ext/truncate.c 		if (i < 0)
i                 200 fs/ext/truncate.c 			i = 0;
i                 201 fs/ext/truncate.c 		if (i < TINDIRECT_BLOCK)
i                 203 fs/ext/truncate.c 		tind = i+(unsigned long *) tind_bh->b_data;
i                 204 fs/ext/truncate.c 		retry |= trunc_dindirect(inode,9+256+256*256+(i<<16),tind);
i                 208 fs/ext/truncate.c 	for (i = 0; i < 256; i++)
i                 211 fs/ext/truncate.c 	if (i >= 256)
i                  14 fs/file_table.c 	int i;
i                  17 fs/file_table.c 	for (i = 0; i++ < NR_FILE; f++)
i                 159 fs/inode.c     	int i;
i                 163 fs/inode.c     	for(i=0 ; i<NR_INODE ; i++,inode++) {
i                 229 fs/inode.c     	int i;
i                 233 fs/inode.c     	for (i = NR_INODE; i ; i--) {
i                 301 fs/inode.c     			int i;
i                 303 fs/inode.c     			for (i = 0 ; i<NR_SUPER ; i++)
i                 304 fs/inode.c     				if (super_block[i].s_covered==inode)
i                 306 fs/inode.c     			if (i >= NR_SUPER) {
i                 313 fs/inode.c     			if (!(inode = super_block[i].s_mounted))
i                  24 fs/isofs/blkdev.c 	int i;
i                  26 fs/isofs/blkdev.c 	i = MAJOR(inode->i_rdev);
i                  27 fs/isofs/blkdev.c 	if (i >= MAX_BLKDEV || !blkdev_fops[i])
i                  29 fs/isofs/blkdev.c 	filp->f_op = blkdev_fops[i];
i                  24 fs/isofs/chrdev.c 	int i;
i                  26 fs/isofs/chrdev.c 	i = MAJOR(inode->i_rdev);
i                  27 fs/isofs/chrdev.c 	if (i >= MAX_CHRDEV || !chrdev_fops[i])
i                  29 fs/isofs/chrdev.c 	filp->f_op = chrdev_fops[i];
i                  65 fs/isofs/dir.c 	unsigned int block,offset,i, j;
i                 125 fs/isofs/dir.c 		i = 1;
i                 137 fs/isofs/dir.c 			i = 2;
i                 162 fs/isofs/dir.c 			i = dlen;
i                 172 fs/isofs/dir.c 			  i = dlen;
i                 176 fs/isofs/dir.c 			    for (i = 0; i < dlen && i < NAME_MAX; i++) {
i                 177 fs/isofs/dir.c 			      if (!(c = dpnt[i])) break;
i                 179 fs/isofs/dir.c 			      if (c == ';' && i == dlen-2 && de->name[i+1] == '1') 
i                 182 fs/isofs/dir.c 			      dpnt[i] = c;
i                 185 fs/isofs/dir.c 			for(j=0; j<i; j++)
i                 189 fs/isofs/dir.c 		printk("Nchar: %d\n",i);
i                 192 fs/isofs/dir.c 		if (i) {
i                 198 fs/isofs/dir.c 			strncpy(cache.filename, dpnt, i);
i                 209 fs/isofs/dir.c 		if (i) {
i                 211 fs/isofs/dir.c 			put_fs_byte(0,i+dirent->d_name);
i                 212 fs/isofs/dir.c 			put_fs_word(i,&dirent->d_reclen);
i                 214 fs/isofs/dir.c 			return i;
i                  90 fs/isofs/file.c 	int result, i;
i                  98 fs/isofs/file.c 		for(i=0;i<(inode->i_size < ISOFS_BUFFER_SIZE ? inode->i_size : ISOFS_BUFFER_SIZE);
i                  99 fs/isofs/file.c 		    i++,pnt++){
i                 270 fs/isofs/inode.c 	int i;
i                 305 fs/isofs/inode.c 		for(i=0; i< raw_inode->name_len[0]; i++)
i                 306 fs/isofs/inode.c 			if(raw_inode->name[i]=='.' || raw_inode->name[i]==';')
i                 308 fs/isofs/inode.c 		if(i == raw_inode->name_len[0] || raw_inode->name[i] == ';') 
i                  67 fs/isofs/namei.c 	unsigned int block,i, f_pos, offset, inode_number;
i                 153 fs/isofs/namei.c 		    for (i = 0; i < dlen; i++) {
i                 154 fs/isofs/namei.c 			c = dpnt[i];
i                 156 fs/isofs/namei.c 			if (c == ';' && i == dlen-2 && dpnt[i+1] == '1') {
i                 161 fs/isofs/namei.c 			de->name[i] = c;
i                  86 fs/isofs/symlink.c 	int i;
i                 101 fs/isofs/symlink.c 	i = 0;
i                 103 fs/isofs/symlink.c 	while (i<buflen && (c = pnt[i])) {
i                 104 fs/isofs/symlink.c 		i++;
i                 108 fs/isofs/symlink.c 	return i;
i                  84 fs/isofs/util.c 	int i;
i                  86 fs/isofs/util.c 	for (i = 0; i < 4; i++) {
i                  87 fs/isofs/util.c 		if (p[i] != p[7-i]) {
i                 101 fs/isofs/util.c 	int crtime, days, i;
i                 119 fs/isofs/util.c 		for (i = 1; i < month; i++)
i                 120 fs/isofs/util.c 			days += monlen[i-1];
i                  43 fs/minix/bitmap.c 	unsigned i, j, end, sum = 0;
i                  46 fs/minix/bitmap.c 	for (i=0; (i<numblocks) && numbits; i++) {
i                  47 fs/minix/bitmap.c 		if (!(bh=map[i])) 
i                 102 fs/minix/bitmap.c 	int i,j;
i                 110 fs/minix/bitmap.c 	for (i=0 ; i<8 ; i++)
i                 111 fs/minix/bitmap.c 		if ((bh=sb->u.minix_sb.s_zmap[i]) != NULL)
i                 114 fs/minix/bitmap.c 	if (i>=8 || !bh || j>=8192)
i                 121 fs/minix/bitmap.c 	j += i*8192 + sb->u.minix_sb.s_firstdatazone-1;
i                 187 fs/minix/bitmap.c 	int i,j;
i                 195 fs/minix/bitmap.c 	for (i=0 ; i<8 ; i++)
i                 196 fs/minix/bitmap.c 		if ((bh = inode->i_sb->u.minix_sb.s_imap[i]) != NULL)
i                 209 fs/minix/bitmap.c 	j += i*8192;
i                  19 fs/minix/blkdev.c 	int i;
i                  21 fs/minix/blkdev.c 	i = MAJOR(inode->i_rdev);
i                  22 fs/minix/blkdev.c 	if (i >= MAX_BLKDEV || !blkdev_fops[i])
i                  24 fs/minix/blkdev.c 	filp->f_op = blkdev_fops[i];
i                  19 fs/minix/chrdev.c 	int i;
i                  21 fs/minix/chrdev.c 	i = MAJOR(inode->i_rdev);
i                  22 fs/minix/chrdev.c 	if (i >= MAX_CHRDEV || !chrdev_fops[i])
i                  24 fs/minix/chrdev.c 	filp->f_op = chrdev_fops[i];
i                  59 fs/minix/dir.c 	unsigned int offset,i;
i                  80 fs/minix/dir.c 				for (i = 0; i < MINIX_NAME_LEN; i++)
i                  81 fs/minix/dir.c 					if ((c = de->name[i]) != 0)
i                  82 fs/minix/dir.c 						put_fs_byte(c,i+dirent->d_name);
i                  85 fs/minix/dir.c 				if (i) {
i                  87 fs/minix/dir.c 					put_fs_byte(0,i+dirent->d_name);
i                  88 fs/minix/dir.c 					put_fs_word(i,&dirent->d_reclen);
i                  90 fs/minix/dir.c 					return i;
i                  29 fs/minix/inode.c 	int i;
i                  33 fs/minix/inode.c 	for(i = 0 ; i < MINIX_I_MAP_SLOTS ; i++)
i                  34 fs/minix/inode.c 		brelse(sb->u.minix_sb.s_imap[i]);
i                  35 fs/minix/inode.c 	for(i = 0 ; i < MINIX_Z_MAP_SLOTS ; i++)
i                  36 fs/minix/inode.c 		brelse(sb->u.minix_sb.s_zmap[i]);
i                  55 fs/minix/inode.c 	int i,dev=s->s_dev,block;
i                  83 fs/minix/inode.c 	for (i=0;i < MINIX_I_MAP_SLOTS;i++)
i                  84 fs/minix/inode.c 		s->u.minix_sb.s_imap[i] = NULL;
i                  85 fs/minix/inode.c 	for (i=0;i < MINIX_Z_MAP_SLOTS;i++)
i                  86 fs/minix/inode.c 		s->u.minix_sb.s_zmap[i] = NULL;
i                  88 fs/minix/inode.c 	for (i=0 ; i < s->u.minix_sb.s_imap_blocks ; i++)
i                  89 fs/minix/inode.c 		if ((s->u.minix_sb.s_imap[i]=bread(dev,block,BLOCK_SIZE)) != NULL)
i                  93 fs/minix/inode.c 	for (i=0 ; i < s->u.minix_sb.s_zmap_blocks ; i++)
i                  94 fs/minix/inode.c 		if ((s->u.minix_sb.s_zmap[i]=bread(dev,block,BLOCK_SIZE)) != NULL)
i                  99 fs/minix/inode.c 		for(i=0;i<MINIX_I_MAP_SLOTS;i++)
i                 100 fs/minix/inode.c 			brelse(s->u.minix_sb.s_imap[i]);
i                 101 fs/minix/inode.c 		for(i=0;i<MINIX_Z_MAP_SLOTS;i++)
i                 102 fs/minix/inode.c 			brelse(s->u.minix_sb.s_zmap[i]);
i                 153 fs/minix/inode.c 	int i;
i                 167 fs/minix/inode.c 		i = inode_bmap(inode,7);
i                 168 fs/minix/inode.c 		if (!i)
i                 170 fs/minix/inode.c 		return block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block);
i                 173 fs/minix/inode.c 	i = inode_bmap(inode,8);
i                 174 fs/minix/inode.c 	if (!i)
i                 176 fs/minix/inode.c 	i = block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block>>9);
i                 177 fs/minix/inode.c 	if (!i)
i                 179 fs/minix/inode.c 	return block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block & 511);
i                  61 fs/minix/namei.c 	int entries, i;
i                  79 fs/minix/namei.c 	i = 0;
i                  81 fs/minix/namei.c 	while (i < entries) {
i                  84 fs/minix/namei.c 			bh = minix_bread(dir,i/MINIX_DIR_ENTRIES_PER_BLOCK,0);
i                  86 fs/minix/namei.c 				i += MINIX_DIR_ENTRIES_PER_BLOCK;
i                  96 fs/minix/namei.c 		i++;
i                 146 fs/minix/namei.c 	int i;
i                 166 fs/minix/namei.c 	for (i = 0; i < MINIX_NAME_LEN ; i++)
i                 167 fs/minix/namei.c 		name_buffer[i] = (i<namelen) ? get_fs_byte(name+i) : 0;
i                 168 fs/minix/namei.c 	i = 0;
i                 173 fs/minix/namei.c 			bh = minix_bread(dir,i/MINIX_DIR_ENTRIES_PER_BLOCK,1);
i                 178 fs/minix/namei.c 		if (i*sizeof(struct minix_dir_entry) >= dir->i_size) {
i                 180 fs/minix/namei.c 			dir->i_size = (i+1)*sizeof(struct minix_dir_entry);
i                 192 fs/minix/namei.c 		i++;
i                 505 fs/minix/namei.c 	int i;
i                 522 fs/minix/namei.c 	i = 0;
i                 523 fs/minix/namei.c 	while (i < 1023 && (c=get_fs_byte(symname++)))
i                 524 fs/minix/namei.c 		name_block->b_data[i++] = c;
i                 525 fs/minix/namei.c 	name_block->b_data[i] = 0;
i                 528 fs/minix/namei.c 	inode->i_size = i;
i                  86 fs/minix/symlink.c 	int i;
i                  99 fs/minix/symlink.c 	i = 0;
i                 100 fs/minix/symlink.c 	while (i<buflen && (c = bh->b_data[i])) {
i                 101 fs/minix/symlink.c 		i++;
i                 105 fs/minix/symlink.c 	return i;
i                  31 fs/minix/truncate.c 	int i, tmp;
i                  36 fs/minix/truncate.c 	for (i = DIRECT_BLOCK ; i < 7 ; i++) {
i                  37 fs/minix/truncate.c 		p = i + inode->u.minix_i.i_data;
i                  41 fs/minix/truncate.c 		if (i < DIRECT_BLOCK) {
i                  61 fs/minix/truncate.c 	int i, tmp;
i                  80 fs/minix/truncate.c 	for (i = INDIRECT_BLOCK ; i < 512 ; i++) {
i                  81 fs/minix/truncate.c 		if (i < 0)
i                  82 fs/minix/truncate.c 			i = 0;
i                  83 fs/minix/truncate.c 		if (i < INDIRECT_BLOCK)
i                  85 fs/minix/truncate.c 		ind = i+(unsigned short *) ind_bh->b_data;
i                  90 fs/minix/truncate.c 		if (i < INDIRECT_BLOCK) {
i                 105 fs/minix/truncate.c 	for (i = 0; i < 512; i++)
i                 108 fs/minix/truncate.c 	if (i >= 512)
i                 122 fs/minix/truncate.c 	int i, tmp;
i                 141 fs/minix/truncate.c 	for (i = DINDIRECT_BLOCK ; i < 512 ; i ++) {
i                 142 fs/minix/truncate.c 		if (i < 0)
i                 143 fs/minix/truncate.c 			i = 0;
i                 144 fs/minix/truncate.c 		if (i < DINDIRECT_BLOCK)
i                 146 fs/minix/truncate.c 		dind = i+(unsigned short *) dind_bh->b_data;
i                 147 fs/minix/truncate.c 		retry |= trunc_indirect(inode,7+512+(i<<9),dind);
i                 151 fs/minix/truncate.c 	for (i = 0; i < 512; i++)
i                 154 fs/minix/truncate.c 	if (i >= 512)
i                  58 fs/msdos/dir.c 	int ino,i,i2,last;
i                  69 fs/msdos/dir.c 				for (i = 0; *walk; walk++)
i                  70 fs/msdos/dir.c 					put_fs_byte(*walk,dirent->d_name+i++);
i                  72 fs/msdos/dir.c 				put_fs_byte(0,dirent->d_name+i);
i                  73 fs/msdos/dir.c 				put_fs_word(i,&dirent->d_reclen);
i                  74 fs/msdos/dir.c 				return i;
i                  82 fs/msdos/dir.c 			for (i = last = 0; i < 8; i++) {
i                  83 fs/msdos/dir.c 				if (!(c = de->name[i])) break;
i                  85 fs/msdos/dir.c 				if (c != ' ') last = i+1;
i                  86 fs/msdos/dir.c 				put_fs_byte(c,i+dirent->d_name);
i                  88 fs/msdos/dir.c 			i = last;
i                  89 fs/msdos/dir.c 			put_fs_byte('.',i+dirent->d_name);
i                  90 fs/msdos/dir.c 			i++;
i                  94 fs/msdos/dir.c 				if (c != ' ') last = i+1;
i                  95 fs/msdos/dir.c 				put_fs_byte(c,i+dirent->d_name);
i                  96 fs/msdos/dir.c 				i++;
i                  98 fs/msdos/dir.c 			if ((i = last) != 0) {
i                 104 fs/msdos/dir.c 				put_fs_byte(0,i+dirent->d_name);
i                 105 fs/msdos/dir.c 				put_fs_word(i,&dirent->d_reclen);
i                 107 fs/msdos/dir.c 				return i;
i                 221 fs/namei.c     	int namelen,error,i;
i                 299 fs/namei.c      			for (i=0; i < (*p)->numlibraries; i++)
i                 300 fs/namei.c      				if (inode == (*p)->libraries[i].library) {
i                  19 fs/nfs/blkdev.c 	int i;
i                  21 fs/nfs/blkdev.c 	i = MAJOR(inode->i_rdev);
i                  22 fs/nfs/blkdev.c 	if (i >= MAX_BLKDEV || !blkdev_fops[i])
i                  24 fs/nfs/blkdev.c 	filp->f_op = blkdev_fops[i];
i                  19 fs/nfs/chrdev.c 	int i;
i                  21 fs/nfs/chrdev.c 	i = MAJOR(inode->i_rdev);
i                  22 fs/nfs/chrdev.c 	if (i >= MAX_CHRDEV || !chrdev_fops[i])
i                  24 fs/nfs/chrdev.c 	filp->f_op = chrdev_fops[i];
i                  93 fs/nfs/dir.c   	int i;
i                 104 fs/nfs/dir.c   		i = sizeof (struct nfs_entry)*NFS_READDIR_CACHE_SIZE;
i                 105 fs/nfs/dir.c   		c_entry = (struct nfs_entry *) kmalloc(i, GFP_KERNEL);
i                 106 fs/nfs/dir.c   		for (i = 0; i < NFS_READDIR_CACHE_SIZE; i++) {
i                 107 fs/nfs/dir.c   			c_entry[i].name = (char *) kmalloc(NFS_MAXNAMLEN + 1,
i                 116 fs/nfs/dir.c   		for (i = 0; i < c_size; i++) {
i                 117 fs/nfs/dir.c   			if (filp->f_pos == c_entry[i].cookie) {
i                 118 fs/nfs/dir.c   				if (i == c_size - 1) {
i                 119 fs/nfs/dir.c   					if (c_entry[i].eof)
i                 123 fs/nfs/dir.c   					entry = c_entry + i + 1;
i                 149 fs/nfs/dir.c   		i = strlen(entry->name);
i                 150 fs/nfs/dir.c   		memcpy_tofs(dirent->d_name, entry->name, i + 1);
i                 152 fs/nfs/dir.c   		put_fs_word(i, &dirent->d_reclen);
i                 154 fs/nfs/dir.c   		return i;
i                 185 fs/nfs/dir.c   	int i;
i                 187 fs/nfs/dir.c   	for (i = 0; i < NFS_LOOKUP_CACHE_SIZE; i++) {
i                 188 fs/nfs/dir.c   		entry = nfs_lookup_cache + i;
i                 251 fs/nfs/dir.c   	int i;
i                 263 fs/nfs/dir.c   	for (i = 0; i < NFS_LOOKUP_CACHE_SIZE; i++) {
i                 264 fs/nfs/dir.c   		entry = nfs_lookup_cache + i;
i                 276 fs/nfs/dir.c   	int i;
i                 278 fs/nfs/dir.c   	for (i = 0; i < NFS_LOOKUP_CACHE_SIZE; i++) {
i                 279 fs/nfs/dir.c   		entry = nfs_lookup_cache + i;
i                 482 fs/nfs/dir.c   	int i;
i                 497 fs/nfs/dir.c   	for (i = 0; i < NFS_MAXPATHLEN && (c = get_fs_byte(symname++)); i++)
i                 498 fs/nfs/dir.c   		symfilename[i] = c;
i                 499 fs/nfs/dir.c   	if (i == NFS_MAXPATHLEN && get_fs_byte(symname)) {
i                 504 fs/nfs/dir.c   	symfilename[i] = '\0';
i                  57 fs/nfs/file.c  	int i;
i                  77 fs/nfs/file.c  	for (i = 0; i < count; i += n) {
i                  78 fs/nfs/file.c  		hunk = count - i;
i                  91 fs/nfs/file.c  			i += result;
i                  97 fs/nfs/file.c  	return i;
i                 105 fs/nfs/file.c  	int i;
i                 125 fs/nfs/file.c  	for (i = 0; i < count; i += n) {
i                 126 fs/nfs/file.c  		hunk = count - i;
i                 139 fs/nfs/file.c  			i += hunk;
i                 145 fs/nfs/file.c  	return i;
i                 506 fs/nfs/proc.c  	int i = 0; /* = 0 is for gcc */
i                 524 fs/nfs/proc.c  		for (i = 0; i < count && *p++; i++)
i                 526 fs/nfs/proc.c  		eof = (i == count && !*p++ && *p++) || (i < count && *p++);
i                 527 fs/nfs/proc.c  		if (eof && i)
i                 529 fs/nfs/proc.c  		PRINTK("NFS reply readdir %d %s\n", i, eof ? "eof" : "");
i                 532 fs/nfs/proc.c  	return (status == NFS_OK) ? i : -nfs_stat_to_errno(status);
i                 566 fs/nfs/proc.c  	int i;
i                 587 fs/nfs/proc.c  	for (i = 0; i < 16 && i < NGROUPS && current->groups[i] != NOGROUP; i++)
i                 588 fs/nfs/proc.c  		*p++ = htonl(current->groups[i]);
i                 589 fs/nfs/proc.c  	*p2 = htonl(i);
i                 661 fs/nfs/proc.c  	int i;
i                 663 fs/nfs/proc.c  	for (i = 0; nfs_errtbl[i].stat != -1; i++) {
i                 664 fs/nfs/proc.c  		if (nfs_errtbl[i].stat == stat)
i                 665 fs/nfs/proc.c  			return nfs_errtbl[i].errno;
i                 668 fs/nfs/proc.c  	return nfs_errtbl[i].errno;
i                  89 fs/nfs/symlink.c 	int i;
i                 107 fs/nfs/symlink.c 	for (i = 0; i < buflen && (c = res[i]); i++)
i                 110 fs/nfs/symlink.c 	return i;
i                 355 fs/open.c      	int i,fd;
i                 373 fs/open.c      	i = open_namei(filename,flag,mode,&inode,NULL);
i                 374 fs/open.c      	if (i) {
i                 377 fs/open.c      		return i;
i                 383 fs/open.c      		if ((i = notify_change(inode))) {
i                 387 fs/open.c      			return i;
i                 401 fs/open.c      		i = f->f_op->open(inode,f);
i                 402 fs/open.c      		if (i) {
i                 406 fs/open.c      			return i;
i                 214 fs/pipe.c      	int i,j;
i                 225 fs/pipe.c      	for(i=0;j<2 && i<NR_OPEN;i++)
i                 226 fs/pipe.c      		if (!current->filp[i]) {
i                 227 fs/pipe.c      			current->filp[ fd[j]=i ] = f[j];
i                  51 fs/proc/array.c 	struct sysinfo i;
i                  53 fs/proc/array.c 	si_meminfo(&i);
i                  54 fs/proc/array.c 	si_swapinfo(&i);
i                  58 fs/proc/array.c 		i.totalram, i.totalram-i.freeram, i.freeram, i.sharedram, i.bufferram,
i                  59 fs/proc/array.c 		i.totalswap, i.totalswap-i.freeswap, i.freeswap);
i                 175 fs/proc/array.c 	int i;
i                 185 fs/proc/array.c 	for(i=0; i<32; ++i) {
i                 186 fs/proc/array.c 		switch((int) (*p)->sigaction[i].sa_handler) {
i                 238 fs/proc/array.c 	int i, tpag;
i                 247 fs/proc/array.c 	  for (i = 0; i < 0x300; ++i) {
i                 248 fs/proc/array.c 	    if ((ptbl = pagedir[i]) == 0) {
i                 262 fs/proc/array.c 		  if (i >= 15 && i < 0x2f0) {
i                  93 fs/proc/base.c 	int i, ino;
i                 104 fs/proc/base.c 	i = NR_BASE_DIRENTRY;
i                 105 fs/proc/base.c 	while (i-- > 0 && !proc_match(len,name,base_dir+i))
i                 107 fs/proc/base.c 	if (i < 0) {
i                 111 fs/proc/base.c 	if (base_dir[i].low_ino == 1)
i                 114 fs/proc/base.c 		ino = (pid << 16) + base_dir[i].low_ino;
i                 115 fs/proc/base.c 	for (i = 0 ; i < NR_TASKS ; i++)
i                 116 fs/proc/base.c 		if (task[i] && task[i]->pid == pid)
i                 118 fs/proc/base.c 	if (!pid || i >= NR_TASKS) {
i                 135 fs/proc/base.c 	int i,j;
i                 141 fs/proc/base.c 	for (i = 0 ; i < NR_TASKS ; i++)
i                 142 fs/proc/base.c 		if (task[i] && task[i]->pid == pid)
i                 144 fs/proc/base.c 	if (!pid || i >= NR_TASKS)
i                 149 fs/proc/base.c 		i = de->namelen;
i                 154 fs/proc/base.c 		put_fs_word(i,&dirent->d_reclen);
i                 155 fs/proc/base.c 		put_fs_byte(0,i+dirent->d_name);
i                 156 fs/proc/base.c 		j = i;
i                 157 fs/proc/base.c 		while (i--)
i                 158 fs/proc/base.c 			put_fs_byte(de->name[i], i+dirent->d_name);
i                  58 fs/proc/fd.c   	int i;
i                 101 fs/proc/fd.c   	for (i = 0 ; i < NR_TASKS ; i++)
i                 102 fs/proc/fd.c   		if ((p = task[i]) && p->pid == pid)
i                 104 fs/proc/fd.c   	if (!pid || i >= NR_TASKS)
i                 125 fs/proc/fd.c   	int i,j;
i                 139 fs/proc/fd.c   			i = j = fd+1;
i                 145 fs/proc/fd.c   			put_fs_word(i, &dirent->d_reclen);
i                 146 fs/proc/fd.c   			put_fs_byte(0, i+dirent->d_name);
i                 147 fs/proc/fd.c   			while (i--)
i                 148 fs/proc/fd.c   				put_fs_byte('.', i+dirent->d_name);
i                 152 fs/proc/fd.c   		for (i = 1 ; i < NR_TASKS ; i++)
i                 153 fs/proc/fd.c   			if ((p = task[i]) && p->pid == pid)
i                 155 fs/proc/fd.c   		if (i >= NR_TASKS)
i                 166 fs/proc/fd.c   		i = 1;
i                 169 fs/proc/fd.c   			i++;
i                 171 fs/proc/fd.c   		j = i;
i                 177 fs/proc/fd.c   		put_fs_word(i, &dirent->d_reclen);
i                 178 fs/proc/fd.c   		put_fs_byte(0, i+dirent->d_name);
i                 179 fs/proc/fd.c   		while (i--) {
i                 180 fs/proc/fd.c   			put_fs_byte('0'+(fd % 10), i+dirent->d_name);
i                  74 fs/proc/inode.c 	int i;
i                  87 fs/proc/inode.c 	for (i = 0; i < NR_TASKS ; i++)
i                  88 fs/proc/inode.c 		if ((p = task[i]) && (p->pid == pid))
i                  90 fs/proc/inode.c 	if (!p || i >= NR_TASKS)
i                  95 fs/proc/inode.c 		for (i = 1 ; i < NR_TASKS ; i++)
i                  96 fs/proc/inode.c 			if (task[i])
i                  46 fs/proc/link.c 	int i;
i                  57 fs/proc/link.c 	for (i = 0 ; i < NR_TASKS ; i++)
i                  58 fs/proc/link.c 		if ((p = task[i]) && p->pid == pid)
i                  60 fs/proc/link.c 	if (i >= NR_TASKS)
i                  95 fs/proc/link.c 	int i;
i                  99 fs/proc/link.c 	i = proc_follow_link(NULL, inode, 0, 0, &inode);
i                 100 fs/proc/link.c 	if (i)
i                 101 fs/proc/link.c 		return i;
i                 107 fs/proc/link.c 	i = sprintf(buf,"[%04x]:%u", dev, ino);
i                 108 fs/proc/link.c 	if (buflen > i)
i                 109 fs/proc/link.c 		buflen = i;
i                 110 fs/proc/link.c 	i = 0;
i                 111 fs/proc/link.c 	while (i < buflen)
i                 112 fs/proc/link.c 		put_fs_byte(buf[i++],buffer++);
i                 113 fs/proc/link.c 	return i;
i                  28 fs/proc/mem.c  	int i;
i                  35 fs/proc/mem.c  	for (i = 1 ; i < NR_TASKS ; i++)
i                  36 fs/proc/mem.c  		if (task[i] && task[i]->pid == pid) {
i                  37 fs/proc/mem.c  			cr3 = task[i]->tss.cr3;
i                  58 fs/proc/mem.c  		i = 4096-(addr & 0xfff);
i                  59 fs/proc/mem.c  		if (i > count)
i                  60 fs/proc/mem.c  			i = count;
i                  61 fs/proc/mem.c  		memcpy_tofs(tmp,(void *) page,i);
i                  62 fs/proc/mem.c  		addr += i;
i                  63 fs/proc/mem.c  		tmp += i;
i                  64 fs/proc/mem.c  		count -= i;
i                  77 fs/proc/mem.c  	int i;
i                  85 fs/proc/mem.c  	for (i = 1 ; i < NR_TASKS ; i++)
i                  86 fs/proc/mem.c  		if (task[i] && task[i]->pid == pid) {
i                  87 fs/proc/mem.c  			cr3 = task[i]->tss.cr3;
i                 111 fs/proc/mem.c  		i = 4096-(addr & 0xfff);
i                 112 fs/proc/mem.c  		if (i > count)
i                 113 fs/proc/mem.c  			i = count;
i                 114 fs/proc/mem.c  		memcpy_fromfs((void *) page,tmp,i);
i                 115 fs/proc/mem.c  		addr += i;
i                 116 fs/proc/mem.c  		tmp += i;
i                 117 fs/proc/mem.c  		count -= i;
i                  69 fs/proc/root.c 	int i, ino;
i                  78 fs/proc/root.c 	i = NR_ROOT_DIRENTRY;
i                  79 fs/proc/root.c 	while (i-- > 0 && !proc_match(len,name,root_dir+i))
i                  81 fs/proc/root.c 	if (i >= 0) {
i                  82 fs/proc/root.c 		ino = root_dir[i].low_ino;
i                 105 fs/proc/root.c 		for (i = 0 ; i < NR_TASKS ; i++)
i                 106 fs/proc/root.c 			if (task[i] && task[i]->pid == pid)
i                 108 fs/proc/root.c 		if (!pid || i >= NR_TASKS) {
i                 127 fs/proc/root.c 	int i,j;
i                 137 fs/proc/root.c 		i = de->namelen;
i                 139 fs/proc/root.c 		put_fs_word(i,&dirent->d_reclen);
i                 140 fs/proc/root.c 		put_fs_byte(0,i+dirent->d_name);
i                 141 fs/proc/root.c 		j = i;
i                 142 fs/proc/root.c 		while (i--)
i                 143 fs/proc/root.c 			put_fs_byte(de->name[i], i+dirent->d_name);
i                 156 fs/proc/root.c 	i = 1;
i                 159 fs/proc/root.c 		i++;
i                 161 fs/proc/root.c 	j = i;
i                 163 fs/proc/root.c 	put_fs_word(i, &dirent->d_reclen);
i                 164 fs/proc/root.c 	put_fs_byte(0, i+dirent->d_name);
i                 165 fs/proc/root.c 	while (i--) {
i                 166 fs/proc/root.c 		put_fs_byte('0'+(pid % 10), i+dirent->d_name);
i                  84 fs/select.c    	int i;
i                  88 fs/select.c    	for (i = 0 ; i < n ; i++) {
i                  89 fs/select.c    		if (!FD_ISSET(i, in) &&
i                  90 fs/select.c    		    !FD_ISSET(i, out) &&
i                  91 fs/select.c    		    !FD_ISSET(i, ex))
i                  93 fs/select.c    		if (!current->filp[i])
i                  95 fs/select.c    		if (!current->filp[i]->f_inode)
i                  97 fs/select.c    		max = i;
i                 112 fs/select.c    	for (i = 0 ; i < n ; i++) {
i                 113 fs/select.c    		if (FD_ISSET(i,in) && check(SEL_IN,wait,current->filp[i])) {
i                 114 fs/select.c    			FD_SET(i, res_in);
i                 118 fs/select.c    		if (FD_ISSET(i,out) && check(SEL_OUT,wait,current->filp[i])) {
i                 119 fs/select.c    			FD_SET(i, res_out);
i                 123 fs/select.c    		if (FD_ISSET(i,ex) && check(SEL_EX,wait,current->filp[i])) {
i                 124 fs/select.c    			FD_SET(i, res_ex);
i                 180 fs/select.c    	int i;
i                 209 fs/select.c    	i = do_select(n, &in, &out, &ex, &res_in, &res_out, &res_ex);
i                 222 fs/select.c    	if (i < 0)
i                 223 fs/select.c    		return i;
i                 224 fs/select.c    	if (!i && (current->signal & ~current->blocked))
i                 229 fs/select.c    	return i;
i                 160 fs/super.c     	int i;
i                 167 fs/super.c     	for (i = 0; i < 256; i++) {
i                 168 fs/super.c     		if (!unnamed_dev_in_use[i]) {
i                 169 fs/super.c     			unnamed_dev_in_use[i] = 1;
i                 170 fs/super.c     			return (UNNAMED_MAJOR << 8) | i;
i                 360 fs/super.c     	int i;
i                 371 fs/super.c     		for (i = 0 ; i < 100 ; i++)
i                 372 fs/super.c     			if (!(tmp[i] = get_fs_byte(type++)))
i                 419 fs/super.c     			i = TASK_SIZE - (unsigned long) data;
i                 420 fs/super.c     			if (i < 0 || i > 4095)
i                 421 fs/super.c     				i = 4095;
i                 422 fs/super.c     			memcpy_fromfs((void *) page,data,i);
i                  37 include/linux/msdos_fs.h #define MSDOS_I(i) (&((i)->u.msdos_i))
i                 112 init/main.c    	int i;
i                 114 init/main.c    	for (i = 0 ; i < 1000000 ; i++)
i                 271 init/main.c    	int i;
i                 274 init/main.c    	write(1,printbuf,i=vsprintf(printbuf, fmt, args));
i                 276 init/main.c    	return i;
i                 281 init/main.c    	int pid,i;
i                 301 init/main.c    		while (pid != wait(&i))
i                 317 init/main.c    			if (pid == wait(&i))
i                 319 init/main.c    		printf("\n\rchild %d died with code %04x\n\r",pid,i);
i                  61 kernel/FPU-emu/errors.c   int i;
i                 116 kernel/FPU-emu/errors.c   for ( i = 0; i < 8; i++ )
i                 118 kernel/FPU-emu/errors.c       FPU_REG *r = &st(i);
i                 126 kernel/FPU-emu/errors.c 		 i, r->sign ? '-' : '+');
i                 132 kernel/FPU-emu/errors.c 	  printk("st(%d)  %c .%04x %04x %04x %04x e%+-6d ", i,
i                 222 kernel/FPU-emu/errors.c   int i, int_type;
i                 250 kernel/FPU-emu/errors.c       for (i=0; exception_names[i].type; i++)
i                 251 kernel/FPU-emu/errors.c 	if (exception_names[i].type == n)
i                 254 kernel/FPU-emu/errors.c       if (exception_names[i].type)
i                 257 kernel/FPU-emu/errors.c 	  printk("FP Exception: %s!\n", exception_names[i].name);
i                  60 kernel/FPU-emu/fpu_emu.h #define	NOT_EMPTY(i)	(st(i).tag != TW_Empty)
i                 948 kernel/FPU-emu/reg_ld_str.c   int i;
i                 992 kernel/FPU-emu/reg_ld_str.c   for ( i = 0; i < 9; i++)
i                 997 kernel/FPU-emu/reg_ld_str.c       put_fs_byte(b,(unsigned char *) d+i);
i                1076 kernel/FPU-emu/reg_ld_str.c   int i;
i                1089 kernel/FPU-emu/reg_ld_str.c   for ( i = 7; i >= 0; i-- )
i                1097 kernel/FPU-emu/reg_ld_str.c 	  regs[i].tag = TW_Valid;
i                1100 kernel/FPU-emu/reg_ld_str.c 	  regs[i].tag = TW_Zero;
i                1103 kernel/FPU-emu/reg_ld_str.c 	  regs[i].tag = TW_NaN;
i                1106 kernel/FPU-emu/reg_ld_str.c 	  regs[i].tag = TW_Empty;
i                1120 kernel/FPU-emu/reg_ld_str.c   int i;
i                1124 kernel/FPU-emu/reg_ld_str.c   for ( i = 0; i < 8; i++ )
i                1127 kernel/FPU-emu/reg_ld_str.c       FPU_data_address = (void *)&(s[i]);
i                1129 kernel/FPU-emu/reg_ld_str.c       tag = regs[i].tag;
i                1130 kernel/FPU-emu/reg_ld_str.c       reg_move(&FPU_loaded_data, &regs[i]);
i                1133 kernel/FPU-emu/reg_ld_str.c 	  unsigned char t = regs[i].tag;
i                1135 kernel/FPU-emu/reg_ld_str.c 	    regs[i].tag = TW_NaN;
i                1138 kernel/FPU-emu/reg_ld_str.c 	regs[i].tag = tag;
i                1150 kernel/FPU-emu/reg_ld_str.c   int i;
i                1154 kernel/FPU-emu/reg_ld_str.c   for ( i = 7; i >= 0; i-- )
i                1156 kernel/FPU-emu/reg_ld_str.c       switch ( tag = regs[i].tag )
i                1194 kernel/FPU-emu/reg_ld_str.c   int i;
i                1199 kernel/FPU-emu/reg_ld_str.c   for ( i = 0; i < 8; i++ )
i                1202 kernel/FPU-emu/reg_ld_str.c       rp = &regs[i];
i                1212 kernel/FPU-emu/reg_ld_str.c 	      put_fs_long(0, (unsigned long *) (d+i*10+2));
i                1213 kernel/FPU-emu/reg_ld_str.c 	      put_fs_long(0x80000000, (unsigned long *) (d+i*10+6));
i                1223 kernel/FPU-emu/reg_ld_str.c 		  put_fs_long(rp->sigl, (unsigned long *) (d+i*10+2));
i                1224 kernel/FPU-emu/reg_ld_str.c 		  put_fs_long(rp->sigh, (unsigned long *) (d+i*10+6));
i                1235 kernel/FPU-emu/reg_ld_str.c 		  put_fs_long(tmp.sigl, (unsigned long *) (d+i*10+2));
i                1236 kernel/FPU-emu/reg_ld_str.c 		  put_fs_long(tmp.sigh, (unsigned long *) (d+i*10+6));
i                1243 kernel/FPU-emu/reg_ld_str.c 		  put_fs_long(0, (unsigned long *) (d+i*10+2));
i                1244 kernel/FPU-emu/reg_ld_str.c 		  put_fs_long(0, (unsigned long *) (d+i*10+6));
i                1252 kernel/FPU-emu/reg_ld_str.c 	      put_fs_long(rp->sigl, (unsigned long *) (d+i*10+2));
i                1253 kernel/FPU-emu/reg_ld_str.c 	      put_fs_long(rp->sigh, (unsigned long *) (d+i*10+6));
i                1260 kernel/FPU-emu/reg_ld_str.c 	  put_fs_long(0, (unsigned long *) (d+i*10+2));
i                1261 kernel/FPU-emu/reg_ld_str.c 	  put_fs_long(0, (unsigned long *) (d+i*10+6));
i                1268 kernel/FPU-emu/reg_ld_str.c 	  put_fs_long(0, (unsigned long *) (d+i*10+2));
i                1269 kernel/FPU-emu/reg_ld_str.c 	  put_fs_long(0x80000000, (unsigned long *) (d+i*10+6));
i                1276 kernel/FPU-emu/reg_ld_str.c 	  put_fs_long(rp->sigl, (unsigned long *) (d+i*10+2));
i                1277 kernel/FPU-emu/reg_ld_str.c 	  put_fs_long(rp->sigh, (unsigned long *) (d+i*10+6));
i                1285 kernel/FPU-emu/reg_ld_str.c 	  put_fs_long(rp->sigl, (unsigned long *) (d+i*10+2));
i                1286 kernel/FPU-emu/reg_ld_str.c 	  put_fs_long(rp->sigh, (unsigned long *) (d+i*10+6));
i                1290 kernel/FPU-emu/reg_ld_str.c       put_fs_word(e, (unsigned short *) (d+i*10));
i                 412 kernel/blk_drv/floppy.c 	int i = 0, counter, status;
i                 419 kernel/blk_drv/floppy.c 			return i;
i                 422 kernel/blk_drv/floppy.c 			if (i >= MAX_REPLIES) {
i                 426 kernel/blk_drv/floppy.c 			reply_buffer[i++] = inb_p(FD_DATA);
i                 761 kernel/blk_drv/floppy.c 	short i;
i                 763 kernel/blk_drv/floppy.c 	for (i=0; i<4; i++) {
i                 790 kernel/blk_drv/floppy.c 	int i;
i                 803 kernel/blk_drv/floppy.c 	for (i=0 ; i<1000 ; i++)
i                  99 kernel/blk_drv/genhd.c 	int i, minor = current_minor;
i                 115 kernel/blk_drv/genhd.c 		for (i=1 ; i<=4 ; minor++,i++,p++) {
i                 119 kernel/blk_drv/genhd.c 			printk(" part %d start %d size %d end %d \n\r", i, 
i                 133 kernel/blk_drv/genhd.c 			for (i = 4 ; i < 16 ; i++, current_minor++) {
i                 165 kernel/blk_drv/genhd.c 	int i;
i                 173 kernel/blk_drv/genhd.c 	for (i=start ; i < j ; i++)
i                 174 kernel/blk_drv/genhd.c 		dev->sizes[i] = dev->part[i].nr_sects >> (BLOCK_SIZE_BITS - 9);
i                 179 kernel/blk_drv/genhd.c 	int i;
i                 185 kernel/blk_drv/genhd.c 	for (i = 0 ; i < j; i++)  {
i                 186 kernel/blk_drv/genhd.c 		dev->part[i].start_sect = 0;
i                 187 kernel/blk_drv/genhd.c 		dev->part[i].nr_sects = 0;
i                 194 kernel/blk_drv/genhd.c 	for (i=0 ; i < j ; i++)
i                 195 kernel/blk_drv/genhd.c 		dev->sizes[i] = dev->part[i].nr_sects >> (BLOCK_SIZE_BITS - 9);
i                  97 kernel/blk_drv/hd.c 	int i;
i                 102 kernel/blk_drv/hd.c 	i = inb_p(0x40);
i                 103 kernel/blk_drv/hd.c 	i |= inb(0x40) << 8;
i                 105 kernel/blk_drv/hd.c 	return(t - i / 2);
i                 111 kernel/blk_drv/hd.c 	int i=inb_p(HD_STATUS);
i                 113 kernel/blk_drv/hd.c 	if ((i & (BUSY_STAT | READY_STAT | WRERR_STAT | SEEK_STAT | ERR_STAT))
i                 116 kernel/blk_drv/hd.c 	printk("HD: win_result: status = 0x%02x\n",i);
i                 117 kernel/blk_drv/hd.c 	if (i&1) {
i                 118 kernel/blk_drv/hd.c 		i=inb(HD_ERROR);
i                 119 kernel/blk_drv/hd.c 		printk("HD: win_result: error = 0x%02x\n",i);
i                 199 kernel/blk_drv/hd.c 	unsigned int i;
i                 202 kernel/blk_drv/hd.c 	for (i = 0; i < 500000 ; i++) {
i                 214 kernel/blk_drv/hd.c 	int	i;
i                 218 kernel/blk_drv/hd.c 	for(i = 0; i < 1000; i++) nop();
i                 222 kernel/blk_drv/hd.c 	if ((i = inb(HD_ERROR)) != 1)
i                 223 kernel/blk_drv/hd.c 		printk("HD-controller reset failed: %02x\n\r",i);
i                 228 kernel/blk_drv/hd.c 	static int i;
i                 233 kernel/blk_drv/hd.c 		i = -1;
i                 240 kernel/blk_drv/hd.c 	i++;
i                 241 kernel/blk_drv/hd.c 	if (i < NR_HD) {
i                 242 kernel/blk_drv/hd.c 		hd_out(i,hd_info[i].sect,hd_info[i].sect,hd_info[i].head-1,
i                 243 kernel/blk_drv/hd.c 			hd_info[i].cyl,WIN_SPECIFY,&reset_hd);
i                 264 kernel/blk_drv/hd.c 	int i;
i                 273 kernel/blk_drv/hd.c 		for (i=0; i < NR_HD; i++)
i                 274 kernel/blk_drv/hd.c 			recalibrate[i] = 1;
i                 292 kernel/blk_drv/hd.c 	int i;
i                 296 kernel/blk_drv/hd.c 		i = (unsigned) inb_p(HD_STATUS);
i                 297 kernel/blk_drv/hd.c 		if ((i & STAT_MASK) != STAT_OK)
i                 299 kernel/blk_drv/hd.c 		if (i & DRQ_STAT)
i                 303 kernel/blk_drv/hd.c 	printk("HD: read_intr: status = 0x%02x\n",i);
i                 304 kernel/blk_drv/hd.c 	if (i & ERR_STAT) {
i                 305 kernel/blk_drv/hd.c 		i = (unsigned) inb(HD_ERROR);
i                 306 kernel/blk_drv/hd.c 		printk("HD: read_intr: error = 0x%02x\n",i);
i                 317 kernel/blk_drv/hd.c 	i = --CURRENT->nr_sectors;
i                 321 kernel/blk_drv/hd.c 		MINOR(CURRENT->dev), CURRENT->sector, i, CURRENT-> 
i                 324 kernel/blk_drv/hd.c 	if (!i || (CURRENT->bh && !SUBSECTOR(i)))
i                 326 kernel/blk_drv/hd.c 	if (i > 0) {
i                 341 kernel/blk_drv/hd.c 	int i;
i                 345 kernel/blk_drv/hd.c 		i = (unsigned) inb_p(HD_STATUS);
i                 346 kernel/blk_drv/hd.c 		if ((i & STAT_MASK) != STAT_OK)
i                 348 kernel/blk_drv/hd.c 		if ((CURRENT->nr_sectors <= 1) || (i & DRQ_STAT))
i                 352 kernel/blk_drv/hd.c 	printk("HD: write_intr: status = 0x%02x\n",i);
i                 353 kernel/blk_drv/hd.c 	if (i & ERR_STAT) {
i                 354 kernel/blk_drv/hd.c 		i = (unsigned) inb(HD_ERROR);
i                 355 kernel/blk_drv/hd.c 		printk("HD: write_intr: error = 0x%02x\n",i);
i                 363 kernel/blk_drv/hd.c 	i = --CURRENT->nr_sectors;
i                 366 kernel/blk_drv/hd.c 	if (!i || (CURRENT->bh && !SUBSECTOR(i)))
i                 368 kernel/blk_drv/hd.c 	if (i > 0) {
i                 455 kernel/blk_drv/hd.c 		int i;
i                 457 kernel/blk_drv/hd.c 		for (i=0; i < NR_HD; i++)
i                 458 kernel/blk_drv/hd.c 			recalibrate[i] = 1;
i                 603 kernel/blk_drv/hd.c 	int drive, i;
i                 655 kernel/blk_drv/hd.c 	for (i = 0 ; i < NR_HD ; i++)
i                 656 kernel/blk_drv/hd.c 		hd[i<<6].nr_sects = hd_info[i].head*
i                 657 kernel/blk_drv/hd.c 				hd_info[i].sect*hd_info[i].cyl;
i                 707 kernel/blk_drv/hd.c 	int i;
i                 724 kernel/blk_drv/hd.c 	for (i=max_p - 1; i >=0 ; i--) {
i                 725 kernel/blk_drv/hd.c 		sync_dev(major | start | i);
i                 726 kernel/blk_drv/hd.c 		invalidate_inodes(major | start | i);
i                 727 kernel/blk_drv/hd.c 		invalidate_buffers(major | start | i);
i                 728 kernel/blk_drv/hd.c 		gdev->part[start+i].start_sect = 0;
i                 729 kernel/blk_drv/hd.c 		gdev->part[start+i].nr_sects = 0;
i                 273 kernel/blk_drv/ll_rw_blk.c 	int i, j;
i                 286 kernel/blk_drv/ll_rw_blk.c 	    for (i=0;i<nr; i++)
i                 287 kernel/blk_drv/ll_rw_blk.c 	      if (bh[i]) bh[i]->b_dirt = bh[i]->b_uptodate = 0;
i                 295 kernel/blk_drv/ll_rw_blk.c 		for (i=0;i<nr; i++)
i                 296 kernel/blk_drv/ll_rw_blk.c 		  if (bh[i]) bh[i]->b_dirt = bh[i]->b_uptodate = 0;
i                 301 kernel/blk_drv/ll_rw_blk.c 		for (i=0;i<nr; i++)
i                 302 kernel/blk_drv/ll_rw_blk.c 		  if (bh[i]) bh[i]->b_dirt = bh[i]->b_uptodate = 0;
i                 318 kernel/blk_drv/ll_rw_blk.c 	for (i=0;i<nr; i++)
i                 319 kernel/blk_drv/ll_rw_blk.c 	  if (bh[i]) make_request(major, rw, bh[i]);
i                 331 kernel/blk_drv/ll_rw_blk.c 	int i;
i                 349 kernel/blk_drv/ll_rw_blk.c 	for (i=0; i<nb; i++, buf += BLOCK_SIZE)
i                 364 kernel/blk_drv/ll_rw_blk.c 		req->sector = b[i] << 1;
i                 379 kernel/blk_drv/ll_rw_blk.c 	int i;
i                 381 kernel/blk_drv/ll_rw_blk.c 	for (i=0 ; i<NR_REQUEST ; i++) {
i                 382 kernel/blk_drv/ll_rw_blk.c 		request[i].dev = -1;
i                 383 kernel/blk_drv/ll_rw_blk.c 		request[i].next = NULL;
i                  67 kernel/blk_drv/ramdisk.c 	int	i;
i                  75 kernel/blk_drv/ramdisk.c 	for (i=0; i < length; i++)
i                  90 kernel/blk_drv/ramdisk.c 	int		i = 1;
i                 135 kernel/blk_drv/ramdisk.c 		i++;
i                 332 kernel/blk_drv/scsi/aha1542.c 	int i;
i                 336 kernel/blk_drv/scsi/aha1542.c 	for (i = 0; i < 12; i++)
i                 337 kernel/blk_drv/scsi/aha1542.c 	  printk("%02x ", ccb[mbo].cdb[ccb[mbo].cdblen+i]);
i                 367 kernel/blk_drv/scsi/aha1542.c     DEB(int i);
i                 387 kernel/blk_drv/scsi/aha1542.c       i = xscsi2int(cmd+2);
i                 389 kernel/blk_drv/scsi/aha1542.c       i = scsi2int(cmd+2);
i                 391 kernel/blk_drv/scsi/aha1542.c       i = -1;
i                 393 kernel/blk_drv/scsi/aha1542.c       printk("aha1542_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
i                 395 kernel/blk_drv/scsi/aha1542.c       printk("aha1542_command: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
i                 398 kernel/blk_drv/scsi/aha1542.c     for (i = 0; i < (*cmd<=0x1f?6:10); i++) printk("%02x ", cmd[i]);
i                 448 kernel/blk_drv/scsi/aha1542.c       int i;
i                 454 kernel/blk_drv/scsi/aha1542.c       for(i=0; i<SCpnt->use_sg; i++) {
i                 455 kernel/blk_drv/scsi/aha1542.c 	if(sgpnt[i].length == 0 || SCpnt->use_sg > 16 || 
i                 456 kernel/blk_drv/scsi/aha1542.c 	   (((int)sgpnt[i].address) & 1) || (sgpnt[i].length & 1)){
i                 458 kernel/blk_drv/scsi/aha1542.c 	  printk("Bad segment list supplied to aha1542.c (%d, %d)\n",SCpnt->use_sg,i);
i                 459 kernel/blk_drv/scsi/aha1542.c 	  for(i=0;i<SCpnt->use_sg++;i++){
i                 460 kernel/blk_drv/scsi/aha1542.c 	    printk("%d: %x %x %d\n",i,sgpnt[i].address, sgpnt[i].alt_address,
i                 461 kernel/blk_drv/scsi/aha1542.c 		   sgpnt[i].length);
i                 464 kernel/blk_drv/scsi/aha1542.c 	  ptr = (unsigned char *) &cptr[i];
i                 465 kernel/blk_drv/scsi/aha1542.c 	  for(i=0;i<18;i++) printk("%02x ", ptr[i]);
i                 468 kernel/blk_drv/scsi/aha1542.c 	any2scsi(cptr[i].dataptr, sgpnt[i].address);
i                 469 kernel/blk_drv/scsi/aha1542.c 	any2scsi(cptr[i].datalen, sgpnt[i].length);
i                 476 kernel/blk_drv/scsi/aha1542.c       for(i=0;i<18;i++) printk("%02x ", ptr[i]);
i                 490 kernel/blk_drv/scsi/aha1542.c     { int i;
i                 492 kernel/blk_drv/scsi/aha1542.c     for (i = 0; i < sizeof(ccb[mbo])-10; i++)
i                 493 kernel/blk_drv/scsi/aha1542.c       printk("%02x ", ((unchar *)&ccb[mbo])[i]);
i                 532 kernel/blk_drv/scsi/aha1542.c     int i;
i                 535 kernel/blk_drv/scsi/aha1542.c     for(i=0; i<AHA1542_MAILBOXES; i++){
i                 536 kernel/blk_drv/scsi/aha1542.c       mb[i].status = mb[AHA1542_MAILBOXES+i].status = 0;
i                 537 kernel/blk_drv/scsi/aha1542.c       any2scsi(mb[i].ccbptr, &ccb[i]);
i                 555 kernel/blk_drv/scsi/aha1542.c   int i;
i                 556 kernel/blk_drv/scsi/aha1542.c   i = inb(STATUS);
i                 557 kernel/blk_drv/scsi/aha1542.c   if (i & DF) {
i                 558 kernel/blk_drv/scsi/aha1542.c     i = inb(DATA);
i                 616 kernel/blk_drv/scsi/aha1542.c   int i;
i                 617 kernel/blk_drv/scsi/aha1542.c   i = inb(STATUS);
i                 618 kernel/blk_drv/scsi/aha1542.c   if (i & DF) {
i                 619 kernel/blk_drv/scsi/aha1542.c     i = inb(DATA);
i                 645 kernel/blk_drv/scsi/aha1542.c     int i;
i                 652 kernel/blk_drv/scsi/aha1542.c       i = aha1542_test_port(bases[indx]);
i                 653 kernel/blk_drv/scsi/aha1542.c       if (i) break;
i                 713 kernel/blk_drv/scsi/aha1542.c 	int i;
i                 715 kernel/blk_drv/scsi/aha1542.c 	for (i = 0; i < sizeof(buf); ++i) buf[i] = 0x87;
i                 716 kernel/blk_drv/scsi/aha1542.c 	for (i = 0; i < 2; ++i)
i                 717 kernel/blk_drv/scsi/aha1542.c 	  if (!aha1542_command(i, cmd, buf, sizeof(buf))) {
i                 719 kernel/blk_drv/scsi/aha1542.c 		     i, xscsi2int(buf+4), xscsi2int(buf));
i                 725 kernel/blk_drv/scsi/aha1542.c     for (i = 0; i < 4; ++i)
i                 732 kernel/blk_drv/scsi/aha1542.c 	  xany2scsi(cmd+2, i);
i                 748 kernel/blk_drv/scsi/aha1542.c int aha1542_abort(Scsi_Cmnd * SCpnt, int i)
i                 197 kernel/blk_drv/scsi/aha1740.c     DEB(int i);
i                 217 kernel/blk_drv/scsi/aha1740.c       i = xscsi2int(cmd+2);
i                 219 kernel/blk_drv/scsi/aha1740.c       i = scsi2int(cmd+2);
i                 221 kernel/blk_drv/scsi/aha1740.c       i = -1;
i                 223 kernel/blk_drv/scsi/aha1740.c       printk("aha1740_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
i                 225 kernel/blk_drv/scsi/aha1740.c       printk("aha1740_command: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
i                 227 kernel/blk_drv/scsi/aha1740.c     for (i = 0; i < (*cmd<=0x1f?6:10); i++) printk("%02x ", cmd[i]);
i                 276 kernel/blk_drv/scsi/aha1740.c       int i;
i                 282 kernel/blk_drv/scsi/aha1740.c       for(i=0; i<SCpnt->use_sg; i++) {
i                 283 kernel/blk_drv/scsi/aha1740.c 	cptr[i].dataptr = (long) sgpnt[i].address;
i                 284 kernel/blk_drv/scsi/aha1740.c 	cptr[i].datalen = sgpnt[i].length;
i                 291 kernel/blk_drv/scsi/aha1740.c       for(i=0;i<24;i++) printk("%02x ", ptr[i]);
i                 309 kernel/blk_drv/scsi/aha1740.c     { int i;
i                 311 kernel/blk_drv/scsi/aha1740.c     for (i = 0; i < sizeof(ecb[ecbno])-10; i++)
i                 312 kernel/blk_drv/scsi/aha1740.c       printk("%02x ", ((unchar *)&ecb[ecbno])[i]);
i                 407 kernel/blk_drv/scsi/aha1740.c int aha1740_abort(Scsi_Cmnd * SCpnt, int i)
i                 331 kernel/blk_drv/scsi/fdomain.c    int i;
i                 334 kernel/blk_drv/scsi/fdomain.c    for (i = 0; i < 255; i++) {
i                 335 kernel/blk_drv/scsi/fdomain.c       outb( i, port_base + Write_Loopback );
i                 337 kernel/blk_drv/scsi/fdomain.c       if (i != result) return 1;
i                 344 kernel/blk_drv/scsi/fdomain.c    int              i, j;
i                 361 kernel/blk_drv/scsi/fdomain.c    for (i = 0; !bios_base && i < ADDRESS_COUNT; i++) {
i                 363 kernel/blk_drv/scsi/fdomain.c       printk( " %x(%x),", (unsigned)addresses[i], (unsigned)bios_base );
i                 366 kernel/blk_drv/scsi/fdomain.c 	 if (!memcmp( ((char *)addresses[i] + signatures[j].sig_offset),
i                 368 kernel/blk_drv/scsi/fdomain.c 	    bios_base = addresses[i];
i                 395 kernel/blk_drv/scsi/fdomain.c    for (flag = 0, i = 0; !flag && i < PORT_COUNT; i++) {
i                 396 kernel/blk_drv/scsi/fdomain.c       if (port_base == ports[i]) ++flag;
i                 420 kernel/blk_drv/scsi/fdomain.c       for (flag = 0, i = 0; !flag && i < PORT_COUNT; i++) {
i                 421 kernel/blk_drv/scsi/fdomain.c 	 port_base = ports[i];
i                 489 kernel/blk_drv/scsi/fdomain.c    for (i = 0; i < 8; i++) {
i                 490 kernel/blk_drv/scsi/fdomain.c       SCinit.target = i;
i                 491 kernel/blk_drv/scsi/fdomain.c       if (i == 6) continue;	/* The host adapter is at SCSI ID 6 */
i                 498 kernel/blk_drv/scsi/fdomain.c 	    printk( "     SCSI ID %d: ", i );
i                 849 kernel/blk_drv/scsi/fdomain.c 	    int i;
i                 853 kernel/blk_drv/scsi/fdomain.c 	    for (i = 0; i < COMMAND_SIZE( current_SC->cmnd[0] ); i++) {
i                 854 kernel/blk_drv/scsi/fdomain.c 	       outb( current_SC->cmnd[i], Write_SCSI_Data_port );
i                 856 kernel/blk_drv/scsi/fdomain.c 	       printk( "CMD = %x,", current_SC->cmnd[i] );
i                1308 kernel/blk_drv/scsi/fdomain.c    } *i;
i                1335 kernel/blk_drv/scsi/fdomain.c    i = (struct drive_info *)( (char *)bios_base + 0x1f31 + drive * 25 );
i                1336 kernel/blk_drv/scsi/fdomain.c    info[0] = i->heads;
i                1337 kernel/blk_drv/scsi/fdomain.c    info[1] = i->sectors;
i                1338 kernel/blk_drv/scsi/fdomain.c    info[2] = i->cylinders;
i                 116 kernel/blk_drv/scsi/hosts.c 	int i, count;	
i                 120 kernel/blk_drv/scsi/hosts.c 		for (count = i = 0; i < MAX_SCSI_HOSTS; ++i)
i                 127 kernel/blk_drv/scsi/hosts.c 			host_busy[i] = 0;
i                 128 kernel/blk_drv/scsi/hosts.c 			host_queue[i] = NULL;	
i                 130 kernel/blk_drv/scsi/hosts.c 			if ((scsi_hosts[i].detect) &&  (scsi_hosts[i].present = scsi_hosts[i].detect(i)))
i                 133 kernel/blk_drv/scsi/hosts.c 				         count, scsi_hosts[i].name);
i                 134 kernel/blk_drv/scsi/hosts.c 				printk ("%s", scsi_hosts[i].info());
i                 115 kernel/blk_drv/scsi/scsi.c   int i = 0;
i                 117 kernel/blk_drv/scsi/scsi.c   for(i=0; 1; i++){
i                 118 kernel/blk_drv/scsi/scsi.c     if(blacklist[i].vendor == NULL) return 0;
i                 121 kernel/blk_drv/scsi/scsi.c     if(strncmp(blacklist[i].vendor, pnt,
i                 122 kernel/blk_drv/scsi/scsi.c 	       strlen(blacklist[i].vendor))) continue;
i                 125 kernel/blk_drv/scsi/scsi.c     if(strncmp(blacklist[i].model, pnt,
i                 126 kernel/blk_drv/scsi/scsi.c 	       strlen(blacklist[i].model))) continue;
i                 614 kernel/blk_drv/scsi/scsi.c 	int i;	
i                 619 kernel/blk_drv/scsi/scsi.c 	for (i = 0; i < 10; ++i)
i                 620 kernel/blk_drv/scsi/scsi.c 		printk ("%02x  ", ((unsigned char *) cmnd)[i]); 
i                1258 kernel/blk_drv/scsi/scsi.c   int i, j;
i                1266 kernel/blk_drv/scsi/scsi.c   for(i=0;i < (dma_sectors >> 4); i++)
i                1268 kernel/blk_drv/scsi/scsi.c       if ((dma_malloc_freelist[i] & (mask << j)) == 0){
i                1269 kernel/blk_drv/scsi/scsi.c 	dma_malloc_freelist[i] |= (mask << j);
i                1273 kernel/blk_drv/scsi/scsi.c 	printk("SMalloc: %d %x ",len, dma_malloc_buffer + (i << 13) + (j << 9));
i                1275 kernel/blk_drv/scsi/scsi.c 	return (void*) ((unsigned long) dma_malloc_buffer + (i << 13) + (j << 9));
i                1322 kernel/blk_drv/scsi/scsi.c 	int i;
i                1333 kernel/blk_drv/scsi/scsi.c 	for (i = 0; i < max_scsi_hosts; ++i)
i                1334 kernel/blk_drv/scsi/scsi.c 		last_reset[i] = 0;
i                1348 kernel/blk_drv/scsi/scsi.c 	for (i=0; i< NR_SCSI_DEVICES; i++) {
i                1350 kernel/blk_drv/scsi/scsi.c 	  switch (scsi_devices[i].type)
i                1353 kernel/blk_drv/scsi/scsi.c 	      st_attach(&scsi_devices[i]);
i                1356 kernel/blk_drv/scsi/scsi.c 	      sr_attach(&scsi_devices[i]);
i                1360 kernel/blk_drv/scsi/scsi.c 	      sd_attach(&scsi_devices[i]);
i                1364 kernel/blk_drv/scsi/scsi.c 	  if(scsi_devices[i].type != -1){
i                1365 kernel/blk_drv/scsi/scsi.c 	    for(j=0;j<scsi_hosts[scsi_devices[i].host_no].cmd_per_lun;j++){
i                1366 kernel/blk_drv/scsi/scsi.c 	      SCpnt->host = scsi_devices[i].host_no;
i                1367 kernel/blk_drv/scsi/scsi.c 	      SCpnt->target = scsi_devices[i].id;
i                1368 kernel/blk_drv/scsi/scsi.c 	      SCpnt->lun = scsi_devices[i].lun;
i                1369 kernel/blk_drv/scsi/scsi.c 	      SCpnt->index = i;
i                1372 kernel/blk_drv/scsi/scsi.c 	      host = scsi_devices[i].host_no;
i                1388 kernel/blk_drv/scsi/scsi.c 	for (i = 0; i < NR_SCSI_DEVICES; ++i) {
i                1390 kernel/blk_drv/scsi/scsi.c 	  host = scsi_devices[i].host_no;
i                1392 kernel/blk_drv/scsi/scsi.c 	  if(scsi_devices[i].type != TYPE_TAPE)
i                1399 kernel/blk_drv/scsi/scsi.c 	     scsi_devices[i].type != TYPE_TAPE) {
i                1426 kernel/blk_drv/scsi/scsi.c         int i;
i                1429 kernel/blk_drv/scsi/scsi.c 	for (i = 8; i < 16; i++)
i                1431 kernel/blk_drv/scsi/scsi.c 	        if (data[i] >= 20 && i < data[4] + 5)
i                1432 kernel/blk_drv/scsi/scsi.c 		        printk("%c", data[i]);
i                1438 kernel/blk_drv/scsi/scsi.c 	for (i = 16; i < 32; i++)
i                1440 kernel/blk_drv/scsi/scsi.c 	        if (data[i] >= 20 && i < data[4] + 5)
i                1441 kernel/blk_drv/scsi/scsi.c 		        printk("%c", data[i]);
i                1447 kernel/blk_drv/scsi/scsi.c 	for (i = 32; i < 36; i++)
i                1449 kernel/blk_drv/scsi/scsi.c 	        if (data[i] >= 20 && i < data[4] + 5)
i                1450 kernel/blk_drv/scsi/scsi.c 		        printk("%c", data[i]);
i                1457 kernel/blk_drv/scsi/scsi.c 	i = data[0] & 0x1f;
i                1459 kernel/blk_drv/scsi/scsi.c 	printk("  Type:   %s ", i == 0x00 ? "Direct-Access    " :
i                1460 kernel/blk_drv/scsi/scsi.c 				i == 0x01 ? "Sequential-Access" :
i                1461 kernel/blk_drv/scsi/scsi.c 				i == 0x02 ? "Printer          " :
i                1462 kernel/blk_drv/scsi/scsi.c 				i == 0x03 ? "Processor        " :
i                1463 kernel/blk_drv/scsi/scsi.c 				i == 0x04 ? "WORM             " :
i                1464 kernel/blk_drv/scsi/scsi.c 				i == 0x05 ? "CD-ROM           " :
i                1465 kernel/blk_drv/scsi/scsi.c 				i == 0x06 ? "Scanner          " :
i                1466 kernel/blk_drv/scsi/scsi.c 				i == 0x07 ? "Optical Device   " :
i                1467 kernel/blk_drv/scsi/scsi.c 				i == 0x08 ? "Medium Changer   " :
i                1468 kernel/blk_drv/scsi/scsi.c 				i == 0x09 ? "Communications   " :
i                  93 kernel/blk_drv/scsi/scsi_debug.c   int i;
i                 102 kernel/blk_drv/scsi/scsi_debug.c     for(i=0; i<SCpnt->use_sg; i++) {
i                 103 kernel/blk_drv/scsi/scsi_debug.c       lpnt = (int *) sgpnt[i].alt_address;
i                 104 kernel/blk_drv/scsi/scsi_debug.c       printk(":%x %x %d\n",sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
i                 114 kernel/blk_drv/scsi/scsi_debug.c   for (i=0;i<sizeof(Scsi_Cmnd)/4+1; i++) {
i                 115 kernel/blk_drv/scsi/scsi_debug.c     if ((i & 7) == 0) printk("\n");
i                 121 kernel/blk_drv/scsi/scsi_debug.c   for (i=0;i<sizeof(Scsi_Cmnd)/4+1; i++) {
i                 122 kernel/blk_drv/scsi/scsi_debug.c     if ((i & 7) == 0) printk("\n");
i                 128 kernel/blk_drv/scsi/scsi_debug.c   for (i=0;i<sizeof(Scsi_Cmnd)/4+1; i++) {
i                 129 kernel/blk_drv/scsi/scsi_debug.c     if ((i & 7) == 0) printk("\n");
i                 149 kernel/blk_drv/scsi/scsi_debug.c     int i;
i                 167 kernel/blk_drv/scsi/scsi_debug.c       { int i;
i                 169 kernel/blk_drv/scsi/scsi_debug.c 	for(i=0;i<12;i++) printk("%d ",sense_buffer[i]);
i                 264 kernel/blk_drv/scsi/scsi_debug.c       { int i;
i                 266 kernel/blk_drv/scsi/scsi_debug.c 	for(i=0;i<12;i++) printk("%d ",sense_buffer[i]);
i                 328 kernel/blk_drv/scsi/scsi_debug.c     for(i=0;i<SCSI_DEBUG_MAILBOXES; i++){
i                 329 kernel/blk_drv/scsi/scsi_debug.c       if (SCint[i] == 0) break;
i                 332 kernel/blk_drv/scsi/scsi_debug.c     if (i >= SCSI_DEBUG_MAILBOXES || SCint[i] != 0) 
i                 335 kernel/blk_drv/scsi/scsi_debug.c     SCint[i] = SCpnt;
i                 339 kernel/blk_drv/scsi/scsi_debug.c 	if (do_done[i])
i                 342 kernel/blk_drv/scsi/scsi_debug.c 	  do_done[i] = done;
i                 347 kernel/blk_drv/scsi/scsi_debug.c     timeout[i] = jiffies+DISK_SPEED;
i                 351 kernel/blk_drv/scsi/scsi_debug.c       timer_table[SCSI_DEBUG_TIMER].expires = timeout[i];
i                 359 kernel/blk_drv/scsi/scsi_debug.c     printk("Sending command (%d %x %d %d)...", i, done, timeout[i],jiffies);
i                 389 kernel/blk_drv/scsi/scsi_debug.c     int i, pending;
i                 398 kernel/blk_drv/scsi/scsi_debug.c     for(i=0;i<SCSI_DEBUG_MAILBOXES; i++) {
i                 399 kernel/blk_drv/scsi/scsi_debug.c       if (SCint[i] == 0) continue;
i                 400 kernel/blk_drv/scsi/scsi_debug.c       if (timeout[i] == 0) continue;
i                 401 kernel/blk_drv/scsi/scsi_debug.c       if (timeout[i] <= jiffies) break;
i                 404 kernel/blk_drv/scsi/scsi_debug.c     if(i == SCSI_DEBUG_MAILBOXES){
i                 406 kernel/blk_drv/scsi/scsi_debug.c       for(i=0;i<SCSI_DEBUG_MAILBOXES; i++) {
i                 407 kernel/blk_drv/scsi/scsi_debug.c 	if (SCint[i] == 0) continue;
i                 408 kernel/blk_drv/scsi/scsi_debug.c 	if (timeout[i] == 0) continue;
i                 409 kernel/blk_drv/scsi/scsi_debug.c 	if (timeout[i] <= jiffies) {sti(); goto repeat;};
i                 410 kernel/blk_drv/scsi/scsi_debug.c 	if (timeout[i] > jiffies) {
i                 411 kernel/blk_drv/scsi/scsi_debug.c 	  if (pending > timeout[i]) pending = timeout[i];
i                 424 kernel/blk_drv/scsi/scsi_debug.c     if(i < SCSI_DEBUG_MAILBOXES){
i                 425 kernel/blk_drv/scsi/scsi_debug.c       timeout[i] = 0;
i                 426 kernel/blk_drv/scsi/scsi_debug.c       my_done = do_done[i];
i                 427 kernel/blk_drv/scsi/scsi_debug.c       do_done[i] = NULL;
i                 428 kernel/blk_drv/scsi/scsi_debug.c       to = timeout[i];
i                 429 kernel/blk_drv/scsi/scsi_debug.c       timeout[i] = 0;
i                 430 kernel/blk_drv/scsi/scsi_debug.c       SCtmp = (Scsi_Cmnd *) SCint[i];
i                 431 kernel/blk_drv/scsi/scsi_debug.c       SCint[i] = NULL;
i                 441 kernel/blk_drv/scsi/scsi_debug.c       printk("...done %d %x %d %d\n",i , my_done, to, jiffies);
i                 442 kernel/blk_drv/scsi/scsi_debug.c       printk("In intr_handle: %d %x %x\n",i, SCtmp, my_done);
i                 462 kernel/blk_drv/scsi/scsi_debug.c int scsi_debug_abort(Scsi_Cmnd * SCpnt,int i)
i                 467 kernel/blk_drv/scsi/scsi_debug.c     SCpnt->result = i << 16;
i                 492 kernel/blk_drv/scsi/scsi_debug.c     int i;
i                 495 kernel/blk_drv/scsi/scsi_debug.c     for(i=0;i<SCSI_DEBUG_MAILBOXES; i++) {
i                 496 kernel/blk_drv/scsi/scsi_debug.c       if (SCint[i] == NULL) continue;
i                 497 kernel/blk_drv/scsi/scsi_debug.c       SCint[i]->result = DID_ABORT << 16;
i                 498 kernel/blk_drv/scsi/scsi_debug.c       my_done = do_done[i];
i                 499 kernel/blk_drv/scsi/scsi_debug.c       my_done(SCint[i]);
i                 501 kernel/blk_drv/scsi/scsi_debug.c       SCint[i] = NULL;
i                 502 kernel/blk_drv/scsi/scsi_debug.c       do_done[i] = NULL;
i                 503 kernel/blk_drv/scsi/scsi_debug.c       timeout[i] = 0;
i                 193 kernel/blk_drv/scsi/scsi_ioctl.c 	int i;
i                 195 kernel/blk_drv/scsi/scsi_ioctl.c 	for (i = 0; i < 10; ++i)
i                 196 kernel/blk_drv/scsi/scsi_ioctl.c 		printk("%02x ", cmd[i]);
i                 198 kernel/blk_drv/scsi/scsi_ioctl.c 	for (i = 0; i < 20; ++i)
i                 199 kernel/blk_drv/scsi/scsi_ioctl.c 		printk("%02x ", buf[i]);
i                 100 kernel/blk_drv/scsi/sd.c 	int i;
i                 101 kernel/blk_drv/scsi/sd.c 	for (i = 0; i < NR_SD; ++i)
i                 102 kernel/blk_drv/scsi/sd.c 	  sd[i << 4].nr_sects = rscsi_disks[i].capacity;
i                 161 kernel/blk_drv/scsi/sd.c       int i;
i                 163 kernel/blk_drv/scsi/sd.c       for(i=0; i<SCpnt->use_sg; i++) {
i                 165 kernel/blk_drv/scsi/sd.c 	printk(":%x %x %d\n",sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
i                 167 kernel/blk_drv/scsi/sd.c 	if (sgpnt[i].alt_address) {
i                 169 kernel/blk_drv/scsi/sd.c 	    memcpy(sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
i                 170 kernel/blk_drv/scsi/sd.c 	  scsi_free(sgpnt[i].address, sgpnt[i].length);
i                 218 kernel/blk_drv/scsi/sd.c       int i;
i                 220 kernel/blk_drv/scsi/sd.c       for(i=0; i<SCpnt->use_sg; i++) {
i                 225 kernel/blk_drv/scsi/sd.c 	if (sgpnt[i].alt_address) {
i                 226 kernel/blk_drv/scsi/sd.c 	  scsi_free(sgpnt[i].address, sgpnt[i].length);
i                 247 kernel/blk_drv/scsi/sd.c 	    int i;
i                 249 kernel/blk_drv/scsi/sd.c 	    for(i=0;i<10;i++) printk(" %d",SCpnt->sense_buffer[i]);
i                 643 kernel/blk_drv/scsi/sd.c static int sd_init_onedisk(int i)
i                 655 kernel/blk_drv/scsi/sd.c   SCpnt = allocate_device(NULL, rscsi_disks[i].device->index, 1);
i                 660 kernel/blk_drv/scsi/sd.c     cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
i                 706 kernel/blk_drv/scsi/sd.c 	      i,i,
i                 707 kernel/blk_drv/scsi/sd.c 	      rscsi_disks[i].device->host_no, rscsi_disks[i].device->id,
i                 708 kernel/blk_drv/scsi/sd.c 	      rscsi_disks[i].device->lun,
i                 715 kernel/blk_drv/scsi/sd.c 	printk("sd%d : extended sense code = %1x \n", i, SCpnt->sense_buffer[2] & 0xf);
i                 717 kernel/blk_drv/scsi/sd.c 	printk("sd%d : sense not available. \n", i);
i                 719 kernel/blk_drv/scsi/sd.c       printk("sd%d : block size assumed to be 512 bytes, disk size 1GB.  \n", i);
i                 720 kernel/blk_drv/scsi/sd.c       rscsi_disks[i].capacity = 0xfffff;
i                 721 kernel/blk_drv/scsi/sd.c       rscsi_disks[i].sector_size = 512;
i                 725 kernel/blk_drv/scsi/sd.c       rscsi_disks[i].capacity = (buffer[0] << 24) |
i                 730 kernel/blk_drv/scsi/sd.c       if ((rscsi_disks[i].sector_size = (buffer[4] << 24) |
i                 736 kernel/blk_drv/scsi/sd.c 		  i, rscsi_disks[i].sector_size);
i                 737 kernel/blk_drv/scsi/sd.c 	  if(rscsi_disks[i].device->removable){
i                 738 kernel/blk_drv/scsi/sd.c 	    rscsi_disks[i].capacity = 0;
i                 741 kernel/blk_drv/scsi/sd.c 	    for  (j=i;  j < NR_SD - 1;)
i                 743 kernel/blk_drv/scsi/sd.c 	    --i;
i                 745 kernel/blk_drv/scsi/sd.c 	    return i;
i                 750 kernel/blk_drv/scsi/sd.c   rscsi_disks[i].ten = 1;
i                 751 kernel/blk_drv/scsi/sd.c   rscsi_disks[i].remap = 1;
i                 752 kernel/blk_drv/scsi/sd.c   return i;
i                 762 kernel/blk_drv/scsi/sd.c 	int i;
i                 779 kernel/blk_drv/scsi/sd.c 	for (i = 0; i < NR_SD; ++i)
i                 780 kernel/blk_drv/scsi/sd.c 	  i = sd_init_onedisk(i);
i                 826 kernel/blk_drv/scsi/sd.c 	  int i;
i                 844 kernel/blk_drv/scsi/sd.c 	  for (i=max_p - 1; i >=0 ; i--) {
i                 845 kernel/blk_drv/scsi/sd.c 	    sync_dev(major | start | i);
i                 846 kernel/blk_drv/scsi/sd.c 	    invalidate_inodes(major | start | i);
i                 847 kernel/blk_drv/scsi/sd.c 	    invalidate_buffers(major | start | i);
i                 848 kernel/blk_drv/scsi/sd.c 	    gdev->part[start+i].start_sect = 0;
i                 849 kernel/blk_drv/scsi/sd.c 	    gdev->part[start+i].nr_sects = 0;
i                 134 kernel/blk_drv/scsi/seagate.c 	int i,j;
i                 178 kernel/blk_drv/scsi/seagate.c 	for (i = 0; i < (sizeof (seagate_bases) / sizeof (char  * )); ++i)
i                 180 kernel/blk_drv/scsi/seagate.c 		if (!memcmp ((void *) (seagate_bases[i] +
i                 183 kernel/blk_drv/scsi/seagate.c 			base_address = (void *) seagate_bases[i];
i                 361 kernel/blk_drv/scsi/seagate.c 	int i;
i                 381 kernel/blk_drv/scsi/seagate.c 	for (i = 0; i < COMMAND_SIZE(((unsigned char *)cmnd)[0]); ++i)
i                 382 kernel/blk_drv/scsi/seagate.c 		printk("%02x ",  ((unsigned char *) cmnd)[i]);
i                 930 kernel/blk_drv/scsi/seagate.c 	for (i = 0; i < 20; ++i) 
i                 931 kernel/blk_drv/scsi/seagate.c 		printk ("%02x  ", ((unsigned char *) data)[i]);	/* WDE mod */
i                 146 kernel/blk_drv/scsi/sr.c 		    int i;
i                 148 kernel/blk_drv/scsi/sr.c 		    for(i=0; i<SCpnt->use_sg; i++) {
i                 149 kernel/blk_drv/scsi/sr.c 		      if (sgpnt[i].alt_address) {
i                 150 kernel/blk_drv/scsi/sr.c 			if (sgpnt[i].alt_address != sgpnt[i].address) {
i                 151 kernel/blk_drv/scsi/sr.c 			  memcpy(sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length);
i                 153 kernel/blk_drv/scsi/sr.c 			scsi_free(sgpnt[i].address, sgpnt[i].length);
i                 188 kernel/blk_drv/scsi/sr.c 	  int i;
i                 190 kernel/blk_drv/scsi/sr.c 	  for(i=0; i<SCpnt->use_sg; i++) {
i                 191 kernel/blk_drv/scsi/sr.c 	    if (sgpnt[i].alt_address) {
i                 192 kernel/blk_drv/scsi/sr.c 	      scsi_free(sgpnt[i].address, sgpnt[i].length);
i                 602 kernel/blk_drv/scsi/sr.c 	int i;
i                 611 kernel/blk_drv/scsi/sr.c 	for (i = 0; i < NR_SR; ++i)
i                 613 kernel/blk_drv/scsi/sr.c 		scsi_CDs[i].capacity = 0x1fffff;
i                 614 kernel/blk_drv/scsi/sr.c 		scsi_CDs[i].sector_size = 2048;
i                 615 kernel/blk_drv/scsi/sr.c 		scsi_CDs[i].use = 1;
i                 616 kernel/blk_drv/scsi/sr.c 		scsi_CDs[i].ten = 1;
i                 617 kernel/blk_drv/scsi/sr.c 		scsi_CDs[i].remap = 1;
i                 618 kernel/blk_drv/scsi/sr.c 		sr_sizes[i] = scsi_CDs[i].capacity;
i                 289 kernel/blk_drv/scsi/st.c     int i;
i                 302 kernel/blk_drv/scsi/st.c     for (i=0; i < st_nbr_buffers; i++)
i                 303 kernel/blk_drv/scsi/st.c       if (!st_buffers[i]->in_use)
i                 305 kernel/blk_drv/scsi/st.c     if (i >= st_nbr_buffers) {
i                 309 kernel/blk_drv/scsi/st.c     st_buffers[i]->in_use = 1;
i                 310 kernel/blk_drv/scsi/st.c     st_buffers[i]->writing = 0;
i                 311 kernel/blk_drv/scsi/st.c     scsi_tapes[dev].buffer = st_buffers[i];
i                 407 kernel/blk_drv/scsi/st.c     i = st_chk_result(dev, SCpnt->result, SCpnt->sense_buffer);
i                 408 kernel/blk_drv/scsi/st.c     if (i) {
i                1092 kernel/blk_drv/scsi/st.c    int i, cmd, result;
i                1116 kernel/blk_drv/scsi/st.c      i = flush_buffer(inode, file, mtc.mt_op == MTSEEK ||
i                1119 kernel/blk_drv/scsi/st.c      if (i < 0)
i                1120 kernel/blk_drv/scsi/st.c        return i;
i                1141 kernel/blk_drv/scsi/st.c      i = flush_buffer(inode, file, 0);
i                1142 kernel/blk_drv/scsi/st.c      if (i < 0)
i                1143 kernel/blk_drv/scsi/st.c        return i;
i                1225 kernel/blk_drv/scsi/st.c   int i;
i                1234 kernel/blk_drv/scsi/st.c   for (i=0; i < NR_ST; ++i) {
i                1235 kernel/blk_drv/scsi/st.c     scsi_tapes[i].capacity = 0xfffff;
i                1236 kernel/blk_drv/scsi/st.c     scsi_tapes[i].dirty = 0;
i                1237 kernel/blk_drv/scsi/st.c     scsi_tapes[i].rw = 0;
i                1238 kernel/blk_drv/scsi/st.c     scsi_tapes[i].eof = 0;
i                1239 kernel/blk_drv/scsi/st.c     scsi_tapes[i].waiting = NULL;
i                1240 kernel/blk_drv/scsi/st.c     scsi_tapes[i].in_use = 0;
i                1249 kernel/blk_drv/scsi/st.c   for (i=0; i < st_nbr_buffers; i++) {
i                1250 kernel/blk_drv/scsi/st.c     st_buffers[i] = (ST_buffer *) mem_start;
i                1252 kernel/blk_drv/scsi/st.c     printk("st: Buffer address: %x\n", st_buffers[i]);
i                1255 kernel/blk_drv/scsi/st.c     st_buffers[i]->mt_status = (struct mtget *) mem_start;
i                1257 kernel/blk_drv/scsi/st.c     st_buffers[i]->in_use = 0;
i                1258 kernel/blk_drv/scsi/st.c     st_buffers[i]->writing = 0;
i                1261 kernel/blk_drv/scsi/st.c     memset((void *) st_buffers[i]->mt_status, 0, sizeof(struct mtget));
i                1262 kernel/blk_drv/scsi/st.c     st_buffers[i]->mt_status->mt_type = MT_ISSCSI1;
i                 172 kernel/blk_drv/scsi/ultrastor.c     size_t i;
i                 183 kernel/blk_drv/scsi/ultrastor.c     for (i = 0; i < ARRAY_SIZE(ultrastor_ports); i++) {
i                 184 kernel/blk_drv/scsi/ultrastor.c 	PORT_ADDRESS = ultrastor_ports[i];
i                 225 kernel/blk_drv/scsi/ultrastor.c     if (i == ARRAY_SIZE(ultrastor_ports)) {
i                 255 kernel/blk_drv/scsi/ultrastor.c 	for (i = 0; !found && i < ARRAY_SIZE(signatures); i++)
i                 256 kernel/blk_drv/scsi/ultrastor.c 	    if (memcmp((char *)config.bios_segment + signatures[i].offset,
i                 257 kernel/blk_drv/scsi/ultrastor.c 		       signatures[i].signature, signatures[i].length))
i                 170 kernel/blk_drv/scsi/wd7000.c     int i;
i                 177 kernel/blk_drv/scsi/wd7000.c     for (i = 0;  i < MAX_SCBS-1;  i++)  scbs[i].next = &(scbs[i+1]);
i                 189 kernel/blk_drv/scsi/wd7000.c     int i, ogmb;
i                 198 kernel/blk_drv/scsi/wd7000.c     for (i = 0; i < OGMB_CNT; i++) {
i                 212 kernel/blk_drv/scsi/wd7000.c     if (i >= OGMB_CNT) {
i                 375 kernel/blk_drv/scsi/wd7000.c         unsigned i;
i                 400 kernel/blk_drv/scsi/wd7000.c 	for (i = 0;  i < SCpnt->use_sg;  i++)  {
i                 401 kernel/blk_drv/scsi/wd7000.c  	    any2scsi(sgb->ptr, sg[i].address);
i                 402 kernel/blk_drv/scsi/wd7000.c  	    any2scsi(sgb->len, sg[i].length);
i                 428 kernel/blk_drv/scsi/wd7000.c {   int i;
i                 449 kernel/blk_drv/scsi/wd7000.c     if ((i=inb(INTR_STAT)) != 1) {
i                 526 kernel/blk_drv/scsi/wd7000.c     int i,j;
i                 529 kernel/blk_drv/scsi/wd7000.c     for(i=0;i<(sizeof(wd_bases)/sizeof(char *));i++){
i                 531 kernel/blk_drv/scsi/wd7000.c 	    if(!memcmp((void *)(wd_bases[i] + signatures[j].offset),
i                 533 kernel/blk_drv/scsi/wd7000.c 		    base_address=wd_bases[i];
i                 577 kernel/blk_drv/scsi/wd7000.c int wd7000_abort(Scsi_Cmnd * SCpnt, int i)
i                 580 kernel/blk_drv/scsi/wd7000.c     printk("wd7000_abort: Scsi_Cmnd = 0x%08x, code = %d ", SCpnt, i);
i                  95 kernel/chr_drv/busmouse.c 	int i;
i                 113 kernel/chr_drv/busmouse.c 	for (i = 3; i < count; i++)
i                 114 kernel/chr_drv/busmouse.c 		put_fs_byte(0x00, buffer + i);
i                 120 kernel/chr_drv/busmouse.c 	return i;
i                 147 kernel/chr_drv/busmouse.c 	int i;
i                 151 kernel/chr_drv/busmouse.c 	for (i = 0; i < 100000; i++)
i                 521 kernel/chr_drv/console.c 	int i;
i                 523 kernel/chr_drv/console.c 	for (i=0;i<=npar;i++)
i                 524 kernel/chr_drv/console.c 		switch (par[i]) {
i                 563 kernel/chr_drv/console.c 				if (par[i] >= 30 && par[i] <= 37)
i                 564 kernel/chr_drv/console.c 					color = color_table[par[i]-30]
i                 566 kernel/chr_drv/console.c 				else if (par[i] >= 40 && par[i] <= 47)
i                 567 kernel/chr_drv/console.c 					color = (color_table[par[i]-40]<<4)
i                 609 kernel/chr_drv/console.c 	int i = 0;
i                 612 kernel/chr_drv/console.c 		buff[i++] = (n%10)+'0';
i                 614 kernel/chr_drv/console.c 	} while(n && i < 3);	/* We'll take no chances */
i                 615 kernel/chr_drv/console.c 	while (i--) {
i                 616 kernel/chr_drv/console.c 		put_tty_queue(buff[i], &tty->read_q);
i                 655 kernel/chr_drv/console.c 	int i;
i                 657 kernel/chr_drv/console.c 	for (i=0; i<=npar; i++)
i                 658 kernel/chr_drv/console.c 		if (ques) switch(par[i]) {	/* DEC private modes set/reset */
i                 693 kernel/chr_drv/console.c 		} else switch(par[i]) {		/* ANSI modes set/reset */
i                 736 kernel/chr_drv/console.c 	unsigned int i = x;
i                 740 kernel/chr_drv/console.c 	while (i++ < video_num_columns) {
i                 757 kernel/chr_drv/console.c 	unsigned int i = x;
i                 760 kernel/chr_drv/console.c 	while (++i < video_num_columns) {
i                  71 kernel/chr_drv/keyboard.c 	int i;
i                  73 kernel/chr_drv/keyboard.c 	for (i=0; i<0x10000; i++)
i                1119 kernel/chr_drv/keyboard.c 	int i;
i                1121 kernel/chr_drv/keyboard.c 	for(i=0; diacr_table[i]; i++)
i                1122 kernel/chr_drv/keyboard.c 		if (ch==diacr_table[i] && ((1<<i)&kbd->kbd_flags)) {
i                1123 kernel/chr_drv/keyboard.c 			if (diacr == i) {
i                1127 kernel/chr_drv/keyboard.c 				diacr=i;		/* key is dead */
i                1321 kernel/chr_drv/keyboard.c 	int i;
i                1328 kernel/chr_drv/keyboard.c 		for(i=0; i<0x20000; i++) {
i                1380 kernel/chr_drv/keyboard.c 	int i, j;
i                1388 kernel/chr_drv/keyboard.c 		for (i=0; i<100; i++) {
i                1467 kernel/chr_drv/keyboard.c 	int i;
i                1471 kernel/chr_drv/keyboard.c 	for (i = 0 ; i < NR_CONSOLES ; i++,kbd++) {
i                 129 kernel/chr_drv/mem.c 	unsigned int i = file->f_pos;
i                 132 kernel/chr_drv/mem.c 	while (count-- > 0 && i < 65536) {
i                 133 kernel/chr_drv/mem.c 		put_fs_byte(inb(i),tmp);
i                 134 kernel/chr_drv/mem.c 		i++;
i                 137 kernel/chr_drv/mem.c 	file->f_pos = i;
i                 143 kernel/chr_drv/mem.c 	unsigned int i = file->f_pos;
i                 146 kernel/chr_drv/mem.c 	while (count-- > 0 && i < 65536) {
i                 147 kernel/chr_drv/mem.c 		outb(get_fs_byte(tmp),i);
i                 148 kernel/chr_drv/mem.c 		i++;
i                 151 kernel/chr_drv/mem.c 	file->f_pos = i;
i                 102 kernel/chr_drv/msbusmouse.c 	int i;
i                 119 kernel/chr_drv/msbusmouse.c 	for (i = 3; i < count; i++)
i                 120 kernel/chr_drv/msbusmouse.c 		put_fs_byte(0x00, buffer + i);
i                 125 kernel/chr_drv/msbusmouse.c 	return i;	
i                 155 kernel/chr_drv/msbusmouse.c 	int i, delay_val, msfound = 1;
i                 170 kernel/chr_drv/msbusmouse.c 		for (i = 0; i < 4; i++) {
i                 203 kernel/chr_drv/psaux.c 	int i = count;
i                 205 kernel/chr_drv/psaux.c 	while (i--) {
i                 225 kernel/chr_drv/psaux.c 	int i = count;
i                 241 kernel/chr_drv/psaux.c 	while (i > 0 && !queue_empty()) {
i                 244 kernel/chr_drv/psaux.c 		i--;
i                 247 kernel/chr_drv/psaux.c 	if (count-i) {
i                 249 kernel/chr_drv/psaux.c 		return count-i;
i                 710 kernel/chr_drv/serial.c 	int	i;
i                 720 kernel/chr_drv/serial.c 	i = cflag & CBAUD;
i                 721 kernel/chr_drv/serial.c 	if (i == 15) {
i                 723 kernel/chr_drv/serial.c 			i += 1;
i                 725 kernel/chr_drv/serial.c 			i += 2;
i                 732 kernel/chr_drv/serial.c 	} else if (baud_table[i] == 134) {
i                 735 kernel/chr_drv/serial.c 	} else if (baud_table[i]) {
i                 736 kernel/chr_drv/serial.c 		quot = info->baud_base / baud_table[i];
i                 737 kernel/chr_drv/serial.c 		info->timeout = (info->xmit_fifo_size*HZ*15/baud_table[i]) + 2;
i                1153 kernel/chr_drv/serial.c 	int i;
i                1174 kernel/chr_drv/serial.c 	for (i = 0; i < 16; i++) {
i                1175 kernel/chr_drv/serial.c 		IRQ_ports[i] = 0;
i                1177 kernel/chr_drv/serial.c 		if (!irqaction(i, &sa))
i                1178 kernel/chr_drv/serial.c 			irq_lines |= 1 << i;
i                1185 kernel/chr_drv/serial.c 	for (i = 0; i < 16; i++) {
i                1186 kernel/chr_drv/serial.c 		if ((rs_triggered & (1 << i)) &&
i                1187 kernel/chr_drv/serial.c 		    (irq_lines & (1 << i))) {
i                1188 kernel/chr_drv/serial.c 			irq_lines &= ~(1 << i);
i                1189 kernel/chr_drv/serial.c 			printk("Wild interrupt?  (IRQ %d)\n", i);
i                1190 kernel/chr_drv/serial.c 			free_irq(i);
i                1195 kernel/chr_drv/serial.c 	for (i = 0, info = rs_table; i < NR_PORTS; i++,info++) {
i                1198 kernel/chr_drv/serial.c 		info->line = i;
i                1237 kernel/chr_drv/serial.c 	for (i = 0; i < 16; i++) {
i                1238 kernel/chr_drv/serial.c 		if (irq_lines & (1 << i))
i                1239 kernel/chr_drv/serial.c 			free_irq(i);
i                 752 kernel/chr_drv/tty_io.c 	int i, dev;
i                 773 kernel/chr_drv/tty_io.c 	i = read_chan(tty,file,buf,count);
i                 774 kernel/chr_drv/tty_io.c 	if (i > 0)
i                 776 kernel/chr_drv/tty_io.c 	return i;
i                 781 kernel/chr_drv/tty_io.c 	int dev, i, is_console;
i                 806 kernel/chr_drv/tty_io.c 	i = write_chan(tty,file,buf,count);
i                 807 kernel/chr_drv/tty_io.c 	if (i > 0)
i                 809 kernel/chr_drv/tty_io.c 	return i;
i                1117 kernel/chr_drv/tty_io.c 	int		i;
i                1129 kernel/chr_drv/tty_io.c 			for (i=0; i < NR_FILE; i++) {
i                1130 kernel/chr_drv/tty_io.c 				filp = (*p)->filp[i];
i                1188 kernel/chr_drv/tty_io.c 	int i;
i                1192 kernel/chr_drv/tty_io.c 	for (i=0 ; i<256 ; i++) {
i                1193 kernel/chr_drv/tty_io.c 		tty_table[i] =  0;
i                1194 kernel/chr_drv/tty_io.c 		tty_termios[i] = 0;
i                  94 kernel/chr_drv/tty_ioctl.c 	int i, n = 0;
i                 103 kernel/chr_drv/tty_ioctl.c 			for (i=0 ; i<sizeof(struct task_struct) ; i++)
i                 114 kernel/chr_drv/tty_ioctl.c 	int i;
i                 117 kernel/chr_drv/tty_ioctl.c 	for (i=0 ; i< (sizeof (*termios)) ; i++)
i                 118 kernel/chr_drv/tty_ioctl.c 		put_fs_byte( ((char *)tty->termios)[i] , i+(char *)termios );
i                 125 kernel/chr_drv/tty_ioctl.c 	int i;
i                 140 kernel/chr_drv/tty_ioctl.c 	for (i=0 ; i< (sizeof (*termios)) ; i++)
i                 141 kernel/chr_drv/tty_ioctl.c 		((char *)tty->termios)[i]=get_fs_byte(i+(char *)termios);
i                 155 kernel/chr_drv/tty_ioctl.c 	int i;
i                 164 kernel/chr_drv/tty_ioctl.c 	for(i=0 ; i < NCC ; i++)
i                 165 kernel/chr_drv/tty_ioctl.c 		tmp_termio.c_cc[i] = tty->termios->c_cc[i];
i                 166 kernel/chr_drv/tty_ioctl.c 	for (i=0 ; i< (sizeof (*termio)) ; i++)
i                 167 kernel/chr_drv/tty_ioctl.c 		put_fs_byte( ((char *)&tmp_termio)[i] , i+(char *)termio );
i                 177 kernel/chr_drv/tty_ioctl.c 	int i;
i                 191 kernel/chr_drv/tty_ioctl.c 	for (i=0 ; i< (sizeof (*termio)) ; i++)
i                 192 kernel/chr_drv/tty_ioctl.c 		((char *)&tmp_termio)[i]=get_fs_byte(i+(char *)termio);
i                 214 kernel/chr_drv/tty_ioctl.c 	for(i=0 ; i < NCC ; i++)
i                 215 kernel/chr_drv/tty_ioctl.c 		tty->termios->c_cc[i] = tmp_termio.c_cc[i];
i                 223 kernel/chr_drv/tty_ioctl.c 	int i,changed;
i                 230 kernel/chr_drv/tty_ioctl.c 	for (i = 0; i < sizeof (*ws) ; i++,tmp++) {
i                 231 kernel/chr_drv/tty_ioctl.c 		c = get_fs_byte(i + (char *) ws);
i                 244 kernel/chr_drv/tty_ioctl.c 	int i;
i                 251 kernel/chr_drv/tty_ioctl.c 	for (i = 0; i < sizeof (struct winsize) ; i++,tmp++)
i                 252 kernel/chr_drv/tty_ioctl.c 		put_fs_byte(((char *) &tty->winsize)[i], tmp);
i                 107 kernel/chr_drv/vt.c 	int console, i;
i                 297 kernel/chr_drv/vt.c 		for (i = 1, mask = 2; i <= NR_CONSOLES; ++i, mask <<= 1)
i                 298 kernel/chr_drv/vt.c 			if (tty_table[i] && tty_table[i]->count > 0)
i                 309 kernel/chr_drv/vt.c 		for (i = 1; i <= NR_CONSOLES; ++i)
i                 310 kernel/chr_drv/vt.c 			if (!tty_table[i] || tty_table[i]->count == 0)
i                 312 kernel/chr_drv/vt.c 		put_fs_long(i <= NR_CONSOLES ? i : -1, (unsigned long *)arg);
i                  61 kernel/exit.c  	int i;
i                  69 kernel/exit.c  	for (i=1 ; i<NR_TASKS ; i++)
i                  70 kernel/exit.c  		if (task[i] == p) {
i                  71 kernel/exit.c  			task[i] = NULL;
i                  87 kernel/exit.c  	int 	i;
i                  91 kernel/exit.c  	for (i=0 ; i<NR_TASKS ; i++)
i                  92 kernel/exit.c  		if (task[i] == p)
i                 108 kernel/exit.c  	int	i;
i                 110 kernel/exit.c  	for (i=1 ; i<NR_TASKS ; i++) {
i                 111 kernel/exit.c  		if (!task[i])
i                 113 kernel/exit.c  		if (bad_task_ptr(task[i]->p_pptr))
i                 115 kernel/exit.c  				task[i]->pid);
i                 116 kernel/exit.c  		if (bad_task_ptr(task[i]->p_cptr))
i                 118 kernel/exit.c  				task[i]->pid);
i                 119 kernel/exit.c  		if (bad_task_ptr(task[i]->p_ysptr))
i                 121 kernel/exit.c  				task[i]->pid);
i                 122 kernel/exit.c  		if (bad_task_ptr(task[i]->p_osptr))
i                 124 kernel/exit.c  				task[i]->pid);
i                 125 kernel/exit.c  		if (task[i]->p_pptr == task[i])
i                 127 kernel/exit.c  		if (task[i]->p_cptr == task[i])
i                 129 kernel/exit.c  		if (task[i]->p_ysptr == task[i])
i                 131 kernel/exit.c  		if (task[i]->p_osptr == task[i])
i                 133 kernel/exit.c  		if (task[i]->p_osptr) {
i                 134 kernel/exit.c  			if (task[i]->p_pptr != task[i]->p_osptr->p_pptr)
i                 137 kernel/exit.c  				task[i]->pid, task[i]->p_osptr->pid,
i                 138 kernel/exit.c  				task[i]->p_osptr->p_pptr->pid);
i                 139 kernel/exit.c  			if (task[i]->p_osptr->p_ysptr != task[i])
i                 142 kernel/exit.c  				task[i]->pid, task[i]->p_osptr->pid);
i                 144 kernel/exit.c  		if (task[i]->p_ysptr) {
i                 145 kernel/exit.c  			if (task[i]->p_pptr != task[i]->p_ysptr->p_pptr)
i                 148 kernel/exit.c  				task[i]->pid, task[i]->p_osptr->pid,
i                 149 kernel/exit.c  				task[i]->p_osptr->p_pptr->pid);
i                 150 kernel/exit.c  			if (task[i]->p_ysptr->p_osptr != task[i])
i                 153 kernel/exit.c  				task[i]->pid, task[i]->p_ysptr->pid);
i                 155 kernel/exit.c  		if (task[i]->p_cptr) {
i                 156 kernel/exit.c  			if (task[i]->p_cptr->p_pptr != task[i])
i                 159 kernel/exit.c  				task[i]->pid, task[i]->p_cptr->pid);
i                 160 kernel/exit.c  			if (task[i]->p_cptr->p_ysptr)
i                 163 kernel/exit.c  				task[i]->pid, task[i]->p_cptr->pid);
i                 327 kernel/exit.c  	int i;
i                 331 kernel/exit.c  	for (i=0 ; i<NR_OPEN ; i++)
i                 332 kernel/exit.c  		if (current->filp[i])
i                 333 kernel/exit.c  			sys_close(i);
i                 341 kernel/exit.c  	for (i=0; i < current->numlibraries; i++) {
i                 342 kernel/exit.c  		iput(current->libraries[i].library);
i                 343 kernel/exit.c  		current->libraries[i].library = NULL;
i                  43 kernel/fork.c  	int i, task_nr;
i                  49 kernel/fork.c  	for(i=0 ; i < NR_TASKS ; i++) {
i                  50 kernel/fork.c  		if (!task[i])
i                  52 kernel/fork.c  		if (task[i]->uid == current->uid)
i                  54 kernel/fork.c  		if (task[i]->pid == last_pid || task[i]->pgrp == last_pid)
i                  61 kernel/fork.c  	for(i=1 ; i<NR_TASKS ; i++)
i                  62 kernel/fork.c  		if (!task[i])
i                  66 kernel/fork.c  				task_nr = i;
i                  83 kernel/fork.c  	int i,nr;
i                 135 kernel/fork.c  	for (i = 0; i<IO_BITMAP_SIZE ; i++)
i                 136 kernel/fork.c  		p->tss.io_bitmap[i] = ~0;
i                 148 kernel/fork.c  	for (i=0; i<NR_OPEN;i++)
i                 149 kernel/fork.c  		if ((f = p->filp[i]) != NULL)
i                 157 kernel/fork.c  	for (i=0; i < current->numlibraries ; i++)
i                 158 kernel/fork.c  		if (current->libraries[i].library)
i                 159 kernel/fork.c  			current->libraries[i].library->i_count++;
i                  19 kernel/ioport.c 	int i;
i                  22 kernel/ioport.c 	for (i = 0, mask = 0x80000000; i < 32; ++i, mask >>= 1)
i                  23 kernel/ioport.c 		str[i] = (l & mask) ? '1' : '0';
i                  29 kernel/ioport.c 	int i, j;
i                  32 kernel/ioport.c 	for (i = j = 0; j < numl; ++i)
i                  34 kernel/ioport.c 		printk("%4d [%3x]: ", 64*i, 64*i);
i                 273 kernel/irq.c   	int i;
i                 276 kernel/irq.c   	for (i = 0; i < 16 ; i++)
i                 277 kernel/irq.c   		set_intr_gate(0x20+i,bad_interrupt[i]);
i                 282 kernel/irq.c   		i = request_irq(13,math_error_irq_486);
i                 284 kernel/irq.c   		i = request_irq(13,math_error_irq);
i                 285 kernel/irq.c   	if (i)
i                 289 kernel/irq.c   	for (i = 0; i < 32; i++) {
i                 290 kernel/irq.c   		bh_base[i].routine = NULL;
i                 291 kernel/irq.c   		bh_base[i].data = NULL;
i                  73 kernel/itimer.c 	register unsigned long i, j;
i                  76 kernel/itimer.c 	i = tvtojiffies(&value->it_interval);
i                  83 kernel/itimer.c 			current->it_real_incr = i;
i                  87 kernel/itimer.c 			current->it_virt_incr = i;
i                  91 kernel/itimer.c 			current->it_prof_incr = i;
i                  28 kernel/printk.c 	unsigned long i;
i                  35 kernel/printk.c 			i = log_page;
i                  37 kernel/printk.c 			free_page(i);
i                  41 kernel/printk.c 			i = get_free_page(GFP_KERNEL);
i                  43 kernel/printk.c 				free_page(i);
i                  45 kernel/printk.c 			} else if ((log_page = i) != 0) {
i                  66 kernel/printk.c 			i = 0;
i                  67 kernel/printk.c 			while (log_size && i < len) {
i                  74 kernel/printk.c 				i++;
i                  76 kernel/printk.c 			return i;
i                  85 kernel/printk.c 	int i,j;
i                  89 kernel/printk.c 	i=vsprintf(buf,fmt,args);
i                  91 kernel/printk.c 	for (j = 0; j < i && log_page ; j++) {
i                 102 kernel/printk.c 	return i;
i                  36 kernel/ptrace.c 	int i;
i                  38 kernel/ptrace.c 	for (i = 1; i < NR_TASKS; i++) {
i                  39 kernel/ptrace.c 		if (task[i] != NULL && (task[i]->pid == pid))
i                  40 kernel/ptrace.c 			return task[i];
i                 101 kernel/sched.c 	int i,next,c;
i                 122 kernel/sched.c 		i = NR_TASKS;
i                 124 kernel/sched.c 		while (--i) {
i                 128 kernel/sched.c 				c = (*p)->counter, next = i;
i                 289 kernel/sched.c 	int i;
i                 292 kernel/sched.c 	for (i=0 ; i<4 ; i++,mask <<= 1) {
i                 295 kernel/sched.c 		if (mon_timer[i]) {
i                 296 kernel/sched.c 			if (!--mon_timer[i])
i                 297 kernel/sched.c 				wake_up(i+wait_motor);
i                 298 kernel/sched.c 		} else if (!moff_timer[i]) {
i                 302 kernel/sched.c 			moff_timer[i]--;
i                 517 kernel/sched.c 	int i, j;
i                 522 kernel/sched.c 	i = 0;
i                 528 kernel/sched.c 	while (i<j && !*(stack++))
i                 529 kernel/sched.c 		i++;
i                 530 kernel/sched.c 	printk("%d/%d chars free in kstack\n\r",i,j);
i                 542 kernel/sched.c 	int i;
i                 545 kernel/sched.c 	for (i=0 ; i<NR_TASKS ; i++)
i                 546 kernel/sched.c 		if (task[i])
i                 547 kernel/sched.c 			show_task(i,task[i]);
i                 552 kernel/sched.c 	int i;
i                 561 kernel/sched.c 	for(i=1 ; i<NR_TASKS ; i++) {
i                 562 kernel/sched.c 		task[i] = NULL;
i                 323 kernel/sys.c   	int i;
i                 325 kernel/sys.c   	i = CURRENT_TIME;
i                 328 kernel/sys.c   		put_fs_long(i,(unsigned long *)tloc);
i                 330 kernel/sys.c   	return i;
i                 434 kernel/sys.c   	int i; 
i                 442 kernel/sys.c   	for (i=0 ; i<NR_TASKS ; i++)
i                 443 kernel/sys.c   		if (task[i] && (task[i]->pid == pid) &&
i                 444 kernel/sys.c   		    ((task[i]->p_pptr == current) || 
i                 445 kernel/sys.c   		     (task[i] == current))) {
i                 446 kernel/sys.c   			if (task[i]->leader)
i                 448 kernel/sys.c   			if ((task[i]->session != current->session) ||
i                 452 kernel/sys.c   			task[i]->pgrp = pgid;
i                 478 kernel/sys.c   	int	i;
i                 483 kernel/sys.c   	for (i = 0; (i < NGROUPS) && (current->groups[i] != NOGROUP);
i                 484 kernel/sys.c   	     i++, grouplist++) {
i                 486 kernel/sys.c   			if (i >= gidsetsize)
i                 488 kernel/sys.c   			put_fs_word(current->groups[i], (short *) grouplist);
i                 491 kernel/sys.c   	return(i);
i                 496 kernel/sys.c   	int	i;
i                 502 kernel/sys.c   	for (i = 0; i < gidsetsize; i++, grouplist++) {
i                 503 kernel/sys.c   		current->groups[i] = get_fs_word((unsigned short *) grouplist);
i                 505 kernel/sys.c   	if (i < NGROUPS)
i                 506 kernel/sys.c   		current->groups[i] = NOGROUP;
i                 512 kernel/sys.c   	int	i;
i                 517 kernel/sys.c   	for (i = 0; i < NGROUPS; i++) {
i                 518 kernel/sys.c   		if (current->groups[i] == NOGROUP)
i                 520 kernel/sys.c   		if (current->groups[i] == grp)
i                 558 kernel/sys.c   	int	i;
i                 564 kernel/sys.c   	for (i=0; i < len; i++) {
i                 565 kernel/sys.c   		if ((system_utsname.nodename[i] = get_fs_byte(name+i)) == 0)
i                 568 kernel/sys.c   	system_utsname.nodename[i] = 0;
i                  64 kernel/traps.c 	int i;
i                  72 kernel/traps.c 	store_TR(i);
i                  73 kernel/traps.c 	printk("Pid: %d, process nr: %d\n\r",current->pid,0xffff & i);
i                  74 kernel/traps.c 	for(i=0;i<10;i++)
i                  75 kernel/traps.c 		printk("%02x ",0xff & get_seg_byte(esp[1],(i+(char *)esp[0])));
i                 183 kernel/traps.c 	int i;
i                 203 kernel/traps.c 	for (i=18;i<48;i++)
i                 204 kernel/traps.c 		set_trap_gate(i,&reserved);
i                  47 kernel/vsprintf.c 	int i=0;
i                  50 kernel/vsprintf.c 		i = i*10 + *((*s)++) - '0';
i                  51 kernel/vsprintf.c 	return i;
i                  72 kernel/vsprintf.c 	int i;
i                  88 kernel/vsprintf.c 	i=0;
i                  90 kernel/vsprintf.c 		tmp[i++]='0';
i                  92 kernel/vsprintf.c 		tmp[i++]=digits[do_div(num,base)];
i                  93 kernel/vsprintf.c 	if (i>precision) precision=i;
i                 110 kernel/vsprintf.c 	while(i<precision--)
i                 112 kernel/vsprintf.c 	while(i-->0)
i                 113 kernel/vsprintf.c 		*str++ = tmp[i];
i                 122 kernel/vsprintf.c 	int i;
i                 207 kernel/vsprintf.c 			for (i = 0; i < len; ++i)
i                 265 kernel/vsprintf.c 	int i;
i                 268 kernel/vsprintf.c 	i=vsprintf(buf,fmt,args);
i                 270 kernel/vsprintf.c 	return i;
i                 120 lib/malloc.c   	int i;
i                 130 lib/malloc.c   	for (i = PAGE_SIZE/sizeof(struct bucket_desc); i > 1; i--) {
i                 183 lib/malloc.c   	    int i;
i                 227 lib/malloc.c   	    for (i=PAGE_SIZE/bdir->size; i > 1; i--)
i                 115 mm/memory.c    	int i;
i                 127 mm/memory.c    	for (i = 0 ; i < 768 ; i++,page_dir++)
i                 138 mm/memory.c    	int i;
i                 157 mm/memory.c    	for (i = 0 ; i < 1024 ; i++,page_dir++)
i                 170 mm/memory.c    	int i;
i                 181 mm/memory.c    	for (i = 0 ; i < 1024 ; i++,old_page_dir++,new_page_dir++) {
i                 624 mm/memory.c    	int i;
i                 634 mm/memory.c    			for (i=0; i < (*p)->numlibraries; i++)
i                 635 mm/memory.c    				if (inode == (*p)->libraries[i].library)
i                 637 mm/memory.c    			if (i >= (*p)->numlibraries)
i                 680 mm/memory.c    	unsigned int block,i;
i                 704 mm/memory.c    		i = tsk->numlibraries;
i                 705 mm/memory.c    		while (i-- > 0) {
i                 706 mm/memory.c    			if (address < tsk->libraries[i].start)
i                 708 mm/memory.c    			block = address - tsk->libraries[i].start;
i                 709 mm/memory.c    			if (block >= tsk->libraries[i].length + tsk->libraries[i].bss)
i                 711 mm/memory.c    			inode = tsk->libraries[i].library;
i                 712 mm/memory.c    			if (block < tsk->libraries[i].length)
i                 743 mm/memory.c    		for (i=0 ; i<4 ; block++,i++)
i                 744 mm/memory.c    			nr[i] = bmap(inode,block);
i                 751 mm/memory.c    	i = address + PAGE_SIZE - tsk->end_data;
i                 752 mm/memory.c    	if (i > PAGE_SIZE-1)
i                 753 mm/memory.c    		i = 0;
i                 755 mm/memory.c    	while (i--) {
i                 835 mm/memory.c    	int i,free = 0,total = 0,reserved = 0;
i                 843 mm/memory.c    	i = high_memory >> PAGE_SHIFT;
i                 844 mm/memory.c    	while (i-- > 0) {
i                 846 mm/memory.c    		if (mem_map[i] & MAP_PAGE_RESERVED)
i                 848 mm/memory.c    		else if (!mem_map[i])
i                 851 mm/memory.c    			shared += mem_map[i]-1;
i                 965 mm/memory.c    	int i;
i                 967 mm/memory.c    	i = high_memory >> PAGE_SHIFT;
i                 972 mm/memory.c    	while (i-- > 0)  {
i                 973 mm/memory.c    		if (mem_map[i] & MAP_PAGE_RESERVED)
i                 976 mm/memory.c    		if (!mem_map[i]) {
i                 980 mm/memory.c    		val->sharedram += mem_map[i]-1;
i                  89 mm/swap.c      		int i;
i                  91 mm/swap.c      		for (i = 0; i < 4; i++)
i                  92 mm/swap.c      			if (!(zones[i] = bmap(p->swap_file,block++))) {
i                 214 mm/swap.c      	int i;
i                 232 mm/swap.c      	for (i = 0; i < NR_LAST_FREE_PAGES; i++)
i                 233 mm/swap.c      		if (last_free_pages[i] == (page & 0xfffff000))
i                 331 mm/swap.c      	int i=6;
i                 333 mm/swap.c      	while (i--) {
i                 334 mm/swap.c      		if (shrink_buffers(i))
i                 336 mm/swap.c      		if (swap_out(i))
i                 543 mm/swap.c      	int i;
i                 547 mm/swap.c      	i = namei(specialfile,&inode);
i                 548 mm/swap.c      	if (i)
i                 549 mm/swap.c      		return i;
i                 568 mm/swap.c      	i = try_to_unuse(swap_nr);
i                 569 mm/swap.c      	if (i) {
i                 571 mm/swap.c      		return i;
i                 595 mm/swap.c      	int i,j;
i                 614 mm/swap.c      	i = namei(specialfile,&swap_inode);
i                 615 mm/swap.c      	if (i) {
i                 617 mm/swap.c      		return i;
i                 631 mm/swap.c      		for (i = 0 ; i < nr_swapfiles ; i++) {
i                 632 mm/swap.c      			if (i == swap_nr)
i                 634 mm/swap.c      			if (p->swap_device == swap_info[i].swap_device) {
i                 678 mm/swap.c      	for (i = 1 ; i < SWAP_BITS ; i++)
i                 679 mm/swap.c      		if (bit(tmp,i)) {
i                 681 mm/swap.c      				p->lowest_bit = i;
i                 682 mm/swap.c      			p->highest_bit = i;
i                 697 mm/swap.c      	i = SWAP_BITS;
i                 698 mm/swap.c      	while (i--)
i                 699 mm/swap.c      		if (bit(tmp,i))
i                 700 mm/swap.c      			tmp[i] = 0;
i                 702 mm/swap.c      			tmp[i] = 128;
i                 712 mm/swap.c      	unsigned int i, j;
i                 715 mm/swap.c      	for (i = 0; i < nr_swapfiles; i++) {
i                 716 mm/swap.c      		if (!(swap_info[i].flags & SWP_USED))
i                 719 mm/swap.c      			switch (swap_info[i].swap_map[j]) {
i                  40 net/socket.c   	int i;
i                  42 net/socket.c   	for (i = 0; i < NPROTO; ++i)
i                  43 net/socket.c   		if (proto_table[i].family == family)
i                  44 net/socket.c   			return proto_table[i].name;
i                 402 net/socket.c   	int i, fd;
i                 412 net/socket.c   	for (i = 0; i < NPROTO; ++i)
i                 413 net/socket.c   		if (proto_table[i].family == family)
i                 415 net/socket.c   	if (i == NPROTO) {
i                 419 net/socket.c   	ops = proto_table[i].ops;
i                 444 net/socket.c   	if ((i = sock->ops->create(sock, protocol)) < 0) {
i                 446 net/socket.c   		return i;
i                 460 net/socket.c   	int fd1, fd2, i;
i                 486 net/socket.c   	if ((i = sock1->ops->socketpair(sock1, sock2)) < 0) {
i                 489 net/socket.c   		return i;
i                 511 net/socket.c   	int i;
i                 516 net/socket.c   	if ((i = sock->ops->bind(sock, umyaddr, addrlen)) < 0) {
i                 518 net/socket.c   		return i;
i                 559 net/socket.c   	int i;
i                 579 net/socket.c   	if ((i = sock->ops->dup(newsock, sock)) < 0) {
i                 581 net/socket.c   		return i;
i                 584 net/socket.c   	i = newsock->ops->accept(sock, newsock, file->f_flags);
i                 586 net/socket.c   	if ( i < 0)
i                 589 net/socket.c   	    return (i);
i                 615 net/socket.c   	int i;
i                 635 net/socket.c   	i = sock->ops->connect(sock, uservaddr, addrlen, file->f_flags);
i                 636 net/socket.c   	if (i < 0) {
i                 638 net/socket.c   		return i;
i                 949 net/socket.c   	int i, ok;
i                 953 net/socket.c   	for (i = ok = 0; i < NPROTO; ++i) {
i                 955 net/socket.c   		       proto_table[i].family, proto_table[i].name);
i                 956 net/socket.c   		if ((*proto_table[i].ops->init)() < 0) {
i                 958 net/socket.c   			       proto_table[i].family);
i                 959 net/socket.c   			proto_table[i].family = -1;
i                 148 net/tcp/arp.c    int i;
i                 163 net/tcp/arp.c    for (i = 0; i < arp->hlen; i++)
i                 172 net/tcp/arp.c    for (i = 0; i < arp->hlen; i++)
i                 385 net/tcp/dev.c    int i;
i                 388 net/tcp/dev.c    for (i=0; i < DEV_NUMBUFFS; i++)
i                 390 net/tcp/dev.c        while (dev->buffs[i]!=NULL)
i                 393 net/tcp/dev.c  	  skb=dev->buffs[i];
i                 399 net/tcp/dev.c  	      dev->buffs[i] = NULL;
i                 408 net/tcp/dev.c  	      dev->buffs[i] = NULL;
i                 422 net/tcp/dev.c  		  dev->buffs[i] = NULL;
i                 426 net/tcp/dev.c  		  dev->buffs[i]= skb->next;
i                 463 net/tcp/dev.c  	       dev->buffs[i] = NULL;
i                  67 net/tcp/eth.c    int i;
i                  69 net/tcp/eth.c    for (i =0 ; i < ETHER_ADDR_LEN; i++)
i                  71 net/tcp/eth.c        PRINTK (("0x%2X ",eth->saddr[i]));
i                  76 net/tcp/eth.c    for (i =0 ; i < ETHER_ADDR_LEN; i++)
i                  78 net/tcp/eth.c        PRINTK (("0x%2X ",eth->daddr[i]));
i                 167 net/tcp/ip.c     int i;
i                 169 net/tcp/ip.c     for (i = 0; i < 4; i++, addr1 >>= 8, addr2 >>= 8)
i                 188 net/tcp/ip.c     int i;
i                 189 net/tcp/ip.c     for (i = 0; i < MAX_IP_ADDRES; i++)
i                 191 net/tcp/ip.c         if (ip_addr[i] == 0) return (0);
i                 192 net/tcp/ip.c         if (ip_addr_match (addr, ip_addr[i])) return (1);
i                 489 net/tcp/ip.c     int i;
i                 544 net/tcp/ip.c   	  for (i = 0; i < opt->loose_route.route_size; i++)
i                 546 net/tcp/ip.c   	      opt->loose_route.route[i]=*(unsigned long *)buff;
i                 562 net/tcp/ip.c   	  for (i = 0; i < opt->strict_route.route_size; i++)
i                 564 net/tcp/ip.c   	      opt->strict_route.route[i]=*(unsigned long *)buff;
i                 579 net/tcp/ip.c   	  for (i = 0; i < opt->record_route.route_size; i++)
i                 581 net/tcp/ip.c   	      opt->record_route.route[i]=*(unsigned long *)buff;
i                 604 net/tcp/ip.c   	  for (i = 0; i < opt->tstamp.len; i++)
i                 606 net/tcp/ip.c   	      opt->tstamp.data[i] = *(unsigned long *)buff;
i                  81 net/tcp/loopback.c   int i;
i                 104 net/tcp/loopback.c   i = 0;
i                 107 net/tcp/loopback.c 	    if (done != -1 && (i = dev_tint (buff,dev)) != 0)
i                 114 net/tcp/loopback.c 		 done = dev_rint (buff, i, 0, dev);
i                 118 net/tcp/loopback.c 		     i = 0;
i                 123 net/tcp/loopback.c 		if (i == 0) tmp = NULL;
i                 124 net/tcp/loopback.c 		 done = dev_rint (tmp, i, 0, dev);
i                 305 net/tcp/sock.c   int i,j;
i                 318 net/tcp/sock.c   for (i=0; i < SOCK_ARRAY_SIZE; i++)
i                 321 net/tcp/sock.c       sk = prot->sock_array[(i+base+1) & (SOCK_ARRAY_SIZE -1)];
i                 329 net/tcp/sock.c 	  start = (i+1+start )%1024;
i                 331 net/tcp/sock.c 		    i+base+1,start));
i                 332 net/tcp/sock.c 	  return (i+base+1);
i                 336 net/tcp/sock.c 	  best = i;
i                 525 net/tcp/sock.c 	  int i;
i                 546 net/tcp/sock.c 		    for (i = 0; i < DEV_NUMBUFFS; i++)
i                 548 net/tcp/sock.c 			if (skb->dev && skb->dev->buffs[i] == skb)
i                 558 net/tcp/sock.c 			    skb->dev->buffs[i]= skb->next;
i                 579 net/tcp/sock.c 		   for (i = 0; i < DEV_NUMBUFFS; i++)
i                 581 net/tcp/sock.c 		       if (skb->dev && skb->dev->buffs[i] == skb)
i                 591 net/tcp/sock.c 			   skb->dev->buffs[i]= NULL;
i                 856 net/tcp/sock.c   int i;
i                 861 net/tcp/sock.c   for (i = 0; i < SOCK_ARRAY_SIZE; i++)
i                 863 net/tcp/sock.c        tcp_prot.sock_array[i] = NULL;
i                 864 net/tcp/sock.c        udp_prot.sock_array[i] = NULL;
i                 865 net/tcp/sock.c        raw_prot.sock_array[i] = NULL;
i                1983 net/tcp/tcp.c  		  int i;
i                1989 net/tcp/tcp.c  		  for (i = 0; i < DEV_NUMBUFFS; i++)
i                1991 net/tcp/tcp.c  		      if (skb->dev->buffs[i] == skb)
i                1994 net/tcp/tcp.c  			    skb->dev->buffs[i] = NULL;
i                1996 net/tcp/tcp.c  			    skb->dev->buffs[i] = skb->next;
i                2073 net/tcp/tcp.c  	       int i;
i                2079 net/tcp/tcp.c  	       for (i = 0; i < DEV_NUMBUFFS; i++)
i                2081 net/tcp/tcp.c  		   if (oskb->dev->buffs[i] == oskb)
i                2084 net/tcp/tcp.c  			 oskb->dev->buffs[i]= NULL;
i                2086 net/tcp/tcp.c  			 oskb->dev->buffs[i] = oskb->next;
i                 155 net/tcp/we.c     int i;
i                 185 net/tcp/we.c     for (i=0; i < ETHER_ADDR_LEN; i++)
i                 187 net/tcp/we.c         outb_p(dev->dev_addr[i],WD_PAR0+i);
i                 192 net/tcp/we.c     for (i=0; i < ETHER_ADDR_LEN; i++)
i                 194 net/tcp/we.c         outb_p(dev->broadcast[i],WD_MAR0+i);
i                 651 net/tcp/we.c     int i;
i                 653 net/tcp/we.c     for (i = 0; i < 8; i++)
i                 655 net/tcp/we.c         csum += inb_p(WD_ROM+i);
i                 678 net/tcp/we.c     for (i = 0; i < DEV_NUMBUFFS; i++)
i                 679 net/tcp/we.c       dev->buffs[i] = NULL;
i                 683 net/tcp/we.c     for (i = 0; i < 8; i++) {
i                 684 net/tcp/we.c   	if( inb_p( EN_SAPROM+i ) != inb_p( EN_CMD+i) ){
i                 703 net/tcp/we.c     for (i = dev->mem_start; i < dev->mem_end; i++)
i                 705 net/tcp/we.c         *((unsigned char *)i) = 0;
i                 706 net/tcp/we.c         if (*((unsigned char *)i) != 0) 
i                 709 net/tcp/we.c   	  if( (i - dev->mem_start) > 4096 )
i                 716 net/tcp/we.c     max_pages = ( i - dev->mem_start )/256;
i                 719 net/tcp/we.c     dev->rmem_end = i;
i                 720 net/tcp/we.c     dev->mem_end = i;
i                 725 net/tcp/we.c     for (i = 0; i <ETHER_ADDR_LEN; i++)
i                 727 net/tcp/we.c         dev->dev_addr[i]=inb_p(WD_ROM+i);
i                 728 net/tcp/we.c         dev->broadcast[i]=0xff;
i                 729 net/tcp/we.c         printk ("%2.2X ",dev->dev_addr[i]);
i                 733 net/tcp/we.c     for( i = 0; i < sizeof( struct enet_statistics ); i++ )
i                 734 net/tcp/we.c   	((char *)&stats)[i] = 0;
i                 327 net/unix.c     	int i;
i                 353 net/unix.c     	i = do_mknod(fname, S_IFSOCK | 0777, 0);
i                 354 net/unix.c     	if (i == 0)
i                 355 net/unix.c     		i = open_namei(fname, 0, S_IFSOCK, &upd->inode, NULL);
i                 357 net/unix.c     	if (i < 0) {
i                 359 net/unix.c     		return i;
i                 379 net/unix.c     	int i;
i                 419 net/unix.c     	i = open_namei(fname, 0, S_IFSOCK, &inode, NULL);
i                 421 net/unix.c     	if (i < 0) {
i                 423 net/unix.c     		return i;
i                 432 net/unix.c     	if ((i = sock_awaitconn(sock, serv_upd->socket)) < 0) {
i                 434 net/unix.c     		return i;
i                  86 tools/build.c  	int i,c,id;
i                 110 tools/build.c  	for (i=0;i<sizeof buf; i++) buf[i]=0;
i                 127 tools/build.c  	i=read(id,buf,sizeof buf);
i                 128 tools/build.c  	fprintf(stderr,"Boot sector %d bytes.\n",i);
i                 129 tools/build.c  	if (i != 512)
i                 135 tools/build.c  	i=write(1,buf,512);
i                 136 tools/build.c  	if (i!=512)
i                 156 tools/build.c  	for (i=0 ; (c=read(id,buf,sizeof buf))>0 ; i+=c )
i                 160 tools/build.c  	if (i > SETUP_SECTS*512)
i                 163 tools/build.c  	fprintf(stderr,"Setup is %d bytes.\n",i);
i                 166 tools/build.c  	while (i<SETUP_SECTS*512) {
i                 167 tools/build.c  		c = SETUP_SECTS*512-i;
i                 172 tools/build.c  		i += c;
i                 181 tools/build.c  	for (i=0 ; (c=read(id,buf,sizeof buf))>0 ; i+=c )
i                 185 tools/build.c  	fprintf(stderr,"System is %d bytes.\n",i);
i                 186 tools/build.c  	if (i > SYS_SIZE*16)