Home
last modified time | relevance | path

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

/drivers/infiniband/hw/mthca/
Dmthca_mr.c255 int start_index, u64 *buffer_list, int list_len) in __mthca_write_mtt() argument
267 while (list_len > 0) { in __mthca_write_mtt()
272 for (i = 0; i < list_len && i < MTHCA_MAILBOX_SIZE / 8 - 2; ++i) in __mthca_write_mtt()
289 list_len -= i; in __mthca_write_mtt()
317 u64 *buffer_list, int list_len) in mthca_tavor_write_mtt_seg() argument
324 for (i = 0; i < list_len; ++i) in mthca_tavor_write_mtt_seg()
331 u64 *buffer_list, int list_len) in mthca_arbel_write_mtt_seg() argument
339 BUG_ON(s / PAGE_SIZE != (s + list_len * sizeof(u64) - 1) / PAGE_SIZE); in mthca_arbel_write_mtt_seg()
349 list_len * sizeof (u64), DMA_TO_DEVICE); in mthca_arbel_write_mtt_seg()
351 for (i = 0; i < list_len; ++i) in mthca_arbel_write_mtt_seg()
[all …]
Dmthca_dev.h470 int start_index, u64 *buffer_list, int list_len);
477 int list_len, u64 iova, u64 total_size,
484 int list_len, u64 iova);
487 int list_len, u64 iova);
/drivers/infiniband/core/
Dfmr_pool.c436 int list_len, in ib_fmr_pool_map_phys() argument
444 if (list_len < 1 || list_len > pool->max_pages) in ib_fmr_pool_map_phys()
450 list_len, in ib_fmr_pool_map_phys()
474 result = ib_map_phys_fmr(fmr->fmr, page_list, list_len, in ib_fmr_pool_map_phys()
492 fmr->page_list_len = list_len; in ib_fmr_pool_map_phys()
493 memcpy(fmr->page_list, page_list, list_len * sizeof(*page_list)); in ib_fmr_pool_map_phys()
/drivers/infiniband/hw/ipath/
Dipath_mr.c353 int list_len, u64 iova) in ipath_map_phys_fmr() argument
362 if (list_len > fmr->mr.max_segs) { in ipath_map_phys_fmr()
371 fmr->mr.length = list_len * ps; in ipath_map_phys_fmr()
375 for (i = 0; i < list_len; i++) { in ipath_map_phys_fmr()
Dipath_verbs.h836 int list_len, u64 iova);
/drivers/infiniband/hw/qib/
Dqib_mr.c441 int list_len, u64 iova) in qib_map_phys_fmr() argument
454 if (list_len > fmr->mr.max_segs) { in qib_map_phys_fmr()
463 fmr->mr.length = list_len * ps; in qib_map_phys_fmr()
466 for (i = 0; i < list_len; i++) { in qib_map_phys_fmr()
Dqib_verbs.h1014 int list_len, u64 iova);
/drivers/infiniband/hw/ehca/
Dehca_mrmw.h108 int list_len);
Dehca_mrmw.c860 int list_len, in ehca_map_phys_fmr() argument
877 ret = ehca_fmr_check_page_list(e_fmr, page_list, list_len); in ehca_map_phys_fmr()
896 pginfo.num_kpages = list_len; in ehca_map_phys_fmr()
899 list_len * e_fmr->fmr_page_size / pginfo.hwpage_size; in ehca_map_phys_fmr()
906 list_len * e_fmr->fmr_page_size, in ehca_map_phys_fmr()
920 "iova=%llx", ret, fmr, page_list, list_len, iova); in ehca_map_phys_fmr()
1826 int list_len) in ehca_fmr_check_page_list() argument
1831 if ((list_len == 0) || (list_len > e_fmr->fmr_max_pages)) { in ehca_fmr_check_page_list()
1834 list_len, e_fmr->fmr_max_pages, e_fmr); in ehca_fmr_check_page_list()
1840 for (i = 0; i < list_len; i++) { in ehca_fmr_check_page_list()
Dehca_iverbs.h110 u64 *page_list, int list_len, u64 iova);
/drivers/net/wireless/libertas/
Dmain.c326 static inline int mac_in_list(unsigned char *list, int list_len, in mac_in_list() argument
329 while (list_len) { in mac_in_list()
333 list_len--; in mac_in_list()
/drivers/block/
Dnvme-scsi.c2885 u16 ndesc, list_len; in nvme_trans_unmap() local
2888 list_len = GET_U16_FROM_CDB(cmd, UNMAP_CDB_PARAM_LIST_LENGTH_OFFSET); in nvme_trans_unmap()
2889 if (!list_len) in nvme_trans_unmap()
2892 plist = kmalloc(list_len, GFP_KERNEL); in nvme_trans_unmap()
2896 res = nvme_trans_copy_from_user(hdr, plist, list_len); in nvme_trans_unmap()
/drivers/net/wireless/
Drndis_wlan.c2970 int list_len, expected_len, i; in rndis_wlan_pmkid_cand_list_indication() local
2979 list_len = le32_to_cpu(indication->u.cand_list.num_candidates) * in rndis_wlan_pmkid_cand_list_indication()
2981 expected_len = sizeof(struct ndis_80211_pmkid_cand_list) + list_len + in rndis_wlan_pmkid_cand_list_indication()
/drivers/net/wireless/ath/ath6kl/
Dhtc_mbox.c1101 u16 srvc_pri_order[], int list_len) in ath6kl_htc_set_credit_dist() argument
1111 for (i = 0; i < list_len; i++) { in ath6kl_htc_set_credit_dist()