Home
last modified time | relevance | path

Searched refs:list_empty (Results 1 - 25 of 40) sorted by relevance

12

/third_party/alsa-lib/src/
H A Dasync.c124 was_empty = list_empty(&snd_async_handlers); in snd_async_add_handler()
153 int was_empty = list_empty(&snd_async_handlers); in snd_async_del_handler()
157 && list_empty(&snd_async_handlers)) { in snd_async_del_handler()
167 if (!list_empty(&handler->hlist)) in snd_async_del_handler()
169 if (!list_empty(&handler->hlist)) in snd_async_del_handler()
/third_party/alsa-lib/src/mixer/
H A Dbag.c36 assert(list_empty(bag)); in bag_free()
42 return list_empty(bag); in bag_empty()
71 while (!list_empty(bag)) in bag_del_all()
H A Dmixer.c616 while (!list_empty(&mixer->classes)) { in snd_mixer_close()
621 assert(list_empty(&mixer->elems)); in snd_mixer_close()
625 while (!list_empty(&mixer->slaves)) { in snd_mixer_close()
802 if (list_empty(&mixer->elems)) in snd_mixer_first_elem()
815 if (list_empty(&mixer->elems)) in snd_mixer_last_elem()
/third_party/libinput/src/
H A Dutil-list.c46 assert(((elm->next == NULL && elm->prev == NULL) || list_empty(elm)) || in list_insert()
60 assert(((elm->next == NULL && elm->prev == NULL) || list_empty(elm)) || in list_append()
82 list_empty(const struct list *list) in list_empty() function
H A Dtimer.c55 !list_empty(&timer->link)) { in libinput_timer_destroy()
217 if (!list_empty(&libinput->timer.list)) { in libinput_timer_subsys_destroy()
229 assert(list_empty(&libinput->timer.list)); in libinput_timer_subsys_destroy()
H A Dutil-list.h92 bool list_empty(const struct list *list);
H A Dquirks.c521 assert(list_empty(&s->properties)); in section_destroy()
1185 assert(list_empty(&ctx->quirks)); in quirks_context_unref()
/third_party/alsa-utils/alsactl/
H A Dlist.h112 * Note: list_empty on entry does not return true after this, the entry is
156 * list_empty - tests whether a list is empty
159 static inline int list_empty(struct list_head *head) in list_empty() function
185 if (!list_empty(list)) in list_splice()
199 if (!list_empty(list)) { in list_splice_init()
/third_party/exfatprogs/include/
H A Dlist.h103 * Note: list_empty on entry does not return true after this, the entry is
147 * list_empty - tests whether a list is empty
150 static inline int list_empty(const struct list_head *head) in list_empty() function
176 if (!list_empty(list)) in list_splice()
190 if (!list_empty(list)) { in list_splice_init()
/third_party/ltp/testcases/realtime/include/
H A Dlist.h133 * Note: list_empty on entry does not return true after this, the entry is
177 * list_empty - tests whether a list is empty
180 static inline int list_empty(const struct list_head *head) in list_empty() function
224 if (!list_empty(list)) in list_splice()
238 if (!list_empty(list)) { in list_splice_init()
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
H A Dlist.h68 list_empty(const struct list_head *head) in list_empty() function
147 (!list_empty(ptr) ? list_first_entry(ptr, type, member) : NULL)
261 if (list_empty(list)) in linux_list_splice()
395 return !list_empty(head) && (head->next == head->prev); in list_is_singular()
413 if (list_empty(head)) in list_cut_position()
/third_party/NuttX/drivers/usbdev/gadget/
H A Dusbd_hid.c172 while (!list_empty(&fhid_sc->hid_queue)) in hid_queue_free()
321 if (!list_empty(&hid->hid_queue)) in hid_write()
H A Dusbd_audio.c224 while (!list_empty(&fuac_sc->uac_queue)) in uac_queue_free()
289 if (!list_empty(&dev->uac_queue)) in fuac_send_message()
H A Drndis.c645 return list_empty(&priv->reqlist) ? true : false; in rndis_hasfreereqs()
2177 while (!list_empty(&priv->reqlist)) in usbclass_resetconfig()
/third_party/alsa-lib/include/
H A Dlist.h111 /* list_empty - returns 1 if the given list is empty */
112 static inline int list_empty(const struct list_head *p) in list_empty() function
/third_party/libbpf/include/linux/
H A Dlist.h60 * Note: list_empty() on entry does not return true after this, the entry is
75 static inline int list_empty(const struct list_head *head) in list_empty() function
/third_party/alsa-lib/src/control/
H A Dhcontrol.c501 if (list_empty(&hctl->elems)) in snd_hctl_first_elem()
514 if (list_empty(&hctl->elems)) in snd_hctl_last_elem()
574 assert(list_empty(&hctl->elems)); in snd_hctl_load()
H A Dsetup.c62 while (!list_empty(&h->elems)) { in free_elems()
/third_party/alsa-lib/src/timer/
H A Dtimer.c252 while (!list_empty(&timer->async_handlers)) { in snd_timer_close()
313 was_empty = list_empty(&timer->async_handlers); in snd_async_add_timer_handler()
/third_party/alsa-lib/src/pcm/
H A Dpcm_hooks.c94 while (!list_empty(hooks)) { in snd_pcm_hooks_close()
101 while (!list_empty(&h->dllist)) { in snd_pcm_hooks_close()
H A Dpcm_ladspa.c183 while (!list_empty(plugins)) { in snd_pcm_ladspa_free_plugins()
356 assert(list_empty(&plugin->instances)); in snd_pcm_ladspa_free_instances()
1564 if (list_empty(list)) { in snd_pcm_ladspa_build_plugins()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
H A Dusbd_generic_epfile.c118 if (!list_empty(&epfile->req_list)) in generic_epfile_do_submit()
342 while (!list_empty(&epfile->comp_list)) in generic_epfile_handle_read()
H A Dusbd_generic_ep0.c731 if (!list_empty(&dev->ep0_req_list)) in generic_ep0_write_request()
1024 if (!list_empty(&dev->ep0_comp_list)) in generic_ep0_handle_ioctl()
1133 if (!list_empty(&dev->ep0_comp_list)) in generic_ep0_handle_poll()
/third_party/alsa-lib/src/ucm/
H A Dparser.c1776 if (list_empty(&device->dev_list.list)) { in verb_dev_list_add()
2079 if (list_empty(&verb->device_list)) { in parse_verb_file()
2293 if (!list_empty(&uc_mgr->fixedboot_list)) { in parse_controls_fixedboot()
2313 if (!list_empty(&uc_mgr->boot_list)) { in parse_controls_boot()
2333 if (!list_empty(&uc_mgr->default_list)) { in parse_controls()
/third_party/exfatprogs/lib/
H A Dexfat_fs.c79 while (child && list_empty(&child->children)) { in exfat_free_ancestors()

Completed in 25 milliseconds

12