Lines Matching refs:amount
28 * searching for one in which the amount of total space minus the amount of
148 * @size: The amount of data to write
184 unsigned int amount;
187 amount = size - copied;
188 if (amount > sdp->sd_sb.sb_bsize - o)
189 amount = sdp->sd_sb.sb_bsize - o;
202 if (amount == sdp->sd_jbsize || new)
211 memcpy(bh->b_data + o, buf, amount);
214 buf += amount;
215 copied += amount;
265 * Returns: The amount of data actually copied or the error
287 unsigned int amount;
290 amount = size - copied;
291 if (amount > sdp->sd_sb.sb_bsize - o)
292 amount = sdp->sd_sb.sb_bsize - o;
314 memcpy(buf, bh->b_data + o, amount);
316 buf += (amount/sizeof(__be64));
317 copied += amount;