Searched refs:sleep_flag (Results 1 - 4 of 4) sorted by relevance

/freebsd-10.0-release/sys/dev/mps/
H A Dmps.c80 static int mps_diag_reset(struct mps_softc *sc, int sleep_flag);
82 static int mps_message_unit_reset(struct mps_softc *sc, int sleep_flag);
101 static int mps_wait_db_ack(struct mps_softc *sc, int timeout, int sleep_flag);
130 * sleep_flag can be either CAN_SLEEP or NO_SLEEP.
140 mps_diag_reset(struct mps_softc *sc,int sleep_flag) argument
154 sleep_flag = NO_SLEEP;
163 if (mtx_owned(&sc->mps_mtx) && sleep_flag == CAN_SLEEP)
166 else if (sleep_flag == CAN_SLEEP)
188 if (mtx_owned(&sc->mps_mtx) && sleep_flag == CAN_SLEEP)
191 else if (sleep_flag
210 mps_message_unit_reset(struct mps_softc *sc, int sleep_flag) argument
771 mps_wait_db_ack(struct mps_softc *sc, int timeout, int sleep_flag) argument
2479 mps_wait_command(struct mps_softc *sc, struct mps_command *cm, int timeout, int sleep_flag) argument
[all...]
H A Dmpsvar.h701 int sleep_flag);
H A Dmps_mapping.c1593 * @sleep_flag: Flag indicating whether this function can sleep or not
1598 mps_mapping_check_devices(struct mps_softc *sc, int sleep_flag) argument
1612 cntdn = (sleep_flag == CAN_SLEEP) ? 1000*timeout : 2000*timeout;
1616 if (sleep_flag == CAN_SLEEP)
/freebsd-10.0-release/sys/rpc/
H A Dclnt_vc.c144 int error, interrupted, one = 1, sleep_flag; local
163 sleep_flag = PSOCK;
165 sleep_flag |= PCATCH;
169 sleep_flag, "connec", 0);

Completed in 131 milliseconds