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 | 168 | arch/alpha/kernel/traps.c | long dir, size; |
size | 194 | arch/alpha/kernel/traps.c | size = 4; |
size | 197 | arch/alpha/kernel/traps.c | size = 8; |
size | 199 | arch/alpha/kernel/traps.c | if (verify_area(dir, va, 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 | 577 | arch/sparc/mm/srmmu.c | srmmu_init_alloc(unsigned long *kbrk, unsigned size) |
size | 579 | arch/sparc/mm/srmmu.c | register unsigned mask = size - 1; |
size | 582 | arch/sparc/mm/srmmu.c | if(size==0) return 0x0; |
size | 583 | arch/sparc/mm/srmmu.c | if(size & mask) { |
size | 588 | arch/sparc/mm/srmmu.c | *kbrk = ret + size; |
size | 589 | 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 | 240 | drivers/block/cdu31a.c | static void size_to_buf(unsigned int size, |
size | 1053 | drivers/block/cdu31a.c | size_to_buf(unsigned int size, |
size | 1056 | drivers/block/cdu31a.c | buf[0] = size / 65536; |
size | 1057 | drivers/block/cdu31a.c | size = size % 65536; |
size | 1058 | drivers/block/cdu31a.c | buf[1] = size / 256; |
size | 1059 | drivers/block/cdu31a.c | buf[2] = size % 256; |
size | 1699 | drivers/block/cdu31a.c | int size) |
size | 1701 | drivers/block/cdu31a.c | src += (size - 1); |
size | 1702 | drivers/block/cdu31a.c | dst += (size - 1); |
size | 1703 | drivers/block/cdu31a.c | while (size > 0) |
size | 1706 | 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 | 2790 | drivers/block/floppy.c | static int fd_copyout(void *param, volatile void *address, int size) |
size | 2794 | drivers/block/floppy.c | i = verify_area(VERIFY_WRITE,param,size); |
size | 2797 | drivers/block/floppy.c | memcpy_tofs(param,(void *) address, size); |
size | 3035 | drivers/block/floppy.c | floppy_type[type].size>>1; |
size | 3056 | drivers/block/floppy.c | floppy_sizes[drive] = user_params[drive].size >> 1; |
size | 3363 | drivers/block/floppy.c | int size = floppy_blocksizes[MINOR(dev)]; |
size | 3364 | drivers/block/floppy.c | if (!size) |
size | 3365 | drivers/block/floppy.c | size = 1024; |
size | 3366 | drivers/block/floppy.c | if (!(bh = getblk(dev,0,size))){ |
size | 3586 | drivers/block/floppy.c | floppy_sizes[i] = floppy_type[TYPE(i)].size >> 1; |
size | 62 | drivers/block/genhd.c | static void add_partition (struct gendisk *hd, int minor, int start, int size) |
size | 65 | 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 | 246 | drivers/block/mcdx.c | size_t size, unsigned int timeout, int); |
size | 855 | drivers/block/mcdx.c | void *buffer, size_t size, |
size | 864 | drivers/block/mcdx.c | if (!buffer || size == 0) buffer = &c, size = 1; |
size | 881 | drivers/block/mcdx.c | tries, timeout, size, (unsigned char) cmd[0])); |
size | 891 | drivers/block/mcdx.c | size_t sz = size; |
size | 1042 | drivers/block/mcdx.c | int size; |
size | 1044 | drivers/block/mcdx.c | size = sizeof(*stuffp); |
size | 1049 | drivers/block/mcdx.c | TRACE((MALLOC, "init() malloc %d bytes\n", size)); |
size | 1050 | drivers/block/mcdx.c | if (!(stuffp = kmalloc(size, GFP_KERNEL))) { |
size | 1057 | drivers/block/mcdx.c | mem_start += size; |
size | 1085 | drivers/block/mcdx.c | free(stuffp, size); |
size | 1102 | drivers/block/mcdx.c | free(stuffp, size); |
size | 1130 | drivers/block/mcdx.c | free(stuffp, size); |
size | 1139 | drivers/block/mcdx.c | free(stuffp, size); |
size | 1157 | drivers/block/mcdx.c | free(stuffp, size); |
size | 1403 | drivers/block/mcdx.c | int size; |
size | 1404 | drivers/block/mcdx.c | size = sizeof(struct s_subqcode) * (stuffp->di.n_last - stuffp->di.n_first + 2); |
size | 1406 | drivers/block/mcdx.c | TRACE((MALLOC, "ioctl() malloc %d bytes\n", size)); |
size | 1407 | drivers/block/mcdx.c | stuffp->toc = kmalloc(size, GFP_KERNEL); |
size | 1409 | 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 | 145 | drivers/block/triton.c | unsigned long size, addr, *table = HWIF(drive)->dmatable; |
size | 158 | drivers/block/triton.c | size = rq->nr_sectors << 9; |
size | 162 | drivers/block/triton.c | size = bh->b_size; |
size | 164 | drivers/block/triton.c | if ((addr + size) != virt_to_bus (bh->b_data)) |
size | 166 | drivers/block/triton.c | size += bh->b_size; |
size | 174 | drivers/block/triton.c | while (size) { |
size | 180 | drivers/block/triton.c | if (bcount > size) |
size | 181 | drivers/block/triton.c | bcount = size; |
size | 185 | drivers/block/triton.c | size -= bcount; |
size | 542 | drivers/char/lp.c | int base,size; |
size | 555 | drivers/char/lp.c | size = (base == 0x3bc)? 3 : 8; |
size | 556 | drivers/char/lp.c | if (check_region(base, size)) |
size | 566 | drivers/char/lp.c | request_region(base, size, "lp"); |
size | 584 | drivers/char/lp.c | int base,size; |
size | 597 | drivers/char/lp.c | int base, size; |
size | 599 | drivers/char/lp.c | size = (base == 0x3bc)? 3 : 8; |
size | 601 | drivers/char/lp.c | release_region(LP_B(offset),size); |
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 | 305 | drivers/char/scc.c | sccfreelist[i]->bp->size = BUFSIZE; |
size | 355 | drivers/char/scc.c | sccfreelist[i]->bp->size = BUFSIZE; |
size | 813 | drivers/char/scc.c | if ((bp = scc->rbp1) == NULLBUF || bp->cnt >= bp->size) |
size | 1478 | 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 | 2799 | drivers/char/tpqic02.c | static inline unsigned long const align_buffer(unsigned long a, unsigned size) |
size | 2801 | drivers/char/tpqic02.c | if (a & (size-1)) /* if not aligned */ |
size | 2802 | 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 | 207 | drivers/net/3c505.h | word size, |
size | 394 | drivers/net/3c507.c | int size; |
size | 397 | drivers/net/3c507.c | size = 64*1024; |
size | 401 | drivers/net/3c507.c | size = ((mem_config & 3) + 1) << 14; |
size | 405 | 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 | 242 | drivers/net/arcnet.c | #define check_region(ioaddr, size) 0 |
size | 243 | 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(dev, buffer, size); |
size | 695 | drivers/net/de620.c | PRINTK(("Read %d bytes\n", size)); |
size | 156 | drivers/net/ni52.c | #define check_region(ioaddr, size) 0 |
size | 157 | drivers/net/ni52.c | #define request_region(ioaddr, size,name) do ; while (0) |
size | 170 | drivers/net/ni52.c | static int check586(struct device *dev,char *where,unsigned size); |
size | 245 | drivers/net/ni52.c | static int check586(struct device *dev,char *where,unsigned size) |
size | 251 | drivers/net/ni52.c | p->base = (unsigned long) where + size - 0x01000000; |
size | 252 | drivers/net/ni52.c | p->memtop = where + size; |
size | 348 | drivers/net/ni52.c | int i,size; |
size | 370 | drivers/net/ni52.c | size = 0x4000; /* check for 16K mem */ |
size | 371 | drivers/net/ni52.c | if(!check586(dev,(char *) dev->mem_start,size)) { |
size | 372 | drivers/net/ni52.c | size = 0x2000; /* check for 8K mem */ |
size | 373 | drivers/net/ni52.c | if(!check586(dev,(char *) dev->mem_start,size)) { |
size | 388 | drivers/net/ni52.c | size = 0x2000; /* check for 8K mem */ |
size | 389 | drivers/net/ni52.c | if(check586(dev,(char *)dev->mem_start,size)) /* 8K-check */ |
size | 391 | drivers/net/ni52.c | size = 0x4000; /* check for 16K mem */ |
size | 392 | drivers/net/ni52.c | if(check586(dev,(char *)dev->mem_start,size)) /* 16K-check */ |
size | 396 | drivers/net/ni52.c | dev->mem_end = dev->mem_start + size; /* set mem_end showed by 'ifconfig' */ |
size | 398 | drivers/net/ni52.c | ((struct priv *) (dev->priv))->base = dev->mem_start + size - 0x01000000; |
size | 402 | drivers/net/ni52.c | if(size == 0x2000) |
size | 407 | drivers/net/ni52.c | printk("Memaddr: 0x%lx, Memsize: %d, ",dev->mem_start,size); |
size | 707 | drivers/net/ni52.c | rbd[i].size = RECV_BUFF_SIZE; |
size | 992 | drivers/net/ni52.c | p->xmit_buffs[0]->size = TBD_LAST | len; |
size | 1013 | drivers/net/ni52.c | p->xmit_buffs[0]->size = TBD_LAST | len; |
size | 1025 | 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 | 2127 | drivers/net/wavelan.c | int size; |
size | 2134 | drivers/net/wavelan.c | size = sprintf(buffer, "%s", "Iface | dce +nwid -nwid lvl slnc qual ntxq nrst\n"); |
size | 2136 | drivers/net/wavelan.c | pos += size; |
size | 2137 | drivers/net/wavelan.c | len += size; |
size | 2148 | drivers/net/wavelan.c | size = sprintf_stats(buffer + len, lp->dev); |
size | 2150 | drivers/net/wavelan.c | len += size; |
size | 467 | drivers/pci/pci.c | static int sprint_dev_config(struct pci_dev *dev, char *buf, int size) |
size | 487 | drivers/pci/pci.c | if (len + 80 > size) { |
size | 493 | drivers/pci/pci.c | if (len + 80 > size) { |
size | 512 | drivers/pci/pci.c | if (len + strlen(str) > size) { |
size | 519 | drivers/pci/pci.c | if (len + strlen(fast_b2b_capable) > size) { |
size | 528 | drivers/pci/pci.c | if (len + strlen(BIST_capable) > size) { |
size | 536 | drivers/pci/pci.c | if (len + 40 > size) { |
size | 543 | drivers/pci/pci.c | if (len + 80 > size) { |
size | 558 | drivers/pci/pci.c | if (len + 40 > size) { |
size | 610 | drivers/pci/pci.c | int nprinted, len, size; |
size | 615 | drivers/pci/pci.c | size = PAGE_SIZE - (strlen(MSG) + 1); |
size | 619 | drivers/pci/pci.c | nprinted = sprint_dev_config(dev, buf + len, size - len); |
size | 633 | drivers/pci/pci.c | static void *pci_malloc(long size, unsigned long *mem_startp) |
size | 638 | drivers/pci/pci.c | printk("...pci_malloc(size=%ld,mem=%p)", size, *mem_startp); |
size | 641 | drivers/pci/pci.c | *mem_startp += (size + sizeof(void*) - 1) & ~(sizeof(void*) - 1); |
size | 642 | drivers/pci/pci.c | memset(mem, 0, size); |
size | 682 | drivers/scsi/53c7,8xx.c | int script_len = 0, dsa_len = 0, size = 0, max_cmd_size = 0; |
size | 754 | drivers/scsi/53c7,8xx.c | size = sizeof(struct NCR53c7x0_hostdata) + script_len + max_cmd_size; |
size | 756 | drivers/scsi/53c7,8xx.c | instance = scsi_register (tpnt, size); |
size | 767 | drivers/scsi/53c7,8xx.c | hostdata->size = size; |
size | 827 | drivers/scsi/53c7,8xx.c | hostdata->free->size = max_cmd_size; |
size | 2365 | drivers/scsi/53c7,8xx.c | int size; /* Size of *tmp */ |
size | 2389 | drivers/scsi/53c7,8xx.c | size = (hostdata->max_cmd_size + 511) / 512 * 512; |
size | 2390 | drivers/scsi/53c7,8xx.c | tmp = (struct NCR53c7x0_cmd *) scsi_malloc (size); |
size | 2397 | drivers/scsi/53c7,8xx.c | size = hostdata->max_cmd_size + sizeof(void*); |
size | 2398 | drivers/scsi/53c7,8xx.c | real = kmalloc (size, GFP_ATOMIC); |
size | 2405 | drivers/scsi/53c7,8xx.c | tmp->size = size; |
size | 3720 | drivers/scsi/53c7,8xx.c | int size; |
size | 3728 | drivers/scsi/53c7,8xx.c | size = 3; |
size | 3731 | drivers/scsi/53c7,8xx.c | size = 2; |
size | 3742 | 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 | 1113 | drivers/scsi/aha152x.c | int size = disk->capacity; |
size | 1117 | drivers/scsi/aha152x.c | printk("aha152x_biosparam: dev=%x, size=%d, ", dev, size); |
size | 1124 | drivers/scsi/aha152x.c | info_array[2]=size>>11; |
size | 1231 | drivers/scsi/aha1542.c | int size = disk->capacity; |
size | 1235 | drivers/scsi/aha1542.c | if((size>>11) > 1024 && translation_algorithm == 2) { |
size | 1239 | drivers/scsi/aha1542.c | ip[2] = size /255/63; |
size | 1243 | 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 | 65 | drivers/scsi/aic7xxx_asm.c | Malloc(size_t size) |
size | 67 | drivers/scsi/aic7xxx_asm.c | void *p = malloc(size); |
size | 74 | drivers/scsi/aic7xxx_asm.c | Realloc(void *ptr, size_t size) |
size | 76 | 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 | 822 | drivers/scsi/eata_dma.c | ulong size = 0; |
size | 920 | drivers/scsi/eata_dma.c | size = sizeof(hostdata) + ((sizeof(struct eata_ccb) + sizeof(long)) |
size | 923 | drivers/scsi/eata_dma.c | DBG(DBG_REGISTER, printk("scsi_register size: %ld\n", size)); |
size | 925 | drivers/scsi/eata_dma.c | sh = scsi_register(tpnt, size); |
size | 90 | drivers/scsi/eata_dma_proc.c | int size, len = 0; |
size | 119 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len, "EATA (Extended Attachment) driver version: " |
size | 121 | drivers/scsi/eata_dma_proc.c | len += size; pos = begin + len; |
size | 122 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "queued commands: %10ld\n" |
size | 124 | drivers/scsi/eata_dma_proc.c | len += size; pos = begin + len; |
size | 126 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "\nscsi%-2d: HBA %.10s\n", |
size | 128 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 130 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Firmware revision: v%s\n", |
size | 132 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 134 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Hardware Configuration:\n"); |
size | 135 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 140 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "DMA: BUSMASTER\n"); |
size | 142 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "DMA: %d\n", HBA_ptr->dma_channel); |
size | 143 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 146 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Base IO : %#.4x\n", (u32) HBA_ptr->base); |
size | 147 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 149 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Host Bus: EISA\n"); |
size | 150 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 205 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "IRQ: %2d, %s triggered\n", cc->interrupt, |
size | 207 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 210 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "DMA: BUSMASTER\n"); |
size | 212 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "DMA: %d\n", HBA_ptr->dma_channel); |
size | 213 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 215 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "CPU: MC680%02d %dMHz\n", bt->cpu_type, |
size | 217 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 219 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Base IO : %#.4x\n", (u32) HBA_ptr->base); |
size | 220 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 222 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Host Bus: %s\n", |
size | 226 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 228 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "SCSI Bus:%s%s Speed: %sMB/sec. %s\n", |
size | 233 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 235 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "SCSI channel expansion Module: %s present\n", |
size | 238 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 240 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "SmartRAID hardware: %spresent.\n", |
size | 242 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 244 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Type: %s\n", |
size | 250 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 253 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Max array groups: %d\n", |
size | 255 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 257 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Max drives per RAID 0 array: %d\n", |
size | 259 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 261 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Max drives per RAID 3/5 array: %d\n", |
size | 263 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 265 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Cache Module: %spresent.\n", |
size | 267 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 269 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Type: %s\n", |
size | 275 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 278 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Bank%d: %dMB with%s ECC\n",x, |
size | 281 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 284 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Timer Mod.: %spresent\n", |
size | 286 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 288 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "NVRAM : %spresent\n", |
size | 290 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 292 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "SmartROM : %sabled\n", |
size | 294 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 296 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Alarm : %s\n", |
size | 298 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 354 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Host<->Disk command statistics:\n" |
size | 356 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 359 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"%5dk:%12u %12u\n", 1 << x, |
size | 362 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 365 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,">1024k:%12u %12u\n", |
size | 368 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 370 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"Sum : %12u %12u\n", |
size | 373 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 385 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Host Latency Command Statistics:\n" |
size | 388 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 391 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"%5dk:%12u %12u %12u %12u\n", |
size | 400 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 403 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,">1024k:%12u %12u %12u %12u\n", |
size | 411 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 421 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, |
size | 423 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 426 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"%5dk:%12u %12u %12u %12u\n", |
size | 435 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 438 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,">1024k:%12u %12u %12u %12u\n", |
size | 446 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 459 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none"); |
size | 460 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 465 | drivers/scsi/eata_dma_proc.c | proc_print_scsidevice(scd, buffer, &size, len); |
size | 466 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 672 | drivers/scsi/eata_pio.c | ulong size = 0; |
size | 723 | drivers/scsi/eata_pio.c | size = sizeof(hostdata) + (sizeof(struct eata_ccb) * ntohs(gc->queuesiz)); |
size | 725 | drivers/scsi/eata_pio.c | sh = scsi_register(tpnt, size); |
size | 48 | drivers/scsi/eata_pio_proc.c | int size, len = 0; |
size | 65 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer+len, "EATA (Extended Attachment) PIO driver version: " |
size | 67 | drivers/scsi/eata_pio_proc.c | len += size; pos = begin + len; |
size | 68 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer + len, "queued commands: %10ld\n" |
size | 70 | drivers/scsi/eata_pio_proc.c | len += size; pos = begin + len; |
size | 72 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer + len, "\nscsi%-2d: HBA %.10s\n", |
size | 74 | drivers/scsi/eata_pio_proc.c | len += size; |
size | 76 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer + len, "Firmware revision: v%s\n", |
size | 78 | drivers/scsi/eata_pio_proc.c | len += size; |
size | 80 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer + len, "IO: PIO\n"); |
size | 81 | drivers/scsi/eata_pio_proc.c | len += size; |
size | 83 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer + len, "Base IO : %#.4x\n", (u32) HBA_ptr->base); |
size | 84 | drivers/scsi/eata_pio_proc.c | len += size; |
size | 86 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer + len, "Host Bus: %s\n", |
size | 90 | drivers/scsi/eata_pio_proc.c | len += size; |
size | 102 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none"); |
size | 103 | drivers/scsi/eata_pio_proc.c | len += size; |
size | 108 | drivers/scsi/eata_pio_proc.c | proc_print_scsidevice(scd, buffer, &size, len); |
size | 109 | 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 | 2164 | drivers/scsi/scsi.c | void * scsi_init_malloc(unsigned int size, int priority) |
size | 2179 | drivers/scsi/scsi.c | if(size == PAGE_SIZE) |
size | 2182 | drivers/scsi/scsi.c | retval = (unsigned long) kmalloc(size, priority); |
size | 2189 | drivers/scsi/scsi.c | size = (size + 15) & ~15; |
size | 2192 | drivers/scsi/scsi.c | (scsi_init_memory_start + size) > scsi_memory_upper_value) { |
size | 2198 | drivers/scsi/scsi.c | scsi_init_memory_start += size; |
size | 2202 | drivers/scsi/scsi.c | memset((void *) retval, 0, size); |
size | 2207 | drivers/scsi/scsi.c | void scsi_init_free(char * ptr, unsigned int size) |
size | 2218 | drivers/scsi/scsi.c | if(size == PAGE_SIZE) |
size | 2224 | drivers/scsi/scsi.c | size = (size + 15) & ~15; |
size | 2226 | drivers/scsi/scsi.c | if(((unsigned long) ptr) + size == scsi_init_memory_start) |
size | 2439 | drivers/scsi/scsi.c | int size, len = 0; |
size | 2447 | drivers/scsi/scsi.c | size = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none"); |
size | 2448 | drivers/scsi/scsi.c | len += size; |
size | 2452 | drivers/scsi/scsi.c | size += sprintf(buffer+len,"scsi%2d: %s\n", (int) HBA_ptr->host_no, HBA_ptr->hostt->procname); |
size | 2453 | drivers/scsi/scsi.c | len += size; |
size | 2459 | drivers/scsi/scsi.c | proc_print_scsidevice(scd, buffer, &size, len); |
size | 2460 | drivers/scsi/scsi.c | len += size; |
size | 579 | drivers/scsi/scsi_debug.c | int size = disk->capacity; |
size | 582 | drivers/scsi/scsi_debug.c | info[2] = (size + 2047) >> 11; |
size | 348 | drivers/scsi/scsi_proc.c | void proc_print_scsidevice(Scsi_Device *scd, char *buffer, int *size, int len) |
size | 350 | drivers/scsi/scsi_proc.c | int x, y = *size; |
size | 387 | drivers/scsi/scsi_proc.c | *size = y; |
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 | 400 | drivers/scsi/sg.c | size=COMMAND_SIZE(opcode); |
size | 401 | drivers/scsi/sg.c | if (opcode >= 0xc0 && device->header.twelve_byte) size = 12; |
size | 402 | drivers/scsi/sg.c | SCpnt->cmd_len = size; |
size | 410 | drivers/scsi/sg.c | amt -= size; |
size | 415 | drivers/scsi/sg.c | if( count < (sizeof(struct sg_header) + size) ) |
size | 427 | drivers/scsi/sg.c | memcpy_fromfs(cmnd,buf,size); |
size | 428 | 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 | 825 | drivers/scsi/u14-34f.c | int size = disk->capacity; |
size | 829 | 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 | 573 | drivers/sound/dmabuf.c | DMAbuf_getwrbuffer (int dev, char **buf, int *size, int dontblock) |
size | 640 | drivers/sound/dmabuf.c | *size = dmap->fragment_size; |
size | 1028 | 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 | 920 | fs/binfmt_elf.c | size_t size; |
size | 941 | fs/binfmt_elf.c | size = 0; |
size | 948 | fs/binfmt_elf.c | if (size+sz > limit) |
size | 952 | fs/binfmt_elf.c | size += sz; |
size | 955 | 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 | else if (size - offset > INT_MAX) |
size | 204 | fs/block_dev.c | left = size - offset; |
size | 212 | fs/block_dev.c | size >>= blocksize_bits; |
size | 225 | fs/block_dev.c | if (block + blocks > size) |
size | 226 | 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 | 446 | fs/buffer.c | if (bh->b_dev == dev && bh->b_blocknr == block && bh->b_size == size) |
size | 452 | fs/buffer.c | void set_blocksize(dev_t dev, int size) |
size | 460 | fs/buffer.c | switch(size) { |
size | 465 | fs/buffer.c | if (blksize_size[MAJOR(dev)][MINOR(dev)] == 0 && size == BLOCK_SIZE) { |
size | 466 | fs/buffer.c | blksize_size[MAJOR(dev)][MINOR(dev)] = size; |
size | 469 | fs/buffer.c | if (blksize_size[MAJOR(dev)][MINOR(dev)] == size) |
size | 472 | fs/buffer.c | blksize_size[MAJOR(dev)][MINOR(dev)] = size; |
size | 484 | fs/buffer.c | if (bh->b_size == size) |
size | 488 | fs/buffer.c | if (bh->b_dev == dev && bh->b_size != size) { |
size | 499 | fs/buffer.c | void refill_freelist(int size) |
size | 504 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 521 | fs/buffer.c | needed =bdf_prm.b_un.nrefill * size; |
size | 524 | fs/buffer.c | grow_buffers(GFP_BUFFER, size)) { |
size | 533 | fs/buffer.c | while(maybe_shrink_lav_buffers(size)) |
size | 535 | fs/buffer.c | if(!grow_buffers(GFP_BUFFER, size)) break; |
size | 567 | fs/buffer.c | if (bh->b_count || bh->b_size != size) |
size | 607 | fs/buffer.c | if (bh->b_count || bh->b_size != size) |
size | 638 | fs/buffer.c | if (bh->b_count || bh->b_size != size) |
size | 667 | fs/buffer.c | if (grow_buffers(GFP_BUFFER, size)) { |
size | 674 | fs/buffer.c | if (!grow_buffers(GFP_ATOMIC, size)) |
size | 690 | fs/buffer.c | struct buffer_head * getblk(dev_t dev, int block, int size) |
size | 693 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 702 | fs/buffer.c | bh = get_hash_table(dev, block, size); |
size | 710 | fs/buffer.c | while(!free_list[isize]) refill_freelist(size); |
size | 712 | fs/buffer.c | if (find_buffer(dev,block,size)) |
size | 813 | fs/buffer.c | struct buffer_head * bread(dev_t dev, int block, int size) |
size | 817 | fs/buffer.c | if (!(bh = getblk(dev, block, size))) { |
size | 946 | fs/buffer.c | static struct buffer_head * create_buffers(unsigned long page, unsigned long size) |
size | 953 | fs/buffer.c | while ((offset -= size) < PAGE_SIZE) { |
size | 960 | fs/buffer.c | bh->b_size = size; |
size | 1013 | fs/buffer.c | dev_t dev, int *b, int size) |
size | 1027 | fs/buffer.c | for (offset = size ; offset < PAGE_SIZE ; offset += size) { |
size | 1031 | fs/buffer.c | first = get_hash_table(dev, block, size); |
size | 1054 | fs/buffer.c | dev_t dev, int b[], int size) |
size | 1058 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 1062 | fs/buffer.c | bh = create_buffers(address, size); |
size | 1067 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
size | 1071 | fs/buffer.c | if (find_buffer(dev, block, size)) |
size | 1125 | fs/buffer.c | dev_t dev, int *b, int size) |
size | 1133 | fs/buffer.c | bh = get_hash_table(dev, block, size); |
size | 1135 | fs/buffer.c | return check_aligned(bh, address, dev, b, size); |
size | 1136 | fs/buffer.c | return try_to_load_aligned(address, dev, b, size); |
size | 1146 | fs/buffer.c | unsigned long bread_page(unsigned long address, dev_t dev, int b[], int size, int no_share) |
size | 1153 | fs/buffer.c | where = try_to_share_buffers(address, dev, b, size); |
size | 1158 | fs/buffer.c | for (i=0, j=0; j<PAGE_SIZE ; i++, j+= size) { |
size | 1161 | fs/buffer.c | bh[i] = getblk(dev, b[i], size); |
size | 1165 | fs/buffer.c | for (i=0, j=0; j<PAGE_SIZE ; i++, j += size, where += size) { |
size | 1168 | fs/buffer.c | memcpy((void *) where, bh[i]->b_data, size); |
size | 1171 | fs/buffer.c | memset((void *) where, 0, size); |
size | 1181 | fs/buffer.c | void bwrite_page(unsigned long address, dev_t dev, int b[], int size) |
size | 1186 | fs/buffer.c | for (i=0, j=0; j<PAGE_SIZE ; i++, j+= size) { |
size | 1189 | fs/buffer.c | bh[i] = getblk(dev, b[i], size); |
size | 1191 | fs/buffer.c | for (i=0, j=0; j<PAGE_SIZE ; i++, j += size, address += size) { |
size | 1193 | fs/buffer.c | memcpy(bh[i]->b_data, (void *) address, size); |
size | 1198 | fs/buffer.c | memset((void *) address, 0, size); /* ???!?!! */ |
size | 1207 | fs/buffer.c | static int grow_buffers(int pri, int size) |
size | 1214 | fs/buffer.c | if ((size & 511) || (size > PAGE_SIZE)) { |
size | 1215 | fs/buffer.c | printk("VFS: grow_buffers: size = %d\n",size); |
size | 1219 | fs/buffer.c | isize = BUFSIZE_INDEX(size); |
size | 1223 | fs/buffer.c | bh = create_buffers(page, size); |
size | 1316 | fs/buffer.c | static int maybe_shrink_lav_buffers(int size) |
size | 1339 | fs/buffer.c | isize = (size ? BUFSIZE_INDEX(size) : -1); |
size | 1378 | fs/buffer.c | static int shrink_specific_buffers(unsigned int priority, int size) |
size | 1385 | fs/buffer.c | if(size) printk("Shrinking buffers of size %d\n", size); |
size | 1389 | fs/buffer.c | isize1 = (size ? BUFSIZE_INDEX(size) : -1); |
size | 1418 | fs/buffer.c | if(size && bh->b_size != size) continue; |
size | 1542 | fs/buffer.c | unsigned int starting_block, int size) |
size | 1545 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 1552 | fs/buffer.c | while(nr_free[isize] < 32) refill_freelist(size); |
size | 1568 | fs/buffer.c | static unsigned long try_to_generate_cluster(dev_t dev, int block, int size) |
size | 1571 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 1579 | fs/buffer.c | bh = create_buffers(page, size); |
size | 1585 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
size | 1586 | fs/buffer.c | if (find_buffer(dev, nblock++, size)) |
size | 1625 | fs/buffer.c | unsigned long generate_cluster(dev_t dev, int b[], int size) |
size | 1629 | fs/buffer.c | for (i = 0, offset = 0 ; offset < PAGE_SIZE ; i++, offset += size) { |
size | 1631 | fs/buffer.c | if(find_buffer(dev, b[i], size)) return 0; |
size | 1638 | fs/buffer.c | if(maybe_shrink_lav_buffers(size)) |
size | 1641 | fs/buffer.c | retval = try_to_generate_cluster(dev, b[0], size); |
size | 1646 | fs/buffer.c | return try_to_generate_cluster(dev, b[0], size); |
size | 1648 | 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 | 297 | fs/msdos/file.c | for (start = buf; count || carry; count -= size) { |
size | 305 | fs/msdos/file.c | size = MIN(SECTOR_SIZE-offset,MAX(carry,count)); |
size | 308 | fs/msdos/file.c | && (size == SECTOR_SIZE |
size | 309 | fs/msdos/file.c | || filp->f_pos + size >= inode->i_size)){ |
size | 322 | fs/msdos/file.c | memcpy_fromfs(bh->b_data+offset,buf,written = size); |
size | 323 | fs/msdos/file.c | buf += size; |
size | 333 | 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 | 206 | 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 | 266 | fs/nfs/inode.c | sattr.size = S_ISREG(inode->i_mode) ? attr->ia_size : -1; |
size | 268 | 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 | 321 | fs/proc/array.c | int size = 0, result = 0; |
size | 333 | fs/proc/array.c | result = size; |
size | 334 | fs/proc/array.c | if (size < PAGE_SIZE) |
size | 335 | fs/proc/array.c | buffer[size++] = c; |
size | 475 | fs/proc/array.c | static inline void statm_pte_range(pmd_t * pmd, unsigned long address, unsigned long size, |
size | 490 | fs/proc/array.c | end = address + size; |
size | 513 | fs/proc/array.c | static inline void statm_pmd_range(pgd_t * pgd, unsigned long address, unsigned long size, |
size | 528 | fs/proc/array.c | end = address + size; |
size | 551 | fs/proc/array.c | int size=0, resident=0, share=0, trs=0, lrs=0, drs=0, dt=0; |
size | 566 | fs/proc/array.c | size += total; |
size | 579 | fs/proc/array.c | size, resident, share, trs, lrs, drs, dt); |
size | 88 | fs/proc/inode.c | if (de->size) |
size | 89 | fs/proc/inode.c | inode->i_size = de->size; |
size | 782 | fs/smbfs/dir.c | entry.size = 0; |
size | 106 | fs/smbfs/inode.c | inode->i_size = SMB_INOP(inode)->finfo.size; |
size | 585 | fs/smbfs/proc.c | entry->size = DVAL(buf, smb_vwv4); |
size | 931 | fs/smbfs/proc.c | entry->size = DVAL(p, 5); |
size | 1084 | fs/smbfs/proc.c | finfo->size = DVAL(p,16); |
size | 1099 | fs/smbfs/proc.c | finfo->size = DVAL(p,16); |
size | 1123 | fs/smbfs/proc.c | finfo->size = DVAL(p,0); |
size | 1412 | fs/smbfs/proc.c | entry->size = DVAL(buf, smb_vwv3); |
size | 1436 | fs/smbfs/proc.c | entry->size = DVAL(buf, smb_vwv6); |
size | 1464 | 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 | 122 | 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 | 579 | include/asm-i386/string.h | extern inline void * memscan(void * addr, int c, size_t size) |
size | 581 | include/asm-i386/string.h | if (!size) |
size | 588 | include/asm-i386/string.h | : "=D" (addr), "=c" (size) |
size | 589 | 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 | 434 | include/linux/fs.h | extern void refill_freelist(int size); |
size | 493 | include/linux/fs.h | extern struct buffer_head * get_hash_table(dev_t dev, int block, int size); |
size | 494 | include/linux/fs.h | extern struct buffer_head * getblk(dev_t dev, int block, int size); |
size | 500 | include/linux/fs.h | extern void set_blocksize(dev_t dev, int size); |
size | 501 | include/linux/fs.h | extern struct buffer_head * bread(dev_t dev, int block, int size); |
size | 502 | include/linux/fs.h | extern unsigned long bread_page(unsigned long addr,dev_t dev,int b[],int size,int no_share); |
size | 503 | include/linux/fs.h | extern void bwrite_page(unsigned long addr,dev_t dev,int b[],int size); |
size | 504 | include/linux/fs.h | extern struct buffer_head * breada(dev_t dev,int block, int size, |
size | 507 | 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 | 6 | include/linux/malloc.h | void * kmalloc(unsigned int size, int priority); |
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 | 196 | include/linux/mm.h | extern void * vremap(unsigned long offset, 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 | 105 | include/linux/net.h | int (*read) (struct socket *sock, char *ubuf, int size, |
size | 107 | include/linux/net.h | int (*write) (struct socket *sock, const 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 | 142 | include/linux/proc_fs.h | unsigned long size; |
size | 146 | 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 | 366 | include/linux/skbuff.h | extern void skb_copy_datagram_iovec(struct sk_buff *from, int offset, struct iovec *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 | 240 | include/net/sock.h | unsigned long size, int force, |
size | 243 | include/net/sock.h | unsigned long size, int force, |
size | 334 | include/net/sock.h | unsigned long size, int force, |
size | 337 | include/net/sock.h | unsigned long size, int force, |
size | 354 | include/net/sock.h | unsigned long 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 | 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 | 138 | kernel/module.c | sys_create_module(char *module_name, unsigned long size) |
size | 149 | kernel/module.c | if (module_name == NULL || size == 0) |
size | 162 | kernel/module.c | npages = (size + sizeof (long) + PAGE_SIZE - 1) / PAGE_SIZE; |
size | 172 | kernel/module.c | mp->size = npages; |
size | 181 | kernel/module.c | mp->name, (unsigned long) mp->size, (unsigned long) mp->addr)); |
size | 225 | kernel/module.c | if ((codesize + sizeof (long) + PAGE_SIZE - 1) / PAGE_SIZE > mp->size) |
size | 229 | kernel/module.c | mp->size * PAGE_SIZE - (codesize + sizeof (long))); |
size | 238 | kernel/module.c | int size; |
size | 242 | kernel/module.c | if ((error = verify_area(VERIFY_READ, &symtab->size, sizeof(symtab->size)))) |
size | 244 | kernel/module.c | size = get_user(&symtab->size); |
size | 246 | kernel/module.c | if ((newtab = (struct symbol_table*) kmalloc(size, GFP_KERNEL)) == NULL) { |
size | 250 | kernel/module.c | if ((error = verify_area(VERIFY_READ, symtab, size))) { |
size | 251 | kernel/module.c | kfree_s(newtab, size); |
size | 254 | kernel/module.c | memcpy_fromfs((char *)(newtab), symtab, size); |
size | 262 | kernel/module.c | (legal_start > size)) { |
size | 264 | kernel/module.c | kfree_s(newtab, size); |
size | 271 | kernel/module.c | if ((unsigned long)sym->name < legal_start || size <= (unsigned long)sym->name) { |
size | 273 | kernel/module.c | kfree_s(newtab, size); |
size | 501 | kernel/module.c | if (mp->symtab->size) |
size | 502 | kernel/module.c | kfree_s(mp->symtab, mp->symtab->size); |
size | 524 | kernel/module.c | char size[32]; |
size | 537 | kernel/module.c | sprintf(size, "%d", mp->size); |
size | 538 | kernel/module.c | i -= strlen(size); |
size | 543 | kernel/module.c | q = size; |
size | 657 | kernel/module.c | int size; |
size | 722 | kernel/module.c | if (oldtab->size > 0) |
size | 723 | kernel/module.c | kfree_s(oldtab, oldtab->size); |
size | 738 | kernel/module.c | size = SYMSIZ + intab->n_symbols * INTSIZ + |
size | 749 | kernel/module.c | newtab->size = size; |
size | 776 | kernel/module.c | if (oldtab->size > 0) |
size | 777 | kernel/module.c | kfree_s(oldtab, oldtab->size); |
size | 270 | lib/string.c | void * memscan(void * addr, int c, size_t size) |
size | 274 | lib/string.c | while (size) { |
size | 278 | 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 | 72 | mm/filemap.c | unsigned long size, result; |
size | 92 | mm/filemap.c | size = offset + PAGE_SIZE; |
size | 95 | mm/filemap.c | if (size > inode->i_size) |
size | 96 | mm/filemap.c | size = inode->i_size; |
size | 98 | mm/filemap.c | if (size < offset) |
size | 101 | mm/filemap.c | size -= offset; |
size | 110 | mm/filemap.c | result = file.f_op->write(inode, &file, (const char *) page, size); |
size | 112 | mm/filemap.c | if (result != size) |
size | 197 | mm/filemap.c | unsigned long address, unsigned long size, |
size | 214 | mm/filemap.c | end = address + size; |
size | 227 | mm/filemap.c | unsigned long address, unsigned long size, |
size | 244 | mm/filemap.c | end = address + size; |
size | 257 | mm/filemap.c | size_t size, unsigned int flags) |
size | 260 | mm/filemap.c | unsigned long end = address + size; |
size | 88 | mm/kmalloc.c | int size; |
size | 143 | mm/kmalloc.c | #define BLOCKSIZE(order) (sizes[order].size) |
size | 171 | mm/kmalloc.c | int get_order(int size) |
size | 176 | mm/kmalloc.c | size += sizeof(struct block_header); |
size | 178 | mm/kmalloc.c | if (size <= BLOCKSIZE(order)) |
size | 183 | mm/kmalloc.c | void *kmalloc(size_t size, int priority) |
size | 191 | mm/kmalloc.c | order = get_order(size); |
size | 193 | mm/kmalloc.c | printk("kmalloc of too large a block (%d bytes).\n", (int) size); |
size | 278 | mm/kmalloc.c | sizes[order].nbytesmalloced += size; |
size | 280 | mm/kmalloc.c | p->bh_length = size; |
size | 286 | mm/kmalloc.c | int size; |
size | 311 | mm/kmalloc.c | size = p->bh_length; |
size | 342 | mm/kmalloc.c | sizes[order].nbytesmalloced -= size; |
size | 357 | mm/memory.c | static inline void unmap_pte_range(pmd_t * pmd, unsigned long address, unsigned long size) |
size | 371 | mm/memory.c | end = address + size; |
size | 383 | mm/memory.c | static inline void unmap_pmd_range(pgd_t * dir, unsigned long address, unsigned long size) |
size | 397 | mm/memory.c | end = address + size; |
size | 411 | mm/memory.c | int unmap_page_range(unsigned long address, unsigned long size) |
size | 414 | mm/memory.c | unsigned long end = address + size; |
size | 426 | mm/memory.c | static inline void zeromap_pte_range(pte_t * pte, unsigned long address, unsigned long size, pte_t zero_pte) |
size | 431 | mm/memory.c | end = address + size; |
size | 443 | mm/memory.c | static inline int zeromap_pmd_range(pmd_t * pmd, unsigned long address, unsigned long size, pte_t zero_pte) |
size | 448 | mm/memory.c | end = address + size; |
size | 462 | mm/memory.c | int zeromap_page_range(unsigned long address, unsigned long size, pgprot_t prot) |
size | 466 | mm/memory.c | unsigned long end = address + size; |
size | 491 | mm/memory.c | static inline void remap_pte_range(pte_t * pte, unsigned long address, unsigned long size, |
size | 497 | mm/memory.c | end = address + size; |
size | 512 | mm/memory.c | static inline int remap_pmd_range(pmd_t * pmd, unsigned long address, unsigned long size, |
size | 518 | mm/memory.c | end = address + size; |
size | 533 | mm/memory.c | int remap_page_range(unsigned long from, unsigned long offset, unsigned long size, pgprot_t prot) |
size | 537 | mm/memory.c | unsigned long end = from + size; |
size | 697 | mm/memory.c | int verify_area(int type, const void * addr, unsigned long size) |
size | 726 | mm/memory.c | if (vma->vm_end - start >= size) |
size | 740 | mm/memory.c | if (vma->vm_end - start >= size) |
size | 751 | mm/memory.c | size--; |
size | 752 | mm/memory.c | size += start & ~PAGE_MASK; |
size | 753 | mm/memory.c | size >>= PAGE_SHIFT; |
size | 758 | mm/memory.c | if (!size) |
size | 760 | 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 | 769 | mm/swap.c | do { unsigned long size = PAGE_SIZE << high; \ |
size | 771 | mm/swap.c | high--; size >>= 1; cli(); \ |
size | 775 | mm/swap.c | addr = (struct mem_list *) (size + (unsigned long) addr); \ |
size | 880 | mm/swap.c | unsigned long address, unsigned long size, unsigned long offset, |
size | 896 | mm/swap.c | end = address + size; |
size | 909 | mm/swap.c | unsigned long address, unsigned long size, |
size | 925 | 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 > (MAP_NR(high_memory) << PAGE_SHIFT)) |
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 | 1478 | net/appletalk/ddp.c | int size; |
size | 1523 | net/appletalk/ddp.c | size=sizeof(struct ddpehdr)+len+ddp_dl->header_length; /* For headers */ |
size | 1544 | net/appletalk/ddp.c | printk("SK %p: Size needed %d, device %s\n", sk, size, dev->name); |
size | 1546 | net/appletalk/ddp.c | size += dev->hard_header_len; |
size | 1548 | net/appletalk/ddp.c | skb = sock_alloc_send_skb(sk, size, 0 , &err); |
size | 1647 | net/appletalk/ddp.c | static int atalk_sendto(struct socket *sock, const void *ubuf, int size, int noblock, unsigned flags, |
size | 1653 | net/appletalk/ddp.c | iov.iov_len=size; |
size | 1659 | net/appletalk/ddp.c | return atalk_sendmsg(sock,&msg,size,noblock,flags); |
size | 1663 | net/appletalk/ddp.c | static int atalk_send(struct socket *sock, const void *ubuf, int size, int noblock, unsigned flags) |
size | 1665 | net/appletalk/ddp.c | return atalk_sendto(sock,ubuf,size,noblock,flags,NULL,0); |
size | 1668 | net/appletalk/ddp.c | static int atalk_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, int flags, int *addr_len) |
size | 1695 | net/appletalk/ddp.c | if(copied > size) |
size | 1696 | net/appletalk/ddp.c | copied=size; |
size | 1702 | net/appletalk/ddp.c | if (copied > size) |
size | 1703 | net/appletalk/ddp.c | copied = size; |
size | 1718 | net/appletalk/ddp.c | static int atalk_write(struct socket *sock, const char *ubuf, int size, int noblock) |
size | 1720 | net/appletalk/ddp.c | return atalk_send(sock,ubuf,size,noblock,0); |
size | 1724 | net/appletalk/ddp.c | static int atalk_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, unsigned flags, |
size | 1730 | net/appletalk/ddp.c | iov.iov_len=size; |
size | 1738 | net/appletalk/ddp.c | return atalk_recvmsg(sock,&msg,size,noblock,flags,addr_len); |
size | 1741 | net/appletalk/ddp.c | static int atalk_recv(struct socket *sock, void *ubuf, int size , int noblock, |
size | 1747 | net/appletalk/ddp.c | return atalk_recvfrom(sock,ubuf,size,noblock,flags,NULL, NULL); |
size | 1750 | net/appletalk/ddp.c | static int atalk_read(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1752 | net/appletalk/ddp.c | return atalk_recv(sock,ubuf,size,noblock,0); |
size | 1642 | net/ax25/af_ax25.c | int size; |
size | 1721 | net/ax25/af_ax25.c | size = len + 3 + size_ax25_addr(dp) + AX25_BPQ_HEADER_LEN; |
size | 1723 | net/ax25/af_ax25.c | if ((skb = sock_alloc_send_skb(sk, size, 0, &err)) == NULL) |
size | 1730 | net/ax25/af_ax25.c | skb_reserve(skb, size - len); |
size | 1785 | net/ax25/af_ax25.c | static int ax25_sendto(struct socket *sock, const void *ubuf, int size, int noblock, unsigned flags, |
size | 1791 | net/ax25/af_ax25.c | iov.iov_len=size; |
size | 1797 | net/ax25/af_ax25.c | return ax25_sendmsg(sock,&msg,size,noblock,flags); |
size | 1801 | net/ax25/af_ax25.c | static int ax25_send(struct socket *sock, const void *ubuf, int size, int noblock, unsigned flags) |
size | 1803 | net/ax25/af_ax25.c | return ax25_sendto(sock, ubuf, size, noblock, flags, NULL, 0); |
size | 1806 | net/ax25/af_ax25.c | static int ax25_write(struct socket *sock, const char *ubuf, int size, int noblock) |
size | 1808 | net/ax25/af_ax25.c | return ax25_sendto(sock, ubuf, size, noblock, 0, NULL, 0); |
size | 1811 | net/ax25/af_ax25.c | static int ax25_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, int flags, int *addr_len) |
size | 1851 | net/ax25/af_ax25.c | copied = (size < length) ? size : length; |
size | 1881 | net/ax25/af_ax25.c | static int ax25_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, unsigned flags, |
size | 1887 | net/ax25/af_ax25.c | iov.iov_len=size; |
size | 1895 | net/ax25/af_ax25.c | return ax25_recvmsg(sock,&msg,size,noblock,flags,addr_len); |
size | 1898 | net/ax25/af_ax25.c | static int ax25_recv(struct socket *sock, void *ubuf, int size , int noblock, |
size | 1906 | net/ax25/af_ax25.c | return ax25_recvfrom(sock, ubuf, size, noblock, flags, NULL, NULL); |
size | 1909 | net/ax25/af_ax25.c | static int ax25_read(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1911 | net/ax25/af_ax25.c | return ax25_recv(sock, ubuf, size, noblock, 0); |
size | 2183 | net/ax25/af_ax25.c | int size; |
size | 2193 | net/ax25/af_ax25.c | size = skb->len; |
size | 2197 | net/ax25/af_ax25.c | *ptr++ = (size + 5) % 256; |
size | 2198 | net/ax25/af_ax25.c | *ptr++ = (size + 5) / 256; |
size | 172 | net/core/datagram.c | void skb_copy_datagram(struct sk_buff *skb, int offset, char *to, int size) |
size | 174 | net/core/datagram.c | memcpy_tofs(to,skb->h.raw+offset,size); |
size | 182 | net/core/datagram.c | void skb_copy_datagram_iovec(struct sk_buff *skb, int offset, struct iovec *to, int size) |
size | 184 | net/core/datagram.c | memcpy_toiovec(to,skb->h.raw+offset,size); |
size | 884 | net/core/dev.c | int size; |
size | 887 | net/core/dev.c | size = sprintf(buffer, "%6s:%7d %4d %4d %4d %4d %8d %4d %4d %4d %5d %4d\n", |
size | 899 | net/core/dev.c | size = sprintf(buffer, "%6s: No statistics available.\n", dev->name); |
size | 901 | net/core/dev.c | return size; |
size | 914 | net/core/dev.c | int size; |
size | 919 | net/core/dev.c | size = sprintf(buffer, "Inter-| Receive | Transmit\n" |
size | 922 | net/core/dev.c | pos+=size; |
size | 923 | net/core/dev.c | len+=size; |
size | 928 | net/core/dev.c | size = sprintf_stats(buffer+len, dev); |
size | 929 | 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 | 134 | net/ipv4/af_inet.c | int size = 32767; /* a big num. */ |
size | 159 | net/ipv4/af_inet.c | if (j < size) |
size | 162 | net/ipv4/af_inet.c | size = j; |
size | 1178 | net/ipv4/af_inet.c | static int inet_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1190 | net/ipv4/af_inet.c | return(sk->prot->recvfrom(sk, (unsigned char *) ubuf, size, noblock, flags, |
size | 1195 | net/ipv4/af_inet.c | static int inet_recv(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1199 | net/ipv4/af_inet.c | return inet_recvfrom(sock,ubuf,size,noblock,flags,NULL,NULL); |
size | 1202 | net/ipv4/af_inet.c | static int inet_read(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1211 | net/ipv4/af_inet.c | return(sk->prot->read(sk, (unsigned char *) ubuf, size, noblock, 0)); |
size | 1214 | net/ipv4/af_inet.c | static int inet_send(struct socket *sock, const void *ubuf, int size, int noblock, |
size | 1228 | net/ipv4/af_inet.c | return(sk->prot->write(sk, (const unsigned char *) ubuf, size, noblock, flags)); |
size | 1231 | net/ipv4/af_inet.c | static int inet_write(struct socket *sock, const char *ubuf, int size, int noblock) |
size | 1233 | net/ipv4/af_inet.c | return inet_send(sock,ubuf,size,noblock,0); |
size | 1236 | net/ipv4/af_inet.c | static int inet_sendto(struct socket *sock, const void *ubuf, int size, int noblock, |
size | 1252 | net/ipv4/af_inet.c | return(sk->prot->sendto(sk, (const unsigned char *) ubuf, size, noblock, flags, |
size | 1056 | net/ipv4/arp.c | int size; |
size | 1062 | net/ipv4/arp.c | size = sprintf(buffer,"IP address HW type Flags HW address Mask\n"); |
size | 1064 | net/ipv4/arp.c | pos+=size; |
size | 1065 | net/ipv4/arp.c | len+=size; |
size | 1098 | net/ipv4/arp.c | size = sprintf(buffer+len, |
size | 1104 | net/ipv4/arp.c | size += sprintf(buffer+len+size, |
size | 1109 | net/ipv4/arp.c | len+=size; |
size | 515 | net/ipv4/icmp.c | int size, offset; |
size | 520 | net/ipv4/icmp.c | size = dev->hard_header_len + 64 + len + 15; |
size | 521 | net/ipv4/icmp.c | skb2 = alloc_skb(size, GFP_ATOMIC); |
size | 587 | net/ipv4/icmp.c | int size, offset; |
size | 600 | net/ipv4/icmp.c | size = dev->hard_header_len + 84 + 15; |
size | 602 | net/ipv4/icmp.c | if (! (skb2 = alloc_skb(size, GFP_ATOMIC))) |
size | 694 | net/ipv4/icmp.c | int size, offset; |
size | 700 | net/ipv4/icmp.c | size = dev->hard_header_len + 64 + len + 15; |
size | 701 | net/ipv4/icmp.c | skb2 = alloc_skb(size, GFP_ATOMIC); |
size | 722 | net/ipv4/ip_fw.c | int size; |
size | 779 | net/ipv4/ip_fw.c | size = skb->len - ((unsigned char *)portptr - skb->h.raw); |
size | 790 | net/ipv4/ip_fw.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
size | 814 | net/ipv4/ip_fw.c | tcp_send_check(th,iph->saddr,iph->daddr,size,skb->sk); |
size | 871 | net/ipv4/ip_fw.c | int size = skb_ptr->len - ((unsigned char *)portptr - skb_ptr->h.raw); |
size | 879 | net/ipv4/ip_fw.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
size | 891 | net/ipv4/ip_fw.c | tcp_send_check((struct tcphdr *)portptr,iph->saddr,iph->daddr,size,skb_ptr->sk); |
size | 487 | net/ipv4/rarp.c | int size; |
size | 493 | net/ipv4/rarp.c | size = sprintf(buffer,"RARP disabled until entries added to cache.\n"); |
size | 494 | net/ipv4/rarp.c | pos+=size; |
size | 495 | net/ipv4/rarp.c | len+=size; |
size | 499 | net/ipv4/rarp.c | size = sprintf(buffer, |
size | 501 | net/ipv4/rarp.c | pos+=size; |
size | 502 | net/ipv4/rarp.c | len+=size; |
size | 514 | net/ipv4/rarp.c | size = sprintf(buffer+len, |
size | 525 | net/ipv4/rarp.c | len+=size; |
size | 560 | net/ipv4/route.c | int size; |
size | 572 | 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 | 576 | net/ipv4/route.c | len+=size; |
size | 577 | 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 | 1138 | net/ipv4/tcp.c | int size; |
size | 1145 | net/ipv4/tcp.c | size = skb->len - ((unsigned char *) th - skb->data); |
size | 1151 | net/ipv4/tcp.c | if (size < sizeof(struct tcphdr) || size > skb->len) |
size | 1164 | net/ipv4/tcp.c | if (size == sizeof(struct tcphdr)) |
size | 1180 | net/ipv4/tcp.c | skb->h.seq = ntohl(th->seq) + size - 4*th->doff; |
size | 1224 | net/ipv4/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
size | 3076 | net/ipv4/tcp.c | int size; |
size | 3086 | net/ipv4/tcp.c | size = skb->len - (((unsigned char *) th) - skb->data); |
size | 3091 | net/ipv4/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
size | 997 | net/ipx/af_ipx.c | int size; |
size | 1014 | net/ipx/af_ipx.c | size=sizeof(ipx_packet)+len; |
size | 1015 | net/ipx/af_ipx.c | size += ipx_offset; |
size | 1017 | net/ipx/af_ipx.c | if(size+sk->wmem_alloc>sk->sndbuf) return -EAGAIN; |
size | 1019 | net/ipx/af_ipx.c | skb=alloc_skb(size,GFP_KERNEL); |
size | 1737 | net/ipx/af_ipx.c | static int ipx_send(struct socket *sock, const void *ubuf, int size, int noblock, unsigned flags) |
size | 1739 | net/ipx/af_ipx.c | return ipx_sendto(sock,ubuf,size,noblock,flags,NULL,0); |
size | 1742 | net/ipx/af_ipx.c | static int ipx_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1772 | net/ipx/af_ipx.c | copied = (truesize > size) ? size : truesize; |
size | 1787 | net/ipx/af_ipx.c | static int ipx_write(struct socket *sock, const char *ubuf, int size, int noblock) |
size | 1789 | net/ipx/af_ipx.c | return ipx_send(sock,ubuf,size,noblock,0); |
size | 1793 | net/ipx/af_ipx.c | static int ipx_recv(struct socket *sock, void *ubuf, int size , int noblock, |
size | 1799 | net/ipx/af_ipx.c | return ipx_recvfrom(sock,ubuf,size,noblock,flags,NULL, NULL); |
size | 1802 | net/ipx/af_ipx.c | static int ipx_read(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1804 | net/ipx/af_ipx.c | return ipx_recv(sock,ubuf,size,noblock,0); |
size | 1031 | net/netrom/af_netrom.c | int size; |
size | 1070 | net/netrom/af_netrom.c | size = len + AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + 3 + NR_NETWORK_LEN + NR_TRANSPORT_LEN; |
size | 1072 | net/netrom/af_netrom.c | if ((skb = sock_alloc_send_skb(sk, size, 0, &err)) == NULL) |
size | 1079 | net/netrom/af_netrom.c | skb_reserve(skb, size - len); |
size | 1128 | net/netrom/af_netrom.c | static int nr_send(struct socket *sock, const void *ubuf, int size, int noblock, unsigned flags) |
size | 1130 | net/netrom/af_netrom.c | return nr_sendto(sock, ubuf, size, noblock, flags, NULL, 0); |
size | 1133 | net/netrom/af_netrom.c | static int nr_write(struct socket *sock, const char *ubuf, int size, int noblock) |
size | 1135 | net/netrom/af_netrom.c | return nr_send(sock, ubuf, size, noblock, 0); |
size | 1138 | net/netrom/af_netrom.c | static int nr_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1172 | net/netrom/af_netrom.c | copied = (size < skb->len) ? size : skb->len; |
size | 1191 | net/netrom/af_netrom.c | static int nr_recv(struct socket *sock, void *ubuf, int size , int noblock, |
size | 1199 | net/netrom/af_netrom.c | return nr_recvfrom(sock, ubuf, size, noblock, flags, NULL, NULL); |
size | 1202 | net/netrom/af_netrom.c | static int nr_read(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1204 | net/netrom/af_netrom.c | return nr_recv(sock, ubuf, size, noblock, 0); |
size | 73 | net/socket.c | int size); |
size | 75 | 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 | 327 | net/socket.c | if(size<0) |
size | 329 | net/socket.c | if(size==0) /* Match SYS5 behaviour */ |
size | 331 | net/socket.c | if ((err=verify_area(VERIFY_WRITE,ubuf,size))<0) |
size | 333 | net/socket.c | return(sock->ops->read(sock, ubuf, size, (file->f_flags & O_NONBLOCK))); |
size | 341 | net/socket.c | static int sock_write(struct inode *inode, struct file *file, const char *ubuf, int size) |
size | 351 | net/socket.c | if(size<0) |
size | 353 | net/socket.c | if(size==0) /* Match SYS5 behaviour */ |
size | 356 | net/socket.c | if ((err=verify_area(VERIFY_READ,ubuf,size))<0) |
size | 358 | net/socket.c | return(sock->ops->write(sock, ubuf, size,(file->f_flags & O_NONBLOCK))); |
size | 659 | net/unix/af_unix.c | int err,size; |
size | 709 | net/unix/af_unix.c | size=/*protocol_size(&proto_unix)+*/len; |
size | 710 | net/unix/af_unix.c | skb=sock_alloc_send_skb(sk,size,nonblock, &err); |
size | 748 | net/unix/af_unix.c | static int unix_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, int flags, int *addr_len) |
size | 838 | net/unix/af_unix.c | num=min(skb->len,size-copied); |
size | 983 | net/unix/af_unix.c | static int unix_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, unsigned flags, |
size | 989 | net/unix/af_unix.c | iov.iov_len=size; |
size | 997 | net/unix/af_unix.c | return unix_recvmsg(sock,&msg,size,noblock,flags,addr_len); |
size | 1000 | net/unix/af_unix.c | static int unix_read(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1002 | net/unix/af_unix.c | return unix_recvfrom(sock,ubuf,size,noblock,0,NULL,NULL); |
size | 1005 | net/unix/af_unix.c | static int unix_recv(struct socket *sock, void *ubuf, int size, int noblock, unsigned int flags) |
size | 1007 | net/unix/af_unix.c | return unix_recvfrom(sock,ubuf,size,noblock,flags,NULL,NULL); |
size | 1010 | net/unix/af_unix.c | static int unix_sendto(struct socket *sock, const void *ubuf, int size, int noblock, unsigned flags, |
size | 1016 | net/unix/af_unix.c | iov.iov_len=size; |
size | 1022 | net/unix/af_unix.c | return unix_sendmsg(sock,&msg,size,noblock,flags); |
size | 1025 | net/unix/af_unix.c | static int unix_write(struct socket *sock, const char *ubuf, int size, int noblock) |
size | 1027 | net/unix/af_unix.c | return unix_sendto(sock,ubuf,size,noblock, 0, NULL, 0); |
size | 1030 | net/unix/af_unix.c | static int unix_send(struct socket *sock, const void *ubuf, int size, int noblock, unsigned int flags) |
size | 1032 | net/unix/af_unix.c | return unix_sendto(sock,ubuf,size,noblock, flags, NULL, 0); |