/barrelfish-2018-10-04/lib/zlib/ |
H A D | inflate.c | 26 * - Change strm->next_out[-state->offset] to *(strm->next_out - state->offset) 30 * - Add comments on state->bits assertion in inffast.c 95 local void fixedtables OF((struct inflate_state FAR *state)); 106 struct inflate_state FAR *state; local 108 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; 109 state = (struct inflate_state FAR *)strm->state; 110 strm->total_in = strm->total_out = state->total = 0; 113 state 133 struct inflate_state FAR *state; local 150 struct inflate_state FAR *state; local 272 struct inflate_state state; local 327 struct inflate_state FAR *state; local 558 struct inflate_state FAR *state; local [all...] |
H A D | infback.c | 19 local void fixedtables OF((struct inflate_state FAR *state)); 35 struct inflate_state FAR *state; local 49 state = (struct inflate_state FAR *)ZALLOC(strm, 1, 51 if (state == Z_NULL) return Z_MEM_ERROR; 53 strm->state = (struct internal_state FAR *)state; 54 state->dmax = 32768U; 55 state->wbits = windowBits; 56 state->wsize = 1U << windowBits; 57 state 248 struct inflate_state FAR *state; local [all...] |
/barrelfish-2018-10-04/lib/lwip2/src/netif/ppp/ |
H A D | mppe.c | 61 static void mppe_rekey(ppp_mppe_state * state, int initial_key) argument 72 lwip_sha1_update(&sha1_ctx, state->master_key, state->keylen); 74 lwip_sha1_update(&sha1_ctx, state->session_key, state->keylen); 78 MEMCPY(state->session_key, sha1_digest, state->keylen); 81 lwip_arc4_init(&state->arc4); 82 lwip_arc4_setup(&state->arc4, sha1_digest, state 100 mppe_set_key(ppp_pcb *pcb, ppp_mppe_state *state, u8_t *key) argument 109 mppe_init(ppp_pcb *pcb, ppp_mppe_state *state, u8_t options) argument 181 mppe_comp_reset(ppp_pcb *pcb, ppp_mppe_state *state) argument 193 mppe_compress(ppp_pcb *pcb, ppp_mppe_state *state, struct pbuf **pb, u16_t protocol) argument 268 mppe_decomp_reset(ppp_pcb *pcb, ppp_mppe_state *state) argument 279 mppe_decompress(ppp_pcb *pcb, ppp_mppe_state *state, struct pbuf **pb) argument [all...] |
/barrelfish-2018-10-04/include/lwip2/netif/ppp/ |
H A D | mppe.c | 61 static void mppe_rekey(ppp_mppe_state * state, int initial_key) argument 72 lwip_sha1_update(&sha1_ctx, state->master_key, state->keylen); 74 lwip_sha1_update(&sha1_ctx, state->session_key, state->keylen); 78 MEMCPY(state->session_key, sha1_digest, state->keylen); 81 lwip_arc4_init(&state->arc4); 82 lwip_arc4_setup(&state->arc4, sha1_digest, state 100 mppe_set_key(ppp_pcb *pcb, ppp_mppe_state *state, u8_t *key) argument 109 mppe_init(ppp_pcb *pcb, ppp_mppe_state *state, u8_t options) argument 181 mppe_comp_reset(ppp_pcb *pcb, ppp_mppe_state *state) argument 193 mppe_compress(ppp_pcb *pcb, ppp_mppe_state *state, struct pbuf **pb, u16_t protocol) argument 268 mppe_decomp_reset(ppp_pcb *pcb, ppp_mppe_state *state) argument 279 mppe_decompress(ppp_pcb *pcb, ppp_mppe_state *state, struct pbuf **pb) argument [all...] |
/barrelfish-2018-10-04/lib/barrelfish/ |
H A D | terminal.c | 27 struct terminal_state *state = get_terminal_state(); local 29 if (state != NULL && state->session_domain) { 30 err = term_client_blocking_write(&state->client, data, length, 44 struct terminal_state *state = get_terminal_state(); local 46 if (state->session_domain) { 47 err = term_client_blocking_read(&state->client, data, count, &read); 65 /* Allocate and initialize dispatcher-specific state. */ 66 struct terminal_state *state = malloc(sizeof(struct terminal_state)); local 67 if (!state) { 91 struct terminal_state *state = get_terminal_state(); local [all...] |
H A D | inthandler.c | 68 struct interrupt_handler_state *state = arg; local 73 err = lmp_endpoint_recv(state->idcep, &buf.buf, NULL); 79 if (!state->reloc_handler) { 84 state->reloc_handler(state->reloc_handler_arg); 88 state->handler(state->handler_arg); 95 err = lmp_endpoint_register(state->idcep, barrelfish_interrupt_waitset, cl); 117 /* alloc state */ 118 struct interrupt_handler_state *state; local 175 struct interrupt_handler_state *state; local 234 struct interrupt_handler_state *state; local [all...] |
/barrelfish-2018-10-04/lib/netd/ |
H A D | lwipinit.c | 46 static void setup_dhcp_timer(struct netd_state *state) argument 54 err = periodic_event_create(&state->dhcp_fine_timer, get_default_waitset(), 60 err = periodic_event_create(&state->dhcp_coarse_timer, get_default_waitset(), 68 struct netd_state *state = nf->state; local 76 if (state->subsequent_call) { 77 if (ip_addr_cmp(&state->local_ip, &nf->ip_addr) != 0) { 105 state->local_ip = nf->ip_addr; 108 if (!state->subsequent_call) { 116 if (state 126 get_ip_from_dhcp(struct netd_state *state, struct netif *nf_ptr) argument 151 startlwip(struct netd_state *state, char *card_name, uint64_t queueid) argument [all...] |
H A D | ARP_lookup_service.c | 72 struct netd_state *state = st; local 85 new_app->state = state; 86 new_app->next = state->registered_user_list; 87 state->registered_user_list = new_app; 101 struct netd_state *state = st; local 104 DEBUG_ERR(err, "service[%s] export failed", state->ARP_service_name); 108 NETD_DEBUG("service [%s] exported at iref %u\n", state->ARP_service_name, iref); 111 err = nameservice_register(state->ARP_service_name, iref); 113 DEBUG_ERR(err, "nameservice_register failed for [%s]", state 133 struct netd_state *state = app->state; local 187 init_ARP_lookup_service(struct netd_state *state, char *dev_name) argument [all...] |
H A D | netd.c | 45 errval_t netd_init(struct netd_state **state, char *card_name, uint64_t queueid, argument 51 *state = malloc(sizeof(struct netd_state)); 52 (*state)->do_dhcp = do_dhcp; 53 (*state)->dhcp_completed = false; 55 (*state)->ip_addr_str = duplicate_string(ip_addr_str); 56 (*state)->netmask_str = duplicate_string(netmask_str); 57 (*state)->gateway_str = duplicate_string(gateway_str); 83 startlwip(*state, card_name, queueid); 87 init_ARP_lookup_service(*state, card_name);
|
/barrelfish-2018-10-04/kernel/arch/armv8/ |
H A D | exec.c | 38 ensure_user_mode_policy(arch_registers_state_t *state) argument 42 if ((state->named.spsr & (CPSR_IF_MASK | AARCH64_MODE_MASK)) != cpsr_if_mode) { 43 assert(0 == (state->named.spsr & AARCH64_MODE_PRIV)); 44 state->named.spsr &= CPSR_IF_MASK | AARCH64_MODE_MASK; 45 state->named.spsr |= cpsr_if_mode; 64 arch_registers_state_t *state = &upcall_state; local 68 state->named.x10 = disp_aarch64->got_base; 73 state->named.x0 = disp_gen->udisp; 75 state->named.pc = entry; 76 ensure_user_mode_policy(state); 87 resume(arch_registers_state_t *state) argument [all...] |
/barrelfish-2018-10-04/lib/barrelfish/vspace/ |
H A D | mmu_aware.c | 27 void vspace_mmu_aware_set_slot_alloc(struct vspace_mmu_aware *state, argument 31 state->slot_alloc = slot_allocator; 33 state->slot_alloc = get_default_slot_allocator(); 40 * \param state The struct to initialize 46 errval_t vspace_mmu_aware_init(struct vspace_mmu_aware *state, size_t size) argument 48 return vspace_mmu_aware_init_aligned(state, NULL, size, 0, 52 errval_t vspace_mmu_aware_init_aligned(struct vspace_mmu_aware *state, argument 57 state->size = size; 58 state->consumed = 0; 59 state 96 vspace_mmu_aware_map(struct vspace_mmu_aware *state, size_t req_size, void **retbuf, size_t *retsize) argument 197 vspace_mmu_aware_reset(struct vspace_mmu_aware *state, struct capref frame, size_t size) argument 266 vspace_mmu_aware_unmap(struct vspace_mmu_aware *state, lvaddr_t base, size_t bytes) argument [all...] |
H A D | pinned.c | 12 * If the slabs maintained in the state are out of memory, it needs to be grown. 37 * Allocates a region of virtual address space and initializes its state. 43 struct pinned_state *state = get_current_pinned_state(); local 46 err = memobj_create_pinned(&state->memobj, 52 err = vregion_map(&state->vregion, vspace, 53 (struct memobj*)&state->memobj, 0, VSPACE_PINNED_SIZE, 59 state->offset = 0; 60 thread_mutex_init(&state->mutex); 61 slab_init(&state->vregion_list_slab, VSPACE_PINNED_UNIT * 63 slab_init(&state 85 struct pinned_state *state = get_current_pinned_state(); local [all...] |
/barrelfish-2018-10-04/kernel/arch/arm/ |
H A D | exec.c | 43 ensure_user_mode_policy(arch_registers_state_t *state) argument 47 if ((state->named.cpsr & (CPSR_IF_MASK | ARM_MODE_MASK)) != cpsr_if_mode) { 48 assert(0 == (state->named.cpsr & ARM_MODE_PRIV)); 49 state->named.cpsr &= CPSR_IF_MASK | ARM_MODE_MASK; 50 state->named.cpsr |= cpsr_if_mode; 68 arch_registers_state_t *state = &upcall_state; local 72 state->named.r9 = disp_arm->got_base; 74 state->named.pc = entry; 75 ensure_user_mode_policy(state); 76 do_resume(state 86 resume(arch_registers_state_t *state) argument [all...] |
/barrelfish-2018-10-04/lib/posixcompat/ |
H A D | pty.c | 49 static size_t copy_to_user(struct _pty *state, char *ubuf, size_t ucount); 50 static void free__pty_struct(struct _pty *state); 51 static errval_t init__pty_struct(struct _pty *state); 72 struct _pty *state; local 87 state = malloc(sizeof(struct _pty)); 88 if (state == NULL) { 92 err = init__pty_struct(state); 98 err = term_server_init(state->ts, &state->iref, &state 182 struct _pty *state = e->handle; local 192 struct _pty *state = e->handle; local 222 struct _pty *state = e->handle; local 316 struct _pty *state = e->handle; local 381 struct _pty *state = e->handle; local 400 struct _pty *state; local 453 struct _pty *state = e->handle; local 508 struct _pty *state = (struct _pty *) st; local 547 copy_to_user(struct _pty *state, char *ubuf, size_t ucount) argument 576 init__pty_struct(struct _pty *state) argument 615 free__pty_struct(struct _pty *state) argument 709 struct _pty *state = (struct _pty *) st; local 717 struct _pty *state = arg; local [all...] |
H A D | random.c | 50 * rand()/srand() like interface, this package also has a special state info 54 * that much state information. Good sizes for the amount of state 55 * information are 32, 64, 128, and 256 bytes. The state can be switched by 57 * with initstate(). By default, the package runs with 128 bytes of state 59 * congruential generator. If the amount of state information is less than 62 * Internally, the state information is treated as an array of uint32_t's; the 64 * integer); the remainder of the array is the state information for the 65 * R.N.G. Thus, 32 bytes of state information will give 7 ints worth of 66 * state informatio 214 static uint32_t *state = &randtbl[1]; variable [all...] |
/barrelfish-2018-10-04/usr/eclipseclp/CPViz/viz/src/ie/ucc/cccc/viz/ |
H A D | StateStack.java | 29 * Class for a stack of state objects, keeping all parents of the current state. This is
30 * kept so that changes from the parent state can be identified and marked properly.
43 for(State state: this){
44 System.out.println("State "+state.getId()+" "+ state.getTreeNode());
|
/barrelfish-2018-10-04/include/barrelfish/ |
H A D | vspace_mmu_aware.h | 41 errval_t vspace_mmu_aware_init(struct vspace_mmu_aware *state, size_t size); 42 void vspace_mmu_aware_set_slot_alloc(struct vspace_mmu_aware *state, 44 errval_t vspace_mmu_aware_init_aligned(struct vspace_mmu_aware *state, 48 errval_t vspace_mmu_aware_reset(struct vspace_mmu_aware *state, 50 errval_t vspace_mmu_aware_map(struct vspace_mmu_aware *state, size_t req_size, 52 errval_t vspace_mmu_aware_unmap(struct vspace_mmu_aware *state,
|
/barrelfish-2018-10-04/include/netd/ |
H A D | netd.h | 28 errval_t netd_init(struct netd_state **state, char *card_name, uint64_t queueid,
|
/barrelfish-2018-10-04/lib/libc/gen/ |
H A D | _once_stub.c | 41 if (once_control->state == PTHREAD_DONE_INIT) 44 once_control->state = PTHREAD_DONE_INIT;
|
/barrelfish-2018-10-04/usr/eclipseclp/lib_tcl/ |
H A D | tkabortbutton | 40 gets $abort_channel state 42 switch $state { 44 .abort configure -state disabled 47 .abort configure -state normal
|
/barrelfish-2018-10-04/lib/libc/sys/barrelfish/ |
H A D | oldmalloc.c | 21 #define MALLOC_LOCK thread_mutex_lock(&state->mutex) 22 #define MALLOC_UNLOCK thread_mutex_unlock(&state->mutex) 45 struct morecore_state *state = get_morecore_state(); local 51 if ((prevp = state->header_freep) == NULL) { /* no free list yet */ 52 state->header_base.s.ptr = state->header_freep = prevp = &state->header_base; 53 state->header_base.s.size = 0; 65 state->header_freep = prevp; 89 if (p == state 107 struct morecore_state *state = get_morecore_state(); local 158 struct morecore_state *state = get_morecore_state(); local 194 struct morecore_state *state = get_morecore_state(); local 224 struct morecore_state *state = get_morecore_state(); local [all...] |
/barrelfish-2018-10-04/usr/monitor/ |
H A D | bfscope_support.c | 73 struct bfscope_ack_state *state = malloc(sizeof (struct bfscope_ack_state)); local 74 state->to_initiator_binding = requester_intermon_binding; 78 bfscope_intermon_flush_ack_continue(state); 86 struct bfscope_flush_state *state = (struct bfscope_flush_state*) arg; local 88 assert(state->ib != NULL); 92 err = state->ib->tx_vtbl.bfscope_flush_send_forward(state->ib, MKCONT(free, state), state->iref); 96 err = state 118 struct bfscope_flush_state *state = malloc(sizeof(struct bfscope_flush_state)); local 164 struct bfscope_ack_state *state = (struct bfscope_ack_state*) arg; local 186 struct notify_bfscope_state *state = (struct notify_bfscope_state*) arg; local 217 struct notify_bfscope_state *state = malloc(sizeof(struct notify_bfscope_state)); local [all...] |
H A D | send_cap.c | 34 struct captx_prepare_state *state, captx_send_cont send_cont, 37 assert(state); 39 memset(state, 0, sizeof(*state)); 40 state->send_cont = send_cont; 41 state->st = st; 42 capops_copy(cap, dest, give_away, captx_prepare_copy_result_cont, state); 80 captx_handle_recv(intermon_captx_t *captx, struct captx_recv_state *state, argument 84 assert(state); 91 recv_cont(err, state, ca 33 captx_prepare_send(struct capref cap, coreid_t dest, bool give_away, struct captx_prepare_state *state, captx_send_cont send_cont, void *st) argument [all...] |
/barrelfish-2018-10-04/lib/libc/stdlib/ |
H A D | random.c | 47 * rand()/srand() like interface, this package also has a special state info 51 * that much state information. Good sizes for the amount of state 52 * information are 32, 64, 128, and 256 bytes. The state can be switched by 54 * with initstate(). By default, the package runs with 128 bytes of state 56 * congruential generator. If the amount of state information is less than 59 * Internally, the state information is treated as an array of uint32_t's; the 61 * integer); the remainder of the array is the state information for the 62 * R.N.G. Thus, 32 bytes of state information will give 7 ints worth of 63 * state informatio 196 static uint32_t *state = &randtbl[1]; variable [all...] |
/barrelfish-2018-10-04/usr/drivers/solarflair/sfxge/ |
H A D | sfxge_mcdi.c | 53 KASSERT(mcdi->state != SFXGE_MCDI_UNINITIALIZED, 56 while (mcdi->state != SFXGE_MCDI_INITIALIZED) 58 mcdi->state = SFXGE_MCDI_BUSY; 76 assert(mcdi->state == SFXGE_MCDI_UNINITIALIZED); 80 mcdi->state = SFXGE_MCDI_INITIALIZED; 101 mcdi->state = SFXGE_MCDI_UNINITIALIZED; 119 assert(mcdi->state == SFXGE_MCDI_INITIALIZED);
|