Searched refs:blks (Results 1 - 25 of 44) sorted by path

12

/linux-master/arch/mips/include/asm/octeon/
H A Dcvmx-dpi-defs.h439 uint64_t blks:4; member in struct:cvmx_dpi_engx_buf::cvmx_dpi_engx_buf_s
441 uint64_t blks:4;
452 uint64_t blks:4; member in struct:cvmx_dpi_engx_buf::cvmx_dpi_engx_buf_cn63xx
454 uint64_t blks:4;
/linux-master/arch/powerpc/lib/
H A Drheap.c50 unsigned long blks, blke; local
70 blks = (unsigned long)info->block;
74 fixup(blks, blke, delta, &blk->list);
76 fixup(blks, blke, delta, &info->empty_list);
77 fixup(blks, blke, delta, &info->free_list);
78 fixup(blks, blke, delta, &info->taken_list);
/linux-master/drivers/net/wireless/ti/wlcore/
H A Dhw_ops.h25 u32 blks, u32 spare_blks)
30 return wl->ops->set_tx_desc_blocks(wl, desc, blks, spare_blks);
24 wlcore_hw_set_tx_desc_blocks(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc, u32 blks, u32 spare_blks) argument
H A Dwlcore.h52 u32 blks, u32 spare_blks);
/linux-master/fs/ufs/
H A Dufs_fs.h263 #define ufs_blkstofrags(blks) ((blks) << uspi->s_fpbshift)
378 __fs32 fs_maxcontig; /* max number of contiguous blks */
379 __fs32 fs_maxbpg; /* max number of blks per cyl group */
/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_rm.c699 enum dpu_hw_blk_type type, struct dpu_hw_blk **blks, int blks_size)
756 blks[num_blks++] = hw_blks[i];
697 dpu_rm_get_assigned_resources(struct dpu_rm *rm, struct dpu_global_state *global_state, uint32_t enc_id, enum dpu_hw_blk_type type, struct dpu_hw_blk **blks, int blks_size) argument
H A Ddpu_rm.h90 enum dpu_hw_blk_type type, struct dpu_hw_blk **blks, int blks_size);
/linux-master/drivers/net/ethernet/broadcom/
H A Dcnic.c1200 int total_mem, blks, i; local
1203 blks = total_mem / ctx_blk_size;
1205 blks++;
1207 if (blks > cp->ethdev->ctx_tbl_len)
1210 cp->ctx_arr = kcalloc(blks, sizeof(struct cnic_ctx), GFP_KERNEL);
1214 cp->ctx_blks = blks;
1223 for (i = 0; i < blks; i++) {
/linux-master/drivers/net/ethernet/cisco/enic/
H A Dvnic_rq.c22 unsigned int blks = VNIC_RQ_BUF_BLKS_NEEDED(count); local
24 for (i = 0; i < blks; i++) {
30 for (i = 0; i < blks; i++) {
H A Dvnic_wq.c22 unsigned int blks = VNIC_WQ_BUF_BLKS_NEEDED(count); local
24 for (i = 0; i < blks; i++) {
30 for (i = 0; i < blks; i++) {
/linux-master/drivers/net/wireless/ti/wl12xx/
H A Dmain.c1296 u32 blks, u32 spare_blks)
1299 desc->wl128x_mem.total_mem_blocks = blks;
1302 desc->wl127x_mem.total_mem_blocks = blks;
1295 wl12xx_set_tx_desc_blocks(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc, u32 blks, u32 spare_blks) argument
/linux-master/drivers/net/wireless/ti/wl18xx/
H A Dmain.c1074 u32 blks, u32 spare_blks)
1076 desc->wl18xx_mem.total_mem_blocks = blks;
1073 wl18xx_set_tx_desc_blocks(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc, u32 blks, u32 spare_blks) argument
/linux-master/drivers/nvdimm/
H A Dpmem.c89 static void pmem_clear_bb(struct pmem_device *pmem, sector_t sector, long blks) argument
91 if (blks == 0)
93 badblocks_clear(&pmem->bb, sector, blks);
/linux-master/drivers/scsi/fnic/
H A Dvnic_rq.c19 unsigned int blks = VNIC_RQ_BUF_BLKS_NEEDED(count); local
21 for (i = 0; i < blks; i++) {
29 for (i = 0; i < blks; i++) {
H A Dvnic_wq.c39 unsigned int blks = VNIC_WQ_BUF_BLKS_NEEDED(count); local
41 for (i = 0; i < blks; i++) {
49 for (i = 0; i < blks; i++) {
/linux-master/drivers/scsi/snic/
H A Dvnic_wq.c33 unsigned int blks = VNIC_WQ_BUF_BLKS_NEEDED(count); local
35 for (i = 0; i < blks; i++) {
44 for (i = 0; i < blks; i++) {
/linux-master/drivers/scsi/
H A Dst.c770 int transfer, blks;
789 blks = transfer / STp->block_size;
790 cmd[2] = blks >> 16;
791 cmd[3] = blks >> 8;
792 cmd[4] = blks;
813 STps->drv_block += blks;
822 STps->drv_block += blks;
1631 ssize_t i, do_count, blks, transfer;
1769 blks = transfer = do_count;
1772 blks
768 int transfer, blks; local
1625 ssize_t i, do_count, blks, transfer; local
1904 int transfer, blks, bytes; local
[all...]
/linux-master/drivers/usb/gadget/function/
H A Df_midi2.c83 struct f_midi2_block blks[SNDRV_UMP_MAX_BLOCKS]; /* UMP FBs */ member in struct:f_midi2_ep
579 struct f_midi2_block_info *b = &ep->blks[blk].info;
600 reply_ump_stream_string(ep, ump_fb_name(&ep->blks[blk].info),
1368 b = &ep->blks[blk].info;
1372 desc->bGrpTrmBlkID = ep->blks[blk].gtb_id;
1376 desc->iBlockItem = ep->blks[blk].string_id;
1570 const struct f_midi2_block_info *b = &ep->blks[blk].info;
1576 &ep->blks[blk].fb);
1579 fb = ep->blks[blk].fb;
1676 jack->iJack = map->ep->blks[ma
[all...]
H A Du_midi2.h63 struct f_midi2_block_opts *blks[SNDRV_UMP_MAX_BLOCKS]; member in struct:f_midi2_ep_opts
/linux-master/fs/ext2/
H A Dinode.c355 * @blks: number of data blocks to be mapped.
361 ext2_blks_to_allocate(Indirect * branch, int k, unsigned long blks, argument
372 if (blks < blocks_to_boundary + 1)
373 count += blks;
380 while (count < blks && count <= blocks_to_boundary
392 * @blks: The number of blocks need to allocate for direct blocks.
400 ext2_fsblk_t goal, int indirect_blks, int blks,
417 target = blks + indirect_blks;
456 * @blks: number of allocated direct blocks
480 int indirect_blks, int *blks, ext2_fsblk_
399 ext2_alloc_blocks(struct inode *inode, ext2_fsblk_t goal, int indirect_blks, int blks, ext2_fsblk_t new_blocks[4], int *err) argument
479 ext2_alloc_branch(struct inode *inode, int indirect_blks, int *blks, ext2_fsblk_t goal, int *offsets, Indirect *branch) argument
561 ext2_splice_branch(struct inode *inode, long block, Indirect *where, int num, int blks) argument
[all...]
/linux-master/fs/ext4/
H A Dext4.h372 /* Translate # of blks to # of clusters */
373 #define EXT4_NUM_B2C(sbi, blks) (((blks) + (sbi)->s_cluster_ratio - 1) >> \
1906 EXT4_STATE_DA_ALLOC_CLOSE, /* Alloc DA blks on close */
H A Dindirect.c271 * @blks: number of data blocks to be mapped.
277 static int ext4_blks_to_allocate(Indirect *branch, int k, unsigned int blks, argument
288 if (blks < blocks_to_boundary + 1)
289 count += blks;
296 while (count < blks && count <= blocks_to_boundary &&
H A Dsuper.c4222 int blks; local
4224 blks = count_overhead(sb, i, buf);
4225 overhead += blks;
4226 if (blks)
/linux-master/fs/f2fs/
H A Ddata.c1792 static inline u64 blks_to_bytes(struct inode *inode, u64 blks) argument
1794 return (blks << inode->i_blkbits);
H A Ddebug.c204 int blks = get_seg_entry(sbi, i)->valid_blocks; local
207 if (!blks)
210 if (blks == BLKS_PER_SEG(sbi))
214 si->valid_blks[type] += blks;

Completed in 576 milliseconds

12