Searched refs:bag_t (Results 1 – 3 of 3) sorted by relevance
30 typedef struct list_head bag_t; typedef32 int bag_new(bag_t **bag);33 void bag_free(bag_t *bag);34 int bag_add(bag_t *bag, void *ptr);35 int bag_del(bag_t *bag, void *ptr);36 int bag_empty(bag_t *bag);37 void bag_del_all(bag_t *bag);62 bag_t helems;
24 int bag_new(bag_t **bag) in bag_new()26 bag_t *b = malloc(sizeof(*b)); in bag_new()34 void bag_free(bag_t *bag) in bag_free()40 int bag_empty(bag_t *bag) in bag_empty()45 int bag_add(bag_t *bag, void *ptr) in bag_add()55 int bag_del(bag_t *bag, void *ptr) in bag_del()69 void bag_del_all(bag_t *bag) in bag_del_all()
94 bag_t *bag = snd_hctl_elem_get_callback_private(helem); in snd_mixer_elem_attach()113 bag_t *bag = snd_hctl_elem_get_callback_private(helem); in snd_mixer_elem_detach()137 bag_t *bag = snd_hctl_elem_get_callback_private(helem); in hctl_elem_event_handler()174 bag_t *bag; in hctl_event_handler()