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 | 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 | 115 | arch/alpha/kernel/bios32.c | unsigned int base, mask, size, reg; |
size | 146 | arch/alpha/kernel/bios32.c | size = (mask & base) & 0xffffffff; |
size | 148 | arch/alpha/kernel/bios32.c | alignto = MAX(0x400, size) ; |
size | 150 | arch/alpha/kernel/bios32.c | io_base = base + size; |
size | 162 | arch/alpha/kernel/bios32.c | size = (mask & base) & 0xffffffff; |
size | 209 | arch/alpha/kernel/bios32.c | alignto = MAX(0x1000, size) ; |
size | 211 | arch/alpha/kernel/bios32.c | if (size > 7 * 16*MB) { |
size | 217 | arch/alpha/kernel/bios32.c | PCI_FUNC(dev->devfn), size); |
size | 224 | arch/alpha/kernel/bios32.c | if (base / (128*MB) != (base + size) / (128*MB)) { |
size | 230 | 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 | 281 | arch/alpha/kernel/traps.c | long dir, size; |
size | 309 | arch/alpha/kernel/traps.c | size = 4; |
size | 312 | arch/alpha/kernel/traps.c | size = 8; |
size | 314 | 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 | 382 | arch/i386/kernel/smp.c | int size=(num_processors-1)*PAGE_SIZE; /* Number of stacks needed */ |
size | 388 | arch/i386/kernel/smp.c | if(mem_base+size>=0x9F000) |
size | 391 | 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 | 547 | arch/sparc/mm/srmmu.c | srmmu_init_alloc(unsigned long *kbrk, unsigned size) |
size | 549 | arch/sparc/mm/srmmu.c | register unsigned mask = size - 1; |
size | 552 | arch/sparc/mm/srmmu.c | if(size==0) return 0x0; |
size | 553 | arch/sparc/mm/srmmu.c | if(size & mask) { |
size | 558 | arch/sparc/mm/srmmu.c | *kbrk = ret + size; |
size | 559 | arch/sparc/mm/srmmu.c | memset((void*) ret, 0, size); |
size | 541 | arch/sparc/mm/sun4c.c | inline char *sun4c_lockarea(char *vaddr, unsigned long size) |
size | 546 | arch/sparc/mm/sun4c.c | unsigned long last_seg = ((orig_addr + size) & SUN4C_REAL_PGDIR_MASK); |
size | 559 | arch/sparc/mm/sun4c.c | inline void sun4c_unlockarea(char *vaddr, unsigned long size) |
size | 564 | arch/sparc/mm/sun4c.c | unsigned long last_seg = ((orig_addr + size) & SUN4C_REAL_PGDIR_MASK); |
size | 181 | arch/sparc/prom/tree.c | prom_setprop(int node, char *pname, char *value, int size) |
size | 183 | arch/sparc/prom/tree.c | if(size == 0) return 0; |
size | 185 | 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 | 2178 | drivers/block/floppy.c | floppy_sizes[TOMINOR(current_drive) ]= floppy->size>>1; |
size | 2187 | drivers/block/floppy.c | floppy_sizes[TOMINOR(current_drive)] = floppy->size >> 1; |
size | 2207 | drivers/block/floppy.c | int size; |
size | 2211 | drivers/block/floppy.c | size = CURRENT->current_nr_sectors << 9; |
size | 2216 | drivers/block/floppy.c | while (bh && bh->b_data == base + size){ |
size | 2217 | drivers/block/floppy.c | size += bh->b_size; |
size | 2221 | drivers/block/floppy.c | return size >> 9; |
size | 2246 | drivers/block/floppy.c | int size; |
size | 2277 | drivers/block/floppy.c | size = CURRENT->current_nr_sectors << 9; |
size | 2281 | drivers/block/floppy.c | SUPBOUND(size, remaining); |
size | 2283 | drivers/block/floppy.c | if (dma_buffer + size > |
size | 2302 | drivers/block/floppy.c | fd_cacheflush(dma_buffer, size); |
size | 2303 | drivers/block/floppy.c | memcpy(buffer, dma_buffer, size); |
size | 2305 | drivers/block/floppy.c | memcpy(dma_buffer, buffer, size); |
size | 2306 | drivers/block/floppy.c | fd_cacheflush(dma_buffer, size); |
size | 2308 | drivers/block/floppy.c | remaining -= size; |
size | 2312 | drivers/block/floppy.c | dma_buffer += size; |
size | 2320 | drivers/block/floppy.c | size = bh->b_size; |
size | 2749 | drivers/block/floppy.c | static int fd_copyout(void *param, const void *address, int size) |
size | 2753 | drivers/block/floppy.c | ECALL(verify_area(VERIFY_WRITE,param,size)); |
size | 2754 | drivers/block/floppy.c | fd_cacheflush(address, size); /* is this necessary ??? */ |
size | 2757 | drivers/block/floppy.c | memcpy_tofs(param,(void *) address, size); |
size | 2761 | drivers/block/floppy.c | static int fd_copyin(void *param, void *address, int size) |
size | 2765 | drivers/block/floppy.c | ECALL(verify_area(VERIFY_READ,param,size)); |
size | 2766 | drivers/block/floppy.c | memcpy_fromfs((void *) address, param, size); |
size | 3050 | drivers/block/floppy.c | floppy_type[type].size>>1; |
size | 3069 | drivers/block/floppy.c | floppy_sizes[drive] = user_params[drive].size >> 1; |
size | 3120 | drivers/block/floppy.c | static inline int normalize_0x02xx_ioctl(int *cmd, int *size) |
size | 3126 | drivers/block/floppy.c | *size = _IOC_SIZE(*cmd); |
size | 3128 | drivers/block/floppy.c | if (*size > _IOC_SIZE(*cmd)) { |
size | 3138 | drivers/block/floppy.c | static inline int xlate_0x00xx_ioctl(int *cmd, int *size) |
size | 3155 | drivers/block/floppy.c | *size = translation_table[i].oldsize; |
size | 3175 | drivers/block/floppy.c | int size; |
size | 3193 | drivers/block/floppy.c | ECALL(normalize_0x02xx_ioctl(&cmd, &size)); |
size | 3195 | drivers/block/floppy.c | ECALL(xlate_0x00xx_ioctl(&cmd, &size)); |
size | 3206 | drivers/block/floppy.c | ECALL(verify_area(VERIFY_WRITE,(void *) param, size)); |
size | 3211 | drivers/block/floppy.c | ECALL(fd_copyin((void *)param, &inparam, size)) |
size | 3268 | drivers/block/floppy.c | SUPBOUND(size,strlen(outparam)+1); |
size | 3312 | drivers/block/floppy.c | return fd_copyout((void *)param, outparam, size); |
size | 3576 | drivers/block/floppy.c | int size = floppy_blocksizes[MINOR(dev)]; |
size | 3577 | drivers/block/floppy.c | if (!size) |
size | 3578 | drivers/block/floppy.c | size = 1024; |
size | 3579 | drivers/block/floppy.c | if (!(bh = getblk(dev,0,size))){ |
size | 3847 | drivers/block/floppy.c | floppy_sizes[i] = floppy_type[ITYPE(i)].size >> 1; |
size | 83 | drivers/block/genhd.c | static void add_partition (struct gendisk *hd, int minor, int start, int size) |
size | 86 | drivers/block/genhd.c | hd->part[minor].nr_sects = 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 | 178 | drivers/block/triton.c | unsigned long size, addr, *table = HWIF(drive)->dmatable; |
size | 193 | drivers/block/triton.c | size = drive->tape.pc->request_transfer; |
size | 196 | drivers/block/triton.c | size = rq->nr_sectors << 9; |
size | 200 | drivers/block/triton.c | size = bh->b_size; |
size | 202 | drivers/block/triton.c | if ((addr + size) != virt_to_bus (bh->b_data)) |
size | 204 | drivers/block/triton.c | size += bh->b_size; |
size | 212 | drivers/block/triton.c | while (size) { |
size | 218 | drivers/block/triton.c | if (bcount > size) |
size | 219 | drivers/block/triton.c | bcount = size; |
size | 223 | 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 | 1181 | 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 | 232 | drivers/cdrom/mcdx.c | void *buffer, size_t size, |
size | 869 | drivers/cdrom/mcdx.c | void *buffer, size_t size, |
size | 899 | drivers/cdrom/mcdx.c | tries, timeout, size, (unsigned char) cmd[0])); |
size | 909 | drivers/cdrom/mcdx.c | size_t sz = size; |
size | 1067 | drivers/cdrom/mcdx.c | int size; |
size | 1069 | drivers/cdrom/mcdx.c | size = sizeof(*stuffp); |
size | 1074 | drivers/cdrom/mcdx.c | TRACE((MALLOC, "init() malloc %d bytes\n", size)); |
size | 1075 | drivers/cdrom/mcdx.c | if (!(stuffp = kmalloc(size, GFP_KERNEL))) { |
size | 1416 | drivers/cdrom/mcdx.c | int size; |
size | 1417 | drivers/cdrom/mcdx.c | size = sizeof(struct s_subqcode) * (stuffp->di.n_last - stuffp->di.n_first + 2); |
size | 1419 | drivers/cdrom/mcdx.c | TRACE((MALLOC, "ioctl() malloc %d bytes\n", size)); |
size | 1420 | drivers/cdrom/mcdx.c | stuffp->toc = kmalloc(size, GFP_KERNEL); |
size | 1422 | 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 | 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 | 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 | 158 | drivers/net/ni52.c | #define check_region(ioaddr, size) 0 |
size | 159 | drivers/net/ni52.c | #define request_region(ioaddr, size,name) do ; while (0) |
size | 172 | drivers/net/ni52.c | static int check586(struct device *dev,char *where,unsigned size); |
size | 247 | drivers/net/ni52.c | static int check586(struct device *dev,char *where,unsigned size) |
size | 253 | drivers/net/ni52.c | p->base = (unsigned long) where + size - 0x01000000; |
size | 254 | drivers/net/ni52.c | p->memtop = where + size; |
size | 350 | drivers/net/ni52.c | int i,size; |
size | 374 | drivers/net/ni52.c | size = 0x4000; /* check for 16K mem */ |
size | 375 | drivers/net/ni52.c | if(!check586(dev,(char *) dev->mem_start,size)) { |
size | 376 | drivers/net/ni52.c | size = 0x2000; /* check for 8K mem */ |
size | 377 | drivers/net/ni52.c | if(!check586(dev,(char *) dev->mem_start,size)) { |
size | 392 | drivers/net/ni52.c | size = 0x2000; /* check for 8K mem */ |
size | 393 | drivers/net/ni52.c | if(check586(dev,(char *)dev->mem_start,size)) /* 8K-check */ |
size | 395 | drivers/net/ni52.c | size = 0x4000; /* check for 16K mem */ |
size | 396 | drivers/net/ni52.c | if(check586(dev,(char *)dev->mem_start,size)) /* 16K-check */ |
size | 400 | drivers/net/ni52.c | dev->mem_end = dev->mem_start + size; /* set mem_end showed by 'ifconfig' */ |
size | 402 | drivers/net/ni52.c | ((struct priv *) (dev->priv))->base = dev->mem_start + size - 0x01000000; |
size | 406 | drivers/net/ni52.c | if(size == 0x2000) |
size | 411 | drivers/net/ni52.c | printk("Memaddr: 0x%lx, Memsize: %d, ",dev->mem_start,size); |
size | 722 | drivers/net/ni52.c | rbd[i].size = RECV_BUFF_SIZE; |
size | 1007 | drivers/net/ni52.c | p->xmit_buffs[0]->size = TBD_LAST | len; |
size | 1028 | drivers/net/ni52.c | p->xmit_buffs[0]->size = TBD_LAST | len; |
size | 1040 | drivers/net/ni52.c | p->xmit_buffs[p->xmit_count]->size = TBD_LAST | len; |
size | 144 | drivers/net/ni52.h | unsigned short size; /* size of this buffer */ |
size | 275 | drivers/net/ni52.h | unsigned short size; /* size + EOF-Flag(15) */ |
size | 58 | drivers/net/ni65.c | #define check_region(ioaddr, size) 0 |
size | 59 | drivers/net/ni65.c | #define request_region(ioaddr, size,name) do ; while (0) |
size | 579 | drivers/net/ppp.c | ppp_alloc_buf (int size, int type) |
size | 583 | drivers/net/ppp.c | buf = (struct ppp_buffer *) kmalloc (size + sizeof (struct ppp_buffer), |
size | 587 | drivers/net/ppp.c | buf->size = size - 1; /* Mask for the buffer size */ |
size | 707 | drivers/net/ppp.c | ppp->rbuf->size -= 80; /* reserve space for vj header expansion */ |
size | 1231 | drivers/net/ppp.c | if (buf->count < buf->size) { |
size | 1368 | drivers/net/ppp.c | current_idx &= ppp->ubuf->size; \ |
size | 1783 | drivers/net/ppp.c | ppp->ubuf->tail &= ppp->ubuf->size; \ |
size | 1881 | drivers/net/ppp.c | ppp->ubuf->tail &= ppp->ubuf->size; |
size | 1893 | drivers/net/ppp.c | ppp->ubuf->tail &= ppp->ubuf->size; |
size | 331 | drivers/net/sk_g16.c | #define check_region(ioaddr, size) 0 |
size | 332 | 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 | 543 | drivers/pci/pci.c | static int sprint_dev_config(struct pci_dev *dev, char *buf, int size) |
size | 563 | drivers/pci/pci.c | if (len + 80 > size) { |
size | 569 | drivers/pci/pci.c | if (len + 80 > size) { |
size | 588 | drivers/pci/pci.c | if (len + strlen(str) > size) { |
size | 595 | drivers/pci/pci.c | if (len + strlen(fast_b2b_capable) > size) { |
size | 604 | drivers/pci/pci.c | if (len + strlen(BIST_capable) > size) { |
size | 612 | drivers/pci/pci.c | if (len + 40 > size) { |
size | 619 | drivers/pci/pci.c | if (len + 80 > size) { |
size | 634 | drivers/pci/pci.c | if (len + 40 > size) { |
size | 686 | drivers/pci/pci.c | int nprinted, len, size; |
size | 691 | drivers/pci/pci.c | size = PAGE_SIZE - (strlen(MSG) + 1); |
size | 695 | drivers/pci/pci.c | nprinted = sprint_dev_config(dev, buf + len, size - len); |
size | 709 | drivers/pci/pci.c | static void *pci_malloc(long size, unsigned long *mem_startp) |
size | 714 | drivers/pci/pci.c | printk("...pci_malloc(size=%ld,mem=%p)", size, *mem_startp); |
size | 717 | drivers/pci/pci.c | *mem_startp += (size + sizeof(void*) - 1) & ~(sizeof(void*) - 1); |
size | 718 | 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 | 1037 | drivers/scsi/fdomain.c | unsigned long blocks, size, capacity; |
size | 1041 | drivers/scsi/fdomain.c | size = (buf[4] << 24) | (buf[5] << 16) | (buf[6] << 8) | buf[7]; |
size | 1042 | drivers/scsi/fdomain.c | capacity = +( +(blocks / 1024L) * +(size * 10L)) / 1024L; |
size | 1045 | drivers/scsi/fdomain.c | ((capacity + 5L) / 10L), size ); |
size | 1860 | drivers/scsi/fdomain.c | int size = disk->capacity; |
size | 1993 | drivers/scsi/fdomain.c | if ((unsigned int)size >= 0x7e0000U) { |
size | 1996 | drivers/scsi/fdomain.c | } else if ((unsigned int)size >= 0x200000U) { |
size | 2005 | 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 | 2240 | drivers/scsi/scsi.c | void * scsi_init_malloc(unsigned int size, int priority) |
size | 2248 | drivers/scsi/scsi.c | if ((size % PAGE_SIZE) == 0) { |
size | 2251 | drivers/scsi/scsi.c | a_size < size; order++, a_size <<= 1) |
size | 2256 | drivers/scsi/scsi.c | retval = kmalloc(size, priority); |
size | 2259 | drivers/scsi/scsi.c | memset(retval, 0, size); |
size | 2264 | drivers/scsi/scsi.c | void scsi_init_free(char * ptr, unsigned int size) |
size | 2271 | drivers/scsi/scsi.c | if ((size % PAGE_SIZE) == 0) { |
size | 2275 | drivers/scsi/scsi.c | a_size < size; order++, a_size <<= 1) |
size | 2442 | drivers/scsi/scsi.c | int i,size, len = 0; |
size | 2450 | drivers/scsi/scsi.c | size = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none"); |
size | 2451 | drivers/scsi/scsi.c | len += size; |
size | 2455 | drivers/scsi/scsi.c | size += sprintf(buffer+len,"scsi%2d: %s\n", (int) HBA_ptr->host_no, |
size | 2457 | drivers/scsi/scsi.c | len += size; |
size | 2463 | drivers/scsi/scsi.c | proc_print_scsidevice(scd, buffer, &size, len); |
size | 2464 | drivers/scsi/scsi.c | len += size; |
size | 2539 | drivers/scsi/scsi.c | unsigned long size; |
size | 2614 | drivers/scsi/scsi.c | size = (new_dma_sectors / SECTORS_PER_PAGE)*sizeof(FreeSectorBitmap); |
size | 2615 | drivers/scsi/scsi.c | new_dma_malloc_freelist = (FreeSectorBitmap *) scsi_init_malloc(size, GFP_ATOMIC); |
size | 2616 | drivers/scsi/scsi.c | memset(new_dma_malloc_freelist, 0, size); |
size | 2618 | drivers/scsi/scsi.c | size = (new_dma_sectors / SECTORS_PER_PAGE)*sizeof(*new_dma_malloc_pages); |
size | 2619 | drivers/scsi/scsi.c | new_dma_malloc_pages = (unsigned char **) scsi_init_malloc(size, GFP_ATOMIC); |
size | 2620 | drivers/scsi/scsi.c | memset(new_dma_malloc_pages, 0, size); |
size | 2639 | drivers/scsi/scsi.c | size = (dma_sectors / SECTORS_PER_PAGE)*sizeof(FreeSectorBitmap); |
size | 2640 | drivers/scsi/scsi.c | memcpy(new_dma_malloc_freelist, dma_malloc_freelist, size); |
size | 2641 | drivers/scsi/scsi.c | scsi_init_free((char *) dma_malloc_freelist, size); |
size | 2647 | drivers/scsi/scsi.c | size = (dma_sectors / SECTORS_PER_PAGE)*sizeof(*dma_malloc_pages); |
size | 2648 | drivers/scsi/scsi.c | memcpy(new_dma_malloc_pages, dma_malloc_pages, size); |
size | 2649 | drivers/scsi/scsi.c | scsi_init_free((char *) dma_malloc_pages, size); |
size | 3128 | drivers/scsi/scsi.c | unsigned long size; |
size | 3154 | drivers/scsi/scsi.c | size = (dma_sectors / SECTORS_PER_PAGE)*sizeof(FreeSectorBitmap); |
size | 3155 | drivers/scsi/scsi.c | dma_malloc_freelist = (unsigned char *) scsi_init_malloc(size, GFP_ATOMIC); |
size | 3156 | 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 | 989 | drivers/sound/dmabuf.c | DMAbuf_getwrbuffer (int dev, char **buf, int *size, int dontblock) |
size | 1096 | drivers/sound/dmabuf.c | *size = dmap->fragment_size; |
size | 1100 | drivers/sound/dmabuf.c | *size); |
size | 1642 | drivers/sound/dmabuf.c | DMAbuf_getwrbuffer (int dev, char **buf, int *size, int dontblock) |
size | 240 | drivers/sound/pss.c | pss_download_boot (pss_config * devc, unsigned char *block, int size, int flags) |
size | 275 | drivers/sound/pss.c | if (count >= size && flags & CPF_LAST) |
size | 280 | drivers/sound/pss.c | count, size); |
size | 7 | drivers/sound/sound_calls.h | int DMAbuf_getwrbuffer(int dev, char **buf, int *size, int dontblock); |
size | 237 | drivers/sound/soundcard.c | unsigned long size; |
size | 297 | drivers/sound/soundcard.c | size = vma_get_end (vma) - vma_get_start (vma); |
size | 299 | drivers/sound/soundcard.c | if (size != dmap->bytes_in_use) |
size | 302 | drivers/sound/soundcard.c | size, dmap->bytes_in_use); |
size | 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 | 951 | fs/binfmt_elf.c | size_t size; |
size | 972 | fs/binfmt_elf.c | size = 0; |
size | 979 | fs/binfmt_elf.c | if (size+sz > limit) |
size | 983 | fs/binfmt_elf.c | size += sz; |
size | 986 | 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 | 459 | fs/buffer.c | static inline struct buffer_head * find_buffer(kdev_t dev, int block, int size) |
size | 465 | fs/buffer.c | if (tmp->b_size == size) |
size | 482 | fs/buffer.c | struct buffer_head * get_hash_table(kdev_t dev, int block, int size) |
size | 487 | fs/buffer.c | if (!(bh=find_buffer(dev,block,size))) |
size | 492 | fs/buffer.c | && bh->b_size == size) |
size | 498 | fs/buffer.c | void set_blocksize(kdev_t dev, int size) |
size | 506 | fs/buffer.c | if (size > PAGE_SIZE) |
size | 507 | fs/buffer.c | size = 0; |
size | 509 | fs/buffer.c | switch (size) { |
size | 514 | fs/buffer.c | if (blksize_size[MAJOR(dev)][MINOR(dev)] == 0 && size == BLOCK_SIZE) { |
size | 515 | fs/buffer.c | blksize_size[MAJOR(dev)][MINOR(dev)] = size; |
size | 518 | fs/buffer.c | if (blksize_size[MAJOR(dev)][MINOR(dev)] == size) |
size | 521 | fs/buffer.c | blksize_size[MAJOR(dev)][MINOR(dev)] = size; |
size | 533 | fs/buffer.c | if (bh->b_size == size) |
size | 537 | fs/buffer.c | if (bh->b_dev == dev && bh->b_size != size) { |
size | 550 | fs/buffer.c | void refill_freelist(int size) |
size | 555 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 572 | fs/buffer.c | needed =bdf_prm.b_un.nrefill * size; |
size | 575 | fs/buffer.c | grow_buffers(GFP_BUFFER, size)) { |
size | 584 | fs/buffer.c | while(maybe_shrink_lav_buffers(size)) |
size | 586 | fs/buffer.c | if(!grow_buffers(GFP_BUFFER, size)) break; |
size | 618 | fs/buffer.c | if (bh->b_count || buffer_protected(bh) || bh->b_size != size) |
size | 658 | fs/buffer.c | if (bh->b_count || bh->b_size != size) |
size | 692 | fs/buffer.c | if (bh->b_count || buffer_protected(bh) || bh->b_size != size) |
size | 721 | fs/buffer.c | if (grow_buffers(GFP_BUFFER, size)) { |
size | 728 | fs/buffer.c | if (!grow_buffers(GFP_ATOMIC, size)) |
size | 744 | fs/buffer.c | struct buffer_head * getblk(kdev_t dev, int block, int size) |
size | 747 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 756 | fs/buffer.c | bh = get_hash_table(dev, block, size); |
size | 767 | fs/buffer.c | while(!free_list[isize]) refill_freelist(size); |
size | 769 | fs/buffer.c | if (find_buffer(dev,block,size)) |
size | 877 | fs/buffer.c | struct buffer_head * bread(kdev_t dev, int block, int size) |
size | 881 | fs/buffer.c | if (!(bh = getblk(dev, block, size))) { |
size | 1037 | fs/buffer.c | static struct buffer_head * create_buffers(unsigned long page, unsigned long size) |
size | 1044 | fs/buffer.c | while ((offset -= size) < PAGE_SIZE) { |
size | 1051 | fs/buffer.c | bh->b_size = size; |
size | 1068 | fs/buffer.c | int brw_page(int rw, unsigned long address, kdev_t dev, int b[], int size, int bmap) |
size | 1076 | fs/buffer.c | bh = create_buffers(address, size); |
size | 1099 | fs/buffer.c | memset(next->b_data, 0, size); |
size | 1103 | fs/buffer.c | tmp = get_hash_table(dev, block, size); |
size | 1111 | fs/buffer.c | memcpy(next->b_data, tmp->b_data, size); |
size | 1113 | fs/buffer.c | memcpy(tmp->b_data, next->b_data, size); |
size | 1264 | fs/buffer.c | static int grow_buffers(int pri, int size) |
size | 1271 | fs/buffer.c | if ((size & 511) || (size > PAGE_SIZE)) { |
size | 1272 | fs/buffer.c | printk("VFS: grow_buffers: size = %d\n",size); |
size | 1276 | fs/buffer.c | isize = BUFSIZE_INDEX(size); |
size | 1280 | fs/buffer.c | bh = create_buffers(page, size); |
size | 1406 | fs/buffer.c | static int maybe_shrink_lav_buffers(int size) |
size | 1429 | fs/buffer.c | isize = (size ? BUFSIZE_INDEX(size) : -1); |
size | 1456 | fs/buffer.c | static int shrink_specific_buffers(unsigned int priority, int size) |
size | 1463 | fs/buffer.c | if(size) printk("Shrinking buffers of size %d\n", size); |
size | 1467 | fs/buffer.c | isize1 = (size ? BUFSIZE_INDEX(size) : -1); |
size | 1507 | fs/buffer.c | if(size && bh->b_size != size) continue; |
size | 1642 | fs/buffer.c | unsigned int starting_block, int size) |
size | 1645 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 1652 | fs/buffer.c | while(nr_free[isize] < 32) refill_freelist(size); |
size | 1668 | fs/buffer.c | static unsigned long try_to_generate_cluster(kdev_t dev, int block, int size) |
size | 1671 | fs/buffer.c | int isize = BUFSIZE_INDEX(size); |
size | 1679 | fs/buffer.c | bh = create_buffers(page, size); |
size | 1685 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
size | 1686 | fs/buffer.c | if (find_buffer(dev, nblock++, size)) |
size | 1722 | fs/buffer.c | unsigned long generate_cluster(kdev_t dev, int b[], int size) |
size | 1726 | fs/buffer.c | for (i = 0, offset = 0 ; offset < PAGE_SIZE ; i++, offset += size) { |
size | 1728 | fs/buffer.c | if(find_buffer(dev, b[i], size)) return 0; |
size | 1735 | fs/buffer.c | if(maybe_shrink_lav_buffers(size)) |
size | 1738 | fs/buffer.c | retval = try_to_generate_cluster(dev, b[0], size); |
size | 1743 | fs/buffer.c | return try_to_generate_cluster(dev, b[0], size); |
size | 1745 | fs/buffer.c | return reassign_cluster(dev, b[0], size); |
size | 82 | fs/ext/file.c | unsigned int size; |
size | 93 | fs/ext/file.c | size = inode->i_size; |
size | 94 | fs/ext/file.c | if (offset > size) |
size | 97 | fs/ext/file.c | left = size - offset; |
size | 105 | fs/ext/file.c | size = (size + (BLOCK_SIZE-1)) >> BLOCK_SIZE_BITS; |
size | 111 | fs/ext/file.c | if (block + blocks > size) |
size | 112 | fs/ext/file.c | blocks = size - block; |
size | 216 | fs/fat/file.c | int size,offset; |
size | 236 | fs/fat/file.c | size = MIN(SECTOR_SIZE-offset,left_in_file); |
size | 238 | fs/fat/file.c | size = MIN(size,end-buf); |
size | 239 | fs/fat/file.c | memcpy_tofs(buf,data,size); |
size | 240 | fs/fat/file.c | buf += size; |
size | 241 | fs/fat/file.c | filp->f_pos += size; |
size | 243 | fs/fat/file.c | for (; size && buf < end; size--) { |
size | 274 | fs/fat/file.c | int sector,offset,size,left,written; |
size | 299 | fs/fat/file.c | for (start = buf; count || carry; count -= size) { |
size | 307 | fs/fat/file.c | size = MIN(SECTOR_SIZE-offset,MAX(carry,count)); |
size | 310 | fs/fat/file.c | && (size == SECTOR_SIZE |
size | 311 | fs/fat/file.c | || filp->f_pos + size >= inode->i_size)){ |
size | 324 | fs/fat/file.c | memcpy_fromfs(bh->b_data+offset,buf,written = size); |
size | 325 | fs/fat/file.c | buf += size; |
size | 335 | fs/fat/file.c | for (size = 0; size < count && left; size++) { |
size | 434 | fs/fat/inode.c | inode->i_size = CF_LE_L(raw_entry->size); |
size | 474 | fs/fat/inode.c | raw_entry->size = 0; |
size | 478 | 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 | 273 | 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 | 49 | fs/ncpfs/ncplib_kernel.c | ncp_add_mem(struct ncp_server *server, const void *source, int size) |
size | 52 | fs/ncpfs/ncplib_kernel.c | memcpy(&(server->packet[server->current_size]), source, size); |
size | 53 | fs/ncpfs/ncplib_kernel.c | server->current_size += size; |
size | 58 | fs/ncpfs/ncplib_kernel.c | ncp_add_mem_fromfs(struct ncp_server *server, const char *source, int size) |
size | 61 | fs/ncpfs/ncplib_kernel.c | memcpy_fromfs(&(server->packet[server->current_size]), source, size); |
size | 62 | fs/ncpfs/ncplib_kernel.c | server->current_size += size; |
size | 127 | fs/ncpfs/ncplib_kernel.c | int size, int *target) |
size | 132 | fs/ncpfs/ncplib_kernel.c | ncp_add_word(server, htons(size)); |
size | 140 | fs/ncpfs/ncplib_kernel.c | *target =min(ntohs(ncp_reply_word(server, 0)), size); |
size | 19 | 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 | 244 | fs/ncpfs/sock.c | do_ncp_rpc_call(struct ncp_server *server, int size) |
size | 317 | fs/ncpfs/sock.c | result = _sendto(sock, (void *) start, size, 0, 0, |
size | 475 | fs/ncpfs/sock.c | ncp_do_request(struct ncp_server *server, int size) |
size | 483 | fs/ncpfs/sock.c | return 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 | 620 | fs/nfs/dir.c | inode->i_size = fattr->size; |
size | 264 | fs/nfs/inode.c | sattr.size = (unsigned) -1; |
size | 266 | fs/nfs/inode.c | sattr.size = S_ISREG(inode->i_mode) ? attr->ia_size : -1; |
size | 77 | fs/nfs/proc.c | static inline int *nfs_rpc_alloc(int size) |
size | 81 | fs/nfs/proc.c | while (!(i = (int *)kmalloc(size+NFS_SLACK_SPACE,GFP_NFS))) { |
size | 173 | fs/nfs/proc.c | fattr->size = ntohl(*p++); |
size | 193 | fs/nfs/proc.c | *p++ = htonl(sattr->size); |
size | 732 | fs/nfs/proc.c | int size; |
size | 736 | fs/nfs/proc.c | size = server->rsize; |
size | 743 | 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 | 345 | fs/proc/array.c | int size = 0, result = 0; |
size | 357 | fs/proc/array.c | result = size; |
size | 358 | fs/proc/array.c | if (size < PAGE_SIZE) |
size | 359 | fs/proc/array.c | buffer[size++] = c; |
size | 550 | fs/proc/array.c | static inline void statm_pte_range(pmd_t * pmd, unsigned long address, unsigned long size, |
size | 565 | fs/proc/array.c | end = address + size; |
size | 588 | fs/proc/array.c | static inline void statm_pmd_range(pgd_t * pgd, unsigned long address, unsigned long size, |
size | 603 | fs/proc/array.c | end = address + size; |
size | 626 | fs/proc/array.c | int size=0, resident=0, share=0, trs=0, lrs=0, drs=0, dt=0; |
size | 641 | fs/proc/array.c | size += total; |
size | 654 | 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 | 84 | fs/sysv/file.c | unsigned int size; |
size | 95 | fs/sysv/file.c | size = inode->i_size; |
size | 96 | fs/sysv/file.c | if (offset > size) |
size | 99 | fs/sysv/file.c | left = size - offset; |
size | 107 | fs/sysv/file.c | size = (size + sb->sv_block_size_1) >> sb->sv_block_size_bits; |
size | 112 | fs/sysv/file.c | if (block + blocks > size) |
size | 113 | 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 | 123 | fs/umsdos/mangle.c | int size = len + (dirent.name-(char*)&dirent); |
size | 124 | fs/umsdos/mangle.c | int nbrec = size / UMSDOS_REC_SIZE; |
size | 125 | fs/umsdos/mangle.c | int extra = size % UMSDOS_REC_SIZE; |
size | 881 | fs/vfat/namei.c | de->size = 0; |
size | 1050 | fs/vfat/namei.c | de->size = 0; |
size | 1445 | 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 | 579 | include/asm-i386/string.h | extern inline void * memscan(void * addr, int c, size_t size) |
size | 581 | include/asm-i386/string.h | if (!size) |
size | 588 | include/asm-i386/string.h | : "=D" (addr), "=c" (size) |
size | 589 | include/asm-i386/string.h | : "0" (addr), "1" (size), "a" (c)); |
size | 201 | include/asm-i386/system.h | static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) |
size | 203 | include/asm-i386/system.h | switch (size) { |
size | 283 | include/asm-i386/system.h | #define set_ldt_desc(n,addr,size) \ |
size | 284 | 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 | 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 | 86 | include/asm-sparc/pgtsun4c.h | extern char *sun4c_lockarea(char *vaddr, unsigned long size); |
size | 87 | include/asm-sparc/pgtsun4c.h | extern void sun4c_unlockarea(char *vaddr, unsigned long size); |
size | 30 | include/asm-sparc/segment.h | static inline void __put_user(unsigned long x, void * y, int size) |
size | 32 | include/asm-sparc/segment.h | switch (size) { |
size | 48 | include/asm-sparc/segment.h | static inline unsigned long __get_user(const void * y, int size) |
size | 50 | include/asm-sparc/segment.h | switch (size) { |
size | 119 | include/asm-sparc/system.h | static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) |
size | 121 | 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 | 512 | include/linux/fs.h | extern void refill_freelist(int size); |
size | 575 | include/linux/fs.h | extern struct buffer_head * get_hash_table(kdev_t dev, int block, int size); |
size | 576 | include/linux/fs.h | extern struct buffer_head * getblk(kdev_t dev, int block, int size); |
size | 593 | include/linux/fs.h | extern void set_blocksize(kdev_t dev, int size); |
size | 594 | include/linux/fs.h | extern struct buffer_head * bread(kdev_t dev, int block, int size); |
size | 595 | include/linux/fs.h | extern struct buffer_head * breada(kdev_t dev,int block, int size, |
size | 604 | include/linux/fs.h | unsigned long generate_cluster(kdev_t dev, int b[], int size); |
size | 71 | include/linux/if_pppvar.h | int size; /* Size of the buffer area */ |
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 | 6 | include/linux/malloc.h | void * kmalloc(unsigned int size, int priority); |
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 | 86 | include/linux/ncp_fs.h | ncp_kmalloc(unsigned int size, int priority) |
size | 90 | include/linux/ncp_fs.h | return kmalloc(size, priority); |
size | 94 | include/linux/ncp_fs.h | ncp_kfree_s(void *obj, int size) |
size | 97 | 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 | 94 | include/linux/nfs_fs.h | extern int nfs_rpc_call(struct nfs_server *server, int *start, int *end, int size); |
size | 165 | include/linux/proc_fs.h | unsigned long size; |
size | 217 | include/linux/proc_fs.h | extern void scsi_init_free(char *ptr, unsigned int 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 | 446 | include/linux/skbuff.h | extern void skb_copy_datagram(struct sk_buff *from, int offset, char *to,int size); |
size | 447 | 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 | 617 | include/linux/soundcard.h | int size; |
size | 403 | include/net/sock.h | unsigned long size, int force, |
size | 406 | include/net/sock.h | unsigned long size, int force, |
size | 423 | 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 | 379 | 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 | 448 | mm/filemap.c | unsigned long size, result; |
size | 468 | mm/filemap.c | size = offset + PAGE_SIZE; |
size | 471 | mm/filemap.c | if (size > inode->i_size) |
size | 472 | mm/filemap.c | size = inode->i_size; |
size | 474 | mm/filemap.c | if (size < offset) |
size | 477 | mm/filemap.c | size -= offset; |
size | 486 | mm/filemap.c | result = file.f_op->write(inode, &file, (const char *) page, size); |
size | 488 | mm/filemap.c | if (result != size) |
size | 576 | mm/filemap.c | unsigned long address, unsigned long size, |
size | 593 | mm/filemap.c | end = address + size; |
size | 606 | mm/filemap.c | unsigned long address, unsigned long size, |
size | 623 | mm/filemap.c | end = address + size; |
size | 636 | mm/filemap.c | size_t size, unsigned int flags) |
size | 639 | mm/filemap.c | unsigned long end = address + size; |
size | 648 | mm/filemap.c | invalidate_range(vma->vm_mm, end - size, end); |
size | 79 | mm/kmalloc.c | int size; |
size | 134 | mm/kmalloc.c | #define BLOCKSIZE(order) (sizes[order].size) |
size | 162 | mm/kmalloc.c | int get_order(int size) |
size | 167 | mm/kmalloc.c | size += sizeof(struct block_header); |
size | 169 | mm/kmalloc.c | if (size <= BLOCKSIZE(order)) |
size | 174 | mm/kmalloc.c | void *kmalloc(size_t size, int priority) |
size | 182 | mm/kmalloc.c | order = get_order(size); |
size | 184 | mm/kmalloc.c | printk("kmalloc of too large a block (%d bytes).\n", (int) size); |
size | 270 | mm/kmalloc.c | sizes[order].nbytesmalloced += size; |
size | 272 | mm/kmalloc.c | p->bh_length = size; |
size | 278 | mm/kmalloc.c | int size; |
size | 303 | mm/kmalloc.c | size = p->bh_length; |
size | 334 | 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 | 434 | mm/memory.c | unsigned long end = address + size; |
size | 450 | mm/memory.c | invalidate_range(current->mm, end - size, end); |
size | 459 | mm/memory.c | static inline void remap_pte_range(pte_t * pte, unsigned long address, unsigned long size, |
size | 465 | mm/memory.c | end = address + size; |
size | 480 | mm/memory.c | static inline int remap_pmd_range(pmd_t * pmd, unsigned long address, unsigned long size, |
size | 486 | mm/memory.c | end = address + size; |
size | 501 | mm/memory.c | int remap_page_range(unsigned long from, unsigned long offset, unsigned long size, pgprot_t prot) |
size | 505 | mm/memory.c | unsigned long end = from + size; |
size | 520 | mm/memory.c | invalidate_range(current->mm, from - size, from); |
size | 665 | mm/memory.c | int verify_area(int type, const void * addr, unsigned long size) |
size | 674 | mm/memory.c | if (!size || get_fs() == get_ds()) |
size | 694 | mm/memory.c | if (vma->vm_end - start >= size) |
size | 708 | mm/memory.c | if (vma->vm_end - start >= size) |
size | 719 | mm/memory.c | size--; |
size | 720 | mm/memory.c | size += start & ~PAGE_MASK; |
size | 721 | mm/memory.c | size >>= PAGE_SHIFT; |
size | 726 | mm/memory.c | if (!size) |
size | 728 | 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 | 1523 | net/appletalk/ddp.c | int size; |
size | 1568 | net/appletalk/ddp.c | size=sizeof(struct ddpehdr)+len+ddp_dl->header_length; /* For headers */ |
size | 1589 | net/appletalk/ddp.c | printk("SK %p: Size needed %d, device %s\n", sk, size, dev->name); |
size | 1591 | net/appletalk/ddp.c | size += dev->hard_header_len; |
size | 1593 | net/appletalk/ddp.c | skb = sock_alloc_send_skb(sk, size, 0, 0 , &err); |
size | 1702 | net/appletalk/ddp.c | static int atalk_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, int flags, int *addr_len) |
size | 1725 | net/appletalk/ddp.c | if(copied > size) |
size | 1726 | net/appletalk/ddp.c | copied=size; |
size | 1732 | net/appletalk/ddp.c | if (copied > size) |
size | 1733 | net/appletalk/ddp.c | copied = size; |
size | 1787 | net/ax25/af_ax25.c | int size; |
size | 1855 | net/ax25/af_ax25.c | size = len + 3 + size_ax25_addr(dp) + AX25_BPQ_HEADER_LEN; |
size | 1857 | net/ax25/af_ax25.c | if ((skb = sock_alloc_send_skb(sk, size, 0, 0, &err)) == NULL) |
size | 1864 | net/ax25/af_ax25.c | skb_reserve(skb, size - len); |
size | 1919 | 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 | 1955 | net/ax25/af_ax25.c | copied = (size < length) ? size : length; |
size | 2290 | net/ax25/af_ax25.c | int size; |
size | 2299 | net/ax25/af_ax25.c | size = skb->len; |
size | 2303 | net/ax25/af_ax25.c | *ptr++ = (size + 5) % 256; |
size | 2304 | 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 | 837 | net/core/dev.c | int size; |
size | 840 | net/core/dev.c | size = sprintf(buffer, "%6s:%7d %4d %4d %4d %4d %8d %4d %4d %4d %5d %4d\n", |
size | 852 | net/core/dev.c | size = sprintf(buffer, "%6s: No statistics available.\n", dev->name); |
size | 854 | net/core/dev.c | return size; |
size | 867 | net/core/dev.c | int size; |
size | 872 | net/core/dev.c | size = sprintf(buffer, "Inter-| Receive | Transmit\n" |
size | 875 | net/core/dev.c | pos+=size; |
size | 876 | net/core/dev.c | len+=size; |
size | 881 | net/core/dev.c | size = sprintf_stats(buffer+len, dev); |
size | 882 | 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 | 1170 | net/ipv4/af_inet.c | static int inet_recvmsg(struct socket *sock, struct msghdr *ubuf, int size, int noblock, |
size | 1182 | net/ipv4/af_inet.c | return(sk->prot->recvmsg(sk, ubuf, size, noblock, flags,addr_len)); |
size | 1186 | net/ipv4/af_inet.c | static int inet_sendmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, |
size | 1202 | net/ipv4/af_inet.c | return(sk->prot->sendmsg(sk, msg, size, noblock, flags)); |
size | 1322 | net/ipv4/arp.c | int size; |
size | 1328 | net/ipv4/arp.c | size = sprintf(buffer,"IP address HW type Flags HW address Mask Device\n"); |
size | 1330 | net/ipv4/arp.c | pos+=size; |
size | 1331 | net/ipv4/arp.c | len+=size; |
size | 1365 | net/ipv4/arp.c | size = sprintf(buffer+len, |
size | 1372 | net/ipv4/arp.c | size += sprintf(buffer+len+size, |
size | 1377 | net/ipv4/arp.c | size += sprintf(buffer+len+size, |
size | 1385 | net/ipv4/arp.c | len += size; |
size | 1386 | 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 | 807 | net/ipv4/ip_fw.c | int size; |
size | 864 | net/ipv4/ip_fw.c | size = skb->len - ((unsigned char *)portptr - skb->h.raw); |
size | 875 | net/ipv4/ip_fw.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
size | 886 | net/ipv4/ip_fw.c | size = skb->len - ((unsigned char *)portptr-skb->h.raw); |
size | 900 | net/ipv4/ip_fw.c | tcp_send_check(th,iph->saddr,iph->daddr,size,skb); |
size | 959 | net/ipv4/ip_fw.c | int size = skb->len - ((unsigned char *)portptr - skb->h.raw); |
size | 975 | net/ipv4/ip_fw.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
size | 1005 | 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 | 1162 | net/ipx/af_ipx.c | int size; |
size | 1183 | net/ipx/af_ipx.c | size=sizeof(ipx_packet)+len; |
size | 1184 | net/ipx/af_ipx.c | size += ipx_offset; |
size | 1186 | net/ipx/af_ipx.c | skb=sock_alloc_send_skb(sk, size, 0, 0, &err); |
size | 2016 | net/ipx/af_ipx.c | static int ipx_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, |
size | 2043 | net/ipx/af_ipx.c | copied = (truesize > size) ? size : truesize; |
size | 1019 | net/netrom/af_netrom.c | int size; |
size | 1055 | net/netrom/af_netrom.c | size = len + AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + NR_NETWORK_LEN + NR_TRANSPORT_LEN; |
size | 1057 | net/netrom/af_netrom.c | if ((skb = sock_alloc_send_skb(sk, size, 0, 0, &err)) == NULL) |
size | 1064 | net/netrom/af_netrom.c | skb_reserve(skb, size - len); |
size | 1114 | net/netrom/af_netrom.c | static int nr_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, |
size | 1145 | 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 | 688 | net/unix/af_unix.c | int err,size; |
size | 749 | net/unix/af_unix.c | size=len-sent; |
size | 751 | 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 | 755 | net/unix/af_unix.c | size=(sk->sndbuf-sizeof(struct sk_buff))/2; |
size | 763 | net/unix/af_unix.c | if(size > 4000 && sock->type!=SOCK_DGRAM) |
size | 772 | net/unix/af_unix.c | skb=sock_alloc_send_skb(sk,size,limit,nonblock, &err); |
size | 783 | net/unix/af_unix.c | size=skb_tailroom(skb); /* If we dropped back on a limit then our skb is smaller */ |
size | 788 | net/unix/af_unix.c | memcpy_fromiovec(skb_put(skb,size),msg->msg_iov, size); |
size | 831 | net/unix/af_unix.c | other->data_ready(other,size); |
size | 832 | net/unix/af_unix.c | sent+=size; |
size | 856 | net/unix/af_unix.c | static int stick_fd(struct file *filp, int *uaddr, int size) |
size | 861 | net/unix/af_unix.c | if (!uaddr || size < sizeof(int)) |
size | 882 | 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 | 916 | net/unix/af_unix.c | if (copied == size) |
size | 948 | net/unix/af_unix.c | num=min(skb->len,size-copied); |