tag | line | file | source code |
size | 106 | drivers/block/cdu31a.c | static void size_to_buf(unsigned int size, |
size | 961 | drivers/block/cdu31a.c | size_to_buf(unsigned int size, |
size | 964 | drivers/block/cdu31a.c | buf[0] = size / 65536; |
size | 965 | drivers/block/cdu31a.c | size = size % 65536; |
size | 966 | drivers/block/cdu31a.c | buf[1] = size / 256; |
size | 967 | drivers/block/cdu31a.c | buf[2] = size % 256; |
size | 685 | drivers/block/floppy.c | floppy_sizes[drive] = floppy->size >> 1; |
size | 1042 | drivers/block/floppy.c | if (block+2 > floppy->size) { |
size | 1196 | drivers/block/floppy.c | floppy_sizes[drive] = user_params[drive].size >> 1; |
size | 700 | drivers/char/tpqic02.c | static int send_qic02_data(char sb[], unsigned size, int ignore_ex) |
size | 704 | drivers/char/tpqic02.c | for (i=0; i<size; i++) { |
size | 765 | drivers/char/tpqic02.c | static int rdstatus(char *stp, unsigned size, char qcmd) |
size | 799 | drivers/char/tpqic02.c | for (q=stp; q<stp+size; q++) |
size | 2503 | drivers/char/tpqic02.c | static inline unsigned long const align_buffer(unsigned long a, unsigned size) |
size | 2505 | drivers/char/tpqic02.c | if (a & (size-1)) /* if not aligned */ |
size | 2506 | drivers/char/tpqic02.c | return (a | (size-1)) + 1; |
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 | 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 | 547 | drivers/net/d_link.c | int size; |
size | 552 | drivers/net/d_link.c | size = d_link_read_byte(RX_LEN, dev); /* low byte */ |
size | 553 | drivers/net/d_link.c | size += (d_link_read_byte(RX_LEN, dev) << 8); /* high byte */ |
size | 554 | drivers/net/d_link.c | size -= 4; /* Ignore trailing 4 CRC-bytes */ |
size | 562 | drivers/net/d_link.c | if ((size < 32) || (size > 1535)) |
size | 563 | drivers/net/d_link.c | printk("%s: Bogus packet size %d.\n", dev->name, size); |
size | 565 | drivers/net/d_link.c | skb = alloc_skb(size, GFP_ATOMIC); |
size | 569 | drivers/net/d_link.c | dev->name, size); |
size | 580 | drivers/net/d_link.c | for (i = size; i > 0; --i, ++buffer) |
size | 585 | drivers/net/d_link.c | if (dev_rint((unsigned char *)skb, size, IN_SKBUFF, dev)) |
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 | 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 | 510 | drivers/net/slip.c | int size; |
size | 547 | drivers/net/slip.c | size=skb->len; |
size | 551 | drivers/net/slip.c | if(size<sizeof(struct iphdr)) |
size | 557 | drivers/net/slip.c | size=((struct iphdr *)(skb->data))->tot_len; |
size | 558 | drivers/net/slip.c | size=ntohs(size); |
size | 562 | 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 | 960 | drivers/scsi/aha152x.c | int aha152x_biosparam( int size, int dev, int *info_array ) |
size | 963 | drivers/scsi/aha152x.c | printk("aha152x_biosparam: dev=%x, size=%d, ", dev, size); |
size | 970 | drivers/scsi/aha152x.c | info_array[2]=size>>11; |
size | 925 | drivers/scsi/aha1542.c | int aha1542_biosparam(int size, int dev, int * ip) |
size | 934 | drivers/scsi/aha1542.c | if((size>>11) > 1024 && translation_algorithm == 2) { |
size | 938 | drivers/scsi/aha1542.c | ip[2] = size /255/63; |
size | 942 | drivers/scsi/aha1542.c | ip[2] = size >> 11; |
size | 494 | drivers/scsi/aha1740.c | int aha1740_biosparam(int size, int dev, int* ip) |
size | 499 | drivers/scsi/aha1740.c | ip[2] = size >> 11; |
size | 697 | drivers/scsi/fdomain.c | unsigned long blocks, size, capacity; |
size | 701 | drivers/scsi/fdomain.c | size = (buf[4] << 24) | (buf[5] << 16) | (buf[6] << 8) | buf[7]; |
size | 702 | drivers/scsi/fdomain.c | capacity = +( +(blocks / 1024L) * +(size * 10L)) / 1024L; |
size | 705 | drivers/scsi/fdomain.c | ((capacity + 5L) / 10L), size ); |
size | 1472 | drivers/scsi/fdomain.c | int fdomain_16x0_biosparam( int size, int dev, int *info_array ) |
size | 1582 | drivers/scsi/fdomain.c | if ((unsigned int)size >= 0x7e0000U) { |
size | 1585 | drivers/scsi/fdomain.c | } else if ((unsigned int)size >= 0x200000U) { |
size | 1594 | drivers/scsi/fdomain.c | info_array[2] = (unsigned int)size / (info_array[0] * info_array[1] ); |
size | 396 | drivers/scsi/pas16.c | int pas16_biosparam(int size, int dev, int * ip) |
size | 400 | drivers/scsi/pas16.c | ip[2] = size >> 11; |
size | 544 | drivers/scsi/scsi_debug.c | int scsi_debug_biosparam(int size, int dev, int* info){ |
size | 547 | drivers/scsi/scsi_debug.c | info[2] = (size + 2047) >> 11; |
size | 1603 | drivers/scsi/seagate.c | int seagate_st0x_biosparam(int size, int dev, int* ip) { |
size | 120 | drivers/scsi/sg.c | static char *sg_malloc(int size) |
size | 122 | drivers/scsi/sg.c | if (size<=4096) |
size | 123 | drivers/scsi/sg.c | return (char *) scsi_malloc(size); |
size | 125 | drivers/scsi/sg.c | if (size<SG_BIG_BUFF) |
size | 140 | drivers/scsi/sg.c | static void sg_free(char *buff,int size) |
size | 150 | drivers/scsi/sg.c | scsi_free(buff,size); |
size | 211 | drivers/scsi/sg.c | int bsize,size,amt,i; |
size | 264 | drivers/scsi/sg.c | size=COMMAND_SIZE(get_fs_byte(buf)); |
size | 265 | drivers/scsi/sg.c | memcpy_fromfs(cmnd,buf,size); |
size | 266 | drivers/scsi/sg.c | buf+=size; |
size | 267 | drivers/scsi/sg.c | memcpy_fromfs(device->buff,buf,device->header.pack_len-size-sizeof(struct sg_header)); |
size | 295 | drivers/scsi/t128.c | int t128_biosparam(int size, int dev, int * ip) |
size | 299 | drivers/scsi/t128.c | ip[2] = size >> 11; |
size | 973 | drivers/scsi/ultrastor.c | int ultrastor_biosparam(int size, int dev, int * dkinfo) |
size | 979 | drivers/scsi/ultrastor.c | dkinfo[2] = size / s; /* Ignore partial cylinders */ |
size | 1243 | drivers/scsi/wd7000.c | int wd7000_biosparam(int size, int dev, int* ip) |
size | 1247 | drivers/scsi/wd7000.c | ip[2] = size >> 11; |
size | 488 | drivers/sound/dmabuf.c | DMAbuf_getwrbuffer (int dev, char **buf, int *size) |
size | 550 | drivers/sound/dmabuf.c | *size = dev_buffsize[dev]; |
size | 829 | 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 | 8 | drivers/sound/sound_calls.h | int DMAbuf_getwrbuffer(int dev, char **buf, int *size); |
size | 81 | fs/binfmt_coff.c | int clear_memory (unsigned long addr, unsigned long size) |
size | 85 | fs/binfmt_coff.c | size = (PAGE_SIZE - (addr & ~PAGE_MASK)) & ~PAGE_MASK; |
size | 86 | fs/binfmt_coff.c | if (size == 0) |
size | 91 | fs/binfmt_coff.c | printk ("un-initialized storage in last page %d\n", size); |
size | 95 | fs/binfmt_coff.c | (void *) addr, size); |
size | 101 | fs/binfmt_coff.c | while (size-- != 0) |
size | 29 | fs/block_dev.c | unsigned int size; |
size | 52 | fs/block_dev.c | size = (blk_size[MAJOR(dev)][MINOR(dev)] << BLOCK_SIZE_BITS) >> blocksize_bits; |
size | 54 | fs/block_dev.c | size = INT_MAX; |
size | 56 | fs/block_dev.c | if (block >= size) |
size | 83 | fs/block_dev.c | if (block + blocks > size) blocks = size - block; |
size | 138 | fs/block_dev.c | unsigned int size; |
size | 155 | fs/block_dev.c | size = blk_size[MAJOR(dev)][MINOR(dev)] << BLOCK_SIZE_BITS; |
size | 157 | fs/block_dev.c | size = INT_MAX; |
size | 161 | fs/block_dev.c | if (offset > size) |
size | 164 | fs/block_dev.c | left = size - offset; |
size | 172 | fs/block_dev.c | size >>= blocksize_bits; |
size | 178 | fs/block_dev.c | if (block + blocks > size) |
size | 179 | fs/block_dev.c | blocks = size - block; |
size | 54 | fs/buffer.c | static int grow_buffers(int pri, int size); |
size | 55 | fs/buffer.c | static int shrink_specific_buffers(unsigned int priority, int size); |
size | 496 | fs/buffer.c | static struct buffer_head * find_buffer(dev_t dev, int block, int size) |
size | 502 | fs/buffer.c | if (tmp->b_size == size) |
size | 519 | fs/buffer.c | struct buffer_head * get_hash_table(dev_t dev, int block, int size) |
size | 524 | fs/buffer.c | if (!(bh=find_buffer(dev,block,size))) |
size | 528 | fs/buffer.c | if (bh->b_dev == dev && bh->b_blocknr == block && bh->b_size == size) |
size | 534 | fs/buffer.c | void set_blocksize(dev_t dev, int size) |
size | 542 | fs/buffer.c | switch(size) { |
size | 547 | fs/buffer.c | if (blksize_size[MAJOR(dev)][MINOR(dev)] == 0 && size == BLOCK_SIZE) { |
size | 548 | fs/buffer.c | blksize_size[MAJOR(dev)][MINOR(dev)] = size; |
size | 551 | fs/buffer.c | if (blksize_size[MAJOR(dev)][MINOR(dev)] == size) |
size | 554 | fs/buffer.c | blksize_size[MAJOR(dev)][MINOR(dev)] = size; |
size | 566 | fs/buffer.c | if (bh->b_size == size) |
size | 570 | fs/buffer.c | if (bh->b_dev == dev && bh->b_size != size) { |
size | 581 | fs/buffer.c | void refill_freelist(int size) |
size | 586 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 603 | fs/buffer.c | needed =bdf_prm.b_un.nrefill * size; |
size | 606 | fs/buffer.c | grow_buffers(GFP_BUFFER, size)) { |
size | 615 | fs/buffer.c | while(maybe_shrink_lav_buffers(size)) |
size | 617 | fs/buffer.c | if(!grow_buffers(GFP_BUFFER, size)) break; |
size | 649 | fs/buffer.c | if (bh->b_count || bh->b_size != size) |
size | 689 | fs/buffer.c | if (bh->b_count || bh->b_size != size) |
size | 720 | fs/buffer.c | if (bh->b_count || bh->b_size != size) |
size | 749 | fs/buffer.c | if (grow_buffers(GFP_BUFFER, size)) { |
size | 756 | fs/buffer.c | if (!grow_buffers(GFP_ATOMIC, size)) |
size | 772 | fs/buffer.c | struct buffer_head * getblk(dev_t dev, int block, int size) |
size | 775 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 784 | fs/buffer.c | bh = get_hash_table(dev, block, size); |
size | 792 | fs/buffer.c | while(!free_list[isize]) refill_freelist(size); |
size | 794 | fs/buffer.c | if (find_buffer(dev,block,size)) |
size | 884 | fs/buffer.c | struct buffer_head * bread(dev_t dev, int block, int size) |
size | 888 | fs/buffer.c | if (!(bh = getblk(dev, block, size))) { |
size | 1017 | fs/buffer.c | static struct buffer_head * create_buffers(unsigned long page, unsigned long size) |
size | 1024 | fs/buffer.c | while ((offset -= size) < PAGE_SIZE) { |
size | 1031 | fs/buffer.c | bh->b_size = size; |
size | 1068 | fs/buffer.c | dev_t dev, int *b, int size) |
size | 1084 | fs/buffer.c | for (offset = size ; offset < PAGE_SIZE ; offset += size) { |
size | 1088 | fs/buffer.c | first = get_hash_table(dev, block, size); |
size | 1109 | fs/buffer.c | dev_t dev, int b[], int size) |
size | 1113 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 1117 | fs/buffer.c | bh = create_buffers(address, size); |
size | 1122 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
size | 1126 | fs/buffer.c | if (find_buffer(dev, block, size)) |
size | 1179 | fs/buffer.c | dev_t dev, int *b, int size) |
size | 1187 | fs/buffer.c | bh = get_hash_table(dev, block, size); |
size | 1189 | fs/buffer.c | return check_aligned(bh, address, dev, b, size); |
size | 1190 | fs/buffer.c | return try_to_load_aligned(address, dev, b, size); |
size | 1193 | fs/buffer.c | #define COPYBLK(size,from,to) \ |
size | 1195 | fs/buffer.c | :"c" (((unsigned long) size) >> 2),"S" (from),"D" (to) \ |
size | 1205 | fs/buffer.c | unsigned long bread_page(unsigned long address, dev_t dev, int b[], int size, int prot) |
size | 1212 | fs/buffer.c | where = try_to_share_buffers(address,dev,b,size); |
size | 1217 | fs/buffer.c | for (i=0, j=0; j<PAGE_SIZE ; i++, j+= size) { |
size | 1220 | fs/buffer.c | bh[i] = getblk(dev, b[i], size); |
size | 1224 | fs/buffer.c | for (i=0, j=0; j<PAGE_SIZE ; i++, j += size,address += size) { |
size | 1227 | fs/buffer.c | COPYBLK(size, (unsigned long) bh[i]->b_data,address); |
size | 1238 | fs/buffer.c | static int grow_buffers(int pri, int size) |
size | 1245 | fs/buffer.c | if ((size & 511) || (size > PAGE_SIZE)) { |
size | 1246 | fs/buffer.c | printk("VFS: grow_buffers: size = %d\n",size); |
size | 1250 | fs/buffer.c | isize = BUFSIZE_INDEX(size); |
size | 1254 | fs/buffer.c | bh = create_buffers(page, size); |
size | 1344 | fs/buffer.c | static int maybe_shrink_lav_buffers(int size) |
size | 1367 | fs/buffer.c | isize = (size ? BUFSIZE_INDEX(size) : -1); |
size | 1402 | fs/buffer.c | static int shrink_specific_buffers(unsigned int priority, int size) |
size | 1409 | fs/buffer.c | if(size) printk("Shrinking buffers of size %d\n", size); |
size | 1413 | fs/buffer.c | isize1 = (size ? BUFSIZE_INDEX(size) : -1); |
size | 1442 | fs/buffer.c | if(size && bh->b_size != size) continue; |
size | 1561 | fs/buffer.c | unsigned int starting_block, int size) |
size | 1564 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 1571 | fs/buffer.c | while(nr_free[isize] < 32) refill_freelist(size); |
size | 1587 | fs/buffer.c | static unsigned long try_to_generate_cluster(dev_t dev, int block, int size) |
size | 1590 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 1598 | fs/buffer.c | bh = create_buffers(page, size); |
size | 1604 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
size | 1605 | fs/buffer.c | if (find_buffer(dev, nblock++, size)) |
size | 1644 | fs/buffer.c | unsigned long generate_cluster(dev_t dev, int b[], int size) |
size | 1648 | fs/buffer.c | for (i = 0, offset = 0 ; offset < PAGE_SIZE ; i++, offset += size) { |
size | 1650 | fs/buffer.c | if(find_buffer(dev, b[i], size)) return 0; |
size | 1657 | fs/buffer.c | if(maybe_shrink_lav_buffers(size)) |
size | 1660 | fs/buffer.c | retval = try_to_generate_cluster(dev, b[0], size); |
size | 1665 | fs/buffer.c | return try_to_generate_cluster(dev, b[0], size); |
size | 1667 | 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 | 35 | fs/ext2/balloc.c | #define clear_block(addr,size) \ |
size | 40 | fs/ext2/balloc.c | :"a" (0), "c" (size / 4), "D" ((long) (addr)) \ |
size | 45 | fs/ext2/balloc.c | static inline int find_first_zero_bit (unsigned long * addr, unsigned size) |
size | 49 | fs/ext2/balloc.c | if (!size) |
size | 66 | fs/ext2/balloc.c | :"c" ((size + 31) >> 5), "D" (addr), "b" (addr) |
size | 71 | fs/ext2/balloc.c | static inline int find_next_zero_bit (unsigned long * addr, int size, |
size | 96 | fs/ext2/balloc.c | res = find_first_zero_bit (p, size - 32 * (p - addr)); |
size | 100 | fs/ext2/balloc.c | static inline char * find_first_zero_byte (char * addr, int size) |
size | 104 | fs/ext2/balloc.c | if (!size) |
size | 114 | fs/ext2/balloc.c | : "0" (addr), "c" (size) |
size | 86 | fs/ext2/file.c | unsigned int size; |
size | 100 | fs/ext2/file.c | size = inode->i_size; |
size | 101 | fs/ext2/file.c | if (offset > size) |
size | 104 | fs/ext2/file.c | left = size - offset; |
size | 112 | fs/ext2/file.c | size = (size + sb->s_blocksize - 1) >> EXT2_BLOCK_SIZE_BITS(sb); |
size | 118 | fs/ext2/file.c | if (block + blocks > size) |
size | 119 | fs/ext2/file.c | blocks = size - block; |
size | 36 | fs/ext2/ialloc.c | static inline int find_first_zero_bit (unsigned long * addr, unsigned size) |
size | 40 | fs/ext2/ialloc.c | if (!size) |
size | 57 | fs/ext2/ialloc.c | : "c" ((size + 31) >> 5), "D" (addr), "b" (addr) |
size | 28 | fs/ext2/inode.c | #define clear_block(addr,size) \ |
size | 33 | fs/ext2/inode.c | :"a" (0), "c" (size / 4), "D" ((long) (addr)) \ |
size | 28 | fs/ext2/truncate.c | #define clear_block(addr,size,value) \ |
size | 33 | fs/ext2/truncate.c | :"a" (value), "c" (size / 4), "D" ((long) (addr)) \ |
size | 394 | fs/isofs/inode.c | inode->i_size = isonum_733 (raw_inode->size); |
size | 676 | fs/isofs/inode.c | void * leak_check_malloc(unsigned int size){ |
size | 679 | fs/isofs/inode.c | tmp = kmalloc(size, GFP_KERNEL); |
size | 683 | fs/isofs/inode.c | void leak_check_free_s(void * obj, int size){ |
size | 685 | fs/isofs/inode.c | return kfree_s(obj, size); |
size | 688 | fs/isofs/inode.c | struct buffer_head * leak_check_bread(int dev, int block, int size){ |
size | 690 | 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 | 84 | fs/msdos/file.c | int left,offset,size,sector,cnt; |
size | 105 | fs/msdos/file.c | filp->f_pos += (size = MIN(SECTOR_SIZE-offset,left)); |
size | 107 | fs/msdos/file.c | memcpy_tofs(buf,data+offset,size); |
size | 108 | fs/msdos/file.c | buf += size; |
size | 110 | fs/msdos/file.c | else for (cnt = size; cnt; cnt--) { |
size | 112 | fs/msdos/file.c | size--; |
size | 138 | fs/msdos/file.c | int sector,offset,size,left,written; |
size | 159 | fs/msdos/file.c | for (start = buf; count || carry; count -= size) { |
size | 167 | fs/msdos/file.c | size = MIN(SECTOR_SIZE-offset,MAX(carry,count)); |
size | 174 | fs/msdos/file.c | buf,written = size); |
size | 175 | fs/msdos/file.c | buf += size; |
size | 185 | 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 | 183 | 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 | 138 | fs/nfs/proc.c | fattr->size = ntohl(*p++); |
size | 158 | fs/nfs/proc.c | *p++ = htonl(sattr->size); |
size | 675 | fs/nfs/proc.c | int size; |
size | 679 | fs/nfs/proc.c | size = server->rsize; |
size | 686 | 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 | 203 | fs/proc/array.c | int size = 0, result = 0; |
size | 215 | fs/proc/array.c | result = size; |
size | 216 | fs/proc/array.c | if (size < PAGE_SIZE) |
size | 217 | fs/proc/array.c | buffer[size++] = c; |
size | 360 | fs/proc/array.c | int size=0, resident=0, share=0, trs=0, lrs=0, drs=0, dt=0; |
size | 376 | fs/proc/array.c | ++size; |
size | 400 | fs/proc/array.c | size, resident, share, trs, lrs, drs, dt); |
size | 119 | fs/sysv/file.c | unsigned int size; |
size | 130 | fs/sysv/file.c | size = inode->i_size; |
size | 131 | fs/sysv/file.c | if (offset > size) |
size | 134 | fs/sysv/file.c | left = size - offset; |
size | 142 | fs/sysv/file.c | size = (size + sb->sv_block_size_1) >> sb->sv_block_size_bits; |
size | 147 | fs/sysv/file.c | if (block + blocks > size) |
size | 148 | fs/sysv/file.c | blocks = size - block; |
size | 103 | include/asm/system.h | #define set_ldt_desc(n,addr,size) \ |
size | 104 | include/asm/system.h | _set_tssldt_desc(((char *) (n)),((int)(addr)),((size << 3) - 1),"0x82") |
size | 27 | include/linux/fd.h | unsigned int size, /* nr of 512-byte sectors total */ |
size | 368 | include/linux/fs.h | extern void refill_freelist(int size); |
size | 424 | include/linux/fs.h | extern struct buffer_head * get_hash_table(dev_t dev, int block, int size); |
size | 425 | include/linux/fs.h | extern struct buffer_head * getblk(dev_t dev, int block, int size); |
size | 430 | include/linux/fs.h | extern void set_blocksize(dev_t dev, int size); |
size | 431 | include/linux/fs.h | extern struct buffer_head * bread(dev_t dev, int block, int size); |
size | 432 | include/linux/fs.h | extern unsigned long bread_page(unsigned long addr,dev_t dev,int b[],int size,int prot); |
size | 433 | include/linux/fs.h | extern struct buffer_head * breada(dev_t dev,int block, int size, |
size | 436 | 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 | 209 | include/linux/iso_fs.h | extern void * leak_check_malloc(unsigned int size); |
size | 210 | include/linux/iso_fs.h | extern void leak_check_free_s(void * obj, int size); |
size | 211 | 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 | 14 | include/linux/mm.h | extern inline int verify_area(int type, const void * addr, unsigned long size) |
size | 18 | include/linux/mm.h | if (size > TASK_SIZE - (unsigned long) addr) |
size | 20 | include/linux/mm.h | if (wp_works_ok || type == VERIFY_READ || !size) |
size | 22 | include/linux/mm.h | return __verify_write((unsigned long) addr,size); |
size | 145 | include/linux/mm.h | extern int unmap_page_range(unsigned long from, unsigned long size); |
size | 146 | include/linux/mm.h | extern int remap_page_range(unsigned long from, unsigned long to, unsigned long size, int mask); |
size | 147 | include/linux/mm.h | extern int zeromap_page_range(unsigned long from, unsigned long size, int mask); |
size | 163 | include/linux/mm.h | extern void * vmalloc(unsigned long size); |
size | 23 | include/linux/module.h | int size; /* size of module in pages */ |
size | 88 | 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 | 103 | include/linux/skbuff.h | extern struct sk_buff * alloc_skb(unsigned int size, int priority); |
size | 104 | include/linux/skbuff.h | extern void kfree_skbmem(void *mem, unsigned size); |
size | 133 | 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 | 67 | ipc/shm.c | static int newseg (key_t key, int shmflg, int size) |
size | 70 | ipc/shm.c | int numpages = (size + PAGE_SIZE -1) >> PAGE_SHIFT; |
size | 73 | ipc/shm.c | if (size < SHMMIN) |
size | 109 | ipc/shm.c | shp->shm_segsz = size; |
size | 126 | ipc/shm.c | int sys_shmget (key_t key, int size, int shmflg) |
size | 131 | ipc/shm.c | if (size < 0 || size > SHMMAX) |
size | 134 | ipc/shm.c | return newseg(key, shmflg, size); |
size | 138 | ipc/shm.c | return newseg(key, shmflg, size); |
size | 145 | 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 | 21 | kernel/module.c | sys_create_module(char *module_name, unsigned long size) |
size | 33 | kernel/module.c | if (module_name == NULL || size == 0) |
size | 48 | kernel/module.c | npages = (size + sizeof (int) + 4095) / 4096; |
size | 55 | kernel/module.c | mp->size = npages; |
size | 63 | kernel/module.c | mp->name, (unsigned long) mp->size, (unsigned long) mp->addr); |
size | 95 | kernel/module.c | if ((codesize + sizeof (int) + 4095) / 4096 > mp->size) |
size | 99 | kernel/module.c | mp->size * 4096 - (codesize + sizeof (int))); |
size | 242 | kernel/module.c | char size[32]; |
size | 254 | kernel/module.c | sprintf(size, "%d", mp->size); |
size | 255 | kernel/module.c | i -= strlen(size); |
size | 260 | kernel/module.c | q = size; |
size | 67 | kernel/vsprintf.c | static char * number(char * str, int num, int base, int size, int precision |
size | 84 | kernel/vsprintf.c | if (sign) size--; |
size | 86 | kernel/vsprintf.c | if (base==16) size -= 2; |
size | 87 | kernel/vsprintf.c | else if (base==8) size--; |
size | 94 | kernel/vsprintf.c | size -= precision; |
size | 96 | kernel/vsprintf.c | while(size-->0) |
size | 108 | kernel/vsprintf.c | while(size-->0) |
size | 114 | 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 | 175 | mm/kmalloc.c | ((unsigned long *)&size)[-1]); |
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 | 274 | mm/memory.c | int unmap_page_range(unsigned long from, unsigned long size) |
size | 284 | mm/memory.c | size = (size + ~PAGE_MASK) >> PAGE_SHIFT; |
size | 287 | mm/memory.c | if ((pcnt = PTRS_PER_PAGE - poff) > size) |
size | 288 | mm/memory.c | pcnt = size; |
size | 290 | mm/memory.c | for ( ; size > 0; ++dir, size -= pcnt, |
size | 291 | mm/memory.c | pcnt = (size > PTRS_PER_PAGE ? PTRS_PER_PAGE : size)) { |
size | 326 | mm/memory.c | int zeromap_page_range(unsigned long from, unsigned long size, int mask) |
size | 344 | mm/memory.c | size = (size + ~PAGE_MASK) >> PAGE_SHIFT; |
size | 346 | mm/memory.c | if ((pcnt = PTRS_PER_PAGE - poff) > size) |
size | 347 | mm/memory.c | pcnt = size; |
size | 349 | mm/memory.c | while (size > 0) { |
size | 365 | mm/memory.c | for (size -= pcnt; pcnt-- ;) { |
size | 378 | mm/memory.c | pcnt = (size > PTRS_PER_PAGE ? PTRS_PER_PAGE : size); |
size | 389 | mm/memory.c | int remap_page_range(unsigned long from, unsigned long to, unsigned long size, int mask) |
size | 406 | mm/memory.c | size = (size + ~PAGE_MASK) >> PAGE_SHIFT; |
size | 408 | mm/memory.c | if ((pcnt = PTRS_PER_PAGE - poff) > size) |
size | 409 | mm/memory.c | pcnt = size; |
size | 411 | mm/memory.c | while (size > 0) { |
size | 427 | mm/memory.c | for (size -= pcnt; pcnt-- ;) { |
size | 460 | mm/memory.c | pcnt = (size > PTRS_PER_PAGE ? PTRS_PER_PAGE : size); |
size | 656 | mm/memory.c | int __verify_write(unsigned long start, unsigned long size) |
size | 658 | mm/memory.c | size--; |
size | 659 | mm/memory.c | size += start & ~PAGE_MASK; |
size | 660 | mm/memory.c | size >>= PAGE_SHIFT; |
size | 665 | mm/memory.c | } while (size--); |
size | 582 | mm/swap.c | do { unsigned long size = PAGE_SIZE << high; \ |
size | 584 | mm/swap.c | high--; size >>= 1; cli(); \ |
size | 588 | 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 | 832 | net/inet/arp.c | int size; |
size | 838 | net/inet/arp.c | size = sprintf(buffer,"IP address HW type Flags HW address\n"); |
size | 839 | net/inet/arp.c | pos+=size; |
size | 840 | net/inet/arp.c | len+=size; |
size | 858 | net/inet/arp.c | size = sprintf(buffer+len, |
size | 865 | 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 | 879 | net/inet/dev.c | int size; |
size | 882 | net/inet/dev.c | size = sprintf(buffer, "%6s:%7d %4d %4d %4d %4d %8d %4d %4d %4d %5d %4d\n", |
size | 894 | net/inet/dev.c | size = sprintf(buffer, "%6s: No statistics available.\n", dev->name); |
size | 896 | net/inet/dev.c | return size; |
size | 909 | net/inet/dev.c | int size; |
size | 914 | net/inet/dev.c | size = sprintf(buffer, "Inter-| Receive | Transmit\n" |
size | 917 | net/inet/dev.c | pos+=size; |
size | 918 | net/inet/dev.c | len+=size; |
size | 923 | net/inet/dev.c | size = sprintf_stats(buffer+len, dev); |
size | 924 | net/inet/dev.c | len+=size; |
size | 388 | net/inet/icmp.c | int size, offset; |
size | 393 | net/inet/icmp.c | size = dev->hard_header_len + 64 + len; |
size | 394 | net/inet/icmp.c | skb2 = alloc_skb(size, GFP_ATOMIC); |
size | 454 | net/inet/icmp.c | int size, offset; |
size | 459 | net/inet/icmp.c | size = dev->hard_header_len + 64 + len; |
size | 461 | net/inet/icmp.c | if (! (skb2 = alloc_skb(size, GFP_ATOMIC))) |
size | 544 | net/inet/icmp.c | int size, offset; |
size | 550 | net/inet/icmp.c | size = dev->hard_header_len + 64 + len; |
size | 551 | net/inet/icmp.c | skb2 = alloc_skb(size, GFP_ATOMIC); |
size | 837 | net/inet/ipx.c | int size; |
size | 882 | net/inet/ipx.c | size=sizeof(ipx_packet)+len; /* For mac headers */ |
size | 894 | net/inet/ipx.c | size+=dev->hard_header_len; |
size | 897 | net/inet/ipx.c | printk("IPX: sendto: allocating buffer (%d)\n",size-sizeof(struct sk_buff)); |
size | 899 | net/inet/ipx.c | if(size+sk->wmem_alloc>sk->sndbuf) |
size | 902 | net/inet/ipx.c | skb=alloc_skb(size,GFP_KERNEL); |
size | 915 | net/inet/ipx.c | skb->len=size-sizeof(struct sk_buff); |
size | 954 | net/inet/ipx.c | static int ipx_send(struct socket *sock, void *ubuf, int size, int noblock, unsigned flags) |
size | 956 | net/inet/ipx.c | return ipx_sendto(sock,ubuf,size,noblock,flags,NULL,0); |
size | 959 | net/inet/ipx.c | static int ipx_write(struct socket *sock, char *ubuf, int size, int noblock) |
size | 961 | net/inet/ipx.c | return ipx_send(sock,ubuf,size,noblock,0); |
size | 964 | net/inet/ipx.c | static int ipx_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, |
size | 981 | net/inet/ipx.c | if(size==0) |
size | 983 | net/inet/ipx.c | if(size<0) |
size | 998 | net/inet/ipx.c | er=verify_area(VERIFY_WRITE,ubuf,size); |
size | 1004 | net/inet/ipx.c | copied=(size<skb->len)?size:skb->len; |
size | 1022 | net/inet/ipx.c | static int ipx_recv(struct socket *sock, void *ubuf, int size , int noblock, |
size | 1028 | net/inet/ipx.c | return ipx_recvfrom(sock,ubuf,size,noblock,flags,NULL, NULL); |
size | 1031 | net/inet/ipx.c | static int ipx_read(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1033 | 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 | 499 | net/inet/route.c | int size; |
size | 511 | net/inet/route.c | size = sprintf(buffer+len, "%s\t%08lX\t%08lX\t%02X\t%d\t%lu\t%d\t%08lX\n", |
size | 515 | net/inet/route.c | len+=size; |
size | 516 | net/inet/route.c | pos+=size; |
size | 437 | net/inet/skbuff.c | struct sk_buff *alloc_skb(unsigned int size,int priority) |
size | 445 | net/inet/skbuff.c | ((unsigned long *)&size)[-1]); |
size | 450 | net/inet/skbuff.c | size+=sizeof(struct sk_buff); |
size | 451 | net/inet/skbuff.c | skb=(struct sk_buff *)kmalloc(size,priority); |
size | 457 | net/inet/skbuff.c | skb->truesize = size; |
size | 458 | net/inet/skbuff.c | skb->mem_len = size; |
size | 465 | net/inet/skbuff.c | net_memory += size; |
size | 478 | net/inet/skbuff.c | void kfree_skbmem(void *mem,unsigned size) |
size | 486 | net/inet/skbuff.c | kfree_s(mem,size); |
size | 488 | net/inet/skbuff.c | net_memory -= size; |
size | 493 | net/inet/skbuff.c | kfree_s(mem, size); |
size | 178 | net/inet/sock.c | int size = 32767; /* a big num. */ |
size | 200 | net/inet/sock.c | if (j < size) { |
size | 202 | net/inet/sock.c | size = j; |
size | 1248 | net/inet/sock.c | inet_read(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1261 | net/inet/sock.c | return(sk->prot->read(sk, (unsigned char *) ubuf, size, noblock,0)); |
size | 1266 | net/inet/sock.c | inet_recv(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1280 | net/inet/sock.c | return(sk->prot->read(sk, (unsigned char *) ubuf, size, noblock, flags)); |
size | 1285 | net/inet/sock.c | inet_write(struct socket *sock, char *ubuf, int size, int noblock) |
size | 1303 | net/inet/sock.c | return(sk->prot->write(sk, (unsigned char *) ubuf, size, noblock, 0)); |
size | 1308 | net/inet/sock.c | inet_send(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1327 | net/inet/sock.c | return(sk->prot->write(sk, (unsigned char *) ubuf, size, noblock, flags)); |
size | 1332 | net/inet/sock.c | inet_sendto(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1353 | net/inet/sock.c | return(sk->prot->sendto(sk, (unsigned char *) ubuf, size, noblock, flags, |
size | 1359 | net/inet/sock.c | inet_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, |
size | 1376 | net/inet/sock.c | return(sk->prot->recvfrom(sk, (unsigned char *) ubuf, size, noblock, flags, |
size | 1525 | net/inet/sock.c | sock_wmalloc(struct sock *sk, unsigned long size, int force, |
size | 1529 | net/inet/sock.c | if (sk->wmem_alloc + size < sk->sndbuf || force) { |
size | 1530 | net/inet/sock.c | struct sk_buff * c = alloc_skb(size, priority); |
size | 1539 | net/inet/sock.c | sk, size, force, priority)); |
size | 1542 | net/inet/sock.c | return(alloc_skb(size, priority)); |
size | 1547 | net/inet/sock.c | sock_rmalloc(struct sock *sk, unsigned long size, int force, int priority) |
size | 1550 | net/inet/sock.c | if (sk->rmem_alloc + size < sk->rcvbuf || force) { |
size | 1551 | net/inet/sock.c | struct sk_buff *c = alloc_skb(size, priority); |
size | 1560 | net/inet/sock.c | sk,size,force, priority)); |
size | 1563 | net/inet/sock.c | return(alloc_skb(size, priority)); |
size | 1595 | net/inet/sock.c | sock_wfree(struct sock *sk, void *mem, unsigned long size) |
size | 1597 | net/inet/sock.c | DPRINTF((DBG_INET, "sock_wfree(sk=%X, mem=%X, size=%d)\n", sk, mem, size)); |
size | 1600 | net/inet/sock.c | kfree_skbmem(mem, size); |
size | 1602 | net/inet/sock.c | sk->wmem_alloc -= size; |
size | 1616 | net/inet/sock.c | sock_rfree(struct sock *sk, void *mem, unsigned long size) |
size | 1618 | net/inet/sock.c | DPRINTF((DBG_INET, "sock_rfree(sk=%X, mem=%X, size=%d)\n", sk, mem, size)); |
size | 1620 | net/inet/sock.c | kfree_skbmem(mem, size); |
size | 1622 | net/inet/sock.c | sk->rmem_alloc -= size; |
size | 176 | net/inet/sock.h | unsigned long size, int force, |
size | 179 | net/inet/sock.h | unsigned long size, int force, |
size | 182 | net/inet/sock.h | unsigned long size); |
size | 184 | net/inet/sock.h | unsigned long size); |
size | 258 | net/inet/sock.h | unsigned long size, int force, |
size | 261 | net/inet/sock.h | unsigned long size, int force, |
size | 264 | net/inet/sock.h | unsigned long size); |
size | 266 | net/inet/sock.h | unsigned long size); |
size | 596 | net/inet/tcp.c | int size; |
size | 600 | net/inet/tcp.c | size = skb->len - ((unsigned char *) th - skb->data); |
size | 603 | net/inet/tcp.c | if (size < sizeof(struct tcphdr) || size > skb->len) { |
size | 611 | net/inet/tcp.c | if (size == sizeof(struct tcphdr)) { |
size | 622 | net/inet/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
size | 624 | net/inet/tcp.c | skb->h.seq = ntohl(th->seq) + size - 4*th->doff; |
size | 262 | net/inet/udp.c | int size, tmp; |
size | 277 | net/inet/udp.c | size = sk->prot->max_header + len; |
size | 278 | net/inet/udp.c | skb = sk->prot->wmalloc(sk, size, 0, GFP_KERNEL); |
size | 57 | net/socket.c | int size); |
size | 59 | net/socket.c | int size); |
size | 280 | net/socket.c | sock_read(struct inode *inode, struct file *file, char *ubuf, int size) |
size | 284 | net/socket.c | DPRINTF((net_debug, "NET: sock_read: buf=0x%x, size=%d\n", ubuf, size)); |
size | 290 | net/socket.c | return(sock->ops->read(sock, ubuf, size, (file->f_flags & O_NONBLOCK))); |
size | 295 | net/socket.c | sock_write(struct inode *inode, struct file *file, char *ubuf, int size) |
size | 299 | net/socket.c | DPRINTF((net_debug, "NET: sock_write: buf=0x%x, size=%d\n", ubuf, size)); |
size | 305 | net/socket.c | return(sock->ops->write(sock, ubuf, size,(file->f_flags & O_NONBLOCK))); |
size | 71 | net/unix/sock.c | static int unix_proto_read(struct socket *sock, char *ubuf, int size, |
size | 73 | net/unix/sock.c | static int unix_proto_write(struct socket *sock, char *ubuf, int size, |
size | 601 | net/unix/sock.c | unix_proto_read(struct socket *sock, char *ubuf, int size, int nonblock) |
size | 607 | net/unix/sock.c | if ((todo = size) <= 0) return(0); |
size | 656 | net/unix/sock.c | return(size - todo); |
size | 666 | net/unix/sock.c | unix_proto_write(struct socket *sock, char *ubuf, int size, int nonblock) |
size | 672 | net/unix/sock.c | if ((todo = size) <= 0) return(0); |
size | 742 | 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 | 81 | zBoot/misc.c | void *malloc(int size) |
size | 85 | zBoot/misc.c | if (size <0) error("Malloc error\n"); |
size | 92 | zBoot/misc.c | free_mem_ptr += size; |