Home
last modified time | relevance | path

Searched refs:namehash (Results 1 – 12 of 12) sorted by relevance

/external/iproute2/lib/
Dll_map.c55 unsigned namehash(const char *str) in namehash() function
68 unsigned h = namehash(name) & (IDXMAP_SIZE - 1); in ll_get_by_name()
115 h = namehash(ifname) & (IDXMAP_SIZE - 1); in ll_remember_index()
134 h = namehash(ifname) & (IDXMAP_SIZE - 1); in ll_remember_index()
/external/f2fs-tools/fsck/
Ddir.c64 unsigned int len, f2fs_hash_t namehash, int *max_slots, in find_target_dentry() argument
82 de->hash_code == namehash && in find_target_dentry()
100 const u8 *name, int len, f2fs_hash_t namehash, in find_in_block() argument
106 return find_target_dentry(name, len, namehash, max_slots, &d); in find_in_block()
119 f2fs_hash_t namehash; in find_in_level() local
123 namehash = f2fs_dentry_hash(de->name, de->len); in find_in_level()
128 bidx = dir_block_index(level, dir_level, le32_to_cpu(namehash) % nbucket); in find_in_level()
150 namehash, &max_slots); in find_in_level()
Dfsck.c1296 f2fs_hash_t namehash = f2fs_dentry_hash(name, name_len); in f2fs_check_dirent_position() local
1307 le32_to_cpu(namehash) % nbucket); in f2fs_check_dirent_position()
/external/iproute2/include/
Dll_map.h13 unsigned namehash(const char *str);
/external/mdnsresponder/mDNSCore/
DuDNS.h78 …acheGroupForName(const mDNS *const m, const mDNSu32 slot, const mDNSu32 namehash, const domainname…
DDNSCommon.h144 (r1)->namehash == (r2)->namehash && \
DmDNS.c238 mDNSexport AuthGroup *AuthGroupForName(AuthHash *r, const mDNSu32 slot, const mDNSu32 namehash, con… in AuthGroupForName() argument
242 if (ag->namehash == namehash && SameDomainName(ag->name, name)) in AuthGroupForName()
249 return(AuthGroupForName(r, slot, rr->namehash, rr->name)); in AuthGroupForRecord()
258 ag->namehash = rr->namehash; in GetAuthGroup()
322 …acheGroupForName(const mDNS *const m, const mDNSu32 slot, const mDNSu32 namehash, const domainname… in CacheGroupForName() argument
326 if (cg->namehash == namehash && SameDomainName(cg->name, name)) in CacheGroupForName()
333 return(CacheGroupForName(m, slot, rr->namehash, rr->name)); in CacheGroupForRecord()
624 r1->resrec.namehash == r2->resrec.namehash && in SameResourceRecordNameClassInterface()
647 pktrr->resrec.namehash == authrr->resrec.namehash && in PacketRRMatchesSignature()
1226 rr->resrec.namehash = DomainNameHashValue(rr->resrec.name); in mDNS_Register_internal()
[all …]
DmDNSEmbeddedAPI.h1101 mDNSu32 namehash; // Name-based (i.e. case-insensitive) hash of name member
1150 mDNSu32 namehash; // Name-based (i.e. case insensitive) hash of name member
1322 mDNSu32 namehash; // Name-based (i.e. case insensitive) hash of name member
2735 …const domainname *const name, const mDNSu32 namehash, const mDNSu16 rrtype, const mDNSu16 rrclass,…
2748 extern AuthGroup *AuthGroupForName(AuthHash *r, const mDNSu32 slot, const mDNSu32 namehash, const d…
DDNSCommon.c1267 return(rr->namehash == q->qnamehash && SameDomainName(rr->name, &q->qname)); in ResourceRecordAnswersQuestion()
1343 return(rr->namehash == q->qnamehash && SameDomainName(rr->name, &q->qname)); in LocalOnlyRecordAnswersQuestion()
1369 return(rr->namehash == q->qnamehash && SameDomainName(rr->name, &q->qname)); in AnyTypeRecordAnswersQuestion()
1391 return(rr->namehash == q->qnamehash && SameDomainName(rr->name, &q->qname)); in ResourceRecordAnswersUnicastResponse()
2170 rr->resrec.namehash = DomainNameHashValue(rr->resrec.name); in GetLargeResourceRecord()
/external/iproute2/ip/
Dipnetns.c145 #define NSID_HASH_NAME(name) (namehash(name) & (NSIDMAP_SIZE - 1))
/external/mdnsresponder/mDNSShared/
Ddnsextd.c821 bucket = ptr->rr.resrec.namehash % newnbuckets; in RehashTable()
1400 bucket = rr->namehash % d->nbuckets; in UpdateLeaseTable()
1446 bucket = rr->namehash % d->nbuckets; in UpdateLeaseTable()
Duds_daemon.c545 rr->resrec.namehash = DomainNameHashValue(rr->resrec.name); in read_rr_from_ipc_msg()