/linux-4.4.14/arch/powerpc/boot/ |
H A D | mktree.c | 44 int nblks, i; main() local 59 nblks = (st.st_size + IMGBLK) / IMGBLK; main() 71 bt.bb_num_512blocks = htonl(nblks); main() 114 nblks -= (64 * 1024) / IMGBLK; main() 123 while (nblks-- > 0) { main()
|
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/ |
H A D | mdp5_smp.c | 139 u32 cid, int nblks) smp_request_block() 152 nblks = max(0, nblks - reserved); smp_request_block() 153 DBG("%d MMBs allocated (%d reserved)", nblks, reserved); smp_request_block() 157 if (nblks > avail) { smp_request_block() 159 nblks, avail); smp_request_block() 165 if (nblks > cur_nblks) { smp_request_block() 167 for (i = cur_nblks; i < nblks; i++) { smp_request_block() 174 for (i = cur_nblks; i > nblks; i--) { smp_request_block() 192 enum mdp5_pipe pipe, int nblks) set_fifo_thresholds() 199 val = (nblks * smp_entries_per_blk) / 4; set_fifo_thresholds() 218 int i, hsub, nplanes, nlines, nblks, ret; mdp5_smp_request() local 242 for (i = 0, nblks = 0; i < nplanes; i++) { mdp5_smp_request() 262 nblks += n; mdp5_smp_request() 265 set_fifo_thresholds(smp, pipe, nblks); mdp5_smp_request() 138 smp_request_block(struct mdp5_smp *smp, u32 cid, int nblks) smp_request_block() argument 191 set_fifo_thresholds(struct mdp5_smp *smp, enum mdp5_pipe pipe, int nblks) set_fifo_thresholds() argument
|
/linux-4.4.14/fs/xfs/libxfs/ |
H A D | xfs_log_rlimit.c | 41 int nblks; xfs_log_calc_max_attrsetm_res() local 45 nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK); xfs_log_calc_max_attrsetm_res() 46 nblks += XFS_B_TO_FSB(mp, size); xfs_log_calc_max_attrsetm_res() 47 nblks += XFS_NEXTENTADD_SPACE_RES(mp, size, XFS_ATTR_FORK); xfs_log_calc_max_attrsetm_res() 50 M_RES(mp)->tr_attrsetrt.tr_logres * nblks; xfs_log_calc_max_attrsetm_res()
|
H A D | xfs_attr.c | 170 int nblks; xfs_attr_calc_size() local 177 nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK); xfs_attr_calc_size() 181 nblks *= 2; xfs_attr_calc_size() 189 nblks += dblocks; xfs_attr_calc_size() 190 nblks += XFS_NEXTENTADD_SPACE_RES(mp, dblocks, XFS_ATTR_FORK); xfs_attr_calc_size() 193 return nblks; xfs_attr_calc_size()
|
H A D | xfs_bmap.c | 4746 xfs_filblks_t nblks; /* quota/sb block count */ xfs_bmap_del_extent() local 4799 nblks = len * mp->m_sb.sb_rextsize; xfs_bmap_del_extent() 4807 nblks = del->br_blockcount; xfs_bmap_del_extent() 4825 nblks = 0; xfs_bmap_del_extent() 5018 if (nblks) xfs_bmap_del_extent() 5019 ip->i_d.di_nblocks -= nblks; xfs_bmap_del_extent() 5024 xfs_trans_mod_dquot_byino(tp, ip, qfield, (long)-nblks); xfs_bmap_del_extent()
|
H A D | xfs_da_btree.c | 2014 xfs_rfsblock_t nblks = dp->i_d.di_nblocks; xfs_da_grow_inode_int() local 2083 args->total -= dp->i_d.di_nblocks - nblks; xfs_da_grow_inode_int()
|
/linux-4.4.14/fs/xfs/ |
H A D | xfs_trans_dquot.c | 596 long nblks, xfs_trans_dqresv() 642 if (nblks > 0) { xfs_trans_dqresv() 646 * nblks. xfs_trans_dqresv() 648 total_count = *resbcountp + nblks; xfs_trans_dqresv() 696 (*resbcountp) += (xfs_qcnt_t)nblks; xfs_trans_dqresv() 710 if (nblks != 0) xfs_trans_dqresv() 713 nblks); xfs_trans_dqresv() 753 long nblks, xfs_trans_reserve_quota_bydquots() 768 error = xfs_trans_dqresv(tp, mp, udqp, nblks, ninos, xfs_trans_reserve_quota_bydquots() 775 error = xfs_trans_dqresv(tp, mp, gdqp, nblks, ninos, flags); xfs_trans_reserve_quota_bydquots() 781 error = xfs_trans_dqresv(tp, mp, pdqp, nblks, ninos, flags); xfs_trans_reserve_quota_bydquots() 794 xfs_trans_dqresv(tp, mp, gdqp, -nblks, -ninos, flags); xfs_trans_reserve_quota_bydquots() 798 xfs_trans_dqresv(tp, mp, udqp, -nblks, -ninos, flags); xfs_trans_reserve_quota_bydquots() 812 long nblks, xfs_trans_reserve_quota_nblks() 832 * Reserve nblks against these dquots, with trans as the mediator. xfs_trans_reserve_quota_nblks() 837 nblks, ninos, flags); xfs_trans_reserve_quota_nblks() 592 xfs_trans_dqresv( xfs_trans_t *tp, xfs_mount_t *mp, xfs_dquot_t *dqp, long nblks, long ninos, uint flags) xfs_trans_dqresv() argument 747 xfs_trans_reserve_quota_bydquots( struct xfs_trans *tp, struct xfs_mount *mp, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, long nblks, long ninos, uint flags) xfs_trans_reserve_quota_bydquots() argument 809 xfs_trans_reserve_quota_nblks( struct xfs_trans *tp, struct xfs_inode *ip, long nblks, long ninos, uint flags) xfs_trans_reserve_quota_nblks() argument
|
H A D | xfs_quota.h | 120 struct xfs_inode *ip, long nblks, long ninos, uint flags) xfs_trans_reserve_quota_nblks() 127 long nblks, long nions, uint flags) xfs_trans_reserve_quota_bydquots() 146 #define xfs_trans_unreserve_quota_nblks(tp, ip, nblks, ninos, flags) \ 147 xfs_trans_reserve_quota_nblks(tp, ip, -(nblks), -(ninos), flags) 119 xfs_trans_reserve_quota_nblks(struct xfs_trans *tp, struct xfs_inode *ip, long nblks, long ninos, uint flags) xfs_trans_reserve_quota_nblks() argument 124 xfs_trans_reserve_quota_bydquots(struct xfs_trans *tp, struct xfs_mount *mp, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, long nblks, long nions, uint flags) xfs_trans_reserve_quota_bydquots() argument
|
H A D | xfs_qm.c | 1042 xfs_qcnt_t nblks, xfs_qm_quotacheck_dqadjust() 1068 if (nblks) { xfs_qm_quotacheck_dqadjust() 1069 be64_add_cpu(&dqp->q_core.d_bcount, nblks); xfs_qm_quotacheck_dqadjust() 1070 dqp->q_res_bcount += nblks; xfs_qm_quotacheck_dqadjust() 1132 xfs_qcnt_t nblks, rtblks = 0; xfs_qm_dqusage_adjust() local 1169 nblks = (xfs_qcnt_t)ip->i_d.di_nblocks - rtblks; xfs_qm_dqusage_adjust() 1185 XFS_DQ_USER, nblks, rtblks); xfs_qm_dqusage_adjust() 1192 XFS_DQ_GROUP, nblks, rtblks); xfs_qm_dqusage_adjust() 1199 XFS_DQ_PROJ, nblks, rtblks); xfs_qm_dqusage_adjust() 1038 xfs_qm_quotacheck_dqadjust( struct xfs_inode *ip, xfs_dqid_t id, uint type, xfs_qcnt_t nblks, xfs_qcnt_t rtblks) xfs_qm_quotacheck_dqadjust() argument
|
H A D | xfs_dquot.h | 57 xfs_qcnt_t q_res_bcount; /* total regular nblks used+reserved */
|
H A D | xfs_trace.h | 314 __field(int, nblks) 324 __entry->nblks = bp->b_length; 331 TP_printk("dev %d:%d bno 0x%llx nblks 0x%x hold %d pincount %d " 335 __entry->nblks,
|
/linux-4.4.14/fs/jfs/ |
H A D | jfs_extent.c | 513 s64 nb, nblks, daddr, max; extBalloc() local 526 nb = nblks = (max > nbperpage) ? max : nbperpage; extBalloc() 528 nb = nblks = *nblocks; extBalloc() 539 nb = min(nblks, extRoundDown(nb)); extBalloc() 589 * nblks - number of blocks within the extents current allocation. 603 s64 blkno, s64 nblks, s64 * newnblks, s64 * newblkno) extBrealloc() 608 if ((rc = dbExtend(ip, blkno, nblks, *newnblks - nblks)) == 0) { extBrealloc() 602 extBrealloc(struct inode *ip, s64 blkno, s64 nblks, s64 * newnblks, s64 * newblkno) extBrealloc() argument
|
H A D | jfs_dmap.c | 427 int nblks, dbitno, wbitno, rbits; dbUpdatePMap() local 457 for (rem = nblocks; rem > 0; rem -= nblks, blkno += nblks) { dbUpdatePMap() 479 nblks = min(rem, (s64)BPERDMAP - dbitno); dbUpdatePMap() 488 for (rbits = nblks; rbits > 0; dbUpdatePMap()
|
H A D | jfs_xtree.c | 2576 int nb, npages, nblks; xtRelocate() local 2698 nblks = nb >> JFS_IP(ip->i_sb)->l2bsize; xtRelocate() 2699 cmSetXD(ip, cp, pno, dxaddr, nblks); xtRelocate() 2704 dxaddr += nblks; xtRelocate() 2705 sxaddr += nblks; xtRelocate()
|
/linux-4.4.14/arch/arm/crypto/ |
H A D | sha1-armv7-neon.S | 290 * Transform nblks*64 bytes (nblks*16 32-bit words) at DATA. 294 * unsigned int nblks) 300 * r1: data (64*nblks bytes) 301 * r2: nblks
|
/linux-4.4.14/drivers/mtd/ |
H A D | ssfdc.c | 250 pr_debug("SSFDC_RO: build_block_map() nblks=%d (%luK)\n", build_logical_block_map()
|
/linux-4.4.14/drivers/scsi/cxlflash/ |
H A D | vlun.c | 401 * @nblks: Number of logical blocks to write same. 425 u32 nblks) write_same16() 434 int left = nblks; write_same16() 423 write_same16(struct scsi_device *sdev, u64 lba, u32 nblks) write_same16() argument
|