tag | line | file | source code |
size | 236 | drivers/block/cdu31a.c | static void size_to_buf(unsigned int size, |
size | 985 | drivers/block/cdu31a.c | size_to_buf(unsigned int size, |
size | 988 | drivers/block/cdu31a.c | buf[0] = size / 65536; |
size | 989 | drivers/block/cdu31a.c | size = size % 65536; |
size | 990 | drivers/block/cdu31a.c | buf[1] = size / 256; |
size | 991 | drivers/block/cdu31a.c | buf[2] = size % 256; |
size | 1598 | drivers/block/cdu31a.c | int size) |
size | 1600 | drivers/block/cdu31a.c | src += (size - 1); |
size | 1601 | drivers/block/cdu31a.c | dst += (size - 1); |
size | 1602 | drivers/block/cdu31a.c | while (size > 0) |
size | 1605 | drivers/block/cdu31a.c | size--; |
size | 1777 | drivers/block/floppy.c | unsigned char track,head,sect,size; |
size | 1816 | drivers/block/floppy.c | here[count].size = F_SIZECODE; |
size | 1986 | drivers/block/floppy.c | floppy->size >> 1; |
size | 1996 | drivers/block/floppy.c | floppy->size >> 1; |
size | 2016 | drivers/block/floppy.c | int size; |
size | 2020 | drivers/block/floppy.c | size = CURRENT->current_nr_sectors << 9; |
size | 2025 | drivers/block/floppy.c | while ( bh && bh->b_data == base + size ){ |
size | 2026 | drivers/block/floppy.c | size += bh->b_size; |
size | 2030 | drivers/block/floppy.c | return size >> 9; |
size | 2056 | drivers/block/floppy.c | int size; |
size | 2090 | drivers/block/floppy.c | size = CURRENT->current_nr_sectors << 9; |
size | 2094 | drivers/block/floppy.c | if ( size > remaining ) |
size | 2095 | drivers/block/floppy.c | size = remaining; |
size | 2097 | drivers/block/floppy.c | if (dma_buffer + size > |
size | 2116 | drivers/block/floppy.c | memcpy( buffer, dma_buffer, size); |
size | 2118 | drivers/block/floppy.c | memcpy( dma_buffer, buffer, size); |
size | 2119 | drivers/block/floppy.c | remaining -= size; |
size | 2123 | drivers/block/floppy.c | dma_buffer += size; |
size | 2131 | drivers/block/floppy.c | size = bh->b_size; |
size | 2547 | drivers/block/floppy.c | static int fd_copyout(void *param, volatile void *address, int size) |
size | 2551 | drivers/block/floppy.c | i = verify_area(VERIFY_WRITE,param,size); |
size | 2554 | drivers/block/floppy.c | memcpy_tofs(param,(void *) address, size); |
size | 2790 | drivers/block/floppy.c | floppy_type[type].size>>1; |
size | 2811 | drivers/block/floppy.c | floppy_sizes[drive] = user_params[drive].size >> 1; |
size | 3081 | drivers/block/floppy.c | int size = floppy_blocksizes[MINOR(dev)]; |
size | 3082 | drivers/block/floppy.c | if (!size) |
size | 3083 | drivers/block/floppy.c | size = 1024; |
size | 3084 | drivers/block/floppy.c | if (!(bh = getblk(dev,0,size))){ |
size | 3183 | drivers/block/floppy.c | floppy_sizes[i] = floppy_type[TYPE(i)].size >> 1; |
size | 740 | drivers/char/n_tty.c | int size; |
size | 894 | drivers/char/n_tty.c | size = b - buf; |
size | 895 | drivers/char/n_tty.c | if (size && nr) |
size | 897 | drivers/char/n_tty.c | if (!size && clear_bit(TTY_PUSH, &tty->flags)) |
size | 899 | drivers/char/n_tty.c | if (!size && !retval) |
size | 901 | drivers/char/n_tty.c | return (size ? size : retval); |
size | 777 | drivers/char/tpqic02.c | static int send_qic02_data(char sb[], unsigned size, int ignore_ex) |
size | 781 | drivers/char/tpqic02.c | for (i=0; i<size; i++) { |
size | 843 | drivers/char/tpqic02.c | static int rdstatus(char *stp, unsigned size, char qcmd) |
size | 877 | drivers/char/tpqic02.c | for (q=stp; q<stp+size; q++) |
size | 2805 | drivers/char/tpqic02.c | static inline unsigned long const align_buffer(unsigned long a, unsigned size) |
size | 2807 | drivers/char/tpqic02.c | if (a & (size-1)) /* if not aligned */ |
size | 2808 | drivers/char/tpqic02.c | return (a | (size-1)) + 1; |
size | 171 | drivers/net/3c505.c | #define alloc_skb(size, priority) (struct sk_buff *) kmalloc(size,priority) |
size | 81 | drivers/net/3c505dta.h | word size, |
size | 391 | drivers/net/3c507.c | int size; |
size | 394 | drivers/net/3c507.c | size = 64*1024; |
size | 398 | drivers/net/3c507.c | size = ((mem_config & 3) + 1) << 14; |
size | 402 | drivers/net/3c507.c | dev->mem_end = base + size; |
size | 40 | drivers/net/apricot.c | #define check_region(addr, size) 0 |
size | 41 | drivers/net/apricot.c | #define snarf_region(addr, size) do ; while(0) |
size | 45 | drivers/net/apricot.c | #define alloc_skb(size, priority) (struct sk_buff *) kmalloc(size,priority) |
size | 46 | drivers/net/apricot.c | #define kfree_skbmem(buff, size) kfree_s(buff,size) |
size | 96 | drivers/net/apricot.c | unsigned short size; |
size | 105 | drivers/net/apricot.c | unsigned short size; |
size | 115 | drivers/net/apricot.c | unsigned short size; |
size | 227 | drivers/net/apricot.c | lp->rx[i].size = 1532; |
size | 613 | drivers/net/apricot.c | tx_cmd->size = 0; |
size | 615 | drivers/net/apricot.c | tx_cmd->tbd->size = EOF | length; |
size | 111 | drivers/net/atp.c | #define alloc_skb(size, priority) (struct sk_buff *) kmalloc(size,priority) |
size | 112 | drivers/net/atp.c | #define kfree_skbmem(addr, size) kfree_s(addr,size); |
size | 116 | drivers/net/atp.c | #define check_region(ioaddr, size) 0 |
size | 117 | drivers/net/atp.c | #define snarf_region(ioaddr, size); do ; while (0) |
size | 592 | drivers/net/de600.c | int size; |
size | 597 | drivers/net/de600.c | size = de600_read_byte(RX_LEN, dev); /* low byte */ |
size | 598 | drivers/net/de600.c | size += (de600_read_byte(RX_LEN, dev) << 8); /* high byte */ |
size | 599 | drivers/net/de600.c | size -= 4; /* Ignore trailing 4 CRC-bytes */ |
size | 607 | drivers/net/de600.c | if ((size < 32) || (size > 1535)) { |
size | 608 | drivers/net/de600.c | printk("%s: Bogus packet size %d.\n", dev->name, size); |
size | 609 | drivers/net/de600.c | if (size > 10000) |
size | 614 | drivers/net/de600.c | skb = alloc_skb(size, GFP_ATOMIC); |
size | 618 | drivers/net/de600.c | dev->name, size); |
size | 629 | drivers/net/de600.c | for (i = size; i > 0; --i, ++buffer) |
size | 634 | drivers/net/de600.c | if (dev_rint((unsigned char *)skb, size, IN_SKBUFF, dev)) |
size | 622 | drivers/net/de620.c | int size; |
size | 671 | drivers/net/de620.c | size = header_buf.Rx_ByteCount - 4; |
size | 672 | drivers/net/de620.c | if ((size < RUNT) || (GIANT < size)) { |
size | 673 | drivers/net/de620.c | printk("%s: Illegal packet size: %d!\n", dev->name, size); |
size | 676 | drivers/net/de620.c | skb = alloc_skb(size, GFP_ATOMIC); |
size | 679 | drivers/net/de620.c | dev->name, size); |
size | 683 | drivers/net/de620.c | skb->len = size; skb->dev = dev; skb->free = 1; |
size | 687 | drivers/net/de620.c | de620_read_block(buffer, size); |
size | 688 | drivers/net/de620.c | PRINTK(("Read %d bytes\n", size)); |
size | 184 | drivers/net/ni52.c | #define check_region(ioaddr, size) 0 |
size | 185 | drivers/net/ni52.c | #define snarf_region(ioaddr, size); do ; while (0) |
size | 203 | drivers/net/ni52.c | static int check586(struct device *dev,char *where,unsigned size); |
size | 279 | drivers/net/ni52.c | static int check586(struct device *dev,char *where,unsigned size) |
size | 285 | drivers/net/ni52.c | p->base = (unsigned long) where + size - 0x01000000; |
size | 286 | drivers/net/ni52.c | p->memtop = where + size; |
size | 381 | drivers/net/ni52.c | int i,size; |
size | 403 | drivers/net/ni52.c | size = 0x4000; |
size | 404 | drivers/net/ni52.c | if(!check586(dev,(char *) dev->mem_start,size)) { |
size | 405 | drivers/net/ni52.c | size = 0x2000; |
size | 406 | drivers/net/ni52.c | if(!check586(dev,(char *) dev->mem_start,size)) { |
size | 421 | drivers/net/ni52.c | size = 0x2000; |
size | 422 | drivers/net/ni52.c | if(check586(dev,(char *)dev->mem_start,size)) /* 8K-check */ |
size | 424 | drivers/net/ni52.c | size = 0x4000; |
size | 425 | drivers/net/ni52.c | if(check586(dev,(char *)dev->mem_start,size)) /* 16K-check */ |
size | 430 | drivers/net/ni52.c | ((struct priv *) (dev->priv))->base = dev->mem_start + size - 0x01000000; |
size | 433 | drivers/net/ni52.c | printk("Memaddr: 0x%lx, Memsize: %d, ",dev->mem_start,size); |
size | 693 | drivers/net/ni52.c | rbd[i].size = RECV_BUFF_SIZE; |
size | 697 | drivers/net/ni52.c | rbd[NUM_RECV_BUFFS-1].size |= RBD_LAST; /* set eol */ |
size | 823 | drivers/net/ni52.c | printk("S:%04x/%x/%02x >",(int) rbd1->status,(int) rbd1->size>>12,(int)((unsigned long) rbd1 & 0xff)); |
size | 829 | drivers/net/ni52.c | printk("%04x/%x-",(int) rbd1->status>>12,(int) rbd1->size>>12); |
size | 883 | drivers/net/ni52.c | rbd->size |= RBD_LAST; |
size | 884 | drivers/net/ni52.c | p->rbd_last->size &= ~RBD_LAST; |
size | 892 | drivers/net/ni52.c | rbd->size |= RBD_LAST; |
size | 893 | drivers/net/ni52.c | p->rbd_last->size &= ~RBD_LAST; |
size | 1042 | drivers/net/ni52.c | p->xmit_buffs[0]->size = TBD_LAST | len; |
size | 1055 | drivers/net/ni52.c | p->xmit_buffs[0]->size = TBD_LAST | len; |
size | 1068 | 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 | 57 | drivers/net/ni65.c | #define check_region(ioaddr, size) 0 |
size | 58 | drivers/net/ni65.c | #define snarf_region(ioaddr, size); do ; while (0) |
size | 332 | drivers/net/sk_g16.c | #define check_region(ioaddr, size) 0 |
size | 333 | drivers/net/sk_g16.c | #define snarf_region(ioaddr, size); do ; while (0) |
size | 463 | drivers/net/slip.c | int size; |
size | 483 | drivers/net/slip.c | size=skb->len; |
size | 484 | drivers/net/slip.c | sl_encaps(sl, skb->data, size); |
size | 671 | drivers/scsi/53c7,8xx.c | int script_len = 0, size = 0; |
size | 709 | drivers/scsi/53c7,8xx.c | size = sizeof(struct NCR53c7x0_hostdata) + script_len; |
size | 711 | drivers/scsi/53c7,8xx.c | instance = scsi_register (tpnt, size); |
size | 714 | drivers/scsi/53c7,8xx.c | hostdata->size = size; |
size | 1375 | drivers/scsi/53c7,8xx.c | scsi_free ((void *) cmd->real, cmd->size); |
size | 1377 | drivers/scsi/53c7,8xx.c | kfree_s (cmd->real, cmd->size); |
size | 2243 | drivers/scsi/53c7,8xx.c | int size; /* Size of *tmp */ |
size | 2336 | drivers/scsi/53c7,8xx.c | size = ((sizeof (struct NCR53c7x0_cmd) + (hostdata->dsa_end - |
size | 2340 | drivers/scsi/53c7,8xx.c | size = sizeof (struct NCR53c7x0_cmd) + (hostdata->dsa_end - |
size | 2347 | drivers/scsi/53c7,8xx.c | if (size > 512) { |
size | 2348 | drivers/scsi/53c7,8xx.c | printk("scsi%d : size = %d\n", host->host_no, size); |
size | 2353 | drivers/scsi/53c7,8xx.c | real = in_scan_scsis ? NULL : scsi_malloc (size); |
size | 2355 | drivers/scsi/53c7,8xx.c | real = kmalloc (size, GFP_ATOMIC); |
size | 2359 | drivers/scsi/53c7,8xx.c | if (!scan_scsis_buf_busy && size <= sizeof(scan_scsis_buf)) { |
size | 2364 | drivers/scsi/53c7,8xx.c | host->host_no, size); |
size | 2383 | drivers/scsi/53c7,8xx.c | tmp->size = size; |
size | 3039 | drivers/scsi/53c7,8xx.c | scsi_free ((void *) cmd->real, cmd->size); |
size | 3041 | drivers/scsi/53c7,8xx.c | kfree_s ((void *) cmd->real, cmd->size); |
size | 3596 | drivers/scsi/53c7,8xx.c | int size; |
size | 3604 | drivers/scsi/53c7,8xx.c | size = 3; |
size | 3607 | drivers/scsi/53c7,8xx.c | size = 2; |
size | 3618 | drivers/scsi/53c7,8xx.c | return size; |
size | 3662 | drivers/scsi/53c7,8xx.c | scsi_free ((void *) curr->real, curr->size); |
size | 3664 | drivers/scsi/53c7,8xx.c | kfree_s ((void *) curr->real, curr->size); |
size | 3701 | drivers/scsi/53c7,8xx.c | scsi_free ((void *) curr->real, curr->size); |
size | 3703 | drivers/scsi/53c7,8xx.c | kfree_s ((void *) curr->real, curr->size); |
size | 940 | drivers/scsi/53c7,8xx.h | int size; /* scsi_malloc'd size of this |
size | 1010 | drivers/scsi/53c7,8xx.h | int size; /* Size of entire Scsi_Host |
size | 1066 | drivers/scsi/aha152x.c | int size = disk->capacity; |
size | 1070 | drivers/scsi/aha152x.c | printk("aha152x_biosparam: dev=%x, size=%d, ", dev, size); |
size | 1077 | drivers/scsi/aha152x.c | info_array[2]=size>>11; |
size | 1212 | drivers/scsi/aha1542.c | int size = disk->capacity; |
size | 1216 | drivers/scsi/aha1542.c | if((size>>11) > 1024 && translation_algorithm == 2) { |
size | 1220 | drivers/scsi/aha1542.c | ip[2] = size /255/63; |
size | 1224 | drivers/scsi/aha1542.c | ip[2] = size >> 11; |
size | 495 | drivers/scsi/aha1740.c | int size = disk->capacity; |
size | 499 | drivers/scsi/aha1740.c | ip[2] = size >> 11; |
size | 69 | drivers/scsi/aic7770.c | void *Malloc(size_t size) |
size | 71 | drivers/scsi/aic7770.c | void *p = malloc(size); |
size | 77 | drivers/scsi/aic7770.c | void *Realloc(void *ptr, size_t size) |
size | 79 | drivers/scsi/aic7770.c | void *p = realloc(ptr, size); |
size | 1477 | drivers/scsi/buslogic.c | unsigned int size = disk->capacity; |
size | 1481 | drivers/scsi/buslogic.c | && size >= 0x200000) { /* 1GB */ |
size | 1482 | drivers/scsi/buslogic.c | if (size >= 0x400000) { /* 2GB */ |
size | 1503 | drivers/scsi/buslogic.c | ip[2] = size / (ip[0] * ip[1]); |
size | 668 | drivers/scsi/eata.c | int size = disk->capacity; |
size | 670 | drivers/scsi/eata.c | if(size < 0x200000) { /* < 1Gbyte */ |
size | 674 | drivers/scsi/eata.c | else if (size < 0x400000) { /* < 2Gbyte */ |
size | 678 | drivers/scsi/eata.c | else if(size < 0x800000) { /* < 4Gbyte */ |
size | 687 | drivers/scsi/eata.c | ip[2] = size / (ip[0] * ip[1]); |
size | 733 | drivers/scsi/fdomain.c | unsigned long blocks, size, capacity; |
size | 737 | drivers/scsi/fdomain.c | size = (buf[4] << 24) | (buf[5] << 16) | (buf[6] << 8) | buf[7]; |
size | 738 | drivers/scsi/fdomain.c | capacity = +( +(blocks / 1024L) * +(size * 10L)) / 1024L; |
size | 741 | drivers/scsi/fdomain.c | ((capacity + 5L) / 10L), size ); |
size | 1506 | drivers/scsi/fdomain.c | int size = disk->capacity; |
size | 1611 | drivers/scsi/fdomain.c | if ((unsigned int)size >= 0x7e0000U) { |
size | 1614 | drivers/scsi/fdomain.c | } else if ((unsigned int)size >= 0x200000U) { |
size | 1623 | drivers/scsi/fdomain.c | info_array[2] = (unsigned int)size / (info_array[0] * info_array[1] ); |
size | 288 | drivers/scsi/hosts.h | extern void * scsi_init_malloc(unsigned int size); |
size | 289 | drivers/scsi/hosts.h | extern void scsi_init_free(char * ptr, unsigned int size); |
size | 409 | drivers/scsi/in2000.c | int timeout, size, loop; |
size | 441 | drivers/scsi/in2000.c | size = SCpnt->cmd_len; /* CDB length */ |
size | 501 | drivers/scsi/in2000.c | for ( loop=0; loop < size; loop++ ) |
size | 676 | drivers/scsi/in2000.c | int size = disk->capacity; |
size | 680 | drivers/scsi/in2000.c | iinfo[2] = size >> 11; |
size | 448 | drivers/scsi/pas16.c | int size = disk->capacity; |
size | 451 | drivers/scsi/pas16.c | ip[2] = size >> 11; /* I think I have it as /(32*64) */ |
size | 455 | drivers/scsi/pas16.c | ip[2]=size/(63*255); |
size | 1749 | drivers/scsi/scsi.c | void * scsi_init_malloc(unsigned int size) |
size | 1753 | drivers/scsi/scsi.c | retval = (unsigned int) kmalloc(size, GFP_ATOMIC); |
size | 1756 | drivers/scsi/scsi.c | scsi_init_memory_start += size; |
size | 1762 | drivers/scsi/scsi.c | void scsi_init_free(char * ptr, unsigned int size) |
size | 1768 | drivers/scsi/scsi.c | if(((unsigned int) ptr) + size == scsi_init_memory_start) |
size | 545 | drivers/scsi/scsi_debug.c | int size = disk->capacity; |
size | 548 | drivers/scsi/scsi_debug.c | info[2] = (size + 2047) >> 11; |
size | 42 | drivers/scsi/scsicam.c | int size = disk->capacity; |
size | 50 | drivers/scsi/scsicam.c | ret_code = partsize (bh, (unsigned long) size, (unsigned int *) ip + 2, |
size | 58 | drivers/scsi/scsicam.c | ret_code = setsize ((unsigned long) size, (unsigned int *) ip + 2, |
size | 128 | drivers/scsi/sg.c | static char *sg_malloc(int size) |
size | 130 | drivers/scsi/sg.c | if (size<=4096) |
size | 131 | drivers/scsi/sg.c | return (char *) scsi_malloc(size); |
size | 133 | drivers/scsi/sg.c | if (size<SG_BIG_BUFF) |
size | 148 | drivers/scsi/sg.c | static void sg_free(char *buff,int size) |
size | 158 | drivers/scsi/sg.c | scsi_free(buff,size); |
size | 222 | drivers/scsi/sg.c | int bsize,size,amt,i; |
size | 278 | drivers/scsi/sg.c | size=COMMAND_SIZE(opcode); |
size | 279 | drivers/scsi/sg.c | if (opcode >= 0xc0 && device->header.twelve_byte) size = 12; |
size | 280 | drivers/scsi/sg.c | SCpnt->cmd_len = size; |
size | 281 | drivers/scsi/sg.c | memcpy_fromfs(cmnd,buf,size); |
size | 282 | drivers/scsi/sg.c | buf+=size; |
size | 283 | drivers/scsi/sg.c | memcpy_fromfs(device->buff,buf,device->header.pack_len-size-sizeof(struct sg_header)); |
size | 294 | drivers/scsi/t128.c | int size = disk->capacity; |
size | 297 | drivers/scsi/t128.c | ip[2] = size >> 11; |
size | 711 | drivers/scsi/u14-34f.c | int size = disk->capacity; |
size | 715 | drivers/scsi/u14-34f.c | dkinfo[2] = size / (HD(j)->heads * HD(j)->sectors); |
size | 1000 | drivers/scsi/ultrastor.c | int size = disk->capacity; |
size | 1005 | drivers/scsi/ultrastor.c | dkinfo[2] = size / s; /* Ignore partial cylinders */ |
size | 1216 | drivers/scsi/wd7000.c | int size = disk->capacity; |
size | 1219 | drivers/scsi/wd7000.c | ip[2] = size >> 11; |
size | 521 | drivers/sound/dmabuf.c | DMAbuf_getwrbuffer (int dev, char **buf, int *size) |
size | 585 | drivers/sound/dmabuf.c | *size = dmap->fragment_size; |
size | 891 | drivers/sound/dmabuf.c | DMAbuf_getwrbuffer (int dev, char **buf, int *size) |
size | 132 | drivers/sound/os.h | #define PERMANENT_MALLOC(typecast, mem_ptr, size, linux_ptr) \ |
size | 134 | drivers/sound/os.h | linux_ptr += (size);} |
size | 100 | drivers/sound/pss.c | static int pss_download_boot (unsigned char *block, int size); |
size | 643 | drivers/sound/pss.c | pss_download_boot (unsigned char *block, int size) |
size | 678 | drivers/sound/pss.c | if (count >= size) |
size | 683 | drivers/sound/pss.c | count, size); |
size | 7 | drivers/sound/sound_calls.h | int DMAbuf_getwrbuffer(int dev, char **buf, int *size); |
size | 30 | fs/block_dev.c | unsigned int size; |
size | 57 | fs/block_dev.c | size = ((loff_t) blk_size[MAJOR(dev)][MINOR(dev)] << BLOCK_SIZE_BITS) >> blocksize_bits; |
size | 59 | fs/block_dev.c | size = INT_MAX; |
size | 61 | fs/block_dev.c | if (block >= size) |
size | 88 | fs/block_dev.c | if (block + blocks > size) blocks = size - block; |
size | 171 | fs/block_dev.c | loff_t size; |
size | 189 | fs/block_dev.c | size = (loff_t) blk_size[MAJOR(dev)][MINOR(dev)] << BLOCK_SIZE_BITS; |
size | 191 | fs/block_dev.c | size = INT_MAX; |
size | 195 | fs/block_dev.c | if (offset > size) |
size | 198 | fs/block_dev.c | left = size - offset; |
size | 206 | fs/block_dev.c | size >>= blocksize_bits; |
size | 219 | fs/block_dev.c | if (block + blocks > size) |
size | 220 | 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 | 411 | fs/buffer.c | static struct buffer_head * find_buffer(dev_t dev, int block, int size) |
size | 417 | fs/buffer.c | if (tmp->b_size == size) |
size | 434 | fs/buffer.c | struct buffer_head * get_hash_table(dev_t dev, int block, int size) |
size | 439 | fs/buffer.c | if (!(bh=find_buffer(dev,block,size))) |
size | 443 | fs/buffer.c | if (bh->b_dev == dev && bh->b_blocknr == block && bh->b_size == size) |
size | 449 | fs/buffer.c | void set_blocksize(dev_t dev, int size) |
size | 457 | fs/buffer.c | switch(size) { |
size | 462 | fs/buffer.c | if (blksize_size[MAJOR(dev)][MINOR(dev)] == 0 && size == BLOCK_SIZE) { |
size | 463 | fs/buffer.c | blksize_size[MAJOR(dev)][MINOR(dev)] = size; |
size | 466 | fs/buffer.c | if (blksize_size[MAJOR(dev)][MINOR(dev)] == size) |
size | 469 | fs/buffer.c | blksize_size[MAJOR(dev)][MINOR(dev)] = size; |
size | 481 | fs/buffer.c | if (bh->b_size == size) |
size | 485 | fs/buffer.c | if (bh->b_dev == dev && bh->b_size != size) { |
size | 496 | fs/buffer.c | void refill_freelist(int size) |
size | 501 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 518 | fs/buffer.c | needed =bdf_prm.b_un.nrefill * size; |
size | 521 | fs/buffer.c | grow_buffers(GFP_BUFFER, size)) { |
size | 530 | fs/buffer.c | while(maybe_shrink_lav_buffers(size)) |
size | 532 | fs/buffer.c | if(!grow_buffers(GFP_BUFFER, size)) break; |
size | 564 | fs/buffer.c | if (bh->b_count || bh->b_size != size) |
size | 604 | fs/buffer.c | if (bh->b_count || bh->b_size != size) |
size | 635 | fs/buffer.c | if (bh->b_count || bh->b_size != size) |
size | 664 | fs/buffer.c | if (grow_buffers(GFP_BUFFER, size)) { |
size | 671 | fs/buffer.c | if (!grow_buffers(GFP_ATOMIC, size)) |
size | 687 | fs/buffer.c | struct buffer_head * getblk(dev_t dev, int block, int size) |
size | 690 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 699 | fs/buffer.c | bh = get_hash_table(dev, block, size); |
size | 707 | fs/buffer.c | while(!free_list[isize]) refill_freelist(size); |
size | 709 | fs/buffer.c | if (find_buffer(dev,block,size)) |
size | 799 | fs/buffer.c | struct buffer_head * bread(dev_t dev, int block, int size) |
size | 803 | fs/buffer.c | if (!(bh = getblk(dev, block, size))) { |
size | 932 | fs/buffer.c | static struct buffer_head * create_buffers(unsigned long page, unsigned long size) |
size | 939 | fs/buffer.c | while ((offset -= size) < PAGE_SIZE) { |
size | 946 | fs/buffer.c | bh->b_size = size; |
size | 999 | fs/buffer.c | dev_t dev, int *b, int size) |
size | 1013 | fs/buffer.c | for (offset = size ; offset < PAGE_SIZE ; offset += size) { |
size | 1017 | fs/buffer.c | first = get_hash_table(dev, block, size); |
size | 1040 | fs/buffer.c | dev_t dev, int b[], int size) |
size | 1044 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 1048 | fs/buffer.c | bh = create_buffers(address, size); |
size | 1053 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
size | 1057 | fs/buffer.c | if (find_buffer(dev, block, size)) |
size | 1110 | fs/buffer.c | dev_t dev, int *b, int size) |
size | 1118 | fs/buffer.c | bh = get_hash_table(dev, block, size); |
size | 1120 | fs/buffer.c | return check_aligned(bh, address, dev, b, size); |
size | 1121 | fs/buffer.c | return try_to_load_aligned(address, dev, b, size); |
size | 1131 | fs/buffer.c | unsigned long bread_page(unsigned long address, dev_t dev, int b[], int size, int no_share) |
size | 1138 | fs/buffer.c | where = try_to_share_buffers(address, dev, b, size); |
size | 1143 | fs/buffer.c | for (i=0, j=0; j<PAGE_SIZE ; i++, j+= size) { |
size | 1146 | fs/buffer.c | bh[i] = getblk(dev, b[i], size); |
size | 1150 | fs/buffer.c | for (i=0, j=0; j<PAGE_SIZE ; i++, j += size, where += size) { |
size | 1153 | fs/buffer.c | memcpy((void *) where, bh[i]->b_data, size); |
size | 1164 | fs/buffer.c | static int grow_buffers(int pri, int size) |
size | 1171 | fs/buffer.c | if ((size & 511) || (size > PAGE_SIZE)) { |
size | 1172 | fs/buffer.c | printk("VFS: grow_buffers: size = %d\n",size); |
size | 1176 | fs/buffer.c | isize = BUFSIZE_INDEX(size); |
size | 1180 | fs/buffer.c | bh = create_buffers(page, size); |
size | 1270 | fs/buffer.c | static int maybe_shrink_lav_buffers(int size) |
size | 1293 | fs/buffer.c | isize = (size ? BUFSIZE_INDEX(size) : -1); |
size | 1328 | fs/buffer.c | static int shrink_specific_buffers(unsigned int priority, int size) |
size | 1335 | fs/buffer.c | if(size) printk("Shrinking buffers of size %d\n", size); |
size | 1339 | fs/buffer.c | isize1 = (size ? BUFSIZE_INDEX(size) : -1); |
size | 1368 | fs/buffer.c | if(size && bh->b_size != size) continue; |
size | 1487 | fs/buffer.c | unsigned int starting_block, int size) |
size | 1490 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 1497 | fs/buffer.c | while(nr_free[isize] < 32) refill_freelist(size); |
size | 1513 | fs/buffer.c | static unsigned long try_to_generate_cluster(dev_t dev, int block, int size) |
size | 1516 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 1524 | fs/buffer.c | bh = create_buffers(page, size); |
size | 1530 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
size | 1531 | fs/buffer.c | if (find_buffer(dev, nblock++, size)) |
size | 1570 | fs/buffer.c | unsigned long generate_cluster(dev_t dev, int b[], int size) |
size | 1574 | fs/buffer.c | for (i = 0, offset = 0 ; offset < PAGE_SIZE ; i++, offset += size) { |
size | 1576 | fs/buffer.c | if(find_buffer(dev, b[i], size)) return 0; |
size | 1583 | fs/buffer.c | if(maybe_shrink_lav_buffers(size)) |
size | 1586 | fs/buffer.c | retval = try_to_generate_cluster(dev, b[0], size); |
size | 1591 | fs/buffer.c | return try_to_generate_cluster(dev, b[0], size); |
size | 1593 | 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 | 90 | fs/ext2/file.c | unsigned int size; |
size | 104 | fs/ext2/file.c | size = inode->i_size; |
size | 105 | fs/ext2/file.c | if (offset > size) |
size | 108 | fs/ext2/file.c | left = size - offset; |
size | 116 | fs/ext2/file.c | size = (size + sb->s_blocksize - 1) >> EXT2_BLOCK_SIZE_BITS(sb); |
size | 122 | fs/ext2/file.c | if (block + blocks > size) |
size | 123 | fs/ext2/file.c | blocks = size - block; |
size | 417 | fs/isofs/inode.c | inode->i_size = isonum_733 (raw_inode->size); |
size | 598 | fs/isofs/inode.c | directory_size = isonum_733 (de->size); |
size | 698 | fs/isofs/inode.c | void * leak_check_malloc(unsigned int size){ |
size | 701 | fs/isofs/inode.c | tmp = kmalloc(size, GFP_KERNEL); |
size | 705 | fs/isofs/inode.c | void leak_check_free_s(void * obj, int size){ |
size | 707 | fs/isofs/inode.c | return kfree_s(obj, size); |
size | 710 | fs/isofs/inode.c | struct buffer_head * leak_check_bread(int dev, int block, int size){ |
size | 712 | fs/isofs/inode.c | return bread(dev, block, size); |
size | 45 | fs/isofs/rock.c | cont_size = isonum_733(rr->u.CE.size);} |
size | 14 | fs/isofs/rock.h | char size[8]; |
size | 74 | fs/minix/file.c | unsigned int size; |
size | 85 | fs/minix/file.c | size = inode->i_size; |
size | 86 | fs/minix/file.c | if (offset > size) |
size | 89 | fs/minix/file.c | left = size - offset; |
size | 97 | fs/minix/file.c | size = (size + (BLOCK_SIZE-1)) >> BLOCK_SIZE_BITS; |
size | 103 | fs/minix/file.c | if (block + blocks > size) |
size | 104 | fs/minix/file.c | blocks = size - block; |
size | 162 | fs/msdos/file.c | int size,offset; |
size | 182 | fs/msdos/file.c | size = MIN(SECTOR_SIZE-offset,left_in_file); |
size | 184 | fs/msdos/file.c | size = MIN(size,end-buf); |
size | 185 | fs/msdos/file.c | memcpy_tofs(buf,data,size); |
size | 186 | fs/msdos/file.c | buf += size; |
size | 187 | fs/msdos/file.c | filp->f_pos += size; |
size | 189 | fs/msdos/file.c | for (; size && buf < end; size--) { |
size | 219 | fs/msdos/file.c | int sector,offset,size,left,written; |
size | 241 | fs/msdos/file.c | for (start = buf; count || carry; count -= size) { |
size | 249 | fs/msdos/file.c | size = MIN(SECTOR_SIZE-offset,MAX(carry,count)); |
size | 252 | fs/msdos/file.c | && (size == SECTOR_SIZE |
size | 253 | fs/msdos/file.c | || filp->f_pos + size >= inode->i_size)){ |
size | 266 | fs/msdos/file.c | memcpy_fromfs(bh->b_data+offset,buf,written = size); |
size | 267 | fs/msdos/file.c | buf += size; |
size | 277 | fs/msdos/file.c | for (size = 0; size < count && left; size++) { |
size | 390 | fs/msdos/inode.c | inode->i_size = CF_LE_L(raw_entry->size); |
size | 421 | fs/msdos/inode.c | raw_entry->size = 0; |
size | 425 | fs/msdos/inode.c | raw_entry->size = CT_LE_L(inode->i_size); |
size | 196 | fs/msdos/namei.c | de->size = 0; |
size | 233 | fs/nfs/dir.c | if (fattr->size == -1 || fattr->uid == -1 || fattr->gid == -1 |
size | 350 | fs/nfs/dir.c | sattr.uid = sattr.gid = sattr.size = (unsigned) -1; |
size | 386 | fs/nfs/dir.c | sattr.size = rdev; /* get out your barf bag */ |
size | 388 | fs/nfs/dir.c | sattr.size = (unsigned) -1; |
size | 415 | fs/nfs/dir.c | sattr.uid = sattr.gid = sattr.size = (unsigned) -1; |
size | 485 | fs/nfs/dir.c | sattr.uid = sattr.gid = sattr.size = (unsigned) -1; |
size | 581 | fs/nfs/dir.c | inode->i_size = fattr->size; |
size | 218 | fs/nfs/inode.c | sattr.size = S_ISREG(inode->i_mode) ? attr->ia_size : -1; |
size | 220 | fs/nfs/inode.c | sattr.size = (unsigned) -1; |
size | 78 | fs/nfs/proc.c | static inline int *nfs_rpc_alloc(int size) |
size | 82 | fs/nfs/proc.c | while (!(i = (int *)kmalloc(size+NFS_SLACK_SPACE,GFP_NFS))) { |
size | 174 | fs/nfs/proc.c | fattr->size = ntohl(*p++); |
size | 194 | fs/nfs/proc.c | *p++ = htonl(sattr->size); |
size | 733 | fs/nfs/proc.c | int size; |
size | 737 | fs/nfs/proc.c | size = server->rsize; |
size | 744 | fs/nfs/proc.c | *p++ = htonl(size); |
size | 52 | fs/nfs/sock.c | static int do_nfs_rpc_call(struct nfs_server *server, int *start, int *end, int size) |
size | 209 | fs/nfs/sock.c | size + 1024, 1, 0, NULL, |
size | 230 | fs/nfs/sock.c | int nfs_rpc_call(struct nfs_server *server, int *start, int *end, int size) |
size | 237 | fs/nfs/sock.c | result = do_nfs_rpc_call(server, start, end, size); |
size | 26 | fs/pipe.c | int chars = 0, size = 0, read = 0; |
size | 47 | fs/pipe.c | while (count>0 && (size = PIPE_SIZE(*inode))) { |
size | 51 | fs/pipe.c | if (chars > size) |
size | 52 | fs/pipe.c | chars = size; |
size | 213 | fs/proc/array.c | int size = 0, result = 0; |
size | 225 | fs/proc/array.c | result = size; |
size | 226 | fs/proc/array.c | if (size < PAGE_SIZE) |
size | 227 | fs/proc/array.c | buffer[size++] = c; |
size | 369 | fs/proc/array.c | int size=0, resident=0, share=0, trs=0, lrs=0, drs=0, dt=0; |
size | 385 | fs/proc/array.c | ++size; |
size | 409 | fs/proc/array.c | size, resident, share, trs, lrs, drs, dt); |
size | 36 | fs/read_write.c | int size = count; |
size | 38 | fs/read_write.c | size = sizeof(*dirent); |
size | 39 | fs/read_write.c | error = verify_area(VERIFY_WRITE, dirent, size); |
size | 82 | fs/sysv/file.c | unsigned int size; |
size | 93 | fs/sysv/file.c | size = inode->i_size; |
size | 94 | fs/sysv/file.c | if (offset > size) |
size | 97 | fs/sysv/file.c | left = size - offset; |
size | 105 | fs/sysv/file.c | size = (size + sb->sv_block_size_1) >> sb->sv_block_size_bits; |
size | 110 | fs/sysv/file.c | if (block + blocks > size) |
size | 111 | fs/sysv/file.c | blocks = size - block; |
size | 218 | fs/umsdos/emd.c | int size; /* Current size of buffer */ |
size | 233 | fs/umsdos/emd.c | int mustmove = buf->size - buf->pos; |
size | 246 | fs/umsdos/emd.c | if (ret == 0) buf->size = mustmove + mustread; |
size | 248 | fs/umsdos/emd.c | buf->size = mustmove; |
size | 301 | fs/umsdos/emd.c | buf.size = 0; |
size | 310 | fs/umsdos/emd.c | int file_pos = buf.filp.f_pos - buf.size + buf.pos; |
size | 311 | fs/umsdos/emd.c | if (buf.pos == buf.size){ |
size | 341 | fs/umsdos/emd.c | if (buf.pos+entry_size > buf.size){ |
size | 122 | fs/umsdos/mangle.c | int size = len + (dirent.name-(char*)&dirent); |
size | 123 | fs/umsdos/mangle.c | int nbrec = size / UMSDOS_REC_SIZE; |
size | 124 | fs/umsdos/mangle.c | int extra = size % UMSDOS_REC_SIZE; |
size | 81 | ibcs/binfmt_coff.c | int clear_memory (unsigned long addr, unsigned long size) |
size | 85 | ibcs/binfmt_coff.c | size = (PAGE_SIZE - (addr & ~PAGE_MASK)) & ~PAGE_MASK; |
size | 86 | ibcs/binfmt_coff.c | if (size == 0) |
size | 91 | ibcs/binfmt_coff.c | printk ("un-initialized storage in last page %d\n", size); |
size | 95 | ibcs/binfmt_coff.c | (void *) addr, size); |
size | 101 | ibcs/binfmt_coff.c | while (size-- != 0) |
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 | 9 | include/asm-alpha/string.h | int size = n; |
size | 12 | include/asm-alpha/string.h | size -= 8; |
size | 13 | include/asm-alpha/string.h | if (size < 0) |
size | 69 | include/asm-i386/bitops.h | extern inline int find_first_zero_bit(void * addr, unsigned size) |
size | 73 | include/asm-i386/bitops.h | if (!size) |
size | 90 | include/asm-i386/bitops.h | :"c" ((size + 31) >> 5), "D" (addr), "b" (addr) |
size | 95 | include/asm-i386/bitops.h | extern inline int find_next_zero_bit (void * addr, int size, int offset) |
size | 119 | include/asm-i386/bitops.h | res = find_first_zero_bit (p, size - 32 * (p - (unsigned long *) addr)); |
size | 491 | include/asm-i386/string.h | extern inline char * memscan(void * addr, unsigned char c, int size) |
size | 493 | include/asm-i386/string.h | if (!size) |
size | 500 | include/asm-i386/string.h | : "=D" (addr), "=c" (size) |
size | 501 | include/asm-i386/string.h | : "0" (addr), "1" (size), "a" (c)); |
size | 103 | include/asm-i386/system.h | #define set_ldt_desc(n,addr,size) \ |
size | 104 | include/asm-i386/system.h | _set_tssldt_desc(((char *) (n)),((int)(addr)),((size << 3) - 1),"0x82") |
size | 60 | include/linux/fd.h | unsigned int size, /* nr of sectors total */ |
size | 424 | include/linux/fs.h | extern void refill_freelist(int size); |
size | 482 | include/linux/fs.h | extern struct buffer_head * get_hash_table(dev_t dev, int block, int size); |
size | 483 | include/linux/fs.h | extern struct buffer_head * getblk(dev_t dev, int block, int size); |
size | 489 | include/linux/fs.h | extern void set_blocksize(dev_t dev, int size); |
size | 490 | include/linux/fs.h | extern struct buffer_head * bread(dev_t dev, int block, int size); |
size | 491 | include/linux/fs.h | extern unsigned long bread_page(unsigned long addr,dev_t dev,int b[],int size,int no_share); |
size | 492 | include/linux/fs.h | extern struct buffer_head * breada(dev_t dev,int block, int size, |
size | 495 | 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 | 10 | include/linux/malloc.h | void *deb_kmalloc(const char *deb_file, unsigned short deb_line,unsigned int size, int priority); |
size | 11 | include/linux/malloc.h | void deb_kfree_s (const char *deb_file, unsigned short deb_line,void * obj, int size); |
size | 12 | include/linux/malloc.h | void deb_kcheck_s(const char *deb_file, unsigned short deb_line,void * obj, int size); |
size | 20 | include/linux/malloc.h | void * kmalloc(unsigned int size, int priority); |
size | 21 | include/linux/malloc.h | void kfree_s(void * obj, int size); |
size | 173 | include/linux/mm.h | extern int unmap_page_range(unsigned long from, unsigned long size); |
size | 174 | include/linux/mm.h | extern int remap_page_range(unsigned long from, unsigned long to, unsigned long size, int mask); |
size | 175 | include/linux/mm.h | extern int zeromap_page_range(unsigned long from, unsigned long size, int mask); |
size | 191 | include/linux/mm.h | extern void * vmalloc(unsigned long size); |
size | 37 | include/linux/module.h | int size; /* total, including string table!!! */ |
size | 52 | include/linux/module.h | int size; /* size of module in pages */ |
size | 87 | include/linux/msdos_fs.h | unsigned long size; /* file size (in bytes) */ |
size | 100 | include/linux/net.h | int (*read) (struct socket *sock, char *ubuf, int size, |
size | 102 | include/linux/net.h | int (*write) (struct socket *sock, char *ubuf, int size, |
size | 134 | include/linux/nfs.h | u_int size; |
size | 149 | 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 | 112 | include/linux/skbuff.h | extern struct sk_buff * alloc_skb(unsigned int size, int priority); |
size | 113 | include/linux/skbuff.h | extern void kfree_skbmem(struct sk_buff *skb, unsigned size); |
size | 280 | include/linux/skbuff.h | extern void skb_copy_datagram(struct sk_buff *from, int offset, char *to,int size); |
size | 59 | ipc/sem.c | int size; |
size | 72 | ipc/sem.c | size = sizeof (*sma) + nsems * sizeof (struct sem); |
size | 74 | ipc/sem.c | sma = (struct semid_ds *) kmalloc (size, GFP_KERNEL); |
size | 82 | ipc/sem.c | memset (sma, 0, size); |
size | 20 | ipc/shm.c | static int newseg (key_t key, int shmflg, int size); |
size | 71 | ipc/shm.c | static int newseg (key_t key, int shmflg, int size) |
size | 74 | ipc/shm.c | int numpages = (size + PAGE_SIZE -1) >> PAGE_SHIFT; |
size | 77 | ipc/shm.c | if (size < SHMMIN) |
size | 113 | ipc/shm.c | shp->shm_segsz = size; |
size | 130 | ipc/shm.c | int sys_shmget (key_t key, int size, int shmflg) |
size | 135 | ipc/shm.c | if (size < 0 || size > SHMMAX) |
size | 138 | ipc/shm.c | return newseg(key, shmflg, size); |
size | 142 | ipc/shm.c | return newseg(key, shmflg, size); |
size | 149 | ipc/shm.c | if (size > shp->shm_segsz) |
size | 30 | ipc/util.c | extern int sys_shmget (key_t key, int size, int flag); |
size | 19 | kernel/ldt.c | unsigned long size; |
size | 23 | kernel/ldt.c | size = LDT_ENTRIES*LDT_ENTRY_SIZE; |
size | 26 | kernel/ldt.c | size = sizeof(default_ldt); |
size | 28 | kernel/ldt.c | if (size > bytecount) |
size | 29 | kernel/ldt.c | size = bytecount; |
size | 30 | kernel/ldt.c | error = verify_area(VERIFY_WRITE, ptr, size); |
size | 33 | kernel/ldt.c | memcpy_tofs(ptr, address, size); |
size | 34 | kernel/ldt.c | return size; |
size | 121 | kernel/module.c | sys_create_module(char *module_name, unsigned long size) |
size | 132 | kernel/module.c | if (module_name == NULL || size == 0) |
size | 145 | kernel/module.c | npages = (size + sizeof (int) + 4095) / 4096; |
size | 155 | kernel/module.c | mp->size = npages; |
size | 164 | kernel/module.c | mp->name, (unsigned long) mp->size, (unsigned long) mp->addr)); |
size | 205 | kernel/module.c | if ((codesize + sizeof (int) + 4095) / 4096 > mp->size) |
size | 209 | kernel/module.c | mp->size * 4096 - (codesize + sizeof (int))); |
size | 218 | kernel/module.c | int size; |
size | 224 | kernel/module.c | memcpy_fromfs((char *)(&(size)), symtab, sizeof(int)); |
size | 226 | kernel/module.c | if ((newtab = (struct symbol_table*) kmalloc(size, GFP_KERNEL)) == NULL) { |
size | 230 | kernel/module.c | if ((error = verify_area(VERIFY_READ, symtab, size))) { |
size | 231 | kernel/module.c | kfree_s(newtab, size); |
size | 234 | kernel/module.c | memcpy_fromfs((char *)(newtab), symtab, size); |
size | 242 | kernel/module.c | (legal_start > size)) { |
size | 244 | kernel/module.c | kfree_s(newtab, size); |
size | 251 | kernel/module.c | if ((int)sym->name < legal_start || size <= (int)sym->name) { |
size | 253 | kernel/module.c | kfree_s(newtab, size); |
size | 473 | kernel/module.c | if (mp->symtab->size) |
size | 474 | kernel/module.c | kfree_s(mp->symtab, mp->symtab->size); |
size | 496 | kernel/module.c | char size[32]; |
size | 509 | kernel/module.c | sprintf(size, "%d", mp->size); |
size | 510 | kernel/module.c | i -= strlen(size); |
size | 515 | kernel/module.c | q = size; |
size | 68 | kernel/vsprintf.c | static char * number(char * str, long num, int base, int size, int precision |
size | 87 | kernel/vsprintf.c | size--; |
size | 90 | kernel/vsprintf.c | size--; |
size | 93 | kernel/vsprintf.c | size--; |
size | 98 | kernel/vsprintf.c | size -= 2; |
size | 100 | kernel/vsprintf.c | size--; |
size | 109 | kernel/vsprintf.c | size -= precision; |
size | 111 | kernel/vsprintf.c | while(size-->0) |
size | 123 | kernel/vsprintf.c | while (size-- > 0) |
size | 129 | kernel/vsprintf.c | while (size-- > 0) |
size | 86 | mm/filemap.c | size_t size, unsigned int flags) |
size | 92 | mm/filemap.c | size = size >> PAGE_SHIFT; |
size | 96 | mm/filemap.c | if ((pcnt = PTRS_PER_PAGE - poff) > size) |
size | 97 | mm/filemap.c | pcnt = size; |
size | 99 | mm/filemap.c | for ( ; size > 0; ++dir, size -= pcnt, |
size | 100 | mm/filemap.c | pcnt = (size > PTRS_PER_PAGE ? PTRS_PER_PAGE : size)) { |
size | 88 | mm/kmalloc.c | int size; |
size | 122 | mm/kmalloc.c | #define BLOCKSIZE(order) (sizes[order].size) |
size | 152 | mm/kmalloc.c | int get_order (int size) |
size | 157 | mm/kmalloc.c | size += sizeof (struct block_header); |
size | 159 | mm/kmalloc.c | if (size <= BLOCKSIZE (order)) |
size | 164 | mm/kmalloc.c | void * kmalloc (size_t size, int priority) |
size | 185 | mm/kmalloc.c | order = get_order (size); |
size | 188 | mm/kmalloc.c | printk ("kmalloc of too large a block (%d bytes).\n",size); |
size | 216 | mm/kmalloc.c | sizes [order].nbytesmalloced += size; |
size | 218 | mm/kmalloc.c | p->bh_length = size; |
size | 291 | mm/kmalloc.c | size); |
size | 295 | mm/kmalloc.c | void kfree_s (void *ptr,int size) |
size | 313 | mm/kmalloc.c | if (size && |
size | 314 | mm/kmalloc.c | size != p->bh_length) |
size | 317 | mm/kmalloc.c | p,size,p->bh_length); |
size | 320 | mm/kmalloc.c | size = p->bh_length; |
size | 382 | mm/kmalloc.c | sizes[order].nbytesmalloced -= size; |
size | 287 | mm/memory.c | int unmap_page_range(unsigned long from, unsigned long size) |
size | 297 | mm/memory.c | size = (size + ~PAGE_MASK) >> PAGE_SHIFT; |
size | 300 | mm/memory.c | if ((pcnt = PTRS_PER_PAGE - poff) > size) |
size | 301 | mm/memory.c | pcnt = size; |
size | 303 | mm/memory.c | for ( ; size > 0; ++dir, size -= pcnt, |
size | 304 | mm/memory.c | pcnt = (size > PTRS_PER_PAGE ? PTRS_PER_PAGE : size)) { |
size | 339 | mm/memory.c | int zeromap_page_range(unsigned long from, unsigned long size, int mask) |
size | 357 | mm/memory.c | size = (size + ~PAGE_MASK) >> PAGE_SHIFT; |
size | 359 | mm/memory.c | if ((pcnt = PTRS_PER_PAGE - poff) > size) |
size | 360 | mm/memory.c | pcnt = size; |
size | 362 | mm/memory.c | while (size > 0) { |
size | 378 | mm/memory.c | for (size -= pcnt; pcnt-- ;) { |
size | 391 | mm/memory.c | pcnt = (size > PTRS_PER_PAGE ? PTRS_PER_PAGE : size); |
size | 402 | mm/memory.c | int remap_page_range(unsigned long from, unsigned long to, unsigned long size, int mask) |
size | 419 | mm/memory.c | size = (size + ~PAGE_MASK) >> PAGE_SHIFT; |
size | 421 | mm/memory.c | if ((pcnt = PTRS_PER_PAGE - poff) > size) |
size | 422 | mm/memory.c | pcnt = size; |
size | 424 | mm/memory.c | while (size > 0) { |
size | 440 | mm/memory.c | for (size -= pcnt; pcnt-- ;) { |
size | 473 | mm/memory.c | pcnt = (size > PTRS_PER_PAGE ? PTRS_PER_PAGE : size); |
size | 627 | mm/memory.c | int verify_area(int type, const void * addr, unsigned long size) |
size | 661 | mm/memory.c | if (vma->vm_end - start >= size) |
size | 670 | mm/memory.c | size--; |
size | 671 | mm/memory.c | size += start & ~PAGE_MASK; |
size | 672 | mm/memory.c | size >>= PAGE_SHIFT; |
size | 679 | mm/memory.c | if (!size) |
size | 681 | mm/memory.c | size--; |
size | 638 | mm/swap.c | do { unsigned long size = PAGE_SIZE << high; \ |
size | 640 | mm/swap.c | high--; size >>= 1; cli(); \ |
size | 644 | mm/swap.c | addr = (struct mem_list *) (size + (unsigned long) addr); \ |
size | 22 | mm/vmalloc.c | unsigned long size; |
size | 106 | mm/vmalloc.c | static int do_area(void * addr, unsigned long size, |
size | 111 | mm/vmalloc.c | nr = size >> PAGE_SHIFT; |
size | 141 | mm/vmalloc.c | do_area(tmp->addr, tmp->size, free_area_pages); |
size | 149 | mm/vmalloc.c | void * vmalloc(unsigned long size) |
size | 154 | mm/vmalloc.c | size = PAGE_ALIGN(size); |
size | 155 | mm/vmalloc.c | if (!size || size > high_memory) |
size | 161 | mm/vmalloc.c | area->size = size + PAGE_SIZE; |
size | 164 | mm/vmalloc.c | if (size + (unsigned long) addr < (unsigned long) tmp->addr) |
size | 166 | mm/vmalloc.c | addr = (void *) (tmp->size + (unsigned long) tmp->addr); |
size | 171 | mm/vmalloc.c | if (do_area(addr, size, alloc_area_pages)) { |
size | 191 | mm/vmalloc.c | n = tmp->size - PAGE_SIZE; |
size | 102 | net/inet/af_inet.c | int size = 32767; /* a big num. */ |
size | 127 | net/inet/af_inet.c | if (j < size) |
size | 130 | net/inet/af_inet.c | size = j; |
size | 1065 | net/inet/af_inet.c | static int inet_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1077 | net/inet/af_inet.c | return(sk->prot->recvfrom(sk, (unsigned char *) ubuf, size, noblock, flags, |
size | 1082 | net/inet/af_inet.c | static int inet_recv(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1086 | net/inet/af_inet.c | return inet_recvfrom(sock,ubuf,size,noblock,flags,NULL,NULL); |
size | 1089 | net/inet/af_inet.c | static int inet_read(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1098 | net/inet/af_inet.c | return(sk->prot->read(sk, (unsigned char *) ubuf, size, noblock, 0)); |
size | 1101 | net/inet/af_inet.c | static int inet_send(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1115 | net/inet/af_inet.c | return(sk->prot->write(sk, (unsigned char *) ubuf, size, noblock, flags)); |
size | 1118 | net/inet/af_inet.c | static int inet_write(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1120 | net/inet/af_inet.c | return inet_send(sock,ubuf,size,noblock,0); |
size | 1123 | net/inet/af_inet.c | static int inet_sendto(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1139 | net/inet/af_inet.c | return(sk->prot->sendto(sk, (unsigned char *) ubuf, size, noblock, flags, |
size | 925 | net/inet/arp.c | int size; |
size | 931 | net/inet/arp.c | size = sprintf(buffer,"IP address HW type Flags HW address Mask\n"); |
size | 933 | net/inet/arp.c | pos+=size; |
size | 934 | net/inet/arp.c | len+=size; |
size | 962 | net/inet/arp.c | size = sprintf(buffer+len, |
size | 968 | net/inet/arp.c | size += sprintf(buffer+len+size, |
size | 973 | net/inet/arp.c | len+=size; |
size | 162 | net/inet/datagram.c | void skb_copy_datagram(struct sk_buff *skb, int offset, char *to, int size) |
size | 166 | net/inet/datagram.c | memcpy_tofs(to,skb->h.raw+offset,size); |
size | 961 | net/inet/dev.c | int size; |
size | 964 | net/inet/dev.c | size = sprintf(buffer, "%6s:%7d %4d %4d %4d %4d %8d %4d %4d %4d %5d %4d\n", |
size | 976 | net/inet/dev.c | size = sprintf(buffer, "%6s: No statistics available.\n", dev->name); |
size | 978 | net/inet/dev.c | return size; |
size | 991 | net/inet/dev.c | int size; |
size | 996 | net/inet/dev.c | size = sprintf(buffer, "Inter-| Receive | Transmit\n" |
size | 999 | net/inet/dev.c | pos+=size; |
size | 1000 | net/inet/dev.c | len+=size; |
size | 1005 | net/inet/dev.c | size = sprintf_stats(buffer+len, dev); |
size | 1006 | net/inet/dev.c | len+=size; |
size | 389 | net/inet/icmp.c | int size, offset; |
size | 394 | net/inet/icmp.c | size = dev->hard_header_len + 64 + len; |
size | 395 | net/inet/icmp.c | skb2 = alloc_skb(size, GFP_ATOMIC); |
size | 455 | net/inet/icmp.c | int size, offset; |
size | 472 | net/inet/icmp.c | size = dev->hard_header_len + 84; |
size | 474 | net/inet/icmp.c | if (! (skb2 = alloc_skb(size, GFP_ATOMIC))) |
size | 557 | net/inet/icmp.c | int size, offset; |
size | 563 | net/inet/icmp.c | size = dev->hard_header_len + 64 + len; |
size | 564 | net/inet/icmp.c | skb2 = alloc_skb(size, GFP_ATOMIC); |
size | 1923 | net/inet/ip.c | int size; |
size | 1927 | net/inet/ip.c | size = skb->len - (((unsigned char *) th) - skb->data); |
size | 1934 | net/inet/ip.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
size | 969 | net/inet/ipx.c | int size; |
size | 1027 | net/inet/ipx.c | size=sizeof(ipx_packet)+len; /* For mac headers */ |
size | 1045 | net/inet/ipx.c | size += dev->hard_header_len; |
size | 1046 | net/inet/ipx.c | size += dl->header_length; |
size | 1049 | net/inet/ipx.c | printk("IPX: sendto: allocating buffer (%d)\n",size); |
size | 1051 | net/inet/ipx.c | if(size+sk->wmem_alloc>sk->sndbuf) { |
size | 1055 | net/inet/ipx.c | skb=alloc_skb(size,GFP_KERNEL); |
size | 1063 | net/inet/ipx.c | skb->len=size; |
size | 1136 | net/inet/ipx.c | static int ipx_send(struct socket *sock, void *ubuf, int size, int noblock, unsigned flags) |
size | 1138 | net/inet/ipx.c | return ipx_sendto(sock,ubuf,size,noblock,flags,NULL,0); |
size | 1141 | net/inet/ipx.c | static int ipx_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1183 | net/inet/ipx.c | static int ipx_write(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1185 | net/inet/ipx.c | return ipx_send(sock,ubuf,size,noblock,0); |
size | 1189 | net/inet/ipx.c | static int ipx_recv(struct socket *sock, void *ubuf, int size , int noblock, |
size | 1195 | net/inet/ipx.c | return ipx_recvfrom(sock,ubuf,size,noblock,flags,NULL, NULL); |
size | 1198 | net/inet/ipx.c | static int ipx_read(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1200 | net/inet/ipx.c | return ipx_recv(sock,ubuf,size,noblock,0); |
size | 431 | net/inet/rarp.c | int size; |
size | 437 | net/inet/rarp.c | size = sprintf(buffer,"RARP disabled until entries added to cache.\n"); |
size | 438 | net/inet/rarp.c | pos+=size; |
size | 439 | net/inet/rarp.c | len+=size; |
size | 443 | net/inet/rarp.c | size = sprintf(buffer, |
size | 445 | net/inet/rarp.c | pos+=size; |
size | 446 | net/inet/rarp.c | len+=size; |
size | 458 | net/inet/rarp.c | size = sprintf(buffer+len, |
size | 469 | net/inet/rarp.c | len+=size; |
size | 487 | net/inet/route.c | int size; |
size | 499 | net/inet/route.c | size = sprintf(buffer+len, "%s\t%08lX\t%08lX\t%02X\t%d\t%lu\t%d\t%08lX\t%d\t%lu\n", |
size | 503 | net/inet/route.c | len+=size; |
size | 504 | net/inet/route.c | pos+=size; |
size | 384 | net/inet/skbuff.c | struct sk_buff *alloc_skb(unsigned int size,int priority) |
size | 398 | net/inet/skbuff.c | size+=sizeof(struct sk_buff); |
size | 399 | net/inet/skbuff.c | skb=(struct sk_buff *)kmalloc(size,priority); |
size | 415 | net/inet/skbuff.c | skb->truesize = size; |
size | 416 | net/inet/skbuff.c | skb->mem_len = size; |
size | 430 | net/inet/skbuff.c | net_memory += size; |
size | 444 | net/inet/skbuff.c | void kfree_skbmem(struct sk_buff *skb,unsigned size) |
size | 456 | net/inet/skbuff.c | if(size!=skb->truesize) |
size | 465 | net/inet/skbuff.c | kfree_s((void *)skb,size); |
size | 467 | net/inet/skbuff.c | net_memory -= size; |
size | 475 | net/inet/skbuff.c | kfree_s((void *)skb,size); |
size | 477 | net/inet/skbuff.c | net_memory -= size; |
size | 311 | net/inet/sock.c | struct sk_buff *sock_wmalloc(struct sock *sk, unsigned long size, int force, int priority) |
size | 315 | net/inet/sock.c | if (sk->wmem_alloc + size < sk->sndbuf || force) |
size | 317 | net/inet/sock.c | struct sk_buff * c = alloc_skb(size, priority); |
size | 328 | net/inet/sock.c | return(alloc_skb(size, priority)); |
size | 332 | net/inet/sock.c | struct sk_buff *sock_rmalloc(struct sock *sk, unsigned long size, int force, int priority) |
size | 336 | net/inet/sock.c | if (sk->rmem_alloc + size < sk->rcvbuf || force) |
size | 338 | net/inet/sock.c | struct sk_buff *c = alloc_skb(size, priority); |
size | 349 | net/inet/sock.c | return(alloc_skb(size, priority)); |
size | 384 | net/inet/sock.c | void sock_wfree(struct sock *sk, struct sk_buff *skb, unsigned long size) |
size | 389 | net/inet/sock.c | kfree_skbmem(skb, size); |
size | 392 | net/inet/sock.c | sk->wmem_alloc -= size; |
size | 401 | net/inet/sock.c | void sock_rfree(struct sock *sk, struct sk_buff *skb, unsigned long size) |
size | 406 | net/inet/sock.c | kfree_skbmem(skb, size); |
size | 409 | net/inet/sock.c | sk->rmem_alloc -= size; |
size | 417 | net/inet/sock.c | struct sk_buff *sock_alloc_send_skb(struct sock *sk, unsigned long size, int noblock, int *errcode) |
size | 442 | net/inet/sock.c | skb = sock_wmalloc(sk, size, 0, GFP_KERNEL); |
size | 187 | net/inet/sock.h | unsigned long size, int force, |
size | 190 | net/inet/sock.h | unsigned long size, int force, |
size | 193 | net/inet/sock.h | unsigned long size); |
size | 195 | net/inet/sock.h | unsigned long size); |
size | 274 | net/inet/sock.h | unsigned long size, int force, |
size | 277 | net/inet/sock.h | unsigned long size, int force, |
size | 280 | net/inet/sock.h | unsigned long size); |
size | 282 | net/inet/sock.h | unsigned long size); |
size | 289 | net/inet/sock.h | extern struct sk_buff *sock_alloc_send_skb(struct sock *skb, unsigned long size, int noblock, int *errcode); |
size | 722 | net/inet/tcp.c | int size; |
size | 726 | net/inet/tcp.c | size = skb->len - ((unsigned char *) th - skb->data); |
size | 729 | net/inet/tcp.c | if (size < sizeof(struct tcphdr) || size > skb->len) |
size | 738 | net/inet/tcp.c | if (size == sizeof(struct tcphdr)) |
size | 751 | net/inet/tcp.c | skb->h.seq = ntohl(th->seq) + size - 4*th->doff; |
size | 775 | net/inet/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
size | 2512 | net/inet/tcp.c | int size; |
size | 2523 | net/inet/tcp.c | size = skb->len - (((unsigned char *) th) - skb->data); |
size | 2528 | net/inet/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
size | 257 | net/inet/udp.c | int size, tmp; |
size | 264 | net/inet/udp.c | size = sk->prot->max_header + len; |
size | 265 | net/inet/udp.c | skb = sock_alloc_send_skb(sk, size, 0, &tmp); |
size | 58 | net/socket.c | int size); |
size | 60 | net/socket.c | int size); |
size | 366 | net/socket.c | static int sock_read(struct inode *inode, struct file *file, char *ubuf, int size) |
size | 379 | net/socket.c | if(size<0) |
size | 381 | net/socket.c | if(size==0) |
size | 383 | net/socket.c | if ((err=verify_area(VERIFY_WRITE,ubuf,size))<0) |
size | 385 | net/socket.c | return(sock->ops->read(sock, ubuf, size, (file->f_flags & O_NONBLOCK))); |
size | 393 | net/socket.c | static int sock_write(struct inode *inode, struct file *file, char *ubuf, int size) |
size | 407 | net/socket.c | if(size<0) |
size | 409 | net/socket.c | if(size==0) |
size | 412 | net/socket.c | if ((err=verify_area(VERIFY_READ,ubuf,size))<0) |
size | 414 | net/socket.c | return(sock->ops->write(sock, ubuf, size,(file->f_flags & O_NONBLOCK))); |
size | 73 | net/unix/sock.c | static int unix_proto_read(struct socket *sock, char *ubuf, int size, |
size | 75 | net/unix/sock.c | static int unix_proto_write(struct socket *sock, char *ubuf, int size, |
size | 608 | net/unix/sock.c | static int unix_proto_read(struct socket *sock, char *ubuf, int size, int nonblock) |
size | 613 | net/unix/sock.c | if ((todo = size) <= 0) |
size | 663 | net/unix/sock.c | return(size - todo); |
size | 673 | net/unix/sock.c | static int unix_proto_write(struct socket *sock, char *ubuf, int size, int nonblock) |
size | 678 | net/unix/sock.c | if ((todo = size) <= 0) |
size | 754 | net/unix/sock.c | return(size - todo); |
size | 83 | zBoot/gzip.h | # define DECLARE(type, array, size) type * near array |
size | 84 | zBoot/gzip.h | # define ALLOC(type, array, size) { \ |
size | 85 | zBoot/gzip.h | array = (type*)fcalloc((unsigned)(((size)+1L)/2), 2*sizeof(type)); \ |
size | 91 | zBoot/gzip.h | # define DECLARE(type, array, size) type array[size] |
size | 92 | zBoot/gzip.h | # define ALLOC(type, array, size) |
size | 238 | zBoot/gzip.h | extern int file_read OF((char *buf, unsigned size)); |
size | 265 | zBoot/gzip.h | extern int (*read_buf) OF((char *buf, unsigned size)); |
size | 281 | zBoot/gzip.h | extern voidp xmalloc OF((unsigned int size)); |
size | 83 | zBoot/misc.c | void *malloc(int size) |
size | 87 | zBoot/misc.c | if (size <0) error("Malloc error\n"); |
size | 94 | zBoot/misc.c | free_mem_ptr += size; |