Lines Matching defs:amount
28 * searching for one in which the amount of total space minus the amount of
149 * @size: The amount of data to write
185 unsigned int amount;
188 amount = size - copied;
189 if (amount > sdp->sd_sb.sb_bsize - o)
190 amount = sdp->sd_sb.sb_bsize - o;
203 if (amount == sdp->sd_jbsize || new)
212 memcpy(bh->b_data + o, buf, amount);
215 buf += amount;
216 copied += amount;
266 * Returns: The amount of data actually copied or the error
288 unsigned int amount;
291 amount = size - copied;
292 if (amount > sdp->sd_sb.sb_bsize - o)
293 amount = sdp->sd_sb.sb_bsize - o;
315 memcpy(buf, bh->b_data + o, amount);
317 buf += (amount/sizeof(__be64));
318 copied += amount;