Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c195 unsigned int left_len_in_pg; in fill_ext_sge_inl_data() local
209 left_len_in_pg = hr_hw_page_align((uintptr_t)dseg) - (uintptr_t)dseg; in fill_ext_sge_inl_data()
219 if (len <= left_len_in_pg) { in fill_ext_sge_inl_data()
228 left_len_in_pg -= len; in fill_ext_sge_inl_data()
233 memcpy(dseg, addr, left_len_in_pg); in fill_ext_sge_inl_data()
235 len -= left_len_in_pg; in fill_ext_sge_inl_data()
236 addr += left_len_in_pg; in fill_ext_sge_inl_data()
237 idx += left_len_in_pg / HNS_ROCE_SGE_SIZE; in fill_ext_sge_inl_data()
240 left_len_in_pg = 1 << HNS_HW_PAGE_SHIFT; in fill_ext_sge_inl_data()