Home
last modified time | relevance | path

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

/Linux-v5.4/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);
/Linux-v5.4/drivers/infiniband/core/
Dfmr_pool.c394 int list_len, in ib_fmr_pool_map_phys() argument
402 if (list_len < 1 || list_len > pool->max_pages) in ib_fmr_pool_map_phys()
408 list_len, in ib_fmr_pool_map_phys()
432 result = ib_map_phys_fmr(fmr->fmr, page_list, list_len, in ib_fmr_pool_map_phys()
450 fmr->page_list_len = list_len; in ib_fmr_pool_map_phys()
451 memcpy(fmr->page_list, page_list, list_len * sizeof(*page_list)); in ib_fmr_pool_map_phys()
/Linux-v5.4/net/sched/
Dematch.c303 int idx, list_len, matches_len, err; in tcf_em_tree_validate() local
329 list_len = nla_len(rt_list); in tcf_em_tree_validate()
345 for (idx = 0; nla_ok(rt_match, list_len); idx++) { in tcf_em_tree_validate()
363 rt_match = nla_next(rt_match, &list_len); in tcf_em_tree_validate()
/Linux-v5.4/include/rdma/
Dib_fmr_pool.h88 int list_len,
Drdma_vt.h70 u32 list_len; member
Dib_verbs.h2421 int (*map_phys_fmr)(struct ib_fmr *fmr, u64 *page_list, int list_len,
4191 u64 *page_list, int list_len, in ib_map_phys_fmr() argument
4194 return fmr->device->ops.map_phys_fmr(fmr, page_list, list_len, iova); in ib_map_phys_fmr()
/Linux-v5.4/drivers/infiniband/sw/rdmavt/
Dmr.h89 int list_len, u64 iova);
Dmr.c785 int list_len, u64 iova) in rvt_map_phys_fmr() argument
799 if (list_len > fmr->mr.max_segs) in rvt_map_phys_fmr()
807 fmr->mr.length = list_len * ps; in rvt_map_phys_fmr()
810 for (i = 0; i < list_len; i++) { in rvt_map_phys_fmr()
/Linux-v5.4/drivers/dma/
Dimg-mdc-dma.c111 unsigned int list_len; member
326 mdesc->list_len++; in mdc_prep_dma_memcpy()
431 mdesc->list_len++; in mdc_prep_dma_cyclic()
509 mdesc->list_len++; in mdc_prep_slave_sg()
792 mdesc->list_cmds_done %= mdesc->list_len; in mdc_chan_irq()
795 } else if (mdesc->list_cmds_done == mdesc->list_len) { in mdc_chan_irq()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/
Daction.c327 nfp_fl_push_geneve_options(struct nfp_fl_payload *nfp_fl, int *list_len, in nfp_fl_push_geneve_options() argument
363 if (*list_len + tot_push_len > NFP_FL_MAX_A_SIZ) { in nfp_fl_push_geneve_options()
368 act_start = *list_len; in nfp_fl_push_geneve_options()
369 *list_len += tot_push_len; in nfp_fl_push_geneve_options()
/Linux-v5.4/drivers/net/wireless/marvell/libertas/
Dmain.c313 static inline int mac_in_list(unsigned char *list, int list_len, in mac_in_list() argument
316 while (list_len) { in mac_in_list()
320 list_len--; in mac_in_list()
/Linux-v5.4/fs/cifs/
Dcifssmb.c6218 int list_len; in CIFSSMBQAllEAs() local
6234 list_len = in CIFSSMBQAllEAs()
6237 list_len++; /* trailing null */ in CIFSSMBQAllEAs()
6238 list_len *= 2; in CIFSSMBQAllEAs()
6240 list_len = copy_path_name(pSMB->FileName, searchName); in CIFSSMBQAllEAs()
6243 params = 2 /* level */ + 4 /* reserved */ + list_len /* includes NUL */; in CIFSSMBQAllEAs()
6298 list_len = le32_to_cpu(ea_response_data->list_len); in CIFSSMBQAllEAs()
6299 cifs_dbg(FYI, "ea length %d\n", list_len); in CIFSSMBQAllEAs()
6300 if (list_len <= 8) { in CIFSSMBQAllEAs()
6310 if ((char *)ea_response_data + list_len > end_of_smb) { in CIFSSMBQAllEAs()
[all …]
Dcifspdu.h2626 unsigned long list_len; member
2641 __le32 list_len; member
/Linux-v5.4/sound/soc/intel/atom/sst/
Dsst.h266 int list_len; member
Dsst.c369 ctx->fw_sg_list.list_len = 0; in sst_context_cleanup()
/Linux-v5.4/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()
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dmad.c135 ibp->rvp.trap_lists[i].list_len = 0; in cleanup_traps()
193 if (trap_list->list_len < RVT_MAX_TRAP_LEN) { in check_and_add_trap()
194 trap_list->list_len++; in check_and_add_trap()
248 trap_list->list_len--; in subn_handle_opa_trap_repress()
/Linux-v5.4/drivers/net/wireless/ath/ath6kl/
Dhtc_mbox.c1095 u16 srvc_pri_order[], int list_len) in ath6kl_htc_set_credit_dist() argument
1105 for (i = 0; i < list_len; i++) { in ath6kl_htc_set_credit_dist()
/Linux-v5.4/fs/nfs/
Dnfs4proc.c7319 nfs4_listxattr_nfs4_label(struct inode *inode, char *list, size_t list_len) in nfs4_listxattr_nfs4_label() argument
7324 len = security_inode_listsecurity(inode, list, list_len); in nfs4_listxattr_nfs4_label()
7325 if (list_len && len > list_len) in nfs4_listxattr_nfs4_label()
7340 nfs4_listxattr_nfs4_label(struct inode *inode, char *list, size_t list_len) in nfs4_listxattr_nfs4_label() argument