Lines Matching refs:buf_pos
658 struct smc_buf_desc *buf_pos; in _smc_llc_get_next_rmb() local
661 buf_pos = list_first_entry_or_null(&lgr->rmbs[*buf_lst], in _smc_llc_get_next_rmb()
663 if (buf_pos) in _smc_llc_get_next_rmb()
664 return buf_pos; in _smc_llc_get_next_rmb()
673 struct smc_buf_desc *buf_pos) in smc_llc_get_next_rmb() argument
677 if (!buf_pos || list_is_last(&buf_pos->list, &lgr->rmbs[*buf_lst])) { in smc_llc_get_next_rmb()
681 buf_next = list_next_entry(buf_pos, list); in smc_llc_get_next_rmb()
695 int *buf_lst, struct smc_buf_desc **buf_pos) in smc_llc_add_link_cont() argument
719 while (*buf_pos && !(*buf_pos)->used) in smc_llc_add_link_cont()
720 *buf_pos = smc_llc_get_next_rmb(lgr, buf_lst, *buf_pos); in smc_llc_add_link_cont()
721 if (!*buf_pos) { in smc_llc_add_link_cont()
727 rmb = *buf_pos; in smc_llc_add_link_cont()
735 *buf_pos = smc_llc_get_next_rmb(lgr, buf_lst, *buf_pos); in smc_llc_add_link_cont()
754 struct smc_buf_desc *buf_pos; in smc_llc_cli_rkey_exchange() local
761 buf_pos = smc_llc_get_first_rmb(lgr, &buf_lst); in smc_llc_cli_rkey_exchange()
781 &buf_lst, &buf_pos); in smc_llc_cli_rkey_exchange()
1087 struct smc_buf_desc *buf_pos; in smc_llc_srv_rkey_exchange() local
1094 buf_pos = smc_llc_get_first_rmb(lgr, &buf_lst); in smc_llc_srv_rkey_exchange()
1097 &buf_lst, &buf_pos); in smc_llc_srv_rkey_exchange()