Searched refs:size (Results 26 - 50 of 1079) sorted by relevance

1234567891011>>

/barrelfish-2018-10-04/kernel/include/arch/armv8/
H A Dkernel_multiboot2.h15 multiboot2_find_header(struct multiboot_header_tag *mb, const size_t size,
19 multiboot2_find_cmdline(struct multiboot_header_tag *mb, const size_t size);
23 const size_t size, const char* name);
/barrelfish-2018-10-04/lib/posixcompat/
H A Dgetgroups.c15 int getgroups(int size, gid_t grouplist[]) argument
21 int setgroups(int size, const gid_t grouplist[]) argument
23 POSIXCOMPAT_DEBUG("Warning: setgroups(%d, ...) ignored\n", size);
/barrelfish-2018-10-04/lib/storage/
H A Dvsa.c15 errval_t storage_vsa_alloc(struct storage_vsa *vsa, size_t size) argument
20 vsa->size = size;
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/include/linux/
H A Dslab.h42 #define kmalloc(size, flags) malloc((size), M_KMALLOC, (flags))
43 #define kvmalloc(size) kmalloc((size), 0)
44 #define kzalloc(size, flags) kmalloc((size), (flags) | M_ZERO)
45 #define kzalloc_node(size, flags, node) kzalloc(size, flags)
47 #define krealloc(ptr, size, flags) realloc((ptr), (size), M_KMALLO
63 kmem_ctor(void *mem, int size, void *arg, int flags) argument
74 kmem_cache_create(char *name, size_t size, size_t align, u_long flags, void (*ctor)(void *)) argument
[all...]
H A Dmm.h36 /** align value \a l to \a size (ceil) */
53 * needed for size bytes.
57 static inline int get_order(unsigned long size) { argument
60 size = (size - 1) >> PAGE_SHIFT;
62 while (size) {
64 size >>= 1;
80 unsigned long addr, unsigned long pfn, unsigned long size,
85 vma->vm_len = size;
H A Dbitops.h93 unsigned long size) {
97 for (bit = 0; size >= BITS_PER_LONG; size -= BITS_PER_LONG, bit +=
103 if (size) {
104 mask = (*addr) & BIT_MASK(size);
108 bit += size;
114 unsigned long size) {
118 for (bit = 0; size >= BITS_PER_LONG; size -= BITS_PER_LONG, bit +=
124 if (size) {
92 find_first_bit(unsigned long *addr, unsigned long size) argument
113 find_first_zero_bit(unsigned long *addr, unsigned long size) argument
160 find_next_bit(unsigned long *addr, unsigned long size, unsigned long offset) argument
198 find_next_zero_bit(unsigned long *addr, unsigned long size, unsigned long offset) argument
236 bitmap_zero(unsigned long *addr, int size) argument
243 bitmap_fill(unsigned long *addr, int size) argument
407 const int size = start + nr; local
426 const int size = start + nr; local
[all...]
H A Dio-mapping.h38 unsigned long size; member in struct:io_mapping
43 io_mapping_create_wc(resource_size_t base, unsigned long size)
46 return ioremap_wc(base, size);
/barrelfish-2018-10-04/lib/bulk_transfer/backends/net/
H A Dstack_allocator.c16 void stack_alloc_init(struct stack_allocator *alloc, size_t size) argument
18 alloc->size = size;
20 alloc->stack = calloc(size, sizeof(void *));
25 if (alloc->top >= alloc->size) {
/barrelfish-2018-10-04/kernel/arch/armv8/
H A Dkernel_multiboot2.c21 multiboot2_find_header(struct multiboot_header_tag *mb, const size_t size, const multiboot_uint16_t type) { argument
24 while(processed < size) {
32 processed += mb->size;
33 mb = ((void*)mb) + mb->size;
40 multiboot2_find_cmdline(struct multiboot_header_tag *mb, const size_t size) argument
42 return (struct multiboot_tag_string*)multiboot2_find_header(mb, size, MULTIBOOT_TAG_TYPE_CMDLINE);
46 struct multiboot_header_tag *multiboot, const size_t size, const char* pathname) {
49 multiboot = multiboot2_find_header(multiboot, size, MULTIBOOT_TAG_TYPE_MODULE_64);
64 multiboot = ((void *) multiboot) + multiboot->size;
65 position += multiboot->size;
45 multiboot2_find_module_64( struct multiboot_header_tag *multiboot, const size_t size, const char* pathname) argument
[all...]
/barrelfish-2018-10-04/include/ahci/
H A Dahci_dma_pool.h17 size_t size; member in struct:ahci_dma_region
22 errval_t ahci_dma_region_alloc(size_t size, struct ahci_dma_region **retregion);
23 errval_t ahci_dma_region_alloc_aligned(size_t size, size_t alignment_requirement, struct ahci_dma_region **retregion);
26 static inline void *ahci_dma_region_copy_in(struct ahci_dma_region *region, const void *buf, genvaddr_t offset, size_t size) { argument
28 return memcpy(dest, buf, size);
30 static inline void *ahci_dma_region_copy_out(struct ahci_dma_region *region, void *buf, genvaddr_t offset, size_t size) { argument
32 return memcpy(buf, src_, size);
/barrelfish-2018-10-04/tools/fastmodels/
H A Dconfig.c24 skip_whitespace(const char *buf, size_t size, size_t start, int skip_newlines) { argument
25 assert(start < size);
29 i < size && ((isspace(buf[i]) && buf[i] != '\n') ||
34 assert(i <= size);
35 assert(i == size ||
42 find_eol(const char *buf, size_t size, size_t start) { argument
43 assert(start < size);
46 for(i= start; i < size && buf[i] != '\n'; i++);
49 assert(i <= size);
50 assert(i == size || bu
55 find_token(const char *buf, size_t size, size_t start, int skip_newlines) argument
79 get_token(const char *buf, size_t size, size_t start) argument
93 get_cmdline(const char *buf, size_t size, size_t *cursor, size_t *cstart, size_t *clen, size_t *astart, size_t *alen) argument
113 parse_config(char *buf, size_t size) argument
[all...]
/barrelfish-2018-10-04/lib/phoenix/
H A Dmemory.c42 void *phoenix_mem_malloc (size_t size) argument
44 void *temp = malloc (size);
50 void *phoenix_mem_malloc_here (size_t size) argument
52 void *temp = malloc (size);
58 void *phoenix_mem_calloc (size_t num, size_t size) argument
60 void *temp = calloc (num, size);
66 void *phoenix_mem_realloc (void *ptr, size_t size) argument
68 void *temp = realloc (ptr, size);
74 void *mem_memcpy (void *dest, const void *src, size_t size) argument
76 return memcpy (dest, src, size);
[all...]
H A Dstruct.h32 int size; member in struct:_val_t
/barrelfish-2018-10-04/lib/libc/stdio/
H A Dfwrite.c49 * Write `count' objects (each size `size') from memory to the given file.
53 fwrite(const void * __restrict buf, size_t size, size_t count, FILE * __restrict fp) argument
60 * ANSI and SUSv2 require a return value of 0 if size or count are 0.
62 if ((count == 0) || (size == 0))
67 * at least one of {count, size} is at least 2^16, since if both
71 if (((count | size) > 0xFFFF) &&
72 (count > SIZE_MAX / size)) {
78 n = count * size;
90 * generally slow and since this occurs whenever size
[all...]
/barrelfish-2018-10-04/usr/eclipseclp/CPViz/viztool/src/components/
H A DJToolbarSeparator.java44 Dimension size = getSize();
45 int pos = size.width / 2;
47 g.drawLine(pos, 3, pos, size.height - 5);
50 g.drawLine(pos + 1, 3, pos + 1, size.height - 5);
51 g.drawLine(pos, size.height - 4, pos + 1, size.height - 4);
/barrelfish-2018-10-04/lib/cxx/cxx/
H A Dvalarray.cpp23 valarray<size_t> __indices(__size_.size());
24 size_t __k = __size_.size() != 0;
25 for (size_t __i = 0; __i < __size_.size(); ++__i)
28 if (__1d_.size())
34 size_t __i = __indices.size() - 1;
41 for (size_t __j = __i + 1; __j != __indices.size(); ++__j)
/barrelfish-2018-10-04/usr/tests/filetests/
H A Dfread_test.c52 size_t size = fread(ptr, 10, 1, fh); local
53 if (size != 10) {
57 size = fread(ptr, AMOUNT - 10, 1, fh);
58 if (size != AMOUNT - 10) {
62 size = fread(ptr, AMOUNT, 1, fh);
63 if (size != 0) {
/barrelfish-2018-10-04/lib/libc/gen/
H A Dgetosreldate.c46 size_t size; local
57 size = sizeof value;
58 if (sysctl(mib, 2, &value, &size, NULL, 0) == -1)
/barrelfish-2018-10-04/lib/libc/resolv/
H A Dres_debug.h23 # define DprintQ(cond, args, query, size) /*empty*/
28 # define DprintQ(cond, args, query, size) if (cond) {\
30 res_pquery(statp, query, size, stdout);\
/barrelfish-2018-10-04/lib/tommath/
H A Dbn_mp_prime_rabin_miller_trials.c32 /* returns # of RM trials required for a given bit size */
33 int mp_prime_rabin_miller_trials(int size) argument
38 if (sizes[x].k == size) {
40 } else if (sizes[x].k > size) {
/barrelfish-2018-10-04/include/lwip2/lwip/
H A Dmem.h73 void *mem_trim(void *mem, mem_size_t size);
74 void *mem_malloc(mem_size_t size);
75 void *mem_calloc(mem_size_t count, mem_size_t size);
/barrelfish-2018-10-04/usr/eclipseclp/Visualisation/src/com/parctechnologies/eclipse/visualisation/
H A DViewletArray.java32 * size and fixity of the dimensions of a viewable on the eclipse side.
45 * size [4,3] would have location [], and its elements would have location
74 * Construct a ViewletArray given a list of integers (size), a fixity list
78 public ViewletArray(List size, argument
83 this(size, fixity, viewable, viewletFactory, Collections.EMPTY_LIST);
88 * Construct a ViewletArray given a list of integers (size), a fixity list
107 private ViewletArray(List size, List fixity, Viewable viewable, argument
111 super(size, fixity, viewable, viewletFactory);
112 int topLevelSize = ((Integer) size.get(0)).intValue();
113 this.wholeSize = new LinkedList(size);
189 createSubArray(List size, List fixity, Viewable viewable, ViewletFactory viewletFactory, List location) argument
337 abstract int size(); method in class:ViewletArray.Elements
348 FixedElements(int size) argument
360 int size() method in class:ViewletArray.FixedElements
383 FlexibleElements(int size) argument
396 int size() method in class:ViewletArray.FlexibleElements
[all...]
/barrelfish-2018-10-04/include/vm/
H A Dmemguard.h48 #define memguard_fudge(size, xxx) (size)
50 #define memguard_alloc(size, flags) NULL
53 #define memguard_cmp_mtp(mtp, size) 0
/barrelfish-2018-10-04/kernel/include/
H A Duseraccess.h29 * \param size Size of buffer.
31 bool access_ok(uint8_t type, lvaddr_t buffer, size_t size);
/barrelfish-2018-10-04/kernel/
H A Duseraccess.c23 * \param size Size of buffer.
25 bool access_ok(uint8_t type, lvaddr_t buffer, size_t size) argument

Completed in 109 milliseconds

1234567891011>>