Lines Matching refs:entry
390 * return the calculated entry.
421 * This function will add/del an entry to the address table.
425 * skip - if 1, skip this address.Used in case of deleting an entry which is a
426 * part of chain in the hash table.We can't just delete the entry since
432 * address table entry is added/deleted.
440 struct addr_table_entry *entry, *start;
467 entry = start + hash_function(mac_addr);
469 if (!(le32_to_cpu(entry->lo) & HASH_ENTRY_VALID)) {
473 if (((le32_to_cpu(entry->lo) & 0xfffffff8) ==
475 (le32_to_cpu(entry->hi) == new_high)) {
479 if (entry == start + 0x7ff)
480 entry = start;
482 entry++;
485 if (((le32_to_cpu(entry->lo) & 0xfffffff8) != (new_low & 0xfffffff8)) &&
486 (le32_to_cpu(entry->hi) != new_high) && del)
501 * Update the selected entry
504 entry->hi = 0;
505 entry->lo = 0;
507 entry->hi = cpu_to_le32(new_high);
508 entry->lo = cpu_to_le32(new_low);
516 * Create an addressTable entry from MAC address info
526 /* Delete old entry */
529 /* Add new entry */