Searched refs:sem_pdu_free (Results 1 – 2 of 2) sorted by relevance
180 static struct k_sem sem_pdu_free; variable419 k_sem_reset(&sem_pdu_free); in lll_adv_pdu_alloc_pdu_adv()437 err = k_sem_take(&sem_pdu_free, PDU_FREE_TIMEOUT); in lll_adv_pdu_alloc_pdu_adv()440 k_sem_reset(&sem_pdu_free); in lll_adv_pdu_alloc_pdu_adv()795 k_sem_init(&sem_pdu_free, 0, PDU_MEM_FIFO_COUNT); in init_reset()805 k_sem_give(&sem_pdu_free); in mfy_pdu_free_sem_give()821 k_sem_give(&sem_pdu_free); in pdu_free_sem_give()
119 static struct k_sem sem_pdu_free; variable240 err = k_sem_take(&sem_pdu_free, K_NO_WAIT); in lll_adv_pdu_alloc()256 err = k_sem_take(&sem_pdu_free, K_FOREVER); in lll_adv_pdu_alloc()295 k_sem_give(&sem_pdu_free); in lll_adv_pdu_latest_get()