Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c196 unsigned int left_len_in_pg; in fill_ext_sge_inl_data() local
210 left_len_in_pg = hr_hw_page_align((uintptr_t)dseg) - (uintptr_t)dseg; in fill_ext_sge_inl_data()
220 if (len <= left_len_in_pg) { in fill_ext_sge_inl_data()
229 left_len_in_pg -= len; in fill_ext_sge_inl_data()
234 memcpy(dseg, addr, left_len_in_pg); in fill_ext_sge_inl_data()
236 len -= left_len_in_pg; in fill_ext_sge_inl_data()
237 addr += left_len_in_pg; in fill_ext_sge_inl_data()
238 idx += left_len_in_pg / HNS_ROCE_SGE_SIZE; in fill_ext_sge_inl_data()
241 left_len_in_pg = 1 << HNS_HW_PAGE_SHIFT; in fill_ext_sge_inl_data()