Home
last modified time | relevance | path

Searched refs:pageset_count (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Duser_exp_rcv.c295 unsigned int ngroups, pageidx = 0, pageset_count, in hfi1_user_exp_rcv_setup() local
343 pageset_count = fd->tid_limit - fd->tid_used; in hfi1_user_exp_rcv_setup()
345 pageset_count = tidbuf->n_psets; in hfi1_user_exp_rcv_setup()
346 fd->tid_used += pageset_count; in hfi1_user_exp_rcv_setup()
349 if (!pageset_count) { in hfi1_user_exp_rcv_setup()
354 ngroups = pageset_count / dd->rcv_entries.group_size; in hfi1_user_exp_rcv_setup()
355 tidlist = kcalloc(pageset_count, sizeof(*tidlist), GFP_KERNEL); in hfi1_user_exp_rcv_setup()
397 while (pageidx < pageset_count) { in hfi1_user_exp_rcv_setup()
419 unsigned use = min_t(unsigned, pageset_count - pageidx, in hfi1_user_exp_rcv_setup()
439 if (pageidx >= pageset_count) in hfi1_user_exp_rcv_setup()
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Duser_exp_rcv.c252 unsigned int ngroups, pageset_count, in hfi1_user_exp_rcv_setup() local
300 pageset_count = fd->tid_limit - fd->tid_used; in hfi1_user_exp_rcv_setup()
302 pageset_count = tidbuf->n_psets; in hfi1_user_exp_rcv_setup()
303 fd->tid_used += pageset_count; in hfi1_user_exp_rcv_setup()
306 if (!pageset_count) { in hfi1_user_exp_rcv_setup()
311 ngroups = pageset_count / dd->rcv_entries.group_size; in hfi1_user_exp_rcv_setup()
312 tidlist = kcalloc(pageset_count, sizeof(*tidlist), GFP_KERNEL); in hfi1_user_exp_rcv_setup()
353 while (tididx < pageset_count) { in hfi1_user_exp_rcv_setup()
375 unsigned use = min_t(unsigned, pageset_count - tididx, in hfi1_user_exp_rcv_setup()
394 if (tididx >= pageset_count) in hfi1_user_exp_rcv_setup()
[all...]

Completed in 3 milliseconds