• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/xfs/

Lines Matching refs:mval

286 	xfs_bmbt_irec_t		*mval,
290 #define xfs_bmap_validate_ret(bno,len,flags,mval,onmap,nmap)
4270 xfs_bmbt_irec_t *mval,
4279 ASSERT(mval[i].br_blockcount > 0);
4281 ASSERT(mval[i].br_startoff >= bno);
4282 ASSERT(mval[i].br_blockcount <= len);
4283 ASSERT(mval[i].br_startoff + mval[i].br_blockcount <=
4286 ASSERT(mval[i].br_startoff < bno + len);
4287 ASSERT(mval[i].br_startoff + mval[i].br_blockcount >
4291 mval[i - 1].br_startoff + mval[i - 1].br_blockcount ==
4292 mval[i].br_startoff);
4294 ASSERT(mval[i].br_startblock != DELAYSTARTBLOCK &&
4295 mval[i].br_startblock != HOLESTARTBLOCK);
4296 ASSERT(mval[i].br_state == XFS_EXT_NORM ||
4297 mval[i].br_state == XFS_EXT_UNWRITTEN);
4326 xfs_bmbt_irec_t *mval, /* output: map values */
4327 int *nmap, /* i/o: mval size/count */
4362 xfs_bmbt_irec_t *orig_mval; /* original value of mval */
4368 orig_mval = mval;
4693 mval->br_startoff = bno;
4694 mval->br_startblock = HOLESTARTBLOCK;
4695 mval->br_blockcount =
4697 mval->br_state = XFS_EXT_NORM;
4698 bno += mval->br_blockcount;
4699 len -= mval->br_blockcount;
4700 mval++;
4714 mval->br_startoff = bno;
4717 mval->br_startblock = DELAYSTARTBLOCK;
4719 mval->br_startblock =
4730 mval->br_blockcount =
4733 mval->br_state = got.br_state;
4734 ASSERT(mval->br_blockcount <= len);
4736 *mval = got;
4737 if (isnullstartblock(mval->br_startblock)) {
4739 mval->br_startblock = DELAYSTARTBLOCK;
4747 if (wr && mval->br_state == XFS_EXT_UNWRITTEN &&
4752 ASSERT(mval->br_blockcount <= len);
4760 mval->br_state = XFS_EXT_NORM;
4761 error = xfs_bmap_add_extent(ip, lastx, &cur, mval,
4776 if (mval->br_blockcount < len)
4781 ((mval->br_startoff + mval->br_blockcount) <= end));
4783 (mval->br_blockcount <= len) ||
4784 (mval->br_startoff < obno));
4785 bno = mval->br_startoff + mval->br_blockcount;
4787 if (n > 0 && mval->br_startoff == mval[-1].br_startoff) {
4788 ASSERT(mval->br_startblock == mval[-1].br_startblock);
4789 ASSERT(mval->br_blockcount > mval[-1].br_blockcount);
4790 ASSERT(mval->br_state == mval[-1].br_state);
4791 mval[-1].br_blockcount = mval->br_blockcount;
4792 mval[-1].br_state = mval->br_state;
4793 } else if (n > 0 && mval->br_startblock != DELAYSTARTBLOCK &&
4794 mval[-1].br_startblock != DELAYSTARTBLOCK &&
4795 mval[-1].br_startblock != HOLESTARTBLOCK &&
4796 mval->br_startblock ==
4797 mval[-1].br_startblock + mval[-1].br_blockcount &&
4799 mval[-1].br_state == mval->br_state)) {
4800 ASSERT(mval->br_startoff ==
4801 mval[-1].br_startoff + mval[-1].br_blockcount);
4802 mval[-1].br_blockcount += mval->br_blockcount;
4804 mval->br_startblock == DELAYSTARTBLOCK &&
4805 mval[-1].br_startblock == DELAYSTARTBLOCK &&
4806 mval->br_startoff ==
4807 mval[-1].br_startoff + mval[-1].br_blockcount) {
4808 mval[-1].br_blockcount += mval->br_blockcount;
4809 mval[-1].br_state = mval->br_state;
4811 ((mval->br_startoff + mval->br_blockcount) <=
4813 mval++;