Home
last modified time | relevance | path

Searched refs:blk_cnt (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_smp.c20 int blk_cnt; member
67 int i, avail, cnt = smp->blk_cnt; in smp_request_block()
199 int cnt = smp->blk_cnt; in mdp5_smp_release()
221 int cnt = smp->blk_cnt; in update_smp_state()
260 num_regs = smp->blk_cnt / 3 + 1; in write_smp_alloc_regs()
350 int inuse = bitmap_weight(cs, smp->blk_cnt); in mdp5_smp_dump()
360 drm_printf(p, "TOTAL:\t%d\t(of %d)\n", total, smp->blk_cnt); in mdp5_smp_dump()
361 drm_printf(p, "AVAIL:\t%d\n", smp->blk_cnt - in mdp5_smp_dump()
362 bitmap_weight(state->state, smp->blk_cnt)); in mdp5_smp_dump()
378 smp->blk_cnt = cfg->mmb_count; in mdp5_smp_init()
[all …]
/linux-6.12.1/fs/hfsplus/
Dextents.c549 u32 alloc_cnt, blk_cnt, start; in hfsplus_file_truncate() local
574 blk_cnt = (inode->i_size + HFSPLUS_SB(sb)->alloc_blksz - 1) >> in hfsplus_file_truncate()
580 if (blk_cnt == alloc_cnt) in hfsplus_file_truncate()
593 alloc_cnt, alloc_cnt - blk_cnt); in hfsplus_file_truncate()
595 hip->first_blocks = blk_cnt; in hfsplus_file_truncate()
605 if (blk_cnt <= start) in hfsplus_file_truncate()
609 alloc_cnt - start, alloc_cnt - blk_cnt); in hfsplus_file_truncate()
613 if (blk_cnt > start) { in hfsplus_file_truncate()
623 hip->alloc_blocks = blk_cnt; in hfsplus_file_truncate()
/linux-6.12.1/fs/hfs/
Dextent.c480 u16 blk_cnt, alloc_cnt, start; in hfs_file_truncate() local
506 blk_cnt = size / HFS_SB(sb)->alloc_blksz; in hfs_file_truncate()
508 if (blk_cnt == alloc_cnt) in hfs_file_truncate()
521 alloc_cnt, alloc_cnt - blk_cnt); in hfs_file_truncate()
523 HFS_I(inode)->first_blocks = blk_cnt; in hfs_file_truncate()
531 alloc_cnt - start, alloc_cnt - blk_cnt); in hfs_file_truncate()
533 if (blk_cnt > start) { in hfs_file_truncate()
545 HFS_I(inode)->alloc_blocks = blk_cnt; in hfs_file_truncate()
/linux-6.12.1/drivers/s390/char/
Dsclp_sdias.c143 rc = sdias_evbuf.blk_cnt; in sclp_sdias_blk_count()
186 sccb->evbuf.blk_cnt = nr_blks; in sclp_sdias_copy()
213 TRACE("part stored: %i\n", sdias_evbuf.blk_cnt); in sclp_sdias_copy()
Dsclp_sdias.h32 u32 blk_cnt; member
/linux-6.12.1/fs/ubifs/
Dtnc.c1560 bu->blk_cnt = 0; in ubifs_tnc_get_bu_keys()
1578 bu->blk_cnt += 1; in ubifs_tnc_get_bu_keys()
1623 bu->blk_cnt += (next_block - block - 1); in ubifs_tnc_get_bu_keys()
1624 if (bu->blk_cnt >= UBIFS_MAX_BULK_READ) in ubifs_tnc_get_bu_keys()
1629 bu->blk_cnt += 1; in ubifs_tnc_get_bu_keys()
1633 if (bu->blk_cnt >= UBIFS_MAX_BULK_READ) in ubifs_tnc_get_bu_keys()
1649 if (bu->blk_cnt > UBIFS_MAX_BULK_READ) in ubifs_tnc_get_bu_keys()
1650 bu->blk_cnt = UBIFS_MAX_BULK_READ; in ubifs_tnc_get_bu_keys()
1656 !(bu->blk_cnt & (UBIFS_BLOCKS_PER_PAGE - 1))) in ubifs_tnc_get_bu_keys()
1660 bu->blk_cnt += UBIFS_BLOCKS_PER_PAGE - 1; in ubifs_tnc_get_bu_keys()
[all …]
Dfile.c732 page_cnt = bu->blk_cnt >> UBIFS_BLOCKS_PER_PAGE_SHIFT; in ubifs_do_bulk_read()
Dubifs.h814 int blk_cnt; member
/linux-6.12.1/drivers/net/ethernet/neterion/
Ds2io.c570 int i, j, blk_cnt; in init_shared_mem() local
731 blk_cnt = rx_cfg->num_rxd / (rxd_count[nic->rxd_mode] + 1); in init_shared_mem()
733 for (j = 0; j < blk_cnt; j++) { in init_shared_mem()
771 for (j = 0; j < blk_cnt; j++) { in init_shared_mem()
772 int next = (j + 1) % blk_cnt; in init_shared_mem()
794 blk_cnt = rx_cfg->num_rxd / in init_shared_mem()
796 size = sizeof(struct buffAdd *) * blk_cnt; in init_shared_mem()
801 for (j = 0; j < blk_cnt; j++) { in init_shared_mem()
872 int i, j, blk_cnt, size; in free_shared_mem() local
938 blk_cnt = ring->block_count; in free_shared_mem()
[all …]
/linux-6.12.1/drivers/staging/rts5208/
Dsd.c262 u16 blk_cnt, u8 bus_width, u8 *buf, int buf_len, argument
290 (u8)blk_cnt);
292 (u8)(blk_cnt >> 8));
328 u8 *cmd, int cmd_len, u16 byte_cnt, u16 blk_cnt, argument
365 (u8)blk_cnt);
367 (u8)(blk_cnt >> 8));
4054 u16 byte_cnt, blk_cnt; local
4058 blk_cnt = 1;
4071 blk_cnt, bus_width, buf, data_len, 2000);
/linux-6.12.1/drivers/net/wireless/marvell/mwifiex/
Dsdio.c721 u32 blk_cnt = in mwifiex_write_data_sync() local
735 ret = sdio_writesb(card->func, ioport, buffer, blk_cnt * blk_size); in mwifiex_write_data_sync()
752 u32 blk_cnt = (blk_mode == BLOCK_MODE) ? (len / MWIFIEX_SDIO_BLOCK_SIZE) in mwifiex_read_data_sync() local
759 ret = sdio_readsb(card->func, buffer, ioport, blk_cnt * blk_size); in mwifiex_read_data_sync()
/linux-6.12.1/drivers/net/ethernet/ti/
Dcpsw_priv.h274 u32 blk_cnt; member
Dnetcp_ethss.c254 u32 blk_cnt; member
268 u32 blk_cnt; member
394 u32 blk_cnt; member
422 u32 blk_cnt; member
581 u32 blk_cnt; member
/linux-6.12.1/drivers/scsi/hisi_sas/
Dhisi_sas_main.c2177 int blk_cnt, slots_per_blk; in hisi_sas_alloc() local
2245 blk_cnt = (max_command_entries_ru * sz_slot_buf_ru) / s; in hisi_sas_alloc()
2248 for (i = 0; i < blk_cnt; i++) { in hisi_sas_alloc()
/linux-6.12.1/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c9831 u32 sr_cnt, blk_cnt, port_is_idle_0, port_is_idle_1, pgl_exp_rom2; in bnx2x_process_kill() local
9837 blk_cnt = REG_RD(bp, PXP2_REG_RD_BLK_CNT); in bnx2x_process_kill()
9844 if ((sr_cnt == 0x7e) && (blk_cnt == 0xa0) && in bnx2x_process_kill()
9856 sr_cnt, blk_cnt, port_is_idle_0, port_is_idle_1, in bnx2x_process_kill()