Searched refs:blks (Results 1 - 61 of 61) sorted by relevance

/linux-4.1.27/fs/quota/
H A Dquotaio_v1.h21 __u32 dqb_bhardlimit; /* absolute limit on disk blks alloc */
22 __u32 dqb_bsoftlimit; /* preferred limit on disk blks */
/linux-4.1.27/include/crypto/
H A Dxts.h18 void (*crypt_fn)(void *ctx, u8 *blks, unsigned int nbytes);
H A Dlrw.h36 void (*crypt_fn)(void *ctx, u8 *blks, unsigned int nbytes);
/linux-4.1.27/include/uapi/linux/
H A Ddqblk_xfs.h56 __u64 d_blk_hardlimit;/* absolute limit on disk blks */
57 __u64 d_blk_softlimit;/* preferred limit on disk blks */
68 __u64 d_rtb_hardlimit;/* absolute limit on realtime blks */
69 __u64 d_rtb_softlimit;/* preferred limit on RT disk blks */
71 __s32 d_rtbtimer; /* similar to above; for RT disk blks */
72 __u16 d_rtbwarns; /* # warnings issued wrt RT disk blks */
149 __u64 qfs_nblks; /* number of BBs 512-byte-blks */
160 __s32 qs_btimelimit; /* limit for blks timer */
162 __s32 qs_rtbtimelimit;/* limit for rt blks timer */
192 __u64 qfs_nblks; /* number of BBs 512-byte-blks */
205 __s32 qs_btimelimit; /* limit for blks timer */
207 __s32 qs_rtbtimelimit;/* limit for rt blks timer */
/linux-4.1.27/fs/jfs/
H A Djfs_dmap.h28 #define DBWORD 32 /* # of blks covered by a map word */
29 #define L2DBWORD 5 /* l2 # of blks covered by a mword */
31 #define BPERDMAP (LPERDMAP * DBWORD) /* num of blks per dmap */
32 #define L2BPERDMAP 13 /* l2 num of blks per dmap */
161 __le32 nblocks; /* 4: num blks covered by this dmap */
162 __le32 nfree; /* 4: num of free blks in this dmap */
206 __le64 dn_nfree; /* 8: num free blks in aggregate map */
207 __le32 dn_l2nbperpage; /* 4: number of blks per page */
216 __le32 dn_agl2size; /* 4: l2 num of blks per alloc group */
218 __le64 dn_agsize; /* 8: num of blks per alloc group */
225 s64 dn_nfree; /* num free blks in aggregate map */
226 int dn_l2nbperpage; /* number of blks per page */
235 int dn_agl2size; /* l2 num of blks per alloc group */
237 s64 dn_agsize; /* num of blks per alloc group */
/linux-4.1.27/fs/xfs/
H A Dxfs_qm.h70 time_t qi_btimelimit; /* limit for blks timer */
72 time_t qi_rtbtimelimit;/* limit for rt blks timer */
73 xfs_qwarncnt_t qi_bwarnlimit; /* limit for blks warnings */
75 xfs_qwarncnt_t qi_rtbwarnlimit;/* limit for rt blks warnings */
H A Dxfs_quota.h57 ulong qt_blk_res; /* blks reserved on a dquot */
58 ulong qt_blk_res_used; /* blks used from the reservation */
64 ulong qt_rtblk_res; /* # blks reserved on a dquot */
65 ulong qt_rtblk_res_used;/* # blks used from reservation */
H A Dxfs_dquot.h59 xfs_qcnt_t q_res_rtbcount;/* total realtime blks used+reserved */
H A Dxfs_trans_dquot.c374 * So, here we've accumulated delayed allocation blks and xfs_trans_apply_dquot_deltas()
375 * non-delay blks. The assumption is that the xfs_trans_apply_dquot_deltas()
439 * These blks were never reserved, either inside xfs_trans_apply_dquot_deltas()
H A Dxfs_qm.c840 * find uninitialised dquot blks. See comment in xfs_dqcheck. xfs_qm_reset_dqcounts()
1013 * Iterate thru all the blks in the extent and xfs_qm_dqiterate()
1098 xfs_filblks_t rtblks; /* total rt blks */ xfs_qm_get_rtblks()
1849 * Do the delayed blks reservations/unreservations now. Since, these xfs_qm_vop_chown_reserve()
H A Dxfs_inode.h64 unsigned int i_delayed_blks; /* count of delay alloc blks */
H A Dxfs_mount.h110 __uint64_t m_resblks_save; /* reserved blks @ remount,ro */
H A Dxfs_dir2_readdir.c260 int ra_current; /* number of read-ahead blks */
H A Dxfs_rtalloc.c902 xfs_extlen_t rsumblocks; /* current number of rt summary blks */ xfs_growfs_rt()
/linux-4.1.27/fs/gfs2/
H A Dlog.h66 extern void gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks);
67 extern int gfs2_log_reserve(struct gfs2_sbd *sdp, unsigned int blks);
H A Dxattr.c238 unsigned int blks = 0; ea_dealloc_unstuffed() local
252 blks++; ea_dealloc_unstuffed()
256 if (!blks) ea_dealloc_unstuffed()
270 RES_EATTR + RES_STATFS + RES_QUOTA, blks); ea_dealloc_unstuffed()
724 unsigned int blks, ea_alloc_skeleton()
727 struct gfs2_alloc_parms ap = { .target = blks }; ea_alloc_skeleton()
744 blks + gfs2_rg_blocks(ip, blks) + ea_alloc_skeleton()
801 unsigned int blks = 1; ea_init() local
810 blks += DIV_ROUND_UP(er.er_data_len, jbsize); ea_init()
812 return ea_alloc_skeleton(ip, &er, blks, ea_init_i, NULL); ea_init()
952 unsigned int blks; ea_set_simple() local
956 blks = 2 + DIV_ROUND_UP(es->es_er->er_data_len, ea_set_simple()
959 error = ea_alloc_skeleton(ip, es->es_er, blks, ea_set_simple()
1047 unsigned int blks = 2; ea_set_i() local
1067 blks++; ea_set_i()
1069 blks += DIV_ROUND_UP(er.er_data_len, GFS2_SB(&ip->i_inode)->sd_jbsize); ea_set_i()
1071 return ea_alloc_skeleton(ip, &er, blks, ea_set_block, el); ea_set_i()
1296 unsigned int blks = 0; ea_dealloc_indirect() local
1333 blks++; ea_dealloc_indirect()
1353 RES_STATFS + RES_QUOTA, blks); ea_dealloc_indirect()
723 ea_alloc_skeleton(struct gfs2_inode *ip, struct gfs2_ea_request *er, unsigned int blks, ea_skeleton_call_t skeleton_call, void *private) ea_alloc_skeleton() argument
H A Dlog.c51 unsigned int blks; gfs2_struct2blk() local
54 blks = 1; gfs2_struct2blk()
60 blks += DIV_ROUND_UP(nstruct - first, second); gfs2_struct2blk()
63 return blks; gfs2_struct2blk()
306 * @blks: The number of blocks
310 void gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks) gfs2_log_release() argument
313 atomic_add(blks, &sdp->sd_log_blks_free); gfs2_log_release()
314 trace_gfs2_log_blocks(sdp, blks); gfs2_log_release()
323 * @blks: The number of blocks to reserve
340 int gfs2_log_reserve(struct gfs2_sbd *sdp, unsigned int blks) gfs2_log_reserve() argument
344 unsigned wanted = blks + reserved_blks; gfs2_log_reserve()
349 if (gfs2_assert_warn(sdp, blks) || gfs2_log_reserve()
350 gfs2_assert_warn(sdp, blks <= sdp->sd_jdesc->jd_blocks)) gfs2_log_reserve()
368 free_blocks - blks) != free_blocks) { gfs2_log_reserve()
373 trace_gfs2_log_blocks(sdp, -blks); gfs2_log_reserve()
384 gfs2_log_release(sdp, blks); gfs2_log_reserve()
H A Dlops.c537 unsigned int blks = be32_to_cpu(ld->ld_data1); buf_lo_scan_elements() local
547 for (; blks; gfs2_replay_incr_blk(sdp, &start), blks--) { buf_lo_scan_elements()
690 unsigned int blks = be32_to_cpu(ld->ld_length); revoke_lo_scan_elements() local
703 for (; blks; gfs2_replay_incr_blk(sdp, &start), blks--) { revoke_lo_scan_elements()
774 unsigned int blks = be32_to_cpu(ld->ld_data1); databuf_lo_scan_elements() local
784 for (; blks; gfs2_replay_incr_blk(sdp, &start), blks--) { databuf_lo_scan_elements()
H A Dbmap.c459 unsigned n, i, blks, alloced = 0, iblks = 0, branch_start = 0; gfs2_bmap_alloc() local
503 blks = dblks + iblks; gfs2_bmap_alloc()
507 n = blks - alloced; gfs2_bmap_alloc()
H A Dfile.c336 size_t blks = (size + sdp->sd_sb.sb_bsize - 1) >> sdp->sd_sb.sb_bsize_shift; gfs2_size_hint() local
337 int hint = min_t(size_t, INT_MAX, blks); gfs2_size_hint()
H A Dquota.c1103 * blocks. ap->min_target, if set, contains the minimum blks
1108 * quota must allow atleast min_req blks for success and
/linux-4.1.27/drivers/net/ethernet/cisco/enic/
H A Dvnic_rq.c34 unsigned int blks = VNIC_RQ_BUF_BLKS_NEEDED(count); vnic_rq_alloc_bufs() local
36 for (i = 0; i < blks; i++) { vnic_rq_alloc_bufs()
42 for (i = 0; i < blks; i++) { vnic_rq_alloc_bufs()
H A Dvnic_wq.c34 unsigned int blks = VNIC_WQ_BUF_BLKS_NEEDED(count); vnic_wq_alloc_bufs() local
36 for (i = 0; i < blks; i++) { vnic_wq_alloc_bufs()
42 for (i = 0; i < blks; i++) { vnic_wq_alloc_bufs()
/linux-4.1.27/drivers/scsi/fnic/
H A Dvnic_rq.c32 unsigned int blks = VNIC_RQ_BUF_BLKS_NEEDED(count); vnic_rq_alloc_bufs() local
36 for (i = 0; i < blks; i++) { vnic_rq_alloc_bufs()
44 for (i = 0; i < blks; i++) { vnic_rq_alloc_bufs()
H A Dvnic_wq.c32 unsigned int blks = VNIC_WQ_BUF_BLKS_NEEDED(count); vnic_wq_alloc_bufs() local
36 for (i = 0; i < blks; i++) { vnic_wq_alloc_bufs()
44 for (i = 0; i < blks; i++) { vnic_wq_alloc_bufs()
/linux-4.1.27/include/linux/
H A Defs_vh.h25 __be32 pt_nblks; /* # of logical blks in partition */
H A Dquota.h196 qsize_t dqb_bhardlimit; /* absolute limit on disk blks alloc */
197 qsize_t dqb_bsoftlimit; /* preferred limit on disk blks */
/linux-4.1.27/fs/ext2/
H A Dinode.c351 * @blks: number of data blocks to be mapped.
358 ext2_blks_to_allocate(Indirect * branch, int k, unsigned long blks, ext2_blks_to_allocate() argument
369 if (blks < blocks_to_boundary + 1) ext2_blks_to_allocate()
370 count += blks; ext2_blks_to_allocate()
377 while (count < blks && count <= blocks_to_boundary ext2_blks_to_allocate()
391 * @blks: on return it will store the total number of allocated
395 ext2_fsblk_t goal, int indirect_blks, int blks, ext2_alloc_blocks()
412 target = blks + indirect_blks; ext2_alloc_blocks()
473 int indirect_blks, int *blks, ext2_fsblk_t goal, ext2_alloc_branch()
485 *blks, new_blocks, &err); ext2_alloc_branch()
530 *blks = num; ext2_alloc_branch()
548 * @blks: number of direct blocks we are adding
555 long block, Indirect *where, int num, int blks) ext2_splice_branch()
572 if (num == 0 && blks > 1) { ext2_splice_branch()
574 for (i = 1; i < blks; i++) ext2_splice_branch()
584 block_i->last_alloc_logical_block = block + blks - 1; ext2_splice_branch()
586 le32_to_cpu(where[num].key) + blks - 1; ext2_splice_branch()
394 ext2_alloc_blocks(struct inode *inode, ext2_fsblk_t goal, int indirect_blks, int blks, ext2_fsblk_t new_blocks[4], int *err) ext2_alloc_blocks() argument
472 ext2_alloc_branch(struct inode *inode, int indirect_blks, int *blks, ext2_fsblk_t goal, int *offsets, Indirect *branch) ext2_alloc_branch() argument
554 ext2_splice_branch(struct inode *inode, long block, Indirect *where, int num, int blks) ext2_splice_branch() argument
/linux-4.1.27/fs/squashfs/
H A Dfile.c338 long long blks; read_blocklist() local
357 blks = read_indexes(inode->i_sb, index - res, &start, &offset); read_blocklist()
358 if (blks < 0) read_blocklist()
359 return (int) blks; read_blocklist()
360 *block += blks; read_blocklist()
/linux-4.1.27/arch/powerpc/lib/
H A Drheap.c50 unsigned long blks, blke; grow() local
70 blks = (unsigned long)info->block; grow()
74 fixup(blks, blke, delta, &blk->list); grow()
76 fixup(blks, blke, delta, &info->empty_list); grow()
77 fixup(blks, blke, delta, &info->free_list); grow()
78 fixup(blks, blke, delta, &info->taken_list); grow()
/linux-4.1.27/arch/powerpc/boot/
H A Dmktree.c31 uint32_t bb_num_512blocks; /* Size, rounded-up, in 512 byte blks */
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
H A Dhw_ops.h39 u32 blks, u32 spare_blks) wlcore_hw_set_tx_desc_blocks()
44 return wl->ops->set_tx_desc_blocks(wl, desc, blks, spare_blks); wlcore_hw_set_tx_desc_blocks()
38 wlcore_hw_set_tx_desc_blocks(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc, u32 blks, u32 spare_blks) wlcore_hw_set_tx_desc_blocks() argument
H A Dwlcore.h63 u32 blks, u32 spare_blks);
/linux-4.1.27/fs/xfs/libxfs/
H A Dxfs_dquot_buf.c64 * 1. If we crash while deleting the quotainode(s), and those blks got xfs_dqcheck()
75 * any quota information. Just don't complain about bad dquot blks. xfs_dqcheck()
H A Dxfs_da_format.h29 #define XFS_ATTR_LEAF_MAGIC 0xfbee /* magic number: attribute leaf blks */
30 #define XFS_DIR2_LEAF1_MAGIC 0xd2f1 /* magic number: v2 dirlf single blks */
31 #define XFS_DIR2_LEAFN_MAGIC 0xd2ff /* magic number: v2 dirlf multi blks */
49 #define XFS_ATTR3_LEAF_MAGIC 0x3bee /* magic number: attribute leaf blks */
50 #define XFS_DIR3_LEAF1_MAGIC 0x3df1 /* magic number: v2 dirlf single blks */
51 #define XFS_DIR3_LEAFN_MAGIC 0x3dff /* magic number: v2 dirlf multi blks */
H A Dxfs_bmap_btree.c44 xfs_filblks_t blks, xfs_extent_state()
48 ASSERT(blks != 0); /* saved for DMIG */ xfs_extent_state()
43 xfs_extent_state( xfs_filblks_t blks, int extent_flag) xfs_extent_state() argument
H A Dxfs_format.h1099 __be64 d_blk_hardlimit;/* absolute limit on disk blks */
1100 __be64 d_blk_softlimit;/* preferred limit on disk blks */
1111 __be64 d_rtb_hardlimit;/* absolute limit on realtime blks */
1112 __be64 d_rtb_softlimit;/* preferred limit on RT disk blks */
H A Dxfs_attr.c567 * if bmap_one_block() says there is only one block (ie: no remote blks).
774 * if bmap_one_block() says there is only one block (ie: no remote blks).
834 * if bmap_one_block() says there is only one block (ie: no remote blks).
H A Dxfs_bmap.c1104 int rsvd) /* xact may use reserved blks */ xfs_bmap_add_attrfork()
1110 int blks; /* space reservation */ xfs_bmap_add_attrfork() local
1122 blks = XFS_ADDAFORK_SPACE_RES(mp); xfs_bmap_add_attrfork()
1125 error = xfs_trans_reserve(tp, &M_RES(mp)->tr_addafork, blks, 0); xfs_bmap_add_attrfork()
1132 error = xfs_trans_reserve_quota_nblks(tp, ip, blks, 0, rsvd ? xfs_bmap_add_attrfork()
H A Dxfs_ialloc.c1825 xfs_agblock_t offset_agbno; /* blks from chunk start to inode */ xfs_imap()
/linux-4.1.27/drivers/scsi/
H A Dst.c710 int transfer, blks; st_flush_write_buffer()
729 blks = transfer / STp->block_size; st_flush_write_buffer()
730 cmd[2] = blks >> 16; st_flush_write_buffer()
731 cmd[3] = blks >> 8; st_flush_write_buffer()
732 cmd[4] = blks; st_flush_write_buffer()
753 STps->drv_block += blks; st_flush_write_buffer()
762 STps->drv_block += blks; st_flush_write_buffer()
1576 ssize_t i, do_count, blks, transfer; st_write()
1714 blks = transfer = do_count; st_write()
1717 blks = STbp->buffer_bytes; st_write()
1719 blks = do_count; st_write()
1720 blks /= STp->block_size; st_write()
1721 transfer = blks * STp->block_size; st_write()
1723 cmd[2] = blks >> 16; st_write()
1724 cmd[3] = blks >> 8; st_write()
1725 cmd[4] = blks; st_write()
1764 blks = (transfer - undone) / STp->block_size; st_write()
1798 blks = do_count = 0; st_write()
1818 STps->drv_block += blks; st_write()
1856 int transfer, blks, bytes; read_tape()
1874 blks = bytes = count; read_tape()
1877 blks = (STp->buffer)->buffer_blocks; read_tape()
1878 bytes = blks * STp->block_size; read_tape()
1883 blks = bytes / STp->block_size; read_tape()
1884 bytes = blks * STp->block_size; read_tape()
1893 cmd[2] = blks >> 16; read_tape()
1894 cmd[3] = blks >> 8; read_tape()
1895 cmd[4] = blks; read_tape()
1953 if (transfer == blks) { /* We did not get anything, error */ read_tape()
1958 STps->drv_block += blks - transfer + 1; read_tape()
1963 STbp->buffer_bytes = (blks - transfer) * read_tape()
708 int transfer, blks; st_flush_write_buffer() local
1569 ssize_t i, do_count, blks, transfer; st_write() local
1848 int transfer, blks, bytes; read_tape() local
H A Dosst.c3057 int offset, transfer, blks = 0; osst_flush_write_buffer()
3096 blks = (offset + STp->block_size - 1) / STp->block_size; osst_flush_write_buffer()
3116 name, blks, STp->frame_seq_number, osst_flush_write_buffer()
3117 STp->logical_blk_num - blks, STp->logical_blk_num - 1); osst_flush_write_buffer()
3120 STp->logical_blk_num - blks, STp->block_size, blks); osst_flush_write_buffer()
3128 STp->logical_blk_num++, 0, blks=1); osst_flush_write_buffer()
3131 osst_init_aux(STp, OS_FRAME_TYPE_HEADER, 0, 0, 0, blks=0); osst_flush_write_buffer()
3139 name, offset, transfer, blks); osst_flush_write_buffer()
3251 int blks; osst_write_frame()
3286 blks = STp->buffer->buffer_bytes / STp->block_size; osst_write_frame()
3289 printk(OSST_DEB_MSG "%s:D: Writing %d blocks to frame %d, lblks %d-%d\n", name, blks, osst_write_frame()
3290 STp->frame_seq_number, STp->logical_blk_num - blks, STp->logical_blk_num - 1); osst_write_frame()
3293 STp->logical_blk_num - blks, STp->block_size, blks); osst_write_frame()
3374 ssize_t i, do_count, blks, transfer; osst_write()
3587 blks = do_count / STp->block_size; osst_write()
3588 STp->logical_blk_num += blks; /* logical_blk_num is incremented as data is moved from user */ osst_write()
3637 STps->drv_block += blks; osst_write()
3650 blks = count / STp->block_size; osst_write()
3651 STp->logical_blk_num += blks; osst_write()
3653 STps->drv_block += blks; osst_write()
3054 int offset, transfer, blks = 0; osst_flush_write_buffer() local
3248 int blks; osst_write_frame() local
3370 ssize_t i, do_count, blks, transfer; osst_write() local
/linux-4.1.27/fs/ufs/
H A Dsuper.c523 unsigned size, blks, i; ufs_read_cylinder_structures() local
532 blks = (size + uspi->s_fsize - 1) >> uspi->s_fshift; ufs_read_cylinder_structures()
537 for (i = 0; i < blks; i += uspi->s_fpb) { ufs_read_cylinder_structures()
539 if (i + uspi->s_fpb > blks) ufs_read_cylinder_structures()
540 size = (blks - i) * uspi->s_fsize; ufs_read_cylinder_structures()
653 unsigned blks, size, i; ufs_put_super_internal() local
660 blks = (size + uspi->s_fsize - 1) >> uspi->s_fshift; ufs_put_super_internal()
662 for (i = 0; i < blks; i += uspi->s_fpb) { ufs_put_super_internal()
664 if (i + uspi->s_fpb > blks) ufs_put_super_internal()
665 size = (blks - i) * uspi->s_fsize; ufs_put_super_internal()
H A Dufs_fs.h262 #define ufs_blkstofrags(blks) ((blks) << uspi->s_fpbshift)
377 __fs32 fs_maxcontig; /* max number of contiguous blks */
378 __fs32 fs_maxbpg; /* max number of blks per cyl group */
/linux-4.1.27/fs/f2fs/
H A Df2fs.h1733 #define stat_inc_tot_blk_count(si, blks) \
1734 (si->tot_blks += (blks))
1736 #define stat_inc_data_blk_count(sbi, blks, gc_type) \
1739 stat_inc_tot_blk_count(si, blks); \
1740 si->data_blks += (blks); \
1741 si->bg_data_blks += (gc_type == BG_GC) ? (blks) : 0; \
1744 #define stat_inc_node_blk_count(sbi, blks, gc_type) \
1747 stat_inc_tot_blk_count(si, blks); \
1748 si->node_blks += (blks); \
1749 si->bg_node_blks += (gc_type == BG_GC) ? (blks) : 0; \
1772 #define stat_inc_tot_blk_count(si, blks)
1773 #define stat_inc_data_blk_count(sbi, blks, gc_type)
1774 #define stat_inc_node_blk_count(sbi, blks, gc_type)
/linux-4.1.27/arch/mips/include/asm/octeon/
H A Dcvmx-dpi-defs.h515 uint64_t blks:4; member in struct:cvmx_dpi_engx_buf::cvmx_dpi_engx_buf_s
517 uint64_t blks:4;
529 uint64_t blks:4; member in struct:cvmx_dpi_engx_buf::cvmx_dpi_engx_buf_cn63xx
531 uint64_t blks:4;
/linux-4.1.27/fs/ext3/
H A Dinode.c529 * @blks: number of data blocks to be mapped.
535 static int ext3_blks_to_allocate(Indirect *branch, int k, unsigned long blks, ext3_blks_to_allocate() argument
546 if (blks < blocks_to_boundary + 1) ext3_blks_to_allocate()
547 count += blks; ext3_blks_to_allocate()
554 while (count < blks && count <= blocks_to_boundary && ext3_blks_to_allocate()
568 * @blks: number of blocks need to allocated for direct blocks
576 ext3_fsblk_t goal, int indirect_blks, int blks, ext3_alloc_blocks()
593 target = blks + indirect_blks; ext3_alloc_blocks()
631 * @blks: number of allocated direct blocks
654 int indirect_blks, int *blks, ext3_fsblk_t goal, ext3_alloc_branch()
666 *blks, new_blocks, &err); ext3_alloc_branch()
718 *blks = num; ext3_alloc_branch()
741 * @blks: number of direct blocks we are adding
748 long block, Indirect *where, int num, int blks) ext3_splice_branch()
777 if (num == 0 && blks > 1) { ext3_splice_branch()
779 for (i = 1; i < blks; i++) ext3_splice_branch()
789 block_i->last_alloc_logical_block = block + blks - 1; ext3_splice_branch()
791 le32_to_cpu(where[num].key) + blks - 1; ext3_splice_branch()
833 ext3_free_blocks(handle, inode, le32_to_cpu(where[num].key), blks); ext3_splice_branch()
575 ext3_alloc_blocks(handle_t *handle, struct inode *inode, ext3_fsblk_t goal, int indirect_blks, int blks, ext3_fsblk_t new_blocks[4], int *err) ext3_alloc_blocks() argument
653 ext3_alloc_branch(handle_t *handle, struct inode *inode, int indirect_blks, int *blks, ext3_fsblk_t goal, int *offsets, Indirect *branch) ext3_alloc_branch() argument
747 ext3_splice_branch(handle_t *handle, struct inode *inode, long block, Indirect *where, int num, int blks) ext3_splice_branch() argument
/linux-4.1.27/arch/x86/crypto/
H A Daesni-intel_glue.c558 static void lrw_xts_encrypt_callback(void *ctx, u8 *blks, unsigned int nbytes) lrw_xts_encrypt_callback() argument
560 aesni_ecb_enc(ctx, blks, blks, nbytes); lrw_xts_encrypt_callback()
563 static void lrw_xts_decrypt_callback(void *ctx, u8 *blks, unsigned int nbytes) lrw_xts_decrypt_callback() argument
565 aesni_ecb_dec(ctx, blks, blks, nbytes); lrw_xts_decrypt_callback()
/linux-4.1.27/fs/ext4/
H A Dindirect.c262 * @blks: number of data blocks to be mapped.
268 static int ext4_blks_to_allocate(Indirect *branch, int k, unsigned int blks, ext4_blks_to_allocate() argument
279 if (blks < blocks_to_boundary + 1) ext4_blks_to_allocate()
280 count += blks; ext4_blks_to_allocate()
287 while (count < blks && count <= blocks_to_boundary && ext4_blks_to_allocate()
299 * @blks: number of allocated direct blocks
405 * @blks: number of direct blocks we are adding
H A Dext4.h259 /* Translate # of blks to # of clusters */
260 #define EXT4_NUM_B2C(sbi, blks) (((blks) + (sbi)->s_cluster_ratio - 1) >> \
1471 EXT4_STATE_DA_ALLOC_CLOSE, /* Alloc DA blks on close */
H A Dsuper.c3375 int blks; ext4_calculate_overhead() local
3377 blks = count_overhead(sb, i, buf); ext4_calculate_overhead()
3378 overhead += blks; ext4_calculate_overhead()
3379 if (blks) ext4_calculate_overhead()
H A Dmballoc.c945 /* mark all preallocated blks used in in-core bitmap */ ext4_mb_init_cache()
/linux-4.1.27/arch/x86/mm/
H A Dnuma.c134 /* ignore zero length blks */ numa_add_memblk_to()
138 /* whine about and ignore invalid blks */ numa_add_memblk_to()
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp5/
H A Dmdp5_smp.c133 dev_err(mdp5_kms->dev->dev, "out of blks (req=%d > avail=%d)\n", smp_request_block()
/linux-4.1.27/drivers/net/wireless/ti/wl12xx/
H A Dmain.c1311 u32 blks, u32 spare_blks) wl12xx_set_tx_desc_blocks()
1314 desc->wl128x_mem.total_mem_blocks = blks; wl12xx_set_tx_desc_blocks()
1317 desc->wl127x_mem.total_mem_blocks = blks; wl12xx_set_tx_desc_blocks()
1310 wl12xx_set_tx_desc_blocks(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc, u32 blks, u32 spare_blks) wl12xx_set_tx_desc_blocks() argument
/linux-4.1.27/drivers/net/ethernet/broadcom/
H A Dcnic.c1184 int total_mem, blks, i; cnic_alloc_bnx2x_context() local
1187 blks = total_mem / ctx_blk_size; cnic_alloc_bnx2x_context()
1189 blks++; cnic_alloc_bnx2x_context()
1191 if (blks > cp->ethdev->ctx_tbl_len) cnic_alloc_bnx2x_context()
1194 cp->ctx_arr = kcalloc(blks, sizeof(struct cnic_ctx), GFP_KERNEL); cnic_alloc_bnx2x_context()
1198 cp->ctx_blks = blks; cnic_alloc_bnx2x_context()
1207 for (i = 0; i < blks; i++) { cnic_alloc_bnx2x_context()
/linux-4.1.27/drivers/mmc/host/
H A Dmmci.c659 "Submit MMCI DMA job, sglen %d blksz %04x blks %04x flags %08x\n", mmci_dma_start_data()
790 dev_dbg(mmc_dev(host->mmc), "blksz %04x blks %04x flags %08x\n", mmci_start_data()
/linux-4.1.27/drivers/net/wireless/ti/wl18xx/
H A Dmain.c1046 u32 blks, u32 spare_blks) wl18xx_set_tx_desc_blocks()
1048 desc->wl18xx_mem.total_mem_blocks = blks; wl18xx_set_tx_desc_blocks()
1045 wl18xx_set_tx_desc_blocks(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc, u32 blks, u32 spare_blks) wl18xx_set_tx_desc_blocks() argument
/linux-4.1.27/arch/tile/include/gxio/
H A Dmpipe.h1584 int blks = (size + 127) / 128; gxio_mpipe_equeue_set_snf_size() local
1586 blks + 1, blks, 1); gxio_mpipe_equeue_set_snf_size()
/linux-4.1.27/fs/ocfs2/
H A Dxattr.c333 int blks = ocfs2_blocks_per_xattr_bucket(inode->i_sb); ocfs2_xattr_bucket_new() local
335 BUG_ON(blks > OCFS2_XATTR_MAX_BLOCKS_PER_BUCKET); ocfs2_xattr_bucket_new()
340 bucket->bu_blocks = blks; ocfs2_xattr_bucket_new()
4183 int blks = ocfs2_blocks_per_xattr_bucket(inode->i_sb); ocfs2_cp_xattr_block_to_bucket() local
4192 char *target = bucket_block(bucket, blks - 1); ocfs2_cp_xattr_block_to_bucket()
4198 for (i = 0; i < blks; i++) ocfs2_cp_xattr_block_to_bucket()
/linux-4.1.27/include/trace/events/
H A Dext4.h1008 "result %u/%d/%u@%u blks %u grps %u cr %u flags %s "

Completed in 2068 milliseconds