Lines Matching defs:stopped
798 * (or the stopped state of the ring has changed)
1180 * also check that the ring has not been stopped or locked
1214 int busy = 1, stopped;
1219 stopped = kr->nkr_stopped;
1220 if (unlikely(stopped)) {
1225 * actually stopped, so check another time after
1228 stopped = kr->nkr_stopped;
1229 if (unlikely(stopped)) {
1234 stopped = NM_KR_STOPPED;
1243 if (stopped == NM_KR_STOPPED) {
1259 return stopped;
1262 /* put the ring in the 'stopped' state and wait for the current user (if any) to
1263 * notice. stopped must be either NM_KR_STOPPED or NM_KR_LOCKED
1265 static __inline void nm_kr_stop(struct netmap_kring *kr, int stopped)
1267 kr->nkr_stopped = stopped;
1473 /* set the stopped/enabled status of ring
1478 void netmap_set_ring(struct netmap_adapter *, u_int ring_id, enum txrx, int stopped);
1479 /* set the stopped/enabled status of all rings of the adapter. */
1480 void netmap_set_all_rings(struct netmap_adapter *, int stopped);