Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/misc/cxl/
Dfault.c26 static bool sste_matches(struct cxl_sste *sste, struct copro_slb *slb) in sste_matches() argument
28 return ((sste->vsid_data == cpu_to_be64(slb->vsid)) && in sste_matches()
29 (sste->esid_data == cpu_to_be64(slb->esid))); in sste_matches()
37 struct copro_slb *slb) in find_free_sste() argument
44 if (slb->vsid & SLB_VSID_B_1T) in find_free_sste()
45 hash = (slb->esid >> SID_SHIFT_1T) & mask; in find_free_sste()
47 hash = (slb->esid >> SID_SHIFT) & mask; in find_free_sste()
54 if (sste_matches(sste, slb)) in find_free_sste()
67 static void cxl_load_segment(struct cxl_context *ctx, struct copro_slb *slb) in cxl_load_segment() argument
74 sste = find_free_sste(ctx, slb); in cxl_load_segment()
[all …]