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 | 96 | arch/alpha/kernel/bios32.c | unsigned int base, mask, size, reg; |
size | 125 | arch/alpha/kernel/bios32.c | size = (mask & base) & 0xffffffff; |
size | 126 | arch/alpha/kernel/bios32.c | base = ALIGN(io_base, size); |
size | 127 | arch/alpha/kernel/bios32.c | io_base = base + size; |
size | 140 | arch/alpha/kernel/bios32.c | size = (mask & base) & 0xffffffff; |
size | 186 | arch/alpha/kernel/bios32.c | base = ALIGN(mem_base, size); |
size | 187 | arch/alpha/kernel/bios32.c | if (size > 7 * 16*MB) { |
size | 193 | arch/alpha/kernel/bios32.c | PCI_FUNC(dev->devfn), size); |
size | 198 | arch/alpha/kernel/bios32.c | base = ALIGN(base, size); |
size | 200 | arch/alpha/kernel/bios32.c | if (base / 128*MB != (base + size) / 128*MB) { |
size | 203 | arch/alpha/kernel/bios32.c | base = ALIGN(base, size); |
size | 206 | arch/alpha/kernel/bios32.c | mem_base = base + size; |
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 | 84 | arch/i386/boot/compressed/misc.c | void *malloc(int size) |
size | 88 | arch/i386/boot/compressed/misc.c | if (size <0) error("Malloc error\n"); |
size | 95 | arch/i386/boot/compressed/misc.c | free_mem_ptr += size; |
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 | 570 | arch/sparc/mm/srmmu.c | srmmu_init_alloc(unsigned long *kbrk, unsigned size) |
size | 572 | arch/sparc/mm/srmmu.c | register unsigned mask = size - 1; |
size | 575 | arch/sparc/mm/srmmu.c | if(size==0) return 0x0; |
size | 576 | arch/sparc/mm/srmmu.c | if(size & mask) { |
size | 581 | arch/sparc/mm/srmmu.c | *kbrk = ret + size; |
size | 582 | arch/sparc/mm/srmmu.c | memset((void*) ret, 0, size); |
size | 180 | arch/sparc/prom/tree.c | prom_setprop(int node, char *pname, char *value, int size) |
size | 182 | arch/sparc/prom/tree.c | if(size == 0) return 0; |
size | 184 | arch/sparc/prom/tree.c | return prom_nodeops->no_setprop(node, pname, value, size); |
size | 229 | drivers/block/cdu31a.c | static void size_to_buf(unsigned int size, |
size | 986 | drivers/block/cdu31a.c | size_to_buf(unsigned int size, |
size | 989 | drivers/block/cdu31a.c | buf[0] = size / 65536; |
size | 990 | drivers/block/cdu31a.c | size = size % 65536; |
size | 991 | drivers/block/cdu31a.c | buf[1] = size / 256; |
size | 992 | drivers/block/cdu31a.c | buf[2] = size % 256; |
size | 1616 | drivers/block/cdu31a.c | int size) |
size | 1618 | drivers/block/cdu31a.c | src += (size - 1); |
size | 1619 | drivers/block/cdu31a.c | dst += (size - 1); |
size | 1620 | drivers/block/cdu31a.c | while (size > 0) |
size | 1623 | drivers/block/cdu31a.c | size--; |
size | 1149 | drivers/block/cm206.c | #define OK mem_start+size |
size | 1161 | drivers/block/cm206.c | long int size=sizeof(struct cm206_struct); |
size | 1178 | drivers/block/cm206.c | cd = (struct cm206_struct *) kmalloc(size, GFP_KERNEL); |
size | 1232 | drivers/block/cm206.c | " %ld bytes kernel memory used.\n", cd->max_sectors*2, size); |
size | 167 | drivers/block/floppy.c | static inline int __get_order (int size) |
size | 174 | drivers/block/floppy.c | : "r" (size / PAGE_SIZE) ); |
size | 177 | drivers/block/floppy.c | if (size <= (PAGE_SIZE << order)) |
size | 183 | drivers/block/floppy.c | static unsigned long dma_mem_alloc(int size) |
size | 185 | drivers/block/floppy.c | int order = __get_order(size); |
size | 2003 | drivers/block/floppy.c | unsigned char track,head,sect,size; |
size | 2042 | drivers/block/floppy.c | here[count].size = F_SIZECODE; |
size | 2212 | drivers/block/floppy.c | floppy->size >> 1; |
size | 2222 | drivers/block/floppy.c | floppy->size >> 1; |
size | 2242 | drivers/block/floppy.c | int size; |
size | 2246 | drivers/block/floppy.c | size = CURRENT->current_nr_sectors << 9; |
size | 2251 | drivers/block/floppy.c | while ( bh && bh->b_data == base + size ){ |
size | 2252 | drivers/block/floppy.c | size += bh->b_size; |
size | 2256 | drivers/block/floppy.c | return size >> 9; |
size | 2282 | drivers/block/floppy.c | int size; |
size | 2316 | drivers/block/floppy.c | size = CURRENT->current_nr_sectors << 9; |
size | 2320 | drivers/block/floppy.c | if ( size > remaining ) |
size | 2321 | drivers/block/floppy.c | size = remaining; |
size | 2323 | drivers/block/floppy.c | if (dma_buffer + size > |
size | 2342 | drivers/block/floppy.c | memcpy( buffer, dma_buffer, size); |
size | 2344 | drivers/block/floppy.c | memcpy( dma_buffer, buffer, size); |
size | 2345 | drivers/block/floppy.c | remaining -= size; |
size | 2349 | drivers/block/floppy.c | dma_buffer += size; |
size | 2357 | drivers/block/floppy.c | size = bh->b_size; |
size | 2789 | drivers/block/floppy.c | static int fd_copyout(void *param, volatile void *address, int size) |
size | 2793 | drivers/block/floppy.c | i = verify_area(VERIFY_WRITE,param,size); |
size | 2796 | drivers/block/floppy.c | memcpy_tofs(param,(void *) address, size); |
size | 3034 | drivers/block/floppy.c | floppy_type[type].size>>1; |
size | 3055 | drivers/block/floppy.c | floppy_sizes[drive] = user_params[drive].size >> 1; |
size | 3358 | drivers/block/floppy.c | int size = floppy_blocksizes[MINOR(dev)]; |
size | 3359 | drivers/block/floppy.c | if (!size) |
size | 3360 | drivers/block/floppy.c | size = 1024; |
size | 3361 | drivers/block/floppy.c | if (!(bh = getblk(dev,0,size))){ |
size | 3581 | drivers/block/floppy.c | floppy_sizes[i] = floppy_type[TYPE(i)].size >> 1; |
size | 36 | drivers/block/genhd.c | static void add_partition (struct gendisk *hd, int minor, int start, int size) |
size | 39 | drivers/block/genhd.c | hd->part[minor].nr_sects = size; |
size | 746 | drivers/block/gscd.c | static void cmd_read_b ( char *pb, int count, int size ) |
size | 775 | drivers/block/gscd.c | for ( i=0 ; i< size ; i++ ) |
size | 823 | drivers/block/gscd.c | static void cmd_read_w ( char *pb, int count, int size ) |
size | 847 | drivers/block/gscd.c | for ( i=0 ; i<size ; i++ ) |
size | 231 | drivers/block/mcdx.c | size_t size, unsigned int timeout, int); |
size | 758 | drivers/block/mcdx.c | void *buffer, size_t size, |
size | 768 | drivers/block/mcdx.c | if (!buffer || size == 0) buffer = &c, size = 1; |
size | 780 | drivers/block/mcdx.c | size, (unsigned char) cmd[0])); |
size | 788 | drivers/block/mcdx.c | int sz = size; |
size | 1286 | drivers/block/mcdx.c | int size; |
size | 1287 | drivers/block/mcdx.c | size = sizeof(struct s_subqcode) * (stuffp->di.n_last - stuffp->di.n_first + 2); |
size | 1289 | drivers/block/mcdx.c | TRACE((MALLOC, "ioctl() malloc %d bytes\n", size)); |
size | 1290 | drivers/block/mcdx.c | stuffp->toc = kmalloc(size, GFP_KERNEL); |
size | 1292 | drivers/block/mcdx.c | WARN(("Cannot malloc %s bytes for toc\n", size)); |
size | 798 | drivers/block/sonycd535.c | size_to_buf(unsigned int size, Byte *buf) |
size | 800 | drivers/block/sonycd535.c | buf[0] = size / 65536; |
size | 801 | drivers/block/sonycd535.c | size = size % 65536; |
size | 802 | drivers/block/sonycd535.c | buf[1] = size / 256; |
size | 803 | 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 | 245 | drivers/char/scc.c | sccfreelist[i]->bp->size = BUFSIZE; |
size | 295 | drivers/char/scc.c | sccfreelist[i]->bp->size = BUFSIZE; |
size | 1394 | drivers/char/scc.c | if(scc->sndq2->cnt == scc->sndq2->size) /* buffer full? */ |
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 | 205 | drivers/net/3c505.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 | 222 | drivers/net/arcnet.c | #define check_region(ioaddr, size) 0 |
size | 223 | 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 = dev_alloc_skb(size+2); |
size | 616 | drivers/net/de600.c | dev->name, size); |
size | 625 | drivers/net/de600.c | buffer = skb_put(skb,size); |
size | 629 | drivers/net/de600.c | for (i = size; i > 0; --i, ++buffer) |
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 = dev_alloc_skb(size+2); |
size | 684 | drivers/net/de620.c | dev->name, size); |
size | 692 | drivers/net/de620.c | buffer = skb_put(skb,size); |
size | 694 | drivers/net/de620.c | de620_read_block(buffer, size); |
size | 695 | 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 | 995 | drivers/net/ni52.c | p->xmit_buffs[0]->size = TBD_LAST | len; |
size | 1016 | drivers/net/ni52.c | p->xmit_buffs[0]->size = TBD_LAST | len; |
size | 1028 | 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 | 2117 | drivers/net/wavelan.c | int size; |
size | 2124 | drivers/net/wavelan.c | size = sprintf(buffer, "%s", "Iface | dce +nwid -nwid lvl slnc qual ntxq nrst\n"); |
size | 2126 | drivers/net/wavelan.c | pos += size; |
size | 2127 | drivers/net/wavelan.c | len += size; |
size | 2138 | drivers/net/wavelan.c | size = sprintf_stats(buffer + len, lp->dev); |
size | 2140 | drivers/net/wavelan.c | len += size; |
size | 407 | drivers/pci/pci.c | static int sprint_dev_config(struct pci_dev *dev, char *buf, int size) |
size | 427 | drivers/pci/pci.c | if (len + 80 > size) { |
size | 433 | drivers/pci/pci.c | if (len + 80 > size) { |
size | 452 | drivers/pci/pci.c | if (len + strlen(str) > size) { |
size | 459 | drivers/pci/pci.c | if (len + strlen(fast_b2b_capable) > size) { |
size | 468 | drivers/pci/pci.c | if (len + strlen(BIST_capable) > size) { |
size | 476 | drivers/pci/pci.c | if (len + 40 > size) { |
size | 483 | drivers/pci/pci.c | if (len + 80 > size) { |
size | 498 | drivers/pci/pci.c | if (len + 40 > size) { |
size | 550 | drivers/pci/pci.c | int nprinted, len, size; |
size | 555 | drivers/pci/pci.c | size = PAGE_SIZE - (strlen(MSG) + 1); |
size | 559 | drivers/pci/pci.c | nprinted = sprint_dev_config(dev, buf + len, size - len); |
size | 573 | drivers/pci/pci.c | static void *pci_malloc(long size, unsigned long *mem_startp) |
size | 578 | drivers/pci/pci.c | printk("...pci_malloc(size=%ld,mem=%p)", size, *mem_startp); |
size | 581 | drivers/pci/pci.c | *mem_startp += (size + sizeof(void*) - 1) & ~(sizeof(void*) - 1); |
size | 582 | drivers/pci/pci.c | memset(mem, 0, size); |
size | 681 | drivers/scsi/53c7,8xx.c | int script_len = 0, dsa_len = 0, size = 0, max_cmd_size = 0; |
size | 753 | drivers/scsi/53c7,8xx.c | size = sizeof(struct NCR53c7x0_hostdata) + script_len + max_cmd_size; |
size | 755 | drivers/scsi/53c7,8xx.c | instance = scsi_register (tpnt, size); |
size | 766 | drivers/scsi/53c7,8xx.c | hostdata->size = size; |
size | 826 | drivers/scsi/53c7,8xx.c | hostdata->free->size = max_cmd_size; |
size | 2364 | drivers/scsi/53c7,8xx.c | int size; /* Size of *tmp */ |
size | 2388 | drivers/scsi/53c7,8xx.c | size = (hostdata->max_cmd_size + 511) / 512 * 512; |
size | 2389 | drivers/scsi/53c7,8xx.c | tmp = (struct NCR53c7x0_cmd *) scsi_malloc (size); |
size | 2396 | drivers/scsi/53c7,8xx.c | size = hostdata->max_cmd_size + sizeof(void*); |
size | 2397 | drivers/scsi/53c7,8xx.c | real = kmalloc (size, GFP_ATOMIC); |
size | 2404 | drivers/scsi/53c7,8xx.c | tmp->size = size; |
size | 3719 | drivers/scsi/53c7,8xx.c | int size; |
size | 3727 | drivers/scsi/53c7,8xx.c | size = 3; |
size | 3730 | drivers/scsi/53c7,8xx.c | size = 2; |
size | 3741 | drivers/scsi/53c7,8xx.c | return size; |
size | 971 | drivers/scsi/53c7,8xx.h | int size; /* scsi_malloc'd size of this |
size | 1048 | drivers/scsi/53c7,8xx.h | int size; /* Size of entire Scsi_Host |
size | 1111 | drivers/scsi/aha152x.c | int size = disk->capacity; |
size | 1115 | drivers/scsi/aha152x.c | printk("aha152x_biosparam: dev=%x, size=%d, ", dev, size); |
size | 1122 | 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 | 502 | drivers/scsi/aha1740.c | int size = disk->capacity; |
size | 506 | drivers/scsi/aha1740.c | ip[2] = size >> 11; |
size | 66 | drivers/scsi/aic7xxx_asm.c | Malloc(size_t size) |
size | 68 | drivers/scsi/aic7xxx_asm.c | void *p = malloc(size); |
size | 75 | drivers/scsi/aic7xxx_asm.c | Realloc(void *ptr, size_t size) |
size | 77 | drivers/scsi/aic7xxx_asm.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 | 830 | drivers/scsi/eata_dma.c | ulong size = 0; |
size | 922 | drivers/scsi/eata_dma.c | size = sizeof(hostdata) + ((sizeof(struct eata_ccb) + sizeof(long)) |
size | 925 | drivers/scsi/eata_dma.c | DBG(DBG_REGISTER, printk("scsi_register size: %ld\n", size)); |
size | 927 | drivers/scsi/eata_dma.c | sh = scsi_register(tpnt, size); |
size | 103 | drivers/scsi/eata_dma_proc.c | int size, len = 0; |
size | 132 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len, "EATA (Extended Attachment) driver version: " |
size | 134 | drivers/scsi/eata_dma_proc.c | len += size; pos = begin + len; |
size | 135 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "queued commands: %10ld\n" |
size | 137 | drivers/scsi/eata_dma_proc.c | len += size; pos = begin + len; |
size | 139 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "\nscsi%-2d: HBA %.10s\n", |
size | 141 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 143 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Firmware revision: v%s\n", |
size | 145 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 147 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Hardware Configuration:\n"); |
size | 148 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 153 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "DMA: BUSMASTER\n"); |
size | 155 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "DMA: %d\n", HBA_ptr->dma_channel); |
size | 156 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 159 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Base IO : %#.4x\n", (u32) HBA_ptr->base); |
size | 160 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 162 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Host Bus: EISA\n"); |
size | 163 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 193 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "IRQ: %2d, %s triggered\n", cc->interrupt, |
size | 195 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 198 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "DMA: BUSMASTER\n"); |
size | 200 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "DMA: %d\n", HBA_ptr->dma_channel); |
size | 201 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 203 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "CPU: MC680%02d %dMHz\n", bt->cpu_type, |
size | 205 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 207 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Base IO : %#.4x\n", (u32) HBA_ptr->base); |
size | 208 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 210 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Host Bus: %s\n", |
size | 214 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 216 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "SCSI Bus:%s%s Speed: %sMB/sec. %s\n", |
size | 221 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 223 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "SCSI channel expansion Module: %s installed\n", |
size | 226 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 228 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "SmartRAID hardware: %spresent.\n", |
size | 230 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 232 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Type: %s\n", |
size | 238 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 241 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Max array groups: %d\n", |
size | 243 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 245 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Max drives per RAID 0 array: %d\n", |
size | 247 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 249 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Max drives per RAID 3/5 array: %d\n", |
size | 251 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 253 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Cache Module: %sinstalled.\n", |
size | 255 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 257 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Type: %s\n", |
size | 263 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 266 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Bank%d: %dMB with%s ECC\n",x, |
size | 269 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 272 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Timer Modification: %sinstalled\n", |
size | 274 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 276 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "NVRAM: %spresent\n", |
size | 278 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 280 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "SmartROM: %senabled\n", |
size | 282 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 284 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "HBA indicates %salarm.\n", |
size | 286 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 330 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Host Disk Command Statistics:\n" |
size | 332 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 335 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"%5dk:%12u %12u\n", 1 << x, |
size | 338 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 341 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,">1024k:%12u %12u\n", |
size | 344 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 346 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"Sum : %12u %12u\n", |
size | 349 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 361 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Host Latency Command Statistics:\n" |
size | 364 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 367 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"%5dk:%12u %12u %12u %12u\n", |
size | 376 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 379 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,">1024k:%12u %12u %12u %12u\n", |
size | 387 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 397 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, |
size | 399 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 402 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"%5dk:%12u %12u %12u %12u\n", |
size | 411 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 414 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,">1024k:%12u %12u %12u %12u\n", |
size | 422 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 435 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none"); |
size | 436 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 442 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, |
size | 447 | drivers/scsi/eata_dma_proc.c | size += sprintf(buffer + len + size, "%c", scd->vendor[x]); |
size | 449 | drivers/scsi/eata_dma_proc.c | size += sprintf(buffer + len + size," "); |
size | 451 | drivers/scsi/eata_dma_proc.c | size += sprintf(buffer + len + size, " Model: "); |
size | 454 | drivers/scsi/eata_dma_proc.c | size += sprintf(buffer + len + size, "%c", scd->model[x]); |
size | 456 | drivers/scsi/eata_dma_proc.c | size += sprintf(buffer + len + size, " "); |
size | 458 | drivers/scsi/eata_dma_proc.c | size += sprintf(buffer + len + size, " Rev: "); |
size | 461 | drivers/scsi/eata_dma_proc.c | size += sprintf(buffer + len + size, "%c", scd->rev[x]); |
size | 463 | drivers/scsi/eata_dma_proc.c | size += sprintf(buffer + len + size, " "); |
size | 465 | drivers/scsi/eata_dma_proc.c | size += sprintf(buffer + len + size, "\n"); |
size | 467 | drivers/scsi/eata_dma_proc.c | size += sprintf(buffer + len + size, " Type: %s ", |
size | 470 | drivers/scsi/eata_dma_proc.c | size += sprintf(buffer + len + size, " ANSI" |
size | 473 | drivers/scsi/eata_dma_proc.c | size += sprintf(buffer + len + size, " CCS\n"); |
size | 475 | drivers/scsi/eata_dma_proc.c | size += sprintf(buffer + len + size, "\n"); |
size | 476 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 685 | drivers/scsi/eata_pio.c | ulong size = 0; |
size | 736 | drivers/scsi/eata_pio.c | size = sizeof(hostdata) + (sizeof(struct eata_ccb) * ntohs(gc->queuesiz)); |
size | 738 | drivers/scsi/eata_pio.c | sh = scsi_register(tpnt, size); |
size | 44 | drivers/scsi/eata_pio_proc.c | int size, len = 0; |
size | 61 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer+len, "EATA (Extended Attachment) PIO driver version: " |
size | 63 | drivers/scsi/eata_pio_proc.c | len += size; pos = begin + len; |
size | 64 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer + len, "queued commands: %10ld\n" |
size | 66 | drivers/scsi/eata_pio_proc.c | len += size; pos = begin + len; |
size | 68 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer + len, "\nscsi%-2d: HBA %.10s\n", |
size | 70 | drivers/scsi/eata_pio_proc.c | len += size; |
size | 72 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer + len, "Firmware revision: v%s\n", |
size | 74 | drivers/scsi/eata_pio_proc.c | len += size; |
size | 76 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer + len, "IO: PIO\n"); |
size | 77 | drivers/scsi/eata_pio_proc.c | len += size; |
size | 79 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer + len, "Base IO : %#.4x\n", (u32) HBA_ptr->base); |
size | 80 | drivers/scsi/eata_pio_proc.c | len += size; |
size | 82 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer + len, "Host Bus: %s\n", |
size | 86 | drivers/scsi/eata_pio_proc.c | len += size; |
size | 98 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none"); |
size | 99 | drivers/scsi/eata_pio_proc.c | len += size; |
size | 105 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer + len, "Channel: %02d Id: %02d Lun: %02d\n Vendor: ", |
size | 109 | drivers/scsi/eata_pio_proc.c | size += sprintf(buffer + len + size, "%c", scd->vendor[x]); |
size | 111 | drivers/scsi/eata_pio_proc.c | size += sprintf(buffer + len + size," "); |
size | 113 | drivers/scsi/eata_pio_proc.c | size += sprintf(buffer + len + size, " Model: "); |
size | 116 | drivers/scsi/eata_pio_proc.c | size += sprintf(buffer + len + size, "%c", scd->model[x]); |
size | 118 | drivers/scsi/eata_pio_proc.c | size += sprintf(buffer + len + size, " "); |
size | 120 | drivers/scsi/eata_pio_proc.c | size += sprintf(buffer + len + size, " Rev: "); |
size | 123 | drivers/scsi/eata_pio_proc.c | size += sprintf(buffer + len + size, "%c", scd->rev[x]); |
size | 125 | drivers/scsi/eata_pio_proc.c | size += sprintf(buffer + len + size, " "); |
size | 127 | drivers/scsi/eata_pio_proc.c | size += sprintf(buffer + len + size, "\n"); |
size | 129 | drivers/scsi/eata_pio_proc.c | size += sprintf(buffer + len + size, " Type: %s ", |
size | 132 | drivers/scsi/eata_pio_proc.c | size += sprintf(buffer + len + size, " ANSI" |
size | 135 | drivers/scsi/eata_pio_proc.c | size += sprintf(buffer + len + size, " CCS\n"); |
size | 137 | drivers/scsi/eata_pio_proc.c | size += sprintf(buffer + len + size, "\n"); |
size | 138 | drivers/scsi/eata_pio_proc.c | len += size; |
size | 972 | drivers/scsi/fdomain.c | unsigned long blocks, size, capacity; |
size | 976 | drivers/scsi/fdomain.c | size = (buf[4] << 24) | (buf[5] << 16) | (buf[6] << 8) | buf[7]; |
size | 977 | drivers/scsi/fdomain.c | capacity = +( +(blocks / 1024L) * +(size * 10L)) / 1024L; |
size | 980 | drivers/scsi/fdomain.c | ((capacity + 5L) / 10L), size ); |
size | 1756 | drivers/scsi/fdomain.c | int size = disk->capacity; |
size | 1889 | drivers/scsi/fdomain.c | if ((unsigned int)size >= 0x7e0000U) { |
size | 1892 | drivers/scsi/fdomain.c | } else if ((unsigned int)size >= 0x200000U) { |
size | 1901 | drivers/scsi/fdomain.c | info_array[2] = (unsigned int)size / (info_array[0] * info_array[1] ); |
size | 319 | drivers/scsi/hosts.h | extern void * scsi_init_malloc(unsigned int size, int priority); |
size | 320 | drivers/scsi/hosts.h | extern void scsi_init_free(char * ptr, unsigned int size); |
size | 420 | drivers/scsi/in2000.c | int timeout, size, loop; |
size | 452 | drivers/scsi/in2000.c | size = SCpnt->cmd_len; /* CDB length */ |
size | 513 | drivers/scsi/in2000.c | for ( loop=0; loop < size; loop++ ) |
size | 689 | drivers/scsi/in2000.c | int size = disk->capacity; |
size | 693 | drivers/scsi/in2000.c | iinfo[2] = size >> 11; |
size | 453 | drivers/scsi/pas16.c | int size = disk->capacity; |
size | 456 | drivers/scsi/pas16.c | ip[2] = size >> 11; /* I think I have it as /(32*64) */ |
size | 460 | drivers/scsi/pas16.c | ip[2]=size/(63*255); |
size | 2159 | drivers/scsi/scsi.c | void * scsi_init_malloc(unsigned int size, int priority) |
size | 2174 | drivers/scsi/scsi.c | if(size == PAGE_SIZE) |
size | 2177 | drivers/scsi/scsi.c | retval = (unsigned long) kmalloc(size, priority); |
size | 2184 | drivers/scsi/scsi.c | size = (size + 15) & ~15; |
size | 2187 | drivers/scsi/scsi.c | (scsi_init_memory_start + size) > scsi_memory_upper_value) { |
size | 2193 | drivers/scsi/scsi.c | scsi_init_memory_start += size; |
size | 2196 | drivers/scsi/scsi.c | memset((void *) retval, 0, size); |
size | 2201 | drivers/scsi/scsi.c | void scsi_init_free(char * ptr, unsigned int size) |
size | 2212 | drivers/scsi/scsi.c | if(size == PAGE_SIZE) |
size | 2218 | drivers/scsi/scsi.c | size = (size + 15) & ~15; |
size | 2220 | drivers/scsi/scsi.c | if(((unsigned long) ptr) + size == scsi_init_memory_start) |
size | 579 | drivers/scsi/scsi_debug.c | int size = disk->capacity; |
size | 582 | drivers/scsi/scsi_debug.c | info[2] = (size + 2047) >> 11; |
size | 56 | drivers/scsi/scsicam.c | int size = disk->capacity; |
size | 64 | drivers/scsi/scsicam.c | ret_code = partsize (bh, (unsigned long) size, (unsigned int *) ip + 2, |
size | 72 | drivers/scsi/scsicam.c | ret_code = setsize ((unsigned long) size, (unsigned int *) ip + 2, |
size | 68 | drivers/scsi/sg.c | static void sg_free(char *buff,int size); |
size | 165 | drivers/scsi/sg.c | static char *sg_malloc(int size) |
size | 167 | drivers/scsi/sg.c | if (size<=4096) |
size | 168 | drivers/scsi/sg.c | return (char *) scsi_malloc(size); |
size | 170 | drivers/scsi/sg.c | if (size<=SG_BIG_BUFF) |
size | 185 | drivers/scsi/sg.c | static void sg_free(char *buff,int size) |
size | 195 | drivers/scsi/sg.c | scsi_free(buff,size); |
size | 294 | drivers/scsi/sg.c | int bsize,size,amt,i; |
size | 401 | drivers/scsi/sg.c | size=COMMAND_SIZE(opcode); |
size | 402 | drivers/scsi/sg.c | if (opcode >= 0xc0 && device->header.twelve_byte) size = 12; |
size | 403 | drivers/scsi/sg.c | SCpnt->cmd_len = size; |
size | 411 | drivers/scsi/sg.c | amt -= size; |
size | 416 | drivers/scsi/sg.c | if( count < (sizeof(struct sg_header) + size) ) |
size | 428 | drivers/scsi/sg.c | memcpy_fromfs(cmnd,buf,size); |
size | 429 | drivers/scsi/sg.c | buf+=size; |
size | 294 | drivers/scsi/t128.c | int size = disk->capacity; |
size | 297 | drivers/scsi/t128.c | ip[2] = size >> 11; |
size | 824 | drivers/scsi/u14-34f.c | int size = disk->capacity; |
size | 828 | drivers/scsi/u14-34f.c | dkinfo[2] = size / (HD(j)->heads * HD(j)->sectors); |
size | 1008 | drivers/scsi/ultrastor.c | int size = disk->capacity; |
size | 1013 | drivers/scsi/ultrastor.c | dkinfo[2] = size / s; /* Ignore partial cylinders */ |
size | 1215 | drivers/scsi/wd7000.c | int size = disk->capacity; |
size | 1218 | drivers/scsi/wd7000.c | ip[2] = size >> 11; |
size | 541 | drivers/sound/dmabuf.c | DMAbuf_getwrbuffer (int dev, char **buf, int *size, int dontblock) |
size | 608 | drivers/sound/dmabuf.c | *size = dmap->fragment_size; |
size | 991 | drivers/sound/dmabuf.c | DMAbuf_getwrbuffer (int dev, char **buf, int *size, int dontblock) |
size | 139 | drivers/sound/os.h | #define PERMANENT_MALLOC(typecast, mem_ptr, size, linux_ptr) \ |
size | 141 | drivers/sound/os.h | linux_ptr += (size);} |
size | 229 | drivers/sound/pss.c | pss_download_boot (pss_config * devc, unsigned char *block, int size, int flags) |
size | 264 | drivers/sound/pss.c | if (count >= size && flags & CPF_LAST) |
size | 269 | drivers/sound/pss.c | count, size); |
size | 7 | drivers/sound/sound_calls.h | int DMAbuf_getwrbuffer(int dev, char **buf, int *size, int dontblock); |
size | 437 | drivers/sound/sscape.c | sscape_download_boot (struct sscape_info *devc, unsigned char *block, int size, int flag) |
size | 479 | drivers/sound/sscape.c | memcpy (audio_devs[devc->my_audiodev]->dmap->raw_buf[0], block, size); |
size | 485 | drivers/sound/sscape.c | size, DMA_MODE_WRITE); |
size | 905 | fs/binfmt_elf.c | size_t size; |
size | 926 | fs/binfmt_elf.c | size = 0; |
size | 933 | fs/binfmt_elf.c | if (size+sz > limit) |
size | 937 | fs/binfmt_elf.c | size += sz; |
size | 940 | fs/binfmt_elf.c | printk("elf_core_dump: %d segs taking %d bytes\n", segs, 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 | 1157 | fs/buffer.c | memset((void *) where, 0, size); |
size | 1166 | fs/buffer.c | void bwrite_page(unsigned long address, dev_t dev, int b[], int size) |
size | 1171 | fs/buffer.c | for (i=0, j=0; j<PAGE_SIZE ; i++, j+= size) { |
size | 1174 | fs/buffer.c | bh[i] = getblk(dev, b[i], size); |
size | 1176 | fs/buffer.c | for (i=0, j=0; j<PAGE_SIZE ; i++, j += size, address += size) { |
size | 1178 | fs/buffer.c | memcpy(bh[i]->b_data, (void *) address, size); |
size | 1183 | fs/buffer.c | memset((void *) address, 0, size); |
size | 1191 | fs/buffer.c | static int grow_buffers(int pri, int size) |
size | 1198 | fs/buffer.c | if ((size & 511) || (size > PAGE_SIZE)) { |
size | 1199 | fs/buffer.c | printk("VFS: grow_buffers: size = %d\n",size); |
size | 1203 | fs/buffer.c | isize = BUFSIZE_INDEX(size); |
size | 1207 | fs/buffer.c | bh = create_buffers(page, size); |
size | 1300 | fs/buffer.c | static int maybe_shrink_lav_buffers(int size) |
size | 1323 | fs/buffer.c | isize = (size ? BUFSIZE_INDEX(size) : -1); |
size | 1362 | fs/buffer.c | static int shrink_specific_buffers(unsigned int priority, int size) |
size | 1369 | fs/buffer.c | if(size) printk("Shrinking buffers of size %d\n", size); |
size | 1373 | fs/buffer.c | isize1 = (size ? BUFSIZE_INDEX(size) : -1); |
size | 1402 | fs/buffer.c | if(size && bh->b_size != size) continue; |
size | 1526 | fs/buffer.c | unsigned int starting_block, int size) |
size | 1529 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 1536 | fs/buffer.c | while(nr_free[isize] < 32) refill_freelist(size); |
size | 1552 | fs/buffer.c | static unsigned long try_to_generate_cluster(dev_t dev, int block, int size) |
size | 1555 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 1563 | fs/buffer.c | bh = create_buffers(page, size); |
size | 1569 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
size | 1570 | fs/buffer.c | if (find_buffer(dev, nblock++, size)) |
size | 1609 | fs/buffer.c | unsigned long generate_cluster(dev_t dev, int b[], int size) |
size | 1613 | fs/buffer.c | for (i = 0, offset = 0 ; offset < PAGE_SIZE ; i++, offset += size) { |
size | 1615 | fs/buffer.c | if(find_buffer(dev, b[i], size)) return 0; |
size | 1622 | fs/buffer.c | if(maybe_shrink_lav_buffers(size)) |
size | 1625 | fs/buffer.c | retval = try_to_generate_cluster(dev, b[0], size); |
size | 1630 | fs/buffer.c | return try_to_generate_cluster(dev, b[0], size); |
size | 1632 | 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 | 118 | fs/ext2/file.c | size = (size + sb->s_blocksize - 1) >> EXT2_BLOCK_SIZE_BITS(sb); |
size | 124 | fs/ext2/file.c | if (block + blocks > size) |
size | 125 | fs/ext2/file.c | blocks = size - block; |
size | 487 | fs/isofs/inode.c | inode->i_size = isonum_733 (raw_inode->size); |
size | 675 | fs/isofs/inode.c | directory_size = isonum_733 (de->size); |
size | 775 | fs/isofs/inode.c | void * leak_check_malloc(unsigned int size){ |
size | 778 | fs/isofs/inode.c | tmp = kmalloc(size, GFP_KERNEL); |
size | 782 | fs/isofs/inode.c | void leak_check_free_s(void * obj, int size){ |
size | 784 | fs/isofs/inode.c | return kfree_s(obj, size); |
size | 787 | fs/isofs/inode.c | struct buffer_head * leak_check_bread(int dev, int block, int size){ |
size | 789 | 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 | 85 | fs/minix/dir.c | int size = strnlen(de->name, info->s_namelen); |
size | 86 | fs/minix/dir.c | if (filldir(dirent, de->name, size, filp->f_pos, de->inode) < 0) { |
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 | 426 | fs/msdos/inode.c | inode->i_size = CF_LE_L(raw_entry->size); |
size | 458 | fs/msdos/inode.c | raw_entry->size = 0; |
size | 462 | fs/msdos/inode.c | raw_entry->size = CT_LE_L(inode->i_size); |
size | 204 | fs/msdos/namei.c | de->size = 0; |
size | 242 | fs/nfs/dir.c | if (fattr->size == -1 || fattr->uid == -1 || fattr->gid == -1 |
size | 359 | fs/nfs/dir.c | sattr.uid = sattr.gid = sattr.size = (unsigned) -1; |
size | 395 | fs/nfs/dir.c | sattr.size = rdev; /* get out your barf bag */ |
size | 397 | fs/nfs/dir.c | sattr.size = (unsigned) -1; |
size | 424 | fs/nfs/dir.c | sattr.uid = sattr.gid = sattr.size = (unsigned) -1; |
size | 494 | fs/nfs/dir.c | sattr.uid = sattr.gid = sattr.size = (unsigned) -1; |
size | 590 | fs/nfs/dir.c | inode->i_size = fattr->size; |
size | 265 | fs/nfs/inode.c | sattr.size = S_ISREG(inode->i_mode) ? attr->ia_size : -1; |
size | 267 | 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 | 212 | fs/nfs/sock.c | size + 1024, 1, 0, NULL, |
size | 233 | fs/nfs/sock.c | int nfs_rpc_call(struct nfs_server *server, int *start, int *end, int size) |
size | 240 | 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 | 320 | fs/proc/array.c | int size = 0, result = 0; |
size | 332 | fs/proc/array.c | result = size; |
size | 333 | fs/proc/array.c | if (size < PAGE_SIZE) |
size | 334 | fs/proc/array.c | buffer[size++] = c; |
size | 474 | fs/proc/array.c | static inline void statm_pte_range(pmd_t * pmd, unsigned long address, unsigned long size, |
size | 489 | fs/proc/array.c | end = address + size; |
size | 512 | fs/proc/array.c | static inline void statm_pmd_range(pgd_t * pgd, unsigned long address, unsigned long size, |
size | 527 | fs/proc/array.c | end = address + size; |
size | 550 | fs/proc/array.c | int size=0, resident=0, share=0, trs=0, lrs=0, drs=0, dt=0; |
size | 565 | fs/proc/array.c | size += total; |
size | 578 | fs/proc/array.c | size, resident, share, trs, lrs, drs, dt); |
size | 788 | fs/smbfs/dir.c | entry.size = 0; |
size | 107 | fs/smbfs/inode.c | inode->i_size = SMB_INOP(inode)->finfo.size; |
size | 594 | fs/smbfs/proc.c | entry->size = DVAL(buf, smb_vwv4); |
size | 858 | fs/smbfs/proc.c | entry->size = DVAL(p, 5); |
size | 1011 | fs/smbfs/proc.c | finfo->size = DVAL(p,16); |
size | 1026 | fs/smbfs/proc.c | finfo->size = DVAL(p,16); |
size | 1050 | fs/smbfs/proc.c | finfo->size = DVAL(p,0); |
size | 1339 | fs/smbfs/proc.c | entry->size = DVAL(buf, smb_vwv3); |
size | 1363 | fs/smbfs/proc.c | entry->size = DVAL(buf, smb_vwv6); |
size | 1391 | fs/smbfs/proc.c | entry->size = temp_entry.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 | 210 | fs/umsdos/emd.c | int size; /* Current size of buffer */ |
size | 225 | fs/umsdos/emd.c | int mustmove = buf->size - buf->pos; |
size | 238 | fs/umsdos/emd.c | if (ret == 0) buf->size = mustmove + mustread; |
size | 240 | fs/umsdos/emd.c | buf->size = mustmove; |
size | 293 | fs/umsdos/emd.c | buf.size = 0; |
size | 302 | fs/umsdos/emd.c | int file_pos = buf.filp.f_pos - buf.size + buf.pos; |
size | 303 | fs/umsdos/emd.c | if (buf.pos == buf.size){ |
size | 333 | 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 | 120 | include/asm-alpha/hwrpb.h | unsigned long size; /* size of hwrpb */ |
size | 39 | include/asm-alpha/ioctl.h | #define _IOC(dir,type,nr,size) \ |
size | 43 | include/asm-alpha/ioctl.h | ((size) << _IOC_SIZESHIFT)) |
size | 47 | include/asm-alpha/ioctl.h | #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) |
size | 48 | include/asm-alpha/ioctl.h | #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) |
size | 49 | include/asm-alpha/ioctl.h | #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) |
size | 22 | include/asm-alpha/segment.h | static inline void __put_user(unsigned long x, void * y, int size) |
size | 24 | include/asm-alpha/segment.h | switch (size) { |
size | 43 | include/asm-alpha/segment.h | static inline unsigned long __get_user(const void * y, int size) |
size | 45 | include/asm-alpha/segment.h | switch (size) { |
size | 131 | include/asm-alpha/system.h | static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) |
size | 133 | include/asm-alpha/system.h | switch (size) { |
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 | 88 | include/asm-i386/bitops.h | :"c" ((size + 31) >> 5), "D" (addr), "b" (addr) |
size | 93 | include/asm-i386/bitops.h | extern inline int find_next_zero_bit (void * addr, int size, int offset) |
size | 117 | include/asm-i386/bitops.h | res = find_first_zero_bit (p, size - 32 * (p - (unsigned long *) addr)); |
size | 35 | include/asm-i386/segment.h | static inline void __put_user(unsigned long x, void * y, int size) |
size | 37 | include/asm-i386/segment.h | switch (size) { |
size | 58 | include/asm-i386/segment.h | static inline unsigned long __get_user(const void * y, int size) |
size | 62 | include/asm-i386/segment.h | switch (size) { |
size | 562 | include/asm-i386/string.h | extern inline void * memscan(void * addr, int c, size_t size) |
size | 564 | include/asm-i386/string.h | if (!size) |
size | 571 | include/asm-i386/string.h | : "=D" (addr), "=c" (size) |
size | 572 | include/asm-i386/string.h | : "0" (addr), "1" (size), "a" (c)); |
size | 147 | include/asm-i386/system.h | static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) |
size | 149 | include/asm-i386/system.h | switch (size) { |
size | 229 | include/asm-i386/system.h | #define set_ldt_desc(n,addr,size) \ |
size | 230 | 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 | 284 | include/asm-sparc/bitops.h | find_next_zero_bit(void *addr, unsigned long size, unsigned long offset) |
size | 295 | include/asm-sparc/bitops.h | if (offset >= size) |
size | 296 | include/asm-sparc/bitops.h | return size; |
size | 297 | include/asm-sparc/bitops.h | size -= result; |
size | 303 | include/asm-sparc/bitops.h | if (size < 32) |
size | 307 | include/asm-sparc/bitops.h | size -= 32; |
size | 310 | include/asm-sparc/bitops.h | while (size & ~32UL) |
size | 315 | include/asm-sparc/bitops.h | size -= 32; |
size | 317 | include/asm-sparc/bitops.h | if (!size) |
size | 322 | include/asm-sparc/bitops.h | tmp |= ~0UL << size; |
size | 332 | include/asm-sparc/bitops.h | #define find_first_zero_bit(addr, size) \ |
size | 333 | include/asm-sparc/bitops.h | find_next_zero_bit((addr), (size), 0) |
size | 76 | include/asm-sparc/openprom.h | void (*v2_dumb_munmap)(char* virta, unsigned size); |
size | 174 | include/asm-sparc/oplib.h | extern char *prom_alloc(char *virt_hint, unsigned int size); |
size | 177 | include/asm-sparc/oplib.h | extern void prom_free(char *virt_addr, unsigned int size); |
size | 63 | include/linux/fd.h | unsigned int size, /* nr of sectors total */ |
size | 435 | include/linux/fs.h | extern void refill_freelist(int size); |
size | 494 | include/linux/fs.h | extern struct buffer_head * get_hash_table(dev_t dev, int block, int size); |
size | 495 | include/linux/fs.h | extern struct buffer_head * getblk(dev_t dev, int block, int size); |
size | 501 | include/linux/fs.h | extern void set_blocksize(dev_t dev, int size); |
size | 502 | include/linux/fs.h | extern struct buffer_head * bread(dev_t dev, int block, int size); |
size | 503 | include/linux/fs.h | extern unsigned long bread_page(unsigned long addr,dev_t dev,int b[],int size,int no_share); |
size | 504 | include/linux/fs.h | extern void bwrite_page(unsigned long addr,dev_t dev,int b[],int size); |
size | 505 | include/linux/fs.h | extern struct buffer_head * breada(dev_t dev,int block, int size, |
size | 508 | 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 | 179 | include/linux/mm.h | extern int unmap_page_range(unsigned long from, unsigned long size); |
size | 180 | include/linux/mm.h | extern int remap_page_range(unsigned long from, unsigned long to, unsigned long size, pgprot_t prot); |
size | 181 | include/linux/mm.h | extern int zeromap_page_range(unsigned long from, unsigned long size, pgprot_t prot); |
size | 195 | 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 | 143 | include/linux/scc.h | int size; /* Size of associated data buffer */ |
size | 62 | include/linux/shm.h | asmlinkage int sys_shmget (key_t key, int size, int flag); |
size | 126 | include/linux/skbuff.h | extern struct sk_buff * alloc_skb(unsigned int size, int priority); |
size | 127 | include/linux/skbuff.h | extern struct sk_buff * dev_alloc_skb(unsigned int size); |
size | 365 | include/linux/skbuff.h | extern void skb_copy_datagram(struct sk_buff *from, int offset, char *to,int size); |
size | 97 | include/linux/smb.h | unsigned long size; /* File size. */ |
size | 65 | include/linux/smb_fs.h | smb_kmalloc(unsigned int size, int priority) |
size | 69 | include/linux/smb_fs.h | return kmalloc(size, priority); |
size | 73 | include/linux/smb_fs.h | smb_kfree_s(void *obj, int size) |
size | 76 | include/linux/smb_fs.h | kfree_s(obj, size); |
size | 211 | include/net/sock.h | unsigned long size, int force, |
size | 214 | include/net/sock.h | unsigned long size, int force, |
size | 299 | include/net/sock.h | unsigned long size, int force, |
size | 302 | include/net/sock.h | unsigned long size, int force, |
size | 312 | include/net/sock.h | extern struct sk_buff *sock_alloc_send_skb(struct sock *skb, unsigned long size, int noblock, int *errcode); |
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 | asmlinkage 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 | 101 | ipc/util.c | asmlinkage 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 (long) + PAGE_SIZE - 1) / PAGE_SIZE; |
size | 167 | kernel/module.c | mp->size = npages; |
size | 176 | kernel/module.c | mp->name, (unsigned long) mp->size, (unsigned long) mp->addr)); |
size | 220 | kernel/module.c | if ((codesize + sizeof (long) + PAGE_SIZE - 1) / PAGE_SIZE > mp->size) |
size | 224 | kernel/module.c | mp->size * PAGE_SIZE - (codesize + sizeof (long))); |
size | 233 | kernel/module.c | int size; |
size | 237 | kernel/module.c | if ((error = verify_area(VERIFY_READ, &symtab->size, sizeof(symtab->size)))) |
size | 239 | kernel/module.c | size = get_user(&symtab->size); |
size | 241 | kernel/module.c | if ((newtab = (struct symbol_table*) kmalloc(size, GFP_KERNEL)) == NULL) { |
size | 245 | kernel/module.c | if ((error = verify_area(VERIFY_READ, symtab, size))) { |
size | 246 | kernel/module.c | kfree_s(newtab, size); |
size | 249 | kernel/module.c | memcpy_fromfs((char *)(newtab), symtab, size); |
size | 257 | kernel/module.c | (legal_start > size)) { |
size | 259 | kernel/module.c | kfree_s(newtab, size); |
size | 266 | kernel/module.c | if ((unsigned long)sym->name < legal_start || size <= (unsigned long)sym->name) { |
size | 268 | kernel/module.c | kfree_s(newtab, size); |
size | 496 | kernel/module.c | if (mp->symtab->size) |
size | 497 | kernel/module.c | kfree_s(mp->symtab, mp->symtab->size); |
size | 519 | kernel/module.c | char size[32]; |
size | 532 | kernel/module.c | sprintf(size, "%d", mp->size); |
size | 533 | kernel/module.c | i -= strlen(size); |
size | 538 | kernel/module.c | q = size; |
size | 641 | kernel/module.c | int size; |
size | 706 | kernel/module.c | if (oldtab->size > 0) |
size | 707 | kernel/module.c | kfree_s(oldtab, oldtab->size); |
size | 722 | kernel/module.c | size = SYMSIZ + intab->n_symbols * INTSIZ + |
size | 733 | kernel/module.c | newtab->size = size; |
size | 760 | kernel/module.c | if (oldtab->size > 0) |
size | 761 | kernel/module.c | kfree_s(oldtab, oldtab->size); |
size | 268 | lib/string.c | void * memscan(void * addr, unsigned char c, size_t size) |
size | 272 | lib/string.c | while (size) { |
size | 276 | 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 | 149 | mm/filemap.c | unsigned long address, unsigned long size, |
size | 165 | mm/filemap.c | end = address + size; |
size | 176 | mm/filemap.c | unsigned long address, unsigned long size, |
size | 192 | mm/filemap.c | end = address + size; |
size | 203 | mm/filemap.c | size_t size, unsigned int flags) |
size | 206 | mm/filemap.c | unsigned long end = address + size; |
size | 87 | mm/kmalloc.c | int size; |
size | 140 | mm/kmalloc.c | #define BLOCKSIZE(order) (sizes[order].size) |
size | 170 | mm/kmalloc.c | int get_order (int size) |
size | 175 | mm/kmalloc.c | size += sizeof (struct block_header); |
size | 177 | mm/kmalloc.c | if (size <= BLOCKSIZE (order)) |
size | 182 | mm/kmalloc.c | void * kmalloc (size_t size, int priority) |
size | 203 | mm/kmalloc.c | order = get_order (size); |
size | 206 | mm/kmalloc.c | printk ("kmalloc of too large a block (%d bytes).\n",(int) size); |
size | 237 | mm/kmalloc.c | sizes [order].nbytesmalloced += size; |
size | 239 | mm/kmalloc.c | p->bh_length = size; |
size | 317 | mm/kmalloc.c | (int) size); |
size | 321 | mm/kmalloc.c | void kfree_s (void *ptr,int size) |
size | 339 | mm/kmalloc.c | if (size && |
size | 340 | mm/kmalloc.c | size != p->bh_length) |
size | 343 | mm/kmalloc.c | p,size,p->bh_length); |
size | 346 | mm/kmalloc.c | size = p->bh_length; |
size | 408 | 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 | 514 | mm/memory.c | static inline int remap_pmd_range(pmd_t * pmd, unsigned long address, unsigned long size, |
size | 520 | mm/memory.c | end = address + size; |
size | 535 | mm/memory.c | int remap_page_range(unsigned long from, unsigned long offset, unsigned long size, pgprot_t prot) |
size | 539 | mm/memory.c | unsigned long end = from + size; |
size | 699 | mm/memory.c | int verify_area(int type, const void * addr, unsigned long size) |
size | 728 | mm/memory.c | if (vma->vm_end - start >= size) |
size | 742 | mm/memory.c | if (vma->vm_end - start >= size) |
size | 753 | mm/memory.c | size--; |
size | 754 | mm/memory.c | size += start & ~PAGE_MASK; |
size | 755 | mm/memory.c | size >>= PAGE_SHIFT; |
size | 760 | mm/memory.c | if (!size) |
size | 762 | 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 | 760 | mm/swap.c | do { unsigned long size = PAGE_SIZE << high; \ |
size | 762 | mm/swap.c | high--; size >>= 1; cli(); \ |
size | 766 | mm/swap.c | addr = (struct mem_list *) (size + (unsigned long) addr); \ |
size | 871 | mm/swap.c | unsigned long address, unsigned long size, unsigned long offset, |
size | 887 | mm/swap.c | end = address + size; |
size | 900 | mm/swap.c | unsigned long address, unsigned long size, |
size | 916 | 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 | 170 | mm/vmalloc.c | static inline void remap_area_pte(pte_t * pte, unsigned long address, unsigned long size, |
size | 176 | mm/vmalloc.c | end = address + size; |
size | 189 | mm/vmalloc.c | static inline int remap_area_pmd(pmd_t * pmd, unsigned long address, unsigned long size, |
size | 195 | mm/vmalloc.c | end = address + size; |
size | 210 | mm/vmalloc.c | static int remap_area_pages(unsigned long address, unsigned long offset, unsigned long size) |
size | 213 | mm/vmalloc.c | unsigned long end = address + size; |
size | 231 | mm/vmalloc.c | static struct vm_struct * get_vm_area(unsigned long size) |
size | 240 | mm/vmalloc.c | area->size = size + PAGE_SIZE; |
size | 243 | mm/vmalloc.c | if (size + (unsigned long) addr < (unsigned long) tmp->addr) |
size | 245 | mm/vmalloc.c | addr = (void *) (tmp->size + (unsigned long) tmp->addr); |
size | 266 | mm/vmalloc.c | free_area_pages(VMALLOC_VMADDR(tmp->addr), tmp->size); |
size | 274 | mm/vmalloc.c | void * vmalloc(unsigned long size) |
size | 279 | mm/vmalloc.c | size = PAGE_ALIGN(size); |
size | 280 | mm/vmalloc.c | if (!size || size > high_memory) |
size | 282 | mm/vmalloc.c | area = get_vm_area(size); |
size | 286 | mm/vmalloc.c | if (alloc_area_pages(VMALLOC_VMADDR(addr), size)) { |
size | 298 | mm/vmalloc.c | void * vremap(unsigned long offset, unsigned long size) |
size | 307 | mm/vmalloc.c | size = PAGE_ALIGN(size); |
size | 308 | mm/vmalloc.c | if (!size || size > offset + size) |
size | 310 | mm/vmalloc.c | area = get_vm_area(size); |
size | 314 | mm/vmalloc.c | if (remap_area_pages(VMALLOC_VMADDR(addr), offset, size)) { |
size | 334 | mm/vmalloc.c | n = tmp->size - PAGE_SIZE; |
size | 249 | net/802/tr.c | int size,i; |
size | 253 | net/802/tr.c | size=sprintf(buffer, |
size | 255 | net/802/tr.c | pos+=size; |
size | 256 | net/802/tr.c | len+=size; |
size | 260 | net/802/tr.c | size=sprintf(buffer+len,"%02X:%02X:%02X:%02X:%02X:%02X %04X %04X %04X %04X %04X %04X %04X %04X %04X %lu\n", |
size | 264 | net/802/tr.c | len+=size; |
size | 1469 | net/appletalk/ddp.c | int size; |
size | 1514 | net/appletalk/ddp.c | size=sizeof(struct ddpehdr)+len+ddp_dl->header_length; /* For headers */ |
size | 1535 | net/appletalk/ddp.c | printk("SK %p: Size needed %d, device %s\n", sk, size, dev->name); |
size | 1537 | net/appletalk/ddp.c | size += dev->hard_header_len; |
size | 1539 | net/appletalk/ddp.c | skb = sock_alloc_send_skb(sk, size, 0 , &err); |
size | 1637 | net/appletalk/ddp.c | static int atalk_send(struct socket *sock, void *ubuf, int size, int noblock, unsigned flags) |
size | 1639 | net/appletalk/ddp.c | return atalk_sendto(sock,ubuf,size,noblock,flags,NULL,0); |
size | 1642 | net/appletalk/ddp.c | static int atalk_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1670 | net/appletalk/ddp.c | if(copied > size) |
size | 1671 | net/appletalk/ddp.c | copied=size; |
size | 1677 | net/appletalk/ddp.c | if (copied > size) |
size | 1678 | net/appletalk/ddp.c | copied = size; |
size | 1693 | net/appletalk/ddp.c | static int atalk_write(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1695 | net/appletalk/ddp.c | return atalk_send(sock,ubuf,size,noblock,0); |
size | 1699 | net/appletalk/ddp.c | static int atalk_recv(struct socket *sock, void *ubuf, int size , int noblock, |
size | 1705 | net/appletalk/ddp.c | return atalk_recvfrom(sock,ubuf,size,noblock,flags,NULL, NULL); |
size | 1708 | net/appletalk/ddp.c | static int atalk_read(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1710 | net/appletalk/ddp.c | return atalk_recv(sock,ubuf,size,noblock,0); |
size | 1545 | net/ax25/af_ax25.c | int size; |
size | 1621 | net/ax25/af_ax25.c | size = len + 2 + size_ax25_addr(dp) + AX25_BPQ_HEADER_LEN; |
size | 1623 | net/ax25/af_ax25.c | if ((skb = sock_alloc_send_skb(sk, size, 0, &err)) == NULL) |
size | 1630 | net/ax25/af_ax25.c | skb_reserve(skb, size - len); |
size | 1685 | net/ax25/af_ax25.c | static int ax25_send(struct socket *sock, void *ubuf, int size, int noblock, unsigned flags) |
size | 1687 | net/ax25/af_ax25.c | return ax25_sendto(sock, ubuf, size, noblock, flags, NULL, 0); |
size | 1690 | net/ax25/af_ax25.c | static int ax25_write(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1692 | net/ax25/af_ax25.c | return ax25_send(sock, ubuf, size, noblock, 0); |
size | 1695 | net/ax25/af_ax25.c | static int ax25_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1726 | net/ax25/af_ax25.c | copied = (size < skb->len - bias) ? size : skb->len - bias; |
size | 1756 | net/ax25/af_ax25.c | static int ax25_recv(struct socket *sock, void *ubuf, int size , int noblock, |
size | 1764 | net/ax25/af_ax25.c | return ax25_recvfrom(sock, ubuf, size, noblock, flags, NULL, NULL); |
size | 1767 | net/ax25/af_ax25.c | static int ax25_read(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1769 | net/ax25/af_ax25.c | return ax25_recv(sock, ubuf, size, noblock, 0); |
size | 2000 | net/ax25/af_ax25.c | int size; |
size | 2010 | net/ax25/af_ax25.c | size = skb->len; |
size | 2014 | net/ax25/af_ax25.c | *ptr++ = (size + 5) % 256; |
size | 2015 | net/ax25/af_ax25.c | *ptr++ = (size + 5) / 256; |
size | 166 | net/core/datagram.c | void skb_copy_datagram(struct sk_buff *skb, int offset, char *to, int size) |
size | 168 | net/core/datagram.c | memcpy_tofs(to,skb->h.raw+offset,size); |
size | 879 | net/core/dev.c | int size; |
size | 882 | net/core/dev.c | size = sprintf(buffer, "%6s:%7d %4d %4d %4d %4d %8d %4d %4d %4d %5d %4d\n", |
size | 894 | net/core/dev.c | size = sprintf(buffer, "%6s: No statistics available.\n", dev->name); |
size | 896 | net/core/dev.c | return size; |
size | 909 | net/core/dev.c | int size; |
size | 914 | net/core/dev.c | size = sprintf(buffer, "Inter-| Receive | Transmit\n" |
size | 917 | net/core/dev.c | pos+=size; |
size | 918 | net/core/dev.c | len+=size; |
size | 923 | net/core/dev.c | size = sprintf_stats(buffer+len, dev); |
size | 924 | net/core/dev.c | len+=size; |
size | 492 | net/core/skbuff.c | struct sk_buff *alloc_skb(unsigned int size,int priority) |
size | 496 | net/core/skbuff.c | int len=size; |
size | 509 | net/core/skbuff.c | size=(size+15)&~15; /* Allow for alignments. Make a multiple of 16 bytes */ |
size | 510 | net/core/skbuff.c | size+=sizeof(struct sk_buff); /* And stick the control itself on the end */ |
size | 516 | net/core/skbuff.c | bptr=(unsigned char *)kmalloc(size,priority); |
size | 535 | net/core/skbuff.c | skb=(struct sk_buff *)(bptr+size)-1; |
size | 543 | net/core/skbuff.c | skb->truesize=size; |
size | 305 | net/core/sock.c | struct sk_buff *sock_wmalloc(struct sock *sk, unsigned long size, int force, int priority) |
size | 309 | net/core/sock.c | if (sk->wmem_alloc + size < sk->sndbuf || force) |
size | 311 | net/core/sock.c | struct sk_buff * c = alloc_skb(size, priority); |
size | 324 | net/core/sock.c | return(alloc_skb(size, priority)); |
size | 328 | net/core/sock.c | struct sk_buff *sock_rmalloc(struct sock *sk, unsigned long size, int force, int priority) |
size | 332 | net/core/sock.c | if (sk->rmem_alloc + size < sk->rcvbuf || force) |
size | 334 | net/core/sock.c | struct sk_buff *c = alloc_skb(size, priority); |
size | 347 | net/core/sock.c | return(alloc_skb(size, priority)); |
size | 424 | net/core/sock.c | struct sk_buff *sock_alloc_send_skb(struct sock *sk, unsigned long size, int noblock, int *errcode) |
size | 449 | net/core/sock.c | skb = sock_wmalloc(sk, size, 0, GFP_KERNEL); |
size | 125 | net/ipv4/af_inet.c | int size = 32767; /* a big num. */ |
size | 150 | net/ipv4/af_inet.c | if (j < size) |
size | 153 | net/ipv4/af_inet.c | size = j; |
size | 1161 | net/ipv4/af_inet.c | static int inet_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1173 | net/ipv4/af_inet.c | return(sk->prot->recvfrom(sk, (unsigned char *) ubuf, size, noblock, flags, |
size | 1178 | net/ipv4/af_inet.c | static int inet_recv(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1182 | net/ipv4/af_inet.c | return inet_recvfrom(sock,ubuf,size,noblock,flags,NULL,NULL); |
size | 1185 | net/ipv4/af_inet.c | static int inet_read(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1194 | net/ipv4/af_inet.c | return(sk->prot->read(sk, (unsigned char *) ubuf, size, noblock, 0)); |
size | 1197 | net/ipv4/af_inet.c | static int inet_send(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1211 | net/ipv4/af_inet.c | return(sk->prot->write(sk, (unsigned char *) ubuf, size, noblock, flags)); |
size | 1214 | net/ipv4/af_inet.c | static int inet_write(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1216 | net/ipv4/af_inet.c | return inet_send(sock,ubuf,size,noblock,0); |
size | 1219 | net/ipv4/af_inet.c | static int inet_sendto(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1235 | net/ipv4/af_inet.c | return(sk->prot->sendto(sk, (unsigned char *) ubuf, size, noblock, flags, |
size | 1005 | net/ipv4/arp.c | int size; |
size | 1011 | net/ipv4/arp.c | size = sprintf(buffer,"IP address HW type Flags HW address Mask\n"); |
size | 1013 | net/ipv4/arp.c | pos+=size; |
size | 1014 | net/ipv4/arp.c | len+=size; |
size | 1047 | net/ipv4/arp.c | size = sprintf(buffer+len, |
size | 1053 | net/ipv4/arp.c | size += sprintf(buffer+len+size, |
size | 1058 | net/ipv4/arp.c | len+=size; |
size | 433 | net/ipv4/icmp.c | int size, offset; |
size | 438 | net/ipv4/icmp.c | size = dev->hard_header_len + 64 + len + 15; |
size | 439 | net/ipv4/icmp.c | skb2 = alloc_skb(size, GFP_ATOMIC); |
size | 499 | net/ipv4/icmp.c | int size, offset; |
size | 512 | net/ipv4/icmp.c | size = dev->hard_header_len + 84 + 15; |
size | 514 | net/ipv4/icmp.c | if (! (skb2 = alloc_skb(size, GFP_ATOMIC))) |
size | 597 | net/ipv4/icmp.c | int size, offset; |
size | 603 | net/ipv4/icmp.c | size = dev->hard_header_len + 64 + len + 15; |
size | 604 | net/ipv4/icmp.c | skb2 = alloc_skb(size, GFP_ATOMIC); |
size | 660 | net/ipv4/ip_fw.c | int size; |
size | 717 | net/ipv4/ip_fw.c | size = skb->len - ((unsigned char *)portptr - skb->h.raw); |
size | 728 | net/ipv4/ip_fw.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
size | 752 | net/ipv4/ip_fw.c | tcp_send_check(th,iph->saddr,iph->daddr,size,skb->sk); |
size | 809 | net/ipv4/ip_fw.c | int size = skb_ptr->len - ((unsigned char *)portptr - skb_ptr->h.raw); |
size | 817 | net/ipv4/ip_fw.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
size | 829 | net/ipv4/ip_fw.c | tcp_send_check((struct tcphdr *)portptr,iph->saddr,iph->daddr,size,skb_ptr->sk); |
size | 432 | net/ipv4/rarp.c | int size; |
size | 438 | net/ipv4/rarp.c | size = sprintf(buffer,"RARP disabled until entries added to cache.\n"); |
size | 439 | net/ipv4/rarp.c | pos+=size; |
size | 440 | net/ipv4/rarp.c | len+=size; |
size | 444 | net/ipv4/rarp.c | size = sprintf(buffer, |
size | 446 | net/ipv4/rarp.c | pos+=size; |
size | 447 | net/ipv4/rarp.c | len+=size; |
size | 459 | net/ipv4/rarp.c | size = sprintf(buffer+len, |
size | 470 | net/ipv4/rarp.c | len+=size; |
size | 519 | net/ipv4/route.c | int size; |
size | 531 | net/ipv4/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\t%u\n", |
size | 535 | net/ipv4/route.c | len+=size; |
size | 536 | net/ipv4/route.c | pos+=size; |
size | 456 | net/ipv4/tcp.c | int size; |
size | 479 | net/ipv4/tcp.c | size = ntohs(iph->tot_len) - (iph->ihl<<2); |
size | 533 | net/ipv4/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
size | 1139 | net/ipv4/tcp.c | int size; |
size | 1146 | net/ipv4/tcp.c | size = skb->len - ((unsigned char *) th - skb->data); |
size | 1152 | net/ipv4/tcp.c | if (size < sizeof(struct tcphdr) || size > skb->len) |
size | 1165 | net/ipv4/tcp.c | if (size == sizeof(struct tcphdr)) |
size | 1181 | net/ipv4/tcp.c | skb->h.seq = ntohl(th->seq) + size - 4*th->doff; |
size | 1225 | net/ipv4/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
size | 3077 | net/ipv4/tcp.c | int size; |
size | 3087 | net/ipv4/tcp.c | size = skb->len - (((unsigned char *) th) - skb->data); |
size | 3092 | net/ipv4/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
size | 988 | net/ipx/af_ipx.c | int size; |
size | 1005 | net/ipx/af_ipx.c | size=sizeof(ipx_packet)+len; |
size | 1006 | net/ipx/af_ipx.c | size += ipx_offset; |
size | 1008 | net/ipx/af_ipx.c | if(size+sk->wmem_alloc>sk->sndbuf) return -EAGAIN; |
size | 1010 | net/ipx/af_ipx.c | skb=alloc_skb(size,GFP_KERNEL); |
size | 1714 | net/ipx/af_ipx.c | static int ipx_send(struct socket *sock, void *ubuf, int size, int noblock, unsigned flags) |
size | 1716 | net/ipx/af_ipx.c | return ipx_sendto(sock,ubuf,size,noblock,flags,NULL,0); |
size | 1719 | net/ipx/af_ipx.c | static int ipx_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1749 | net/ipx/af_ipx.c | copied = (truesize > size) ? size : truesize; |
size | 1764 | net/ipx/af_ipx.c | static int ipx_write(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1766 | net/ipx/af_ipx.c | return ipx_send(sock,ubuf,size,noblock,0); |
size | 1770 | net/ipx/af_ipx.c | static int ipx_recv(struct socket *sock, void *ubuf, int size , int noblock, |
size | 1776 | net/ipx/af_ipx.c | return ipx_recvfrom(sock,ubuf,size,noblock,flags,NULL, NULL); |
size | 1779 | net/ipx/af_ipx.c | static int ipx_read(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1781 | net/ipx/af_ipx.c | return ipx_recv(sock,ubuf,size,noblock,0); |
size | 989 | net/netrom/af_netrom.c | int size; |
size | 1025 | net/netrom/af_netrom.c | size = len + AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + 2 + NR_NETWORK_LEN + NR_TRANSPORT_LEN; |
size | 1027 | net/netrom/af_netrom.c | if ((skb = sock_alloc_send_skb(sk, size, 0, &err)) == NULL) |
size | 1034 | net/netrom/af_netrom.c | skb_reserve(skb, size - len); |
size | 1083 | net/netrom/af_netrom.c | static int nr_send(struct socket *sock, void *ubuf, int size, int noblock, unsigned flags) |
size | 1085 | net/netrom/af_netrom.c | return nr_sendto(sock, ubuf, size, noblock, flags, NULL, 0); |
size | 1088 | net/netrom/af_netrom.c | static int nr_write(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1090 | net/netrom/af_netrom.c | return nr_send(sock, ubuf, size, noblock, 0); |
size | 1093 | net/netrom/af_netrom.c | static int nr_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1119 | net/netrom/af_netrom.c | copied = (size < skb->len - NR_TRANSPORT_LEN) ? size : skb->len - NR_TRANSPORT_LEN; |
size | 1139 | net/netrom/af_netrom.c | static int nr_recv(struct socket *sock, void *ubuf, int size , int noblock, |
size | 1147 | net/netrom/af_netrom.c | return nr_recvfrom(sock, ubuf, size, noblock, flags, NULL, NULL); |
size | 1150 | net/netrom/af_netrom.c | static int nr_read(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1152 | net/netrom/af_netrom.c | return nr_recv(sock, ubuf, size, noblock, 0); |
size | 71 | net/socket.c | int size); |
size | 73 | net/socket.c | int size); |
size | 317 | net/socket.c | static int sock_read(struct inode *inode, struct file *file, char *ubuf, int size) |
size | 326 | net/socket.c | if(size<0) |
size | 328 | net/socket.c | if(size==0) /* Match SYS5 behaviour */ |
size | 330 | net/socket.c | if ((err=verify_area(VERIFY_WRITE,ubuf,size))<0) |
size | 332 | net/socket.c | return(sock->ops->read(sock, ubuf, size, (file->f_flags & O_NONBLOCK))); |
size | 340 | net/socket.c | static int sock_write(struct inode *inode, struct file *file, char *ubuf, int size) |
size | 350 | net/socket.c | if(size<0) |
size | 352 | net/socket.c | if(size==0) /* Match SYS5 behaviour */ |
size | 355 | net/socket.c | if ((err=verify_area(VERIFY_READ,ubuf,size))<0) |
size | 357 | 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); |