Searched refs:size (Results 1 - 25 of 5785) sorted by relevance

1234567891011>>

/src/sys/arch/hpcmips/stand/libsa/
H A Dalloc.c40 void *malloc(size_t size);
43 alloc(size_t size);
45 return malloc(size);
/src/lib/libusbhid/
H A Dusbvar.h30 unsigned int size; member in struct:report_desc
/src/sys/dev/iscsi/
H A Dbase64.h32 /* size of result string including term. zero and "0b" prefix */
33 #define base64_enclen(size) ((size) * 4 / 3 + 4 + 2)
35 /* encode "size" bytes of "data" into "buffer" returning length */
/src/sys/arch/evbarm/stand/board/
H A Dintegrator_mem.c54 uint32_t heap, size; local in function:mem_init
60 size = 16 * 1024 * 1024;
64 size = 32 * 1024 * 1024;
68 size = 64 * 1024 * 1024;
72 size = 128 * 1024 * 1024;
76 size = 256 * 1024 * 1024;
81 size = 16 * 1024 * 1024;
86 heap = size - BOARD_HEAP_SIZE;
88 printf(">> RAM 0x%x - 0x%x, heap at 0x%x\n", 0, size - 1, heap);
89 setheap((void *)heap, (void *)(size
[all...]
H A Dgemini_mem.c54 * Gemini CPU Remap Control remapped-private memory size
63 uint32_t heap, size; local in function:mem_init
65 size = MEMSIZE;
68 heap = size - BOARD_HEAP_SIZE;
70 printf(">> RAM 0x%x - 0x%x, heap at 0x%x\n", 0, size - 1, heap);
71 setheap((void *)heap, (void *)(size - 1));
/src/sys/arch/hpc/stand/libsa/
H A Dalloc.c43 alloc(size_t size) argument
45 return malloc(size);
49 dealloc(void *ptr, size_t size) argument
/src/lib/libc/rpc/
H A Drpc_dtablesize.c57 static int size; local in function:_rpc_dtablesize
58 if (size == 0)
59 size = (int)sysconf(_SC_OPEN_MAX);
60 return (size);
/src/sys/arch/atari/stand/tostools/libtos/
H A Dxalloc.c34 xmalloc(size_t size) argument
36 void * p = malloc(size);
38 if (p || !size)
45 xrealloc(void *ptr, size_t size) argument
47 void * p = realloc(ptr, size);
49 if (p || !size)
/src/lib/libppath/
H A Dppath_malloc.c40 ppath_alloc(size_t size) argument
42 return calloc(1, size);
47 ppath_free(void *p, size_t size) argument
/src/common/lib/libppath/
H A Dppath_malloc.c40 ppath_alloc(size_t size) argument
42 return calloc(1, size);
47 ppath_free(void *p, size_t size) argument
/src/sys/arch/amiga/stand/bootblock/ppcboot/
H A Dhex2c.awk33 BEGIN{size = 0}
34 { printf("\t"); for(i=2;i<=NF;i++) {printf("0x%s, ",$i);size += 2};printf("\n");}
36 END{print "const size_t kicksize = ", size ";"}
/src/usr.sbin/timed/timed/
H A Dtspname.c49 get_tsp_name(const struct tsp *tsp, char *name, size_t size) argument
51 size = MIN(size, sizeof(tsp->tsp_name));
52 if (size > 0) {
53 (void)strncpy(name, tsp->tsp_name, size);
54 name[size - 1] = '\0';
/src/sys/external/isc/libsodium/include/
H A Drandombytes.h6 randombytes_buf(void * const buf, const size_t size) argument
9 cprng_strong(kern_cprng, buf, size, 0);
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/
H A Dnouveau_nvkm_subdev_fb_ramnv04.c41 u64 size; local in function:nv04_ram_new
45 size = ((boot0 >> 12) & 0xf) * 2 + 2;
46 size *= 1024 * 1024;
50 size = 32 * 1024 * 1024;
53 size = 16 * 1024 * 1024;
56 size = 8 * 1024 * 1024;
59 size = 4 * 1024 * 1024;
69 return nvkm_ram_new_(&nv04_ram_func, fb, type, size, pram);
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
H A Dtsan_malloc_mac.cc28 #define COMMON_MALLOC_MEMALIGN(alignment, size) \
30 user_memalign(cur_thread(), StackTrace::GetCurrentPc(), alignment, size)
31 #define COMMON_MALLOC_MALLOC(size) \
32 if (cur_thread()->in_symbolizer) return InternalAlloc(size); \
33 SCOPED_INTERCEPTOR_RAW(malloc, size); \
34 void *p = user_alloc(thr, pc, size)
35 #define COMMON_MALLOC_REALLOC(ptr, size) \
36 if (cur_thread()->in_symbolizer) return InternalRealloc(ptr, size); \
37 SCOPED_INTERCEPTOR_RAW(realloc, ptr, size); \
38 void *p = user_realloc(thr, pc, ptr, size)
[all...]
/src/sys/arch/powerpc/powerpc/
H A Ddb_memrw.c37 * specific size, then the read/write functions have to
57 db_read_bytes(vaddr_t addr, size_t size, char *data) argument
61 if (size == 4) {
66 if (size == 2) {
71 while (size > 0) {
72 --size;
81 db_write_bytes(vaddr_t addr, size_t size, const char *data) argument
85 if (size == 4) {
89 } else if (size == 2) {
95 while (size >
[all...]
/src/sys/external/bsd/compiler_rt/dist/include/sanitizer/
H A Dhwasan_interface.h35 // Mark region of memory with the given tag. Both address and size need to be
38 size_t size);
60 void __hwasan_print_shadow(const volatile void *x, size_t size);
65 int __sanitizer_posix_memalign(void **memptr, size_t alignment, size_t size);
66 void * __sanitizer_memalign(size_t alignment, size_t size);
67 void * __sanitizer_aligned_alloc(size_t alignment, size_t size);
68 void * __sanitizer___libc_memalign(size_t alignment, size_t size);
69 void * __sanitizer_valloc(size_t size);
70 void * __sanitizer_pvalloc(size_t size);
77 void * __sanitizer_calloc(size_t nmemb, size_t size);
[all...]
H A Dmsan_interface.h23 void __msan_set_origin(const volatile void *a, size_t size, uint32_t origin);
40 void __msan_unpoison(const volatile void *a, size_t size);
49 void __msan_poison(const volatile void *a, size_t size);
54 size_t size);
58 intptr_t __msan_test_shadow(const volatile void *x, size_t size);
62 void __msan_check_mem_is_initialized(const volatile void *x, size_t size);
78 void __msan_print_shadow(const volatile void *x, size_t size);
82 void __msan_dump_shadow(const volatile void *x, size_t size);
89 void __msan_allocated_memory(const volatile void* data, size_t size);
92 void __sanitizer_dtor_callback(const volatile void* data, size_t size);
[all...]
/src/sys/external/bsd/sljit/dist/sljit_src/
H A DsljitExecAllocator.c43 header contains the size of the previous and the next block. These sizes
45 Block size:
46 0 - The block is a free_block, with a different size member.
48 n - The block is used at the moment, and the value contains its size.
49 Previous block size:
51 n - The size of the previous block.
53 Using these size values we can go forward or backward on the block chain.
76 * the size is always divisible by CHUNK_SIZE
86 static SLJIT_INLINE void* alloc_chunk(sljit_uw size) argument
88 return VirtualAlloc(NULL, size, MEM_COMMI
91 free_chunk(void * chunk,sljit_uw size) argument
107 alloc_chunk(sljit_uw size) argument
129 free_chunk(void * chunk,sljit_uw size) argument
147 sljit_uw size; member in struct:block_header
155 sljit_uw size; member in struct:free_block
169 sljit_insert_free_block(struct free_block * free_block,sljit_uw size) argument
194 sljit_malloc_exec(sljit_uw size) argument
[all...]
/src/tests/lib/libc/db/
H A Dh_lfsr.c83 key.size = (len & 0xff) + 1;
85 memset(kb, c, key.size);
86 val.size = (next(&len) & 0xff) + 1;
90 key.size, val.size, c);
94 key.size, val.size, c);
97 key.size, val.size, c);
105 key.size
[all...]
/src/sys/arch/sparc/stand/ofwboot/
H A Dalloc.c88 * Each block actually has ALIGN(struct ml) + ALIGN(size) bytes allocated
92 * allocated or unallocated: holds size of user-data part of block.
99 * ALIGN(data size) - 1)
104 * However, note that ALIGN(sizeof(struct ml)) + ALIGN(data size) must
113 unsigned size; member in struct:ml
123 alloc(size_t size) argument
127 unsigned bestsize = 0xffffffff; /* greater than any real size */
133 printf("alloc(%zu)", size);
140 size = ALIGN(size)
209 dealloc(void * ptr,size_t size) argument
[all...]
/src/sys/arch/shark/stand/ofwboot/
H A Dalloc.c88 * Each block actually has ALIGN(struct ml) + ALIGN(size) bytes allocated
92 * allocated or unallocated: holds size of user-data part of block.
99 * ALIGN(data size) - 1)
104 * However, note that ALIGN(sizeof(struct ml)) + ALIGN(data size) must
113 unsigned size; member in struct:ml
123 alloc(size_t size) argument
127 unsigned bestsize = 0xffffffff; /* greater than any real size */
133 printf("alloc(%zu)", size);
140 size = ALIGN(size)
209 dealloc(void * ptr,size_t size) argument
[all...]
/src/sys/arch/macppc/stand/ofwboot/
H A Dalloc.c87 * Each block actually has ALIGN(struct ml) + ALIGN(size) bytes allocated
91 * allocated or unallocated: holds size of user-data part of block.
98 * ALIGN(data size) - 1)
103 * However, note that ALIGN(sizeof(struct ml)) + ALIGN(data size) must
112 unsigned size; member in struct:ml
122 alloc(size_t size) argument
126 unsigned bestsize = 0xffffffff; /* greater than any real size */
132 printf("alloc(%zu)", size);
139 size = ALIGN(size)
208 dealloc(void * ptr,size_t size) argument
[all...]
/src/sys/arch/x68k/stand/libsa/
H A Dsdcdvar.h34 uint32_t size; /* in blocks */ member in struct:boot_partinfo
/src/sys/arch/emips/emips/
H A Dmachdep.h39 vaddr_t mips_map_physmem(paddr_t phys, vsize_t size);
40 void mips_unmap_physmem(vaddr_t addr, vsize_t size);

Completed in 53 milliseconds

1234567891011>>