• Home
  • Raw
  • Download

Lines Matching refs:self

90 	struct tipc_peer *self;  member
169 return mon->self; in get_self()
242 struct tipc_peer *self = mon->self; in mon_update_local_domain() local
244 struct tipc_mon_domain *dom = self->domain; in mon_update_local_domain()
245 struct tipc_peer *peer = self; in mon_update_local_domain()
252 self->applied = member_cnt; in mon_update_local_domain()
273 mon_apply_domain(mon, self); in mon_update_local_domain()
297 struct tipc_peer *self = mon->self; in mon_assign_roles() local
300 for (; peer != self; peer = peer_nxt(peer)) { in mon_assign_roles()
306 if (head == self) in mon_assign_roles()
325 struct tipc_peer *self = get_self(net, bearer_id); in tipc_mon_remove_peer() local
339 if (head == self) in tipc_mon_remove_peer()
345 list_for_each_entry(peer, &self->list, list) { in tipc_mon_remove_peer()
359 struct tipc_peer *self = mon->self; in tipc_mon_add_peer() local
373 prev = self; in tipc_mon_add_peer()
374 list_for_each_entry(cur, &self->list, list) { in tipc_mon_add_peer()
391 struct tipc_peer *self = get_self(net, bearer_id); in tipc_mon_peer_up() local
400 if (head == self) in tipc_mon_peer_up()
410 struct tipc_peer *self = get_self(net, bearer_id); in tipc_mon_peer_down() local
433 if (head == self) in tipc_mon_peer_down()
595 struct tipc_peer *self; in mon_timeout() local
599 self = mon->self; in mon_timeout()
600 if (self && (best_member_cnt != self->applied)) { in mon_timeout()
602 mon_assign_roles(mon, self); in mon_timeout()
612 struct tipc_peer *self; in tipc_mon_create() local
619 self = kzalloc(sizeof(*self), GFP_ATOMIC); in tipc_mon_create()
621 if (!mon || !self || !dom) { in tipc_mon_create()
623 kfree(self); in tipc_mon_create()
631 mon->self = self; in tipc_mon_create()
632 self->domain = dom; in tipc_mon_create()
633 self->addr = tipc_own_addr(net); in tipc_mon_create()
634 self->is_up = true; in tipc_mon_create()
635 self->is_head = true; in tipc_mon_create()
636 INIT_LIST_HEAD(&self->list); in tipc_mon_create()
647 struct tipc_peer *self; in tipc_mon_delete() local
653 self = get_self(net, bearer_id); in tipc_mon_delete()
656 list_for_each_entry_safe(peer, tmp, &self->list, list) { in tipc_mon_delete()
662 mon->self = NULL; in tipc_mon_delete()
665 kfree(self->domain); in tipc_mon_delete()
666 kfree(self); in tipc_mon_delete()
680 mon->self->addr = tipc_own_addr(net); in tipc_mon_reinit_self()
768 peer = mon->self; in tipc_nl_add_monitor_peer()
781 } while ((peer = peer_nxt(peer)) != mon->self); in tipc_nl_add_monitor_peer()