blk_idx 554 drivers/block/zram/zram_drv.c unsigned long blk_idx = 1; blk_idx 557 drivers/block/zram/zram_drv.c blk_idx = find_next_zero_bit(zram->bitmap, zram->nr_pages, blk_idx); blk_idx 558 drivers/block/zram/zram_drv.c if (blk_idx == zram->nr_pages) blk_idx 561 drivers/block/zram/zram_drv.c if (test_and_set_bit(blk_idx, zram->bitmap)) blk_idx 565 drivers/block/zram/zram_drv.c return blk_idx; blk_idx 568 drivers/block/zram/zram_drv.c static void free_block_bdev(struct zram *zram, unsigned long blk_idx) blk_idx 572 drivers/block/zram/zram_drv.c was_set = test_and_clear_bit(blk_idx, zram->bitmap); blk_idx 631 drivers/block/zram/zram_drv.c unsigned long blk_idx = 0; blk_idx 672 drivers/block/zram/zram_drv.c if (!blk_idx) { blk_idx 673 drivers/block/zram/zram_drv.c blk_idx = alloc_block_bdev(zram); blk_idx 674 drivers/block/zram/zram_drv.c if (!blk_idx) { blk_idx 713 drivers/block/zram/zram_drv.c bio.bi_iter.bi_sector = blk_idx * (PAGE_SIZE >> 9); blk_idx 752 drivers/block/zram/zram_drv.c zram_set_element(zram, index, blk_idx); blk_idx 753 drivers/block/zram/zram_drv.c blk_idx = 0; blk_idx 763 drivers/block/zram/zram_drv.c if (blk_idx) blk_idx 764 drivers/block/zram/zram_drv.c free_block_bdev(zram, blk_idx); blk_idx 839 drivers/block/zram/zram_drv.c static void free_block_bdev(struct zram *zram, unsigned long blk_idx) {}; blk_idx 703 drivers/media/radio/wl128x/fmdrv_common.c u8 type, blk_idx; blk_idx 722 drivers/media/radio/wl128x/fmdrv_common.c blk_idx = (type <= FM_RDS_BLOCK_C ? type : (type - 1)); blk_idx 723 drivers/media/radio/wl128x/fmdrv_common.c fmdbg("Block index:%d(%s)\n", blk_idx, blk_idx 729 drivers/media/radio/wl128x/fmdrv_common.c if (blk_idx > FM_RDS_BLK_IDX_D) { blk_idx 737 drivers/media/radio/wl128x/fmdrv_common.c buff[blk_idx * (FM_RDS_BLK_SIZE - 1)], blk_idx 740 drivers/media/radio/wl128x/fmdrv_common.c rds->last_blk_idx = blk_idx; blk_idx 743 drivers/media/radio/wl128x/fmdrv_common.c if (blk_idx == FM_RDS_BLK_IDX_D) { blk_idx 782 drivers/media/radio/wl128x/fmdrv_common.c blk_idx = (type <= FM_RDS_BLOCK_C ? type : (type - 1)); blk_idx 783 drivers/media/radio/wl128x/fmdrv_common.c tmpbuf[2] = blk_idx; /* Offset name */ blk_idx 784 drivers/media/radio/wl128x/fmdrv_common.c tmpbuf[2] |= blk_idx << 3; /* Received offset */ blk_idx 182 drivers/net/dsa/sja1105/sja1105.h enum sja1105_blk_idx blk_idx, blk_idx 185 drivers/net/dsa/sja1105/sja1105.h enum sja1105_blk_idx blk_idx, blk_idx 644 drivers/net/dsa/sja1105/sja1105_dynamic_config.c enum sja1105_blk_idx blk_idx, blk_idx 654 drivers/net/dsa/sja1105/sja1105_dynamic_config.c if (blk_idx >= BLK_IDX_MAX_DYN) blk_idx 657 drivers/net/dsa/sja1105/sja1105_dynamic_config.c ops = &priv->info->dyn_ops[blk_idx]; blk_idx 712 drivers/net/dsa/sja1105/sja1105_dynamic_config.c if (!cmd.valident && blk_idx != BLK_IDX_MGMT_ROUTE) blk_idx 729 drivers/net/dsa/sja1105/sja1105_dynamic_config.c enum sja1105_blk_idx blk_idx, blk_idx 738 drivers/net/dsa/sja1105/sja1105_dynamic_config.c if (blk_idx >= BLK_IDX_MAX_DYN) blk_idx 741 drivers/net/dsa/sja1105/sja1105_dynamic_config.c ops = &priv->info->dyn_ops[blk_idx]; blk_idx 579 drivers/net/dsa/sja1105/sja1105_static_config.c #define IS_FULL(blk_idx) \ blk_idx 580 drivers/net/dsa/sja1105/sja1105_static_config.c (tables[blk_idx].entry_count == tables[blk_idx].ops->max_entry_count) blk_idx 280 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c int page_idx, blk_idx, pos = 0; blk_idx 283 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c for (blk_idx = 0; blk_idx < WQS_BLOCKS_PER_PAGE; blk_idx++) { blk_idx 285 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c wqs->free_blocks[pos].block_idx = blk_idx; blk_idx 102 drivers/net/wireless/intel/iwlwifi/fw/paging.c int blk_idx, order, num_of_pages, size; blk_idx 125 drivers/net/wireless/intel/iwlwifi/fw/paging.c for (blk_idx = 0; blk_idx < fwrt->num_of_paging_blk + 1; blk_idx++) { blk_idx 127 drivers/net/wireless/intel/iwlwifi/fw/paging.c size = blk_idx ? PAGING_BLOCK_SIZE : FW_PAGING_SIZE; blk_idx 136 drivers/net/wireless/intel/iwlwifi/fw/paging.c fwrt->fw_paging_db[blk_idx].fw_paging_block = block; blk_idx 137 drivers/net/wireless/intel/iwlwifi/fw/paging.c fwrt->fw_paging_db[blk_idx].fw_paging_size = size; blk_idx 150 drivers/net/wireless/intel/iwlwifi/fw/paging.c fwrt->fw_paging_db[blk_idx].fw_paging_phys = phys; blk_idx 152 drivers/net/wireless/intel/iwlwifi/fw/paging.c if (!blk_idx) blk_idx 305 drivers/net/wireless/intel/iwlwifi/fw/paging.c int blk_idx; blk_idx 308 drivers/net/wireless/intel/iwlwifi/fw/paging.c for (blk_idx = 0; blk_idx < fwrt->num_of_paging_blk + 1; blk_idx++) { blk_idx 309 drivers/net/wireless/intel/iwlwifi/fw/paging.c dma_addr_t addr = fwrt->fw_paging_db[blk_idx].fw_paging_phys; blk_idx 314 drivers/net/wireless/intel/iwlwifi/fw/paging.c paging_cmd.device_phy_addr[blk_idx] = phy_addr; blk_idx 26 drivers/net/wireless/realtek/rtw88/efuse.c #define block_idx_to_logical_idx(blk_idx, i) \ blk_idx 27 drivers/net/wireless/realtek/rtw88/efuse.c (((blk_idx) << 3) + ((i) << 1)) blk_idx 46 drivers/net/wireless/realtek/rtw88/efuse.c u8 blk_idx; blk_idx 58 drivers/net/wireless/realtek/rtw88/efuse.c blk_idx = get_efuse_blk_idx_2_byte(hdr1, hdr2); blk_idx 63 drivers/net/wireless/realtek/rtw88/efuse.c blk_idx = get_efuse_blk_idx_1_byte(hdr1); blk_idx 72 drivers/net/wireless/realtek/rtw88/efuse.c log_idx = block_idx_to_logical_idx(blk_idx, i);