64 unsigned long expiry ) {
void pool_add(struct pooled_connection *pool, struct list_head *list, unsigned long expiry)
Add connection to pool.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
void pool_del(struct pooled_connection *pool)
Remove connection from pool.
A doubly-linked list entry (or list head)
#define list_empty(list)
Test whether a list is empty.
#define list_del(list)
Delete an entry from a list.
Connection has been recycled.
assert((readw(&hdr->flags) &(GTF_reading|GTF_writing))==0)
#define container_of(ptr, type, field)
Get containing structure.
#define __unused
Declare a variable or data structure as unused.
#define list_add_tail(new, head)
Add a new entry to the tail of a list.
void pool_reopen(struct interface *intf)
Reopen a defunct connection.
void start_timer_fixed(struct retry_timer *timer, unsigned long timeout)
Start timer with a specified timeout.
#define INIT_LIST_HEAD(list)
Initialise a list head.
void stop_timer(struct retry_timer *timer)
Stop timer.
void pool_expired(struct retry_timer *timer, int over __unused)
Close expired pooled connection.
void pool_recycle(struct interface *intf)
Recycle this connection after closing.
void intf_poke(struct interface *intf, void(type)(struct interface *intf))
Poke an object interface.