tag | line | file | source code |
size | 122 | arch/alpha/boot/tools/build.c | unsigned long size, offset; |
size | 128 | arch/alpha/boot/tools/build.c | size = shdr[i].s_size; |
size | 129 | arch/alpha/boot/tools/build.c | start += size; |
size | 133 | arch/alpha/boot/tools/build.c | while (size > 0) { |
size | 134 | arch/alpha/boot/tools/build.c | unsigned long num = size; |
size | 142 | arch/alpha/boot/tools/build.c | size -= num; |
size | 83 | arch/i386/boot/compressed/gzip.h | # define DECLARE(type, array, size) type * near array |
size | 84 | arch/i386/boot/compressed/gzip.h | # define ALLOC(type, array, size) { \ |
size | 85 | arch/i386/boot/compressed/gzip.h | array = (type*)fcalloc((unsigned)(((size)+1L)/2), 2*sizeof(type)); \ |
size | 91 | arch/i386/boot/compressed/gzip.h | # define DECLARE(type, array, size) type array[size] |
size | 92 | arch/i386/boot/compressed/gzip.h | # define ALLOC(type, array, size) |
size | 238 | arch/i386/boot/compressed/gzip.h | extern int file_read OF((char *buf, unsigned size)); |
size | 265 | arch/i386/boot/compressed/gzip.h | extern int (*read_buf) OF((char *buf, unsigned size)); |
size | 281 | arch/i386/boot/compressed/gzip.h | extern voidp xmalloc OF((unsigned int size)); |
size | 83 | arch/i386/boot/compressed/misc.c | void *malloc(int size) |
size | 87 | arch/i386/boot/compressed/misc.c | if (size <0) error("Malloc error\n"); |
size | 94 | arch/i386/boot/compressed/misc.c | free_mem_ptr += size; |
size | 81 | arch/i386/ibcs/binfmt_coff.c | int clear_memory (unsigned long addr, unsigned long size) |
size | 85 | arch/i386/ibcs/binfmt_coff.c | size = (PAGE_SIZE - (addr & ~PAGE_MASK)) & ~PAGE_MASK; |
size | 86 | arch/i386/ibcs/binfmt_coff.c | if (size == 0) |
size | 91 | arch/i386/ibcs/binfmt_coff.c | printk ("un-initialized storage in last page %d\n", size); |
size | 95 | arch/i386/ibcs/binfmt_coff.c | (void *) addr, size); |
size | 101 | arch/i386/ibcs/binfmt_coff.c | while (size-- != 0) |
size | 19 | arch/i386/kernel/ldt.c | unsigned long size; |
size | 23 | arch/i386/kernel/ldt.c | size = LDT_ENTRIES*LDT_ENTRY_SIZE; |
size | 26 | arch/i386/kernel/ldt.c | size = sizeof(default_ldt); |
size | 28 | arch/i386/kernel/ldt.c | if (size > bytecount) |
size | 29 | arch/i386/kernel/ldt.c | size = bytecount; |
size | 30 | arch/i386/kernel/ldt.c | error = verify_area(VERIFY_WRITE, ptr, size); |
size | 33 | arch/i386/kernel/ldt.c | memcpy_tofs(ptr, address, size); |
size | 34 | arch/i386/kernel/ldt.c | return size; |
size | 17 | arch/mips/kernel/tynedma.c | unsigned long deskstation_tyne_dma_alloc(size_t size) |
size | 20 | arch/mips/kernel/tynedma.c | allocated += size; |
size | 229 | drivers/block/cdu31a.c | static void size_to_buf(unsigned int size, |
size | 964 | drivers/block/cdu31a.c | size_to_buf(unsigned int size, |
size | 967 | drivers/block/cdu31a.c | buf[0] = size / 65536; |
size | 968 | drivers/block/cdu31a.c | size = size % 65536; |
size | 969 | drivers/block/cdu31a.c | buf[1] = size / 256; |
size | 970 | drivers/block/cdu31a.c | buf[2] = size % 256; |
size | 1565 | drivers/block/cdu31a.c | int size) |
size | 1567 | drivers/block/cdu31a.c | src += (size - 1); |
size | 1568 | drivers/block/cdu31a.c | dst += (size - 1); |
size | 1569 | drivers/block/cdu31a.c | while (size > 0) |
size | 1572 | drivers/block/cdu31a.c | size--; |
size | 1827 | drivers/block/floppy.c | unsigned char track,head,sect,size; |
size | 1866 | drivers/block/floppy.c | here[count].size = F_SIZECODE; |
size | 2036 | drivers/block/floppy.c | floppy->size >> 1; |
size | 2046 | drivers/block/floppy.c | floppy->size >> 1; |
size | 2066 | drivers/block/floppy.c | int size; |
size | 2070 | drivers/block/floppy.c | size = CURRENT->current_nr_sectors << 9; |
size | 2075 | drivers/block/floppy.c | while ( bh && bh->b_data == base + size ){ |
size | 2076 | drivers/block/floppy.c | size += bh->b_size; |
size | 2080 | drivers/block/floppy.c | return size >> 9; |
size | 2106 | drivers/block/floppy.c | int size; |
size | 2140 | drivers/block/floppy.c | size = CURRENT->current_nr_sectors << 9; |
size | 2144 | drivers/block/floppy.c | if ( size > remaining ) |
size | 2145 | drivers/block/floppy.c | size = remaining; |
size | 2147 | drivers/block/floppy.c | if (dma_buffer + size > |
size | 2166 | drivers/block/floppy.c | memcpy( buffer, dma_buffer, size); |
size | 2168 | drivers/block/floppy.c | memcpy( dma_buffer, buffer, size); |
size | 2169 | drivers/block/floppy.c | remaining -= size; |
size | 2173 | drivers/block/floppy.c | dma_buffer += size; |
size | 2181 | drivers/block/floppy.c | size = bh->b_size; |
size | 2608 | drivers/block/floppy.c | static int fd_copyout(void *param, volatile void *address, int size) |
size | 2612 | drivers/block/floppy.c | i = verify_area(VERIFY_WRITE,param,size); |
size | 2615 | drivers/block/floppy.c | memcpy_tofs(param,(void *) address, size); |
size | 2853 | drivers/block/floppy.c | floppy_type[type].size>>1; |
size | 2874 | drivers/block/floppy.c | floppy_sizes[drive] = user_params[drive].size >> 1; |
size | 3147 | drivers/block/floppy.c | int size = floppy_blocksizes[MINOR(dev)]; |
size | 3148 | drivers/block/floppy.c | if (!size) |
size | 3149 | drivers/block/floppy.c | size = 1024; |
size | 3150 | drivers/block/floppy.c | if (!(bh = getblk(dev,0,size))){ |
size | 3373 | drivers/block/floppy.c | floppy_sizes[i] = floppy_type[TYPE(i)].size >> 1; |
size | 31 | drivers/block/genhd.c | static void add_partition (struct gendisk *hd, int minor, int start, int size) |
size | 34 | drivers/block/genhd.c | hd->part[minor].nr_sects = size; |
size | 802 | drivers/block/sonycd535.c | size_to_buf(unsigned int size, Byte *buf) |
size | 804 | drivers/block/sonycd535.c | buf[0] = size / 65536; |
size | 805 | drivers/block/sonycd535.c | size = size % 65536; |
size | 806 | drivers/block/sonycd535.c | buf[1] = size / 256; |
size | 807 | drivers/block/sonycd535.c | buf[2] = size % 256; |
size | 750 | drivers/char/n_tty.c | int size; |
size | 904 | drivers/char/n_tty.c | size = b - buf; |
size | 905 | drivers/char/n_tty.c | if (size && nr) |
size | 907 | drivers/char/n_tty.c | if (!size && clear_bit(TTY_PUSH, &tty->flags)) |
size | 909 | drivers/char/n_tty.c | if (!size && !retval) |
size | 911 | drivers/char/n_tty.c | return (size ? size : retval); |
size | 779 | drivers/char/tpqic02.c | static int send_qic02_data(char sb[], unsigned size, int ignore_ex) |
size | 783 | drivers/char/tpqic02.c | for (i=0; i<size; i++) { |
size | 845 | drivers/char/tpqic02.c | static int rdstatus(char *stp, unsigned size, char qcmd) |
size | 879 | drivers/char/tpqic02.c | for (q=stp; q<stp+size; q++) |
size | 2807 | drivers/char/tpqic02.c | static inline unsigned long const align_buffer(unsigned long a, unsigned size) |
size | 2809 | drivers/char/tpqic02.c | if (a & (size-1)) /* if not aligned */ |
size | 2810 | drivers/char/tpqic02.c | return (a | (size-1)) + 1; |
size | 33 | drivers/char/vc_screen.c | int size = video_num_lines * video_num_columns; |
size | 35 | drivers/char/vc_screen.c | size = 2*size + HEADER_SIZE; |
size | 36 | drivers/char/vc_screen.c | return size; |
size | 42 | drivers/char/vc_screen.c | int size = vcs_size(inode); |
size | 52 | drivers/char/vc_screen.c | file->f_pos = size + offset; |
size | 57 | drivers/char/vc_screen.c | if (file->f_pos < 0 || file->f_pos > size) |
size | 67 | drivers/char/vc_screen.c | int viewed, attr, size, read; |
size | 83 | drivers/char/vc_screen.c | size = vcs_size(inode); |
size | 84 | drivers/char/vc_screen.c | if (count < 0 || p > size) |
size | 86 | drivers/char/vc_screen.c | if (count > size - p) |
size | 87 | drivers/char/vc_screen.c | count = size - p; |
size | 125 | drivers/char/vc_screen.c | int viewed, attr, size, written; |
size | 141 | drivers/char/vc_screen.c | size = vcs_size(inode); |
size | 142 | drivers/char/vc_screen.c | if (count < 0 || p > size) |
size | 144 | drivers/char/vc_screen.c | if (count > size - p) |
size | 145 | drivers/char/vc_screen.c | count = size - p; |
size | 170 | drivers/net/3c505.c | #define alloc_skb(size, priority) (struct sk_buff *) kmalloc(size,priority) |
size | 81 | drivers/net/3c505dta.h | word size, |
size | 391 | drivers/net/3c507.c | int size; |
size | 394 | drivers/net/3c507.c | size = 64*1024; |
size | 398 | drivers/net/3c507.c | size = ((mem_config & 3) + 1) << 14; |
size | 402 | drivers/net/3c507.c | dev->mem_end = base + size; |
size | 46 | drivers/net/apricot.c | #define check_region(addr, size) 0 |
size | 47 | drivers/net/apricot.c | #define request_region(addr, size,name) do ; while(0) |
size | 51 | drivers/net/apricot.c | #define alloc_skb(size, priority) (struct sk_buff *) kmalloc(size,priority) |
size | 52 | drivers/net/apricot.c | #define kfree_skbmem(buff, size) kfree_s(buff,size) |
size | 101 | drivers/net/apricot.c | unsigned short size; |
size | 110 | drivers/net/apricot.c | unsigned short size; |
size | 120 | drivers/net/apricot.c | unsigned short size; |
size | 218 | drivers/net/apricot.c | rfd->size = 1532; |
size | 649 | drivers/net/apricot.c | tx_cmd->size = 0; |
size | 651 | drivers/net/apricot.c | tx_cmd->tbd->size = EOF | length; |
size | 171 | drivers/net/arcnet.c | #define check_region(ioaddr, size) 0 |
size | 172 | drivers/net/arcnet.c | #define request_region(ioaddr, size) do ; while (0) |
size | 590 | drivers/net/de600.c | int size; |
size | 595 | drivers/net/de600.c | size = de600_read_byte(RX_LEN, dev); /* low byte */ |
size | 596 | drivers/net/de600.c | size += (de600_read_byte(RX_LEN, dev) << 8); /* high byte */ |
size | 597 | drivers/net/de600.c | size -= 4; /* Ignore trailing 4 CRC-bytes */ |
size | 605 | drivers/net/de600.c | if ((size < 32) || (size > 1535)) { |
size | 606 | drivers/net/de600.c | printk("%s: Bogus packet size %d.\n", dev->name, size); |
size | 607 | drivers/net/de600.c | if (size > 10000) |
size | 612 | drivers/net/de600.c | skb = alloc_skb(size, GFP_ATOMIC); |
size | 616 | drivers/net/de600.c | dev->name, size); |
size | 627 | drivers/net/de600.c | for (i = size; i > 0; --i, ++buffer) |
size | 632 | drivers/net/de600.c | if (dev_rint((unsigned char *)skb, size, IN_SKBUFF, dev)) |
size | 627 | drivers/net/de620.c | int size; |
size | 676 | drivers/net/de620.c | size = header_buf.Rx_ByteCount - 4; |
size | 677 | drivers/net/de620.c | if ((size < RUNT) || (GIANT < size)) { |
size | 678 | drivers/net/de620.c | printk("%s: Illegal packet size: %d!\n", dev->name, size); |
size | 681 | drivers/net/de620.c | skb = alloc_skb(size, GFP_ATOMIC); |
size | 684 | drivers/net/de620.c | dev->name, size); |
size | 688 | drivers/net/de620.c | skb->len = size; skb->dev = dev; skb->free = 1; |
size | 692 | drivers/net/de620.c | de620_read_block(buffer, size); |
size | 693 | drivers/net/de620.c | PRINTK(("Read %d bytes\n", size)); |
size | 159 | drivers/net/ni52.c | #define check_region(ioaddr, size) 0 |
size | 160 | drivers/net/ni52.c | #define request_region(ioaddr, size,name) do ; while (0) |
size | 173 | drivers/net/ni52.c | static int check586(struct device *dev,char *where,unsigned size); |
size | 248 | drivers/net/ni52.c | static int check586(struct device *dev,char *where,unsigned size) |
size | 254 | drivers/net/ni52.c | p->base = (unsigned long) where + size - 0x01000000; |
size | 255 | drivers/net/ni52.c | p->memtop = where + size; |
size | 351 | drivers/net/ni52.c | int i,size; |
size | 373 | drivers/net/ni52.c | size = 0x4000; /* check for 16K mem */ |
size | 374 | drivers/net/ni52.c | if(!check586(dev,(char *) dev->mem_start,size)) { |
size | 375 | drivers/net/ni52.c | size = 0x2000; /* check for 8K mem */ |
size | 376 | drivers/net/ni52.c | if(!check586(dev,(char *) dev->mem_start,size)) { |
size | 391 | drivers/net/ni52.c | size = 0x2000; /* check for 8K mem */ |
size | 392 | drivers/net/ni52.c | if(check586(dev,(char *)dev->mem_start,size)) /* 8K-check */ |
size | 394 | drivers/net/ni52.c | size = 0x4000; /* check for 16K mem */ |
size | 395 | drivers/net/ni52.c | if(check586(dev,(char *)dev->mem_start,size)) /* 16K-check */ |
size | 399 | drivers/net/ni52.c | dev->mem_end = dev->mem_start + size; /* set mem_end showed by 'ifconfig' */ |
size | 401 | drivers/net/ni52.c | ((struct priv *) (dev->priv))->base = dev->mem_start + size - 0x01000000; |
size | 405 | drivers/net/ni52.c | if(size == 0x2000) |
size | 410 | drivers/net/ni52.c | printk("Memaddr: 0x%lx, Memsize: %d, ",dev->mem_start,size); |
size | 710 | drivers/net/ni52.c | rbd[i].size = RECV_BUFF_SIZE; |
size | 994 | drivers/net/ni52.c | p->xmit_buffs[0]->size = TBD_LAST | len; |
size | 1015 | drivers/net/ni52.c | p->xmit_buffs[0]->size = TBD_LAST | len; |
size | 1027 | drivers/net/ni52.c | p->xmit_buffs[p->xmit_count]->size = TBD_LAST | len; |
size | 144 | drivers/net/ni52.h | unsigned short size; /* size of this buffer */ |
size | 275 | drivers/net/ni52.h | unsigned short size; /* size + EOF-Flag(15) */ |
size | 56 | drivers/net/ni65.c | #define check_region(ioaddr, size) 0 |
size | 57 | drivers/net/ni65.c | #define request_region(ioaddr, size,name) do ; while (0) |
size | 331 | drivers/net/sk_g16.c | #define check_region(ioaddr, size) 0 |
size | 332 | drivers/net/sk_g16.c | #define request_region(ioaddr, size,name) do ; while (0) |
size | 2048 | drivers/net/wavelan.c | int size; |
size | 2055 | drivers/net/wavelan.c | size = sprintf(buffer, "%s", "Iface | dce +nwid -nwid lvl slnc qual ntxq nrst\n"); |
size | 2057 | drivers/net/wavelan.c | pos += size; |
size | 2058 | drivers/net/wavelan.c | len += size; |
size | 2069 | drivers/net/wavelan.c | size = sprintf_stats(buffer + len, lp->dev); |
size | 2071 | drivers/net/wavelan.c | len += size; |
size | 679 | drivers/scsi/53c7,8xx.c | int script_len = 0, dsa_len = 0, size = 0, max_cmd_size = 0; |
size | 751 | drivers/scsi/53c7,8xx.c | size = sizeof(struct NCR53c7x0_hostdata) + script_len + max_cmd_size; |
size | 753 | drivers/scsi/53c7,8xx.c | instance = scsi_register (tpnt, size); |
size | 764 | drivers/scsi/53c7,8xx.c | hostdata->size = size; |
size | 824 | drivers/scsi/53c7,8xx.c | hostdata->free->size = max_cmd_size; |
size | 2338 | drivers/scsi/53c7,8xx.c | int size; /* Size of *tmp */ |
size | 2362 | drivers/scsi/53c7,8xx.c | size = (hostdata->max_cmd_size + 511) / 512 * 512; |
size | 2363 | drivers/scsi/53c7,8xx.c | tmp = (struct NCR53c7x0_cmd *) scsi_malloc (size); |
size | 2370 | drivers/scsi/53c7,8xx.c | size = hostdata->max_cmd_size + 4; |
size | 2371 | drivers/scsi/53c7,8xx.c | real = kmalloc (size, GFP_ATOMIC); |
size | 2378 | drivers/scsi/53c7,8xx.c | tmp->size = size; |
size | 3680 | drivers/scsi/53c7,8xx.c | int size; |
size | 3688 | drivers/scsi/53c7,8xx.c | size = 3; |
size | 3691 | drivers/scsi/53c7,8xx.c | size = 2; |
size | 3702 | drivers/scsi/53c7,8xx.c | return size; |
size | 950 | drivers/scsi/53c7,8xx.h | int size; /* scsi_malloc'd size of this |
size | 1026 | drivers/scsi/53c7,8xx.h | int size; /* Size of entire Scsi_Host |
size | 1110 | drivers/scsi/aha152x.c | int size = disk->capacity; |
size | 1114 | drivers/scsi/aha152x.c | printk("aha152x_biosparam: dev=%x, size=%d, ", dev, size); |
size | 1121 | drivers/scsi/aha152x.c | info_array[2]=size>>11; |
size | 1230 | drivers/scsi/aha1542.c | int size = disk->capacity; |
size | 1234 | drivers/scsi/aha1542.c | if((size>>11) > 1024 && translation_algorithm == 2) { |
size | 1238 | drivers/scsi/aha1542.c | ip[2] = size /255/63; |
size | 1242 | drivers/scsi/aha1542.c | ip[2] = size >> 11; |
size | 504 | drivers/scsi/aha1740.c | int size = disk->capacity; |
size | 508 | drivers/scsi/aha1740.c | ip[2] = size >> 11; |
size | 69 | drivers/scsi/aic7770.c | void *Malloc(size_t size) |
size | 71 | drivers/scsi/aic7770.c | void *p = malloc(size); |
size | 77 | drivers/scsi/aic7770.c | void *Realloc(void *ptr, size_t size) |
size | 79 | drivers/scsi/aic7770.c | void *p = realloc(ptr, size); |
size | 1503 | drivers/scsi/buslogic.c | unsigned int size = disk->capacity; |
size | 1507 | drivers/scsi/buslogic.c | && size >= 0x200000) { /* 1GB */ |
size | 1508 | drivers/scsi/buslogic.c | if (size >= 0x400000) { /* 2GB */ |
size | 1529 | drivers/scsi/buslogic.c | ip[2] = size / (ip[0] * ip[1]); |
size | 743 | drivers/scsi/eata_dma.c | ulong size = 0; |
size | 821 | drivers/scsi/eata_dma.c | size = sizeof(hostdata) + ((sizeof(struct eata_ccb) * ntohs(gc->queuesiz))/ |
size | 831 | drivers/scsi/eata_dma.c | sh = scsi_register(tpnt, size); |
size | 781 | drivers/scsi/fdomain.c | unsigned long blocks, size, capacity; |
size | 785 | drivers/scsi/fdomain.c | size = (buf[4] << 24) | (buf[5] << 16) | (buf[6] << 8) | buf[7]; |
size | 786 | drivers/scsi/fdomain.c | capacity = +( +(blocks / 1024L) * +(size * 10L)) / 1024L; |
size | 789 | drivers/scsi/fdomain.c | ((capacity + 5L) / 10L), size ); |
size | 1565 | drivers/scsi/fdomain.c | int size = disk->capacity; |
size | 1698 | drivers/scsi/fdomain.c | if ((unsigned int)size >= 0x7e0000U) { |
size | 1701 | drivers/scsi/fdomain.c | } else if ((unsigned int)size >= 0x200000U) { |
size | 1710 | drivers/scsi/fdomain.c | info_array[2] = (unsigned int)size / (info_array[0] * info_array[1] ); |
size | 296 | drivers/scsi/hosts.h | extern void * scsi_init_malloc(unsigned int size, int priority); |
size | 297 | drivers/scsi/hosts.h | extern void scsi_init_free(char * ptr, unsigned int size); |
size | 417 | drivers/scsi/in2000.c | int timeout, size, loop; |
size | 449 | drivers/scsi/in2000.c | size = SCpnt->cmd_len; /* CDB length */ |
size | 510 | drivers/scsi/in2000.c | for ( loop=0; loop < size; loop++ ) |
size | 686 | drivers/scsi/in2000.c | int size = disk->capacity; |
size | 690 | drivers/scsi/in2000.c | iinfo[2] = size >> 11; |
size | 448 | drivers/scsi/pas16.c | int size = disk->capacity; |
size | 451 | drivers/scsi/pas16.c | ip[2] = size >> 11; /* I think I have it as /(32*64) */ |
size | 455 | drivers/scsi/pas16.c | ip[2]=size/(63*255); |
size | 1925 | drivers/scsi/scsi.c | void * scsi_init_malloc(unsigned int size, int priority) |
size | 1935 | drivers/scsi/scsi.c | retval = (unsigned long) kmalloc(size, priority); |
size | 1941 | drivers/scsi/scsi.c | size = (size + 15) & ~15; |
size | 1944 | drivers/scsi/scsi.c | (scsi_init_memory_start + size) > scsi_memory_upper_value) { |
size | 1950 | drivers/scsi/scsi.c | scsi_init_memory_start += size; |
size | 1953 | drivers/scsi/scsi.c | memset((void *) retval, 0, size); |
size | 1958 | drivers/scsi/scsi.c | void scsi_init_free(char * ptr, unsigned int size) |
size | 1964 | drivers/scsi/scsi.c | size = (size + 15) & ~15; /* Use the same alignment as scsi_init_malloc() */ |
size | 1966 | drivers/scsi/scsi.c | if(((unsigned long) ptr) + size == scsi_init_memory_start) |
size | 552 | drivers/scsi/scsi_debug.c | int size = disk->capacity; |
size | 555 | drivers/scsi/scsi_debug.c | info[2] = (size + 2047) >> 11; |
size | 42 | drivers/scsi/scsicam.c | int size = disk->capacity; |
size | 50 | drivers/scsi/scsicam.c | ret_code = partsize (bh, (unsigned long) size, (unsigned int *) ip + 2, |
size | 58 | drivers/scsi/scsicam.c | ret_code = setsize ((unsigned long) size, (unsigned int *) ip + 2, |
size | 63 | drivers/scsi/sg.c | static void sg_free(char *buff,int size); |
size | 137 | drivers/scsi/sg.c | static char *sg_malloc(int size) |
size | 139 | drivers/scsi/sg.c | if (size<=4096) |
size | 140 | drivers/scsi/sg.c | return (char *) scsi_malloc(size); |
size | 142 | drivers/scsi/sg.c | if (size<SG_BIG_BUFF) |
size | 157 | drivers/scsi/sg.c | static void sg_free(char *buff,int size) |
size | 167 | drivers/scsi/sg.c | scsi_free(buff,size); |
size | 232 | drivers/scsi/sg.c | int bsize,size,amt,i; |
size | 293 | drivers/scsi/sg.c | size=COMMAND_SIZE(opcode); |
size | 294 | drivers/scsi/sg.c | if (opcode >= 0xc0 && device->header.twelve_byte) size = 12; |
size | 295 | drivers/scsi/sg.c | SCpnt->cmd_len = size; |
size | 299 | drivers/scsi/sg.c | if (count<(sizeof(struct sg_header) + size)) |
size | 308 | drivers/scsi/sg.c | memcpy_fromfs(cmnd,buf,size); |
size | 309 | drivers/scsi/sg.c | buf+=size; |
size | 310 | drivers/scsi/sg.c | memcpy_fromfs(device->buff,buf,device->header.pack_len-size-sizeof(struct sg_header)); |
size | 294 | drivers/scsi/t128.c | int size = disk->capacity; |
size | 297 | drivers/scsi/t128.c | ip[2] = size >> 11; |
size | 810 | drivers/scsi/u14-34f.c | int size = disk->capacity; |
size | 814 | drivers/scsi/u14-34f.c | dkinfo[2] = size / (HD(j)->heads * HD(j)->sectors); |
size | 1004 | drivers/scsi/ultrastor.c | int size = disk->capacity; |
size | 1009 | drivers/scsi/ultrastor.c | dkinfo[2] = size / s; /* Ignore partial cylinders */ |
size | 1211 | drivers/scsi/wd7000.c | int size = disk->capacity; |
size | 1214 | drivers/scsi/wd7000.c | ip[2] = size >> 11; |
size | 521 | drivers/sound/dmabuf.c | DMAbuf_getwrbuffer (int dev, char **buf, int *size) |
size | 585 | drivers/sound/dmabuf.c | *size = dmap->fragment_size; |
size | 891 | drivers/sound/dmabuf.c | DMAbuf_getwrbuffer (int dev, char **buf, int *size) |
size | 132 | drivers/sound/os.h | #define PERMANENT_MALLOC(typecast, mem_ptr, size, linux_ptr) \ |
size | 134 | drivers/sound/os.h | linux_ptr += (size);} |
size | 100 | drivers/sound/pss.c | static int pss_download_boot (unsigned char *block, int size); |
size | 643 | drivers/sound/pss.c | pss_download_boot (unsigned char *block, int size) |
size | 678 | drivers/sound/pss.c | if (count >= size) |
size | 683 | drivers/sound/pss.c | count, size); |
size | 7 | drivers/sound/sound_calls.h | int DMAbuf_getwrbuffer(int dev, char **buf, int *size); |
size | 33 | fs/block_dev.c | unsigned int size; |
size | 60 | fs/block_dev.c | size = ((loff_t) blk_size[MAJOR(dev)][MINOR(dev)] << BLOCK_SIZE_BITS) >> blocksize_bits; |
size | 62 | fs/block_dev.c | size = INT_MAX; |
size | 64 | fs/block_dev.c | if (block >= size) |
size | 91 | fs/block_dev.c | if (block + blocks > size) blocks = size - block; |
size | 174 | fs/block_dev.c | loff_t size; |
size | 192 | fs/block_dev.c | size = (loff_t) blk_size[MAJOR(dev)][MINOR(dev)] << BLOCK_SIZE_BITS; |
size | 194 | fs/block_dev.c | size = INT_MAX; |
size | 198 | fs/block_dev.c | if (offset > size) |
size | 201 | fs/block_dev.c | left = size - offset; |
size | 209 | fs/block_dev.c | size >>= blocksize_bits; |
size | 222 | fs/block_dev.c | if (block + blocks > size) |
size | 223 | fs/block_dev.c | blocks = size - block; |
size | 38 | fs/buffer.c | static int grow_buffers(int pri, int size); |
size | 39 | fs/buffer.c | static int shrink_specific_buffers(unsigned int priority, int size); |
size | 413 | fs/buffer.c | static struct buffer_head * find_buffer(dev_t dev, int block, int size) |
size | 419 | fs/buffer.c | if (tmp->b_size == size) |
size | 436 | fs/buffer.c | struct buffer_head * get_hash_table(dev_t dev, int block, int size) |
size | 441 | fs/buffer.c | if (!(bh=find_buffer(dev,block,size))) |
size | 445 | fs/buffer.c | if (bh->b_dev == dev && bh->b_blocknr == block && bh->b_size == size) |
size | 451 | fs/buffer.c | void set_blocksize(dev_t dev, int size) |
size | 459 | fs/buffer.c | switch(size) { |
size | 464 | fs/buffer.c | if (blksize_size[MAJOR(dev)][MINOR(dev)] == 0 && size == BLOCK_SIZE) { |
size | 465 | fs/buffer.c | blksize_size[MAJOR(dev)][MINOR(dev)] = size; |
size | 468 | fs/buffer.c | if (blksize_size[MAJOR(dev)][MINOR(dev)] == size) |
size | 471 | fs/buffer.c | blksize_size[MAJOR(dev)][MINOR(dev)] = size; |
size | 483 | fs/buffer.c | if (bh->b_size == size) |
size | 487 | fs/buffer.c | if (bh->b_dev == dev && bh->b_size != size) { |
size | 498 | fs/buffer.c | void refill_freelist(int size) |
size | 503 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 520 | fs/buffer.c | needed =bdf_prm.b_un.nrefill * size; |
size | 523 | fs/buffer.c | grow_buffers(GFP_BUFFER, size)) { |
size | 532 | fs/buffer.c | while(maybe_shrink_lav_buffers(size)) |
size | 534 | fs/buffer.c | if(!grow_buffers(GFP_BUFFER, size)) break; |
size | 566 | fs/buffer.c | if (bh->b_count || bh->b_size != size) |
size | 606 | fs/buffer.c | if (bh->b_count || bh->b_size != size) |
size | 637 | fs/buffer.c | if (bh->b_count || bh->b_size != size) |
size | 666 | fs/buffer.c | if (grow_buffers(GFP_BUFFER, size)) { |
size | 673 | fs/buffer.c | if (!grow_buffers(GFP_ATOMIC, size)) |
size | 689 | fs/buffer.c | struct buffer_head * getblk(dev_t dev, int block, int size) |
size | 692 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 701 | fs/buffer.c | bh = get_hash_table(dev, block, size); |
size | 709 | fs/buffer.c | while(!free_list[isize]) refill_freelist(size); |
size | 711 | fs/buffer.c | if (find_buffer(dev,block,size)) |
size | 800 | fs/buffer.c | struct buffer_head * bread(dev_t dev, int block, int size) |
size | 804 | fs/buffer.c | if (!(bh = getblk(dev, block, size))) { |
size | 933 | fs/buffer.c | static struct buffer_head * create_buffers(unsigned long page, unsigned long size) |
size | 940 | fs/buffer.c | while ((offset -= size) < PAGE_SIZE) { |
size | 947 | fs/buffer.c | bh->b_size = size; |
size | 1000 | fs/buffer.c | dev_t dev, int *b, int size) |
size | 1014 | fs/buffer.c | for (offset = size ; offset < PAGE_SIZE ; offset += size) { |
size | 1018 | fs/buffer.c | first = get_hash_table(dev, block, size); |
size | 1041 | fs/buffer.c | dev_t dev, int b[], int size) |
size | 1045 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 1049 | fs/buffer.c | bh = create_buffers(address, size); |
size | 1054 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
size | 1058 | fs/buffer.c | if (find_buffer(dev, block, size)) |
size | 1111 | fs/buffer.c | dev_t dev, int *b, int size) |
size | 1119 | fs/buffer.c | bh = get_hash_table(dev, block, size); |
size | 1121 | fs/buffer.c | return check_aligned(bh, address, dev, b, size); |
size | 1122 | fs/buffer.c | return try_to_load_aligned(address, dev, b, size); |
size | 1132 | fs/buffer.c | unsigned long bread_page(unsigned long address, dev_t dev, int b[], int size, int no_share) |
size | 1139 | fs/buffer.c | where = try_to_share_buffers(address, dev, b, size); |
size | 1144 | fs/buffer.c | for (i=0, j=0; j<PAGE_SIZE ; i++, j+= size) { |
size | 1147 | fs/buffer.c | bh[i] = getblk(dev, b[i], size); |
size | 1151 | fs/buffer.c | for (i=0, j=0; j<PAGE_SIZE ; i++, j += size, where += size) { |
size | 1154 | fs/buffer.c | memcpy((void *) where, bh[i]->b_data, size); |
size | 1165 | fs/buffer.c | static int grow_buffers(int pri, int size) |
size | 1172 | fs/buffer.c | if ((size & 511) || (size > PAGE_SIZE)) { |
size | 1173 | fs/buffer.c | printk("VFS: grow_buffers: size = %d\n",size); |
size | 1177 | fs/buffer.c | isize = BUFSIZE_INDEX(size); |
size | 1181 | fs/buffer.c | bh = create_buffers(page, size); |
size | 1274 | fs/buffer.c | static int maybe_shrink_lav_buffers(int size) |
size | 1297 | fs/buffer.c | isize = (size ? BUFSIZE_INDEX(size) : -1); |
size | 1332 | fs/buffer.c | static int shrink_specific_buffers(unsigned int priority, int size) |
size | 1339 | fs/buffer.c | if(size) printk("Shrinking buffers of size %d\n", size); |
size | 1343 | fs/buffer.c | isize1 = (size ? BUFSIZE_INDEX(size) : -1); |
size | 1372 | fs/buffer.c | if(size && bh->b_size != size) continue; |
size | 1496 | fs/buffer.c | unsigned int starting_block, int size) |
size | 1499 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 1506 | fs/buffer.c | while(nr_free[isize] < 32) refill_freelist(size); |
size | 1522 | fs/buffer.c | static unsigned long try_to_generate_cluster(dev_t dev, int block, int size) |
size | 1525 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 1533 | fs/buffer.c | bh = create_buffers(page, size); |
size | 1539 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
size | 1540 | fs/buffer.c | if (find_buffer(dev, nblock++, size)) |
size | 1579 | fs/buffer.c | unsigned long generate_cluster(dev_t dev, int b[], int size) |
size | 1583 | fs/buffer.c | for (i = 0, offset = 0 ; offset < PAGE_SIZE ; i++, offset += size) { |
size | 1585 | fs/buffer.c | if(find_buffer(dev, b[i], size)) return 0; |
size | 1592 | fs/buffer.c | if(maybe_shrink_lav_buffers(size)) |
size | 1595 | fs/buffer.c | retval = try_to_generate_cluster(dev, b[0], size); |
size | 1600 | fs/buffer.c | return try_to_generate_cluster(dev, b[0], size); |
size | 1602 | fs/buffer.c | return reassign_cluster(dev, b[0], size); |
size | 80 | fs/ext/file.c | unsigned int size; |
size | 91 | fs/ext/file.c | size = inode->i_size; |
size | 92 | fs/ext/file.c | if (offset > size) |
size | 95 | fs/ext/file.c | left = size - offset; |
size | 103 | fs/ext/file.c | size = (size + (BLOCK_SIZE-1)) >> BLOCK_SIZE_BITS; |
size | 109 | fs/ext/file.c | if (block + blocks > size) |
size | 110 | fs/ext/file.c | blocks = size - block; |
size | 91 | fs/ext2/file.c | unsigned int size; |
size | 105 | fs/ext2/file.c | size = inode->i_size; |
size | 106 | fs/ext2/file.c | if (offset > size) |
size | 109 | fs/ext2/file.c | left = size - offset; |
size | 117 | fs/ext2/file.c | size = (size + sb->s_blocksize - 1) >> EXT2_BLOCK_SIZE_BITS(sb); |
size | 123 | fs/ext2/file.c | if (block + blocks > size) |
size | 124 | fs/ext2/file.c | blocks = size - block; |
size | 483 | fs/isofs/inode.c | inode->i_size = isonum_733 (raw_inode->size); |
size | 664 | fs/isofs/inode.c | directory_size = isonum_733 (de->size); |
size | 764 | fs/isofs/inode.c | void * leak_check_malloc(unsigned int size){ |
size | 767 | fs/isofs/inode.c | tmp = kmalloc(size, GFP_KERNEL); |
size | 771 | fs/isofs/inode.c | void leak_check_free_s(void * obj, int size){ |
size | 773 | fs/isofs/inode.c | return kfree_s(obj, size); |
size | 776 | fs/isofs/inode.c | struct buffer_head * leak_check_bread(int dev, int block, int size){ |
size | 778 | fs/isofs/inode.c | return bread(dev, block, size); |
size | 48 | fs/isofs/rock.c | cont_size = isonum_733(rr->u.CE.size);} |
size | 14 | fs/isofs/rock.h | char size[8]; |
size | 78 | fs/minix/file.c | unsigned int size; |
size | 89 | fs/minix/file.c | size = inode->i_size; |
size | 90 | fs/minix/file.c | if (offset > size) |
size | 93 | fs/minix/file.c | left = size - offset; |
size | 101 | fs/minix/file.c | size = (size + (BLOCK_SIZE-1)) >> BLOCK_SIZE_BITS; |
size | 107 | fs/minix/file.c | if (block + blocks > size) |
size | 108 | fs/minix/file.c | blocks = size - block; |
size | 216 | fs/msdos/file.c | int size,offset; |
size | 236 | fs/msdos/file.c | size = MIN(SECTOR_SIZE-offset,left_in_file); |
size | 238 | fs/msdos/file.c | size = MIN(size,end-buf); |
size | 239 | fs/msdos/file.c | memcpy_tofs(buf,data,size); |
size | 240 | fs/msdos/file.c | buf += size; |
size | 241 | fs/msdos/file.c | filp->f_pos += size; |
size | 243 | fs/msdos/file.c | for (; size && buf < end; size--) { |
size | 274 | fs/msdos/file.c | int sector,offset,size,left,written; |
size | 296 | fs/msdos/file.c | for (start = buf; count || carry; count -= size) { |
size | 304 | fs/msdos/file.c | size = MIN(SECTOR_SIZE-offset,MAX(carry,count)); |
size | 307 | fs/msdos/file.c | && (size == SECTOR_SIZE |
size | 308 | fs/msdos/file.c | || filp->f_pos + size >= inode->i_size)){ |
size | 321 | fs/msdos/file.c | memcpy_fromfs(bh->b_data+offset,buf,written = size); |
size | 322 | fs/msdos/file.c | buf += size; |
size | 332 | fs/msdos/file.c | for (size = 0; size < count && left; size++) { |
size | 424 | fs/msdos/inode.c | inode->i_size = CF_LE_L(raw_entry->size); |
size | 456 | fs/msdos/inode.c | raw_entry->size = 0; |
size | 460 | fs/msdos/inode.c | raw_entry->size = CT_LE_L(inode->i_size); |
size | 204 | fs/msdos/namei.c | de->size = 0; |
size | 237 | fs/nfs/dir.c | if (fattr->size == -1 || fattr->uid == -1 || fattr->gid == -1 |
size | 354 | fs/nfs/dir.c | sattr.uid = sattr.gid = sattr.size = (unsigned) -1; |
size | 390 | fs/nfs/dir.c | sattr.size = rdev; /* get out your barf bag */ |
size | 392 | fs/nfs/dir.c | sattr.size = (unsigned) -1; |
size | 419 | fs/nfs/dir.c | sattr.uid = sattr.gid = sattr.size = (unsigned) -1; |
size | 489 | fs/nfs/dir.c | sattr.uid = sattr.gid = sattr.size = (unsigned) -1; |
size | 585 | fs/nfs/dir.c | inode->i_size = fattr->size; |
size | 234 | fs/nfs/inode.c | sattr.size = S_ISREG(inode->i_mode) ? attr->ia_size : -1; |
size | 236 | fs/nfs/inode.c | sattr.size = (unsigned) -1; |
size | 81 | fs/nfs/proc.c | static inline int *nfs_rpc_alloc(int size) |
size | 85 | fs/nfs/proc.c | while (!(i = (int *)kmalloc(size+NFS_SLACK_SPACE,GFP_NFS))) { |
size | 177 | fs/nfs/proc.c | fattr->size = ntohl(*p++); |
size | 197 | fs/nfs/proc.c | *p++ = htonl(sattr->size); |
size | 736 | fs/nfs/proc.c | int size; |
size | 740 | fs/nfs/proc.c | size = server->rsize; |
size | 747 | fs/nfs/proc.c | *p++ = htonl(size); |
size | 52 | fs/nfs/sock.c | static int do_nfs_rpc_call(struct nfs_server *server, int *start, int *end, int size) |
size | 209 | fs/nfs/sock.c | size + 1024, 1, 0, NULL, |
size | 230 | fs/nfs/sock.c | int nfs_rpc_call(struct nfs_server *server, int *start, int *end, int size) |
size | 237 | fs/nfs/sock.c | result = do_nfs_rpc_call(server, start, end, size); |
size | 27 | fs/pipe.c | int chars = 0, size = 0, read = 0; |
size | 48 | fs/pipe.c | while (count>0 && (size = PIPE_SIZE(*inode))) { |
size | 52 | fs/pipe.c | if (chars > size) |
size | 53 | fs/pipe.c | chars = size; |
size | 371 | fs/proc/array.c | int size = 0, result = 0; |
size | 383 | fs/proc/array.c | result = size; |
size | 384 | fs/proc/array.c | if (size < PAGE_SIZE) |
size | 385 | fs/proc/array.c | buffer[size++] = c; |
size | 525 | fs/proc/array.c | static inline void statm_pte_range(pmd_t * pmd, unsigned long address, unsigned long size, |
size | 540 | fs/proc/array.c | end = address + size; |
size | 563 | fs/proc/array.c | static inline void statm_pmd_range(pgd_t * pgd, unsigned long address, unsigned long size, |
size | 578 | fs/proc/array.c | end = address + size; |
size | 601 | fs/proc/array.c | int size=0, resident=0, share=0, trs=0, lrs=0, drs=0, dt=0; |
size | 616 | fs/proc/array.c | size += total; |
size | 629 | fs/proc/array.c | size, resident, share, trs, lrs, drs, dt); |
size | 37 | fs/read_write.c | int size = count; |
size | 39 | fs/read_write.c | size = sizeof(*dirent); |
size | 40 | fs/read_write.c | error = verify_area(VERIFY_WRITE, dirent, size); |
size | 86 | fs/sysv/file.c | unsigned int size; |
size | 97 | fs/sysv/file.c | size = inode->i_size; |
size | 98 | fs/sysv/file.c | if (offset > size) |
size | 101 | fs/sysv/file.c | left = size - offset; |
size | 109 | fs/sysv/file.c | size = (size + sb->sv_block_size_1) >> sb->sv_block_size_bits; |
size | 114 | fs/sysv/file.c | if (block + blocks > size) |
size | 115 | fs/sysv/file.c | blocks = size - block; |
size | 222 | fs/umsdos/emd.c | int size; /* Current size of buffer */ |
size | 237 | fs/umsdos/emd.c | int mustmove = buf->size - buf->pos; |
size | 250 | fs/umsdos/emd.c | if (ret == 0) buf->size = mustmove + mustread; |
size | 252 | fs/umsdos/emd.c | buf->size = mustmove; |
size | 305 | fs/umsdos/emd.c | buf.size = 0; |
size | 314 | fs/umsdos/emd.c | int file_pos = buf.filp.f_pos - buf.size + buf.pos; |
size | 315 | fs/umsdos/emd.c | if (buf.pos == buf.size){ |
size | 345 | fs/umsdos/emd.c | if (buf.pos+entry_size > buf.size){ |
size | 126 | fs/umsdos/mangle.c | int size = len + (dirent.name-(char*)&dirent); |
size | 127 | fs/umsdos/mangle.c | int nbrec = size / UMSDOS_REC_SIZE; |
size | 128 | fs/umsdos/mangle.c | int extra = size % UMSDOS_REC_SIZE; |
size | 117 | include/asm-alpha/bitops.h | extern inline unsigned long find_next_zero_bit(void * addr, unsigned long size, unsigned long offset) |
size | 123 | include/asm-alpha/bitops.h | if (offset >= size) |
size | 124 | include/asm-alpha/bitops.h | return size; |
size | 125 | include/asm-alpha/bitops.h | size -= result; |
size | 130 | include/asm-alpha/bitops.h | if (size < 64) |
size | 134 | include/asm-alpha/bitops.h | size -= 64; |
size | 137 | include/asm-alpha/bitops.h | while (size & ~63UL) { |
size | 141 | include/asm-alpha/bitops.h | size -= 64; |
size | 143 | include/asm-alpha/bitops.h | if (!size) |
size | 147 | include/asm-alpha/bitops.h | tmp |= ~0UL << size; |
size | 155 | include/asm-alpha/bitops.h | #define find_first_zero_bit(addr, size) \ |
size | 156 | include/asm-alpha/bitops.h | find_next_zero_bit((addr), (size), 0) |
size | 87 | include/asm-alpha/hwrpb.h | unsigned long size; /* size of hwrpb */ |
size | 69 | include/asm-i386/bitops.h | extern inline int find_first_zero_bit(void * addr, unsigned size) |
size | 73 | include/asm-i386/bitops.h | if (!size) |
size | 90 | include/asm-i386/bitops.h | :"c" ((size + 31) >> 5), "D" (addr), "b" (addr) |
size | 95 | include/asm-i386/bitops.h | extern inline int find_next_zero_bit (void * addr, int size, int offset) |
size | 119 | include/asm-i386/bitops.h | res = find_first_zero_bit (p, size - 32 * (p - (unsigned long *) addr)); |
size | 536 | include/asm-i386/string.h | extern inline void * memscan(void * addr, int c, size_t size) |
size | 538 | include/asm-i386/string.h | if (!size) |
size | 545 | include/asm-i386/string.h | : "=D" (addr), "=c" (size) |
size | 546 | include/asm-i386/string.h | : "0" (addr), "1" (size), "a" (c)); |
size | 228 | include/asm-i386/system.h | #define set_ldt_desc(n,addr,size) \ |
size | 229 | include/asm-i386/system.h | _set_tssldt_desc(((char *) (n)),((int)(addr)),((size << 3) - 1),"0x82") |
size | 60 | include/asm-m68k/bitops.h | extern inline int find_first_zero_bit(void * vaddr, unsigned size) |
size | 66 | include/asm-m68k/bitops.h | if (!size) |
size | 81 | include/asm-m68k/bitops.h | : "0" ((size + 31) >> 5), "1" (addr) |
size | 86 | include/asm-m68k/bitops.h | static inline int find_next_zero_bit (void *vaddr, int size, |
size | 104 | include/asm-m68k/bitops.h | res = find_first_zero_bit (p, size - 32 * (p - addr)); |
size | 149 | include/asm-mips/bitops.h | extern __inline__ int find_first_zero_bit (void *addr, unsigned size) |
size | 153 | include/asm-mips/bitops.h | if (!size) |
size | 175 | include/asm-mips/bitops.h | "r" (size), |
size | 183 | include/asm-mips/bitops.h | extern __inline__ int find_next_zero_bit (void * addr, int size, int offset) |
size | 214 | include/asm-mips/bitops.h | res = find_first_zero_bit (p, size - 32 * (p - (unsigned long *) addr)); |
size | 199 | include/asm-mips/string.h | extern __inline__ void * memscan(void * addr, int c, size_t size) |
size | 201 | include/asm-mips/string.h | if (!size) |
size | 213 | include/asm-mips/string.h | : "=r" (addr), "=r" (size) |
size | 214 | include/asm-mips/string.h | : "0" (addr), "1" (size), "r" (c) |
size | 126 | include/asm-sparc/bitops.h | extern __inline__ unsigned long find_next_zero_bit(void *addr, unsigned long size, unsigned long offset) |
size | 132 | include/asm-sparc/bitops.h | if (offset >= size) |
size | 133 | include/asm-sparc/bitops.h | return size; |
size | 134 | include/asm-sparc/bitops.h | size -= result; |
size | 140 | include/asm-sparc/bitops.h | if (size < 32) |
size | 144 | include/asm-sparc/bitops.h | size -= 32; |
size | 147 | include/asm-sparc/bitops.h | while (size & ~32UL) |
size | 152 | include/asm-sparc/bitops.h | size -= 32; |
size | 154 | include/asm-sparc/bitops.h | if (!size) |
size | 159 | include/asm-sparc/bitops.h | tmp |= ~0UL << size; |
size | 168 | include/asm-sparc/bitops.h | #define find_first_zero_bit(addr, size) \ |
size | 169 | include/asm-sparc/bitops.h | find_next_zero_bit((addr), (size), 0) |
size | 72 | include/asm-sparc/openprom.h | void (*v2_dumb_munmap)(char* virta, unsigned size); |
size | 60 | include/linux/fd.h | unsigned int size, /* nr of sectors total */ |
size | 426 | include/linux/fs.h | extern void refill_freelist(int size); |
size | 484 | include/linux/fs.h | extern struct buffer_head * get_hash_table(dev_t dev, int block, int size); |
size | 485 | include/linux/fs.h | extern struct buffer_head * getblk(dev_t dev, int block, int size); |
size | 491 | include/linux/fs.h | extern void set_blocksize(dev_t dev, int size); |
size | 492 | include/linux/fs.h | extern struct buffer_head * bread(dev_t dev, int block, int size); |
size | 493 | include/linux/fs.h | extern unsigned long bread_page(unsigned long addr,dev_t dev,int b[],int size,int no_share); |
size | 494 | include/linux/fs.h | extern struct buffer_head * breada(dev_t dev,int block, int size, |
size | 497 | include/linux/fs.h | unsigned long generate_cluster(dev_t dev, int b[], int size); |
size | 110 | include/linux/iso_fs.h | char size [ISODCL (11, 18)]; /* 733 */ |
size | 199 | include/linux/iso_fs.h | extern void * leak_check_malloc(unsigned int size); |
size | 200 | include/linux/iso_fs.h | extern void leak_check_free_s(void * obj, int size); |
size | 201 | include/linux/iso_fs.h | extern struct buffer_head * leak_check_bread(int dev, int block, int size); |
size | 11 | include/linux/malloc.h | void *deb_kmalloc(const char *deb_file, unsigned short deb_line,unsigned int size, int priority); |
size | 12 | include/linux/malloc.h | void deb_kfree_s (const char *deb_file, unsigned short deb_line,void * obj, int size); |
size | 13 | include/linux/malloc.h | void deb_kcheck_s(const char *deb_file, unsigned short deb_line,void * obj, int size); |
size | 21 | include/linux/malloc.h | void * kmalloc(unsigned int size, int priority); |
size | 22 | include/linux/malloc.h | void kfree_s(void * obj, int size); |
size | 178 | include/linux/mm.h | extern int unmap_page_range(unsigned long from, unsigned long size); |
size | 179 | include/linux/mm.h | extern int remap_page_range(unsigned long from, unsigned long to, unsigned long size, pgprot_t prot); |
size | 180 | include/linux/mm.h | extern int zeromap_page_range(unsigned long from, unsigned long size, pgprot_t prot); |
size | 194 | include/linux/mm.h | extern void * vmalloc(unsigned long size); |
size | 53 | include/linux/module.h | int size; /* total, including string table!!! */ |
size | 68 | include/linux/module.h | int size; /* size of module in pages */ |
size | 87 | include/linux/msdos_fs.h | __u32 size; /* file size (in bytes) */ |
size | 103 | include/linux/net.h | int (*read) (struct socket *sock, char *ubuf, int size, |
size | 105 | include/linux/net.h | int (*write) (struct socket *sock, char *ubuf, int size, |
size | 135 | include/linux/nfs.h | u_int size; |
size | 150 | include/linux/nfs.h | u_int size; |
size | 92 | include/linux/nfs_fs.h | extern int nfs_rpc_call(struct nfs_server *server, int *start, int *end, int size); |
size | 114 | include/linux/skbuff.h | extern struct sk_buff * alloc_skb(unsigned int size, int priority); |
size | 115 | include/linux/skbuff.h | extern void kfree_skbmem(struct sk_buff *skb, unsigned size); |
size | 282 | include/linux/skbuff.h | extern void skb_copy_datagram(struct sk_buff *from, int offset, char *to,int size); |
size | 87 | ipc/sem.c | int size; |
size | 100 | ipc/sem.c | size = sizeof (*sma) + nsems * sizeof (struct sem); |
size | 102 | ipc/sem.c | sma = (struct semid_ds *) kmalloc (size, GFP_KERNEL); |
size | 110 | ipc/sem.c | memset (sma, 0, size); |
size | 559 | ipc/sem.c | int i, id, size, error; |
size | 601 | ipc/sem.c | size = sizeof(struct sem_undo) + sizeof(short)*sma->sem_nsems; |
size | 602 | ipc/sem.c | un = (struct sem_undo *) kmalloc(size, GFP_ATOMIC); |
size | 605 | ipc/sem.c | memset(un, 0, size); |
size | 22 | ipc/shm.c | static int newseg (key_t key, int shmflg, int size); |
size | 73 | ipc/shm.c | static int newseg (key_t key, int shmflg, int size) |
size | 76 | ipc/shm.c | int numpages = (size + PAGE_SIZE -1) >> PAGE_SHIFT; |
size | 79 | ipc/shm.c | if (size < SHMMIN) |
size | 115 | ipc/shm.c | shp->shm_segsz = size; |
size | 132 | ipc/shm.c | int sys_shmget (key_t key, int size, int shmflg) |
size | 137 | ipc/shm.c | if (size < 0 || size > SHMMAX) |
size | 140 | ipc/shm.c | return newseg(key, shmflg, size); |
size | 144 | ipc/shm.c | return newseg(key, shmflg, size); |
size | 151 | ipc/shm.c | if (size > shp->shm_segsz) |
size | 31 | ipc/util.c | extern int sys_shmget (key_t key, int size, int flag); |
size | 133 | kernel/module.c | sys_create_module(char *module_name, unsigned long size) |
size | 144 | kernel/module.c | if (module_name == NULL || size == 0) |
size | 157 | kernel/module.c | npages = (size + sizeof (int) + 4095) / 4096; |
size | 167 | kernel/module.c | mp->size = npages; |
size | 176 | kernel/module.c | mp->name, (unsigned long) mp->size, (unsigned long) mp->addr)); |
size | 217 | kernel/module.c | if ((codesize + sizeof (int) + 4095) / 4096 > mp->size) |
size | 221 | kernel/module.c | mp->size * 4096 - (codesize + sizeof (int))); |
size | 230 | kernel/module.c | int size; |
size | 236 | kernel/module.c | memcpy_fromfs((char *)(&(size)), symtab, sizeof(int)); |
size | 238 | kernel/module.c | if ((newtab = (struct symbol_table*) kmalloc(size, GFP_KERNEL)) == NULL) { |
size | 242 | kernel/module.c | if ((error = verify_area(VERIFY_READ, symtab, size))) { |
size | 243 | kernel/module.c | kfree_s(newtab, size); |
size | 246 | kernel/module.c | memcpy_fromfs((char *)(newtab), symtab, size); |
size | 254 | kernel/module.c | (legal_start > size)) { |
size | 256 | kernel/module.c | kfree_s(newtab, size); |
size | 263 | kernel/module.c | if ((unsigned long)sym->name < legal_start || size <= (unsigned long)sym->name) { |
size | 265 | kernel/module.c | kfree_s(newtab, size); |
size | 493 | kernel/module.c | if (mp->symtab->size) |
size | 494 | kernel/module.c | kfree_s(mp->symtab, mp->symtab->size); |
size | 516 | kernel/module.c | char size[32]; |
size | 529 | kernel/module.c | sprintf(size, "%d", mp->size); |
size | 530 | kernel/module.c | i -= strlen(size); |
size | 535 | kernel/module.c | q = size; |
size | 638 | kernel/module.c | int size; |
size | 703 | kernel/module.c | if (oldtab->size > 0) |
size | 704 | kernel/module.c | kfree_s(oldtab, oldtab->size); |
size | 719 | kernel/module.c | size = SYMSIZ + intab->n_symbols * INTSIZ + |
size | 730 | kernel/module.c | newtab->size = size; |
size | 757 | kernel/module.c | if (oldtab->size > 0) |
size | 758 | kernel/module.c | kfree_s(oldtab, oldtab->size); |
size | 232 | lib/string.c | void * memscan(void * addr, unsigned char c, size_t size) |
size | 236 | lib/string.c | while (size) { |
size | 240 | lib/string.c | size--; |
size | 68 | lib/vsprintf.c | static char * number(char * str, long num, int base, int size, int precision |
size | 87 | lib/vsprintf.c | size--; |
size | 90 | lib/vsprintf.c | size--; |
size | 93 | lib/vsprintf.c | size--; |
size | 98 | lib/vsprintf.c | size -= 2; |
size | 100 | lib/vsprintf.c | size--; |
size | 109 | lib/vsprintf.c | size -= precision; |
size | 111 | lib/vsprintf.c | while(size-->0) |
size | 123 | lib/vsprintf.c | while (size-- > 0) |
size | 129 | lib/vsprintf.c | while (size-- > 0) |
size | 106 | mm/filemap.c | unsigned long address, unsigned long size, |
size | 122 | mm/filemap.c | end = address + size; |
size | 133 | mm/filemap.c | unsigned long address, unsigned long size, |
size | 149 | mm/filemap.c | end = address + size; |
size | 160 | mm/filemap.c | size_t size, unsigned int flags) |
size | 163 | mm/filemap.c | unsigned long end = address + size; |
size | 88 | mm/kmalloc.c | int size; |
size | 122 | mm/kmalloc.c | #define BLOCKSIZE(order) (sizes[order].size) |
size | 152 | mm/kmalloc.c | int get_order (int size) |
size | 157 | mm/kmalloc.c | size += sizeof (struct block_header); |
size | 159 | mm/kmalloc.c | if (size <= BLOCKSIZE (order)) |
size | 164 | mm/kmalloc.c | void * kmalloc (size_t size, int priority) |
size | 185 | mm/kmalloc.c | order = get_order (size); |
size | 188 | mm/kmalloc.c | printk ("kmalloc of too large a block (%d bytes).\n",(int) size); |
size | 219 | mm/kmalloc.c | sizes [order].nbytesmalloced += size; |
size | 221 | mm/kmalloc.c | p->bh_length = size; |
size | 296 | mm/kmalloc.c | (int) size); |
size | 300 | mm/kmalloc.c | void kfree_s (void *ptr,int size) |
size | 318 | mm/kmalloc.c | if (size && |
size | 319 | mm/kmalloc.c | size != p->bh_length) |
size | 322 | mm/kmalloc.c | p,size,p->bh_length); |
size | 325 | mm/kmalloc.c | size = p->bh_length; |
size | 387 | mm/kmalloc.c | sizes[order].nbytesmalloced -= size; |
size | 359 | mm/memory.c | static inline void unmap_pte_range(pmd_t * pmd, unsigned long address, unsigned long size) |
size | 373 | mm/memory.c | end = address + size; |
size | 385 | mm/memory.c | static inline void unmap_pmd_range(pgd_t * dir, unsigned long address, unsigned long size) |
size | 399 | mm/memory.c | end = address + size; |
size | 413 | mm/memory.c | int unmap_page_range(unsigned long address, unsigned long size) |
size | 416 | mm/memory.c | unsigned long end = address + size; |
size | 428 | mm/memory.c | static inline void zeromap_pte_range(pte_t * pte, unsigned long address, unsigned long size, pte_t zero_pte) |
size | 433 | mm/memory.c | end = address + size; |
size | 445 | mm/memory.c | static inline int zeromap_pmd_range(pmd_t * pmd, unsigned long address, unsigned long size, pte_t zero_pte) |
size | 450 | mm/memory.c | end = address + size; |
size | 464 | mm/memory.c | int zeromap_page_range(unsigned long address, unsigned long size, pgprot_t prot) |
size | 468 | mm/memory.c | unsigned long end = address + size; |
size | 493 | mm/memory.c | static inline void remap_pte_range(pte_t * pte, unsigned long address, unsigned long size, |
size | 499 | mm/memory.c | end = address + size; |
size | 518 | mm/memory.c | static inline int remap_pmd_range(pmd_t * pmd, unsigned long address, unsigned long size, |
size | 524 | mm/memory.c | end = address + size; |
size | 539 | mm/memory.c | int remap_page_range(unsigned long from, unsigned long offset, unsigned long size, pgprot_t prot) |
size | 543 | mm/memory.c | unsigned long end = from + size; |
size | 703 | mm/memory.c | int verify_area(int type, const void * addr, unsigned long size) |
size | 732 | mm/memory.c | if (vma->vm_end - start >= size) |
size | 746 | mm/memory.c | if (vma->vm_end - start >= size) |
size | 757 | mm/memory.c | size--; |
size | 758 | mm/memory.c | size += start & ~PAGE_MASK; |
size | 759 | mm/memory.c | size >>= PAGE_SHIFT; |
size | 764 | mm/memory.c | if (!size) |
size | 766 | mm/memory.c | size--; |
size | 21 | mm/mprotect.c | unsigned long size, pgprot_t newprot) |
size | 35 | mm/mprotect.c | end = address + size; |
size | 48 | mm/mprotect.c | unsigned long size, pgprot_t newprot) |
size | 62 | mm/mprotect.c | end = address + size; |
size | 727 | mm/swap.c | do { unsigned long size = PAGE_SIZE << high; \ |
size | 729 | mm/swap.c | high--; size >>= 1; cli(); \ |
size | 733 | mm/swap.c | addr = (struct mem_list *) (size + (unsigned long) addr); \ |
size | 865 | mm/swap.c | unsigned long address, unsigned long size, unsigned long offset, |
size | 881 | mm/swap.c | end = address + size; |
size | 894 | mm/swap.c | unsigned long address, unsigned long size, |
size | 910 | mm/swap.c | end = address + size; |
size | 24 | mm/vmalloc.c | unsigned long size; |
size | 38 | mm/vmalloc.c | static inline void free_area_pte(pmd_t * pmd, unsigned long address, unsigned long size) |
size | 52 | mm/vmalloc.c | end = address + size; |
size | 70 | mm/vmalloc.c | static inline void free_area_pmd(pgd_t * dir, unsigned long address, unsigned long size) |
size | 84 | mm/vmalloc.c | end = address + size; |
size | 94 | mm/vmalloc.c | static void free_area_pages(unsigned long address, unsigned long size) |
size | 97 | mm/vmalloc.c | unsigned long end = address + size; |
size | 108 | mm/vmalloc.c | static inline int alloc_area_pte(pte_t * pte, unsigned long address, unsigned long size) |
size | 113 | mm/vmalloc.c | end = address + size; |
size | 130 | mm/vmalloc.c | static inline int alloc_area_pmd(pmd_t * pmd, unsigned long address, unsigned long size) |
size | 135 | mm/vmalloc.c | end = address + size; |
size | 150 | mm/vmalloc.c | static int alloc_area_pages(unsigned long address, unsigned long size) |
size | 153 | mm/vmalloc.c | unsigned long end = address + size; |
size | 183 | mm/vmalloc.c | free_area_pages(VMALLOC_VMADDR(tmp->addr), tmp->size); |
size | 191 | mm/vmalloc.c | void * vmalloc(unsigned long size) |
size | 196 | mm/vmalloc.c | size = PAGE_ALIGN(size); |
size | 197 | mm/vmalloc.c | if (!size || size > high_memory) |
size | 203 | mm/vmalloc.c | area->size = size + PAGE_SIZE; |
size | 206 | mm/vmalloc.c | if (size + (unsigned long) addr < (unsigned long) tmp->addr) |
size | 208 | mm/vmalloc.c | addr = (void *) (tmp->size + (unsigned long) tmp->addr); |
size | 213 | mm/vmalloc.c | if (alloc_area_pages(VMALLOC_VMADDR(addr), size)) { |
size | 233 | mm/vmalloc.c | n = tmp->size - PAGE_SIZE; |
size | 114 | net/inet/af_inet.c | int size = 32767; /* a big num. */ |
size | 139 | net/inet/af_inet.c | if (j < size) |
size | 142 | net/inet/af_inet.c | size = j; |
size | 1136 | net/inet/af_inet.c | static int inet_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1148 | net/inet/af_inet.c | return(sk->prot->recvfrom(sk, (unsigned char *) ubuf, size, noblock, flags, |
size | 1153 | net/inet/af_inet.c | static int inet_recv(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1157 | net/inet/af_inet.c | return inet_recvfrom(sock,ubuf,size,noblock,flags,NULL,NULL); |
size | 1160 | net/inet/af_inet.c | static int inet_read(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1169 | net/inet/af_inet.c | return(sk->prot->read(sk, (unsigned char *) ubuf, size, noblock, 0)); |
size | 1172 | net/inet/af_inet.c | static int inet_send(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1186 | net/inet/af_inet.c | return(sk->prot->write(sk, (unsigned char *) ubuf, size, noblock, flags)); |
size | 1189 | net/inet/af_inet.c | static int inet_write(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1191 | net/inet/af_inet.c | return inet_send(sock,ubuf,size,noblock,0); |
size | 1194 | net/inet/af_inet.c | static int inet_sendto(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1210 | net/inet/af_inet.c | return(sk->prot->sendto(sk, (unsigned char *) ubuf, size, noblock, flags, |
size | 949 | net/inet/arp.c | int size; |
size | 955 | net/inet/arp.c | size = sprintf(buffer,"IP address HW type Flags HW address Mask\n"); |
size | 957 | net/inet/arp.c | pos+=size; |
size | 958 | net/inet/arp.c | len+=size; |
size | 986 | net/inet/arp.c | size = sprintf(buffer+len, |
size | 992 | net/inet/arp.c | size += sprintf(buffer+len+size, |
size | 997 | net/inet/arp.c | len+=size; |
size | 164 | net/inet/datagram.c | void skb_copy_datagram(struct sk_buff *skb, int offset, char *to, int size) |
size | 168 | net/inet/datagram.c | memcpy_tofs(to,skb->h.raw+offset,size); |
size | 905 | net/inet/dev.c | int size; |
size | 908 | net/inet/dev.c | size = sprintf(buffer, "%6s:%7d %4d %4d %4d %4d %8d %4d %4d %4d %5d %4d\n", |
size | 920 | net/inet/dev.c | size = sprintf(buffer, "%6s: No statistics available.\n", dev->name); |
size | 922 | net/inet/dev.c | return size; |
size | 935 | net/inet/dev.c | int size; |
size | 940 | net/inet/dev.c | size = sprintf(buffer, "Inter-| Receive | Transmit\n" |
size | 943 | net/inet/dev.c | pos+=size; |
size | 944 | net/inet/dev.c | len+=size; |
size | 949 | net/inet/dev.c | size = sprintf_stats(buffer+len, dev); |
size | 950 | net/inet/dev.c | len+=size; |
size | 415 | net/inet/icmp.c | int size, offset; |
size | 420 | net/inet/icmp.c | size = dev->hard_header_len + 64 + len; |
size | 421 | net/inet/icmp.c | skb2 = alloc_skb(size, GFP_ATOMIC); |
size | 481 | net/inet/icmp.c | int size, offset; |
size | 498 | net/inet/icmp.c | size = dev->hard_header_len + 84; |
size | 500 | net/inet/icmp.c | if (! (skb2 = alloc_skb(size, GFP_ATOMIC))) |
size | 583 | net/inet/icmp.c | int size, offset; |
size | 589 | net/inet/icmp.c | size = dev->hard_header_len + 64 + len; |
size | 590 | net/inet/icmp.c | skb2 = alloc_skb(size, GFP_ATOMIC); |
size | 983 | net/inet/ipx.c | int size; |
size | 1000 | net/inet/ipx.c | size=sizeof(ipx_packet)+len; |
size | 1001 | net/inet/ipx.c | size += ipx_offset; |
size | 1003 | net/inet/ipx.c | if(size+sk->wmem_alloc>sk->sndbuf) return -EAGAIN; |
size | 1005 | net/inet/ipx.c | skb=alloc_skb(size,GFP_KERNEL); |
size | 1009 | net/inet/ipx.c | skb->len=size; |
size | 1709 | net/inet/ipx.c | static int ipx_send(struct socket *sock, void *ubuf, int size, int noblock, unsigned flags) |
size | 1711 | net/inet/ipx.c | return ipx_sendto(sock,ubuf,size,noblock,flags,NULL,0); |
size | 1714 | net/inet/ipx.c | static int ipx_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1744 | net/inet/ipx.c | copied = (truesize > size) ? size : truesize; |
size | 1759 | net/inet/ipx.c | static int ipx_write(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1761 | net/inet/ipx.c | return ipx_send(sock,ubuf,size,noblock,0); |
size | 1765 | net/inet/ipx.c | static int ipx_recv(struct socket *sock, void *ubuf, int size , int noblock, |
size | 1771 | net/inet/ipx.c | return ipx_recvfrom(sock,ubuf,size,noblock,flags,NULL, NULL); |
size | 1774 | net/inet/ipx.c | static int ipx_read(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1776 | net/inet/ipx.c | return ipx_recv(sock,ubuf,size,noblock,0); |
size | 432 | net/inet/rarp.c | int size; |
size | 438 | net/inet/rarp.c | size = sprintf(buffer,"RARP disabled until entries added to cache.\n"); |
size | 439 | net/inet/rarp.c | pos+=size; |
size | 440 | net/inet/rarp.c | len+=size; |
size | 444 | net/inet/rarp.c | size = sprintf(buffer, |
size | 446 | net/inet/rarp.c | pos+=size; |
size | 447 | net/inet/rarp.c | len+=size; |
size | 459 | net/inet/rarp.c | size = sprintf(buffer+len, |
size | 470 | net/inet/rarp.c | len+=size; |
size | 502 | net/inet/route.c | int size; |
size | 514 | net/inet/route.c | size = sprintf(buffer+len, "%s\t%08lX\t%08lX\t%02X\t%d\t%lu\t%d\t%08lX\t%d\t%lu\n", |
size | 518 | net/inet/route.c | len+=size; |
size | 519 | net/inet/route.c | pos+=size; |
size | 390 | net/inet/skbuff.c | struct sk_buff *alloc_skb(unsigned int size,int priority) |
size | 404 | net/inet/skbuff.c | size+=sizeof(struct sk_buff); |
size | 405 | net/inet/skbuff.c | skb=(struct sk_buff *)kmalloc(size,priority); |
size | 421 | net/inet/skbuff.c | skb->truesize = size; |
size | 422 | net/inet/skbuff.c | skb->mem_len = size; |
size | 436 | net/inet/skbuff.c | net_memory += size; |
size | 450 | net/inet/skbuff.c | void kfree_skbmem(struct sk_buff *skb,unsigned size) |
size | 462 | net/inet/skbuff.c | if(size!=skb->truesize) |
size | 471 | net/inet/skbuff.c | kfree_s((void *)skb,size); |
size | 473 | net/inet/skbuff.c | net_memory -= size; |
size | 481 | net/inet/skbuff.c | kfree_s((void *)skb,size); |
size | 483 | net/inet/skbuff.c | net_memory -= size; |
size | 316 | net/inet/sock.c | struct sk_buff *sock_wmalloc(struct sock *sk, unsigned long size, int force, int priority) |
size | 320 | net/inet/sock.c | if (sk->wmem_alloc + size < sk->sndbuf || force) |
size | 322 | net/inet/sock.c | struct sk_buff * c = alloc_skb(size, priority); |
size | 335 | net/inet/sock.c | return(alloc_skb(size, priority)); |
size | 339 | net/inet/sock.c | struct sk_buff *sock_rmalloc(struct sock *sk, unsigned long size, int force, int priority) |
size | 343 | net/inet/sock.c | if (sk->rmem_alloc + size < sk->rcvbuf || force) |
size | 345 | net/inet/sock.c | struct sk_buff *c = alloc_skb(size, priority); |
size | 358 | net/inet/sock.c | return(alloc_skb(size, priority)); |
size | 393 | net/inet/sock.c | void sock_wfree(struct sock *sk, struct sk_buff *skb, unsigned long size) |
size | 398 | net/inet/sock.c | kfree_skbmem(skb, size); |
size | 404 | net/inet/sock.c | sk->wmem_alloc -= size; |
size | 414 | net/inet/sock.c | void sock_rfree(struct sock *sk, struct sk_buff *skb, unsigned long size) |
size | 419 | net/inet/sock.c | kfree_skbmem(skb, size); |
size | 425 | net/inet/sock.c | sk->rmem_alloc -= size; |
size | 434 | net/inet/sock.c | struct sk_buff *sock_alloc_send_skb(struct sock *sk, unsigned long size, int noblock, int *errcode) |
size | 459 | net/inet/sock.c | skb = sock_wmalloc(sk, size, 0, GFP_KERNEL); |
size | 202 | net/inet/sock.h | unsigned long size, int force, |
size | 205 | net/inet/sock.h | unsigned long size, int force, |
size | 208 | net/inet/sock.h | unsigned long size); |
size | 210 | net/inet/sock.h | unsigned long size); |
size | 290 | net/inet/sock.h | unsigned long size, int force, |
size | 293 | net/inet/sock.h | unsigned long size, int force, |
size | 296 | net/inet/sock.h | unsigned long size); |
size | 298 | net/inet/sock.h | unsigned long size); |
size | 305 | net/inet/sock.h | extern struct sk_buff *sock_alloc_send_skb(struct sock *skb, unsigned long size, int noblock, int *errcode); |
size | 418 | net/inet/tcp.c | int size; |
size | 435 | net/inet/tcp.c | size = skb->len - (((unsigned char *) th) - skb->data); |
size | 461 | net/inet/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
size | 1118 | net/inet/tcp.c | int size; |
size | 1125 | net/inet/tcp.c | size = skb->len - ((unsigned char *) th - skb->data); |
size | 1131 | net/inet/tcp.c | if (size < sizeof(struct tcphdr) || size > skb->len) |
size | 1144 | net/inet/tcp.c | if (size == sizeof(struct tcphdr)) |
size | 1160 | net/inet/tcp.c | skb->h.seq = ntohl(th->seq) + size - 4*th->doff; |
size | 1204 | net/inet/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
size | 3069 | net/inet/tcp.c | int size; |
size | 3080 | net/inet/tcp.c | size = skb->len - (((unsigned char *) th) - skb->data); |
size | 3085 | net/inet/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
size | 259 | net/inet/udp.c | int size, tmp; |
size | 266 | net/inet/udp.c | size = sk->prot->max_header + len; |
size | 267 | net/inet/udp.c | skb = sock_alloc_send_skb(sk, size, 0, &tmp); |
size | 71 | net/socket.c | int size); |
size | 73 | net/socket.c | int size); |
size | 318 | net/socket.c | static int sock_read(struct inode *inode, struct file *file, char *ubuf, int size) |
size | 331 | net/socket.c | if(size<0) |
size | 333 | net/socket.c | if(size==0) |
size | 335 | net/socket.c | if ((err=verify_area(VERIFY_WRITE,ubuf,size))<0) |
size | 337 | net/socket.c | return(sock->ops->read(sock, ubuf, size, (file->f_flags & O_NONBLOCK))); |
size | 345 | net/socket.c | static int sock_write(struct inode *inode, struct file *file, char *ubuf, int size) |
size | 359 | net/socket.c | if(size<0) |
size | 361 | net/socket.c | if(size==0) |
size | 364 | net/socket.c | if ((err=verify_area(VERIFY_READ,ubuf,size))<0) |
size | 366 | net/socket.c | return(sock->ops->write(sock, ubuf, size,(file->f_flags & O_NONBLOCK))); |
size | 72 | net/unix/sock.c | static int unix_proto_read(struct socket *sock, char *ubuf, int size, |
size | 74 | net/unix/sock.c | static int unix_proto_write(struct socket *sock, char *ubuf, int size, |
size | 609 | net/unix/sock.c | static int unix_proto_read(struct socket *sock, char *ubuf, int size, int nonblock) |
size | 614 | net/unix/sock.c | if ((todo = size) <= 0) |
size | 669 | net/unix/sock.c | return(size - todo); |
size | 679 | net/unix/sock.c | static int unix_proto_write(struct socket *sock, char *ubuf, int size, int nonblock) |
size | 684 | net/unix/sock.c | if ((todo = size) <= 0) |
size | 765 | net/unix/sock.c | return(size - todo); |