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 | 305 | fs/exec.c | int len, offset = 0; |
offset | 331 | fs/exec.c | if (--offset < 0) { |
offset | 332 | fs/exec.c | offset = p % PAGE_SIZE; |
offset | 343 | fs/exec.c | *(pag + offset) = get_fs_byte(tmp); |
offset | 380 | fs/exec.c | static int read_exec(struct inode *inode, unsigned long offset, |
offset | 401 | fs/exec.c | if (file.f_op->lseek(inode,&file,offset,0) != offset) |
offset | 404 | fs/exec.c | file.f_pos = offset; |
offset | 66 | fs/ext/dir.c | unsigned int offset,i; |
offset | 76 | fs/ext/dir.c | offset = filp->f_pos & 1023; |
offset | 79 | fs/ext/dir.c | filp->f_pos += 1024-offset; |
offset | 82 | fs/ext/dir.c | de = (struct ext_dir_entry *) (offset + bh->b_data); |
offset | 83 | fs/ext/dir.c | while (offset < 1024 && filp->f_pos < inode->i_size) { |
offset | 89 | fs/ext/dir.c | inode->i_dev, inode->i_ino, offset, de->rec_len, de->name_len); |
offset | 90 | fs/ext/dir.c | filp->f_pos += 1024-offset; |
offset | 95 | fs/ext/dir.c | offset += de->rec_len; |
offset | 74 | fs/ext/file.c | int block, blocks, offset; |
offset | 89 | fs/ext/file.c | offset = filp->f_pos; |
offset | 91 | fs/ext/file.c | if (offset > size) |
offset | 94 | fs/ext/file.c | left = size - offset; |
offset | 100 | fs/ext/file.c | block = offset >> BLOCK_SIZE_BITS; |
offset | 101 | fs/ext/file.c | offset &= BLOCK_SIZE-1; |
offset | 103 | fs/ext/file.c | blocks = (left + offset + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; |
offset | 155 | fs/ext/file.c | if (left < BLOCK_SIZE - offset) |
offset | 158 | fs/ext/file.c | chars = BLOCK_SIZE - offset; |
offset | 163 | fs/ext/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 170 | 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 | 474 | fs/ext/namei.c | unsigned long offset; |
offset | 489 | fs/ext/namei.c | offset = de->rec_len + de1->rec_len; |
offset | 491 | fs/ext/namei.c | while (offset < inode->i_size ) { |
offset | 494 | fs/ext/namei.c | bh = ext_bread(inode, offset >> BLOCK_SIZE_BITS,1); |
offset | 496 | fs/ext/namei.c | offset += BLOCK_SIZE; |
offset | 505 | fs/ext/namei.c | inode->i_dev, inode->i_ino, offset, de->rec_len, de->name_len); |
offset | 513 | 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 | 65 | fs/isofs/dir.c | unsigned int block,offset,i, j; |
offset | 78 | fs/isofs/dir.c | offset = filp->f_pos & (BLOCK_SIZE - 1); |
offset | 85 | fs/isofs/dir.c | printk("Block, offset: %x %x %x\n",block, offset, filp->f_pos); |
offset | 87 | fs/isofs/dir.c | de = (struct iso_directory_record *) (offset + bh->b_data); |
offset | 88 | fs/isofs/dir.c | inode_number = (block << BLOCK_SIZE_BITS)+(offset & (BLOCK_SIZE - 1)); |
offset | 95 | fs/isofs/dir.c | offset = 0; |
offset | 107 | fs/isofs/dir.c | old_offset = offset; |
offset | 108 | fs/isofs/dir.c | offset += *((unsigned char*) de); |
offset | 110 | fs/isofs/dir.c | if (offset >= BLOCK_SIZE) { |
offset | 115 | fs/isofs/dir.c | offset = filp->f_pos & (BLOCK_SIZE - 1); |
offset | 115 | fs/isofs/file.c | int block, blocks, offset; |
offset | 142 | fs/isofs/file.c | offset = filp->f_pos & (ISOFS_BUFFER_SIZE-1); |
offset | 143 | fs/isofs/file.c | blocks = (left + offset + ISOFS_BUFFER_SIZE - 1) / ISOFS_BUFFER_SIZE; |
offset | 226 | fs/isofs/file.c | if (left < ISOFS_BUFFER_SIZE - offset) |
offset | 229 | fs/isofs/file.c | chars = ISOFS_BUFFER_SIZE - offset; |
offset | 236 | fs/isofs/file.c | unixify_text_buffer(offset+(*bhe)->b_data, |
offset | 238 | fs/isofs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 245 | fs/isofs/file.c | offset = 0; |
offset | 448 | fs/isofs/inode.c | unsigned int block,offset; |
offset | 456 | fs/isofs/inode.c | offset = 0; |
offset | 461 | fs/isofs/inode.c | de = (struct iso_directory_record *) (offset + bh->b_data); |
offset | 469 | fs/isofs/inode.c | offset += *((unsigned char*) de); |
offset | 471 | fs/isofs/inode.c | if (offset >= ISOFS_BUFFER_SIZE) |
offset | 494 | fs/isofs/inode.c | offset = 0; |
offset | 500 | fs/isofs/inode.c | de = (struct iso_directory_record *) (offset + bh->b_data); |
offset | 501 | fs/isofs/inode.c | inode_number = (block << ISOFS_BUFFER_BITS)+(offset & (ISOFS_BUFFER_SIZE - 1)); |
offset | 509 | fs/isofs/inode.c | offset = 0; |
offset | 521 | fs/isofs/inode.c | old_offset = offset; |
offset | 522 | fs/isofs/inode.c | offset += *((unsigned char*) de); |
offset | 523 | fs/isofs/inode.c | if (offset >= ISOFS_BUFFER_SIZE) |
offset | 529 | 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 | 59 | fs/minix/dir.c | unsigned int offset,i; |
offset | 69 | fs/minix/dir.c | offset = filp->f_pos & 1023; |
offset | 72 | fs/minix/dir.c | filp->f_pos += 1024-offset; |
offset | 75 | fs/minix/dir.c | de = (struct minix_dir_entry *) (offset + bh->b_data); |
offset | 76 | fs/minix/dir.c | while (offset < 1024 && filp->f_pos < inode->i_size) { |
offset | 77 | fs/minix/dir.c | offset += sizeof (struct minix_dir_entry); |
offset | 68 | fs/minix/file.c | int block, blocks, offset; |
offset | 83 | fs/minix/file.c | offset = filp->f_pos; |
offset | 85 | fs/minix/file.c | if (offset > size) |
offset | 88 | fs/minix/file.c | left = size - offset; |
offset | 94 | fs/minix/file.c | block = offset >> BLOCK_SIZE_BITS; |
offset | 95 | fs/minix/file.c | offset &= BLOCK_SIZE-1; |
offset | 97 | fs/minix/file.c | blocks = (left + offset + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; |
offset | 149 | fs/minix/file.c | if (left < BLOCK_SIZE - offset) |
offset | 152 | fs/minix/file.c | chars = BLOCK_SIZE - offset; |
offset | 157 | fs/minix/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 164 | fs/minix/file.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 | 240 | fs/msdos/fat.c | int cluster,offset; |
offset | 249 | fs/msdos/fat.c | offset = sector % sb->cluster_size; |
offset | 251 | fs/msdos/fat.c | return (cluster-2)*sb->cluster_size+sb->data_start+offset; |
offset | 83 | fs/msdos/file.c | int left,offset,size,sector,cnt; |
offset | 102 | fs/msdos/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
offset | 104 | fs/msdos/file.c | filp->f_pos += (size = MIN(SECTOR_SIZE-offset,left)); |
offset | 106 | fs/msdos/file.c | memcpy_tofs(buf,data+offset,size); |
offset | 110 | fs/msdos/file.c | if ((ch = *((char *) data+offset++)) == '\r') |
offset | 131 | fs/msdos/file.c | int sector,offset,size,left,written; |
offset | 159 | fs/msdos/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
offset | 160 | fs/msdos/file.c | size = MIN(SECTOR_SIZE-offset,MAX(carry,count)); |
offset | 171 | fs/msdos/file.c | written = left = SECTOR_SIZE-offset; |
offset | 219 | fs/msdos/inode.c | int cluster,offset; |
offset | 228 | fs/msdos/inode.c | offset = (block*2) % sb->cluster_size; |
offset | 230 | fs/msdos/inode.c | return ((cluster-2)*sb->cluster_size+sb->data_start+offset) >> 1; |
offset | 241 | fs/msdos/misc.c | int sector,offset; |
offset | 245 | fs/msdos/misc.c | offset = *pos; |
offset | 246 | fs/msdos/misc.c | if ((sector = msdos_smap(dir,offset >> SECTOR_BITS)) == -1) |
offset | 257 | fs/msdos/misc.c | *de = (struct msdos_dir_entry *) (data+(offset & |
offset | 259 | fs/msdos/misc.c | return (sector << MSDOS_DPS_BITS)+((offset & (SECTOR_SIZE-1)) >> |
offset | 265 | fs/nfs/proc.c | int offset, int count, char *data, struct nfs_fattr *fattr) |
offset | 271 | fs/nfs/proc.c | PRINTK("NFS call read %d @ %d\n", count, offset); |
offset | 275 | fs/nfs/proc.c | *p++ = htonl(offset); |
offset | 294 | fs/nfs/proc.c | int offset, int count, char *data, struct nfs_fattr *fattr) |
offset | 299 | fs/nfs/proc.c | PRINTK("NFS call write %d @ %d\n", count, offset); |
offset | 303 | fs/nfs/proc.c | *p++ = htonl(offset); /* traditional, could be any value */ |
offset | 304 | 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 | 35 | fs/read_write.c | int sys_lseek(unsigned int fd, off_t offset, unsigned int origin) |
offset | 45 | fs/read_write.c | return file->f_op->lseek(file->f_inode,file,offset,origin); |
offset | 50 | fs/read_write.c | tmp = offset; |
offset | 53 | fs/read_write.c | tmp = file->f_pos + offset; |
offset | 58 | fs/read_write.c | tmp = file->f_inode->i_size + offset; |
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 | 49 | kernel/FPU-emu/get_address.c | long offset; |
offset | 60 | kernel/FPU-emu/get_address.c | offset = 0; /* No base register */ |
offset | 62 | kernel/FPU-emu/get_address.c | offset = REG_(base); |
offset | 73 | kernel/FPU-emu/get_address.c | offset += (REG_(index)) << ss; |
offset | 80 | kernel/FPU-emu/get_address.c | offset += (signed char) get_fs_byte((char *) FPU_EIP); |
offset | 88 | kernel/FPU-emu/get_address.c | offset += (signed) get_fs_long((unsigned long *) FPU_EIP); |
offset | 93 | kernel/FPU-emu/get_address.c | return (void *) offset; |
offset | 118 | kernel/FPU-emu/get_address.c | int offset = 0; |
offset | 136 | kernel/FPU-emu/get_address.c | offset = get_fs_long((unsigned long *) FPU_EIP); |
offset | 139 | kernel/FPU-emu/get_address.c | FPU_data_address = (void *) offset; |
offset | 151 | kernel/FPU-emu/get_address.c | offset = (signed char) get_fs_byte((char *) FPU_EIP); |
offset | 158 | kernel/FPU-emu/get_address.c | offset = (signed) get_fs_long((unsigned long *) FPU_EIP); |
offset | 167 | kernel/FPU-emu/get_address.c | FPU_data_address = offset + (char *)*cpu_reg_ptr; |
offset | 1284 | kernel/blk_drv/scsi/scsi.c | int offset; |
offset | 1291 | kernel/blk_drv/scsi/scsi.c | offset = ((int) obj) - ((int) dma_malloc_buffer); |
offset | 1293 | kernel/blk_drv/scsi/scsi.c | if (offset < 0) panic("Bad offset"); |
offset | 1294 | kernel/blk_drv/scsi/scsi.c | page = offset >> 13; |
offset | 1295 | kernel/blk_drv/scsi/scsi.c | sector = offset >> 9; |
offset | 1298 | kernel/blk_drv/scsi/scsi.c | sector = (offset >> 9) & 15; |
offset | 77 | kernel/blk_drv/scsi/seagate.c | unsigned offset; |
offset | 181 | 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 | 164 | kernel/blk_drv/scsi/ultrastor.c | size_t offset; |
offset | 256 | kernel/blk_drv/scsi/ultrastor.c | if (memcmp((char *)config.bios_segment + signatures[i].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 | 158 | kernel/chr_drv/lp.c | off_t offset, int origin) |
offset | 232 | kernel/chr_drv/lp.c | int offset = 0; |
offset | 238 | kernel/chr_drv/lp.c | for (offset = 0; offset < LP_NO; offset++) { |
offset | 240 | kernel/chr_drv/lp.c | outb_p( LP_DUMMY, LP_B(offset)); |
offset | 243 | kernel/chr_drv/lp.c | testvalue = inb_p(LP_B(offset)); |
offset | 245 | kernel/chr_drv/lp.c | LP_F(offset) |= LP_EXIST; |
offset | 246 | kernel/chr_drv/lp.c | lp_reset(offset); |
offset | 247 | kernel/chr_drv/lp.c | printk("lp_init: lp%d exists (%d)\n", offset, testvalue); |
offset | 189 | kernel/chr_drv/mem.c | static int memory_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 193 | kernel/chr_drv/mem.c | file->f_pos = offset; |
offset | 196 | kernel/chr_drv/mem.c | file->f_pos += offset; |
offset | 162 | kernel/chr_drv/serial.c | static inline unsigned int serial_in(struct async_struct *info, int offset) |
offset | 164 | kernel/chr_drv/serial.c | return inb(info->port + offset); |
offset | 167 | kernel/chr_drv/serial.c | static inline unsigned int serial_inp(struct async_struct *info, int offset) |
offset | 169 | kernel/chr_drv/serial.c | return inb_p(info->port + offset); |
offset | 172 | kernel/chr_drv/serial.c | static inline void serial_out(struct async_struct *info, int offset, int value) |
offset | 174 | kernel/chr_drv/serial.c | outb(value, info->port+offset); |
offset | 177 | kernel/chr_drv/serial.c | static inline void serial_outp(struct async_struct *info, int offset, |
offset | 180 | kernel/chr_drv/serial.c | outb_p(value, info->port+offset); |
offset | 131 | 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 | 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 | 118 | net/tcp/icmp.c | int offset; |
offset | 145 | net/tcp/icmp.c | offset = ip_build_header( skb, iph->daddr, iph->saddr, |
offset | 148 | net/tcp/icmp.c | if (offset < 0) |
offset | 156 | net/tcp/icmp.c | skb->len = offset + sizeof (struct icmp_header) + 8; |
offset | 158 | net/tcp/icmp.c | icmph = (struct icmp_header *)((unsigned char *)(skb+1) + offset); |
offset | 176 | net/tcp/icmp.c | int size, offset; |
offset | 287 | net/tcp/icmp.c | offset = ip_build_header( skb, daddr, saddr, &dev, IPPROTO_ICMP, opt, len ); |
offset | 288 | net/tcp/icmp.c | if (offset < 0) |
offset | 299 | net/tcp/icmp.c | skb->len = offset + len; |
offset | 302 | net/tcp/icmp.c | icmphr = (struct icmp_header *)( (char *)( skb + 1 ) + offset ); |
offset | 1110 | net/tcp/tcp.c | int offset; |
offset | 1113 | net/tcp/tcp.c | offset = 0; |
offset | 1118 | net/tcp/tcp.c | + offset, amt); |
offset | 1140 | net/tcp/tcp.c | unsigned long offset; |
offset | 1260 | net/tcp/tcp.c | offset = sk->copied_seq+1 - skb->h.th->seq; |
offset | 1262 | net/tcp/tcp.c | if (skb->h.th->syn) offset --; |
offset | 1263 | net/tcp/tcp.c | if (offset < skb->len ) |
offset | 1273 | net/tcp/tcp.c | offset += skb->h.th->urg_ptr; |
offset | 1274 | net/tcp/tcp.c | if (offset > skb->len) |
offset | 1286 | net/tcp/tcp.c | used = min(skb->len - offset, len); |
offset | 1291 | net/tcp/tcp.c | offset, |
offset | 1304 | net/tcp/tcp.c | (used + offset >= skb->len) ) |