Searched refs:sg_cnt (Results 1 – 1 of 1) sorted by relevance
884 int sg_cnt; in calc_sg_cnt() local889 sg_cnt = need_padding(buf_len) ? 1 : 0; in calc_sg_cnt()892 sg_cnt += PAGE_ALIGN(buf_len) >> PAGE_SHIFT; in calc_sg_cnt()894 sg_cnt++; in calc_sg_cnt()897 return sg_cnt; in calc_sg_cnt()904 int sg_cnt; in calc_sg_cnt_cursor() local909 sg_cnt = need_padding(data_len) ? 1 : 0; in calc_sg_cnt_cursor()912 sg_cnt++; in calc_sg_cnt_cursor()917 return sg_cnt; in calc_sg_cnt_cursor()980 int sg_cnt; in setup_message_sgs() local[all …]