Searched refs:nblks (Results 1 - 12 of 12) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/boot/utils/
H A Dmktree.c44 int nblks, i; local
59 nblks = (st.st_size + IMGBLK) / IMGBLK;
73 bt.bb_num_512blocks = htonl(nblks);
116 nblks -= (64 * 1024) / IMGBLK;
125 while (nblks-- > 0) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/boot/
H A Dmktree.c44 int nblks, i; local
59 nblks = (st.st_size + IMGBLK) / IMGBLK;
71 bt.bb_num_512blocks = htonl(nblks);
114 nblks -= (64 * 1024) / IMGBLK;
123 while (nblks-- > 0) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/quota/
H A Dxfs_trans_dquot.c613 long nblks,
663 cmn_err(CE_DEBUG, "BLK Res: nblks=%ld + resbcount=%Ld"
664 " > hardlimit=%Ld?", nblks, *resbcountp, hardlimit);
666 if (nblks > 0) {
670 * nblks.
673 (hardlimit <= nblks + *resbcountp)) {
679 (softlimit <= nblks + *resbcountp)) {
715 (*resbcountp) += (xfs_qcnt_t)nblks;
729 if (nblks != 0)
732 nblks);
609 xfs_trans_dqresv( xfs_trans_t *tp, xfs_mount_t *mp, xfs_dquot_t *dqp, long nblks, long ninos, uint flags) argument
764 xfs_trans_reserve_quota_bydquots( xfs_trans_t *tp, xfs_mount_t *mp, xfs_dquot_t *udqp, xfs_dquot_t *gdqp, long nblks, long ninos, uint flags) argument
819 xfs_trans_reserve_quota_nblks( xfs_trans_t *tp, xfs_mount_t *mp, xfs_inode_t *ip, long nblks, long ninos, uint flags) argument
[all...]
H A Dxfs_qm.c1669 xfs_qcnt_t nblks,
1680 if (nblks) {
1681 be64_add(&dqp->q_core.d_bcount, nblks);
1682 dqp->q_res_bcount += nblks;
1747 xfs_qcnt_t nblks, rtblks; local
1792 nblks = (xfs_qcnt_t)ip->i_d.di_nblocks;
1806 nblks = (xfs_qcnt_t)ip->i_d.di_nblocks - rtblks;
1831 xfs_qm_quotacheck_dqadjust(udqp, nblks, rtblks);
1836 xfs_qm_quotacheck_dqadjust(gdqp, nblks, rtblks);
1667 xfs_qm_quotacheck_dqadjust( xfs_dquot_t *dqp, xfs_qcnt_t nblks, xfs_qcnt_t rtblks) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jfs/
H A Djfs_extent.c525 s64 nb, nblks, daddr, max; local
538 nb = nblks = (max > nbperpage) ? max : nbperpage;
540 nb = nblks = *nblocks;
551 nb = min(nblks, extRoundDown(nb));
601 * nblks - number of blocks within the extents current allocation.
615 s64 blkno, s64 nblks, s64 * newnblks, s64 * newblkno)
620 if ((rc = dbExtend(ip, blkno, nblks, *newnblks - nblks)) == 0) {
614 extBrealloc(struct inode *ip, s64 blkno, s64 nblks, s64 * newnblks, s64 * newblkno) argument
H A Djfs_dmap.c420 int nblks, dbitno, wbitno, rbits; local
451 for (rem = nblocks; rem > 0; rem -= nblks, blkno += nblks) {
473 nblks = min(rem, (s64)BPERDMAP - dbitno);
482 for (rbits = nblks; rbits > 0;
H A Djfs_xtree.c2846 int nb, npages, nblks; local
2968 nblks = nb >> JFS_IP(ip->i_sb)->l2bsize;
2969 cmSetXD(ip, cp, pno, dxaddr, nblks);
2974 dxaddr += nblks;
2975 sxaddr += nblks;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/
H A Dxfs_quota.h348 #define XFS_TRANS_RESERVE_QUOTA_NBLKS(mp, tp, ip, nblks, ninos, fl) \
349 XFS_DQTRXOP(mp, tp, qo_reserve_quota_nblks, mp, ip, nblks, ninos, fl)
355 #define XFS_TRANS_UNRESERVE_QUOTA_NBLKS(mp, tp, ip, nblks, ninos, flags) \
356 XFS_TRANS_RESERVE_QUOTA_NBLKS(mp, tp, ip, -(nblks), -(ninos), flags)
H A Dxfs_attr.c191 uint nblks; local
237 nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK);
241 nblks <<= 1;
248 nblks += dblocks;
249 nblks += XFS_NEXTENTADD_SPACE_RES(mp, dblocks, XFS_ATTR_FORK);
253 args.total = nblks;
275 if ((error = xfs_trans_reserve(args.trans, (uint) nblks,
276 XFS_ATTRSET_LOG_RES(mp, nblks),
284 error = XFS_TRANS_RESERVE_QUOTA_NBLKS(mp, args.trans, dp, nblks, 0,
H A Dxfs_bmap.c666 xfs_filblks_t nblks; local
668 nblks = da_new;
670 nblks += cur->bc_private.b.allocated;
671 ASSERT(nblks <= da_old);
672 if (nblks < da_old)
674 (int64_t)(da_old - nblks), rsvd);
3062 xfs_filblks_t nblks; /* quota/sb block count */ local
3111 nblks = len * mp->m_sb.sb_rextsize;
3119 nblks = del->br_blockcount;
3137 nblks
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/
H A Dub.c690 unsigned int block, nblks; local
707 nblks = rq->nr_sectors >> lun->capacity.bshift;
715 cmd->cdb[7] = nblks >> 8;
716 cmd->cdb[8] = nblks;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/e2fsprogs/old_e2fsprogs/
H A De2fsck.c10658 int i, c1, c2, nblks; local
10666 nblks = outdir->num;
10669 if (nblks-1 <= c1) {
10672 for (i=1; i < nblks; i++) {
10684 for (i=1; i < nblks; i++) {

Completed in 299 milliseconds