/barrelfish-2018-10-04/usr/drivers/lpc_timer/ |
H A D | main.c | 35 * \brief Per-client closure 37 * This structure defines the per-client state stored in \c b->st. 39 * It records the timeout value of the client, the #timer_binding of 40 * the client and builds a doubly-linked list of all currently active 41 * client closures. This list is updated each time a client sets or changes 45 uint64_t expiry; /**< Timer expiry of this client (as difference from prev) */ 47 struct timer_client *prev; /**< Service response closure of the client 49 struct timer_client *next; /**< Service response closure of the client 69 * Otherwise, it points to the #timer_client closure of the client wit 90 is_enqueued(struct timer_client *client) argument 95 remove_timeout(struct timer_client *client) argument 130 add_timeout(struct timer_client *client) argument 263 struct timer_client *client = b->st; local 294 struct timer_client *client = malloc(sizeof(struct timer_client)); local 322 struct timer_client *client = b->st; local 343 struct timer_client *client = b->st; local 360 struct timer_client *client = b->st; local 375 struct timer_client *client = b->st; local 440 struct timer_client *client = timers, *next; local [all...] |
/barrelfish-2018-10-04/include/term/client/ |
H A D | filter.h | 3 * \brief Filter API for terminal client library. 20 #include <term/client/client.h> 21 #include <term/client/defs.h> 24 term_filter_id_t term_client_add_input_filter(struct term_client *client, 27 errval_t term_client_remove_input_filter(struct term_client *client, 30 void term_client_remove_all_input_filter(struct term_client *client); 33 term_filter_id_t term_client_add_output_filter(struct term_client *client, 36 errval_t term_client_remove_output_filter(struct term_client *client, 39 void term_remove_all_output_filter(struct term_client *client); [all...] |
H A D | trigger.h | 3 * \brief Trigger API for terminal client library. 21 #include <term/client/client.h> 22 #include <term/client/defs.h> 32 term_trigger_id_t term_client_add_trigger(struct term_client *client, 35 errval_t term_client_remove_trigger(struct term_client *client, 38 void term_client_remove_all_triggers(struct term_client *client);
|
H A D | client.h | 3 * \brief Non-blocking I/O API for terminal client library. 21 #include <term/client/defs.h> 23 errval_t term_client_change_read_waitset(struct term_client *client, 26 errval_t term_client_change_write_waitset(struct term_client *client, 29 errval_t term_client_change_config_waitset(struct term_client *client, 32 errval_t term_client_write(struct term_client *client, const char *data, 35 errval_t term_client_config(struct term_client *client, 39 void term_client_set_err_handler(struct term_client *client, 42 void term_client_set_chars_handler(struct term_client *client,
|
H A D | client_blocking.h | 3 * \brief Blocking I/O API for terminal client library. 21 #include <term/client/defs.h> 35 errval_t term_client_blocking_init(struct term_client *client, 37 void term_client_blocking_exit(struct term_client *client); 39 errval_t term_client_blocking_read(struct term_client *client, char *data, 41 errval_t term_client_blocking_write(struct term_client *client, 44 errval_t term_client_blocking_config(struct term_client *client, 47 errval_t term_client_blocking_tcgetattr(struct term_client *client, 49 errval_t term_client_blocking_tcsetattr(struct term_client *client,
|
H A D | default_triggers.h | 3 * \brief Set of default triggers for terminal client library. 19 #include <term/client/trigger.h>
|
/barrelfish-2018-10-04/lib/term/client/ |
H A D | client_blocking.c | 3 * \brief Blocking I/O API for terminal client library. 27 #include <term/client/client_blocking.h> 28 #include <term/client/default_filters.h> 29 #include <term/client/default_triggers.h> 41 static void struct_term_client_init(struct term_client *client); 46 static errval_t handle_echo(struct term_client *client, char *data, 48 static void handle_triggers(struct term_client *client, char *data, 56 * \param client Terminal client state, initialized by function to default 63 errval_t term_client_blocking_init(struct term_client *client, argument 130 term_client_blocking_exit(struct term_client *client) argument 169 term_client_blocking_read(struct term_client *client, char *data, size_t length, size_t *read) argument 252 term_client_blocking_write(struct term_client *client, const char *data, size_t length, size_t *written) argument 319 term_client_blocking_config(struct term_client *client, enum TerminalConfig opt, size_t arg) argument 371 term_client_blocking_tcgetattr(struct term_client *client, struct termios* t) argument 384 term_client_blocking_tcsetattr(struct term_client *client, const struct termios* t) argument 415 struct_term_client_init(struct term_client *client) argument 520 check_connection_established(struct term_client *client) argument 531 handle_echo(struct term_client *client, char *data, size_t length) argument 579 handle_triggers(struct term_client *client, char *data, size_t length) argument 602 struct term_client *client = b->st; local 629 struct term_client *client = st; local 649 struct term_client *client = b->st; local 660 struct term_client *client = st; local 681 struct term_client *client = b->st; local 693 struct term_client *client = st; local 712 struct term_client *client = arg; local [all...] |
H A D | client.c | 3 * \brief Non-blocking I/O API for terminal client library. 19 #include <term/client/client.h> 28 * \param client Terminal client state. 34 errval_t term_client_change_read_waitset(struct term_client *client, argument 39 assert(client != NULL); 42 client->read_ws = read_ws; 43 err = client->in_binding->change_waitset(client 60 term_client_change_write_waitset(struct term_client *client, struct waitset *write_ws) argument 86 term_client_change_config_waitset(struct term_client *client, struct waitset *conf_ws) argument 115 term_client_write(struct term_client *client, const char *data, size_t length, struct event_closure cont) argument 162 term_client_config(struct term_client *client, terminal_config_option_t opt, char *arg, struct event_closure cont) argument 176 term_client_set_err_handler(struct term_client *client, term_async_err_handler_fn err_cb) argument 191 term_client_set_chars_handler(struct term_client *client, term_characters_handler_fn *chars_cb) argument [all...] |
H A D | filter.c | 3 * \brief Filter API for terminal client library. 23 #include <term/client/client.h> 24 #include <term/client/filter.h> 35 * \param client Terminal client state. 40 term_filter_id_t term_client_add_input_filter(struct term_client *client, argument 45 assert(client != NULL); 46 assert(client->input_filters != NULL); 53 new_filter->id = ++client 70 term_client_remove_input_filter(struct term_client *client, term_filter_id_t id) argument 88 term_client_remove_all_input_filter(struct term_client *client) argument 99 term_client_add_output_filter(struct term_client *client, term_filter_fn *filter) argument 120 term_client_remove_output_filter(struct term_client *client, term_filter_id_t id) argument 137 term_remove_all_output_filter(struct term_client *client) argument 149 term_client_add_echo_filter(struct term_client *client, term_filter_fn *filter) argument 170 term_client_remove_echo_filter(struct term_client *client, term_filter_id_t id) argument 187 term_client_remove_all_echo_filter(struct term_client *client) argument [all...] |
H A D | trigger.c | 3 * \brief Trigger API for terminal client library. 21 #include <term/client/client.h> 22 #include <term/client/trigger.h> 33 * \param client Terminal client state. 38 term_trigger_id_t term_client_add_trigger(struct term_client *client, argument 41 return term_client_add_trigger_type(client, trigger, 45 errval_t term_client_remove_trigger(struct term_client *client, argument 51 assert(client ! 63 term_client_remove_all_triggers(struct term_client *client) argument 77 term_client_add_trigger_type(struct term_client *client, struct term_trigger trigger, enum term_trigger_type type) argument [all...] |
H A D | trigger_priv.h | 19 #include <term/client/trigger.h> 39 term_trigger_id_t term_client_add_trigger_type(struct term_client *client,
|
H A D | session.c | 3 * \brief Session handling API for terminal client library. 17 #include <term/client/session.h>
|
/barrelfish-2018-10-04/lib/dma/include/client/ |
H A D | dma_client_internal.h | 14 #include <dma/client/dma_client.h>
|
H A D | dma_client_device_internal.h | 16 #include <dma/client/dma_client_device.h>
|
H A D | dma_client_request_internal.h | 14 #include <dma/client/dma_client_request.h>
|
/barrelfish-2018-10-04/usr/tests/net_tests/posix-sockets/ |
H A D | main.c | 6 * The server waits until it receives BUFFER_SIZE characters from the client 7 * and then echos these back to the client, waits again, ... 58 struct client { struct 63 struct client *next; 66 struct client *clients = NULL; 115 struct client *client; local 123 perror("Failed to accept new client."); 127 /* allocate client struct */ 128 client 145 handle_client_read(struct client *client) argument 165 handle_client_write(struct client *client) argument 188 struct client *client; local [all...] |
/barrelfish-2018-10-04/include/nfs/ |
H A D | nfs.h | 3 * \brief NFS client definitions 40 * \param client NFS client instance 47 typedef void (*nfs_mount_callback_t)(void *arg, struct nfs_client *client, 55 * \param client NFS client instance 61 typedef void (*nfs_getattr_callback_t)(void *arg, struct nfs_client *client, 68 * \param client NFS client instance 74 typedef void (*nfs_setattr_callback_t)(void *arg, struct nfs_client *client, [all...] |
/barrelfish-2018-10-04/include/barrelfish/ |
H A D | terminal.h | 20 #include <term/client/defs.h> 31 struct term_client client; member in struct:terminal_state
|
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/drivers/infiniband/core/ |
H A D | sa.h | 40 static inline void ib_sa_client_get(struct ib_sa_client *client) argument 42 atomic_inc(&client->users); 45 static inline void ib_sa_client_put(struct ib_sa_client *client) argument 47 if (atomic_dec_and_test(&client->users)) 48 complete(&client->comp); 60 int ib_sa_path_rec_query(struct ib_sa_client *client, 74 int ib_sa_mcmember_rec_query(struct ib_sa_client *client, 89 int ib_sa_informinfo_query(struct ib_sa_client *client,
|
/barrelfish-2018-10-04/lib/nfs/ |
H A D | nfs.c | 3 * \brief NFS client 23 static errval_t portmap_lookup(struct nfs_client *client, u_int prog, u_int vers); 33 /// Per-instance NFS client data 35 struct rpc_client rpc_client; ///< RPC client state (XXX: must be first) 50 struct nfs_client *client = (void *)rpc_client; local 60 client->mount_state, replystat, acceptstat); 64 switch (client->mount_state) { 71 client->mount_port = port; 74 r = portmap_lookup(client, NFS_PROGRAM, NFS_V3); 79 client 134 portmap_lookup(struct nfs_client *client, u_int prog, u_int vers) argument 166 struct nfs_client *client; local 214 struct nfs_client *client = (void *)rpc_client; local 245 nfs_getattr(struct nfs_client *client, struct nfs_fh3 fh, nfs_getattr_callback_t callback, void *cbarg) argument 266 struct nfs_client *client = (void *)rpc_client; local 300 nfs_setattr(struct nfs_client *client, struct nfs_fh3 fh, sattr3 new_attributes, bool guarded, nfs_setattr_callback_t callback, void *cbarg) argument 328 struct nfs_client *client = (void *)rpc_client; local 361 nfs_readdir(struct nfs_client *client, struct nfs_fh3 fh, cookie3 cookie, cookieverf3 cookieverf, nfs_readdir_callback_t callback, void *cbarg) argument 389 struct nfs_client *client = (void *)rpc_client; local 422 nfs_readdirplus(struct nfs_client *client, struct nfs_fh3 fh, cookie3 cookie, cookieverf3 cookieverf, nfs_readdirplus_callback_t callback, void *cbarg) argument 453 struct nfs_client *client = (void *)rpc_client; local 485 nfs_lookup(struct nfs_client *client, struct nfs_fh3 dirfh, const char *name, nfs_lookup_callback_t callback, void *cbarg) argument 510 struct nfs_client *client = (void *)rpc_client; local 542 nfs_access(struct nfs_client *client, struct nfs_fh3 fh, uint32_t access, nfs_access_callback_t callback, void *cbarg) argument 564 struct nfs_client *client = (void *)rpc_client; local 597 nfs_read(struct nfs_client *client, struct nfs_fh3 fh, offset3 offset, count3 count, nfs_read_callback_t callback, void *cbarg) argument 624 struct nfs_client *client = (void *)rpc_client; local 659 nfs_write(struct nfs_client *client, struct nfs_fh3 fh, offset3 offset, const void *data, count3 count, stable_how stable, nfs_write_callback_t callback, void *cbarg) argument 688 struct nfs_client *client = (void *)rpc_client; local 724 nfs_create(struct nfs_client *client, struct nfs_fh3 dir, const char *name, bool guarded, sattr3 attributes, nfs_create_callback_t callback, void *cbarg) argument 753 struct nfs_client *client = (void *)rpc_client; local 786 nfs_mkdir(struct nfs_client *client, struct nfs_fh3 dir, const char *name, sattr3 attributes, nfs_mkdir_callback_t callback, void *cbarg) argument 811 struct nfs_client *client = (void *)rpc_client; local 843 nfs_remove(struct nfs_client *client, struct nfs_fh3 dir, const char *name, nfs_remove_callback_t callback, void *cbarg) argument 866 nfs_destroy(struct nfs_client *client) argument [all...] |
H A D | rpc.c | 172 struct rpc_client *client = user_state; local 195 struct rpc_call *hash_list = client->call_hash[hid]; 208 client->call_hash[hid] = call->next; 230 call->callback(client, call->cbarg1, call->cbarg2, replystat, acceptstat, 242 static void traverse_hash_bucket(int hid, struct rpc_client *client) argument 246 for (call = client->call_hash[hid]; call != NULL; call = next) { 257 client->call_hash[hid] = call->next; 261 call->callback(client, call->cbarg1, call->cbarg2, -1, -1, NULL); 288 errval_t e = net_send_to(client->socket, call->data, call->size, client 307 struct rpc_client *client = arg; local 325 rpc_init(struct rpc_client *client, struct in_addr server) argument 380 rpc_call(struct rpc_client *client, uint16_t port, uint32_t prog, uint32_t vers, uint32_t proc, xdrproc_t args_xdrproc, void *args, size_t args_size, rpc_callback_t callback, void *cbarg1, void *cbarg2) argument 453 rpc_destroy(struct rpc_client *client) argument [all...] |
/barrelfish-2018-10-04/lib/libc/rpc/ |
H A D | rpcb_clnt.c | 270 * This routine will return a client handle that is connected to the 279 CLIENT *client; local 290 client = NULL; 298 client = clnt_tli_create(RPC_ANYFD, nconf, addr, 300 if (client != NULL) { 304 return (client); 341 client = local_rpcb(); 342 if (! client) { 352 CLNT_DESTROY(client); 358 return (client); 425 CLIENT *client; local 527 CLIENT *client; local 584 CLIENT *client; local 710 CLIENT *client = NULL; local 1049 CLIENT *client; local 1109 CLIENT *client; local 1180 CLIENT *client = NULL; local 1239 CLIENT *client; local 1271 CLIENT *client; local [all...] |
H A D | pmap_getmaps.c | 78 CLIENT *client; local 85 client = clnttcp_create(address, PMAPPROG, 87 if (client != NULL) { 88 if (CLNT_CALL(client, (rpcproc_t)PMAPPROC_DUMP, 92 clnt_perror(client, "pmap_getmaps rpc problem"); 94 CLNT_DESTROY(client);
|
H A D | pmap_getport.c | 74 CLIENT *client; local 80 client = clntudp_bufcreate(address, PMAPPROG, 82 if (client != NULL) { 87 if (CLNT_CALL(client, (rpcproc_t)PMAPPROC_GETPORT, 92 clnt_geterr(client, &rpc_createerr.cf_error); 96 CLNT_DESTROY(client);
|
/barrelfish-2018-10-04/include/lwip2/lwip/apps/ |
H A D | mqtt.h | 3 * MQTT client 94 * client has connected to the server after initiating a mqtt connection attempt by 97 * @param client MQTT client itself 102 typedef void (*mqtt_connection_cb_t)(mqtt_client_t *client, void *arg, mqtt_connection_status_t status); 176 /** MQTT client */ 209 err_t mqtt_client_connect(mqtt_client_t *client, const ip_addr_t *ipaddr, u16_t port, mqtt_connection_cb_t cb, void *arg, 213 void mqtt_disconnect(mqtt_client_t *client); 215 /** Create new client */ 219 u8_t mqtt_client_is_connected(mqtt_client_t *client); [all...] |