Searched refs:congested (Results 1 - 17 of 17) sorted by relevance

/linux-master/drivers/md/bcache/
H A Dio.c151 int congested = atomic_read(&c->congested); local
158 ms = min(ms, CONGESTED_MAX + congested);
159 atomic_sub(ms, &c->congested);
160 } else if (congested < 0)
161 atomic_inc(&c->congested);
H A Drequest.c321 * Congested? Return 0 (not congested) or the limit (in sectors)
336 i += atomic_read(&c->congested);
367 unsigned int sectors, congested; local
410 congested = bch_get_congested(c);
411 if (!congested && !dc->sequential_cutoff)
448 if (congested && sectors >= congested) {
H A Dsysfs.c104 read_attribute(congested); variable
774 sysfs_hprint(congested,
H A Dbcache.h705 atomic_t congested; member in struct:cache_set
/linux-master/include/linux/
H A Dpktcdvd.h179 bool congested; /* Someone is waiting for bio_queue_size member in struct:pktcdvd_device
/linux-master/net/sunrpc/
H A Dsysfs.c172 closing, congested, cwnd_wait, write_space, offline, remove; local
184 congested = test_bit(XPRT_CONGESTED, &xprt->state);
198 congested ? "CONGESTED" : "",
/linux-master/drivers/crypto/caam/
H A Dqi.c541 static void cgr_cb(struct qman_portal *qm, struct qman_cgr *cgr, int congested) argument
543 caam_congested = congested;
545 if (congested) {
/linux-master/fs/bcachefs/
H A Dio_read.c36 s64 congested; local
51 congested = atomic_read(&ca->congested);
54 congested -= (now - last) >> 12;
56 total += max(congested, 0LL);
H A Dsysfs.c163 read_attribute(congested); variable
941 sysfs_printf(congested, "%u%%",
942 clamp(atomic_read(&ca->congested), 0, CONGESTED_MAX)
H A Dio_write.c50 * bump up congested by approximately latency_over * 4 /
54 if (atomic_read(&ca->congested) < CONGESTED_MAX)
57 &ca->congested);
60 } else if (atomic_read(&ca->congested) > 0) {
61 atomic_dec(&ca->congested);
H A Dbcachefs.h605 atomic_t congested; member in struct:bch_dev
/linux-master/drivers/block/drbd/
H A Ddrbd_req.c988 bool congested = false; local
1012 congested = true;
1017 congested = true;
1020 if (congested) {
/linux-master/drivers/block/
H A Dpktcdvd.c1210 if (pd->congested &&
1212 pd->congested = false;
1213 wake_up_var(&pd->congested);
2392 init_wait_var_entry(&wqe, &pd->congested, 0);
2394 prepare_to_wait_event(__var_waitqueue(&pd->congested),
2399 pd->congested = true;
/linux-master/include/soc/fsl/
H A Dqman.h777 * 'congested' is non-zero on congestion-entry, and zero on congestion-exit.
780 struct qman_cgr *cgr, int congested);
1186 * @result: returns 'cgr's congestion status, 1 (true) if congested
/linux-master/net/netlink/
H A Daf_netlink.c1425 int congested; member in struct:netlink_broadcast_data
1505 p->congested |= val;
1531 info.congested = 0;
1557 if (info.congested && gfpflags_allow_blocking(allocation))
/linux-master/mm/
H A Dvmscan.c166 unsigned int congested; member in struct:scan_control::__anon1347
1075 * Treat this folio as congested if folios are cycling
1968 sc->nr.congested += stat.nr_congested;
5959 * Tag a node/memcg as congested if all the dirty pages were marked
5960 * for writeback and immediate reclaim (counted in nr.congested).
5965 if (sc->nr.dirty && sc->nr.dirty == sc->nr.congested) {
5975 * node is congested. Allow kswapd to continue until it
6628 /* Clear pgdat state for congested, dirty or under writeback. */
/linux-master/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth.c87 * - avoiding the device staying congested for a prolonged time (risking
809 * Stops the device's egress queues while they are congested and
810 * wakes them upon exiting congested state.
814 int congested)
819 if (congested) {
813 dpaa_eth_cgscn(struct qman_portal *qm, struct qman_cgr *cgr, int congested) argument

Completed in 417 milliseconds