/barrelfish-master/usr/eclipseclp/Shm/src/ |
H A D | shared_mem.c | 91 static generic_ptr shared_sbrk(word size, int align, struct heap_descriptor *hd); 92 static int shared_release(generic_ptr address, word size, struct heap_descriptor *hd); 118 struct heap_descriptor *hd) /* output: heap descriptor */ 120 hd->panic = panic_func; 121 hd->more = shared_sbrk; 122 hd->less = shared_release; 146 hd->map_fd = -1; 148 hd->map_fd = open("/dev/zero", O_RDWR); 157 hd->map_fd = open(mapfile, O_RDWR|O_CREAT|O_EXCL, 0700); 159 if (hd 111 shared_mem_init( int create, char *mapfile, char *start_shared_area, word size, word incr, void (*panic_func)(const char*, const char*), struct heap_descriptor *hd) argument 292 shared_mem_release(struct heap_descriptor *hd) argument 313 shared_sbrk(word size, int align, struct heap_descriptor *hd) argument 362 shared_release(generic_ptr address, word size, struct heap_descriptor *hd) argument 375 shared_mem_save(struct heap_descriptor *hd, int fd) argument 387 shared_mem_restore(struct heap_descriptor *hd, int fd) argument 467 address_in_heap(struct heap_descriptor *hd, generic_ptr ptr) argument [all...] |
H A D | private_mem.c | 95 _private_sbrk(word size, int align, struct heap_descriptor *hd) argument 105 hd->map_fd, (off_t) 0); 122 _private_release(generic_ptr address, word size, struct heap_descriptor *hd) argument 138 struct heap_descriptor *hd) 146 hd->map_fd = -1; 148 hd->map_fd = open("/dev/zero", O_RDWR); 152 _private_sbrk(sizeof(struct prmem), 1, hd); 156 hd->shared_header = 0; 157 hd->pages = &private_memory->pages; 158 hd 136 private_mem_init_desc( void (*panic_fct)(const char*, const char*), struct heap_descriptor *hd) argument 176 private_mem_release_desc(struct heap_descriptor *hd) argument [all...] |
H A D | alloc.c | 95 #define Lock_Heap(hd) { \ 96 if (hd->shared_header) { a_mutex_lock(&hd->shared_header->lock); } \ 99 #define Unlock_Heap(hd) { \ 100 if (hd->shared_header) { a_mutex_unlock(&hd->shared_header->lock); } \ 174 pages->map[Block] = _new_bitmap_block(hd); \ 187 pages->map[block] = _new_bitmap_block(hd);\ 201 pages->map[block] = _new_bitmap_block(hd);\ 212 pagemanager_init(struct heap_descriptor *hd) argument 229 _alloc_aux_page(struct heap_descriptor *hd) argument 243 _release_aux_page(struct heap_descriptor *hd, generic_ptr address) argument 252 pagemanager_fini(struct heap_descriptor *hd) argument 273 _new_bitmap_block(struct heap_descriptor *hd) argument 284 _add_to_list(struct heap_descriptor *hd, generic_ptr ptr, word number_of_pages) argument 296 _remove_from_list(struct heap_descriptor *hd, generic_ptr ptr, word number_of_pages) argument 318 _check_address( struct heap_descriptor *hd, generic_ptr ptr, uword size) argument 334 free_pages( struct heap_descriptor *hd, generic_ptr ptr, word number_of_pages) argument 401 free_pages( struct heap_descriptor *hd, generic_ptr ptr, word number_of_pages) argument 470 _log_more_pages(struct heap_descriptor *hd, generic_ptr address, word pages_requested) argument 508 _release_logged_pages(struct heap_descriptor *hd) argument 538 alloc_pagewise( struct heap_descriptor *hd, word bytes_needed, word *out_bytes_allocated) argument 682 alloc_page(struct heap_descriptor *hd) argument 706 alloc_init(struct heap_descriptor *hd) argument 731 alloc_debug_level(struct heap_descriptor *hd, int debug_level) argument 737 alloc_size(struct heap_descriptor *hd, word bytes_needed) argument 830 free_size(struct heap_descriptor *hd, generic_ptr ptr, word size) argument 901 realloc_size( struct heap_descriptor *hd, generic_ptr ptr, word oldsize, word newsize) argument 932 h_alloc(struct heap_descriptor *hd, word size) argument 943 h_free(struct heap_descriptor *hd, generic_ptr ptr) argument 960 h_realloc(struct heap_descriptor *hd, generic_ptr ptr, word newsize) argument 991 alloc_statistics(struct heap_descriptor *hd, int what) argument 1011 pr_heap(struct heap_descriptor *hd) argument [all...] |
H A D | example.c | 44 struct heap_descriptor *hd);
|
H A D | memman.h | 312 struct heap_descriptor *hd); 313 void shared_mem_release(struct heap_descriptor *hd); 314 int shared_mem_save(struct heap_descriptor *hd, int fd); 315 int shared_mem_restore(struct heap_descriptor *hd, int fd); 318 struct heap_descriptor *hd); 320 void private_mem_fini_desc(struct heap_descriptor *hd);
|
/barrelfish-master/lib/libc/net/ |
H A D | gethostnamadr.c | 665 struct hostdata *hd; local 669 if ((hd = __hostdata_init()) == NULL) 671 if (gethostbyname_r(name, &hd->host, hd->data, sizeof(hd->data), &rval, 680 struct hostdata *hd; local 684 if ((hd = __hostdata_init()) == NULL) 686 if (gethostbyname2_r(name, af, &hd->host, hd->data, sizeof(hd 695 struct hostdata *hd; local [all...] |
H A D | gethostbyht.c | 208 struct hostdata *hd; local 212 if ((hd = __hostdata_init()) == NULL) 214 if (gethostent_r(&hd->host, hd->data, sizeof(hd->data), &rval,
|
/barrelfish-master/usr/eclipseclp/Kernel/src/ |
H A D | eclipse_cc.cc | 205 list(const EC_word hd, const EC_word tl); 209 list(const EC_word hd, const EC_word tl) 211 w = ec_list(hd.w,tl.w); 268 is_list(EC_word& hd, EC_word& tl) argument 270 return ec_get_list(w, &hd.w, &tl.w); 551 list(const EC_word hd, const EC_word tl) argument 553 EC_word t(ec_list(hd.w,tl.w));
|
H A D | write.c | 864 dident hd = d; local 869 hd = p->val.did; 871 hd = p->val.ptr->val.did; 873 if (MacrosAllowed(idwrite) && DidMacro(hd)) /* output macros */ 876 if ((narg = _write_trafo(hd, GoalMacro(idwrite),
|
/barrelfish-master/lib/usb/class/ |
H A D | usb_hid.c | 752 struct usb_hid_data *hd; local 756 hd = usb_hid_start_parse(desc, size, USB_HID_KIND_INPUT); 757 if (hd == NULL) 760 while ((err = usb_hid_get_item(hd, &hi))) { 764 usb_hid_end_parse(hd);
|
/barrelfish-master/tools/ |
H A D | qemu-wrapper.sh | 15 HDFILE=hd.img
|
/barrelfish-master/usr/fish/ |
H A D | fish_common.c | 564 static int hd(int argc, char *argv[]) function 1259 {"hd", hd, "Print the contents of file(s) as hexdump"},
|
/barrelfish-master/usr/eclipseclp/documents/embedding/ |
H A D | embsumcxx.tex | 91 \item[EC_word list(const EC_word hd, const EC_word tl)]\ \\
|