/barrelfish-2018-10-04/lib/posixcompat/ |
H A D | sockets.c | 31 struct _unix_socket *us = e->handle; local 36 thread_mutex_lock(&us->mutex); 38 if(us->passive 39 || us->u.active.mode != _UNIX_SOCKET_MODE_CONNECTED) { 41 thread_mutex_unlock(&us->mutex); 45 if(us->recv_buf_valid == 0) { 47 if(us->nonblocking) { 49 thread_mutex_unlock(&us->mutex); 57 err = us->u.active.binding->change_waitset 58 (us 160 struct _unix_socket *us = arg; local 176 struct _unix_socket *us = e->handle; local 376 struct _unix_socket *us = malloc(sizeof(struct _unix_socket)); local 437 struct _unix_socket *us = e->handle; local 469 struct _unix_socket *us = b->st; local 501 struct _unix_socket *us = st; local 512 struct _unix_socket *us = st; local 539 struct _unix_socket *us = e->handle; local 587 struct _unix_socket *us = e->handle; local 750 struct _unix_socket *us = st; local 774 struct _unix_socket *us = e->handle; local 847 struct _unix_socket *us = e->handle; local 920 struct _unix_socket *us = e->handle; local [all...] |
H A D | fcntl.c | 85 struct _unix_socket *us = e->handle; local 86 us->nonblocking = flags & O_NONBLOCK ? true : false; 126 struct _unix_socket *us = e->handle; local 128 retval |= us->nonblocking ? O_NONBLOCK : 0;
|
H A D | epoll.c | 227 struct _unix_socket *us = e->handle; local 230 if (us->passive) { /* passive side */ 234 for (j = 0; j < us->u.passive.max_backlog; j++) 236 if (us->u.passive.backlog[j] != NULL) { 245 if (j == us->u.passive.max_backlog) { 256 assert(!us->passive); 258 if(us->u.active.mode == _UNIX_SOCKET_MODE_CONNECTING) { 270 err = us->u.active.binding->change_waitset 271 (us->u.active.binding, &efd->ws); 362 struct _unix_socket *us local 408 struct _unix_socket *us = e->handle; local [all...] |
H A D | select.c | 272 struct _unix_socket *us = e->handle; local 273 err = us->u.active.binding->change_waitset 274 (us->u.active.binding, ws_store[READ_SLOT][fd]); 331 struct _unix_socket *us = e->handle; local 332 err = us->u.active.binding->change_waitset 333 (us->u.active.binding, ws_store[WRITE_SLOT][fd]); 438 struct _unix_socket *us = e->handle; local 440 if (us->passive) { /* passive side */ 442 for (int i = 0; i < us->u.passive.max_backlog; i++) 444 if (us 517 struct _unix_socket *us = e->handle; local 632 struct _unix_socket *us = e->handle; local 741 struct _unix_socket *us = e->handle; local [all...] |
/barrelfish-2018-10-04/usr/drivers/lpc_timer/ |
H A D | timer.h | 25 void lpc_timer_set(uint64_t us);
|
H A D | timer.c | 203 * \param us Timeout in microseconds 205 void lpc_timer_set(uint64_t us) argument 208 assert (us < UINT64_MAX / (1000 / TIMER0_PERIOD_NS)); 211 uint64_t count = us * 1000 / TIMER0_PERIOD_NS; 223 LPC_DEBUG("lpc_timer_set: %lu us -> %lu + %lu ticks\n", 224 us, count, timer_remainder); 236 uint64_t us = (val + timer_remainder) * TIMER0_PERIOD_NS / 1000; local 238 LPC_DEBUG("lpc_timer_read: %u ticks + %lu remaining = %lu us\n", 239 val, timer_remainder, us); 241 return us; [all...] |
/barrelfish-2018-10-04/lib/libc/locale/ |
H A D | utf8.c | 96 _UTF8State *us; local 100 us = (_UTF8State *)ps; 102 if (us->want < 0 || us->want > 6) { 117 if (us->want == 0) { 157 want = us->want; 158 lbound = us->lbound; 165 if (us->want == 0) 168 wch = us->ch; 170 for (i = (us 213 _UTF8State *us; local 294 _UTF8State *us; local 356 _UTF8State *us; local [all...] |
/barrelfish-2018-10-04/lib/libc/tests/nss/ |
H A D | getusershell_test.c | 105 free_usershell(struct usershell *us) argument 107 free(us->path); 111 sdump_usershell(struct usershell *us, char *buffer, size_t buflen) argument 113 snprintf(buffer, buflen, "%s", us->path); 117 dump_usershell(struct usershell *us) argument 119 if (us != NULL) { 121 sdump_usershell(us, buffer, sizeof(buffer)); 128 usershell_read_snapshot_func(struct usershell *us, char *line) argument 131 us->path = strdup(line); 132 ATF_REQUIRE(us [all...] |
/barrelfish-2018-10-04/include/lwip2/lwip/apps/ |
H A D | sntp_opts.h | 49 * Define SNTP_SET_SYSTEM_TIME_US(sec, us) to set the time in microseconds instead of this one 146 #define SNTP_GET_SYSTEM_TIME(sec, us) do { (sec) = 0; (us) = 0; } while(0)
|
/barrelfish-2018-10-04/usr/arrakismon/ |
H A D | x86.h | 97 uint32_t us : 1; member in struct:x86_lm_pml4_entry::__anon1454 118 uint32_t us : 1; member in struct:x86_lm_pdp_entry::__anon1455 133 uint32_t us : 1; member in struct:x86_lm_pdp_entry::__anon1456 157 uint32_t us : 1; member in struct:x86_lm_pd_entry::__anon1457 172 uint32_t us : 1; member in struct:x86_lm_pd_entry::__anon1458 196 uint32_t us : 1; member in struct:x86_lm_pt_entry::__anon1459 237 uint32_t us : 1; member in struct:x86_legm_pd_entry::__anon1462 250 uint32_t us : 1; member in struct:x86_legm_pd_entry::__anon1463 272 uint32_t us : 1; member in struct:x86_legm_pt_entry::__anon1464
|
H A D | lpc.h | 113 } __attribute__((packed)) us; member in union:lpc_pic_icw3
|
/barrelfish-2018-10-04/usr/vmkitmon/ |
H A D | x86.h | 106 uint32_t us : 1; member in struct:x86_lm_pml4_entry::__anon1826 127 uint32_t us : 1; member in struct:x86_lm_pdp_entry::__anon1827 142 uint32_t us : 1; member in struct:x86_lm_pdp_entry::__anon1828 166 uint32_t us : 1; member in struct:x86_lm_pd_entry::__anon1829 181 uint32_t us : 1; member in struct:x86_lm_pd_entry::__anon1830 205 uint32_t us : 1; member in struct:x86_lm_pt_entry::__anon1831 246 uint32_t us : 1; member in struct:x86_legm_pd_entry::__anon1834 259 uint32_t us : 1; member in struct:x86_legm_pd_entry::__anon1835 281 uint32_t us : 1; member in struct:x86_legm_pt_entry::__anon1836
|
H A D | lpc.h | 120 } __attribute__((packed)) us; member in union:lpc_pic_icw3
|
/barrelfish-2018-10-04/lib/cxx/cxx/ |
H A D | thread.cpp | 142 microseconds us = duration_cast<microseconds>(ns); 143 barrelfish_usleep(us.count());
|
/barrelfish-2018-10-04/usr/drivers/solarflair/sfxge/common/ |
H A D | efx_ev.c | 839 __in unsigned int us) 848 if (us > enp->en_nic_cfg.enc_evq_moderation_max) { 854 if (us == 0) { 867 us -= (us % EFX_EV_TIMER_QUANTUM); 868 if (us < EFX_EV_TIMER_QUANTUM) 869 us = EFX_EV_TIMER_QUANTUM; 871 timer_val = us / EFX_EV_TIMER_QUANTUM; 837 efx_ev_qmoderate( __in efx_evq_t *eep, __in unsigned int us) argument
|
/barrelfish-2018-10-04/lib/compiler-rt/builtins/ |
H A D | fp_add_impl.inc | 74 // Shift the significands to give us round, guard and sticky, and or in the
|
/barrelfish-2018-10-04/usr/bench/rcce/bt/ |
H A D | header.h | 68 #define us(i,j,k,c) us[(i+1)+(IMAX+2)*((j+1)+(JMAX+2)*((k+1)+(KMAX+2)*(c-1)))] macro 119 us [(IMAX+2)*(JMAX+2)*(KMAX+2)*MAXCELLS], variable 178 us [(IMAX+2)*(JMAX+2)*(KMAX+2)*MAXCELLS], 270 #pragma omp threadprivate (us, vs, ws, qs, rho_i, square, forcing, \
|
H A D | rhs.c | 29 us(i,j,k,c) = u(2,i,j,k,c) * rho_inv; 64 uijk = us(i,j,k,c); 65 up1 = us(i+1,j,k,c); 66 um1 = us(i-1,j,k,c); 190 yycon2 * (us(i,j+1,k,c) - 2.0e0*us(i,j,k,c) + 191 us(i,j-1,k,c)) - 305 zzcon2 * (us(i,j,k+1,c) - 2.0e0*us(i,j,k,c) + 306 us( [all...] |
/barrelfish-2018-10-04/tools/fof/ |
H A D | Introduction.tex | 52 So much marketing, let us look at the code.
|
/barrelfish-2018-10-04/usr/eclipseclp/Kernel/src/ |
H A D | intervals.c | 687 double ls, lc, us, uc; local 691 sincos(xu, &uc, &us); 695 sincos(xu, &us, &uc); 703 *lwb = down(ls); *upb = up(us); 706 *lwb = down(min(ls, us)); *upb = 1.0; 710 *lwb = -1.0; *upb = up(max(ls, us)); 715 *lwb = down(us); *upb = up(ls);
|
/barrelfish-2018-10-04/usr/eclipseclp/documents/tutorial/ |
H A D | tkdebug.tex | 280 The predicate browser allows us to change some of the properties of a predicate. 314 Figure~\ref{tkfilter}. This tool allows us to specify a `filter' for the 320 will allow us to specify a condition in Prolog syntax which will be 395 allows us to navigate the term. The initial display is shown on the left
|
/barrelfish-2018-10-04/usr/skb/programs/ |
H A D | objects3.pl | 90 sort(Constraints, SConstraints). % Sorting allows us to do matching in linear time
|
/barrelfish-2018-10-04/doc/019-device-drivers/ |
H A D | DeviceDriver.tex | 235 us (Listing~\ref{lst:mackerel}). 271 to forward the IRQ to us. Fortunately, libbarrelfish provides us with a high- 344 us with a set of ELF files at start-up. The \fnname{init\_boot\_modules} 479 information in a SKB like system that also runs on ARM and lets us query for
|
/barrelfish-2018-10-04/usr/eclipseclp/Kernel/lib/ |
H A D | queens.pl | 51 us the first fail principle.
|
/barrelfish-2018-10-04/usr/eclipseclp/documents/megalog/ |
H A D | multiuser-sec.tex | 227 Let us assume \verb+s1+ and \verb+s2+ are shared relations and \verb+p+ 236 of deadlocks. Let us assume that a deadlock occurs when an attempt is
|