Lines Matching refs:entry

331 	struct name_entry 	*entry;
379 entry = smb_netbios_cache_lookup(name);
380 if (entry) {
388 * Such an entry will not be used for
394 entry->attributes |= NAME_ATTR_CONFLICT;
397 entry->name);
398 smb_netbios_cache_unlock_entry(entry);
413 if ((entry = smb_netbios_cache_lookup(question->name)) != 0) {
414 addr = &entry->addr_list;
420 } while (addr != &entry->addr_list);
421 smb_netbios_cache_unlock_entry(entry);
1321 struct name_packet *original_packet, struct name_entry *entry,
1343 answer.name = entry;
1345 answer.ttl = entry->addr_list.ttl;
1354 raddr = &entry->addr_list;
1357 attr = entry->attributes & (NAME_ATTR_GROUP |
1369 } while (raddr != &entry->addr_list);
1832 struct name_entry *entry;
1853 if ((entry = smb_netbios_cache_lookup_addr(name)) != 0) {
1854 smb_netbios_cache_update_entry(entry, question->name);
1855 smb_netbios_cache_unlock_entry(entry);
1865 * based on the type of question entry.
1868 /* All query requests have to have question entry */
1874 if ((entry = smb_netbios_cache_lookup(name)) != 0) {
1876 packet, entry, 0);
1877 smb_netbios_cache_unlock_entry(entry);
1887 entry = 0;
1889 ((entry = smb_netbios_cache_lookup(name)) != 0)) {
1890 if (entry)
1891 smb_netbios_cache_unlock_entry(entry);
1912 struct name_entry *entry;
1940 if ((entry = smb_netbios_cache_lookup(name)) != 0) {
1941 smb_netbios_cache_update_entry(entry, name);
1942 smb_netbios_cache_unlock_entry(entry);
1954 * based on the type of question entry.
1957 /* All query requests have to have question entry */
1963 if ((entry = smb_netbios_cache_lookup(name)) != 0) {
1969 packet, entry, 0);
1970 smb_netbios_cache_unlock_entry(entry);
1986 entry = 0;
1988 ((entry = smb_netbios_cache_lookup(name)) != 0)) {
1994 if (entry)
1995 smb_netbios_cache_unlock_entry(entry);
2035 struct name_entry *entry;
2047 entry = smb_name_find_name(name);
2048 smb_name_unlock_name(entry);