size               52 bsp/boot/arm/gba/startup.c 	bi->ram[0].size = 0x40000;
size               52 bsp/boot/arm/integrator/startup.c 	bi->ram[0].size = 0x400000;
size               51 bsp/boot/common/bootinfo.c 	       m->entry, m->phys, m->size,
size               72 bsp/boot/common/bootinfo.c 			       bi->ram[i].size,
size               79 bsp/boot/common/bootinfo.c 	       bi->bootdisk.size);
size              168 bsp/boot/common/elf.c 	m->size = (size_t)(load_base - m->phys);
size              170 bsp/boot/common/elf.c 	ELFDBG(("module size=%x entry=%lx\n", m->size, m->entry));
size              172 bsp/boot/common/elf.c 	if (m->size == 0)
size              357 bsp/boot/common/elf.c 	m->size = (size_t)(load_base - kvtop(m->text));
size              359 bsp/boot/common/elf.c 	ELFDBG(("module size=%x entry=%lx\n", m->size, m->entry));
size              141 bsp/boot/common/load.c 	bi->ram[i].size = (size_t)(load_base - load_start);
size              182 bsp/boot/common/load.c 	size_t size;
size              191 bsp/boot/common/load.c 	size = (size_t)atol((char *)&hdr->ar_size);
size              192 bsp/boot/common/load.c 	size += size % 2;	/* even alignment */
size              193 bsp/boot/common/load.c 	if (size == 0) {
size              199 bsp/boot/common/load.c 	bi->bootdisk.size = size;
size              207 bsp/boot/common/load.c 	bi->ram[bi->nr_rams].size = size;
size              212 bsp/boot/common/load.c 		 bi->bootdisk.base, bi->bootdisk.size));
size               52 bsp/boot/ppc/prep/startup.c 	bi->ram[0].size = 0x9000000;
size               65 bsp/boot/x86/pc/startup.c 	bi->ram[0].size = (size_t)((1024 + hi_mem) * 1024);
size               74 bsp/boot/x86/pc/startup.c 		bi->ram[1].size = (size_t)((1024 - lo_mem) * 1024);
size              299 bsp/drv/dev/base/kd.c 				       vi.size, flags);
size              446 bsp/drv/dev/base/kd.c 	static int size = 4;
size              496 bsp/drv/dev/base/kd.c 			size = 1;
size              500 bsp/drv/dev/base/kd.c 			size = 1;
size              504 bsp/drv/dev/base/kd.c 			size = 2;
size              509 bsp/drv/dev/base/kd.c 			size = 4;
size              512 bsp/drv/dev/base/kd.c 		addr += size;
size              513 bsp/drv/dev/base/kd.c 		kp += size;
size              514 bsp/drv/dev/base/kd.c 		cnt += size;
size              523 bsp/drv/dev/base/kd.c 	int size = 4;
size              542 bsp/drv/dev/base/kd.c 			size = 1;
size              545 bsp/drv/dev/base/kd.c 			size = 2;
size              548 bsp/drv/dev/base/kd.c 			size = 4;
size              564 bsp/drv/dev/base/kd.c 	if ((kp = kmem_map((void *)addr, (size_t)size)) == NULL)
size              568 bsp/drv/dev/base/kd.c 	for (i = 0; i < size; i++) {
size              570 bsp/drv/dev/base/kd.c 	for (i = size; i-- > 0;) {
size               50 bsp/drv/dev/block/ramdisk.c 	size_t		size;		/* image size */
size               89 bsp/drv/dev/block/ramdisk.c 	if (offset > (int)sc->size) {
size               94 bsp/drv/dev/block/ramdisk.c 	if (offset + nr_read > (int)sc->size)
size               95 bsp/drv/dev/block/ramdisk.c 		nr_read = sc->size - offset;
size              120 bsp/drv/dev/block/ramdisk.c 	if (offset > (int)sc->size)
size              123 bsp/drv/dev/block/ramdisk.c 	if (offset + nr_write > (int)sc->size)
size              124 bsp/drv/dev/block/ramdisk.c 		nr_write = sc->size - offset;
size              144 bsp/drv/dev/block/ramdisk.c 	if (phys->size == 0) {
size              169 bsp/drv/dev/block/ramdisk.c 	sc->size = (size_t)phys->size;
size              173 bsp/drv/dev/block/ramdisk.c 	       (u_int)sc->addr, sc->size/1024);
size              250 bsp/drv/dev/dma/i8237.c dma_alloc(size_t size)
size              254 bsp/drv/dev/dma/i8237.c 	if (size > DMA_MAX)
size              262 bsp/drv/dev/dma/i8237.c 	size = round_page(size);
size              263 bsp/drv/dev/dma/i8237.c 	tmp = page_alloc((size_t)(DMA_MAX + size));
size              268 bsp/drv/dev/dma/i8237.c 	page_free(tmp, (size_t)(DMA_MAX + size));
size              274 bsp/drv/dev/dma/i8237.c 	page_reserve(base, size);
size               87 bsp/drv/include/ddi.h void	*dma_alloc(size_t size);
size              111 bsp/hal/arm/arch/mmu.c mmu_map(pgd_t pgd, paddr_t pa, vaddr_t va, size_t size, int type)
size              119 bsp/hal/arm/arch/mmu.c 	size = trunc_page(size);
size              151 bsp/hal/arm/arch/mmu.c 	while (size > 0) {
size              171 bsp/hal/arm/arch/mmu.c 		size -= PAGE_SIZE;
size              250 bsp/hal/arm/arch/mmu.c mmu_extract(pgd_t pgd, vaddr_t virt, size_t size)
size              257 bsp/hal/arm/arch/mmu.c 	end = trunc_page(virt + size - 1);
size              317 bsp/hal/arm/arch/mmu.c 			    map->size, map_type))
size               94 bsp/hal/x86/arch/cpu.c gdt_set(int vec, void *base, size_t limit, int type, u_int size)
size              100 bsp/hal/x86/arch/cpu.c 		size |= SIZE_4K;
size              108 bsp/hal/x86/arch/cpu.c 	seg->size = size;
size               82 bsp/hal/x86/arch/mmu.c mmu_map(pgd_t pgd, paddr_t pa, vaddr_t va, size_t size, int type)
size               91 bsp/hal/x86/arch/mmu.c 	size = trunc_page(size);
size              123 bsp/hal/x86/arch/mmu.c 	while (size > 0) {
size              143 bsp/hal/x86/arch/mmu.c 		size -= PAGE_SIZE;
size              220 bsp/hal/x86/arch/mmu.c mmu_extract(pgd_t pgd, vaddr_t va, size_t size)
size              227 bsp/hal/x86/arch/mmu.c 	end = trunc_page(va + size - 1);
size              278 bsp/hal/x86/arch/mmu.c 			    (size_t)map->size, map_type))
size              106 bsp/hal/x86/include/cpu.h 	u_int size:4;		/* size */
size              164 bsp/hal/x86/pc/machdep.c 	mmumap_table[0].size = bi->ram[0].size;
size              115 include/ipc/fs.h 	size_t	size;			/* read/write size */
size               63 include/sys/bootinfo.h 	size_t		size;		/* size of image */
size               78 include/sys/bootinfo.h 	psize_t		size;		/* size in bytes */
size              108 include/sys/prex.h int	vm_allocate(task_t task, void **addr, size_t size, int anywhere);
size              111 include/sys/prex.h int	vm_map(task_t target, void  *addr, size_t size, void **alloc);
size              117 include/sys/prex.h int	msg_send(object_t obj, void *msg, size_t size);
size              118 include/sys/prex.h int	msg_receive(object_t obj, void *msg, size_t size);
size              119 include/sys/prex.h int	msg_reply(object_t obj, void *msg, size_t size);
size              119 include/sys/sysinfo.h 	size_t		size;		/* size */
size               66 sys/include/hal.h 	psize_t		size;		/* size */
size               47 sys/include/vm.h 	size_t		size;		/* size */
size               81 sys/ipc/msg.c  msg_send(object_t obj, void *msg, size_t size)
size               91 sys/ipc/msg.c  	if (size < sizeof(struct msg_header))
size              115 sys/ipc/msg.c  	if ((kmsg = kmem_map(msg, size)) == NULL) {
size              120 sys/ipc/msg.c  	curthread->msgsize = size;
size              188 sys/ipc/msg.c  msg_receive(object_t obj, void *msg, size_t size)
size              262 sys/ipc/msg.c  	len = MIN(size, t->msgsize);
size              288 sys/ipc/msg.c  msg_reply(object_t obj, void *msg, size_t size)
size              315 sys/ipc/msg.c  	len = MIN(size, t->msgsize);
size              162 sys/kern/debug.c 	size_t size;
size              169 sys/kern/debug.c 		size = LOGBUFSZ;
size              170 sys/kern/debug.c 		error = copyout(&size, data, sizeof(size));
size               69 sys/mem/kmem.c 	u_short		 size;		/* size of this block */
size              111 sys/mem/kmem.c #define BLKNDX(b)	((u_int)((b)->size) >> 4)
size              150 sys/mem/kmem.c block_find(size_t size)
size              155 sys/mem/kmem.c 	for (i = (int)((u_int)size >> 4); i < NR_BLOCK_LIST; i++) {
size              175 sys/mem/kmem.c kmem_alloc(size_t size)
size              182 sys/mem/kmem.c 	ASSERT(size != 0);
size              191 sys/mem/kmem.c 	size = ALLOC_SIZE(size + BLKHDR_SIZE);
size              192 sys/mem/kmem.c 	if (size > MAX_ALLOC_SIZE)
size              195 sys/mem/kmem.c 	blk = block_find(size);
size              219 sys/mem/kmem.c 		blk->size = MAX_BLOCK_SIZE;
size              232 sys/mem/kmem.c 	if (blk->size - size >= MIN_BLOCK_SIZE) {
size              236 sys/mem/kmem.c 		newblk = (struct block_hdr *)((vaddr_t)blk + size);
size              238 sys/mem/kmem.c 		newblk->size = (u_short)(blk->size - size);
size              246 sys/mem/kmem.c 		blk->size = (u_short)size;
size              314 sys/mem/kmem.c kmem_map(void *addr, size_t size)
size              318 sys/mem/kmem.c 	pa = vm_translate((vaddr_t)addr, size);
size               59 sys/mem/page.c 	vsize_t		size;		/* number of bytes of this block */
size               79 sys/mem/page.c 	vsize_t size;
size               88 sys/mem/page.c 	size = round_page(psize);
size               97 sys/mem/page.c 	} while (blk->size < size);
size              105 sys/mem/page.c 	if (blk->size == size) {
size              109 sys/mem/page.c 		tmp = (struct page *)((vaddr_t)blk + size);
size              110 sys/mem/page.c 		tmp->size = blk->size - size;
size              116 sys/mem/page.c 	used_size += (psize_t)size;
size              132 sys/mem/page.c 	vsize_t size;
size              138 sys/mem/page.c 	size = round_page(psize);
size              152 sys/mem/page.c 	blk->size = size;
size              163 sys/mem/page.c 	    ((vaddr_t)blk + blk->size) == (vaddr_t)blk->next) {
size              164 sys/mem/page.c 		blk->size += blk->next->size;
size              169 sys/mem/page.c 	    (vaddr_t)blk->prev + blk->prev->size == (vaddr_t)blk) {
size              170 sys/mem/page.c 		blk->prev->size += blk->size;
size              174 sys/mem/page.c 	used_size -= (psize_t)size;
size              186 sys/mem/page.c 	vsize_t size;
size              193 sys/mem/page.c 	size = end - start;
size              204 sys/mem/page.c 		    && end <= (vaddr_t)blk + blk->size)
size              208 sys/mem/page.c 	if ((vaddr_t)blk == start && blk->size == size) {
size              218 sys/mem/page.c 		if ((vaddr_t)blk + blk->size != end) {
size              220 sys/mem/page.c 			tmp->size = (vaddr_t)blk + blk->size - end;
size              224 sys/mem/page.c 			blk->size -= tmp->size;
size              232 sys/mem/page.c 			blk->size = start - (vaddr_t)blk;
size              234 sys/mem/page.c 	used_size += (psize_t)size;
size              278 sys/mem/page.c 			page_free(ram->base, ram->size);
size              279 sys/mem/page.c 			total_size += ram->size;
size              289 sys/mem/page.c 			bootdisk_size += ram->size;
size              292 sys/mem/page.c 			total_size -= ram->size;
size              295 sys/mem/page.c 			if (page_reserve(ram->base, ram->size))
size               85 sys/mem/vm.c   vm_allocate(task_t task, void **addr, size_t size, int anywhere)
size              109 sys/mem/vm.c   	error = do_allocate(task->map, &uaddr, size, anywhere);
size              119 sys/mem/vm.c   do_allocate(vm_map_t map, void **addr, size_t size, int anywhere)
size              125 sys/mem/vm.c   	if (size == 0)
size              127 sys/mem/vm.c   	if (map->total + size >= MAXMEM)
size              134 sys/mem/vm.c   		size = round_page(size);
size              135 sys/mem/vm.c   		if ((seg = seg_alloc(&map->head, size)) == NULL)
size              139 sys/mem/vm.c   		end = round_page(start + size);
size              140 sys/mem/vm.c   		size = (size_t)(end - start);
size              142 sys/mem/vm.c   		if ((seg = seg_reserve(&map->head, start, size)) == NULL)
size              150 sys/mem/vm.c   	if ((pa = page_alloc(size)) == 0)
size              153 sys/mem/vm.c   	if (mmu_map(map->pgd, pa, seg->addr, size, PG_WRITE))
size              159 sys/mem/vm.c   	memset(ptokv(pa), 0, seg->size);
size              161 sys/mem/vm.c   	map->total += size;
size              165 sys/mem/vm.c   	page_free(pa, size);
size              224 sys/mem/vm.c   	mmu_map(map->pgd, seg->phys, seg->addr,	seg->size, PG_UNMAP);
size              230 sys/mem/vm.c   		page_free(seg->phys, seg->size);
size              232 sys/mem/vm.c   	map->total -= seg->size;
size              322 sys/mem/vm.c   		if ((new_pa = page_alloc(seg->size)) == 0)
size              326 sys/mem/vm.c   		memcpy(ptokv(new_pa), ptokv(old_pa), seg->size);
size              329 sys/mem/vm.c   		if (mmu_map(map->pgd, new_pa, seg->addr, seg->size,
size              331 sys/mem/vm.c   			page_free(new_pa, seg->size);
size              343 sys/mem/vm.c   		if (mmu_map(map->pgd, seg->phys, seg->addr, seg->size,
size              357 sys/mem/vm.c   vm_map(task_t target, void *addr, size_t size, void **alloc)
size              379 sys/mem/vm.c   	error = do_map(target->map, addr, size, alloc);
size              386 sys/mem/vm.c   do_map(vm_map_t map, void *addr, size_t size, void **alloc)
size              396 sys/mem/vm.c   	if (size == 0)
size              398 sys/mem/vm.c   	if (map->total + size >= MAXMEM)
size              407 sys/mem/vm.c   	end = round_page((vaddr_t)addr + size);
size              408 sys/mem/vm.c   	size = (size_t)(end - start);
size              414 sys/mem/vm.c   	seg = seg_lookup(&map->head, start, size);
size              423 sys/mem/vm.c   	if ((seg = seg_alloc(&curmap->head, size)) == NULL)
size              436 sys/mem/vm.c   	if (mmu_map(curmap->pgd, pa, cur->addr, size, map_type)) {
size              447 sys/mem/vm.c   	curmap->total += size;
size              496 sys/mem/vm.c   				seg->size, PG_UNMAP);
size              501 sys/mem/vm.c   				page_free(seg->phys, seg->size);
size              603 sys/mem/vm.c   				dest->phys = page_alloc(src->size);
size              609 sys/mem/vm.c   				       src->size);
size              618 sys/mem/vm.c   				    dest->size, map_type))
size              724 sys/mem/vm.c   	page_free(mod->phys, mod->size);
size              733 sys/mem/vm.c   vm_translate(vaddr_t addr, size_t size)
size              736 sys/mem/vm.c   	return mmu_extract(curtask->map->pgd, addr, size);
size              760 sys/mem/vm.c   			info->size = seg->size;
size              801 sys/mem/vm.c   	seg->size = USERLIMIT - PAGE_SIZE;
size              810 sys/mem/vm.c   seg_create(struct seg *prev, vaddr_t addr, size_t size)
size              818 sys/mem/vm.c   	seg->size = size;
size              855 sys/mem/vm.c   seg_lookup(struct seg *head, vaddr_t addr, size_t size)
size              862 sys/mem/vm.c   		    seg->addr + seg->size >= addr + size) {
size              874 sys/mem/vm.c   seg_alloc(struct seg *head, size_t size)
size              880 sys/mem/vm.c   		if ((seg->flags & SEG_FREE) && seg->size >= size) {
size              881 sys/mem/vm.c   			if (seg->size != size) {
size              886 sys/mem/vm.c   					       seg->addr + size,
size              887 sys/mem/vm.c   					       seg->size - size) == NULL)
size              890 sys/mem/vm.c   			seg->size = size;
size              926 sys/mem/vm.c   		seg->size += next->size;
size              936 sys/mem/vm.c   		prev->size += seg->size;
size              945 sys/mem/vm.c   seg_reserve(struct seg *head, vaddr_t addr, size_t size)
size              953 sys/mem/vm.c   	seg = seg_lookup(head, addr, size);
size              964 sys/mem/vm.c   		seg = seg_create(prev, addr, prev->size - diff);
size              967 sys/mem/vm.c   		prev->size = diff;
size              972 sys/mem/vm.c   	if (seg->size != size) {
size              973 sys/mem/vm.c   		next = seg_create(seg, seg->addr + size, seg->size - size);
size              981 sys/mem/vm.c   		seg->size = size;
size               78 sys/mem/vm_nommu.c vm_allocate(task_t task, void **addr, size_t size, int anywhere)
size              102 sys/mem/vm_nommu.c 	error = do_allocate(task->map, &uaddr, size, anywhere);
size              112 sys/mem/vm_nommu.c do_allocate(vm_map_t map, void **addr, size_t size, int anywhere)
size              117 sys/mem/vm_nommu.c 	if (size == 0)
size              119 sys/mem/vm_nommu.c 	if (map->total + size >= MAXMEM)
size              126 sys/mem/vm_nommu.c 		size = round_page(size);
size              127 sys/mem/vm_nommu.c 		if ((seg = seg_alloc(&map->head, size)) == NULL)
size              132 sys/mem/vm_nommu.c 		end = round_page(start + size);
size              133 sys/mem/vm_nommu.c 		size = (size_t)(end - start);
size              135 sys/mem/vm_nommu.c 		if ((seg = seg_reserve(&map->head, start, size)) == NULL)
size              141 sys/mem/vm_nommu.c 	memset((void *)start, 0, size);
size              143 sys/mem/vm_nommu.c 	map->total += size;
size              201 sys/mem/vm_nommu.c 		page_free(seg->phys, seg->size);
size              203 sys/mem/vm_nommu.c 	map->total -= seg->size;
size              291 sys/mem/vm_nommu.c vm_map(task_t target, void *addr, size_t size, void **alloc)
size              313 sys/mem/vm_nommu.c 	error = do_map(target->map, addr, size, alloc);
size              320 sys/mem/vm_nommu.c do_map(vm_map_t map, void *addr, size_t size, void **alloc)
size              327 sys/mem/vm_nommu.c 	if (size == 0)
size              329 sys/mem/vm_nommu.c 	if (map->total + size >= MAXMEM)
size              338 sys/mem/vm_nommu.c 	end = round_page((vaddr_t)addr + size);
size              339 sys/mem/vm_nommu.c 	size = (size_t)(end - start);
size              344 sys/mem/vm_nommu.c 	seg = seg_lookup(&map->head, start, size);
size              353 sys/mem/vm_nommu.c 	if ((seg = seg_create(&curmap->head, start, size)) == NULL)
size              359 sys/mem/vm_nommu.c 	curmap->total += size;
size              403 sys/mem/vm_nommu.c 				page_free(seg->phys, seg->size);
size              458 sys/mem/vm_nommu.c 	size_t size;
size              466 sys/mem/vm_nommu.c 	size = mod->textsz + mod->datasz + mod->bsssz;
size              467 sys/mem/vm_nommu.c 	if (size == 0)
size              471 sys/mem/vm_nommu.c 	end = round_page(start + size);
size              472 sys/mem/vm_nommu.c 	size = (size_t)(end - start);
size              474 sys/mem/vm_nommu.c 	if ((seg = seg_create(&map->head, start, size)) == NULL)
size              493 sys/mem/vm_nommu.c vm_translate(vaddr_t addr, size_t size)
size              520 sys/mem/vm_nommu.c 			info->size = seg->size;
size              551 sys/mem/vm_nommu.c 	seg->size = 0;
size              560 sys/mem/vm_nommu.c seg_create(struct seg *prev, vaddr_t addr, size_t size)
size              568 sys/mem/vm_nommu.c 	seg->size = size;
size              605 sys/mem/vm_nommu.c seg_lookup(struct seg *head, vaddr_t addr, size_t size)
size              612 sys/mem/vm_nommu.c 		    seg->addr + seg->size >= addr + size) {
size              624 sys/mem/vm_nommu.c seg_alloc(struct seg *head, size_t size)
size              629 sys/mem/vm_nommu.c 	if ((pa = page_alloc(size)) == 0)
size              632 sys/mem/vm_nommu.c 	if ((seg = seg_create(head, (vaddr_t)pa, size)) == NULL) {
size              633 sys/mem/vm_nommu.c      		page_free(pa, size);
size              666 sys/mem/vm_nommu.c seg_reserve(struct seg *head, vaddr_t addr, size_t size)
size              673 sys/mem/vm_nommu.c 	if (page_reserve(pa, size) != 0)
size              676 sys/mem/vm_nommu.c 	if ((seg = seg_create(head, (vaddr_t)pa, size)) == NULL) {
size              677 sys/mem/vm_nommu.c      		page_free(pa, size);
size               43 usr/bin/dmesg/dmesg.c 	size_t size;
size               47 usr/bin/dmesg/dmesg.c 	if (sys_debug(DBGC_LOGSIZE, &size) != 0) {
size               51 usr/bin/dmesg/dmesg.c 	if (size == 0)
size               53 usr/bin/dmesg/dmesg.c 	if ((buf = malloc(size)) == NULL)
size               60 usr/bin/dmesg/dmesg.c 	for (i = 0; i < (int)size; i++) {
size               38 usr/lib/libc/stdio/fread.c fread(buf, size, count, fp)
size               40 usr/lib/libc/stdio/fread.c 	size_t size, count;
size               53 usr/lib/libc/stdio/fread.c 	if ((resid = count * size) == 0)
size               67 usr/lib/libc/stdio/fread.c 			return ((total - resid) / size);
size               41 usr/lib/libc/stdio/fwrite.c fwrite(buf, size, count, fp)
size               43 usr/lib/libc/stdio/fwrite.c 	size_t size, count;
size               47 usr/lib/libc/stdio/fwrite.c 	size_t len = count * size;
size               40 usr/lib/libc/stdio/getw.c 	int size = sizeof(int);
size               43 usr/lib/libc/stdio/getw.c 	while (size--)
size               71 usr/lib/libc/stdio/makebuf.c 	size_t size;
size               79 usr/lib/libc/stdio/makebuf.c 	flags = __swhatbuf(fp, &size, &couldbetty);
size               80 usr/lib/libc/stdio/makebuf.c 	if ((p = malloc(size)) == NULL) {
size               89 usr/lib/libc/stdio/makebuf.c 	fp->_bf._size = size;
size               40 usr/lib/libc/stdio/putw.c 	int size = sizeof(int);
size               43 usr/lib/libc/stdio/putw.c 	while (size--)
size               36 usr/lib/libc/stdio/setbuffer.c setbuffer(fp, buf, size)
size               39 usr/lib/libc/stdio/setbuffer.c 	int size;
size               42 usr/lib/libc/stdio/setbuffer.c 	(void)setvbuf(fp, buf, buf ? _IOFBF : _IONBF, size);
size               42 usr/lib/libc/stdio/setvbuf.c setvbuf(fp, buf, mode, size)
size               46 usr/lib/libc/stdio/setvbuf.c 	size_t size;
size               57 usr/lib/libc/stdio/setvbuf.c 		if ((mode != _IOFBF && mode != _IOLBF) || (int)size < 0)
size               91 usr/lib/libc/stdio/setvbuf.c 	fp->_bf._size = size;
size              201 usr/lib/libc/stdio/vfprintf.c 	int size;		/* size of converted field or string */
size              367 usr/lib/libc/stdio/vfprintf.c 			size = 1;
size              423 usr/lib/libc/stdio/vfprintf.c 					size = p - cp;
size              424 usr/lib/libc/stdio/vfprintf.c 					if (size > prec)
size              425 usr/lib/libc/stdio/vfprintf.c 						size = prec;
size              427 usr/lib/libc/stdio/vfprintf.c 					size = prec;
size              429 usr/lib/libc/stdio/vfprintf.c 				size = strlen(cp);
size              470 usr/lib/libc/stdio/vfprintf.c 			size = buf + BUF - cp;
size              478 usr/lib/libc/stdio/vfprintf.c 			size = 1;
size              497 usr/lib/libc/stdio/vfprintf.c 		fieldsz = size;
size              525 usr/lib/libc/stdio/vfprintf.c 		PRINT(cp, size);
size               34 usr/lib/libc/stdlib/calloc.c calloc(num, size)
size               36 usr/lib/libc/stdlib/calloc.c 	size_t size;
size               40 usr/lib/libc/stdlib/calloc.c 	size *= num;
size               41 usr/lib/libc/stdlib/calloc.c 	if ((p = malloc(size)) != NULL)
size               42 usr/lib/libc/stdlib/calloc.c 		bzero(p, size);
size               92 usr/lib/libsa/vsprintf.c 	int width, base, sign, i, size;
size               95 usr/lib/libsa/vsprintf.c 	size = 0;
size               96 usr/lib/libsa/vsprintf.c 	for (p = buf; *fmt && (size < LINE_MAX); fmt++, size++) {
size              127 usr/lib/libsa/vsprintf.c 				if (size++ >= LINE_MAX)
size               39 usr/lib/posix/file/getcwd.c getcwd(char *buf, size_t size)
size               43 usr/lib/posix/file/getcwd.c 	if (size == 0 || buf == NULL) {
size               45 usr/lib/posix/file/ioctl.c 	size_t size;
size               55 usr/lib/posix/file/ioctl.c 	size = IOCPARM_LEN(cmd);
size               56 usr/lib/posix/file/ioctl.c 	if (size > IOCPARM_MAX) {
size               77 usr/lib/posix/file/ioctl.c 			memcpy(&m.buf, argp, size);
size               93 usr/lib/posix/file/ioctl.c 			memcpy(argp, &m.buf, size);
size               45 usr/lib/posix/file/read.c 	m.size = len;
size               48 usr/lib/posix/file/read.c 	return (int)m.size;
size               44 usr/lib/posix/file/write.c 	m.size = len;
size               47 usr/lib/posix/file/write.c 	return (int)m.size;
size               43 usr/lib/posix/gen/__posix_call.c __posix_call(object_t obj, void *msg, size_t size, int restart)
size               53 usr/lib/posix/gen/__posix_call.c 		error = msg_send(obj, msg, size);
size               43 usr/lib/prex/malloc/malloc.c static struct header *more_core(size_t size);
size               52 usr/lib/prex/malloc/malloc.c malloc(size_t size)
size               56 usr/lib/prex/malloc/malloc.c 	if (size == 0)		/* sanity check */
size               58 usr/lib/prex/malloc/malloc.c 	size = ROUNDUP(size + sizeof(struct header));
size               65 usr/lib/prex/malloc/malloc.c 		free_list.size = 0;
size               71 usr/lib/prex/malloc/malloc.c 		if (p->size >= size) {	/* big enough */
size               72 usr/lib/prex/malloc/malloc.c 			if (p->size == size)	/* exactly */
size               75 usr/lib/prex/malloc/malloc.c 				p->size -= size;
size               76 usr/lib/prex/malloc/malloc.c 				p = (struct header *)((char *)p + p->size);
size               77 usr/lib/prex/malloc/malloc.c 				p->size = size;
size               87 usr/lib/prex/malloc/malloc.c 			if ((p = more_core(size)) == NULL)
size              105 usr/lib/prex/malloc/malloc.c static struct header *more_core(size_t size)
size              109 usr/lib/prex/malloc/malloc.c 	size = round_page(size);
size              110 usr/lib/prex/malloc/malloc.c 	if (vm_allocate(task_self(), (void *)&p, size, 1))
size              112 usr/lib/prex/malloc/malloc.c 	p->size = size;
size              113 usr/lib/prex/malloc/malloc.c 	p->vm_size = size;
size              146 usr/lib/prex/malloc/malloc.c 	    ((char *)p + p->size == (char *)prev->next)) {
size              147 usr/lib/prex/malloc/malloc.c 		p->size += prev->next->size;
size              153 usr/lib/prex/malloc/malloc.c 	    ((char *)prev + prev->size == (char *)p)) {
size              154 usr/lib/prex/malloc/malloc.c 		prev->size += p->size;
size              160 usr/lib/prex/malloc/malloc.c 	if (p->size == p->vm_size) {
size              176 usr/lib/prex/malloc/malloc.c 		printf("mstat: addr=%x size=%d next=%x\n", p, p->size, p->next);
size               47 usr/lib/prex/malloc/malloc.h #define ROUNDUP(size)   (((u_long)(size) + ALIGN_MASK) & ~ALIGN_MASK)
size               51 usr/lib/prex/malloc/malloc.h 	size_t size;
size               41 usr/lib/prex/malloc/malloc_r.c malloc_r(size_t size)
size               46 usr/lib/prex/malloc/malloc_r.c 	p = malloc(size);
size               35 usr/lib/prex/malloc/realloc.c realloc(void *addr, size_t size)
size               41 usr/lib/prex/malloc/realloc.c 		return malloc(size);
size               48 usr/lib/prex/malloc/realloc.c 	old_size = old->size - sizeof(struct header);
size               49 usr/lib/prex/malloc/realloc.c 	if ((p = malloc(size)) == NULL)
size               51 usr/lib/prex/malloc/realloc.c 	if (old_size <= size)
size               54 usr/lib/prex/malloc/realloc.c 		memcpy(p, addr, size);
size               63 usr/server/exec/exec_elf.c 	size_t size = 0;
size               75 usr/server/exec/exec_elf.c 		size = phdr->p_memsz;
size               76 usr/server/exec/exec_elf.c 		if (size == 0)
size               79 usr/server/exec/exec_elf.c 		if (vm_allocate(task, &addr, size, 0) != 0)
size               82 usr/server/exec/exec_elf.c 		if (vm_map(task, (void *)phdr->p_vaddr, size, &mapped) != 0)
size               73 usr/server/fs/arfs/arfs_vfsops.c 	size_t size;
size               83 usr/server/fs/arfs/arfs_vfsops.c 	size = BSIZE;
size               84 usr/server/fs/arfs/arfs_vfsops.c 	error = device_read((device_t)mp->m_dev, buf, &size, 0);
size              149 usr/server/fs/arfs/arfs_vnops.c 	size_t size;
size              174 usr/server/fs/arfs/arfs_vnops.c 		size = (size_t)atol((char *)&hdr->ar_size);
size              175 usr/server/fs/arfs/arfs_vnops.c 		if (size == 0)
size              186 usr/server/fs/arfs/arfs_vnops.c 		off += (sizeof(struct ar_hdr) + size);
size              195 usr/server/fs/arfs/arfs_vnops.c 	vp->v_size = size;
size              206 usr/server/fs/arfs/arfs_vnops.c arfs_read(vnode_t vp, file_t fp, void *buf, size_t size, size_t *result)
size              214 usr/server/fs/arfs/arfs_vnops.c 	DPRINTF(("arfs_read: start size=%d\n", size));
size              227 usr/server/fs/arfs/arfs_vnops.c 	if (vp->v_size - file_pos < size)
size              228 usr/server/fs/arfs/arfs_vnops.c 		size = vp->v_size - file_pos;
size              235 usr/server/fs/arfs/arfs_vnops.c 			 file_pos, buf, size));
size              244 usr/server/fs/arfs/arfs_vnops.c 		if (buf_pos + size < BSIZE)
size              245 usr/server/fs/arfs/arfs_vnops.c 			nr_copy = size;
size              255 usr/server/fs/arfs/arfs_vnops.c 		size -= nr_copy;
size              256 usr/server/fs/arfs/arfs_vnops.c 		if (size <= 0)
size              289 usr/server/fs/arfs/arfs_vnops.c 	size_t size;
size              308 usr/server/fs/arfs/arfs_vnops.c 		size = (size_t)atol((char *)&hdr->ar_size);
size              309 usr/server/fs/arfs/arfs_vnops.c 		if (size == 0) {
size              317 usr/server/fs/arfs/arfs_vnops.c 		off += (sizeof(struct ar_hdr) + size);
size              156 usr/server/fs/devfs/devfs_vnops.c devfs_read(vnode_t vp, file_t fp, void *buf, size_t size, size_t *result)
size              161 usr/server/fs/devfs/devfs_vnops.c 	len = size;
size              169 usr/server/fs/devfs/devfs_vnops.c devfs_write(vnode_t vp, file_t fp, void *buf, size_t size, size_t *result)
size              174 usr/server/fs/devfs/devfs_vnops.c 	len = size;
size              123 usr/server/fs/fatfs/fatfs.h 	uint32_t	size;
size              205 usr/server/fs/fatfs/fatfs.h int	 fat_expand_file(struct fatfsmount *fmp, u_long cl, int size);
size              308 usr/server/fs/fatfs/fatfs_fat.c fat_expand_file(struct fatfsmount *fmp, u_long cl, int size)
size              314 usr/server/fs/fatfs/fatfs_fat.c 	cl_len = size / fmp->cluster_size + 1;
size              335 usr/server/fs/fatfs/fatfs_fat.c 	DPRINTF(("fat_expand_file: new size=%d\n", size));
size               73 usr/server/fs/fatfs/fatfs_vfsops.c 	size_t size;
size               81 usr/server/fs/fatfs/fatfs_vfsops.c 	size = SEC_SIZE;
size               82 usr/server/fs/fatfs/fatfs_vfsops.c 	error = device_read(fmp->dev, bpb, &size, 0);
size              104 usr/server/fs/fatfs/fatfs_vnops.c 	size_t size;
size              107 usr/server/fs/fatfs/fatfs_vnops.c 	size = fmp->sec_per_cl * SEC_SIZE;
size              108 usr/server/fs/fatfs/fatfs_vnops.c 	return device_read(fmp->dev, fmp->io_buf, &size, sec);
size              118 usr/server/fs/fatfs/fatfs_vnops.c 	size_t size;
size              121 usr/server/fs/fatfs/fatfs_vnops.c 	size = fmp->sec_per_cl * SEC_SIZE;
size              122 usr/server/fs/fatfs/fatfs_vnops.c 	return device_write(fmp->dev, fmp->io_buf, &size, sec);
size              156 usr/server/fs/fatfs/fatfs_vnops.c 	vp->v_size = de->size;
size              165 usr/server/fs/fatfs/fatfs_vnops.c fatfs_read(vnode_t vp, file_t fp, void *buf, size_t size, size_t *result)
size              189 usr/server/fs/fatfs/fatfs_vnops.c 	if (vp->v_size - file_pos < size)
size              190 usr/server/fs/fatfs/fatfs_vnops.c 		size = vp->v_size - file_pos;
size              209 usr/server/fs/fatfs/fatfs_vnops.c 		if (buf_pos + size < fmp->cluster_size)
size              210 usr/server/fs/fatfs/fatfs_vnops.c 			nr_copy = size;
size              215 usr/server/fs/fatfs/fatfs_vnops.c 		size -= nr_copy;
size              216 usr/server/fs/fatfs/fatfs_vnops.c 		if (size <= 0)
size              236 usr/server/fs/fatfs/fatfs_vnops.c fatfs_write(vnode_t vp, file_t fp, void *buf, size_t size, size_t *result)
size              260 usr/server/fs/fatfs/fatfs_vnops.c 	if (file_pos + size > end_pos) {
size              262 usr/server/fs/fatfs/fatfs_vnops.c 		end_pos = file_pos + size;
size              272 usr/server/fs/fatfs/fatfs_vnops.c 		de->size = end_pos;
size              285 usr/server/fs/fatfs/fatfs_vnops.c 	cl_size = size / fmp->cluster_size + 1;
size              299 usr/server/fs/fatfs/fatfs_vnops.c 		if (buf_pos + size < fmp->cluster_size)
size              300 usr/server/fs/fatfs/fatfs_vnops.c 			nr_copy = size;
size              309 usr/server/fs/fatfs/fatfs_vnops.c 		size -= nr_copy;
size              310 usr/server/fs/fatfs/fatfs_vnops.c 		if (size <= 0)
size              705 usr/server/fs/fatfs/fatfs_vnops.c 	de->size = length;
size              219 usr/server/fs/fifofs/fifo_vnops.c fifo_read(vnode_t vp, file_t fp, void *buf, size_t size, size_t *result)
size              246 usr/server/fs/fifofs/fifo_vnops.c 	nbytes = (np->fn_size < size) ? np->fn_size : size;
size              264 usr/server/fs/fifofs/fifo_vnops.c fifo_write(vnode_t vp, file_t fp, void *buf, size_t size, size_t *result)
size              285 usr/server/fs/fifofs/fifo_vnops.c 	nbytes = (nfree < size) ? nfree : size;
size              291 usr/server/fs/fifofs/fifo_vnops.c 	size -= nbytes;
size              302 usr/server/fs/fifofs/fifo_vnops.c 	if (size > 0)
size              334 usr/server/fs/ramfs/ramfs_vnops.c ramfs_read(vnode_t vp, file_t fp, void *buf, size_t size, size_t *result)
size              349 usr/server/fs/ramfs/ramfs_vnops.c 	if (vp->v_size - off < size)
size              350 usr/server/fs/ramfs/ramfs_vnops.c 		size = vp->v_size - off;
size              353 usr/server/fs/ramfs/ramfs_vnops.c 	memcpy(buf, np->rn_buf + off, size);
size              355 usr/server/fs/ramfs/ramfs_vnops.c 	fp->f_offset += size;
size              356 usr/server/fs/ramfs/ramfs_vnops.c 	*result = size;
size              361 usr/server/fs/ramfs/ramfs_vnops.c ramfs_write(vnode_t vp, file_t fp, void *buf, size_t size, size_t *result)
size              379 usr/server/fs/ramfs/ramfs_vnops.c 	if (file_pos + size > (size_t)end_pos) {
size              381 usr/server/fs/ramfs/ramfs_vnops.c 		end_pos = file_pos + size;
size              404 usr/server/fs/ramfs/ramfs_vnops.c 	memcpy(np->rn_buf + file_pos, buf, size);
size              405 usr/server/fs/ramfs/ramfs_vnops.c 	fp->f_offset += size;
size              406 usr/server/fs/ramfs/ramfs_vnops.c 	*result = size;
size              218 usr/server/fs/vfs/main.c 	size_t size, bytes;
size              223 usr/server/fs/vfs/main.c 	size = msg->size;
size              224 usr/server/fs/vfs/main.c 	if ((error = vm_map(msg->hdr.task, msg->buf, size, &buf)) != 0)
size              227 usr/server/fs/vfs/main.c 	error = sys_read(fp, buf, size, &bytes);
size              228 usr/server/fs/vfs/main.c 	msg->size = bytes;
size              238 usr/server/fs/vfs/main.c 	size_t size, bytes;
size              243 usr/server/fs/vfs/main.c 	size = msg->size;
size              244 usr/server/fs/vfs/main.c 	if ((error = vm_map(msg->hdr.task, msg->buf, size, &buf)) != 0)
size              247 usr/server/fs/vfs/main.c 	error = sys_write(fp, buf, size, &bytes);
size              248 usr/server/fs/vfs/main.c 	msg->size = bytes;
size               96 usr/server/fs/vfs/vfs.h int	 sys_read(file_t fp, void *buf, size_t size, size_t *result);
size               97 usr/server/fs/vfs/vfs.h int	 sys_write(file_t fp, void *buf, size_t size, size_t *result);
size              229 usr/server/fs/vfs/vfs_bio.c 	size_t size;
size              236 usr/server/fs/vfs/vfs_bio.c 		size = BSIZE;
size              237 usr/server/fs/vfs/vfs_bio.c 		error = device_read((device_t)dev, bp->b_data, &size, blkno);
size              261 usr/server/fs/vfs/vfs_bio.c 	size_t size;
size              272 usr/server/fs/vfs/vfs_bio.c 	size = BSIZE;
size              273 usr/server/fs/vfs/vfs_bio.c 	error = device_write((device_t)bp->b_dev, bp->b_data, &size,
size              175 usr/server/fs/vfs/vfs_syscalls.c sys_read(file_t fp, void *buf, size_t size, size_t *count)
size              181 usr/server/fs/vfs/vfs_syscalls.c 				(u_int)fp, (u_int)buf, size));
size              185 usr/server/fs/vfs/vfs_syscalls.c 	if (size == 0) {
size              191 usr/server/fs/vfs/vfs_syscalls.c 	error = VOP_READ(vp, fp, buf, size, count);
size              197 usr/server/fs/vfs/vfs_syscalls.c sys_write(file_t fp, void *buf, size_t size, size_t *count)
size              203 usr/server/fs/vfs/vfs_syscalls.c 				(u_int)fp, (u_int)buf, size));
size              207 usr/server/fs/vfs/vfs_syscalls.c 	if (size == 0) {
size              213 usr/server/fs/vfs/vfs_syscalls.c 	error = VOP_WRITE(vp, fp, buf, size, count);
size               48 usr/test/attack/attack.c 	size_t size	= (size_t)random();
size               67 usr/test/attack/attack.c 	msg_send(0, msg, size);
size               68 usr/test/attack/attack.c 	msg_send(obj, NULL, size);
size               71 usr/test/attack/attack.c 	msg_send(0, NULL, size);
size               72 usr/test/attack/attack.c 	msg_send(obj, msg, size);
size               74 usr/test/attack/attack.c 	msg_receive(0, msg, size);
size               75 usr/test/attack/attack.c 	msg_receive(obj, NULL, size);
size               78 usr/test/attack/attack.c 	msg_receive(0, NULL, size);
size               79 usr/test/attack/attack.c 	msg_receive(obj, msg, size);
size               81 usr/test/attack/attack.c 	msg_reply(0, msg, size);
size               82 usr/test/attack/attack.c 	msg_reply(obj, NULL, size);
size               85 usr/test/attack/attack.c 	msg_reply(0, NULL, size);
size               86 usr/test/attack/attack.c 	msg_reply(obj, msg, size);
size               88 usr/test/attack/attack.c 	vm_allocate(self, addr, size, 1);
size               89 usr/test/attack/attack.c 	vm_allocate(self, &addr, size, 1);
size               93 usr/test/attack/attack.c 	vm_map(self, addr, size, &addr);
size               43 usr/test/fdd/fdd.c 	size_t size;
size               57 usr/test/fdd/fdd.c 	size = 512;
size               58 usr/test/fdd/fdd.c 	error = device_read(fdd, disk_buf, &size, sector);
size               92 usr/test/fdd/fdd.c 	size_t size;
size              104 usr/test/fdd/fdd.c 	size = 512;
size              105 usr/test/fdd/fdd.c 	error = device_read(fdd, disk_buf, &size, sector);
size              113 usr/test/fdd/fdd.c 	size = 512;
size              114 usr/test/fdd/fdd.c 	error = device_write(fdd, disk_buf, &size, sector);
size               45 usr/test/memleak/memleak.c 	size_t size;
size               51 usr/test/memleak/memleak.c 	size = 1;
size               53 usr/test/memleak/memleak.c 		printf("memleak: malloc %d bytes\n", size);
size               54 usr/test/memleak/memleak.c 		p = malloc(size);
size               59 usr/test/memleak/memleak.c 		size *= 2;
size               45 usr/test/ramdisk/ramdisk.c 	size_t size;
size               59 usr/test/ramdisk/ramdisk.c 	size = 512;
size               60 usr/test/ramdisk/ramdisk.c 	error = device_read(ramdev, disk_buf, &size, sector);
size               94 usr/test/ramdisk/ramdisk.c 	size_t size;
size              106 usr/test/ramdisk/ramdisk.c 	size = 512;
size              107 usr/test/ramdisk/ramdisk.c 	error = device_read(ramdev, disk_buf, &size, sector);
size              117 usr/test/ramdisk/ramdisk.c 	size = 512;
size              118 usr/test/ramdisk/ramdisk.c 	error = device_write(ramdev, disk_buf, &size, sector);