Fork me on GitHub
offset            790 drivers/block/floppy.c int fdc_lseek(struct inode *i, __off_t offset)
offset            803 drivers/block/floppy.c 	return offset;
offset            151 drivers/block/ide_cd.c static int atapi_read_data(__dev_t dev, char *data, struct ide *ide, int blksize, int offset)
offset            204 drivers/block/ide_cd.c 		buffer = data + offset;
offset            108 drivers/block/ide_hd.c static void sector2chs(__off_t offset, int *cyl, int *head, int *sector, struct ide_drv_ident *ident)
offset            110 drivers/block/ide_hd.c 	*cyl = offset / (ident->logic_spt * ident->logic_heads);
offset            111 drivers/block/ide_hd.c 	*head = (offset / ident->logic_spt) % ident->logic_heads;
offset            112 drivers/block/ide_hd.c 	*sector = (offset % ident->logic_spt) + 1;
offset            133 drivers/block/ide_hd.c 	__off_t offset;
offset            155 drivers/block/ide_hd.c 	offset = block2sector(block, blksize, part, minor);
offset            172 drivers/block/ide_hd.c 			outport_b(ide->base + IDE_SECNUM, offset & 0xFF);
offset            173 drivers/block/ide_hd.c 			outport_b(ide->base + IDE_LCYL, (offset >> 8) & 0xFF);
offset            174 drivers/block/ide_hd.c 			outport_b(ide->base + IDE_HCYL, (offset >> 16) & 0xFF);
offset            175 drivers/block/ide_hd.c 			if(ide_drvsel(ide, drive, IDE_LBA_MODE, (offset >> 24) & 0x0F)) {
offset            181 drivers/block/ide_hd.c 			sector2chs(offset, &cyl, &head, &sector, ident);
offset            231 drivers/block/ide_hd.c 			printk("\tblock %d, sector %d.\n", block, offset);
offset            245 drivers/block/ide_hd.c 		offset++;
offset            261 drivers/block/ide_hd.c 	__off_t offset;
offset            283 drivers/block/ide_hd.c 	offset = block2sector(block, blksize, part, minor);
offset            300 drivers/block/ide_hd.c 			outport_b(ide->base + IDE_SECNUM, offset & 0xFF);
offset            301 drivers/block/ide_hd.c 			outport_b(ide->base + IDE_LCYL, (offset >> 8) & 0xFF);
offset            302 drivers/block/ide_hd.c 			outport_b(ide->base + IDE_HCYL, (offset >> 16) & 0xFF);
offset            303 drivers/block/ide_hd.c 			if(ide_drvsel(ide, drive, IDE_LBA_MODE, (offset >> 24) & 0x0F)) {
offset            309 drivers/block/ide_hd.c 			sector2chs(offset, &cyl, &head, &sector, ident);
offset            331 drivers/block/ide_hd.c 			printk("\tblock %d, sector %d.\n", block, offset);
offset            377 drivers/block/ide_hd.c 		offset++;
offset            101 drivers/block/ramdisk.c 	__off_t offset;
offset            109 drivers/block/ramdisk.c 	offset = block * blksize;
offset            110 drivers/block/ramdisk.c 	if(offset > size) {
offset            114 drivers/block/ramdisk.c 	blksize = MIN(blksize, size - offset);
offset            115 drivers/block/ramdisk.c 	memcpy_b((void *)buffer, ramdisk->addr + offset, blksize);
offset            122 drivers/block/ramdisk.c 	__off_t offset;
offset            130 drivers/block/ramdisk.c 	offset = block * blksize;
offset            131 drivers/block/ramdisk.c 	if(offset > size) {
offset            135 drivers/block/ramdisk.c 	blksize = MIN(blksize, size - offset);
offset            136 drivers/block/ramdisk.c 	memcpy_b(ramdisk->addr + offset, buffer, blksize);
offset            175 drivers/block/ramdisk.c int ramdisk_lseek(struct inode *i, __off_t offset)
offset            177 drivers/block/ramdisk.c 	return offset;
offset             87 drivers/char/fb.c 	if(fd_table->offset >= video.memsize) {
offset             91 drivers/char/fb.c 	addr = (unsigned int)video.address + fd_table->offset;
offset             92 drivers/char/fb.c 	count = MIN(count, video.memsize - fd_table->offset);
offset             94 drivers/char/fb.c 	fd_table->offset += count;
offset            102 drivers/char/fb.c 	if(fd_table->offset >= video.memsize) {
offset            106 drivers/char/fb.c 	addr = (unsigned int)video.address + fd_table->offset;
offset            107 drivers/char/fb.c 	count = MIN(count, video.memsize - fd_table->offset);
offset            109 drivers/char/fb.c 	fd_table->offset += count;
offset            118 drivers/char/fb.c int fb_lseek(struct inode *i, __off_t offset)
offset            120 drivers/char/fb.c 	return offset;
offset            297 drivers/char/memdev.c 	if(fd_table->offset >= physical_memory) {
offset            300 drivers/char/memdev.c 	count = MIN(count, physical_memory - fd_table->offset);
offset            301 drivers/char/memdev.c 	memcpy_b(buffer, (void *)P2V(fd_table->offset), count);
offset            302 drivers/char/memdev.c 	fd_table->offset += count;
offset            311 drivers/char/memdev.c 	if(fd_table->offset >= physical_memory) {
offset            314 drivers/char/memdev.c 	count = MIN(count, physical_memory - fd_table->offset);
offset            315 drivers/char/memdev.c 	memcpy_b((void *)P2V(fd_table->offset), buffer, count);
offset            316 drivers/char/memdev.c 	fd_table->offset += count;
offset            320 drivers/char/memdev.c int mem_lseek(struct inode *i, __off_t offset)
offset            322 drivers/char/memdev.c 	return offset;
offset            340 drivers/char/memdev.c 	if(P2V(fd_table->offset + count) < physical_memory) {
offset            341 drivers/char/memdev.c 		memcpy_b(buffer, (void *)P2V(fd_table->offset), count);
offset            342 drivers/char/memdev.c 		fd_table->offset += count;
offset            354 drivers/char/memdev.c 	if(P2V(fd_table->offset + count) < physical_memory) {
offset            355 drivers/char/memdev.c 		memcpy_b((void *)P2V(fd_table->offset), buffer, count);
offset            356 drivers/char/memdev.c 		fd_table->offset += count;
offset            363 drivers/char/memdev.c int kmem_lseek(struct inode *i, __off_t offset)
offset            365 drivers/char/memdev.c 	return offset;
offset            388 drivers/char/memdev.c int null_lseek(struct inode *i, __off_t offset)
offset            390 drivers/char/memdev.c 	return offset;
offset            414 drivers/char/memdev.c int zero_lseek(struct inode *i, __off_t offset)
offset            416 drivers/char/memdev.c 	return offset;
offset            446 drivers/char/memdev.c int urandom_lseek(struct inode *i, __off_t offset)
offset            448 drivers/char/memdev.c 	return offset;
offset            497 drivers/char/memdev.c 		if(!addr_in_bios_map(vma->offset + addr)) {
offset            498 drivers/char/memdev.c 			if(!map_page(current, (vma->start + addr) & PAGE_MASK, (vma->offset + addr) & PAGE_MASK, PROT_READ | PROT_WRITE)) {
offset            503 drivers/char/memdev.c 			printk("\tinvalid mapping: 0x%08x -> 0x%08x\n", (vma->start + addr) & PAGE_MASK, (vma->offset + addr) & PAGE_MASK);
offset            966 drivers/char/tty.c int tty_lseek(struct inode *i, __off_t offset)
offset            101 drivers/video/fbcon.c 	int n, b, offset;
offset            107 drivers/video/fbcon.c 	offset = (y * video.fb_linesize) + (x * video.fb_bpp);
offset            108 drivers/video/fbcon.c 	addr += offset;
offset            472 drivers/video/fbcon.c 	int y, x, offset;
offset            492 drivers/video/fbcon.c 		for(offset = 0, y = 0; y < video.lines; y++) {
offset            493 drivers/video/fbcon.c 			for(x = 0; x < vc->columns; x++, offset++) {
offset            494 drivers/video/fbcon.c 				sch = vcbuf[video.buf_top + offset];
offset            523 drivers/video/fbcon.c 		for(offset = 0, y = 0; y < video.lines; y++) {
offset            524 drivers/video/fbcon.c 			for(x = 0; x < vc->columns; x++, offset++) {
offset            525 drivers/video/fbcon.c 				sch = vcbuf[video.buf_top + offset];
offset             57 drivers/video/vgacon.c 	int n, offset;
offset             62 drivers/video/vgacon.c 	offset = (vc->y * vc->columns) + vc->x;
offset             68 drivers/video/vgacon.c 			memcpy_w(&tmp, vidmem + offset, 1);
offset             69 drivers/video/vgacon.c 			memset_w(vidmem + offset, last_char, 1);
offset             71 drivers/video/vgacon.c 		memcpy_w(&tmp, screen + offset, 1);
offset             72 drivers/video/vgacon.c 		memset_w(screen + offset, last_char, 1);
offset             74 drivers/video/vgacon.c 		offset++;
offset             80 drivers/video/vgacon.c 	int offset, count;
offset             85 drivers/video/vgacon.c 	offset = (vc->y * vc->columns) + vc->x;
offset             89 drivers/video/vgacon.c 		memcpy_w(vidmem + offset, vidmem + offset + 1, count);
offset             90 drivers/video/vgacon.c 		memset_w(vidmem + offset + count, BLANK_MEM, 1);
offset             92 drivers/video/vgacon.c 	memcpy_w(screen + offset, screen + offset + 1, count);
offset             93 drivers/video/vgacon.c 	memset_w(screen + offset + count, BLANK_MEM, 1);
offset            180 drivers/video/vgacon.c 	int n, offset, count;
offset            192 drivers/video/vgacon.c 			offset = top * vc->columns;
offset            195 drivers/video/vgacon.c 				memcpy_w(vidmem + offset, vidmem + top, count);
offset            196 drivers/video/vgacon.c 				memset_w(vidmem + offset + count, BLANK_MEM, vc->columns);
offset            198 drivers/video/vgacon.c 			memcpy_w(screen + offset, screen + top, count);
offset            199 drivers/video/vgacon.c 			memset_w(screen + offset + count, BLANK_MEM, vc->columns);
offset            267 fs/devices.c   	count = (fd_table->offset + count > device_size) ? device_size - fd_table->offset : count;
offset            268 fs/devices.c   	if(!count || fd_table->offset > device_size) {
offset            272 fs/devices.c   		boffset = fd_table->offset % blksize;
offset            273 fs/devices.c   		block = (fd_table->offset / blksize);
offset            282 fs/devices.c   		fd_table->offset += bytes;
offset            312 fs/devices.c   	count = (fd_table->offset + count > device_size) ? device_size - fd_table->offset : count;
offset            313 fs/devices.c   	if(!count || fd_table->offset > device_size) {
offset            317 fs/devices.c   		boffset = fd_table->offset % blksize;
offset            318 fs/devices.c   		block = (fd_table->offset / blksize);
offset            327 fs/devices.c   		fd_table->offset += bytes;
offset            348 fs/devices.c   int blk_dev_lseek(struct inode *i, __off_t offset)
offset            354 fs/devices.c   			return d->fsop->lseek(i, offset);
offset            358 fs/devices.c   	return offset;
offset             63 fs/ext2/dir.c  	fd_table->offset = 0;
offset             85 fs/ext2/dir.c  	unsigned int doffset, offset;
offset             97 fs/ext2/dir.c  	if(fd_table->offset > i->i_size) {
offset             98 fs/ext2/dir.c  		fd_table->offset = i->i_size;
offset            102 fs/ext2/dir.c  	doffset = offset = size = 0;
offset            104 fs/ext2/dir.c  	while(fd_table->offset < i->i_size && count > 0) {
offset            105 fs/ext2/dir.c  		if((block = bmap(i, fd_table->offset, FOR_READING)) < 0) {
offset            113 fs/ext2/dir.c  			doffset = fd_table->offset;
offset            114 fs/ext2/dir.c  			offset = fd_table->offset % blksize;
offset            115 fs/ext2/dir.c  			while(offset < blksize) {
offset            116 fs/ext2/dir.c  				d = (struct ext2_dir_entry_2 *)(buf->data + offset);
offset            135 fs/ext2/dir.c  				offset += d->rec_len;
offset            142 fs/ext2/dir.c  		fd_table->offset &= ~(blksize - 1);
offset            143 fs/ext2/dir.c  		doffset = fd_table->offset;
offset            144 fs/ext2/dir.c  		fd_table->offset += offset;
offset             65 fs/ext2/file.c 		fd_table->offset = i->i_size;
offset             67 fs/ext2/file.c 		fd_table->offset = 0;
offset             95 fs/ext2/file.c 		fd_table->offset = i->i_size;
offset             99 fs/ext2/file.c 		boffset = fd_table->offset % blksize;
offset            100 fs/ext2/file.c 		if((block = bmap(i, fd_table->offset, FOR_WRITING)) < 0) {
offset            111 fs/ext2/file.c 		update_page_cache(i, fd_table->offset, buffer + total_written, bytes);
offset            114 fs/ext2/file.c 		fd_table->offset += bytes;
offset            117 fs/ext2/file.c 	if(fd_table->offset > i->i_size) {
offset            118 fs/ext2/file.c 		i->i_size = fd_table->offset;
offset            128 fs/ext2/file.c int ext2_file_lseek(struct inode *i, __off_t offset)
offset            130 fs/ext2/file.c 	return offset;
offset             30 fs/ext2/inode.c static void free_indblock(struct inode *i, int block, int offset)
offset             41 fs/ext2/inode.c 	for(n = offset; n < BLOCKS_PER_IND_BLOCK(i->sb); n++) {
offset             70 fs/ext2/inode.c 	unsigned int offset;
offset             89 fs/ext2/inode.c 	offset = ((((i->inode - 1) % EXT2_INODES_PER_GROUP(sb)) % EXT2_INODES_PER_BLOCK(sb)) * sizeof(struct ext2_inode));
offset             91 fs/ext2/inode.c 	ii = (struct ext2_inode *)(buf->data + offset);
offset            143 fs/ext2/inode.c 	short int offset;
offset            162 fs/ext2/inode.c 	offset = ((((i->inode - 1) % EXT2_INODES_PER_GROUP(sb)) % EXT2_INODES_PER_BLOCK(sb)) * sizeof(struct ext2_inode));
offset            163 fs/ext2/inode.c 	ii = (struct ext2_inode *)(buf->data + offset);
offset            187 fs/ext2/inode.c int ext2_bmap(struct inode *i, __off_t offset, int mode)
offset            196 fs/ext2/inode.c 	block = offset / blksize;
offset             25 fs/ext2/namei.c 	unsigned int offset, doffset;
offset             31 fs/ext2/namei.c 	offset = 0;
offset             37 fs/ext2/namei.c 	while(offset < dir->i_size) {
offset             38 fs/ext2/namei.c 		if((block = bmap(dir, offset, FOR_READING)) < 0) {
offset             87 fs/ext2/namei.c 			offset += blksize;
offset            121 fs/ext2/namei.c 	unsigned int offset, doffset;
offset            126 fs/ext2/namei.c 	offset = 0;
offset            128 fs/ext2/namei.c 	while(offset < dir->i_size) {
offset            129 fs/ext2/namei.c 		if((block = bmap(dir, offset, FOR_READING)) < 0) {
offset            138 fs/ext2/namei.c 				if(doffset + offset >= dir->i_size) {
offset            155 fs/ext2/namei.c 			offset += blksize;
offset            192 fs/ext2/namei.c 	unsigned int offset, doffset;
offset            198 fs/ext2/namei.c 	inode = offset = 0;
offset            200 fs/ext2/namei.c 	while(offset < dir->i_size && !inode) {
offset            201 fs/ext2/namei.c 		if((block = bmap(dir, offset, FOR_READING)) < 0) {
offset            223 fs/ext2/namei.c 			offset += blksize;
offset            321 fs/inode.c     int bmap(struct inode *i, __off_t offset, int mode)
offset            324 fs/inode.c     		return i->fsop->bmap(i, offset, mode);
offset             62 fs/iso9660/dir.c 	fd_table->offset = 0;
offset             79 fs/iso9660/dir.c 	unsigned int doffset, offset;
offset             93 fs/iso9660/dir.c 	if(fd_table->offset > i->i_size) {
offset             94 fs/iso9660/dir.c 		fd_table->offset = i->i_size;
offset            101 fs/iso9660/dir.c 		if((block = bmap(i, fd_table->offset, FOR_READING)) < 0) {
offset            109 fs/iso9660/dir.c 			doffset = fd_table->offset;
offset            110 fs/iso9660/dir.c 			offset = fd_table->offset % blksize;
offset            112 fs/iso9660/dir.c 			while(doffset < i->i_size && offset < blksize) {
offset            113 fs/iso9660/dir.c 				d = (struct iso9660_directory_record *)(buf->data + offset);
offset            164 fs/iso9660/dir.c 					offset += isonum_711(d->length);
offset            173 fs/iso9660/dir.c 		fd_table->offset = doffset;
offset             66 fs/iso9660/file.c 	fd_table->offset = 0;
offset             75 fs/iso9660/file.c int iso9660_file_lseek(struct inode *i, __off_t offset)
offset             77 fs/iso9660/file.c 	return offset;
offset             24 fs/iso9660/inode.c 	int n, offset, pt_len, pt_blk;
offset             41 fs/iso9660/inode.c 	offset = 0;
offset             42 fs/iso9660/inode.c 	while(offset < pt_len) {
offset             47 fs/iso9660/inode.c 		memcpy_b(sbi->pathtable_raw + offset, (void *)buf->data, MIN(pt_len - offset, BLKSIZE_2K));
offset             48 fs/iso9660/inode.c 		offset += MIN(pt_len - offset, BLKSIZE_2K);
offset             53 fs/iso9660/inode.c 	offset = n = 0;
offset             59 fs/iso9660/inode.c 	while(offset < pt_len) {
offset             60 fs/iso9660/inode.c 		ptr = (struct iso9660_pathtable_record *)(sbi->pathtable_raw + offset);
offset             62 fs/iso9660/inode.c 		offset += sizeof(struct iso9660_pathtable_record) + isonum_711(ptr->length) + (isonum_711(ptr->length) & 1);
offset            173 fs/iso9660/inode.c int iso9660_bmap(struct inode *i, __off_t offset, int mode)
offset            177 fs/iso9660/inode.c 	block = i->u.iso9660.i_extent + (offset / i->sb->s_blocksize);
offset             24 fs/iso9660/namei.c 	unsigned int offset, doffset;
offset             32 fs/iso9660/namei.c 	inode = offset = 0;
offset             35 fs/iso9660/namei.c 	while(offset < dir->i_size && !inode) {
offset             36 fs/iso9660/namei.c 		if((dblock = bmap(dir, offset, FOR_READING)) < 0) {
offset             94 fs/iso9660/namei.c 			offset += blksize;
offset             74 fs/iso9660/rrip.c 				ce_offset = isonum_733(rrip->u.ce.offset);
offset            204 fs/iso9660/rrip.c 				ce_offset = isonum_733(rrip->u.ce.offset);
offset            294 fs/iso9660/rrip.c 				ce_offset = isonum_733(rrip->u.ce.offset);
offset             20 fs/minix/bitmaps.c static int count_bits(struct superblock *sb, __blk_t offset, int num, int blocks, int mode)
offset             30 fs/minix/bitmaps.c 	while(offset < blocks) {
offset             31 fs/minix/bitmaps.c 		if(!(buf = bread(sb->dev, offset, blksize))) {
offset             51 fs/minix/bitmaps.c 		offset++;
offset            151 fs/minix/bitmaps.c 	__blk_t offset;
offset            153 fs/minix/bitmaps.c 	offset = 1 + SUPERBLOCK;
offset            154 fs/minix/bitmaps.c 	return count_bits(sb, offset, sb->u.minix.sb.s_ninodes, offset + sb->u.minix.sb.s_imap_blocks, COUNT);
offset            159 fs/minix/bitmaps.c 	__blk_t offset;
offset            161 fs/minix/bitmaps.c 	offset = 1 + SUPERBLOCK + sb->u.minix.sb.s_imap_blocks;
offset            162 fs/minix/bitmaps.c 	return count_bits(sb, offset, sb->u.minix.nzones, offset + sb->u.minix.sb.s_zmap_blocks, COUNT);
offset            165 fs/minix/bitmaps.c int minix_find_first_zero(struct superblock *sb, __blk_t offset, int num, int blocks)
offset            167 fs/minix/bitmaps.c 	return count_bits(sb, offset, num, blocks, FIRST_ZERO);
offset             63 fs/minix/dir.c 	fd_table->offset = 0;
offset             85 fs/minix/dir.c 	unsigned int doffset, offset;
offset             97 fs/minix/dir.c 	if(fd_table->offset > i->i_size) {
offset             98 fs/minix/dir.c 		fd_table->offset = i->i_size;
offset            102 fs/minix/dir.c 	doffset = offset = size = 0;
offset            104 fs/minix/dir.c 	while(fd_table->offset < i->i_size && count > 0) {
offset            105 fs/minix/dir.c 		if((block = bmap(i, fd_table->offset, FOR_READING)) < 0) {
offset            113 fs/minix/dir.c 			doffset = fd_table->offset;
offset            114 fs/minix/dir.c 			offset = fd_table->offset % blksize;
offset            115 fs/minix/dir.c 			while(offset < blksize) {
offset            116 fs/minix/dir.c 				d = (struct minix_dir_entry *)(buf->data + offset);
offset            135 fs/minix/dir.c 				offset += i->sb->u.minix.dirsize;
offset            139 fs/minix/dir.c 		fd_table->offset &= ~(blksize - 1);
offset            140 fs/minix/dir.c 		doffset = fd_table->offset;
offset            141 fs/minix/dir.c 		fd_table->offset += offset;
offset             65 fs/minix/file.c 		fd_table->offset = i->i_size;
offset             67 fs/minix/file.c 		fd_table->offset = 0;
offset             95 fs/minix/file.c 		fd_table->offset = i->i_size;
offset             99 fs/minix/file.c 		boffset = fd_table->offset % blksize;
offset            100 fs/minix/file.c 		if((block = bmap(i, fd_table->offset, FOR_WRITING)) < 0) {
offset            111 fs/minix/file.c 		update_page_cache(i, fd_table->offset, buffer + total_written, bytes);
offset            114 fs/minix/file.c 		fd_table->offset += bytes;
offset            117 fs/minix/file.c 	if(fd_table->offset > i->i_size) {
offset            118 fs/minix/file.c 		i->i_size = fd_table->offset;
offset            128 fs/minix/file.c int minix_file_lseek(struct inode *i, __off_t offset)
offset            130 fs/minix/file.c 	return offset;
offset             59 fs/minix/inode.c int minix_bmap(struct inode *i, __off_t offset, int mode)
offset             62 fs/minix/inode.c 		return v1_minix_bmap(i, offset, mode);
offset             65 fs/minix/inode.c 	return v2_minix_bmap(i, offset, mode);
offset             23 fs/minix/namei.c 	unsigned int offset, doffset;
offset             29 fs/minix/namei.c 	offset = 0;
offset             31 fs/minix/namei.c 	while(offset < dir->i_size) {
offset             32 fs/minix/namei.c 		if((block = bmap(dir, offset, FOR_READING)) < 0) {
offset             40 fs/minix/namei.c 				if(doffset + offset >= dir->i_size) {
offset             51 fs/minix/namei.c 			offset += blksize;
offset             66 fs/minix/namei.c 	unsigned int offset, doffset;
offset             70 fs/minix/namei.c 	offset = 0;
offset             72 fs/minix/namei.c 	while(offset < dir->i_size) {
offset             73 fs/minix/namei.c 		if((block = bmap(dir, offset, FOR_READING)) < 0) {
offset             85 fs/minix/namei.c 					if(!(*d_res)->inode || (doffset + offset >= dir->i_size)) {
offset             87 fs/minix/namei.c 						if(doffset + offset >= dir->i_size) {
offset            107 fs/minix/namei.c 			offset += blksize;
offset            164 fs/minix/namei.c 	unsigned int offset, doffset;
offset            170 fs/minix/namei.c 	inode = offset = 0;
offset            172 fs/minix/namei.c 	while(offset < dir->i_size && !inode) {
offset            173 fs/minix/namei.c 		if((block = bmap(dir, offset, FOR_READING)) < 0) {
offset            204 fs/minix/namei.c 			offset += blksize;
offset             30 fs/minix/v1_inode.c static void free_zone(struct inode *i, int block, int offset)
offset             41 fs/minix/v1_inode.c 	for(n = offset; n < BLOCKS_PER_IND_BLOCK(i->sb); n++) {
offset             53 fs/minix/v1_inode.c 	short int offset;
offset             63 fs/minix/v1_inode.c 	offset = (i->inode - 1) % MINIX_INODES_PER_BLOCK(i->sb);
offset             64 fs/minix/v1_inode.c 	ii = ((struct minix_inode *)buf->data) + offset;
offset            117 fs/minix/v1_inode.c 	short int offset;
offset            126 fs/minix/v1_inode.c 	offset = (i->inode - 1) % MINIX_INODES_PER_BLOCK(i->sb);
offset            127 fs/minix/v1_inode.c 	ii = ((struct minix_inode *)buf->data) + offset;
offset            147 fs/minix/v1_inode.c 	__blk_t offset;
offset            154 fs/minix/v1_inode.c 	offset = 1 + SUPERBLOCK;
offset            156 fs/minix/v1_inode.c 	if(!(inode = minix_find_first_zero(sb, offset, sb->u.minix.sb.s_ninodes, offset + sb->u.minix.sb.s_imap_blocks))) {
offset            161 fs/minix/v1_inode.c 	errno = minix_change_bit(SET_BIT, sb, offset, inode);
offset            208 fs/minix/v1_inode.c int v1_minix_bmap(struct inode *i, __off_t offset, int mode)
offset            217 fs/minix/v1_inode.c 	block = offset / blksize;
offset             31 fs/minix/v2_inode.c static void free_zone(struct inode *i, int block, int offset)
offset             42 fs/minix/v2_inode.c 	for(n = offset; n < BLOCKS_PER_IND_BLOCK(i->sb); n++) {
offset             54 fs/minix/v2_inode.c 	short int offset;
offset             64 fs/minix/v2_inode.c 	offset = (i->inode - 1) % MINIX2_INODES_PER_BLOCK(i->sb);
offset             65 fs/minix/v2_inode.c 	ii = ((struct minix2_inode *)buf->data) + offset;
offset            118 fs/minix/v2_inode.c 	short int offset;
offset            127 fs/minix/v2_inode.c 	offset = (i->inode - 1) % MINIX2_INODES_PER_BLOCK(i->sb);
offset            128 fs/minix/v2_inode.c 	ii = ((struct minix2_inode *)buf->data) + offset;
offset            150 fs/minix/v2_inode.c 	__blk_t offset;
offset            157 fs/minix/v2_inode.c 	offset = 1 + SUPERBLOCK;
offset            159 fs/minix/v2_inode.c 	if(!(inode = minix_find_first_zero(sb, offset, sb->u.minix.sb.s_ninodes, offset + sb->u.minix.sb.s_imap_blocks))) {
offset            164 fs/minix/v2_inode.c 	errno = minix_change_bit(SET_BIT, sb, offset, inode);
offset            211 fs/minix/v2_inode.c int v2_minix_bmap(struct inode *i, __off_t offset, int mode)
offset            220 fs/minix/v2_inode.c 	block = offset / blksize;
offset            189 fs/pipefs/pipe.c int pipefs_lseek(struct inode *i, __off_t offset)
offset            442 fs/procfs/data.c 	unsigned int addr, offset;
offset            449 fs/procfs/data.c 			offset = (int)argv & ~PAGE_MASK;
offset            452 fs/procfs/data.c 			argv = (char **)(addr + offset);
offset            453 fs/procfs/data.c 			offset = (int)argv[0] & ~PAGE_MASK;
offset            456 fs/procfs/data.c 			arg = (char *)(addr + offset);
offset            493 fs/procfs/data.c 	unsigned int addr, offset;
offset            500 fs/procfs/data.c 			offset = (int)envp & ~PAGE_MASK;
offset            503 fs/procfs/data.c 			envp = (char **)(addr + offset);
offset            504 fs/procfs/data.c 			offset = (int)envp[0] & ~PAGE_MASK;
offset            507 fs/procfs/data.c 			env = (char *)(addr + offset);
offset            590 fs/procfs/data.c 			len = sprintk(buffer + size, "%08x-%08x %c%c%c%c %08x %02d:%02d %- 10u [%s]\n", vma->start, vma->end, r, w, x, f, vma->offset, major, minor, inode, section);
offset            172 fs/procfs/dir.c 	total_read = fd_table->offset = len;
offset            180 fs/procfs/dir.c 	fd_table->offset = 0;
offset            196 fs/procfs/dir.c 	unsigned int offset, boffset, dirent_offset, doffset;
offset            211 fs/procfs/dir.c 	offset = fd_table->offset;
offset            214 fs/procfs/dir.c 	boffset = offset % PAGE_SIZE;
offset            222 fs/procfs/dir.c 	while(boffset < fd_table->offset) {
offset            231 fs/procfs/dir.c 			offset += sizeof(struct procfs_dir_entry);
offset            234 fs/procfs/dir.c 			dirent->d_off = offset;
offset            244 fs/procfs/dir.c 	fd_table->offset = boffset;
offset             65 fs/procfs/file.c 	fd_table->offset = 0;
offset             94 fs/procfs/file.c 	if(fd_table->offset > size) {
offset             95 fs/procfs/file.c 		fd_table->offset = size;
offset            101 fs/procfs/file.c 		count = (fd_table->offset + count > size) ? size - fd_table->offset : count;
offset            106 fs/procfs/file.c 		boffset = fd_table->offset % blksize;
offset            112 fs/procfs/file.c 		fd_table->offset += bytes;
offset            119 fs/procfs/file.c int procfs_file_lseek(struct inode *i, __off_t offset)
offset            121 fs/procfs/file.c 	return offset;
offset             72 fs/procfs/inode.c int procfs_bmap(struct inode *i, __off_t offset, int mode)
offset             25 include/fiwix/fs.h 	__off_t offset;			/* r/w pointer position */
offset            136 include/fiwix/fs_iso9660.h 	char offset[8];
offset             57 include/fiwix/mm.h 	__off_t offset;		/* file offset */
offset             48 include/fiwix/mman.h 	unsigned int offset;
offset            263 include/fiwix/multiboot1.h   multiboot_uint32_t offset;
offset             16 include/fiwix/process.h 	unsigned int offset;
offset             67 include/fiwix/process.h 	int offset;
offset            184 kernel/cpu.c   int get_cpu_flags(char *buffer, int offset)
offset            189 kernel/cpu.c   	size = sprintk(buffer + offset, "flags           :");
offset            192 kernel/cpu.c   			size += sprintk(buffer + offset + size, " %s", cpu_flags[n]);
offset            195 kernel/cpu.c   	size += sprintk(buffer + offset + size, "\n");
offset             62 kernel/syscalls/execve.c 	int n, p, offset;
offset             74 kernel/syscalls/execve.c 	offset = PAGE_SIZE - (ae_str_len % PAGE_SIZE);
offset             75 kernel/syscalls/execve.c 	if(offset == PAGE_SIZE) {
offset             76 kernel/syscalls/execve.c 		offset = 0;
offset             80 kernel/syscalls/execve.c 	while(*(page + offset)) {
offset             81 kernel/syscalls/execve.c 		offset++;
offset             83 kernel/syscalls/execve.c 		if(offset == PAGE_SIZE) {
offset             85 kernel/syscalls/execve.c 			offset = 0;
offset            102 kernel/syscalls/execve.c 	offset = PAGE_SIZE - (ae_str_len % PAGE_SIZE);
offset            103 kernel/syscalls/execve.c 	if(offset == PAGE_SIZE) {
offset            104 kernel/syscalls/execve.c 		offset = 0;
offset            107 kernel/syscalls/execve.c 	barg->offset = offset;
offset            120 kernel/syscalls/execve.c 		*(page + offset) = *interpreter;
offset            121 kernel/syscalls/execve.c 		offset++;
offset            123 kernel/syscalls/execve.c 		if(offset == PAGE_SIZE) {
offset            125 kernel/syscalls/execve.c 			offset = 0;
offset            129 kernel/syscalls/execve.c 	*(page + offset++) = NULL;
offset            130 kernel/syscalls/execve.c 	if(offset == PAGE_SIZE) {
offset            132 kernel/syscalls/execve.c 		offset = 0;
offset            139 kernel/syscalls/execve.c 			*(page + offset) = *args;
offset            140 kernel/syscalls/execve.c 			offset++;
offset            142 kernel/syscalls/execve.c 			if(offset == PAGE_SIZE) {
offset            144 kernel/syscalls/execve.c 				offset = 0;
offset            148 kernel/syscalls/execve.c 		*(page + offset++) = NULL;
offset            149 kernel/syscalls/execve.c 		if(offset == PAGE_SIZE) {
offset            151 kernel/syscalls/execve.c 			offset = 0;
offset            158 kernel/syscalls/execve.c 		*(page + offset) = *filename;
offset            159 kernel/syscalls/execve.c 		offset++;
offset            161 kernel/syscalls/execve.c 		if(offset == PAGE_SIZE) {
offset            163 kernel/syscalls/execve.c 			offset = 0;
offset            167 kernel/syscalls/execve.c 	*(page + offset) = NULL;
offset            174 kernel/syscalls/execve.c 	int n, p, offset;
offset            181 kernel/syscalls/execve.c 	offset = PAGE_SIZE - (ae_str_len % PAGE_SIZE);
offset            182 kernel/syscalls/execve.c 	if(offset == PAGE_SIZE) {
offset            183 kernel/syscalls/execve.c 		offset = 0;
offset            186 kernel/syscalls/execve.c 	barg->offset = offset;
offset            197 kernel/syscalls/execve.c 			*(page + offset) = *str;
offset            198 kernel/syscalls/execve.c 			offset++;
offset            200 kernel/syscalls/execve.c 			if(offset == PAGE_SIZE) {
offset            202 kernel/syscalls/execve.c 				offset = 0;
offset            206 kernel/syscalls/execve.c 		*(page + offset++) = NULL;
offset            207 kernel/syscalls/execve.c 		if(offset == PAGE_SIZE) {
offset            209 kernel/syscalls/execve.c 			offset = 0;
offset            216 kernel/syscalls/execve.c 			*(page + offset) = *str;
offset            217 kernel/syscalls/execve.c 			offset++;
offset            219 kernel/syscalls/execve.c 			if(offset == PAGE_SIZE) {
offset            221 kernel/syscalls/execve.c 				offset = 0;
offset            225 kernel/syscalls/execve.c 		*(page + offset++) = NULL;
offset            226 kernel/syscalls/execve.c 		if(offset == PAGE_SIZE) {
offset            228 kernel/syscalls/execve.c 			offset = 0;
offset             21 kernel/syscalls/llseek.c 	__loff_t offset;
offset             34 kernel/syscalls/llseek.c 	offset = (__loff_t) (((__loff_t)offset_high << 32) | offset_low);
offset             37 kernel/syscalls/llseek.c 			new_offset = offset;
offset             40 kernel/syscalls/llseek.c 			new_offset = fd_table[current->fd[ufd]].offset + offset;
offset             43 kernel/syscalls/llseek.c 			new_offset = i->i_size + offset;
offset             48 kernel/syscalls/llseek.c 	fd_table[current->fd[ufd]].offset = new_offset;
offset             18 kernel/syscalls/lseek.c int sys_lseek(unsigned int ufd, __off_t offset, unsigned int whence)
offset             24 kernel/syscalls/lseek.c 	printk("(pid %d) sys_lseek(%d, %d, %d)", current->pid, ufd, offset, whence);
offset             32 kernel/syscalls/lseek.c 			new_offset = offset;
offset             35 kernel/syscalls/lseek.c 			new_offset = fd_table[current->fd[ufd]].offset + offset;
offset             38 kernel/syscalls/lseek.c 			new_offset = i->i_size + offset;
offset             47 kernel/syscalls/lseek.c 		fd_table[current->fd[ufd]].offset = new_offset;
offset             28 kernel/syscalls/old_mmap.c 	printk("(pid %d) old_mmap(0x%08x, %d, 0x%02x, 0x%02x, %d, 0x%08x) -> ", current->pid, mmap->start, mmap->length, mmap->prot, mmap->flags, mmap->fd, mmap->offset);
offset             47 kernel/syscalls/old_mmap.c 	page = do_mmap(i, mmap->start, mmap->length, mmap->prot, mmap->flags, mmap->offset, P_MMAP, flags);
offset            112 mm/fault.c     		file_offset = (cr2 & PAGE_MASK) - vma->start + vma->offset;
offset             67 mm/mmap.c      		printk("[%02d] 0x%08x-0x%08x %c%c%c%c 0x%08x %02d:%02d %- 10u <%d> [%s]  (%d)\n", n, vma->start, vma->end, r, w, x, f, vma->offset, major, minor, inode, vma->o_mode, section, count);
offset            107 mm/mmap.c      				  (vma[n].offset == vma[n2].offset) &&
offset            160 mm/mmap.c      				new->offset = prev->offset;
offset            235 mm/mmap.c      					addr = start - vma->start + vma->offset;
offset            272 mm/mmap.c      	new->offset = vma->offset;
offset            353 mm/mmap.c      int do_mmap(struct inode *i, unsigned int start, unsigned int length, unsigned int prot, unsigned int flags, unsigned int offset, char type, char mode)
offset            426 mm/mmap.c      	vma->offset = offset;
offset            506 mm/mmap.c      	new->offset = vma->offset;
offset             38 mm/page.c      #define PAGE_HASH(inode, offset)	(((__ino_t)(inode) ^ (__off_t)(offset)) % (NR_PAGE_HASH))
offset             51 mm/page.c      	i = PAGE_HASH(pg->inode, pg->offset);
offset             75 mm/page.c      	i = PAGE_HASH(pg->inode, pg->offset);
offset            181 mm/page.c      	pg->offset = 0;
offset            188 mm/page.c      struct page * search_page_hash(struct inode *inode, __off_t offset)
offset            193 mm/page.c      	i = PAGE_HASH(inode->inode, offset);
offset            197 mm/page.c      		if(pg->inode == inode->inode && pg->offset == offset && pg->dev == inode->dev) {
offset            257 mm/page.c      void update_page_cache(struct inode *i, __off_t offset, const char *buf, int count)
offset            263 mm/page.c      	poffset = offset % PAGE_SIZE;
offset            264 mm/page.c      	offset &= PAGE_MASK;
offset            269 mm/page.c      		if((pg = search_page_hash(i, offset))) {
offset            278 mm/page.c      int write_page(struct page *pg, struct inode *i, __off_t offset, unsigned int length)
offset            288 mm/page.c      	fd_table.offset = offset;
offset            298 mm/page.c      int bread_page(struct page *pg, struct inode *i, __off_t offset, char prot, char flags)
offset            309 mm/page.c      		if((block = bmap(i, offset + size_read, FOR_READING)) < 0) {
offset            328 mm/page.c      		pg->offset = offset;
offset            344 mm/page.c      	if(fd_table->offset > i->i_size) {
offset            345 mm/page.c      		fd_table->offset = i->i_size;
offset            351 mm/page.c      		count = (fd_table->offset + count > i->i_size) ? i->i_size - fd_table->offset : count;
offset            356 mm/page.c      		poffset = fd_table->offset % PAGE_SIZE;
offset            357 mm/page.c      		if(!(pg = search_page_hash(i, fd_table->offset & PAGE_MASK))) {
offset            364 mm/page.c      			if(bread_page(pg, i, fd_table->offset & PAGE_MASK, 0, MAP_SHARED)) {
offset            380 mm/page.c      		fd_table->offset += bytes;