Lines Matching refs:owner
53 lws_dsh_create(lws_dll2_owner_t *owner, size_t buf_len, int count_kinds) in lws_dsh_create() argument
87 lws_dll2_add_head(&obj->list, &dsh->oha[0].owner); in lws_dsh_create()
93 if (owner) in lws_dsh_create()
94 lws_dll2_add_head(&dsh->list, owner); in lws_dsh_create()
135 __func__, dsh1, dsh1->oha[0].owner.count); in try_foreign()
138 if (lws_dll2_foreach_safe(&dsh1->oha[0].owner, s, search_best_free)) in try_foreign()
205 lws_dll2_describe(&dsh1->oha[n].owner, "check dsh1"); in evict1()
206 lws_dll2_foreach_safe(&dsh1->oha[n].owner, dsh, evict2); in evict1()
228 lws_dll2_foreach_safe(&dsh->oha[n].owner, dsh, free_foreign); in lws_dsh_destroy()
235 if (dsh->list.owner) in lws_dsh_destroy()
236 lws_dll2_foreach_safe(dsh->list.owner, dsh, evict1); in lws_dsh_destroy()
267 lws_dll2_foreach_safe(&dsh->oha[0].owner, &s, search_best_free); in _lws_dsh_alloc_tail()
275 if (dsh && dsh->list.owner) in _lws_dsh_alloc_tail()
276 lws_dll2_foreach_safe(dsh->list.owner, &s, try_foreign); in _lws_dsh_alloc_tail()
306 s.best->list.owner = replace->owner; in _lws_dsh_alloc_tail()
313 lws_dll2_add_tail(&s.best->list, &dsh->oha[kind].owner); in _lws_dsh_alloc_tail()
350 s.best->list.owner = replace->owner; in _lws_dsh_alloc_tail()
357 lws_dll2_add_tail(&obj->list, &dsh->oha[kind].owner); in _lws_dsh_alloc_tail()
413 lws_dll2_add_sorted(&_o->list, &_o->dsh->oha[0].owner, buf_compare); in lws_dsh_free()
458 lws_dll2_get_head(&dsh->oha[kind + 1].owner); in lws_dsh_get_head()
501 lws_dll2_foreach_safe(&dsh->oha[n].owner, dsh, describe_kind); in lws_dsh_describe()