Searched refs:task_p (Results 1 - 7 of 7) sorted by relevance
/netbsd-current/lib/libisns/ |
H A D | isns_task.c | 57 isns_run_task(struct isns_task_s *task_p) argument 67 DBG("isns_run_task: task_type=%d\n", task_p->task_type); 69 if (task_p->task_type < ARRAY_ELEMS(task_dispatch_table)) 70 task_dispatch_table[task_p->task_type](task_p); 72 DBG("isns_run_task: unknown task type=%d\n", task_p->task_type); 77 isns_wait_task(struct isns_task_s *task_p, const struct timespec *timeout_p) argument 83 DBG("isns_wait_task: waitable=%d\n", task_p->waitable); 85 if (!task_p->waitable) 88 pthread_mutex_lock(&task_p 113 isns_end_task(struct isns_task_s *task_p) argument 127 isns_task_discover_server(struct isns_task_s *task_p) argument 140 isns_task_reconnect_server(struct isns_task_s *task_p) argument 194 isns_task_send_pdu(struct isns_task_s *task_p) argument 318 isns_task_init_socket_io(struct isns_task_s *task_p) argument 366 isns_task_init_refresh(struct isns_task_s *task_p) argument 403 struct isns_task_s *task_p; local 434 isns_free_task(struct isns_task_s *task_p) argument 459 isns_taskq_insert_head(struct isns_config_s *cfg_p, struct isns_task_s *task_p) argument 471 isns_taskq_insert_tail(struct isns_config_s *cfg_p, struct isns_task_s *task_p) argument 485 struct isns_task_s *task_p = NULL; local 501 struct isns_task_s *task_p; local [all...] |
H A D | isns.c | 130 struct isns_task_s *task_p; local 174 task_p = isns_new_task(cfg_p, ISNS_TASK_INIT_SOCKET_IO, 1); 175 task_p->var.init_socket_io.sd = fd; 176 task_p->var.init_socket_io.ai_p = ai_p; 178 isns_taskq_insert_head(cfg_p, task_p); 180 isns_wait_task(task_p, NULL); 193 struct isns_task_s *task_p; local 201 task_p = isns_new_task(cfg_p, ISNS_TASK_INIT_REFRESH, 0); 202 if (task_p == NULL) 208 isns_free_task(task_p); [all...] |
H A D | isns_util.c | 139 struct isns_task_s *task_p; local 156 if ((task_p = cfg_p->curtask_p) != NULL) { 157 if (task_p->task_type == ISNS_TASK_SEND_PDU) 158 isns_complete_trans(task_p->var.send_pdu.trans_p); 159 isns_free_task(task_p); 162 while ((task_p = isns_taskq_remove(cfg_p)) != NULL) { 163 if (task_p->task_type == ISNS_TASK_SEND_PDU) 164 isns_complete_trans(task_p->var.send_pdu.trans_p); 165 isns_free_task(task_p);
|
H A D | isns_thread.c | 95 struct isns_task_s *task_p = NULL; local 100 task_p = isns_taskq_remove(cfg_p); 103 return task_p; 105 if (task_p == NULL) 108 if (task_p->task_type != ISNS_TASK_INIT_SOCKET_IO) { 109 isns_taskq_insert_head(cfg_p, task_p); 111 task_p = isns_new_task(cfg_p, 113 task_p->var.reconnect_server.ai_p = cfg_p->ai_p; 116 return task_p;
|
H A D | isns_pdu.c | 548 struct isns_task_s *task_p; local 551 if (((task_p = cfg_p->curtask_p) != NULL) 552 && (task_p->task_type == ISNS_TASK_SEND_PDU) 553 && (task_p->var.send_pdu.trans_p->id == trans_id)) { 554 isns_complete_trans(task_p->var.send_pdu.trans_p); 555 isns_end_task(task_p); 560 task_p = isns_taskq_remove_trans(cfg_p, trans_id); 561 if (task_p) { 562 isns_complete_trans(task_p->var.send_pdu.trans_p); 563 isns_end_task(task_p); 831 struct isns_task_s* task_p; local [all...] |
/netbsd-current/external/mpl/bind/dist/lib/isc/ |
H A D | Makefile.am | 189 task_p.h \
|
H A D | Makefile.in | 241 stdtime.c string.c symtab.c syslog.c task.c task_p.h \ 801 stdtime.c string.c symtab.c syslog.c task.c task_p.h \
|
Completed in 259 milliseconds