Searched refs:size (Results 126 - 150 of 1112) sorted by relevance

1234567891011>>

/barrelfish-master/lib/openssl-1.0.0d/crypto/bio/
H A Dbss_bio.c99 static int bio_read(BIO *bio, char *buf, int size);
137 size_t size; member in struct:bio_bio_st
138 char *buf; /* "size" elements (if != NULL) */
143 * never more than buffer space (size-len) warrants. */
155 b->size = 17*1024; /* enough for one TLS record (just a default) */
190 size_t size = size_; local
208 if (buf == NULL || size == 0)
218 if (size <= peer_b->size)
219 peer_b->request = size;
[all...]
/barrelfish-master/kernel/arch/x86_32/
H A Dpaging.c130 * Maps the region of physical memory, based at base and sized size bytes
133 * in the page hierarchy rooted at pml4. base and size will be made
137 * \param size Size in bytes of memory region
142 static int paging_x86_32_map_mem(lpaddr_t base, size_t size, uint64_t bitmap) argument
147 paging_align(&vbase, &base, &size, X86_32_MEM_PAGE_SIZE);
150 assert(local_phys_to_gen_phys(base + size) <= X86_32_PADDR_SPACE_LIMIT);
151 if(local_phys_to_gen_phys(base + size) > X86_32_PADDR_SPACE_LIMIT) {
154 base, base + size);
158 assert(local_phys_to_gen_phys(vbase + size) <= X86_32_VADDR_SPACE_SIZE);
175 if(vbase + size !
212 paging_x86_32_map_special(lpaddr_t base, size_t size, uint64_t bitmap) argument
269 paging_x86_32_map_device(lpaddr_t base, size_t size) argument
274 paging_x86_32_map_memory(lpaddr_t base, size_t size) argument
[all...]
/barrelfish-master/lib/libc/gen/
H A Dgetloadavg.c55 size_t size; local
59 size = sizeof(loadinfo);
60 if (sysctl(mib, 2, &loadinfo, &size, NULL, 0) < 0)
/barrelfish-master/lib/openssl-1.0.0d/crypto/rand/
H A Drandfile.c269 const char *RAND_file_name(char *buf, size_t size) argument
278 if (s != NULL && *s && strlen(s) + 1 < size)
280 if (BUF_strlcpy(buf,s,size) >= size)
293 if (s && *s && strlen(s)+strlen(RFILE)+2 < size)
295 BUF_strlcpy(buf,s,size);
297 BUF_strlcat(buf,"/",size);
299 BUF_strlcat(buf,RFILE,size);
314 if (BUF_strlcpy(buf,"/dev/arandom",size) >= size) {
[all...]
/barrelfish-master/include/virtio/
H A Dvirtio_guest.h34 errval_t (*req)(uint64_t size, struct capref *cap);
82 static inline errval_t virtio_guest_request_mem(uint64_t size, argument
85 return vguest_chan_fn->req(size, cap);
/barrelfish-master/include/net_sockets/
H A Dnet_sockets_types.h9 typedef void (*net_received_callback_t)(void *user_state, struct net_socket *socket, void *data, size_t size, struct in_addr ip_address, uint16_t port);
10 typedef void (*net_sent_callback_t)(void *user_state, struct net_socket *socket, void *data, size_t size);
26 uint32_t size; member in struct:net_buffer
/barrelfish-master/lib/zlib/
H A Dzutil.c216 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) argument
219 ulg bsize = (ulg)items*size;
275 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) argument
278 return _halloc((long)items, size);
295 extern voidp malloc OF((uInt size));
296 extern voidp calloc OF((uInt items, uInt size));
300 voidpf zcalloc (opaque, items, size)
303 unsigned size;
305 if (opaque) items += size - size; /* mak
[all...]
/barrelfish-master/include/barrelfish/
H A Dvspace_layout.h31 genvaddr_t size; member in struct:vspace_layout
45 * \brief Get the size of the address space
49 return l->size;
68 genvaddr <= ((genvaddr_t)l->offset + l->size));
/barrelfish-master/lib/dma/
H A Ddma_descriptor.c76 * \param size size of a signle descriptor in bytes
87 errval_t dma_desc_alloc(uint32_t size, argument
99 size = DMA_ALIGN(size, align);
132 err = driverkit_hwmodel_frame_alloc(&mem->mem, ndesc * size,
153 err = driverkit_iommu_mmap_cl(dev->iommu, ndesc * size, DMA_DESC_MAP_FLAGS, mem);
160 err = dma_mem_alloc(ndesc*size, DMA_DESC_MAP_FLAGS, dev->iommu, mem);
173 memset((void*) mem->vbase, 0, ndesc * size);
176 DMADESC_DEBUG("Allocated frame of size
[all...]
/barrelfish-master/lib/pcre/
H A Dpcre_try_flipped.c109 internal_re->size = byteflip(re->size, sizeof(re->size));
130 internal_study->size = byteflip(study->size, sizeof(study->size));
/barrelfish-master/lib/phoenix/
H A Dstddefines.h56 static inline void *MALLOC(size_t size) argument
58 void * temp = malloc(size);
63 static inline void *CALLOC(size_t num, size_t size) argument
65 void * temp = calloc(num, size);
70 static inline void *REALLOC(void *ptr, size_t size) argument
72 void * temp = realloc(ptr, size);
/barrelfish-master/lib/devif/backends/net/mlx4/drivers/infiniband/hw/mthca/
H A Dmthca_profile.c70 u64 size; member in struct:mthca_resource
87 profile[MTHCA_RES_QP].size = dev_lim->qpc_entry_sz;
88 profile[MTHCA_RES_EEC].size = dev_lim->eec_entry_sz;
89 profile[MTHCA_RES_SRQ].size = dev_lim->srq_entry_sz;
90 profile[MTHCA_RES_CQ].size = dev_lim->cqc_entry_sz;
91 profile[MTHCA_RES_EQP].size = dev_lim->eqpc_entry_sz;
92 profile[MTHCA_RES_EEEC].size = dev_lim->eeec_entry_sz;
93 profile[MTHCA_RES_EQ].size = dev_lim->eqc_entry_sz;
94 profile[MTHCA_RES_RDB].size = MTHCA_RDB_ENTRY_SIZE;
95 profile[MTHCA_RES_MCG].size
[all...]
/barrelfish-master/lib/libc/inet/
H A Dinet_ntoa.c63 inet_ntoa_r(struct in_addr in, char *buf, socklen_t size) argument
66 (void) inet_ntop(AF_INET, &in, buf, size);
/barrelfish-master/lib/libc/sys/barrelfish/
H A Doldmalloc.c53 state->header_base.s.size = 0;
56 if (p->s.size >= nunits) { /* big enough */
57 if (p->s.size == nunits) /* exactly */
60 p->s.size -= nunits;
61 p += p->s.size;
62 p->s.size = nunits;
119 __malloc_instrumented_allocated -= bp->s.size;
122 if (bp + bp->s.size == p->s.ptr) { /* join to upper nbr */
123 bp->s.size += p->s.ptr->s.size;
[all...]
/barrelfish-master/include/net/
H A Dnetbufs.h30 * @param size size of the networking buffer
35 errval_t net_buf_pool_alloc(struct devq *dev_q, size_t numbuf, size_t size,
47 * @param size size of a buffer
52 size_t size);
59 * @param buffersize size of a buffer
/barrelfish-master/lib/barrelfish/vspace/
H A Dmemobj_pinned.c103 * \param size The size of frame cap
108 size_t size)
113 if (offset + size > memobj->size) {
125 err = pmap->f.map(pmap, base + vregion_off + offset, frame, 0, size, flags,
151 * \param size The amount of space to free up
157 static errval_t pager_free(struct memobj *memobj, size_t size, argument
167 * \param size Size of the memory region
173 errval_t memobj_create_pinned(struct memobj_pinned *pinned, size_t size, argument
107 fill(struct memobj *memobj, genvaddr_t offset, struct capref frame, size_t size) argument
[all...]
/barrelfish-master/usr/arrakismon/
H A Dapic.h36 int apic_handle_mmio_read (struct apic *a, uint64_t addr, enum opsize size,
38 int apic_handle_mmio_write (struct apic *a, uint64_t addr, enum opsize size,
H A Dkeyboard.h38 enum opsize size, uint32_t *val);
40 enum opsize size, uint32_t val);
/barrelfish-master/usr/bench/cow/
H A Dvspace_cow.h4 errval_t vspace_map_one_frame_cow(void **buf, size_t size,
/barrelfish-master/lib/posixcompat/
H A Dmemalign.c16 int posix_memalign(void **memptr, size_t alignment, size_t size) argument
23 err = frame_alloc(&memory_cap, size, &retbytes);
/barrelfish-master/usr/vmkitmon/
H A Dapic.h36 int apic_handle_mmio_read (struct apic *a, uint64_t addr, enum opsize size,
38 int apic_handle_mmio_write (struct apic *a, uint64_t addr, enum opsize size,
H A Dkeyboard.h38 enum opsize size, uint32_t *val);
40 enum opsize size, uint32_t val);
/barrelfish-master/kernel/
H A Dprintf.c153 snprintf(char *bf, size_t size, const char *fmt, ...) argument
158 if (size < 1)
162 retval = kprintf(bf, size, fmt, ap, TOBUFONLY);
164 if (retval < size) {
174 vsnprintf(char *bf, size_t size, const char *fmt, va_list ap) argument
178 if (size < 1)
181 retval = kprintf(bf, size, fmt, ap, TOBUFONLY);
182 if (retval < size) {
274 int realsz; /* field size expanded by dprec */
275 int size; /* siz local
[all...]
/barrelfish-master/lib/numa/
H A Dalloc.c32 * \brief validates the given page size and sets the flags
34 * \param pagesize desired page size
37 * \returns activated page size
39 * if the page size is not known or not supported, BASE_PAGE_SIZE is returned
216 * \param size size of the region in bytes
218 * \param pagesize page size to be used for the mapping
222 * The size argument will be rounded up to a multiple of the system page size.
226 void *numa_alloc_onnode(size_t size, nodeid_ argument
279 numa_alloc_local(size_t size, size_t pagesize) argument
300 numa_alloc_interleaved(size_t size, size_t pagesize) argument
319 numa_alloc_interleaved_subset(size_t size, size_t pagesize, struct bitmap *nodemask) argument
414 numa_alloc(size_t size, size_t pagesize) argument
462 numa_free(void *start, size_t size) argument
478 numa_ram_alloc_on_node(struct capref *dest, size_t size, nodeid_t node, size_t *ret_size) argument
521 numa_frame_alloc_on_node(struct capref *dest, size_t size, nodeid_t node, size_t *ret_size) argument
[all...]
/barrelfish-master/lib/libc/posix1e/
H A Dacl_support_nfs4.c96 format_flags_verbose(char *str, size_t size, uint32_t var, argument
103 off += snprintf(str + off, size - off, "%s/", tmp);
104 assert (off < size);
120 format_flags_compact(char *str, size_t size, uint32_t var, argument
126 assert(i < size);
212 _nfs4_format_flags(char *str, size_t size, acl_flag_t var, int verbose) argument
216 return (format_flags_verbose(str, size, var, a_flags));
218 return (format_flags_compact(str, size, var, a_flags));
222 _nfs4_format_access_mask(char *str, size_t size, acl_perm_t var, int verbose) argument
226 return (format_flags_verbose(str, size, va
[all...]

Completed in 269 milliseconds

1234567891011>>