Lines Matching refs:pageset_count
259 unsigned int ngroups, pageidx = 0, pageset_count, in hfi1_user_exp_rcv_setup() local
306 pageset_count = fd->tid_limit - fd->tid_used; in hfi1_user_exp_rcv_setup()
308 pageset_count = tidbuf->n_psets; in hfi1_user_exp_rcv_setup()
309 fd->tid_used += pageset_count; in hfi1_user_exp_rcv_setup()
312 if (!pageset_count) { in hfi1_user_exp_rcv_setup()
317 ngroups = pageset_count / dd->rcv_entries.group_size; in hfi1_user_exp_rcv_setup()
318 tidlist = kcalloc(pageset_count, sizeof(*tidlist), GFP_KERNEL); in hfi1_user_exp_rcv_setup()
360 while (pageidx < pageset_count) { in hfi1_user_exp_rcv_setup()
382 unsigned use = min_t(unsigned, pageset_count - pageidx, in hfi1_user_exp_rcv_setup()
402 if (pageidx >= pageset_count) in hfi1_user_exp_rcv_setup()
429 fd->tid_used -= pageset_count - tididx; in hfi1_user_exp_rcv_setup()
473 pageset_count = 0; /* nothing left reserved */ in hfi1_user_exp_rcv_setup()
476 fd->tid_used -= pageset_count; in hfi1_user_exp_rcv_setup()