Searched refs:prev_entry (Results 1 – 2 of 2) sorted by relevance
1374 uint16_t prev_entry = rule->prev_index; in ipa_nati_copy_ipv4_rule_to_hw() local1392 if (IPA_NAT_INVALID_NAT_ENTRY != prev_entry) { in ipa_nati_copy_ipv4_rule_to_hw()1394 if (prev_entry < ipv4_cache->table_entries) { in ipa_nati_copy_ipv4_rule_to_hw()1401 prev_entry = prev_entry - ipv4_cache->table_entries; in ipa_nati_copy_ipv4_rule_to_hw()1404 offset = ipa_nati_get_entry_offset(ipv4_cache, tbl_type, prev_entry); in ipa_nati_copy_ipv4_rule_to_hw()1421 uint16_t prev_entry = indx_sw_rule->prev_index; in ipa_nati_copy_ipv4_index_rule_to_hw() local1443 if (IPA_NAT_INVALID_NAT_ENTRY != prev_entry) { in ipa_nati_copy_ipv4_index_rule_to_hw()1444 if (prev_entry < ipv4_cache->table_entries) { in ipa_nati_copy_ipv4_index_rule_to_hw()1451 prev_entry = prev_entry - ipv4_cache->table_entries; in ipa_nati_copy_ipv4_index_rule_to_hw()1454 offset = ipa_nati_get_index_entry_offset(ipv4_cache, tbl_type, prev_entry); in ipa_nati_copy_ipv4_index_rule_to_hw()[all …]
1003 struct list_value_t *prev_entry; member1015 lp->prev_entry = NULL; in linked_list_initialize()1039 lp->prev_entry = lp->entry; in linked_list_reorder()1044 lp->prev_entry = lvp; in linked_list_reorder()1055 if (lp->prev_entry) in linked_list_reorder()1056 lp->prev_entry->next = lp->end; in linked_list_reorder()1060 lp->prev_entry = lp->end; in linked_list_reorder()1089 lp->prev_entry->next = lvp; in linked_list_reorder()1091 lp->prev_entry = lvp; in linked_list_reorder()