Searched refs:hmask (Results 1 - 6 of 6) sorted by relevance
/freebsd-10.0-release/contrib/apr-util/dbm/sdbm/ |
H A D | sdbm_private.h | 56 long hmask; /* current hash mask */ member in struct:apr_sdbm_t
|
H A D | sdbm.c | 315 (void) splpage(pag, new, db->hmask + 1); 319 newp = (hash & db->hmask) | (db->hmask + 1); 329 if (hash & (db->hmask + 1)) { 350 * try again... update curbit and hmask as getpage would have 356 + ((hash & (db->hmask + 1)) ? 2 : 1); 357 db->hmask |= db->hmask + 1; 459 db->hmask = masks[hbit]; 461 pagb = hash & db->hmask; [all...] |
/freebsd-10.0-release/sys/netgraph/ |
H A D | ng_socket.c | 180 u_long hmask; /* hash mask */ member in struct:ngsock 555 priv->hash = hashinit(16, M_NETGRAPH_SOCK, &priv->hmask); 660 hashdestroy(priv->hash, M_NETGRAPH_SOCK, priv->hmask); 778 u_long hmask; local 780 new = hashinit_flags((priv->hmask + 1) * 2, M_NETGRAPH_SOCK, &hmask, 790 h = hash32_str(NG_HOOK_NAME(hook), HASHINIT) & hmask; 794 hashdestroy(priv->hash, M_NETGRAPH_SOCK, priv->hmask); 796 priv->hmask = hmask; [all...] |
H A D | ng_base.c | 974 u_long hmask; local 978 new = hashinit_flags((V_ng_name_hmask + 1) * 2, M_NETGRAPH_NODE, &hmask, 988 hash = hash32_str(NG_NODE_NAME(node), HASHINIT) & hmask; 994 V_ng_name_hmask = hmask; 1005 u_long hmask; local 1009 new = hashinit_flags((V_ng_ID_hmask + 1) * 2, M_NETGRAPH_NODE, &hmask, 1019 hash = (node->nd_ID % (hmask + 1)); 1025 V_ng_ID_hmask = hmask;
|
/freebsd-10.0-release/sys/net/ |
H A D | if_vlan.c | 91 uint16_t hmask; member in struct:ifvlantrunk 242 trunk->hmask = n - 1; 261 trunk->hwidth = trunk->hmask = 0; 274 i = HASH(ifv->ifv_vid, trunk->hmask); 286 i = HASH(ifv->ifv_vid, trunk->hmask); 304 i = HASH(ifv->ifv_vid, trunk->hmask); 362 trunk->hmask = n2 - 1; 376 LIST_FOREACH(ifv, &trunk->hash[HASH(vid, trunk->hmask)], ifv_list)
|
/freebsd-10.0-release/sys/kern/ |
H A D | sched_ule.c | 844 cpuset_t hmask, lmask; local 847 CPU_FILL(&hmask); 849 high = sched_highest(cg, hmask, 1); 853 CPU_CLR(high, &hmask); 854 CPU_COPY(&hmask, &lmask); 871 CPU_CLR(low, &hmask);
|
Completed in 127 milliseconds