Lines Matching refs:valid
31 * as you hold a ref on the container you can trust that the socket is valid
489 unsigned valid, int err)
505 mlog_bug_on_msg(err && valid, "err %d valid %u\n", err, valid);
506 mlog_bug_on_msg(valid && !sc, "valid %u sc %p\n", valid, sc);
508 if (was_valid && !valid && err == 0)
511 mlog(ML_CONN, "node %u sc: %p -> %p, valid %u -> %u, err %d -> %d\n",
512 o2net_num_from_nn(nn), nn->nn_sc, sc, nn->nn_sc_valid, valid,
516 nn->nn_sc_valid = valid ? 1 : 0;
529 if (was_valid && !valid) {
536 if (!was_valid && valid) {
545 /* trigger the connecting worker func as long as we're not valid,
549 if (!valid && o2net_wq) {
1315 /* set valid and queue the idle timers only if it hasn't been
1459 * rx path will see the response and mark the sc valid */
1544 * have valid set. This includes seeing hb come up, losing a connection,
1959 * sk->sk_user_data is not a valid function pointer.