MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / list_empty

Function list_empty

lib/list.h:130–133  ·  view source on GitHub ↗

* list_empty - tests whether a list is empty * @head: the list to test. */

Source from the content-addressed store, hash-verified

128 * @head: the list to test.
129 */
130static inline int list_empty(const struct list_head *head)
131{
132 return head->next == head;
133}
134
135/**
136 * list_is_singular - tests whether a list has just one entry.

Callers 15

_tmrec_expr_checkFunction · 0.85
evs_subFunction · 0.85
evs_unsubFunction · 0.85
put_evsFunction · 0.85
destroy_fs_evsFunction · 0.85
prepare_reconnectFunction · 0.85
apply_socket_commandsFunction · 0.85
prom_push_stat_labelsFunction · 0.85
srec_nodes_destroyFunction · 0.85
src_release_ctxFunction · 0.85
srs_do_failoverFunction · 0.85
dm_peer_loopFunction · 0.85

Calls

no outgoing calls

Tested by 3

_hpt_reallocFunction · 0.68
hpt_freeFunction · 0.68
_test_mallocFunction · 0.68