tag | line | file | source code |
size | 179 | drivers/block/cdu31a.c | static void size_to_buf(unsigned int size, |
size | 1114 | drivers/block/cdu31a.c | size_to_buf(unsigned int size, |
size | 1117 | drivers/block/cdu31a.c | buf[0] = size / 65536; |
size | 1118 | drivers/block/cdu31a.c | size = size % 65536; |
size | 1119 | drivers/block/cdu31a.c | buf[1] = size / 256; |
size | 1120 | drivers/block/cdu31a.c | buf[2] = size % 256; |
size | 1526 | drivers/block/floppy.c | unsigned char track,head,sect,size; |
size | 1566 | drivers/block/floppy.c | here[count].size = F_SIZECODE; |
size | 1755 | drivers/block/floppy.c | floppy->size >> 1; |
size | 1766 | drivers/block/floppy.c | floppy->size >> 1; |
size | 1786 | drivers/block/floppy.c | int size; |
size | 1790 | drivers/block/floppy.c | size = CURRENT->current_nr_sectors << 9; |
size | 1796 | drivers/block/floppy.c | return size >> 9; |
size | 1801 | drivers/block/floppy.c | while ( bh && bh->b_data == base + size ){ |
size | 1802 | drivers/block/floppy.c | size += bh->b_size; |
size | 1805 | drivers/block/floppy.c | return size >> 9; |
size | 1831 | drivers/block/floppy.c | int size; |
size | 1864 | drivers/block/floppy.c | size = CURRENT->current_nr_sectors << 9; |
size | 1868 | drivers/block/floppy.c | if ( size > remaining ) |
size | 1869 | drivers/block/floppy.c | size = remaining; |
size | 1876 | drivers/block/floppy.c | if (dma_buffer + size > |
size | 1896 | drivers/block/floppy.c | memcpy( buffer, dma_buffer, size); |
size | 1898 | drivers/block/floppy.c | memcpy( dma_buffer, buffer, size); |
size | 1899 | drivers/block/floppy.c | remaining -= size; |
size | 1903 | drivers/block/floppy.c | dma_buffer += size; |
size | 1912 | drivers/block/floppy.c | size = bh->b_size; |
size | 2279 | drivers/block/floppy.c | static int fd_copyout(void *param, volatile void *address, int size) |
size | 2283 | drivers/block/floppy.c | i = verify_area(VERIFY_WRITE,param,size); |
size | 2286 | drivers/block/floppy.c | memcpy_tofs(param,(void *) address, size); |
size | 2507 | drivers/block/floppy.c | floppy_type[type].size>>1; |
size | 2528 | drivers/block/floppy.c | floppy_sizes[drive] = user_params[drive].size >> 1; |
size | 2913 | drivers/block/floppy.c | floppy_sizes[i] = floppy_type[TYPE(i)].size >> 1; |
size | 775 | drivers/char/tpqic02.c | static int send_qic02_data(char sb[], unsigned size, int ignore_ex) |
size | 779 | drivers/char/tpqic02.c | for (i=0; i<size; i++) { |
size | 841 | drivers/char/tpqic02.c | static int rdstatus(char *stp, unsigned size, char qcmd) |
size | 875 | drivers/char/tpqic02.c | for (q=stp; q<stp+size; q++) |
size | 2800 | drivers/char/tpqic02.c | static inline unsigned long const align_buffer(unsigned long a, unsigned size) |
size | 2802 | drivers/char/tpqic02.c | if (a & (size-1)) /* if not aligned */ |
size | 2803 | 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 | 372 | drivers/net/3c507.c | int size; |
size | 375 | drivers/net/3c507.c | size = 64*1024; |
size | 379 | drivers/net/3c507.c | size = ((mem_config & 3) + 1) << 14; |
size | 383 | 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 | 229 | drivers/net/apricot.c | lp->rx[i].size = 1532; |
size | 589 | drivers/net/apricot.c | tx_cmd->size = 0; |
size | 591 | 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 | 30 | drivers/net/hp.c | #define check_region(ioaddr, size) 0 |
size | 31 | drivers/net/hp.c | #define snarf_region(ioaddr, size); do ; while (0) |
size | 37 | drivers/net/lance.c | #define check_region(addr, size) 0 |
size | 38 | drivers/net/lance.c | #define snarf_region(addr, size) do ; while(0) |
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 | 73 | drivers/net/skeleton.c | #define check_region(ioaddr, size) 0 |
size | 74 | drivers/net/skeleton.c | #define snarf_region(ioaddr, size); do ; while (0) |
size | 454 | drivers/net/slip.c | int size; |
size | 474 | drivers/net/slip.c | size=skb->len; |
size | 475 | drivers/net/slip.c | sl_encaps(sl, skb->data, size); |
size | 32 | drivers/net/smc-ultra.c | #define check_region(ioaddr, size) 0 |
size | 33 | drivers/net/smc-ultra.c | #define snarf_region(ioaddr, size); do ; while (0) |
size | 33 | drivers/net/wd.c | #define check_region(ioaddr, size) 0 |
size | 34 | drivers/net/wd.c | #define snarf_region(ioaddr, size) do ; while (0) |
size | 670 | drivers/scsi/53c7,8xx.c | int script_len = 0, size = 0; |
size | 708 | drivers/scsi/53c7,8xx.c | size = sizeof(struct NCR53c7x0_hostdata) + script_len; |
size | 710 | drivers/scsi/53c7,8xx.c | instance = scsi_register (tpnt, size); |
size | 713 | drivers/scsi/53c7,8xx.c | hostdata->size = size; |
size | 1374 | drivers/scsi/53c7,8xx.c | scsi_free ((void *) cmd->real, cmd->size); |
size | 1376 | drivers/scsi/53c7,8xx.c | kfree_s (cmd->real, cmd->size); |
size | 2242 | drivers/scsi/53c7,8xx.c | int size; /* Size of *tmp */ |
size | 2335 | drivers/scsi/53c7,8xx.c | size = ((sizeof (struct NCR53c7x0_cmd) + (hostdata->dsa_end - |
size | 2339 | drivers/scsi/53c7,8xx.c | size = sizeof (struct NCR53c7x0_cmd) + (hostdata->dsa_end - |
size | 2346 | drivers/scsi/53c7,8xx.c | if (size > 512) { |
size | 2347 | drivers/scsi/53c7,8xx.c | printk("scsi%d : size = %d\n", host->host_no, size); |
size | 2352 | drivers/scsi/53c7,8xx.c | real = in_scan_scsis ? NULL : scsi_malloc (size); |
size | 2354 | drivers/scsi/53c7,8xx.c | real = kmalloc (size, GFP_ATOMIC); |
size | 2358 | drivers/scsi/53c7,8xx.c | if (!scan_scsis_buf_busy && size <= sizeof(scan_scsis_buf)) { |
size | 2363 | drivers/scsi/53c7,8xx.c | host->host_no, size); |
size | 2382 | drivers/scsi/53c7,8xx.c | tmp->size = size; |
size | 3038 | drivers/scsi/53c7,8xx.c | scsi_free ((void *) cmd->real, cmd->size); |
size | 3040 | drivers/scsi/53c7,8xx.c | kfree_s ((void *) cmd->real, cmd->size); |
size | 3595 | drivers/scsi/53c7,8xx.c | int size; |
size | 3603 | drivers/scsi/53c7,8xx.c | size = 3; |
size | 3606 | drivers/scsi/53c7,8xx.c | size = 2; |
size | 3617 | drivers/scsi/53c7,8xx.c | return size; |
size | 3661 | drivers/scsi/53c7,8xx.c | scsi_free ((void *) curr->real, curr->size); |
size | 3663 | drivers/scsi/53c7,8xx.c | kfree_s ((void *) curr->real, curr->size); |
size | 3700 | drivers/scsi/53c7,8xx.c | scsi_free ((void *) curr->real, curr->size); |
size | 3702 | drivers/scsi/53c7,8xx.c | kfree_s ((void *) curr->real, curr->size); |
size | 941 | drivers/scsi/53c7,8xx.h | int size; /* scsi_malloc'd size of this |
size | 1011 | drivers/scsi/53c7,8xx.h | int size; /* Size of entire Scsi_Host |
size | 990 | drivers/scsi/aha152x.c | int size = disk->capacity; |
size | 992 | drivers/scsi/aha152x.c | printk("aha152x_biosparam: dev=%x, size=%d, ", dev, size); |
size | 999 | drivers/scsi/aha152x.c | info_array[2]=size>>11; |
size | 1106 | drivers/scsi/aha1542.c | int size = disk->capacity; |
size | 1110 | drivers/scsi/aha1542.c | if((size>>11) > 1024 && translation_algorithm == 2) { |
size | 1114 | drivers/scsi/aha1542.c | ip[2] = size /255/63; |
size | 1118 | 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 | 716 | drivers/scsi/fdomain.c | unsigned long blocks, size, capacity; |
size | 720 | drivers/scsi/fdomain.c | size = (buf[4] << 24) | (buf[5] << 16) | (buf[6] << 8) | buf[7]; |
size | 721 | drivers/scsi/fdomain.c | capacity = +( +(blocks / 1024L) * +(size * 10L)) / 1024L; |
size | 724 | drivers/scsi/fdomain.c | ((capacity + 5L) / 10L), size ); |
size | 1485 | drivers/scsi/fdomain.c | int size = disk->capacity; |
size | 1590 | drivers/scsi/fdomain.c | if ((unsigned int)size >= 0x7e0000U) { |
size | 1593 | drivers/scsi/fdomain.c | } else if ((unsigned int)size >= 0x200000U) { |
size | 1602 | drivers/scsi/fdomain.c | info_array[2] = (unsigned int)size / (info_array[0] * info_array[1] ); |
size | 271 | drivers/scsi/hosts.h | extern void * scsi_init_malloc(unsigned int size); |
size | 272 | drivers/scsi/hosts.h | extern void scsi_init_free(char * ptr, unsigned int size); |
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 | 1707 | drivers/scsi/scsi.c | void * scsi_init_malloc(unsigned int size) |
size | 1711 | drivers/scsi/scsi.c | retval = (unsigned int) kmalloc(size, GFP_ATOMIC); |
size | 1714 | drivers/scsi/scsi.c | scsi_init_memory_start += size; |
size | 1720 | drivers/scsi/scsi.c | void scsi_init_free(char * ptr, unsigned int size) |
size | 1726 | 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 | 276 | drivers/scsi/sg.c | size=COMMAND_SIZE(get_fs_byte(buf)); |
size | 277 | drivers/scsi/sg.c | memcpy_fromfs(cmnd,buf,size); |
size | 278 | drivers/scsi/sg.c | buf+=size; |
size | 279 | 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 | 1000 | drivers/scsi/ultrastor.c | int size = disk->capacity; |
size | 1005 | drivers/scsi/ultrastor.c | dkinfo[2] = size / s; /* Ignore partial cylinders */ |
size | 1228 | drivers/scsi/wd7000.c | int size = disk->capacity; |
size | 1231 | 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 | 55 | fs/block_dev.c | size = ((loff_t) blk_size[MAJOR(dev)][MINOR(dev)] << BLOCK_SIZE_BITS) >> blocksize_bits; |
size | 57 | fs/block_dev.c | size = INT_MAX; |
size | 59 | fs/block_dev.c | if (block >= size) |
size | 86 | fs/block_dev.c | if (block + blocks > size) blocks = size - block; |
size | 145 | fs/block_dev.c | loff_t size; |
size | 162 | fs/block_dev.c | size = (loff_t) blk_size[MAJOR(dev)][MINOR(dev)] << BLOCK_SIZE_BITS; |
size | 164 | fs/block_dev.c | size = INT_MAX; |
size | 168 | fs/block_dev.c | if (offset > size) |
size | 171 | fs/block_dev.c | left = size - offset; |
size | 179 | fs/block_dev.c | size >>= blocksize_bits; |
size | 190 | fs/block_dev.c | if (block + blocks > size) |
size | 191 | 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 | 407 | fs/buffer.c | static struct buffer_head * find_buffer(dev_t dev, int block, int size) |
size | 413 | fs/buffer.c | if (tmp->b_size == size) |
size | 430 | fs/buffer.c | struct buffer_head * get_hash_table(dev_t dev, int block, int size) |
size | 435 | fs/buffer.c | if (!(bh=find_buffer(dev,block,size))) |
size | 439 | fs/buffer.c | if (bh->b_dev == dev && bh->b_blocknr == block && bh->b_size == size) |
size | 445 | fs/buffer.c | void set_blocksize(dev_t dev, int size) |
size | 453 | fs/buffer.c | switch(size) { |
size | 458 | fs/buffer.c | if (blksize_size[MAJOR(dev)][MINOR(dev)] == 0 && size == BLOCK_SIZE) { |
size | 459 | fs/buffer.c | blksize_size[MAJOR(dev)][MINOR(dev)] = size; |
size | 462 | fs/buffer.c | if (blksize_size[MAJOR(dev)][MINOR(dev)] == size) |
size | 465 | fs/buffer.c | blksize_size[MAJOR(dev)][MINOR(dev)] = size; |
size | 477 | fs/buffer.c | if (bh->b_size == size) |
size | 481 | fs/buffer.c | if (bh->b_dev == dev && bh->b_size != size) { |
size | 492 | fs/buffer.c | void refill_freelist(int size) |
size | 497 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 514 | fs/buffer.c | needed =bdf_prm.b_un.nrefill * size; |
size | 517 | fs/buffer.c | grow_buffers(GFP_BUFFER, size)) { |
size | 526 | fs/buffer.c | while(maybe_shrink_lav_buffers(size)) |
size | 528 | fs/buffer.c | if(!grow_buffers(GFP_BUFFER, size)) break; |
size | 560 | fs/buffer.c | if (bh->b_count || bh->b_size != size) |
size | 600 | fs/buffer.c | if (bh->b_count || bh->b_size != size) |
size | 631 | fs/buffer.c | if (bh->b_count || bh->b_size != size) |
size | 660 | fs/buffer.c | if (grow_buffers(GFP_BUFFER, size)) { |
size | 667 | fs/buffer.c | if (!grow_buffers(GFP_ATOMIC, size)) |
size | 683 | fs/buffer.c | struct buffer_head * getblk(dev_t dev, int block, int size) |
size | 686 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 695 | fs/buffer.c | bh = get_hash_table(dev, block, size); |
size | 703 | fs/buffer.c | while(!free_list[isize]) refill_freelist(size); |
size | 705 | fs/buffer.c | if (find_buffer(dev,block,size)) |
size | 795 | fs/buffer.c | struct buffer_head * bread(dev_t dev, int block, int size) |
size | 799 | fs/buffer.c | if (!(bh = getblk(dev, block, size))) { |
size | 928 | fs/buffer.c | static struct buffer_head * create_buffers(unsigned long page, unsigned long size) |
size | 935 | fs/buffer.c | while ((offset -= size) < PAGE_SIZE) { |
size | 942 | fs/buffer.c | bh->b_size = size; |
size | 979 | fs/buffer.c | dev_t dev, int *b, int size) |
size | 995 | fs/buffer.c | for (offset = size ; offset < PAGE_SIZE ; offset += size) { |
size | 999 | fs/buffer.c | first = get_hash_table(dev, block, size); |
size | 1020 | fs/buffer.c | dev_t dev, int b[], int size) |
size | 1024 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 1028 | fs/buffer.c | bh = create_buffers(address, size); |
size | 1033 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
size | 1037 | fs/buffer.c | if (find_buffer(dev, block, size)) |
size | 1090 | fs/buffer.c | dev_t dev, int *b, int size) |
size | 1098 | fs/buffer.c | bh = get_hash_table(dev, block, size); |
size | 1100 | fs/buffer.c | return check_aligned(bh, address, dev, b, size); |
size | 1101 | fs/buffer.c | return try_to_load_aligned(address, dev, b, size); |
size | 1104 | fs/buffer.c | #define COPYBLK(size,from,to) \ |
size | 1106 | fs/buffer.c | :"c" (((unsigned long) size) >> 2),"S" (from),"D" (to) \ |
size | 1116 | fs/buffer.c | unsigned long bread_page(unsigned long address, dev_t dev, int b[], int size, int no_share) |
size | 1123 | fs/buffer.c | where = try_to_share_buffers(address, dev, b, size); |
size | 1128 | fs/buffer.c | for (i=0, j=0; j<PAGE_SIZE ; i++, j+= size) { |
size | 1131 | fs/buffer.c | bh[i] = getblk(dev, b[i], size); |
size | 1135 | fs/buffer.c | for (i=0, j=0; j<PAGE_SIZE ; i++, j += size, where += size) { |
size | 1138 | fs/buffer.c | COPYBLK(size, (unsigned long) bh[i]->b_data, where); |
size | 1149 | fs/buffer.c | static int grow_buffers(int pri, int size) |
size | 1156 | fs/buffer.c | if ((size & 511) || (size > PAGE_SIZE)) { |
size | 1157 | fs/buffer.c | printk("VFS: grow_buffers: size = %d\n",size); |
size | 1161 | fs/buffer.c | isize = BUFSIZE_INDEX(size); |
size | 1165 | fs/buffer.c | bh = create_buffers(page, size); |
size | 1255 | fs/buffer.c | static int maybe_shrink_lav_buffers(int size) |
size | 1278 | fs/buffer.c | isize = (size ? BUFSIZE_INDEX(size) : -1); |
size | 1313 | fs/buffer.c | static int shrink_specific_buffers(unsigned int priority, int size) |
size | 1320 | fs/buffer.c | if(size) printk("Shrinking buffers of size %d\n", size); |
size | 1324 | fs/buffer.c | isize1 = (size ? BUFSIZE_INDEX(size) : -1); |
size | 1353 | fs/buffer.c | if(size && bh->b_size != size) continue; |
size | 1472 | fs/buffer.c | unsigned int starting_block, int size) |
size | 1475 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 1482 | fs/buffer.c | while(nr_free[isize] < 32) refill_freelist(size); |
size | 1498 | fs/buffer.c | static unsigned long try_to_generate_cluster(dev_t dev, int block, int size) |
size | 1501 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 1509 | fs/buffer.c | bh = create_buffers(page, size); |
size | 1515 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
size | 1516 | fs/buffer.c | if (find_buffer(dev, nblock++, size)) |
size | 1555 | fs/buffer.c | unsigned long generate_cluster(dev_t dev, int b[], int size) |
size | 1559 | fs/buffer.c | for (i = 0, offset = 0 ; offset < PAGE_SIZE ; i++, offset += size) { |
size | 1561 | fs/buffer.c | if(find_buffer(dev, b[i], size)) return 0; |
size | 1568 | fs/buffer.c | if(maybe_shrink_lav_buffers(size)) |
size | 1571 | fs/buffer.c | retval = try_to_generate_cluster(dev, b[0], size); |
size | 1576 | fs/buffer.c | return try_to_generate_cluster(dev, b[0], size); |
size | 1578 | 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 | 395 | fs/isofs/inode.c | inode->i_size = isonum_733 (raw_inode->size); |
size | 575 | fs/isofs/inode.c | directory_size = isonum_733 (de->size); |
size | 674 | fs/isofs/inode.c | void * leak_check_malloc(unsigned int size){ |
size | 677 | fs/isofs/inode.c | tmp = kmalloc(size, GFP_KERNEL); |
size | 681 | fs/isofs/inode.c | void leak_check_free_s(void * obj, int size){ |
size | 683 | fs/isofs/inode.c | return kfree_s(obj, size); |
size | 686 | fs/isofs/inode.c | struct buffer_head * leak_check_bread(int dev, int block, int size){ |
size | 688 | 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 | 87 | fs/msdos/file.c | int left,offset,size,sector,cnt; |
size | 109 | fs/msdos/file.c | filp->f_pos += (size = MIN(SECTOR_SIZE-offset,left)); |
size | 111 | fs/msdos/file.c | memcpy_tofs(buf,data+offset,size); |
size | 112 | fs/msdos/file.c | buf += size; |
size | 114 | fs/msdos/file.c | else for (cnt = size; cnt; cnt--) { |
size | 116 | fs/msdos/file.c | size--; |
size | 147 | fs/msdos/file.c | int sector,offset,size,left,written; |
size | 169 | fs/msdos/file.c | for (start = buf; count || carry; count -= size) { |
size | 177 | fs/msdos/file.c | size = MIN(SECTOR_SIZE-offset,MAX(carry,count)); |
size | 184 | fs/msdos/file.c | buf,written = size); |
size | 185 | fs/msdos/file.c | buf += size; |
size | 195 | fs/msdos/file.c | for (size = 0; size < count && left; size++) { |
size | 375 | fs/msdos/inode.c | inode->i_size = CF_LE_L(raw_entry->size); |
size | 406 | fs/msdos/inode.c | raw_entry->size = 0; |
size | 410 | fs/msdos/inode.c | raw_entry->size = CT_LE_L(inode->i_size); |
size | 184 | fs/msdos/namei.c | de->size = 0; |
size | 230 | fs/nfs/dir.c | if (fattr->size == -1 || fattr->uid == -1 || fattr->gid == -1 |
size | 347 | fs/nfs/dir.c | sattr.uid = sattr.gid = sattr.size = (unsigned) -1; |
size | 383 | fs/nfs/dir.c | sattr.size = rdev; /* get out your barf bag */ |
size | 385 | fs/nfs/dir.c | sattr.size = (unsigned) -1; |
size | 412 | fs/nfs/dir.c | sattr.uid = sattr.gid = sattr.size = (unsigned) -1; |
size | 482 | fs/nfs/dir.c | sattr.uid = sattr.gid = sattr.size = (unsigned) -1; |
size | 578 | fs/nfs/dir.c | inode->i_size = fattr->size; |
size | 213 | fs/nfs/inode.c | sattr.size = S_ISREG(inode->i_mode) ? inode->i_size : -1; |
size | 215 | fs/nfs/inode.c | sattr.size = (unsigned) -1; |
size | 65 | fs/nfs/proc.c | static inline int *nfs_rpc_alloc(int size) |
size | 67 | fs/nfs/proc.c | size+=NFS_SLACK_SPACE; /* Allow for the NFS crap as well as buffer */ |
size | 68 | fs/nfs/proc.c | return (int *)kmalloc(size,GFP_KERNEL); |
size | 152 | fs/nfs/proc.c | fattr->size = ntohl(*p++); |
size | 172 | fs/nfs/proc.c | *p++ = htonl(sattr->size); |
size | 689 | fs/nfs/proc.c | int size; |
size | 693 | fs/nfs/proc.c | size = server->rsize; |
size | 700 | fs/nfs/proc.c | *p++ = htonl(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 | 118 | fs/sysv/file.c | unsigned int size; |
size | 129 | fs/sysv/file.c | size = inode->i_size; |
size | 130 | fs/sysv/file.c | if (offset > size) |
size | 133 | fs/sysv/file.c | left = size - offset; |
size | 141 | fs/sysv/file.c | size = (size + sb->sv_block_size_1) >> sb->sv_block_size_bits; |
size | 146 | fs/sysv/file.c | if (block + blocks > size) |
size | 147 | fs/sysv/file.c | blocks = size - block; |
size | 214 | fs/umsdos/emd.c | int size; /* Current size of buffer */ |
size | 229 | fs/umsdos/emd.c | int mustmove = buf->size - buf->pos; |
size | 242 | fs/umsdos/emd.c | if (ret == 0) buf->size = mustmove + mustread; |
size | 244 | fs/umsdos/emd.c | buf->size = mustmove; |
size | 297 | fs/umsdos/emd.c | buf.size = 0; |
size | 305 | fs/umsdos/emd.c | int file_pos = buf.filp.f_pos - buf.size + buf.pos; |
size | 306 | fs/umsdos/emd.c | if (buf.pos == buf.size){ |
size | 336 | 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 | 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 | 61 | include/linux/fd.h | unsigned int size, /* nr of sectors total */ |
size | 395 | include/linux/fs.h | extern void refill_freelist(int size); |
size | 451 | include/linux/fs.h | extern struct buffer_head * get_hash_table(dev_t dev, int block, int size); |
size | 452 | include/linux/fs.h | extern struct buffer_head * getblk(dev_t dev, int block, int size); |
size | 458 | include/linux/fs.h | extern void set_blocksize(dev_t dev, int size); |
size | 459 | include/linux/fs.h | extern struct buffer_head * bread(dev_t dev, int block, int size); |
size | 460 | include/linux/fs.h | extern unsigned long bread_page(unsigned long addr,dev_t dev,int b[],int size,int no_share); |
size | 461 | include/linux/fs.h | extern struct buffer_head * breada(dev_t dev,int block, int size, |
size | 464 | 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 | 164 | include/linux/mm.h | extern int unmap_page_range(unsigned long from, unsigned long size); |
size | 165 | include/linux/mm.h | extern int remap_page_range(unsigned long from, unsigned long to, unsigned long size, int mask); |
size | 166 | include/linux/mm.h | extern int zeromap_page_range(unsigned long from, unsigned long size, int mask); |
size | 182 | 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 | 99 | include/linux/net.h | int (*read) (struct socket *sock, char *ubuf, int size, |
size | 101 | 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 | 110 | include/linux/skbuff.h | extern struct sk_buff * alloc_skb(unsigned int size, int priority); |
size | 111 | include/linux/skbuff.h | extern void kfree_skbmem(struct sk_buff *skb, unsigned size); |
size | 140 | 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 | 19 | ipc/shm.c | static int newseg (key_t key, int shmflg, int size); |
size | 68 | ipc/shm.c | static int newseg (key_t key, int shmflg, int size) |
size | 71 | ipc/shm.c | int numpages = (size + PAGE_SIZE -1) >> PAGE_SHIFT; |
size | 74 | ipc/shm.c | if (size < SHMMIN) |
size | 110 | ipc/shm.c | shp->shm_segsz = size; |
size | 127 | ipc/shm.c | int sys_shmget (key_t key, int size, int shmflg) |
size | 132 | ipc/shm.c | if (size < 0 || size > SHMMAX) |
size | 135 | ipc/shm.c | return newseg(key, shmflg, size); |
size | 139 | ipc/shm.c | return newseg(key, shmflg, size); |
size | 146 | ipc/shm.c | if (size > shp->shm_segsz) |
size | 31 | ipc/util.c | extern int sys_shmget (key_t key, int size, int flag); |
size | 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 | 117 | kernel/module.c | sys_create_module(char *module_name, unsigned long size) |
size | 128 | kernel/module.c | if (module_name == NULL || size == 0) |
size | 141 | kernel/module.c | npages = (size + sizeof (int) + 4095) / 4096; |
size | 151 | kernel/module.c | mp->size = npages; |
size | 160 | kernel/module.c | mp->name, (unsigned long) mp->size, (unsigned long) mp->addr)); |
size | 201 | kernel/module.c | if ((codesize + sizeof (int) + 4095) / 4096 > mp->size) |
size | 205 | kernel/module.c | mp->size * 4096 - (codesize + sizeof (int))); |
size | 214 | kernel/module.c | int size; |
size | 219 | kernel/module.c | memcpy_fromfs((char *)(&(size)), symtab, sizeof(int)); |
size | 221 | kernel/module.c | if ((newtab = (struct symbol_table*) kmalloc(size, GFP_KERNEL)) == NULL) { |
size | 225 | kernel/module.c | if ((error = verify_area(VERIFY_READ, symtab, size))) |
size | 227 | kernel/module.c | memcpy_fromfs((char *)(newtab), symtab, size); |
size | 434 | kernel/module.c | if (mp->symtab->size) |
size | 435 | kernel/module.c | kfree_s(mp->symtab, mp->symtab->size); |
size | 457 | kernel/module.c | char size[32]; |
size | 470 | kernel/module.c | sprintf(size, "%d", mp->size); |
size | 471 | kernel/module.c | i -= strlen(size); |
size | 476 | 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 | 87 | mm/kmalloc.c | int size; |
size | 121 | mm/kmalloc.c | #define BLOCKSIZE(order) (sizes[order].size) |
size | 151 | mm/kmalloc.c | int get_order (int size) |
size | 156 | mm/kmalloc.c | size += sizeof (struct block_header); |
size | 158 | mm/kmalloc.c | if (size <= BLOCKSIZE (order)) |
size | 163 | mm/kmalloc.c | void * kmalloc (size_t size, int priority) |
size | 180 | mm/kmalloc.c | order = get_order (size); |
size | 183 | mm/kmalloc.c | printk ("kmalloc of too large a block (%d bytes).\n",size); |
size | 211 | mm/kmalloc.c | sizes [order].nbytesmalloced += size; |
size | 213 | mm/kmalloc.c | p->bh_length = size; |
size | 279 | mm/kmalloc.c | size); |
size | 284 | mm/kmalloc.c | void kfree_s (void *ptr,int size) |
size | 302 | mm/kmalloc.c | if (size && |
size | 303 | mm/kmalloc.c | size != p->bh_length) |
size | 306 | mm/kmalloc.c | p,size,p->bh_length); |
size | 309 | mm/kmalloc.c | size = p->bh_length; |
size | 361 | mm/kmalloc.c | sizes[order].nbytesmalloced -= size; |
size | 288 | mm/memory.c | int unmap_page_range(unsigned long from, unsigned long size) |
size | 298 | mm/memory.c | size = (size + ~PAGE_MASK) >> PAGE_SHIFT; |
size | 301 | mm/memory.c | if ((pcnt = PTRS_PER_PAGE - poff) > size) |
size | 302 | mm/memory.c | pcnt = size; |
size | 304 | mm/memory.c | for ( ; size > 0; ++dir, size -= pcnt, |
size | 305 | mm/memory.c | pcnt = (size > PTRS_PER_PAGE ? PTRS_PER_PAGE : size)) { |
size | 340 | mm/memory.c | int zeromap_page_range(unsigned long from, unsigned long size, int mask) |
size | 358 | mm/memory.c | size = (size + ~PAGE_MASK) >> PAGE_SHIFT; |
size | 360 | mm/memory.c | if ((pcnt = PTRS_PER_PAGE - poff) > size) |
size | 361 | mm/memory.c | pcnt = size; |
size | 363 | mm/memory.c | while (size > 0) { |
size | 379 | mm/memory.c | for (size -= pcnt; pcnt-- ;) { |
size | 392 | mm/memory.c | pcnt = (size > PTRS_PER_PAGE ? PTRS_PER_PAGE : size); |
size | 403 | mm/memory.c | int remap_page_range(unsigned long from, unsigned long to, unsigned long size, int mask) |
size | 420 | mm/memory.c | size = (size + ~PAGE_MASK) >> PAGE_SHIFT; |
size | 422 | mm/memory.c | if ((pcnt = PTRS_PER_PAGE - poff) > size) |
size | 423 | mm/memory.c | pcnt = size; |
size | 425 | mm/memory.c | while (size > 0) { |
size | 441 | mm/memory.c | for (size -= pcnt; pcnt-- ;) { |
size | 474 | mm/memory.c | pcnt = (size > PTRS_PER_PAGE ? PTRS_PER_PAGE : size); |
size | 628 | mm/memory.c | int verify_area(int type, const void * addr, unsigned long size) |
size | 662 | mm/memory.c | if (vma->vm_end - start >= size) |
size | 671 | mm/memory.c | size--; |
size | 672 | mm/memory.c | size += start & ~PAGE_MASK; |
size | 673 | mm/memory.c | size >>= PAGE_SHIFT; |
size | 680 | mm/memory.c | if (!size) |
size | 682 | mm/memory.c | size--; |
size | 604 | mm/swap.c | do { unsigned long size = PAGE_SIZE << high; \ |
size | 606 | mm/swap.c | high--; size >>= 1; cli(); \ |
size | 610 | 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 | 96 | net/inet/af_inet.c | int size = 32767; /* a big num. */ |
size | 121 | net/inet/af_inet.c | if (j < size) |
size | 124 | net/inet/af_inet.c | size = j; |
size | 1038 | net/inet/af_inet.c | static int inet_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1050 | net/inet/af_inet.c | return(sk->prot->recvfrom(sk, (unsigned char *) ubuf, size, noblock, flags, |
size | 1055 | net/inet/af_inet.c | static int inet_recv(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1059 | net/inet/af_inet.c | return inet_recvfrom(sock,ubuf,size,noblock,flags,NULL,NULL); |
size | 1062 | net/inet/af_inet.c | static int inet_read(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1071 | net/inet/af_inet.c | return(sk->prot->read(sk, (unsigned char *) ubuf, size, noblock, 0)); |
size | 1074 | net/inet/af_inet.c | static int inet_send(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1088 | net/inet/af_inet.c | return(sk->prot->write(sk, (unsigned char *) ubuf, size, noblock, flags)); |
size | 1091 | net/inet/af_inet.c | static int inet_write(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1093 | net/inet/af_inet.c | return inet_send(sock,ubuf,size,noblock,0); |
size | 1096 | net/inet/af_inet.c | static int inet_sendto(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1112 | net/inet/af_inet.c | return(sk->prot->sendto(sk, (unsigned char *) ubuf, size, noblock, flags, |
size | 891 | net/inet/arp.c | int size; |
size | 897 | net/inet/arp.c | size = sprintf(buffer,"IP address HW type Flags HW address\n"); |
size | 898 | net/inet/arp.c | pos+=size; |
size | 899 | net/inet/arp.c | len+=size; |
size | 927 | net/inet/arp.c | size = sprintf(buffer+len, |
size | 934 | 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 | 949 | net/inet/dev.c | int size; |
size | 952 | net/inet/dev.c | size = sprintf(buffer, "%6s:%7d %4d %4d %4d %4d %8d %4d %4d %4d %5d %4d\n", |
size | 964 | net/inet/dev.c | size = sprintf(buffer, "%6s: No statistics available.\n", dev->name); |
size | 966 | net/inet/dev.c | return size; |
size | 979 | net/inet/dev.c | int size; |
size | 984 | net/inet/dev.c | size = sprintf(buffer, "Inter-| Receive | Transmit\n" |
size | 987 | net/inet/dev.c | pos+=size; |
size | 988 | net/inet/dev.c | len+=size; |
size | 993 | net/inet/dev.c | size = sprintf_stats(buffer+len, dev); |
size | 994 | net/inet/dev.c | len+=size; |
size | 358 | net/inet/icmp.c | int size, offset; |
size | 363 | net/inet/icmp.c | size = dev->hard_header_len + 64 + len; |
size | 364 | net/inet/icmp.c | skb2 = alloc_skb(size, GFP_ATOMIC); |
size | 424 | net/inet/icmp.c | int size, offset; |
size | 428 | net/inet/icmp.c | size = dev->hard_header_len + 64 + len; |
size | 430 | net/inet/icmp.c | if (! (skb2 = alloc_skb(size, GFP_ATOMIC))) |
size | 513 | net/inet/icmp.c | int size, offset; |
size | 519 | net/inet/icmp.c | size = dev->hard_header_len + 64 + len; |
size | 520 | net/inet/icmp.c | skb2 = alloc_skb(size, GFP_ATOMIC); |
size | 1831 | net/inet/ip.c | int size; |
size | 1835 | net/inet/ip.c | size = skb->len - (((unsigned char *) th) - skb->data); |
size | 1842 | net/inet/ip.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
size | 964 | net/inet/ipx.c | int size; |
size | 1021 | net/inet/ipx.c | size=sizeof(ipx_packet)+len; /* For mac headers */ |
size | 1039 | net/inet/ipx.c | size += dev->hard_header_len; |
size | 1040 | net/inet/ipx.c | size += dl->header_length; |
size | 1043 | net/inet/ipx.c | printk("IPX: sendto: allocating buffer (%d)\n",size); |
size | 1045 | net/inet/ipx.c | if(size+sk->wmem_alloc>sk->sndbuf) { |
size | 1049 | net/inet/ipx.c | skb=alloc_skb(size,GFP_KERNEL); |
size | 1057 | net/inet/ipx.c | skb->len=size; |
size | 1130 | net/inet/ipx.c | static int ipx_send(struct socket *sock, void *ubuf, int size, int noblock, unsigned flags) |
size | 1132 | net/inet/ipx.c | return ipx_sendto(sock,ubuf,size,noblock,flags,NULL,0); |
size | 1135 | net/inet/ipx.c | static int ipx_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1177 | net/inet/ipx.c | static int ipx_write(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1179 | net/inet/ipx.c | return ipx_send(sock,ubuf,size,noblock,0); |
size | 1183 | net/inet/ipx.c | static int ipx_recv(struct socket *sock, void *ubuf, int size , int noblock, |
size | 1189 | net/inet/ipx.c | return ipx_recvfrom(sock,ubuf,size,noblock,flags,NULL, NULL); |
size | 1192 | net/inet/ipx.c | static int ipx_read(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1194 | net/inet/ipx.c | return ipx_recv(sock,ubuf,size,noblock,0); |
size | 453 | net/inet/rarp.c | int size; |
size | 459 | net/inet/rarp.c | size = sprintf(buffer,"RARP disabled until entries added to cache.\n"); |
size | 460 | net/inet/rarp.c | pos+=size; |
size | 461 | net/inet/rarp.c | len+=size; |
size | 465 | net/inet/rarp.c | size = sprintf(buffer, |
size | 467 | net/inet/rarp.c | pos+=size; |
size | 468 | net/inet/rarp.c | len+=size; |
size | 480 | net/inet/rarp.c | size = sprintf(buffer+len, |
size | 491 | 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 | 397 | net/inet/skbuff.c | struct sk_buff *alloc_skb(unsigned int size,int priority) |
size | 411 | net/inet/skbuff.c | size+=sizeof(struct sk_buff); |
size | 412 | net/inet/skbuff.c | skb=(struct sk_buff *)kmalloc(size,priority); |
size | 428 | net/inet/skbuff.c | skb->truesize = size; |
size | 429 | net/inet/skbuff.c | skb->mem_len = size; |
size | 443 | net/inet/skbuff.c | net_memory += size; |
size | 457 | net/inet/skbuff.c | void kfree_skbmem(struct sk_buff *skb,unsigned size) |
size | 468 | net/inet/skbuff.c | if(size!=skb->truesize) |
size | 477 | net/inet/skbuff.c | kfree_s((void *)skb,size); |
size | 479 | 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 | 387 | net/inet/sock.c | kfree_skbmem(skb, size); |
size | 390 | net/inet/sock.c | sk->wmem_alloc -= size; |
size | 399 | net/inet/sock.c | void sock_rfree(struct sock *sk, struct sk_buff *skb, unsigned long size) |
size | 402 | net/inet/sock.c | kfree_skbmem(skb, size); |
size | 405 | net/inet/sock.c | sk->rmem_alloc -= size; |
size | 179 | net/inet/sock.h | unsigned long size, int force, |
size | 182 | net/inet/sock.h | unsigned long size, int force, |
size | 185 | net/inet/sock.h | unsigned long size); |
size | 187 | net/inet/sock.h | unsigned long size); |
size | 261 | net/inet/sock.h | unsigned long size, int force, |
size | 264 | net/inet/sock.h | unsigned long size, int force, |
size | 267 | net/inet/sock.h | unsigned long size); |
size | 269 | net/inet/sock.h | unsigned long size); |
size | 631 | net/inet/tcp.c | int size; |
size | 635 | net/inet/tcp.c | size = skb->len - ((unsigned char *) th - skb->data); |
size | 638 | net/inet/tcp.c | if (size < sizeof(struct tcphdr) || size > skb->len) |
size | 647 | net/inet/tcp.c | if (size == sizeof(struct tcphdr)) |
size | 660 | net/inet/tcp.c | skb->h.seq = ntohl(th->seq) + size - 4*th->doff; |
size | 684 | net/inet/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
size | 2429 | net/inet/tcp.c | int size; |
size | 2440 | net/inet/tcp.c | size = skb->len - (((unsigned char *) th) - skb->data); |
size | 2445 | net/inet/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
size | 257 | net/inet/udp.c | int size, tmp; |
size | 263 | net/inet/udp.c | size = sk->prot->max_header + len; |
size | 264 | net/inet/udp.c | skb = sk->prot->wmalloc(sk, size, 0, GFP_KERNEL); |
size | 55 | net/socket.c | int size); |
size | 57 | net/socket.c | int size); |
size | 369 | net/socket.c | static int sock_read(struct inode *inode, struct file *file, char *ubuf, int size) |
size | 382 | net/socket.c | if(size<0) |
size | 384 | net/socket.c | if(size==0) |
size | 386 | net/socket.c | if ((err=verify_area(VERIFY_WRITE,ubuf,size))<0) |
size | 388 | net/socket.c | return(sock->ops->read(sock, ubuf, size, (file->f_flags & O_NONBLOCK))); |
size | 396 | net/socket.c | static int sock_write(struct inode *inode, struct file *file, char *ubuf, int size) |
size | 410 | net/socket.c | if(size<0) |
size | 412 | net/socket.c | if(size==0) |
size | 415 | net/socket.c | if ((err=verify_area(VERIFY_READ,ubuf,size))<0) |
size | 417 | 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; |