Home
last modified time | relevance | path

Searched refs:max_seq (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/include/linux/
Dmm_inline.h166 unsigned long max_seq = lruvec->lrugen.max_seq; in lru_gen_is_active() local
171 return gen == lru_gen_from_seq(max_seq) || gen == lru_gen_from_seq(max_seq - 1); in lru_gen_is_active()
246 seq = lrugen->max_seq; in lru_gen_add_folio()
250 seq = lrugen->max_seq - 1; in lru_gen_add_folio()
251 else if (reclaiming || lrugen->min_seq[type] + MIN_NR_GENS >= lrugen->max_seq) in lru_gen_add_folio()
Dmmzone.h418 unsigned long max_seq; member
478 unsigned long max_seq; member
/linux-6.6.21/mm/
Dvmscan.c3264 unsigned long max_seq = READ_ONCE((lruvec)->lrugen.max_seq)
3317 return lruvec->lrugen.max_seq - lruvec->lrugen.min_seq[type] + 1; in get_nr_gens()
3542 hist = lru_hist_from_seq(walk->max_seq); in reset_mm_stats()
3605 VM_WARN_ON_ONCE(mm_state->seq + 1 < walk->max_seq); in iterate_mm_list()
3607 if (walk->max_seq <= mm_state->seq) in iterate_mm_list()
3641 reset_bloom_filter(lruvec, walk->max_seq + 1); in iterate_mm_list()
3651 static bool iterate_mm_list_nowalk(struct lruvec *lruvec, unsigned long max_seq) in iterate_mm_list_nowalk() argument
3660 VM_WARN_ON_ONCE(mm_state->seq + 1 < max_seq); in iterate_mm_list_nowalk()
3662 if (max_seq > mm_state->seq) { in iterate_mm_list_nowalk()
3724 unsigned long seq = carryover ? lrugen->min_seq[type] : lrugen->max_seq + 1; in reset_ctrl_pos()
[all …]
/linux-6.6.21/Documentation/mm/
Dmultigen_lru.rst84 ``lrugen->max_seq`` for both anon and file types as they are aged on
115 increments ``max_seq`` when ``max_seq-min_seq+1`` approaches
119 ``max_seq``. The aging uses page table walks and rmap walks to find
122 to scan PTEs, and after each iteration, it increments ``max_seq``. For
126 page mapped by this PTE to ``(max_seq%MAX_NR_GENS)+1``.
236 2. The increment of ``max_seq`` triggers promotion, i.e., the
/linux-6.6.21/kernel/printk/
Dprintk.c1507 static u64 find_first_fitting_seq(u64 start_seq, u64 max_seq, size_t size, in find_first_fitting_seq() argument
1517 if (info.seq >= max_seq) in find_first_fitting_seq()
1526 if (seq < max_seq) in find_first_fitting_seq()
1527 max_seq = seq; in find_first_fitting_seq()
1536 if (len <= size || info.seq >= max_seq) in find_first_fitting_seq()
/linux-6.6.21/include/scsi/
Dlibfc.h197 u16 max_seq; member
/linux-6.6.21/net/mptcp/
Dprotocol.c229 u64 seq, end_seq, max_seq; in mptcp_data_queue_ofo() local
234 max_seq = atomic64_read(&msk->rcv_wnd_sent); in mptcp_data_queue_ofo()
236 pr_debug("msk=%p seq=%llx limit=%llx empty=%d", msk, seq, max_seq, in mptcp_data_queue_ofo()
238 if (after64(end_seq, max_seq)) { in mptcp_data_queue_ofo()
242 (unsigned long long)end_seq - (unsigned long)max_seq, in mptcp_data_queue_ofo()
/linux-6.6.21/drivers/scsi/bnx2fc/
Dbnx2fc_hwi.c264 ofld_req3.tx_total_conc_seqs = rdata->max_seq; in bnx2fc_send_session_ofld_req()
266 ofld_req3.tx_max_conc_seqs_c3 = rdata->max_seq; in bnx2fc_send_session_ofld_req()
/linux-6.6.21/drivers/scsi/libfc/
Dfc_rport.c1027 rdata->max_seq = csp_seq; in fc_rport_plogi_resp()
/linux-6.6.21/drivers/scsi/qedf/
Dqedf_main.c1363 conn_info.max_conc_seqs_c3 = fcport->rdata->max_seq; in qedf_offload_connection()