Searched refs:mx_sc_elems (Results 1 – 1 of 1) sorted by relevance
1861 int ret_sz = 0, i, k, rem_sz, num, mx_sc_elems; in sg_build_indirect() local1877 mx_sc_elems = sg_build_sgat(schp, sfp, sg_tablesize); in sg_build_indirect()1878 if (mx_sc_elems < 0) in sg_build_indirect()1879 return mx_sc_elems; /* most likely -ENOMEM */ in sg_build_indirect()1894 for (k = 0, rem_sz = blk_size; rem_sz > 0 && k < mx_sc_elems; in sg_build_indirect()