Searched refs:sleep_flag (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/dev/mps/ |
H A D | mps.c | 81 static int mps_diag_reset(struct mps_softc *sc, int sleep_flag); 84 static int mps_message_unit_reset(struct mps_softc *sc, int sleep_flag); 104 static int mps_wait_db_ack(struct mps_softc *sc, int timeout, int sleep_flag); 149 mps_diag_reset(struct mps_softc *sc,int sleep_flag) in mps_diag_reset() argument 165 sleep_flag = NO_SLEEP; in mps_diag_reset() 167 mps_dprint(sc, MPS_INIT, "sequence start, sleep_flag= %d\n", sleep_flag); in mps_diag_reset() 176 if (mtx_owned(&sc->mps_mtx) && sleep_flag == CAN_SLEEP) in mps_diag_reset() 179 else if (sleep_flag == CAN_SLEEP) in mps_diag_reset() 210 if (mtx_owned(&sc->mps_mtx) && sleep_flag == CAN_SLEEP) in mps_diag_reset() 213 else if (sleep_flag == CAN_SLEEP) in mps_diag_reset() [all …]
|
H A D | mpsvar.h | 765 int sleep_flag);
|
/freebsd/sys/dev/mpr/ |
H A D | mpr.c | 84 static int mpr_diag_reset(struct mpr_softc *sc, int sleep_flag); 87 static int mpr_message_unit_reset(struct mpr_softc *sc, int sleep_flag); 108 static int mpr_wait_db_ack(struct mpr_softc *sc, int timeout, int sleep_flag); 152 mpr_diag_reset(struct mpr_softc *sc,int sleep_flag) in mpr_diag_reset() argument 168 sleep_flag = NO_SLEEP; in mpr_diag_reset() 170 mpr_dprint(sc, MPR_INIT, "sequence start, sleep_flag=%d\n", sleep_flag); in mpr_diag_reset() 179 if (mtx_owned(&sc->mpr_mtx) && sleep_flag == CAN_SLEEP) in mpr_diag_reset() 182 else if (sleep_flag == CAN_SLEEP) in mpr_diag_reset() 213 if (mtx_owned(&sc->mpr_mtx) && sleep_flag == CAN_SLEEP) in mpr_diag_reset() 216 else if (sleep_flag == CAN_SLEEP) in mpr_diag_reset() [all …]
|
H A D | mprvar.h | 846 int sleep_flag);
|
/freebsd/sys/rpc/ |
H A D | clnt_vc.c | 140 int error, interrupted, one = 1, sleep_flag; in clnt_vc_create() local 163 sleep_flag = PSOCK; in clnt_vc_create() 165 sleep_flag |= PCATCH; in clnt_vc_create() 169 sleep_flag, "connec", 0); in clnt_vc_create()
|