Home
last modified time | relevance | path

Searched refs:lwsac_head (Results 1 – 5 of 5) sorted by relevance

/third_party/libwebsockets/lib/misc/lwsac/
Dlwsac.c57 return sizeof(struct lwsac) + (first ? sizeof(struct lwsac_head) : 0); in lwsac_sizeof()
75 struct lwsac_head *lachead; in lwsac_extend()
79 lachead = (struct lwsac_head *)&head[1]; in lwsac_extend()
98 struct lwsac_head *lachead = NULL; in _lwsac_use()
103 lachead = (struct lwsac_head *)&bf[1]; in _lwsac_use()
134 hp += sizeof(struct lwsac_head); in _lwsac_use()
172 lachead = (struct lwsac_head *)&bf[1]; in _lwsac_use()
281 struct lwsac_head *lachead; in lwsac_info()
288 lachead = (struct lwsac_head *)&head[1]; in lwsac_info()
298 struct lwsac_head *lachead; in lwsac_total_alloc()
[all …]
Dcached-file.c74 sizeof(struct lwsac_head) - \
81 struct lwsac_head *lachead = (struct lwsac_head *)&lac->head[1]; in lwsac_use_cached_file_start()
91 struct lwsac_head *lachead; in lwsac_use_cached_file_end()
97 lachead = (struct lwsac_head *)&lac->head[1]; in lwsac_use_cached_file_end()
112 struct lwsac_head *lachead = NULL; in lwsac_use_cached_file_detach()
115 lachead = (struct lwsac_head *)&lac->head[1]; in lwsac_use_cached_file_detach()
Dprivate-lib-misc-lwsac.h56 struct lwsac_head { struct
/third_party/libwebsockets/plugins/deaddrop/
Dprotocol_lws_deaddrop.c68 struct lwsac *lwsac_head; member
88 struct lwsac *lwsac_head; member
124 if (pss->vhd->lwsac_head) in start_sending_dir()
125 lwsac_reference(pss->vhd->lwsac_head); in start_sending_dir()
126 pss->lwsac_head = pss->vhd->lwsac_head; in start_sending_dir()
136 struct lwsac *lwsac_head = NULL; in scan_upload_dir() local
211 dire = lwsac_use(&lwsac_head, sizeof(*dire) + m, 0); in scan_upload_dir()
213 lwsac_free(&lwsac_head); in scan_upload_dir()
235 if (vhd->lwsac_head) in scan_upload_dir()
236 lwsac_detach(&vhd->lwsac_head); in scan_upload_dir()
[all …]
/third_party/libwebsockets/lib/misc/fts/
Dtrie.c130 struct lwsac *lwsac_head; member
256 struct lwsac *lwsac_head = NULL; in lws_fts_create() local
259 t = lwsac_use(&lwsac_head, sizeof(*t), TRIE_LWSAC_BLOCK_SIZE); in lws_fts_create()
266 t->lwsac_head = lwsac_head; in lws_fts_create()
267 t->root = lwsac_use(&lwsac_head, sizeof(*t->root), in lws_fts_create()
308 lwsac_free(&lwsac_head); in lws_fts_create()
316 struct lwsac *lwsac_head = (*trie)->lwsac_head; in lws_fts_destroy() local
318 lwsac_free(&lwsac_head); in lws_fts_destroy()
336 fp = lwsac_use(&t->lwsac_head, sizeof(*fp), TRIE_LWSAC_BLOCK_SIZE); in lws_fts_file_index()
360 e = lwsac_use(&t->lwsac_head, sizeof(*e), TRIE_LWSAC_BLOCK_SIZE); in lws_fts_entry_child_add()
[all …]