Searched refs:tp_ptr (Results 1 – 2 of 2) sorted by relevance
192 struct tipc_port *tp_ptr; in tipc_create() local228 tp_ptr = tipc_createport_raw(sk, &dispatch, &wakeupdispatch, in tipc_create()230 if (unlikely(!tp_ptr)) { in tipc_create()243 tipc_sk(sk)->p = tp_ptr; in tipc_create()245 spin_unlock_bh(tp_ptr->lock); in tipc_create()248 tipc_set_portunreturnable(tp_ptr->ref, 1); in tipc_create()250 tipc_set_portunreliable(tp_ptr->ref, 1); in tipc_create()
1234 int tipc_disconnect_port(struct tipc_port *tp_ptr) in tipc_disconnect_port() argument1238 if (tp_ptr->connected) { in tipc_disconnect_port()1239 tp_ptr->connected = 0; in tipc_disconnect_port()1242 &((struct port *)tp_ptr)->subscription); in tipc_disconnect_port()