Searched refs:max_seq (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/include/linux/ |
D | mm_inline.h | 166 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()
|
D | mmzone.h | 418 unsigned long max_seq; member 478 unsigned long max_seq; member
|
/linux-6.6.21/mm/ |
D | vmscan.c | 3264 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/ |
D | multigen_lru.rst | 84 ``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/ |
D | printk.c | 1507 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/ |
D | libfc.h | 197 u16 max_seq; member
|
/linux-6.6.21/net/mptcp/ |
D | protocol.c | 229 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/ |
D | bnx2fc_hwi.c | 264 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/ |
D | fc_rport.c | 1027 rdata->max_seq = csp_seq; in fc_rport_plogi_resp()
|
/linux-6.6.21/drivers/scsi/qedf/ |
D | qedf_main.c | 1363 conn_info.max_conc_seqs_c3 = fcport->rdata->max_seq; in qedf_offload_connection()
|