tag | line | file | source code |
offset | 19 | fs/block_dev.c | int offset = filp->f_pos & (BLOCK_SIZE-1); |
offset | 35 | fs/block_dev.c | chars = BLOCK_SIZE - offset; |
offset | 45 | fs/block_dev.c | p = offset + bh->b_data; |
offset | 46 | fs/block_dev.c | offset = 0; |
offset | 65 | fs/block_dev.c | unsigned int offset; |
offset | 77 | fs/block_dev.c | offset = filp->f_pos; |
offset | 83 | fs/block_dev.c | if (offset > size) |
offset | 86 | fs/block_dev.c | left = size - offset; |
offset | 92 | fs/block_dev.c | block = offset >> BLOCK_SIZE_BITS; |
offset | 93 | fs/block_dev.c | offset &= BLOCK_SIZE-1; |
offset | 95 | fs/block_dev.c | blocks = (left + offset + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; |
offset | 147 | fs/block_dev.c | if (left < BLOCK_SIZE - offset) |
offset | 150 | fs/block_dev.c | chars = BLOCK_SIZE - offset; |
offset | 155 | fs/block_dev.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 162 | fs/block_dev.c | offset = 0; |
offset | 52 | fs/exec.c | #define DUMP_SEEK(offset) \ |
offset | 54 | fs/exec.c | if (file.f_op->lseek(inode,&file,(offset),0) != (offset)) \ |
offset | 56 | fs/exec.c | } else file.f_pos = (offset) |
offset | 187 | fs/exec.c | unsigned long offset; |
offset | 223 | fs/exec.c | offset = (ex.a_data + ex.a_text + 0xfff) & 0xfffff000; |
offset | 224 | fs/exec.c | current->libraries[libnum].length = offset; |
offset | 226 | fs/exec.c | offset += ex.a_entry; |
offset | 227 | fs/exec.c | zeromap_page_range(offset, ex.a_bss, PAGE_COPY); |
offset | 309 | fs/exec.c | int len, offset = 0; |
offset | 335 | fs/exec.c | if (--offset < 0) { |
offset | 336 | fs/exec.c | offset = p % PAGE_SIZE; |
offset | 347 | fs/exec.c | *(pag + offset) = get_fs_byte(tmp); |
offset | 384 | fs/exec.c | static int read_exec(struct inode *inode, unsigned long offset, |
offset | 405 | fs/exec.c | if (file.f_op->lseek(inode,&file,offset,0) != offset) |
offset | 408 | fs/exec.c | file.f_pos = offset; |
offset | 67 | fs/ext/dir.c | unsigned int offset,i; |
offset | 77 | fs/ext/dir.c | offset = filp->f_pos & 1023; |
offset | 80 | fs/ext/dir.c | filp->f_pos += 1024-offset; |
offset | 83 | fs/ext/dir.c | de = (struct ext_dir_entry *) (offset + bh->b_data); |
offset | 84 | fs/ext/dir.c | while (offset < 1024 && filp->f_pos < inode->i_size) { |
offset | 90 | fs/ext/dir.c | inode->i_dev, inode->i_ino, offset, de->rec_len, de->name_len); |
offset | 91 | fs/ext/dir.c | filp->f_pos += 1024-offset; |
offset | 96 | fs/ext/dir.c | offset += de->rec_len; |
offset | 75 | fs/ext/file.c | int block, blocks, offset; |
offset | 90 | fs/ext/file.c | offset = filp->f_pos; |
offset | 92 | fs/ext/file.c | if (offset > size) |
offset | 95 | fs/ext/file.c | left = size - offset; |
offset | 101 | fs/ext/file.c | block = offset >> BLOCK_SIZE_BITS; |
offset | 102 | fs/ext/file.c | offset &= BLOCK_SIZE-1; |
offset | 104 | fs/ext/file.c | blocks = (left + offset + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; |
offset | 156 | fs/ext/file.c | if (left < BLOCK_SIZE - offset) |
offset | 159 | fs/ext/file.c | chars = BLOCK_SIZE - offset; |
offset | 164 | fs/ext/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 171 | fs/ext/file.c | offset = 0; |
offset | 91 | fs/ext/namei.c | long offset; |
offset | 112 | fs/ext/namei.c | offset = 0; |
offset | 114 | fs/ext/namei.c | while (offset < dir->i_size) { |
offset | 118 | fs/ext/namei.c | bh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,0); |
offset | 130 | fs/ext/namei.c | dir->i_dev, dir->i_ino, offset, de->rec_len, de->name_len); |
offset | 132 | fs/ext/namei.c | offset = ((offset / BLOCK_SIZE) + 1) * BLOCK_SIZE; |
offset | 140 | fs/ext/namei.c | if (offset + de->rec_len < dir->i_size && |
offset | 148 | fs/ext/namei.c | offset += de->rec_len; |
offset | 199 | fs/ext/namei.c | long offset; |
offset | 220 | fs/ext/namei.c | offset = 0; |
offset | 223 | fs/ext/namei.c | if ((char *)de >= BLOCK_SIZE+bh->b_data && offset < dir->i_size) { |
offset | 229 | fs/ext/namei.c | bh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,0); |
offset | 234 | fs/ext/namei.c | if (offset >= dir->i_size) { |
offset | 236 | fs/ext/namei.c | if (offset % BLOCK_SIZE == 0 || |
offset | 237 | fs/ext/namei.c | (BLOCK_SIZE - (offset % BLOCK_SIZE)) < rec_len) { |
offset | 238 | fs/ext/namei.c | if ((offset % BLOCK_SIZE) != 0) { |
offset | 244 | fs/ext/namei.c | - (offset & (BLOCK_SIZE - 1)); |
offset | 246 | fs/ext/namei.c | offset += de->rec_len; |
offset | 257 | fs/ext/namei.c | bh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,1); |
offset | 274 | fs/ext/namei.c | dir->i_dev, dir->i_ino, offset, de->rec_len, de->name_len); |
offset | 299 | fs/ext/namei.c | offset += de->rec_len; |
offset | 468 | fs/ext/namei.c | unsigned long offset; |
offset | 483 | fs/ext/namei.c | offset = de->rec_len + de1->rec_len; |
offset | 485 | fs/ext/namei.c | while (offset < inode->i_size ) { |
offset | 488 | fs/ext/namei.c | bh = ext_bread(inode, offset >> BLOCK_SIZE_BITS,1); |
offset | 490 | fs/ext/namei.c | offset += BLOCK_SIZE; |
offset | 499 | fs/ext/namei.c | inode->i_dev, inode->i_ino, offset, de->rec_len, de->name_len); |
offset | 507 | fs/ext/namei.c | offset += de->rec_len; |
offset | 64 | fs/ext/truncate.c | static int trunc_indirect(struct inode * inode, int offset, unsigned long * p) |
offset | 71 | fs/ext/truncate.c | #define INDIRECT_BLOCK (DIRECT_BLOCK-offset) |
offset | 127 | fs/ext/truncate.c | static int trunc_dindirect(struct inode * inode, int offset, unsigned long * p) |
offset | 133 | fs/ext/truncate.c | #define DINDIRECT_BLOCK ((DIRECT_BLOCK-offset)>>8) |
offset | 157 | fs/ext/truncate.c | retry |= trunc_indirect(inode,offset+(i<<8),dind); |
offset | 66 | fs/ext2/balloc.c | static inline int find_next_zero_bit (unsigned * addr, int size, int offset) |
offset | 68 | fs/ext2/balloc.c | unsigned *p = ((unsigned *) addr) + (offset >> 5); |
offset | 69 | fs/ext2/balloc.c | int set = 0, bit = offset & 31, res; |
offset | 81 | fs/ext2/balloc.c | return set + offset; |
offset | 87 | fs/ext2/balloc.c | return (offset + set + res); |
offset | 70 | fs/ext2/dir.c | unsigned int offset) |
offset | 88 | fs/ext2/dir.c | offset, de->inode, de->rec_len, de->name_len); |
offset | 96 | fs/ext2/dir.c | unsigned int offset, i, err; |
offset | 105 | fs/ext2/dir.c | offset = filp->f_pos & (sb->s_blocksize - 1); |
offset | 108 | fs/ext2/dir.c | filp->f_pos += sb->s_blocksize - offset; |
offset | 111 | fs/ext2/dir.c | de = (struct ext2_dir_entry *) (offset + bh->b_data); |
offset | 112 | fs/ext2/dir.c | while (offset < sb->s_blocksize && filp->f_pos < inode->i_size) { |
offset | 114 | fs/ext2/dir.c | bh, offset)) { |
offset | 118 | fs/ext2/dir.c | offset += de->rec_len; |
offset | 76 | fs/ext2/file.c | int block, blocks, offset; |
offset | 93 | fs/ext2/file.c | offset = filp->f_pos; |
offset | 95 | fs/ext2/file.c | if (offset > size) |
offset | 98 | fs/ext2/file.c | left = size - offset; |
offset | 104 | fs/ext2/file.c | block = offset >> EXT2_BLOCK_SIZE_BITS(sb); |
offset | 105 | fs/ext2/file.c | offset &= (sb->s_blocksize - 1); |
offset | 107 | fs/ext2/file.c | blocks = (left + offset + sb->s_blocksize - 1) >> EXT2_BLOCK_SIZE_BITS(sb); |
offset | 160 | fs/ext2/file.c | if (left < sb->s_blocksize - offset) |
offset | 163 | fs/ext2/file.c | chars = sb->s_blocksize - offset; |
offset | 168 | fs/ext2/file.c | memcpy_tofs (buf, offset + (*bhe)->b_data, |
offset | 176 | fs/ext2/file.c | offset = 0; |
offset | 75 | fs/ext2/namei.c | long offset; |
offset | 97 | fs/ext2/namei.c | offset = 0; |
offset | 99 | fs/ext2/namei.c | while (offset < dir->i_size) { |
offset | 102 | fs/ext2/namei.c | bh = ext2_bread (dir, offset >> EXT2_BLOCK_SIZE_BITS(sb), 0, &err); |
offset | 104 | fs/ext2/namei.c | offset += sb->s_blocksize; |
offset | 112 | fs/ext2/namei.c | offset)) { |
offset | 120 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 183 | fs/ext2/namei.c | long offset; |
offset | 207 | fs/ext2/namei.c | offset = 0; |
offset | 214 | fs/ext2/namei.c | bh = ext2_bread (dir, offset >> EXT2_BLOCK_SIZE_BITS(sb), 1, err); |
offset | 217 | fs/ext2/namei.c | if (dir->i_size <= offset) { |
offset | 224 | fs/ext2/namei.c | dir->i_size = offset + sb->s_blocksize; |
offset | 235 | fs/ext2/namei.c | offset)) { |
offset | 249 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 267 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 468 | fs/ext2/namei.c | unsigned long offset; |
offset | 489 | fs/ext2/namei.c | offset = de->rec_len + de1->rec_len; |
offset | 491 | fs/ext2/namei.c | while (offset < inode->i_size ) { |
offset | 494 | fs/ext2/namei.c | bh = ext2_bread (inode, offset >> EXT2_BLOCK_SIZE_BITS(sb), 1, &err); |
offset | 496 | fs/ext2/namei.c | offset += sb->s_blocksize; |
offset | 502 | fs/ext2/namei.c | offset)) { |
offset | 510 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 69 | fs/ext2/truncate.c | static int trunc_indirect (struct inode * inode, int offset, unsigned long * p) |
offset | 78 | fs/ext2/truncate.c | #define INDIRECT_BLOCK ((int)DIRECT_BLOCK - offset) |
offset | 139 | fs/ext2/truncate.c | static int trunc_dindirect (struct inode * inode, int offset, |
offset | 148 | fs/ext2/truncate.c | #define DINDIRECT_BLOCK (((int)DIRECT_BLOCK - offset) / addr_per_block) |
offset | 173 | fs/ext2/truncate.c | retry |= trunc_indirect (inode, offset + (i * addr_per_block), |
offset | 66 | fs/isofs/dir.c | unsigned int block,offset,i, j; |
offset | 79 | fs/isofs/dir.c | offset = filp->f_pos & (BLOCK_SIZE - 1); |
offset | 86 | fs/isofs/dir.c | printk("Block, offset: %x %x %x\n",block, offset, filp->f_pos); |
offset | 88 | fs/isofs/dir.c | de = (struct iso_directory_record *) (offset + bh->b_data); |
offset | 89 | fs/isofs/dir.c | inode_number = (block << BLOCK_SIZE_BITS)+(offset & (BLOCK_SIZE - 1)); |
offset | 96 | fs/isofs/dir.c | offset = 0; |
offset | 108 | fs/isofs/dir.c | old_offset = offset; |
offset | 109 | fs/isofs/dir.c | offset += *((unsigned char*) de); |
offset | 111 | fs/isofs/dir.c | if (offset >= BLOCK_SIZE) { |
offset | 116 | fs/isofs/dir.c | offset = filp->f_pos & (BLOCK_SIZE - 1); |
offset | 116 | fs/isofs/file.c | int block, blocks, offset; |
offset | 143 | fs/isofs/file.c | offset = filp->f_pos & (ISOFS_BUFFER_SIZE-1); |
offset | 144 | fs/isofs/file.c | blocks = (left + offset + ISOFS_BUFFER_SIZE - 1) / ISOFS_BUFFER_SIZE; |
offset | 223 | fs/isofs/file.c | if (left < ISOFS_BUFFER_SIZE - offset) |
offset | 226 | fs/isofs/file.c | chars = ISOFS_BUFFER_SIZE - offset; |
offset | 233 | fs/isofs/file.c | unixify_text_buffer(offset+(*bhe)->b_data, |
offset | 235 | fs/isofs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 242 | fs/isofs/file.c | offset = 0; |
offset | 445 | fs/isofs/inode.c | unsigned int block,offset; |
offset | 453 | fs/isofs/inode.c | offset = 0; |
offset | 458 | fs/isofs/inode.c | de = (struct iso_directory_record *) (offset + bh->b_data); |
offset | 466 | fs/isofs/inode.c | offset += *((unsigned char*) de); |
offset | 468 | fs/isofs/inode.c | if (offset >= ISOFS_BUFFER_SIZE) |
offset | 491 | fs/isofs/inode.c | offset = 0; |
offset | 497 | fs/isofs/inode.c | de = (struct iso_directory_record *) (offset + bh->b_data); |
offset | 498 | fs/isofs/inode.c | inode_number = (block << ISOFS_BUFFER_BITS)+(offset & (ISOFS_BUFFER_SIZE - 1)); |
offset | 506 | fs/isofs/inode.c | offset = 0; |
offset | 518 | fs/isofs/inode.c | old_offset = offset; |
offset | 519 | fs/isofs/inode.c | offset += *((unsigned char*) de); |
offset | 520 | fs/isofs/inode.c | if (offset >= ISOFS_BUFFER_SIZE) |
offset | 526 | fs/isofs/inode.c | offset -= ISOFS_BUFFER_SIZE; |
offset | 67 | fs/isofs/namei.c | unsigned int block,i, f_pos, offset, inode_number; |
offset | 84 | fs/isofs/namei.c | offset = f_pos & (ISOFS_BUFFER_SIZE - 1); |
offset | 89 | fs/isofs/namei.c | de = (struct iso_directory_record *) (offset + bh->b_data); |
offset | 91 | fs/isofs/namei.c | inode_number = (block << ISOFS_BUFFER_BITS)+(offset & (ISOFS_BUFFER_SIZE - 1)); |
offset | 98 | fs/isofs/namei.c | offset = 0; |
offset | 106 | fs/isofs/namei.c | old_offset = offset; |
offset | 107 | fs/isofs/namei.c | offset += *((unsigned char*) de); |
offset | 113 | fs/isofs/namei.c | if (offset >= ISOFS_BUFFER_SIZE) { |
offset | 118 | fs/isofs/namei.c | offset = f_pos & (ISOFS_BUFFER_SIZE - 1); |
offset | 43 | fs/isofs/rock.c | cont_offset = isonum_733(rr->u.CE.offset); \ |
offset | 55 | fs/isofs/rock.c | int block, offset; \ |
offset | 59 | fs/isofs/rock.c | offset = cont_offset; \ |
offset | 60 | fs/isofs/rock.c | if (offset >= 1024) block++; \ |
offset | 61 | fs/isofs/rock.c | offset &= 1023; \ |
offset | 13 | fs/isofs/rock.h | char offset[8]; |
offset | 60 | fs/minix/dir.c | unsigned int offset,i; |
offset | 72 | fs/minix/dir.c | offset = filp->f_pos & 1023; |
offset | 75 | fs/minix/dir.c | filp->f_pos += 1024-offset; |
offset | 78 | fs/minix/dir.c | while (offset < 1024 && filp->f_pos < inode->i_size) { |
offset | 79 | fs/minix/dir.c | de = (struct minix_dir_entry *) (offset + bh->b_data); |
offset | 80 | fs/minix/dir.c | offset += info->s_dirsize; |
offset | 69 | fs/minix/file.c | int block, blocks, offset; |
offset | 84 | fs/minix/file.c | offset = filp->f_pos; |
offset | 86 | fs/minix/file.c | if (offset > size) |
offset | 89 | fs/minix/file.c | left = size - offset; |
offset | 95 | fs/minix/file.c | block = offset >> BLOCK_SIZE_BITS; |
offset | 96 | fs/minix/file.c | offset &= BLOCK_SIZE-1; |
offset | 98 | fs/minix/file.c | blocks = (left + offset + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; |
offset | 150 | fs/minix/file.c | if (left < BLOCK_SIZE - offset) |
offset | 153 | fs/minix/file.c | chars = BLOCK_SIZE - offset; |
offset | 158 | fs/minix/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 165 | fs/minix/file.c | offset = 0; |
offset | 45 | fs/minix/namei.c | struct buffer_head * bh, unsigned long * offset, |
offset | 50 | fs/minix/namei.c | de = (struct minix_dir_entry *) (bh->b_data + *offset); |
offset | 51 | fs/minix/namei.c | *offset += info->s_dirsize; |
offset | 71 | fs/minix/namei.c | unsigned long block, offset; |
offset | 87 | fs/minix/namei.c | block = offset = 0; |
offset | 88 | fs/minix/namei.c | while (block*BLOCK_SIZE+offset < dir->i_size) { |
offset | 96 | fs/minix/namei.c | *res_dir = (struct minix_dir_entry *) (bh->b_data + offset); |
offset | 97 | fs/minix/namei.c | if (minix_match(namelen,name,bh,&offset,info)) |
offset | 99 | fs/minix/namei.c | if (offset < bh->b_size) |
offset | 103 | fs/minix/namei.c | offset = 0; |
offset | 155 | fs/minix/namei.c | unsigned long block, offset; |
offset | 175 | fs/minix/namei.c | block = offset = 0; |
offset | 182 | fs/minix/namei.c | de = (struct minix_dir_entry *) (bh->b_data + offset); |
offset | 183 | fs/minix/namei.c | offset += info->s_dirsize; |
offset | 184 | fs/minix/namei.c | if (block*bh->b_size + offset > dir->i_size) { |
offset | 186 | fs/minix/namei.c | dir->i_size = block*bh->b_size + offset; |
offset | 203 | fs/minix/namei.c | if (offset < bh->b_size) |
offset | 207 | fs/minix/namei.c | offset = 0; |
offset | 381 | fs/minix/namei.c | unsigned int block, offset; |
offset | 391 | fs/minix/namei.c | offset = 2*info->s_dirsize; |
offset | 394 | fs/minix/namei.c | if (inode->i_size < offset) |
offset | 405 | fs/minix/namei.c | while (block*BLOCK_SIZE+offset < inode->i_size) { |
offset | 413 | fs/minix/namei.c | de = (struct minix_dir_entry *) (bh->b_data + offset); |
offset | 414 | fs/minix/namei.c | offset += info->s_dirsize; |
offset | 419 | fs/minix/namei.c | if (offset < bh->b_size) |
offset | 423 | fs/minix/namei.c | offset = 0; |
offset | 58 | fs/minix/truncate.c | static int trunc_indirect(struct inode * inode, int offset, unsigned short * p) |
offset | 65 | fs/minix/truncate.c | #define INDIRECT_BLOCK (DIRECT_BLOCK-offset) |
offset | 241 | fs/msdos/fat.c | int cluster,offset; |
offset | 250 | fs/msdos/fat.c | offset = sector % sb->cluster_size; |
offset | 252 | fs/msdos/fat.c | return (cluster-2)*sb->cluster_size+sb->data_start+offset; |
offset | 84 | fs/msdos/file.c | int left,offset,size,sector,cnt; |
offset | 103 | fs/msdos/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
offset | 105 | fs/msdos/file.c | filp->f_pos += (size = MIN(SECTOR_SIZE-offset,left)); |
offset | 107 | fs/msdos/file.c | memcpy_tofs(buf,data+offset,size); |
offset | 111 | fs/msdos/file.c | if ((ch = *((char *) data+offset++)) == '\r') |
offset | 132 | fs/msdos/file.c | int sector,offset,size,left,written; |
offset | 160 | fs/msdos/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
offset | 161 | fs/msdos/file.c | size = MIN(SECTOR_SIZE-offset,MAX(carry,count)); |
offset | 172 | fs/msdos/file.c | written = left = SECTOR_SIZE-offset; |
offset | 288 | fs/msdos/inode.c | int cluster,offset; |
offset | 297 | fs/msdos/inode.c | offset = (block*2) % sb->cluster_size; |
offset | 299 | fs/msdos/inode.c | return ((cluster-2)*sb->cluster_size+sb->data_start+offset) >> 1; |
offset | 270 | fs/msdos/misc.c | int sector,offset; |
offset | 274 | fs/msdos/misc.c | offset = *pos; |
offset | 275 | fs/msdos/misc.c | if ((sector = msdos_smap(dir,offset >> SECTOR_BITS)) == -1) |
offset | 286 | fs/msdos/misc.c | *de = (struct msdos_dir_entry *) (data+(offset & |
offset | 288 | fs/msdos/misc.c | return (sector << MSDOS_DPS_BITS)+((offset & (SECTOR_SIZE-1)) >> |
offset | 281 | fs/nfs/proc.c | int offset, int count, char *data, struct nfs_fattr *fattr) |
offset | 287 | fs/nfs/proc.c | PRINTK("NFS call read %d @ %d\n", count, offset); |
offset | 291 | fs/nfs/proc.c | *p++ = htonl(offset); |
offset | 316 | fs/nfs/proc.c | int offset, int count, char *data, struct nfs_fattr *fattr) |
offset | 321 | fs/nfs/proc.c | PRINTK("NFS call write %d @ %d\n", count, offset); |
offset | 325 | fs/nfs/proc.c | *p++ = htonl(offset); /* traditional, could be any value */ |
offset | 326 | fs/nfs/proc.c | *p++ = htonl(offset); |
offset | 95 | fs/pipe.c | static int pipe_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 129 | fs/proc/mem.c | static int mem_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 133 | fs/proc/mem.c | file->f_pos = offset; |
offset | 136 | fs/proc/mem.c | file->f_pos += offset; |
offset | 37 | fs/read_write.c | int sys_lseek(unsigned int fd, off_t offset, unsigned int origin) |
offset | 47 | fs/read_write.c | return file->f_op->lseek(file->f_inode,file,offset,origin); |
offset | 52 | fs/read_write.c | tmp = offset; |
offset | 55 | fs/read_write.c | tmp = file->f_pos + offset; |
offset | 60 | fs/read_write.c | tmp = file->f_inode->i_size + offset; |
offset | 224 | fs/xiafs/bitmap.c | unsigned int bit, offset; |
offset | 243 | fs/xiafs/bitmap.c | offset = bit & (XIAFS_BITS_PER_Z(sb) -1); |
offset | 244 | fs/xiafs/bitmap.c | if (clear_bit(offset, bh->b_data)) |
offset | 68 | fs/xiafs/dir.c | u_int offset, i; |
offset | 77 | fs/xiafs/dir.c | offset = filp->f_pos & (XIAFS_ZSIZE(inode->i_sb) - 1); |
offset | 80 | fs/xiafs/dir.c | filp->f_pos += XIAFS_ZSIZE(inode->i_sb)-offset; |
offset | 83 | fs/xiafs/dir.c | de = (struct xiafs_direct *) (offset + bh->b_data); |
offset | 84 | fs/xiafs/dir.c | while (offset < XIAFS_ZSIZE(inode->i_sb) && filp->f_pos < inode->i_size) { |
offset | 95 | fs/xiafs/dir.c | offset += de->d_rec_len; |
offset | 110 | fs/xiafs/dir.c | de = (struct xiafs_direct *) (offset + bh->b_data); |
offset | 113 | fs/xiafs/dir.c | if (offset > XIAFS_ZSIZE(inode->i_sb)) { |
offset | 73 | fs/xiafs/file.c | int zone_nr, zones, f_zones, offset; |
offset | 87 | fs/xiafs/file.c | offset = filp->f_pos; |
offset | 88 | fs/xiafs/file.c | left = inode->i_size - offset; |
offset | 94 | fs/xiafs/file.c | zone_nr = offset >> XIAFS_ZSIZE_BITS(inode->i_sb); |
offset | 95 | fs/xiafs/file.c | offset &= XIAFS_ZSIZE(inode->i_sb) -1 ; |
offset | 97 | fs/xiafs/file.c | zones = (left+offset+XIAFS_ZSIZE(inode->i_sb)-1) >> XIAFS_ZSIZE_BITS(inode->i_sb); |
offset | 148 | fs/xiafs/file.c | if (left < XIAFS_ZSIZE(inode->i_sb) - offset) |
offset | 151 | fs/xiafs/file.c | chars = XIAFS_ZSIZE(inode->i_sb) - offset; |
offset | 156 | fs/xiafs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 163 | fs/xiafs/file.c | offset = 0; |
offset | 157 | fs/xiafs/namei.c | int i, pos, offset; |
offset | 182 | fs/xiafs/namei.c | offset = 12; |
offset | 185 | fs/xiafs/namei.c | offset = 0; |
offset | 186 | fs/xiafs/namei.c | while (offset < XIAFS_ZSIZE(dir->i_sb)) { |
offset | 226 | fs/xiafs/namei.c | offset+=de->d_rec_len; |
offset | 228 | fs/xiafs/namei.c | de=(struct xiafs_direct *)(bh->b_data+offset); |
offset | 231 | fs/xiafs/namei.c | if (offset > XIAFS_ZSIZE(dir->i_sb)) { |
offset | 402 | fs/xiafs/namei.c | int i, zones, offset; |
offset | 432 | fs/xiafs/namei.c | offset=de->d_rec_len+12; |
offset | 435 | fs/xiafs/namei.c | offset = 0; |
offset | 438 | fs/xiafs/namei.c | while (offset < XIAFS_ZSIZE(inode->i_sb)) { |
offset | 439 | fs/xiafs/namei.c | de=(struct xiafs_direct *)(bh->b_data+offset); |
offset | 453 | fs/xiafs/namei.c | offset+=de->d_rec_len; |
offset | 68 | include/linux/nfs_fs.h | int offset, int count, char *data, |
offset | 71 | include/linux/nfs_fs.h | int offset, int count, char *data, |
offset | 101 | include/linux/xd.h | u_long offset; |
offset | 50 | kernel/FPU-emu/get_address.c | long offset; |
offset | 61 | kernel/FPU-emu/get_address.c | offset = 0; /* No base register */ |
offset | 63 | kernel/FPU-emu/get_address.c | offset = REG_(base); |
offset | 74 | kernel/FPU-emu/get_address.c | offset += (REG_(index)) << ss; |
offset | 81 | kernel/FPU-emu/get_address.c | offset += (signed char) get_fs_byte((char *) FPU_EIP); |
offset | 89 | kernel/FPU-emu/get_address.c | offset += (signed) get_fs_long((unsigned long *) FPU_EIP); |
offset | 94 | kernel/FPU-emu/get_address.c | return (void *) offset; |
offset | 119 | kernel/FPU-emu/get_address.c | int offset = 0; /* Initialized just to stop compiler warnings. */ |
offset | 137 | kernel/FPU-emu/get_address.c | offset = get_fs_long((unsigned long *) FPU_EIP); |
offset | 140 | kernel/FPU-emu/get_address.c | FPU_data_address = (void *) offset; |
offset | 152 | kernel/FPU-emu/get_address.c | offset = (signed char) get_fs_byte((char *) FPU_EIP); |
offset | 159 | kernel/FPU-emu/get_address.c | offset = (signed) get_fs_long((unsigned long *) FPU_EIP); |
offset | 168 | kernel/FPU-emu/get_address.c | FPU_data_address = offset + (char *)*cpu_reg_ptr; |
offset | 1309 | kernel/blk_drv/scsi/scsi.c | int offset; |
offset | 1316 | kernel/blk_drv/scsi/scsi.c | offset = ((int) obj) - ((int) dma_malloc_buffer); |
offset | 1318 | kernel/blk_drv/scsi/scsi.c | if (offset < 0) panic("Bad offset"); |
offset | 1319 | kernel/blk_drv/scsi/scsi.c | page = offset >> 13; |
offset | 1320 | kernel/blk_drv/scsi/scsi.c | sector = offset >> 9; |
offset | 1323 | kernel/blk_drv/scsi/scsi.c | sector = (offset >> 9) & 15; |
offset | 97 | kernel/blk_drv/scsi/seagate.c | unsigned offset; |
offset | 213 | kernel/blk_drv/scsi/seagate.c | signatures[j].offset), (void *) signatures[j].signature, |
offset | 122 | kernel/blk_drv/scsi/sr.c | int offset; |
offset | 123 | kernel/blk_drv/scsi/sr.c | offset = (SCpnt->request.sector % 4) << 9; |
offset | 125 | kernel/blk_drv/scsi/sr.c | SCpnt->buffer + offset, |
offset | 131 | kernel/blk_drv/scsi/sr.c | if((offset == 0) && this_count == 2 && |
offset | 190 | kernel/blk_drv/scsi/st.c | int offset, transfer, blks; |
offset | 212 | kernel/blk_drv/scsi/st.c | offset = scsi_tapes[dev].buffer->buffer_bytes; |
offset | 213 | kernel/blk_drv/scsi/st.c | transfer = ((offset + scsi_tapes[dev].block_size - 1) / |
offset | 218 | kernel/blk_drv/scsi/st.c | memset(scsi_tapes[dev].buffer->b_data + offset, 0, transfer - offset); |
offset | 512 | kernel/blk_drv/scsi/wd7000.c | unsigned offset; |
offset | 531 | kernel/blk_drv/scsi/wd7000.c | if(!memcmp((void *)(wd_bases[i] + signatures[j].offset), |
offset | 123 | kernel/blk_drv/xd.c | if (!memcmp((u_char *) (xd_bases[i] + xd_sigs[j].offset),xd_sigs[j].string,strlen(xd_sigs[j].string))) { |
offset | 272 | kernel/chr_drv/lp.c | off_t offset, int origin) |
offset | 427 | kernel/chr_drv/lp.c | int offset = 0; |
offset | 436 | kernel/chr_drv/lp.c | for (offset = 0; offset < LP_NO; offset++) { |
offset | 438 | kernel/chr_drv/lp.c | outb_p( LP_DUMMY, LP_B(offset)); |
offset | 441 | kernel/chr_drv/lp.c | testvalue = inb_p(LP_B(offset)); |
offset | 443 | kernel/chr_drv/lp.c | LP_F(offset) |= LP_EXIST; |
offset | 444 | kernel/chr_drv/lp.c | lp_reset(offset); |
offset | 445 | kernel/chr_drv/lp.c | printk("lp_init: lp%d exists (%d), ", offset, testvalue); |
offset | 446 | kernel/chr_drv/lp.c | if (LP_IRQ(offset)) |
offset | 447 | kernel/chr_drv/lp.c | printk("using IRQ%d\n", LP_IRQ(offset)); |
offset | 211 | kernel/chr_drv/mem.c | static int memory_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 215 | kernel/chr_drv/mem.c | file->f_pos = offset; |
offset | 218 | kernel/chr_drv/mem.c | file->f_pos += offset; |
offset | 147 | kernel/chr_drv/serial.c | static inline unsigned int serial_in(struct async_struct *info, int offset) |
offset | 149 | kernel/chr_drv/serial.c | return inb(info->port + offset); |
offset | 152 | kernel/chr_drv/serial.c | static inline unsigned int serial_inp(struct async_struct *info, int offset) |
offset | 154 | kernel/chr_drv/serial.c | return inb_p(info->port + offset); |
offset | 157 | kernel/chr_drv/serial.c | static inline void serial_out(struct async_struct *info, int offset, int value) |
offset | 159 | kernel/chr_drv/serial.c | outb(value, info->port+offset); |
offset | 162 | kernel/chr_drv/serial.c | static inline void serial_outp(struct async_struct *info, int offset, |
offset | 165 | kernel/chr_drv/serial.c | outb_p(value, info->port+offset); |
offset | 190 | kernel/chr_drv/tty_io.c | static int tty_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 51 | kernel/ptrace.c | static inline int get_stack_long(struct task_struct *task, int offset) |
offset | 56 | kernel/ptrace.c | stack += offset; |
offset | 66 | kernel/ptrace.c | static inline int put_stack_long(struct task_struct *task, int offset, |
offset | 72 | kernel/ptrace.c | stack += offset; |
offset | 30 | mm/swap.c | #define SWP_ENTRY(type,offset) (((type) << 1) | ((offset) << PAGE_SHIFT)) |
offset | 58 | mm/swap.c | unsigned long type, offset; |
offset | 67 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 68 | mm/swap.c | if (offset >= SWAP_BITS) { |
offset | 76 | mm/swap.c | while (set_bit(offset,p->swap_lockmap)) |
offset | 79 | mm/swap.c | ll_rw_page(rw,p->swap_device,offset,buf); |
offset | 82 | mm/swap.c | unsigned int block = offset << 2; |
offset | 93 | mm/swap.c | if (clear_bit(offset,p->swap_lockmap)) |
offset | 101 | mm/swap.c | unsigned int offset, type; |
offset | 107 | mm/swap.c | for (offset = p->lowest_bit; offset <= p->highest_bit ; offset++) { |
offset | 108 | mm/swap.c | if (p->swap_map[offset]) |
offset | 110 | mm/swap.c | p->swap_map[offset] = 1; |
offset | 111 | mm/swap.c | if (offset == p->highest_bit) |
offset | 113 | mm/swap.c | p->lowest_bit = offset; |
offset | 114 | mm/swap.c | return SWP_ENTRY(type,offset); |
offset | 123 | mm/swap.c | unsigned long offset, type; |
offset | 127 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 134 | mm/swap.c | if (offset >= SWAP_BITS) { |
offset | 138 | mm/swap.c | if (!p->swap_map[offset]) { |
offset | 142 | mm/swap.c | p->swap_map[offset]++; |
offset | 149 | mm/swap.c | unsigned long offset, type; |
offset | 159 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 160 | mm/swap.c | if (offset >= SWAP_BITS) { |
offset | 168 | mm/swap.c | while (set_bit(offset,p->swap_lockmap)) |
offset | 170 | mm/swap.c | if (offset < p->lowest_bit) |
offset | 171 | mm/swap.c | p->lowest_bit = offset; |
offset | 172 | mm/swap.c | if (offset > p->highest_bit) |
offset | 173 | mm/swap.c | p->highest_bit = offset; |
offset | 174 | mm/swap.c | if (!p->swap_map[offset]) |
offset | 177 | mm/swap.c | p->swap_map[offset]--; |
offset | 178 | mm/swap.c | if (clear_bit(offset,p->swap_lockmap)) |
offset | 48 | net/socket.c | static int sock_lseek(struct inode *inode, struct file *file, off_t offset, |
offset | 238 | net/socket.c | sock_lseek(struct inode *inode, struct file *file, off_t offset, int whence) |
offset | 124 | net/tcp/icmp.c | int offset; |
offset | 151 | net/tcp/icmp.c | offset = ip_build_header( skb, iph->daddr, iph->saddr, |
offset | 154 | net/tcp/icmp.c | if (offset < 0) |
offset | 162 | net/tcp/icmp.c | skb->len = offset + sizeof (struct icmp_header) + 8; |
offset | 164 | net/tcp/icmp.c | icmph = (struct icmp_header *)((unsigned char *)(skb+1) + offset); |
offset | 182 | net/tcp/icmp.c | int size, offset; |
offset | 294 | net/tcp/icmp.c | offset = ip_build_header( skb, daddr, saddr, &dev, IPPROTO_ICMP, opt, len ); |
offset | 295 | net/tcp/icmp.c | if (offset < 0) |
offset | 306 | net/tcp/icmp.c | skb->len = offset + len; |
offset | 309 | net/tcp/icmp.c | icmphr = (struct icmp_header *)( (char *)( skb + 1 ) + offset ); |
offset | 1215 | net/tcp/tcp.c | unsigned long offset; |
offset | 1351 | net/tcp/tcp.c | offset = sk->copied_seq+1 - skb->h.th->seq; |
offset | 1353 | net/tcp/tcp.c | if (skb->h.th->syn) offset --; |
offset | 1354 | net/tcp/tcp.c | if (offset < skb->len ) |
offset | 1363 | net/tcp/tcp.c | offset += net16(skb->h.th->urg_ptr); |
offset | 1364 | net/tcp/tcp.c | if (offset >= skb->len) |
offset | 1378 | net/tcp/tcp.c | used = min(skb->len - offset, len); |
offset | 1383 | net/tcp/tcp.c | offset, |
offset | 1396 | net/tcp/tcp.c | (used + offset >= skb->len) ) |