Searched refs:gs (Results 1 - 25 of 52) sorted by relevance

123

/barrelfish-master/usr/bench/distops/
H A Dnoop_invocation.c64 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 Ddelete_local_copy.c62 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 Ddelete_last_copy.c62 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 Dretype_no_remote.c62 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 Ddelete_foreign_copy.c65 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 Ddelete_cnode_last_copy_2.c62 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 Drevoke_remote_copy.c86 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 Drevoke_no_remote.c64 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 Ddelete_cnode_last_copy.c62 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 Dretype_w_local_descendants.c62 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 Ddelete_last_copy_remote.c80 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 Dretype_with_remote_copies.c80 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 Drevoke_with_remote_copies.c80 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 Dnoop.c46 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 Drevoke_no_remote_standalone.c42 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 Dgb2312.c112 _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 Dgb18030.c95 _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 Dgbk.c104 _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 Dvfprintf.c97 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 Dvfwprintf.c129 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 Ddispatch.c86 "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 Ddispatch.c53 __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 Dregisters_target.h36 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 Dregisters_target.h33 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 Dregisters_target.h36 regs->gs = 0;

Completed in 130 milliseconds

123