Lines Matching defs:frnd
88 static bool friend_is_allocated(const struct bt_mesh_friend *frnd) in friend_is_allocated()
93 static bool is_lpn_unicast(struct bt_mesh_friend *frnd, uint16_t addr) in is_lpn_unicast()
110 struct bt_mesh_friend *frnd = &bt_mesh.frnd[i]; in bt_mesh_friend_find() local
133 static int friend_cred_create(struct bt_mesh_friend *frnd, uint8_t idx) in friend_cred_create()
155 static int32_t recv_delay(struct bt_mesh_friend *frnd) in recv_delay()
164 static void friend_clear(struct bt_mesh_friend *frnd) in friend_clear()
217 struct bt_mesh_friend *frnd = &bt_mesh.frnd[i]; in bt_mesh_friends_clear() local
236 struct bt_mesh_friend *frnd = &bt_mesh.frnd[i]; in bt_mesh_friend_sec_update() local
252 struct bt_mesh_friend *frnd; in bt_mesh_friend_clear() local
302 static void friend_sub_add(struct bt_mesh_friend *frnd, uint16_t addr) in friend_sub_add()
324 static void friend_sub_rem(struct bt_mesh_friend *frnd, uint16_t addr) in friend_sub_rem()
337 static struct net_buf *create_friend_pdu(struct bt_mesh_friend *frnd, in create_friend_pdu()
376 static int unseg_app_sdu_unpack(struct bt_mesh_friend *frnd, in unseg_app_sdu_unpack()
413 static int unseg_app_sdu_decrypt(struct bt_mesh_friend *frnd, in unseg_app_sdu_decrypt()
435 static int unseg_app_sdu_encrypt(struct bt_mesh_friend *frnd, in unseg_app_sdu_encrypt()
449 static int unseg_app_sdu_prepare(struct bt_mesh_friend *frnd, in unseg_app_sdu_prepare()
489 static int encrypt_friend_pdu(struct bt_mesh_friend *frnd, struct net_buf *buf, in encrypt_friend_pdu()
541 static struct net_buf *encode_friend_ctl(struct bt_mesh_friend *frnd, in encode_friend_ctl()
564 static struct net_buf *encode_update(struct bt_mesh_friend *frnd, uint8_t md) in encode_update()
583 static void enqueue_sub_cfm(struct bt_mesh_friend *frnd, uint8_t xact) in enqueue_sub_cfm()
615 static void friend_recv_delay(struct bt_mesh_friend *frnd) in friend_recv_delay()
627 struct bt_mesh_friend *frnd; in bt_mesh_friend_sub_add() local
662 struct bt_mesh_friend *frnd; in bt_mesh_friend_sub_rem() local
694 static void enqueue_buf(struct bt_mesh_friend *frnd, struct net_buf *buf) in enqueue_buf()
700 static void enqueue_update(struct bt_mesh_friend *frnd, uint8_t md) in enqueue_update()
716 struct bt_mesh_friend *frnd; in bt_mesh_friend_poll() local
786 struct bt_mesh_friend *frnd = &bt_mesh.frnd[i]; in find_clear() local
798 struct bt_mesh_friend *frnd = user_data; in friend_clear_sent() local
809 static void send_friend_clear(struct bt_mesh_friend *frnd) in send_friend_clear()
837 struct bt_mesh_friend *frnd = CONTAINER_OF(dwork, struct bt_mesh_friend, in clear_timeout() local
858 static void clear_procedure_start(struct bt_mesh_friend *frnd) in clear_procedure_start()
872 struct bt_mesh_friend *frnd; in bt_mesh_friend_clear_cfm() local
907 static void enqueue_offer(struct bt_mesh_friend *frnd, int8_t rssi) in enqueue_offer()
953 static int32_t offer_delay(struct bt_mesh_friend *frnd, int8_t rssi, uint8_t crit) in offer_delay()
977 struct bt_mesh_friend *frnd = NULL; in bt_mesh_friend_req() local
1097 static struct bt_mesh_friend_seg *get_seg(struct bt_mesh_friend *frnd, in get_seg()
1123 static void enqueue_friend_pdu(struct bt_mesh_friend *frnd, in enqueue_friend_pdu()
1160 struct bt_mesh_friend *frnd = user_data; in buf_send_start() local
1180 struct bt_mesh_friend *frnd = user_data; in buf_send_end() local
1235 struct bt_mesh_friend *frnd = CONTAINER_OF(dwork, struct bt_mesh_friend, in friend_timeout() local
1307 struct bt_mesh_friend *frnd = &bt_mesh.frnd[i]; in subnet_evt() local
1352 struct bt_mesh_friend *frnd = &bt_mesh.frnd[i]; in bt_mesh_friend_init() local
1404 static void friend_purge_old_ack(struct bt_mesh_friend *frnd, in friend_purge_old_ack()
1427 static void friend_lpn_enqueue_rx(struct bt_mesh_friend *frnd, in friend_lpn_enqueue_rx()
1476 static void friend_lpn_enqueue_tx(struct bt_mesh_friend *frnd, in friend_lpn_enqueue_tx()
1535 static bool friend_lpn_matches(struct bt_mesh_friend *frnd, uint16_t net_idx, in friend_lpn_matches()
1566 struct bt_mesh_friend *frnd = &bt_mesh.frnd[i]; in bt_mesh_friend_match() local
1579 static bool friend_queue_has_space(struct bt_mesh_friend *frnd, uint16_t addr, in friend_queue_has_space()
1617 struct bt_mesh_friend *frnd = &bt_mesh.frnd[i]; in bt_mesh_friend_queue_has_space() local
1645 static bool friend_queue_check_dup(struct bt_mesh_friend *frnd, uint32_t seq, in friend_queue_check_dup()
1665 static bool friend_queue_prepare_space(struct bt_mesh_friend *frnd, uint16_t addr, in friend_queue_prepare_space()
1714 struct bt_mesh_friend *frnd = &bt_mesh.frnd[i]; in bt_mesh_friend_enqueue_rx() local
1756 struct bt_mesh_friend *frnd = &bt_mesh.frnd[i]; in bt_mesh_friend_enqueue_tx() local
1778 struct bt_mesh_friend *frnd; in bt_mesh_friend_terminate() local
1798 struct bt_mesh_friend *frnd = &bt_mesh.frnd[i]; in bt_mesh_friend_clear_incomplete() local