/barrelfish-master/lib/libc/posix1e/ |
H A D | acl_to_text_nfs4.c | 47 format_who(char *str, size_t size, const acl_entry_t entry, int numeric) argument 61 snprintf(str, size, "owner@"); 74 snprintf(str, size, "user:%d", (unsigned int)*id); 76 snprintf(str, size, "user:%s", pwd->pw_name); 80 snprintf(str, size, "group@"); 93 snprintf(str, size, "group:%d", (unsigned int)*id); 95 snprintf(str, size, "group:%s", grp->gr_name); 99 snprintf(str, size, "everyone@"); 110 format_entry_type(char *str, size_t size, const acl_entry_t entry) argument 121 snprintf(str, size, "allo 140 format_additional_id(char *str, size_t size, const acl_entry_t entry) argument 168 format_entry(char *str, size_t size, const acl_entry_t entry, int flags) argument 230 int error, off = 0, size, entry_id = ACL_FIRST_ENTRY; local [all...] |
/barrelfish-master/include/vm/ |
H A D | vm_init.c | 108 kva_import(void *unused, vmem_size_t size, int flags, vmem_addr_t *addrp) argument 114 result = vm_map_find(kernel_map, NULL, 0, &addr, size, 0, 173 vm_size_t size = 0; local 196 * Discount the physical memory larger than the size of kernel_map 205 * End of first pass, size has been calculated so allocate memory 208 size = (vm_size_t)v; 209 firstaddr = kmem_malloc(kernel_arena, round_page(size), 219 if ((vm_size_t)((char *)v - firstaddr) != size) 220 panic("startup: table size inconsistency"); 226 size [all...] |
/barrelfish-master/lib/nfs/ |
H A D | xdr_pbuf.c | 26 static inline int32_t *make_space(XDR *xdr, size_t size) argument 28 if (xdr->x_handy + size > xdr->size) { 30 size, xdr->size - (size_t)xdr->x_handy); 34 xdr->x_handy += size; 67 size_t space = xdr->size - xdr->x_handy; 105 if (pos > xdr->size) { 143 * \param size Size of pbuf buffers to allocate 147 bool xdr_create_send(XDR *xdr, size_t size) argument 168 xdr_create_recv(XDR *xdr, void *data, size_t size) argument [all...] |
/barrelfish-master/usr/eclipseclp/Pds/src/ |
H A D | pds.mem.h | 123 pds_size_t size, 132 #define pds_mem_alloc(dscr,size) h_alloc(dscr,size) 134 #define pds_mem_alloc_size(dscr,size) alloc_size(dscr,size) 135 #define pds_mem_free_size(dscr,addr,size) free_size(dscr,addr,size)
|
/barrelfish-master/lib/openssl-1.0.0d/crypto/bn/ |
H A D | exp.c | 17 int j,i,size=SIZE,num=NUM,mod=MOD; local 31 while (size <= 1024*8) 33 BN_rand(&a,size,0,0); 34 BN_rand(&b,size,1,0); 35 BN_rand(&c,size,0,1); 54 printf("%5d bit:%6.2f %6d %6.4f %4d m_set(%5.4f)\n",size, 59 size*=2;
|
/barrelfish-master/include/lwip/lwip/ |
H A D | memp.h | 44 #define LWIP_MEMPOOL(name,num,size,desc) MEMP_##name, 55 #define LWIP_MEMPOOL(name,num,size,desc) 57 #define LWIP_MALLOC_MEMPOOL(num, size) * MEMP_POOL_##size + 0 64 #define LWIP_MEMPOOL(name,num,size,desc) 66 #define LWIP_MALLOC_MEMPOOL(num, size) 0 + MEMP_POOL_##size *
|
/barrelfish-master/kernel/include/ |
H A D | startup.h | 36 errval_t create_caps_to_cnode(lpaddr_t base_addr, size_t size, 43 * This function allocates a linear region of addresses of size 'size' from 46 * \param size Number of bytes to allocate. 50 typedef lpaddr_t (*alloc_phys_func)(size_t size); 52 /* As for alloc_phys_func, but aligned to size 'align'. */ 53 typedef lpaddr_t (*alloc_phys_aligned_func)(size_t size, size_t align); 66 lpaddr_t app_alloc_phys(size_t size); 68 lpaddr_t app_alloc_phys_aligned(size_t size, size_t align); 72 lpaddr_t bsp_alloc_phys(size_t size); [all...] |
H A D | useraccess.h | 29 * \param size Size of buffer. 31 bool access_ok(uint8_t type, lvaddr_t buffer, size_t size);
|
/barrelfish-master/lib/devif/backends/net/mlx4/include/linux/ |
H A D | gfp.h | 109 size_t size; 113 size = PAGE_SIZE << order; 114 kmem_free(kmem_arena, (vm_offset_t)page_address(m), size); 127 * are expected to be aligned on the size as well.*/ 130 dma_alloc(unsigned int size, genpaddr_t *phys_addr) { argument 136 err = frame_alloc(&slot, size, NULL); 148 err = vspace_map_one_frame_attr(&virt_addr, size, slot, 155 /*memset(virt_addr, 0, size);*/ 185 size_t size; local 189 size [all...] |
/barrelfish-master/lib/libc/db/recno/ |
H A D | rec_utils.c | 69 if (sizeof(recno_t) > t->bt_rkey.size) { 74 t->bt_rkey.size = sizeof(recno_t); 77 key->size = sizeof(recno_t); 92 &data->size, &t->bt_rdata.data, &t->bt_rdata.size)) 97 if (rl->dsize + 1 > t->bt_rdata.size) { 102 t->bt_rdata.size = rl->dsize + 1; 105 data->size = rl->dsize; 108 data->size = rl->dsize;
|
/barrelfish-master/lib/tommath/ |
H A D | bn_mp_prime_random_ex.c | 18 /* makes a truly random prime of a given size (bits), 33 int mp_prime_random_ex(mp_int *a, int t, int size, int flags, ltm_prime_callback cb, void *dat) argument 39 if (size <= 1 || t <= 0) { 48 /* calc the byte size */ 49 bsize = (size>>3) + ((size&7)?1:0); 58 maskAND = ((size&7) == 0) ? 0xFF : (0xFF >> (8 - (size & 7))); 62 maskOR_msb_offset = ((size & 7) == 1) ? 1 : 0; 64 maskOR_msb |= 0x80 >> ((9 - size) [all...] |
/barrelfish-master/lib/libc/db/hash/ |
H A D | page.h | 73 #define PAIRSIZE(K,D) (2*sizeof(u_int16_t) + (K)->size + (D)->size) 75 #define KEYSIZE(K) (4*sizeof(u_int16_t) + (K)->size);
|
/barrelfish-master/lib/libc/gen/ |
H A D | getpagesize.c | 58 size_t size; local 70 size = sizeof value; 71 if (sysctl(mib, nitems(mib), &value, &size, NULL, 0) == -1)
|
H A D | fmtmsg.c | 38 /* Maximum valid size for a MSGVERB. */ 100 strlcat(output, ": ", size) 103 strlcat(output, "\n", size) 106 strlcat(output, " ", size) 116 size_t size; local 120 size = 32; 122 size += strlen(label); 124 size += strlen(sevname); 126 size += strlen(text); 128 size [all...] |
H A D | getpagesizes.c | 40 * Retrieves page size information from the system. Specifically, returns the 56 size_t size; local 66 size = sizeof(ps); 68 if (sysctlbyname("hw.pagesizes", ps, &size, NULL, 0) 73 nops = size / sizeof(ps[0]);
|
/barrelfish-master/usr/replay/ |
H A D | hash.h | 23 unsigned int size; /* number of slots */ member in struct:hash_st 28 * size: size of the table 30 hash_t *hash_init(unsigned int size); 65 return (key % hash->size);
|
/barrelfish-master/include/barrelfish/ |
H A D | bulk_transfer.h | 31 size_t size; member in struct:bulk_buf 37 size_t size, block_size; member in struct:bulk_transfer 42 size_t size; member in struct:bulk_transfer_slave 47 errval_t bulk_init(void *mem, size_t size, size_t block_size, 49 errval_t bulk_create(size_t size, size_t block_size, struct capref *shared_mem, 75 bulk_arch_prepare_send(bulk_buf_get_mem(buf), buf->size); 86 bulk_arch_prepare_recv(bulk_buf_get_mem(buf), buf->size); 92 if (id > bt->size) { 99 *maxlen = bt->size - id; 105 static inline errval_t bulk_slave_init(void *mem, size_t size, argument [all...] |
/barrelfish-master/lib/lwip2/src/core/ |
H A D | mem.c | 84 mem_trim(void *mem, mem_size_t size) argument 86 LWIP_UNUSED_ARG(size); 114 * Allocate a block of memory with a minimum of 'size' bytes. 116 * @param size is the minimum size of the requested block in bytes. 122 mem_malloc(mem_size_t size) argument 124 void* ret = mem_clib_malloc(size + MEM_LIBC_STATSHELPER_SIZE); 130 *(mem_size_t*)ret = size; 132 MEM_STATS_INC_USED(used, size); 160 * to contain an element of 'size' an 166 mem_malloc(mem_size_t size) argument 480 mem_size_t size; local 603 mem_malloc(mem_size_t size) argument 748 mem_calloc(mem_size_t count, mem_size_t size) argument 765 mem_calloc(mem_size_t count, mem_size_t size) argument [all...] |
/barrelfish-master/lib/libc/db/btree/ |
H A D | bt_utils.c | 82 &key->size, &rkey->data, &rkey->size)) 86 if (bl->ksize > rkey->size) { 91 rkey->size = bl->ksize; 94 key->size = bl->ksize; 97 key->size = bl->ksize; 107 &data->size, &rdata->data, &rdata->size)) 112 if (bl->dsize + 1 > rdata->size) { 117 rdata->size [all...] |
/barrelfish-master/lib/ahci/ |
H A D | ahci_dma_pool.c | 21 // size of the pool in bytes 22 size_t size; member in struct:dma_pool 52 // size of this chunk 53 size_t size; member in struct:free 90 else { // double size 130 * Increase dma pool size to new_pool_size, growing 136 AHCI_TRACE_ENTER("new pool size = %zd", new_pool_size); 137 // determine additional pool size (using ssize_t temp variable in order to 140 if (pool.size != 0) { 141 temp_pool_size -= pool.size; 266 get_region(struct free *f, size_t size, size_t alignment_requirement) argument 350 ahci_dma_region_alloc_aligned(size_t size, size_t alignment_requirement, struct ahci_dma_region **retregion) argument 417 ahci_dma_region_alloc(size_t size, struct ahci_dma_region **retregion) argument [all...] |
/barrelfish-master/lib/libc/stdlib/ |
H A D | bsearch.c | 64 bsearch_b(const void *key, const void *base0, size_t nmemb, size_t size, argument 68 bsearch(const void *key, const void *base0, size_t nmemb, size_t size, 78 p = base + (lim >> 1) * size; 83 base = (char *)p + size;
|
/barrelfish-master/lib/openssl-1.0.0d/crypto/ui/ |
H A D | ui_util.c | 69 int UI_UTIL_read_pw(char *buf,char *buff,int size,const char *prompt,int verify) argument 74 if (size < 1) 80 ok = UI_add_input_string(ui,prompt,0,buf,0,size-1); 82 ok = UI_add_verify_string(ui,prompt,0,buff,0,size-1,
|
/barrelfish-master/usr/bench/mdb_bench/ |
H A D | reset.c | 12 static void clear_mdb(char *base, size_t size) argument 15 memset(base, 0, size); 18 static void reset_mdb_seq_1b_ram(char *base, size_t size) argument 20 clear_mdb(base, size); 24 size_t num_caps = size / sizeof(struct cte); 39 static void reset_mdb_random_nat_ram(char *base, size_t size) argument 41 clear_mdb(base, size); 45 size_t num_caps = size / sizeof(struct cte); 61 static void reset_mdb_propszrand_nat_ram(char *base, size_t size) argument 63 clear_mdb(base, size); 91 reset_mdb_szprob_cp_nat_ram(char *base, size_t size) argument [all...] |
/barrelfish-master/usr/tests/pagertest/ |
H A D | pagertest.c | 12 // region size 13 size_t size = 16384u; local 17 err = memobj_create_one_frame(m, size, 0); 31 for (int i = 0; i < size; i++) { 35 for (int i = 0; i < size; i++) {
|
/barrelfish-master/include/ |
H A D | multiboot2.h | 108 multiboot_uint32_t size; member in struct:multiboot_header_tag 115 multiboot_uint32_t size; member in struct:multiboot_header_tag_information_request 123 multiboot_uint32_t size; member in struct:multiboot_header_tag_address 134 multiboot_uint32_t size; member in struct:multiboot_header_tag_entry_address 142 multiboot_uint32_t size; member in struct:multiboot_header_tag_console_flags 150 multiboot_uint32_t size; member in struct:multiboot_header_tag_framebuffer 160 multiboot_uint32_t size; member in struct:multiboot_header_tag_module_align 187 multiboot_uint32_t size; member in struct:multiboot_tag 193 multiboot_uint32_t size; member in struct:multiboot_tag_string 200 multiboot_uint32_t size; member in struct:multiboot_tag_module 209 multiboot_uint32_t size; member in struct:multiboot_tag_module_64 218 multiboot_uint32_t size; member in struct:multiboot_tag_basic_meminfo 226 multiboot_uint32_t size; member in struct:multiboot_tag_bootdev 235 multiboot_uint32_t size; member in struct:multiboot_tag_mmap 254 multiboot_uint32_t size; member in struct:multiboot_tag_vbe 268 multiboot_uint32_t size; member in struct:multiboot_tag_framebuffer_common 308 multiboot_uint32_t size; member in struct:multiboot_tag_elf_sections 318 multiboot_uint32_t size; member in struct:multiboot_tag_apm 333 multiboot_uint32_t size; member in struct:multiboot_tag_efi32 340 multiboot_uint32_t size; member in struct:multiboot_tag_efi64 347 multiboot_uint32_t size; member in struct:multiboot_tag_smbios 357 multiboot_uint32_t size; member in struct:multiboot_tag_old_acpi 364 multiboot_uint32_t size; member in struct:multiboot_tag_new_acpi 371 multiboot_uint32_t size; member in struct:multiboot_tag_network 378 multiboot_uint32_t size; member in struct:multiboot_tag_efi_mmap [all...] |