iPXE
|
Pending operations. More...
Go to the source code of this file.
Data Structures | |
struct | pending_operation |
A pending operation. More... | |
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
static int | is_pending (struct pending_operation *pending) |
Check if an operation is pending. More... | |
static int | have_pending (void) |
Check if any operations are pending. More... | |
void | pending_get (struct pending_operation *pending) |
Mark an operation as pending. More... | |
void | pending_put (struct pending_operation *pending) |
Mark an operation as no longer pending. More... | |
Variables | |
int | pending_total |
Total count of pending operations. More... | |
Pending operations.
Definition in file pending.h.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
inlinestatic |
Check if an operation is pending.
pending | Pending operation |
is_pending | Operation is pending |
Definition at line 24 of file pending.h.
References pending.
Referenced by tcp_close(), tls_new_finished(), tls_progress(), tls_ready(), tls_restart(), and tls_tx_step().
|
inlinestatic |
Check if any operations are pending.
have_pending | Some operations are pending |
Definition at line 35 of file pending.h.
References pending_total.
Referenced by sync_progress().
void pending_get | ( | struct pending_operation * | pending | ) |
Mark an operation as pending.
pending | Pending operation |
Definition at line 45 of file pending.c.
References DBGC, pending, and pending_total.
Referenced by tcp_close(), tcp_open(), tcp_rx_ack(), tcp_xfer_deliver(), tls_new_server_hello_done(), and tls_restart().
void pending_put | ( | struct pending_operation * | pending | ) |
Mark an operation as no longer pending.
pending | Pending operation |
Definition at line 58 of file pending.c.
References DBGC, pending, and pending_total.
Referenced by tcp_close(), tcp_process_tx_queue(), tcp_rx_ack(), tls_close(), tls_new_finished(), tls_send_finished(), and tls_validator_done().
int pending_total |
Total count of pending operations.
Definition at line 38 of file pending.c.
Referenced by have_pending(), pending_get(), and pending_put().