Lines Matching defs:stopped
845 * (or the stopped state of the ring has changed)
1227 * also check that the ring has not been stopped or locked
1261 int busy = 1, stopped;
1266 stopped = kr->nkr_stopped;
1267 if (unlikely(stopped)) {
1272 * actually stopped, so check another time after
1275 stopped = kr->nkr_stopped;
1276 if (unlikely(stopped)) {
1281 stopped = NM_KR_STOPPED;
1290 if (stopped == NM_KR_STOPPED) {
1306 return stopped;
1309 /* put the ring in the 'stopped' state and wait for the current user (if any) to
1310 * notice. stopped must be either NM_KR_STOPPED or NM_KR_LOCKED
1312 static __inline void nm_kr_stop(struct netmap_kring *kr, int stopped)
1314 kr->nkr_stopped = stopped;
1516 /* set the stopped/enabled status of ring
1521 void netmap_set_ring(struct netmap_adapter *, u_int ring_id, enum txrx, int stopped);
1522 /* set the stopped/enabled status of all rings of the adapter. */
1523 void netmap_set_all_rings(struct netmap_adapter *, int stopped);