HelenOS sources
size 44 abi/include/abi/asmtool.h .size sym, . - sym
size 62 abi/include/abi/ddi/arg.h size_t size; /**< Number of bytes. */
size 42 abi/include/abi/ddi/irq.h size_t size;
size 60 abi/include/abi/mm/as.h size_t size;
size 48 boot/arch/arm32/include/arch/types.h size_t size;
size 54 boot/arch/arm32/src/main.c static void clean_dcache_poc(void *address, size_t size)
size 68 boot/arch/arm32/src/main.c for (uintptr_t a = ALIGN_DOWN(addr, CP15_C7_MVA_ALIGN); a < addr + size;
size 53 boot/arch/arm64/include/arch/boot.h size_t size;
size 83 boot/arch/arm64/include/arch/boot.h size_t size;
size 282 boot/arch/arm64/src/main.c bootinfo->memmap.zones[cnt].size = current_size;
size 40 boot/arch/ia64/include/arch/types.h size_t size;
size 52 boot/arch/ia64/include/arch/types.h unsigned long size;
size 72 boot/arch/ia64/src/main.c memmap[items].size = DEFAULT_MEMORY_SIZE;
size 77 boot/arch/ia64/src/main.c memmap[items].size = DEFAULT_LEGACY_IO_SIZE;
size 108 boot/arch/ia64/src/main.c o->base + o->size == md->phys_start) {
size 109 boot/arch/ia64/src/main.c o->size += md->pages * EFI_PAGE_SIZE;
size 125 boot/arch/ia64/src/main.c memmap[items].size = md->pages * EFI_PAGE_SIZE;
size 184 boot/arch/ia64/src/main.c m.base + m.size > (uintptr_t) kernel_start) {
size 185 boot/arch/ia64/src/main.c ram_end = (uint8_t *) (m.base + m.size);
size 43 boot/arch/mips32/include/arch/types.h size_t size;
size 39 boot/arch/ppc32/include/arch/types.h size_t size;
size 45 boot/arch/riscv64/include/arch/types.h size_t size;
size 58 boot/arch/riscv64/include/arch/types.h size_t size;
size 65 boot/arch/riscv64/src/main.c bootinfo.memmap.zones[0].size = PHYSMEM_SIZE;
size 83 boot/arch/riscv64/src/main.c z.start + z.size > (void *) load_addr) {
size 84 boot/arch/riscv64/src/main.c end = z.start + z.size;
size 39 boot/arch/sparc64/include/arch/types.h size_t size;
size 187 boot/arch/sparc64/src/main.c bootinfo.memmap.zones[0].size -= OBP_BIAS;
size 62 boot/genarch/include/genarch/ofw.h size_t size;
size 38 boot/genarch/include/genarch/ofw_tree.h size_t size;
size 325 boot/genarch/src/ofw.c void ofw_map(const void *phys, const void *virt, const size_t size,
size 342 boot/genarch/src/ofw.c ALIGN_UP(size, PAGE_SIZE), virt, phys_hi, phys_lo);
size 346 boot/genarch/src/ofw.c virt, phys, size);
size 379 boot/genarch/src/ofw.c uintptr_t size = buf[pos + ac + sc - 1];
size 389 boot/genarch/src/ofw.c map->zones[map->cnt - 1].size < start))
size 392 boot/genarch/src/ofw.c if (size > 0) {
size 394 boot/genarch/src/ofw.c map->zones[map->cnt].size = size;
size 396 boot/genarch/src/ofw.c map->total += size;
size 417 boot/genarch/src/ofw.c void ofw_alloc(const char *name, void **base, void **base_pa, const size_t size,
size 421 boot/genarch/src/ofw.c *base_pa = ofw_claim_phys_any(size, PAGE_SIZE);
size 424 boot/genarch/src/ofw.c *base = ofw_claim_virt_any(size, PAGE_SIZE);
size 425 boot/genarch/src/ofw.c ofw_map(*base_pa, *base, ALIGN_UP(size, PAGE_SIZE), (ofw_arg_t) -1);
size 52 boot/genarch/src/ofw_tree.c static void *ofw_tree_space_alloc(size_t size)
size 64 boot/genarch/src/ofw_tree.c char *addr = balloc(size + 1, 4);
size 66 boot/genarch/src/ofw_tree.c addr[size] = '\0';
size 171 boot/genarch/src/ofw_tree.c size_t size = ofw_get_proplen(current, name);
size 172 boot/genarch/src/ofw_tree.c property[i].size = size;
size 174 boot/genarch/src/ofw_tree.c if (size) {
size 175 boot/genarch/src/ofw_tree.c void *buf = ofw_tree_space_alloc(size);
size 180 boot/genarch/src/ofw_tree.c (void) ofw_get_property(current, name, buf, size);
size 37 boot/generic/include/balloc.h size_t size;
size 49 boot/generic/include/tar.h char size[12];
size 39 boot/generic/src/balloc.c size_t size)
size 43 boot/generic/src/balloc.c max_size = size;
size 45 boot/generic/src/balloc.c ballocs->size = 0;
size 48 boot/generic/src/balloc.c void *balloc(size_t size, size_t alignment)
size 56 boot/generic/src/balloc.c uintptr_t addr = phys_base + ALIGN_UP(ballocs->size, alignment);
size 58 boot/generic/src/balloc.c if (ALIGN_UP(ballocs->size, alignment) + size >= max_size)
size 61 boot/generic/src/balloc.c ballocs->size = ALIGN_UP(ballocs->size, alignment) + size;
size 62 boot/generic/src/gzip.c uint32_t size;
size 113 boot/generic/src/gzip.c return uint32_t_le2host(footer.size);
size 152 boot/generic/src/gzip.c if (destlen != uint32_t_le2host(footer.size))
size 116 boot/generic/src/payload.c task->size = unpacked_size;
size 242 boot/generic/src/payload.c ALIGN_UP((uintptr_t) task.addr + task.size, PAGE_SIZE);
size 123 boot/generic/src/printf_core.c static int printf_putnchars(const char *buf, size_t size,
size 126 boot/generic/src/printf_core.c return ps->str_write((void *) buf, size, ps->data);
size 231 boot/generic/src/printf_core.c size_t size = str_lsize(str, precision);
size 232 boot/generic/src/printf_core.c if ((retval = printf_putnchars(str, size, ps)) < 0)
size 272 boot/generic/src/printf_core.c int size = 0;
size 279 boot/generic/src/printf_core.c size++;
size 283 boot/generic/src/printf_core.c size++;
size 288 boot/generic/src/printf_core.c int number_size = size;
size 298 boot/generic/src/printf_core.c size += 2;
size 301 boot/generic/src/printf_core.c size++;
size 304 boot/generic/src/printf_core.c size += 2;
size 313 boot/generic/src/printf_core.c size++;
size 316 boot/generic/src/printf_core.c size++;
size 319 boot/generic/src/printf_core.c size++;
size 331 boot/generic/src/printf_core.c if ((precision == 0) && (width > size))
size 332 boot/generic/src/printf_core.c precision = width - size + number_size;
size 341 boot/generic/src/printf_core.c width -= precision + size - number_size;
size 735 boot/generic/src/printf_core.c size_t size;
size 740 boot/generic/src/printf_core.c size = sizeof(unsigned char);
size 744 boot/generic/src/printf_core.c size = sizeof(unsigned short);
size 748 boot/generic/src/printf_core.c size = sizeof(unsigned int);
size 752 boot/generic/src/printf_core.c size = sizeof(unsigned long);
size 756 boot/generic/src/printf_core.c size = sizeof(unsigned long long);
size 760 boot/generic/src/printf_core.c size = sizeof(void *);
size 761 boot/generic/src/printf_core.c precision = size << 1;
size 765 boot/generic/src/printf_core.c size = sizeof(size_t);
size 769 boot/generic/src/printf_core.c size = sizeof(uintmax_t);
size 86 boot/generic/src/tar.c ptrdiff_t len = _parse_size(h->size, sizeof(h->size), 8);
size 38 boot/generic/src/vprintf.c static int vprintf_str_write(const char *str, size_t size, void *data)
size 43 boot/generic/src/vprintf.c while (offset < size) {
size 44 boot/generic/src/vprintf.c putuchar(str_decode(str, &offset, size));
size 79 common/adt/bitmap.c size_t size = elements / BITMAP_ELEMENT;
size 82 common/adt/bitmap.c size++;
size 84 common/adt/bitmap.c return size;
size 277 common/adt/bitmap.c size_t size = bitmap_size(bitmap->elements);
size 291 common/adt/bitmap.c for (size_t pos = 0; pos < size; pos++) {
size 292 common/adt/bitmap.c size_t byte = (next_fit + pos) % size;
size 48 common/adt/circ_buf.c void circ_buf_init(circ_buf_t *cbuf, void *buf, size_t nmemb, size_t size)
size 52 common/adt/circ_buf.c cbuf->size = size;
size 89 common/adt/circ_buf.c memcpy(cbuf->buf + cbuf->size * cbuf->wp, data, cbuf->size);
size 106 common/adt/circ_buf.c memcpy(datab, cbuf->buf + cbuf->size * cbuf->rp, cbuf->size);
size 386 common/adt/hash_table.c static size_t round_up_size(size_t size)
size 390 common/adt/hash_table.c while (rounded_size < size) {
size 48 common/include/adt/circ_buf.h size_t size;
size 110 common/include/stdlib.h extern void *malloc(size_t size)
size 112 common/include/stdlib.h extern void *calloc(size_t nmemb, size_t size)
size 114 common/include/stdlib.h extern void *realloc(void *addr, size_t size)
size 121 common/include/stdlib.h extern void *memalign(size_t align, size_t size)
size 103 common/include/str.h extern size_t str_nlength(const char *str, size_t size);
size 104 common/include/str.h extern size_t wstr_nlength(const char32_t *str, size_t size);
size 120 common/include/str.h extern void str_cpy(char *dest, size_t size, const char *src);
size 121 common/include/str.h extern void str_ncpy(char *dest, size_t size, const char *src, size_t n);
size 122 common/include/str.h extern void str_append(char *dest, size_t size, const char *src);
size 124 common/include/str.h extern errno_t spascii_to_str(char *dest, size_t size, const uint8_t *src, size_t n);
size 125 common/include/str.h extern void wstr_to_str(char *dest, size_t size, const char32_t *src);
size 129 common/include/str.h extern errno_t utf16_to_str(char *dest, size_t size, const uint16_t *src);
size 143 common/printf/printf_core.c static int printf_putnchars(const char *buf, size_t size,
size 146 common/printf/printf_core.c return ps->str_write((void *) buf, size, ps->data);
size 159 common/printf/printf_core.c static int printf_wputnchars(const char32_t *buf, size_t size,
size 162 common/printf/printf_core.c return ps->wstr_write((void *) buf, size, ps->data);
size 322 common/printf/printf_core.c size_t size = str_lsize(str, precision);
size 323 common/printf/printf_core.c if ((retval = printf_putnchars(str, size, ps)) < 0)
size 371 common/printf/printf_core.c size_t size = wstr_lsize(str, precision);
size 372 common/printf/printf_core.c if ((retval = printf_wputnchars(str, size, ps)) < 0)
size 417 common/printf/printf_core.c int size = 0;
size 424 common/printf/printf_core.c size++;
size 428 common/printf/printf_core.c size++;
size 433 common/printf/printf_core.c int number_size = size;
size 443 common/printf/printf_core.c size += 2;
size 446 common/printf/printf_core.c size++;
size 449 common/printf/printf_core.c size += 2;
size 458 common/printf/printf_core.c size++;
size 461 common/printf/printf_core.c size++;
size 464 common/printf/printf_core.c size++;
size 476 common/printf/printf_core.c if ((precision == 0) && (width > size))
size 477 common/printf/printf_core.c precision = width - size + number_size;
size 486 common/printf/printf_core.c width -= precision + size - number_size;
size 1606 common/printf/printf_core.c size_t size;
size 1611 common/printf/printf_core.c size = sizeof(unsigned char);
size 1615 common/printf/printf_core.c size = sizeof(unsigned short);
size 1619 common/printf/printf_core.c size = sizeof(unsigned int);
size 1623 common/printf/printf_core.c size = sizeof(unsigned long);
size 1627 common/printf/printf_core.c size = sizeof(unsigned long long);
size 1631 common/printf/printf_core.c size = sizeof(void *);
size 1632 common/printf/printf_core.c precision = size << 1;
size 1636 common/printf/printf_core.c size = sizeof(size_t);
size 1640 common/printf/printf_core.c size = sizeof(uintmax_t);
size 49 common/stdc/bsearch.c void *bsearch(const void *key, const void *base, size_t nmemb, size_t size,
size 58 common/stdc/bsearch.c pivot = base + size * pividx;
size 70 common/stdc/bsearch.c base += size * (pividx + 1);
size 42 common/stdc/calloc.c void *calloc(const size_t nmemb, const size_t size)
size 45 common/stdc/calloc.c if (SIZE_MAX / size < nmemb)
size 48 common/stdc/calloc.c void *block = malloc(nmemb * size);
size 52 common/stdc/calloc.c memset(block, 0, nmemb * size);
size 46 common/stdc/qsort.c size_t size;
size 79 common/stdc/qsort.c a = qs->base + i * qs->size;
size 80 common/stdc/qsort.c b = qs->base + j * qs->size;
size 100 common/stdc/qsort.c a = qs->base + i * qs->size;
size 101 common/stdc/qsort.c b = qs->base + j * qs->size;
size 103 common/stdc/qsort.c for (k = 0; k < qs->size; k++) {
size 171 common/stdc/qsort.c void qsort(void *base, size_t nmemb, size_t size, int (*compar)(const void *,
size 181 common/stdc/qsort.c qs.size = size;
size 196 common/stdc/qsort.c void qsort_r(void *base, size_t nmemb, size_t size, int (*compar)(const void *,
size 206 common/stdc/qsort.c qs.size = size;
size 148 common/str.c char32_t str_decode(const char *str, size_t *offset, size_t size)
size 150 common/str.c if (*offset + 1 > size)
size 182 common/str.c if (*offset + cbytes > size)
size 218 common/str.c char32_t str_decode_reverse(const char *str, size_t *offset, size_t size)
size 235 common/str.c return str_decode(str, &start_offset, size);
size 261 common/str.c errno_t chr_encode(const char32_t ch, char *str, size_t *offset, size_t size)
size 263 common/str.c if (*offset >= size)
size 298 common/str.c if (*offset + cbytes >= size)
size 329 common/str.c size_t size = 0;
size 332 common/str.c size++;
size 334 common/str.c return size;
size 393 common/str.c size_t size = 0;
size 395 common/str.c while ((*str++ != 0) && (size < max_size))
size 396 common/str.c size++;
size 398 common/str.c return size;
size 478 common/str.c size_t str_nlength(const char *str, size_t size)
size 483 common/str.c while (str_decode(str, &offset, size) != 0)
size 497 common/str.c size_t wstr_nlength(const char32_t *str, size_t size)
size 500 common/str.c size_t limit = ALIGN_DOWN(size, sizeof(char32_t));
size 836 common/str.c void str_cpy(char *dest, size_t size, const char *src)
size 839 common/str.c assert(size > 0);
size 847 common/str.c if (chr_encode(ch, dest, &dest_off, size - 1) != EOK)
size 870 common/str.c void str_ncpy(char *dest, size_t size, const char *src, size_t n)
size 873 common/str.c assert(size > 0);
size 880 common/str.c if (chr_encode(ch, dest, &dest_off, size - 1) != EOK)
size 898 common/str.c void str_append(char *dest, size_t size, const char *src)
size 903 common/str.c if (dstr_size >= size)
size 906 common/str.c str_cpy(dest + dstr_size, size - dstr_size, src);
size 933 common/str.c errno_t spascii_to_str(char *dest, size_t size, const uint8_t *src, size_t n)
size 943 common/str.c assert(size > 0);
size 955 common/str.c rc = chr_encode(byte, dest, &didx, size - 1);
size 982 common/str.c void wstr_to_str(char *dest, size_t size, const char32_t *src)
size 989 common/str.c assert(size > 0);
size 995 common/str.c if (chr_encode(ch, dest, &dest_off, size - 1) != EOK)
size 1014 common/str.c errno_t utf16_to_str(char *dest, size_t size, const uint16_t *src)
size 1021 common/str.c assert(size > 0);
size 1036 common/str.c rc = chr_encode(ch, dest, &dest_off, size - 1);
size 1404 common/str.c size_t size = str_size(src) + 1;
size 1405 common/str.c char *dest = malloc(size);
size 1409 common/str.c str_cpy(dest, size, src);
size 1435 common/str.c size_t size = str_size(src);
size 1436 common/str.c if (size > n)
size 1437 common/str.c size = n;
size 1439 common/str.c char *dest = malloc(size + 1);
size 1443 common/str.c str_ncpy(dest, size + 1, src, size);
size 41 kernel/arch/abs32le/include/arch/context.h #define context_set(ctx, pc, stack, size) \
size 42 kernel/arch/abs32le/include/arch/context.h context_set_generic(ctx, pc, stack, size)
size 128 kernel/arch/abs32le/src/abs32le.c uintptr_t memcpy_from_uspace(void *dst, uspace_addr_t uspace_src, size_t size)
size 133 kernel/arch/abs32le/src/abs32le.c uintptr_t memcpy_to_uspace(uspace_addr_t uspace_dst, const void *src, size_t size)
size 43 kernel/arch/amd64/include/arch/boot/memmap_struct.h uint64_t size;
size 47 kernel/arch/amd64/include/arch/context.h #define context_set(c, _pc, stack, size) \
size 50 kernel/arch/amd64/include/arch/context.h (c)->sp = ((uintptr_t) (stack)) + (size) - SP_DELTA; \
size 97 kernel/arch/amd64/src/ddi/ddi.c size_t size = bitmap_size(elements);
size 98 kernel/arch/amd64/src/ddi/ddi.c gdt_tss_setlimit(&gdt_p[TSS_DES], TSS_BASIC_SIZE + size);
size 56 kernel/arch/amd64/src/mm/frame.c uint64_t size64 = e820table[i].size;
size 70 kernel/arch/amd64/src/mm/frame.c size_t size = (size_t) size64;
size 72 kernel/arch/amd64/src/mm/frame.c if (!frame_adjust_zone_bounds(low, &base, &size))
size 78 kernel/arch/amd64/src/mm/frame.c uint64_t new_size = ALIGN_DOWN(size - (new_base - base),
size 102 kernel/arch/amd64/src/mm/frame.c uint64_t new_size = ALIGN_UP(size + (base - new_base),
size 110 kernel/arch/amd64/src/mm/frame.c uint64_t new_size = ALIGN_UP(size + (base - new_base),
size 142 kernel/arch/amd64/src/mm/frame.c e820table[i].size, name);
size 48 kernel/arch/arm32/include/arch/arch.h size_t size;
size 47 kernel/arch/arm32/include/arch/context.h #define context_set(c, _pc, stack, size) \
size 50 kernel/arch/arm32/include/arch/context.h (c)->sp = ((uintptr_t) (stack)) + (size) - SP_DELTA; \
size 81 kernel/arch/arm32/include/arch/machine_func.h extern void machine_get_memory_extents(uintptr_t *start, size_t *size);
size 73 kernel/arch/arm32/src/arm32.c init.tasks[i].size = bootinfo->taskmap.tasks[i].size;
size 51 kernel/arch/arm32/src/mach/beagleboardxm/beagleboardxm.c static void bbxm_get_memory_extents(uintptr_t *start, size_t *size);
size 144 kernel/arch/arm32/src/mach/beagleboardxm/beagleboardxm.c static void bbxm_get_memory_extents(uintptr_t *start, size_t *size)
size 147 kernel/arch/arm32/src/mach/beagleboardxm/beagleboardxm.c *size = BBXM_MEMORY_SIZE;
size 57 kernel/arch/arm32/src/mach/beaglebone/beaglebone.c static void bbone_get_memory_extents(uintptr_t *start, size_t *size);
size 172 kernel/arch/arm32/src/mach/beaglebone/beaglebone.c static void bbone_get_memory_extents(uintptr_t *start, size_t *size)
size 175 kernel/arch/arm32/src/mach/beaglebone/beaglebone.c *size = BBONE_MEMORY_SIZE;
size 68 kernel/arch/arm32/src/mach/gta02/gta02.c static void gta02_get_memory_extents(uintptr_t *start, size_t *size);
size 128 kernel/arch/arm32/src/mach/gta02/gta02.c static void gta02_get_memory_extents(uintptr_t *start, size_t *size)
size 131 kernel/arch/arm32/src/mach/gta02/gta02.c *size = GTA02_MEMORY_SIZE - GTA02_MEMORY_SKIP;
size 232 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c void icp_get_memory_extents(uintptr_t *start, size_t *size)
size 237 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c *size = sdram[(*(uint32_t *) icp.hw_map.sdramcr &
size 240 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c *size = SDRAM_SIZE;
size 61 kernel/arch/arm32/src/mach/raspberrypi/raspberrypi.c static void raspberrypi_get_memory_extents(uintptr_t *start, size_t *size);
size 139 kernel/arch/arm32/src/mach/raspberrypi/raspberrypi.c static void raspberrypi_get_memory_extents(uintptr_t *start, size_t *size)
size 145 kernel/arch/arm32/src/mach/raspberrypi/raspberrypi.c *size = msize - RPI_MEMORY_SKIP;
size 149 kernel/arch/arm32/src/mach/raspberrypi/raspberrypi.c *size = RPI_DEFAULT_MEMORY_SIZE - RPI_MEMORY_SKIP;
size 91 kernel/arch/arm32/src/machine_func.c void machine_get_memory_extents(uintptr_t *start, size_t *size)
size 93 kernel/arch/arm32/src/machine_func.c (machine_ops->machine_get_memory_extents)(start, size);
size 46 kernel/arch/arm32/src/mm/frame.c size_t size;
size 48 kernel/arch/arm32/src/mm/frame.c machine_get_memory_extents(&base, &size);
size 50 kernel/arch/arm32/src/mm/frame.c size = ALIGN_DOWN(size, FRAME_SIZE);
size 52 kernel/arch/arm32/src/mm/frame.c if (!frame_adjust_zone_bounds(low, &base, &size))
size 56 kernel/arch/arm32/src/mm/frame.c zone_create(ADDR2PFN(base), SIZE2FRAMES(size),
size 61 kernel/arch/arm32/src/mm/frame.c pfn_t conf = zone_external_conf_alloc(SIZE2FRAMES(size));
size 63 kernel/arch/arm32/src/mm/frame.c zone_create(ADDR2PFN(base), SIZE2FRAMES(size), conf,
size 53 kernel/arch/arm64/include/arch/boot/boot.h size_t size;
size 83 kernel/arch/arm64/include/arch/boot/boot.h size_t size;
size 46 kernel/arch/arm64/include/arch/context.h #define context_set(c, _pc, stack, size) \
size 49 kernel/arch/arm64/include/arch/context.h (c)->sp = ((uint64_t) (stack)) + (size) - SP_DELTA; \
size 70 kernel/arch/arm64/src/arm64.c init.tasks[i].size = bootinfo->taskmap.tasks[i].size;
size 80 kernel/arch/arm64/src/arm64.c memmap.zones[i].size = bootinfo->memmap.zones[i].size;
size 66 kernel/arch/arm64/src/mm/frame.c memmap.zones[i].size, type);
size 85 kernel/arch/arm64/src/mm/frame.c size_t size = ALIGN_DOWN(memmap.zones[i].size -
size 88 kernel/arch/arm64/src/mm/frame.c if (!frame_adjust_zone_bounds(low, &base, &size))
size 93 kernel/arch/arm64/src/mm/frame.c size_t count = SIZE2FRAMES(size);
size 45 kernel/arch/ia32/include/arch/boot/memmap_struct.h uint64_t size;
size 51 kernel/arch/ia32/include/arch/context.h #define context_set(c, _pc, stack, size) \
size 54 kernel/arch/ia32/include/arch/context.h (c)->sp = ((uintptr_t) (stack)) + (size) - SP_DELTA; \
size 97 kernel/arch/ia32/src/ddi/ddi.c size_t size = bitmap_size(elements);
size 98 kernel/arch/ia32/src/ddi/ddi.c gdt_setlimit(&gdt_p[TSS_DES], TSS_BASIC_SIZE + size);
size 56 kernel/arch/ia32/src/mm/frame.c uint64_t size64 = e820table[i].size;
size 70 kernel/arch/ia32/src/mm/frame.c size_t size = (size_t) size64;
size 72 kernel/arch/ia32/src/mm/frame.c if (!frame_adjust_zone_bounds(low, &base, &size))
size 78 kernel/arch/ia32/src/mm/frame.c uint64_t new_size = ALIGN_DOWN(size - (new_base - base),
size 102 kernel/arch/ia32/src/mm/frame.c uint64_t new_size = ALIGN_UP(size + (base - new_base),
size 110 kernel/arch/ia32/src/mm/frame.c uint64_t new_size = ALIGN_UP(size + (base - new_base),
size 142 kernel/arch/ia32/src/mm/frame.c e820table[i].size, name);
size 43 kernel/arch/ia64/include/arch/bootinfo.h size_t size;
size 55 kernel/arch/ia64/include/arch/bootinfo.h unsigned long size;
size 54 kernel/arch/ia64/include/arch/context.h #define context_set(c, _pc, stack, size) \
size 57 kernel/arch/ia64/include/arch/context.h (c)->bsp = ((uintptr_t) stack) + ALIGN_UP((size / 2), REGISTER_STACK_ALIGNMENT); \
size 60 kernel/arch/ia64/include/arch/context.h (c)->sp = ((uintptr_t) stack) + ALIGN_UP((size / 2), STACK_ALIGNMENT) - SP_DELTA; \
size 174 kernel/arch/ia64/include/arch/mm/page.h unsigned int size : 6;
size 55 kernel/arch/ia64/src/ddi/ddi.c errno_t ddi_iospace_enable_arch(task_t *task, uintptr_t ioaddr, size_t size)
size 71 kernel/arch/ia64/src/ddi/ddi.c size = ALIGN_UP(size + ioaddr - 4 * iopage, PORTS_PER_PAGE);
size 72 kernel/arch/ia64/src/ddi/ddi.c bitmap_set_range(task->arch.iomap, iopage, size / 4);
size 87 kernel/arch/ia64/src/ddi/ddi.c errno_t ddi_iospace_disable_arch(task_t *task, uintptr_t ioaddr, size_t size)
size 93 kernel/arch/ia64/src/ddi/ddi.c size = ALIGN_UP(size + ioaddr - 4 * iopage, PORTS_PER_PAGE);
size 94 kernel/arch/ia64/src/ddi/ddi.c bitmap_clear_range(task->arch.iomap, iopage, size / 4);
size 94 kernel/arch/ia64/src/ia64.c init.tasks[i].size = bootinfo->taskmap.tasks[i].size;
size 64 kernel/arch/ia64/src/mm/frame.c size_t size = bootinfo->memmap[i].size;
size 67 kernel/arch/ia64/src/mm/frame.c if (size > FRAME_SIZE)
size 68 kernel/arch/ia64/src/mm/frame.c size -= abase - base;
size 70 kernel/arch/ia64/src/mm/frame.c if (!frame_adjust_zone_bounds(low, &abase, &size))
size 73 kernel/arch/ia64/src/mm/frame.c if (size > MIN_ZONE_SIZE) {
size 75 kernel/arch/ia64/src/mm/frame.c size_t count = SIZE2FRAMES(size);
size 101 kernel/arch/ia64/src/mm/page.c pta.map.size = VHPT_WIDTH;
size 54 kernel/arch/mips32/include/arch/arch.h size_t size;
size 47 kernel/arch/mips32/include/arch/context.h #define context_set(ctx, pc, stack, size) \
size 48 kernel/arch/mips32/include/arch/context.h context_set_generic(ctx, pc, stack, size)
size 123 kernel/arch/mips32/src/mach/malta/malta.c void malta_get_memory_extents(uintptr_t *start, size_t *size)
size 95 kernel/arch/mips32/src/mach/msim/msim.c void msim_get_memory_extents(uintptr_t *start, size_t *size)
size 79 kernel/arch/mips32/src/machine_func.c void machine_get_memory_extents(uintptr_t *start, size_t *size)
size 81 kernel/arch/mips32/src/machine_func.c (machine_ops->machine_get_memory_extents)(start, size);
size 92 kernel/arch/mips32/src/mips32.c init.tasks[i].size = bootinfo->taskmap.tasks[i].size;
size 117 kernel/arch/mips32/src/mm/frame.c KA2PA(ballocs.base), ballocs.size))
size 125 kernel/arch/mips32/src/mm/frame.c init.tasks[i].paddr, init.tasks[i].size)) {
size 139 kernel/arch/mips32/src/mm/frame.c size_t size = (end_frame - start_frame) << ZERO_PAGE_WIDTH;
size 141 kernel/arch/mips32/src/mm/frame.c if (!frame_adjust_zone_bounds(low, &base, &size))
size 145 kernel/arch/mips32/src/mm/frame.c size_t count = SIZE2FRAMES(size);
size 52 kernel/arch/ppc32/include/arch/boot/boot.h size_t size;
size 63 kernel/arch/ppc32/include/arch/boot/boot.h size_t size;
size 42 kernel/arch/ppc32/include/arch/context.h #define context_set(ctx, pc, stack, size) \
size 43 kernel/arch/ppc32/include/arch/context.h context_set_generic(ctx, pc, stack, size)
size 43 kernel/arch/ppc32/src/drivers/pic.c void pic_init(uintptr_t base, size_t size, cir_t *cir, void **cir_arg)
size 45 kernel/arch/ppc32/src/drivers/pic.c pic = (uint32_t *) km_map(base, size, KM_NATURAL_ALIGNMENT,
size 52 kernel/arch/ppc32/src/mm/frame.c memmap.zones[i].size);
size 65 kernel/arch/ppc32/src/mm/frame.c size_t size = ALIGN_DOWN(memmap.zones[i].size -
size 68 kernel/arch/ppc32/src/mm/frame.c if (!frame_adjust_zone_bounds(low, &base, &size))
size 72 kernel/arch/ppc32/src/mm/frame.c size_t count = SIZE2FRAMES(size);
size 87 kernel/arch/ppc32/src/ppc32.c init.tasks[i].size = bootinfo->taskmap.tasks[i].size;
size 97 kernel/arch/ppc32/src/ppc32.c memmap.zones[i].size = bootinfo->memmap.zones[i].size;
size 102 kernel/arch/ppc32/src/ppc32.c ballocs.size = bootinfo->ballocs.size;
size 237 kernel/arch/ppc32/src/ppc32.c size_t size = 2 * PAGE_SIZE;
size 239 kernel/arch/ppc32/src/ppc32.c cuda_t *cuda = (cuda_t *) km_map(pa, size, KM_NATURAL_ALIGNMENT,
size 60 kernel/arch/riscv64/include/arch/boot/boot.h size_t size;
size 71 kernel/arch/riscv64/include/arch/boot/boot.h size_t size;
size 42 kernel/arch/riscv64/include/arch/context.h #define context_set(context, pc, stack, size) \
size 43 kernel/arch/riscv64/include/arch/context.h context_set_generic(context, pc, stack, size)
size 62 kernel/arch/riscv64/src/mm/frame.c size_t size = ALIGN_DOWN(memmap.zones[i].size -
size 65 kernel/arch/riscv64/src/mm/frame.c if (!frame_adjust_zone_bounds(low, &base, &size))
size 69 kernel/arch/riscv64/src/mm/frame.c size_t count = SIZE2FRAMES(size);
size 80 kernel/arch/riscv64/src/riscv64.c init.tasks[i].size = bootinfo->taskmap.tasks[i].size;
size 90 kernel/arch/riscv64/src/riscv64.c memmap.zones[i].size = bootinfo->memmap.zones[i].size;
size 145 kernel/arch/riscv64/src/riscv64.c uintptr_t memcpy_from_uspace(void *dst, uspace_addr_t uspace_src, size_t size)
size 150 kernel/arch/riscv64/src/riscv64.c uintptr_t memcpy_to_uspace(uspace_addr_t uspace_dst, const void *src, size_t size)
size 55 kernel/arch/sparc64/include/arch/boot/boot.h size_t size;
size 66 kernel/arch/sparc64/include/arch/boot/boot.h size_t size;
size 45 kernel/arch/sparc64/include/arch/context.h #define context_set(c, _pc, stack, size) \
size 48 kernel/arch/sparc64/include/arch/context.h (c)->sp = ((uintptr_t) stack) + ALIGN_UP((size), \
size 76 kernel/arch/sparc64/include/arch/mm/sun4u/tsb.h unsigned size : 3;
size 75 kernel/arch/sparc64/include/arch/mm/sun4u/tte.h unsigned size : 2; /**< Page size of this entry. */
size 70 kernel/arch/sparc64/include/arch/mm/sun4v/tte.h unsigned size : 4; /**< Page size. */
size 95 kernel/arch/sparc64/src/drivers/pci.c size_t regs = prop->size / sizeof(ofw_upa_reg_t);
size 111 kernel/arch/sparc64/src/drivers/pci.c pci->reg = (uint64_t *) km_map(paddr, reg[SABRE_INTERNAL_REG].size,
size 136 kernel/arch/sparc64/src/drivers/pci.c size_t regs = prop->size / sizeof(ofw_upa_reg_t);
size 152 kernel/arch/sparc64/src/drivers/pci.c pci->reg = (uint64_t *) km_map(paddr, reg[PSYCHO_INTERNAL_REG].size,
size 118 kernel/arch/sparc64/src/drivers/scr.c if (prop->size / sizeof(ofw_pci_reg_t) < 2) {
size 163 kernel/arch/sparc64/src/drivers/scr.c if (prop->size / sizeof(ofw_pci_reg_t) < 2) {
size 243 kernel/arch/sparc64/src/drivers/scr.c if (prop->size / sizeof(ofw_pci_reg_t) < 2) {
size 156 kernel/arch/sparc64/src/mm/sun4u/as.c tsb_base_reg.size = TSB_BASE_REG_SIZE;
size 53 kernel/arch/sparc64/src/mm/sun4u/frame.c size_t size;
size 62 kernel/arch/sparc64/src/mm/sun4u/frame.c size = ALIGN_DOWN(memmap.zones[i].size -
size 65 kernel/arch/sparc64/src/mm/sun4u/frame.c if (!frame_adjust_zone_bounds(low, &base, &size))
size 70 kernel/arch/sparc64/src/mm/sun4u/frame.c size_t count = SIZE2FRAMES(size);
size 109 kernel/arch/sparc64/src/mm/sun4u/tlb.c data.size = pagesize;
size 148 kernel/arch/sparc64/src/mm/sun4u/tlb.c data.size = PAGESIZE_8K;
size 185 kernel/arch/sparc64/src/mm/sun4u/tlb.c data.size = PAGESIZE_8K;
size 344 kernel/arch/sparc64/src/mm/sun4u/tlb.c t.context, d.v, d.size, d.nfo, d.ie, d.soft2,
size 108 kernel/arch/sparc64/src/mm/sun4u/tsb.c tte->data.size = PAGESIZE_8K;
size 152 kernel/arch/sparc64/src/mm/sun4u/tsb.c tte->data.size = PAGESIZE_8K;
size 53 kernel/arch/sparc64/src/mm/sun4v/frame.c size_t size;
size 62 kernel/arch/sparc64/src/mm/sun4v/frame.c size = ALIGN_DOWN(memmap.zones[i].size -
size 65 kernel/arch/sparc64/src/mm/sun4v/frame.c if (!frame_adjust_zone_bounds(low, &base, &size))
size 70 kernel/arch/sparc64/src/mm/sun4v/frame.c size_t count = SIZE2FRAMES(size);
size 144 kernel/arch/sparc64/src/mm/sun4v/tlb.c data.size = pagesize;
size 179 kernel/arch/sparc64/src/mm/sun4v/tlb.c data.size = PAGESIZE_8K;
size 204 kernel/arch/sparc64/src/mm/sun4v/tlb.c data.size = PAGESIZE_8K;
size 115 kernel/arch/sparc64/src/mm/sun4v/tsb.c tte->data.size = PAGESIZE_8K;
size 163 kernel/arch/sparc64/src/mm/sun4v/tsb.c tte->data.size = PAGESIZE_8K;
size 85 kernel/arch/sparc64/src/sparc64.c prop->value, prop->size);
size 79 kernel/arch/sparc64/src/sun4u/sparc64.c init.tasks[i].size = bootinfo->taskmap.tasks[i].size;
size 89 kernel/arch/sparc64/src/sun4u/sparc64.c memmap.zones[i].size = bootinfo->memmap.zones[i].size;
size 94 kernel/arch/sparc64/src/sun4u/sparc64.c ballocs.size = bootinfo->ballocs.size;
size 81 kernel/arch/sparc64/src/sun4v/sparc64.c init.tasks[i].size = bootinfo->taskmap.tasks[i].size;
size 91 kernel/arch/sparc64/src/sun4v/sparc64.c memmap.zones[i].size = bootinfo->memmap.zones[i].size;
size 108 kernel/genarch/include/genarch/drivers/bcm2835/mbox.h ioport32_t size;
size 120 kernel/genarch/include/genarch/drivers/bcm2835/mbox.h ioport32_t size;
size 150 kernel/genarch/include/genarch/drivers/bcm2835/mbox.h ioport32_t size;
size 153 kernel/genarch/include/genarch/drivers/bcm2835/mbox.h extern bool bcm2835_prop_get_memory(uint32_t *base, uint32_t *size);
size 49 kernel/genarch/include/genarch/drivers/omap/uart.h uintptr_t addr, size_t size);
size 73 kernel/genarch/include/genarch/multiboot/multiboot2.h uint32_t size;
size 98 kernel/genarch/include/genarch/multiboot/multiboot2.h uint64_t size;
size 144 kernel/genarch/include/genarch/multiboot/multiboot2.h uint32_t size;
size 45 kernel/genarch/include/genarch/multiboot/multiboot_memmap_struct.h uint32_t size;
size 40 kernel/genarch/include/genarch/ofw/ebus.h uint32_t size;
size 50 kernel/genarch/include/genarch/ofw/ebus.h uint32_t size;
size 42 kernel/genarch/include/genarch/ofw/ofw_tree.h size_t size;
size 43 kernel/genarch/include/genarch/ofw/pci.h uint64_t size;
size 52 kernel/genarch/include/genarch/ofw/pci.h uint64_t size;
size 39 kernel/genarch/include/genarch/ofw/sbus.h uint32_t size;
size 45 kernel/genarch/include/genarch/ofw/sbus.h uint32_t size;
size 39 kernel/genarch/include/genarch/ofw/upa.h uint64_t size;
size 59 kernel/genarch/src/ddi/ddi-bitmap.c errno_t ddi_iospace_enable_arch(task_t *task, uintptr_t ioaddr, size_t size)
size 61 kernel/genarch/src/ddi/ddi-bitmap.c size_t elements = ioaddr + size;
size 101 kernel/genarch/src/ddi/ddi-bitmap.c bitmap_clear_range(&task->arch.iomap, (size_t) ioaddr, size);
size 122 kernel/genarch/src/ddi/ddi-bitmap.c errno_t ddi_iospace_disable_arch(task_t *task, uintptr_t ioaddr, size_t size)
size 124 kernel/genarch/src/ddi/ddi-bitmap.c size_t elements = ioaddr + size;
size 132 kernel/genarch/src/ddi/ddi-bitmap.c size -= elements - task->arch.iomap.elements;
size 137 kernel/genarch/src/ddi/ddi-bitmap.c bitmap_set_range(&task->arch.iomap, (size_t) ioaddr, size);
size 50 kernel/genarch/src/ddi/ddi-dummy.c errno_t ddi_iospace_enable_arch(task_t *task, uintptr_t ioaddr, size_t size)
size 65 kernel/genarch/src/ddi/ddi-dummy.c errno_t ddi_iospace_disable_arch(task_t *task, uintptr_t ioaddr, size_t size)
size 50 kernel/genarch/src/drivers/am335x/timer.c size_t size;
size 54 kernel/genarch/src/drivers/am335x/timer.c { .base = AM335x_DMTIMER0_BASE_ADDRESS, .size = AM335x_DMTIMER0_SIZE },
size 56 kernel/genarch/src/drivers/am335x/timer.c { .base = AM335x_DMTIMER2_BASE_ADDRESS, .size = AM335x_DMTIMER2_SIZE },
size 57 kernel/genarch/src/drivers/am335x/timer.c { .base = AM335x_DMTIMER3_BASE_ADDRESS, .size = AM335x_DMTIMER3_SIZE },
size 58 kernel/genarch/src/drivers/am335x/timer.c { .base = AM335x_DMTIMER4_BASE_ADDRESS, .size = AM335x_DMTIMER4_SIZE },
size 59 kernel/genarch/src/drivers/am335x/timer.c { .base = AM335x_DMTIMER5_BASE_ADDRESS, .size = AM335x_DMTIMER5_SIZE },
size 60 kernel/genarch/src/drivers/am335x/timer.c { .base = AM335x_DMTIMER6_BASE_ADDRESS, .size = AM335x_DMTIMER6_SIZE },
size 61 kernel/genarch/src/drivers/am335x/timer.c { .base = AM335x_DMTIMER7_BASE_ADDRESS, .size = AM335x_DMTIMER7_SIZE },
size 92 kernel/genarch/src/drivers/am335x/timer.c size_t size;
size 101 kernel/genarch/src/drivers/am335x/timer.c size = regs_map[id].size;
size 103 kernel/genarch/src/drivers/am335x/timer.c timer->regs = (void *) km_map(base_addr, size, KM_NATURAL_ALIGNMENT,
size 60 kernel/genarch/src/drivers/bcm2835/mbox.c bool bcm2835_prop_get_memory(uint32_t *base, uint32_t *size)
size 65 kernel/genarch/src/drivers/bcm2835/mbox.c req->buf_hdr.size = sizeof(mbox_getmem_buf_t);
size 79 kernel/genarch/src/drivers/bcm2835/mbox.c *size = req->data.size;
size 106 kernel/genarch/src/drivers/bcm2835/mbox.c fb_desc->size = 0; /* Set by VC */
size 140 kernel/genarch/src/drivers/bcm2835/mbox.c msg->buf_hdr.size = sizeof(mbox_getfbsize_buf_t);
size 177 kernel/genarch/src/drivers/ns16550/ns16550.c size_t size = 6 * (1U << reg_shift);
size 178 kernel/genarch/src/drivers/ns16550/ns16550.c ioport8_t *dev = pio_map((void *) dev_phys, size);
size 192 kernel/genarch/src/drivers/ns16550/ns16550.c size);
size 213 kernel/genarch/src/drivers/ns16550/ns16550.c instance->parea.frames = ALIGN_UP(size, PAGE_SIZE);
size 87 kernel/genarch/src/drivers/omap/uart.c omap_uart_t *uart, inr_t interrupt, uintptr_t addr, size_t size)
size 90 kernel/genarch/src/drivers/omap/uart.c uart->regs = (void *)km_map(addr, size, KM_NATURAL_ALIGNMENT,
size 398 kernel/genarch/src/fb/fb.c unsigned int size =
size 403 kernel/genarch/src/fb/fb.c instance->bgscan, size);
size 293 kernel/genarch/src/mm/page_ht.c void ht_mapping_make_global(uintptr_t base, size_t size)
size 399 kernel/genarch/src/mm/page_pt.c void pt_mapping_make_global(uintptr_t base, size_t size)
size 401 kernel/genarch/src/mm/page_pt.c assert(size > 0);
size 416 kernel/genarch/src/mm/page_pt.c addr - 1 < base + size - 1;
size 48 kernel/genarch/src/multiboot/multiboot.c void multiboot_extract_command(char *buf, size_t size, const char *cmd_line)
size 71 kernel/genarch/src/multiboot/multiboot.c str_ncpy(buf, size, start, (size_t) (end - start));
size 81 kernel/genarch/src/multiboot/multiboot.c void multiboot_extract_argument(char *buf, size_t size, const char *cmd_line)
size 86 kernel/genarch/src/multiboot/multiboot.c str_cpy(buf, size, "");
size 100 kernel/genarch/src/multiboot/multiboot.c str_ncpy(buf, size, start, (size_t) (end - start));
size 110 kernel/genarch/src/multiboot/multiboot.c init.tasks[init.cnt].size = mods[i].end - mods[i].start;
size 135 kernel/genarch/src/multiboot/multiboot.c uint32_t size = sizeof(memmap->size) + memmap->size;
size 136 kernel/genarch/src/multiboot/multiboot.c memmap = (multiboot_memmap_t *) ((uintptr_t) memmap + size);
size 137 kernel/genarch/src/multiboot/multiboot.c pos += size;
size 53 kernel/genarch/src/multiboot/multiboot2.c init.tasks[init.cnt].size = module->end - module->start;
size 71 kernel/genarch/src/multiboot/multiboot2.c e820table[e820counter].size = entry->size;
size 131 kernel/genarch/src/multiboot/multiboot2.c multiboot2_memmap(tag->size, &tag->memmap);
size 139 kernel/genarch/src/multiboot/multiboot2.c ALIGN_UP((uintptr_t) tag + tag->size, MULTIBOOT2_TAG_ALIGN);
size 58 kernel/genarch/src/ofw/ebus.c ranges = prop->size / sizeof(ofw_ebus_range_t);
size 66 kernel/genarch/src/ofw/ebus.c if (overlaps(reg->addr, reg->size, range[i].child_base,
size 67 kernel/genarch/src/ofw/ebus.c range[i].size)) {
size 73 kernel/genarch/src/ofw/ebus.c pci_reg.size = reg->size;
size 94 kernel/genarch/src/ofw/ebus.c size_t count = prop->size / sizeof(ofw_ebus_intr_map_t);
size 104 kernel/genarch/src/ofw/ebus.c assert(prop->size == sizeof(ofw_ebus_intr_mask_t));
size 87 kernel/genarch/src/ofw/ofw_tree.c if ((!prop) || (prop->size < 2))
size 336 kernel/genarch/src/ofw/ofw_tree.c static void *ofw_sysinfo_properties(struct sysinfo_item *item, size_t *size,
size 342 kernel/genarch/src/ofw/ofw_tree.c *size = 0;
size 344 kernel/genarch/src/ofw/ofw_tree.c *size += str_size(node->property[i].name) + 1 +
size 345 kernel/genarch/src/ofw/ofw_tree.c sizeof(node->property[i].size) + node->property[i].size;
size 350 kernel/genarch/src/ofw/ofw_tree.c void *dump = malloc(*size);
size 352 kernel/genarch/src/ofw/ofw_tree.c *size = 0;
size 360 kernel/genarch/src/ofw/ofw_tree.c str_cpy(dump + pos, *size - pos, node->property[i].name);
size 364 kernel/genarch/src/ofw/ofw_tree.c memcpy(dump + pos, &node->property[i].size,
size 365 kernel/genarch/src/ofw/ofw_tree.c sizeof(node->property[i].size));
size 366 kernel/genarch/src/ofw/ofw_tree.c pos += sizeof(node->property[i].size);
size 370 kernel/genarch/src/ofw/ofw_tree.c node->property[i].size);
size 371 kernel/genarch/src/ofw/ofw_tree.c pos += node->property[i].size;
size 66 kernel/genarch/src/ofw/pci.c ranges = prop->size / sizeof(ofw_pci_range_t);
size 75 kernel/genarch/src/ofw/pci.c if (overlaps(reg->addr, reg->size, range[i].child_base,
size 76 kernel/genarch/src/ofw/pci.c range[i].size)) {
size 94 kernel/genarch/src/ofw/pci.c out->size = reg->size;
size 106 kernel/genarch/src/ofw/pci.c assigned_addresses = prop->size / sizeof(ofw_pci_reg_t);
size 116 kernel/genarch/src/ofw/pci.c out->size = reg->size;
size 62 kernel/genarch/src/ofw/sbus.c ranges = prop->size / sizeof(ofw_sbus_range_t);
size 68 kernel/genarch/src/ofw/sbus.c if (overlaps(reg->addr, reg->size, range[i].child_base,
size 69 kernel/genarch/src/ofw/sbus.c range[i].size)) {
size 79 kernel/generic/common/adt/bitmap.c size_t size = elements / BITMAP_ELEMENT;
size 82 kernel/generic/common/adt/bitmap.c size++;
size 84 kernel/generic/common/adt/bitmap.c return size;
size 277 kernel/generic/common/adt/bitmap.c size_t size = bitmap_size(bitmap->elements);
size 291 kernel/generic/common/adt/bitmap.c for (size_t pos = 0; pos < size; pos++) {
size 292 kernel/generic/common/adt/bitmap.c size_t byte = (next_fit + pos) % size;
size 48 kernel/generic/common/adt/circ_buf.c void circ_buf_init(circ_buf_t *cbuf, void *buf, size_t nmemb, size_t size)
size 52 kernel/generic/common/adt/circ_buf.c cbuf->size = size;
size 89 kernel/generic/common/adt/circ_buf.c memcpy(cbuf->buf + cbuf->size * cbuf->wp, data, cbuf->size);
size 106 kernel/generic/common/adt/circ_buf.c memcpy(datab, cbuf->buf + cbuf->size * cbuf->rp, cbuf->size);
size 386 kernel/generic/common/adt/hash_table.c static size_t round_up_size(size_t size)
size 390 kernel/generic/common/adt/hash_table.c while (rounded_size < size) {
size 48 kernel/generic/common/include/adt/circ_buf.h size_t size;
size 110 kernel/generic/common/include/stdlib.h extern void *malloc(size_t size)
size 112 kernel/generic/common/include/stdlib.h extern void *calloc(size_t nmemb, size_t size)
size 114 kernel/generic/common/include/stdlib.h extern void *realloc(void *addr, size_t size)
size 121 kernel/generic/common/include/stdlib.h extern void *memalign(size_t align, size_t size)
size 103 kernel/generic/common/include/str.h extern size_t str_nlength(const char *str, size_t size);
size 104 kernel/generic/common/include/str.h extern size_t wstr_nlength(const char32_t *str, size_t size);
size 120 kernel/generic/common/include/str.h extern void str_cpy(char *dest, size_t size, const char *src);
size 121 kernel/generic/common/include/str.h extern void str_ncpy(char *dest, size_t size, const char *src, size_t n);
size 122 kernel/generic/common/include/str.h extern void str_append(char *dest, size_t size, const char *src);
size 124 kernel/generic/common/include/str.h extern errno_t spascii_to_str(char *dest, size_t size, const uint8_t *src, size_t n);
size 125 kernel/generic/common/include/str.h extern void wstr_to_str(char *dest, size_t size, const char32_t *src);
size 129 kernel/generic/common/include/str.h extern errno_t utf16_to_str(char *dest, size_t size, const uint16_t *src);
size 143 kernel/generic/common/printf/printf_core.c static int printf_putnchars(const char *buf, size_t size,
size 146 kernel/generic/common/printf/printf_core.c return ps->str_write((void *) buf, size, ps->data);
size 159 kernel/generic/common/printf/printf_core.c static int printf_wputnchars(const char32_t *buf, size_t size,
size 162 kernel/generic/common/printf/printf_core.c return ps->wstr_write((void *) buf, size, ps->data);
size 322 kernel/generic/common/printf/printf_core.c size_t size = str_lsize(str, precision);
size 323 kernel/generic/common/printf/printf_core.c if ((retval = printf_putnchars(str, size, ps)) < 0)
size 371 kernel/generic/common/printf/printf_core.c size_t size = wstr_lsize(str, precision);
size 372 kernel/generic/common/printf/printf_core.c if ((retval = printf_wputnchars(str, size, ps)) < 0)
size 417 kernel/generic/common/printf/printf_core.c int size = 0;
size 424 kernel/generic/common/printf/printf_core.c size++;
size 428 kernel/generic/common/printf/printf_core.c size++;
size 433 kernel/generic/common/printf/printf_core.c int number_size = size;
size 443 kernel/generic/common/printf/printf_core.c size += 2;
size 446 kernel/generic/common/printf/printf_core.c size++;
size 449 kernel/generic/common/printf/printf_core.c size += 2;
size 458 kernel/generic/common/printf/printf_core.c size++;
size 461 kernel/generic/common/printf/printf_core.c size++;
size 464 kernel/generic/common/printf/printf_core.c size++;
size 476 kernel/generic/common/printf/printf_core.c if ((precision == 0) && (width > size))
size 477 kernel/generic/common/printf/printf_core.c precision = width - size + number_size;
size 486 kernel/generic/common/printf/printf_core.c width -= precision + size - number_size;
size 1606 kernel/generic/common/printf/printf_core.c size_t size;
size 1611 kernel/generic/common/printf/printf_core.c size = sizeof(unsigned char);
size 1615 kernel/generic/common/printf/printf_core.c size = sizeof(unsigned short);
size 1619 kernel/generic/common/printf/printf_core.c size = sizeof(unsigned int);
size 1623 kernel/generic/common/printf/printf_core.c size = sizeof(unsigned long);
size 1627 kernel/generic/common/printf/printf_core.c size = sizeof(unsigned long long);
size 1631 kernel/generic/common/printf/printf_core.c size = sizeof(void *);
size 1632 kernel/generic/common/printf/printf_core.c precision = size << 1;
size 1636 kernel/generic/common/printf/printf_core.c size = sizeof(size_t);
size 1640 kernel/generic/common/printf/printf_core.c size = sizeof(uintmax_t);
size 49 kernel/generic/common/stdc/bsearch.c void *bsearch(const void *key, const void *base, size_t nmemb, size_t size,
size 58 kernel/generic/common/stdc/bsearch.c pivot = base + size * pividx;
size 70 kernel/generic/common/stdc/bsearch.c base += size * (pividx + 1);
size 42 kernel/generic/common/stdc/calloc.c void *calloc(const size_t nmemb, const size_t size)
size 45 kernel/generic/common/stdc/calloc.c if (SIZE_MAX / size < nmemb)
size 48 kernel/generic/common/stdc/calloc.c void *block = malloc(nmemb * size);
size 52 kernel/generic/common/stdc/calloc.c memset(block, 0, nmemb * size);
size 46 kernel/generic/common/stdc/qsort.c size_t size;
size 79 kernel/generic/common/stdc/qsort.c a = qs->base + i * qs->size;
size 80 kernel/generic/common/stdc/qsort.c b = qs->base + j * qs->size;
size 100 kernel/generic/common/stdc/qsort.c a = qs->base + i * qs->size;
size 101 kernel/generic/common/stdc/qsort.c b = qs->base + j * qs->size;
size 103 kernel/generic/common/stdc/qsort.c for (k = 0; k < qs->size; k++) {
size 171 kernel/generic/common/stdc/qsort.c void qsort(void *base, size_t nmemb, size_t size, int (*compar)(const void *,
size 181 kernel/generic/common/stdc/qsort.c qs.size = size;
size 196 kernel/generic/common/stdc/qsort.c void qsort_r(void *base, size_t nmemb, size_t size, int (*compar)(const void *,
size 206 kernel/generic/common/stdc/qsort.c qs.size = size;
size 148 kernel/generic/common/str.c char32_t str_decode(const char *str, size_t *offset, size_t size)
size 150 kernel/generic/common/str.c if (*offset + 1 > size)
size 182 kernel/generic/common/str.c if (*offset + cbytes > size)
size 218 kernel/generic/common/str.c char32_t str_decode_reverse(const char *str, size_t *offset, size_t size)
size 235 kernel/generic/common/str.c return str_decode(str, &start_offset, size);
size 261 kernel/generic/common/str.c errno_t chr_encode(const char32_t ch, char *str, size_t *offset, size_t size)
size 263 kernel/generic/common/str.c if (*offset >= size)
size 298 kernel/generic/common/str.c if (*offset + cbytes >= size)
size 329 kernel/generic/common/str.c size_t size = 0;
size 332 kernel/generic/common/str.c size++;
size 334 kernel/generic/common/str.c return size;
size 393 kernel/generic/common/str.c size_t size = 0;
size 395 kernel/generic/common/str.c while ((*str++ != 0) && (size < max_size))
size 396 kernel/generic/common/str.c size++;
size 398 kernel/generic/common/str.c return size;
size 478 kernel/generic/common/str.c size_t str_nlength(const char *str, size_t size)
size 483 kernel/generic/common/str.c while (str_decode(str, &offset, size) != 0)
size 497 kernel/generic/common/str.c size_t wstr_nlength(const char32_t *str, size_t size)
size 500 kernel/generic/common/str.c size_t limit = ALIGN_DOWN(size, sizeof(char32_t));
size 836 kernel/generic/common/str.c void str_cpy(char *dest, size_t size, const char *src)
size 839 kernel/generic/common/str.c assert(size > 0);
size 847 kernel/generic/common/str.c if (chr_encode(ch, dest, &dest_off, size - 1) != EOK)
size 870 kernel/generic/common/str.c void str_ncpy(char *dest, size_t size, const char *src, size_t n)
size 873 kernel/generic/common/str.c assert(size > 0);
size 880 kernel/generic/common/str.c if (chr_encode(ch, dest, &dest_off, size - 1) != EOK)
size 898 kernel/generic/common/str.c void str_append(char *dest, size_t size, const char *src)
size 903 kernel/generic/common/str.c if (dstr_size >= size)
size 906 kernel/generic/common/str.c str_cpy(dest + dstr_size, size - dstr_size, src);
size 933 kernel/generic/common/str.c errno_t spascii_to_str(char *dest, size_t size, const uint8_t *src, size_t n)
size 943 kernel/generic/common/str.c assert(size > 0);
size 955 kernel/generic/common/str.c rc = chr_encode(byte, dest, &didx, size - 1);
size 982 kernel/generic/common/str.c void wstr_to_str(char *dest, size_t size, const char32_t *src)
size 989 kernel/generic/common/str.c assert(size > 0);
size 995 kernel/generic/common/str.c if (chr_encode(ch, dest, &dest_off, size - 1) != EOK)
size 1014 kernel/generic/common/str.c errno_t utf16_to_str(char *dest, size_t size, const uint16_t *src)
size 1021 kernel/generic/common/str.c assert(size > 0);
size 1036 kernel/generic/common/str.c rc = chr_encode(ch, dest, &dest_off, size - 1);
size 1404 kernel/generic/common/str.c size_t size = str_size(src) + 1;
size 1405 kernel/generic/common/str.c char *dest = malloc(size);
size 1409 kernel/generic/common/str.c str_cpy(dest, size, src);
size 1435 kernel/generic/common/str.c size_t size = str_size(src);
size 1436 kernel/generic/common/str.c if (size > n)
size 1437 kernel/generic/common/str.c size = n;
size 1439 kernel/generic/common/str.c char *dest = malloc(size + 1);
size 1443 kernel/generic/common/str.c str_ncpy(dest, size + 1, src, size);
size 59 kernel/generic/include/config.h size_t size;
size 76 kernel/generic/include/config.h size_t size;
size 71 kernel/generic/include/console/console.h extern sys_errno_t sys_kio(int cmd, uspace_addr_t buf, size_t size);
size 43 kernel/generic/include/context.h #define context_set_generic(ctx, _pc, stack, size) \
size 46 kernel/generic/include/context.h (ctx)->sp = ((uintptr_t) (stack)) + (size) - SP_DELTA; \
size 59 kernel/generic/include/lib/ra.h size_t size; /**< Span size. */
size 54 kernel/generic/include/log.h extern sys_errno_t sys_klog(sysarg_t, uspace_addr_t buf, size_t size,
size 126 kernel/generic/include/macros.h #define SIZE2FRAMES(size) \
size 127 kernel/generic/include/macros.h (((size) == 0) ? 0 : ((((size) - 1) >> FRAME_WIDTH) + 1))
size 70 kernel/generic/include/mm/slab.h size_t size; /**< Number of slots in magazine */
size 88 kernel/generic/include/mm/slab.h size_t size;
size 47 kernel/generic/include/print.h extern int snprintf(char *str, size_t size, const char *fmt, ...)
size 51 kernel/generic/include/print.h extern int vsnprintf(char *str, size_t size, const char *fmt, va_list ap);
size 46 kernel/generic/include/syscall/copy.h extern errno_t copy_from_uspace(void *dst, uspace_addr_t uspace_src, size_t size);
size 47 kernel/generic/include/syscall/copy.h extern errno_t copy_to_uspace(uspace_addr_t dst_uspace, const void *src, size_t size);
size 53 kernel/generic/include/syscall/copy.h extern uintptr_t memcpy_from_uspace(void *dst, uspace_addr_t uspace_src, size_t size);
size 54 kernel/generic/include/syscall/copy.h extern uintptr_t memcpy_to_uspace(uspace_addr_t uspace_dst, const void *src, size_t size);
size 86 kernel/generic/include/sysinfo/sysinfo.h size_t size; /**< Size (bytes) */
size 346 kernel/generic/src/console/console.c sys_errno_t sys_kio(int cmd, uspace_addr_t buf, size_t size)
size 362 kernel/generic/src/console/console.c if (size > PAGE_SIZE)
size 365 kernel/generic/src/console/console.c if (size > 0) {
size 366 kernel/generic/src/console/console.c data = (char *) malloc(size + 1);
size 370 kernel/generic/src/console/console.c rc = copy_from_uspace(data, buf, size);
size 375 kernel/generic/src/console/console.c data[size] = 0;
size 385 kernel/generic/src/console/console.c for (unsigned int i = 0; i < size; i++)
size 207 kernel/generic/src/console/kconsole.c _NO_TRACE static int cmdtab_compl(char *input, size_t size, indev_t *indev,
size 218 kernel/generic/src/console/kconsole.c size_t max_match_len = size;
size 219 kernel/generic/src/console/kconsole.c size_t max_match_len_tmp = size;
size 288 kernel/generic/src/console/kconsole.c str_cpy(input, size, output);
size 641 kernel/generic/src/console/kconsole.c _NO_TRACE static bool parse_argument(const char *cmdline, size_t size,
size 652 kernel/generic/src/console/kconsole.c while ((ch = str_decode(cmdline, &offset, size)) != 0) {
size 678 kernel/generic/src/console/kconsole.c _NO_TRACE static cmd_info_t *parse_cmdline(const char *cmdline, size_t size)
size 682 kernel/generic/src/console/kconsole.c if (!parse_argument(cmdline, size, &start, &end)) {
size 726 kernel/generic/src/console/kconsole.c if (!parse_argument(cmdline, size, &start, &end)) {
size 785 kernel/generic/src/console/kconsole.c if (parse_argument(cmdline, size, &start, &end)) {
size 329 kernel/generic/src/ddi/ddi.c _NO_TRACE static errno_t iospace_enable(task_id_t id, uintptr_t ioaddr, size_t size)
size 349 kernel/generic/src/ddi/ddi.c rc = ddi_iospace_enable_arch(task, ioaddr, size);
size 366 kernel/generic/src/ddi/ddi.c _NO_TRACE static errno_t iospace_disable(task_id_t id, uintptr_t ioaddr, size_t size)
size 386 kernel/generic/src/ddi/ddi.c rc = ddi_iospace_disable_arch(task, ioaddr, size);
size 408 kernel/generic/src/ddi/ddi.c (uintptr_t) arg.ioaddr, (size_t) arg.size);
size 419 kernel/generic/src/ddi/ddi.c (uintptr_t) arg.ioaddr, (size_t) arg.size);
size 422 kernel/generic/src/ddi/ddi.c _NO_TRACE static errno_t dmamem_map(uintptr_t virt, size_t size, unsigned int map_flags,
size 431 kernel/generic/src/ddi/ddi.c _NO_TRACE static errno_t dmamem_map_anonymous(size_t size, uintptr_t constraint,
size 437 kernel/generic/src/ddi/ddi.c size_t frames = SIZE2FRAMES(size);
size 452 kernel/generic/src/ddi/ddi.c if (!as_area_create(TASK->as, map_flags, size,
size 461 kernel/generic/src/ddi/ddi.c _NO_TRACE static errno_t dmamem_unmap(uintptr_t virt, size_t size)
size 472 kernel/generic/src/ddi/ddi.c sys_errno_t sys_dmamem_map(size_t size, unsigned int map_flags, unsigned int flags,
size 481 kernel/generic/src/ddi/ddi.c errno_t rc = dmamem_map(virt_ptr, size, map_flags,
size 489 kernel/generic/src/ddi/ddi.c dmamem_unmap(virt_ptr, size);
size 509 kernel/generic/src/ddi/ddi.c rc = dmamem_map_anonymous(size, constraint, map_flags, flags,
size 530 kernel/generic/src/ddi/ddi.c sys_errno_t sys_dmamem_unmap(uintptr_t virt, size_t size, unsigned int flags)
size 533 kernel/generic/src/ddi/ddi.c return dmamem_unmap(virt, size);
size 537 kernel/generic/src/ddi/ddi.c void *pio_map(void *phys, size_t size)
size 543 kernel/generic/src/ddi/ddi.c return (void *) km_map((uintptr_t) phys, size, KM_NATURAL_ALIGNMENT,
size 547 kernel/generic/src/ddi/ddi.c void pio_unmap(void *phys, void *virt, size_t size)
size 553 kernel/generic/src/ddi/ddi.c km_unmap((uintptr_t) virt, size);
size 150 kernel/generic/src/debug/sections.c size_t size = shdr[i].sh_size;
size 152 kernel/generic/src/debug/sections.c DEBUGF("section '%s': offset %zd (%zd bytes)\n", name, offset, size);
size 154 kernel/generic/src/debug/sections.c if (elf + offset + size > data_end) {
size 162 kernel/generic/src/debug/sections.c *manifest[i].size_field = size;
size 76 kernel/generic/src/ipc/irq.c km_unmap(ranges[i].base, ranges[i].size);
size 96 kernel/generic/src/ipc/irq.c ranges[i].base = km_map(pbase[i], ranges[i].size,
size 109 kernel/generic/src/ipc/irq.c size_t size;
size 116 kernel/generic/src/ipc/irq.c size = 1;
size 121 kernel/generic/src/ipc/irq.c size = 2;
size 126 kernel/generic/src/ipc/irq.c size = 4;
size 138 kernel/generic/src/ipc/irq.c if (!iswithin(pbase[j], ranges[j].size, addr, size))
size 45 kernel/generic/src/ipc/ops/dataread.c size_t size = ipc_get_arg2(&call->data);
size 47 kernel/generic/src/ipc/ops/dataread.c if (size > DATA_XFER_LIMIT) {
size 68 kernel/generic/src/ipc/ops/dataread.c size_t size = ipc_get_arg2(&answer->data);
size 70 kernel/generic/src/ipc/ops/dataread.c if (size && size <= max_size) {
size 77 kernel/generic/src/ipc/ops/dataread.c answer->buffer = malloc(size);
size 83 kernel/generic/src/ipc/ops/dataread.c src, size);
size 92 kernel/generic/src/ipc/ops/dataread.c } else if (!size) {
size 106 kernel/generic/src/ipc/ops/dataread.c size_t size = ipc_get_arg2(&answer->data);
size 109 kernel/generic/src/ipc/ops/dataread.c rc = copy_to_uspace(dst, answer->buffer, size);
size 46 kernel/generic/src/ipc/ops/datawrite.c size_t size = ipc_get_arg2(&call->data);
size 48 kernel/generic/src/ipc/ops/datawrite.c if (size > DATA_XFER_LIMIT) {
size 52 kernel/generic/src/ipc/ops/datawrite.c size = DATA_XFER_LIMIT;
size 53 kernel/generic/src/ipc/ops/datawrite.c ipc_set_arg2(&call->data, size);
size 58 kernel/generic/src/ipc/ops/datawrite.c call->buffer = (uint8_t *) malloc(size);
size 61 kernel/generic/src/ipc/ops/datawrite.c errno_t rc = copy_from_uspace(call->buffer, src, size);
size 80 kernel/generic/src/ipc/ops/datawrite.c size_t size = ipc_get_arg2(&answer->data);
size 83 kernel/generic/src/ipc/ops/datawrite.c if (size <= max_size) {
size 85 kernel/generic/src/ipc/ops/datawrite.c answer->buffer, size);
size 50 kernel/generic/src/ipc/ops/debug.c size_t size = ipc_get_arg2(&answer->data);
size 53 kernel/generic/src/ipc/ops/debug.c rc = copy_to_uspace(dst, answer->buffer, size);
size 46 kernel/generic/src/ipc/ops/shareout.c size_t size = as_area_get_size(ipc_get_arg1(&call->data));
size 48 kernel/generic/src/ipc/ops/shareout.c if (!size)
size 50 kernel/generic/src/ipc/ops/shareout.c ipc_set_arg2(&call->data, size);
size 121 kernel/generic/src/lib/ra.c static ra_span_t *ra_span_create(uintptr_t base, size_t size)
size 131 kernel/generic/src/lib/ra.c span->max_order = fnzb(size);
size 133 kernel/generic/src/lib/ra.c span->size = size;
size 159 kernel/generic/src/lib/ra.c lastseg = ra_segment_create(base + size);
size 233 kernel/generic/src/lib/ra.c bool ra_span_add(ra_arena_t *arena, uintptr_t base, size_t size)
size 237 kernel/generic/src/lib/ra.c span = ra_span_create(base, size);
size 249 kernel/generic/src/lib/ra.c ra_span_alloc(ra_span_t *span, size_t size, size_t align, uintptr_t *base)
size 255 kernel/generic/src/lib/ra.c size_t needed = size + align - 1;
size 292 kernel/generic/src/lib/ra.c if (newbase + size != seg->base + ra_segment_size_get(seg)) {
size 293 kernel/generic/src/lib/ra.c assert(newbase + (size - 1) < seg->base +
size 295 kernel/generic/src/lib/ra.c succ = ra_segment_create(newbase + size);
size 340 kernel/generic/src/lib/ra.c static void ra_span_free(ra_span_t *span, size_t base, size_t size)
size 355 kernel/generic/src/lib/ra.c ", size=%zd).", base, size);
size 366 kernel/generic/src/lib/ra.c assert(ra_segment_size_get(seg) == size);
size 416 kernel/generic/src/lib/ra.c ra_alloc(ra_arena_t *arena, size_t size, size_t alignment, uintptr_t *base)
size 420 kernel/generic/src/lib/ra.c assert(size >= 1);
size 426 kernel/generic/src/lib/ra.c success = ra_span_alloc(span, size, alignment, base);
size 436 kernel/generic/src/lib/ra.c void ra_free(ra_arena_t *arena, uintptr_t base, size_t size)
size 440 kernel/generic/src/lib/ra.c if (iswithin(span->base, span->size, base, size)) {
size 441 kernel/generic/src/lib/ra.c ra_span_free(span, base, size);
size 449 kernel/generic/src/lib/ra.c base, size);
size 56 kernel/generic/src/lib/rd.c void init_rd(void *data, size_t size)
size 63 kernel/generic/src/lib/rd.c rd_parea.frames = SIZE2FRAMES(size);
size 69 kernel/generic/src/lib/rd.c sysinfo_set_item_val("rd.size", NULL, size);
size 73 kernel/generic/src/lib/rd.c size);
size 201 kernel/generic/src/log/log.c static int log_printf_str_write(const char *str, size_t size, void *data)
size 206 kernel/generic/src/log/log.c while (offset < size) {
size 207 kernel/generic/src/log/log.c kio_push_char(str_decode(str, &offset, size));
size 211 kernel/generic/src/log/log.c log_append((const uint8_t *)str, size);
size 216 kernel/generic/src/log/log.c static int log_printf_wstr_write(const char32_t *wstr, size_t size, void *data)
size 222 kernel/generic/src/log/log.c for (offset = 0; offset < size; offset += sizeof(char32_t), chars++) {
size 297 kernel/generic/src/log/log.c sys_errno_t sys_klog(sysarg_t operation, uspace_addr_t buf, size_t size,
size 303 kernel/generic/src/log/log.c if (size > PAGE_SIZE)
size 308 kernel/generic/src/log/log.c data = (char *) malloc(size + 1);
size 312 kernel/generic/src/log/log.c rc = copy_from_uspace(data, buf, size);
size 317 kernel/generic/src/log/log.c data[size] = 0;
size 327 kernel/generic/src/log/log.c data = (char *) malloc(size);
size 355 kernel/generic/src/log/log.c if (size < copied + entry_len) {
size 373 kernel/generic/src/log/log.c rc = copy_to_uspace(buf, data, size);
size 242 kernel/generic/src/main/kinit.c init.tasks[i].size, PAGE_SIZE,
size 253 kernel/generic/src/main/kinit.c register_debug_data((void *) page, init.tasks[i].size);
size 274 kernel/generic/src/main/kinit.c errno_t rc = program_create_from_image((void *) page, init.tasks[i].size, namebuf,
size 299 kernel/generic/src/main/kinit.c init_rd((void *) init.tasks[i].paddr, init.tasks[i].size);
size 99 kernel/generic/src/main/main.c #define CHECK_INT_TYPE_(signness, size) \
size 100 kernel/generic/src/main/main.c static_assert(sizeof(signness##size##_t) * 8 == size, \
size 101 kernel/generic/src/main/main.c #signness #size "_t does not have " #size " bits");
size 103 kernel/generic/src/main/main.c #define CHECK_INT_TYPE(size) \
size 104 kernel/generic/src/main/main.c CHECK_INT_TYPE_(int, size); \
size 105 kernel/generic/src/main/main.c CHECK_INT_TYPE_(uint, size)
size 130 kernel/generic/src/main/main.c .size = 0
size 234 kernel/generic/src/main/main.c uint64_t size;
size 236 kernel/generic/src/main/main.c bin_order_suffix(zones_total_size(), &size, &size_suffix, false);
size 238 kernel/generic/src/main/main.c config.cpu_count, size, size_suffix);
size 258 kernel/generic/src/main/main.c i, (void *) init.tasks[i].paddr, i, init.tasks[i].size);
size 477 kernel/generic/src/mm/as.c size_t size, bool guarded)
size 481 kernel/generic/src/mm/as.c if (size == 0)
size 490 kernel/generic/src/mm/as.c size_t pages = SIZE2FRAMES(size);
size 743 kernel/generic/src/mm/as.c as_area_t *as_area_create(as_t *as, unsigned int flags, size_t size,
size 750 kernel/generic/src/mm/as.c if (size == 0)
size 753 kernel/generic/src/mm/as.c size_t pages = SIZE2FRAMES(size);
size 764 kernel/generic/src/mm/as.c *base = as_get_unmapped_area(as, bound, size, guarded);
size 771 kernel/generic/src/mm/as.c if (overflows_into_positive(*base, size)) {
size 895 kernel/generic/src/mm/as.c errno_t as_area_resize(as_t *as, uintptr_t address, size_t size, unsigned int flags)
size 933 kernel/generic/src/mm/as.c size_t pages = SIZE2FRAMES((address - area->base) + size);
size 1117 kernel/generic/src/mm/as.c for (size_t size = 0; size < ival->count; size++) {
size 1120 kernel/generic/src/mm/as.c ptr + P2SZ(size), false, &pte);
size 1130 kernel/generic/src/mm/as.c ptr + P2SZ(size),
size 1134 kernel/generic/src/mm/as.c page_mapping_remove(as, ptr + P2SZ(size));
size 1419 kernel/generic/src/mm/as.c size_t size;
size 1421 kernel/generic/src/mm/as.c for (size = 0; size < ival->count; size++) {
size 1423 kernel/generic/src/mm/as.c bool found = page_mapping_find(as, ptr + P2SZ(size),
size 1434 kernel/generic/src/mm/as.c page_mapping_remove(as, ptr + P2SZ(size));
size 1470 kernel/generic/src/mm/as.c size_t size;
size 1472 kernel/generic/src/mm/as.c for (size = 0; size < ival->count; size++) {
size 1476 kernel/generic/src/mm/as.c page_mapping_insert(as, ptr + P2SZ(size),
size 1836 kernel/generic/src/mm/as.c size_t size;
size 1842 kernel/generic/src/mm/as.c size = P2SZ(src_area->pages);
size 1845 kernel/generic/src/mm/as.c size = 0;
size 1848 kernel/generic/src/mm/as.c return size;
size 2098 kernel/generic/src/mm/as.c sysarg_t sys_as_area_create(uintptr_t base, size_t size, unsigned int flags,
size 2114 kernel/generic/src/mm/as.c as_area_t *area = as_area_create(AS, flags, size,
size 2122 kernel/generic/src/mm/as.c sys_errno_t sys_as_area_resize(uintptr_t address, size_t size, unsigned int flags)
size 2124 kernel/generic/src/mm/as.c return (sys_errno_t) as_area_resize(AS, address, size, 0);
size 2148 kernel/generic/src/mm/as.c info.size = P2SZ(area->pages);
size 2194 kernel/generic/src/mm/as.c info[area_idx].size = P2SZ(area->pages);
size 755 kernel/generic/src/mm/frame.c KA2PA(ballocs.base), ballocs.size))
size 762 kernel/generic/src/mm/frame.c init.tasks[i].size)) {
size 1126 kernel/generic/src/mm/frame.c SIZE2FRAMES(init.tasks[i].size));
size 1128 kernel/generic/src/mm/frame.c if (ballocs.size)
size 1130 kernel/generic/src/mm/frame.c SIZE2FRAMES(ballocs.size));
size 1326 kernel/generic/src/mm/frame.c uint64_t size;
size 1329 kernel/generic/src/mm/frame.c bin_order_suffix(FRAMES2SIZE(free_lowmem), &size, &size_suffix,
size 1332 kernel/generic/src/mm/frame.c free_lowmem, size, size_suffix);
size 1334 kernel/generic/src/mm/frame.c bin_order_suffix(FRAMES2SIZE(free_highmem), &size, &size_suffix,
size 1337 kernel/generic/src/mm/frame.c free_highmem, size, size_suffix);
size 1339 kernel/generic/src/mm/frame.c bin_order_suffix(FRAMES2SIZE(free_highprio), &size, &size_suffix,
size 1342 kernel/generic/src/mm/frame.c free_highprio, size, size_suffix);
size 1412 kernel/generic/src/mm/frame.c uint64_t size;
size 1415 kernel/generic/src/mm/frame.c bin_order_suffix(FRAMES2SIZE(count), &size, &size_suffix, false);
size 1420 kernel/generic/src/mm/frame.c size, size_suffix);
size 1429 kernel/generic/src/mm/frame.c bin_order_suffix(FRAMES2SIZE(busy_count), &size, &size_suffix,
size 1432 kernel/generic/src/mm/frame.c busy_count, size, size_suffix);
size 1434 kernel/generic/src/mm/frame.c bin_order_suffix(FRAMES2SIZE(free_count), &size, &size_suffix,
size 1437 kernel/generic/src/mm/frame.c free_count, size, size_suffix);
size 1439 kernel/generic/src/mm/frame.c bin_order_suffix(FRAMES2SIZE(free_lowmem), &size, &size_suffix,
size 1442 kernel/generic/src/mm/frame.c free_lowmem, size, size_suffix);
size 1444 kernel/generic/src/mm/frame.c bin_order_suffix(FRAMES2SIZE(free_highmem), &size, &size_suffix,
size 1447 kernel/generic/src/mm/frame.c free_highmem, size, size_suffix);
size 1449 kernel/generic/src/mm/frame.c bin_order_suffix(FRAMES2SIZE(free_highprio), &size, &size_suffix,
size 1452 kernel/generic/src/mm/frame.c free_highprio, size, size_suffix);
size 107 kernel/generic/src/mm/km.c void km_non_identity_span_add(uintptr_t base, size_t size)
size 111 kernel/generic/src/mm/km.c page_mapping_make_global(base, size);
size 113 kernel/generic/src/mm/km.c span_added = ra_span_add(km_ni_arena, base, size);
size 118 kernel/generic/src/mm/km.c uintptr_t km_page_alloc(size_t size, size_t align)
size 121 kernel/generic/src/mm/km.c if (ra_alloc(km_ni_arena, size, align, &base))
size 127 kernel/generic/src/mm/km.c void km_page_free(uintptr_t page, size_t size)
size 129 kernel/generic/src/mm/km.c ra_free(km_ni_arena, page, size);
size 133 kernel/generic/src/mm/km.c km_map_aligned(uintptr_t paddr, size_t size, size_t align, unsigned int flags)
size 139 kernel/generic/src/mm/km.c align = ispwr2(size) ? size : (1U << (fnzb(size) + 1));
size 142 kernel/generic/src/mm/km.c assert(ALIGN_UP(size, FRAME_SIZE) == size);
size 146 kernel/generic/src/mm/km.c vaddr = km_page_alloc(size, max(PAGE_SIZE, align));
size 149 kernel/generic/src/mm/km.c for (offs = 0; offs < size; offs += PAGE_SIZE) {
size 158 kernel/generic/src/mm/km.c static void km_unmap_aligned(uintptr_t vaddr, size_t size)
size 164 kernel/generic/src/mm/km.c assert(ALIGN_UP(size, PAGE_SIZE) == size);
size 168 kernel/generic/src/mm/km.c size_t pages = size >> PAGE_WIDTH;
size 171 kernel/generic/src/mm/km.c for (offs = 0; offs < size; offs += PAGE_SIZE)
size 180 kernel/generic/src/mm/km.c km_page_free(vaddr, size);
size 191 kernel/generic/src/mm/km.c uintptr_t km_map(uintptr_t paddr, size_t size, size_t align, unsigned int flags)
size 198 kernel/generic/src/mm/km.c ALIGN_UP(size + offs, FRAME_SIZE), align, flags);
size 209 kernel/generic/src/mm/km.c void km_unmap(uintptr_t vaddr, size_t size)
size 215 kernel/generic/src/mm/km.c ALIGN_UP(size + offs, PAGE_SIZE));
size 75 kernel/generic/src/mm/malloc.c size_t size;
size 77 kernel/generic/src/mm/malloc.c for (i = 0, size = (1 << SLAB_MIN_MALLOC_W);
size 79 kernel/generic/src/mm/malloc.c i++, size <<= 1) {
size 80 kernel/generic/src/mm/malloc.c malloc_caches[i] = slab_cache_create(malloc_names[i], size, 0,
size 85 kernel/generic/src/mm/malloc.c static void _check_sizes(size_t *alignment, size_t *size)
size 87 kernel/generic/src/mm/malloc.c assert(size);
size 91 kernel/generic/src/mm/malloc.c if (*size == 0)
size 92 kernel/generic/src/mm/malloc.c *size = 1;
size 101 kernel/generic/src/mm/malloc.c *size = ALIGN_UP(*size, *alignment);
size 103 kernel/generic/src/mm/malloc.c if (*size < (1 << SLAB_MIN_MALLOC_W))
size 104 kernel/generic/src/mm/malloc.c *size = (1 << SLAB_MIN_MALLOC_W);
size 107 kernel/generic/src/mm/malloc.c static slab_cache_t *cache_for_size(size_t size)
size 109 kernel/generic/src/mm/malloc.c assert(size > 0);
size 110 kernel/generic/src/mm/malloc.c assert(size <= (1 << SLAB_MAX_MALLOC_W));
size 112 kernel/generic/src/mm/malloc.c size_t idx = fnzb(size - 1) - SLAB_MIN_MALLOC_W + 1;
size 126 kernel/generic/src/mm/malloc.c static void *mem_alloc(size_t alignment, size_t size)
size 128 kernel/generic/src/mm/malloc.c _check_sizes(&alignment, &size);
size 130 kernel/generic/src/mm/malloc.c if (size > (1 << SLAB_MAX_MALLOC_W)) {
size 132 kernel/generic/src/mm/malloc.c assert(size <= (1 << SLAB_MAX_MALLOC_W));
size 136 kernel/generic/src/mm/malloc.c return slab_alloc(cache_for_size(size), FRAME_ATOMIC);
size 170 kernel/generic/src/mm/malloc.c static void mem_free(void *ptr, size_t alignment, size_t size)
size 175 kernel/generic/src/mm/malloc.c _check_sizes(&alignment, &size);
size 177 kernel/generic/src/mm/malloc.c if (size > (1 << SLAB_MAX_MALLOC_W)) {
size 179 kernel/generic/src/mm/malloc.c assert(size <= (1 << SLAB_MAX_MALLOC_W));
size 182 kernel/generic/src/mm/malloc.c return slab_free(cache_for_size(size), ptr);
size 187 kernel/generic/src/mm/malloc.c void *malloc(size_t size)
size 189 kernel/generic/src/mm/malloc.c if (size + _offset < size)
size 192 kernel/generic/src/mm/malloc.c void *obj = mem_alloc(alignof(max_align_t), size + _offset) + _offset;
size 195 kernel/generic/src/mm/malloc.c ((size_t *) obj)[-1] = size;
size 207 kernel/generic/src/mm/malloc.c size_t size = ((size_t *) obj)[-1];
size 208 kernel/generic/src/mm/malloc.c mem_free(obj - _offset, alignof(max_align_t), size + _offset);
size 184 kernel/generic/src/mm/page.c void page_mapping_make_global(uintptr_t base, size_t size)
size 189 kernel/generic/src/mm/page.c return page_mapping_operations->mapping_make_global(base, size);
size 70 kernel/generic/src/mm/reserve.c bool reserve_try_alloc(size_t size)
size 77 kernel/generic/src/mm/reserve.c if (reserve >= 0 && (size_t) reserve >= size) {
size 78 kernel/generic/src/mm/reserve.c reserve -= size;
size 90 kernel/generic/src/mm/reserve.c if (reserve >= 0 && (size_t) reserve >= size) {
size 91 kernel/generic/src/mm/reserve.c reserve -= size;
size 97 kernel/generic/src/mm/reserve.c if (reserve >= 0 && (size_t) reserve >= size) {
size 98 kernel/generic/src/mm/reserve.c reserve -= size;
size 117 kernel/generic/src/mm/reserve.c void reserve_force_alloc(size_t size)
size 123 kernel/generic/src/mm/reserve.c reserve -= size;
size 131 kernel/generic/src/mm/reserve.c void reserve_free(size_t size)
size 137 kernel/generic/src/mm/reserve.c reserve += size;
size 197 kernel/generic/src/mm/slab.c *((size_t *) (slab->start + i * cache->size)) = i + 1;
size 253 kernel/generic/src/mm/slab.c slab->nextavail = (obj - slab->start) / cache->size;
size 305 kernel/generic/src/mm/slab.c void *obj = slab->start + slab->nextavail * cache->size;
size 469 kernel/generic/src/mm/slab.c if (cmag->busy < cmag->size)
size 472 kernel/generic/src/mm/slab.c if ((lastmag) && (lastmag->busy < lastmag->size)) {
size 492 kernel/generic/src/mm/slab.c newmag->size = SLAB_MAG_SIZE;
size 544 kernel/generic/src/mm/slab.c cache->size;
size 546 kernel/generic/src/mm/slab.c return FRAMES2SIZE(cache->frames) / cache->size;
size 560 kernel/generic/src/mm/slab.c return ssize - objects * cache->size;
size 588 kernel/generic/src/mm/slab.c size_t size, size_t align, errno_t (*constructor)(void *obj,
size 591 kernel/generic/src/mm/slab.c assert(size > 0);
size 599 kernel/generic/src/mm/slab.c size = ALIGN_UP(size, align);
size 601 kernel/generic/src/mm/slab.c cache->size = size;
size 617 kernel/generic/src/mm/slab.c if (cache->size < SLAB_INSIDE_SIZE)
size 621 kernel/generic/src/mm/slab.c cache->frames = SIZE2FRAMES(cache->size);
size 641 kernel/generic/src/mm/slab.c slab_cache_t *slab_cache_create(const char *name, size_t size, size_t align,
size 649 kernel/generic/src/mm/slab.c _slab_cache_create(cache, name, size, align, constructor, destructor,
size 857 kernel/generic/src/mm/slab.c size_t size = cache->size;
size 867 kernel/generic/src/mm/slab.c name, size, frames, objects, allocated_slabs,
size 38 kernel/generic/src/printf/snprintf.c int snprintf(char *str, size_t size, const char *fmt, ...)
size 44 kernel/generic/src/printf/snprintf.c ret = vsnprintf(str, size, fmt, args);
size 43 kernel/generic/src/printf/vprintf.c static int vprintf_str_write(const char *str, size_t size, void *data)
size 48 kernel/generic/src/printf/vprintf.c while (offset < size) {
size 49 kernel/generic/src/printf/vprintf.c putuchar(str_decode(str, &offset, size));
size 56 kernel/generic/src/printf/vprintf.c static int vprintf_wstr_write(const char32_t *str, size_t size, void *data)
size 61 kernel/generic/src/printf/vprintf.c while (offset < size) {
size 42 kernel/generic/src/printf/vsnprintf.c size_t size; /* Total size of the buffer (in bytes) */
size 64 kernel/generic/src/printf/vsnprintf.c static int vsnprintf_str_write(const char *str, size_t size, vsnprintf_data_t *data)
size 66 kernel/generic/src/printf/vsnprintf.c size_t left = data->size - data->len;
size 69 kernel/generic/src/printf/vsnprintf.c return ((int) size);
size 76 kernel/generic/src/printf/vsnprintf.c data->dst[data->size - 1] = 0;
size 77 kernel/generic/src/printf/vsnprintf.c data->len = data->size;
size 78 kernel/generic/src/printf/vsnprintf.c return ((int) size);
size 81 kernel/generic/src/printf/vsnprintf.c if (left <= size) {
size 89 kernel/generic/src/printf/vsnprintf.c while (index < size) {
size 90 kernel/generic/src/printf/vsnprintf.c char32_t uc = str_decode(str, &index, size);
size 92 kernel/generic/src/printf/vsnprintf.c if (chr_encode(uc, data->dst, &data->len, data->size - 1) != EOK)
size 102 kernel/generic/src/printf/vsnprintf.c return ((int) size);
size 106 kernel/generic/src/printf/vsnprintf.c memcpy((void *)(data->dst + data->len), (void *) str, size);
size 107 kernel/generic/src/printf/vsnprintf.c data->len += size;
size 115 kernel/generic/src/printf/vsnprintf.c return ((int) size);
size 135 kernel/generic/src/printf/vsnprintf.c static int vsnprintf_wstr_write(const char32_t *str, size_t size, vsnprintf_data_t *data)
size 139 kernel/generic/src/printf/vsnprintf.c while (index < (size / sizeof(char32_t))) {
size 140 kernel/generic/src/printf/vsnprintf.c size_t left = data->size - data->len;
size 143 kernel/generic/src/printf/vsnprintf.c return ((int) size);
size 150 kernel/generic/src/printf/vsnprintf.c data->dst[data->size - 1] = 0;
size 151 kernel/generic/src/printf/vsnprintf.c data->len = data->size;
size 152 kernel/generic/src/printf/vsnprintf.c return ((int) size);
size 155 kernel/generic/src/printf/vsnprintf.c if (chr_encode(str[index], data->dst, &data->len, data->size - 1) != EOK)
size 167 kernel/generic/src/printf/vsnprintf.c return ((int) size);
size 170 kernel/generic/src/printf/vsnprintf.c int vsnprintf(char *str, size_t size, const char *fmt, va_list ap)
size 173 kernel/generic/src/printf/vsnprintf.c size,
size 184 kernel/generic/src/printf/vsnprintf.c if (size > 0)
size 45 kernel/generic/src/synch/smc.c sys_errno_t sys_smc_coherence(uintptr_t va, size_t size)
size 47 kernel/generic/src/synch/smc.c if (overlaps(va, size, (uintptr_t) NULL, PAGE_SIZE))
size 51 kernel/generic/src/synch/smc.c if (overlaps(va, size, KERNEL_ADDRESS_SPACE_START,
size 56 kernel/generic/src/synch/smc.c smc_coherence((void *) va, size);
size 61 kernel/generic/src/syscall/copy.c errno_t copy_from_uspace(void *dst, uspace_addr_t uspace_src, size_t size)
size 70 kernel/generic/src/syscall/copy.c if (overlaps(uspace_src, size,
size 84 kernel/generic/src/syscall/copy.c if (overlaps(uspace_src, size, ADDRESS_SPACE_HOLE_START,
size 92 kernel/generic/src/syscall/copy.c rc = !memcpy_from_uspace(dst, uspace_src, size) ? EPERM : EOK;
size 112 kernel/generic/src/syscall/copy.c errno_t copy_to_uspace(uspace_addr_t uspace_dst, const void *src, size_t size)
size 121 kernel/generic/src/syscall/copy.c if (overlaps(uspace_dst, size,
size 135 kernel/generic/src/syscall/copy.c if (overlaps(uspace_dst, size, ADDRESS_SPACE_HOLE_START,
size 143 kernel/generic/src/syscall/copy.c rc = !memcpy_to_uspace(uspace_dst, src, size) ? EPERM : EOK;
size 105 kernel/generic/src/sysinfo/stats.c static void *get_stats_cpus(struct sysinfo_item *item, size_t *size,
size 108 kernel/generic/src/sysinfo/stats.c *size = sizeof(stats_cpu_t) * config.cpu_count;
size 113 kernel/generic/src/sysinfo/stats.c stats_cpu_t *stats_cpus = (stats_cpu_t *) malloc(*size);
size 115 kernel/generic/src/sysinfo/stats.c *size = 0;
size 240 kernel/generic/src/sysinfo/stats.c static void *get_stats_tasks(struct sysinfo_item *item, size_t *size,
size 252 kernel/generic/src/sysinfo/stats.c *size = 0;
size 256 kernel/generic/src/sysinfo/stats.c *size = sizeof(stats_task_t) * count;
size 262 kernel/generic/src/sysinfo/stats.c stats_task_t *stats_tasks = (stats_task_t *) malloc(*size);
size 266 kernel/generic/src/sysinfo/stats.c *size = 0;
size 329 kernel/generic/src/sysinfo/stats.c static void *get_stats_threads(struct sysinfo_item *item, size_t *size,
size 341 kernel/generic/src/sysinfo/stats.c *size = 0;
size 345 kernel/generic/src/sysinfo/stats.c *size = sizeof(stats_thread_t) * count;
size 351 kernel/generic/src/sysinfo/stats.c stats_thread_t *stats_threads = (stats_thread_t *) malloc(*size);
size 355 kernel/generic/src/sysinfo/stats.c *size = 0;
size 437 kernel/generic/src/sysinfo/stats.c static void *get_stats_ipccs(struct sysinfo_item *item, size_t *size,
size 465 kernel/generic/src/sysinfo/stats.c *size = sizeof(stats_ipcc_t) * state.count;
size 468 kernel/generic/src/sysinfo/stats.c state.data = (stats_ipcc_t *) malloc(*size);
size 529 kernel/generic/src/sysinfo/stats.c ret.data.size = sizeof(stats_task_t);
size 538 kernel/generic/src/sysinfo/stats.c ret.data.size = sizeof(stats_task_t);
size 593 kernel/generic/src/sysinfo/stats.c ret.data.size = sizeof(stats_thread_t);
size 608 kernel/generic/src/sysinfo/stats.c ret.data.size = sizeof(stats_thread_t);
size 629 kernel/generic/src/sysinfo/stats.c static void *get_stats_exceptions(struct sysinfo_item *item, size_t *size,
size 632 kernel/generic/src/sysinfo/stats.c *size = sizeof(stats_exc_t) * IVT_ITEMS;
size 638 kernel/generic/src/sysinfo/stats.c (stats_exc_t *) malloc(*size);
size 641 kernel/generic/src/sysinfo/stats.c *size = 0;
size 709 kernel/generic/src/sysinfo/stats.c ret.data.size = sizeof(stats_thread_t);
size 726 kernel/generic/src/sysinfo/stats.c ret.data.size = sizeof(stats_exc_t);
size 751 kernel/generic/src/sysinfo/stats.c static void *get_stats_physmem(struct sysinfo_item *item, size_t *size,
size 754 kernel/generic/src/sysinfo/stats.c *size = sizeof(stats_physmem_t);
size 759 kernel/generic/src/sysinfo/stats.c (stats_physmem_t *) malloc(*size);
size 761 kernel/generic/src/sysinfo/stats.c *size = 0;
size 782 kernel/generic/src/sysinfo/stats.c static void *get_stats_load(struct sysinfo_item *item, size_t *size,
size 785 kernel/generic/src/sysinfo/stats.c *size = sizeof(load_t) * LOAD_STEPS;
size 789 kernel/generic/src/sysinfo/stats.c load_t *stats_load = (load_t *) malloc(*size);
size 791 kernel/generic/src/sysinfo/stats.c *size = 0;
size 361 kernel/generic/src/sysinfo/sysinfo.c void *data, size_t size)
size 373 kernel/generic/src/sysinfo/sysinfo.c item->val.data.size = size;
size 540 kernel/generic/src/sysinfo/sysinfo.c size_t size;
size 552 kernel/generic/src/sysinfo/sysinfo.c printf(" (%zu bytes)\n", cur->val.data.size);
size 561 kernel/generic/src/sysinfo/sysinfo.c (void) cur->val.gen_data.fn(cur, &size, true,
size 563 kernel/generic/src/sysinfo/sysinfo.c printf(" (%zu bytes) [generated]\n", size);
size 653 kernel/generic/src/sysinfo/sysinfo.c ret.data.data = item->val.gen_data.fn(item, &ret.data.size,
size 679 kernel/generic/src/sysinfo/sysinfo.c _NO_TRACE static sysinfo_return_t sysinfo_get_item_uspace(uspace_addr_t ptr, size_t size,
size 685 kernel/generic/src/sysinfo/sysinfo.c if (size > SYSINFO_MAX_PATH)
size 689 kernel/generic/src/sysinfo/sysinfo.c char *path = malloc(size + 1);
size 693 kernel/generic/src/sysinfo/sysinfo.c if ((copy_from_uspace(path, ptr, size + 1) == 0) &&
size 694 kernel/generic/src/sysinfo/sysinfo.c (path[size] == 0)) {
size 747 kernel/generic/src/sysinfo/sysinfo.c size_t size = 0;
size 749 kernel/generic/src/sysinfo/sysinfo.c size += str_size(cur->name) + 1;
size 754 kernel/generic/src/sysinfo/sysinfo.c ret.data.size = size;
size 757 kernel/generic/src/sysinfo/sysinfo.c char *names = (char *) malloc(size);
size 763 kernel/generic/src/sysinfo/sysinfo.c str_cpy(names + pos, size - pos, cur->name);
size 770 kernel/generic/src/sysinfo/sysinfo.c ret.data.size = size;
size 788 kernel/generic/src/sysinfo/sysinfo.c _NO_TRACE static sysinfo_return_t sysinfo_get_keys_uspace(uspace_addr_t ptr, size_t size,
size 794 kernel/generic/src/sysinfo/sysinfo.c ret.data.size = 0;
size 796 kernel/generic/src/sysinfo/sysinfo.c if (size > SYSINFO_MAX_PATH)
size 800 kernel/generic/src/sysinfo/sysinfo.c char *path = malloc(size + 1);
size 804 kernel/generic/src/sysinfo/sysinfo.c if ((copy_from_uspace(path, ptr, size + 1) == 0) &&
size 805 kernel/generic/src/sysinfo/sysinfo.c (path[size] == 0)) {
size 849 kernel/generic/src/sysinfo/sysinfo.c rc = copy_to_uspace(size_ptr, &ret.data.size,
size 850 kernel/generic/src/sysinfo/sysinfo.c sizeof(ret.data.size));
size 892 kernel/generic/src/sysinfo/sysinfo.c size_t size = min(ret.data.size, buffer_size);
size 893 kernel/generic/src/sysinfo/sysinfo.c rc = copy_to_uspace(buffer_ptr, ret.data.data, size);
size 895 kernel/generic/src/sysinfo/sysinfo.c rc = copy_to_uspace(size_ptr, &size, sizeof(size));
size 1003 kernel/generic/src/sysinfo/sysinfo.c rc = copy_to_uspace(size_ptr, &ret.data.size,
size 1004 kernel/generic/src/sysinfo/sysinfo.c sizeof(ret.data.size));
size 1050 kernel/generic/src/sysinfo/sysinfo.c size_t size = min(ret.data.size, buffer_size);
size 1051 kernel/generic/src/sysinfo/sysinfo.c rc = copy_to_uspace(buffer_ptr, ret.data.data, size);
size 1053 kernel/generic/src/sysinfo/sysinfo.c rc = copy_to_uspace(size_ptr, &size, sizeof(size));
size 408 kernel/generic/src/udebug/udebug_ipc.c unsigned size;
size 414 kernel/generic/src/udebug/udebug_ipc.c size = ipc_get_arg4(&call->data);
size 416 kernel/generic/src/udebug/udebug_ipc.c rc = udebug_mem_read(uspace_src, size, &buffer);
size 432 kernel/generic/src/udebug/udebug_ipc.c ipc_set_arg2(&call->data, size);
size 39 kernel/test/mm/slab1.c static void testit(int size, int count)
size 44 kernel/test/mm/slab1.c TPRINTF("Creating cache, object size: %d.\n", size);
size 46 kernel/test/mm/slab1.c cache = slab_cache_create("test_cache", size, 0, NULL, NULL,
size 54 kernel/test/mm/slab1.c memsetb(data[i], size, 0);
size 71 kernel/test/mm/slab1.c memsetb(data[i], size, 0);
size 88 kernel/test/mm/slab1.c memsetb(data[i], size, 0);
size 191 kernel/test/mm/slab2.c static void multitest(int size)
size 198 kernel/test/mm/slab2.c TPRINTF("Running stress test with size %d\n", size);
size 203 kernel/test/mm/slab2.c thr_cache = slab_cache_create("thread_cache", size, 0, NULL, NULL, 0);
size 263 tools/xcw/demo/viewer.c void *tga = malloc(stat.size);
size 270 tools/xcw/demo/viewer.c rc = vfs_read(fd, (aoff64_t []) { 0 }, tga, stat.size, &nread);
size 271 tools/xcw/demo/viewer.c if (rc != EOK || nread != stat.size) {
size 279 tools/xcw/demo/viewer.c rc = decode_tga(viewer->window_gc, tga, stat.size, rbitmap, rect);
size 174 uspace/app/barber/barber.c rc = decode_tga_gz(gc, img[i].addr, img[i].size,
size 226 uspace/app/bdsh/cmds/modules/cat/cat.c file_size = st.size;
size 427 uspace/app/bdsh/cmds/modules/cp/cp.c total = st.size;
size 104 uspace/app/bdsh/cmds/modules/ls/ls.c printf("%-40s\t%*llu\n", de->name, width, (long long) de->s.size);
size 109 uspace/app/bdsh/cmds/modules/ls/ls.c capa_from_blocks(de->s.size, 1, &capa);
size 1388 uspace/app/edit/edit.c size_t pos, size;
size 1446 uspace/app/edit/edit.c size = str_size(row_buf);
size 1449 uspace/app/edit/edit.c while (pos < size) {
size 1456 uspace/app/edit/edit.c c = str_decode(row_buf, &pos, size);
size 44 uspace/app/gunzip/gunzip.c size_t size, dsize;
size 95 uspace/app/gunzip/gunzip.c size = (size_t) len;
size 97 uspace/app/gunzip/gunzip.c rc = gzip_expand(data, size, &ddata, &dsize);
size 41 uspace/app/hbench/disk/randread.c static bool runner(bench_env_t *env, bench_run_t *run, uint64_t size)
size 109 uspace/app/hbench/disk/randread.c for (i = 0; i < size; i++) {
size 41 uspace/app/hbench/disk/seqread.c static bool runner(bench_env_t *env, bench_run_t *run, uint64_t size)
size 109 uspace/app/hbench/disk/seqread.c for (i = 0; i < size; i++) {
size 46 uspace/app/hbench/fs/dirread.c static bool runner(bench_env_t *env, bench_run_t *run, uint64_t size)
size 51 uspace/app/hbench/fs/dirread.c for (uint64_t i = 0; i < size; i++) {
size 47 uspace/app/hbench/fs/fileread.c static bool runner(bench_env_t *env, bench_run_t *run, uint64_t size)
size 67 uspace/app/hbench/fs/fileread.c for (uint64_t i = 0; i < size; i++) {
size 38 uspace/app/hbench/malloc/malloc1.c static bool runner(bench_env_t *env, bench_run_t *run, uint64_t size)
size 41 uspace/app/hbench/malloc/malloc1.c for (uint64_t i = 0; i < size; i++) {
size 46 uspace/app/hbench/malloc/malloc1.c i, size);
size 67 uspace/app/hbench/synch/fibril_mutex.c static bool runner(bench_env_t *env, bench_run_t *run, uint64_t size)
size 71 uspace/app/hbench/synch/fibril_mutex.c shared.counter = size;
size 78 uspace/app/hbench/synch/fibril_mutex.c for (uint64_t i = 0; i < size; i++) {
size 76 uspace/app/init/untar.c static size_t bd_tar_read(tar_file_t *tar, void *data, size_t size)
size 80 uspace/app/init/untar.c if (block_read_bytes_direct(state->sid, state->offset, size,
size 84 uspace/app/init/untar.c state->offset += size;
size 85 uspace/app/init/untar.c return size;
size 203 uspace/app/kio/kio.c size_t size = pages * PAGE_SIZE;
size 204 uspace/app/kio/kio.c kio_length = size / sizeof(char32_t);
size 128 uspace/app/mkbd/main.c static void print_key(uint8_t *buffer, size_t size, usb_hid_report_t *report)
size 134 uspace/app/mkbd/main.c errno_t rc = usb_hid_parse_report(report, buffer, size, &report_id);
size 257 uspace/app/mkbd/main.c size_t size;
size 258 uspace/app/mkbd/main.c rc = usbhid_dev_get_event_length(dev_sess, &size);
size 264 uspace/app/mkbd/main.c uint8_t *event = (uint8_t *)malloc(size);
size 283 uspace/app/mkbd/main.c rc = usbhid_dev_get_event(dev_sess, event, size, &actual_size,
size 293 uspace/app/mkbd/main.c print_key(event, size, report);
size 59 uspace/app/mkexfat/exfat.h uint8_t size;
size 68 uspace/app/mkexfat/exfat.h uint64_t size;
size 76 uspace/app/mkexfat/exfat.h uint64_t size;
size 654 uspace/app/mkexfat/mkexfat.c d->vollabel.size = utf16_wsize(wlabel);
size 655 uspace/app/mkexfat/mkexfat.c assert(d->vollabel.size <= EXFAT_VOLLABEL_LEN);
size 666 uspace/app/mkexfat/mkexfat.c d->bitmap.size = host2uint64_t_le(cfg->bitmap_size);
size 675 uspace/app/mkexfat/mkexfat.c d->uctable.size = host2uint64_t_le(sizeof(upcase_table));
size 125 uspace/app/mkfat/fat_dentry.h uint32_t size;
size 56 uspace/app/mkmfs/mkmfs.c #define UPPER(n, size) (((n) / (size)) + (((n) % (size)) != 0))
size 95 uspace/app/mkmfs/mkmfs.c static inline errno_t write_block(aoff64_t off, size_t size, const void *data);
size 707 uspace/app/mkmfs/mkmfs.c static inline errno_t write_block(aoff64_t off, size_t size, const void *data)
size 715 uspace/app/mkmfs/mkmfs.c size << 2, data_ptr);
size 724 uspace/app/mkmfs/mkmfs.c size << 2, data_ptr);
size 727 uspace/app/mkmfs/mkmfs.c size << shift, data);
size 70 uspace/app/netecho/comm.c size_t size;
size 75 uspace/app/netecho/comm.c size = udp_rmsg_size(rmsg);
size 77 uspace/app/netecho/comm.c while (pos < size) {
size 78 uspace/app/netecho/comm.c now = min(size - pos, RECV_BUF_SIZE);
size 184 uspace/app/netecho/comm.c errno_t comm_send(void *data, size_t size)
size 186 uspace/app/netecho/comm.c errno_t rc = udp_assoc_send_msg(assoc, NULL, data, size);
size 49 uspace/app/netecho/netecho.c void netecho_received(void *data, size_t size)
size 57 uspace/app/netecho/netecho.c for (i = 0; i < size; i++)
size 128 uspace/app/nterm/conn.c errno_t conn_send(void *data, size_t size)
size 130 uspace/app/nterm/conn.c errno_t rc = tcp_conn_send(conn, data, size);
size 99 uspace/app/nterm/nterm.c void nterm_received(void *data, size_t size)
size 101 uspace/app/nterm/nterm.c fwrite(data, size, 1, stdout);
size 126 uspace/app/ping/ping.c "payload size %zu\n", asrc, adest, sdu->seq_no, sdu->size);
size 143 uspace/app/ping/ping.c sdu.size = 3;
size 95 uspace/app/sbi/src/os/helenos.c size_t size;
size 108 uspace/app/sbi/src/os/helenos.c size = str_lsize(str, length);
size 109 uspace/app/sbi/src/os/helenos.c slice = str_ndup(str + offset, size);
size 232 uspace/app/stats/stats.c size_t size = 0;
size 235 uspace/app/stats/stats.c size++;
size 237 uspace/app/stats/stats.c size++;
size 240 uspace/app/stats/stats.c char *escaped_str = calloc(size + 1, sizeof(char));
size 44 uspace/app/sysinfo/sysinfo.c static void dump_bytes_hex(char *data, size_t size)
size 46 uspace/app/sysinfo/sysinfo.c for (size_t i = 0; i < size; i++) {
size 53 uspace/app/sysinfo/sysinfo.c static void dump_bytes_text(char *data, size_t size)
size 57 uspace/app/sysinfo/sysinfo.c while (offset < size) {
size 58 uspace/app/sysinfo/sysinfo.c char32_t c = str_decode(data, &offset, size);
size 80 uspace/app/sysinfo/sysinfo.c size_t size;
size 81 uspace/app/sysinfo/sysinfo.c void *data = sysinfo_get_data(ipath, &size);
size 88 uspace/app/sysinfo/sysinfo.c dump_bytes_hex(data, size);
size 90 uspace/app/sysinfo/sysinfo.c dump_bytes_text(data, size);
size 98 uspace/app/sysinfo/sysinfo.c size_t size;
size 99 uspace/app/sysinfo/sysinfo.c void *data = sysinfo_get_property(ipath, iprop, &size);
size 107 uspace/app/sysinfo/sysinfo.c dump_bytes_hex(data, size);
size 109 uspace/app/sysinfo/sysinfo.c dump_bytes_text(data, size);
size 123 uspace/app/sysinfo/sysinfo.c size_t size;
size 124 uspace/app/sysinfo/sysinfo.c char *keys = sysinfo_get_keys(path, &size);
size 125 uspace/app/sysinfo/sysinfo.c if ((keys == NULL) || (size == 0))
size 129 uspace/app/sysinfo/sysinfo.c while (pos < size) {
size 131 uspace/app/sysinfo/sysinfo.c size_t cur_size = str_nsize(keys + pos, size - pos);
size 203 uspace/app/taskdump/elf_core.c p_hdr[i + 1].p_filesz = ainfo[i].size;
size 204 uspace/app/taskdump/elf_core.c p_hdr[i + 1].p_memsz = ainfo[i].size;
size 208 uspace/app/taskdump/elf_core.c foff += ainfo[i].size;
size 307 uspace/app/taskdump/elf_core.c while (total < area->size) {
size 308 uspace/app/taskdump/elf_core.c to_copy = min(area->size - total, BUFFER_SIZE);
size 52 uspace/app/taskdump/symtab.c static errno_t chunk_load(int fd, off64_t start, size_t size, void **ptr);
size 330 uspace/app/taskdump/symtab.c static errno_t chunk_load(int fd, off64_t start, size_t size, void **ptr)
size 336 uspace/app/taskdump/symtab.c *ptr = malloc(size);
size 342 uspace/app/taskdump/symtab.c rc = vfs_read(fd, &pos, *ptr, size, &nread);
size 343 uspace/app/taskdump/symtab.c if (rc != EOK || nread != size) {
size 307 uspace/app/taskdump/taskdump.c (void *) ainfo_buf[i].start_addr, ainfo_buf[i].size);
size 378 uspace/app/terminal/terminal.c static errno_t term_read(con_srv_t *srv, void *buf, size_t size, size_t *nread)
size 389 uspace/app/terminal/terminal.c while (pos < size) {
size 391 uspace/app/terminal/terminal.c while ((pos < size) && (term->char_remains_len > 0)) {
size 403 uspace/app/terminal/terminal.c if (pos < size) {
size 425 uspace/app/terminal/terminal.c *nread = size;
size 453 uspace/app/terminal/terminal.c static errno_t term_write(con_srv_t *srv, void *data, size_t size, size_t *nwritten)
size 460 uspace/app/terminal/terminal.c while (off < size)
size 461 uspace/app/terminal/terminal.c term_write_char(term, str_decode(data, &off, size));
size 467 uspace/app/terminal/terminal.c *nwritten = size;
size 87 uspace/app/tester/mm/common.c static bool overlap_match(mem_block_t *block, void *addr, size_t size)
size 95 uspace/app/tester/mm/common.c uint8_t *bend = (uint8_t *) block->addr + block->size;
size 99 uspace/app/tester/mm/common.c uint8_t *dend = (uint8_t *) addr + size;
size 122 uspace/app/tester/mm/common.c static int test_overlap(void *addr, size_t size)
size 127 uspace/app/tester/mm/common.c if (overlap_match(block, addr, size)) {
size 160 uspace/app/tester/mm/common.c static void *checked_malloc(size_t size)
size 165 uspace/app/tester/mm/common.c data = malloc(size);
size 171 uspace/app/tester/mm/common.c if (test_overlap(data, size)) {
size 194 uspace/app/tester/mm/common.c mem_block_t *alloc_block(size_t size)
size 209 uspace/app/tester/mm/common.c block->addr = checked_malloc(size);
size 216 uspace/app/tester/mm/common.c block->size = size;
size 220 uspace/app/tester/mm/common.c mem_allocated += size + sizeof(mem_block_t);
size 238 uspace/app/tester/mm/common.c mem_allocated -= block->size + sizeof(mem_block_t);
size 271 uspace/app/tester/mm/common.c for (uint8_t *pos = block->addr, *end = pos + block->size;
size 288 uspace/app/tester/mm/common.c for (uint8_t *pos = block->addr, *end = pos + block->size;
size 332 uspace/app/tester/mm/common.c mem_area_t *map_area(size_t size)
size 342 uspace/app/tester/mm/common.c area->addr = as_area_create(AS_AREA_ANY, size,
size 351 uspace/app/tester/mm/common.c area->size = size;
size 404 uspace/app/tester/mm/common.c for (uint8_t *pos = area->addr, *end = pos + area->size;
size 52 uspace/app/tester/mm/common.h size_t size;
size 63 uspace/app/tester/mm/common.h size_t size;
size 40 uspace/app/tester/mm/mapping1.c static void *create_as_area(size_t size)
size 44 uspace/app/tester/mm/mapping1.c void *result = as_area_create(AS_AREA_ANY, size,
size 52 uspace/app/tester/mm/mapping1.c static void touch_area(void *area, size_t size)
size 58 uspace/app/tester/mm/mapping1.c while (size > 0) {
size 60 uspace/app/tester/mm/mapping1.c size--;
size 44 uspace/app/tester/mm/pager1.c static void *create_paged_area(size_t size)
size 77 uspace/app/tester/mm/pager1.c void *result = async_as_area_create(AS_AREA_ANY, size,
size 87 uspace/app/tester/mm/pager1.c static void touch_area(void *area, size_t size)
size 87 uspace/app/tester/vfs/vfs1.c size_t size = sizeof(text);
size 89 uspace/app/tester/vfs/vfs1.c rc = vfs_write(fd0, &pos, text, size, &cnt);
size 62 uspace/app/untar/main.c static size_t tar_read(tar_file_t *tar, void *data, size_t size)
size 65 uspace/app/untar/main.c return fread(data, 1, size, state->file);
size 74 uspace/app/usbinfo/desctree.c .size = descriptors_size,
size 97 uspace/app/usbinfo/dump.c void dump_usb_descriptor(uint8_t *descriptor, size_t size)
size 101 uspace/app/usbinfo/dump.c descriptor, size);
size 183 uspace/app/usbinfo/dump.c .size = length,
size 63 uspace/app/usbinfo/hid.c uint8_t size = d[0];
size 64 uspace/app/usbinfo/hid.c if (size <= 1) {
size 77 uspace/app/usbinfo/hid.c static void dump_hid_report_raw(int iface_no, uint8_t *report, size_t size)
size 81 uspace/app/usbinfo/hid.c for (size_t i = 0; i < size; i++) {
size 263 uspace/app/viewer/viewer.c void *tga = malloc(stat.size);
size 270 uspace/app/viewer/viewer.c rc = vfs_read(fd, (aoff64_t []) { 0 }, tga, stat.size, &nread);
size 271 uspace/app/viewer/viewer.c if (rc != EOK || nread != stat.size) {
size 279 uspace/app/viewer/viewer.c rc = decode_tga(viewer->window_gc, tga, stat.size, rbitmap, rect);
size 87 uspace/app/vuhid/items.h #define BUILD_ITEM_PREFIX(size, type, tag) \
size 88 uspace/app/vuhid/items.h ((size) | ((type) << 2) | ((tag) << 4))
size 68 uspace/app/vuhid/report.h #define REPORT_SIZE1(size) \
size 69 uspace/app/vuhid/report.h ITEM_CREATE1(ITEM_GLOBAL, TAG_REPORT_SIZE, size)
size 59 uspace/app/wavplay/dplay.c size_t size;
size 81 uspace/app/wavplay/dplay.c pb->buffer.size = 0;
size 99 uspace/app/wavplay/dplay.c const size_t fragment_size = pb->buffer.size / DEFAULT_FRAGMENTS;
size 136 uspace/app/wavplay/dplay.c if (pb->buffer.write_ptr >= (pb->buffer.base + pb->buffer.size))
size 137 uspace/app/wavplay/dplay.c pb->buffer.write_ptr -= pb->buffer.size;
size 149 uspace/app/wavplay/dplay.c const size_t fragment_size = pb->buffer.size / DEFAULT_FRAGMENTS;
size 199 uspace/app/wavplay/dplay.c return pb->buffer.write_ptr + pb->buffer.size - read_ptr;
size 215 uspace/app/wavplay/dplay.c return read_ptr + pb->buffer.size - pb->buffer.write_ptr - 1;
size 226 uspace/app/wavplay/dplay.c return (pb->buffer.base + pb->buffer.size) - pb->buffer.write_ptr;
size 238 uspace/app/wavplay/dplay.c while (pb->buffer.write_ptr >= (pb->buffer.base + pb->buffer.size))
size 239 uspace/app/wavplay/dplay.c pb->buffer.write_ptr -= pb->buffer.size;
size 373 uspace/app/wavplay/dplay.c ret = audio_pcm_get_buffer(pb.device, &pb.buffer.base, &pb.buffer.size);
size 378 uspace/app/wavplay/dplay.c printf("Buffer: %p %zu.\n", pb.buffer.base, pb.buffer.size);
size 63 uspace/app/wavplay/drec.c size_t size;
size 81 uspace/app/wavplay/drec.c rec->buffer.size = 0;
size 98 uspace/app/wavplay/drec.c const size_t buffer_part = rec->buffer.size / BUFFER_PARTS;
size 130 uspace/app/wavplay/drec.c if (rec->buffer.position >= (rec->buffer.base + rec->buffer.size))
size 155 uspace/app/wavplay/drec.c pcm_format_size_to_frames(rec->buffer.size / BUFFER_PARTS, &f);
size 213 uspace/app/wavplay/drec.c &rec.buffer.size);
size 218 uspace/app/wavplay/drec.c printf("Buffer: %p %zu.\n", rec.buffer.base, rec.buffer.size);
size 117 uspace/app/wavplay/wave.c const unsigned size = uint16_t_le2host(header->sample_size);
size 118 uspace/app/wavplay/wave.c switch (size) {
size 150 uspace/app/wavplay/wave.c void wav_init_header(wave_header_t *header, pcm_format_t format, size_t size)
size 162 uspace/app/wavplay/wave.c header->subchunk2_size = host2uint32_t_le(size);
size 850 uspace/dist/src/c/demos/edit/edit.c size_t pos, size;
size 895 uspace/dist/src/c/demos/edit/edit.c size = str_size(row_buf);
size 898 uspace/dist/src/c/demos/edit/edit.c while (pos < size) {
size 911 uspace/dist/src/c/demos/edit/edit.c c = str_decode(row_buf, &pos, size);
size 82 uspace/drv/audio/hdaudio/hdaudio.c .size = 8192
size 152 uspace/drv/audio/hdaudio/pcm_iface.c static errno_t hda_get_buffer(ddf_fun_t *fun, void **buffer, size_t *size)
size 176 uspace/drv/audio/hdaudio/pcm_iface.c *size = hda->pcm_buffers->bufsize * hda->pcm_buffers->nbuffers;
size 179 uspace/drv/audio/hdaudio/pcm_iface.c *buffer, *size);
size 160 uspace/drv/audio/sb16/dsp.c static inline errno_t setup_dma(sb_dsp_t *dsp, uintptr_t pa, size_t size)
size 165 uspace/drv/audio/sb16/dsp.c dsp->dma16_channel, pa, size,
size 169 uspace/drv/audio/sb16/dsp.c static inline errno_t setup_buffer(sb_dsp_t *dsp, size_t size)
size 173 uspace/drv/audio/sb16/dsp.c if ((size > MAX_BUFFER_SIZE) || (size == 0) || ((size % 2) == 1))
size 174 uspace/drv/audio/sb16/dsp.c size = MAX_BUFFER_SIZE;
size 179 uspace/drv/audio/sb16/dsp.c errno_t ret = dmamem_map_anonymous(size, DMAMEM_16MiB | 0x0000ffff,
size 186 uspace/drv/audio/sb16/dsp.c ddf_log_verbose("Setup DMA buffer at %p (%zu) %zu.", buffer, pa, size);
size 190 uspace/drv/audio/sb16/dsp.c ret = setup_dma(dsp, pa, size);
size 193 uspace/drv/audio/sb16/dsp.c dsp->buffer.size = size;
size 306 uspace/drv/audio/sb16/dsp.c *pos = dsp->buffer.size - remain;
size 353 uspace/drv/audio/sb16/dsp.c errno_t sb_dsp_get_buffer(sb_dsp_t *dsp, void **buffer, size_t *size)
size 356 uspace/drv/audio/sb16/dsp.c assert(size);
size 366 uspace/drv/audio/sb16/dsp.c const errno_t ret = setup_buffer(dsp, *size);
size 369 uspace/drv/audio/sb16/dsp.c dsp->buffer.data, dsp->buffer.size);
size 373 uspace/drv/audio/sb16/dsp.c if (size)
size 374 uspace/drv/audio/sb16/dsp.c *size = dsp->buffer.size;
size 388 uspace/drv/audio/sb16/dsp.c dsp->buffer.size = 0;
size 65 uspace/drv/audio/sb16/dsp.h size_t size;
size 82 uspace/drv/audio/sb16/dsp.h errno_t sb_dsp_get_buffer_position(sb_dsp_t *dsp, size_t *size);
size 85 uspace/drv/audio/sb16/dsp.h errno_t sb_dsp_get_buffer(sb_dsp_t *dsp, void **buffer, size_t *size);
size 236 uspace/drv/audio/sb16/main.c (hw_res.io_ranges.ranges[0].size >= sizeof(sb16_regs_t)) ?
size 66 uspace/drv/audio/sb16/pcm_iface.c static errno_t sb_get_buffer(ddf_fun_t *fun, void **buffer, size_t *size)
size 68 uspace/drv/audio/sb16/pcm_iface.c return sb_dsp_get_buffer(fun_to_dsp(fun), buffer, size);
size 71 uspace/drv/audio/sb16/pcm_iface.c static errno_t sb_get_buffer_position(ddf_fun_t *fun, size_t *size)
size 73 uspace/drv/audio/sb16/pcm_iface.c return sb_dsp_get_buffer_position(fun_to_dsp(fun), size);
size 93 uspace/drv/audio/sb16/sb16.c ranges[0].size = sizeof(*registers);
size 845 uspace/drv/block/ahci/ahci.c .size = 0,
size 927 uspace/drv/block/ahci/ahci.c size_t size = 4096;
size 944 uspace/drv/block/ahci/ahci.c errno_t rc = dmamem_map_anonymous(size, DMAMEM_4GiB,
size 949 uspace/drv/block/ahci/ahci.c memset(virt_fb, 0, size);
size 954 uspace/drv/block/ahci/ahci.c rc = dmamem_map_anonymous(size, DMAMEM_4GiB,
size 959 uspace/drv/block/ahci/ahci.c memset(virt_cmd, 0, size);
size 965 uspace/drv/block/ahci/ahci.c rc = dmamem_map_anonymous(size, DMAMEM_4GiB,
size 970 uspace/drv/block/ahci/ahci.c memset(virt_table, 0, size);
size 978 uspace/drv/block/ahci/ahci.c dmamem_unmap(virt_cmd, size);
size 980 uspace/drv/block/ahci/ahci.c dmamem_unmap(virt_fb, size);
size 1156 uspace/drv/block/ahci/ahci.c ahci_ranges[0].size = sizeof(ahci_memregs_t);
size 93 uspace/drv/block/ddisk/ddisk.c ioport32_t size;
size 102 uspace/drv/block/ddisk/ddisk.c ssize_t size;
size 139 uspace/drv/block/ddisk/ddisk.c .size = sizeof(ddisk_regs_t)
size 242 uspace/drv/block/ddisk/ddisk.c void *buf, size_t size, bool is_read)
size 248 uspace/drv/block/ddisk/ddisk.c if (size < cnt * DDISK_BLOCK_SIZE)
size 262 uspace/drv/block/ddisk/ddisk.c size_t size)
size 264 uspace/drv/block/ddisk/ddisk.c return ddisk_bd_rw_blocks(bd, ba, cnt, buf, size, true);
size 268 uspace/drv/block/ddisk/ddisk.c const void *buf, size_t size)
size 270 uspace/drv/block/ddisk/ddisk.c return ddisk_bd_rw_blocks(bd, ba, cnt, (void *) buf, size, false);
size 477 uspace/drv/block/ddisk/ddisk.c ddisk->size = (int32_t) pio_read_32(&ddisk->ddisk_regs->size);
size 478 uspace/drv/block/ddisk/ddisk.c ddisk->blocks = ddisk->size / DDISK_BLOCK_SIZE;
size 480 uspace/drv/block/ddisk/ddisk.c if (ddisk->size <= 0) {
size 531 uspace/drv/block/ddisk/ddisk.c ddisk->size, ddisk->ddisk_res.irq);
size 79 uspace/drv/block/isa-ide/isa-ide.c .size = sizeof(ata_cmd_t)
size 100 uspace/drv/block/pc-floppy/pc-floppy.c .size = sizeof(pc_fdc_regs_t)
size 988 uspace/drv/block/pc-floppy/pc-floppy.c void *buf, size_t size)
size 996 uspace/drv/block/pc-floppy/pc-floppy.c if (size < cnt * drive->sec_size) {
size 1030 uspace/drv/block/pc-floppy/pc-floppy.c static errno_t pc_fdc_bd_read_toc(bd_srv_t *bd, uint8_t session, void *buf, size_t size)
size 1046 uspace/drv/block/pc-floppy/pc-floppy.c const void *buf, size_t size)
size 1054 uspace/drv/block/pc-floppy/pc-floppy.c if (size < cnt * drive->sec_size) {
size 82 uspace/drv/block/pci-ide/pci-ide.c .size = sizeof(ata_cmd_t)
size 86 uspace/drv/block/pci-ide/pci-ide.c .size = sizeof(pci_ide_regs_t)
size 350 uspace/drv/block/usbmast/main.c size_t size)
size 354 uspace/drv/block/usbmast/main.c if (size < cnt * mfun->block_size)
size 370 uspace/drv/block/usbmast/main.c const void *buf, size_t size)
size 374 uspace/drv/block/usbmast/main.c if (size < cnt * mfun->block_size)
size 235 uspace/drv/block/usbmast/scsi_ms.c errno_t usbmast_request_sense(usbmast_fun_t *mfun, void *buf, size_t size)
size 243 uspace/drv/block/usbmast/scsi_ms.c cdb.alloc_len = min(size, SCSI_SENSE_DATA_MAX_SIZE);
size 249 uspace/drv/block/usbmast/scsi_ms.c cmd.data_in_size = size;
size 124 uspace/drv/block/virtio-blk/virtio-blk.c .size = sizeof(vdev->isr_phys),
size 262 uspace/drv/block/virtio-blk/virtio-blk.c void *buf, size_t size, bool read)
size 268 uspace/drv/block/virtio-blk/virtio-blk.c if (size != cnt * VIRTIO_BLK_BLOCK_SIZE)
size 282 uspace/drv/block/virtio-blk/virtio-blk.c void *buf, size_t size)
size 284 uspace/drv/block/virtio-blk/virtio-blk.c return virtio_blk_bd_rw_blocks(bd, ba, cnt, buf, size, true);
size 288 uspace/drv/block/virtio-blk/virtio-blk.c const void *buf, size_t size)
size 290 uspace/drv/block/virtio-blk/virtio-blk.c return virtio_blk_bd_rw_blocks(bd, ba, cnt, (void *) buf, size, false);
size 293 uspace/drv/block/virtio-blk/virtio-blk.c static errno_t virtio_blk_bd_get_block_size(bd_srv_t *bd, size_t *size)
size 295 uspace/drv/block/virtio-blk/virtio-blk.c *size = VIRTIO_BLK_BLOCK_SIZE;
size 76 uspace/drv/bus/adb/cuda_adb/cuda_adb.c .size = sizeof(cuda_regs_t)
size 440 uspace/drv/bus/adb/cuda_adb/cuda_adb.c static void adb_packet_handle(cuda_t *cuda, uint8_t *data, size_t size,
size 452 uspace/drv/bus/adb/cuda_adb/cuda_adb.c if (size != 3) {
size 453 uspace/drv/bus/adb/cuda_adb/cuda_adb.c ddf_msg(LVL_WARN, "Unrecognized packet, size=%zu", size);
size 454 uspace/drv/bus/adb/cuda_adb/cuda_adb.c for (i = 0; i < size; ++i) {
size 461 uspace/drv/bus/adb/cuda_adb/cuda_adb.c ddf_msg(LVL_WARN, "Unrecognized packet, size=%zu", size);
size 462 uspace/drv/bus/adb/cuda_adb/cuda_adb.c for (i = 0; i < size; ++i) {
size 341 uspace/drv/bus/isa/i8237.c errno_t dma_channel_setup(unsigned int channel, uint32_t pa, uint32_t size,
size 359 uspace/drv/bus/isa/i8237.c if ((pa & 0xffff0000) != ((pa + size - 1) & 0xffff0000))
size 374 uspace/drv/bus/isa/i8237.c pa, size);
size 377 uspace/drv/bus/isa/i8237.c if ((size & 1) != 0) {
size 382 uspace/drv/bus/isa/i8237.c size >>= 1;
size 390 uspace/drv/bus/isa/i8237.c "(size %" PRIu32 "), mode %hhx.", channel, pa, size, mode);
size 428 uspace/drv/bus/isa/i8237.c value = (size - 1) & 0xff;
size 434 uspace/drv/bus/isa/i8237.c value = ((size - 1) >> 8) & 0xff;
size 456 uspace/drv/bus/isa/i8237.c errno_t dma_channel_remain(unsigned channel, size_t *size)
size 458 uspace/drv/bus/isa/i8237.c assert(size);
size 494 uspace/drv/bus/isa/i8237.c *size = is_dma16(channel) ? remain + 2 : remain + 1;
size 164 uspace/drv/bus/isa/isa.c unsigned int channel, uint32_t pa, uint32_t size, uint8_t mode)
size 178 uspace/drv/bus/isa/isa.c return dma_channel_setup(channel, pa, size, mode);
size 186 uspace/drv/bus/isa/isa.c unsigned channel, size_t *size)
size 188 uspace/drv/bus/isa/isa.c assert(size);
size 201 uspace/drv/bus/isa/isa.c return dma_channel_remain(channel, size);
size 313 uspace/drv/bus/isa/isa.c len = st.size;
size 461 uspace/drv/bus/isa/isa.c resources[count].res.io_range.size = len;
size 484 uspace/drv/bus/isa/isa.c resources[count].res.mem_range.size = len;
size 567 uspace/drv/bus/isa/isa.c size_t size = end - val + 1;
size 568 uspace/drv/bus/isa/isa.c *id = (char *)malloc(size);
size 569 uspace/drv/bus/isa/isa.c str_cpy(*id, size, val);
size 92 uspace/drv/bus/pci/pciintel/ctl.c size_t size;
size 97 uspace/drv/bus/pci/pciintel/ctl.c if (!async_data_read_receive(&call, &size)) {
size 103 uspace/drv/bus/pci/pciintel/ctl.c if ((size % sizeof(devman_handle_t)) != 0) {
size 109 uspace/drv/bus/pci/pciintel/ctl.c buf = malloc(max(1, size));
size 116 uspace/drv/bus/pci/pciintel/ctl.c rc = pci_ctl_get_devices(bus, buf, size, &act_size);
size 124 uspace/drv/bus/pci/pciintel/ctl.c errno_t retval = async_data_read_finalize(&call, buf, size);
size 169 uspace/drv/bus/pci/pciintel/ctl.c size_t size;
size 170 uspace/drv/bus/pci/pciintel/ctl.c if (!async_data_read_receive(&call, &size)) {
size 176 uspace/drv/bus/pci/pciintel/ctl.c if (size != sizeof(pci_dev_info_t)) {
size 183 uspace/drv/bus/pci/pciintel/ctl.c min(size, sizeof(info)));
size 199 uspace/drv/bus/pci/pciintel/ctl.c size_t size, size_t *act_size)
size 205 uspace/drv/bus/pci/pciintel/ctl.c bus, id_buf, size, act_size);
size 210 uspace/drv/bus/pci/pciintel/ctl.c if (sizeof(devman_handle_t) * cnt < size)
size 497 uspace/drv/bus/pci/pciintel/pci.c hw_resources[count].res.io_range.size = range_size;
size 503 uspace/drv/bus/pci/pciintel/pci.c hw_resources[count].res.mem_range.size = range_size;
size 802 uspace/drv/bus/pci/pciintel/pci.c assert(hw_resources.resources[0].res.io_range.size >= 4);
size 805 uspace/drv/bus/pci/pciintel/pci.c assert(hw_resources.resources[1].res.io_range.size >= 4);
size 977 uspace/drv/bus/pci/pciintel/pci.c size_t size = mask & ~(mask - 1);
size 978 uspace/drv/bus/pci/pciintel/pci.c return size;
size 107 uspace/drv/bus/usb/ehci/ehci_batch.c const size_t size = ehci_batch->base.size;
size 113 uspace/drv/bus/usb/ehci/ehci_batch.c ehci_batch->td_count = (size + EHCI_TD_MAX_TRANSFER - 1) /
size 187 uspace/drv/bus/usb/ehci/ehci_batch.c ehci_batch->base.transferred_size = ehci_batch->base.size;
size 224 uspace/drv/bus/usb/ehci/ehci_batch.c assert(ehci_batch->base.transferred_size <= ehci_batch->base.size);
size 289 uspace/drv/bus/usb/ehci/ehci_batch.c size_t remain_size = ehci_batch->base.size;
size 343 uspace/drv/bus/usb/ehci/ehci_batch.c size_t remain_size = ehci_batch->base.size;
size 152 uspace/drv/bus/usb/ehci/ehci_rh.c batch->dma_buffer.virt, batch->size,
size 211 uspace/drv/bus/usb/ehci/ehci_rh.c batch->dma_buffer.virt, batch->size,
size 219 uspace/drv/bus/usb/ehci/ehci_rh.c #define TEST_SIZE_INIT(size, port, hub) \
size 223 uspace/drv/bus/usb/ehci/ehci_rh.c if (uint16_usb2host(setup_packet->length) != size) \
size 61 uspace/drv/bus/usb/ehci/hc.c .size = sizeof(ehci_regs_t)
size 159 uspace/drv/bus/usb/ehci/hc.c hw_res->mem_ranges.ranges[0].size <
size 173 uspace/drv/bus/usb/ehci/hc.c hw_res->mem_ranges.ranges[0].size);
size 84 uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.c usb_direction_t direction, size_t size, int toggle, bool ioc)
size 89 uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.c assert((size & TD_STATUS_TOTAL_MASK) == size);
size 92 uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.c ((size & TD_STATUS_TOTAL_MASK) << TD_STATUS_TOTAL_SHIFT) |
size 101 uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.c assert(size != 0);
size 103 uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.c size; ++i) {
size 106 uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.c const size_t this_size = min(size, 4096 - offset);
size 108 uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.c size -= this_size;
size 62 uspace/drv/bus/usb/ohci/hc.c .size = sizeof(ohci_regs_t)
size 159 uspace/drv/bus/usb/ohci/hc.c hw_res->mem_ranges.ranges[0].size < sizeof(ohci_regs_t))
size 171 uspace/drv/bus/usb/ohci/hc.c hw_res->mem_ranges.ranges[0].size);
size 64 uspace/drv/bus/usb/ohci/hw_struct/transfer_descriptor.c usb_direction_t direction, const void *buffer, size_t size, int toggle)
size 85 uspace/drv/bus/usb/ohci/hw_struct/transfer_descriptor.c assert(size != 0);
size 87 uspace/drv/bus/usb/ohci/hw_struct/transfer_descriptor.c OHCI_MEM32_WR(instance->be, addr_to_phys(buffer + size - 1));
size 99 uspace/drv/bus/usb/ohci/ohci_batch.c ohci_batch->td_count = (usb_batch->size + OHCI_TD_MAX_TRANSFER - 1) /
size 171 uspace/drv/bus/usb/ohci/ohci_batch.c usb_batch->transferred_size = usb_batch->size;
size 219 uspace/drv/bus/usb/ohci/ohci_batch.c assert(usb_batch->transferred_size <= usb_batch->size);
size 296 uspace/drv/bus/usb/ohci/ohci_batch.c size_t remain_size = ohci_batch->base.size;
size 350 uspace/drv/bus/usb/ohci/ohci_batch.c size_t remain_size = ohci_batch->base.size;
size 185 uspace/drv/bus/usb/ohci/ohci_rh.c batch->dma_buffer.virt, batch->size, &batch->transferred_size);
size 236 uspace/drv/bus/usb/ohci/ohci_rh.c batch->dma_buffer.virt, batch->size, &batch->transferred_size);
size 243 uspace/drv/bus/usb/ohci/ohci_rh.c #define TEST_SIZE_INIT(size, port, hub) \
size 247 uspace/drv/bus/usb/ohci/ohci_rh.c if (uint16_usb2host(setup_packet->length) != size) \
size 69 uspace/drv/bus/usb/uhci/hc.c .size = sizeof(uhci_regs_t)
size 215 uspace/drv/bus/usb/uhci/hc.c hw_res->io_ranges.ranges[0].size < sizeof(uhci_regs_t))
size 231 uspace/drv/bus/usb/uhci/hc.c hw_res->io_ranges.ranges[0].size);
size 68 uspace/drv/bus/usb/uhci/hw_struct/transfer_descriptor.c void td_init(td_t *instance, int err_count, size_t size, bool toggle, bool iso,
size 73 uspace/drv/bus/usb/uhci/hw_struct/transfer_descriptor.c assert(size < 1024);
size 96 uspace/drv/bus/usb/uhci/hw_struct/transfer_descriptor.c (((size - 1) & TD_DEVICE_MAXLEN_MASK) << TD_DEVICE_MAXLEN_POS) |
size 100 uspace/drv/bus/usb/uhci/hw_struct/transfer_descriptor.h void td_init(td_t *instance, int error_count, size_t size, bool toggle,
size 102 uspace/drv/bus/usb/uhci/uhci_batch.c uhci_batch->td_count = (usb_batch->size + usb_batch->ep->max_packet_size - 1) /
size 194 uspace/drv/bus/usb/uhci/uhci_batch.c assert(batch->transferred_size <= batch->size);
size 231 uspace/drv/bus/usb/uhci/uhci_batch.c size_t remain_size = uhci_batch->base.size;
size 300 uspace/drv/bus/usb/uhci/uhci_batch.c size_t remain_size = uhci_batch->base.size;
size 110 uspace/drv/bus/usb/uhci/uhci_rh.c batch->dma_buffer.virt, batch->size, &batch->transferred_size);
size 167 uspace/drv/bus/usb/uhci/uhci_rh.c #define TEST_SIZE_INIT(size, port, hub) \
size 169 uspace/drv/bus/usb/uhci/uhci_rh.c if (uint16_usb2host(setup_packet->length) != size) \
size 54 uspace/drv/bus/usb/usbdiag/tests.c size_t size = params->transfer_size;
size 55 uspace/drv/bus/usb/usbdiag/tests.c if (!size)
size 56 uspace/drv/bus/usb/usbdiag/tests.c size = pipe->desc.max_transfer_size;
size 59 uspace/drv/bus/usb/usbdiag/tests.c if (validate && size % sizeof(test_data))
size 62 uspace/drv/bus/usb/usbdiag/tests.c size_t test_data_size = size / sizeof(test_data);
size 63 uspace/drv/bus/usb/usbdiag/tests.c char *buffer = usb_pipe_alloc_buffer(pipe, size);
size 85 uspace/drv/bus/usb/usbdiag/tests.c size_t remaining = size;
size 89 uspace/drv/bus/usb/usbdiag/tests.c if ((rc = usb_pipe_read_dma(pipe, buffer, buffer + size - remaining, remaining, &transferred))) {
size 133 uspace/drv/bus/usb/usbdiag/tests.c results->transfer_size = size;
size 146 uspace/drv/bus/usb/usbdiag/tests.c size_t size = params->transfer_size;
size 147 uspace/drv/bus/usb/usbdiag/tests.c if (!size)
size 148 uspace/drv/bus/usb/usbdiag/tests.c size = pipe->desc.max_transfer_size;
size 152 uspace/drv/bus/usb/usbdiag/tests.c if (validate && size % sizeof(test_data))
size 155 uspace/drv/bus/usb/usbdiag/tests.c char *buffer = usb_pipe_alloc_buffer(pipe, size);
size 160 uspace/drv/bus/usb/usbdiag/tests.c for (size_t i = 0; i < size; i += sizeof(test_data)) {
size 183 uspace/drv/bus/usb/usbdiag/tests.c if ((rc = usb_pipe_write_dma(pipe, buffer, buffer, size))) {
size 198 uspace/drv/bus/usb/usbdiag/tests.c results->transfer_size = size;
size 108 uspace/drv/bus/usb/usbmid/dump.c .size = length,
size 76 uspace/drv/bus/usb/usbmid/explore.c .size = config_descriptor_size,
size 75 uspace/drv/bus/usb/vhc/transfer.c batch->dma_buffer.virt, batch->size,
size 81 uspace/drv/bus/usb/vhc/transfer.c batch->dma_buffer.virt, batch->size);
size 87 uspace/drv/bus/usb/vhc/transfer.c batch->dma_buffer.virt, batch->size,
size 93 uspace/drv/bus/usb/vhc/transfer.c batch->dma_buffer.virt, batch->size);
size 111 uspace/drv/bus/usb/vhc/transfer.c batch->dma_buffer.virt, batch->size,
size 117 uspace/drv/bus/usb/vhc/transfer.c batch->dma_buffer.virt, batch->size);
size 123 uspace/drv/bus/usb/vhc/transfer.c batch->dma_buffer.virt, batch->size,
size 129 uspace/drv/bus/usb/vhc/transfer.c batch->dma_buffer.virt, batch->size);
size 46 uspace/drv/bus/usb/xhci/debug.c #define DUMP_REG_FIELD(ptr, title, size, ...) \
size 47 uspace/drv/bus/usb/xhci/debug.c usb_log_debug(PX "%" PRIu##size, title, XHCI_REG_RD_FIELD(ptr, size, ##__VA_ARGS__))
size 49 uspace/drv/bus/usb/xhci/debug.c #define DUMP_REG_RANGE(ptr, title, size, ...) \
size 50 uspace/drv/bus/usb/xhci/debug.c usb_log_debug(PX "%" PRIu##size, title, XHCI_REG_RD_RANGE(ptr, size, ##__VA_ARGS__))
size 52 uspace/drv/bus/usb/xhci/debug.c #define DUMP_REG_FLAG(ptr, title, size, ...) \
size 53 uspace/drv/bus/usb/xhci/debug.c usb_log_debug(PX "%s", title, XHCI_REG_RD_FLAG(ptr, size, ##__VA_ARGS__) ? "true" : "false")
size 55 uspace/drv/bus/usb/xhci/debug.c #define DUMP_REG_INNER(set, title, field, size, type, ...) \
size 56 uspace/drv/bus/usb/xhci/debug.c DUMP_REG_##type(&(set)->field, title, size, ##__VA_ARGS__)
size 386 uspace/drv/bus/usb/xhci/hc.c .size = RNGSZ(hc->mmio_range),
size 49 uspace/drv/bus/usb/xhci/hw_struct/common.h #define host2xhci(size, val) host2uint##size##_t_le((val))
size 50 uspace/drv/bus/usb/xhci/hw_struct/common.h #define xhci2host(size, val) uint##size##_t_le2host((val))
size 65 uspace/drv/bus/usb/xhci/hw_struct/regs.h #define XHCI_REG_RD_INNER(reg_set, field, size, type, ...) \
size 66 uspace/drv/bus/usb/xhci/hw_struct/regs.h XHCI_REG_RD_##type(&((reg_set)->field), size, ##__VA_ARGS__)
size 68 uspace/drv/bus/usb/xhci/hw_struct/regs.h #define XHCI_REG_WR_INNER(reg_set, value, field, size, type, ...) \
size 69 uspace/drv/bus/usb/xhci/hw_struct/regs.h XHCI_REG_WR_##type(&(reg_set)->field, value, size, ##__VA_ARGS__)
size 71 uspace/drv/bus/usb/xhci/hw_struct/regs.h #define XHCI_REG_SET_INNER(reg_set, value, field, size, type, ...) \
size 72 uspace/drv/bus/usb/xhci/hw_struct/regs.h XHCI_REG_SET_##type(&(reg_set)->field, value, size, ##__VA_ARGS__)
size 74 uspace/drv/bus/usb/xhci/hw_struct/regs.h #define XHCI_REG_CLR_INNER(reg_set, value, field, size, type, ...) \
size 75 uspace/drv/bus/usb/xhci/hw_struct/regs.h XHCI_REG_CLR_##type(&(reg_set)->field, value, size, ##__VA_ARGS__)
size 77 uspace/drv/bus/usb/xhci/hw_struct/regs.h #define XHCI_REG_MASK_INNER(field, size, type, ...) \
size 78 uspace/drv/bus/usb/xhci/hw_struct/regs.h XHCI_REG_MASK_##type(size, ##__VA_ARGS__)
size 80 uspace/drv/bus/usb/xhci/hw_struct/regs.h #define XHCI_REG_SHIFT_INNER(field, size, type, ...) \
size 81 uspace/drv/bus/usb/xhci/hw_struct/regs.h XHCI_REG_SHIFT_##type(size, ##__VA_ARGS__)
size 86 uspace/drv/bus/usb/xhci/hw_struct/regs.h #define XHCI_REG_RD_FIELD(ptr, size) \
size 87 uspace/drv/bus/usb/xhci/hw_struct/regs.h xhci2host(size, pio_read_##size((ptr)))
size 88 uspace/drv/bus/usb/xhci/hw_struct/regs.h #define XHCI_REG_WR_FIELD(ptr, value, size) \
size 89 uspace/drv/bus/usb/xhci/hw_struct/regs.h pio_write_##size((ptr), host2xhci(size, value))
size 90 uspace/drv/bus/usb/xhci/hw_struct/regs.h #define XHCI_REG_SET_FIELD(ptr, value, size) \
size 91 uspace/drv/bus/usb/xhci/hw_struct/regs.h pio_set_##size((ptr), host2xhci(size, value), XHCI_PIO_CHANGE_UDELAY);
size 92 uspace/drv/bus/usb/xhci/hw_struct/regs.h #define XHCI_REG_CLR_FIELD(ptr, value, size) \
size 93 uspace/drv/bus/usb/xhci/hw_struct/regs.h pio_clear_##size((ptr), host2xhci(size, value), XHCI_PIO_CHANGE_UDELAY);
size 94 uspace/drv/bus/usb/xhci/hw_struct/regs.h #define XHCI_REG_MASK_FIELD(size) (~((uint##size##_t) 0))
size 95 uspace/drv/bus/usb/xhci/hw_struct/regs.h #define XHCI_REG_SHIFT_FIELD(size) (0)
size 100 uspace/drv/bus/usb/xhci/hw_struct/regs.h #define XHCI_REG_RD_FLAG(ptr, size, offset) \
size 101 uspace/drv/bus/usb/xhci/hw_struct/regs.h XHCI_REG_RD_RANGE((ptr), size, (offset), (offset))
size 102 uspace/drv/bus/usb/xhci/hw_struct/regs.h #define XHCI_REG_WR_FLAG(ptr, value, size, offset) \
size 103 uspace/drv/bus/usb/xhci/hw_struct/regs.h XHCI_REG_WR_RANGE((ptr), (value), size, (offset), (offset))
size 104 uspace/drv/bus/usb/xhci/hw_struct/regs.h #define XHCI_REG_SET_FLAG(ptr, value, size, offset) \
size 105 uspace/drv/bus/usb/xhci/hw_struct/regs.h XHCI_REG_SET_RANGE((ptr), (value), size, (offset), (offset))
size 106 uspace/drv/bus/usb/xhci/hw_struct/regs.h #define XHCI_REG_CLR_FLAG(ptr, value, size, offset) \
size 107 uspace/drv/bus/usb/xhci/hw_struct/regs.h XHCI_REG_CLR_RANGE((ptr), (value), size, (offset), (offset))
size 108 uspace/drv/bus/usb/xhci/hw_struct/regs.h #define XHCI_REG_MASK_FLAG(size, offset) BIT_V(uint##size##_t, offset)
size 109 uspace/drv/bus/usb/xhci/hw_struct/regs.h #define XHCI_REG_SHIFT_FLAG(size, offset) (offset)
size 114 uspace/drv/bus/usb/xhci/hw_struct/regs.h #define XHCI_REG_RD_RANGE(ptr, size, hi, lo) \
size 115 uspace/drv/bus/usb/xhci/hw_struct/regs.h BIT_RANGE_EXTRACT(uint##size##_t, (hi), (lo), XHCI_REG_RD_FIELD((ptr), size))
size 117 uspace/drv/bus/usb/xhci/hw_struct/regs.h #define XHCI_REG_WR_RANGE(ptr, value, size, hi, lo) \
size 118 uspace/drv/bus/usb/xhci/hw_struct/regs.h pio_change_##size((ptr), host2xhci(size, BIT_RANGE_INSERT(uint##size##_t, \
size 120 uspace/drv/bus/usb/xhci/hw_struct/regs.h host2xhci(size, BIT_RANGE(uint##size##_t, (hi), (lo))), \
size 123 uspace/drv/bus/usb/xhci/hw_struct/regs.h #define XHCI_REG_SET_RANGE(ptr, value, size, hi, lo) \
size 124 uspace/drv/bus/usb/xhci/hw_struct/regs.h pio_set_##size((ptr), host2xhci(size, BIT_RANGE_INSERT(uint##size##_t, \
size 128 uspace/drv/bus/usb/xhci/hw_struct/regs.h #define XHCI_REG_CLR_RANGE(ptr, value, size, hi, lo) \
size 129 uspace/drv/bus/usb/xhci/hw_struct/regs.h pio_clear_##size((ptr), host2xhci(size, BIT_RANGE_INSERT(uint##size##_t, \
size 133 uspace/drv/bus/usb/xhci/hw_struct/regs.h #define XHCI_REG_MASK_RANGE(size, hi, lo) BIT_RANGE(uint##size##_t, hi, lo)
size 134 uspace/drv/bus/usb/xhci/hw_struct/regs.h #define XHCI_REG_SHIFT_RANGE(size, hi, lo) (lo)
size 586 uspace/drv/bus/usb/xhci/hw_struct/regs.h ioport8_t size; /**< Next Capability Pointer */
size 215 uspace/drv/bus/usb/xhci/hw_struct/trb.h xhci_dword_t size; /* only low 16 bits, the rest is RsvdZ */
size 223 uspace/drv/bus/usb/xhci/hw_struct/trb.h xhci_dword_set_bits(&entry->size, segments, 16, 0);
size 182 uspace/drv/bus/usb/xhci/isoch.c TRB_CTRL_SET_XFER_LEN(trb, it->size);
size 188 uspace/drv/bus/usb/xhci/isoch.c size_t tdpc = it->size / 1024 + ((it->size % 1024) ? 1 : 0);
size 355 uspace/drv/bus/usb/xhci/isoch.c it->size = 0;
size 406 uspace/drv/bus/usb/xhci/isoch.c it->size = ep->base.max_transfer_size;
size 486 uspace/drv/bus/usb/xhci/isoch.c assert(transfer->batch.size <= ep->base.max_transfer_size);
size 509 uspace/drv/bus/usb/xhci/isoch.c transfer->batch.transferred_size += res->size;
size 526 uspace/drv/bus/usb/xhci/isoch.c it->size = transfer->batch.size;
size 527 uspace/drv/bus/usb/xhci/isoch.c memcpy(it->data.virt, transfer->batch.dma_buffer.virt, it->size);
size 549 uspace/drv/bus/usb/xhci/isoch.c if (transfer->batch.size < ep->base.max_transfer_size) {
size 576 uspace/drv/bus/usb/xhci/isoch.c memcpy(transfer->batch.dma_buffer.virt, it->data.virt, it->size);
size 577 uspace/drv/bus/usb/xhci/isoch.c transfer->batch.transferred_size = it->size;
size 643 uspace/drv/bus/usb/xhci/isoch.c it->size -= TRB_TRANSFER_LENGTH(*trb);
size 58 uspace/drv/bus/usb/xhci/isoch.h size_t size;
size 67 uspace/drv/bus/usb/xhci/scratchpad.c const size_t size = array_size + num_bufs * PAGE_SIZE;
size 69 uspace/drv/bus/usb/xhci/scratchpad.c if (dma_buffer_alloc(&hc->scratchpad_array, size))
size 72 uspace/drv/bus/usb/xhci/scratchpad.c memset(hc->scratchpad_array.virt, 0, size);
size 142 uspace/drv/bus/usb/xhci/transfers.c ts->remaining = transfer->batch.size;
size 155 uspace/drv/bus/usb/xhci/transfers.c size_t size = min(ts->remaining, ts->chunk_size);
size 160 uspace/drv/bus/usb/xhci/transfers.c size = min(size, ts->chunk_size - offset);
size 163 uspace/drv/bus/usb/xhci/transfers.c ts->transferred += size;
size 164 uspace/drv/bus/usb/xhci/transfers.c ts->remaining -= size;
size 176 uspace/drv/bus/usb/xhci/transfers.c TRB_CTRL_SET_XFER_LEN(*trb, size);
size 182 uspace/drv/bus/usb/xhci/transfers.c ts->pos += size;
size 357 uspace/drv/bus/usb/xhci/transfers.c batch->transferred_size = batch->size - TRB_TRANSFER_LENGTH(*trb);
size 401 uspace/drv/bus/usb/xhci/transfers.c assert(batch->transferred_size <= batch->size);
size 444 uspace/drv/bus/usb/xhci/trb_ring.c void xhci_sw_ring_init(xhci_sw_ring_t *ring, size_t size)
size 446 uspace/drv/bus/usb/xhci/trb_ring.c ring->begin = calloc(size, sizeof(xhci_trb_t));
size 447 uspace/drv/bus/usb/xhci/trb_ring.c ring->end = ring->begin + size;
size 81 uspace/drv/char/i8042/i8042.c .size = sizeof(i8042_regs_t)
size 181 uspace/drv/char/i8042/i8042.c if (regs->size < sizeof(i8042_regs_t)) {
size 358 uspace/drv/char/i8042/i8042.c static errno_t i8042_write(chardev_srv_t *srv, const void *data, size_t size,
size 367 uspace/drv/char/i8042/i8042.c for (size_t i = 0; i < size; ++i) {
size 379 uspace/drv/char/i8042/i8042.c *nwr = size;
size 393 uspace/drv/char/i8042/i8042.c static errno_t i8042_read(chardev_srv_t *srv, void *dest, size_t size,
size 408 uspace/drv/char/i8042/i8042.c while (p < size) {
size 120 uspace/drv/char/msim-con/msim-con.c con->irq_range[0].size = 1;
size 187 uspace/drv/char/msim-con/msim-con.c static errno_t msim_con_read(chardev_srv_t *srv, void *buf, size_t size,
size 202 uspace/drv/char/msim-con/msim-con.c while (p < size) {
size 216 uspace/drv/char/msim-con/msim-con.c static errno_t msim_con_write(chardev_srv_t *srv, const void *data, size_t size,
size 223 uspace/drv/char/msim-con/msim-con.c for (i = 0; i < size; i++)
size 226 uspace/drv/char/msim-con/msim-con.c *nwr = size;
size 445 uspace/drv/char/ns8250/ns8250.c if (res->res.io_range.size < REG_COUNT) {
size 116 uspace/drv/char/pc-lpt/pc-lpt.c lpt->irq_range[0].size = 1;
size 226 uspace/drv/char/pc-lpt/pc-lpt.c static errno_t pc_lpt_read(chardev_srv_t *srv, void *buf, size_t size,
size 235 uspace/drv/char/pc-lpt/pc-lpt.c static errno_t pc_lpt_write(chardev_srv_t *srv, const void *data, size_t size,
size 244 uspace/drv/char/pc-lpt/pc-lpt.c for (i = 0; i < size; i++)
size 249 uspace/drv/char/pc-lpt/pc-lpt.c *nwr = size;
size 157 uspace/drv/char/pl011/pl011.c .size = sizeof(pl011_uart_regs_t)
size 329 uspace/drv/char/pl011/pl011.c static errno_t pl011_read(chardev_srv_t *srv, void *buf, size_t size,
size 344 uspace/drv/char/pl011/pl011.c while (p < size) {
size 358 uspace/drv/char/pl011/pl011.c static errno_t pl011_write(chardev_srv_t *srv, const void *data, size_t size,
size 365 uspace/drv/char/pl011/pl011.c for (i = 0; i < size; i++)
size 368 uspace/drv/char/pl011/pl011.c *nwr = size;
size 102 uspace/drv/char/pl050/pl050.c .size = 9,
size 250 uspace/drv/char/pl050/pl050.c static errno_t pl050_read(chardev_srv_t *srv, void *buffer, size_t size,
size 259 uspace/drv/char/pl050/pl050.c left = size;
size 262 uspace/drv/char/pl050/pl050.c left == size && pl050->buf_rp == pl050->buf_wp)
size 273 uspace/drv/char/pl050/pl050.c *nread = size - left;
size 277 uspace/drv/char/pl050/pl050.c static errno_t pl050_write(chardev_srv_t *srv, const void *data, size_t size,
size 285 uspace/drv/char/pl050/pl050.c ddf_msg(LVL_NOTE, "%s/pl050_write(%zu bytes)", pl050->name, size);
size 286 uspace/drv/char/pl050/pl050.c for (i = 0; i < size; i++) {
size 296 uspace/drv/char/pl050/pl050.c *nwritten = size;
size 262 uspace/drv/char/ski-con/ski-con.c static errno_t ski_con_read(chardev_srv_t *srv, void *buf, size_t size,
size 277 uspace/drv/char/ski-con/ski-con.c while (p < size) {
size 291 uspace/drv/char/ski-con/ski-con.c static errno_t ski_con_write(chardev_srv_t *srv, const void *data, size_t size,
size 299 uspace/drv/char/ski-con/ski-con.c for (i = 0; i < size; i++) {
size 304 uspace/drv/char/ski-con/ski-con.c *nwr = size;
size 156 uspace/drv/char/sun4v-con/sun4v-con.c static errno_t sun4v_con_read(chardev_srv_t *srv, void *buf, size_t size,
size 169 uspace/drv/char/sun4v-con/sun4v-con.c while (p < size && con->input_buffer->read_ptr != con->input_buffer->write_ptr) {
size 181 uspace/drv/char/sun4v-con/sun4v-con.c static errno_t sun4v_con_write(chardev_srv_t *srv, const void *data, size_t size,
size 188 uspace/drv/char/sun4v-con/sun4v-con.c for (i = 0; i < size; i++)
size 191 uspace/drv/char/sun4v-con/sun4v-con.c *nwr = size;
size 118 uspace/drv/fb/amdm37x_dispc/amdm37x_dispc.c instance->size = 0;
size 233 uspace/drv/fb/amdm37x_dispc/amdm37x_dispc.c regs->gfx.size = size_reg;
size 272 uspace/drv/fb/amdm37x_dispc/amdm37x_dispc.c const size_t size = ALIGN_UP(x * y * bpp, PAGE_SIZE);
size 275 uspace/drv/fb/amdm37x_dispc/amdm37x_dispc.c errno_t ret = dmamem_map_anonymous(size, DMAMEM_4GiB,
size 296 uspace/drv/fb/amdm37x_dispc/amdm37x_dispc.c dispc->size = size;
size 66 uspace/drv/fb/amdm37x_dispc/amdm37x_dispc.h size_t size;
size 207 uspace/drv/fb/amdm37x_dispc/amdm37x_dispc_regs.h ioport32_t size;
size 249 uspace/drv/fb/amdm37x_dispc/amdm37x_dispc_regs.h ioport32_t size;
size 81 uspace/drv/fb/kfb/port.c size_t size;
size 415 uspace/drv/fb/kfb/port.c ALIGN_UP(kfb->size, PAGE_SIZE) >> PAGE_WIDTH,
size 597 uspace/drv/fb/kfb/port.c kfb->size = scanline * height;
size 63 uspace/drv/hid/usbhid/generic/hiddev.c size_t size, size_t *act_size, int *event_nr, unsigned int flags);
size 67 uspace/drv/hid/usbhid/generic/hiddev.c size_t size, size_t *actual_size);
size 105 uspace/drv/hid/usbhid/generic/hiddev.c size_t size, size_t *act_size, int *event_nr, unsigned int flags)
size 116 uspace/drv/hid/usbhid/generic/hiddev.c if (hid_dev->input_report_size > size) {
size 118 uspace/drv/hid/usbhid/generic/hiddev.c hid_dev->input_report_size, size);
size 146 uspace/drv/hid/usbhid/generic/hiddev.c size_t size, size_t *actual_size)
size 152 uspace/drv/hid/usbhid/generic/hiddev.c if (hid_dev->report_desc_size > size) {
size 305 uspace/drv/hid/usbhid/usbhid.c const size_t size =
size 308 uspace/drv/hid/usbhid/usbhid.c usb_log_debug("Report ID: %u, size: %zu", report_id, size);
size 309 uspace/drv/hid/usbhid/usbhid.c max_size = (size > max_size) ? size : max_size;
size 487 uspace/drv/nic/ar9271/hw.c size_t size = ARRAY_SIZE(ar9271_2g_mode_array);
size 489 uspace/drv/nic/ar9271/hw.c for (size_t i = 0; i < size; i++) {
size 495 uspace/drv/nic/ar9271/hw.c size = ARRAY_SIZE(ar9271_2g_tx_array);
size 497 uspace/drv/nic/ar9271/hw.c for (size_t i = 0; i < size; i++) {
size 503 uspace/drv/nic/ar9271/hw.c size = ARRAY_SIZE(ar9271_init_array);
size 505 uspace/drv/nic/ar9271/hw.c for (size_t i = 0; i < size; i++) {
size 243 uspace/drv/nic/e1k/e1k.c .size = PAGE_SIZE, /* XXX */
size 2339 uspace/drv/nic/e1k/e1k.c static void e1000_send_frame(nic_t *nic, void *data, size_t size)
size 2366 uspace/drv/nic/e1k/e1k.c memcpy(e1000->tx_frame_virt[tdt], data, size);
size 2369 uspace/drv/nic/e1k/e1k.c tx_descriptor_addr->length = size;
size 94 uspace/drv/nic/ne2k/dp8390.c static void pio_read_buf_16(void *port, void *buf, size_t size)
size 98 uspace/drv/nic/ne2k/dp8390.c for (i = 0; (i << 1) < size; i++)
size 109 uspace/drv/nic/ne2k/dp8390.c static void pio_write_buf_16(void *port, void *buf, size_t size)
size 113 uspace/drv/nic/ne2k/dp8390.c for (i = 0; (i << 1) < size; i++)
size 117 uspace/drv/nic/ne2k/dp8390.c static void ne2k_download(ne2k_t *ne2k, void *buf, size_t addr, size_t size)
size 119 uspace/drv/nic/ne2k/dp8390.c size_t esize = size & ~1;
size 129 uspace/drv/nic/ne2k/dp8390.c size -= esize;
size 133 uspace/drv/nic/ne2k/dp8390.c if (size) {
size 134 uspace/drv/nic/ne2k/dp8390.c assert(size == 1);
size 141 uspace/drv/nic/ne2k/dp8390.c static void ne2k_upload(ne2k_t *ne2k, void *buf, size_t addr, size_t size)
size 143 uspace/drv/nic/ne2k/dp8390.c size_t esize_ru = (size + 1) & ~1;
size 144 uspace/drv/nic/ne2k/dp8390.c size_t esize = size & ~1;
size 154 uspace/drv/nic/ne2k/dp8390.c size -= esize;
size 158 uspace/drv/nic/ne2k/dp8390.c if (size) {
size 159 uspace/drv/nic/ne2k/dp8390.c assert(size == 1);
size 409 uspace/drv/nic/ne2k/dp8390.c void ne2k_send(nic_t *nic_data, void *data, size_t size)
size 422 uspace/drv/nic/ne2k/dp8390.c if ((size < ETH_MIN_PACK_SIZE) || (size > ETH_MAX_PACK_SIZE_TAGGED)) {
size 428 uspace/drv/nic/ne2k/dp8390.c ne2k_upload(ne2k, data, ne2k->sq.page * DP_PAGE, size);
size 430 uspace/drv/nic/ne2k/dp8390.c ne2k->sq.size = size;
size 434 uspace/drv/nic/ne2k/dp8390.c pio_write_8(ne2k->port + DP_TBCR0, size & 0xff);
size 435 uspace/drv/nic/ne2k/dp8390.c pio_write_8(ne2k->port + DP_TBCR1, (size >> 8) & 0xff);
size 497 uspace/drv/nic/ne2k/dp8390.c size_t size = sizeof(header);
size 501 uspace/drv/nic/ne2k/dp8390.c pio_write_8(ne2k->port + DP_RBCR0, size & 0xff);
size 502 uspace/drv/nic/ne2k/dp8390.c pio_write_8(ne2k->port + DP_RBCR1, (size >> 8) & 0xff);
size 507 uspace/drv/nic/ne2k/dp8390.c pio_read_buf_16(ne2k->data_port, (void *) &header, size);
size 510 uspace/drv/nic/ne2k/dp8390.c (((size_t) header.rbcl) | (((size_t) header.rbch) << 8)) - size;
size 588 uspace/drv/nic/ne2k/dp8390.c ne2k->sq.size = 0;
size 244 uspace/drv/nic/ne2k/dp8390.h size_t size; /**< Packet size */
size 69 uspace/drv/nic/ne2k/ne2k.c .size = NE2K_IO_SIZE,
size 202 uspace/drv/nic/ne2k/ne2k.c if (hw_res_parsed.io_ranges.ranges[0].size < NE2K_IO_SIZE) {
size 355 uspace/drv/nic/rtl8139/driver.c static void rtl8139_send_frame(nic_t *nic_data, void *data, size_t size);
size 370 uspace/drv/nic/rtl8139/driver.c static void rtl8139_send_frame(nic_t *nic_data, void *data, size_t size)
size 378 uspace/drv/nic/rtl8139/driver.c if (size > RTL8139_FRAME_MAX_LENGTH) {
size 380 uspace/drv/nic/rtl8139/driver.c size);
size 385 uspace/drv/nic/rtl8139/driver.c assert((size & TSD_SIZE_MASK) == size);
size 411 uspace/drv/nic/rtl8139/driver.c memcpy(buf_addr, data, size);
size 415 uspace/drv/nic/rtl8139/driver.c tsd_value = rtl8139_tsd_set_size(tsd_value, size);
size 566 uspace/drv/nic/rtl8139/driver.c uint16_t size = frame_header >> 16;
size 567 uspace/drv/nic/rtl8139/driver.c uint16_t frame_size = size - RTL8139_CRC_SIZE;
size 571 uspace/drv/nic/rtl8139/driver.c if (size == RTL8139_EARLY_SIZE) {
size 578 uspace/drv/nic/rtl8139/driver.c if (size == 0 || size > RTL8139_FRAME_MAX_LENGTH) {
size 580 uspace/drv/nic/rtl8139/driver.c "header 0x%4" PRIx32 ". Offset: %" PRIu16 ")", size, frame_header,
size 584 uspace/drv/nic/rtl8139/driver.c if (size < RTL8139_RUNT_MAX_SIZE && !(rcs & RSR_RUNT)) {
size 585 uspace/drv/nic/rtl8139/driver.c ddf_msg(LVL_ERROR, "Receiver error -> receiver reset (%" PRIx16 ")", size);
size 589 uspace/drv/nic/rtl8139/driver.c cur_read += size + RTL_FRAME_HEADER_SIZE;
size 602 uspace/drv/nic/rtl8139/driver.c rx_offset = ALIGN_UP(rx_offset + size + RTL_FRAME_HEADER_SIZE, 4);
size 623 uspace/drv/nic/rtl8139/driver.c .size = RTL8139_IO_SIZE
size 697 uspace/drv/nic/rtl8139/driver.c size_t size = REG_GET_VAL(tsd_value, TSD_SIZE);
size 698 uspace/drv/nic/rtl8139/driver.c nic_report_send_ok(nic_data, 1, size);
size 1049 uspace/drv/nic/rtl8139/driver.c if (hw_resources->io_ranges.ranges[0].size < RTL8139_IO_SIZE) {
size 243 uspace/drv/nic/rtl8139/driver.h #define rtl8139_tsd_set_size(tsd_value, size) \
size 244 uspace/drv/nic/rtl8139/driver.h bit_set_part_32(tsd_value, (size) << TSD_SIZE_SHIFT, TSD_SIZE_MASK << TSD_SIZE_SHIFT)
size 75 uspace/drv/nic/rtl8169/driver.c static void rtl8169_send_frame(nic_t *nic_data, void *data, size_t size);
size 121 uspace/drv/nic/rtl8169/driver.c .size = RTL8169_IO_SIZE
size 223 uspace/drv/nic/rtl8169/driver.c if (hw_resources->io_ranges.ranges[0].size < RTL8169_IO_SIZE) {
size 1086 uspace/drv/nic/rtl8169/driver.c static void rtl8169_send_frame(nic_t *nic_data, void *data, size_t size)
size 1094 uspace/drv/nic/rtl8169/driver.c if (size > RTL8169_FRAME_MAX_LENGTH) {
size 1096 uspace/drv/nic/rtl8169/driver.c size);
size 1103 uspace/drv/nic/rtl8169/driver.c size, rtl8169->tx_head, rtl8169->tx_tail);
size 1119 uspace/drv/nic/rtl8169/driver.c memcpy(buff, data, size);
size 1128 uspace/drv/nic/rtl8169/driver.c descr->control |= size & 0xffff;
size 143 uspace/drv/nic/virtio-net/virtio-net.c .size = sizeof(vdev->isr_phys),
size 333 uspace/drv/nic/virtio-net/virtio-net.c static void virtio_net_send(nic_t *nic, void *data, size_t size)
size 338 uspace/drv/nic/virtio-net/virtio-net.c if (size > sizeof(virtio_net) + TX_BUF_SIZE) {
size 358 uspace/drv/nic/virtio-net/virtio-net.c memcpy(&hdr[1], data, size);
size 364 uspace/drv/nic/virtio-net/virtio-net.c virtio_net->tx_buf_p[descno], sizeof(virtio_net_hdr_t) + size, 0, 0);
size 46 uspace/drv/platform/amdm37x/amdm37x.c log_message(const volatile void *place, uint64_t val, volatile void *base, size_t size,
size 74 uspace/drv/platform/amdm37x/main.c .size = OHCI_SIZE,
size 90 uspace/drv/platform/amdm37x/main.c .size = EHCI_SIZE,
size 105 uspace/drv/platform/amdm37x/main.c .size = DSS_SIZE,
size 113 uspace/drv/platform/amdm37x/main.c .size = DISPC_SIZE,
size 121 uspace/drv/platform/amdm37x/main.c .size = VIDEO_ENC_SIZE,
size 80 uspace/drv/platform/arm64virt/arm64virt.c .size = arm64virt_ic_distr_memsize,
size 89 uspace/drv/platform/arm64virt/arm64virt.c .size = arm64virt_ic_cpui_memsize,
size 101 uspace/drv/platform/arm64virt/arm64virt.c .size = arm64virt_uart_memsize,
size 117 uspace/drv/platform/arm64virt/arm64virt.c .size = -1
size 80 uspace/drv/platform/hikey960/hikey960.c .size = hikey960_ic_distr_memsize,
size 89 uspace/drv/platform/hikey960/hikey960.c .size = hikey960_ic_cpui_memsize,
size 101 uspace/drv/platform/hikey960/hikey960.c .size = hikey960_uart_memsize,
size 117 uspace/drv/platform/hikey960/hikey960.c .size = -1
size 79 uspace/drv/platform/icp/icp.c .size = 9,
size 97 uspace/drv/platform/icp/icp.c .size = 9,
size 115 uspace/drv/platform/icp/icp.c .size = 40,
size 125 uspace/drv/platform/icp/icp.c .size = -1
size 58 uspace/drv/platform/mac/mac.c .size = 0x2000,
size 79 uspace/drv/platform/mac/mac.c .size = 0x2000
size 89 uspace/drv/platform/mac/mac.c .size = 4,
size 98 uspace/drv/platform/mac/mac.c .size = 4,
size 97 uspace/drv/platform/malta/malta.c .size = 4,
size 106 uspace/drv/platform/malta/malta.c .size = 4,
size 121 uspace/drv/platform/malta/malta.c .size = GT_PCI_MEMSIZE
size 125 uspace/drv/platform/malta/malta.c .size = GT_PCI_IOSIZE
size 82 uspace/drv/platform/msim/msim.c .size = 16,
size 103 uspace/drv/platform/msim/msim.c .size = MSIM_DDISK_SIZE
size 113 uspace/drv/platform/msim/msim.c .size = 1,
size 134 uspace/drv/platform/msim/msim.c .size = MSIM_KBD_SIZE
size 80 uspace/drv/platform/pc/pc.c .size = 4,
size 89 uspace/drv/platform/pc/pc.c .size = 4,
size 104 uspace/drv/platform/pc/pc.c .size = UINT32_C(0xffffffff) /* practical maximum */
size 108 uspace/drv/platform/pc/pc.c .size = UINT32_C(0x10000)
size 96 uspace/drv/platform/sun4u/sun4u.c .size = PBM_OBIO_SIZE,
size 111 uspace/drv/platform/sun4u/sun4u.c .size = PBM_OBIO_SIZE
size 121 uspace/drv/platform/sun4u/sun4u.c .size = PBM_PCI_CONFIG_SIZE,
size 136 uspace/drv/platform/sun4u/sun4u.c .size = PBM_PCI_MEM_SIZE
size 140 uspace/drv/platform/sun4u/sun4u.c .size = PBM_PCI_IO_SIZE
size 72 uspace/drv/platform/sun4v/sun4v.c .size = PAGE_SIZE,
size 81 uspace/drv/platform/sun4v/sun4v.c .size = PAGE_SIZE,
size 96 uspace/drv/platform/sun4v/sun4v.c .size = PAGE_SIZE
size 232 uspace/drv/time/cmos-rtc/cmos-rtc.c if (res->res.io_range.size < REG_COUNT) {
size 649 uspace/lib/ata/src/ata.c void *buf, size_t size)
size 656 uspace/lib/ata/src/ata.c if (size < cnt * device->block_size) {
size 687 uspace/lib/ata/src/ata.c static errno_t ata_bd_read_toc(bd_srv_t *bd, uint8_t session, void *buf, size_t size)
size 691 uspace/lib/ata/src/ata.c return ata_pcmd_read_toc(device, session, buf, size);
size 696 uspace/lib/ata/src/ata.c const void *buf, size_t size)
size 706 uspace/lib/ata/src/ata.c if (size < cnt * device->block_size)
size 57 uspace/lib/bithenge/include/bithenge/blob.h errno_t (*size)(bithenge_blob_t *self, aoff64_t *size);
size 60 uspace/lib/bithenge/include/bithenge/blob.h aoff64_t *size);
size 63 uspace/lib/bithenge/include/bithenge/blob.h aoff64_t *size, bool little_endian);
size 101 uspace/lib/bithenge/include/bithenge/blob.h errno_t (*size)(bithenge_sequential_blob_t *self, aoff64_t *size);
size 116 uspace/lib/bithenge/include/bithenge/blob.h aoff64_t *size);
size 131 uspace/lib/bithenge/include/bithenge/blob.h static inline errno_t bithenge_blob_size(bithenge_blob_t *self, aoff64_t *size)
size 135 uspace/lib/bithenge/include/bithenge/blob.h return self->base.blob_ops->size(self, size);
size 154 uspace/lib/bithenge/include/bithenge/blob.h char *buffer, aoff64_t *size)
size 160 uspace/lib/bithenge/include/bithenge/blob.h return self->base.blob_ops->read(self, offset, buffer, size);
size 182 uspace/lib/bithenge/include/bithenge/blob.h aoff64_t offset, char *buffer, aoff64_t *size, bool little_endian)
size 188 uspace/lib/bithenge/include/bithenge/blob.h return self->base.blob_ops->read_bits(self, offset, buffer, size,
size 203 uspace/lib/bithenge/include/bithenge/blob.h aoff64_t size;
size 204 uspace/lib/bithenge/include/bithenge/blob.h errno_t rc = bithenge_blob_size(self, &size);
size 205 uspace/lib/bithenge/include/bithenge/blob.h *out = size == 0;
size 58 uspace/lib/bithenge/src/blob.c assert(ops->size);
size 82 uspace/lib/bithenge/src/blob.c aoff64_t size = end - blob->data_size;
size 83 uspace/lib/bithenge/src/blob.c errno_t rc = blob->ops->read(blob, blob->buffer + blob->data_size, &size);
size 86 uspace/lib/bithenge/src/blob.c blob->data_size += size;
size 102 uspace/lib/bithenge/src/blob.c static errno_t sequential_size(bithenge_blob_t *base, aoff64_t *size)
size 106 uspace/lib/bithenge/src/blob.c if (blob->ops->size) {
size 107 uspace/lib/bithenge/src/blob.c rc = blob->ops->size(blob, size);
size 119 uspace/lib/bithenge/src/blob.c *size = blob->data_size;
size 124 uspace/lib/bithenge/src/blob.c char *buffer, aoff64_t *size)
size 127 uspace/lib/bithenge/src/blob.c aoff64_t end = offset + *size;
size 135 uspace/lib/bithenge/src/blob.c *size = min(*size, blob->data_size - end);
size 136 uspace/lib/bithenge/src/blob.c memcpy(buffer, blob->buffer + offset, *size);
size 148 uspace/lib/bithenge/src/blob.c .size = sequential_size,
size 183 uspace/lib/bithenge/src/blob.c size_t size;
size 197 uspace/lib/bithenge/src/blob.c static errno_t memory_size(bithenge_blob_t *base, aoff64_t *size)
size 202 uspace/lib/bithenge/src/blob.c *size = blob->size;
size 207 uspace/lib/bithenge/src/blob.c aoff64_t *size)
size 210 uspace/lib/bithenge/src/blob.c if (offset > blob->size)
size 212 uspace/lib/bithenge/src/blob.c *size = min(*size, blob->size - offset);
size 213 uspace/lib/bithenge/src/blob.c memcpy(buffer, blob->buffer + offset, *size);
size 226 uspace/lib/bithenge/src/blob.c .size = memory_size,
size 259 uspace/lib/bithenge/src/blob.c blob->size = len;
size 297 uspace/lib/bithenge/src/blob.c aoff64_t size;
size 311 uspace/lib/bithenge/src/blob.c static errno_t subblob_size(bithenge_blob_t *base, aoff64_t *size)
size 315 uspace/lib/bithenge/src/blob.c *size = blob->size;
size 318 uspace/lib/bithenge/src/blob.c errno_t rc = bithenge_blob_size(blob->source, size);
size 319 uspace/lib/bithenge/src/blob.c *size -= blob->offset;
size 325 uspace/lib/bithenge/src/blob.c char *buffer, aoff64_t *size)
size 329 uspace/lib/bithenge/src/blob.c if (offset > blob->size)
size 331 uspace/lib/bithenge/src/blob.c *size = min(*size, blob->size - offset);
size 334 uspace/lib/bithenge/src/blob.c return bithenge_blob_read(blob->source, offset, buffer, size);
size 338 uspace/lib/bithenge/src/blob.c char *buffer, aoff64_t *size, bool little_endian)
size 342 uspace/lib/bithenge/src/blob.c if (offset > blob->size)
size 344 uspace/lib/bithenge/src/blob.c *size = min(*size, blob->size - offset);
size 347 uspace/lib/bithenge/src/blob.c return bithenge_blob_read_bits(blob->source, offset, buffer, size,
size 359 uspace/lib/bithenge/src/blob.c .size = subblob_size,
size 371 uspace/lib/bithenge/src/blob.c aoff64_t offset, aoff64_t size, bool size_matters)
size 381 uspace/lib/bithenge/src/blob.c size = 0;
size 384 uspace/lib/bithenge/src/blob.c offset + size > source_subblob->size) {
size 391 uspace/lib/bithenge/src/blob.c source_subblob->size -= offset;
size 394 uspace/lib/bithenge/src/blob.c source_subblob->size = size;
size 402 uspace/lib/bithenge/src/blob.c size = source_subblob->size - offset;
size 421 uspace/lib/bithenge/src/blob.c blob->size = size;
size 454 uspace/lib/bithenge/src/blob.c aoff64_t offset, aoff64_t size)
size 456 uspace/lib/bithenge/src/blob.c return new_subblob(out, source, offset, size, true);
size 1043 uspace/lib/bithenge/src/expression.c static errno_t concat_blob_size(bithenge_blob_t *base, aoff64_t *size)
size 1049 uspace/lib/bithenge/src/expression.c rc = bithenge_blob_size(self->b, size);
size 1050 uspace/lib/bithenge/src/expression.c *size += self->a_size;
size 1055 uspace/lib/bithenge/src/expression.c char *buffer, aoff64_t *size)
size 1062 uspace/lib/bithenge/src/expression.c a_size = *size;
size 1067 uspace/lib/bithenge/src/expression.c if (offset + *size > self->a_size) {
size 1071 uspace/lib/bithenge/src/expression.c b_size = *size - a_size;
size 1077 uspace/lib/bithenge/src/expression.c assert(a_size + b_size <= *size);
size 1078 uspace/lib/bithenge/src/expression.c *size = a_size + b_size;
size 1083 uspace/lib/bithenge/src/expression.c char *buffer, aoff64_t *size, bool little_endian)
size 1090 uspace/lib/bithenge/src/expression.c a_size = *size;
size 1096 uspace/lib/bithenge/src/expression.c if (offset + *size > self->a_size) {
size 1100 uspace/lib/bithenge/src/expression.c b_size = *size - a_size;
size 1108 uspace/lib/bithenge/src/expression.c assert(a_size + b_size <= *size);
size 1109 uspace/lib/bithenge/src/expression.c *size = a_size + b_size;
size 1124 uspace/lib/bithenge/src/expression.c .size = concat_blob_size,
size 144 uspace/lib/bithenge/src/failure.c int size = backtrace(trace, 256);
size 146 uspace/lib/bithenge/src/failure.c for (int i = 0; i < size; i++) {
size 180 uspace/lib/bithenge/src/failure.c void *bithenge_failure_malloc(size_t size)
size 184 uspace/lib/bithenge/src/failure.c return malloc(size);
size 187 uspace/lib/bithenge/src/failure.c void *bithenge_failure_realloc(void *ptr, size_t size)
size 191 uspace/lib/bithenge/src/failure.c return realloc(ptr, size);
size 51 uspace/lib/bithenge/src/file.c aoff64_t size; // needed by file_read()
size 65 uspace/lib/bithenge/src/file.c static errno_t file_size(bithenge_blob_t *base, aoff64_t *size)
size 68 uspace/lib/bithenge/src/file.c *size = blob->size;
size 73 uspace/lib/bithenge/src/file.c aoff64_t *size)
size 76 uspace/lib/bithenge/src/file.c if (offset > blob->size)
size 80 uspace/lib/bithenge/src/file.c errno_t rc = vfs_read(blob->fd, &offset, buffer, *size, &amount_read);
size 83 uspace/lib/bithenge/src/file.c *size += amount_read;
size 95 uspace/lib/bithenge/src/file.c .size = file_size,
size 128 uspace/lib/bithenge/src/file.c blob->size = stat.size;
size 130 uspace/lib/bithenge/src/file.c blob->size = stat.st_size;
size 51 uspace/lib/bithenge/src/helenos/block.c aoff64_t size;
size 64 uspace/lib/bithenge/src/helenos/block.c static errno_t block_size(bithenge_blob_t *base, aoff64_t *size)
size 67 uspace/lib/bithenge/src/helenos/block.c *size = self->size;
size 72 uspace/lib/bithenge/src/helenos/block.c aoff64_t *size)
size 75 uspace/lib/bithenge/src/helenos/block.c if (offset > self->size)
size 77 uspace/lib/bithenge/src/helenos/block.c *size = min(*size, self->size - offset);
size 78 uspace/lib/bithenge/src/helenos/block.c return block_read_bytes_direct(self->service_id, offset, *size, buffer);
size 89 uspace/lib/bithenge/src/helenos/block.c .size = block_size,
size 113 uspace/lib/bithenge/src/helenos/block.c aoff64_t size;
size 124 uspace/lib/bithenge/src/helenos/block.c size = bsize * nblocks;
size 140 uspace/lib/bithenge/src/helenos/block.c blob->size = size;
size 187 uspace/lib/bithenge/src/print.c aoff64_t size = sizeof(buffer);
size 192 uspace/lib/bithenge/src/print.c rc = bithenge_blob_read(blob, pos, (char *)buffer, &size);
size 195 uspace/lib/bithenge/src/print.c for (aoff64_t i = 0; i < size; i++)
size 198 uspace/lib/bithenge/src/print.c pos += size;
size 199 uspace/lib/bithenge/src/print.c } while (size == sizeof(buffer));
size 241 uspace/lib/bithenge/src/print.c errno_t bithenge_print_node_to_string(char **str, size_t *size,
size 244 uspace/lib/bithenge/src/print.c state_t state = { type, true, 0, *str, *size };
size 247 uspace/lib/bithenge/src/print.c *size = state.buffer_size;
size 172 uspace/lib/bithenge/src/script.c size_t size = end_char - start_char;
size 174 uspace/lib/bithenge/src/script.c if (size <= 1)
size 178 uspace/lib/bithenge/src/script.c fprintf(stderr, "%s: \"%.*s\"\n", message, (int)size,
size 355 uspace/lib/bithenge/src/script.c static void *state_malloc(state_t *state, size_t size)
size 359 uspace/lib/bithenge/src/script.c void *result = malloc(size);
size 368 uspace/lib/bithenge/src/script.c static void *state_realloc(state_t *state, void *ptr, size_t size)
size 372 uspace/lib/bithenge/src/script.c void *result = realloc(ptr, size);
size 180 uspace/lib/bithenge/src/sequence.c aoff64_t size;
size 182 uspace/lib/bithenge/src/sequence.c bithenge_node_as_blob(blob_node), out, &size);
size 195 uspace/lib/bithenge/src/sequence.c self->ends[self->num_ends++] = start_pos + size;
size 848 uspace/lib/bithenge/src/sequence.c aoff64_t size;
size 850 uspace/lib/bithenge/src/sequence.c node_as_seq(*out_node), &size, count);
size 857 uspace/lib/bithenge/src/sequence.c *out_size = size;
size 62 uspace/lib/bithenge/src/source.c size_t size = str_length(hex);
size 63 uspace/lib/bithenge/src/source.c if (size % 2)
size 65 uspace/lib/bithenge/src/source.c size /= 2;
size 66 uspace/lib/bithenge/src/source.c char *buffer = malloc(size);
size 69 uspace/lib/bithenge/src/source.c for (size_t i = 0; i < size; i++) {
size 78 uspace/lib/bithenge/src/source.c return bithenge_new_blob_from_buffer(out, buffer, size, true);
size 168 uspace/lib/bithenge/src/transform.c aoff64_t size;
size 169 uspace/lib/bithenge/src/transform.c errno_t rc = bithenge_transform_prefix_length(self, scope, blob, &size);
size 174 uspace/lib/bithenge/src/transform.c rc = bithenge_new_subblob(&prefix_blob, blob, 0, size);
size 180 uspace/lib/bithenge/src/transform.c *out_size = size;
size 293 uspace/lib/bithenge/src/transform.c size_t size = min((size_t)(end - format),
size 295 uspace/lib/bithenge/src/transform.c memcpy(out, format, size);
size 297 uspace/lib/bithenge/src/transform.c out += size;
size 298 uspace/lib/bithenge/src/transform.c space_left -= size;
size 580 uspace/lib/bithenge/src/transform.c aoff64_t size;
size 581 uspace/lib/bithenge/src/transform.c rc = bithenge_blob_size(blob, &size);
size 585 uspace/lib/bithenge/src/transform.c char *buffer = malloc(size + 1);
size 588 uspace/lib/bithenge/src/transform.c aoff64_t size_read = size;
size 594 uspace/lib/bithenge/src/transform.c if (size_read != size) {
size 598 uspace/lib/bithenge/src/transform.c buffer[size] = '\0';
size 623 uspace/lib/bithenge/src/transform.c aoff64_t size = 1;
size 624 uspace/lib/bithenge/src/transform.c errno_t rc = bithenge_blob_read_bits(blob, 0, &buffer, &size, true);
size 627 uspace/lib/bithenge/src/transform.c if (size != 1)
size 630 uspace/lib/bithenge/src/transform.c *out_size = size;
size 681 uspace/lib/bithenge/src/transform.c char *buffer, aoff64_t *size, bool little_endian)
size 686 uspace/lib/bithenge/src/transform.c aoff64_t output_num_bytes = (*size + 7) / 8;
size 687 uspace/lib/bithenge/src/transform.c aoff64_t bytes_size = (*size + bit_offset + 7) / 8;
size 702 uspace/lib/bithenge/src/transform.c *size = min(*size, bytes_size * 8 - bit_offset);
size 732 uspace/lib/bithenge/src/transform.c .size = bits_xe_size,
size 817 uspace/lib/bithenge/src/transform.c aoff64_t size;
size 818 uspace/lib/bithenge/src/transform.c rc = bithenge_blob_size(bithenge_node_as_blob(in), &size);
size 821 uspace/lib/bithenge/src/transform.c if (length != (bithenge_int_t)size)
size 923 uspace/lib/bithenge/src/transform.c aoff64_t size = sizeof(val[0]) + 1; \
size 924 uspace/lib/bithenge/src/transform.c rc = bithenge_blob_read(blob, 0, (char *)val, &size); \
size 927 uspace/lib/bithenge/src/transform.c if (size != sizeof(val[0])) \
size 976 uspace/lib/bithenge/src/transform.c aoff64_t size = num_bits;
size 978 uspace/lib/bithenge/src/transform.c rc = bithenge_blob_read_bits(blob, 0, (char *)buffer, &size,
size 982 uspace/lib/bithenge/src/transform.c if (size != (aoff64_t)num_bits)
size 985 uspace/lib/bithenge/src/transform.c *out_size = size;
size 1035 uspace/lib/bithenge/src/transform.c aoff64_t size;
size 1036 uspace/lib/bithenge/src/transform.c rc = bithenge_blob_size(blob, &size);
size 1039 uspace/lib/bithenge/src/transform.c if (size < 1)
size 1043 uspace/lib/bithenge/src/transform.c rc = bithenge_blob_read(blob, size - 1, &ch, &size_read);
size 1049 uspace/lib/bithenge/src/transform.c return bithenge_new_subblob(out, blob, 0, size - 1);
size 128 uspace/lib/bithenge/src/tree.c aoff64_t size = 1;
size 130 uspace/lib/bithenge/src/tree.c offset, (char *)&byte, &size);
size 133 uspace/lib/bithenge/src/tree.c if (size != 1)
size 271 uspace/lib/block/block.c errno_t block_cache_init(service_id_t service_id, size_t size, unsigned blocks,
size 286 uspace/lib/block/block.c cache->lblock_size = size;
size 332 uspace/lib/block/block.c b->data, b->size);
size 478 uspace/lib/block/block.c cache->blocks_cluster, b->data, b->size);
size 536 uspace/lib/block/block.c b->size = cache->lblock_size;
size 614 uspace/lib/block/block.c block->data, block->size);
size 703 uspace/lib/block/block.c size_t *buflen, aoff64_t *pos, void *dst, size_t size)
size 706 uspace/lib/block/block.c size_t left = size;
size 921 uspace/lib/block/block.c size_t size)
size 925 uspace/lib/block/block.c errno_t rc = bd_read_blocks(devcon->bd, ba, cnt, buf, size);
size 948 uspace/lib/block/block.c size_t size)
size 952 uspace/lib/block/block.c errno_t rc = bd_write_blocks(devcon->bd, ba, cnt, data, size);
size 83 uspace/lib/block/block.h size_t size;
size 43 uspace/lib/c/arch/abs32le/include/libarch/fibril.h #define context_set(ctx, _pc, stack, size, ptls) \
size 46 uspace/lib/c/arch/abs32le/include/libarch/fibril.h (ctx)->sp = ((uintptr_t) (stack)) + (size) - SP_DELTA; \
size 36 uspace/lib/c/arch/abs32le/src/tls.c tcb_t *tls_alloc_arch(size_t size, size_t align)
size 38 uspace/lib/c/arch/abs32le/src/tls.c return tls_alloc_variant_2(size, align);
size 41 uspace/lib/c/arch/abs32le/src/tls.c void tls_free_arch(tcb_t *tcb, size_t size, size_t align)
size 43 uspace/lib/c/arch/abs32le/src/tls.c tls_free_variant_2(tcb, size, align);
size 47 uspace/lib/c/arch/amd64/include/libarch/fibril.h #define context_set(c, _pc, stack, size, ptls) \
size 50 uspace/lib/c/arch/amd64/include/libarch/fibril.h (c)->sp = ((sysarg_t) (stack)) + (size) - SP_DELTA; \
size 44 uspace/lib/c/arch/amd64/src/tls.c tcb_t *tls_alloc_arch(size_t size, size_t align)
size 46 uspace/lib/c/arch/amd64/src/tls.c return tls_alloc_variant_2(size, align);
size 49 uspace/lib/c/arch/amd64/src/tls.c void tls_free_arch(tcb_t *tcb, size_t size, size_t align)
size 51 uspace/lib/c/arch/amd64/src/tls.c tls_free_variant_2(tcb, size, align);
size 59 uspace/lib/c/arch/arm32/include/libarch/fibril.h #define context_set(c, _pc, stack, size, ptls) \
size 62 uspace/lib/c/arch/arm32/include/libarch/fibril.h (c)->sp = ((sysarg_t) (stack)) + (size) - SP_DELTA; \
size 45 uspace/lib/c/arch/arm32/src/tls.c tcb_t *tls_alloc_arch(size_t size, size_t align)
size 47 uspace/lib/c/arch/arm32/src/tls.c return tls_alloc_variant_1(size, align);
size 50 uspace/lib/c/arch/arm32/src/tls.c void tls_free_arch(tcb_t *tcb, size_t size, size_t align)
size 52 uspace/lib/c/arch/arm32/src/tls.c tls_free_variant_1(tcb, size, align);
size 59 uspace/lib/c/arch/arm64/include/libarch/fibril.h #define context_set(c, _pc, stack, size, ptls) \
size 62 uspace/lib/c/arch/arm64/include/libarch/fibril.h (c)->sp = ((uint64_t) (stack)) + (size) - SP_DELTA; \
size 38 uspace/lib/c/arch/arm64/src/tls.c tcb_t *tls_alloc_arch(size_t size, size_t align)
size 40 uspace/lib/c/arch/arm64/src/tls.c return tls_alloc_variant_1(size, align);
size 43 uspace/lib/c/arch/arm64/src/tls.c void tls_free_arch(tcb_t *tcb, size_t size, size_t align)
size 45 uspace/lib/c/arch/arm64/src/tls.c tls_free_variant_1(tcb, size, align);
size 48 uspace/lib/c/arch/ia32/include/libarch/fibril.h #define context_set(c, _pc, stack, size, ptls) \
size 51 uspace/lib/c/arch/ia32/include/libarch/fibril.h (c)->sp = ((sysarg_t) (stack)) + (size) - SP_DELTA; \
size 47 uspace/lib/c/arch/ia32/src/tls.c tcb_t *tls_alloc_arch(size_t size, size_t align)
size 49 uspace/lib/c/arch/ia32/src/tls.c return tls_alloc_variant_2(size, align);
size 52 uspace/lib/c/arch/ia32/src/tls.c void tls_free_arch(tcb_t *tcb, size_t size, size_t align)
size 54 uspace/lib/c/arch/ia32/src/tls.c tls_free_variant_2(tcb, size, align);
size 55 uspace/lib/c/arch/ia64/include/libarch/fibril.h #define context_set(c, _pc, stack, size, tls) \
size 59 uspace/lib/c/arch/ia64/include/libarch/fibril.h size / FIBRIL_INITIAL_STACK_DIVISION; \
size 62 uspace/lib/c/arch/ia64/include/libarch/fibril.h ALIGN_UP((size / FIBRIL_INITIAL_STACK_DIVISION), STACK_ALIGNMENT) - \
size 44 uspace/lib/c/arch/ia64/src/tls.c tcb_t *tls_alloc_arch(size_t size, size_t align)
size 46 uspace/lib/c/arch/ia64/src/tls.c return tls_alloc_variant_1(size, align);
size 49 uspace/lib/c/arch/ia64/src/tls.c void tls_free_arch(tcb_t *tcb, size_t size, size_t align)
size 51 uspace/lib/c/arch/ia64/src/tls.c tls_free_variant_1(tcb, size, align);
size 52 uspace/lib/c/arch/mips32/include/libarch/fibril.h #define context_set(c, _pc, stack, size, ptls) \
size 55 uspace/lib/c/arch/mips32/include/libarch/fibril.h (c)->sp = ((sysarg_t) (stack)) + (size) - SP_DELTA; \
size 39 uspace/lib/c/arch/mips32/src/tls.c tcb_t *tls_alloc_arch(size_t size, size_t align)
size 41 uspace/lib/c/arch/mips32/src/tls.c return tls_alloc_variant_1(size, align);
size 44 uspace/lib/c/arch/mips32/src/tls.c void tls_free_arch(tcb_t *tcb, size_t size, size_t align)
size 46 uspace/lib/c/arch/mips32/src/tls.c tls_free_variant_1(tcb, size, align);
size 49 uspace/lib/c/arch/ppc32/include/libarch/fibril.h #define context_set(c, _pc, stack, size, ptls) \
size 52 uspace/lib/c/arch/ppc32/include/libarch/fibril.h (c)->sp = ((sysarg_t) (stack)) + (size) - SP_DELTA; \
size 43 uspace/lib/c/arch/ppc32/src/tls.c tcb_t *tls_alloc_arch(size_t size, size_t align)
size 45 uspace/lib/c/arch/ppc32/src/tls.c return tls_alloc_variant_1(size, align);
size 48 uspace/lib/c/arch/ppc32/src/tls.c void tls_free_arch(tcb_t *tcb, size_t size, size_t align)
size 50 uspace/lib/c/arch/ppc32/src/tls.c tls_free_variant_1(tcb, size, align);
size 43 uspace/lib/c/arch/riscv64/include/libarch/fibril.h #define context_set(ctx, _pc, stack, size, ptls) \
size 46 uspace/lib/c/arch/riscv64/include/libarch/fibril.h (ctx)->sp = ((uintptr_t) (stack)) + (size) - SP_DELTA; \
size 35 uspace/lib/c/arch/riscv64/src/tls.c tcb_t *tls_alloc_arch(size_t size, size_t align)
size 37 uspace/lib/c/arch/riscv64/src/tls.c return tls_alloc_variant_2(size, align);
size 40 uspace/lib/c/arch/riscv64/src/tls.c void tls_free_arch(tcb_t *tcb, size_t size, size_t align)
size 42 uspace/lib/c/arch/riscv64/src/tls.c tls_free_variant_2(tcb, size, align);
size 45 uspace/lib/c/arch/sparc64/include/libarch/fibril.h #define context_set(c, _pc, stack, size, ptls) \
size 48 uspace/lib/c/arch/sparc64/include/libarch/fibril.h (c)->sp = ((uintptr_t) stack) + ALIGN_UP((size), \
size 44 uspace/lib/c/arch/sparc64/src/tls.c tcb_t *tls_alloc_arch(size_t size, size_t align)
size 46 uspace/lib/c/arch/sparc64/src/tls.c return tls_alloc_variant_2(size, align);
size 49 uspace/lib/c/arch/sparc64/src/tls.c void tls_free_arch(tcb_t *tcb, size_t size, size_t align)
size 51 uspace/lib/c/arch/sparc64/src/tls.c tls_free_variant_2(tcb, size, align);
size 79 uspace/lib/c/common/adt/bitmap.c size_t size = elements / BITMAP_ELEMENT;
size 82 uspace/lib/c/common/adt/bitmap.c size++;
size 84 uspace/lib/c/common/adt/bitmap.c return size;
size 277 uspace/lib/c/common/adt/bitmap.c size_t size = bitmap_size(bitmap->elements);
size 291 uspace/lib/c/common/adt/bitmap.c for (size_t pos = 0; pos < size; pos++) {
size 292 uspace/lib/c/common/adt/bitmap.c size_t byte = (next_fit + pos) % size;
size 48 uspace/lib/c/common/adt/circ_buf.c void circ_buf_init(circ_buf_t *cbuf, void *buf, size_t nmemb, size_t size)
size 52 uspace/lib/c/common/adt/circ_buf.c cbuf->size = size;
size 89 uspace/lib/c/common/adt/circ_buf.c memcpy(cbuf->buf + cbuf->size * cbuf->wp, data, cbuf->size);
size 106 uspace/lib/c/common/adt/circ_buf.c memcpy(datab, cbuf->buf + cbuf->size * cbuf->rp, cbuf->size);
size 386 uspace/lib/c/common/adt/hash_table.c static size_t round_up_size(size_t size)
size 390 uspace/lib/c/common/adt/hash_table.c while (rounded_size < size) {
size 48 uspace/lib/c/common/include/adt/circ_buf.h size_t size;
size 110 uspace/lib/c/common/include/stdlib.h extern void *malloc(size_t size)
size 112 uspace/lib/c/common/include/stdlib.h extern void *calloc(size_t nmemb, size_t size)
size 114 uspace/lib/c/common/include/stdlib.h extern void *realloc(void *addr, size_t size)
size 121 uspace/lib/c/common/include/stdlib.h extern void *memalign(size_t align, size_t size)
size 103 uspace/lib/c/common/include/str.h extern size_t str_nlength(const char *str, size_t size);
size 104 uspace/lib/c/common/include/str.h extern size_t wstr_nlength(const char32_t *str, size_t size);
size 120 uspace/lib/c/common/include/str.h extern void str_cpy(char *dest, size_t size, const char *src);
size 121 uspace/lib/c/common/include/str.h extern void str_ncpy(char *dest, size_t size, const char *src, size_t n);
size 122 uspace/lib/c/common/include/str.h extern void str_append(char *dest, size_t size, const char *src);
size 124 uspace/lib/c/common/include/str.h extern errno_t spascii_to_str(char *dest, size_t size, const uint8_t *src, size_t n);
size 125 uspace/lib/c/common/include/str.h extern void wstr_to_str(char *dest, size_t size, const char32_t *src);
size 129 uspace/lib/c/common/include/str.h extern errno_t utf16_to_str(char *dest, size_t size, const uint16_t *src);
size 143 uspace/lib/c/common/printf/printf_core.c static int printf_putnchars(const char *buf, size_t size,
size 146 uspace/lib/c/common/printf/printf_core.c return ps->str_write((void *) buf, size, ps->data);
size 159 uspace/lib/c/common/printf/printf_core.c static int printf_wputnchars(const char32_t *buf, size_t size,
size 162 uspace/lib/c/common/printf/printf_core.c return ps->wstr_write((void *) buf, size, ps->data);
size 322 uspace/lib/c/common/printf/printf_core.c size_t size = str_lsize(str, precision);
size 323 uspace/lib/c/common/printf/printf_core.c if ((retval = printf_putnchars(str, size, ps)) < 0)
size 371 uspace/lib/c/common/printf/printf_core.c size_t size = wstr_lsize(str, precision);
size 372 uspace/lib/c/common/printf/printf_core.c if ((retval = printf_wputnchars(str, size, ps)) < 0)
size 417 uspace/lib/c/common/printf/printf_core.c int size = 0;
size 424 uspace/lib/c/common/printf/printf_core.c size++;
size 428 uspace/lib/c/common/printf/printf_core.c size++;
size 433 uspace/lib/c/common/printf/printf_core.c int number_size = size;
size 443 uspace/lib/c/common/printf/printf_core.c size += 2;
size 446 uspace/lib/c/common/printf/printf_core.c size++;
size 449 uspace/lib/c/common/printf/printf_core.c size += 2;
size 458 uspace/lib/c/common/printf/printf_core.c size++;
size 461 uspace/lib/c/common/printf/printf_core.c size++;
size 464 uspace/lib/c/common/printf/printf_core.c size++;
size 476 uspace/lib/c/common/printf/printf_core.c if ((precision == 0) && (width > size))
size 477 uspace/lib/c/common/printf/printf_core.c precision = width - size + number_size;
size 486 uspace/lib/c/common/printf/printf_core.c width -= precision + size - number_size;
size 1606 uspace/lib/c/common/printf/printf_core.c size_t size;
size 1611 uspace/lib/c/common/printf/printf_core.c size = sizeof(unsigned char);
size 1615 uspace/lib/c/common/printf/printf_core.c size = sizeof(unsigned short);
size 1619 uspace/lib/c/common/printf/printf_core.c size = sizeof(unsigned int);
size 1623 uspace/lib/c/common/printf/printf_core.c size = sizeof(unsigned long);
size 1627 uspace/lib/c/common/printf/printf_core.c size = sizeof(unsigned long long);
size 1631 uspace/lib/c/common/printf/printf_core.c size = sizeof(void *);
size 1632 uspace/lib/c/common/printf/printf_core.c precision = size << 1;
size 1636 uspace/lib/c/common/printf/printf_core.c size = sizeof(size_t);
size 1640 uspace/lib/c/common/printf/printf_core.c size = sizeof(uintmax_t);
size 49 uspace/lib/c/common/stdc/bsearch.c void *bsearch(const void *key, const void *base, size_t nmemb, size_t size,
size 58 uspace/lib/c/common/stdc/bsearch.c pivot = base + size * pividx;
size 70 uspace/lib/c/common/stdc/bsearch.c base += size * (pividx + 1);
size 42 uspace/lib/c/common/stdc/calloc.c void *calloc(const size_t nmemb, const size_t size)
size 45 uspace/lib/c/common/stdc/calloc.c if (SIZE_MAX / size < nmemb)
size 48 uspace/lib/c/common/stdc/calloc.c void *block = malloc(nmemb * size);
size 52 uspace/lib/c/common/stdc/calloc.c memset(block, 0, nmemb * size);
size 46 uspace/lib/c/common/stdc/qsort.c size_t size;
size 79 uspace/lib/c/common/stdc/qsort.c a = qs->base + i * qs->size;
size 80 uspace/lib/c/common/stdc/qsort.c b = qs->base + j * qs->size;
size 100 uspace/lib/c/common/stdc/qsort.c a = qs->base + i * qs->size;
size 101 uspace/lib/c/common/stdc/qsort.c b = qs->base + j * qs->size;
size 103 uspace/lib/c/common/stdc/qsort.c for (k = 0; k < qs->size; k++) {
size 171 uspace/lib/c/common/stdc/qsort.c void qsort(void *base, size_t nmemb, size_t size, int (*compar)(const void *,
size 181 uspace/lib/c/common/stdc/qsort.c qs.size = size;
size 196 uspace/lib/c/common/stdc/qsort.c void qsort_r(void *base, size_t nmemb, size_t size, int (*compar)(const void *,
size 206 uspace/lib/c/common/stdc/qsort.c qs.size = size;
size 148 uspace/lib/c/common/str.c char32_t str_decode(const char *str, size_t *offset, size_t size)
size 150 uspace/lib/c/common/str.c if (*offset + 1 > size)
size 182 uspace/lib/c/common/str.c if (*offset + cbytes > size)
size 218 uspace/lib/c/common/str.c char32_t str_decode_reverse(const char *str, size_t *offset, size_t size)
size 235 uspace/lib/c/common/str.c return str_decode(str, &start_offset, size);
size 261 uspace/lib/c/common/str.c errno_t chr_encode(const char32_t ch, char *str, size_t *offset, size_t size)
size 263 uspace/lib/c/common/str.c if (*offset >= size)
size 298 uspace/lib/c/common/str.c if (*offset + cbytes >= size)
size 329 uspace/lib/c/common/str.c size_t size = 0;
size 332 uspace/lib/c/common/str.c size++;
size 334 uspace/lib/c/common/str.c return size;
size 393 uspace/lib/c/common/str.c size_t size = 0;
size 395 uspace/lib/c/common/str.c while ((*str++ != 0) && (size < max_size))
size 396 uspace/lib/c/common/str.c size++;
size 398 uspace/lib/c/common/str.c return size;
size 478 uspace/lib/c/common/str.c size_t str_nlength(const char *str, size_t size)
size 483 uspace/lib/c/common/str.c while (str_decode(str, &offset, size) != 0)
size 497 uspace/lib/c/common/str.c size_t wstr_nlength(const char32_t *str, size_t size)
size 500 uspace/lib/c/common/str.c size_t limit = ALIGN_DOWN(size, sizeof(char32_t));
size 836 uspace/lib/c/common/str.c void str_cpy(char *dest, size_t size, const char *src)
size 839 uspace/lib/c/common/str.c assert(size > 0);
size 847 uspace/lib/c/common/str.c if (chr_encode(ch, dest, &dest_off, size - 1) != EOK)
size 870 uspace/lib/c/common/str.c void str_ncpy(char *dest, size_t size, const char *src, size_t n)
size 873 uspace/lib/c/common/str.c assert(size > 0);
size 880 uspace/lib/c/common/str.c if (chr_encode(ch, dest, &dest_off, size - 1) != EOK)
size 898 uspace/lib/c/common/str.c void str_append(char *dest, size_t size, const char *src)
size 903 uspace/lib/c/common/str.c if (dstr_size >= size)
size 906 uspace/lib/c/common/str.c str_cpy(dest + dstr_size, size - dstr_size, src);
size 933 uspace/lib/c/common/str.c errno_t spascii_to_str(char *dest, size_t size, const uint8_t *src, size_t n)
size 943 uspace/lib/c/common/str.c assert(size > 0);
size 955 uspace/lib/c/common/str.c rc = chr_encode(byte, dest, &didx, size - 1);
size 982 uspace/lib/c/common/str.c void wstr_to_str(char *dest, size_t size, const char32_t *src)
size 989 uspace/lib/c/common/str.c assert(size > 0);
size 995 uspace/lib/c/common/str.c if (chr_encode(ch, dest, &dest_off, size - 1) != EOK)
size 1014 uspace/lib/c/common/str.c errno_t utf16_to_str(char *dest, size_t size, const uint16_t *src)
size 1021 uspace/lib/c/common/str.c assert(size > 0);
size 1036 uspace/lib/c/common/str.c rc = chr_encode(ch, dest, &dest_off, size - 1);
size 1404 uspace/lib/c/common/str.c size_t size = str_size(src) + 1;
size 1405 uspace/lib/c/common/str.c char *dest = malloc(size);
size 1409 uspace/lib/c/common/str.c str_cpy(dest, size, src);
size 1435 uspace/lib/c/common/str.c size_t size = str_size(src);
size 1436 uspace/lib/c/common/str.c if (size > n)
size 1437 uspace/lib/c/common/str.c size = n;
size 1439 uspace/lib/c/common/str.c char *dest = malloc(size + 1);
size 1443 uspace/lib/c/common/str.c str_ncpy(dest, size + 1, src, size);
size 58 uspace/lib/c/generic/as.c void *as_area_create(void *base, size_t size, unsigned int flags,
size 62 uspace/lib/c/generic/as.c (sysarg_t) size, (sysarg_t) flags, (sysarg_t) __progsymbols.end,
size 76 uspace/lib/c/generic/as.c errno_t as_area_resize(void *address, size_t size, unsigned int flags)
size 79 uspace/lib/c/generic/as.c (sysarg_t) size, (sysarg_t) flags);
size 1236 uspace/lib/c/generic/async/client.c static errno_t async_share_in_start(async_exch_t *exch, size_t size,
size 1244 uspace/lib/c/generic/async/client.c errno_t res = async_req_3_5(exch, IPC_M_SHARE_IN, (sysarg_t) size,
size 1255 uspace/lib/c/generic/async/client.c errno_t async_share_in_start_0_0(async_exch_t *exch, size_t size, void **dst)
size 1257 uspace/lib/c/generic/async/client.c return async_share_in_start(exch, size, 0, NULL, dst);
size 1260 uspace/lib/c/generic/async/client.c errno_t async_share_in_start_0_1(async_exch_t *exch, size_t size,
size 1263 uspace/lib/c/generic/async/client.c return async_share_in_start(exch, size, 0, flags, dst);
size 1266 uspace/lib/c/generic/async/client.c errno_t async_share_in_start_1_0(async_exch_t *exch, size_t size, sysarg_t arg,
size 1269 uspace/lib/c/generic/async/client.c return async_share_in_start(exch, size, arg, NULL, dst);
size 1272 uspace/lib/c/generic/async/client.c errno_t async_share_in_start_1_1(async_exch_t *exch, size_t size, sysarg_t arg,
size 1275 uspace/lib/c/generic/async/client.c return async_share_in_start(exch, size, arg, flags, dst);
size 1306 uspace/lib/c/generic/async/client.c aid_t async_data_read(async_exch_t *exch, void *dst, size_t size,
size 1310 uspace/lib/c/generic/async/client.c (sysarg_t) size, dataptr);
size 1322 uspace/lib/c/generic/async/client.c errno_t async_data_read_start(async_exch_t *exch, void *dst, size_t size)
size 1328 uspace/lib/c/generic/async/client.c (sysarg_t) size);
size 1340 uspace/lib/c/generic/async/client.c errno_t async_data_write_start(async_exch_t *exch, const void *src, size_t size)
size 1346 uspace/lib/c/generic/async/client.c (sysarg_t) size);
size 1426 uspace/lib/c/generic/async/client.c void *async_as_area_create(void *base, size_t size, unsigned int flags,
size 1435 uspace/lib/c/generic/async/client.c return as_area_create(base, size, flags, &pager_info);
size 1215 uspace/lib/c/generic/async/server.c bool async_share_in_receive(ipc_call_t *call, size_t *size)
size 1218 uspace/lib/c/generic/async/server.c assert(size);
size 1225 uspace/lib/c/generic/async/server.c *size = (size_t) ipc_get_arg1(call);
size 1268 uspace/lib/c/generic/async/server.c bool async_share_out_receive(ipc_call_t *call, size_t *size,
size 1272 uspace/lib/c/generic/async/server.c assert(size);
size 1280 uspace/lib/c/generic/async/server.c *size = (size_t) ipc_get_arg2(call);
size 1324 uspace/lib/c/generic/async/server.c bool async_data_read_receive(ipc_call_t *call, size_t *size)
size 1333 uspace/lib/c/generic/async/server.c if (size)
size 1334 uspace/lib/c/generic/async/server.c *size = (size_t) ipc_get_arg2(call);
size 1353 uspace/lib/c/generic/async/server.c errno_t async_data_read_finalize(ipc_call_t *call, const void *src, size_t size)
size 1361 uspace/lib/c/generic/async/server.c return ipc_answer_2(chandle, EOK, (sysarg_t) src, (sysarg_t) size);
size 1483 uspace/lib/c/generic/async/server.c bool async_data_write_receive(ipc_call_t *call, size_t *size)
size 1492 uspace/lib/c/generic/async/server.c if (size)
size 1493 uspace/lib/c/generic/async/server.c *size = (size_t) ipc_get_arg2(call);
size 1511 uspace/lib/c/generic/async/server.c errno_t async_data_write_finalize(ipc_call_t *call, void *dst, size_t size)
size 1515 uspace/lib/c/generic/async/server.c return async_answer_2(call, EOK, (sysarg_t) dst, (sysarg_t) size);
size 1546 uspace/lib/c/generic/async/server.c size_t size;
size 1547 uspace/lib/c/generic/async/server.c if (!async_data_write_receive(&call, &size)) {
size 1552 uspace/lib/c/generic/async/server.c if (size < min_size) {
size 1557 uspace/lib/c/generic/async/server.c if ((max_size > 0) && (size > max_size)) {
size 1562 uspace/lib/c/generic/async/server.c if ((granularity > 0) && ((size % granularity) != 0)) {
size 1570 uspace/lib/c/generic/async/server.c arg_data = malloc(size + 1);
size 1572 uspace/lib/c/generic/async/server.c arg_data = malloc(size);
size 1579 uspace/lib/c/generic/async/server.c errno_t rc = async_data_write_finalize(&call, arg_data, size);
size 1586 uspace/lib/c/generic/async/server.c ((char *) arg_data)[size] = 0;
size 1590 uspace/lib/c/generic/async/server.c *received = size;
size 52 uspace/lib/c/generic/config.c size_t size;
size 54 uspace/lib/c/generic/config.c boot_args = sysinfo_get_data("boot_args", &size);
size 55 uspace/lib/c/generic/config.c if (!boot_args || !size) {
size 110 uspace/lib/c/generic/ddi.c errno_t dmamem_map(void *virt, size_t size, unsigned int map_flags,
size 113 uspace/lib/c/generic/ddi.c return (errno_t) __SYSCALL6(SYS_DMAMEM_MAP, (sysarg_t) size,
size 138 uspace/lib/c/generic/ddi.c errno_t dmamem_map_anonymous(size_t size, uintptr_t constraint,
size 143 uspace/lib/c/generic/ddi.c return (errno_t) __SYSCALL6(SYS_DMAMEM_MAP, (sysarg_t) size,
size 148 uspace/lib/c/generic/ddi.c errno_t dmamem_unmap(void *virt, size_t size)
size 150 uspace/lib/c/generic/ddi.c return (errno_t) __SYSCALL3(SYS_DMAMEM_UNMAP, (sysarg_t) virt, (sysarg_t) size, 0);
size 173 uspace/lib/c/generic/ddi.c static errno_t iospace_enable(task_id_t id, void *ioaddr, size_t size)
size 178 uspace/lib/c/generic/ddi.c .size = size
size 197 uspace/lib/c/generic/ddi.c static errno_t iospace_disable(task_id_t id, void *ioaddr, size_t size)
size 202 uspace/lib/c/generic/ddi.c .size = size
size 232 uspace/lib/c/generic/ddi.c uintptr_t *phys, size_t *size)
size 245 uspace/lib/c/generic/ddi.c sz = res->res.io_range.size;
size 254 uspace/lib/c/generic/ddi.c sz = res->res.mem_range.size;
size 262 uspace/lib/c/generic/ddi.c if (size)
size 263 uspace/lib/c/generic/ddi.c *size = sz;
size 279 uspace/lib/c/generic/ddi.c errno_t pio_enable(void *pio_addr, size_t size, void **virt)
size 285 uspace/lib/c/generic/ddi.c return iospace_enable(task_get_id(), pio_addr, size);
size 296 uspace/lib/c/generic/ddi.c size_t pages = SIZE2PAGES(offset + size);
size 317 uspace/lib/c/generic/ddi.c errno_t pio_disable(void *virt, size_t size)
size 321 uspace/lib/c/generic/ddi.c return iospace_disable(task_get_id(), virt, size);
size 56 uspace/lib/c/generic/device/hw_res.c size_t size = count * sizeof(hw_resource_t);
size 57 uspace/lib/c/generic/device/hw_res.c hw_resource_t *resources = (hw_resource_t *) malloc(size);
size 64 uspace/lib/c/generic/device/hw_res.c rc = async_data_read_start(exch, resources, size);
size 126 uspace/lib/c/generic/device/hw_res.c unsigned channel, uint32_t pa, uint32_t size, uint8_t mode)
size 132 uspace/lib/c/generic/device/hw_res.c HW_RES_DMA_CHANNEL_SETUP, packed, pa, size);
size 104 uspace/lib/c/generic/device/hw_res_parsed.c size_t size;
size 112 uspace/lib/c/generic/device/hw_res_parsed.c size = res->res.io_range.size;
size 115 uspace/lib/c/generic/device/hw_res_parsed.c if ((size == 0) && (!(flags & HW_RES_KEEP_ZERO_AREA)))
size 129 uspace/lib/c/generic/device/hw_res_parsed.c if ((absolute == s_address) && (size == s_size))
size 136 uspace/lib/c/generic/device/hw_res_parsed.c RNGSZ(out->io_ranges.ranges[count]) = size;
size 147 uspace/lib/c/generic/device/hw_res_parsed.c size_t size;
size 155 uspace/lib/c/generic/device/hw_res_parsed.c size = res->res.mem_range.size;
size 158 uspace/lib/c/generic/device/hw_res_parsed.c if ((size == 0) && (!(flags & HW_RES_KEEP_ZERO_AREA)))
size 172 uspace/lib/c/generic/device/hw_res_parsed.c if ((absolute == s_address) && (size == s_size))
size 179 uspace/lib/c/generic/device/hw_res_parsed.c RNGSZ(out->mem_ranges.ranges[count]) = size;
size 268 uspace/lib/c/generic/io/io.c int setvbuf(FILE *stream, void *buf, int mode, size_t size)
size 275 uspace/lib/c/generic/io/io.c stream->buf_size = size;
size 494 uspace/lib/c/generic/io/io.c static size_t _fread(void *buf, size_t size, size_t nmemb, FILE *stream)
size 496 uspace/lib/c/generic/io/io.c return stream->ops->read(buf, size, nmemb, stream);
size 509 uspace/lib/c/generic/io/io.c static size_t _fwrite(const void *buf, size_t size, size_t nmemb, FILE *stream)
size 513 uspace/lib/c/generic/io/io.c if (size == 0 || nmemb == 0)
size 516 uspace/lib/c/generic/io/io.c nwritten = stream->ops->write(buf, size, nmemb, stream);
size 521 uspace/lib/c/generic/io/io.c return (nwritten / size);
size 587 uspace/lib/c/generic/io/io.c size_t fread(void *dest, size_t size, size_t nmemb, FILE *stream)
size 596 uspace/lib/c/generic/io/io.c if (size == 0 || nmemb == 0)
size 599 uspace/lib/c/generic/io/io.c bytes_left = size * nmemb;
size 613 uspace/lib/c/generic/io/io.c return total_read / size;
size 652 uspace/lib/c/generic/io/io.c return (total_read / size);
size 663 uspace/lib/c/generic/io/io.c size_t fwrite(const void *buf, size_t size, size_t nmemb, FILE *stream)
size 674 uspace/lib/c/generic/io/io.c if (size == 0 || nmemb == 0)
size 679 uspace/lib/c/generic/io/io.c now = _fwrite(buf, size, nmemb, stream);
size 695 uspace/lib/c/generic/io/io.c bytes_left = size * nmemb;
size 732 uspace/lib/c/generic/io/io.c return (total_written / size);
size 828 uspace/lib/c/generic/io/io.c char *fgets(char *str, int size, FILE *stream)
size 834 uspace/lib/c/generic/io/io.c while (idx < size - 1) {
size 905 uspace/lib/c/generic/io/io.c stream->pos = st.size + offset;
size 1024 uspace/lib/c/generic/io/io.c static size_t stdio_kio_read(void *buf, size_t size, size_t nmemb, FILE *stream)
size 1031 uspace/lib/c/generic/io/io.c static size_t stdio_kio_write(const void *buf, size_t size, size_t nmemb,
size 1037 uspace/lib/c/generic/io/io.c rc = kio_write(buf, size * nmemb, &nwritten);
size 1043 uspace/lib/c/generic/io/io.c return nwritten / size;
size 1054 uspace/lib/c/generic/io/io.c static size_t stdio_vfs_read(void *buf, size_t size, size_t nmemb, FILE *stream)
size 1059 uspace/lib/c/generic/io/io.c if (size == 0 || nmemb == 0)
size 1062 uspace/lib/c/generic/io/io.c rc = vfs_read(stream->fd, &stream->pos, buf, size * nmemb, &nread);
size 1070 uspace/lib/c/generic/io/io.c return (nread / size);
size 1074 uspace/lib/c/generic/io/io.c static size_t stdio_vfs_write(const void *buf, size_t size, size_t nmemb,
size 1080 uspace/lib/c/generic/io/io.c rc = vfs_write(stream->fd, &stream->pos, buf, size * nmemb, &nwritten);
size 1086 uspace/lib/c/generic/io/io.c return nwritten / size;
size 69 uspace/lib/c/generic/io/kio.c errno_t kio_write(const void *buf, size_t size, size_t *nwritten)
size 76 uspace/lib/c/generic/io/kio.c const char *endl = memchr(s, '\n', size);
size 87 uspace/lib/c/generic/io/kio.c size -= endl + 1 - s;
size 91 uspace/lib/c/generic/io/kio.c size_t sz = min(KIO_BUFFER_SIZE - used, size);
size 100 uspace/lib/c/generic/io/kio.c *nwritten = size;
size 109 uspace/lib/c/generic/io/kio.c void kio_command(const void *buf, size_t size)
size 111 uspace/lib/c/generic/io/kio.c (void) __SYSCALL3(SYS_KIO, KIO_COMMAND, (sysarg_t) buf, (sysarg_t) size);
size 133 uspace/lib/c/generic/io/kio.c static int kio_vprintf_str_write(const char *str, size_t size, void *data)
size 138 uspace/lib/c/generic/io/kio.c (void) kio_write(str, size, &wr);
size 142 uspace/lib/c/generic/io/kio.c static int kio_vprintf_wstr_write(const char32_t *str, size_t size, void *data)
size 148 uspace/lib/c/generic/io/kio.c while (offset < size) {
size 44 uspace/lib/c/generic/io/klog.c errno_t klog_write(log_level_t lvl, const void *buf, size_t size)
size 47 uspace/lib/c/generic/io/klog.c size, lvl);
size 50 uspace/lib/c/generic/io/klog.c errno_t klog_read(void *data, size_t size, size_t *nread)
size 53 uspace/lib/c/generic/io/klog.c size, 0, (sysarg_t) nread);
size 47 uspace/lib/c/generic/io/snprintf.c int snprintf(char *str, size_t size, const char *fmt, ...)
size 52 uspace/lib/c/generic/io/snprintf.c int ret = vsnprintf(str, size, fmt, args);
size 44 uspace/lib/c/generic/io/vprintf.c static int vprintf_str_write(const char *str, size_t size, void *stream)
size 46 uspace/lib/c/generic/io/vprintf.c size_t wr = fwrite(str, 1, size, (FILE *) stream);
size 50 uspace/lib/c/generic/io/vprintf.c static int vprintf_wstr_write(const char32_t *str, size_t size, void *stream)
size 55 uspace/lib/c/generic/io/vprintf.c while (offset < size) {
size 42 uspace/lib/c/generic/io/vsnprintf.c size_t size; /* Total size of the buffer (in bytes) */
size 64 uspace/lib/c/generic/io/vsnprintf.c static int vsnprintf_str_write(const char *str, size_t size, vsnprintf_data_t *data)
size 66 uspace/lib/c/generic/io/vsnprintf.c size_t left = data->size - data->len;
size 69 uspace/lib/c/generic/io/vsnprintf.c return ((int) size);
size 76 uspace/lib/c/generic/io/vsnprintf.c data->dst[data->size - 1] = 0;
size 77 uspace/lib/c/generic/io/vsnprintf.c data->len = data->size;
size 78 uspace/lib/c/generic/io/vsnprintf.c return ((int) size);
size 81 uspace/lib/c/generic/io/vsnprintf.c if (left <= size) {
size 89 uspace/lib/c/generic/io/vsnprintf.c while (index < size) {
size 90 uspace/lib/c/generic/io/vsnprintf.c char32_t uc = str_decode(str, &index, size);
size 92 uspace/lib/c/generic/io/vsnprintf.c if (chr_encode(uc, data->dst, &data->len, data->size - 1) != EOK)
size 102 uspace/lib/c/generic/io/vsnprintf.c return ((int) size);
size 106 uspace/lib/c/generic/io/vsnprintf.c memcpy((void *)(data->dst + data->len), (void *) str, size);
size 107 uspace/lib/c/generic/io/vsnprintf.c data->len += size;
size 115 uspace/lib/c/generic/io/vsnprintf.c return ((int) size);
size 135 uspace/lib/c/generic/io/vsnprintf.c static int vsnprintf_wstr_write(const char32_t *str, size_t size, vsnprintf_data_t *data)
size 139 uspace/lib/c/generic/io/vsnprintf.c while (index < (size / sizeof(char32_t))) {
size 140 uspace/lib/c/generic/io/vsnprintf.c size_t left = data->size - data->len;
size 143 uspace/lib/c/generic/io/vsnprintf.c return ((int) size);
size 150 uspace/lib/c/generic/io/vsnprintf.c data->dst[data->size - 1] = 0;
size 151 uspace/lib/c/generic/io/vsnprintf.c data->len = data->size;
size 152 uspace/lib/c/generic/io/vsnprintf.c return ((int) size);
size 155 uspace/lib/c/generic/io/vsnprintf.c if (chr_encode(str[index], data->dst, &data->len, data->size - 1) != EOK)
size 167 uspace/lib/c/generic/io/vsnprintf.c return ((int) size);
size 170 uspace/lib/c/generic/io/vsnprintf.c int vsnprintf(char *str, size_t size, const char *fmt, va_list ap)
size 173 uspace/lib/c/generic/io/vsnprintf.c size,
size 184 uspace/lib/c/generic/io/vsnprintf.c if (size > 0)
size 636 uspace/lib/c/generic/loc.c size_t size = loc_count_namespaces_internal(exch);
size 639 uspace/lib/c/generic/loc.c return size;
size 645 uspace/lib/c/generic/loc.c size_t size = loc_count_services_internal(exch, ns_handle);
size 648 uspace/lib/c/generic/loc.c return size;
size 91 uspace/lib/c/generic/malloc.c #define GROSS_SIZE(size) ((size) + STRUCT_OVERHEAD)
size 98 uspace/lib/c/generic/malloc.c #define NET_SIZE(size) ((size) - STRUCT_OVERHEAD)
size 101 uspace/lib/c/generic/malloc.c #define AREA_OVERHEAD(size) \
size 102 uspace/lib/c/generic/malloc.c (ALIGN_UP(GROSS_SIZE(size) + sizeof(heap_area_t), BASE_ALIGN))
size 124 uspace/lib/c/generic/malloc.c (((uintptr_t) (foot)) + sizeof(heap_block_foot_t) - (foot)->size))
size 131 uspace/lib/c/generic/malloc.c (((uintptr_t) (head)) + (head)->size - sizeof(heap_block_foot_t)))
size 167 uspace/lib/c/generic/malloc.c size_t size;
size 184 uspace/lib/c/generic/malloc.c size_t size;
size 235 uspace/lib/c/generic/malloc.c static void block_init(void *addr, size_t size, bool free, heap_area_t *area)
size 240 uspace/lib/c/generic/malloc.c head->size = size;
size 247 uspace/lib/c/generic/malloc.c foot->size = size;
size 269 uspace/lib/c/generic/malloc.c malloc_assert(head->size == foot->size);
size 297 uspace/lib/c/generic/malloc.c static bool area_create(size_t size)
size 300 uspace/lib/c/generic/malloc.c size_t asize = ALIGN_UP(size, PAGE_SIZE);
size 341 uspace/lib/c/generic/malloc.c static bool area_grow(heap_area_t *area, size_t size)
size 343 uspace/lib/c/generic/malloc.c if (size == 0)
size 349 uspace/lib/c/generic/malloc.c size_t gross_size = (size_t) (area->end - area->start) + size;
size 367 uspace/lib/c/generic/malloc.c size_t net_size = (size_t) (end - area->end) + last_head->size;
size 415 uspace/lib/c/generic/malloc.c size_t shrink_size = ALIGN_DOWN(last_head->size, PAGE_SIZE);
size 478 uspace/lib/c/generic/malloc.c block_init(prev_head, prev_head->size + excess,
size 518 uspace/lib/c/generic/malloc.c static void split_mark(heap_block_head_t *cur, const size_t size)
size 520 uspace/lib/c/generic/malloc.c malloc_assert(cur->size >= size);
size 523 uspace/lib/c/generic/malloc.c size_t split_limit = GROSS_SIZE(size);
size 525 uspace/lib/c/generic/malloc.c if (cur->size > split_limit) {
size 527 uspace/lib/c/generic/malloc.c void *next = ((void *) cur) + size;
size 528 uspace/lib/c/generic/malloc.c block_init(next, cur->size - size, true, cur->area);
size 529 uspace/lib/c/generic/malloc.c block_init(cur, size, false, cur->area);
size 560 uspace/lib/c/generic/malloc.c cur = (heap_block_head_t *) (((void *) cur) + cur->size)) {
size 568 uspace/lib/c/generic/malloc.c if ((cur->free) && (cur->size >= real_size)) {
size 588 uspace/lib/c/generic/malloc.c if (cur->size >= real_size + excess) {
size 603 uspace/lib/c/generic/malloc.c ((void *) cur - prev_foot->size);
size 607 uspace/lib/c/generic/malloc.c size_t reduced_size = cur->size - excess;
size 627 uspace/lib/c/generic/malloc.c block_init(prev_head, prev_head->size + excess,
size 650 uspace/lib/c/generic/malloc.c if (cur->size >= real_size + excess) {
size 651 uspace/lib/c/generic/malloc.c size_t reduced_size = cur->size - excess;
size 684 uspace/lib/c/generic/malloc.c static void *heap_grow_and_alloc(size_t size, size_t align)
size 686 uspace/lib/c/generic/malloc.c if (size == 0)
size 693 uspace/lib/c/generic/malloc.c if (area_grow(area, size + align)) {
size 698 uspace/lib/c/generic/malloc.c malloc_area(area, first, NULL, size, align);
size 705 uspace/lib/c/generic/malloc.c if (area_create(AREA_OVERHEAD(size + align))) {
size 710 uspace/lib/c/generic/malloc.c malloc_area(last_heap_area, first, NULL, size, align);
size 728 uspace/lib/c/generic/malloc.c static void *malloc_internal(size_t size, size_t align)
size 732 uspace/lib/c/generic/malloc.c if (size == 0)
size 733 uspace/lib/c/generic/malloc.c size = 1;
size 750 uspace/lib/c/generic/malloc.c size_t gross_size = GROSS_SIZE(ALIGN_UP(size, BASE_ALIGN));
size 787 uspace/lib/c/generic/malloc.c void *malloc(const size_t size)
size 790 uspace/lib/c/generic/malloc.c void *block = malloc_internal(size, BASE_ALIGN);
size 804 uspace/lib/c/generic/malloc.c void *memalign(const size_t align, const size_t size)
size 813 uspace/lib/c/generic/malloc.c void *block = malloc_internal(size, palign);
size 827 uspace/lib/c/generic/malloc.c void *realloc(void *const addr, size_t size)
size 829 uspace/lib/c/generic/malloc.c if (size == 0) {
size 831 uspace/lib/c/generic/malloc.c size = 1;
size 835 uspace/lib/c/generic/malloc.c return malloc(size);
size 854 uspace/lib/c/generic/malloc.c size_t real_size = GROSS_SIZE(ALIGN_UP(size, BASE_ALIGN));
size 855 uspace/lib/c/generic/malloc.c size_t orig_size = head->size;
size 873 uspace/lib/c/generic/malloc.c (heap_block_head_t *) (((void *) head) + head->size);
size 888 uspace/lib/c/generic/malloc.c next_head->size < area->end);
size 909 uspace/lib/c/generic/malloc.c if (have_next && (head->size + next_head->size >= real_size) &&
size 912 uspace/lib/c/generic/malloc.c block_init(head, head->size + next_head->size, false,
size 926 uspace/lib/c/generic/malloc.c ptr = malloc(size);
size 985 uspace/lib/c/generic/malloc.c (heap_block_head_t *) (((void *) head) + head->size);
size 990 uspace/lib/c/generic/malloc.c block_init(head, head->size + next_head->size, true, area);
size 999 uspace/lib/c/generic/malloc.c (heap_block_head_t *) (((void *) head) - prev_foot->size);
size 1004 uspace/lib/c/generic/malloc.c block_init(prev_head, prev_head->size + head->size, true,
size 1039 uspace/lib/c/generic/malloc.c head = (heap_block_head_t *) (((void *) head) + head->size)) {
size 1050 uspace/lib/c/generic/malloc.c (head->size != foot->size)) {
size 46 uspace/lib/c/generic/pio_trace.c size_t size;
size 56 uspace/lib/c/generic/pio_trace.c static inline region_t *region_create(volatile void *base, size_t size,
size 64 uspace/lib/c/generic/pio_trace.c new_reg->size = size;
size 94 uspace/lib/c/generic/pio_trace.c if ((r >= reg->base) && (r < reg->base + reg->size)) {
size 97 uspace/lib/c/generic/pio_trace.c reg->size, reg->data, write);
size 104 uspace/lib/c/generic/pio_trace.c errno_t pio_trace_enable(void *base, size_t size, trace_fnc log, void *data)
size 109 uspace/lib/c/generic/pio_trace.c region_t *region = region_create(base, size, log, data);
size 127 uspace/lib/c/generic/pio_trace.c if (r >= reg->base && (r < reg->base + reg->size)) {
size 50 uspace/lib/c/generic/private/stdio.h size_t (*read)(void *buf, size_t size, size_t nmemb, FILE *stream);
size 52 uspace/lib/c/generic/private/stdio.h size_t (*write)(const void *buf, size_t size, size_t nmemb,
size 39 uspace/lib/c/generic/smc.c errno_t smc_coherence(void *address, size_t size)
size 42 uspace/lib/c/generic/smc.c (sysarg_t) size);
size 69 uspace/lib/c/generic/stats.c size_t size = 0;
size 71 uspace/lib/c/generic/stats.c (stats_cpu_t *) sysinfo_get_data("system.cpus", &size);
size 73 uspace/lib/c/generic/stats.c if ((size % sizeof(stats_cpu_t)) != 0) {
size 80 uspace/lib/c/generic/stats.c *count = size / sizeof(stats_cpu_t);
size 94 uspace/lib/c/generic/stats.c size_t size = 0;
size 96 uspace/lib/c/generic/stats.c (stats_physmem_t *) sysinfo_get_data("system.physmem", &size);
size 98 uspace/lib/c/generic/stats.c if (size != sizeof(stats_physmem_t)) {
size 118 uspace/lib/c/generic/stats.c size_t size = 0;
size 120 uspace/lib/c/generic/stats.c (stats_task_t *) sysinfo_get_data("system.tasks", &size);
size 122 uspace/lib/c/generic/stats.c if ((size % sizeof(stats_task_t)) != 0) {
size 129 uspace/lib/c/generic/stats.c *count = size / sizeof(stats_task_t);
size 147 uspace/lib/c/generic/stats.c size_t size = 0;
size 149 uspace/lib/c/generic/stats.c (stats_task_t *) sysinfo_get_data(name, &size);
size 151 uspace/lib/c/generic/stats.c if (size != sizeof(stats_task_t)) {
size 171 uspace/lib/c/generic/stats.c size_t size = 0;
size 173 uspace/lib/c/generic/stats.c (stats_thread_t *) sysinfo_get_data("system.threads", &size);
size 175 uspace/lib/c/generic/stats.c if ((size % sizeof(stats_thread_t)) != 0) {
size 182 uspace/lib/c/generic/stats.c *count = size / sizeof(stats_thread_t);
size 197 uspace/lib/c/generic/stats.c size_t size = 0;
size 199 uspace/lib/c/generic/stats.c (stats_ipcc_t *) sysinfo_get_data("system.ipccs", &size);
size 201 uspace/lib/c/generic/stats.c if ((size % sizeof(stats_ipcc_t)) != 0) {
size 208 uspace/lib/c/generic/stats.c *count = size / sizeof(stats_ipcc_t);
size 223 uspace/lib/c/generic/stats.c size_t size = 0;
size 225 uspace/lib/c/generic/stats.c (stats_exc_t *) sysinfo_get_data("system.exceptions", &size);
size 227 uspace/lib/c/generic/stats.c if ((size % sizeof(stats_exc_t)) != 0) {
size 234 uspace/lib/c/generic/stats.c *count = size / sizeof(stats_exc_t);
size 252 uspace/lib/c/generic/stats.c size_t size = 0;
size 254 uspace/lib/c/generic/stats.c (stats_exc_t *) sysinfo_get_data(name, &size);
size 256 uspace/lib/c/generic/stats.c if (size != sizeof(stats_exc_t)) {
size 276 uspace/lib/c/generic/stats.c size_t size = 0;
size 278 uspace/lib/c/generic/stats.c (load_t *) sysinfo_get_data("system.load", &size);
size 280 uspace/lib/c/generic/stats.c if ((size % sizeof(load_t)) != 0) {
size 287 uspace/lib/c/generic/stats.c *count = size / sizeof(load_t);
size 128 uspace/lib/c/generic/stdio/scanf.c size_t size;
size 358 uspace/lib/c/generic/stdio/scanf.c strbuf->size = 0;
size 365 uspace/lib/c/generic/stdio/scanf.c strbuf->size = 1;
size 366 uspace/lib/c/generic/stdio/scanf.c strbuf->buf = malloc(strbuf->size);
size 379 uspace/lib/c/generic/stdio/scanf.c strbuf->size = 0;
size 399 uspace/lib/c/generic/stdio/scanf.c if (strbuf->memalloc && idx >= strbuf->size) {
size 401 uspace/lib/c/generic/stdio/scanf.c strbuf->size = strbuf->size * 2;
size 402 uspace/lib/c/generic/stdio/scanf.c strbuf->buf = realloc(strbuf->buf, strbuf->size);
size 54 uspace/lib/c/generic/stdio/sstream.c static size_t stdio_str_read(void *buf, size_t size, size_t nmemb, FILE *stream)
size 61 uspace/lib/c/generic/stdio/sstream.c while (nread < size * nmemb) {
size 73 uspace/lib/c/generic/stdio/sstream.c return (nread / size);
size 77 uspace/lib/c/generic/stdio/sstream.c static size_t stdio_str_write(const void *buf, size_t size, size_t nmemb,
size 51 uspace/lib/c/generic/sysinfo.c static errno_t sysinfo_get_keys_size(const char *path, size_t *size)
size 54 uspace/lib/c/generic/sysinfo.c (sysarg_t) str_size(path), (sysarg_t) size);
size 68 uspace/lib/c/generic/sysinfo.c char *sysinfo_get_keys(const char *path, size_t *size)
size 77 uspace/lib/c/generic/sysinfo.c errno_t ret = sysinfo_get_keys_size(path, size);
size 78 uspace/lib/c/generic/sysinfo.c if ((ret != EOK) || (size == 0)) {
size 82 uspace/lib/c/generic/sysinfo.c *size = 0;
size 86 uspace/lib/c/generic/sysinfo.c char *data = malloc(*size);
size 88 uspace/lib/c/generic/sysinfo.c *size = 0;
size 95 uspace/lib/c/generic/sysinfo.c (sysarg_t) str_size(path), (sysarg_t) data, (sysarg_t) *size,
size 98 uspace/lib/c/generic/sysinfo.c *size = sz;
size 103 uspace/lib/c/generic/sysinfo.c *size = 0;
size 144 uspace/lib/c/generic/sysinfo.c static errno_t sysinfo_get_data_size(const char *path, size_t *size)
size 147 uspace/lib/c/generic/sysinfo.c (sysarg_t) str_size(path), (sysarg_t) size);
size 161 uspace/lib/c/generic/sysinfo.c void *sysinfo_get_data(const char *path, size_t *size)
size 170 uspace/lib/c/generic/sysinfo.c errno_t ret = sysinfo_get_data_size(path, size);
size 171 uspace/lib/c/generic/sysinfo.c if ((ret != EOK) || (size == 0)) {
size 176 uspace/lib/c/generic/sysinfo.c *size = 0;
size 180 uspace/lib/c/generic/sysinfo.c void *data = malloc(*size);
size 182 uspace/lib/c/generic/sysinfo.c *size = 0;
size 189 uspace/lib/c/generic/sysinfo.c (sysarg_t) str_size(path), (sysarg_t) data, (sysarg_t) *size,
size 192 uspace/lib/c/generic/sysinfo.c *size = sz;
size 197 uspace/lib/c/generic/sysinfo.c *size = 0;
size 213 uspace/lib/c/generic/sysinfo.c void *sysinfo_get_property(const char *path, const char *name, size_t *size)
size 218 uspace/lib/c/generic/sysinfo.c *size = 0;
size 251 uspace/lib/c/generic/sysinfo.c *size = value_size;
size 260 uspace/lib/c/generic/sysinfo.c *size = 0;
size 200 uspace/lib/c/generic/thread/tls.c tcb_t *tls_alloc_variant_1(size_t size, size_t align)
size 202 uspace/lib/c/generic/thread/tls.c tcb_t *tcb = memalign(align, size);
size 214 uspace/lib/c/generic/thread/tls.c void tls_free_variant_1(tcb_t *tcb, size_t size, size_t align)
size 229 uspace/lib/c/generic/thread/tls.c tcb_t *tls_alloc_variant_2(size_t size, size_t align)
size 231 uspace/lib/c/generic/thread/tls.c void *data = memalign(align, size);
size 235 uspace/lib/c/generic/thread/tls.c tcb_t *tcb = (tcb_t *) (data + size - sizeof(tcb_t));
size 247 uspace/lib/c/generic/thread/tls.c void tls_free_variant_2(tcb_t *tcb, size_t size, size_t align)
size 250 uspace/lib/c/generic/thread/tls.c void *start = ((void *) tcb) + sizeof(tcb_t) - size;
size 265 uspace/lib/c/generic/uuid.c size_t size = 37;
size 266 uspace/lib/c/generic/uuid.c char *str = malloc(sizeof(char) * size);
size 274 uspace/lib/c/generic/uuid.c int ret = snprintf(str, size, format, uuid->time_low, uuid->time_mid,
size 132 uspace/lib/c/generic/vfs/vfs.c size_t size;
size 133 uspace/lib/c/generic/vfs/vfs.c char *apath = vfs_absolutize(path, &size);
size 183 uspace/lib/c/generic/vfs/vfs.c size_t size = str_size(path);
size 189 uspace/lib/c/generic/vfs/vfs.c ncwd_path_nc = malloc(cwd_size + 1 + size + 1);
size 194 uspace/lib/c/generic/vfs/vfs.c str_cpy(ncwd_path_nc, cwd_size + 1 + size + 1, cwd_path);
size 198 uspace/lib/c/generic/vfs/vfs.c ncwd_path_nc = malloc(size + 1);
size 205 uspace/lib/c/generic/vfs/vfs.c str_append(ncwd_path_nc, cwd_size + 1 + size + 1, path);
size 263 uspace/lib/c/generic/vfs/vfs.c errno_t vfs_cwd_get(char *buf, size_t size)
size 267 uspace/lib/c/generic/vfs/vfs.c if ((cwd_size == 0) || (size < cwd_size + 1)) {
size 272 uspace/lib/c/generic/vfs/vfs.c str_cpy(buf, size, cwd_path);
size 409 uspace/lib/c/generic/vfs/vfs.c sysarg_t size;
size 415 uspace/lib/c/generic/vfs/vfs.c errno_t rc = async_req_0_1(exch, VFS_IN_FSTYPES, &size);
size 422 uspace/lib/c/generic/vfs/vfs.c buf = malloc(size);
size 425 uspace/lib/c/generic/vfs/vfs.c size = 1;
size 428 uspace/lib/c/generic/vfs/vfs.c rc = async_data_read_start(exch, buf, size);
size 440 uspace/lib/c/generic/vfs/vfs.c while (i < size) {
size 462 uspace/lib/c/generic/vfs/vfs.c while (i < size) {
size 469 uspace/lib/c/generic/vfs/vfs.c fstypes->size = size;
size 484 uspace/lib/c/generic/vfs/vfs.c fstypes->size = 0;
size 557 uspace/lib/c/generic/vfs/vfs.c size_t size;
size 558 uspace/lib/c/generic/vfs/vfs.c char *p = vfs_absolutize(path, &size);
size 44 uspace/lib/c/include/as.h static inline size_t SIZE2PAGES(size_t size)
size 46 uspace/lib/c/include/as.h if (size == 0)
size 49 uspace/lib/c/include/as.h return (size_t) ((size - 1) >> PAGE_WIDTH) + 1;
size 74 uspace/lib/c/include/ddi.h volatile void *base, size_t size, void *data, bool write);
size 82 uspace/lib/c/include/device/hw_res.h size_t size;
size 89 uspace/lib/c/include/device/hw_res.h size_t size;
size 50 uspace/lib/c/include/device/hw_res_parsed.h #define RNGSZ(rng) (rng).size
size 67 uspace/lib/c/include/device/hw_res_parsed.h size_t size;
size 49 uspace/lib/c/include/device/pio_window.h size_t size;
size 41 uspace/lib/c/include/smc.h extern errno_t smc_coherence(void *address, size_t size);
size 63 uspace/lib/c/include/vfs/vfs.h aoff64_t size;
size 78 uspace/lib/c/include/vfs/vfs.h size_t size;
size 39 uspace/lib/c/test/double_to_str.c size_t size = 255;
size 40 uspace/lib/c/test/double_to_str.c char buf[size];
size 43 uspace/lib/c/test/double_to_str.c int ret = double_to_short_str(d, buf, size, &dec);
size 52 uspace/lib/c/test/double_to_str.c size_t size = 255;
size 53 uspace/lib/c/test/double_to_str.c char buf[size];
size 56 uspace/lib/c/test/double_to_str.c int ret = double_to_short_str(d, buf, size, &dec);
size 65 uspace/lib/c/test/double_to_str.c size_t size = 255;
size 66 uspace/lib/c/test/double_to_str.c char buf[size];
size 69 uspace/lib/c/test/double_to_str.c int ret = double_to_short_str(d, buf, size, &dec);
size 78 uspace/lib/c/test/double_to_str.c size_t size = 255;
size 79 uspace/lib/c/test/double_to_str.c char buf[size];
size 82 uspace/lib/c/test/double_to_str.c int ret = double_to_short_str(d, buf, size, &dec);
size 91 uspace/lib/c/test/double_to_str.c size_t size = 255;
size 92 uspace/lib/c/test/double_to_str.c char buf[size];
size 95 uspace/lib/c/test/double_to_str.c int ret = double_to_short_str(d, buf, size, &dec);
size 104 uspace/lib/c/test/double_to_str.c size_t size = 255;
size 105 uspace/lib/c/test/double_to_str.c char buf[size];
size 108 uspace/lib/c/test/double_to_str.c int ret = double_to_short_str(d, buf, size, &dec);
size 117 uspace/lib/c/test/double_to_str.c size_t size = 255;
size 118 uspace/lib/c/test/double_to_str.c char buf[size];
size 121 uspace/lib/c/test/double_to_str.c int ret = double_to_short_str(d, buf, size, &dec);
size 130 uspace/lib/c/test/double_to_str.c size_t size = 255;
size 131 uspace/lib/c/test/double_to_str.c char buf[size];
size 134 uspace/lib/c/test/double_to_str.c int ret = double_to_fixed_str(d, -1, 3, buf, size, &dec);
size 143 uspace/lib/c/test/double_to_str.c size_t size = 255;
size 144 uspace/lib/c/test/double_to_str.c char buf[size];
size 147 uspace/lib/c/test/double_to_str.c int ret = double_to_fixed_str(d, -1, 3, buf, size, &dec);
size 156 uspace/lib/c/test/double_to_str.c size_t size = 255;
size 157 uspace/lib/c/test/double_to_str.c char buf[size];
size 160 uspace/lib/c/test/double_to_str.c int ret = double_to_fixed_str(d, -1, 3, buf, size, &dec);
size 169 uspace/lib/c/test/double_to_str.c size_t size = 255;
size 170 uspace/lib/c/test/double_to_str.c char buf[size];
size 173 uspace/lib/c/test/double_to_str.c int ret = double_to_fixed_str(d, -1, 3, buf, size, &dec);
size 180 uspace/lib/c/test/double_to_str.c ret = double_to_fixed_str(d, -1, 3, buf, size, &dec);
size 188 uspace/lib/c/test/double_to_str.c size_t size = 255;
size 189 uspace/lib/c/test/double_to_str.c char buf[size];
size 192 uspace/lib/c/test/double_to_str.c int ret = double_to_fixed_str(d, -1, 3, buf, size, &dec);
size 201 uspace/lib/c/test/double_to_str.c size_t size = 255;
size 202 uspace/lib/c/test/double_to_str.c char buf[size];
size 205 uspace/lib/c/test/double_to_str.c int ret = double_to_fixed_str(d, -1, 0, buf, size, &dec);
size 50 uspace/lib/c/test/gsort.c int size = 10;
size 51 uspace/lib/c/test/gsort.c int data[size];
size 53 uspace/lib/c/test/gsort.c for (int i = 0; i < size; i++) {
size 57 uspace/lib/c/test/gsort.c bool ret = gsort(data, size, sizeof(int), cmp_func, NULL);
size 60 uspace/lib/c/test/gsort.c for (int i = 0; i < size; i++) {
size 68 uspace/lib/c/test/gsort.c int size = 10;
size 69 uspace/lib/c/test/gsort.c int data[size];
size 71 uspace/lib/c/test/gsort.c for (int i = 0; i < size; i++) {
size 80 uspace/lib/c/test/gsort.c bool ret = gsort(data, size, sizeof(int), cmp_func, NULL);
size 84 uspace/lib/c/test/gsort.c for (int i = 1; i < size; i++) {
size 93 uspace/lib/c/test/gsort.c int size = 10;
size 94 uspace/lib/c/test/gsort.c int data[size];
size 96 uspace/lib/c/test/gsort.c for (int i = 0; i < size; i++) {
size 97 uspace/lib/c/test/gsort.c data[i] = size - i;
size 100 uspace/lib/c/test/gsort.c bool ret = gsort(&data, size, sizeof(int), cmp_func, NULL);
size 103 uspace/lib/c/test/gsort.c for (int i = 0; i < size; i++) {
size 102 uspace/lib/clipboard/src/clipboard.c size_t size = str_size(str);
size 104 uspace/lib/clipboard/src/clipboard.c if (size == 0) {
size 115 uspace/lib/clipboard/src/clipboard.c errno_t rc = async_data_write_start(exch, (void *) str, size);
size 148 uspace/lib/clipboard/src/clipboard.c sysarg_t size;
size 150 uspace/lib/clipboard/src/clipboard.c errno_t rc = async_req_0_2(exch, CLIPBOARD_CONTENT, &size, &tag);
size 169 uspace/lib/clipboard/src/clipboard.c sbuf = malloc(size + 1);
size 175 uspace/lib/clipboard/src/clipboard.c rc = async_data_read_start(exch, (void *) sbuf, size);
size 198 uspace/lib/clipboard/src/clipboard.c sbuf[size] = 0;
size 61 uspace/lib/compress/gzip.c uint32_t size;
size 106 uspace/lib/compress/gzip.c *destlen = uint32_t_le2host(footer.size);
size 76 uspace/lib/console/src/con_srv.c size_t size;
size 80 uspace/lib/console/src/con_srv.c if (!async_data_read_receive(&call, &size)) {
size 85 uspace/lib/console/src/con_srv.c buf = malloc(size);
size 100 uspace/lib/console/src/con_srv.c rc = srv->srvs->ops->read(srv, buf, size, &nread);
size 117 uspace/lib/console/src/con_srv.c size_t size;
size 120 uspace/lib/console/src/con_srv.c rc = async_data_write_accept(&data, false, 0, 0, 0, &size);
size 132 uspace/lib/console/src/con_srv.c rc = srv->srvs->ops->write(srv, data, size, &nwritten);
size 343 uspace/lib/console/src/con_srv.c size_t size;
size 353 uspace/lib/console/src/con_srv.c if (!async_share_in_receive(&call, &size)) {
size 359 uspace/lib/console/src/con_srv.c if (size != PAGES2SIZE(SIZE2PAGES(cols * rows * sizeof(charfield_t)))) {
size 124 uspace/lib/cpp/include/__bits/adt/bitset.hpp auto len = n < (str.size() - pos) ? n : (str.size() - pos);
size 343 uspace/lib/cpp/include/__bits/adt/bitset.hpp return count() == size();
size 977 uspace/lib/cpp/include/__bits/adt/deque.hpp void prepare_for_size_(size_type size)
size 982 uspace/lib/cpp/include/__bits/adt/deque.hpp bucket_count_ = bucket_capacity_ = size / bucket_size_ + 2;
size 988 uspace/lib/cpp/include/__bits/adt/deque.hpp back_bucket_idx_ = size % bucket_size_;
size 1154 uspace/lib/cpp/include/__bits/adt/deque.hpp if (lhs.size() != rhs.size())
size 1157 uspace/lib/cpp/include/__bits/adt/deque.hpp for (decltype(lhs.size()) i = 0; i < lhs.size(); ++i)
size 1169 uspace/lib/cpp/include/__bits/adt/deque.hpp auto min_size = min(lhs.size(), rhs.size());
size 1170 uspace/lib/cpp/include/__bits/adt/deque.hpp for (decltype(lhs.size()) i = 0; i < min_size; ++i)
size 1176 uspace/lib/cpp/include/__bits/adt/deque.hpp if (lhs.size() == rhs.size())
size 1179 uspace/lib/cpp/include/__bits/adt/deque.hpp return lhs.size() < rhs.size();
size 343 uspace/lib/cpp/include/__bits/adt/hash_table.hpp return table_[n].size();
size 464 uspace/lib/cpp/include/__bits/adt/hash_table.hpp if (size() != other.size())
size 74 uspace/lib/cpp/include/__bits/adt/initializer_list.hpp constexpr initializer_list(iterator begin, size_type size)
size 75 uspace/lib/cpp/include/__bits/adt/initializer_list.hpp : begin_{begin}, size_{size}
size 262 uspace/lib/cpp/include/__bits/adt/map.hpp return tree_.size();
size 921 uspace/lib/cpp/include/__bits/adt/map.hpp return tree_.size();
size 114 uspace/lib/cpp/include/__bits/adt/queue.hpp return c.size();
size 303 uspace/lib/cpp/include/__bits/adt/queue.hpp return c.size();
size 303 uspace/lib/cpp/include/__bits/adt/rbtree.hpp if (size_ != other.size())
size 238 uspace/lib/cpp/include/__bits/adt/set.hpp return tree_.size();
size 719 uspace/lib/cpp/include/__bits/adt/set.hpp return tree_.size();
size 97 uspace/lib/cpp/include/__bits/adt/stack.hpp return c.size();
size 187 uspace/lib/cpp/include/__bits/adt/unordered_map.hpp table_.reserve(init.size());
size 206 uspace/lib/cpp/include/__bits/adt/unordered_map.hpp return table_.size();
size 864 uspace/lib/cpp/include/__bits/adt/unordered_map.hpp table_.reserve(init.size());
size 883 uspace/lib/cpp/include/__bits/adt/unordered_map.hpp return table_.size();
size 192 uspace/lib/cpp/include/__bits/adt/unordered_set.hpp table_.reserve(init.size());
size 211 uspace/lib/cpp/include/__bits/adt/unordered_set.hpp return table_.size();
size 608 uspace/lib/cpp/include/__bits/adt/unordered_set.hpp table_.reserve(init.size());
size 627 uspace/lib/cpp/include/__bits/adt/unordered_set.hpp return table_.size();
size 126 uspace/lib/cpp/include/__bits/adt/vector.hpp : data_{nullptr}, size_{init.size()}, capacity_{init.size()},
size 186 uspace/lib/cpp/include/__bits/adt/vector.hpp void assign(size_type size, const T& val)
size 190 uspace/lib/cpp/include/__bits/adt/vector.hpp vector tmp(size, val);
size 359 uspace/lib/cpp/include/__bits/adt/vector.hpp return at(size - 1);
size 464 uspace/lib/cpp/include/__bits/adt/vector.hpp pos = shift_(pos, init.size());
size 520 uspace/lib/cpp/include/__bits/adt/vector.hpp void resize_with_copy_(size_type size, size_type capacity)
size 522 uspace/lib/cpp/include/__bits/adt/vector.hpp if (size < size_)
size 523 uspace/lib/cpp/include/__bits/adt/vector.hpp destroy_from_end_until_(begin() + size);
size 529 uspace/lib/cpp/include/__bits/adt/vector.hpp auto to_copy = min(size, size_);
size 539 uspace/lib/cpp/include/__bits/adt/vector.hpp size_ = size;
size 597 uspace/lib/cpp/include/__bits/adt/vector.hpp if (lhs.size() != rhs.size())
size 600 uspace/lib/cpp/include/__bits/adt/vector.hpp for (decltype(lhs.size()) i = 0; i < lhs.size(); ++i)
size 612 uspace/lib/cpp/include/__bits/adt/vector.hpp auto min_size = min(lhs.size(), rhs.size());
size 613 uspace/lib/cpp/include/__bits/adt/vector.hpp for (decltype(lhs.size()) i = 0; i < min_size; ++i)
size 619 uspace/lib/cpp/include/__bits/adt/vector.hpp if (lhs.size() == rhs.size())
size 622 uspace/lib/cpp/include/__bits/adt/vector.hpp return lhs.size() < rhs.size();
size 174 uspace/lib/cpp/include/__bits/io/sstream.hpp auto size = static_cast<size_t>(this->output_next_ - this->output_begin_);
size 175 uspace/lib/cpp/include/__bits/io/sstream.hpp str_.size_ = size;
size 249 uspace/lib/cpp/include/__bits/io/sstream.hpp this->output_end_ = str_.begin() + str_.size() + 1;
size 1140 uspace/lib/cpp/include/__bits/iterator.hpp constexpr auto size(const Container& c) -> decltype(c.size())
size 1142 uspace/lib/cpp/include/__bits/iterator.hpp return c.size();
size 1166 uspace/lib/cpp/include/__bits/iterator.hpp return init.size() == 0;
size 180 uspace/lib/cpp/include/__bits/locale/num_get.hpp if (true_str.size() <= i && false_str.size() <= i)
size 184 uspace/lib/cpp/include/__bits/locale/num_get.hpp if (i < true_str.size())
size 186 uspace/lib/cpp/include/__bits/locale/num_get.hpp if (i < false_str.size())
size 197 uspace/lib/cpp/include/__bits/locale/num_get.hpp if (i == true_str.size() && true_str == true_target)
size 206 uspace/lib/cpp/include/__bits/locale/num_get.hpp else if (i == false_str.size() && false_str == false_target)
size 300 uspace/lib/cpp/include/__bits/locale/num_get.hpp auto size = fill_buffer_integral_(in, end, base);
size 301 uspace/lib/cpp/include/__bits/locale/num_get.hpp if (size > 0)
size 250 uspace/lib/cpp/include/__bits/locale/num_put.hpp iter_type put_adjusted_buffer_(iter_type it, ios_base& base, char_type fill, size_t size) const
size 257 uspace/lib/cpp/include/__bits/locale/num_put.hpp if (base.width() > 0 && size < width)
size 258 uspace/lib/cpp/include/__bits/locale/num_put.hpp to_fill = width - size;
size 264 uspace/lib/cpp/include/__bits/locale/num_put.hpp it = put_buffer_(it, base, fill, 0, size);
size 272 uspace/lib/cpp/include/__bits/locale/num_put.hpp it = put_buffer_(it, base, fill, 0, size);
size 282 uspace/lib/cpp/include/__bits/locale/num_put.hpp it = put_buffer_(it, base, fill, 0, size);
size 286 uspace/lib/cpp/include/__bits/locale/num_put.hpp it = put_buffer_(it, base, fill, 0, size);
size 292 uspace/lib/cpp/include/__bits/locale/num_put.hpp iter_type put_buffer_(iter_type it, ios_base& base, char_type fill, size_t start, size_t size) const
size 298 uspace/lib/cpp/include/__bits/locale/num_put.hpp for (size_t i = start; i < size; ++i)
size 1082 uspace/lib/cpp/include/__bits/random.hpp auto s = vec_.size();
size 1124 uspace/lib/cpp/include/__bits/random.hpp return vec_.size();
size 506 uspace/lib/cpp/include/__bits/string/string.hpp auto len = min(n, other.size() - pos);
size 554 uspace/lib/cpp/include/__bits/string/string.hpp : basic_string{init.begin(), init.size(), alloc}
size 693 uspace/lib/cpp/include/__bits/string/string.hpp return size();
size 821 uspace/lib/cpp/include/__bits/string/string.hpp return append(init.begin(), init.size());
size 826 uspace/lib/cpp/include/__bits/string/string.hpp return append(str.data(), str.size());
size 832 uspace/lib/cpp/include/__bits/string/string.hpp if (pos < str.size())
size 834 uspace/lib/cpp/include/__bits/string/string.hpp auto len = min(n, str.size() - pos);
size 845 uspace/lib/cpp/include/__bits/string/string.hpp traits_type::copy(data_ + size(), str, n);
size 870 uspace/lib/cpp/include/__bits/string/string.hpp return append(init.begin(), init.size());
size 895 uspace/lib/cpp/include/__bits/string/string.hpp if (pos < str.size())
size 897 uspace/lib/cpp/include/__bits/string/string.hpp auto len = min(n, str.size() - pos);
size 936 uspace/lib/cpp/include/__bits/string/string.hpp return assign(init.begin(), init.size());
size 942 uspace/lib/cpp/include/__bits/string/string.hpp return insert(pos, str.data(), str.size());
size 950 uspace/lib/cpp/include/__bits/string/string.hpp auto len = min(n, str.size() - pos2);
size 1067 uspace/lib/cpp/include/__bits/string/string.hpp return replace(pos, n, str.data(), str.size());
size 1074 uspace/lib/cpp/include/__bits/string/string.hpp auto len = min(n2, str.size() - pos2);
size 1147 uspace/lib/cpp/include/__bits/string/string.hpp return replace(i1 - begin(), i2 - i1, init.begin(), init.size());
size 1207 uspace/lib/cpp/include/__bits/string/string.hpp return find(str.c_str(), pos, str.size());
size 1212 uspace/lib/cpp/include/__bits/string/string.hpp if (empty() || len == 0 || len + pos > size())
size 1248 uspace/lib/cpp/include/__bits/string/string.hpp return rfind(str.c_str(), pos, str.size());
size 1253 uspace/lib/cpp/include/__bits/string/string.hpp if (empty() || len == 0 || len + pos > size())
size 1289 uspace/lib/cpp/include/__bits/string/string.hpp return find_first_of(str.c_str(), pos, str.size());
size 1294 uspace/lib/cpp/include/__bits/string/string.hpp if (empty() || len == 0 || pos >= size())
size 1321 uspace/lib/cpp/include/__bits/string/string.hpp return find_last_of(str.c_str(), pos, str.size());
size 1350 uspace/lib/cpp/include/__bits/string/string.hpp return find_first_not_of(str.c_str(), pos, str.size());
size 1355 uspace/lib/cpp/include/__bits/string/string.hpp if (empty() || pos >= size())
size 1391 uspace/lib/cpp/include/__bits/string/string.hpp return find_last_not_of(str.c_str(), pos, str.size());
size 1438 uspace/lib/cpp/include/__bits/string/string.hpp auto len = min(size(), other.size());
size 1443 uspace/lib/cpp/include/__bits/string/string.hpp else if (size() == other.size())
size 1445 uspace/lib/cpp/include/__bits/string/string.hpp else if (size() > other.size())
size 1495 uspace/lib/cpp/include/__bits/string/string.hpp void init_(const value_type* str, size_type size)
size 1500 uspace/lib/cpp/include/__bits/string/string.hpp size_ = size;
size 1501 uspace/lib/cpp/include/__bits/string/string.hpp capacity_ = size + 1;
size 1504 uspace/lib/cpp/include/__bits/string/string.hpp traits_type::copy(data_, str, size);
size 1538 uspace/lib/cpp/include/__bits/string/string.hpp void resize_with_copy_(size_type size, size_type capacity)
size 1544 uspace/lib/cpp/include/__bits/string/string.hpp auto to_copy = min(size, size_);
size 1553 uspace/lib/cpp/include/__bits/string/string.hpp size_ = size;
size 94 uspace/lib/cpp/include/__bits/string/string_io.hpp auto size = str.size();
size 98 uspace/lib/cpp/include/__bits/string/string_io.hpp to_pad = (static_cast<size_t>(width) - size);
size 108 uspace/lib/cpp/include/__bits/string/string_io.hpp os.rdbuf()->sputn(str.data(), size);
size 117 uspace/lib/cpp/include/__bits/string/string_io.hpp os.rdbuf()->sputn(str.data(), size);
size 1108 uspace/lib/cpp/include/__bits/type_traits/type_traits.hpp if (cont.size() == 0U)
size 127 uspace/lib/cpp/src/__bits/test/adaptors.cpp test_eq("queue initialized form queue size", q.size(), 1U);
size 132 uspace/lib/cpp/src/__bits/test/adaptors.cpp test_eq("queue size", q.size(), 2U);
size 148 uspace/lib/cpp/src/__bits/test/adaptors.cpp test_eq("priority_queue initialized from iterator range size", q1.size(), 5U);
size 151 uspace/lib/cpp/src/__bits/test/adaptors.cpp test_eq("priority_queue push pt1", q1.size(), 6U);
size 165 uspace/lib/cpp/src/__bits/test/adaptors.cpp test_eq("priority_queue initialized from vector and compare size", q2.size(), 5U);
size 168 uspace/lib/cpp/src/__bits/test/adaptors.cpp test_eq("priority_queue push pt1", q2.size(), 6U);
size 184 uspace/lib/cpp/src/__bits/test/adaptors.cpp test_eq("stack initialized from deque size", s.size(), 1U);
size 189 uspace/lib/cpp/src/__bits/test/adaptors.cpp test_eq("stack push size", s.size(), 2U);
size 193 uspace/lib/cpp/src/__bits/test/adaptors.cpp test_eq("stack pop size", s.size(), 1U);
size 194 uspace/lib/cpp/src/__bits/test/deque.cpp test_eq("push_back to empty size", d1.size(), 1U);
size 198 uspace/lib/cpp/src/__bits/test/deque.cpp test_eq("push_front after push_back size", d1.size(), 2U);
size 218 uspace/lib/cpp/src/__bits/test/deque.cpp test_eq("push_front to empty size", d2.size(), 1U);
size 222 uspace/lib/cpp/src/__bits/test/deque.cpp test_eq("push_back after push_front size", d2.size(), 2U);
size 84 uspace/lib/cpp/src/__bits/test/list.cpp test_eq("size", l4.size(), 6U);
size 94 uspace/lib/cpp/src/__bits/test/list.cpp test_eq("move initializaiton - origin empty pt2", l4.size(), 0U);
size 102 uspace/lib/cpp/src/__bits/test/list.cpp test_eq("copy assignment size", l4.size(), l5.size());
size 119 uspace/lib/cpp/src/__bits/test/list.cpp test_eq("initializer_list assignment pt2", l4.size(), 5U);
size 127 uspace/lib/cpp/src/__bits/test/list.cpp test_eq("iterator range assign() pt2", l5.size(), 5U);
size 135 uspace/lib/cpp/src/__bits/test/list.cpp test_eq("n*value assign() pt2", l5.size(), 6U);
size 143 uspace/lib/cpp/src/__bits/test/list.cpp test_eq("initializer_list assign() pt2", l5.size(), 5U);
size 162 uspace/lib/cpp/src/__bits/test/list.cpp test_eq("empty list push_back pt1", l1.size(), 1U);
size 168 uspace/lib/cpp/src/__bits/test/list.cpp test_eq("push_front pt1", l1.size(), 2U);
size 173 uspace/lib/cpp/src/__bits/test/list.cpp test_eq("pop_back pt1", l1.size(), 1U);
size 177 uspace/lib/cpp/src/__bits/test/list.cpp test_eq("size", l1.size(), 2U);
size 238 uspace/lib/cpp/src/__bits/test/list.cpp test_eq("clear size", l1.size(), 0U);
size 269 uspace/lib/cpp/src/__bits/test/list.cpp test_eq("splice size pt1", l2.size(), 7U);
size 270 uspace/lib/cpp/src/__bits/test/list.cpp test_eq("splice size pt2", l3.size(), 3U);
size 282 uspace/lib/cpp/src/__bits/test/list.cpp test_eq("remove size", l4.size(), 8U);
size 290 uspace/lib/cpp/src/__bits/test/list.cpp test_eq("remove_if size", l4.size(), 4U);
size 301 uspace/lib/cpp/src/__bits/test/list.cpp test_eq("unique size", l5.size(), 6U);
size 312 uspace/lib/cpp/src/__bits/test/list.cpp test_eq("unique predicate size", l6.size(), 7U);
size 86 uspace/lib/cpp/src/__bits/test/map.cpp test_eq("size", m1.size(), 7U);
size 108 uspace/lib/cpp/src/__bits/test/map.cpp test_eq("move initialization - origin empty", m1.size(), 0U);
size 124 uspace/lib/cpp/src/__bits/test/map.cpp test_eq("move assignment - origin empty", m1.size(), 0U);
size 68 uspace/lib/cpp/src/__bits/test/set.cpp test_eq("size", s1.size(), 7U);
size 90 uspace/lib/cpp/src/__bits/test/set.cpp test_eq("move initialization - origin empty", s1.size(), 0U);
size 106 uspace/lib/cpp/src/__bits/test/set.cpp test_eq("move assignment - origin empty", s1.size(), 0U);
size 66 uspace/lib/cpp/src/__bits/test/string.cpp str1.size(), 5ul
size 89 uspace/lib/cpp/src/__bits/test/string.cpp str1.size(), 0ul
size 95 uspace/lib/cpp/src/__bits/test/string.cpp str4.size(), 0ul
size 539 uspace/lib/cpp/src/__bits/test/string.cpp idx = str3.find_last_of('A', str3.size() - 1);
size 624 uspace/lib/cpp/src/__bits/test/string.cpp idx, str3.size() - 1
size 627 uspace/lib/cpp/src/__bits/test/string.cpp idx = str3.find_last_not_of('x', str3.size() - 1);
size 74 uspace/lib/cpp/src/__bits/test/unordered_map.cpp test_eq("size", m1.size(), 7U);
size 93 uspace/lib/cpp/src/__bits/test/unordered_map.cpp test_eq("move initialization - origin empty", m1.size(), 0U);
size 107 uspace/lib/cpp/src/__bits/test/unordered_map.cpp test_eq("move assignment - origin empty", m1.size(), 0U);
size 64 uspace/lib/cpp/src/__bits/test/unordered_set.cpp test_eq("size", s1.size(), 7U);
size 83 uspace/lib/cpp/src/__bits/test/unordered_set.cpp test_eq("move initialization - origin empty", s1.size(), 0U);
size 97 uspace/lib/cpp/src/__bits/test/unordered_set.cpp test_eq("move assignment - origin empty", s1.size(), 0U);
size 105 uspace/lib/cpp/src/__bits/test/vector.cpp vec6.size(), 0ul
size 132 uspace/lib/cpp/src/__bits/test/vector.cpp test_eq("move assignment origin empty", vec9.size(), 0U);
size 56 uspace/lib/cpp/src/new.cpp void* operator new(std::size_t size)
size 58 uspace/lib/cpp/src/new.cpp if (size == 0)
size 59 uspace/lib/cpp/src/new.cpp size = 1;
size 61 uspace/lib/cpp/src/new.cpp void *ptr = std::malloc(size);
size 83 uspace/lib/cpp/src/new.cpp void* operator new(std::size_t size, const std::nothrow_t& nt) noexcept
size 89 uspace/lib/cpp/src/new.cpp ptr = ::operator new(size);
size 97 uspace/lib/cpp/src/new.cpp void* operator new[](std::size_t size)
size 99 uspace/lib/cpp/src/new.cpp return ::operator new(size);
size 102 uspace/lib/cpp/src/new.cpp void* operator new[](std::size_t size, const std::nothrow_t& nt) noexcept
size 104 uspace/lib/cpp/src/new.cpp return ::operator new(size, nt);
size 59 uspace/lib/crypto/crypto.c #define get_at(input, size, i) \
size 60 uspace/lib/crypto/crypto.c ((i) < (size) ? (input[i]) : 0)
size 75 uspace/lib/ddev/src/ddev_srv.c size_t size;
size 76 uspace/lib/ddev/src/ddev_srv.c if (!async_data_read_receive(&call, &size)) {
size 82 uspace/lib/ddev/src/ddev_srv.c if (size != sizeof(ddev_info_t)) {
size 85 uspace/lib/device/src/bd.c errno_t bd_read_blocks(bd_t *bd, aoff64_t ba, size_t cnt, void *data, size_t size)
size 92 uspace/lib/device/src/bd.c errno_t rc = async_data_read_start(exch, data, size);
size 109 uspace/lib/device/src/bd.c errno_t bd_read_toc(bd_t *bd, uint8_t session, void *buf, size_t size)
size 115 uspace/lib/device/src/bd.c errno_t rc = async_data_read_start(exch, buf, size);
size 133 uspace/lib/device/src/bd.c size_t size)
size 140 uspace/lib/device/src/bd.c errno_t rc = async_data_write_start(exch, data, size);
size 50 uspace/lib/device/src/bd_srv.c size_t size;
size 57 uspace/lib/device/src/bd_srv.c if (!async_data_read_receive(&rcall, &size)) {
size 63 uspace/lib/device/src/bd_srv.c buf = malloc(size);
size 77 uspace/lib/device/src/bd_srv.c rc = srv->srvs->ops->read_blocks(srv, ba, cnt, buf, size);
size 85 uspace/lib/device/src/bd_srv.c async_data_read_finalize(&rcall, buf, size);
size 95 uspace/lib/device/src/bd_srv.c size_t size;
size 101 uspace/lib/device/src/bd_srv.c if (!async_data_read_receive(&rcall, &size)) {
size 107 uspace/lib/device/src/bd_srv.c buf = malloc(size);
size 121 uspace/lib/device/src/bd_srv.c rc = srv->srvs->ops->read_toc(srv, session, buf, size);
size 129 uspace/lib/device/src/bd_srv.c async_data_read_finalize(&rcall, buf, size);
size 158 uspace/lib/device/src/bd_srv.c size_t size;
size 164 uspace/lib/device/src/bd_srv.c rc = async_data_write_accept(&data, false, 0, 0, 0, &size);
size 175 uspace/lib/device/src/bd_srv.c rc = srv->srvs->ops->write_blocks(srv, ba, cnt, data, size);
size 98 uspace/lib/device/src/io/chardev.c errno_t chardev_read(chardev_t *chardev, void *buf, size_t size, size_t *nread,
size 103 uspace/lib/device/src/io/chardev.c if (size > DATA_XFER_LIMIT) {
size 105 uspace/lib/device/src/io/chardev.c size = DATA_XFER_LIMIT;
size 110 uspace/lib/device/src/io/chardev.c errno_t rc = async_data_read_start(exch, buf, size);
size 150 uspace/lib/device/src/io/chardev.c size_t size, size_t *nwritten)
size 158 uspace/lib/device/src/io/chardev.c if (size > DATA_XFER_LIMIT)
size 159 uspace/lib/device/src/io/chardev.c size = DATA_XFER_LIMIT;
size 162 uspace/lib/device/src/io/chardev.c rc = async_data_write_start(exch, data, size);
size 198 uspace/lib/device/src/io/chardev.c errno_t chardev_write(chardev_t *chardev, const void *data, size_t size,
size 206 uspace/lib/device/src/io/chardev.c while (p < size) {
size 207 uspace/lib/device/src/io/chardev.c rc = chardev_write_once(chardev, data + p, size - p, &nw);
size 48 uspace/lib/device/src/io/chardev_srv.c size_t size;
size 56 uspace/lib/device/src/io/chardev_srv.c if (!async_data_read_receive(&call, &size)) {
size 62 uspace/lib/device/src/io/chardev_srv.c buf = malloc(size);
size 76 uspace/lib/device/src/io/chardev_srv.c rc = srv->srvs->ops->read(srv, buf, size, &nread, flags);
size 93 uspace/lib/device/src/io/chardev_srv.c size_t size;
size 97 uspace/lib/device/src/io/chardev_srv.c rc = async_data_write_accept(&data, false, 0, 0, 0, &size);
size 108 uspace/lib/device/src/io/chardev_srv.c rc = srv->srvs->ops->write(srv, data, size, &nwr);
size 63 uspace/lib/dispcfg/src/dispcfg_srv.c size_t size;
size 79 uspace/lib/dispcfg/src/dispcfg_srv.c if (!async_data_read_receive(&call, &size)) {
size 86 uspace/lib/dispcfg/src/dispcfg_srv.c if (size != sizeof(list->nseats)) {
size 93 uspace/lib/dispcfg/src/dispcfg_srv.c rc = async_data_read_finalize(&call, &list->nseats, size);
size 103 uspace/lib/dispcfg/src/dispcfg_srv.c if (!async_data_read_receive(&call, &size)) {
size 110 uspace/lib/dispcfg/src/dispcfg_srv.c if (size != list->nseats * sizeof(sysarg_t)) {
size 117 uspace/lib/dispcfg/src/dispcfg_srv.c rc = async_data_read_finalize(&call, list->seats, size);
size 135 uspace/lib/dispcfg/src/dispcfg_srv.c size_t size;
size 153 uspace/lib/dispcfg/src/dispcfg_srv.c if (!async_data_read_receive(&call, &size)) {
size 160 uspace/lib/dispcfg/src/dispcfg_srv.c if (size != sizeof(size_t)) {
size 169 uspace/lib/dispcfg/src/dispcfg_srv.c rc = async_data_read_finalize(&call, &namesize, size);
size 179 uspace/lib/dispcfg/src/dispcfg_srv.c if (!async_data_read_receive(&call, &size)) {
size 186 uspace/lib/dispcfg/src/dispcfg_srv.c if (size != namesize) {
size 193 uspace/lib/dispcfg/src/dispcfg_srv.c rc = async_data_read_finalize(&call, info->name, size);
size 210 uspace/lib/dispcfg/src/dispcfg_srv.c size_t size;
size 213 uspace/lib/dispcfg/src/dispcfg_srv.c if (!async_data_write_receive(&call, &size)) {
size 219 uspace/lib/dispcfg/src/dispcfg_srv.c name = calloc(size + 1, 1);
size 226 uspace/lib/dispcfg/src/dispcfg_srv.c rc = async_data_write_finalize(&call, name, size);
size 300 uspace/lib/dispcfg/src/dispcfg_srv.c size_t size;
size 318 uspace/lib/dispcfg/src/dispcfg_srv.c if (!async_data_read_receive(&call, &size)) {
size 325 uspace/lib/dispcfg/src/dispcfg_srv.c if (size != sizeof(list->ndevs)) {
size 332 uspace/lib/dispcfg/src/dispcfg_srv.c rc = async_data_read_finalize(&call, &list->ndevs, size);
size 342 uspace/lib/dispcfg/src/dispcfg_srv.c if (!async_data_read_receive(&call, &size)) {
size 349 uspace/lib/dispcfg/src/dispcfg_srv.c if (size != list->ndevs * sizeof(sysarg_t)) {
size 356 uspace/lib/dispcfg/src/dispcfg_srv.c rc = async_data_read_finalize(&call, list->devs, size);
size 372 uspace/lib/dispcfg/src/dispcfg_srv.c size_t size;
size 387 uspace/lib/dispcfg/src/dispcfg_srv.c if (!async_data_read_receive(&call, &size)) {
size 393 uspace/lib/dispcfg/src/dispcfg_srv.c if (size != sizeof(event)) {
size 68 uspace/lib/display/src/disp_srv.c size_t size;
size 71 uspace/lib/display/src/disp_srv.c if (!async_data_write_receive(&call, &size)) {
size 77 uspace/lib/display/src/disp_srv.c if (size != sizeof(display_wnd_params_enc_t)) {
size 83 uspace/lib/display/src/disp_srv.c rc = async_data_write_finalize(&call, &eparams, size);
size 96 uspace/lib/display/src/disp_srv.c if (!async_data_write_receive(&call, &size)) {
size 103 uspace/lib/display/src/disp_srv.c if (size != eparams.caption_size) {
size 158 uspace/lib/display/src/disp_srv.c size_t size;
size 164 uspace/lib/display/src/disp_srv.c if (!async_data_write_receive(&call, &size)) {
size 170 uspace/lib/display/src/disp_srv.c if (size != sizeof(gfx_coord2_t)) {
size 176 uspace/lib/display/src/disp_srv.c rc = async_data_write_finalize(&call, &pos, size);
size 197 uspace/lib/display/src/disp_srv.c size_t size;
size 202 uspace/lib/display/src/disp_srv.c if (!async_data_write_receive(&call, &size)) {
size 208 uspace/lib/display/src/disp_srv.c if (size != sizeof(gfx_coord2_t)) {
size 214 uspace/lib/display/src/disp_srv.c rc = async_data_write_finalize(&call, &dpos, size);
size 235 uspace/lib/display/src/disp_srv.c size_t size;
size 245 uspace/lib/display/src/disp_srv.c if (!async_data_read_receive(&call, &size)) {
size 258 uspace/lib/display/src/disp_srv.c if (size != sizeof(gfx_coord2_t)) {
size 264 uspace/lib/display/src/disp_srv.c rc = async_data_read_finalize(&call, &dpos, size);
size 280 uspace/lib/display/src/disp_srv.c size_t size;
size 290 uspace/lib/display/src/disp_srv.c if (!async_data_read_receive(&call, &size)) {
size 303 uspace/lib/display/src/disp_srv.c if (size != sizeof(gfx_rect_t)) {
size 309 uspace/lib/display/src/disp_srv.c rc = async_data_read_finalize(&call, &rect, size);
size 326 uspace/lib/display/src/disp_srv.c size_t size;
size 333 uspace/lib/display/src/disp_srv.c if (!async_data_write_receive(&call, &size)) {
size 339 uspace/lib/display/src/disp_srv.c if (size != sizeof(gfx_coord2_t)) {
size 345 uspace/lib/display/src/disp_srv.c rc = async_data_write_finalize(&call, &pos, size);
size 367 uspace/lib/display/src/disp_srv.c size_t size;
size 372 uspace/lib/display/src/disp_srv.c if (!async_data_write_receive(&call, &size)) {
size 378 uspace/lib/display/src/disp_srv.c if (size != sizeof(display_wnd_resize_t)) {
size 384 uspace/lib/display/src/disp_srv.c rc = async_data_write_finalize(&call, &wresize, size);
size 473 uspace/lib/display/src/disp_srv.c size_t size;
size 478 uspace/lib/display/src/disp_srv.c if (!async_data_write_receive(&call, &size)) {
size 484 uspace/lib/display/src/disp_srv.c caption = calloc(size + 1, 1);
size 491 uspace/lib/display/src/disp_srv.c rc = async_data_write_finalize(&call, caption, size);
size 515 uspace/lib/display/src/disp_srv.c size_t size;
size 530 uspace/lib/display/src/disp_srv.c if (!async_data_read_receive(&call, &size)) {
size 536 uspace/lib/display/src/disp_srv.c if (size != sizeof(event)) {
size 556 uspace/lib/display/src/disp_srv.c size_t size;
size 565 uspace/lib/display/src/disp_srv.c if (!async_data_read_receive(&call, &size)) {
size 571 uspace/lib/display/src/disp_srv.c if (size != sizeof(info)) {
size 624 uspace/lib/drv/generic/driver.c void *ddf_dev_data_alloc(ddf_dev_t *dev, size_t size)
size 628 uspace/lib/drv/generic/driver.c void *data = calloc(1, size);
size 754 uspace/lib/drv/generic/driver.c void *ddf_fun_data_alloc(ddf_fun_t *fun, size_t size)
size 759 uspace/lib/drv/generic/driver.c void *data = calloc(1, size);
size 242 uspace/lib/drv/generic/remote_audio_mixer.c size_t size;
size 243 uspace/lib/drv/generic/remote_audio_mixer.c if (!async_data_read_receive(&call, &size)) {
size 248 uspace/lib/drv/generic/remote_audio_mixer.c if (size != name_size) {
size 277 uspace/lib/drv/generic/remote_audio_mixer.c size_t size;
size 278 uspace/lib/drv/generic/remote_audio_mixer.c if (!async_data_read_receive(&call, &size)) {
size 283 uspace/lib/drv/generic/remote_audio_mixer.c if (size != name_size) {
size 362 uspace/lib/drv/generic/remote_audio_pcm.c errno_t audio_pcm_get_buffer(audio_pcm_sess_t *sess, void **buffer, size_t *size)
size 364 uspace/lib/drv/generic/remote_audio_pcm.c if (!buffer || !size)
size 369 uspace/lib/drv/generic/remote_audio_pcm.c sysarg_t buffer_size = *size;
size 380 uspace/lib/drv/generic/remote_audio_pcm.c *size = buffer_size;
size 654 uspace/lib/drv/generic/remote_audio_pcm.c size_t size;
size 655 uspace/lib/drv/generic/remote_audio_pcm.c if (!async_data_read_receive(&call, &size)) {
size 660 uspace/lib/drv/generic/remote_audio_pcm.c if (size != name_size) {
size 767 uspace/lib/drv/generic/remote_audio_pcm.c size_t size = DEV_IPC_GET_ARG1(*call);
size 768 uspace/lib/drv/generic/remote_audio_pcm.c errno_t ret = pcm_iface->get_buffer(fun, &buffer, &size);
size 769 uspace/lib/drv/generic/remote_audio_pcm.c async_answer_1(call, ret, size);
size 770 uspace/lib/drv/generic/remote_audio_pcm.c if (ret != EOK || size == 0)
size 786 uspace/lib/drv/generic/remote_audio_pcm.c if (share_size != size) {
size 153 uspace/lib/drv/generic/remote_hw_res.c const uint32_t size = DEV_IPC_GET_ARG3(*call);
size 156 uspace/lib/drv/generic/remote_hw_res.c fun, channel, address, size, mode);
size 100 uspace/lib/drv/generic/remote_nic.c errno_t nic_send_frame(async_sess_t *dev_sess, void *data, size_t size)
size 107 uspace/lib/drv/generic/remote_nic.c errno_t retval = async_data_write_start(exch, data, size);
size 1345 uspace/lib/drv/generic/remote_nic.c size_t size;
size 1348 uspace/lib/drv/generic/remote_nic.c rc = async_data_write_accept(&data, false, 0, 0, 0, &size);
size 1354 uspace/lib/drv/generic/remote_nic.c rc = nic_iface->send_frame(dev, data, size);
size 148 uspace/lib/drv/generic/remote_usbdiag.c size_t size;
size 149 uspace/lib/drv/generic/remote_usbdiag.c if (!async_data_write_receive(&data, &size)) {
size 155 uspace/lib/drv/generic/remote_usbdiag.c if (size != sizeof(usbdiag_test_params_t)) {
size 162 uspace/lib/drv/generic/remote_usbdiag.c if (async_data_write_finalize(&data, ¶ms, size) != EOK) {
size 176 uspace/lib/drv/generic/remote_usbdiag.c if (!async_data_read_receive(&data, &size)) {
size 182 uspace/lib/drv/generic/remote_usbdiag.c if (size != sizeof(usbdiag_test_results_t)) {
size 188 uspace/lib/drv/generic/remote_usbdiag.c if (async_data_read_finalize(&data, &results, size) != EOK) {
size 201 uspace/lib/drv/generic/remote_usbdiag.c size_t size;
size 202 uspace/lib/drv/generic/remote_usbdiag.c if (!async_data_write_receive(&data, &size)) {
size 208 uspace/lib/drv/generic/remote_usbdiag.c if (size != sizeof(usbdiag_test_params_t)) {
size 215 uspace/lib/drv/generic/remote_usbdiag.c if (async_data_write_finalize(&data, ¶ms, size) != EOK) {
size 229 uspace/lib/drv/generic/remote_usbdiag.c if (!async_data_read_receive(&data, &size)) {
size 235 uspace/lib/drv/generic/remote_usbdiag.c if (size != sizeof(usbdiag_test_results_t)) {
size 241 uspace/lib/drv/generic/remote_usbdiag.c if (async_data_read_finalize(&data, &results, size) != EOK) {
size 207 uspace/lib/drv/generic/remote_usbhc.c if (req->size > 0) {
size 403 uspace/lib/drv/generic/remote_usbhc.c assert(trans->request.size > 0);
size 405 uspace/lib/drv/generic/remote_usbhc.c const size_t required_size = trans->request.offset + trans->request.size;
size 412 uspace/lib/drv/generic/remote_usbhc.c size_t size;
size 415 uspace/lib/drv/generic/remote_usbhc.c if (!async_share_out_receive(&data, &size, &flags))
size 418 uspace/lib/drv/generic/remote_usbhc.c if (size < required_size || (flags & required_flags) != required_flags) {
size 435 uspace/lib/drv/generic/remote_usbhc.c for (size_t i = 0; i < size; i += PAGE_SIZE)
size 439 uspace/lib/drv/generic/remote_usbhc.c for (size_t i = 0; i < size; i += PAGE_SIZE)
size 480 uspace/lib/drv/generic/remote_usbhc.c if (trans->request.size > 0) {
size 99 uspace/lib/drv/generic/remote_usbhid.c errno_t usbhid_dev_get_event_length(async_sess_t *dev_sess, size_t *size)
size 113 uspace/lib/drv/generic/remote_usbhid.c if (size != NULL)
size 114 uspace/lib/drv/generic/remote_usbhid.c *size = (size_t) len;
size 135 uspace/lib/drv/generic/remote_usbhid.c size_t size, size_t *actual_size, int *event_nr, unsigned int flags)
size 143 uspace/lib/drv/generic/remote_usbhid.c if (size == 0)
size 146 uspace/lib/drv/generic/remote_usbhid.c size_t buffer_size = size;
size 207 uspace/lib/drv/generic/remote_usbhid.c size_t *size)
size 221 uspace/lib/drv/generic/remote_usbhid.c if (size != NULL)
size 222 uspace/lib/drv/generic/remote_usbhid.c *size = (size_t) arg_size;
size 229 uspace/lib/drv/generic/remote_usbhid.c size_t size, size_t *actual_size)
size 237 uspace/lib/drv/generic/remote_usbhid.c if (size == 0)
size 251 uspace/lib/drv/generic/remote_usbhid.c aid_t data_request = async_data_read(exch, buf, size,
size 147 uspace/lib/drv/include/usbhc_iface.h size_t size; /**< Requested size. */
size 65 uspace/lib/drv/include/usbhid_iface.h errno_t (*get_event)(ddf_fun_t *fun, uint8_t *buffer, size_t size,
size 84 uspace/lib/drv/include/usbhid_iface.h size_t size, size_t *act_size);
size 224 uspace/lib/ext4/src/directory.c uint64_t size = ext4_inode_get_size(it->inode_ref->fs->superblock,
size 231 uspace/lib/ext4/src/directory.c if (pos >= size) {
size 421 uspace/lib/ext4/src/filesystem.c enum cache_mode cmode, aoff64_t *size, ext4_filesystem_t **rfs)
size 459 uspace/lib/ext4/src/filesystem.c *size = ext4_inode_get_size(fs->superblock, enode->inode_ref->inode);
size 54 uspace/lib/ext4/src/inode.c uint32_t size = block_size;
size 58 uspace/lib/ext4/src/inode.c size = size >> 1;
size 59 uspace/lib/ext4/src/inode.c } while (size > 256);
size 146 uspace/lib/ext4/src/inode.c void ext4_inode_set_size(ext4_inode_t *inode, uint64_t size)
size 148 uspace/lib/ext4/src/inode.c inode->size_lo = host2uint32_t_le((size << 32) >> 32);
size 149 uspace/lib/ext4/src/inode.c inode->size_hi = host2uint32_t_le(size >> 32);
size 824 uspace/lib/ext4/src/ops.c errno_t ext4_size_block(service_id_t service_id, uint32_t *size)
size 835 uspace/lib/ext4/src/ops.c *size = ext4_superblock_get_block_size(sb);
size 933 uspace/lib/ext4/src/ops.c fs_index_t *index, aoff64_t *size)
size 968 uspace/lib/ext4/src/ops.c *size = rnsize;
size 1031 uspace/lib/ext4/src/ops.c size_t size;
size 1032 uspace/lib/ext4/src/ops.c if (!async_data_read_receive(&call, &size)) {
size 1055 uspace/lib/ext4/src/ops.c rc = ext4_read_file(&call, pos, size, inst, inode_ref,
size 1059 uspace/lib/ext4/src/ops.c rc = ext4_read_directory(&call, pos, size, inst, inode_ref,
size 1103 uspace/lib/ext4/src/ops.c errno_t ext4_read_directory(ipc_call_t *call, aoff64_t pos, size_t size,
size 1194 uspace/lib/ext4/src/ops.c errno_t ext4_read_file(ipc_call_t *call, aoff64_t pos, size_t size,
size 1211 uspace/lib/ext4/src/ops.c uint32_t bytes = min(block_size - offset_in_block, size);
size 244 uspace/lib/ext4/src/superblock.c void ext4_superblock_set_block_size(ext4_superblock_t *sb, uint32_t size)
size 247 uspace/lib/ext4/src/superblock.c uint32_t tmp = size / EXT4_MIN_BLOCK_SIZE;
size 300 uspace/lib/ext4/src/superblock.c void ext4_superblock_set_frag_size(ext4_superblock_t *sb, uint32_t size)
size 303 uspace/lib/ext4/src/superblock.c uint32_t tmp = size / EXT4_MIN_BLOCK_SIZE;
size 756 uspace/lib/ext4/src/superblock.c void ext4_superblock_set_inode_size(ext4_superblock_t *sb, uint16_t size)
size 758 uspace/lib/ext4/src/superblock.c sb->inode_size = host2uint16_t_le(size);
size 1049 uspace/lib/ext4/src/superblock.c uint16_t size = uint16_t_le2host(sb->desc_size);
size 1051 uspace/lib/ext4/src/superblock.c if (size < EXT4_MIN_BLOCK_GROUP_DESCRIPTOR_SIZE)
size 1052 uspace/lib/ext4/src/superblock.c size = EXT4_MIN_BLOCK_GROUP_DESCRIPTOR_SIZE;
size 1054 uspace/lib/ext4/src/superblock.c return size;
size 1065 uspace/lib/ext4/src/superblock.c void ext4_superblock_set_desc_size(ext4_superblock_t *sb, uint16_t size)
size 1067 uspace/lib/ext4/src/superblock.c if (size < EXT4_MIN_BLOCK_GROUP_DESCRIPTOR_SIZE)
size 1071 uspace/lib/ext4/src/superblock.c sb->desc_size = host2uint16_t_le(size);
size 86 uspace/lib/fs/libfs.c size_t size;
size 87 uspace/lib/fs/libfs.c if ((!async_data_read_receive(&call, &size)) ||
size 88 uspace/lib/fs/libfs.c (size != sizeof(info))) {
size 120 uspace/lib/fs/libfs.c aoff64_t size;
size 121 uspace/lib/fs/libfs.c rc = vfs_out_ops->mounted(service_id, opts, &index, &size);
size 124 uspace/lib/fs/libfs.c async_answer_3(req, EOK, index, LOWER32(size),
size 125 uspace/lib/fs/libfs.c UPPER32(size));
size 192 uspace/lib/fs/libfs.c aoff64_t size = (aoff64_t) MERGE_LOUP32(ipc_get_arg3(req),
size 196 uspace/lib/fs/libfs.c rc = vfs_out_ops->truncate(service_id, index, size);
size 445 uspace/lib/fs/libfs.c unsigned size = 0;
size 461 uspace/lib/fs/libfs.c *sz = size;
size 466 uspace/lib/fs/libfs.c size++;
size 474 uspace/lib/fs/libfs.c size_t size;
size 476 uspace/lib/fs/libfs.c if (!async_data_write_receive(&call, &size))
size 479 uspace/lib/fs/libfs.c if (size > NAME_MAX + 1) {
size 484 uspace/lib/fs/libfs.c return async_data_write_finalize(&call, buffer, size);
size 651 uspace/lib/fs/libfs.c aoff64_t size = ops->size_get(cur);
size 655 uspace/lib/fs/libfs.c LOWER32(size), UPPER32(size));
size 726 uspace/lib/fs/libfs.c size_t size;
size 727 uspace/lib/fs/libfs.c if ((!async_data_read_receive(&call, &size)) ||
size 728 uspace/lib/fs/libfs.c (size != sizeof(vfs_stat_t))) {
size 744 uspace/lib/fs/libfs.c stat.size = ops->size_get(fn);
size 763 uspace/lib/fs/libfs.c size_t size;
size 764 uspace/lib/fs/libfs.c if ((!async_data_read_receive(&call, &size)) ||
size 765 uspace/lib/fs/libfs.c (size != sizeof(vfs_statfs_t))) {
size 825 uspace/lib/fs/libfs.c aoff64_t size = ops->size_get(fn);
size 826 uspace/lib/fs/libfs.c async_answer_4(req, rc, LOWER32(size), UPPER32(size),
size 178 uspace/lib/futil/src/futil.c fsize = st.size;
size 62 uspace/lib/gfxfont/include/types/gfx/font.h gfx_coord_t size;
size 69 uspace/lib/gfxfont/private/tpf_file.h uint16_t size;
size 197 uspace/lib/gfxfont/src/font.c props.size = 1;
size 483 uspace/lib/gfxfont/src/font.c props->size = uint16_t_le2host(tprops.size);
size 501 uspace/lib/gfxfont/src/font.c tprops.size = host2uint16_t_le(props->size);
size 600 uspace/lib/gfxfont/src/font.c size_t size;
size 609 uspace/lib/gfxfont/src/font.c size = height * bytes_line;
size 611 uspace/lib/gfxfont/src/font.c data = malloc(size);
size 637 uspace/lib/gfxfont/src/font.c *rsize = size;
size 653 uspace/lib/gfxfont/src/font.c size_t size;
size 661 uspace/lib/gfxfont/src/font.c size = height * bytes_line;
size 663 uspace/lib/gfxfont/src/font.c if (dsize != size)
size 702 uspace/lib/gfxfont/src/font.c size_t size;
size 724 uspace/lib/gfxfont/src/font.c size = height * bytes_line;
size 726 uspace/lib/gfxfont/src/font.c data = malloc(size);
size 748 uspace/lib/gfxfont/src/font.c rc = riff_read(&bmpck, data, size, &nread);
size 752 uspace/lib/gfxfont/src/font.c if (nread != size) {
size 761 uspace/lib/gfxfont/src/font.c rc = gfx_font_bitmap_unpack(width, height, data, size, alloc.pixels);
size 505 uspace/lib/gfxfont/test/font.c size_t size;
size 517 uspace/lib/gfxfont/test/font.c rc = gfx_font_bitmap_pack(width, height, pixels, &data, &size);
size 520 uspace/lib/gfxfont/test/font.c PCUT_ASSERT_INT_EQUALS(20, size);
size 120 uspace/lib/gfxfont/test/tpf.c props.size = test_font_size;
size 168 uspace/lib/gfxfont/test/tpf.c PCUT_ASSERT_INT_EQUALS(props.size, rprops.size);
size 116 uspace/lib/gfximage/src/tga.c static bool decode_tga_header(void *data, size_t size, tga_t *tga)
size 119 uspace/lib/gfximage/src/tga.c if (size < sizeof(tga_header_t))
size 128 uspace/lib/gfximage/src/tga.c if (size < sizeof(tga_header_t) + tga->id_length)
size 144 uspace/lib/gfximage/src/tga.c if (size < sizeof(tga_header_t) + tga->id_length +
size 169 uspace/lib/gfximage/src/tga.c if (size < sizeof(tga_header_t) + tga->id_length +
size 191 uspace/lib/gfximage/src/tga.c errno_t decode_tga(gfx_context_t *gc, void *data, size_t size,
size 201 uspace/lib/gfximage/src/tga.c if (!decode_tga_header(data, size, &tga))
size 56 uspace/lib/gfximage/src/tga_gz.c errno_t decode_tga_gz(gfx_context_t *gc, void *data, size_t size,
size 63 uspace/lib/gfximage/src/tga_gz.c rc = gzip_expand(data, size, &data_expanded, &size_expanded);
size 70 uspace/lib/hound/include/hound/client.h errno_t hound_stream_write(hound_stream_t *stream, const void *data, size_t size);
size 71 uspace/lib/hound/include/hound/client.h errno_t hound_stream_read(hound_stream_t *stream, void *data, size_t size);
size 75 uspace/lib/hound/include/hound/client.h const void *data, size_t size);
size 76 uspace/lib/hound/include/hound/client.h errno_t hound_read_main_stream(hound_context_t *hound, void *data, size_t size);
size 78 uspace/lib/hound/include/hound/client.h const void *data, size_t size);
size 80 uspace/lib/hound/include/hound/client.h pcm_format_t format, const void *data, size_t size);
size 96 uspace/lib/hound/include/hound/protocol.h errno_t hound_service_stream_write(async_exch_t *exch, const void *data, size_t size);
size 97 uspace/lib/hound/include/hound/protocol.h errno_t hound_service_stream_read(async_exch_t *exch, void *data, size_t size);
size 345 uspace/lib/hound/src/client.c errno_t hound_stream_write(hound_stream_t *stream, const void *data, size_t size)
size 348 uspace/lib/hound/src/client.c if (!data || size == 0)
size 350 uspace/lib/hound/src/client.c return hound_service_stream_write(stream->exch, data, size);
size 360 uspace/lib/hound/src/client.c errno_t hound_stream_read(hound_stream_t *stream, void *data, size_t size)
size 363 uspace/lib/hound/src/client.c if (!data || size == 0)
size 365 uspace/lib/hound/src/client.c return hound_service_stream_read(stream->exch, data, size);
size 405 uspace/lib/hound/src/client.c const void *data, size_t size)
size 414 uspace/lib/hound/src/client.c return hound_stream_write(mstream, data, size);
size 424 uspace/lib/hound/src/client.c errno_t hound_read_main_stream(hound_context_t *hound, void *data, size_t size)
size 432 uspace/lib/hound/src/client.c return hound_stream_read(mstream, data, size);
size 445 uspace/lib/hound/src/client.c const void *data, size_t size)
size 448 uspace/lib/hound/src/client.c if (!data || size == 0)
size 482 uspace/lib/hound/src/client.c const void *data, size_t size)
size 487 uspace/lib/hound/src/client.c hound_stream_t *tmpstream = hound_stream_create(hound, 0, format, size);
size 490 uspace/lib/hound/src/client.c const errno_t ret = hound_stream_write(tmpstream, data, size);
size 352 uspace/lib/hound/src/protocol.c errno_t hound_service_stream_write(async_exch_t *exch, const void *data, size_t size)
size 354 uspace/lib/hound/src/protocol.c return async_data_write_start(exch, data, size);
size 364 uspace/lib/hound/src/protocol.c errno_t hound_service_stream_read(async_exch_t *exch, void *data, size_t size)
size 366 uspace/lib/hound/src/protocol.c return async_data_read_start(exch, data, size);
size 504 uspace/lib/hound/src/protocol.c size_t size = str_size(list[i]);
size 509 uspace/lib/hound/src/protocol.c list[i], size);
size 641 uspace/lib/hound/src/protocol.c size_t size = 0;
size 645 uspace/lib/hound/src/protocol.c while (async_data_write_receive(&call, &size) ||
size 662 uspace/lib/hound/src/protocol.c char *buffer = malloc(size);
size 667 uspace/lib/hound/src/protocol.c const errno_t ret = async_data_write_finalize(&call, buffer, size);
size 671 uspace/lib/hound/src/protocol.c stream, buffer, size);
size 688 uspace/lib/hound/src/protocol.c size_t size = 0;
size 692 uspace/lib/hound/src/protocol.c while (async_data_read_receive(&call, &size) ||
size 707 uspace/lib/hound/src/protocol.c char *buffer = malloc(size);
size 712 uspace/lib/hound/src/protocol.c errno_t ret = server_iface->stream_data_read(stream, buffer, size);
size 715 uspace/lib/hound/src/protocol.c async_data_read_finalize(&call, buffer, size);
size 54 uspace/lib/http/include/http/receive-buffer.h size_t size;
size 53 uspace/lib/http/src/receive-buffer.c rb->size = buffer_size;
size 70 uspace/lib/http/src/receive-buffer.c errno_t recv_buffer_init_const(receive_buffer_t *rb, void *buf, size_t size)
size 72 uspace/lib/http/src/receive-buffer.c errno_t rc = recv_buffer_init(rb, size, dummy_receive, NULL);
size 76 uspace/lib/http/src/receive-buffer.c memcpy(rb->buffer, buf, size);
size 77 uspace/lib/http/src/receive-buffer.c rb->in = size;
size 114 uspace/lib/http/src/receive-buffer.c size_t size = b->offset - a->offset;
size 115 uspace/lib/http/src/receive-buffer.c void *buf = malloc(size);
size 119 uspace/lib/http/src/receive-buffer.c memcpy(buf, rb->buffer + a->offset, size);
size 121 uspace/lib/http/src/receive-buffer.c *out_size = size;
size 130 uspace/lib/http/src/receive-buffer.c size_t size = b->offset - a->offset;
size 131 uspace/lib/http/src/receive-buffer.c char *buf = malloc(size + 1);
size 135 uspace/lib/http/src/receive-buffer.c memcpy(buf, rb->buffer + a->offset, size);
size 136 uspace/lib/http/src/receive-buffer.c buf[size] = 0;
size 137 uspace/lib/http/src/receive-buffer.c for (size_t i = 0; i < size; i++) {
size 151 uspace/lib/http/src/receive-buffer.c size_t free = rb->size - rb->in;
size 153 uspace/lib/http/src/receive-buffer.c size_t min_mark = rb->size;
size 164 uspace/lib/http/src/receive-buffer.c free = rb->size - rb->in;
size 189 uspace/lib/http/src/receive-buffer.c size_t size = min(rb->in - rb->out, buf_size);
size 190 uspace/lib/http/src/receive-buffer.c memcpy(buf, rb->buffer + rb->out, size);
size 191 uspace/lib/http/src/receive-buffer.c rb->out += size;
size 192 uspace/lib/http/src/receive-buffer.c *nrecv = size;
size 293 uspace/lib/http/src/receive-buffer.c errno_t recv_line(receive_buffer_t *rb, char *line, size_t size, size_t *nrecv)
size 298 uspace/lib/http/src/receive-buffer.c while (written < size) {
size 94 uspace/lib/http/src/request.c size_t size = meth_size;
size 100 uspace/lib/http/src/request.c size += header_size;
size 102 uspace/lib/http/src/request.c size += str_length(HTTP_REQUEST_LINE);
size 104 uspace/lib/http/src/request.c char *buf = malloc(size);
size 109 uspace/lib/http/src/request.c size_t pos_size = size;
size 134 uspace/lib/http/src/request.c *out_buf_size = size;
size 213 uspace/lib/ieee80211/include/ieee80211_private.h size_t size;
size 391 uspace/lib/ieee80211/include/ieee80211_private.h results->size--;
size 399 uspace/lib/ieee80211/include/ieee80211_private.h results->size++;
size 550 uspace/lib/ieee80211/src/ieee80211.c static void ieee80211_send_frame(nic_t *nic, void *data, size_t size)
size 567 uspace/lib/ieee80211/src/ieee80211.c size_t complete_size = (size - drop_bytes) +
size 615 uspace/lib/ieee80211/src/ieee80211.c data + drop_bytes, size - drop_bytes);
size 1275 uspace/lib/ieee80211/src/ieee80211.c if (result_list->size == IEEE80211_MAX_RESULTS_LENGTH - 1)
size 287 uspace/lib/ieee80211/src/ieee80211_impl.c errno_t ieee80211_michael_mic(uint8_t *key, uint8_t *buffer, size_t size,
size 304 uspace/lib/ieee80211/src/ieee80211_impl.c size_t data_size = size - sizeof(ieee80211_data_header_t) -
size 385 uspace/lib/ieee80211/src/ieee80211_impl.c uint8_t *min_sequence(uint8_t *seq1, uint8_t *seq2, size_t size)
size 390 uspace/lib/ieee80211/src/ieee80211_impl.c for (size_t i = 0; i < size; i++) {
size 400 uspace/lib/ieee80211/src/ieee80211_impl.c uint8_t *max_sequence(uint8_t *seq1, uint8_t *seq2, size_t size)
size 402 uspace/lib/ieee80211/src/ieee80211_impl.c uint8_t *min = min_sequence(seq1, seq2, size);
size 59 uspace/lib/inet/include/inet/iplink.h size_t size;
size 69 uspace/lib/inet/include/inet/iplink.h size_t size;
size 77 uspace/lib/inet/include/inet/iplink.h size_t size;
size 55 uspace/lib/inet/include/inet/udp.h size_t size;
size 52 uspace/lib/inet/include/types/inet.h size_t size;
size 49 uspace/lib/inet/include/types/inetping.h size_t size;
size 134 uspace/lib/inet/src/inet.c rc = async_data_write_start(exch, dgram->data, dgram->size);
size 186 uspace/lib/inet/src/inet.c size_t size;
size 187 uspace/lib/inet/src/inet.c if (!async_data_write_receive(&call, &size)) {
size 193 uspace/lib/inet/src/inet.c if (size != sizeof(inet_addr_t)) {
size 199 uspace/lib/inet/src/inet.c errno_t rc = async_data_write_finalize(&call, &dgram.src, size);
size 206 uspace/lib/inet/src/inet.c if (!async_data_write_receive(&call, &size)) {
size 212 uspace/lib/inet/src/inet.c if (size != sizeof(inet_addr_t)) {
size 218 uspace/lib/inet/src/inet.c rc = async_data_write_finalize(&call, &dgram.dest, size);
size 225 uspace/lib/inet/src/inet.c rc = async_data_write_accept(&dgram.data, false, 0, 0, 0, &dgram.size);
size 103 uspace/lib/inet/src/inetping.c rc = async_data_write_start(exch, sdu->data, sdu->size);
size 159 uspace/lib/inet/src/inetping.c size_t size;
size 160 uspace/lib/inet/src/inetping.c if (!async_data_write_receive(&call, &size)) {
size 166 uspace/lib/inet/src/inetping.c if (size != sizeof(sdu.src)) {
size 172 uspace/lib/inet/src/inetping.c errno_t rc = async_data_write_finalize(&call, &sdu.src, size);
size 179 uspace/lib/inet/src/inetping.c if (!async_data_write_receive(&call, &size)) {
size 185 uspace/lib/inet/src/inetping.c if (size != sizeof(sdu.dest)) {
size 191 uspace/lib/inet/src/inetping.c rc = async_data_write_finalize(&call, &sdu.dest, size);
size 198 uspace/lib/inet/src/inetping.c rc = async_data_write_accept(&sdu.data, false, 0, 0, 0, &sdu.size);
size 96 uspace/lib/inet/src/iplink.c errno_t rc = async_data_write_start(exch, sdu->data, sdu->size);
size 125 uspace/lib/inet/src/iplink.c rc = async_data_write_start(exch, sdu->data, sdu->size);
size 254 uspace/lib/inet/src/iplink.c &sdu.size);
size 268 uspace/lib/inet/src/iplink.c size_t size;
size 271 uspace/lib/inet/src/iplink.c sizeof(eth_addr_t), sizeof(eth_addr_t), 0, &size);
size 62 uspace/lib/inet/src/iplink_srv.c size_t size;
size 63 uspace/lib/inet/src/iplink_srv.c if (!async_data_read_receive(&call, &size)) {
size 69 uspace/lib/inet/src/iplink_srv.c if (size != sizeof(eth_addr_t)) {
size 75 uspace/lib/inet/src/iplink_srv.c rc = async_data_read_finalize(&call, &mac, size);
size 88 uspace/lib/inet/src/iplink_srv.c size_t size;
size 92 uspace/lib/inet/src/iplink_srv.c if (!async_data_write_receive(&call, &size)) {
size 117 uspace/lib/inet/src/iplink_srv.c size_t size;
size 119 uspace/lib/inet/src/iplink_srv.c if (!async_data_write_receive(&call, &size)) {
size 125 uspace/lib/inet/src/iplink_srv.c if (size != sizeof(inet_addr_t)) {
size 132 uspace/lib/inet/src/iplink_srv.c errno_t rc = async_data_write_finalize(&call, &addr, size);
size 146 uspace/lib/inet/src/iplink_srv.c size_t size;
size 148 uspace/lib/inet/src/iplink_srv.c if (!async_data_write_receive(&call, &size)) {
size 154 uspace/lib/inet/src/iplink_srv.c if (size != sizeof(inet_addr_t)) {
size 161 uspace/lib/inet/src/iplink_srv.c errno_t rc = async_data_write_finalize(&call, &addr, size);
size 180 uspace/lib/inet/src/iplink_srv.c &sdu.size);
size 195 uspace/lib/inet/src/iplink_srv.c size_t size;
size 197 uspace/lib/inet/src/iplink_srv.c if (!async_data_write_receive(&call, &size)) {
size 203 uspace/lib/inet/src/iplink_srv.c if (size != sizeof(eth_addr_t)) {
size 209 uspace/lib/inet/src/iplink_srv.c errno_t rc = async_data_write_finalize(&call, &sdu.dest, size);
size 216 uspace/lib/inet/src/iplink_srv.c &sdu.size);
size 320 uspace/lib/inet/src/iplink_srv.c errno_t rc = async_data_write_start(exch, sdu->data, sdu->size);
size 315 uspace/lib/inet/src/udp.c return rmsg->size;
size 414 uspace/lib/inet/src/udp.c rmsg->size = ipc_get_arg2(&answer);
size 217 uspace/lib/ipcgfx/src/client.c if (info.size != asize) {
size 125 uspace/lib/ipcgfx/src/server.c size_t size;
size 130 uspace/lib/ipcgfx/src/server.c if (!async_data_write_receive(&call, &size)) {
size 136 uspace/lib/ipcgfx/src/server.c if (size != sizeof(gfx_bitmap_params_t)) {
size 142 uspace/lib/ipcgfx/src/server.c rc = async_data_write_finalize(&call, ¶ms, size);
size 152 uspace/lib/ipcgfx/src/server.c if (!async_share_out_receive(&call, &size, &flags)) {
size 159 uspace/lib/ipcgfx/src/server.c if (size != PAGES2SIZE(SIZE2PAGES(dim.x * dim.y * sizeof(uint32_t)))) {
size 211 uspace/lib/ipcgfx/src/server.c size_t size;
size 214 uspace/lib/ipcgfx/src/server.c if (!async_data_write_receive(&call, &size)) {
size 220 uspace/lib/ipcgfx/src/server.c if (size != sizeof(gfx_bitmap_params_t)) {
size 226 uspace/lib/ipcgfx/src/server.c rc = async_data_write_finalize(&call, ¶ms, size);
size 236 uspace/lib/ipcgfx/src/server.c if (!async_share_in_receive(&call, &size)) {
size 242 uspace/lib/ipcgfx/src/server.c if (size != PAGES2SIZE(SIZE2PAGES(dim.x * dim.y * sizeof(uint32_t)))) {
size 326 uspace/lib/ipcgfx/src/server.c size_t size;
size 329 uspace/lib/ipcgfx/src/server.c if (!async_data_write_receive(&call, &size)) {
size 335 uspace/lib/ipcgfx/src/server.c if (size != sizeof(gfx_rect_t)) {
size 341 uspace/lib/ipcgfx/src/server.c rc = async_data_write_finalize(&call, &srect, size);
size 124 uspace/lib/ipctest/src/ipc_test.c sysarg_t size;
size 127 uspace/lib/ipctest/src/ipc_test.c retval = async_req_0_1(exch, IPC_TEST_GET_RO_AREA_SIZE, &size);
size 133 uspace/lib/ipctest/src/ipc_test.c *rsize = size;
size 147 uspace/lib/ipctest/src/ipc_test.c sysarg_t size;
size 150 uspace/lib/ipctest/src/ipc_test.c retval = async_req_0_1(exch, IPC_TEST_GET_RW_AREA_SIZE, &size);
size 156 uspace/lib/ipctest/src/ipc_test.c *rsize = size;
size 167 uspace/lib/ipctest/src/ipc_test.c errno_t ipc_test_share_in_ro(ipc_test_t *test, size_t size, const void **rptr)
size 179 uspace/lib/ipctest/src/ipc_test.c rc = async_share_in_start_0_0(exch, size, &dst);
size 199 uspace/lib/ipctest/src/ipc_test.c errno_t ipc_test_share_in_rw(ipc_test_t *test, size_t size, void **rptr)
size 210 uspace/lib/ipctest/src/ipc_test.c rc = async_share_in_start_0_0(exch, size, &dst);
size 229 uspace/lib/ipctest/src/ipc_test.c errno_t ipc_test_set_rw_buf_size(ipc_test_t *test, size_t size)
size 235 uspace/lib/ipctest/src/ipc_test.c retval = async_req_1_0(exch, IPC_TEST_SET_RW_BUF_SIZE, size);
size 251 uspace/lib/ipctest/src/ipc_test.c errno_t ipc_test_read(ipc_test_t *test, void *dest, size_t size)
size 261 uspace/lib/ipctest/src/ipc_test.c rc = async_data_read_start(exch, dest, size);
size 280 uspace/lib/ipctest/src/ipc_test.c errno_t ipc_test_write(ipc_test_t *test, const void *data, size_t size)
size 290 uspace/lib/ipctest/src/ipc_test.c rc = async_data_write_start(exch, data, size);
size 57 uspace/lib/label/src/empty.c static bool mem_is_zero(void *buf, size_t size)
size 63 uspace/lib/label/src/empty.c for (i = 0; i < size; i++) {
size 70 uspace/lib/nic/include/nic.h size_t size;
size 51 uspace/lib/nic/include/nic_impl.h extern errno_t nic_send_frame_impl(ddf_fun_t *dev_fun, void *data, size_t size);
size 121 uspace/lib/nic/include/nic_rx_control.h const void *data, size_t size, nic_frame_type_t *frame_type);
size 264 uspace/lib/nic/src/nic_driver.c nic_frame_t *nic_alloc_frame(nic_t *nic_data, size_t size)
size 283 uspace/lib/nic/src/nic_driver.c frame->data = malloc(size);
size 289 uspace/lib/nic/src/nic_driver.c frame->size = size;
size 306 uspace/lib/nic/src/nic_driver.c frame->size = 0;
size 527 uspace/lib/nic/src/nic_driver.c frame->size, &frame_type);
size 534 uspace/lib/nic/src/nic_driver.c nic_data->stats.receive_bytes += frame->size;
size 547 uspace/lib/nic/src/nic_driver.c frame->size);
size 77 uspace/lib/nic/src/nic_ev.c errno_t nic_ev_received(async_sess_t *sess, void *data, size_t size)
size 83 uspace/lib/nic/src/nic_ev.c errno_t retval = async_data_write_start(exch, data, size);
size 172 uspace/lib/nic/src/nic_impl.c errno_t nic_send_frame_impl(ddf_fun_t *fun, void *data, size_t size)
size 182 uspace/lib/nic/src/nic_impl.c nic_data->send_frame(nic_data, data, size);
size 395 uspace/lib/nic/src/nic_rx_control.c bool nic_rxc_check(const nic_rxc_t *rxc, const void *data, size_t size,
size 402 uspace/lib/nic/src/nic_rx_control.c if (size < 2 * ETH_ADDR)
size 53 uspace/lib/ofw/src/ofw.c size_t size;
size 65 uspace/lib/ofw/src/ofw.c size = str_size(*sipath);
size 66 uspace/lib/ofw/src/ofw.c for (i = 0; i < size; i++)
size 49 uspace/lib/output/include/io/chargrid.h size_t size; /**< Structure size */
size 56 uspace/lib/output/src/chargrid.c size_t size =
size 61 uspace/lib/output/src/chargrid.c scrbuf = (chargrid_t *) as_area_create(AS_AREA_ANY, size,
size 67 uspace/lib/output/src/chargrid.c scrbuf = (chargrid_t *) malloc(size);
size 72 uspace/lib/output/src/chargrid.c scrbuf->size = size;
size 69 uspace/lib/pcm/include/pcm/format.h static inline size_t pcm_format_size_to_frames(size_t size,
size 72 uspace/lib/pcm/include/pcm/format.h return pcm_sample_format_size_to_frames(size, a->channels,
size 82 uspace/lib/pcm/include/pcm/format.h static inline usec_t pcm_format_size_to_usec(size_t size, const pcm_format_t *a)
size 84 uspace/lib/pcm/include/pcm/format.h return pcm_sample_format_size_to_usec(size, a->sampling_rate,
size 99 uspace/lib/pcm/include/pcm/format.h void pcm_format_silence(void *dst, size_t size, const pcm_format_t *f);
size 102 uspace/lib/pcm/include/pcm/format.h errno_t pcm_format_mix(void *dst, const void *src, size_t size, const pcm_format_t *f);
size 154 uspace/lib/pcm/include/pcm/sample_format.h static inline size_t pcm_sample_format_size_to_frames(size_t size,
size 158 uspace/lib/pcm/include/pcm/sample_format.h return (size + frame_size - 1) / frame_size;
size 169 uspace/lib/pcm/include/pcm/sample_format.h static inline usec_t pcm_sample_format_size_to_usec(size_t size,
size 173 uspace/lib/pcm/include/pcm/sample_format.h pcm_sample_format_size_to_frames(size, channels, format);
size 72 uspace/lib/pcm/src/format.c static float get_normalized_sample(const void *buffer, size_t size,
size 97 uspace/lib/pcm/src/format.c void pcm_format_silence(void *dst, size_t size, const pcm_format_t *f)
size 102 uspace/lib/pcm/src/format.c const size_t sample_count = size / sizeof(type); \
size 162 uspace/lib/pcm/src/format.c errno_t pcm_format_mix(void *dst, const void *src, size_t size, const pcm_format_t *f)
size 164 uspace/lib/pcm/src/format.c return pcm_format_convert_and_mix(dst, size, src, size, f, f);
size 276 uspace/lib/pcm/src/format.c static float get_normalized_sample(const void *buffer, size_t size,
size 286 uspace/lib/pcm/src/format.c const size_t sample_count = size / sizeof(type); \
size 79 uspace/lib/pcut/include/pcut/asserts.h void pcut_str_error(int error, char *buffer, int size);
size 50 uspace/lib/pcut/src/helper.c int pcut_snprintf(char *dest, size_t size, const char *format, ...) {
size 61 uspace/lib/pcut/src/helper.c ret = _vsnprintf_s(dest, size, _TRUNCATE, format, args);
size 63 uspace/lib/pcut/src/helper.c ret = vsnprintf(dest, size, format, args);
size 189 uspace/lib/pcut/src/internal.h int pcut_snprintf(char *dest, size_t size, const char *format, ...);
size 70 uspace/lib/pcut/src/os/helenos.c void pcut_str_error(int error, char *buffer, int size) {
size 75 uspace/lib/pcut/src/os/helenos.c str_cpy(buffer, size, str);
size 60 uspace/lib/pcut/src/os/stdc.c void pcut_str_error(int error, char *buffer, int size) {
size 65 uspace/lib/pcut/src/os/stdc.c strncpy(buffer, str, size - 1);
size 67 uspace/lib/pcut/src/os/stdc.c buffer[size - 1] = 0;
size 48 uspace/lib/posix/include/common/adt/circ_buf.h size_t size;
size 110 uspace/lib/posix/include/common/stdlib.h extern void *malloc(size_t size)
size 112 uspace/lib/posix/include/common/stdlib.h extern void *calloc(size_t nmemb, size_t size)
size 114 uspace/lib/posix/include/common/stdlib.h extern void *realloc(void *addr, size_t size)
size 121 uspace/lib/posix/include/common/stdlib.h extern void *memalign(size_t align, size_t size)
size 103 uspace/lib/posix/include/common/str.h extern size_t str_nlength(const char *str, size_t size);
size 104 uspace/lib/posix/include/common/str.h extern size_t wstr_nlength(const char32_t *str, size_t size);
size 120 uspace/lib/posix/include/common/str.h extern void str_cpy(char *dest, size_t size, const char *src);
size 121 uspace/lib/posix/include/common/str.h extern void str_ncpy(char *dest, size_t size, const char *src, size_t n);
size 122 uspace/lib/posix/include/common/str.h extern void str_append(char *dest, size_t size, const char *src);
size 124 uspace/lib/posix/include/common/str.h extern errno_t spascii_to_str(char *dest, size_t size, const uint8_t *src, size_t n);
size 125 uspace/lib/posix/include/common/str.h extern void wstr_to_str(char *dest, size_t size, const char32_t *src);
size 129 uspace/lib/posix/include/common/str.h extern errno_t utf16_to_str(char *dest, size_t size, const uint16_t *src);
size 44 uspace/lib/posix/include/libc/as.h static inline size_t SIZE2PAGES(size_t size)
size 46 uspace/lib/posix/include/libc/as.h if (size == 0)
size 49 uspace/lib/posix/include/libc/as.h return (size_t) ((size - 1) >> PAGE_WIDTH) + 1;
size 74 uspace/lib/posix/include/libc/ddi.h volatile void *base, size_t size, void *data, bool write);
size 82 uspace/lib/posix/include/libc/device/hw_res.h size_t size;
size 89 uspace/lib/posix/include/libc/device/hw_res.h size_t size;
size 50 uspace/lib/posix/include/libc/device/hw_res_parsed.h #define RNGSZ(rng) (rng).size
size 67 uspace/lib/posix/include/libc/device/hw_res_parsed.h size_t size;
size 49 uspace/lib/posix/include/libc/device/pio_window.h size_t size;
size 41 uspace/lib/posix/include/libc/smc.h extern errno_t smc_coherence(void *address, size_t size);
size 63 uspace/lib/posix/include/libc/vfs/vfs.h aoff64_t size;
size 78 uspace/lib/posix/include/libc/vfs/vfs.h size_t size;
size 79 uspace/lib/posix/include/posix/unistd.h extern char *getcwd(char *buf, size_t size);
size 234 uspace/lib/posix/src/stdio.c static int _dprintf_str_write(const char *str, size_t size, void *fd)
size 238 uspace/lib/posix/src/stdio.c if (failed(vfs_write(fildes, &posix_pos[fildes], str, size, &wr)))
size 251 uspace/lib/posix/src/stdio.c static int _dprintf_wstr_write(const char32_t *str, size_t size, void *fd)
size 258 uspace/lib/posix/src/stdio.c while (offset < size) {
size 68 uspace/lib/posix/src/sys/stat.c dest->st_size = src->size;
size 70 uspace/lib/posix/src/sys/stat.c if (src->size > INT64_MAX) {
size 132 uspace/lib/posix/src/unistd.c char *getcwd(char *buf, size_t size)
size 134 uspace/lib/posix/src/unistd.c if (failed(vfs_cwd_get(buf, size)))
size 259 uspace/lib/posix/src/unistd.c if (__builtin_add_overflow(st.size, offset, &new_pos)) {
size 116 uspace/lib/trackmod/types/xm.h uint32_t size;
size 316 uspace/lib/trackmod/xm.c instr_size = (size_t)uint32_t_le2host(instr.size);
size 51 uspace/lib/ui/private/filelist.h uint64_t size;
size 67 uspace/lib/ui/private/filelist.h uint64_t size;
size 243 uspace/lib/ui/src/filelist.c entry->size = attr->size;
size 374 uspace/lib/ui/src/filelist.c attr.size = finfo.size;
size 334 uspace/lib/ui/test/filelist.c attr.size = 1;
size 341 uspace/lib/ui/test/filelist.c attr.size = 2;
size 376 uspace/lib/ui/test/filelist.c attr.size = 1;
size 381 uspace/lib/ui/test/filelist.c attr.size = 2;
size 426 uspace/lib/ui/test/filelist.c attr.size = 1;
size 431 uspace/lib/ui/test/filelist.c attr.size = 2;
size 504 uspace/lib/ui/test/filelist.c PCUT_ASSERT_INT_EQUALS(1, entry->size);
size 633 uspace/lib/ui/test/filelist.c attr.size = 1;
size 638 uspace/lib/ui/test/filelist.c attr.size = 3;
size 643 uspace/lib/ui/test/filelist.c attr.size = 2;
size 652 uspace/lib/ui/test/filelist.c PCUT_ASSERT_INT_EQUALS(2, entry->size);
size 656 uspace/lib/ui/test/filelist.c PCUT_ASSERT_INT_EQUALS(1, entry->size);
size 660 uspace/lib/ui/test/filelist.c PCUT_ASSERT_INT_EQUALS(3, entry->size);
size 694 uspace/lib/ui/test/filelist.c attr.size = 2;
size 699 uspace/lib/ui/test/filelist.c attr.size = 1;
size 732 uspace/lib/ui/test/filelist.c PCUT_ASSERT_INT_EQUALS(0, attr.size);
size 767 uspace/lib/ui/test/filelist.c attr.size = 1;
size 775 uspace/lib/ui/test/filelist.c PCUT_ASSERT_INT_EQUALS(1, entry->size);
size 779 uspace/lib/ui/test/filelist.c attr.size = 2;
size 787 uspace/lib/ui/test/filelist.c PCUT_ASSERT_INT_EQUALS(1, entry->size);
size 824 uspace/lib/ui/test/filelist.c attr.size = 1;
size 832 uspace/lib/ui/test/filelist.c PCUT_ASSERT_INT_EQUALS(1, entry->size);
size 836 uspace/lib/ui/test/filelist.c attr.size = 2;
size 844 uspace/lib/ui/test/filelist.c attr.size = 2;
size 846 uspace/lib/ui/test/filelist.c PCUT_ASSERT_INT_EQUALS(2, entry->size);
size 880 uspace/lib/ui/test/filelist.c attr.size = 1;
size 893 uspace/lib/ui/test/filelist.c attr.size = 2;
size 904 uspace/lib/ui/test/filelist.c PCUT_ASSERT_INT_EQUALS(2, entry->size);
size 938 uspace/lib/ui/test/filelist.c attr.size = 1;
size 951 uspace/lib/ui/test/filelist.c attr.size = 2;
size 962 uspace/lib/ui/test/filelist.c PCUT_ASSERT_INT_EQUALS(1, entry->size);
size 1069 uspace/lib/ui/test/filelist.c attr.size = 1;
size 1189 uspace/lib/ui/test/filelist.c attr.size = 1;
size 45 uspace/lib/untar/private/tar.h char size[12];
size 68 uspace/lib/untar/private/tar.h size_t size;
size 76 uspace/lib/untar/tar.c size_t size;
size 77 uspace/lib/untar/tar.c errno_t rc = str_size_t(raw->size, NULL, 8, true, &size);
size 81 uspace/lib/untar/tar.c parsed->size = size;
size 58 uspace/lib/untar/untar.c static size_t tar_read(tar_file_t *tar, void *data, size_t size)
size 60 uspace/lib/untar/untar.c return tar->read(tar, data, size);
size 102 uspace/lib/untar/untar.c size_t bytes_remaining = header->size;
size 146 uspace/lib/untar/untar.c return tar_skip_blocks(tar, header->size);
size 181 uspace/lib/untar/untar.c rc = tar_skip_blocks(tar, header.size);
size 48 uspace/lib/uri/uri.c size_t size = end - start;
size 49 uspace/lib/uri/uri.c return str_ndup(start, size);
size 90 uspace/lib/usb/include/usb/dma_buffer.h extern errno_t dma_buffer_alloc(dma_buffer_t *db, size_t size);
size 121 uspace/lib/usb/include/usb/request.h #define GET_DEVICE_DESC(size) \
size 129 uspace/lib/usb/include/usb/request.h .length = uint16_host2usb(size), \
size 77 uspace/lib/usb/src/debug.c const char *usb_debug_str_buffer(const uint8_t *buffer, size_t size,
size 87 uspace/lib/usb/src/debug.c buffer, 1, size, dumped_size);
size 88 uspace/lib/usb/src/dma_buffer.c errno_t dma_buffer_alloc_policy(dma_buffer_t *db, size_t size, dma_policy_t policy)
size 92 uspace/lib/usb/src/dma_buffer.c const size_t real_size = ALIGN_UP(size, PAGE_SIZE);
size 108 uspace/lib/usb/src/dma_buffer.c for (size_t i = 0; i < size; i += PAGE_SIZE)
size 125 uspace/lib/usb/src/dma_buffer.c errno_t dma_buffer_alloc(dma_buffer_t *db, size_t size)
size 127 uspace/lib/usb/src/dma_buffer.c return dma_buffer_alloc_policy(db, size, DMA_POLICY_DEFAULT);
size 167 uspace/lib/usb/src/dma_buffer.c static bool dma_buffer_is_4gib(dma_buffer_t *db, size_t size)
size 173 uspace/lib/usb/src/dma_buffer.c const size_t chunks = chunk_size ? 1 : size / chunk_size;
size 193 uspace/lib/usb/src/dma_buffer.c errno_t dma_buffer_lock(dma_buffer_t *db, void *virt, size_t size)
size 199 uspace/lib/usb/src/dma_buffer.c const errno_t err = dmamem_map(virt, size, 0, 0, &phys);
size 208 uspace/lib/usb/src/dma_buffer.c if (!dma_buffer_is_4gib(db, size))
size 218 uspace/lib/usb/src/dma_buffer.c void dma_buffer_unlock(dma_buffer_t *db, size_t size)
size 221 uspace/lib/usb/src/dma_buffer.c dmamem_unmap(db->virt, size);
size 68 uspace/lib/usbdev/include/usb/dev/dp.h size_t size;
size 61 uspace/lib/usbdev/src/altiface.c .size = config_descr_size,
size 124 uspace/lib/usbdev/src/altiface.c .size = config_descr_size,
size 154 uspace/lib/usbdev/src/altiface.c dp_data.data + dp_data.size : iface_ptr;
size 617 uspace/lib/usbdev/src/devdrv.c void *usb_device_data_alloc(usb_device_t *usb_dev, size_t size)
size 621 uspace/lib/usbdev/src/devdrv.c return usb_dev->driver_data = calloc(1, size);
size 91 uspace/lib/usbdev/src/dp.c if ((size_t)(ptr - data->data) >= data->size) {
size 322 uspace/lib/usbdev/src/dp.c .size = descriptors_size,
size 86 uspace/lib/usbdev/src/pipes.c if ((t->dir != USB_DIRECTION_OUT || !t->is_control) && t->req.size == 0)
size 90 uspace/lib/usbdev/src/pipes.c if (!dma_buffer_is_set(&t->req.buffer) && t->req.size != 0)
size 125 uspace/lib/usbdev/src/pipes.c static void setup_dma_buffer(transfer_t *t, void *base, void *ptr, size_t size)
size 130 uspace/lib/usbdev/src/pipes.c t->req.size = size;
size 136 uspace/lib/usbdev/src/pipes.c static errno_t transfer_wrap_dma(transfer_t *t, void *buf, size_t size)
size 138 uspace/lib/usbdev/src/pipes.c if (size == 0) {
size 143 uspace/lib/usbdev/src/pipes.c void *dma_buf = usb_pipe_alloc_buffer(t->pipe, size);
size 144 uspace/lib/usbdev/src/pipes.c setup_dma_buffer(t, dma_buf, dma_buf, size);
size 147 uspace/lib/usbdev/src/pipes.c memcpy(dma_buf, buf, size);
size 239 uspace/lib/usbdev/src/pipes.c void *usb_pipe_alloc_buffer(usb_pipe_t *pipe, size_t size)
size 242 uspace/lib/usbdev/src/pipes.c if (dma_buffer_alloc_policy(&buf, size, pipe->desc.transfer_buffer_policy))
size 264 uspace/lib/usbdev/src/pipes.c void *buffer, size_t size, size_t *size_transferred)
size 273 uspace/lib/usbdev/src/pipes.c if ((err = transfer_wrap_dma(&transfer, buffer, size)))
size 289 uspace/lib/usbdev/src/pipes.c errno_t usb_pipe_write(usb_pipe_t *pipe, const void *buffer, size_t size)
size 297 uspace/lib/usbdev/src/pipes.c return transfer_wrap_dma(&transfer, (void *) buffer, size);
size 310 uspace/lib/usbdev/src/pipes.c errno_t usb_pipe_read_dma(usb_pipe_t *pipe, void *base, void *ptr, size_t size,
size 320 uspace/lib/usbdev/src/pipes.c setup_dma_buffer(&transfer, base, ptr, size);
size 340 uspace/lib/usbdev/src/pipes.c errno_t usb_pipe_write_dma(usb_pipe_t *pipe, void *base, void *ptr, size_t size)
size 348 uspace/lib/usbdev/src/pipes.c setup_dma_buffer(&transfer, base, ptr, size);
size 322 uspace/lib/usbdev/src/pipesinit.c .size = config_descriptor_size,
size 267 uspace/lib/usbdev/src/request.c void *buffer, size_t size, size_t *actual_size)
size 272 uspace/lib/usbdev/src/request.c if (size == 0) {
size 286 uspace/lib/usbdev/src/request.c buffer, size, actual_size);
size 328 uspace/lib/usbdev/src/request.c const size_t size = tmp_buffer;
size 329 uspace/lib/usbdev/src/request.c if (size == 0) {
size 336 uspace/lib/usbdev/src/request.c void *buffer = malloc(size);
size 343 uspace/lib/usbdev/src/request.c buffer, size, &bytes_transferred);
size 348 uspace/lib/usbdev/src/request.c if (bytes_transferred != size) {
size 355 uspace/lib/usbdev/src/request.c *buffer_size = size;
size 545 uspace/lib/usbdev/src/request.c uint16_t language, const void *buffer, size_t size)
size 550 uspace/lib/usbdev/src/request.c if (size == 0) {
size 559 uspace/lib/usbdev/src/request.c wValue, language, buffer, size);
size 46 uspace/lib/usbhid/include/usb/hid/hiddescriptor.h const uint8_t *data, size_t size);
size 84 uspace/lib/usbhid/include/usb/hid/hiddescriptor.h uint32_t usb_hid_report_tag_data_uint32(const uint8_t *data, size_t size);
size 49 uspace/lib/usbhid/include/usb/hid/hidparser.h size_t size, uint8_t *report_id);
size 54 uspace/lib/usbhid/include/usb/hid/hidparser.h uint8_t *usb_hid_report_output(usb_hid_report_t *report, size_t *size,
size 66 uspace/lib/usbhid/include/usb/hid/hidparser.h uint8_t report_id, uint8_t *buffer, size_t size);
size 54 uspace/lib/usbhid/include/usb/hid/hidtypes.h #define USB_HID_UINT32_TO_INT32(x, size) \
size 55 uspace/lib/usbhid/include/usb/hid/hidtypes.h ((((x) & (1 << ((size) - 1))) != 0) ? \
size 56 uspace/lib/usbhid/include/usb/hid/hidtypes.h -(~((x) - 1) & ((1 << size) - 1)) : (x))
size 66 uspace/lib/usbhid/include/usb/hid/hidtypes.h #define USB_HID_INT32_TO_UINT32(x, size) \
size 67 uspace/lib/usbhid/include/usb/hid/hidtypes.h (((x) < 0 ) ? ((1 << (size)) + (x)) : (x))
size 140 uspace/lib/usbhid/include/usb/hid/hidtypes.h size_t size;
size 229 uspace/lib/usbhid/include/usb/hid/hidtypes.h int32_t size;
size 236 uspace/lib/usbhid/src/hiddescriptor.c field->size = report_item->size;
size 238 uspace/lib/usbhid/src/hiddescriptor.c field->offset = report_item->offset + (i * report_item->size);
size 280 uspace/lib/usbhid/src/hiddescriptor.c report_des->bit_length += field->size;
size 334 uspace/lib/usbhid/src/hiddescriptor.c const uint8_t *data, size_t size)
size 373 uspace/lib/usbhid/src/hiddescriptor.c while (i < size) {
size 376 uspace/lib/usbhid/src/hiddescriptor.c if ((i + USB_HID_ITEM_SIZE(data[i])) >= size) {
size 409 uspace/lib/usbhid/src/hiddescriptor.c report_item->size;
size 418 uspace/lib/usbhid/src/hiddescriptor.c report_item->size;
size 427 uspace/lib/usbhid/src/hiddescriptor.c report_item->size;
size 672 uspace/lib/usbhid/src/hiddescriptor.c report_item->size = usb_hid_report_tag_data_uint32(
size 846 uspace/lib/usbhid/src/hiddescriptor.c uint32_t usb_hid_report_tag_data_uint32(const uint8_t *data, size_t size)
size 852 uspace/lib/usbhid/src/hiddescriptor.c for (i = 0; i < size; i++) {
size 875 uspace/lib/usbhid/src/hiddescriptor.c usb_log_debug("\t\tSIZE: %zu", report_item->size);
size 49 uspace/lib/usbhid/src/hidparser.c uint32_t usb_hid_report_tag_data_uint32(const uint8_t *data, size_t size);
size 128 uspace/lib/usbhid/src/hidparser.c size_t size, uint8_t *report_id)
size 199 uspace/lib/usbhid/src/hidparser.c if (item->size > 32) {
size 222 uspace/lib/usbhid/src/hidparser.c int bits = item->size;
size 248 uspace/lib/usbhid/src/hidparser.c value = USB_HID_UINT32_TO_INT32(value, item->size);
size 265 uspace/lib/usbhid/src/hidparser.c uint8_t *usb_hid_report_output(usb_hid_report_t *report, size_t *size,
size 269 uspace/lib/usbhid/src/hidparser.c *size = 0;
size 285 uspace/lib/usbhid/src/hidparser.c *size = 0;
size 288 uspace/lib/usbhid/src/hidparser.c *size = (report_des->bit_length + (8 - 1)) / 8;
size 289 uspace/lib/usbhid/src/hidparser.c uint8_t *ret = malloc((*size) * sizeof(uint8_t));
size 290 uspace/lib/usbhid/src/hidparser.c memset(ret, 0, (*size) * sizeof(uint8_t));
size 317 uspace/lib/usbhid/src/hidparser.c uint8_t report_id, uint8_t *buffer, size_t size)
size 346 uspace/lib/usbhid/src/hidparser.c length = report_item->size;
size 351 uspace/lib/usbhid/src/hidparser.c if (((size_t) (offset / 8) >= size) ||
size 352 uspace/lib/usbhid/src/hidparser.c ((size_t) (offset + length - 1) / 8) >= size) {
size 442 uspace/lib/usbhid/src/hidparser.c return USB_HID_INT32_TO_UINT32(ret, item->size);
size 53 uspace/lib/usbhid/src/hidreport.c uint8_t **report_desc, size_t *size)
size 56 uspace/lib/usbhid/src/hidreport.c assert(size != NULL);
size 64 uspace/lib/usbhid/src/hidreport.c .size = usb_device_descriptors(dev)->full_config_size,
size 156 uspace/lib/usbhid/src/hidreport.c *size = length;
size 166 uspace/lib/usbhost/include/usb/host/bus.h size_t offset, size;
size 76 uspace/lib/usbhost/include/usb/host/usb_transfer_batch.h size_t offset, size;
size 110 uspace/lib/usbhost/include/usb/host/usb_transfer_batch.h (batch).size, (batch).ep->max_packet_size
size 75 uspace/lib/usbhost/include/usb/host/utils/malloc32.h static inline void *malloc32(size_t size)
size 79 uspace/lib/usbhost/include/usb/host/utils/malloc32.h size_t real_size = ALIGN_UP(size, PAGE_SIZE);
size 564 uspace/lib/usbhost/src/bus.c assert(request->offset == 0 || request->size != 0);
size 566 uspace/lib/usbhost/src/bus.c assert(request->size == 0 || dma_buffer_is_set(&request->buffer));
size 643 uspace/lib/usbhost/src/bus.c usb_direction_t direction, char *data, size_t size, uint64_t setup_data,
size 655 uspace/lib/usbhost/src/bus.c .size = size,
size 663 uspace/lib/usbhost/src/bus.c (err = dma_buffer_lock(&request.buffer, data - request.offset, size)))
size 667 uspace/lib/usbhost/src/bus.c dma_buffer_unlock(&request.buffer, size);
size 680 uspace/lib/usbhost/src/bus.c dma_buffer_unlock(&request.buffer, size);
size 295 uspace/lib/usbhost/src/ddf_helpers.c if (ifreq->offset > 0 && ifreq->size == 0)
size 298 uspace/lib/usbhost/src/ddf_helpers.c if (ifreq->size > 0 && !dma_buffer_is_set(&ifreq->buffer))
size 309 uspace/lib/usbhost/src/ddf_helpers.c .size = ifreq->size,
size 452 uspace/lib/usbhost/src/ddf_helpers.c errno_t hcd_ddf_setup_hc(ddf_dev_t *device, size_t size)
size 456 uspace/lib/usbhost/src/ddf_helpers.c hc_device_t *instance = ddf_dev_data_alloc(device, size);
size 217 uspace/lib/usbhost/src/endpoint.c req->size, ep->max_packet_size,
size 222 uspace/lib/usbhost/src/endpoint.c req->size, ep->max_packet_size);
size 237 uspace/lib/usbhost/src/endpoint.c size_t size = req->size;
size 242 uspace/lib/usbhost/src/endpoint.c if (size > ep->max_transfer_size &&
size 248 uspace/lib/usbhost/src/endpoint.c size = ep->max_transfer_size;
size 264 uspace/lib/usbhost/src/endpoint.c batch->size = size;
size 107 uspace/lib/usbhost/src/usb_transfer_batch.c if (!batch->size)
size 126 uspace/lib/usbhost/src/usb_transfer_batch.c size_t end_chunk = (batch->offset + batch->size - 1) & ~chunk_mask;
size 148 uspace/lib/usbhost/src/usb_transfer_batch.c batch->size, batch->ep->transfer_buffer_policy);
size 156 uspace/lib/usbhost/src/usb_transfer_batch.c batch->size);
size 177 uspace/lib/usbhost/src/usb_transfer_batch.c if (batch->error == EOK && batch->size > 0) {
size 57 uspace/lib/usbvirt/src/ipc_dev.c size_t size = str_size(dev->name);
size 67 uspace/lib/usbvirt/src/ipc_dev.c if (accepted_size > size) {
size 68 uspace/lib/usbvirt/src/ipc_dev.c accepted_size = size;
size 135 uspace/lib/virtio/virtio-pci.h size_t size;
size 57 uspace/lib/virtio/virtio.c errno_t virtio_setup_dma_bufs(unsigned int buffers, size_t size,
size 65 uspace/lib/virtio/virtio.c errno_t rc = dmamem_map_anonymous(buffers * size, 0,
size 71 uspace/lib/virtio/virtio.c ddf_msg(LVL_NOTE, "DMA buffers: %p-%p", virt, virt + buffers * size);
size 77 uspace/lib/virtio/virtio.c buf[i] = virt + i * size;
size 78 uspace/lib/virtio/virtio.c buf_p[i] = phys + i * size;
size 127 uspace/lib/virtio/virtio.c uint16_t size, uint16_t *head)
size 129 uspace/lib/virtio/virtio.c for (unsigned i = 0; i < size; i++) {
size 131 uspace/lib/virtio/virtio.c VIRTQ_DESC_F_NEXT, (i + 1 == size) ? 0xffffu : i + 1);
size 209 uspace/lib/virtio/virtio.c errno_t virtio_virtq_setup(virtio_dev_t *vdev, uint16_t num, uint16_t size)
size 218 uspace/lib/virtio/virtio.c if (size > pio_read_16(&cfg->queue_size)) {
size 222 uspace/lib/virtio/virtio.c pio_write_le16(&cfg->queue_size, size);
size 223 uspace/lib/virtio/virtio.c ddf_msg(LVL_NOTE, "Virtq %u: %u descriptors", num, (unsigned) size);
size 232 uspace/lib/virtio/virtio.c size_t mem_size = sizeof(virtq_desc_t[size]);
size 235 uspace/lib/virtio/virtio.c mem_size += sizeof(virtq_avail_t) + sizeof(ioport16_t[size]) +
size 239 uspace/lib/virtio/virtio.c mem_size += sizeof(virtq_used_t) + sizeof(virtq_used_elem_t[size]) +
size 255 uspace/lib/virtio/virtio.c q->size = mem_size;
size 256 uspace/lib/virtio/virtio.c q->queue_size = size;
size 262 uspace/lib/virtio/virtio.c memset(q->virt, 0, q->size);
size 272 uspace/lib/virtio/virtio.c num, q->virt, (void *) q->phys, q->size);
size 295 uspace/lib/virtio/virtio.c if (q->size)
size 64 uspace/lib/wndmgt/src/wndmgt_srv.c size_t size;
size 80 uspace/lib/wndmgt/src/wndmgt_srv.c if (!async_data_read_receive(&call, &size)) {
size 87 uspace/lib/wndmgt/src/wndmgt_srv.c if (size != sizeof(list->nwindows)) {
size 94 uspace/lib/wndmgt/src/wndmgt_srv.c rc = async_data_read_finalize(&call, &list->nwindows, size);
size 104 uspace/lib/wndmgt/src/wndmgt_srv.c if (!async_data_read_receive(&call, &size)) {
size 111 uspace/lib/wndmgt/src/wndmgt_srv.c if (size != list->nwindows * sizeof(sysarg_t)) {
size 118 uspace/lib/wndmgt/src/wndmgt_srv.c rc = async_data_read_finalize(&call, list->windows, size);
size 136 uspace/lib/wndmgt/src/wndmgt_srv.c size_t size;
size 154 uspace/lib/wndmgt/src/wndmgt_srv.c if (!async_data_read_receive(&call, &size)) {
size 161 uspace/lib/wndmgt/src/wndmgt_srv.c if (size != sizeof(size_t)) {
size 170 uspace/lib/wndmgt/src/wndmgt_srv.c rc = async_data_read_finalize(&call, &capsize, size);
size 180 uspace/lib/wndmgt/src/wndmgt_srv.c if (!async_data_read_receive(&call, &size)) {
size 187 uspace/lib/wndmgt/src/wndmgt_srv.c if (size != capsize) {
size 194 uspace/lib/wndmgt/src/wndmgt_srv.c rc = async_data_read_finalize(&call, info->caption, size);
size 244 uspace/lib/wndmgt/src/wndmgt_srv.c size_t size;
size 259 uspace/lib/wndmgt/src/wndmgt_srv.c if (!async_data_read_receive(&call, &size)) {
size 265 uspace/lib/wndmgt/src/wndmgt_srv.c if (size != sizeof(event)) {
size 49 uspace/srv/audio/hound/audio_data.c audio_data_t *audio_data_create(void *data, size_t size,
size 52 uspace/srv/audio/hound/audio_data.c audio_data_t *adata = malloc(sizeof(audio_data_t) + size);
size 54 uspace/srv/audio/hound/audio_data.c unsigned overflow = size % pcm_format_frame_size(&format);
size 59 uspace/srv/audio/hound/audio_data.c adata->size = size - overflow;
size 159 uspace/srv/audio/hound/audio_data.c assert(alink->position <= alink->adata->size);
size 160 uspace/srv/audio/hound/audio_data.c return alink->adata->size - alink->position;
size 259 uspace/srv/audio/hound/audio_data.c size_t size, const pcm_format_t *f)
size 264 uspace/srv/audio/hound/audio_data.c size_t needed_frames = pcm_format_size_to_frames(size, f);
size 50 uspace/srv/audio/hound/audio_data.h size_t size;
size 69 uspace/srv/audio/hound/audio_data.h audio_data_t *audio_data_create(void *data, size_t size,
size 80 uspace/srv/audio/hound/audio_data.h size_t audio_pipe_mix_data(audio_pipe_t *pipe, void *buffer, size_t size,
size 116 uspace/srv/audio/hound/audio_data.h void *data, size_t size, pcm_format_t f)
size 118 uspace/srv/audio/hound/audio_data.h audio_data_t *adata = audio_data_create(data, size, f);
size 59 uspace/srv/audio/hound/audio_device.c static void advance_buffer(audio_device_t *dev, size_t size);
size 94 uspace/srv/audio/hound/audio_device.c dev->buffer.size = 0;
size 175 uspace/srv/audio/hound/audio_device.c pcm_format_silence(dev->buffer.base, dev->buffer.size,
size 178 uspace/srv/audio/hound/audio_device.c const size_t size = dev->buffer.fragment_size * 2;
size 180 uspace/srv/audio/hound/audio_device.c audio_sink_mix_inputs(&dev->sink, dev->buffer.position, size);
size 181 uspace/srv/audio/hound/audio_device.c advance_buffer(dev, size);
size 365 uspace/srv/audio/hound/audio_device.c dev->buffer.size = preferred_size;
size 366 uspace/srv/audio/hound/audio_device.c dev->buffer.fragment_size = dev->buffer.size / BUFFER_PARTS;
size 387 uspace/srv/audio/hound/audio_device.c dev->buffer.size = 0;
size 400 uspace/srv/audio/hound/audio_device.c static void advance_buffer(audio_device_t *dev, size_t size)
size 404 uspace/srv/audio/hound/audio_device.c assert(dev->buffer.position < (dev->buffer.base + dev->buffer.size));
size 405 uspace/srv/audio/hound/audio_device.c dev->buffer.position += size;
size 406 uspace/srv/audio/hound/audio_device.c if (dev->buffer.position == (dev->buffer.base + dev->buffer.size))
size 62 uspace/srv/audio/hound/audio_device.h size_t size;
size 82 uspace/srv/audio/hound/audio_device.h errno_t audio_device_recorded_data(audio_device_t *dev, void **base, size_t *size);
size 83 uspace/srv/audio/hound/audio_device.h errno_t audio_device_available_buffer(audio_device_t *dev, void **base, size_t *size);
size 137 uspace/srv/audio/hound/audio_sink.c void audio_sink_mix_inputs(audio_sink_t *sink, void *dest, size_t size)
size 142 uspace/srv/audio/hound/audio_sink.c pcm_format_silence(dest, size, &sink->format);
size 146 uspace/srv/audio/hound/audio_sink.c conn, dest, size, sink->format);
size 89 uspace/srv/audio/hound/audio_sink.h void audio_sink_mix_inputs(audio_sink_t *sink, void *dest, size_t size);
size 99 uspace/srv/audio/hound/audio_source.c size_t size)
size 104 uspace/srv/audio/hound/audio_source.c audio_data_t *adata = audio_data_create(data, size, source->format);
size 59 uspace/srv/audio/hound/audio_source.h errno_t (*update_available_data)(audio_source_t *source, size_t size);
size 78 uspace/srv/audio/hound/audio_source.h size_t size);
size 108 uspace/srv/audio/hound/connection.c size_t size, pcm_format_t format)
size 113 uspace/srv/audio/hound/connection.c const size_t needed_frames = pcm_format_size_to_frames(size, &format);
size 118 uspace/srv/audio/hound/connection.c connection->source, size);
size 123 uspace/srv/audio/hound/connection.c audio_pipe_mix_data(&connection->fifo, data, size, &format);
size 124 uspace/srv/audio/hound/connection.c if (ret != size)
size 126 uspace/srv/audio/hound/connection.c ret, size);
size 87 uspace/srv/audio/hound/connection.h size_t size, pcm_format_t format);
size 419 uspace/srv/audio/hound/hound.c errno_t hound_list_sources(hound_t *hound, char ***list, size_t *size)
size 422 uspace/srv/audio/hound/hound.c if (!list || !size)
size 429 uspace/srv/audio/hound/hound.c *size = 0;
size 443 uspace/srv/audio/hound/hound.c *size = count;
size 461 uspace/srv/audio/hound/hound.c errno_t hound_list_sinks(hound_t *hound, char ***list, size_t *size)
size 464 uspace/srv/audio/hound/hound.c if (!list || !size)
size 471 uspace/srv/audio/hound/hound.c *size = 0;
size 485 uspace/srv/audio/hound/hound.c *size = count;
size 508 uspace/srv/audio/hound/hound.c const char ***sinks, size_t *size)
size 75 uspace/srv/audio/hound/hound.h errno_t hound_list_sources(hound_t *hound, char ***list, size_t *size);
size 76 uspace/srv/audio/hound/hound.h errno_t hound_list_sinks(hound_t *hound, char ***list, size_t *size);
size 78 uspace/srv/audio/hound/hound.h const char ***sinks, size_t *size);
size 47 uspace/srv/audio/hound/hound_ctx.c static errno_t update_data(audio_source_t *source, size_t size);
size 205 uspace/srv/audio/hound/hound_ctx.c if (stream->allowed_size && adata->size > stream->allowed_size)
size 210 uspace/srv/audio/hound/hound_ctx.c (audio_pipe_bytes(&stream->fifo) + adata->size >
size 299 uspace/srv/audio/hound/hound_ctx.c size_t size)
size 303 uspace/srv/audio/hound/hound_ctx.c if (stream->allowed_size && size > stream->allowed_size)
size 308 uspace/srv/audio/hound/hound_ctx.c (audio_pipe_bytes(&stream->fifo) + size > stream->allowed_size)) {
size 314 uspace/srv/audio/hound/hound_ctx.c audio_pipe_push_data(&stream->fifo, data, size, stream->format);
size 328 uspace/srv/audio/hound/hound_ctx.c errno_t hound_ctx_stream_read(hound_ctx_stream_t *stream, void *data, size_t size)
size 332 uspace/srv/audio/hound/hound_ctx.c if (stream->allowed_size && size > stream->allowed_size)
size 336 uspace/srv/audio/hound/hound_ctx.c while (audio_pipe_bytes(&stream->fifo) < size) {
size 340 uspace/srv/audio/hound/hound_ctx.c pcm_format_silence(data, size, &stream->format);
size 342 uspace/srv/audio/hound/hound_ctx.c audio_pipe_mix_data(&stream->fifo, data, size, &stream->format);
size 360 uspace/srv/audio/hound/hound_ctx.c size_t size, const pcm_format_t *f)
size 364 uspace/srv/audio/hound/hound_ctx.c const size_t ret = audio_pipe_mix_data(&stream->fifo, data, size, f);
size 392 uspace/srv/audio/hound/hound_ctx.c errno_t update_data(audio_source_t *source, size_t size)
size 397 uspace/srv/audio/hound/hound_ctx.c void *buffer = malloc(size);
size 400 uspace/srv/audio/hound/hound_ctx.c audio_data_t *adata = audio_data_create(buffer, size, source->format);
size 407 uspace/srv/audio/hound/hound_ctx.c pcm_format_silence(buffer, size, &source->format);
size 411 uspace/srv/audio/hound/hound_ctx.c stream, buffer, size, &source->format);
size 412 uspace/srv/audio/hound/hound_ctx.c if (copied != (ssize_t)size)
size 74 uspace/srv/audio/hound/hound_ctx.h size_t size);
size 75 uspace/srv/audio/hound/hound_ctx.h errno_t hound_ctx_stream_read(hound_ctx_stream_t *stream, void *buffer, size_t size);
size 77 uspace/srv/audio/hound/hound_ctx.h size_t size, const pcm_format_t *f);
size 88 uspace/srv/audio/hound/iface.c static errno_t iface_get_list(void *server, char ***list, size_t *size,
size 91 uspace/srv/audio/hound/iface.c log_info("%s: %p, %zu, %s, %#x\n", __FUNCTION__, server, *size,
size 94 uspace/srv/audio/hound/iface.c return hound_list_sinks(server, list, size);
size 96 uspace/srv/audio/hound/iface.c return hound_list_sources(server, list, size);
size 113 uspace/srv/audio/hound/iface.c pcm_format_t format, size_t size, void **data)
size 125 uspace/srv/audio/hound/iface.c hound_ctx_create_stream(ctx, flags, format, size);
size 144 uspace/srv/audio/hound/iface.c static errno_t iface_stream_data_read(void *stream, void *buffer, size_t size)
size 146 uspace/srv/audio/hound/iface.c return hound_ctx_stream_read(stream, buffer, size);
size 149 uspace/srv/audio/hound/iface.c static errno_t iface_stream_data_write(void *stream, void *buffer, size_t size)
size 151 uspace/srv/audio/hound/iface.c return hound_ctx_stream_write(stream, buffer, size);
size 240 uspace/srv/bd/file_bd/file_bd.c size_t size)
size 244 uspace/srv/bd/file_bd/file_bd.c if (size < cnt * block_size)
size 280 uspace/srv/bd/file_bd/file_bd.c const void *buf, size_t size)
size 284 uspace/srv/bd/file_bd/file_bd.c if (size < cnt * block_size)
size 117 uspace/srv/bd/rd/rd.c size_t size)
size 125 uspace/srv/bd/rd/rd.c memcpy(buf, rd_addr + ba * block_size, min(block_size * cnt, size));
size 133 uspace/srv/bd/rd/rd.c const void *buf, size_t size)
size 141 uspace/srv/bd/rd/rd.c memcpy(rd_addr + ba * block_size, buf, min(block_size * cnt, size));
size 150 uspace/srv/bd/rd/rd.c sysarg_t size;
size 151 uspace/srv/bd/rd/rd.c errno_t ret = sysinfo_get_value("rd.size", &size);
size 152 uspace/srv/bd/rd/rd.c if ((ret != EOK) || (size == 0)) {
size 164 uspace/srv/bd/rd/rd.c rd_size = ALIGN_UP(size, block_size);
size 176 uspace/srv/bd/rd/rd.c (void *) addr_phys, size);
size 207 uspace/srv/bd/sata_bd/sata_bd.c size_t size)
size 211 uspace/srv/bd/sata_bd/sata_bd.c if (size < cnt * sbd->block_size)
size 219 uspace/srv/bd/sata_bd/sata_bd.c const void *buf, size_t size)
size 223 uspace/srv/bd/sata_bd/sata_bd.c if (size < cnt * sbd->block_size)
size 974 uspace/srv/bd/vbd/disk.c void *buf, size_t size)
size 983 uspace/srv/bd/vbd/disk.c if (cnt * part->disk->block_size < size) {
size 1024 uspace/srv/bd/vbd/disk.c const void *buf, size_t size)
size 1033 uspace/srv/bd/vbd/disk.c if (cnt * part->disk->block_size < size) {
size 92 uspace/srv/bd/vbd/vbd.c size_t size;
size 96 uspace/srv/bd/vbd/vbd.c if (!async_data_read_receive(&call, &size)) {
size 102 uspace/srv/bd/vbd/vbd.c service_id_t *id_buf = (service_id_t *) malloc(size);
size 109 uspace/srv/bd/vbd/vbd.c rc = vbds_disk_get_ids(id_buf, size, &act_size);
size 117 uspace/srv/bd/vbd/vbd.c errno_t retval = async_data_read_finalize(&call, id_buf, size);
size 139 uspace/srv/bd/vbd/vbd.c size_t size;
size 140 uspace/srv/bd/vbd/vbd.c if (!async_data_read_receive(&call, &size)) {
size 146 uspace/srv/bd/vbd/vbd.c if (size != sizeof(vbd_disk_info_t)) {
size 153 uspace/srv/bd/vbd/vbd.c min(size, sizeof(dinfo)));
size 192 uspace/srv/bd/vbd/vbd.c size_t size;
size 199 uspace/srv/bd/vbd/vbd.c if (!async_data_read_receive(&call, &size)) {
size 207 uspace/srv/bd/vbd/vbd.c category_id_t *id_buf = (category_id_t *) malloc(size);
size 214 uspace/srv/bd/vbd/vbd.c rc = vbds_get_parts(sid, id_buf, size, &act_size);
size 221 uspace/srv/bd/vbd/vbd.c errno_t retval = async_data_read_finalize(&call, id_buf, size);
size 243 uspace/srv/bd/vbd/vbd.c size_t size;
size 244 uspace/srv/bd/vbd/vbd.c if (!async_data_read_receive(&call, &size)) {
size 250 uspace/srv/bd/vbd/vbd.c if (size != sizeof(vbd_part_info_t)) {
size 257 uspace/srv/bd/vbd/vbd.c min(size, sizeof(pinfo)));
size 279 uspace/srv/bd/vbd/vbd.c size_t size;
size 280 uspace/srv/bd/vbd/vbd.c if (!async_data_write_receive(&call, &size)) {
size 286 uspace/srv/bd/vbd/vbd.c if (size != sizeof(vbd_part_spec_t)) {
size 339 uspace/srv/bd/vbd/vbd.c size_t size;
size 340 uspace/srv/bd/vbd/vbd.c if (!async_data_read_receive(&call, &size)) {
size 346 uspace/srv/bd/vbd/vbd.c if (size != sizeof(label_ptype_t)) {
size 54 uspace/srv/clipboard/clipboard.c size_t size;
size 71 uspace/srv/clipboard/clipboard.c rc = async_data_write_accept((void **) &data, false, 0, 0, 0, &size);
size 83 uspace/srv/clipboard/clipboard.c clip_size = size;
size 99 uspace/srv/clipboard/clipboard.c size_t size;
size 104 uspace/srv/clipboard/clipboard.c if (!async_data_read_receive(&call, &size)) {
size 117 uspace/srv/clipboard/clipboard.c if (clip_size != size) {
size 124 uspace/srv/clipboard/clipboard.c errno_t retval = async_data_read_finalize(&call, clip_data, size);
size 148 uspace/srv/clipboard/clipboard.c size_t size = clip_size;
size 152 uspace/srv/clipboard/clipboard.c async_answer_2(req, EOK, (sysarg_t) size, (sysarg_t) tag);
size 363 uspace/srv/devman/client_conn.c size_t size;
size 367 uspace/srv/devman/client_conn.c if (!async_data_read_receive(&call, &size)) {
size 384 uspace/srv/devman/client_conn.c devman_handle_t *hdl_buf = (devman_handle_t *) malloc(size);
size 392 uspace/srv/devman/client_conn.c rc = dev_get_functions(&device_tree, dev, hdl_buf, size, &act_size);
size 402 uspace/srv/devman/client_conn.c errno_t retval = async_data_read_finalize(&call, hdl_buf, size);
size 511 uspace/srv/devman/client_conn.c size_t size;
size 515 uspace/srv/devman/client_conn.c if (!async_data_read_receive(&call, &size)) {
size 520 uspace/srv/devman/client_conn.c devman_handle_t *hdl_buf = (devman_handle_t *) malloc(size);
size 527 uspace/srv/devman/client_conn.c rc = driver_get_list(&drivers_list, hdl_buf, size, &act_size);
size 534 uspace/srv/devman/client_conn.c errno_t retval = async_data_read_finalize(&call, hdl_buf, size);
size 543 uspace/srv/devman/client_conn.c size_t size;
size 547 uspace/srv/devman/client_conn.c if (!async_data_read_receive(&call, &size)) {
size 559 uspace/srv/devman/client_conn.c devman_handle_t *hdl_buf = (devman_handle_t *) malloc(size);
size 566 uspace/srv/devman/client_conn.c rc = driver_get_devices(drv, hdl_buf, size, &act_size);
size 574 uspace/srv/devman/client_conn.c errno_t retval = async_data_read_finalize(&call, hdl_buf, size);
size 218 uspace/srv/devman/match.c len = st.size;
size 42 uspace/srv/devman/util.c int size = base_len + 2 * str_size(name) + str_size(ext) + 3;
size 44 uspace/srv/devman/util.c res = malloc(size);
size 47 uspace/srv/devman/util.c str_cpy(res, size, base_path);
size 49 uspace/srv/devman/util.c str_append(res, size, "/");
size 50 uspace/srv/devman/util.c str_append(res, size, name);
size 51 uspace/srv/devman/util.c str_append(res, size, "/");
size 52 uspace/srv/devman/util.c str_append(res, size, name);
size 54 uspace/srv/devman/util.c str_append(res, size, ".");
size 55 uspace/srv/devman/util.c str_append(res, size, ext);
size 126 uspace/srv/fs/cdfs/cdfs_ops.c uint32_t_lb size;
size 144 uspace/srv/fs/cdfs/cdfs_ops.c uint32_t_lb size;
size 244 uspace/srv/fs/cdfs/cdfs_ops.c uint32_t size; /**< File size if type is CDFS_FILE */
size 366 uspace/srv/fs/cdfs/cdfs_ops.c node->size = 0;
size 577 uspace/srv/fs/cdfs/cdfs_ops.c uint32_t blocks = node->size / BLOCK_SIZE;
size 578 uspace/srv/fs/cdfs/cdfs_ops.c if ((node->size % BLOCK_SIZE) != 0)
size 626 uspace/srv/fs/cdfs/cdfs_ops.c cur->size = uint32_lb(dir->size);
size 674 uspace/srv/fs/cdfs/cdfs_ops.c node->size = uint32_lb(dir->size);
size 783 uspace/srv/fs/cdfs/cdfs_ops.c return node->size;
size 809 uspace/srv/fs/cdfs/cdfs_ops.c static errno_t cdfs_size_block(service_id_t service_id, uint32_t *size)
size 811 uspace/srv/fs/cdfs/cdfs_ops.c *size = BLOCK_SIZE;
size 954 uspace/srv/fs/cdfs/cdfs_ops.c *rsize = uint32_lb(vol_desc->data.prisec.root_dir.size);
size 1030 uspace/srv/fs/cdfs/cdfs_ops.c *rsize = uint32_lb(vol_desc->data.prisec.root_dir.size);
size 1046 uspace/srv/fs/cdfs/cdfs_ops.c &node->size, &fs->enc, &fs->vol_ident);
size 1150 uspace/srv/fs/cdfs/cdfs_ops.c fs_index_t *index, aoff64_t *size)
size 1206 uspace/srv/fs/cdfs/cdfs_ops.c *size = root->size;
size 1284 uspace/srv/fs/cdfs/cdfs_ops.c if (pos >= node->size) {
size 1292 uspace/srv/fs/cdfs/cdfs_ops.c *rbytes = min(*rbytes, node->size - pos);
size 1338 uspace/srv/fs/cdfs/cdfs_ops.c aoff64_t size)
size 146 uspace/srv/fs/exfat/exfat.h aoff64_t size;
size 225 uspace/srv/fs/exfat/exfat_bitmap.c lastc = nodep->firstc + ROUND_UP(nodep->size, BPC(bs)) / BPC(bs) - 1;
size 243 uspace/srv/fs/exfat/exfat_bitmap.c lastc = nodep->firstc + ROUND_UP(nodep->size, BPC(bs)) / BPC(bs) - 1;
size 254 uspace/srv/fs/exfat/exfat_bitmap.c lastc = nodep->firstc + ROUND_UP(nodep->size, BPC(bs)) / BPC(bs) - 1;
size 90 uspace/srv/fs/exfat/exfat_dentry.c void exfat_dentry_get_name(const exfat_name_dentry_t *name, size_t size, uint16_t *dst, size_t *offset)
size 93 uspace/srv/fs/exfat/exfat_dentry.c while (i < EXFAT_NAME_PART_LEN && *offset < size) {
size 102 uspace/srv/fs/exfat/exfat_dentry.c size_t size, uint16_t *dst)
size 105 uspace/srv/fs/exfat/exfat_dentry.c while (i < EXFAT_VOLLABEL_LEN && i < vollabel->size && i < size) {
size 63 uspace/srv/fs/exfat/exfat_dentry.h uint8_t size;
size 72 uspace/srv/fs/exfat/exfat_dentry.h uint64_t size;
size 80 uspace/srv/fs/exfat/exfat_dentry.h uint64_t size;
size 73 uspace/srv/fs/exfat/exfat_directory.c di->blocks = ROUND_UP(nodep->size, BPS(di->bs)) / BPS(di->bs);
size 213 uspace/srv/fs/exfat/exfat_directory.c errno_t exfat_directory_read_file(exfat_directory_t *di, char *name, size_t size,
size 239 uspace/srv/fs/exfat/exfat_directory.c if (ds->name_size > size)
size 253 uspace/srv/fs/exfat/exfat_directory.c rc = utf16_to_str(name, size, wname);
size 262 uspace/srv/fs/exfat/exfat_directory.c size_t size)
size 281 uspace/srv/fs/exfat/exfat_directory.c rc = utf16_to_str(label, size, wlabel);
size 387 uspace/srv/fs/exfat/exfat_directory.c uctable_chars = ALIGN_DOWN(uctablep->size,
size 514 uspace/srv/fs/exfat/exfat_directory.c di->nodep->size += BPC(di->bs);
size 516 uspace/srv/fs/exfat/exfat_directory.c di->blocks = di->nodep->size / BPS(di->bs);
size 132 uspace/srv/fs/exfat/exfat_fat.c if (!nodep->size)
size 136 uspace/srv/fs/exfat/exfat_fat.c if (((((nodep->size - 1) / BPS(bs)) / SPC(bs)) == bn / SPC(bs)) &&
size 514 uspace/srv/fs/exfat/exfat_fat.c blocks = ROUND_UP(nodep->size, BPS(bs)) / BPS(bs);
size 522 uspace/srv/fs/exfat/exfat_fat.c count = nodep->size - i * BPS(bs);
size 106 uspace/srv/fs/exfat/exfat_ops.c node->size = 0;
size 134 uspace/srv/fs/exfat/exfat_ops.c if (node->size == 0 && node->firstc == 0) {
size 140 uspace/srv/fs/exfat/exfat_ops.c ds.valid_data_size = node->size;
size 141 uspace/srv/fs/exfat/exfat_ops.c ds.data_size = node->size;
size 356 uspace/srv/fs/exfat/exfat_ops.c nodep->size = uint64_t_le2host(d->stream.data_size);
size 362 uspace/srv/fs/exfat/exfat_ops.c nodep->size = uint64_t_le2host(d->bitmap.size);
size 368 uspace/srv/fs/exfat/exfat_ops.c nodep->size = uint64_t_le2host(d->uctable.size);
size 447 uspace/srv/fs/exfat/exfat_ops.c aoff64_t size)
size 455 uspace/srv/fs/exfat/exfat_ops.c prev_clsts = ROUND_UP(nodep->size, BPC(bs)) / BPC(bs);
size 456 uspace/srv/fs/exfat/exfat_ops.c new_clsts = ROUND_UP(size, BPC(bs)) / BPC(bs);
size 468 uspace/srv/fs/exfat/exfat_ops.c if (size == 0) {
size 475 uspace/srv/fs/exfat/exfat_ops.c &lastc, NULL, (size - 1) / BPC(bs));
size 484 uspace/srv/fs/exfat/exfat_ops.c nodep->size = size;
size 645 uspace/srv/fs/exfat/exfat_ops.c nodep->size = 0;
size 669 uspace/srv/fs/exfat/exfat_ops.c nodep->size = BPC(bs);
size 703 uspace/srv/fs/exfat/exfat_ops.c assert(nodep->size);
size 710 uspace/srv/fs/exfat/exfat_ops.c ROUND_UP(nodep->size, BPC(bs)) / BPC(bs));
size 892 uspace/srv/fs/exfat/exfat_ops.c return EXFAT_NODE(fn)->size;
size 915 uspace/srv/fs/exfat/exfat_ops.c errno_t exfat_size_block(service_id_t service_id, uint32_t *size)
size 919 uspace/srv/fs/exfat/exfat_ops.c *size = BPC(bs);
size 954 uspace/srv/fs/exfat/exfat_ops.c unsigned const bmap_sectors = ROUND_UP(bmap_node->size, BPS(bs)) /
size 1085 uspace/srv/fs/exfat/exfat_ops.c rootp->size = BPS(bs) * SPC(bs) * clusters;
size 1128 uspace/srv/fs/exfat/exfat_ops.c bitmapp->size = uint64_t_le2host(de->bitmap.size);
size 1170 uspace/srv/fs/exfat/exfat_ops.c uctablep->size = uint64_t_le2host(de->uctable.size);
size 1285 uspace/srv/fs/exfat/exfat_ops.c aoff64_t *size)
size 1303 uspace/srv/fs/exfat/exfat_ops.c *size = EXFAT_NODE(rfn)->size;
size 1355 uspace/srv/fs/exfat/exfat_ops.c if (pos >= nodep->size) {
size 1361 uspace/srv/fs/exfat/exfat_ops.c bytes = min(bytes, nodep->size - pos);
size 1388 uspace/srv/fs/exfat/exfat_ops.c assert(nodep->size % BPS(bs) == 0);
size 1504 uspace/srv/fs/exfat/exfat_ops.c boundary = ROUND_UP(nodep->size, BPC(bs));
size 1517 uspace/srv/fs/exfat/exfat_ops.c if (pos + bytes > nodep->size) {
size 1518 uspace/srv/fs/exfat/exfat_ops.c nodep->size = pos + bytes;
size 1545 uspace/srv/fs/exfat/exfat_ops.c *nsize = nodep->size;
size 1551 uspace/srv/fs/exfat/exfat_ops.c exfat_truncate(service_id_t service_id, fs_index_t index, aoff64_t size)
size 1567 uspace/srv/fs/exfat/exfat_ops.c if (nodep->size == size) {
size 1569 uspace/srv/fs/exfat/exfat_ops.c } else if (nodep->size < size) {
size 1575 uspace/srv/fs/exfat/exfat_ops.c } else if (ROUND_UP(nodep->size, BPC(bs)) == ROUND_UP(size, BPC(bs))) {
size 1579 uspace/srv/fs/exfat/exfat_ops.c nodep->size = size;
size 1583 uspace/srv/fs/exfat/exfat_ops.c rc = exfat_node_shrink(service_id, nodep, size);
size 240 uspace/srv/fs/fat/fat.h aoff64_t size;
size 63 uspace/srv/fs/fat/fat_dentry.c size_t size;
size 72 uspace/srv/fs/fat/fat_dentry.c size = str_size(name);
size 73 uspace/srv/fs/fat/fat_dentry.c name[size] = '.';
size 74 uspace/srv/fs/fat/fat_dentry.c name[size + 1] = '\0';
size 271 uspace/srv/fs/fat/fat_dentry.c size_t fat_lfn_str_nlength(const unaligned_uint16_t *str, size_t size)
size 275 uspace/srv/fs/fat/fat_dentry.c while (offset < size) {
size 292 uspace/srv/fs/fat/fat_dentry.c size_t size = 0;
size 294 uspace/srv/fs/fat/fat_dentry.c size += fat_lfn_str_nlength(FAT_LFN_PART1(d), FAT_LFN_PART1_SIZE);
size 295 uspace/srv/fs/fat/fat_dentry.c size += fat_lfn_str_nlength(FAT_LFN_PART2(d), FAT_LFN_PART2_SIZE);
size 296 uspace/srv/fs/fat/fat_dentry.c size += fat_lfn_str_nlength(FAT_LFN_PART3(d), FAT_LFN_PART3_SIZE);
size 298 uspace/srv/fs/fat/fat_dentry.c return size;
size 325 uspace/srv/fs/fat/fat_dentry.c size_t fat_lfn_set_entry(const uint16_t *src, size_t *offset, size_t size,
size 330 uspace/srv/fs/fat/fat_dentry.c if (*offset < size) {
size 337 uspace/srv/fs/fat/fat_dentry.c if (*offset < size) {
size 344 uspace/srv/fs/fat/fat_dentry.c if (*offset < size) {
size 126 uspace/srv/fs/fat/fat_dentry.h uint32_t size;
size 56 uspace/srv/fs/fat/fat_directory.c di->blocks = ROUND_UP(nodep->size, BPS(di->bs)) / BPS(di->bs);
size 439 uspace/srv/fs/fat/fat_directory.c di->nodep->size += BPS(di->bs) * SPC(di->bs);
size 441 uspace/srv/fs/fat/fat_directory.c di->blocks = di->nodep->size / BPS(di->bs);
size 134 uspace/srv/fs/fat/fat_fat.c if (!nodep->size)
size 140 uspace/srv/fs/fat/fat_fat.c if (((((nodep->size - 1) / BPS(bs)) / SPC(bs)) == bn / SPC(bs)) &&
size 246 uspace/srv/fs/fat/fat_fat.c boundary = ROUND_UP(nodep->size, BPS(bs) * SPC(bs));
size 249 uspace/srv/fs/fat/fat_fat.c for (o = nodep->size; o < pos && o < boundary;
size 106 uspace/srv/fs/fat/fat_ops.c node->size = 0;
size 139 uspace/srv/fs/fat/fat_ops.c d->size = host2uint32_t_le(node->size);
size 341 uspace/srv/fs/fat/fat_ops.c nodep->size = BPS(bs) * SPC(bs) * clusters;
size 344 uspace/srv/fs/fat/fat_ops.c nodep->size = uint32_t_le2host(d->size);
size 518 uspace/srv/fs/fat/fat_ops.c nodep->size = BPS(bs) * SPC(bs);
size 522 uspace/srv/fs/fat/fat_ops.c nodep->size = 0;
size 566 uspace/srv/fs/fat/fat_ops.c assert(nodep->size);
size 773 uspace/srv/fs/fat/fat_ops.c blocks = nodep->size / BPS(bs);
size 822 uspace/srv/fs/fat/fat_ops.c return FAT_NODE(fn)->size;
size 845 uspace/srv/fs/fat/fat_ops.c errno_t fat_size_block(service_id_t service_id, uint32_t *size)
size 850 uspace/srv/fs/fat/fat_ops.c *size = BPC(bs);
size 1009 uspace/srv/fs/fat/fat_ops.c rootp->size = BPS(bs) * SPC(bs) * clusters;
size 1011 uspace/srv/fs/fat/fat_ops.c rootp->size = RDE(bs) * sizeof(fat_dentry_t);
size 1080 uspace/srv/fs/fat/fat_ops.c aoff64_t *size)
size 1122 uspace/srv/fs/fat/fat_ops.c *size = FAT_NODE(rfn)->size;
size 1244 uspace/srv/fs/fat/fat_ops.c if (pos >= nodep->size) {
size 1250 uspace/srv/fs/fat/fat_ops.c bytes = min(bytes, nodep->size - pos);
size 1272 uspace/srv/fs/fat/fat_ops.c assert(nodep->size % BPS(bs) == 0);
size 1361 uspace/srv/fs/fat/fat_ops.c boundary = ROUND_UP(nodep->size, BPC(bs));
size 1389 uspace/srv/fs/fat/fat_ops.c if (pos + bytes > nodep->size) {
size 1390 uspace/srv/fs/fat/fat_ops.c nodep->size = pos + bytes;
size 1394 uspace/srv/fs/fat/fat_ops.c *nsize = nodep->size;
size 1449 uspace/srv/fs/fat/fat_ops.c *nsize = nodep->size = pos + bytes;
size 1458 uspace/srv/fs/fat/fat_ops.c fat_truncate(service_id_t service_id, fs_index_t index, aoff64_t size)
size 1474 uspace/srv/fs/fat/fat_ops.c if (nodep->size == size) {
size 1476 uspace/srv/fs/fat/fat_ops.c } else if (nodep->size < size) {
size 1482 uspace/srv/fs/fat/fat_ops.c } else if (ROUND_UP(nodep->size, BPC(bs)) == ROUND_UP(size, BPC(bs))) {
size 1486 uspace/srv/fs/fat/fat_ops.c nodep->size = size;
size 1493 uspace/srv/fs/fat/fat_ops.c if (size == 0) {
size 1500 uspace/srv/fs/fat/fat_ops.c &lastc, NULL, (size - 1) / BPC(bs));
size 1507 uspace/srv/fs/fat/fat_ops.c nodep->size = size;
size 465 uspace/srv/fs/locfs/locfs_ops.c fs_index_t *index, aoff64_t *size)
size 468 uspace/srv/fs/locfs/locfs_ops.c *size = 0;
size 483 uspace/srv/fs/locfs/locfs_ops.c size_t size;
size 484 uspace/srv/fs/locfs/locfs_ops.c if (!async_data_read_receive(&call, &size)) {
size 537 uspace/srv/fs/locfs/locfs_ops.c size_t size;
size 538 uspace/srv/fs/locfs/locfs_ops.c if (!async_data_read_receive(&call, &size)) {
size 674 uspace/srv/fs/locfs/locfs_ops.c locfs_truncate(service_id_t service_id, fs_index_t index, aoff64_t size)
size 67 uspace/srv/fs/mfs/mfs_ops.c static errno_t mfs_size_block(service_id_t service_id, uint32_t *size);
size 299 uspace/srv/fs/mfs/mfs_ops.c aoff64_t *size)
size 355 uspace/srv/fs/mfs/mfs_ops.c *size = mroot->ino_i->i_size;
size 1063 uspace/srv/fs/mfs/mfs_ops.c mfs_truncate(service_id_t service_id, fs_index_t index, aoff64_t size)
size 1077 uspace/srv/fs/mfs/mfs_ops.c if (ino_i->i_size == size)
size 1080 uspace/srv/fs/mfs/mfs_ops.c r = mfs_inode_shrink(mnode, ino_i->i_size - size);
size 1193 uspace/srv/fs/mfs/mfs_ops.c mfs_size_block(service_id_t service_id, uint32_t *size)
size 1205 uspace/srv/fs/mfs/mfs_ops.c *size = inst->sbi->block_size;
size 323 uspace/srv/fs/mfs/mfs_rw.c memset(b->data, 0, b->size);
size 66 uspace/srv/fs/tmpfs/tmpfs.h size_t size; /**< File size if type is TMPFS_FILE. */
size 94 uspace/srv/fs/tmpfs/tmpfs_ops.c return TMPFS_NODE(fn)->size;
size 206 uspace/srv/fs/tmpfs/tmpfs_ops.c nodep->size = 0;
size 377 uspace/srv/fs/tmpfs/tmpfs_ops.c size_t size = str_size(nm);
size 378 uspace/srv/fs/tmpfs/tmpfs_ops.c dentryp->name = malloc(size + 1);
size 383 uspace/srv/fs/tmpfs/tmpfs_ops.c str_cpy(dentryp->name, size + 1, nm);
size 433 uspace/srv/fs/tmpfs/tmpfs_ops.c aoff64_t *size)
size 454 uspace/srv/fs/tmpfs/tmpfs_ops.c *size = rootp->size;
size 486 uspace/srv/fs/tmpfs/tmpfs_ops.c size_t size;
size 487 uspace/srv/fs/tmpfs/tmpfs_ops.c if (!async_data_read_receive(&call, &size)) {
size 494 uspace/srv/fs/tmpfs/tmpfs_ops.c bytes = min(nodep->size - pos, size);
size 549 uspace/srv/fs/tmpfs/tmpfs_ops.c size_t size;
size 550 uspace/srv/fs/tmpfs/tmpfs_ops.c if (!async_data_write_receive(&call, &size)) {
size 558 uspace/srv/fs/tmpfs/tmpfs_ops.c if (pos + size <= nodep->size) {
size 561 uspace/srv/fs/tmpfs/tmpfs_ops.c size);
size 564 uspace/srv/fs/tmpfs/tmpfs_ops.c size_t delta = (pos + size) - nodep->size;
size 572 uspace/srv/fs/tmpfs/tmpfs_ops.c void *newdata = realloc(nodep->data, nodep->size + delta);
size 575 uspace/srv/fs/tmpfs/tmpfs_ops.c size = 0;
size 579 uspace/srv/fs/tmpfs/tmpfs_ops.c memset(newdata + nodep->size, 0, delta);
size 580 uspace/srv/fs/tmpfs/tmpfs_ops.c nodep->size += delta;
size 582 uspace/srv/fs/tmpfs/tmpfs_ops.c (void) async_data_write_finalize(&call, nodep->data + pos, size);
size 585 uspace/srv/fs/tmpfs/tmpfs_ops.c *wbytes = size;
size 586 uspace/srv/fs/tmpfs/tmpfs_ops.c *nsize = nodep->size;
size 591 uspace/srv/fs/tmpfs/tmpfs_ops.c aoff64_t size)
size 606 uspace/srv/fs/tmpfs/tmpfs_ops.c if (size == nodep->size)
size 609 uspace/srv/fs/tmpfs/tmpfs_ops.c if (size > SIZE_MAX)
size 612 uspace/srv/fs/tmpfs/tmpfs_ops.c void *newdata = realloc(nodep->data, size);
size 613 uspace/srv/fs/tmpfs/tmpfs_ops.c if (!newdata && size)
size 616 uspace/srv/fs/tmpfs/tmpfs_ops.c if (size > nodep->size) {
size 617 uspace/srv/fs/tmpfs/tmpfs_ops.c size_t delta = size - nodep->size;
size 618 uspace/srv/fs/tmpfs/tmpfs_ops.c memset(newdata + nodep->size, 0, delta);
size 621 uspace/srv/fs/tmpfs/tmpfs_ops.c nodep->size = size;
size 244 uspace/srv/fs/udf/udf_ops.c static errno_t udf_size_block(service_id_t service_id, uint32_t *size)
size 254 uspace/srv/fs/udf/udf_ops.c *size = instance->volumes[DEFAULT_VOL].logical_block_size;
size 301 uspace/srv/fs/udf/udf_ops.c fs_index_t *index, aoff64_t *size)
size 408 uspace/srv/fs/udf/udf_ops.c *size = node->data_size;
size 538 uspace/srv/fs/udf/udf_ops.c aoff64_t size)
size 531 uspace/srv/hid/console/console.c static errno_t cons_read(con_srv_t *srv, void *buf, size_t size, size_t *nread)
size 542 uspace/srv/hid/console/console.c while (pos < size) {
size 544 uspace/srv/hid/console/console.c while ((pos < size) && (cons->char_remains_len > 0)) {
size 556 uspace/srv/hid/console/console.c if (pos < size) {
size 574 uspace/srv/hid/console/console.c *nread = size;
size 578 uspace/srv/hid/console/console.c static errno_t cons_write(con_srv_t *srv, void *data, size_t size, size_t *nwritten)
size 583 uspace/srv/hid/console/console.c while (off < size)
size 584 uspace/srv/hid/console/console.c cons_write_char(cons, str_decode(data, &off, size));
size 586 uspace/srv/hid/console/console.c *nwritten = size;
size 60 uspace/srv/hid/isdv4_tablet/isdv4.c typedef bool (*packet_consumer_fn)(uint8_t *packet, size_t size,
size 72 uspace/srv/hid/isdv4_tablet/isdv4.c static bool parse_event(uint8_t *packet, size_t size, isdv4_state_t *state)
size 74 uspace/srv/hid/isdv4_tablet/isdv4.c if (size < 1)
size 86 uspace/srv/hid/isdv4_tablet/isdv4.c if (size != 5)
size 115 uspace/srv/hid/isdv4_tablet/isdv4.c if (size != 9)
size 229 uspace/srv/hid/isdv4_tablet/isdv4.c static bool parse_response_stylus(uint8_t *packet, size_t size,
size 232 uspace/srv/hid/isdv4_tablet/isdv4.c if (size < 1)
size 239 uspace/srv/hid/isdv4_tablet/isdv4.c if (size != 11)
size 255 uspace/srv/hid/isdv4_tablet/isdv4.c static bool parse_response_touch(uint8_t *packet, size_t size,
size 258 uspace/srv/hid/isdv4_tablet/isdv4.c if (size < 1)
size 265 uspace/srv/hid/isdv4_tablet/isdv4.c if (size != 11)
size 51 uspace/srv/hid/output/output.c size_t size;
size 177 uspace/srv/hid/output/output.c if (!async_share_out_receive(&call, &frontbuf->size,
size 56 uspace/srv/hid/output/port/ega.c size_t size;
size 229 uspace/srv/hid/output/port/ega.c ega.size = (ega.cols * ega.rows) << 1;
size 233 uspace/srv/hid/output/port/ega.c ALIGN_UP(ega.size, PAGE_SIZE) >> PAGE_WIDTH,
size 195 uspace/srv/hid/remcons/remcons.c static errno_t remcons_read(con_srv_t *srv, void *data, size_t size,
size 201 uspace/srv/hid/remcons/remcons.c rc = telnet_user_recv(user, data, size, nread);
size 208 uspace/srv/hid/remcons/remcons.c static errno_t remcons_write(con_srv_t *srv, void *data, size_t size, size_t *nwritten)
size 213 uspace/srv/hid/remcons/remcons.c rc = telnet_user_send_data(remcons->user, data, size);
size 221 uspace/srv/hid/remcons/remcons.c *nwritten = size;
size 400 uspace/srv/hid/remcons/user.c errno_t telnet_user_recv(telnet_user_t *user, void *buf, size_t size,
size 406 uspace/srv/hid/remcons/user.c assert(size > 0);
size 452 uspace/srv/hid/remcons/user.c --size;
size 454 uspace/srv/hid/remcons/user.c } while (size > 0 && (telnet_user_byte_avail(user) || *nread == 0));
size 461 uspace/srv/hid/remcons/user.c const void *data, size_t size)
size 468 uspace/srv/hid/remcons/user.c while (size > 0) {
size 479 uspace/srv/hid/remcons/user.c now = min(remain, size);
size 484 uspace/srv/hid/remcons/user.c size -= now;
size 497 uspace/srv/hid/remcons/user.c const char *data, size_t size)
size 499 uspace/srv/hid/remcons/user.c uint8_t *converted = malloc(3 * size + 1);
size 504 uspace/srv/hid/remcons/user.c for (size_t i = 0; i < size; i++) {
size 535 uspace/srv/hid/remcons/user.c size_t size)
size 539 uspace/srv/hid/remcons/user.c errno_t rc = telnet_user_send_data_locked(user, data, size);
size 553 uspace/srv/hid/remcons/user.c size_t size)
size 557 uspace/srv/hid/remcons/user.c errno_t rc = telnet_user_send_raw_locked(user, data, size);
size 219 uspace/srv/hid/rfb/rfb.c recv_message(tcp_conn_t *conn, char type, void *buf, size_t size)
size 222 uspace/srv/hid/rfb/rfb.c return recv_chars(conn, ((char *) buf) + 1, size - 1);
size 312 uspace/srv/hid/rfb/rfb.c size_t size = sizeof(rfb_set_color_map_entries_t) +
size 315 uspace/srv/hid/rfb/rfb.c void *buf = malloc(size);
size 336 uspace/srv/hid/rfb/rfb.c *psize = size;
size 343 uspace/srv/hid/rfb/rfb.c size_t size = (rect->width * rect->height * pixel_size);
size 346 uspace/srv/hid/rfb/rfb.c return size;
size 357 uspace/srv/hid/rfb/rfb.c return size;
size 367 uspace/srv/hid/rfb/rfb.c size_t size;
size 373 uspace/srv/hid/rfb/rfb.c ctx->size = pixel_format->bpp / 8;
size 391 uspace/srv/hid/rfb/rfb.c ctx->size = 3;
size 394 uspace/srv/hid/rfb/rfb.c ctx->size = 3;
size 408 uspace/srv/hid/rfb/rfb.c memcpy(buf, data, cpixel->size);
size 411 uspace/srv/hid/rfb/rfb.c memcpy(buf, data + 1, cpixel->size);
size 418 uspace/srv/hid/rfb/rfb.c size_t size = tile->width * tile->height * cpixel->size;
size 420 uspace/srv/hid/rfb/rfb.c return size;
size 429 uspace/srv/hid/rfb/rfb.c return size;
size 433 uspace/srv/hid/rfb/rfb.c rfb_rectangle_t *tile, void *buf, size_t *size)
size 447 uspace/srv/hid/rfb/rfb.c *size = cpixel->size;
size 456 uspace/srv/hid/rfb/rfb.c size_t size = 0;
size 466 uspace/srv/hid/rfb/rfb.c size += 1;
size 486 uspace/srv/hid/rfb/rfb.c return size;
size 211 uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c static errno_t s3c24xx_uart_read(chardev_srv_t *srv, void *buf, size_t size,
size 226 uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c while (p < size) {
size 239 uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c static errno_t s3c24xx_uart_write(chardev_srv_t *srv, const void *data, size_t size,
size 246 uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c for (i = 0; i < size; i++)
size 249 uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c *nwr = size;
size 68 uspace/srv/klog/klog.c size_t size;
size 129 uspace/srv/klog/klog.c item->size = entry_len;
size 154 uspace/srv/klog/klog.c if (item->size < sizeof(log_entry_t)) {
size 573 uspace/srv/locsrv/locsrv.c size_t size;
size 577 uspace/srv/locsrv/locsrv.c if (!async_data_read_receive(&call, &size)) {
size 594 uspace/srv/locsrv/locsrv.c if (act_size > size) {
size 602 uspace/srv/locsrv/locsrv.c min(size, act_size));
size 612 uspace/srv/locsrv/locsrv.c size_t size;
size 617 uspace/srv/locsrv/locsrv.c if (!async_data_read_receive(&call, &size)) {
size 641 uspace/srv/locsrv/locsrv.c if (act_size > size) {
size 650 uspace/srv/locsrv/locsrv.c min(size, act_size));
size 661 uspace/srv/locsrv/locsrv.c size_t size;
size 665 uspace/srv/locsrv/locsrv.c if (!async_data_read_receive(&call, &size)) {
size 689 uspace/srv/locsrv/locsrv.c if (act_size > size) {
size 697 uspace/srv/locsrv/locsrv.c min(size, act_size));
size 972 uspace/srv/locsrv/locsrv.c size_t size;
size 976 uspace/srv/locsrv/locsrv.c if (!async_data_read_receive(&call, &size)) {
size 982 uspace/srv/locsrv/locsrv.c category_id_t *id_buf = (category_id_t *) malloc(size);
size 992 uspace/srv/locsrv/locsrv.c rc = categ_dir_get_categories(&cdir, id_buf, size, &act_size);
size 1002 uspace/srv/locsrv/locsrv.c errno_t retval = async_data_read_finalize(&call, id_buf, size);
size 1011 uspace/srv/locsrv/locsrv.c size_t size;
size 1012 uspace/srv/locsrv/locsrv.c if (!async_data_read_receive(&call, &size)) {
size 1018 uspace/srv/locsrv/locsrv.c if ((size % sizeof(loc_sdesc_t)) != 0) {
size 1026 uspace/srv/locsrv/locsrv.c size_t count = size / sizeof(loc_sdesc_t);
size 1034 uspace/srv/locsrv/locsrv.c loc_sdesc_t *desc = (loc_sdesc_t *) malloc(size);
size 1049 uspace/srv/locsrv/locsrv.c errno_t retval = async_data_read_finalize(&call, desc, size);
size 1065 uspace/srv/locsrv/locsrv.c size_t size;
size 1066 uspace/srv/locsrv/locsrv.c if (!async_data_read_receive(&call, &size)) {
size 1072 uspace/srv/locsrv/locsrv.c if ((size % sizeof(loc_sdesc_t)) != 0) {
size 1089 uspace/srv/locsrv/locsrv.c size_t count = size / sizeof(loc_sdesc_t);
size 1097 uspace/srv/locsrv/locsrv.c loc_sdesc_t *desc = (loc_sdesc_t *) malloc(size);
size 1114 uspace/srv/locsrv/locsrv.c errno_t retval = async_data_read_finalize(&call, desc, size);
size 1125 uspace/srv/locsrv/locsrv.c size_t size;
size 1129 uspace/srv/locsrv/locsrv.c if (!async_data_read_receive(&call, &size)) {
size 1145 uspace/srv/locsrv/locsrv.c category_id_t *id_buf = (category_id_t *) malloc(size);
size 1155 uspace/srv/locsrv/locsrv.c rc = category_get_services(cat, id_buf, size, &act_size);
size 1167 uspace/srv/locsrv/locsrv.c errno_t retval = async_data_read_finalize(&call, id_buf, size);
size 238 uspace/srv/net/dhcp/dhcp.c static errno_t dhcp_parse_reply(void *msg, size_t size, dhcp_offer_t *offer)
size 287 uspace/srv/net/dhcp/dhcp.c while (i < size) {
size 295 uspace/srv/net/dhcp/dhcp.c if (i >= size)
size 300 uspace/srv/net/dhcp/dhcp.c if (i + opt_len > size)
size 612 uspace/srv/net/dhcp/dhcp.c static void dhcpsrv_recv(void *arg, void *msg, size_t size)
size 619 uspace/srv/net/dhcp/dhcp.c dlink->link_info.name, size);
size 621 uspace/srv/net/dhcp/dhcp.c rc = dhcp_parse_reply(msg, size, &offer);
size 77 uspace/srv/net/dhcp/transport.c errno_t dhcp_send(dhcp_transport_t *dt, void *msg, size_t size)
size 86 uspace/srv/net/dhcp/transport.c rc = udp_assoc_send_msg(dt->assoc, &ep, msg, size);
size 63 uspace/srv/net/dhcp/transport.h extern errno_t dhcp_send(dhcp_transport_t *dt, void *msg, size_t size);
size 176 uspace/srv/net/dnsrsrv/dns_msg.c if (boff > pdu->size)
size 180 uspace/srv/net/dnsrsrv/dns_msg.c bsize = min(pdu->size - boff, DNS_NAME_MAX_SIZE);
size 378 uspace/srv/net/dnsrsrv/dns_msg.c if (name_eoff + 2 * sizeof(uint16_t) > pdu->size) {
size 384 uspace/srv/net/dnsrsrv/dns_msg.c pdu->size - name_eoff);
size 386 uspace/srv/net/dnsrsrv/dns_msg.c name_eoff, pdu->size - sizeof(uint16_t) - name_eoff);
size 421 uspace/srv/net/dnsrsrv/dns_msg.c if (name_eoff + 2 * sizeof(uint16_t) > pdu->size) {
size 429 uspace/srv/net/dnsrsrv/dns_msg.c bsz = pdu->size - name_eoff;
size 497 uspace/srv/net/dnsrsrv/dns_msg.c size_t size;
size 519 uspace/srv/net/dnsrsrv/dns_msg.c size = sizeof(dns_header_t);
size 528 uspace/srv/net/dnsrsrv/dns_msg.c size += q_size;
size 531 uspace/srv/net/dnsrsrv/dns_msg.c data = calloc(1, size);
size 539 uspace/srv/net/dnsrsrv/dns_msg.c rc = dns_question_encode(q, data + di, size - di, &q_size);
size 552 uspace/srv/net/dnsrsrv/dns_msg.c *rsize = size;
size 565 uspace/srv/net/dnsrsrv/dns_msg.c errno_t dns_message_decode(void *data, size_t size, dns_message_t **rmsg)
size 582 uspace/srv/net/dnsrsrv/dns_msg.c if (size < sizeof(dns_header_t)) {
size 589 uspace/srv/net/dnsrsrv/dns_msg.c msg->pdu.data = malloc(size);
size 595 uspace/srv/net/dnsrsrv/dns_msg.c memcpy(msg->pdu.data, data, size);
size 596 uspace/srv/net/dnsrsrv/dns_msg.c msg->pdu.size = size;
size 598 uspace/srv/net/dnsrsrv/dns_msg.c "pdu->size=%zu", msg->pdu.data, msg->pdu.size);
size 51 uspace/srv/net/dnsrsrv/dns_type.h size_t size;
size 112 uspace/srv/net/dnsrsrv/dnsrsrv.c size_t size;
size 113 uspace/srv/net/dnsrsrv/dnsrsrv.c if (!async_data_read_receive(&call, &size)) {
size 119 uspace/srv/net/dnsrsrv/dnsrsrv.c if (size != sizeof(inet_addr_t)) {
size 125 uspace/srv/net/dnsrsrv/dnsrsrv.c rc = async_data_read_finalize(&call, &hinfo->addr, size);
size 132 uspace/srv/net/dnsrsrv/dnsrsrv.c if (!async_data_read_receive(&call, &size)) {
size 139 uspace/srv/net/dnsrsrv/dnsrsrv.c if (act_size > size) {
size 159 uspace/srv/net/dnsrsrv/dnsrsrv.c size_t size;
size 160 uspace/srv/net/dnsrsrv/dnsrsrv.c if (!async_data_read_receive(&call, &size)) {
size 166 uspace/srv/net/dnsrsrv/dnsrsrv.c if (size != sizeof(inet_addr_t)) {
size 174 uspace/srv/net/dnsrsrv/dnsrsrv.c errno_t rc = async_data_read_finalize(&call, &dns_server_addr, size);
size 186 uspace/srv/net/dnsrsrv/dnsrsrv.c size_t size;
size 187 uspace/srv/net/dnsrsrv/dnsrsrv.c if (!async_data_write_receive(&call, &size)) {
size 193 uspace/srv/net/dnsrsrv/dnsrsrv.c if (size != sizeof(inet_addr_t)) {
size 201 uspace/srv/net/dnsrsrv/dnsrsrv.c errno_t rc = async_data_write_finalize(&call, &dns_server_addr, size);
size 109 uspace/srv/net/dnsrsrv/query.c amsg->pdu.data, amsg->pdu.size, rr->roff);
size 255 uspace/srv/net/dnsrsrv/transport.c size_t size;
size 259 uspace/srv/net/dnsrsrv/transport.c size = udp_rmsg_size(rmsg);
size 260 uspace/srv/net/dnsrsrv/transport.c if (size > RECV_BUF_SIZE)
size 261 uspace/srv/net/dnsrsrv/transport.c size = RECV_BUF_SIZE; /* XXX */
size 263 uspace/srv/net/dnsrsrv/transport.c rc = udp_rmsg_read(rmsg, 0, recv_buf, size);
size 272 uspace/srv/net/dnsrsrv/transport.c rc = dns_message_decode(recv_buf, size, &resp);
size 60 uspace/srv/net/ethip/arp.c errno_t rc = arp_pdu_decode(frame->data, frame->size, &packet);
size 145 uspace/srv/net/ethip/arp.c frame.size = psize;
size 192 uspace/srv/net/ethip/ethip.c frame.size = sdu->size;
size 195 uspace/srv/net/ethip/ethip.c size_t size;
size 196 uspace/srv/net/ethip/ethip.c rc = eth_pdu_encode(&frame, &data, &size);
size 200 uspace/srv/net/ethip/ethip.c rc = ethip_nic_send(nic, data, size);
size 217 uspace/srv/net/ethip/ethip.c frame.size = sdu->size;
size 220 uspace/srv/net/ethip/ethip.c size_t size;
size 221 uspace/srv/net/ethip/ethip.c errno_t rc = eth_pdu_encode(&frame, &data, &size);
size 225 uspace/srv/net/ethip/ethip.c rc = ethip_nic_send(nic, data, size);
size 231 uspace/srv/net/ethip/ethip.c errno_t ethip_received(iplink_srv_t *srv, void *data, size_t size)
size 239 uspace/srv/net/ethip/ethip.c errno_t rc = eth_pdu_decode(data, size, &frame);
size 254 uspace/srv/net/ethip/ethip.c sdu.size = frame.size;
size 261 uspace/srv/net/ethip/ethip.c sdu.size = frame.size;
size 84 uspace/srv/net/ethip/ethip.h size_t size;
size 235 uspace/srv/net/ethip/ethip_nic.c size_t size;
size 239 uspace/srv/net/ethip/ethip_nic.c rc = async_data_write_accept((void **) &addr, false, 0, 0, 0, &size);
size 265 uspace/srv/net/ethip/ethip_nic.c size_t size;
size 269 uspace/srv/net/ethip/ethip_nic.c rc = async_data_write_accept(&data, false, 0, 0, 0, &size);
size 276 uspace/srv/net/ethip/ethip_nic.c size);
size 279 uspace/srv/net/ethip/ethip_nic.c rc = ethip_received(&nic->iplink, data, size);
size 354 uspace/srv/net/ethip/ethip_nic.c errno_t ethip_nic_send(ethip_nic_t *nic, void *data, size_t size)
size 357 uspace/srv/net/ethip/ethip_nic.c log_msg(LOG_DEFAULT, LVL_DEBUG, "ethip_nic_send(size=%zu)", size);
size 358 uspace/srv/net/ethip/ethip_nic.c rc = nic_send_frame(nic->sess, data, size);
size 52 uspace/srv/net/ethip/pdu.c size_t size;
size 55 uspace/srv/net/ethip/pdu.c size = max(sizeof(eth_header_t) + frame->size, ETH_FRAME_MIN_SIZE);
size 57 uspace/srv/net/ethip/pdu.c data = calloc(size, 1);
size 67 uspace/srv/net/ethip/pdu.c frame->size);
size 69 uspace/srv/net/ethip/pdu.c log_msg(LOG_DEFAULT, LVL_DEBUG, "Encoded Ethernet frame (%zu bytes)", size);
size 72 uspace/srv/net/ethip/pdu.c *rsize = size;
size 77 uspace/srv/net/ethip/pdu.c errno_t eth_pdu_decode(void *data, size_t size, eth_frame_t *frame)
size 83 uspace/srv/net/ethip/pdu.c if (size < sizeof(eth_header_t)) {
size 84 uspace/srv/net/ethip/pdu.c log_msg(LOG_DEFAULT, LVL_DEBUG, "PDU too short (%zu)", size);
size 90 uspace/srv/net/ethip/pdu.c frame->size = size - sizeof(eth_header_t);
size 91 uspace/srv/net/ethip/pdu.c frame->data = calloc(frame->size, 1);
size 100 uspace/srv/net/ethip/pdu.c frame->size);
size 102 uspace/srv/net/ethip/pdu.c log_msg(LOG_DEFAULT, LVL_DEBUG, "Decoded Ethernet frame payload (%zu bytes)", frame->size);
size 111 uspace/srv/net/ethip/pdu.c size_t size;
size 117 uspace/srv/net/ethip/pdu.c size = sizeof(arp_eth_packet_fmt_t);
size 119 uspace/srv/net/ethip/pdu.c data = calloc(size, 1);
size 150 uspace/srv/net/ethip/pdu.c *rsize = size;
size 155 uspace/srv/net/ethip/pdu.c errno_t arp_pdu_decode(void *data, size_t size, arp_eth_packet_t *packet)
size 161 uspace/srv/net/ethip/pdu.c if (size < sizeof(arp_eth_packet_fmt_t)) {
size 162 uspace/srv/net/ethip/pdu.c log_msg(LOG_DEFAULT, LVL_DEBUG, "ARP PDU too short (%zu)", size);
size 61 uspace/srv/net/inetsrv/icmp.c if (dgram->size < 1)
size 82 uspace/srv/net/inetsrv/icmp.c size_t size;
size 88 uspace/srv/net/inetsrv/icmp.c if (dgram->size < sizeof(icmp_echo_t))
size 92 uspace/srv/net/inetsrv/icmp.c size = dgram->size;
size 94 uspace/srv/net/inetsrv/icmp.c reply = calloc(size, 1);
size 98 uspace/srv/net/inetsrv/icmp.c memcpy(reply, request, size);
size 104 uspace/srv/net/inetsrv/icmp.c checksum = inet_checksum_calc(INET_CHECKSUM_INIT, reply, size);
size 112 uspace/srv/net/inetsrv/icmp.c rdgram.size = size;
size 125 uspace/srv/net/inetsrv/icmp.c if (dgram->size < sizeof(icmp_echo_t))
size 136 uspace/srv/net/inetsrv/icmp.c sdu.size = dgram->size - sizeof(icmp_echo_t);
size 145 uspace/srv/net/inetsrv/icmp.c size_t rsize = sizeof(icmp_echo_t) + sdu->size;
size 158 uspace/srv/net/inetsrv/icmp.c memcpy(rdata + sizeof(icmp_echo_t), sdu->data, sdu->size);
size 170 uspace/srv/net/inetsrv/icmp.c dgram.size = rsize;
size 53 uspace/srv/net/inetsrv/icmpv6.c if (dgram->size < sizeof(icmpv6_message_t))
size 57 uspace/srv/net/inetsrv/icmpv6.c size_t size = dgram->size;
size 68 uspace/srv/net/inetsrv/icmpv6.c icmpv6_message_t *reply = calloc(1, size);
size 72 uspace/srv/net/inetsrv/icmpv6.c memcpy(reply, request, size);
size 85 uspace/srv/net/inetsrv/icmpv6.c rdgram.size = size;
size 91 uspace/srv/net/inetsrv/icmpv6.c phdr.length = host2uint32_t_be(dgram->size);
size 99 uspace/srv/net/inetsrv/icmpv6.c uint16_t cs_all = inet_checksum_calc(cs_phdr, reply, size);
size 115 uspace/srv/net/inetsrv/icmpv6.c if (dgram->size < sizeof(icmpv6_message_t))
size 127 uspace/srv/net/inetsrv/icmpv6.c sdu.size = dgram->size - sizeof(icmpv6_message_t);
size 138 uspace/srv/net/inetsrv/icmpv6.c if (dgram->size < 1)
size 161 uspace/srv/net/inetsrv/icmpv6.c size_t rsize = sizeof(icmpv6_message_t) + sdu->size;
size 174 uspace/srv/net/inetsrv/icmpv6.c memcpy(rdata + sizeof(icmpv6_message_t), sdu->data, sdu->size);
size 183 uspace/srv/net/inetsrv/icmpv6.c dgram.size = rsize;
size 192 uspace/srv/net/inetsrv/icmpv6.c phdr.length = host2uint32_t_be(dgram.size);
size 102 uspace/srv/net/inetsrv/inet_link.c rc = inet_pdu_decode(sdu->data, sdu->size, ilink->svc_id,
size 106 uspace/srv/net/inetsrv/inet_link.c rc = inet_pdu_decode6(sdu->data, sdu->size, ilink->svc_id,
size 380 uspace/srv/net/inetsrv/inet_link.c packet.size = dgram->size;
size 390 uspace/srv/net/inetsrv/inet_link.c &sdu.data, &sdu.size, &roffs);
size 399 uspace/srv/net/inetsrv/inet_link.c } while (offs < packet.size);
size 453 uspace/srv/net/inetsrv/inet_link.c packet.size = dgram->size;
size 463 uspace/srv/net/inetsrv/inet_link.c &sdu6.data, &sdu6.size, &roffs);
size 472 uspace/srv/net/inetsrv/inet_link.c } while (offs < packet.size);
size 320 uspace/srv/net/inetsrv/inetcfg.c size_t size;
size 321 uspace/srv/net/inetsrv/inetcfg.c if (!async_data_write_receive(&call, &size)) {
size 327 uspace/srv/net/inetsrv/inetcfg.c if (size != sizeof(inet_naddr_t)) {
size 334 uspace/srv/net/inetsrv/inetcfg.c errno_t rc = async_data_write_finalize(&call, &naddr, size);
size 387 uspace/srv/net/inetsrv/inetcfg.c size_t size;
size 388 uspace/srv/net/inetsrv/inetcfg.c if (!async_data_read_receive(&call, &size)) {
size 394 uspace/srv/net/inetsrv/inetcfg.c if (size != sizeof(inet_naddr_t)) {
size 400 uspace/srv/net/inetsrv/inetcfg.c rc = async_data_read_finalize(&call, &ainfo.naddr, size);
size 407 uspace/srv/net/inetsrv/inetcfg.c if (!async_data_read_receive(&call, &size)) {
size 414 uspace/srv/net/inetsrv/inetcfg.c min(size, str_size(ainfo.name)));
size 456 uspace/srv/net/inetsrv/inetcfg.c size_t size;
size 476 uspace/srv/net/inetsrv/inetcfg.c size = min(act_size, max_size);
size 478 uspace/srv/net/inetsrv/inetcfg.c errno_t retval = async_data_read_finalize(&rcall, id_buf, size);
size 490 uspace/srv/net/inetsrv/inetcfg.c size_t size;
size 510 uspace/srv/net/inetsrv/inetcfg.c size = min(act_size, max_size);
size 512 uspace/srv/net/inetsrv/inetcfg.c errno_t retval = async_data_read_finalize(&rcall, id_buf, size);
size 524 uspace/srv/net/inetsrv/inetcfg.c size_t size;
size 544 uspace/srv/net/inetsrv/inetcfg.c size = min(act_size, max_size);
size 546 uspace/srv/net/inetsrv/inetcfg.c errno_t retval = async_data_read_finalize(&rcall, id_buf, size);
size 637 uspace/srv/net/inetsrv/inetcfg.c size_t size;
size 638 uspace/srv/net/inetsrv/inetcfg.c if (!async_data_write_receive(&call, &size)) {
size 644 uspace/srv/net/inetsrv/inetcfg.c if (size != sizeof(inet_naddr_t)) {
size 651 uspace/srv/net/inetsrv/inetcfg.c errno_t rc = async_data_write_finalize(&call, &dest, size);
size 658 uspace/srv/net/inetsrv/inetcfg.c if (!async_data_write_receive(&call, &size)) {
size 664 uspace/srv/net/inetsrv/inetcfg.c if (size != sizeof(inet_addr_t)) {
size 671 uspace/srv/net/inetsrv/inetcfg.c rc = async_data_write_finalize(&call, &router, size);
size 724 uspace/srv/net/inetsrv/inetcfg.c size_t size;
size 725 uspace/srv/net/inetsrv/inetcfg.c if (!async_data_read_receive(&call, &size)) {
size 731 uspace/srv/net/inetsrv/inetcfg.c if (size != sizeof(inet_naddr_t)) {
size 737 uspace/srv/net/inetsrv/inetcfg.c rc = async_data_read_finalize(&call, &srinfo.dest, size);
size 744 uspace/srv/net/inetsrv/inetcfg.c if (!async_data_read_receive(&call, &size)) {
size 750 uspace/srv/net/inetsrv/inetcfg.c if (size != sizeof(inet_addr_t)) {
size 756 uspace/srv/net/inetsrv/inetcfg.c rc = async_data_read_finalize(&call, &srinfo.router, size);
size 763 uspace/srv/net/inetsrv/inetcfg.c if (!async_data_read_receive(&call, &size)) {
size 770 uspace/srv/net/inetsrv/inetcfg.c min(size, str_size(srinfo.name)));
size 123 uspace/srv/net/inetsrv/inetping.c rc = async_data_write_start(exch, sdu->data, sdu->size);
size 148 uspace/srv/net/inetsrv/inetping.c size_t size;
size 149 uspace/srv/net/inetsrv/inetping.c if (!async_data_write_receive(&call, &size)) {
size 155 uspace/srv/net/inetsrv/inetping.c if (size != sizeof(sdu.src)) {
size 161 uspace/srv/net/inetsrv/inetping.c rc = async_data_write_finalize(&call, &sdu.src, size);
size 168 uspace/srv/net/inetsrv/inetping.c if (!async_data_write_receive(&call, &size)) {
size 174 uspace/srv/net/inetsrv/inetping.c if (size != sizeof(sdu.dest)) {
size 180 uspace/srv/net/inetsrv/inetping.c rc = async_data_write_finalize(&call, &sdu.dest, size);
size 188 uspace/srv/net/inetsrv/inetping.c &sdu.size);
size 205 uspace/srv/net/inetsrv/inetping.c size_t size;
size 210 uspace/srv/net/inetsrv/inetping.c if (!async_data_write_receive(&call, &size)) {
size 216 uspace/srv/net/inetsrv/inetping.c if (size != sizeof(remote)) {
size 222 uspace/srv/net/inetsrv/inetping.c errno_t rc = async_data_write_finalize(&call, &remote, size);
size 235 uspace/srv/net/inetsrv/inetping.c if (!async_data_read_receive(&call, &size)) {
size 241 uspace/srv/net/inetsrv/inetping.c if (size != sizeof(local)) {
size 247 uspace/srv/net/inetsrv/inetping.c rc = async_data_read_finalize(&call, &local, size);
size 253 uspace/srv/net/inetsrv/inetsrv.c size_t size;
size 254 uspace/srv/net/inetsrv/inetsrv.c if (!async_data_write_receive(&call, &size)) {
size 260 uspace/srv/net/inetsrv/inetsrv.c if (size != sizeof(inet_addr_t)) {
size 267 uspace/srv/net/inetsrv/inetsrv.c errno_t rc = async_data_write_finalize(&call, &remote, size);
size 280 uspace/srv/net/inetsrv/inetsrv.c if (!async_data_read_receive(&call, &size)) {
size 286 uspace/srv/net/inetsrv/inetsrv.c if (size != sizeof(inet_addr_t)) {
size 292 uspace/srv/net/inetsrv/inetsrv.c rc = async_data_read_finalize(&call, &local, size);
size 315 uspace/srv/net/inetsrv/inetsrv.c size_t size;
size 316 uspace/srv/net/inetsrv/inetsrv.c if (!async_data_write_receive(&call, &size)) {
size 322 uspace/srv/net/inetsrv/inetsrv.c if (size != sizeof(inet_addr_t)) {
size 328 uspace/srv/net/inetsrv/inetsrv.c errno_t rc = async_data_write_finalize(&call, &dgram.src, size);
size 334 uspace/srv/net/inetsrv/inetsrv.c if (!async_data_write_receive(&call, &size)) {
size 340 uspace/srv/net/inetsrv/inetsrv.c if (size != sizeof(inet_addr_t)) {
size 346 uspace/srv/net/inetsrv/inetsrv.c rc = async_data_write_finalize(&call, &dgram.dest, size);
size 353 uspace/srv/net/inetsrv/inetsrv.c &dgram.size);
size 484 uspace/srv/net/inetsrv/inetsrv.c rc = async_data_write_start(exch, dgram->data, dgram->size);
size 542 uspace/srv/net/inetsrv/inetsrv.c dgram.size = packet->size;
size 103 uspace/srv/net/inetsrv/inetsrv.h size_t size;
size 63 uspace/srv/net/inetsrv/pdu.c uint16_t inet_checksum_calc(uint16_t ivalue, void *data, size_t size)
size 71 uspace/srv/net/inetsrv/pdu.c words = size / 2;
size 79 uspace/srv/net/inetsrv/pdu.c if (size % 2 != 0) {
size 112 uspace/srv/net/inetsrv/pdu.c if (packet->size > FRAG_OFFS_UNIT * fragoff_limit)
size 131 uspace/srv/net/inetsrv/pdu.c size_t xfer_size = min(packet->size - offs, spc_avail);
size 134 uspace/srv/net/inetsrv/pdu.c size_t size = hdr_size + xfer_size;
size 142 uspace/srv/net/inetsrv/pdu.c (rem_offs < packet->size ? BIT_V(uint16_t, FF_FLAG_MF) : 0) +
size 145 uspace/srv/net/inetsrv/pdu.c void *data = calloc(size, 1);
size 155 uspace/srv/net/inetsrv/pdu.c hdr->tot_len = host2uint16_t_be(size);
size 173 uspace/srv/net/inetsrv/pdu.c *rsize = size;
size 208 uspace/srv/net/inetsrv/pdu.c if (offs + packet->size > FRAG_OFFS_UNIT * fragoff_limit)
size 214 uspace/srv/net/inetsrv/pdu.c fragment = (packet->size + sizeof(ip6_header_t) > mtu);
size 240 uspace/srv/net/inetsrv/pdu.c size_t xfer_size = min(packet->size - offs, spc_avail);
size 243 uspace/srv/net/inetsrv/pdu.c size_t size = hdr_size + xfer_size;
size 250 uspace/srv/net/inetsrv/pdu.c (rem_offs < packet->size ? BIT_V(uint16_t, OF_FLAG_M) : 0) +
size 253 uspace/srv/net/inetsrv/pdu.c void *data = calloc(size, 1);
size 271 uspace/srv/net/inetsrv/pdu.c hdr6->payload_len = host2uint16_t_be(packet->size +
size 285 uspace/srv/net/inetsrv/pdu.c hdr6->payload_len = host2uint16_t_be(packet->size);
size 293 uspace/srv/net/inetsrv/pdu.c *rsize = size;
size 311 uspace/srv/net/inetsrv/pdu.c errno_t inet_pdu_decode(void *data, size_t size, service_id_t link_id,
size 316 uspace/srv/net/inetsrv/pdu.c if (size < sizeof(ip_header_t)) {
size 317 uspace/srv/net/inetsrv/pdu.c log_msg(LOG_DEFAULT, LVL_DEBUG, "PDU too short (%zu)", size);
size 336 uspace/srv/net/inetsrv/pdu.c if (tot_len > size) {
size 338 uspace/srv/net/inetsrv/pdu.c tot_len, size);
size 363 uspace/srv/net/inetsrv/pdu.c packet->size = tot_len - data_offs;
size 364 uspace/srv/net/inetsrv/pdu.c packet->data = calloc(packet->size, 1);
size 370 uspace/srv/net/inetsrv/pdu.c memcpy(packet->data, (uint8_t *) data + data_offs, packet->size);
size 388 uspace/srv/net/inetsrv/pdu.c errno_t inet_pdu_decode6(void *data, size_t size, service_id_t link_id,
size 393 uspace/srv/net/inetsrv/pdu.c if (size < sizeof(ip6_header_t)) {
size 394 uspace/srv/net/inetsrv/pdu.c log_msg(LOG_DEFAULT, LVL_DEBUG, "PDU too short (%zu)", size);
size 408 uspace/srv/net/inetsrv/pdu.c if (payload_len + sizeof(ip6_header_t) > size) {
size 410 uspace/srv/net/inetsrv/pdu.c payload_len + sizeof(ip6_header_t), size);
size 457 uspace/srv/net/inetsrv/pdu.c packet->size = payload_len;
size 458 uspace/srv/net/inetsrv/pdu.c packet->data = calloc(packet->size, 1);
size 464 uspace/srv/net/inetsrv/pdu.c memcpy(packet->data, (uint8_t *) data + data_offs, packet->size);
size 482 uspace/srv/net/inetsrv/pdu.c dgram->size = sizeof(icmpv6_message_t) + sizeof(ndp_message_t);
size 484 uspace/srv/net/inetsrv/pdu.c dgram->data = calloc(1, dgram->size);
size 513 uspace/srv/net/inetsrv/pdu.c phdr.length = host2uint32_t_be(dgram->size);
size 522 uspace/srv/net/inetsrv/pdu.c dgram->size);
size 545 uspace/srv/net/inetsrv/pdu.c if (dgram->size < sizeof(icmpv6_message_t) + sizeof(ndp_message_t))
size 194 uspace/srv/net/inetsrv/reass.c data_copy = malloc(packet->size);
size 200 uspace/srv/net/inetsrv/reass.c memcpy(data_copy, packet->data, packet->size);
size 265 uspace/srv/net/inetsrv/reass.c if (frag->packet.offs > prev->packet.offs + prev->packet.size)
size 316 uspace/srv/net/inetsrv/reass.c dgram_size = frag->packet.offs + frag->packet.size;
size 331 uspace/srv/net/inetsrv/reass.c dgram.size = dgram_size;
size 345 uspace/srv/net/inetsrv/reass.c ce = min(dgram_size, cfrag->packet.offs + cfrag->packet.size);
size 191 uspace/srv/net/loopip/loopip.c rqe->sdu.data = malloc(sdu->size);
size 197 uspace/srv/net/loopip/loopip.c memcpy(rqe->sdu.data, sdu->data, sdu->size);
size 198 uspace/srv/net/loopip/loopip.c rqe->sdu.size = sdu->size;
size 220 uspace/srv/net/loopip/loopip.c rqe->sdu.data = malloc(sdu->size);
size 226 uspace/srv/net/loopip/loopip.c memcpy(rqe->sdu.data, sdu->data, sdu->size);
size 227 uspace/srv/net/loopip/loopip.c rqe->sdu.size = sdu->size;
size 144 uspace/srv/net/slip/slip.c for (size_t i = 0; i < sdu->size; i++) {
size 243 uspace/srv/net/slip/slip.c sdu.size = 0;
size 244 uspace/srv/net/slip/slip.c while (sdu.size < sizeof(recv_final)) {
size 248 uspace/srv/net/slip/slip.c if (sdu.size == 0) {
size 259 uspace/srv/net/slip/slip.c recv_final[sdu.size++] = SLIP_END;
size 262 uspace/srv/net/slip/slip.c recv_final[sdu.size++] = SLIP_ESC;
size 274 uspace/srv/net/slip/slip.c recv_final[sdu.size++] = ch;
size 68 uspace/srv/net/tcp/inet.c pdu_raw_size = dgram->size;
size 145 uspace/srv/net/tcp/inet.c dgram.size = pdu_raw_size;
size 63 uspace/srv/net/tcp/pdu.c static uint16_t tcp_checksum_calc(uint16_t ivalue, void *data, size_t size)
size 71 uspace/srv/net/tcp/pdu.c words = size / 2;
size 79 uspace/srv/net/tcp/pdu.c if (size % 2 != 0) {
size 194 uspace/srv/net/tcp/pdu.c void **header, size_t *size)
size 204 uspace/srv/net/tcp/pdu.c *size = sizeof(tcp_header_t);
size 139 uspace/srv/net/tcp/segment.c size_t size)
size 148 uspace/srv/net/tcp/segment.c seg->len = seq_no_control_len(ctrl) + size;
size 150 uspace/srv/net/tcp/segment.c seg->dfptr = seg->data = malloc(size);
size 156 uspace/srv/net/tcp/segment.c memcpy(seg->data, data, size);
size 228 uspace/srv/net/tcp/segment.c void tcp_segment_text_copy(tcp_segment_t *seg, void *buf, size_t size)
size 230 uspace/srv/net/tcp/segment.c assert(size <= tcp_segment_text_size(seg));
size 231 uspace/srv/net/tcp/segment.c memcpy(buf, seg->data, size);
size 662 uspace/srv/net/tcp/service.c void *data, size_t size)
size 672 uspace/srv/net/tcp/service.c trc = tcp_uc_send(cconn->conn, data, size, 0);
size 692 uspace/srv/net/tcp/service.c void *data, size_t size, size_t *nrecv)
size 707 uspace/srv/net/tcp/service.c trc = tcp_uc_receive(cconn->conn, data, size, nrecv, &xflags);
size 758 uspace/srv/net/tcp/service.c size_t size;
size 765 uspace/srv/net/tcp/service.c if (!async_data_write_receive(&call, &size)) {
size 771 uspace/srv/net/tcp/service.c if (size != sizeof(inet_ep2_t)) {
size 777 uspace/srv/net/tcp/service.c rc = async_data_write_finalize(&call, &epp, size);
size 824 uspace/srv/net/tcp/service.c size_t size;
size 831 uspace/srv/net/tcp/service.c if (!async_data_write_receive(&call, &size)) {
size 837 uspace/srv/net/tcp/service.c if (size != sizeof(inet_ep_t)) {
size 843 uspace/srv/net/tcp/service.c rc = async_data_write_finalize(&call, &ep, size);
size 950 uspace/srv/net/tcp/service.c size_t size;
size 959 uspace/srv/net/tcp/service.c if (!async_data_write_receive(&call, &size)) {
size 965 uspace/srv/net/tcp/service.c if (size > MAX_MSG_SIZE) {
size 971 uspace/srv/net/tcp/service.c data = malloc(size);
size 978 uspace/srv/net/tcp/service.c rc = async_data_write_finalize(&call, data, size);
size 988 uspace/srv/net/tcp/service.c rc = tcp_conn_send_impl(client, conn_id, data, size);
size 1011 uspace/srv/net/tcp/service.c size_t size, rsize;
size 1019 uspace/srv/net/tcp/service.c if (!async_data_read_receive(&call, &size)) {
size 1025 uspace/srv/net/tcp/service.c size = min(size, 16384);
size 1026 uspace/srv/net/tcp/service.c data = malloc(size);
size 1033 uspace/srv/net/tcp/service.c rc = tcp_conn_recv_impl(client, conn_id, data, size, &rsize);
size 1041 uspace/srv/net/tcp/service.c rc = async_data_read_finalize(&call, data, size);
size 1066 uspace/srv/net/tcp/service.c size_t size, rsize;
size 1074 uspace/srv/net/tcp/service.c if (!async_data_read_receive(&call, &size)) {
size 1081 uspace/srv/net/tcp/service.c size = min(size, 16384);
size 1082 uspace/srv/net/tcp/service.c data = malloc(size);
size 1090 uspace/srv/net/tcp/service.c rc = tcp_conn_recv_impl(client, conn_id, data, size, &rsize);
size 1099 uspace/srv/net/tcp/service.c rc = async_data_read_finalize(&call, data, size);
size 1107 uspace/srv/net/tcp/service.c log_msg(LOG_DEFAULT, LVL_DEBUG, "tcp_conn_recv_wait_srv(): rsize=%zu", size);
size 123 uspace/srv/net/tcp/ucall.c tcp_error_t tcp_uc_send(tcp_conn_t *conn, void *data, size_t size,
size 148 uspace/srv/net/tcp/ucall.c while (size > 0) {
size 162 uspace/srv/net/tcp/ucall.c xfer_size = min(size, buf_free);
size 168 uspace/srv/net/tcp/ucall.c size -= xfer_size;
size 180 uspace/srv/net/tcp/ucall.c tcp_error_t tcp_uc_receive(tcp_conn_t *conn, void *buf, size_t size,
size 219 uspace/srv/net/tcp/ucall.c xfer_size = min(size, conn->rcv_buf_used);
size 62 uspace/srv/net/udp/pdu.c static uint16_t udp_checksum_calc(uint16_t ivalue, void *data, size_t size)
size 70 uspace/srv/net/udp/pdu.c words = size / 2;
size 78 uspace/srv/net/udp/pdu.c if (size % 2 != 0) {
size 209 uspace/srv/net/udp/service.c inet_ep_t *dest, void *data, size_t size)
size 220 uspace/srv/net/udp/service.c msg.data_size = size;
size 261 uspace/srv/net/udp/service.c size_t size;
size 268 uspace/srv/net/udp/service.c if (!async_data_write_receive(&call, &size)) {
size 274 uspace/srv/net/udp/service.c if (size != sizeof(inet_ep2_t)) {
size 280 uspace/srv/net/udp/service.c rc = async_data_write_finalize(&call, &epp, size);
size 347 uspace/srv/net/udp/service.c size_t size;
size 357 uspace/srv/net/udp/service.c if (!async_data_write_receive(&call, &size)) {
size 363 uspace/srv/net/udp/service.c if (size != sizeof(inet_ep_t)) {
size 369 uspace/srv/net/udp/service.c rc = async_data_write_finalize(&call, &dest, size);
size 378 uspace/srv/net/udp/service.c if (!async_data_write_receive(&call, &size)) {
size 384 uspace/srv/net/udp/service.c if (size > MAX_MSG_SIZE) {
size 390 uspace/srv/net/udp/service.c data = malloc(size);
size 396 uspace/srv/net/udp/service.c rc = async_data_write_finalize(&call, data, size);
size 406 uspace/srv/net/udp/service.c rc = udp_assoc_send_msg_impl(client, assoc_id, &dest, data, size);
size 444 uspace/srv/net/udp/service.c size_t size;
size 452 uspace/srv/net/udp/service.c if (!async_data_read_receive(&call, &size)) {
size 465 uspace/srv/net/udp/service.c max(size, (size_t)sizeof(inet_ep_t)));
size 472 uspace/srv/net/udp/service.c size = enext->msg->data_size;
size 475 uspace/srv/net/udp/service.c "size=%zu", assoc_id, size);
size 476 uspace/srv/net/udp/service.c async_answer_2(icall, EOK, assoc_id, size);
size 493 uspace/srv/net/udp/service.c size_t size;
size 502 uspace/srv/net/udp/service.c if (!async_data_read_receive(&call, &size)) {
size 523 uspace/srv/net/udp/service.c rc = async_data_read_finalize(&call, data, min(msg_size - off, size));
size 64 uspace/srv/net/udp/udp_inet.c pdu->data_size = dgram->size;
size 91 uspace/srv/net/udp/udp_inet.c dgram.size = pdu->data_size;
size 191 uspace/srv/test/chardev-test/main.c static errno_t smallx_write(chardev_srv_t *srv, const void *data, size_t size,
size 194 uspace/srv/test/chardev-test/main.c if (size < 1) {
size 203 uspace/srv/test/chardev-test/main.c static errno_t smallx_read(chardev_srv_t *srv, void *buf, size_t size,
size 206 uspace/srv/test/chardev-test/main.c if (size < 1) {
size 226 uspace/srv/test/chardev-test/main.c static errno_t largex_write(chardev_srv_t *srv, const void *data, size_t size,
size 229 uspace/srv/test/chardev-test/main.c if (size < 1) {
size 234 uspace/srv/test/chardev-test/main.c *nwritten = size;
size 238 uspace/srv/test/chardev-test/main.c static errno_t largex_read(chardev_srv_t *srv, void *buf, size_t size,
size 241 uspace/srv/test/chardev-test/main.c if (size < 1) {
size 246 uspace/srv/test/chardev-test/main.c memset(buf, 0, size);
size 247 uspace/srv/test/chardev-test/main.c *nread = size;
size 261 uspace/srv/test/chardev-test/main.c static errno_t partialx_write(chardev_srv_t *srv, const void *data, size_t size,
size 264 uspace/srv/test/chardev-test/main.c if (size < 1) {
size 273 uspace/srv/test/chardev-test/main.c static errno_t partialx_read(chardev_srv_t *srv, void *buf, size_t size,
size 276 uspace/srv/test/chardev-test/main.c if (size < 1) {
size 97 uspace/srv/test/ipc-test/main.c async_answer_1(icall, EOK, info.size);
size 114 uspace/srv/test/ipc-test/main.c async_answer_1(icall, EOK, info.size);
size 121 uspace/srv/test/ipc-test/main.c size_t size;
size 125 uspace/srv/test/ipc-test/main.c if (!async_share_in_receive(&call, &size)) {
size 138 uspace/srv/test/ipc-test/main.c if (size != info.size) {
size 140 uspace/srv/test/ipc-test/main.c size, info.size);
size 161 uspace/srv/test/ipc-test/main.c size_t size;
size 165 uspace/srv/test/ipc-test/main.c if (!async_share_in_receive(&call, &size)) {
size 178 uspace/srv/test/ipc-test/main.c if (size != info.size) {
size 180 uspace/srv/test/ipc-test/main.c size, info.size);
size 199 uspace/srv/test/ipc-test/main.c size_t size;
size 204 uspace/srv/test/ipc-test/main.c size = ipc_get_arg1(icall);
size 206 uspace/srv/test/ipc-test/main.c if (size == 0) {
size 213 uspace/srv/test/ipc-test/main.c if (size > max_rw_buf_size) {
size 220 uspace/srv/test/ipc-test/main.c nbuf = realloc(rw_buf, size);
size 228 uspace/srv/test/ipc-test/main.c rw_buf_size = size;
size 236 uspace/srv/test/ipc-test/main.c size_t size;
size 240 uspace/srv/test/ipc-test/main.c if (!async_data_read_receive(&call, &size)) {
size 246 uspace/srv/test/ipc-test/main.c if (size > rw_buf_size) {
size 253 uspace/srv/test/ipc-test/main.c rc = async_data_read_finalize(&call, rw_buf, size);
size 268 uspace/srv/test/ipc-test/main.c size_t size;
size 272 uspace/srv/test/ipc-test/main.c if (!async_data_write_receive(&call, &size)) {
size 278 uspace/srv/test/ipc-test/main.c if (size > rw_buf_size) {
size 285 uspace/srv/test/ipc-test/main.c rc = async_data_write_finalize(&call, rw_buf, size);
size 93 uspace/srv/vfs/vfs.h aoff64_t size;
size 119 uspace/srv/vfs/vfs.h aoff64_t size; /**< Cached size if the node is a file. */
size 218 uspace/srv/vfs/vfs.h extern errno_t vfs_op_resize(int fd, int64_t size);
size 234 uspace/srv/vfs/vfs.h size_t size;
size 97 uspace/srv/vfs/vfs_ipc.c async_answer_1(req, EOK, fstypes.size);
size 105 uspace/srv/vfs/vfs_ipc.c if (len > fstypes.size)
size 106 uspace/srv/vfs/vfs_ipc.c len = fstypes.size;
size 233 uspace/srv/vfs/vfs_ipc.c int64_t size = MERGE_LOUP32(ipc_get_arg2(req), ipc_get_arg3(req));
size 234 uspace/srv/vfs/vfs_ipc.c errno_t rc = vfs_op_resize(fd, size);
size 234 uspace/srv/vfs/vfs_lookup.c result->size = MERGE_LOUP32(ipc_get_arg4(&answer), ipc_get_arg5(&answer));
size 308 uspace/srv/vfs/vfs_lookup.c result->size = base->size;
size 184 uspace/srv/vfs/vfs_node.c node->size = result->size;
size 173 uspace/srv/vfs/vfs_ops.c res.size = (int64_t) MERGE_LOUP32(ipc_get_arg2(&answer),
size 396 uspace/srv/vfs/vfs_ops.c errno_t retval = async_data_read_start(exch, chunk->buffer, chunk->size);
size 405 uspace/srv/vfs/vfs_ops.c chunk->size = ipc_get_arg1(answer);
size 473 uspace/srv/vfs/vfs_ops.c pos = file->node->size;
size 492 uspace/srv/vfs/vfs_ops.c file->node->size = MERGE_LOUP32(ipc_get_arg2(&answer),
size 614 uspace/srv/vfs/vfs_ops.c errno_t vfs_op_resize(int fd, int64_t size)
size 628 uspace/srv/vfs/vfs_ops.c file->node->service_id, file->node->index, size);
size 630 uspace/srv/vfs/vfs_ops.c file->node->size = size;
size 695 uspace/srv/vfs/vfs_ops.c fs_index_t index, aoff64_t size)
size 699 uspace/srv/vfs/vfs_ops.c (sysarg_t) service_id, (sysarg_t) index, LOWER32(size),
size 700 uspace/srv/vfs/vfs_ops.c UPPER32(size));
size 63 uspace/srv/vfs/vfs_pager.c .size = page_size
size 72 uspace/srv/vfs/vfs_pager.c if (chunk.size == 0)
size 74 uspace/srv/vfs/vfs_pager.c total += chunk.size;
size 75 uspace/srv/vfs/vfs_pager.c pos += chunk.size;
size 76 uspace/srv/vfs/vfs_pager.c chunk.buffer += chunk.size;
size 77 uspace/srv/vfs/vfs_pager.c chunk.size = page_size - total;
size 194 uspace/srv/vfs/vfs_register.c size_t size;
size 195 uspace/srv/vfs/vfs_register.c if (!async_share_in_receive(&call, &size)) {
size 209 uspace/srv/vfs/vfs_register.c if (size != PLB_SIZE) {
size 210 uspace/srv/vfs/vfs_register.c dprintf("Client suggests wrong size of PFB, size = %zu\n", size);
size 349 uspace/srv/vfs/vfs_register.c size_t size;
size 355 uspace/srv/vfs/vfs_register.c size = 0;
size 358 uspace/srv/vfs/vfs_register.c size += str_size(fs->vfs_info.name) + 1;
size 362 uspace/srv/vfs/vfs_register.c if (size == 0)
size 363 uspace/srv/vfs/vfs_register.c size = 1;
size 365 uspace/srv/vfs/vfs_register.c fstypes->buf = calloc(1, size);
size 379 uspace/srv/vfs/vfs_register.c fstypes->size = size;
size 381 uspace/srv/vfs/vfs_register.c size = 0;
size 385 uspace/srv/vfs/vfs_register.c memcpy(fstypes->buf + size, fs->vfs_info.name, l);
size 386 uspace/srv/vfs/vfs_register.c fstypes->fstypes[count] = &fstypes->buf[size];
size 387 uspace/srv/vfs/vfs_register.c size += l;
size 109 uspace/srv/volsrv/volsrv.c size_t size;
size 113 uspace/srv/volsrv/volsrv.c if (!async_data_read_receive(&call, &size)) {
size 119 uspace/srv/volsrv/volsrv.c service_id_t *id_buf = (service_id_t *) malloc(size);
size 126 uspace/srv/volsrv/volsrv.c rc = vol_part_get_ids(parts, id_buf, size, &act_size);
size 133 uspace/srv/volsrv/volsrv.c errno_t retval = async_data_read_finalize(&call, id_buf, size);
size 178 uspace/srv/volsrv/volsrv.c size_t size;
size 179 uspace/srv/volsrv/volsrv.c if (!async_data_read_receive(&call, &size)) {
size 185 uspace/srv/volsrv/volsrv.c if (size != sizeof(vol_part_info_t)) {
size 192 uspace/srv/volsrv/volsrv.c min(size, sizeof(pinfo)));
size 333 uspace/srv/volsrv/volsrv.c size_t size;
size 334 uspace/srv/volsrv/volsrv.c if (!async_data_read_receive(&call, &size)) {
size 340 uspace/srv/volsrv/volsrv.c if (size != sizeof(vol_label_supp_t)) {
size 347 uspace/srv/volsrv/volsrv.c min(size, sizeof(vlsupp)));
size 466 uspace/srv/volsrv/volsrv.c size_t size;
size 472 uspace/srv/volsrv/volsrv.c if (!async_data_read_receive(&call, &size)) {
size 478 uspace/srv/volsrv/volsrv.c volume_id_t *id_buf = (volume_id_t *) malloc(size);
size 485 uspace/srv/volsrv/volsrv.c rc = vol_get_ids(parts->volumes, id_buf, size, &act_size);
size 492 uspace/srv/volsrv/volsrv.c errno_t retval = async_data_read_finalize(&call, id_buf, size);
size 524 uspace/srv/volsrv/volsrv.c size_t size;
size 525 uspace/srv/volsrv/volsrv.c if (!async_data_read_receive(&call, &size)) {
size 531 uspace/srv/volsrv/volsrv.c if (size != sizeof(vol_info_t)) {
size 538 uspace/srv/volsrv/volsrv.c min(size, sizeof(vinfo)));
HelenOS homepage, sources at GitHub