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 | 462 | arch/alpha/kernel/apecs.c | regs->pc, mchk_header->size, mchk_header->proc_offset, mchk_header->sys_offset)); |
size | 471 | arch/alpha/kernel/apecs.c | for (i = 0; i < mchk_header->size / sizeof(long); i += 2) { |
size | 114 | arch/alpha/kernel/bios32.c | unsigned int base, mask, size, reg; |
size | 145 | arch/alpha/kernel/bios32.c | size = (mask & base) & 0xffffffff; |
size | 147 | arch/alpha/kernel/bios32.c | alignto = MAX(0x400, size) ; |
size | 149 | arch/alpha/kernel/bios32.c | io_base = base + size; |
size | 161 | arch/alpha/kernel/bios32.c | size = (mask & base) & 0xffffffff; |
size | 208 | arch/alpha/kernel/bios32.c | alignto = MAX(0x1000, size) ; |
size | 210 | arch/alpha/kernel/bios32.c | if (size > 7 * 16*MB) { |
size | 216 | arch/alpha/kernel/bios32.c | PCI_FUNC(dev->devfn), size); |
size | 223 | arch/alpha/kernel/bios32.c | if (base / (128*MB) != (base + size) / (128*MB)) { |
size | 229 | 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 | 108 | arch/i386/boot/compressed/misc.c | static void *malloc(int size); |
size | 126 | arch/i386/boot/compressed/misc.c | static void *malloc(int size) |
size | 130 | arch/i386/boot/compressed/misc.c | if (size <0) error("Malloc error\n"); |
size | 136 | 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 | 395 | arch/i386/kernel/smp.c | int size=(num_processors-1)*PAGE_SIZE; /* Number of stacks needed */ |
size | 401 | arch/i386/kernel/smp.c | if(mem_base+size>=0x9F000) |
size | 404 | 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 | 174 | drivers/block/floppy.c | static inline int __get_order (int size) |
size | 181 | drivers/block/floppy.c | : "r" (size / PAGE_SIZE)); |
size | 184 | drivers/block/floppy.c | if (size <= (PAGE_SIZE << order)) |
size | 190 | drivers/block/floppy.c | static unsigned long dma_mem_alloc(int size) |
size | 192 | drivers/block/floppy.c | int order = __get_order(size); |
size | 1971 | drivers/block/floppy.c | unsigned char track,head,sect,size; |
size | 2013 | drivers/block/floppy.c | here[count].size = F_SIZECODE; |
size | 2179 | drivers/block/floppy.c | floppy_sizes[TOMINOR(current_drive) ]= floppy->size>>1; |
size | 2188 | drivers/block/floppy.c | floppy_sizes[TOMINOR(current_drive)] = floppy->size >> 1; |
size | 2208 | drivers/block/floppy.c | int size; |
size | 2212 | drivers/block/floppy.c | size = CURRENT->current_nr_sectors << 9; |
size | 2217 | drivers/block/floppy.c | while (bh && bh->b_data == base + size){ |
size | 2218 | drivers/block/floppy.c | size += bh->b_size; |
size | 2222 | drivers/block/floppy.c | return size >> 9; |
size | 2247 | drivers/block/floppy.c | int size; |
size | 2278 | drivers/block/floppy.c | size = CURRENT->current_nr_sectors << 9; |
size | 2282 | drivers/block/floppy.c | SUPBOUND(size, remaining); |
size | 2284 | drivers/block/floppy.c | if (dma_buffer + size > |
size | 2303 | drivers/block/floppy.c | fd_cacheflush(dma_buffer, size); |
size | 2304 | drivers/block/floppy.c | memcpy(buffer, dma_buffer, size); |
size | 2306 | drivers/block/floppy.c | memcpy(dma_buffer, buffer, size); |
size | 2307 | drivers/block/floppy.c | fd_cacheflush(dma_buffer, size); |
size | 2309 | drivers/block/floppy.c | remaining -= size; |
size | 2313 | drivers/block/floppy.c | dma_buffer += size; |
size | 2321 | drivers/block/floppy.c | size = bh->b_size; |
size | 2750 | drivers/block/floppy.c | static int fd_copyout(void *param, const void *address, int size) |
size | 2754 | drivers/block/floppy.c | ECALL(verify_area(VERIFY_WRITE,param,size)); |
size | 2755 | drivers/block/floppy.c | fd_cacheflush(address, size); /* is this necessary ??? */ |
size | 2758 | drivers/block/floppy.c | memcpy_tofs(param,(void *) address, size); |
size | 2762 | drivers/block/floppy.c | static int fd_copyin(void *param, void *address, int size) |
size | 2766 | drivers/block/floppy.c | ECALL(verify_area(VERIFY_READ,param,size)); |
size | 2767 | drivers/block/floppy.c | memcpy_fromfs((void *) address, param, size); |
size | 3051 | drivers/block/floppy.c | floppy_type[type].size>>1; |
size | 3070 | drivers/block/floppy.c | floppy_sizes[drive] = user_params[drive].size >> 1; |
size | 3121 | drivers/block/floppy.c | static inline int normalize_0x02xx_ioctl(int *cmd, int *size) |
size | 3127 | drivers/block/floppy.c | *size = _IOC_SIZE(*cmd); |
size | 3129 | drivers/block/floppy.c | if (*size > _IOC_SIZE(*cmd)) { |
size | 3139 | drivers/block/floppy.c | static inline int xlate_0x00xx_ioctl(int *cmd, int *size) |
size | 3156 | drivers/block/floppy.c | *size = translation_table[i].oldsize; |
size | 3176 | drivers/block/floppy.c | int size; |
size | 3194 | drivers/block/floppy.c | ECALL(normalize_0x02xx_ioctl(&cmd, &size)); |
size | 3196 | drivers/block/floppy.c | ECALL(xlate_0x00xx_ioctl(&cmd, &size)); |
size | 3207 | drivers/block/floppy.c | ECALL(verify_area(VERIFY_WRITE,(void *) param, size)); |
size | 3212 | drivers/block/floppy.c | ECALL(fd_copyin((void *)param, &inparam, size)) |
size | 3269 | drivers/block/floppy.c | SUPBOUND(size,strlen(outparam)+1); |
size | 3313 | drivers/block/floppy.c | return fd_copyout((void *)param, outparam, size); |
size | 3577 | drivers/block/floppy.c | int size = floppy_blocksizes[MINOR(dev)]; |
size | 3578 | drivers/block/floppy.c | if (!size) |
size | 3579 | drivers/block/floppy.c | size = 1024; |
size | 3580 | drivers/block/floppy.c | if (!(bh = getblk(dev,0,size))){ |
size | 3848 | drivers/block/floppy.c | floppy_sizes[i] = floppy_type[ITYPE(i)].size >> 1; |
size | 94 | drivers/block/genhd.c | static void add_partition (struct gendisk *hd, int minor, int start, int size) |
size | 98 | 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 | 213 | drivers/block/loop.c | size = blksize - offset; |
size | 214 | drivers/block/loop.c | if (size > len) |
size | 215 | drivers/block/loop.c | size = len; |
size | 218 | drivers/block/loop.c | dest_addr, size)) { |
size | 226 | drivers/block/loop.c | dest_addr += size; |
size | 227 | drivers/block/loop.c | len -= size; |
size | 178 | drivers/block/md.c | devices[minor][index].size=gen_real->sizes[MINOR(dev)] & ~((PAGE_SIZE >> 10)-1); |
size | 180 | drivers/block/md.c | (devices[minor][index-1].offset + devices[minor][index-1].size) : 0; |
size | 183 | drivers/block/md.c | md_size[minor]=devices[minor][index].size; |
size | 185 | 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 | 263 | drivers/block/rd.c | const int size = 512; |
size | 270 | drivers/block/rd.c | buf = kmalloc(size, GFP_KERNEL); |
size | 276 | drivers/block/rd.c | memset(buf, 0xe5, size); |
size | 285 | drivers/block/rd.c | fp->f_op->read(fp->f_inode, fp, buf, size); |
size | 306 | drivers/block/rd.c | fp->f_op->read(fp->f_inode, fp, buf, size); |
size | 495 | drivers/block/rd.c | static void *malloc(int size); |
size | 503 | drivers/block/rd.c | static void *malloc(int size) |
size | 505 | drivers/block/rd.c | return kmalloc(size, GFP_KERNEL); |
size | 182 | drivers/block/triton.c | unsigned long size, addr, *table = HWIF(drive)->dmatable; |
size | 197 | drivers/block/triton.c | size = drive->tape.pc->request_transfer; |
size | 200 | drivers/block/triton.c | size = rq->nr_sectors << 9; |
size | 204 | drivers/block/triton.c | size = bh->b_size; |
size | 206 | drivers/block/triton.c | if ((addr + size) != virt_to_bus (bh->b_data)) |
size | 208 | drivers/block/triton.c | size += bh->b_size; |
size | 216 | drivers/block/triton.c | while (size) { |
size | 222 | drivers/block/triton.c | if (bcount > size) |
size | 223 | drivers/block/triton.c | bcount = size; |
size | 227 | 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 | 233 | drivers/cdrom/mcdx.c | void *buffer, size_t size, |
size | 911 | drivers/cdrom/mcdx.c | void *buffer, size_t size, |
size | 939 | drivers/cdrom/mcdx.c | tries, timeout, size, (unsigned char) cmd[0])); |
size | 950 | drivers/cdrom/mcdx.c | size_t sz = size; |
size | 1109 | drivers/cdrom/mcdx.c | int size; |
size | 1113 | drivers/cdrom/mcdx.c | size = sizeof(*stuffp); |
size | 1118 | drivers/cdrom/mcdx.c | TRACE((MALLOC, "init() malloc %d bytes\n", size)); |
size | 1119 | drivers/cdrom/mcdx.c | if (!(stuffp = kmalloc(size, GFP_KERNEL))) { |
size | 1489 | drivers/cdrom/mcdx.c | int size; |
size | 1490 | drivers/cdrom/mcdx.c | size = sizeof(struct s_subqcode) * (stuffp->di.n_last - stuffp->di.n_first + 2); |
size | 1492 | drivers/cdrom/mcdx.c | TRACE((MALLOC, "ioctl() malloc %d bytes\n", size)); |
size | 1493 | drivers/cdrom/mcdx.c | stuffp->toc = kmalloc(size, GFP_KERNEL); |
size | 1495 | 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 | 550 | drivers/char/ftape/ftape-read.c | ftape_last_segment.size = 0; |
size | 554 | drivers/char/ftape/ftape-read.c | ftape_last_segment.size += space; /* sectors free */ |
size | 555 | drivers/char/ftape/ftape-read.c | ftape_last_segment.free = (ftape_last_segment.size - |
size | 560 | 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 | 102 | drivers/char/ftape/kernel-interface.c | int __get_order(int size) |
size | 107 | drivers/char/ftape/kernel-interface.c | if (size <= (PAGE_SIZE << order)) |
size | 655 | drivers/char/istallion.c | static int stli_cmdwait(stlibrd_t *brdp, stliport_t *portp, unsigned long cmd, void *arg, int size, int copyback); |
size | 656 | drivers/char/istallion.c | static void stli_sendcmd(stlibrd_t *brdp, stliport_t *portp, unsigned long cmd, void *arg, int size, int copyback); |
size | 700 | drivers/char/istallion.c | static void *stli_mapbrdmem(unsigned long physaddr, unsigned int size); |
size | 1272 | drivers/char/istallion.c | static int stli_cmdwait(stlibrd_t *brdp, stliport_t *portp, unsigned long cmd, void *arg, int size, int copyback) |
size | 1277 | 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 | 1290 | drivers/char/istallion.c | stli_sendcmd(brdp, portp, cmd, arg, size, copyback); |
size | 1430 | drivers/char/istallion.c | unsigned int len, stlen, head, tail, size; |
size | 1493 | drivers/char/istallion.c | size = portp->txsize; |
size | 1495 | drivers/char/istallion.c | len = size - (head - tail) - 1; |
size | 1496 | drivers/char/istallion.c | stlen = size - head; |
size | 1513 | drivers/char/istallion.c | if (head >= size) { |
size | 1582 | drivers/char/istallion.c | unsigned int len, stlen, head, tail, size, count, cooksize; |
size | 1623 | drivers/char/istallion.c | size = portp->txsize; |
size | 1625 | drivers/char/istallion.c | len = size - (head - tail) - 1; |
size | 1626 | drivers/char/istallion.c | stlen = size - head; |
size | 1644 | drivers/char/istallion.c | if (head >= size) { |
size | 2273 | drivers/char/istallion.c | static void stli_sendcmd(stlibrd_t *brdp, stliport_t *portp, unsigned long cmd, void *arg, int size, int copyback) |
size | 2281 | 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 | 2295 | drivers/char/istallion.c | if (size > 0) { |
size | 2296 | drivers/char/istallion.c | memcpy((void *) &(cp->args[0]), arg, size); |
size | 2299 | drivers/char/istallion.c | portp->argsize = size; |
size | 2328 | drivers/char/istallion.c | unsigned int head, tail, size; |
size | 2346 | drivers/char/istallion.c | size = portp->rxsize; |
size | 2351 | drivers/char/istallion.c | len = size - (tail - head); |
size | 2352 | drivers/char/istallion.c | stlen = size - tail; |
size | 2368 | drivers/char/istallion.c | if (tail >= size) { |
size | 3397 | drivers/char/istallion.c | static void *stli_mapbrdmem(unsigned long physaddr, unsigned int size) |
size | 3403 | drivers/char/istallion.c | printk("stli_mapbrdmem(physaddr=%x,size=%x)\n", (int) physaddr, size); |
size | 3406 | drivers/char/istallion.c | if ((virtaddr = vmalloc(size)) == (char *) NULL) { |
size | 3407 | drivers/char/istallion.c | printk("STALLION: failed to allocate virtual address space, size=%x\n", size); |
size | 3410 | drivers/char/istallion.c | if ((rc = remap_page_range((TASK_SIZE + ((unsigned long) virtaddr)), physaddr, size, PAGE_IOMEM))) { |
size | 3789 | drivers/char/istallion.c | portp->rxsize = ap->rxq.size; |
size | 3790 | drivers/char/istallion.c | portp->txsize = ap->txq.size; |
size | 4157 | drivers/char/istallion.c | int brdnr, size, n; |
size | 4174 | drivers/char/istallion.c | size = MIN(count, (brdp->memsize - fp->f_pos)); |
size | 4179 | drivers/char/istallion.c | while (size > 0) { |
size | 4181 | drivers/char/istallion.c | n = MIN(size, (brdp->pagesize - (((unsigned long) fp->f_pos) % brdp->pagesize))); |
size | 4185 | drivers/char/istallion.c | size -= n; |
size | 4207 | drivers/char/istallion.c | int brdnr, size, n; |
size | 4225 | drivers/char/istallion.c | size = MIN(count, (brdp->memsize - fp->f_pos)); |
size | 4230 | drivers/char/istallion.c | while (size > 0) { |
size | 4232 | drivers/char/istallion.c | n = MIN(size, (brdp->pagesize - (((unsigned long) fp->f_pos) % brdp->pagesize))); |
size | 4236 | drivers/char/istallion.c | size -= n; |
size | 537 | drivers/char/lp.c | int base, size; |
size | 541 | drivers/char/lp.c | size = (base == 0x3bc)? 3 : 8; |
size | 542 | drivers/char/lp.c | if (check_region(base, size) < 0) |
size | 552 | drivers/char/lp.c | request_region(base, size, "lp"); |
size | 622 | drivers/char/lp.c | int base, size; |
size | 624 | drivers/char/lp.c | size = (base == 0x3bc)? 3 : 8; |
size | 626 | 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 | 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 | 1068 | drivers/char/stallion.c | unsigned int size; |
size | 1085 | drivers/char/stallion.c | size = (head >= tail) ? (head - tail) : (STL_TXBUFSIZE - (tail - head)); |
size | 1086 | drivers/char/stallion.c | if ((size == 0) && test_bit(ASYI_TXBUSY, &portp->istate)) |
size | 1087 | drivers/char/stallion.c | size = 1; |
size | 1088 | 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 | 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 | 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 | 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 | 558 | drivers/pci/pci.c | static int sprint_dev_config(struct pci_dev *dev, char *buf, int size) |
size | 578 | drivers/pci/pci.c | if (len + 80 > size) { |
size | 584 | drivers/pci/pci.c | if (len + 80 > size) { |
size | 603 | drivers/pci/pci.c | if (len + strlen(str) > size) { |
size | 610 | drivers/pci/pci.c | if (len + strlen(fast_b2b_capable) > size) { |
size | 619 | drivers/pci/pci.c | if (len + strlen(BIST_capable) > size) { |
size | 627 | drivers/pci/pci.c | if (len + 40 > size) { |
size | 634 | drivers/pci/pci.c | if (len + 80 > size) { |
size | 649 | drivers/pci/pci.c | if (len + 40 > size) { |
size | 701 | drivers/pci/pci.c | int nprinted, len, size; |
size | 706 | drivers/pci/pci.c | size = PAGE_SIZE - (strlen(MSG) + 1); |
size | 710 | drivers/pci/pci.c | nprinted = sprint_dev_config(dev, buf + len, size - len); |
size | 724 | drivers/pci/pci.c | static void *pci_malloc(long size, unsigned long *mem_startp) |
size | 729 | drivers/pci/pci.c | printk("...pci_malloc(size=%ld,mem=%p)", size, *mem_startp); |
size | 732 | drivers/pci/pci.c | *mem_startp += (size + sizeof(void*) - 1) & ~(sizeof(void*) - 1); |
size | 733 | drivers/pci/pci.c | memset(mem, 0, size); |
size | 260 | drivers/scsi/53c7,8xx.c | static int check_address (unsigned long addr, int size); |
size | 1180 | drivers/scsi/53c7,8xx.c | int script_len = 0, dsa_len = 0, size = 0, max_cmd_size = 0, |
size | 1250 | drivers/scsi/53c7,8xx.c | size = sizeof(struct NCR53c7x0_hostdata) + script_len + |
size | 1259 | drivers/scsi/53c7,8xx.c | instance = scsi_register (tpnt, size); |
size | 1269 | drivers/scsi/53c7,8xx.c | hostdata->size = size; |
size | 1329 | drivers/scsi/53c7,8xx.c | hostdata->free->size = max_cmd_size; |
size | 2884 | drivers/scsi/53c7,8xx.c | int size; |
size | 2888 | drivers/scsi/53c7,8xx.c | size = print_insn (host, (u32 *) |
size | 2890 | drivers/scsi/53c7,8xx.c | size = print_insn (host, (u32 *) |
size | 2891 | drivers/scsi/53c7,8xx.c | bus_to_virt(cmd->saved_data_pointer) + size, "", 1); |
size | 2925 | drivers/scsi/53c7,8xx.c | int size; |
size | 2933 | drivers/scsi/53c7,8xx.c | size = print_insn (host, (u32 *) bus_to_virt(dsp[1]), "", 1); |
size | 2934 | drivers/scsi/53c7,8xx.c | print_insn (host, (u32 *) bus_to_virt(dsp[1]) + size, "", 1); |
size | 3402 | drivers/scsi/53c7,8xx.c | int size; /* Size of *tmp */ |
size | 3435 | drivers/scsi/53c7,8xx.c | size = hostdata->max_cmd_size + sizeof (void *); |
size | 3437 | drivers/scsi/53c7,8xx.c | real = kmalloc (size, GFP_ATOMIC); |
size | 3441 | drivers/scsi/53c7,8xx.c | host->host_no, size); |
size | 3446 | drivers/scsi/53c7,8xx.c | tmp->size = size; |
size | 5336 | drivers/scsi/53c7,8xx.c | int size; |
size | 5351 | drivers/scsi/53c7,8xx.c | size = 0; |
size | 5366 | drivers/scsi/53c7,8xx.c | size = 3; |
size | 5369 | drivers/scsi/53c7,8xx.c | size = 2; |
size | 5381 | drivers/scsi/53c7,8xx.c | return size; |
size | 5763 | drivers/scsi/53c7,8xx.c | int size; |
size | 5767 | drivers/scsi/53c7,8xx.c | size = print_insn (cmd->host, |
size | 5770 | drivers/scsi/53c7,8xx.c | bus_to_virt(ncmd->saved_data_pointer) + size * sizeof(u32), |
size | 5941 | drivers/scsi/53c7,8xx.c | int i, size; |
size | 5976 | drivers/scsi/53c7,8xx.c | for (i = 6; i > 0; --i, dsp += size) |
size | 5977 | drivers/scsi/53c7,8xx.c | size = print_insn (host, dsp, "", 1); |
size | 6334 | drivers/scsi/53c7,8xx.c | check_address (unsigned long addr, int size) { |
size | 6335 | drivers/scsi/53c7,8xx.c | return (MAP_NR(addr) < 1 || MAP_NR(addr + size) > MAP_NR(high_memory) ? |
size | 6370 | 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 | 1047 | drivers/scsi/fdomain.c | unsigned long blocks, size, capacity; |
size | 1051 | drivers/scsi/fdomain.c | size = (buf[4] << 24) | (buf[5] << 16) | (buf[6] << 8) | buf[7]; |
size | 1052 | drivers/scsi/fdomain.c | capacity = +( +(blocks / 1024L) * +(size * 10L)) / 1024L; |
size | 1055 | drivers/scsi/fdomain.c | ((capacity + 5L) / 10L), size ); |
size | 1870 | drivers/scsi/fdomain.c | int size = disk->capacity; |
size | 2003 | drivers/scsi/fdomain.c | if ((unsigned int)size >= 0x7e0000U) { |
size | 2006 | drivers/scsi/fdomain.c | } else if ((unsigned int)size >= 0x200000U) { |
size | 2015 | drivers/scsi/fdomain.c | info_array[2] = (unsigned int)size / (info_array[0] * info_array[1] ); |
size | 280 | drivers/scsi/g_NCR5380.c | int size = disk->capacity; |
size | 283 | 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 | 2245 | drivers/scsi/scsi.c | void * scsi_init_malloc(unsigned int size, int priority) |
size | 2253 | drivers/scsi/scsi.c | if ((size % PAGE_SIZE) == 0) { |
size | 2256 | drivers/scsi/scsi.c | a_size < size; order++, a_size <<= 1) |
size | 2261 | drivers/scsi/scsi.c | retval = kmalloc(size, priority); |
size | 2264 | drivers/scsi/scsi.c | memset(retval, 0, size); |
size | 2269 | drivers/scsi/scsi.c | void scsi_init_free(char * ptr, unsigned int size) |
size | 2276 | drivers/scsi/scsi.c | if ((size % PAGE_SIZE) == 0) { |
size | 2280 | drivers/scsi/scsi.c | a_size < size; order++, a_size <<= 1) |
size | 2450 | drivers/scsi/scsi.c | int i,size, len = 0; |
size | 2458 | drivers/scsi/scsi.c | size = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none"); |
size | 2459 | drivers/scsi/scsi.c | len += size; |
size | 2463 | drivers/scsi/scsi.c | size += sprintf(buffer+len,"scsi%2d: %s\n", (int) HBA_ptr->host_no, |
size | 2465 | drivers/scsi/scsi.c | len += size; |
size | 2471 | drivers/scsi/scsi.c | proc_print_scsidevice(scd, buffer, &size, len); |
size | 2472 | drivers/scsi/scsi.c | len += size; |
size | 2547 | drivers/scsi/scsi.c | unsigned long size; |
size | 2622 | drivers/scsi/scsi.c | size = (new_dma_sectors / SECTORS_PER_PAGE)*sizeof(FreeSectorBitmap); |
size | 2623 | drivers/scsi/scsi.c | new_dma_malloc_freelist = (FreeSectorBitmap *) scsi_init_malloc(size, GFP_ATOMIC); |
size | 2624 | drivers/scsi/scsi.c | memset(new_dma_malloc_freelist, 0, size); |
size | 2626 | drivers/scsi/scsi.c | size = (new_dma_sectors / SECTORS_PER_PAGE)*sizeof(*new_dma_malloc_pages); |
size | 2627 | drivers/scsi/scsi.c | new_dma_malloc_pages = (unsigned char **) scsi_init_malloc(size, GFP_ATOMIC); |
size | 2628 | drivers/scsi/scsi.c | memset(new_dma_malloc_pages, 0, size); |
size | 2647 | drivers/scsi/scsi.c | size = (dma_sectors / SECTORS_PER_PAGE)*sizeof(FreeSectorBitmap); |
size | 2648 | drivers/scsi/scsi.c | memcpy(new_dma_malloc_freelist, dma_malloc_freelist, size); |
size | 2649 | drivers/scsi/scsi.c | scsi_init_free((char *) dma_malloc_freelist, size); |
size | 2655 | drivers/scsi/scsi.c | size = (dma_sectors / SECTORS_PER_PAGE)*sizeof(*dma_malloc_pages); |
size | 2656 | drivers/scsi/scsi.c | memcpy(new_dma_malloc_pages, dma_malloc_pages, size); |
size | 2657 | drivers/scsi/scsi.c | scsi_init_free((char *) dma_malloc_pages, size); |
size | 3136 | drivers/scsi/scsi.c | unsigned long size; |
size | 3162 | drivers/scsi/scsi.c | size = (dma_sectors / SECTORS_PER_PAGE)*sizeof(FreeSectorBitmap); |
size | 3163 | drivers/scsi/scsi.c | dma_malloc_freelist = (unsigned char *) scsi_init_malloc(size, GFP_ATOMIC); |
size | 3164 | 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 | 1019 | drivers/sound/dmabuf.c | DMAbuf_getwrbuffer (int dev, char **buf, int *size, int dontblock) |
size | 1126 | drivers/sound/dmabuf.c | *size = dmap->fragment_size; |
size | 1711 | 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 | 239 | drivers/sound/soundcard.c | unsigned long size; |
size | 299 | drivers/sound/soundcard.c | size = vma_get_end (vma) - vma_get_start (vma); |
size | 301 | drivers/sound/soundcard.c | if (size != dmap->bytes_in_use) |
size | 304 | drivers/sound/soundcard.c | size, dmap->bytes_in_use); |
size | 646 | drivers/sound/soundcard.c | int sz, size; |
size | 648 | drivers/sound/soundcard.c | for (sz = 0, size = PAGE_SIZE; |
size | 649 | drivers/sound/soundcard.c | size < audio_devs[dev]->buffsize; |
size | 650 | 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 | 935 | fs/binfmt_elf.c | size_t size; |
size | 956 | fs/binfmt_elf.c | size = 0; |
size | 963 | fs/binfmt_elf.c | if (size+sz > limit) |
size | 967 | fs/binfmt_elf.c | size += sz; |
size | 970 | 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 | 1055 | fs/buffer.c | static struct buffer_head * create_buffers(unsigned long page, unsigned long size) |
size | 1062 | fs/buffer.c | while ((offset -= size) < PAGE_SIZE) { |
size | 1069 | fs/buffer.c | bh->b_size = size; |
size | 1086 | fs/buffer.c | int brw_page(int rw, unsigned long address, kdev_t dev, int b[], int size, int bmap) |
size | 1094 | fs/buffer.c | bh = create_buffers(address, size); |
size | 1117 | fs/buffer.c | memset(next->b_data, 0, size); |
size | 1121 | fs/buffer.c | tmp = get_hash_table(dev, block, size); |
size | 1129 | fs/buffer.c | memcpy(next->b_data, tmp->b_data, size); |
size | 1131 | fs/buffer.c | memcpy(tmp->b_data, next->b_data, size); |
size | 1278 | fs/buffer.c | static int grow_buffers(int pri, int size) |
size | 1285 | fs/buffer.c | if ((size & 511) || (size > PAGE_SIZE)) { |
size | 1286 | fs/buffer.c | printk("VFS: grow_buffers: size = %d\n",size); |
size | 1290 | fs/buffer.c | isize = BUFSIZE_INDEX(size); |
size | 1294 | fs/buffer.c | bh = create_buffers(page, size); |
size | 1419 | fs/buffer.c | static int maybe_shrink_lav_buffers(int size) |
size | 1442 | fs/buffer.c | isize = (size ? BUFSIZE_INDEX(size) : -1); |
size | 1469 | fs/buffer.c | static int shrink_specific_buffers(unsigned int priority, int size) |
size | 1476 | fs/buffer.c | if(size) printk("Shrinking buffers of size %d\n", size); |
size | 1480 | fs/buffer.c | isize1 = (size ? BUFSIZE_INDEX(size) : -1); |
size | 1520 | fs/buffer.c | if(size && bh->b_size != size) continue; |
size | 1657 | fs/buffer.c | unsigned int starting_block, int size) |
size | 1660 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 1667 | fs/buffer.c | while(nr_free[isize] < 32) refill_freelist(size); |
size | 1683 | fs/buffer.c | static unsigned long try_to_generate_cluster(kdev_t dev, int block, int size) |
size | 1686 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 1694 | fs/buffer.c | bh = create_buffers(page, size); |
size | 1700 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
size | 1701 | fs/buffer.c | if (find_buffer(dev, nblock++, size)) |
size | 1737 | fs/buffer.c | unsigned long generate_cluster(kdev_t dev, int b[], int size) |
size | 1741 | fs/buffer.c | for (i = 0, offset = 0 ; offset < PAGE_SIZE ; i++, offset += size) { |
size | 1743 | fs/buffer.c | if(find_buffer(dev, b[i], size)) return 0; |
size | 1750 | fs/buffer.c | if(maybe_shrink_lav_buffers(size)) |
size | 1753 | fs/buffer.c | retval = try_to_generate_cluster(dev, b[0], size); |
size | 1758 | fs/buffer.c | return try_to_generate_cluster(dev, b[0], size); |
size | 1760 | 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 | 449 | fs/fat/inode.c | inode->i_size = CF_LE_L(raw_entry->size); |
size | 489 | fs/fat/inode.c | raw_entry->size = 0; |
size | 493 | fs/fat/inode.c | raw_entry->size = CT_LE_L(inode->i_size); |
size | 492 | fs/isofs/inode.c | inode->i_size = isonum_733 (raw_inode->size); |
size | 680 | fs/isofs/inode.c | directory_size = isonum_733 (de->size); |
size | 780 | fs/isofs/inode.c | void * leak_check_malloc(unsigned int size){ |
size | 783 | fs/isofs/inode.c | tmp = kmalloc(size, GFP_KERNEL); |
size | 787 | fs/isofs/inode.c | void leak_check_free_s(void * obj, int size){ |
size | 789 | fs/isofs/inode.c | return kfree_s(obj, size); |
size | 792 | fs/isofs/inode.c | struct buffer_head * leak_check_bread(int dev, int block, int size){ |
size | 794 | 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 | 45 | fs/ncpfs/ioctl.c | || (request.size > |
size | 63 | fs/ncpfs/ioctl.c | server->current_size = request.size; |
size | 64 | 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 | 549 | fs/ncpfs/sock.c | ncp_do_request(struct ncp_server *server, int size) |
size | 564 | 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 | 279 | fs/nfs/inode.c | sattr.size = (unsigned) -1; |
size | 281 | fs/nfs/inode.c | sattr.size = S_ISREG(inode->i_mode) ? attr->ia_size : -1; |
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 | 735 | fs/nfs/proc.c | int size; |
size | 739 | fs/nfs/proc.c | size = server->rsize; |
size | 746 | fs/nfs/proc.c | *p++ = htonl(size); |
size | 51 | fs/nfs/sock.c | nfs_rpc_call(struct nfs_server *server, int *start, int *end, int size) |
size | 77 | fs/nfs/sock.c | start, size + 1024, |
size | 27 | fs/pipe.c | int chars = 0, size = 0, read = 0; |
size | 48 | fs/pipe.c | while (count>0 && (size = PIPE_SIZE(*inode))) { |
size | 52 | fs/pipe.c | if (chars > size) |
size | 53 | fs/pipe.c | chars = size; |
size | 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 | 162 | fs/read_write.c | const struct iovec * iov, long count, long size) |
size | 180 | fs/read_write.c | return sock->ops->recvmsg(sock, &msg, size, |
size | 185 | 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 | 870 | fs/vfat/namei.c | de->size = 0; |
size | 1044 | fs/vfat/namei.c | de->size = 0; |
size | 1447 | 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 | 26 | include/asm-alpha/floppy.h | #define fd_cacheflush(addr,size) /* nothing */ |
size | 122 | include/asm-alpha/hwrpb.h | unsigned long size; /* size of hwrpb */ |
size | 39 | include/asm-alpha/ioctl.h | #define _IOC(dir,type,nr,size) \ |
size | 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 | 73 | include/asm-i386/bitops.h | extern __inline__ int find_first_zero_bit(void * addr, unsigned size) |
size | 77 | include/asm-i386/bitops.h | if (!size) |
size | 92 | include/asm-i386/bitops.h | :"c" ((size + 31) >> 5), "D" (addr), "b" (addr) |
size | 97 | 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 | 589 | include/asm-i386/string.h | extern inline void * memscan(void * addr, int c, size_t size) |
size | 591 | include/asm-i386/string.h | if (!size) |
size | 598 | include/asm-i386/string.h | : "=D" (addr), "=c" (size) |
size | 599 | 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, volatile 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 | 435 | include/linux/cdk.h | unsigned short size; |
size | 13 | include/linux/fd.h | unsigned int size, /* nr of sectors total */ |
size | 513 | include/linux/fs.h | extern void refill_freelist(int size); |
size | 576 | include/linux/fs.h | extern struct buffer_head * get_hash_table(kdev_t dev, int block, int size); |
size | 577 | include/linux/fs.h | extern struct buffer_head * getblk(kdev_t dev, int block, int size); |
size | 594 | include/linux/fs.h | extern void set_blocksize(kdev_t dev, int size); |
size | 595 | include/linux/fs.h | extern struct buffer_head * bread(kdev_t dev, int block, int size); |
size | 596 | include/linux/fs.h | extern struct buffer_head * breada(kdev_t dev,int block, int size, |
size | 605 | 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 | 26 | include/linux/loop.h | char *raw_buf, char *loop_buf, int size); |
size | 36 | 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 | 189 | include/linux/mm.h | extern int zap_page_range(struct mm_struct *mm, unsigned long address, unsigned long size); |
size | 191 | include/linux/mm.h | extern int remap_page_range(unsigned long from, unsigned long to, unsigned long size, pgprot_t prot); |
size | 192 | include/linux/mm.h | extern int zeromap_page_range(unsigned long from, unsigned long size, pgprot_t prot); |
size | 207 | include/linux/mm.h | extern void * vmalloc(unsigned long size); |
size | 208 | 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 | 89 | include/linux/ncp_fs.h | ncp_kmalloc(unsigned int size, int priority) |
size | 93 | include/linux/ncp_fs.h | return kmalloc(size, priority); |
size | 97 | include/linux/ncp_fs.h | ncp_kfree_s(void *obj, int size) |
size | 100 | 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 | 101 | include/linux/nfs_fs.h | extern int nfs_rpc_call(struct nfs_server *server, int *start, int *end, int size); |
size | 167 | include/linux/proc_fs.h | unsigned long size; |
size | 219 | 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 | 147 | include/linux/skbuff.h | extern struct sk_buff * alloc_skb(unsigned int size, int priority); |
size | 148 | include/linux/skbuff.h | extern struct sk_buff * dev_alloc_skb(unsigned int size); |
size | 451 | include/linux/skbuff.h | extern void skb_copy_datagram(struct sk_buff *from, int offset, char *to,int size); |
size | 452 | 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 | 618 | include/linux/soundcard.h | int size; |
size | 451 | include/net/sock.h | unsigned long size, int force, |
size | 454 | include/net/sock.h | unsigned long size, int force, |
size | 471 | 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 | 144 | kernel/module.c | sys_create_module(char *module_name, unsigned long size) |
size | 155 | kernel/module.c | if (module_name == NULL || size == 0) |
size | 168 | kernel/module.c | npages = (size + sizeof (long) + PAGE_SIZE - 1) / PAGE_SIZE; |
size | 178 | kernel/module.c | mp->size = npages; |
size | 187 | kernel/module.c | mp->name, (unsigned long) mp->size, (unsigned long) mp->addr)); |
size | 239 | kernel/module.c | if ((codesize + sizeof (long) + PAGE_SIZE - 1) / PAGE_SIZE > mp->size) |
size | 243 | kernel/module.c | mp->size * PAGE_SIZE - (codesize + sizeof (long))); |
size | 252 | kernel/module.c | int size; |
size | 256 | kernel/module.c | if ((error = verify_area(VERIFY_READ, &symtab->size, sizeof(symtab->size)))) |
size | 258 | kernel/module.c | size = get_user(&symtab->size); |
size | 260 | kernel/module.c | if ((newtab = (struct symbol_table*) kmalloc(size, GFP_KERNEL)) == NULL) { |
size | 264 | kernel/module.c | if ((error = verify_area(VERIFY_READ, symtab, size))) { |
size | 265 | kernel/module.c | kfree_s(newtab, size); |
size | 268 | kernel/module.c | memcpy_fromfs((char *)(newtab), symtab, size); |
size | 275 | kernel/module.c | if ((newtab->n_symbols < 0) || (newtab->n_refs < 0) || (legal_start > size)) { |
size | 278 | kernel/module.c | kfree_s(newtab, size); |
size | 284 | kernel/module.c | if ((unsigned long)sym->name < legal_start || size <= (unsigned long)sym->name) { |
size | 286 | kernel/module.c | kfree_s(newtab, size); |
size | 527 | kernel/module.c | if (mp->symtab->size) |
size | 528 | kernel/module.c | kfree_s(mp->symtab, mp->symtab->size); |
size | 550 | kernel/module.c | char size[32]; |
size | 558 | kernel/module.c | if (*q == '\0' && mp->size == 0 && mp->ref == NULL) |
size | 565 | kernel/module.c | sprintf(size, "%d", mp->size); |
size | 566 | kernel/module.c | i -= strlen(size); |
size | 571 | kernel/module.c | q = size; |
size | 598 | kernel/module.c | sprintf(size,"\t%ld%s", |
size | 602 | kernel/module.c | q = size; |
size | 694 | kernel/module.c | int size; |
size | 759 | kernel/module.c | if (oldtab->size > 0) |
size | 760 | kernel/module.c | kfree_s(oldtab, oldtab->size); |
size | 775 | kernel/module.c | size = SYMSIZ + intab->n_symbols * INTSIZ + |
size | 786 | kernel/module.c | newtab->size = size; |
size | 813 | kernel/module.c | if (oldtab->size > 0) |
size | 814 | kernel/module.c | kfree_s(oldtab, oldtab->size); |
size | 391 | 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 | 503 | mm/filemap.c | unsigned long size, result; |
size | 523 | mm/filemap.c | size = offset + PAGE_SIZE; |
size | 526 | mm/filemap.c | if (size > inode->i_size) |
size | 527 | mm/filemap.c | size = inode->i_size; |
size | 529 | mm/filemap.c | if (size < offset) |
size | 532 | mm/filemap.c | size -= offset; |
size | 541 | mm/filemap.c | result = file.f_op->write(inode, &file, (const char *) page, size); |
size | 543 | mm/filemap.c | if (result != size) |
size | 631 | mm/filemap.c | unsigned long address, unsigned long size, |
size | 648 | mm/filemap.c | end = address + size; |
size | 661 | mm/filemap.c | unsigned long address, unsigned long size, |
size | 678 | mm/filemap.c | end = address + size; |
size | 691 | mm/filemap.c | size_t size, unsigned int flags) |
size | 694 | mm/filemap.c | unsigned long end = address + size; |
size | 703 | mm/filemap.c | invalidate_range(vma->vm_mm, end - size, end); |
size | 81 | mm/kmalloc.c | int size; |
size | 136 | mm/kmalloc.c | #define BLOCKSIZE(order) (sizes[order].size) |
size | 164 | mm/kmalloc.c | int get_order(int size) |
size | 169 | mm/kmalloc.c | size += sizeof(struct block_header); |
size | 171 | mm/kmalloc.c | if (size <= BLOCKSIZE(order)) |
size | 176 | mm/kmalloc.c | void *kmalloc(size_t size, int priority) |
size | 184 | mm/kmalloc.c | order = get_order(size); |
size | 186 | mm/kmalloc.c | printk("kmalloc of too large a block (%d bytes).\n", (int) size); |
size | 272 | mm/kmalloc.c | sizes[order].nbytesmalloced += size; |
size | 274 | mm/kmalloc.c | p->bh_length = size; |
size | 276 | mm/kmalloc.c | memset(p+1, 0xf0, size); |
size | 283 | mm/kmalloc.c | int size; |
size | 308 | mm/kmalloc.c | size = p->bh_length; |
size | 311 | mm/kmalloc.c | memset(p+1, 0xe0, size); |
size | 342 | mm/kmalloc.c | sizes[order].nbytesmalloced -= size; |
size | 217 | 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 | 236 | mm/memory.c | end = address + size; |
size | 249 | 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 | 269 | mm/memory.c | end = address + size; |
size | 326 | mm/memory.c | static inline void zap_pte_range(pmd_t * pmd, unsigned long address, unsigned long size) |
size | 340 | mm/memory.c | end = address + size; |
size | 352 | mm/memory.c | static inline void zap_pmd_range(pgd_t * dir, unsigned long address, unsigned long size) |
size | 366 | mm/memory.c | end = address + size; |
size | 379 | mm/memory.c | int zap_page_range(struct mm_struct *mm, unsigned long address, unsigned long size) |
size | 382 | mm/memory.c | unsigned long end = address + size; |
size | 390 | mm/memory.c | invalidate_range(mm, end - size, end); |
size | 394 | mm/memory.c | static inline void zeromap_pte_range(pte_t * pte, unsigned long address, unsigned long size, pte_t zero_pte) |
size | 399 | mm/memory.c | end = address + size; |
size | 411 | mm/memory.c | static inline int zeromap_pmd_range(pmd_t * pmd, unsigned long address, unsigned long size, pte_t zero_pte) |
size | 416 | mm/memory.c | end = address + size; |
size | 430 | mm/memory.c | int zeromap_page_range(unsigned long address, unsigned long size, pgprot_t prot) |
size | 435 | mm/memory.c | unsigned long end = address + size; |
size | 460 | mm/memory.c | static inline void remap_pte_range(pte_t * pte, unsigned long address, unsigned long size, |
size | 466 | mm/memory.c | end = address + size; |
size | 481 | mm/memory.c | static inline int remap_pmd_range(pmd_t * pmd, unsigned long address, unsigned long size, |
size | 487 | mm/memory.c | end = address + size; |
size | 502 | mm/memory.c | int remap_page_range(unsigned long from, unsigned long offset, unsigned long size, pgprot_t prot) |
size | 507 | mm/memory.c | unsigned long end = from + size; |
size | 667 | mm/memory.c | int verify_area(int type, const void * addr, unsigned long size) |
size | 676 | mm/memory.c | if (!size || get_fs() == get_ds()) |
size | 696 | mm/memory.c | if (vma->vm_end - start >= size) |
size | 710 | mm/memory.c | if (vma->vm_end - start >= size) |
size | 721 | mm/memory.c | size--; |
size | 722 | mm/memory.c | size += start & ~PAGE_MASK; |
size | 723 | mm/memory.c | size >>= PAGE_SHIFT; |
size | 728 | mm/memory.c | if (!size) |
size | 730 | 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 | 146 | mm/page_alloc.c | do { unsigned long size = PAGE_SIZE << high; \ |
size | 148 | mm/page_alloc.c | high--; size >>= 1; cli(); \ |
size | 152 | mm/page_alloc.c | addr = (struct mem_list *) (size + (unsigned long) addr); \ |
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 | 111 | mm/vmalloc.c | static inline int alloc_area_pte(pte_t * pte, unsigned long address, unsigned long size) |
size | 116 | mm/vmalloc.c | end = address + size; |
size | 133 | mm/vmalloc.c | static inline int alloc_area_pmd(pmd_t * pmd, unsigned long address, unsigned long size) |
size | 138 | mm/vmalloc.c | end = address + size; |
size | 153 | mm/vmalloc.c | static int alloc_area_pages(unsigned long address, unsigned long size) |
size | 156 | mm/vmalloc.c | unsigned long end = address + size; |
size | 173 | mm/vmalloc.c | static inline void remap_area_pte(pte_t * pte, unsigned long address, unsigned long size, |
size | 179 | mm/vmalloc.c | end = address + size; |
size | 192 | mm/vmalloc.c | static inline int remap_area_pmd(pmd_t * pmd, unsigned long address, unsigned long size, |
size | 198 | mm/vmalloc.c | end = address + size; |
size | 213 | mm/vmalloc.c | static int remap_area_pages(unsigned long address, unsigned long offset, unsigned long size) |
size | 216 | mm/vmalloc.c | unsigned long end = address + size; |
size | 234 | mm/vmalloc.c | static struct vm_struct * get_vm_area(unsigned long size) |
size | 243 | mm/vmalloc.c | area->size = size + PAGE_SIZE; |
size | 246 | mm/vmalloc.c | if (size + (unsigned long) addr < (unsigned long) tmp->addr) |
size | 248 | mm/vmalloc.c | addr = (void *) (tmp->size + (unsigned long) tmp->addr); |
size | 269 | mm/vmalloc.c | free_area_pages(VMALLOC_VMADDR(tmp->addr), tmp->size); |
size | 277 | mm/vmalloc.c | void * vmalloc(unsigned long size) |
size | 282 | mm/vmalloc.c | size = PAGE_ALIGN(size); |
size | 283 | mm/vmalloc.c | if (!size || size > (MAP_NR(high_memory) << PAGE_SHIFT)) |
size | 285 | mm/vmalloc.c | area = get_vm_area(size); |
size | 289 | mm/vmalloc.c | if (alloc_area_pages(VMALLOC_VMADDR(addr), size)) { |
size | 301 | mm/vmalloc.c | void * vremap(unsigned long offset, unsigned long size) |
size | 310 | mm/vmalloc.c | size = PAGE_ALIGN(size); |
size | 311 | mm/vmalloc.c | if (!size || size > offset + size) |
size | 313 | mm/vmalloc.c | area = get_vm_area(size); |
size | 317 | mm/vmalloc.c | if (remap_area_pages(VMALLOC_VMADDR(addr), offset, size)) { |
size | 337 | 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 | 1611 | net/appletalk/ddp.c | int size; |
size | 1656 | net/appletalk/ddp.c | size=sizeof(struct ddpehdr)+len+ddp_dl->header_length; /* For headers */ |
size | 1677 | net/appletalk/ddp.c | printk("SK %p: Size needed %d, device %s\n", sk, size, dev->name); |
size | 1679 | net/appletalk/ddp.c | size += dev->hard_header_len; |
size | 1681 | net/appletalk/ddp.c | skb = sock_alloc_send_skb(sk, size, 0, 0 , &err); |
size | 1790 | net/appletalk/ddp.c | static int atalk_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, int flags, int *addr_len) |
size | 1813 | net/appletalk/ddp.c | if(copied > size) |
size | 1814 | net/appletalk/ddp.c | copied=size; |
size | 1820 | net/appletalk/ddp.c | if (copied > size) |
size | 1821 | net/appletalk/ddp.c | copied = size; |
size | 1775 | net/ax25/af_ax25.c | int size; |
size | 1841 | net/ax25/af_ax25.c | size = len + 3 + size_ax25_addr(dp) + AX25_BPQ_HEADER_LEN; |
size | 1843 | net/ax25/af_ax25.c | if ((skb = sock_alloc_send_skb(sk, size, 0, 0, &err)) == NULL) |
size | 1850 | net/ax25/af_ax25.c | skb_reserve(skb, size - len); |
size | 1905 | 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 | 1941 | net/ax25/af_ax25.c | copied = (size < length) ? size : length; |
size | 2274 | net/ax25/af_ax25.c | int size; |
size | 2283 | net/ax25/af_ax25.c | size = skb->len; |
size | 2287 | net/ax25/af_ax25.c | *ptr++ = (size + 5) % 256; |
size | 2288 | net/ax25/af_ax25.c | *ptr++ = (size + 5) / 256; |
size | 161 | net/core/datagram.c | void skb_copy_datagram(struct sk_buff *skb, int offset, char *to, int size) |
size | 163 | net/core/datagram.c | memcpy_tofs(to,skb->h.raw+offset,size); |
size | 171 | net/core/datagram.c | void skb_copy_datagram_iovec(struct sk_buff *skb, int offset, struct iovec *to, int size) |
size | 173 | net/core/datagram.c | memcpy_toiovec(to,skb->h.raw+offset,size); |
size | 849 | net/core/dev.c | int size; |
size | 852 | net/core/dev.c | size = sprintf(buffer, "%6s:%7d %4d %4d %4d %4d %8d %4d %4d %4d %5d %4d\n", |
size | 864 | net/core/dev.c | size = sprintf(buffer, "%6s: No statistics available.\n", dev->name); |
size | 866 | net/core/dev.c | return size; |
size | 879 | net/core/dev.c | int size; |
size | 884 | net/core/dev.c | size = sprintf(buffer, "Inter-| Receive | Transmit\n" |
size | 887 | net/core/dev.c | pos+=size; |
size | 888 | net/core/dev.c | len+=size; |
size | 893 | net/core/dev.c | size = sprintf_stats(buffer+len, dev); |
size | 894 | net/core/dev.c | len+=size; |
size | 517 | net/core/skbuff.c | struct sk_buff *alloc_skb(unsigned int size,int priority) |
size | 520 | net/core/skbuff.c | int len=size; |
size | 533 | net/core/skbuff.c | size=(size+15)&~15; /* Allow for alignments. Make a multiple of 16 bytes */ |
size | 534 | net/core/skbuff.c | size+=sizeof(struct sk_buff); /* And stick the control itself on the end */ |
size | 540 | net/core/skbuff.c | bptr=(unsigned char *)kmalloc(size,priority); |
size | 559 | net/core/skbuff.c | skb=(struct sk_buff *)(bptr+size)-1; |
size | 570 | net/core/skbuff.c | skb->truesize=size; |
size | 328 | net/core/sock.c | struct sk_buff *sock_wmalloc(struct sock *sk, unsigned long size, int force, int priority) |
size | 332 | net/core/sock.c | if (sk->wmem_alloc + size < sk->sndbuf || force) |
size | 334 | net/core/sock.c | struct sk_buff * c = alloc_skb(size, priority); |
size | 347 | net/core/sock.c | return(alloc_skb(size, priority)); |
size | 351 | net/core/sock.c | struct sk_buff *sock_rmalloc(struct sock *sk, unsigned long size, int force, int priority) |
size | 355 | net/core/sock.c | if (sk->rmem_alloc + size < sk->rcvbuf || force) |
size | 357 | net/core/sock.c | struct sk_buff *c = alloc_skb(size, priority); |
size | 370 | net/core/sock.c | return(alloc_skb(size, priority)); |
size | 447 | 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 | 471 | net/core/sock.c | skb = sock_wmalloc(sk, size, 0, sk->allocation); |
size | 476 | net/core/sock.c | skb = sock_wmalloc(sk, size, 0 , GFP_BUFFER); |
size | 520 | net/core/sock.c | if (sk->wmem_alloc + size >= sk->sndbuf) |
size | 144 | net/ipv4/af_inet.c | int size = 32767; /* a big num. */ |
size | 172 | net/ipv4/af_inet.c | if (j < size) |
size | 175 | net/ipv4/af_inet.c | size = j; |
size | 1113 | net/ipv4/af_inet.c | static int inet_recvmsg(struct socket *sock, struct msghdr *ubuf, int size, int noblock, |
size | 1125 | net/ipv4/af_inet.c | return(sk->prot->recvmsg(sk, ubuf, size, noblock, flags,addr_len)); |
size | 1129 | net/ipv4/af_inet.c | static int inet_sendmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, |
size | 1145 | net/ipv4/af_inet.c | return(sk->prot->sendmsg(sk, msg, size, noblock, flags)); |
size | 1324 | net/ipv4/arp.c | int size; |
size | 1330 | net/ipv4/arp.c | size = sprintf(buffer,"IP address HW type Flags HW address Mask Device\n"); |
size | 1332 | net/ipv4/arp.c | pos+=size; |
size | 1333 | net/ipv4/arp.c | len+=size; |
size | 1367 | net/ipv4/arp.c | size = sprintf(buffer+len, |
size | 1374 | net/ipv4/arp.c | size += sprintf(buffer+len+size, |
size | 1379 | net/ipv4/arp.c | size += sprintf(buffer+len+size, |
size | 1387 | net/ipv4/arp.c | len += size; |
size | 1388 | net/ipv4/arp.c | pos += size; |
size | 74 | net/ipv4/ip_fragment.c | extern __inline__ void *frag_kmalloc(int size, int pri) |
size | 77 | net/ipv4/ip_fragment.c | void *vp=kmalloc(size,pri); |
size | 82 | net/ipv4/ip_fragment.c | ip_frag_mem+=size; |
size | 815 | net/ipv4/ip_fw.c | int size; |
size | 872 | net/ipv4/ip_fw.c | size = skb->len - ((unsigned char *)portptr - skb->h.raw); |
size | 883 | net/ipv4/ip_fw.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
size | 894 | net/ipv4/ip_fw.c | size = skb->len - ((unsigned char *)portptr-skb->h.raw); |
size | 908 | net/ipv4/ip_fw.c | skb->csum = csum_partial((void *)(th + 1), size - sizeof(*th), 0); |
size | 909 | net/ipv4/ip_fw.c | tcp_send_check(th,iph->saddr,iph->daddr,size,skb); |
size | 968 | net/ipv4/ip_fw.c | int size = skb->len - ((unsigned char *)portptr - skb->h.raw); |
size | 984 | net/ipv4/ip_fw.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
size | 1015 | net/ipv4/ip_fw.c | size - sizeof(struct tcphdr), 0); |
size | 1016 | net/ipv4/ip_fw.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 | 1164 | net/ipx/af_ipx.c | int size; |
size | 1185 | net/ipx/af_ipx.c | size=sizeof(ipx_packet)+len; |
size | 1186 | net/ipx/af_ipx.c | size += ipx_offset; |
size | 1188 | net/ipx/af_ipx.c | skb=sock_alloc_send_skb(sk, size, 0, 0, &err); |
size | 2029 | net/ipx/af_ipx.c | static int ipx_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, |
size | 2056 | 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 | 76 | net/socket.c | int size); |
size | 78 | net/socket.c | int size); |
size | 322 | net/socket.c | static int sock_read(struct inode *inode, struct file *file, char *ubuf, int size) |
size | 333 | net/socket.c | if(size<0) |
size | 335 | net/socket.c | if(size==0) /* Match SYS5 behaviour */ |
size | 337 | net/socket.c | if ((err=verify_area(VERIFY_WRITE,ubuf,size))<0) |
size | 344 | net/socket.c | iov.iov_len=size; |
size | 346 | net/socket.c | return(sock->ops->recvmsg(sock, &msg, size,(file->f_flags & O_NONBLOCK), 0,&msg.msg_namelen)); |
size | 354 | net/socket.c | static int sock_write(struct inode *inode, struct file *file, const char *ubuf, int size) |
size | 366 | net/socket.c | if(size<0) |
size | 368 | net/socket.c | if(size==0) /* Match SYS5 behaviour */ |
size | 371 | net/socket.c | if ((err=verify_area(VERIFY_READ,ubuf,size))<0) |
size | 379 | net/socket.c | iov.iov_len=size; |
size | 381 | net/socket.c | return(sock->ops->sendmsg(sock, &msg, size,(file->f_flags & O_NONBLOCK),0)); |
size | 938 | net/socket.c | asmlinkage int sys_recv(int fd, void * ubuf, int size, unsigned flags) |
size | 952 | net/socket.c | if(size<0) |
size | 954 | net/socket.c | if(size==0) |
size | 956 | net/socket.c | err=verify_area(VERIFY_WRITE, ubuf, size); |
size | 965 | net/socket.c | iov.iov_len=size; |
size | 967 | net/socket.c | return(sock->ops->recvmsg(sock, &msg, size,(file->f_flags & O_NONBLOCK), flags,&msg.msg_namelen)); |
size | 976 | net/socket.c | asmlinkage int sys_recvfrom(int fd, void * ubuf, int size, unsigned flags, |
size | 990 | net/socket.c | if(size<0) |
size | 992 | net/socket.c | if(size==0) |
size | 995 | net/socket.c | err=verify_area(VERIFY_WRITE,ubuf,size); |
size | 1002 | net/socket.c | iov.iov_len=size; |
size | 1006 | net/socket.c | size=sock->ops->recvmsg(sock, &msg, size, (file->f_flags & O_NONBLOCK), |
size | 1009 | net/socket.c | if(size<0) |
size | 1010 | net/socket.c | return size; |
size | 1014 | net/socket.c | return size; |
size | 880 | net/unix/af_unix.c | int err,size; |
size | 942 | net/unix/af_unix.c | size=len-sent; |
size | 944 | 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 | 951 | net/unix/af_unix.c | size=(sk->sndbuf-sizeof(struct sk_buff))/2; |
size | 959 | net/unix/af_unix.c | if(size > 4000 && sock->type!=SOCK_DGRAM) |
size | 968 | net/unix/af_unix.c | skb=sock_alloc_send_skb(sk,size,limit,nonblock, &err); |
size | 980 | net/unix/af_unix.c | size=skb_tailroom(skb); /* If we dropped back on a limit then our skb is smaller */ |
size | 993 | net/unix/af_unix.c | memcpy_fromiovec(skb_put(skb,size),msg->msg_iov, size); |
size | 1029 | net/unix/af_unix.c | other->data_ready(other,size); |
size | 1030 | net/unix/af_unix.c | sent+=size; |
size | 1050 | 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 | 1098 | net/unix/af_unix.c | if (copied == size) |
size | 1130 | net/unix/af_unix.c | num=min(skb->len,size-copied); |