tag | line | file | source code |
size | 122 | arch/alpha/boot/tools/build.c | unsigned long size, offset; |
size | 128 | arch/alpha/boot/tools/build.c | size = shdr[i].s_size; |
size | 129 | arch/alpha/boot/tools/build.c | start += size; |
size | 133 | arch/alpha/boot/tools/build.c | while (size > 0) { |
size | 134 | arch/alpha/boot/tools/build.c | unsigned long num = size; |
size | 142 | arch/alpha/boot/tools/build.c | size -= num; |
size | 441 | arch/alpha/kernel/alcor.c | regs->pc, mchk_header->size, mchk_header->proc_offset, mchk_header->sys_offset)); |
size | 450 | arch/alpha/kernel/alcor.c | for (i = 0; i < mchk_header->size / sizeof(long); i += 2) { |
size | 487 | arch/alpha/kernel/apecs.c | regs->pc, mchk_header->size, mchk_header->proc_offset, mchk_header->sys_offset)); |
size | 496 | arch/alpha/kernel/apecs.c | for (i = 0; i < mchk_header->size / sizeof(long); i += 2) { |
size | 131 | arch/alpha/kernel/bios32.c | unsigned int base, mask, size, reg; |
size | 162 | arch/alpha/kernel/bios32.c | size = (mask & base) & 0xffffffff; |
size | 164 | arch/alpha/kernel/bios32.c | alignto = MAX(0x400, size) ; |
size | 166 | arch/alpha/kernel/bios32.c | io_base = base + size; |
size | 178 | arch/alpha/kernel/bios32.c | size = (mask & base) & 0xffffffff; |
size | 225 | arch/alpha/kernel/bios32.c | alignto = MAX(0x1000, size) ; |
size | 227 | arch/alpha/kernel/bios32.c | if (size > 7 * 16*MB) { |
size | 233 | arch/alpha/kernel/bios32.c | PCI_FUNC(dev->devfn), size); |
size | 240 | arch/alpha/kernel/bios32.c | if (base / (128*MB) != (base + size) / (128*MB)) { |
size | 246 | arch/alpha/kernel/bios32.c | mem_base = base + size; |
size | 426 | arch/alpha/kernel/lca.c | switch (el.c->size) { |
size | 453 | arch/alpha/kernel/lca.c | printk(" Unknown errorlog size %d\n", el.c->size); |
size | 643 | arch/alpha/kernel/osf_sys.c | alpha_create_module (char * module_name, unsigned long size, |
size | 650 | arch/alpha/kernel/osf_sys.c | retval = sys_create_module(module_name, size); |
size | 282 | arch/alpha/kernel/traps.c | long dir, size; |
size | 310 | arch/alpha/kernel/traps.c | size = 4; |
size | 313 | arch/alpha/kernel/traps.c | size = 8; |
size | 315 | arch/alpha/kernel/traps.c | if (verify_area(dir, va, size)) { |
size | 110 | arch/i386/boot/compressed/misc.c | static void *malloc(int size); |
size | 137 | arch/i386/boot/compressed/misc.c | static void *malloc(int size) |
size | 141 | arch/i386/boot/compressed/misc.c | if (size <0) error("Malloc error\n"); |
size | 147 | arch/i386/boot/compressed/misc.c | free_mem_ptr += size; |
size | 19 | arch/i386/kernel/ldt.c | unsigned long size; |
size | 23 | arch/i386/kernel/ldt.c | size = LDT_ENTRIES*LDT_ENTRY_SIZE; |
size | 26 | arch/i386/kernel/ldt.c | size = sizeof(default_ldt); |
size | 28 | arch/i386/kernel/ldt.c | if (size > bytecount) |
size | 29 | arch/i386/kernel/ldt.c | size = bytecount; |
size | 30 | arch/i386/kernel/ldt.c | error = verify_area(VERIFY_WRITE, ptr, size); |
size | 33 | arch/i386/kernel/ldt.c | memcpy_tofs(ptr, address, size); |
size | 34 | arch/i386/kernel/ldt.c | return size; |
size | 468 | arch/i386/kernel/smp.c | int size=(num_processors-1)*PAGE_SIZE; /* Number of stacks needed */ |
size | 474 | arch/i386/kernel/smp.c | if(mem_base+size>=0x9F000) |
size | 477 | arch/i386/kernel/smp.c | mem_base+=size; |
size | 86 | arch/mips/kernel/jazz-c.c | void jazz_fd_cacheflush(unsigned char *addr, unsigned int size) |
size | 88 | arch/mips/kernel/jazz-c.c | sys_cacheflush((void *)addr, size, DCACHE); |
size | 69 | arch/mips/kernel/jazzdma.c | unsigned long vdma_alloc(unsigned long paddr, unsigned long size) |
size | 87 | arch/mips/kernel/jazzdma.c | if (size > 0x400000 || size == 0) |
size | 90 | arch/mips/kernel/jazzdma.c | printk("vdma_alloc: Invalid size: %08lx\n",size); |
size | 95 | arch/mips/kernel/jazzdma.c | pages = (size + 4095) >> 12; /* no. of pages to allocate */ |
size | 188 | arch/mips/kernel/jazzdma.c | int vdma_remap(unsigned long laddr, unsigned long paddr, unsigned long size) |
size | 207 | arch/mips/kernel/jazzdma.c | pages = (((paddr & (VDMA_PAGESIZE-1)) + size) >> 12) + 1; |
size | 214 | arch/mips/kernel/jazzdma.c | printk("vdma_alloc: Invalid size: %08lx\n",size); |
size | 240 | arch/mips/kernel/jazzdma.c | pages = (((paddr & (VDMA_PAGESIZE-1)) + size) >> 12) + 1; |
size | 56 | arch/mips/kernel/setup.c | void jazz_fd_cacheflush(unsigned char *addr, unsigned int size); |
size | 143 | arch/mips/kernel/setup.c | void jazz_fd_cacheflush(unsigned char *addr, unsigned int size); |
size | 245 | arch/mips/kernel/setup.c | bi_TagAdd(enum bi_tag tag, unsigned long size, void *tagdata) |
size | 91 | arch/mips/kernel/tyne-c.c | sys_cacheflush((void *)addr, size, DCACHE); |
size | 106 | arch/mips/kernel/tyne-c.c | unsigned long deskstation_tyne_dma_alloc(size_t size) |
size | 109 | arch/mips/kernel/tyne-c.c | allocated += size; |
size | 766 | arch/sparc/mm/srmmu.c | void srmmu_uncache_iommu_page_table(unsigned long start, int size) |
size | 771 | arch/sparc/mm/srmmu.c | unsigned long end = start + size; |
size | 927 | arch/sparc/mm/srmmu.c | static void *srmmu_init_alloc(unsigned long *kbrk, unsigned size) |
size | 929 | arch/sparc/mm/srmmu.c | register unsigned mask = size - 1; |
size | 932 | arch/sparc/mm/srmmu.c | if(size==0) return 0x0; |
size | 933 | arch/sparc/mm/srmmu.c | if(size & mask) { |
size | 938 | arch/sparc/mm/srmmu.c | *kbrk = ret + size; |
size | 939 | arch/sparc/mm/srmmu.c | memset((void*) ret, 0, size); |
size | 194 | arch/sparc/prom/tree.c | prom_setprop(int node, char *pname, char *value, int size) |
size | 196 | arch/sparc/prom/tree.c | if(size == 0) return 0; |
size | 198 | arch/sparc/prom/tree.c | return prom_nodeops->no_setprop(node, pname, value, size); |
size | 183 | drivers/block/floppy.c | static inline int __get_order(unsigned long size) |
size | 187 | drivers/block/floppy.c | size = (size-1) >> (PAGE_SHIFT-1); |
size | 190 | drivers/block/floppy.c | size >>= 1; |
size | 192 | drivers/block/floppy.c | } while (size); |
size | 196 | drivers/block/floppy.c | static unsigned long dma_mem_alloc(int size) |
size | 198 | drivers/block/floppy.c | int order = __get_order(size); |
size | 2010 | drivers/block/floppy.c | unsigned char track,head,sect,size; |
size | 2052 | drivers/block/floppy.c | here[count].size = F_SIZECODE; |
size | 2218 | drivers/block/floppy.c | floppy_sizes[TOMINOR(current_drive) ]= floppy->size>>1; |
size | 2227 | drivers/block/floppy.c | floppy_sizes[TOMINOR(current_drive)] = floppy->size >> 1; |
size | 2247 | drivers/block/floppy.c | int size; |
size | 2251 | drivers/block/floppy.c | size = CURRENT->current_nr_sectors << 9; |
size | 2256 | drivers/block/floppy.c | while (bh && bh->b_data == base + size){ |
size | 2257 | drivers/block/floppy.c | size += bh->b_size; |
size | 2261 | drivers/block/floppy.c | return size >> 9; |
size | 2286 | drivers/block/floppy.c | int size; |
size | 2317 | drivers/block/floppy.c | size = CURRENT->current_nr_sectors << 9; |
size | 2321 | drivers/block/floppy.c | SUPBOUND(size, remaining); |
size | 2323 | drivers/block/floppy.c | if (dma_buffer + size > |
size | 2342 | drivers/block/floppy.c | fd_cacheflush(dma_buffer, size); |
size | 2343 | drivers/block/floppy.c | memcpy(buffer, dma_buffer, size); |
size | 2345 | drivers/block/floppy.c | memcpy(dma_buffer, buffer, size); |
size | 2346 | drivers/block/floppy.c | fd_cacheflush(dma_buffer, size); |
size | 2348 | drivers/block/floppy.c | remaining -= size; |
size | 2352 | drivers/block/floppy.c | dma_buffer += size; |
size | 2360 | drivers/block/floppy.c | size = bh->b_size; |
size | 2790 | drivers/block/floppy.c | static int fd_copyout(void *param, const void *address, int size) |
size | 2794 | drivers/block/floppy.c | ECALL(verify_area(VERIFY_WRITE,param,size)); |
size | 2795 | drivers/block/floppy.c | fd_cacheflush(address, size); /* is this necessary ??? */ |
size | 2798 | drivers/block/floppy.c | memcpy_tofs(param,(void *) address, size); |
size | 2802 | drivers/block/floppy.c | static int fd_copyin(void *param, void *address, int size) |
size | 2806 | drivers/block/floppy.c | ECALL(verify_area(VERIFY_READ,param,size)); |
size | 2807 | drivers/block/floppy.c | memcpy_fromfs((void *) address, param, size); |
size | 3091 | drivers/block/floppy.c | floppy_type[type].size>>1; |
size | 3110 | drivers/block/floppy.c | floppy_sizes[drive] = user_params[drive].size >> 1; |
size | 3162 | drivers/block/floppy.c | static inline int normalize_0x02xx_ioctl(int *cmd, int *size) |
size | 3168 | drivers/block/floppy.c | *size = _IOC_SIZE(*cmd); |
size | 3170 | drivers/block/floppy.c | if (*size > _IOC_SIZE(*cmd)) { |
size | 3180 | drivers/block/floppy.c | static inline int xlate_0x00xx_ioctl(int *cmd, int *size) |
size | 3197 | drivers/block/floppy.c | *size = translation_table[i].oldsize; |
size | 3217 | drivers/block/floppy.c | int size; |
size | 3245 | drivers/block/floppy.c | ECALL(normalize_0x02xx_ioctl(&cmd, &size)); |
size | 3247 | drivers/block/floppy.c | ECALL(xlate_0x00xx_ioctl(&cmd, &size)); |
size | 3258 | drivers/block/floppy.c | ECALL(verify_area(VERIFY_WRITE,(void *) param, size)); |
size | 3263 | drivers/block/floppy.c | ECALL(fd_copyin((void *)param, &inparam, size)) |
size | 3339 | drivers/block/floppy.c | SUPBOUND(size,strlen(outparam)+1); |
size | 3383 | drivers/block/floppy.c | return fd_copyout((void *)param, outparam, size); |
size | 3647 | drivers/block/floppy.c | int size = floppy_blocksizes[MINOR(dev)]; |
size | 3648 | drivers/block/floppy.c | if (!size) |
size | 3649 | drivers/block/floppy.c | size = 1024; |
size | 3650 | drivers/block/floppy.c | if (!(bh = getblk(dev,0,size))){ |
size | 3920 | drivers/block/floppy.c | floppy_sizes[i] = floppy_type[ITYPE(i)].size >> 1; |
size | 98 | drivers/block/genhd.c | static void add_partition (struct gendisk *hd, int minor, int start, int size) |
size | 102 | drivers/block/genhd.c | hd->part[minor].nr_sects = size; |
size | 34 | drivers/block/linear.c | int cur=0, i, size, dev0_size, nb_zone; |
size | 50 | drivers/block/linear.c | if (data->smallest->size > devices[minor][i].size) |
size | 54 | drivers/block/linear.c | md_size[minor]/data->smallest->size + |
size | 55 | drivers/block/linear.c | (md_size[minor]%data->smallest->size ? 1 : 0); |
size | 59 | drivers/block/linear.c | size=devices[minor][cur].size; |
size | 66 | drivers/block/linear.c | if (size>=data->smallest->size) /* If we completly fill the slot */ |
size | 69 | drivers/block/linear.c | size-=data->smallest->size; |
size | 71 | drivers/block/linear.c | if (!size) |
size | 74 | drivers/block/linear.c | size=devices[minor][cur].size; |
size | 86 | drivers/block/linear.c | dev0_size=size; /* Here, we use a 2nd dev to fill the slot */ |
size | 87 | drivers/block/linear.c | size=devices[minor][cur].size; |
size | 89 | drivers/block/linear.c | size-=(data->smallest->size - dev0_size); |
size | 121 | drivers/block/linear.c | hash=data->hash_table+(block/data->smallest->size); |
size | 123 | drivers/block/linear.c | if (block >= (hash->dev0->size + hash->dev0->offset)) |
size | 132 | drivers/block/linear.c | if (block >= (tmp_dev->size + tmp_dev->offset) || block < tmp_dev->offset) |
size | 133 | drivers/block/linear.c | printk ("Block %ld out of bounds on dev %04x size %d offset %d\n", block, tmp_dev->dev, tmp_dev->size, tmp_dev->offset); |
size | 149 | drivers/block/linear.c | bh && rblock + nblk + (bh->b_size >> 10) <= tmp_dev->size; |
size | 47 | drivers/block/loop.c | char *loop_buf, int size) |
size | 50 | drivers/block/loop.c | memcpy(loop_buf, raw_buf, size); |
size | 52 | drivers/block/loop.c | memcpy(raw_buf, loop_buf, size); |
size | 57 | drivers/block/loop.c | char *loop_buf, int size) |
size | 71 | drivers/block/loop.c | for (i=0; i < size; i++) |
size | 78 | drivers/block/loop.c | char *loop_buf, int size) |
size | 83 | drivers/block/loop.c | if (size & 7) |
size | 87 | drivers/block/loop.c | while (size) { |
size | 106 | drivers/block/loop.c | size -= 8; |
size | 131 | drivers/block/loop.c | int size; |
size | 134 | drivers/block/loop.c | size = (lo->lo_inode->i_size - lo->lo_offset) / 1024; |
size | 137 | drivers/block/loop.c | size = ((blk_size[MAJOR(lo->lo_device)] |
size | 141 | drivers/block/loop.c | size = MAX_DISK_SIZE; |
size | 143 | drivers/block/loop.c | loop_sizes[lo->lo_number] = size; |
size | 148 | drivers/block/loop.c | int real_block, block, offset, len, blksize, size; |
size | 216 | drivers/block/loop.c | size = blksize - offset; |
size | 217 | drivers/block/loop.c | if (size > len) |
size | 218 | drivers/block/loop.c | size = len; |
size | 221 | drivers/block/loop.c | dest_addr, size)) { |
size | 229 | drivers/block/loop.c | dest_addr += size; |
size | 230 | drivers/block/loop.c | len -= size; |
size | 183 | drivers/block/md.c | devices[minor][index].size=gen_real->sizes[MINOR(dev)] & ~((PAGE_SIZE >> 10)-1); |
size | 185 | drivers/block/md.c | (devices[minor][index-1].offset + devices[minor][index-1].size) : 0; |
size | 188 | drivers/block/md.c | md_size[minor]=devices[minor][index].size; |
size | 190 | drivers/block/md.c | md_size[minor]+=devices[minor][index].size; |
size | 44 | drivers/block/raid0.c | if (devices[minor][i].size==devices[minor][j].size) |
size | 68 | drivers/block/raid0.c | if (devices[minor][j].size>current_offset) |
size | 72 | drivers/block/raid0.c | smallest_by_zone->size > devices[minor][j].size) |
size | 77 | drivers/block/raid0.c | data->strip_zone[i].size=(smallest_by_zone->size-current_offset)*c; |
size | 80 | drivers/block/raid0.c | data->smallest->size > data->strip_zone[i].size) |
size | 84 | drivers/block/raid0.c | data->strip_zone[i-1].size) : 0; |
size | 85 | drivers/block/raid0.c | current_offset=smallest_by_zone->size; |
size | 91 | drivers/block/raid0.c | int cur=0, i=0, size, zone0_size, nb_zone, min; |
size | 97 | drivers/block/raid0.c | if (devices[minor][i].size<min) |
size | 111 | drivers/block/raid0.c | devices[minor][i].size &= ~((1 << FACTOR_SHIFT(FACTOR(mddev))) - 1); |
size | 112 | drivers/block/raid0.c | md_size[minor] += devices[minor][i].size; |
size | 121 | drivers/block/raid0.c | md_size[minor]/data->smallest->size + |
size | 122 | drivers/block/raid0.c | (md_size[minor]%data->smallest->size ? 1 : 0); |
size | 126 | drivers/block/raid0.c | size=data->strip_zone[cur].size; |
size | 133 | drivers/block/raid0.c | if (size>=data->smallest->size)/* If we completly fill the slot */ |
size | 136 | drivers/block/raid0.c | size-=data->smallest->size; |
size | 138 | drivers/block/raid0.c | if (!size) |
size | 141 | drivers/block/raid0.c | size=data->strip_zone[cur].size; |
size | 153 | drivers/block/raid0.c | zone0_size=size; /* Here, we use a 2nd dev to fill the slot */ |
size | 154 | drivers/block/raid0.c | size=data->strip_zone[cur].size; |
size | 156 | drivers/block/raid0.c | size-=(data->smallest->size - zone0_size); |
size | 198 | drivers/block/raid0.c | hash=data->hash_table+(block/data->smallest->size); |
size | 200 | drivers/block/raid0.c | if (block >= (hash->zone0->size + |
size | 300 | drivers/block/raid0.c | data->strip_zone[j].size); |
size | 327 | drivers/block/rd.c | const int size = 512; |
size | 334 | drivers/block/rd.c | buf = kmalloc(size, GFP_KERNEL); |
size | 340 | drivers/block/rd.c | memset(buf, 0xe5, size); |
size | 349 | drivers/block/rd.c | fp->f_op->read(fp->f_inode, fp, buf, size); |
size | 370 | drivers/block/rd.c | fp->f_op->read(fp->f_inode, fp, buf, size); |
size | 574 | drivers/block/rd.c | static void *malloc(int size); |
size | 582 | drivers/block/rd.c | static void *malloc(int size) |
size | 584 | drivers/block/rd.c | return kmalloc(size, GFP_KERNEL); |
size | 183 | drivers/block/triton.c | unsigned long size, addr, *table = HWIF(drive)->dmatable; |
size | 198 | drivers/block/triton.c | size = drive->tape.pc->request_transfer; |
size | 201 | drivers/block/triton.c | size = rq->nr_sectors << 9; |
size | 205 | drivers/block/triton.c | size = bh->b_size; |
size | 207 | drivers/block/triton.c | if ((addr + size) != virt_to_bus (bh->b_data)) |
size | 209 | drivers/block/triton.c | size += bh->b_size; |
size | 217 | drivers/block/triton.c | while (size) { |
size | 223 | drivers/block/triton.c | if (bcount > size) |
size | 224 | drivers/block/triton.c | bcount = size; |
size | 228 | drivers/block/triton.c | size -= bcount; |
size | 242 | drivers/cdrom/cdu31a.c | static void size_to_buf(unsigned int size, |
size | 1062 | drivers/cdrom/cdu31a.c | size_to_buf(unsigned int size, |
size | 1065 | drivers/cdrom/cdu31a.c | buf[0] = size / 65536; |
size | 1066 | drivers/cdrom/cdu31a.c | size = size % 65536; |
size | 1067 | drivers/cdrom/cdu31a.c | buf[1] = size / 256; |
size | 1068 | drivers/cdrom/cdu31a.c | buf[2] = size % 256; |
size | 1711 | drivers/cdrom/cdu31a.c | int size) |
size | 1713 | drivers/cdrom/cdu31a.c | src += (size - 1); |
size | 1714 | drivers/cdrom/cdu31a.c | dst += (size - 1); |
size | 1715 | drivers/cdrom/cdu31a.c | while (size > 0) |
size | 1718 | drivers/cdrom/cdu31a.c | size--; |
size | 1120 | drivers/cdrom/cm206.c | long int size=sizeof(struct cm206_struct); |
size | 1130 | drivers/cdrom/cm206.c | cd = (struct cm206_struct *) kmalloc(size, GFP_KERNEL); |
size | 1180 | drivers/cdrom/cm206.c | " %ld bytes kernel memory used.\n", cd->max_sectors*2, size); |
size | 734 | drivers/cdrom/gscd.c | static void cmd_read_b ( char *pb, int count, int size ) |
size | 763 | drivers/cdrom/gscd.c | for ( i=0 ; i< size ; i++ ) |
size | 811 | drivers/cdrom/gscd.c | static void cmd_read_w ( char *pb, int count, int size ) |
size | 835 | drivers/cdrom/gscd.c | for ( i=0 ; i<size ; i++ ) |
size | 242 | drivers/cdrom/mcdx.c | void *buffer, size_t size, |
size | 917 | drivers/cdrom/mcdx.c | void *buffer, size_t size, |
size | 945 | drivers/cdrom/mcdx.c | tries, timeout, size, (unsigned char) cmd[0])); |
size | 956 | drivers/cdrom/mcdx.c | size_t sz = size; |
size | 1120 | drivers/cdrom/mcdx.c | int size; |
size | 1124 | drivers/cdrom/mcdx.c | size = sizeof(*stuffp); |
size | 1129 | drivers/cdrom/mcdx.c | TRACE((MALLOC, "init() malloc %d bytes\n", size)); |
size | 1130 | drivers/cdrom/mcdx.c | if (!(stuffp = kmalloc(size, GFP_KERNEL))) { |
size | 1500 | drivers/cdrom/mcdx.c | int size; |
size | 1501 | drivers/cdrom/mcdx.c | size = sizeof(struct s_subqcode) * (stuffp->di.n_last - stuffp->di.n_first + 2); |
size | 1503 | drivers/cdrom/mcdx.c | TRACE((MALLOC, "ioctl() malloc %d bytes\n", size)); |
size | 1504 | drivers/cdrom/mcdx.c | stuffp->toc = kmalloc(size, GFP_KERNEL); |
size | 1506 | drivers/cdrom/mcdx.c | WARN(("Cannot malloc %s bytes for toc\n", size)); |
size | 766 | drivers/cdrom/sonycd535.c | size_to_buf(unsigned int size, Byte *buf) |
size | 768 | drivers/cdrom/sonycd535.c | buf[0] = size / 65536; |
size | 769 | drivers/cdrom/sonycd535.c | size = size % 65536; |
size | 770 | drivers/cdrom/sonycd535.c | buf[1] = size / 256; |
size | 771 | drivers/cdrom/sonycd535.c | buf[2] = size % 256; |
size | 549 | drivers/char/ftape/ftape-read.c | ftape_last_segment.size = 0; |
size | 553 | drivers/char/ftape/ftape-read.c | ftape_last_segment.size += space; /* sectors free */ |
size | 554 | drivers/char/ftape/ftape-read.c | ftape_last_segment.free = (ftape_last_segment.size - |
size | 559 | drivers/char/ftape/ftape-read.c | ftape_last_segment.id, ftape_last_segment.size); |
size | 121 | drivers/char/ftape/ftape-rw.h | int size; |
size | 88 | drivers/char/ftape/kernel-interface.c | static inline int __get_order(unsigned long size) |
size | 92 | drivers/char/ftape/kernel-interface.c | size = (size-1) >> (PAGE_SHIFT-1); |
size | 95 | drivers/char/ftape/kernel-interface.c | size >>= 1; |
size | 97 | drivers/char/ftape/kernel-interface.c | } while (size); |
size | 665 | drivers/char/istallion.c | static int stli_cmdwait(stlibrd_t *brdp, stliport_t *portp, unsigned long cmd, void *arg, int size, int copyback); |
size | 666 | drivers/char/istallion.c | static void stli_sendcmd(stlibrd_t *brdp, stliport_t *portp, unsigned long cmd, void *arg, int size, int copyback); |
size | 715 | drivers/char/istallion.c | static void *stli_mapbrdmem(unsigned long physaddr, unsigned int size); |
size | 1287 | drivers/char/istallion.c | static int stli_cmdwait(stlibrd_t *brdp, stliport_t *portp, unsigned long cmd, void *arg, int size, int copyback) |
size | 1292 | drivers/char/istallion.c | printk("stli_cmdwait(brdp=%x,portp=%x,cmd=%x,arg=%x,size=%d,copyback=%d)\n", (int) brdp, (int) portp, (int) cmd, (int) arg, size, copyback); |
size | 1305 | drivers/char/istallion.c | stli_sendcmd(brdp, portp, cmd, arg, size, copyback); |
size | 1445 | drivers/char/istallion.c | unsigned int len, stlen, head, tail, size; |
size | 1508 | drivers/char/istallion.c | size = portp->txsize; |
size | 1510 | drivers/char/istallion.c | len = size - (head - tail) - 1; |
size | 1511 | drivers/char/istallion.c | stlen = size - head; |
size | 1528 | drivers/char/istallion.c | if (head >= size) { |
size | 1597 | drivers/char/istallion.c | unsigned int len, stlen, head, tail, size, count, cooksize; |
size | 1638 | drivers/char/istallion.c | size = portp->txsize; |
size | 1640 | drivers/char/istallion.c | len = size - (head - tail) - 1; |
size | 1641 | drivers/char/istallion.c | stlen = size - head; |
size | 1659 | drivers/char/istallion.c | if (head >= size) { |
size | 2296 | drivers/char/istallion.c | static void stli_sendcmd(stlibrd_t *brdp, stliport_t *portp, unsigned long cmd, void *arg, int size, int copyback) |
size | 2304 | drivers/char/istallion.c | printk("stli_sendcmd(brdp=%x,portp=%x,cmd=%x,arg=%x,size=%d,copyback=%d)\n", (int) brdp, (int) portp, (int) cmd, (int) arg, size, copyback); |
size | 2318 | drivers/char/istallion.c | if (size > 0) { |
size | 2319 | drivers/char/istallion.c | memcpy((void *) &(cp->args[0]), arg, size); |
size | 2322 | drivers/char/istallion.c | portp->argsize = size; |
size | 2351 | drivers/char/istallion.c | unsigned int head, tail, size; |
size | 2369 | drivers/char/istallion.c | size = portp->rxsize; |
size | 2374 | drivers/char/istallion.c | len = size - (tail - head); |
size | 2375 | drivers/char/istallion.c | stlen = size - tail; |
size | 2391 | drivers/char/istallion.c | if (tail >= size) { |
size | 3420 | drivers/char/istallion.c | static void *stli_mapbrdmem(unsigned long physaddr, unsigned int size) |
size | 3426 | drivers/char/istallion.c | printk("stli_mapbrdmem(physaddr=%x,size=%x)\n", (int) physaddr, size); |
size | 3429 | drivers/char/istallion.c | if ((virtaddr = vmalloc(size)) == (char *) NULL) { |
size | 3430 | drivers/char/istallion.c | printk("STALLION: failed to allocate virtual address space, size=%x\n", size); |
size | 3433 | drivers/char/istallion.c | if ((rc = remap_page_range((TASK_SIZE + ((unsigned long) virtaddr)), physaddr, size, PAGE_IOMEM))) { |
size | 3814 | drivers/char/istallion.c | portp->rxsize = ap->rxq.size; |
size | 3815 | drivers/char/istallion.c | portp->txsize = ap->txq.size; |
size | 4182 | drivers/char/istallion.c | int brdnr, size, n; |
size | 4199 | drivers/char/istallion.c | size = MIN(count, (brdp->memsize - fp->f_pos)); |
size | 4204 | drivers/char/istallion.c | while (size > 0) { |
size | 4206 | drivers/char/istallion.c | n = MIN(size, (brdp->pagesize - (((unsigned long) fp->f_pos) % brdp->pagesize))); |
size | 4210 | drivers/char/istallion.c | size -= n; |
size | 4232 | drivers/char/istallion.c | int brdnr, size, n; |
size | 4250 | drivers/char/istallion.c | size = MIN(count, (brdp->memsize - fp->f_pos)); |
size | 4255 | drivers/char/istallion.c | while (size > 0) { |
size | 4257 | drivers/char/istallion.c | n = MIN(size, (brdp->pagesize - (((unsigned long) fp->f_pos) % brdp->pagesize))); |
size | 4261 | drivers/char/istallion.c | size -= n; |
size | 538 | drivers/char/lp.c | int base, size; |
size | 546 | drivers/char/lp.c | size = (base == 0x3bc)? 3 : 8; |
size | 547 | drivers/char/lp.c | if (check_region(base, size) < 0) |
size | 557 | drivers/char/lp.c | request_region(base, size, "lp"); |
size | 669 | drivers/char/lp.c | int base, size; |
size | 671 | drivers/char/lp.c | size = (base == 0x3bc)? 3 : 8; |
size | 673 | drivers/char/lp.c | release_region(LP_B(offset),size); |
size | 759 | drivers/char/n_tty.c | int size; |
size | 913 | drivers/char/n_tty.c | size = b - buf; |
size | 914 | drivers/char/n_tty.c | if (size && nr) |
size | 916 | drivers/char/n_tty.c | if (!size && clear_bit(TTY_PUSH, &tty->flags)) |
size | 918 | drivers/char/n_tty.c | if (!size && !retval) |
size | 920 | drivers/char/n_tty.c | return (size ? size : retval); |
size | 548 | drivers/char/pcxx.c | int total, remain, size, stlen; |
size | 558 | drivers/char/pcxx.c | size = ch->txbufsize; |
size | 565 | drivers/char/pcxx.c | head = bc->tin & (size - 1); |
size | 569 | drivers/char/pcxx.c | tail &= (size - 1); |
size | 570 | drivers/char/pcxx.c | stlen = (head >= tail) ? (size - (head - tail) - 1) : (tail - head - 1); |
size | 590 | drivers/char/pcxx.c | head = bc->tin & (size - 1); |
size | 594 | drivers/char/pcxx.c | tail &= (size - 1); |
size | 596 | drivers/char/pcxx.c | remain = size - (head - tail) - 1; |
size | 597 | drivers/char/pcxx.c | stlen = size - head; |
size | 613 | drivers/char/pcxx.c | if (head >= size) { |
size | 734 | drivers/char/random.c | int *p, size, ent_count; |
size | 765 | drivers/char/random.c | size = get_user(p); |
size | 767 | drivers/char/random.c | if (size < 0) |
size | 769 | drivers/char/random.c | if (size > POOLWORDS) |
size | 770 | drivers/char/random.c | size = POOLWORDS; |
size | 772 | drivers/char/random.c | size*sizeof(__u32)); |
size | 782 | drivers/char/random.c | size = get_user(p++); |
size | 783 | drivers/char/random.c | (void) random_write(0, file, (const char *) p, size); |
size | 1115 | drivers/char/stallion.c | unsigned int size; |
size | 1132 | drivers/char/stallion.c | size = (head >= tail) ? (head - tail) : (STL_TXBUFSIZE - (tail - head)); |
size | 1133 | drivers/char/stallion.c | if ((size == 0) && test_bit(ASYI_TXBUSY, &portp->istate)) |
size | 1134 | drivers/char/stallion.c | size = 1; |
size | 1135 | drivers/char/stallion.c | return(size); |
size | 780 | drivers/char/tpqic02.c | static int send_qic02_data(char sb[], unsigned size, int ignore_ex) |
size | 784 | drivers/char/tpqic02.c | for (i=0; i<size; i++) { |
size | 846 | drivers/char/tpqic02.c | static int rdstatus(char *stp, unsigned size, char qcmd) |
size | 880 | drivers/char/tpqic02.c | for (q=stp; q<stp+size; q++) |
size | 2803 | drivers/char/tpqic02.c | static inline unsigned long const align_buffer(unsigned long a, unsigned size) |
size | 2805 | drivers/char/tpqic02.c | if (a & (size-1)) /* if not aligned */ |
size | 2806 | drivers/char/tpqic02.c | return (a | (size-1)) + 1; |
size | 33 | drivers/char/vc_screen.c | int size = video_num_lines * video_num_columns; |
size | 35 | drivers/char/vc_screen.c | size = 2*size + HEADER_SIZE; |
size | 36 | drivers/char/vc_screen.c | return size; |
size | 42 | drivers/char/vc_screen.c | int size = vcs_size(inode); |
size | 52 | drivers/char/vc_screen.c | file->f_pos = size + offset; |
size | 57 | drivers/char/vc_screen.c | if (file->f_pos < 0 || file->f_pos > size) |
size | 67 | drivers/char/vc_screen.c | int viewed, attr, size, read; |
size | 83 | drivers/char/vc_screen.c | size = vcs_size(inode); |
size | 84 | drivers/char/vc_screen.c | if (count < 0 || p > size) |
size | 86 | drivers/char/vc_screen.c | if (count > size - p) |
size | 87 | drivers/char/vc_screen.c | count = size - p; |
size | 125 | drivers/char/vc_screen.c | int viewed, attr, size, written; |
size | 141 | drivers/char/vc_screen.c | size = vcs_size(inode); |
size | 142 | drivers/char/vc_screen.c | if (count < 0 || p > size) |
size | 144 | drivers/char/vc_screen.c | if (count > size - p) |
size | 145 | drivers/char/vc_screen.c | count = size - p; |
size | 124 | drivers/isdn/icn/icn.c | p->size = sizeof(pqueue) + length; |
size | 144 | drivers/isdn/icn/icn.c | kfree_s(q, q->size); |
size | 382 | drivers/isdn/icn/icn.c | kfree_s(p, p->size); |
size | 181 | drivers/isdn/icn/icn.h | short size; |
size | 113 | drivers/isdn/isdn_common.c | p->size = sizeof(pqueue) + length; |
size | 132 | drivers/isdn/isdn_common.c | kfree_s(q, q->size); |
size | 634 | drivers/isdn/isdn_common.c | kfree_s(p, p->size); |
size | 306 | drivers/isdn/teles/buffers.c | Smalloc(int size, int pr, char *why) |
size | 310 | drivers/isdn/teles/buffers.c | p = (byte *) kmalloc(size, pr); |
size | 312 | drivers/isdn/teles/buffers.c | printk(KERN_DEBUG "Smalloc %s size %d res %x\n", why, size, p); |
size | 417 | drivers/isdn/teles/callc.c | prp(byte * p, int size) |
size | 419 | drivers/isdn/teles/callc.c | while (size--) |
size | 1036 | drivers/isdn/teles/callc.c | int size; |
size | 1044 | drivers/isdn/teles/callc.c | size = ibh->datasize - chanp->ds.l2.ihsize; |
size | 1045 | drivers/isdn/teles/callc.c | iif.rcvcallb(drid, chanp->chan, ptr, size); |
size | 29 | drivers/isdn/teles/isdnl3.c | int size; |
size | 34 | drivers/isdn/teles/isdnl3.c | size = st->l2.ihsize; |
size | 40 | drivers/isdn/teles/isdnl3.c | size += 4; |
size | 42 | drivers/isdn/teles/isdnl3.c | dibh->datasize = size; |
size | 317 | drivers/isdn/teles/isdnl3.c | int size; |
size | 322 | drivers/isdn/teles/isdnl3.c | size = st->l2.ihsize; |
size | 328 | drivers/isdn/teles/isdnl3.c | size += 4; |
size | 334 | drivers/isdn/teles/isdnl3.c | size += 4; |
size | 336 | drivers/isdn/teles/isdnl3.c | dibh->datasize = size; |
size | 410 | drivers/isdn/teles/isdnl3.c | int i, mt, size; |
size | 417 | drivers/isdn/teles/isdnl3.c | size = ibh->datasize - st->l2.ihsize; |
size | 419 | drivers/isdn/teles/isdnl3.c | printk(KERN_INFO "isdnl3/l3up DL_DATA size=%d\n", size); |
size | 420 | drivers/isdn/teles/isdnl3.c | for (i = 0; i < size; i++) |
size | 456 | drivers/isdn/teles/isdnl3.c | size = ibh->datasize - st->l2.uihsize; |
size | 458 | drivers/isdn/teles/isdnl3.c | printk(KERN_INFO "isdnl3/l3up DL_UNIT_DATA size=%d\n", size); |
size | 459 | drivers/isdn/teles/isdnl3.c | for (i = 0; i < size; i++) |
size | 19 | drivers/isdn/teles/q931.c | findie(byte * p, int size, byte ie, int wanted_set) |
size | 22 | drivers/isdn/teles/q931.c | byte *pend = p + size; |
size | 787 | drivers/isdn/teles/q931.c | dlogframe(struct IsdnCardState *sp, byte * buf, int size, char *comment) |
size | 789 | drivers/isdn/teles/q931.c | byte *bend = buf + size; |
size | 817 | drivers/isdn/teles/q931.c | buf[2], size, mtlist[i].descr); |
size | 149 | drivers/isdn/teles/teles.h | byte *Smalloc(int size, int pr, char *why); |
size | 396 | drivers/isdn/teles/teles.h | byte *findie(byte * p, int size, byte ie, int wanted_set); |
size | 422 | drivers/isdn/teles/teles.h | void dlogframe(struct IsdnCardState *sp, byte * p, int size, char *comment); |
size | 207 | drivers/net/3c505.h | word size, |
size | 389 | drivers/net/3c507.c | int size; |
size | 392 | drivers/net/3c507.c | size = 64*1024; |
size | 396 | drivers/net/3c507.c | size = ((mem_config & 3) + 1) << 14; |
size | 400 | drivers/net/3c507.c | dev->mem_end = base + size; |
size | 115 | drivers/net/3c509.c | int head, size; |
size | 43 | drivers/net/apricot.c | #define check_region(addr, size) 0 |
size | 44 | drivers/net/apricot.c | #define request_region(addr, size,name) do ; while(0) |
size | 48 | drivers/net/apricot.c | #define alloc_skb(size, priority) (struct sk_buff *) kmalloc(size,priority) |
size | 49 | drivers/net/apricot.c | #define kfree_skbmem(buff, size) kfree_s(buff,size) |
size | 98 | drivers/net/apricot.c | unsigned short size; |
size | 107 | drivers/net/apricot.c | unsigned short size; |
size | 117 | drivers/net/apricot.c | unsigned short size; |
size | 213 | drivers/net/apricot.c | rfd->size = 1532; |
size | 642 | drivers/net/apricot.c | tx_cmd->size = 0; |
size | 644 | drivers/net/apricot.c | tx_cmd->tbd->size = EOF | length; |
size | 583 | drivers/net/de600.c | int size; |
size | 588 | drivers/net/de600.c | size = de600_read_byte(RX_LEN, dev); /* low byte */ |
size | 589 | drivers/net/de600.c | size += (de600_read_byte(RX_LEN, dev) << 8); /* high byte */ |
size | 590 | drivers/net/de600.c | size -= 4; /* Ignore trailing 4 CRC-bytes */ |
size | 598 | drivers/net/de600.c | if ((size < 32) || (size > 1535)) { |
size | 599 | drivers/net/de600.c | printk("%s: Bogus packet size %d.\n", dev->name, size); |
size | 600 | drivers/net/de600.c | if (size > 10000) |
size | 605 | drivers/net/de600.c | skb = dev_alloc_skb(size+2); |
size | 609 | drivers/net/de600.c | dev->name, size); |
size | 618 | drivers/net/de600.c | buffer = skb_put(skb,size); |
size | 622 | drivers/net/de600.c | for (i = size; i > 0; --i, ++buffer) |
size | 653 | drivers/net/de620.c | int size; |
size | 702 | drivers/net/de620.c | size = header_buf.Rx_ByteCount - 4; |
size | 703 | drivers/net/de620.c | if ((size < RUNT) || (GIANT < size)) { |
size | 704 | drivers/net/de620.c | printk("%s: Illegal packet size: %d!\n", dev->name, size); |
size | 707 | drivers/net/de620.c | skb = dev_alloc_skb(size+2); |
size | 710 | drivers/net/de620.c | dev->name, size); |
size | 718 | drivers/net/de620.c | buffer = skb_put(skb,size); |
size | 720 | drivers/net/de620.c | de620_read_block(dev, buffer, size); |
size | 721 | drivers/net/de620.c | PRINTK(("Read %d bytes\n", size)); |
size | 203 | drivers/net/ni52.c | static int check586(struct device *dev,char *where,unsigned size); |
size | 281 | drivers/net/ni52.c | static int check586(struct device *dev,char *where,unsigned size) |
size | 288 | drivers/net/ni52.c | p->base = (unsigned long) where + size - 0x01000000; |
size | 289 | drivers/net/ni52.c | p->memtop = where + size; |
size | 411 | drivers/net/ni52.c | int i,size; |
size | 428 | drivers/net/ni52.c | size = dev->mem_end - dev->mem_start; |
size | 429 | drivers/net/ni52.c | if(size != 0x2000 && size != 0x4000) |
size | 431 | drivers/net/ni52.c | printk("\n%s: Illegal memory size %d. Allowed is 0x2000 or 0x4000 bytes.\n",dev->name,size); |
size | 434 | drivers/net/ni52.c | if(!check586(dev,(char *) dev->mem_start,size)) |
size | 436 | drivers/net/ni52.c | printk("?memcheck, Can't find memory at 0x%lx with size %d!\n",dev->mem_start,size); |
size | 442 | drivers/net/ni52.c | size = 0x4000; /* check for 16K mem */ |
size | 443 | drivers/net/ni52.c | if(!check586(dev,(char *) dev->mem_start,size)) { |
size | 444 | drivers/net/ni52.c | size = 0x2000; /* check for 8K mem */ |
size | 445 | drivers/net/ni52.c | if(!check586(dev,(char *) dev->mem_start,size)) { |
size | 462 | drivers/net/ni52.c | size = 0x2000; /* check for 8K mem */ |
size | 463 | drivers/net/ni52.c | if(check586(dev,(char *)dev->mem_start,size)) /* 8K-check */ |
size | 465 | drivers/net/ni52.c | size = 0x4000; /* check for 16K mem */ |
size | 466 | drivers/net/ni52.c | if(check586(dev,(char *)dev->mem_start,size)) /* 16K-check */ |
size | 470 | drivers/net/ni52.c | dev->mem_end = dev->mem_start + size; /* set mem_end showed by 'ifconfig' */ |
size | 482 | drivers/net/ni52.c | ((struct priv *) (dev->priv))->memtop = (char *) dev->mem_start + size; |
size | 483 | drivers/net/ni52.c | ((struct priv *) (dev->priv))->base = dev->mem_start + size - 0x01000000; |
size | 487 | drivers/net/ni52.c | if(size == 0x2000) |
size | 492 | drivers/net/ni52.c | printk("Memaddr: 0x%lx, Memsize: %d, ",dev->mem_start,size); |
size | 794 | drivers/net/ni52.c | rbd[i].size = RECV_BUFF_SIZE; |
size | 1193 | drivers/net/ni52.c | p->xmit_buffs[0]->size = TBD_LAST | len; |
size | 1220 | drivers/net/ni52.c | p->xmit_buffs[0]->size = TBD_LAST | len; |
size | 1232 | drivers/net/ni52.c | p->xmit_buffs[p->xmit_count]->size = TBD_LAST | len; |
size | 159 | drivers/net/ni52.h | unsigned short size; /* size of this buffer */ |
size | 301 | drivers/net/ni52.h | unsigned short size; /* size + EOF-Flag(15) */ |
size | 494 | drivers/net/ppp.c | ppp_alloc_buf (int size, int type) |
size | 498 | drivers/net/ppp.c | buf = (struct ppp_buffer *) kmalloc (size + sizeof (struct ppp_buffer), |
size | 502 | drivers/net/ppp.c | buf->size = size - 1; /* Mask for the buffer size */ |
size | 621 | drivers/net/ppp.c | ppp->rbuf->size -= 80; /* reserve space for vj header expansion */ |
size | 1166 | drivers/net/ppp.c | if (buf->count < buf->size) { |
size | 1294 | drivers/net/ppp.c | current_idx &= ppp->ubuf->size; \ |
size | 1684 | drivers/net/ppp.c | ppp->ubuf->tail &= ppp->ubuf->size; \ |
size | 1782 | drivers/net/ppp.c | ppp->ubuf->tail &= ppp->ubuf->size; |
size | 1794 | drivers/net/ppp.c | ppp->ubuf->tail &= ppp->ubuf->size; |
size | 2554 | drivers/net/ppp.c | count += (ppp->ubuf->size + 1); |
size | 629 | drivers/net/sdla.c | short size; |
size | 654 | drivers/net/sdla.c | size = sizeof(addr); |
size | 655 | drivers/net/sdla.c | ret = sdla_cmd(dev, SDLA_INFORMATION_WRITE, *(short *)(skb->dev->dev_addr), 0, NULL, skb->len, &addr, &size); |
size | 1067 | drivers/net/sdla.c | short size; |
size | 1140 | drivers/net/sdla.c | size = sizeof(data); |
size | 1141 | drivers/net/sdla.c | if (sdla_cmd(dev, SDLA_READ_DLCI_CONFIGURATION, 0, 0, NULL, 0, &data, &size) != SDLA_RET_OK) |
size | 330 | drivers/net/sk_g16.c | #define check_region(ioaddr, size) 0 |
size | 331 | drivers/net/sk_g16.c | #define request_region(ioaddr, size,name) do ; while (0) |
size | 171 | drivers/net/tulip.c | #define ROUND_UP(size, n) ((size + n - 1) & ~(n - 1)) |
size | 2120 | drivers/net/wavelan.c | int size; |
size | 2127 | drivers/net/wavelan.c | size = sprintf(buffer, "%s", "Iface | dce +nwid -nwid lvl slnc qual ntxq nrst\n"); |
size | 2129 | drivers/net/wavelan.c | pos += size; |
size | 2130 | drivers/net/wavelan.c | len += size; |
size | 2141 | drivers/net/wavelan.c | size = sprintf_stats(buffer + len, lp->dev); |
size | 2143 | drivers/net/wavelan.c | len += size; |
size | 576 | drivers/pci/pci.c | static int sprint_dev_config(struct pci_dev *dev, char *buf, int size) |
size | 596 | drivers/pci/pci.c | if (len + 80 > size) { |
size | 602 | drivers/pci/pci.c | if (len + 80 > size) { |
size | 621 | drivers/pci/pci.c | if (len + strlen(str) > size) { |
size | 628 | drivers/pci/pci.c | if (len + strlen(fast_b2b_capable) > size) { |
size | 637 | drivers/pci/pci.c | if (len + strlen(BIST_capable) > size) { |
size | 645 | drivers/pci/pci.c | if (len + 40 > size) { |
size | 652 | drivers/pci/pci.c | if (len + 80 > size) { |
size | 667 | drivers/pci/pci.c | if (len + 40 > size) { |
size | 719 | drivers/pci/pci.c | int nprinted, len, size; |
size | 724 | drivers/pci/pci.c | size = PAGE_SIZE - (strlen(MSG) + 1); |
size | 728 | drivers/pci/pci.c | nprinted = sprint_dev_config(dev, buf + len, size - len); |
size | 742 | drivers/pci/pci.c | static void *pci_malloc(long size, unsigned long *mem_startp) |
size | 747 | drivers/pci/pci.c | printk("...pci_malloc(size=%ld,mem=%p)", size, *mem_startp); |
size | 750 | drivers/pci/pci.c | *mem_startp += (size + sizeof(void*) - 1) & ~(sizeof(void*) - 1); |
size | 751 | drivers/pci/pci.c | memset(mem, 0, size); |
size | 267 | drivers/scsi/53c7,8xx.c | static int check_address (unsigned long addr, int size); |
size | 1191 | drivers/scsi/53c7,8xx.c | int script_len = 0, dsa_len = 0, size = 0, max_cmd_size = 0, |
size | 1261 | drivers/scsi/53c7,8xx.c | size = sizeof(struct NCR53c7x0_hostdata) + script_len + |
size | 1270 | drivers/scsi/53c7,8xx.c | instance = scsi_register (tpnt, size); |
size | 1280 | drivers/scsi/53c7,8xx.c | hostdata->size = size; |
size | 1340 | drivers/scsi/53c7,8xx.c | hostdata->free->size = max_cmd_size; |
size | 2895 | drivers/scsi/53c7,8xx.c | int size; |
size | 2899 | drivers/scsi/53c7,8xx.c | size = print_insn (host, (u32 *) |
size | 2901 | drivers/scsi/53c7,8xx.c | size = print_insn (host, (u32 *) |
size | 2902 | drivers/scsi/53c7,8xx.c | bus_to_virt(cmd->saved_data_pointer) + size, "", 1); |
size | 2936 | drivers/scsi/53c7,8xx.c | int size; |
size | 2944 | drivers/scsi/53c7,8xx.c | size = print_insn (host, (u32 *) bus_to_virt(dsp[1]), "", 1); |
size | 2945 | drivers/scsi/53c7,8xx.c | print_insn (host, (u32 *) bus_to_virt(dsp[1]) + size, "", 1); |
size | 3413 | drivers/scsi/53c7,8xx.c | int size; /* Size of *tmp */ |
size | 3446 | drivers/scsi/53c7,8xx.c | size = hostdata->max_cmd_size + sizeof (void *); |
size | 3448 | drivers/scsi/53c7,8xx.c | real = kmalloc (size, GFP_ATOMIC); |
size | 3452 | drivers/scsi/53c7,8xx.c | host->host_no, size); |
size | 3457 | drivers/scsi/53c7,8xx.c | tmp->size = size; |
size | 5347 | drivers/scsi/53c7,8xx.c | int size; |
size | 5362 | drivers/scsi/53c7,8xx.c | size = 0; |
size | 5377 | drivers/scsi/53c7,8xx.c | size = 3; |
size | 5380 | drivers/scsi/53c7,8xx.c | size = 2; |
size | 5392 | drivers/scsi/53c7,8xx.c | return size; |
size | 5774 | drivers/scsi/53c7,8xx.c | int size; |
size | 5778 | drivers/scsi/53c7,8xx.c | size = print_insn (cmd->host, |
size | 5781 | drivers/scsi/53c7,8xx.c | bus_to_virt(ncmd->saved_data_pointer) + size * sizeof(u32), |
size | 5952 | drivers/scsi/53c7,8xx.c | int i, size; |
size | 5987 | drivers/scsi/53c7,8xx.c | for (i = 6; i > 0; --i, dsp += size) |
size | 5988 | drivers/scsi/53c7,8xx.c | size = print_insn (host, dsp, "", 1); |
size | 6345 | drivers/scsi/53c7,8xx.c | check_address (unsigned long addr, int size) { |
size | 6346 | drivers/scsi/53c7,8xx.c | return (MAP_NR(addr) < 1 || MAP_NR(addr + size) > MAP_NR(high_memory) ? |
size | 6381 | drivers/scsi/53c7,8xx.c | cmd->free ((void *) cmd->real, cmd->size); |
size | 1091 | drivers/scsi/53c7,8xx.h | int size; /* scsi_malloc'd size of this |
size | 1204 | drivers/scsi/53c7,8xx.h | int size; /* Size of entire Scsi_Host |
size | 749 | drivers/scsi/NCR53c406a.c | int size; |
size | 753 | drivers/scsi/NCR53c406a.c | size = disk->capacity; |
size | 756 | drivers/scsi/NCR53c406a.c | info_array[2] = size>>11; /* cylinders */ |
size | 760 | drivers/scsi/NCR53c406a.c | info_array[2] = size / (255*63); |
size | 1208 | drivers/scsi/aha152x.c | int size = disk->capacity; |
size | 1212 | drivers/scsi/aha152x.c | printk("aha152x_biosparam: dev=%s, size=%d, ", kdevname(dev), size); |
size | 1219 | drivers/scsi/aha152x.c | info_array[2]=size>>11; |
size | 1298 | drivers/scsi/aha1542.c | int size = disk->capacity; |
size | 1302 | drivers/scsi/aha1542.c | if((size>>11) > 1024 && translation_algorithm == 2) { |
size | 1306 | drivers/scsi/aha1542.c | ip[2] = size /255/63; |
size | 1310 | drivers/scsi/aha1542.c | ip[2] = size >> 11; |
size | 510 | drivers/scsi/aha1740.c | int size = disk->capacity; |
size | 514 | drivers/scsi/aha1740.c | ip[2] = size >> 11; |
size | 82 | drivers/scsi/aic7xxx_asm.c | Malloc(size_t size) |
size | 84 | drivers/scsi/aic7xxx_asm.c | void *p = malloc(size); |
size | 91 | drivers/scsi/aic7xxx_asm.c | Realloc(void *ptr, size_t size) |
size | 93 | drivers/scsi/aic7xxx_asm.c | void *p = realloc(ptr, size); |
size | 30 | drivers/scsi/aic7xxx_proc.c | #define BLS buffer + len + size |
size | 81 | drivers/scsi/aic7xxx_proc.c | int size = 0; |
size | 112 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, "Can't find adapter for host number %d\n", hostno); |
size | 113 | drivers/scsi/aic7xxx_proc.c | len += size; pos = begin + len; size = 0; |
size | 129 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, "Adaptec AIC7xxx driver version: "); |
size | 130 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, "%s/", rcs_version(AIC7XXX_C_VERSION)); |
size | 131 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, "%s/", rcs_version(AIC7XXX_H_VERSION)); |
size | 132 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, "%s\n", rcs_version(AIC7XXX_SEQ_VER)); |
size | 133 | drivers/scsi/aic7xxx_proc.c | len += size; pos = begin + len; size = 0; |
size | 135 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, "\n"); |
size | 136 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, "Compile Options:\n"); |
size | 138 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, " AIC7XXX_RESET_DELAY : %d\n", AIC7XXX_RESET_DELAY); |
size | 141 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, " AIC7XXX_TWIN_SUPPORT : Enabled\n"); |
size | 143 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, " AIC7XXX_TWIN_SUPPORT : Disabled\n"); |
size | 146 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, " AIC7XXX_TAGGED_QUEUEING: Enabled\n"); |
size | 148 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, " AIC7XXX_TAGGED_QUEUEING: Disabled\n"); |
size | 151 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, " AIC7XXX_SHARE_IRQS : Enabled\n"); |
size | 153 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, " AIC7XXX_SHARE_IRQS : Disabled\n"); |
size | 156 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, " AIC7XXX_PROC_STATS : Enabled\n"); |
size | 158 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, " AIC7XXX_PROC_STATS : Disabled\n"); |
size | 160 | drivers/scsi/aic7xxx_proc.c | len += size; pos = begin + len; size = 0; |
size | 162 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, "\n"); |
size | 163 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, "Adapter Configuration:\n"); |
size | 164 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, " SCSI Adapter: %s\n", board_names[p->type]); |
size | 165 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, " Host Bus: %s\n", bus_name[p->bus_type]); |
size | 166 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, " Base IO: %#.4x\n", p->base); |
size | 167 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, " IRQ: %d\n", HBAptr->irq); |
size | 168 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, " SCB: %d (%d)\n", p->numscb, p->maxscb); |
size | 169 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, " Interrupts: %d", p->isr_count); |
size | 172 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, " %s\n", |
size | 177 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, "\n"); |
size | 179 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, " Serial EEPROM: %s\n", |
size | 181 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, " Pause/Unpause: %#.2x/%#.2x\n", p->pause, |
size | 183 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, " Extended Translation: %sabled\n", |
size | 185 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, " SCSI Bus Reset: %sabled\n", |
size | 187 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, " Ultra SCSI: %sabled\n", |
size | 189 | drivers/scsi/aic7xxx_proc.c | len += size; pos = begin + len; size = 0; |
size | 199 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, "\n"); |
size | 200 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, "Statistics:\n"); |
size | 212 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, "CHAN#%c (TGT %d LUN %d):\n", |
size | 214 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, "nxfers %ld (%ld read;%ld written)\n", |
size | 216 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, "blks(512) rd=%ld; blks(512) wr=%ld\n", |
size | 218 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, "%s\n", HDRB); |
size | 219 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, " Reads:"); |
size | 220 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, "%6ld %6ld %6ld %6ld ", sp->r_bins[0], |
size | 222 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, "%6ld %6ld %6ld %6ld ", sp->r_bins[4], |
size | 224 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, "%6ld %6ld\n", sp->r_bins[8], |
size | 226 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, "Writes:"); |
size | 227 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, "%6ld %6ld %6ld %6ld ", sp->w_bins[0], |
size | 229 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, "%6ld %6ld %6ld %6ld ", sp->w_bins[4], |
size | 231 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, "%6ld %6ld\n", sp->w_bins[8], |
size | 233 | drivers/scsi/aic7xxx_proc.c | size += sprintf(BLS, "\n"); |
size | 237 | drivers/scsi/aic7xxx_proc.c | len += size; pos = begin + len; size = 0; |
size | 849 | drivers/scsi/eata_dma.c | ulong size = 0; |
size | 946 | drivers/scsi/eata_dma.c | size = sizeof(hostdata) + ((sizeof(struct eata_ccb) + sizeof(long)) |
size | 949 | drivers/scsi/eata_dma.c | DBG(DBG_REGISTER, printk("scsi_register size: %ld\n", size)); |
size | 951 | drivers/scsi/eata_dma.c | sh = scsi_register(tpnt, size); |
size | 90 | drivers/scsi/eata_dma_proc.c | int size, len = 0; |
size | 120 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len, "EATA (Extended Attachment) driver version: " |
size | 122 | drivers/scsi/eata_dma_proc.c | len += size; pos = begin + len; |
size | 123 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "queued commands: %10ld\n" |
size | 125 | drivers/scsi/eata_dma_proc.c | len += size; pos = begin + len; |
size | 127 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "\nscsi%-2d: HBA %.10s\n", |
size | 129 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 131 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Firmware revision: v%s\n", |
size | 133 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 135 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Hardware Configuration:\n"); |
size | 136 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 141 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "DMA: BUSMASTER\n"); |
size | 143 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "DMA: %d\n", HBA_ptr->dma_channel); |
size | 144 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 147 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Base IO : %#.4x\n", (u32) HBA_ptr->base); |
size | 148 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 151 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Host Bus: EISA\n"); |
size | 152 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 196 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "IRQ: %2d, %s triggered\n", cc->interrupt, |
size | 198 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 201 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "DMA: BUSMASTER\n"); |
size | 203 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "DMA: %d\n", HBA_ptr->dma_channel); |
size | 204 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 206 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "CPU: MC680%02d %dMHz\n", bt->cpu_type, |
size | 208 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 210 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Base IO : %#.4x\n", (u32) HBA_ptr->base); |
size | 211 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 213 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Host Bus: %s\n", |
size | 217 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 219 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "SCSI Bus:%s%s Speed: %sMB/sec. %s\n", |
size | 224 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 226 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "SCSI channel expansion Module: %s present\n", |
size | 229 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 231 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "SmartRAID hardware: %spresent.\n", |
size | 233 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 235 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Type: %s\n", |
size | 241 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 244 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Max array groups: %d\n", |
size | 246 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 248 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Max drives per RAID 0 array: %d\n", |
size | 250 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 252 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Max drives per RAID 3/5 array: %d\n", |
size | 254 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 256 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Cache Module: %spresent.\n", |
size | 258 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 260 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Type: %s\n", |
size | 266 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 269 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Bank%d: %dMB with%s ECC\n",x, |
size | 272 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 275 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Timer Mod.: %spresent\n", |
size | 277 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 279 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "NVRAM : %spresent\n", |
size | 281 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 283 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "SmartROM : %sabled\n", |
size | 285 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 287 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Alarm : %s\n", |
size | 289 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 334 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Host<->Disk command statistics:\n" |
size | 336 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 339 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"%5dk:%12u %12u\n", 1 << x, |
size | 342 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 345 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,">1024k:%12u %12u\n", |
size | 348 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 350 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"Sum :%12u %12u\n", |
size | 353 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 365 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Host Latency Command Statistics:\n" |
size | 368 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 371 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"%5dk:%12u %12u %12u %12u\n", |
size | 380 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 383 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,">1024k:%12u %12u %12u %12u\n", |
size | 391 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 401 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, |
size | 403 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 406 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"%5dk:%12u %12u %12u %12u\n", |
size | 415 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 418 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,">1024k:%12u %12u %12u %12u\n", |
size | 426 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 440 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none"); |
size | 441 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 446 | drivers/scsi/eata_dma_proc.c | proc_print_scsidevice(scd, buffer, &size, len); |
size | 447 | drivers/scsi/eata_dma_proc.c | len += size; |
size | 678 | drivers/scsi/eata_pio.c | ulong size = 0; |
size | 729 | drivers/scsi/eata_pio.c | size = sizeof(hostdata) + (sizeof(struct eata_ccb) * ntohs(gc->queuesiz)); |
size | 731 | drivers/scsi/eata_pio.c | sh = scsi_register(tpnt, size); |
size | 48 | drivers/scsi/eata_pio_proc.c | int size, len = 0; |
size | 65 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer+len, "EATA (Extended Attachment) PIO driver version: " |
size | 67 | drivers/scsi/eata_pio_proc.c | len += size; pos = begin + len; |
size | 68 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer + len, "queued commands: %10ld\n" |
size | 70 | drivers/scsi/eata_pio_proc.c | len += size; pos = begin + len; |
size | 72 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer + len, "\nscsi%-2d: HBA %.10s\n", |
size | 74 | drivers/scsi/eata_pio_proc.c | len += size; |
size | 76 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer + len, "Firmware revision: v%s\n", |
size | 78 | drivers/scsi/eata_pio_proc.c | len += size; |
size | 80 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer + len, "IO: PIO\n"); |
size | 81 | drivers/scsi/eata_pio_proc.c | len += size; |
size | 83 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer + len, "Base IO : %#.4x\n", (u32) HBA_ptr->base); |
size | 84 | drivers/scsi/eata_pio_proc.c | len += size; |
size | 86 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer + len, "Host Bus: %s\n", |
size | 90 | drivers/scsi/eata_pio_proc.c | len += size; |
size | 102 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none"); |
size | 103 | drivers/scsi/eata_pio_proc.c | len += size; |
size | 108 | drivers/scsi/eata_pio_proc.c | proc_print_scsidevice(scd, buffer, &size, len); |
size | 109 | drivers/scsi/eata_pio_proc.c | len += size; |
size | 1099 | drivers/scsi/fdomain.c | unsigned long blocks, size, capacity; |
size | 1103 | drivers/scsi/fdomain.c | size = (buf[4] << 24) | (buf[5] << 16) | (buf[6] << 8) | buf[7]; |
size | 1104 | drivers/scsi/fdomain.c | capacity = +( +(blocks / 1024L) * +(size * 10L)) / 1024L; |
size | 1107 | drivers/scsi/fdomain.c | ((capacity + 5L) / 10L), size ); |
size | 1922 | drivers/scsi/fdomain.c | int size = disk->capacity; |
size | 2055 | drivers/scsi/fdomain.c | if ((unsigned int)size >= 0x7e0000U) { |
size | 2058 | drivers/scsi/fdomain.c | } else if ((unsigned int)size >= 0x200000U) { |
size | 2067 | drivers/scsi/fdomain.c | info_array[2] = (unsigned int)size / (info_array[0] * info_array[1] ); |
size | 282 | drivers/scsi/g_NCR5380.c | int size = disk->capacity; |
size | 285 | drivers/scsi/g_NCR5380.c | ip[2] = size >> 11; |
size | 330 | drivers/scsi/hosts.h | extern void * scsi_init_malloc(unsigned int size, int priority); |
size | 331 | drivers/scsi/hosts.h | extern void scsi_init_free(char * ptr, unsigned int size); |
size | 426 | drivers/scsi/in2000.c | int timeout, size, loop; |
size | 458 | drivers/scsi/in2000.c | size = SCpnt->cmd_len; /* CDB length */ |
size | 519 | drivers/scsi/in2000.c | for ( loop=0; loop < size; loop++ ) |
size | 697 | drivers/scsi/in2000.c | int size = disk->capacity; |
size | 701 | drivers/scsi/in2000.c | iinfo[2] = size >> 11; |
size | 461 | drivers/scsi/pas16.c | int size = disk->capacity; |
size | 464 | drivers/scsi/pas16.c | ip[2] = size >> 11; /* I think I have it as /(32*64) */ |
size | 468 | drivers/scsi/pas16.c | ip[2]=size/(63*255); |
size | 2281 | drivers/scsi/scsi.c | void * scsi_init_malloc(unsigned int size, int priority) |
size | 2289 | drivers/scsi/scsi.c | if ((size % PAGE_SIZE) == 0) { |
size | 2292 | drivers/scsi/scsi.c | a_size < size; order++, a_size <<= 1) |
size | 2297 | drivers/scsi/scsi.c | retval = kmalloc(size, priority); |
size | 2300 | drivers/scsi/scsi.c | memset(retval, 0, size); |
size | 2305 | drivers/scsi/scsi.c | void scsi_init_free(char * ptr, unsigned int size) |
size | 2312 | drivers/scsi/scsi.c | if ((size % PAGE_SIZE) == 0) { |
size | 2316 | drivers/scsi/scsi.c | a_size < size; order++, a_size <<= 1) |
size | 2486 | drivers/scsi/scsi.c | int i,size, len = 0; |
size | 2494 | drivers/scsi/scsi.c | size = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none"); |
size | 2495 | drivers/scsi/scsi.c | len += size; |
size | 2499 | drivers/scsi/scsi.c | size += sprintf(buffer+len,"scsi%2d: %s\n", (int) HBA_ptr->host_no, |
size | 2501 | drivers/scsi/scsi.c | len += size; |
size | 2507 | drivers/scsi/scsi.c | proc_print_scsidevice(scd, buffer, &size, len); |
size | 2508 | drivers/scsi/scsi.c | len += size; |
size | 2583 | drivers/scsi/scsi.c | unsigned long size; |
size | 2658 | drivers/scsi/scsi.c | size = (new_dma_sectors / SECTORS_PER_PAGE)*sizeof(FreeSectorBitmap); |
size | 2659 | drivers/scsi/scsi.c | new_dma_malloc_freelist = (FreeSectorBitmap *) scsi_init_malloc(size, GFP_ATOMIC); |
size | 2660 | drivers/scsi/scsi.c | memset(new_dma_malloc_freelist, 0, size); |
size | 2662 | drivers/scsi/scsi.c | size = (new_dma_sectors / SECTORS_PER_PAGE)*sizeof(*new_dma_malloc_pages); |
size | 2663 | drivers/scsi/scsi.c | new_dma_malloc_pages = (unsigned char **) scsi_init_malloc(size, GFP_ATOMIC); |
size | 2664 | drivers/scsi/scsi.c | memset(new_dma_malloc_pages, 0, size); |
size | 2683 | drivers/scsi/scsi.c | size = (dma_sectors / SECTORS_PER_PAGE)*sizeof(FreeSectorBitmap); |
size | 2684 | drivers/scsi/scsi.c | memcpy(new_dma_malloc_freelist, dma_malloc_freelist, size); |
size | 2685 | drivers/scsi/scsi.c | scsi_init_free((char *) dma_malloc_freelist, size); |
size | 2691 | drivers/scsi/scsi.c | size = (dma_sectors / SECTORS_PER_PAGE)*sizeof(*dma_malloc_pages); |
size | 2692 | drivers/scsi/scsi.c | memcpy(new_dma_malloc_pages, dma_malloc_pages, size); |
size | 2693 | drivers/scsi/scsi.c | scsi_init_free((char *) dma_malloc_pages, size); |
size | 3176 | drivers/scsi/scsi.c | unsigned long size; |
size | 3202 | drivers/scsi/scsi.c | size = (dma_sectors / SECTORS_PER_PAGE)*sizeof(FreeSectorBitmap); |
size | 3203 | drivers/scsi/scsi.c | dma_malloc_freelist = (unsigned char *) scsi_init_malloc(size, GFP_ATOMIC); |
size | 3204 | drivers/scsi/scsi.c | memset(dma_malloc_freelist, 0, size); |
size | 589 | drivers/scsi/scsi_debug.c | int size = disk->capacity; |
size | 592 | drivers/scsi/scsi_debug.c | info[2] = (size + 2047) >> 11; |
size | 257 | drivers/scsi/scsi_proc.c | void proc_print_scsidevice(Scsi_Device *scd, char *buffer, int *size, int len) |
size | 259 | drivers/scsi/scsi_proc.c | int x, y = *size; |
size | 296 | drivers/scsi/scsi_proc.c | *size = y; |
size | 51 | drivers/scsi/scsicam.c | int size = disk->capacity; |
size | 59 | drivers/scsi/scsicam.c | ret_code = partsize (bh, (unsigned long) size, (unsigned int *) ip + 2, |
size | 67 | drivers/scsi/scsicam.c | ret_code = setsize ((unsigned long) size, (unsigned int *) ip + 2, |
size | 64 | drivers/scsi/sg.c | static void sg_free(char *buff,int size); |
size | 161 | drivers/scsi/sg.c | static char *sg_malloc(int size) |
size | 163 | drivers/scsi/sg.c | if (size<=4096) |
size | 164 | drivers/scsi/sg.c | return (char *) scsi_malloc(size); |
size | 166 | drivers/scsi/sg.c | if (size<=SG_BIG_BUFF) |
size | 181 | drivers/scsi/sg.c | static void sg_free(char *buff,int size) |
size | 191 | drivers/scsi/sg.c | scsi_free(buff,size); |
size | 297 | drivers/scsi/sg.c | int bsize,size,amt,i; |
size | 346 | drivers/scsi/sg.c | size=COMMAND_SIZE(opcode); |
size | 347 | drivers/scsi/sg.c | if (opcode >= 0xc0 && device->header.twelve_byte) size = 12; |
size | 352 | drivers/scsi/sg.c | input_size = device->header.pack_len - size; |
size | 419 | drivers/scsi/sg.c | SCpnt->cmd_len = size; |
size | 424 | drivers/scsi/sg.c | memcpy_fromfs(cmnd,buf,size); |
size | 425 | drivers/scsi/sg.c | buf+=size; |
size | 302 | drivers/scsi/t128.c | int size = disk->capacity; |
size | 305 | drivers/scsi/t128.c | ip[2] = size >> 11; |
size | 833 | drivers/scsi/u14-34f.c | int size = disk->capacity; |
size | 837 | drivers/scsi/u14-34f.c | dkinfo[2] = size / (HD(j)->heads * HD(j)->sectors); |
size | 1015 | drivers/scsi/ultrastor.c | int size = disk->capacity; |
size | 1020 | drivers/scsi/ultrastor.c | dkinfo[2] = size / s; /* Ignore partial cylinders */ |
size | 1224 | drivers/scsi/wd7000.c | int size = disk->capacity; |
size | 1227 | drivers/scsi/wd7000.c | ip[2] = size >> 11; |
size | 1024 | drivers/sound/dmabuf.c | DMAbuf_getwrbuffer (int dev, char **buf, int *size, int dontblock) |
size | 1133 | drivers/sound/dmabuf.c | *size = dmap->fragment_size; |
size | 1737 | drivers/sound/dmabuf.c | DMAbuf_getwrbuffer (int dev, char **buf, int *size, int dontblock) |
size | 240 | drivers/sound/pss.c | pss_download_boot (pss_config * devc, unsigned char *block, int size, int flags) |
size | 275 | drivers/sound/pss.c | if (count >= size && flags & CPF_LAST) |
size | 280 | drivers/sound/pss.c | count, size); |
size | 7 | drivers/sound/sound_calls.h | int DMAbuf_getwrbuffer(int dev, char **buf, int *size, int dontblock); |
size | 237 | drivers/sound/soundcard.c | unsigned long size; |
size | 297 | drivers/sound/soundcard.c | size = vma_get_end (vma) - vma_get_start (vma); |
size | 299 | drivers/sound/soundcard.c | if (size != dmap->bytes_in_use) |
size | 302 | drivers/sound/soundcard.c | size, dmap->bytes_in_use); |
size | 648 | drivers/sound/soundcard.c | int sz, size; |
size | 650 | drivers/sound/soundcard.c | for (sz = 0, size = PAGE_SIZE; |
size | 651 | drivers/sound/soundcard.c | size < audio_devs[dev]->buffsize; |
size | 652 | drivers/sound/soundcard.c | sz++, size <<= 1); |
size | 708 | drivers/sound/soundcard.c | int sz, size, i; |
size | 711 | drivers/sound/soundcard.c | for (sz = 0, size = PAGE_SIZE; |
size | 712 | drivers/sound/soundcard.c | size < audio_devs[dev]->buffsize; |
size | 713 | drivers/sound/soundcard.c | sz++, size <<= 1); |
size | 438 | drivers/sound/sscape.c | sscape_download_boot (struct sscape_info *devc, unsigned char *block, int size, int flag) |
size | 484 | drivers/sound/sscape.c | memcpy (audio_devs[devc->my_audiodev]->dmap_out->raw_buf, block, size); |
size | 491 | drivers/sound/sscape.c | size, DMA_MODE_WRITE); |
size | 944 | fs/binfmt_elf.c | size_t size; |
size | 965 | fs/binfmt_elf.c | size = 0; |
size | 972 | fs/binfmt_elf.c | if (size+sz > limit) |
size | 976 | fs/binfmt_elf.c | size += sz; |
size | 979 | fs/binfmt_elf.c | printk("elf_core_dump: %d segs taking %d bytes\n", segs, size); |
size | 33 | fs/block_dev.c | unsigned int size; |
size | 60 | fs/block_dev.c | size = ((loff_t) blk_size[MAJOR(dev)][MINOR(dev)] << BLOCK_SIZE_BITS) >> blocksize_bits; |
size | 62 | fs/block_dev.c | size = INT_MAX; |
size | 64 | fs/block_dev.c | if (block >= size) |
size | 91 | fs/block_dev.c | if (block + blocks > size) blocks = size - block; |
size | 174 | fs/block_dev.c | loff_t size; |
size | 192 | fs/block_dev.c | size = (loff_t) blk_size[MAJOR(dev)][MINOR(dev)] << BLOCK_SIZE_BITS; |
size | 194 | fs/block_dev.c | size = INT_MAX; |
size | 198 | fs/block_dev.c | if (offset > size) |
size | 201 | fs/block_dev.c | else if (size - offset > INT_MAX) |
size | 204 | fs/block_dev.c | left = size - offset; |
size | 212 | fs/block_dev.c | size >>= blocksize_bits; |
size | 225 | fs/block_dev.c | if (block + blocks > size) |
size | 226 | fs/block_dev.c | blocks = size - block; |
size | 46 | fs/buffer.c | static int grow_buffers(int pri, int size); |
size | 47 | fs/buffer.c | static int shrink_specific_buffers(unsigned int priority, int size); |
size | 463 | fs/buffer.c | static inline struct buffer_head * find_buffer(kdev_t dev, int block, int size) |
size | 469 | fs/buffer.c | if (tmp->b_size == size) |
size | 486 | fs/buffer.c | struct buffer_head * get_hash_table(kdev_t dev, int block, int size) |
size | 491 | fs/buffer.c | if (!(bh=find_buffer(dev,block,size))) |
size | 496 | fs/buffer.c | && bh->b_size == size) |
size | 502 | fs/buffer.c | void set_blocksize(kdev_t dev, int size) |
size | 510 | fs/buffer.c | if (size > PAGE_SIZE) |
size | 511 | fs/buffer.c | size = 0; |
size | 513 | fs/buffer.c | switch (size) { |
size | 518 | fs/buffer.c | if (blksize_size[MAJOR(dev)][MINOR(dev)] == 0 && size == BLOCK_SIZE) { |
size | 519 | fs/buffer.c | blksize_size[MAJOR(dev)][MINOR(dev)] = size; |
size | 522 | fs/buffer.c | if (blksize_size[MAJOR(dev)][MINOR(dev)] == size) |
size | 525 | fs/buffer.c | blksize_size[MAJOR(dev)][MINOR(dev)] = size; |
size | 537 | fs/buffer.c | if (bh->b_size == size) |
size | 541 | fs/buffer.c | if (bh->b_dev == dev && bh->b_size != size) { |
size | 554 | fs/buffer.c | void refill_freelist(int size) |
size | 559 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 576 | fs/buffer.c | needed =bdf_prm.b_un.nrefill * size; |
size | 579 | fs/buffer.c | grow_buffers(GFP_BUFFER, size)) { |
size | 588 | fs/buffer.c | while(maybe_shrink_lav_buffers(size)) |
size | 590 | fs/buffer.c | if(!grow_buffers(GFP_BUFFER, size)) break; |
size | 622 | fs/buffer.c | if (bh->b_count || buffer_protected(bh) || bh->b_size != size) |
size | 662 | fs/buffer.c | if (bh->b_count || bh->b_size != size) |
size | 696 | fs/buffer.c | if (bh->b_count || buffer_protected(bh) || bh->b_size != size) |
size | 725 | fs/buffer.c | if (grow_buffers(GFP_BUFFER, size)) { |
size | 732 | fs/buffer.c | if (!grow_buffers(GFP_ATOMIC, size)) |
size | 748 | fs/buffer.c | struct buffer_head * getblk(kdev_t dev, int block, int size) |
size | 751 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 760 | fs/buffer.c | bh = get_hash_table(dev, block, size); |
size | 771 | fs/buffer.c | while(!free_list[isize]) refill_freelist(size); |
size | 773 | fs/buffer.c | if (find_buffer(dev,block,size)) |
size | 879 | fs/buffer.c | struct buffer_head * bread(kdev_t dev, int block, int size) |
size | 883 | fs/buffer.c | if (!(bh = getblk(dev, block, size))) { |
size | 1060 | fs/buffer.c | static struct buffer_head * create_buffers(unsigned long page, unsigned long size) |
size | 1067 | fs/buffer.c | while ((offset -= size) < PAGE_SIZE) { |
size | 1074 | fs/buffer.c | bh->b_size = size; |
size | 1091 | fs/buffer.c | int brw_page(int rw, unsigned long address, kdev_t dev, int b[], int size, int bmap) |
size | 1099 | fs/buffer.c | bh = create_buffers(address, size); |
size | 1122 | fs/buffer.c | memset(next->b_data, 0, size); |
size | 1126 | fs/buffer.c | tmp = get_hash_table(dev, block, size); |
size | 1134 | fs/buffer.c | memcpy(next->b_data, tmp->b_data, size); |
size | 1136 | fs/buffer.c | memcpy(tmp->b_data, next->b_data, size); |
size | 1287 | fs/buffer.c | static int grow_buffers(int pri, int size) |
size | 1294 | fs/buffer.c | if ((size & 511) || (size > PAGE_SIZE)) { |
size | 1295 | fs/buffer.c | printk("VFS: grow_buffers: size = %d\n",size); |
size | 1299 | fs/buffer.c | isize = BUFSIZE_INDEX(size); |
size | 1303 | fs/buffer.c | bh = create_buffers(page, size); |
size | 1428 | fs/buffer.c | static int maybe_shrink_lav_buffers(int size) |
size | 1451 | fs/buffer.c | isize = (size ? BUFSIZE_INDEX(size) : -1); |
size | 1478 | fs/buffer.c | static int shrink_specific_buffers(unsigned int priority, int size) |
size | 1485 | fs/buffer.c | if(size) printk("Shrinking buffers of size %d\n", size); |
size | 1489 | fs/buffer.c | isize1 = (size ? BUFSIZE_INDEX(size) : -1); |
size | 1529 | fs/buffer.c | if(size && bh->b_size != size) continue; |
size | 1666 | fs/buffer.c | unsigned int starting_block, int size) |
size | 1669 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 1676 | fs/buffer.c | while(nr_free[isize] < 32) refill_freelist(size); |
size | 1692 | fs/buffer.c | static unsigned long try_to_generate_cluster(kdev_t dev, int block, int size) |
size | 1695 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 1703 | fs/buffer.c | bh = create_buffers(page, size); |
size | 1709 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
size | 1710 | fs/buffer.c | if (find_buffer(dev, nblock++, size)) |
size | 1746 | fs/buffer.c | unsigned long generate_cluster(kdev_t dev, int b[], int size) |
size | 1750 | fs/buffer.c | for (i = 0, offset = 0 ; offset < PAGE_SIZE ; i++, offset += size) { |
size | 1752 | fs/buffer.c | if(find_buffer(dev, b[i], size)) return 0; |
size | 1759 | fs/buffer.c | if(maybe_shrink_lav_buffers(size)) |
size | 1762 | fs/buffer.c | retval = try_to_generate_cluster(dev, b[0], size); |
size | 1767 | fs/buffer.c | return try_to_generate_cluster(dev, b[0], size); |
size | 1769 | fs/buffer.c | return reassign_cluster(dev, b[0], size); |
size | 83 | fs/ext/file.c | unsigned int size; |
size | 94 | fs/ext/file.c | size = inode->i_size; |
size | 95 | fs/ext/file.c | if (offset > size) |
size | 98 | fs/ext/file.c | left = size - offset; |
size | 106 | fs/ext/file.c | size = (size + (BLOCK_SIZE-1)) >> BLOCK_SIZE_BITS; |
size | 112 | fs/ext/file.c | if (block + blocks > size) |
size | 113 | fs/ext/file.c | blocks = size - block; |
size | 217 | fs/fat/file.c | int size,offset; |
size | 237 | fs/fat/file.c | size = MIN(SECTOR_SIZE-offset,left_in_file); |
size | 239 | fs/fat/file.c | size = MIN(size,end-buf); |
size | 240 | fs/fat/file.c | memcpy_tofs(buf,data,size); |
size | 241 | fs/fat/file.c | buf += size; |
size | 242 | fs/fat/file.c | filp->f_pos += size; |
size | 244 | fs/fat/file.c | for (; size && buf < end; size--) { |
size | 275 | fs/fat/file.c | int sector,offset,size,left,written; |
size | 300 | fs/fat/file.c | for (start = buf; count || carry; count -= size) { |
size | 308 | fs/fat/file.c | size = MIN(SECTOR_SIZE-offset,MAX(carry,count)); |
size | 311 | fs/fat/file.c | && (size == SECTOR_SIZE |
size | 312 | fs/fat/file.c | || filp->f_pos + size >= inode->i_size)){ |
size | 325 | fs/fat/file.c | memcpy_fromfs(bh->b_data+offset,buf,written = size); |
size | 326 | fs/fat/file.c | buf += size; |
size | 336 | fs/fat/file.c | for (size = 0; size < count && left; size++) { |
size | 437 | fs/fat/inode.c | inode->i_size = CF_LE_L(raw_entry->size); |
size | 477 | fs/fat/inode.c | raw_entry->size = 0; |
size | 481 | fs/fat/inode.c | raw_entry->size = CT_LE_L(inode->i_size); |
size | 520 | fs/isofs/inode.c | inode->i_size = isonum_733 (raw_inode->size); |
size | 708 | fs/isofs/inode.c | directory_size = isonum_733 (de->size); |
size | 808 | fs/isofs/inode.c | void * leak_check_malloc(unsigned int size){ |
size | 811 | fs/isofs/inode.c | tmp = kmalloc(size, GFP_KERNEL); |
size | 815 | fs/isofs/inode.c | void leak_check_free_s(void * obj, int size){ |
size | 817 | fs/isofs/inode.c | return kfree_s(obj, size); |
size | 820 | fs/isofs/inode.c | struct buffer_head * leak_check_bread(int dev, int block, int size){ |
size | 822 | 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 | 83 | fs/minix/dir.c | int size = strnlen(de->name, info->s_namelen); |
size | 84 | fs/minix/dir.c | if (filldir(dirent, de->name, size, filp->f_pos, de->inode) < 0) { |
size | 281 | fs/msdos/namei.c | de->size = 0; |
size | 65 | fs/ncpfs/ioctl.c | || (request.size > |
size | 83 | fs/ncpfs/ioctl.c | server->current_size = request.size; |
size | 84 | fs/ncpfs/ioctl.c | memcpy_fromfs(server->packet, request.data, request.size); |
size | 56 | fs/ncpfs/ncplib_kernel.c | ncp_add_mem(struct ncp_server *server, const void *source, int size) |
size | 59 | fs/ncpfs/ncplib_kernel.c | memcpy(&(server->packet[server->current_size]), source, size); |
size | 60 | fs/ncpfs/ncplib_kernel.c | server->current_size += size; |
size | 65 | fs/ncpfs/ncplib_kernel.c | ncp_add_mem_fromfs(struct ncp_server *server, const char *source, int size) |
size | 68 | fs/ncpfs/ncplib_kernel.c | memcpy_fromfs(&(server->packet[server->current_size]), source, size); |
size | 69 | fs/ncpfs/ncplib_kernel.c | server->current_size += size; |
size | 134 | fs/ncpfs/ncplib_kernel.c | int size, int *target) |
size | 139 | fs/ncpfs/ncplib_kernel.c | ncp_add_word(server, htons(size)); |
size | 147 | fs/ncpfs/ncplib_kernel.c | *target =min(ntohs(ncp_reply_word(server, 0)), size); |
size | 26 | fs/ncpfs/ncplib_kernel.h | ncp_negotiate_buffersize(struct ncp_server *server, int size, |
size | 31 | fs/ncpfs/sock.c | int size, int noblock, unsigned flags, |
size | 38 | fs/ncpfs/sock.c | iov.iov_len = size; |
size | 48 | fs/ncpfs/sock.c | return sock->ops->recvmsg(sock, &msg, size, noblock, flags, addr_len); |
size | 318 | fs/ncpfs/sock.c | do_ncp_rpc_call(struct ncp_server *server, int size) |
size | 391 | fs/ncpfs/sock.c | result = _sendto(sock, (void *) start, size, 0, 0, |
size | 548 | fs/ncpfs/sock.c | ncp_do_request(struct ncp_server *server, int size) |
size | 563 | fs/ncpfs/sock.c | result = do_ncp_rpc_call(server, size); |
size | 272 | fs/nfs/dir.c | if (fattr->size == -1 || fattr->uid == -1 || fattr->gid == -1 |
size | 389 | fs/nfs/dir.c | sattr.uid = sattr.gid = sattr.size = (unsigned) -1; |
size | 425 | fs/nfs/dir.c | sattr.size = rdev; /* get out your barf bag */ |
size | 427 | fs/nfs/dir.c | sattr.size = (unsigned) -1; |
size | 454 | fs/nfs/dir.c | sattr.uid = sattr.gid = sattr.size = (unsigned) -1; |
size | 524 | fs/nfs/dir.c | sattr.uid = sattr.gid = sattr.size = (unsigned) -1; |
size | 622 | fs/nfs/dir.c | if (inode->i_size != fattr->size) |
size | 624 | fs/nfs/dir.c | inode->i_size = fattr->size; |
size | 286 | fs/nfs/inode.c | sattr.size = (unsigned) -1; |
size | 288 | fs/nfs/inode.c | sattr.size = S_ISREG(inode->i_mode) ? attr->ia_size : -1; |
size | 561 | fs/nfs/nfsroot.c | static inline int root_send_udp(struct socket *sock, void *buf, int size) |
size | 571 | fs/nfs/nfsroot.c | iov.iov_len = size; |
size | 576 | fs/nfs/nfsroot.c | result = sock->ops->sendmsg(sock, &msg, size, 0, 0); |
size | 578 | fs/nfs/nfsroot.c | return (result != size); |
size | 585 | fs/nfs/nfsroot.c | static inline int root_recv_udp(struct socket *sock, void *buf, int size) |
size | 595 | fs/nfs/nfsroot.c | iov.iov_len = size; |
size | 601 | fs/nfs/nfsroot.c | result = sock->ops->recvmsg(sock, &msg, size, O_NONBLOCK, 0, &msg.msg_namelen); |
size | 79 | fs/nfs/proc.c | static inline int *nfs_rpc_alloc(int size) |
size | 83 | fs/nfs/proc.c | while (!(i = (int *)kmalloc(size+NFS_SLACK_SPACE,GFP_NFS))) { |
size | 171 | fs/nfs/proc.c | fattr->size = ntohl(*p++); |
size | 191 | fs/nfs/proc.c | *p++ = htonl(sattr->size); |
size | 809 | fs/nfs/proc.c | int size; |
size | 813 | fs/nfs/proc.c | size = server->rsize; |
size | 820 | fs/nfs/proc.c | *p++ = htonl(size); |
size | 42 | fs/nfs/sock.c | nfs_rpc_call(struct nfs_server *server, int *start, int *end, int size) |
size | 46 | fs/nfs/sock.c | size += 1024; /* account for NFS slack space. ugly */ |
size | 57 | fs/nfs/sock.c | req.rq_rvec[0].iov_len = size; |
size | 58 | fs/nfs/sock.c | req.rq_rlen = size; |
size | 32 | fs/pipe.c | int chars = 0, size = 0, read = 0; |
size | 53 | fs/pipe.c | while (count>0 && (size = PIPE_SIZE(*inode))) { |
size | 57 | fs/pipe.c | if (chars > size) |
size | 58 | fs/pipe.c | chars = size; |
size | 365 | fs/proc/array.c | int size = 0, result = 0; |
size | 377 | fs/proc/array.c | result = size; |
size | 378 | fs/proc/array.c | if (size < PAGE_SIZE) |
size | 379 | fs/proc/array.c | buffer[size++] = c; |
size | 728 | fs/proc/array.c | static inline void statm_pte_range(pmd_t * pmd, unsigned long address, unsigned long size, |
size | 743 | fs/proc/array.c | end = address + size; |
size | 766 | fs/proc/array.c | static inline void statm_pmd_range(pgd_t * pgd, unsigned long address, unsigned long size, |
size | 781 | fs/proc/array.c | end = address + size; |
size | 804 | fs/proc/array.c | int size=0, resident=0, share=0, trs=0, lrs=0, drs=0, dt=0; |
size | 819 | fs/proc/array.c | size += total; |
size | 832 | fs/proc/array.c | size, resident, share, trs, lrs, drs, dt); |
size | 85 | fs/proc/inode.c | if (de->size) |
size | 86 | fs/proc/inode.c | inode->i_size = de->size; |
size | 173 | fs/read_write.c | const struct iovec * iov, long count, long size) |
size | 191 | fs/read_write.c | return sock->ops->recvmsg(sock, &msg, size, |
size | 196 | fs/read_write.c | return sock->ops->sendmsg(sock, &msg, size, |
size | 787 | fs/smbfs/dir.c | entry.size = 0; |
size | 99 | fs/smbfs/inode.c | inode->i_size = SMB_INOP(inode)->finfo.size; |
size | 583 | fs/smbfs/proc.c | entry->size = DVAL(buf, smb_vwv4); |
size | 929 | fs/smbfs/proc.c | entry->size = DVAL(p, 5); |
size | 1082 | fs/smbfs/proc.c | finfo->size = DVAL(p,16); |
size | 1097 | fs/smbfs/proc.c | finfo->size = DVAL(p,16); |
size | 1121 | fs/smbfs/proc.c | finfo->size = DVAL(p,0); |
size | 1411 | fs/smbfs/proc.c | entry->size = DVAL(buf, smb_vwv3); |
size | 1435 | fs/smbfs/proc.c | entry->size = DVAL(buf, smb_vwv6); |
size | 1463 | fs/smbfs/proc.c | entry->size = temp_entry.size; |
size | 27 | fs/smbfs/sock.c | static int _recvfrom(struct socket *sock, unsigned char *ubuf, int size, int noblock, unsigned flags, |
size | 34 | fs/smbfs/sock.c | iov.iov_len = size; |
size | 44 | fs/smbfs/sock.c | return sock->ops->recvmsg(sock, &msg, size, noblock, flags, addr_len); |
size | 85 | fs/sysv/file.c | unsigned int size; |
size | 96 | fs/sysv/file.c | size = inode->i_size; |
size | 97 | fs/sysv/file.c | if (offset > size) |
size | 100 | fs/sysv/file.c | left = size - offset; |
size | 108 | fs/sysv/file.c | size = (size + sb->sv_block_size_1) >> sb->sv_block_size_bits; |
size | 113 | fs/sysv/file.c | if (block + blocks > size) |
size | 114 | fs/sysv/file.c | blocks = size - block; |
size | 208 | fs/umsdos/emd.c | int size; /* Current size of buffer */ |
size | 223 | fs/umsdos/emd.c | int mustmove = buf->size - buf->pos; |
size | 236 | fs/umsdos/emd.c | if (ret == 0) buf->size = mustmove + mustread; |
size | 238 | fs/umsdos/emd.c | buf->size = mustmove; |
size | 291 | fs/umsdos/emd.c | buf.size = 0; |
size | 300 | fs/umsdos/emd.c | int file_pos = buf.filp.f_pos - buf.size + buf.pos; |
size | 301 | fs/umsdos/emd.c | if (buf.pos == buf.size){ |
size | 331 | 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 | 886 | fs/vfat/namei.c | de->size = 0; |
size | 1060 | fs/vfat/namei.c | de->size = 0; |
size | 1463 | fs/vfat/namei.c | new_de->size = old_de->size; |
size | 120 | include/asm-alpha/bitops.h | extern inline unsigned long find_next_zero_bit(void * addr, unsigned long size, unsigned long offset) |
size | 126 | include/asm-alpha/bitops.h | if (offset >= size) |
size | 127 | include/asm-alpha/bitops.h | return size; |
size | 128 | include/asm-alpha/bitops.h | size -= result; |
size | 133 | include/asm-alpha/bitops.h | if (size < 64) |
size | 137 | include/asm-alpha/bitops.h | size -= 64; |
size | 140 | include/asm-alpha/bitops.h | while (size & ~63UL) { |
size | 144 | include/asm-alpha/bitops.h | size -= 64; |
size | 146 | include/asm-alpha/bitops.h | if (!size) |
size | 150 | include/asm-alpha/bitops.h | tmp |= ~0UL << size; |
size | 158 | include/asm-alpha/bitops.h | #define find_first_zero_bit(addr, size) \ |
size | 159 | include/asm-alpha/bitops.h | find_next_zero_bit((addr), (size), 0) |
size | 28 | include/asm-alpha/floppy.h | #define fd_cacheflush(addr,size) /* nothing */ |
size | 125 | include/asm-alpha/hwrpb.h | unsigned long size; /* size of hwrpb */ |
size | 39 | include/asm-alpha/ioctl.h | #define _IOC(dir,type,nr,size) \ |
size | 44 | include/asm-alpha/ioctl.h | ((size) << _IOC_SIZESHIFT))) |
size | 48 | include/asm-alpha/ioctl.h | #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) |
size | 49 | include/asm-alpha/ioctl.h | #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) |
size | 50 | include/asm-alpha/ioctl.h | #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) |
size | 32 | include/asm-alpha/segment.h | static inline void __put_user(unsigned long x, void * y, int size) |
size | 35 | include/asm-alpha/segment.h | switch (size) { |
size | 55 | include/asm-alpha/segment.h | static inline unsigned long __get_user(const void * y, int size) |
size | 60 | include/asm-alpha/segment.h | switch (size) { |
size | 39 | include/asm-alpha/system.h | unsigned int size; /* size in bytes of logout area */ |
size | 164 | include/asm-alpha/system.h | static __inline__ unsigned long __xchg(unsigned long x, volatile void * ptr, int size) |
size | 166 | include/asm-alpha/system.h | switch (size) { |
size | 75 | include/asm-i386/bitops.h | extern __inline__ int find_first_zero_bit(void * addr, unsigned size) |
size | 79 | include/asm-i386/bitops.h | if (!size) |
size | 93 | include/asm-i386/bitops.h | :"c" ((size + 31) >> 5), "D" (addr), "b" (addr) |
size | 98 | include/asm-i386/bitops.h | extern __inline__ int find_next_zero_bit (void * addr, int size, int offset) |
size | 121 | include/asm-i386/bitops.h | res = find_first_zero_bit (p, size - 32 * (p - (unsigned long *) addr)); |
size | 26 | include/asm-i386/floppy.h | #define fd_cacheflush(addr,size) /* nothing */ |
size | 49 | include/asm-i386/ioctl.h | #define _IOC(dir,type,nr,size) \ |
size | 53 | include/asm-i386/ioctl.h | ((size) << _IOC_SIZESHIFT)) |
size | 57 | include/asm-i386/ioctl.h | #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) |
size | 58 | include/asm-i386/ioctl.h | #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) |
size | 59 | include/asm-i386/ioctl.h | #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) |
size | 35 | include/asm-i386/segment.h | static inline void __put_user(unsigned long x, void * y, int size) |
size | 37 | include/asm-i386/segment.h | switch (size) { |
size | 58 | include/asm-i386/segment.h | static inline unsigned long __get_user(const void * y, int size) |
size | 62 | include/asm-i386/segment.h | switch (size) { |
size | 679 | include/asm-i386/string-486.h | extern inline void * memscan(void * addr, int c, size_t size) |
size | 681 | include/asm-i386/string-486.h | if (!size) |
size | 688 | include/asm-i386/string-486.h | : "=D" (addr), "=c" (size) |
size | 689 | include/asm-i386/string-486.h | : "0" (addr), "1" (size), "a" (c)); |
size | 596 | include/asm-i386/string.h | extern inline void * memscan(void * addr, int c, size_t size) |
size | 598 | include/asm-i386/string.h | if (!size) |
size | 605 | include/asm-i386/string.h | : "=D" (addr), "=c" (size) |
size | 606 | include/asm-i386/string.h | : "0" (addr), "1" (size), "a" (c)); |
size | 197 | include/asm-i386/system.h | static inline unsigned long __xchg(unsigned long x, void * ptr, int size) |
size | 199 | include/asm-i386/system.h | switch (size) { |
size | 279 | include/asm-i386/system.h | #define set_ldt_desc(n,addr,size) \ |
size | 280 | include/asm-i386/system.h | _set_tssldt_desc(((char *) (n)),((int)(addr)),((size << 3) - 1),"0x82") |
size | 60 | include/asm-m68k/bitops.h | extern inline int find_first_zero_bit(void * vaddr, unsigned size) |
size | 66 | include/asm-m68k/bitops.h | if (!size) |
size | 81 | include/asm-m68k/bitops.h | : "0" ((size + 31) >> 5), "1" (addr) |
size | 86 | include/asm-m68k/bitops.h | static inline int find_next_zero_bit (void *vaddr, int size, |
size | 104 | include/asm-m68k/bitops.h | res = find_first_zero_bit (p, size - 32 * (p - addr)); |
size | 54 | include/asm-mips/asm.h | .size symbol,_size |
size | 57 | include/asm-mips/asm.h | #define SIZE(symbol,size) |
size | 152 | include/asm-mips/bitops.h | extern __inline__ int find_first_zero_bit (void *addr, unsigned size) |
size | 156 | include/asm-mips/bitops.h | if (!size) |
size | 178 | include/asm-mips/bitops.h | "r" (size), |
size | 186 | include/asm-mips/bitops.h | extern __inline__ int find_next_zero_bit (void * addr, int size, int offset) |
size | 217 | include/asm-mips/bitops.h | res = find_first_zero_bit (p, size - 32 * (p - (unsigned long *) addr)); |
size | 208 | include/asm-mips/bootinfo.h | unsigned long size; |
size | 33 | include/asm-mips/floppy.h | #define fd_cacheflush(addr, size) feature->fd_cacheflush((void *)addr, size) |
size | 55 | include/asm-mips/ioctl.h | #define _IOC(dir,type,nr,size) \ |
size | 59 | include/asm-mips/ioctl.h | (((size) & _IOC_SLMASK) << _IOC_SIZESHIFT)) |
size | 63 | include/asm-mips/ioctl.h | #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) |
size | 64 | include/asm-mips/ioctl.h | #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) |
size | 65 | include/asm-mips/ioctl.h | #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) |
size | 13 | include/asm-mips/jazzdma.h | unsigned long vdma_alloc(unsigned long paddr, unsigned long size); |
size | 15 | include/asm-mips/jazzdma.h | int vdma_remap(unsigned long laddr, unsigned long paddr, unsigned long size); |
size | 49 | include/asm-mips/segment.h | static inline void __put_user(unsigned long x, void * y, int size) |
size | 52 | include/asm-mips/segment.h | switch (size) { |
size | 72 | include/asm-mips/segment.h | static inline unsigned long __get_user(const void * y, int size) |
size | 77 | include/asm-mips/segment.h | switch (size) { |
size | 206 | include/asm-mips/string.h | extern __inline__ void * memscan(void * addr, int c, size_t size) |
size | 208 | include/asm-mips/string.h | if (!size) |
size | 220 | include/asm-mips/string.h | : "=r" (addr), "=r" (size) |
size | 221 | include/asm-mips/string.h | : "0" (addr), "1" (size), "r" (c) |
size | 195 | include/asm-mips/system.h | static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) |
size | 197 | include/asm-mips/system.h | switch (size) { |
size | 40 | include/asm-mips/vector.h | void (*fd_cacheflush)(unsigned char *addr, unsigned int size); |
size | 34 | include/asm-ppc/ioctl.h | #define _IOC(dir,type,nr,size) \ |
size | 38 | include/asm-ppc/ioctl.h | ((size) << _IOC_SIZESHIFT)) |
size | 42 | include/asm-ppc/ioctl.h | #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) |
size | 43 | include/asm-ppc/ioctl.h | #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) |
size | 44 | include/asm-ppc/ioctl.h | #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) |
size | 11 | include/asm-ppc/segment.h | static inline void __put_user(unsigned long x, void * y, int size) |
size | 13 | include/asm-ppc/segment.h | switch (size) { |
size | 31 | include/asm-ppc/segment.h | static inline unsigned long __get_user(const void * y, int size) |
size | 33 | include/asm-ppc/segment.h | switch (size) { |
size | 50 | include/asm-ppc/system.h | static inline unsigned long __xchg(unsigned long x, void * ptr, int size) |
size | 52 | include/asm-ppc/system.h | switch (size) { |
size | 90 | include/asm-sparc/bitops.h | extern __inline__ unsigned long find_next_zero_bit(void *addr, unsigned long size, unsigned long offset) |
size | 96 | include/asm-sparc/bitops.h | if (offset >= size) |
size | 97 | include/asm-sparc/bitops.h | return size; |
size | 98 | include/asm-sparc/bitops.h | size -= result; |
size | 103 | include/asm-sparc/bitops.h | if (size < 32) |
size | 107 | include/asm-sparc/bitops.h | size -= 32; |
size | 110 | include/asm-sparc/bitops.h | while (size & ~31UL) { |
size | 114 | include/asm-sparc/bitops.h | size -= 32; |
size | 116 | include/asm-sparc/bitops.h | if (!size) |
size | 121 | include/asm-sparc/bitops.h | tmp |= ~0UL >> size; |
size | 130 | include/asm-sparc/bitops.h | #define find_first_zero_bit(addr, size) \ |
size | 131 | include/asm-sparc/bitops.h | find_next_zero_bit((addr), (size), 0) |
size | 173 | include/asm-sparc/bitops.h | #define ext2_find_first_zero_bit(addr, size) \ |
size | 174 | include/asm-sparc/bitops.h | ext2_find_next_zero_bit((addr), (size), 0) |
size | 176 | include/asm-sparc/bitops.h | extern __inline__ unsigned long ext2_find_next_zero_bit(void *addr, unsigned long size, unsigned long offset) |
size | 182 | include/asm-sparc/bitops.h | if (offset >= size) |
size | 183 | include/asm-sparc/bitops.h | return size; |
size | 184 | include/asm-sparc/bitops.h | size -= result; |
size | 189 | include/asm-sparc/bitops.h | if(size < 32) |
size | 193 | include/asm-sparc/bitops.h | size -= 32; |
size | 196 | include/asm-sparc/bitops.h | while(size & ~31UL) { |
size | 200 | include/asm-sparc/bitops.h | size -= 32; |
size | 202 | include/asm-sparc/bitops.h | if(!size) |
size | 207 | include/asm-sparc/bitops.h | tmp |= ~0UL << size; |
size | 103 | include/asm-sparc/fbio.h | struct fbcurpos size; /* cursor bit map size */ |
size | 66 | include/asm-sparc/floppy.h | #define fd_cacheflush(addr, size) /* nothing... */ |
size | 27 | include/asm-sparc/ioctl.h | #define _IOC(dir,type,nr,size) \ |
size | 31 | include/asm-sparc/ioctl.h | ((size) << _IOC_SIZESHIFT)) |
size | 34 | include/asm-sparc/ioctl.h | #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) |
size | 35 | include/asm-sparc/ioctl.h | #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) |
size | 36 | include/asm-sparc/ioctl.h | #define _IORW(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) |
size | 39 | include/asm-sparc/openprom.h | void (*v2_dumb_munmap)(char *virta, unsigned size); |
size | 197 | include/asm-sparc/oplib.h | extern char *prom_alloc(char *virt_hint, unsigned int size); |
size | 200 | include/asm-sparc/oplib.h | extern void prom_free(char *virt_addr, unsigned int size); |
size | 68 | include/asm-sparc/pgtsun4c.h | extern char *sun4c_lockarea(char *vaddr, unsigned long size); |
size | 69 | include/asm-sparc/pgtsun4c.h | extern void sun4c_unlockarea(char *vaddr, unsigned long size); |
size | 25 | include/asm-sparc/segment.h | static inline void __put_user(unsigned long x, void * y, int size) |
size | 27 | include/asm-sparc/segment.h | switch (size) { |
size | 43 | include/asm-sparc/segment.h | static inline unsigned long __get_user(const void * y, int size) |
size | 45 | include/asm-sparc/segment.h | switch (size) { |
size | 125 | include/asm-sparc/system.h | static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) |
size | 127 | include/asm-sparc/system.h | switch (size) { |
size | 438 | include/linux/cdk.h | unsigned short size; |
size | 13 | include/linux/fd.h | unsigned int size, /* nr of sectors total */ |
size | 542 | include/linux/fs.h | extern void refill_freelist(int size); |
size | 604 | include/linux/fs.h | extern struct buffer_head * get_hash_table(kdev_t dev, int block, int size); |
size | 605 | include/linux/fs.h | extern struct buffer_head * getblk(kdev_t dev, int block, int size); |
size | 622 | include/linux/fs.h | extern void set_blocksize(kdev_t dev, int size); |
size | 623 | include/linux/fs.h | extern struct buffer_head * bread(kdev_t dev, int block, int size); |
size | 624 | include/linux/fs.h | extern struct buffer_head * breada(kdev_t dev,int block, int size, |
size | 633 | include/linux/fs.h | unsigned long generate_cluster(kdev_t dev, int b[], int size); |
size | 71 | include/linux/if_pppvar.h | __s32 size; /* Size of the buffer area */ |
size | 501 | include/linux/isdn.h | short size; /* Allocated size */ |
size | 110 | include/linux/iso_fs.h | char size [ISODCL (11, 18)]; /* 733 */ |
size | 200 | include/linux/iso_fs.h | extern void * leak_check_malloc(unsigned int size); |
size | 201 | include/linux/iso_fs.h | extern void leak_check_free_s(void * obj, int size); |
size | 202 | include/linux/iso_fs.h | extern struct buffer_head * leak_check_bread(int dev, int block, int size); |
size | 28 | include/linux/loop.h | char *raw_buf, char *loop_buf, int size); |
size | 38 | include/linux/loop.h | char *raw_buf, char *loop_buf, int size); |
size | 6 | include/linux/malloc.h | void * kmalloc(unsigned int size, int priority); |
size | 93 | include/linux/md.h | int size; /* Device size (in blocks) */ |
size | 177 | include/linux/mm.h | extern int zap_page_range(struct mm_struct *mm, unsigned long address, unsigned long size); |
size | 179 | include/linux/mm.h | extern int remap_page_range(unsigned long from, unsigned long to, unsigned long size, pgprot_t prot); |
size | 180 | include/linux/mm.h | extern int zeromap_page_range(unsigned long from, unsigned long size, pgprot_t prot); |
size | 195 | include/linux/mm.h | extern void * vmalloc(unsigned long size); |
size | 196 | include/linux/mm.h | extern void * vremap(unsigned long offset, unsigned long size); |
size | 51 | include/linux/module.h | int size; /* total, including string table!!! */ |
size | 66 | include/linux/module.h | int size; /* size of module in pages */ |
size | 124 | include/linux/msdos_fs.h | __u32 size; /* file size (in bytes) */ |
size | 25 | include/linux/ncp_fs.h | unsigned int size; |
size | 87 | include/linux/ncp_fs.h | ncp_kmalloc(unsigned int size, int priority) |
size | 91 | include/linux/ncp_fs.h | return kmalloc(size, priority); |
size | 95 | include/linux/ncp_fs.h | ncp_kfree_s(void *obj, int size) |
size | 98 | include/linux/ncp_fs.h | kfree_s(obj, size); |
size | 135 | include/linux/nfs.h | u_int size; |
size | 150 | include/linux/nfs.h | u_int size; |
size | 106 | include/linux/nfs_fs.h | int *end, int size); |
size | 168 | include/linux/proc_fs.h | unsigned long size; |
size | 220 | include/linux/proc_fs.h | extern void scsi_init_free(char *ptr, unsigned int size); |
size | 9 | include/linux/raid0.h | int size; /* Zone size */ |
size | 37 | include/linux/raid0.h | int size; /* Zone size */ |
size | 62 | include/linux/shm.h | asmlinkage int sys_shmget (key_t key, int size, int flag); |
size | 149 | include/linux/skbuff.h | extern struct sk_buff * alloc_skb(unsigned int size, int priority); |
size | 150 | include/linux/skbuff.h | extern struct sk_buff * dev_alloc_skb(unsigned int size); |
size | 444 | include/linux/skbuff.h | extern void skb_copy_datagram(struct sk_buff *from, int offset, char *to,int size); |
size | 445 | include/linux/skbuff.h | extern void skb_copy_datagram_iovec(struct sk_buff *from, int offset, struct iovec *to,int size); |
size | 98 | include/linux/smb.h | unsigned long size; /* File size. */ |
size | 61 | include/linux/smb_fs.h | smb_kmalloc(unsigned int size, int priority) |
size | 65 | include/linux/smb_fs.h | return kmalloc(size, priority); |
size | 69 | include/linux/smb_fs.h | smb_kfree_s(void *obj, int size) |
size | 72 | include/linux/smb_fs.h | kfree_s(obj, size); |
size | 619 | include/linux/soundcard.h | int size; |
size | 460 | include/net/sock.h | unsigned long size, int force, |
size | 463 | include/net/sock.h | unsigned long size, int force, |
size | 480 | include/net/sock.h | unsigned long size, |
size | 87 | ipc/sem.c | int size; |
size | 100 | ipc/sem.c | size = sizeof (*sma) + nsems * sizeof (struct sem); |
size | 102 | ipc/sem.c | sma = (struct semid_ds *) kmalloc (size, GFP_KERNEL); |
size | 110 | ipc/sem.c | memset (sma, 0, size); |
size | 559 | ipc/sem.c | int i, id, size, error; |
size | 601 | ipc/sem.c | size = sizeof(struct sem_undo) + sizeof(short)*sma->sem_nsems; |
size | 602 | ipc/sem.c | un = (struct sem_undo *) kmalloc(size, GFP_ATOMIC); |
size | 605 | ipc/sem.c | memset(un, 0, size); |
size | 23 | ipc/shm.c | static int newseg (key_t key, int shmflg, int size); |
size | 74 | ipc/shm.c | static int newseg (key_t key, int shmflg, int size) |
size | 77 | ipc/shm.c | int numpages = (size + PAGE_SIZE -1) >> PAGE_SHIFT; |
size | 80 | ipc/shm.c | if (size < SHMMIN) |
size | 116 | ipc/shm.c | shp->shm_segsz = size; |
size | 133 | ipc/shm.c | asmlinkage int sys_shmget (key_t key, int size, int shmflg) |
size | 138 | ipc/shm.c | if (size < 0 || size > SHMMAX) |
size | 141 | ipc/shm.c | return newseg(key, shmflg, size); |
size | 145 | ipc/shm.c | return newseg(key, shmflg, size); |
size | 152 | ipc/shm.c | if (size > shp->shm_segsz) |
size | 101 | ipc/util.c | asmlinkage int sys_shmget (key_t key, int size, int flag) |
size | 88 | kernel/module.c | sys_create_module(char *module_name, unsigned long size) |
size | 99 | kernel/module.c | if (module_name == NULL || size == 0) |
size | 112 | kernel/module.c | npages = (size + sizeof (long) + PAGE_SIZE - 1) / PAGE_SIZE; |
size | 122 | kernel/module.c | mp->size = npages; |
size | 131 | kernel/module.c | mp->name, (unsigned long) mp->size, (unsigned long) mp->addr)); |
size | 183 | kernel/module.c | if ((codesize + sizeof (long) + PAGE_SIZE - 1) / PAGE_SIZE > mp->size) |
size | 187 | kernel/module.c | mp->size * PAGE_SIZE - (codesize + sizeof (long))); |
size | 196 | kernel/module.c | int size; |
size | 200 | kernel/module.c | if ((error = verify_area(VERIFY_READ, &symtab->size, sizeof(symtab->size)))) |
size | 202 | kernel/module.c | size = get_user(&symtab->size); |
size | 204 | kernel/module.c | if ((newtab = (struct symbol_table*) kmalloc(size, GFP_KERNEL)) == NULL) { |
size | 208 | kernel/module.c | if ((error = verify_area(VERIFY_READ, symtab, size))) { |
size | 209 | kernel/module.c | kfree_s(newtab, size); |
size | 212 | kernel/module.c | memcpy_fromfs((char *)(newtab), symtab, size); |
size | 219 | kernel/module.c | if ((newtab->n_symbols < 0) || (newtab->n_refs < 0) || (legal_start > size)) { |
size | 222 | kernel/module.c | kfree_s(newtab, size); |
size | 228 | kernel/module.c | if ((unsigned long)sym->name < legal_start || size <= (unsigned long)sym->name) { |
size | 230 | kernel/module.c | kfree_s(newtab, size); |
size | 471 | kernel/module.c | if (mp->symtab->size) |
size | 472 | kernel/module.c | kfree_s(mp->symtab, mp->symtab->size); |
size | 494 | kernel/module.c | char size[32]; |
size | 502 | kernel/module.c | if (*q == '\0' && mp->size == 0 && mp->ref == NULL) |
size | 509 | kernel/module.c | sprintf(size, "%d", mp->size); |
size | 510 | kernel/module.c | i -= strlen(size); |
size | 515 | kernel/module.c | q = size; |
size | 542 | kernel/module.c | sprintf(size,"\t%ld%s", |
size | 546 | kernel/module.c | q = size; |
size | 638 | kernel/module.c | int size; |
size | 703 | kernel/module.c | if (oldtab->size > 0) |
size | 704 | kernel/module.c | kfree_s(oldtab, oldtab->size); |
size | 719 | kernel/module.c | size = SYMSIZ + intab->n_symbols * INTSIZ + |
size | 730 | kernel/module.c | newtab->size = size; |
size | 757 | kernel/module.c | if (oldtab->size > 0) |
size | 758 | kernel/module.c | kfree_s(oldtab, oldtab->size); |
size | 408 | kernel/sysctl.c | de->size = 0; |
size | 270 | lib/string.c | void * memscan(void * addr, int c, size_t size) |
size | 274 | lib/string.c | while (size) { |
size | 278 | lib/string.c | size--; |
size | 68 | lib/vsprintf.c | static char * number(char * str, long num, int base, int size, int precision |
size | 87 | lib/vsprintf.c | size--; |
size | 90 | lib/vsprintf.c | size--; |
size | 93 | lib/vsprintf.c | size--; |
size | 98 | lib/vsprintf.c | size -= 2; |
size | 100 | lib/vsprintf.c | size--; |
size | 109 | lib/vsprintf.c | size -= precision; |
size | 111 | lib/vsprintf.c | while(size-->0) |
size | 123 | lib/vsprintf.c | while (size-- > 0) |
size | 129 | lib/vsprintf.c | while (size-- > 0) |
size | 522 | mm/filemap.c | unsigned long size; |
size | 524 | mm/filemap.c | size = offset + PAGE_SIZE; |
size | 527 | mm/filemap.c | if (size > inode->i_size) |
size | 528 | mm/filemap.c | size = inode->i_size; |
size | 530 | mm/filemap.c | if (size < offset) |
size | 533 | mm/filemap.c | size -= offset; |
size | 537 | mm/filemap.c | if (size == file->f_op->write(inode, file, (const char *) page, size)) |
size | 665 | mm/filemap.c | unsigned long address, unsigned long size, |
size | 682 | mm/filemap.c | end = address + size; |
size | 695 | mm/filemap.c | unsigned long address, unsigned long size, |
size | 712 | mm/filemap.c | end = address + size; |
size | 725 | mm/filemap.c | size_t size, unsigned int flags) |
size | 728 | mm/filemap.c | unsigned long end = address + size; |
size | 732 | mm/filemap.c | flush_cache_range(vma->vm_mm, end - size, end); |
size | 738 | mm/filemap.c | flush_tlb_range(vma->vm_mm, end - size, end); |
size | 198 | mm/kmalloc.c | void *kmalloc(size_t size, int priority) |
size | 209 | mm/kmalloc.c | unsigned int realsize = size + sizeof(struct block_header); |
size | 217 | mm/kmalloc.c | printk("kmalloc of too large a block (%d bytes).\n", (int) size); |
size | 299 | mm/kmalloc.c | sizes[order].nbytesmalloced += size; |
size | 301 | mm/kmalloc.c | p->bh_length = size; |
size | 303 | mm/kmalloc.c | memset(p+1, 0xf0, size); |
size | 325 | mm/kmalloc.c | int size; |
size | 350 | mm/kmalloc.c | size = p->bh_length; |
size | 353 | mm/kmalloc.c | memset(p+1, 0xe0, size); |
size | 384 | mm/kmalloc.c | sizes[order].nbytesmalloced -= size; |
size | 211 | mm/memory.c | static inline int copy_pte_range(pmd_t *dst_pmd, pmd_t *src_pmd, unsigned long address, unsigned long size, int cow) |
size | 230 | mm/memory.c | end = address + size; |
size | 243 | mm/memory.c | static inline int copy_pmd_range(pgd_t *dst_pgd, pgd_t *src_pgd, unsigned long address, unsigned long size, int cow) |
size | 263 | mm/memory.c | end = address + size; |
size | 322 | mm/memory.c | static inline void zap_pte_range(pmd_t * pmd, unsigned long address, unsigned long size) |
size | 336 | mm/memory.c | end = address + size; |
size | 348 | mm/memory.c | static inline void zap_pmd_range(pgd_t * dir, unsigned long address, unsigned long size) |
size | 362 | mm/memory.c | end = address + size; |
size | 375 | mm/memory.c | int zap_page_range(struct mm_struct *mm, unsigned long address, unsigned long size) |
size | 378 | mm/memory.c | unsigned long end = address + size; |
size | 381 | mm/memory.c | flush_cache_range(mm, end - size, end); |
size | 387 | mm/memory.c | flush_tlb_range(mm, end - size, end); |
size | 391 | mm/memory.c | static inline void zeromap_pte_range(pte_t * pte, unsigned long address, unsigned long size, pte_t zero_pte) |
size | 396 | mm/memory.c | end = address + size; |
size | 408 | mm/memory.c | static inline int zeromap_pmd_range(pmd_t * pmd, unsigned long address, unsigned long size, pte_t zero_pte) |
size | 413 | mm/memory.c | end = address + size; |
size | 427 | mm/memory.c | int zeromap_page_range(unsigned long address, unsigned long size, pgprot_t prot) |
size | 432 | mm/memory.c | unsigned long end = address + size; |
size | 458 | mm/memory.c | static inline void remap_pte_range(pte_t * pte, unsigned long address, unsigned long size, |
size | 464 | mm/memory.c | end = address + size; |
size | 479 | mm/memory.c | static inline int remap_pmd_range(pmd_t * pmd, unsigned long address, unsigned long size, |
size | 485 | mm/memory.c | end = address + size; |
size | 500 | mm/memory.c | int remap_page_range(unsigned long from, unsigned long offset, unsigned long size, pgprot_t prot) |
size | 505 | mm/memory.c | unsigned long end = from + size; |
size | 671 | mm/memory.c | int verify_area(int type, const void * addr, unsigned long size) |
size | 680 | mm/memory.c | if (!size || get_fs() == get_ds()) |
size | 700 | mm/memory.c | if (vma->vm_end - start >= size) |
size | 714 | mm/memory.c | if (vma->vm_end - start >= size) |
size | 725 | mm/memory.c | size--; |
size | 726 | mm/memory.c | size += start & ~PAGE_MASK; |
size | 727 | mm/memory.c | size >>= PAGE_SHIFT; |
size | 732 | mm/memory.c | if (!size) |
size | 734 | mm/memory.c | size--; |
size | 21 | mm/mprotect.c | unsigned long size, pgprot_t newprot) |
size | 35 | mm/mprotect.c | end = address + size; |
size | 48 | mm/mprotect.c | unsigned long size, pgprot_t newprot) |
size | 62 | mm/mprotect.c | end = address + size; |
size | 181 | mm/page_alloc.c | do { unsigned long size = 1 << high; \ |
size | 183 | mm/page_alloc.c | area--; high--; size >>= 1; \ |
size | 186 | mm/page_alloc.c | index += size; \ |
size | 187 | mm/page_alloc.c | map += size; \ |
size | 196 | mm/swapfile.c | unsigned long address, unsigned long size, unsigned long offset, |
size | 212 | mm/swapfile.c | end = address + size; |
size | 225 | mm/swapfile.c | unsigned long address, unsigned long size, |
size | 241 | mm/swapfile.c | end = address + size; |
size | 24 | mm/vmalloc.c | unsigned long size; |
size | 41 | mm/vmalloc.c | static inline void free_area_pte(pmd_t * pmd, unsigned long address, unsigned long size) |
size | 55 | mm/vmalloc.c | end = address + size; |
size | 73 | mm/vmalloc.c | static inline void free_area_pmd(pgd_t * dir, unsigned long address, unsigned long size) |
size | 87 | mm/vmalloc.c | end = address + size; |
size | 97 | mm/vmalloc.c | static void free_area_pages(unsigned long address, unsigned long size) |
size | 100 | mm/vmalloc.c | unsigned long end = address + size; |
size | 112 | mm/vmalloc.c | static inline int alloc_area_pte(pte_t * pte, unsigned long address, unsigned long size) |
size | 117 | mm/vmalloc.c | end = address + size; |
size | 134 | mm/vmalloc.c | static inline int alloc_area_pmd(pmd_t * pmd, unsigned long address, unsigned long size) |
size | 139 | mm/vmalloc.c | end = address + size; |
size | 154 | mm/vmalloc.c | static int alloc_area_pages(unsigned long address, unsigned long size) |
size | 157 | mm/vmalloc.c | unsigned long end = address + size; |
size | 175 | mm/vmalloc.c | static inline void remap_area_pte(pte_t * pte, unsigned long address, unsigned long size, |
size | 181 | mm/vmalloc.c | end = address + size; |
size | 194 | mm/vmalloc.c | static inline int remap_area_pmd(pmd_t * pmd, unsigned long address, unsigned long size, |
size | 200 | mm/vmalloc.c | end = address + size; |
size | 215 | mm/vmalloc.c | static int remap_area_pages(unsigned long address, unsigned long offset, unsigned long size) |
size | 218 | mm/vmalloc.c | unsigned long end = address + size; |
size | 237 | mm/vmalloc.c | static struct vm_struct * get_vm_area(unsigned long size) |
size | 246 | mm/vmalloc.c | area->size = size + PAGE_SIZE; |
size | 249 | mm/vmalloc.c | if (size + (unsigned long) addr < (unsigned long) tmp->addr) |
size | 251 | mm/vmalloc.c | addr = (void *) (tmp->size + (unsigned long) tmp->addr); |
size | 272 | mm/vmalloc.c | free_area_pages(VMALLOC_VMADDR(tmp->addr), tmp->size); |
size | 280 | mm/vmalloc.c | void * vmalloc(unsigned long size) |
size | 285 | mm/vmalloc.c | size = PAGE_ALIGN(size); |
size | 286 | mm/vmalloc.c | if (!size || size > (MAP_NR(high_memory) << PAGE_SHIFT)) |
size | 288 | mm/vmalloc.c | area = get_vm_area(size); |
size | 292 | mm/vmalloc.c | if (alloc_area_pages(VMALLOC_VMADDR(addr), size)) { |
size | 304 | mm/vmalloc.c | void * vremap(unsigned long offset, unsigned long size) |
size | 313 | mm/vmalloc.c | size = PAGE_ALIGN(size); |
size | 314 | mm/vmalloc.c | if (!size || size > offset + size) |
size | 316 | mm/vmalloc.c | area = get_vm_area(size); |
size | 320 | mm/vmalloc.c | if (remap_area_pages(VMALLOC_VMADDR(addr), offset, size)) { |
size | 340 | mm/vmalloc.c | n = tmp->size - PAGE_SIZE; |
size | 249 | net/802/tr.c | int size,i; |
size | 253 | net/802/tr.c | size=sprintf(buffer, |
size | 255 | net/802/tr.c | pos+=size; |
size | 256 | net/802/tr.c | len+=size; |
size | 260 | net/802/tr.c | size=sprintf(buffer+len,"%02X:%02X:%02X:%02X:%02X:%02X %04X %04X %04X %04X %04X %04X %04X %04X %04X %lu\n", |
size | 264 | net/802/tr.c | len+=size; |
size | 1655 | net/appletalk/ddp.c | int size; |
size | 1700 | net/appletalk/ddp.c | size=sizeof(struct ddpehdr)+len+ddp_dl->header_length; /* For headers */ |
size | 1721 | net/appletalk/ddp.c | printk("SK %p: Size needed %d, device %s\n", sk, size, dev->name); |
size | 1723 | net/appletalk/ddp.c | size += dev->hard_header_len; |
size | 1725 | net/appletalk/ddp.c | skb = sock_alloc_send_skb(sk, size, 0, 0 , &err); |
size | 1834 | net/appletalk/ddp.c | static int atalk_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, int flags, int *addr_len) |
size | 1857 | net/appletalk/ddp.c | if(copied > size) |
size | 1858 | net/appletalk/ddp.c | copied=size; |
size | 1864 | net/appletalk/ddp.c | if (copied > size) |
size | 1865 | net/appletalk/ddp.c | copied = size; |
size | 1961 | net/ax25/af_ax25.c | int size; |
size | 2027 | net/ax25/af_ax25.c | size = len + 3 + size_ax25_addr(dp) + AX25_BPQ_HEADER_LEN; |
size | 2029 | net/ax25/af_ax25.c | if ((skb = sock_alloc_send_skb(sk, size, 0, 0, &err)) == NULL) |
size | 2036 | net/ax25/af_ax25.c | skb_reserve(skb, size - len); |
size | 2091 | net/ax25/af_ax25.c | static int ax25_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, int flags, int *addr_len) |
size | 2127 | net/ax25/af_ax25.c | copied = (size < length) ? size : length; |
size | 2475 | net/ax25/af_ax25.c | int size; |
size | 2483 | net/ax25/af_ax25.c | size = skb->len; |
size | 2487 | net/ax25/af_ax25.c | *ptr++ = (size + 5) % 256; |
size | 2488 | net/ax25/af_ax25.c | *ptr++ = (size + 5) / 256; |
size | 159 | net/core/datagram.c | void skb_copy_datagram(struct sk_buff *skb, int offset, char *to, int size) |
size | 161 | net/core/datagram.c | memcpy_tofs(to,skb->h.raw+offset,size); |
size | 169 | net/core/datagram.c | void skb_copy_datagram_iovec(struct sk_buff *skb, int offset, struct iovec *to, int size) |
size | 171 | net/core/datagram.c | memcpy_toiovec(to,skb->h.raw+offset,size); |
size | 827 | net/core/dev.c | int size; |
size | 830 | net/core/dev.c | size = sprintf(buffer, "%6s:%7d %4d %4d %4d %4d %8d %4d %4d %4d %5d %4d\n", |
size | 842 | net/core/dev.c | size = sprintf(buffer, "%6s: No statistics available.\n", dev->name); |
size | 844 | net/core/dev.c | return size; |
size | 857 | net/core/dev.c | int size; |
size | 862 | net/core/dev.c | size = sprintf(buffer, "Inter-| Receive | Transmit\n" |
size | 865 | net/core/dev.c | pos+=size; |
size | 866 | net/core/dev.c | len+=size; |
size | 871 | net/core/dev.c | size = sprintf_stats(buffer+len, dev); |
size | 872 | net/core/dev.c | len+=size; |
size | 632 | net/core/skbuff.c | struct sk_buff *alloc_skb(unsigned int size,int priority) |
size | 635 | net/core/skbuff.c | int len=size; |
size | 648 | net/core/skbuff.c | size=(size+15)&~15; /* Allow for alignments. Make a multiple of 16 bytes */ |
size | 649 | net/core/skbuff.c | size+=sizeof(struct sk_buff); /* And stick the control itself on the end */ |
size | 655 | net/core/skbuff.c | bptr=(unsigned char *)kmalloc(size,priority); |
size | 674 | net/core/skbuff.c | skb=(struct sk_buff *)(bptr+size)-1; |
size | 685 | net/core/skbuff.c | skb->truesize=size; |
size | 344 | net/core/sock.c | struct sk_buff *sock_wmalloc(struct sock *sk, unsigned long size, int force, int priority) |
size | 347 | net/core/sock.c | if (force || sk->wmem_alloc + size < sk->sndbuf) { |
size | 348 | net/core/sock.c | struct sk_buff * skb = alloc_skb(size, priority); |
size | 355 | net/core/sock.c | return alloc_skb(size, priority); |
size | 358 | net/core/sock.c | struct sk_buff *sock_rmalloc(struct sock *sk, unsigned long size, int force, int priority) |
size | 361 | net/core/sock.c | if (force || sk->rmem_alloc + size < sk->rcvbuf) { |
size | 362 | net/core/sock.c | struct sk_buff *skb = alloc_skb(size, priority); |
size | 369 | net/core/sock.c | return alloc_skb(size, priority); |
size | 437 | net/core/sock.c | struct sk_buff *sock_alloc_send_skb(struct sock *sk, unsigned long size, unsigned long fallback, int noblock, int *errcode) |
size | 461 | net/core/sock.c | skb = sock_wmalloc(sk, size, 0, sk->allocation); |
size | 466 | net/core/sock.c | skb = sock_wmalloc(sk, size, 0 , GFP_BUFFER); |
size | 510 | net/core/sock.c | if (sk->wmem_alloc + size >= sk->sndbuf) |
size | 147 | net/ipv4/af_inet.c | int size = 32767; /* a big num. */ |
size | 175 | net/ipv4/af_inet.c | if (j < size) |
size | 178 | net/ipv4/af_inet.c | size = j; |
size | 1117 | net/ipv4/af_inet.c | static int inet_recvmsg(struct socket *sock, struct msghdr *ubuf, int size, int noblock, |
size | 1129 | net/ipv4/af_inet.c | return(sk->prot->recvmsg(sk, ubuf, size, noblock, flags,addr_len)); |
size | 1133 | net/ipv4/af_inet.c | static int inet_sendmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, |
size | 1149 | net/ipv4/af_inet.c | return(sk->prot->sendmsg(sk, msg, size, noblock, flags)); |
size | 1537 | net/ipv4/arp.c | int size; |
size | 1543 | net/ipv4/arp.c | size = sprintf(buffer,"IP address HW type Flags HW address Mask Device\n"); |
size | 1545 | net/ipv4/arp.c | pos+=size; |
size | 1546 | net/ipv4/arp.c | len+=size; |
size | 1580 | net/ipv4/arp.c | size = sprintf(buffer+len, |
size | 1587 | net/ipv4/arp.c | size += sprintf(buffer+len+size, |
size | 1592 | net/ipv4/arp.c | size += sprintf(buffer+len+size, |
size | 1600 | net/ipv4/arp.c | len += size; |
size | 1601 | net/ipv4/arp.c | pos += size; |
size | 66 | net/ipv4/ip_fragment.c | extern __inline__ void *frag_kmalloc(int size, int pri) |
size | 68 | net/ipv4/ip_fragment.c | void *vp=kmalloc(size,pri); |
size | 71 | net/ipv4/ip_fragment.c | atomic_add(size, &ip_frag_mem); |
size | 403 | net/ipv4/ip_masq.c | int size; |
size | 447 | net/ipv4/ip_masq.c | size = skb->len - ((unsigned char *)portptr - skb->h.raw); |
size | 466 | net/ipv4/ip_masq.c | size = skb->len - ((unsigned char *)portptr-skb->h.raw); |
size | 476 | net/ipv4/ip_masq.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
size | 493 | net/ipv4/ip_masq.c | skb->csum = csum_partial((void *)(th + 1), size - sizeof(*th), 0); |
size | 494 | net/ipv4/ip_masq.c | tcp_send_check(th,iph->saddr,iph->daddr,size,skb); |
size | 542 | net/ipv4/ip_masq.c | int size; |
size | 564 | net/ipv4/ip_masq.c | size = skb->len - ((unsigned char *)portptr - skb->h.raw); |
size | 582 | net/ipv4/ip_masq.c | size = skb->len - ((unsigned char *)portptr-skb->h.raw); |
size | 589 | net/ipv4/ip_masq.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
size | 593 | net/ipv4/ip_masq.c | size - sizeof(struct tcphdr), 0); |
size | 594 | net/ipv4/ip_masq.c | tcp_send_check((struct tcphdr *)portptr,iph->saddr,iph->daddr,size,skb); |
size | 802 | net/ipv4/ipmr.c | int size; |
size | 816 | net/ipv4/ipmr.c | size = sprintf(buffer+len, "%-10s %8ld %7ld %8ld %7ld %05X %08lX %08lX\n", |
size | 819 | net/ipv4/ipmr.c | len+=size; |
size | 820 | net/ipv4/ipmr.c | pos+=size; |
size | 843 | net/ipv4/ipmr.c | int size; |
size | 876 | net/ipv4/ipmr.c | size = sprintf(buffer+len, "%08lX %08lX %-8s %s\n", |
size | 881 | net/ipv4/ipmr.c | len+=size; |
size | 882 | net/ipv4/ipmr.c | pos+=size; |
size | 489 | net/ipv4/rarp.c | int size; |
size | 495 | net/ipv4/rarp.c | size = sprintf(buffer,"RARP disabled until entries added to cache.\n"); |
size | 496 | net/ipv4/rarp.c | pos+=size; |
size | 497 | net/ipv4/rarp.c | len+=size; |
size | 501 | net/ipv4/rarp.c | size = sprintf(buffer, |
size | 503 | net/ipv4/rarp.c | pos+=size; |
size | 504 | net/ipv4/rarp.c | len+=size; |
size | 516 | net/ipv4/rarp.c | size = sprintf(buffer+len, |
size | 527 | net/ipv4/rarp.c | len+=size; |
size | 33 | net/ipv4/tcp_output.c | int size; |
size | 40 | net/ipv4/tcp_output.c | size = skb->len - ((unsigned char *) th - skb->data); |
size | 46 | net/ipv4/tcp_output.c | if (size < sizeof(struct tcphdr) || size > skb->len) |
size | 59 | net/ipv4/tcp_output.c | if (size == sizeof(struct tcphdr)) |
size | 76 | net/ipv4/tcp_output.c | skb->end_seq = skb->seq + size - 4*th->doff; |
size | 113 | net/ipv4/tcp_output.c | tcp_send_check(th, sk->saddr, sk->daddr, size, skb); |
size | 262 | net/ipv4/tcp_output.c | int size; |
size | 272 | net/ipv4/tcp_output.c | size = skb->len - (((unsigned char *) th) - skb->data); |
size | 274 | net/ipv4/tcp_output.c | if (size > sk->mtu - sizeof(struct iphdr)) |
size | 284 | net/ipv4/tcp_output.c | tcp_send_check(th, sk->saddr, sk->daddr, size, skb); |
size | 328 | net/ipv4/tcp_output.c | int size; |
size | 364 | net/ipv4/tcp_output.c | size = ntohs(iph->tot_len) - (iph->ihl<<2); |
size | 435 | net/ipv4/tcp_output.c | tcp_send_check(th, sk->saddr, sk->daddr, size, skb); |
size | 1248 | net/ipx/af_ipx.c | int size; |
size | 1269 | net/ipx/af_ipx.c | size=sizeof(ipx_packet)+len; |
size | 1270 | net/ipx/af_ipx.c | size += ipx_offset; |
size | 1272 | net/ipx/af_ipx.c | skb=sock_alloc_send_skb(sk, size, 0, 0, &err); |
size | 2115 | net/ipx/af_ipx.c | static int ipx_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, |
size | 2142 | net/ipx/af_ipx.c | copied = (truesize > size) ? size : truesize; |
size | 1012 | net/netrom/af_netrom.c | int size; |
size | 1048 | net/netrom/af_netrom.c | size = len + AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + NR_NETWORK_LEN + NR_TRANSPORT_LEN; |
size | 1050 | net/netrom/af_netrom.c | if ((skb = sock_alloc_send_skb(sk, size, 0, 0, &err)) == NULL) |
size | 1057 | net/netrom/af_netrom.c | skb_reserve(skb, size - len); |
size | 1107 | net/netrom/af_netrom.c | static int nr_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, |
size | 1138 | net/netrom/af_netrom.c | copied = (size < skb->len) ? size : skb->len; |
size | 85 | net/socket.c | int size); |
size | 87 | net/socket.c | int size); |
size | 333 | net/socket.c | static int sock_read(struct inode *inode, struct file *file, char *ubuf, int size) |
size | 344 | net/socket.c | if(size<0) |
size | 346 | net/socket.c | if(size==0) /* Match SYS5 behaviour */ |
size | 348 | net/socket.c | if ((err=verify_area(VERIFY_WRITE,ubuf,size))<0) |
size | 355 | net/socket.c | iov.iov_len=size; |
size | 357 | net/socket.c | return(sock->ops->recvmsg(sock, &msg, size,(file->f_flags & O_NONBLOCK), 0,&msg.msg_namelen)); |
size | 365 | net/socket.c | static int sock_write(struct inode *inode, struct file *file, const char *ubuf, int size) |
size | 377 | net/socket.c | if(size<0) |
size | 379 | net/socket.c | if(size==0) /* Match SYS5 behaviour */ |
size | 382 | net/socket.c | if ((err=verify_area(VERIFY_READ,ubuf,size))<0) |
size | 390 | net/socket.c | iov.iov_len=size; |
size | 392 | net/socket.c | return(sock->ops->sendmsg(sock, &msg, size,(file->f_flags & O_NONBLOCK),0)); |
size | 971 | net/socket.c | asmlinkage int sys_recv(int fd, void * ubuf, int size, unsigned flags) |
size | 985 | net/socket.c | if(size<0) |
size | 987 | net/socket.c | if(size==0) |
size | 989 | net/socket.c | err=verify_area(VERIFY_WRITE, ubuf, size); |
size | 998 | net/socket.c | iov.iov_len=size; |
size | 1000 | net/socket.c | return(sock->ops->recvmsg(sock, &msg, size,(file->f_flags & O_NONBLOCK), flags,&msg.msg_namelen)); |
size | 1009 | net/socket.c | asmlinkage int sys_recvfrom(int fd, void * ubuf, int size, unsigned flags, |
size | 1023 | net/socket.c | if(size<0) |
size | 1025 | net/socket.c | if(size==0) |
size | 1028 | net/socket.c | err=verify_area(VERIFY_WRITE,ubuf,size); |
size | 1035 | net/socket.c | iov.iov_len=size; |
size | 1039 | net/socket.c | size=sock->ops->recvmsg(sock, &msg, size, (file->f_flags & O_NONBLOCK), |
size | 1042 | net/socket.c | if(size<0) |
size | 1043 | net/socket.c | return size; |
size | 1047 | net/socket.c | return size; |
size | 894 | net/unix/af_unix.c | int err,size; |
size | 960 | net/unix/af_unix.c | size=len-sent; |
size | 962 | net/unix/af_unix.c | if(size>(sk->sndbuf-sizeof(struct sk_buff))/2) /* Keep two messages in the pipe so it schedules better */ |
size | 969 | net/unix/af_unix.c | size=(sk->sndbuf-sizeof(struct sk_buff))/2; |
size | 977 | net/unix/af_unix.c | if(size > 4000 && sock->type!=SOCK_DGRAM) |
size | 986 | net/unix/af_unix.c | skb=sock_alloc_send_skb(sk,size,limit,nonblock, &err); |
size | 998 | net/unix/af_unix.c | size=skb_tailroom(skb); /* If we dropped back on a limit then our skb is smaller */ |
size | 1011 | net/unix/af_unix.c | memcpy_fromiovec(skb_put(skb,size),msg->msg_iov, size); |
size | 1047 | net/unix/af_unix.c | other->data_ready(other,size); |
size | 1048 | net/unix/af_unix.c | sent+=size; |
size | 1068 | net/unix/af_unix.c | static int unix_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, int flags, int *addr_len) |
size | 1122 | net/unix/af_unix.c | if (copied == size) |