/barrelfish-master/usr/bench/distops/ |
H A D | noop_invocation.c | 64 struct global_state *gs = *st; local 66 gs->nodes = calloc(nodecount, sizeof(coreid_t)); 67 gs->nodecount = nodecount; 68 gs->copies_done = 0; 69 gs->printnode = 0; 70 err = ram_alloc(&gs->ram, BASE_PAGE_BITS); 74 err = ram_alloc(&gs->cap, BASE_PAGE_BITS); 89 struct global_state *gs = st; local 90 gs->nodes[gs 112 struct global_state *gs = st; local 127 struct global_state *gs = get_global_state(b); local [all...] |
H A D | delete_local_copy.c | 62 struct global_state *gs = *st; local 63 gs->nodes = calloc(nodecount, sizeof(coreid_t)); 64 gs->nodecount = nodecount; 65 gs->copies_done = 0; 66 gs->printnode = 0; 67 return ram_alloc(&gs->ram, BASE_PAGE_BITS); 81 struct global_state *gs = st; local 82 gs->nodes[gs->nodes_seen++] = nodeid; 84 if (gs 104 struct global_state *gs = st; local 125 struct global_state *gs = get_global_state(b); local [all...] |
H A D | delete_last_copy.c | 62 struct global_state *gs = *st; local 63 gs->nodes = calloc(nodecount, sizeof(coreid_t)); 64 gs->nodecount = nodecount; 65 gs->copies_done = 0; 66 gs->printnode = 0; 67 return ram_alloc(&gs->ram, BASE_PAGE_BITS); 81 struct global_state *gs = st; local 82 gs->nodes[gs->nodes_seen++] = nodeid; 84 if (gs 104 struct global_state *gs = st; local 121 struct global_state *gs = get_global_state(b); local [all...] |
H A D | retype_no_remote.c | 62 struct global_state *gs = *st; local 63 gs->nodes = calloc(nodecount, sizeof(coreid_t)); 64 gs->nodecount = nodecount; 65 gs->copies_done = 0; 66 gs->printnode = 0; 67 return ram_alloc(&gs->ram, BASE_PAGE_BITS); 81 struct global_state *gs = st; local 82 gs->nodes[gs->nodes_seen++] = nodeid; 84 if (gs 104 struct global_state *gs = st; local 121 struct global_state *gs = get_global_state(b); local [all...] |
H A D | delete_foreign_copy.c | 65 struct global_state *gs = *st; local 67 gs->nodes = calloc(nodecount, sizeof(coreid_t)); 68 gs->nodecount = nodecount; 69 gs->copies_done = 0; 70 gs->printnode = 0; 71 err = ram_alloc(&gs->ram, BASE_PAGE_BITS); 75 err = ram_alloc(&gs->cap, BASE_PAGE_BITS); 90 struct global_state *gs = st; local 91 gs->nodes[gs 114 struct global_state *gs = st; local 131 struct global_state *gs = get_global_state(b); local [all...] |
H A D | delete_cnode_last_copy_2.c | 62 struct global_state *gs = *st; local 63 gs->nodes = calloc(nodecount, sizeof(coreid_t)); 64 gs->nodecount = nodecount; 65 gs->copies_done = 0; 66 gs->printnode = 0; 67 gs->currcopies = NUM_COPIES_START; 68 return ram_alloc(&gs->ram, BASE_PAGE_BITS); 82 struct global_state *gs = st; local 83 gs->nodes[gs 105 struct global_state *gs = st; local 117 struct global_state *gs = get_global_state(b); local [all...] |
H A D | revoke_remote_copy.c | 86 struct global_state *gs = *st; local 87 gs->nodes = calloc(nodecount, sizeof(coreid_t)); 88 gs->nodecount = nodecount; 89 gs->copies_done = 0; 90 gs->rx_seen = 0; 91 gs->allocnode = -1; 92 gs->revokenode = -1; 93 return ram_alloc(&gs->ram, BASE_PAGE_BITS); 107 struct global_state *gs = st; local 108 gs 132 struct global_state *gs = st; local 150 struct global_state *gs = get_global_state(b); local 200 struct global_state *gs = get_global_state(b); local [all...] |
H A D | revoke_no_remote.c | 64 struct global_state *gs = *st; local 65 gs->nodes = calloc(nodecount, sizeof(coreid_t)); 66 gs->nodecount = nodecount; 67 gs->copies_done = 0; 68 gs->printnode = 0; 69 return ram_alloc(&gs->ram, BASE_PAGE_BITS); 83 struct global_state *gs = st; local 84 gs->nodes[gs->nodes_seen++] = nodeid; 86 if (gs 106 struct global_state *gs = st; local 123 struct global_state *gs = get_global_state(b); local [all...] |
H A D | delete_cnode_last_copy.c | 62 struct global_state *gs = *st; local 63 gs->nodes = calloc(nodecount, sizeof(coreid_t)); 64 gs->nodecount = nodecount; 65 gs->copies_done = 0; 66 gs->printnode = 0; 67 return ram_alloc(&gs->ram, BASE_PAGE_BITS); 81 struct global_state *gs = st; local 82 gs->nodes[gs->nodes_seen++] = nodeid; 84 if (gs 105 struct global_state *gs = st; local 122 struct global_state *gs = get_global_state(b); local [all...] |
H A D | retype_w_local_descendants.c | 62 struct global_state *gs = *st; local 63 gs->nodes = calloc(nodecount, sizeof(coreid_t)); 64 gs->nodecount = nodecount; 65 gs->copies_done = 0; 66 gs->printnode = 0; 67 return ram_alloc(&gs->ram, BASE_PAGE_BITS); 81 struct global_state *gs = st; local 82 gs->nodes[gs->nodes_seen++] = nodeid; 84 if (gs 104 struct global_state *gs = st; local 121 struct global_state *gs = get_global_state(b); local [all...] |
H A D | delete_last_copy_remote.c | 80 struct global_state *gs = *st; local 81 gs->nodes = calloc(nodecount, sizeof(coreid_t)); 82 gs->nodecount = nodecount; 83 gs->copies_done = 0; 84 gs->rx_seen = 0; 85 gs->masternode = -1; 86 return ram_alloc(&gs->ram, BASE_PAGE_BITS); 100 struct global_state *gs = st; local 101 gs->nodes[gs 124 struct global_state *gs = st; local 142 struct global_state *gs = get_global_state(b); local 190 struct global_state *gs = get_global_state(b); local [all...] |
H A D | retype_with_remote_copies.c | 80 struct global_state *gs = *st; local 81 gs->nodes = calloc(nodecount, sizeof(coreid_t)); 82 gs->nodecount = nodecount; 83 gs->copies_done = 0; 84 gs->rx_seen = 0; 85 gs->masternode = -1; 86 return ram_alloc(&gs->ram, BASE_PAGE_BITS); 100 struct global_state *gs = st; local 101 gs->nodes[gs 124 struct global_state *gs = st; local 142 struct global_state *gs = get_global_state(b); local 189 struct global_state *gs = get_global_state(b); local [all...] |
H A D | revoke_with_remote_copies.c | 80 struct global_state *gs = *st; local 81 gs->nodes = calloc(nodecount, sizeof(coreid_t)); 82 gs->nodecount = nodecount; 83 gs->copies_done = 0; 84 gs->rx_seen = 0; 85 gs->masternode = -1; 86 return ram_alloc(&gs->ram, BASE_PAGE_BITS); 100 struct global_state *gs = st; local 101 gs->nodes[gs 124 struct global_state *gs = st; local 142 struct global_state *gs = get_global_state(b); local 189 struct global_state *gs = get_global_state(b); local [all...] |
H A D | noop.c | 46 struct global_state *gs = *st; local 47 gs->nodes = calloc(nodecount, sizeof(coreid_t)); 48 gs->nodecount = nodecount; 54 struct global_state *gs = st; local 55 gs->nodes[gs->nodes_seen++] = nodeid;
|
H A D | revoke_no_remote_standalone.c | 42 struct global_state *gs = *st; local 43 gs->nodecount = nodecount; 44 gs->copies_done = 0; 45 return ram_alloc(&gs->ram, BASE_PAGE_BITS); 89 struct global_state *gs; local 93 err = mgmt_init_benchmark((void**)&gs, 1); 103 ns->ram = gs->ram; 121 for (gs->currcopies = NUM_COPIES_START; 122 gs->currcopies <= NUM_COPIES_END; 123 gs [all...] |
/barrelfish-master/lib/libc/locale/ |
H A D | gb2312.c | 112 _GB2312State *gs; local 117 gs = (_GB2312State *)ps; 119 if (gs->count < 0 || gs->count > sizeof(gs->bytes)) { 130 ncopy = MIN(MIN(n, MB_CUR_MAX), sizeof(gs->bytes) - gs->count); 131 memcpy(gs->bytes + gs->count, s, ncopy); 132 ocount = gs 152 _GB2312State *gs; local [all...] |
H A D | gb18030.c | 95 _GB18030State *gs; local 100 gs = (_GB18030State *)ps; 102 if (gs->count < 0 || gs->count > sizeof(gs->bytes)) { 113 ncopy = MIN(MIN(n, MB_CUR_MAX), sizeof(gs->bytes) - gs->count); 114 memcpy(gs->bytes + gs->count, s, ncopy); 115 ocount = gs 178 _GB18030State *gs; local [all...] |
H A D | gbk.c | 104 _GBKState *gs; local 108 gs = (_GBKState *)ps; 110 if ((gs->ch & ~0xFF) != 0) { 126 if (gs->ch != 0) { 131 wc = (gs->ch << 8) | (*s & 0xFF); 134 gs->ch = 0; 143 gs->ch = wc; 164 _GBKState *gs; local 166 gs = (_GBKState *)ps; 168 if (gs [all...] |
/barrelfish-master/lib/libc/stdio/ |
H A D | vfprintf.c | 97 grouping_init(struct grouping_state *gs, int ndigits, locale_t loc) argument 102 gs->grouping = locale->grouping; 103 gs->thousands_sep = locale->thousands_sep; 104 gs->thousep_len = strlen(gs->thousands_sep); 106 gs->nseps = gs->nrepeats = 0; 107 gs->lead = ndigits; 108 while (*gs->grouping != CHAR_MAX) { 109 if (gs 125 grouping_print(struct grouping_state *gs, struct io_state *iop, const CHAR *cp, const CHAR *ep, locale_t locale) argument 319 struct grouping_state gs; /* thousands' grouping info */ local [all...] |
H A D | vfwprintf.c | 129 grouping_init(struct grouping_state *gs, int ndigits, locale_t locale) argument 132 gs->grouping = localeconv_l(locale)->grouping; 133 gs->thousands_sep = get_thousep(locale); 135 gs->nseps = gs->nrepeats = 0; 136 gs->lead = ndigits; 137 while (*gs->grouping != CHAR_MAX) { 138 if (gs->lead <= *gs->grouping) 140 gs 154 grouping_print(struct grouping_state *gs, struct io_state *iop, const CHAR *cp, const CHAR *ep, locale_t locale) argument 401 struct grouping_state gs; /* thousands' grouping info */ local [all...] |
/barrelfish-master/lib/barrelfish/arch/x86_64/ |
H A D | dispatch.c | 86 "mov %[gs], %%ax \n\t" 87 "mov %%ax, %%gs \n\t" 116 [gs] "m" (regs->gs), 178 "mov %%gs, %%bx \n\t" 179 "mov %%bx, %[gs] \n\t" 185 [gs] "m" (from_regs->gs), 242 "mov %%gs, %%bx \n\t" 243 "mov %%bx, %[gs] \ [all...] |
/barrelfish-master/lib/barrelfish/arch/x86_32/ |
H A D | dispatch.c | 53 __asm volatile("mov %%ax, %%gs" 91 "mov %[gs], %%gs \n\t" 112 [gs] "m" (regs->gs) 166 "mov %%gs, %[gs] \n\t" 177 [gs] "m" (from_regs->gs), 227 "mov %%gs, [all...] |
/barrelfish-master/include/target/x86_64/barrelfish_kpi/ |
H A D | registers_target.h | 36 uint16_t fs, gs; ///< Only meaningful segment selectors in 64-bit mode member in struct:registers_x86_64 58 regs->gs = 0;
|
/barrelfish-master/include/target/x86_32/barrelfish_kpi/ |
H A D | registers_target.h | 33 uint16_t fs, gs; ///< Only meaningful segment selectors in 32-bit mode member in struct:registers_x86_32
|
/barrelfish-master/lib/barrelfish/include/target/x86_64/ |
H A D | registers_target.h | 36 regs->gs = 0;
|