Searched refs:size (Results 51 - 75 of 1079) sorted by relevance

1234567891011>>

/barrelfish-2018-10-04/usr/kaluga/
H A Ddevice_caps.h13 errval_t get_device_cap(lpaddr_t address, size_t size, struct capref* devframe);
/barrelfish-2018-10-04/usr/slideshow/
H A Dzlib_load.h13 int zlib_load(void *dst, size_t dstsize, size_t *size, void *src,
/barrelfish-2018-10-04/usr/drivers/usb/usb_manager/
H A Dusb_memory.c23 * size and alignment constraints.
25 * \param size the minimum size of the block
30 * \return size of the requested block
31 */uint32_t usb_mem_next_block(uint32_t size, uint32_t align, argument
37 uint32_t size_req = size;
41 // calculate the required size
47 if (free_pg->size < size_req) {
50 ret_mem->size = 0;
56 ret_mem->size
132 usb_mem_dma_alloc(uint32_t size, uint32_t align) argument
[all...]
/barrelfish-2018-10-04/lib/libc/stdio/
H A Dsetvbuf.c51 setvbuf(FILE * __restrict fp, char * __restrict buf, int mode, size_t size) argument
58 * Verify arguments. The `int' limit on `size' is due to this
59 * particular implementation. Note, buf and size are ignored
63 if ((mode != _IOFBF && mode != _IOLBF) || (int)size < 0)
88 * Find optimal I/O size for seek optimization. This also returns
93 if (size == 0) {
95 size = iosize;
100 if ((buf = malloc(size)) == NULL) {
103 * failure, but try again with file system size.
106 if (size !
[all...]
H A Dfread.c53 fread(void * __restrict buf, size_t size, size_t count, FILE * __restrict fp) argument
58 ret = __fread(buf, size, count, fp);
64 __fread(void * __restrict buf, size_t size, size_t count, FILE * __restrict fp) argument
72 * ANSI and SUSv2 require a return value of 0 if size or count are 0.
74 if ((count == 0) || (size == 0))
79 * at least one of {count, size} is at least 2^16, since if both
83 if (((count | size) > 0xFFFF) &&
84 (count > SIZE_MAX / size)) {
94 resid = count * size;
108 return ((total - resid) / size);
[all...]
H A Dsetbuffer.c42 setbuffer(FILE *fp, char *buf, int size) argument
45 (void)setvbuf(fp, buf, buf ? _IOFBF : _IONBF, (size_t)size);
/barrelfish-2018-10-04/lib/libc/stdlib/
H A Dmerge.c113 mergesort_b(void *base, size_t nmemb, size_t size, cmp_t cmp) argument
115 mergesort(void *base, size_t nmemb, size_t size, cmp_t cmp)
124 if (size < PSIZE / 2) { /* Pointers must fit into 2 * size. */
137 if (!(size % ISIZE) && !(((char *)base - (char *)0) % ISIZE))
140 if ((list2 = malloc(nmemb * size + PSIZE)) == NULL)
144 setup(list1, list2, nmemb, size, cmp);
145 last = list2 + nmemb * size;
168 while ((b += size) < t && CMP(q, b) >sense)
174 EXPONENTIAL: for (i = size; ;
276 setup(u_char *list1, u_char *list2, size_t n, size_t size, cmp_t cmp) argument
347 insertionsort(u_char *a, size_t n, size_t size, cmp_t cmp) argument
[all...]
/barrelfish-2018-10-04/lib/libc/gen/
H A Dgetbootfile.c45 size_t size = sizeof name; local
50 if (sysctl(mib, 2, name, &size, NULL, 0) == -1)
H A Dpmadvise.c14 posix_madvise(void *address, size_t size, int how) argument
19 if (madvise(address, size, how) == -1) {
/barrelfish-2018-10-04/lib/lwip/src/barrelfish/
H A Dmem_barrelfish.h22 // uint32_t size);
24 uint8_t *mem_barrelfish_alloc(uint8_t binding_index, uint32_t size);
25 uint8_t *mem_barrelfish_register_buf(uint8_t binding_index, uint32_t size);
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/ui/
H A Dui_compat.c64 int _ossl_old_des_read_pw(char *buf,char *buff,int size,const char *prompt,int verify) argument
66 return UI_UTIL_read_pw(buf, buff, size, prompt, verify);
/barrelfish-2018-10-04/lib/posixcompat/
H A Dgetcwd.c15 char *getcwd(char *buf, size_t size) argument
21 strncpy(buf, cwd, size);
/barrelfish-2018-10-04/usr/drivers/e1000/
H A De1000n_devq.h53 size_t size = q->receive_buffers; local
56 return size - (tail - head) -1;
58 return size - (tail + size - head) -1;
69 size_t size = q->transmit_buffers; local
72 return size - (tail - head) - 1;
74 return size - (tail + size - head) - 1;
/barrelfish-2018-10-04/include/
H A Dbitmacros.h33 /* Round n up to the next multiple of size */
34 #define ROUND_UP(n, size) ((((n) + (size) - 1)) & (~((size) - 1)))
36 /* Divide n by size, rounding up */
37 #define DIVIDE_ROUND_UP(n, size) (((n) + (size) - 1) / (size))
39 /* Round n down to the nearest multiple of size */
40 #define ROUND_DOWN(n, size) ((
[all...]
/barrelfish-2018-10-04/include/dma/ioat/
H A Dioat_dma_descriptors.h18 /// the size of the basic descriptor XXX: does not hold for super extended desc!
44 * \param size number of bytes to copy
47 * XXX: this function assumes that the size of the descriptor has already been
48 * checked and must match the maximum transfer size of the channel
53 uint32_t size,
61 * \param size number of bytes to copy
64 * XXX: this function assumes that the size of the descriptor has already been
65 * checked and must match the maximum transfer size of the channel
70 uint32_t size,
/barrelfish-2018-10-04/include/lwip2/lwip/
H A Dmemp.h46 #define LWIP_MEMPOOL(name,num,size,desc)
51 #define LWIP_MEMPOOL(name,num,size,desc) MEMP_##name,
69 #define LWIP_MEMPOOL_DECLARE(name,num,size,desc) \
74 LWIP_MEM_ALIGN_SIZE(size) \
93 #define LWIP_MEMPOOL_DECLARE(name,num,size,desc) \
94 LWIP_DECLARE_MEMORY_ALIGNED(memp_memory_ ## name ## _base, ((num) * (MEMP_SIZE + MEMP_ALIGN_SIZE(size)))); \
103 LWIP_MEM_ALIGN_SIZE(size), \
129 * This has to be defined here as it is required for pool size calculation. */
134 u16_t size; member in struct:memp_malloc_helper
/barrelfish-2018-10-04/lib/barrelfish/vspace/arch/x86_32/
H A Dlayout.c26 l->size = ((genvaddr_t)X86_32_PDPTE_SIZE * X86_32_PTABLE_SIZE *
29 l->size = ((genvaddr_t)X86_32_PDIR_SIZE * X86_32_PTABLE_SIZE *
/barrelfish-2018-10-04/usr/eclipseclp/Kernel/src/
H A Ddatabase.h40 /* size of the prefix in (vmcode) units */
60 #define AllocateCodeBlock(size, link, bid, fid, type, cid) \
61 allocate_code_block(size, 0, link, bid, fid, type, cid)
63 #define AllocateCodeBlockBTable(size, btable, link, bid, fid, type, cid) \
64 allocate_code_block(size, btable, link, bid, fid, type, cid)
66 #define Make_Prefix(link, btable, size, bid, fid, lid, cid) \
67 Store_d(link); Store_d(btable); Store_d(size); Store_d(bid); Store_d(fid); Store_d(lid);Store_d(cid);
68 #define Make_Procedure_Prefix(link, size, bid, fid, lid, cid, did) \
69 Make_Prefix(link, 0, size, bid, fid, lid, Cid(cid, did))
86 #define Allocate_Procedure(size, bi
[all...]
/barrelfish-2018-10-04/usr/eclipseclp/Visualisation/src/com/parctechnologies/eclipse/visualisation/
H A DCreateEvent.java30 private List size; field in class:CreateEvent
62 void setViewableSize(List size) argument
64 this.size = size;
69 return(size);
/barrelfish-2018-10-04/lib/tommath/
H A Dbn_mp_radix_size.c18 /* returns size of ASCII reprensentation */
19 int mp_radix_size (mp_int * a, int radix, int *size) argument
25 *size = 0;
29 *size = mp_count_bits (a) + (a->sign == MP_NEG ? 1 : 0) + 1;
39 *size = 2;
70 *size = digs + 1;
/barrelfish-2018-10-04/include/vm/
H A Dvm_kern.c121 kva_alloc(size)
122 vm_size_t size;
126 size = round_page(size);
127 if (vmem_alloc(kernel_arena, size, M_BESTFIT | M_NOWAIT, &addr))
143 kva_free(addr, size)
145 vm_size_t size;
148 size = round_page(size);
149 vmem_free(kernel_arena, addr, size);
161 kmem_alloc_attr(vmem_t *vmem, vm_size_t size, int flags, vm_paddr_t low, vm_paddr_t high, vm_memattr_t memattr) argument
215 kmem_alloc_contig(struct vmem *vmem, vm_size_t size, int flags, vm_paddr_t low, vm_paddr_t high, u_long alignment, vm_paddr_t boundary, vm_memattr_t memattr) argument
278 kmem_suballoc(vm_map_t parent, vm_offset_t *min, vm_offset_t *max, vm_size_t size, boolean_t superpage_align) argument
307 kmem_malloc(struct vmem *vmem, vm_size_t size, int flags) argument
331 kmem_back(vm_object_t object, vm_offset_t addr, vm_size_t size, int flags) argument
386 kmem_unback(vm_object_t object, vm_offset_t addr, vm_size_t size) argument
412 kmem_free(struct vmem *vmem, vm_offset_t addr, vm_size_t size) argument
[all...]
H A Dvm_init.c108 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-2018-10-04/lib/cxx/cxxabi/
H A Dcxa_new_delete.cpp36 operator new(std::size_t size) argument
41 if (size == 0)
42 size = 1;
44 while ((p = std::malloc(size)) == 0)
64 Calls operator new(size). If the call returns normally, returns the result of
69 operator new(size_t size, const std::nothrow_t&)
79 p = ::operator new(size);
90 Returns operator new(size).
94 operator new[](size_t size) argument
99 return ::operator new(size);
[all...]
/barrelfish-2018-10-04/lib/libc/posix1e/
H A Dacl_to_text_nfs4.c47 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-2018-10-04/lib/nfs/
H A Dxdr_pbuf.c26 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...]

Completed in 153 milliseconds

1234567891011>>