Home
last modified time | relevance | path

Searched refs:up_map (Results 1 – 2 of 2) sorted by relevance

/net/tipc/
Dmonitor.c59 u64 up_map; member
155 static void map_set(u64 *up_map, int i, unsigned int v) in map_set() argument
157 *up_map &= ~(1ULL << i); in map_set()
158 *up_map |= ((u64)v << i); in map_set()
161 static int map_get(u64 up_map, int i) in map_get() argument
163 return (up_map & (1ULL << i)) >> i; in map_get()
224 if (!member->is_up || !map_get(dom_bef->up_map, i)) in mon_identify_lost_members()
238 if (!map_get(dom_aft->up_map, i)) in mon_identify_lost_members()
276 u64 prev_up_map = dom->up_map; in mon_update_local_domain()
292 map_set(&dom->up_map, i, peer->is_up); in mon_update_local_domain()
[all …]
/net/dcb/
Ddcbnl.c557 u8 prio, pgid, tc_pct, up_map; in __dcbnl_pg_getcfg() local
605 up_map = DCB_ATTR_VALUE_UNDEFINED; in __dcbnl_pg_getcfg()
611 &pgid, &tc_pct, &up_map); in __dcbnl_pg_getcfg()
616 &pgid, &tc_pct, &up_map); in __dcbnl_pg_getcfg()
629 DCB_TC_ATTR_PARAM_UP_MAPPING, up_map); in __dcbnl_pg_getcfg()
774 u8 up_map; in __dcbnl_pg_setcfg() local
807 up_map = DCB_ATTR_VALUE_UNDEFINED; in __dcbnl_pg_setcfg()
820 up_map = in __dcbnl_pg_setcfg()
828 prio, pgid, tc_pct, up_map); in __dcbnl_pg_setcfg()
833 prio, pgid, tc_pct, up_map); in __dcbnl_pg_setcfg()
[all …]