Home
last modified time | relevance | path

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

/linux-6.6.21/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()
355 int inuse = bitmap_weight(cs, smp->blk_cnt); in mdp5_smp_dump()
365 drm_printf(p, "TOTAL:\t%d\t(of %d)\n", total, smp->blk_cnt); in mdp5_smp_dump()
366 drm_printf(p, "AVAIL:\t%d\n", smp->blk_cnt - in mdp5_smp_dump()
367 bitmap_weight(state->state, smp->blk_cnt)); in mdp5_smp_dump()
392 smp->blk_cnt = cfg->mmb_count; in mdp5_smp_init()
[all …]
/linux-6.6.21/fs/hfsplus/
Dextents.c548 u32 alloc_cnt, blk_cnt, start; in hfsplus_file_truncate() local
573 blk_cnt = (inode->i_size + HFSPLUS_SB(sb)->alloc_blksz - 1) >> in hfsplus_file_truncate()
579 if (blk_cnt == alloc_cnt) in hfsplus_file_truncate()
592 alloc_cnt, alloc_cnt - blk_cnt); in hfsplus_file_truncate()
594 hip->first_blocks = blk_cnt; in hfsplus_file_truncate()
603 if (blk_cnt <= start) in hfsplus_file_truncate()
607 alloc_cnt - start, alloc_cnt - blk_cnt); in hfsplus_file_truncate()
610 if (blk_cnt > start) { in hfsplus_file_truncate()
620 hip->alloc_blocks = blk_cnt; in hfsplus_file_truncate()
/linux-6.6.21/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.6.21/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.6.21/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 …]
Dubifs.h821 int blk_cnt; member
Dfile.c738 page_cnt = bu->blk_cnt >> UBIFS_BLOCKS_PER_PAGE_SHIFT; in ubifs_do_bulk_read()
/linux-6.6.21/drivers/net/ethernet/neterion/
Ds2io.c569 int i, j, blk_cnt; in init_shared_mem() local
730 blk_cnt = rx_cfg->num_rxd / (rxd_count[nic->rxd_mode] + 1); in init_shared_mem()
732 for (j = 0; j < blk_cnt; j++) { in init_shared_mem()
770 for (j = 0; j < blk_cnt; j++) { in init_shared_mem()
771 int next = (j + 1) % blk_cnt; in init_shared_mem()
793 blk_cnt = rx_cfg->num_rxd / in init_shared_mem()
795 size = sizeof(struct buffAdd *) * blk_cnt; in init_shared_mem()
800 for (j = 0; j < blk_cnt; j++) { in init_shared_mem()
871 int i, j, blk_cnt, size; in free_shared_mem() local
937 blk_cnt = ring->block_count; in free_shared_mem()
[all …]
/linux-6.6.21/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.6.21/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.6.21/drivers/net/wireless/marvell/mwifiex/
Dsdio.c710 u32 blk_cnt = in mwifiex_write_data_sync() local
724 ret = sdio_writesb(card->func, ioport, buffer, blk_cnt * blk_size); in mwifiex_write_data_sync()
741 u32 blk_cnt = (blk_mode == BLOCK_MODE) ? (len / MWIFIEX_SDIO_BLOCK_SIZE) in mwifiex_read_data_sync() local
748 ret = sdio_readsb(card->func, buffer, ioport, blk_cnt * blk_size); in mwifiex_read_data_sync()
/linux-6.6.21/drivers/net/wireless/legacy/
Dwl3501_cs.c298 u16 next, blk_cnt = 0, zero = 0; in wl3501_get_tx_buffer() local
316 blk_cnt++; in wl3501_get_tx_buffer()
324 this->tx_buffer_cnt -= blk_cnt; in wl3501_get_tx_buffer()
/linux-6.6.21/drivers/scsi/hisi_sas/
Dhisi_sas_main.c2160 int blk_cnt, slots_per_blk; in hisi_sas_alloc() local
2228 blk_cnt = (max_command_entries_ru * sz_slot_buf_ru) / s; in hisi_sas_alloc()
2231 for (i = 0; i < blk_cnt; i++) { in hisi_sas_alloc()
/linux-6.6.21/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()