Lines Matching defs: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;
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;