Searched refs:ep (Results 1 - 25 of 114) sorted by relevance

12345

/barrelfish-2018-10-04/lib/barrelfish/
H A Dlmp_endpoints.c25 static void endpoint_init(struct lmp_endpoint *ep) argument
27 ep->k.delivered = ep->k.consumed = 0;
28 ep->k.recv_cspc = 0;
29 ep->k.recv_cptr = 0;
30 ep->seen = 0;
31 waitset_chanstate_init(&ep->waitset_state, CHANTYPE_LMP_IN);
53 struct lmp_endpoint *ep = heap_alloc(&dg->lmp_endpoint_heap, epsize); local
54 if(ep == NULL) {
59 endpoint_init(ep);
76 lmp_endpoint_free(struct lmp_endpoint *ep) argument
99 struct lmp_endpoint *ep = NULL; local
129 lmp_endpoint_set_recv_slot(struct lmp_endpoint *ep, struct capref slot) argument
144 lmp_endpoint_can_recv(struct lmp_endpoint *ep) argument
150 lmp_endpoint_words_unseen(struct lmp_endpoint *ep) argument
175 struct lmp_endpoint *ep, *nextep, *firstep; local
278 lmp_endpoint_register(struct lmp_endpoint *ep, struct waitset *ws, struct event_closure closure) argument
318 lmp_endpoint_deregister(struct lmp_endpoint *ep) argument
351 lmp_endpoint_migrate(struct lmp_endpoint *ep, struct waitset *ws) argument
367 lmp_endpoint_recv(struct lmp_endpoint *ep, struct lmp_recv_buf *buf, struct capref *cap) argument
449 lmp_endpoint_store_lrpc_disabled(struct lmp_endpoint *ep, uint32_t bufpos, uintptr_t arg1, uintptr_t arg2, uintptr_t arg3, uintptr_t arg4) argument
[all...]
H A Dump_endpoint.c25 * \param ep Storage for endpoint state
29 errval_t ump_endpoint_init(struct ump_endpoint *ep, volatile void *buf, argument
32 errval_t err = ump_chan_state_init(&ep->chan, buf, bufsize, UMP_INCOMING);
37 waitset_chanstate_init(&ep->waitset_state, CHANTYPE_UMP_IN);
44 void ump_endpoint_destroy(struct ump_endpoint *ep) argument
46 waitset_chanstate_destroy(&ep->waitset_state);
56 * \param ep UMP endpoint
60 errval_t ump_endpoint_register(struct ump_endpoint *ep, struct waitset *ws, argument
67 assert(ep != NULL);
70 if (ump_endpoint_poll(&ep
85 ump_endpoint_deregister(struct ump_endpoint *ep) argument
98 ump_endpoint_migrate(struct ump_endpoint *ep, struct waitset *ws) argument
[all...]
/barrelfish-2018-10-04/include/barrelfish/
H A Dump_endpoint.h31 errval_t ump_endpoint_init(struct ump_endpoint *ep, volatile void *buf,
33 void ump_endpoint_destroy(struct ump_endpoint *ep);
34 errval_t ump_endpoint_register(struct ump_endpoint *ep, struct waitset *ws,
36 errval_t ump_endpoint_deregister(struct ump_endpoint *ep);
37 void ump_endpoint_migrate(struct ump_endpoint *ep, struct waitset *ws);
42 static inline bool ump_endpoint_can_recv(struct ump_endpoint *ep) argument
44 return ump_impl_poll(&ep->chan) != NULL;
52 * \param ep UMP endpoint
55 static inline errval_t ump_endpoint_recv(struct ump_endpoint *ep, argument
58 *msg = ump_impl_recv(&ep
74 struct ump_endpoint *ep = (struct ump_endpoint *) local
[all...]
H A Dlmp_endpoints.h70 void lmp_endpoint_free(struct lmp_endpoint *ep);
73 void lmp_endpoint_set_recv_slot(struct lmp_endpoint *ep, struct capref slot);
74 bool lmp_endpoint_can_recv(struct lmp_endpoint *ep);
76 errval_t lmp_endpoint_recv(struct lmp_endpoint *ep, struct lmp_recv_buf *buf,
78 errval_t lmp_endpoint_register(struct lmp_endpoint *ep, struct waitset *ws,
80 errval_t lmp_endpoint_deregister(struct lmp_endpoint *ep);
81 void lmp_endpoint_migrate(struct lmp_endpoint *ep, struct waitset *ws);
82 void lmp_endpoint_store_lrpc_disabled(struct lmp_endpoint *ep, uint32_t bufpos,
/barrelfish-2018-10-04/usr/drivers/usb/usb_manager/
H A Dusb_endpoint.c41 struct usb_endpoint *ep = device->endpoints; local
50 if (ep == NULL) {
55 if ((ep->descriptor == NULL) || (ep->iface_index != iface)) {
61 epaddr = &(ep->descriptor->bEndpointAddress);
62 epattr = &(ep->descriptor->bmAttributes);
92 USB_DEBUG_XFER("Endpoint found: iface=0x%x, ep=0x%x\n",
93 iface, ep->endpoint_address);
94 return (ep);
97 ep
118 usb_endpoint_init(struct usb_device *device, uint8_t iface_index, struct usb_endpoint_descriptor *desc, struct usb_endpoint *ep) argument
[all...]
H A Dusb_pipe.c36 struct usb_endpoint *ep = xfer->endpoint; local
40 if (ep->is_stalled) {
62 type = (ep->descriptor->bmAttributes.xfer_type);
79 ep->pipe_fn->start(xfer);
102 struct usb_endpoint *ep = xfer->endpoint; local
105 (ep->pipe_fn->enter)(xfer);
116 if (ep->transfers.current != xfer) {
118 usb_xfer_enqueue(&ep->transfers, xfer);
120 if (ep->transfers.current != NULL) {
128 if (!ep
[all...]
/barrelfish-2018-10-04/usr/monitor/include/arch/aarch64/
H A Dnotify_ipi.h21 errval_t notification_set(int chanid, struct capref ep);
22 errval_t notification_allocate(struct capref ep, int *chanid);
/barrelfish-2018-10-04/usr/monitor/include/arch/arm/
H A Dnotify_ipi.h21 errval_t notification_set(int chanid, struct capref ep);
22 errval_t notification_allocate(struct capref ep, int *chanid);
/barrelfish-2018-10-04/usr/monitor/include/arch/x86/
H A Dnotify_ipi.h21 errval_t notification_set(int chanid, struct capref ep);
22 errval_t notification_allocate(struct capref ep, int *chanid);
/barrelfish-2018-10-04/usr/monitor/arch/armv7/
H A Dnotify_ipi.c20 errval_t notification_set(int chanid, struct capref ep) argument
22 return invoke_monitor_ipi_register(ep, chanid);
25 errval_t notification_allocate(struct capref ep, int *chanid) argument
30 if(get_cap_addr(ep) != CPTR_NULL) {
31 return notification_set(*chanid, ep);
/barrelfish-2018-10-04/usr/monitor/arch/armv8/
H A Dnotify_ipi.c20 errval_t notification_set(int chanid, struct capref ep) argument
22 return invoke_monitor_ipi_register(ep, chanid);
25 errval_t notification_allocate(struct capref ep, int *chanid) argument
30 if(get_cap_addr(ep) != CPTR_NULL) {
31 return notification_set(*chanid, ep);
/barrelfish-2018-10-04/usr/monitor/arch/x86/
H A Dnotify_ipi.c20 errval_t notification_set(int chanid, struct capref ep) argument
22 return invoke_monitor_ipi_register(ep, chanid);
25 errval_t notification_allocate(struct capref ep, int *chanid) argument
30 if(get_cap_addr(ep) != CPTR_NULL) {
31 return notification_set(*chanid, ep);
/barrelfish-2018-10-04/include/arch/aarch64/barrelfish/
H A Dlmp_chan_arch.h28 * \param ep Remote endpoint cap
37 struct capref ep,
47 uint8_t invoke_level = get_cap_level(ep);
48 capaddr_t invoke_cptr = get_cap_addr(ep);
61 #define lmp_ep_send4(ep, flags, send_cap, a, b, c, d) \
62 lmp_ep_send((ep), (flags), (send_cap), 4, (a), (b), (c), (d))
63 #define lmp_ep_send3(ep, flags, send_cap, a, b, c) \
64 lmp_ep_send((ep), (flags), (send_cap), 3, (a), (b), (c), 0)
65 #define lmp_ep_send2(ep, flags, send_cap, a, b) \
66 lmp_ep_send((ep), (flag
36 lmp_ep_send( struct capref ep, lmp_send_flags_t flags, struct capref send_cap, uint8_t length_words, uintptr_t arg1, uintptr_t arg2, uintptr_t arg3, uintptr_t arg4 ) argument
[all...]
/barrelfish-2018-10-04/include/arch/x86_32/barrelfish/
H A Dlmp_chan_arch.h27 * \param ep Remote endpoint cap
34 static inline errval_t lmp_ep_send(struct capref ep, lmp_send_flags_t flags, argument
39 uint8_t invoke_bits = get_cap_valid_bits(ep);
40 capaddr_t invoke_cptr = get_cap_addr(ep) >> (CPTR_BITS - invoke_bits);
52 #define lmp_ep_send4(ep, flags, send_cap, a, b, c, d) \
53 lmp_ep_send((ep), (flags), (send_cap), 4, (a), (b), (c), (d))
54 #define lmp_ep_send3(ep, flags, send_cap, a, b, c) \
55 lmp_ep_send((ep), (flags), (send_cap), 3, (a), (b), (c), 0)
56 #define lmp_ep_send2(ep, flags, send_cap, a, b) \
57 lmp_ep_send((ep), (flag
[all...]
/barrelfish-2018-10-04/lib/libc/stdlib/
H A Dlsearch.c40 uint8_t *ep, *endp; local
42 ep = __DECONST(uint8_t *, base);
43 for (endp = (uint8_t *)(ep + width * *nelp); ep < endp; ep += width) {
44 if (compar(key, ep) == 0)
45 return (ep);
H A Dstrtonum.c37 char *ep; local
53 ll = strtoll(numstr, &ep, 10);
54 if (errno == EINVAL || numstr == ep || *ep != '\0')
/barrelfish-2018-10-04/kernel/include/arch/x86/
H A Dipi_notify.h13 errval_t ipi_register_notification(capaddr_t ep, int chanid);
/barrelfish-2018-10-04/usr/drivers/usb/usb_manager/include/
H A Dusb_endpoint.h19 struct usb_endpoint *ep);
/barrelfish-2018-10-04/lib/libc/rpc/
H A Dauth_time.c152 endpoint *ep; local
172 for (i = 0, ep = eps; (he->h_addr_list[i] != NULL) && (num_ep < maxep);
173 i++, ep++, num_ep++) {
178 ep->uaddr = strdup(hname);
179 ep->family = strdup("inet");
180 ep->proto = strdup("tcp");
181 if (ep->uaddr == NULL || ep->family == NULL || ep->proto == NULL) {
188 i++, ep
244 endpoint *ep, /* useful endpoints */ local
[all...]
/barrelfish-2018-10-04/lib/libc/db/btree/
H A Dbt_seq.c136 * ep: storage for returned key
147 __bt_seqset(BTREE *t, EPG *ep, DBT *key, int flags) argument
168 return (__bt_first(t, key, ep, &exact));
187 ep->page = h;
188 ep->index = 0;
209 ep->page = h;
210 ep->index = NEXTINDEX(h) - 1;
231 __bt_seqadv(BTREE *t, EPG *ep, int flags) argument
254 return (__bt_first(t, &c->key, ep, &exact));
292 ep
333 EPG *ep, save; local
[all...]
/barrelfish-2018-10-04/lib/libc/tests/net/
H A Dether_test.c91 struct ether_addr e, *ep; local
93 ep = ether_aton_r(ether_aton_string, &e);
95 ATF_REQUIRE_MSG(ep != NULL, "ether_aton_r failed; errno=%d", errno);
96 ATF_REQUIRE_MSG(ep == &e,
97 "ether_aton_r returned different pointers; %p != %p", ep, &e);
105 struct ether_addr e, *ep; local
107 ep = ether_aton_r(ether_aton_bad_string, &e);
108 ATF_REQUIRE_MSG(ep == NULL, "ether_aton_r succeeded unexpectedly");
114 struct ether_addr *ep; local
116 ep
125 struct ether_addr *ep; local
[all...]
/barrelfish-2018-10-04/include/arch/arm/barrelfish/
H A Dlmp_chan_arch.h28 * \param ep Remote endpoint cap
37 struct capref ep,
52 enum cnode_type invoke_level = get_cap_level(ep);
53 capaddr_t invoke_cptr = get_cap_addr(ep);
68 #define lmp_ep_send9(ep, flags, send_cap, a, b, c, d, e, f, g, h, i) \
69 lmp_ep_send((ep),(flags),(send_cap),9,(a),(b),(c),(d),(e),(f),(g),(h),(i))
70 #define lmp_ep_send8(ep, flags, send_cap, a, b, c, d, e, f, g, h, i) \
71 lmp_ep_send((ep),(flags),(send_cap),8,(a),(b),(c),(d),(e),(f),(g),(h),0)
72 #define lmp_ep_send7(ep, flags, send_cap, a, b, c, d, e, f, g) \
73 lmp_ep_send((ep),(flag
36 lmp_ep_send( struct capref ep, lmp_send_flags_t flags, struct capref send_cap, uint8_t length_words, uintptr_t arg1, uintptr_t arg2, uintptr_t arg3, uintptr_t arg4, uintptr_t arg5, uintptr_t arg6, uintptr_t arg7, uintptr_t arg8, uintptr_t arg9 ) argument
[all...]
/barrelfish-2018-10-04/kernel/
H A Ddispatch.c132 * \brief Transfer cap from 'send' to 'ep', according to 'msg'.
137 * \param ep Endpoint capability of destination
144 static errval_t lmp_transfer_cap(struct capability *ep, struct dcb *send, argument
152 assert(ep != NULL);
153 assert(ep->type == ObjType_EndPoint);
154 struct dcb *recv = ep->u.endpoint.listener;
156 assert(ep->u.endpoint.epoffset != 0);
158 // printk(LOG_NOTE, "%s: ep->u.endpoint.epoffset = %"PRIuLVADDR"\n", __FUNCTION__, ep->u.endpoint.epoffset);
161 = (void *)((uint8_t *)recv->disp + ep
229 lmp_can_deliver_payload(struct capability *ep, size_t payload_len) argument
284 lmp_deliver_payload(struct capability *ep, struct dcb *send, uintptr_t *payload, size_t payload_len, bool captransfer, bool now) argument
363 lmp_deliver(struct capability *ep, struct dcb *send, uintptr_t *payload, size_t len, capaddr_t send_cptr, uint8_t send_level, bool give_away) argument
[all...]
/barrelfish-2018-10-04/include/arch/x86_64/barrelfish/
H A Dlmp_chan_arch.h28 * \param ep Remote endpoint
35 static inline errval_t lmp_ep_send(struct capref ep, lmp_send_flags_t flags, argument
59 assert(get_croot_addr(ep) == CPTR_ROOTCN);
60 return syscall6(SYSCALL_LRPC, get_cap_addr(ep), arg1, arg2, arg3, arg4).error;
64 uint8_t invoke_level = get_cap_level(ep);
65 capaddr_t invoke_cptr = get_cap_addr(ep);
75 #define lmp_ep_send10(ep, flags, send_cap, a, b, c, d, e, f, g, h, i, j) \
76 lmp_ep_send((ep), (flags), (send_cap), 10, (a), (b), (c), (d), (e), (f), (g), (h), (i), (j))
77 #define lmp_ep_send9(ep, flags, send_cap, a, b, c, d, e, f, g, h, i) \
78 lmp_ep_send((ep), (flag
[all...]
/barrelfish-2018-10-04/lib/libc/gen/
H A Dgetbsize.c46 char *ep, *p; local
55 if ((n = strtol(p, &ep, 10)) < 0)
59 if (*ep && ep[1])
61 switch (*ep) {

Completed in 95 milliseconds

12345