/Linux-v5.10/drivers/edac/ |
D | edac_device.h | 298 unsigned int count, int inst_nr, int block_nr, 311 unsigned int count, int inst_nr, int block_nr, 324 int block_nr, const char *msg) in edac_device_handle_ce() argument 326 edac_device_handle_ce_count(edac_dev, 1, inst_nr, block_nr, msg); in edac_device_handle_ce() 339 int block_nr, const char *msg) in edac_device_handle_ue() argument 341 edac_device_handle_ue_count(edac_dev, 1, inst_nr, block_nr, msg); in edac_device_handle_ue()
|
D | edac_device.c | 559 unsigned int count, int inst_nr, int block_nr, in edac_device_handle_ce_count() argument 578 if ((block_nr >= instance->nr_blocks) || (block_nr < 0)) { in edac_device_handle_ce_count() 582 inst_nr, block_nr, in edac_device_handle_ce_count() 588 block = instance->blocks + block_nr; in edac_device_handle_ce_count() 605 unsigned int count, int inst_nr, int block_nr, in edac_device_handle_ue_count() argument 624 if ((block_nr >= instance->nr_blocks) || (block_nr < 0)) { in edac_device_handle_ue_count() 628 inst_nr, block_nr, in edac_device_handle_ue_count() 634 block = instance->blocks + block_nr; in edac_device_handle_ue_count()
|
/Linux-v5.10/include/trace/events/ |
D | jbd2.h | 330 unsigned long block_nr, unsigned long freed), 332 TP_ARGS(journal, first_tid, block_nr, freed), 338 __field(unsigned long, block_nr ) 346 __entry->block_nr = block_nr; 353 __entry->block_nr, __entry->freed)
|
/Linux-v5.10/fs/hfs/ |
D | extent.c | 249 u16 offset, u16 block_nr) in hfs_free_extents() argument 268 if (count <= block_nr) { in hfs_free_extents() 272 block_nr -= count; in hfs_free_extents() 274 count -= block_nr; in hfs_free_extents() 275 hfs_clear_vbm_bits(sb, start + count, block_nr); in hfs_free_extents() 277 block_nr = 0; in hfs_free_extents() 279 if (!block_nr || !i) in hfs_free_extents()
|
/Linux-v5.10/drivers/irqchip/ |
D | spear-shirq.c | 218 static int __init shirq_init(struct spear_shirq **shirq_blocks, int block_nr, in shirq_init() argument 231 for (i = 0; i < block_nr; i++) in shirq_init() 247 for (i = 0; i < block_nr; i++) { in shirq_init()
|
/Linux-v5.10/fs/hfsplus/ |
D | extents.c | 339 u32 offset, u32 block_nr) in hfsplus_free_extents() argument 362 if (count <= block_nr) { in hfsplus_free_extents() 371 block_nr -= count; in hfsplus_free_extents() 373 count -= block_nr; in hfsplus_free_extents() 374 err = hfsplus_block_free(sb, start + count, block_nr); in hfsplus_free_extents() 381 block_nr = 0; in hfsplus_free_extents() 383 if (!block_nr || !i) { in hfsplus_free_extents()
|
/Linux-v5.10/include/linux/mmc/ |
D | sh_mmcif.h | 125 unsigned int block_nr, in sh_mmcif_boot_do_read_single() argument 137 sh_mmcif_boot_cmd(base, 0x11480000, block_nr * SH_MMCIF_BBS); in sh_mmcif_boot_do_read_single()
|
/Linux-v5.10/kernel/power/ |
D | snapshot.c | 431 unsigned int levels_needed, block_nr; in add_rtree_block() local 434 block_nr = zone->blocks; in add_rtree_block() 438 while (block_nr) { in add_rtree_block() 440 block_nr >>= BM_RTREE_LEVEL_SHIFT; in add_rtree_block() 463 block_nr = zone->blocks; in add_rtree_block() 475 index = block_nr >> ((i - 1) * BM_RTREE_LEVEL_SHIFT); in add_rtree_block() 711 int i, block_nr; in memory_bm_find_bit() local 748 block_nr = (pfn - zone->start_pfn) >> BM_BLOCK_SHIFT; in memory_bm_find_bit() 753 index = block_nr >> ((i - 1) * BM_RTREE_LEVEL_SHIFT); in memory_bm_find_bit()
|
/Linux-v5.10/fs/ext4/ |
D | ext4_jbd2.h | 255 #define ext4_forget(handle, is_metadata, inode, bh, block_nr) \ argument 257 (bh), (block_nr))
|
D | xattr.c | 131 sector_t block_nr, in ext4_xattr_block_csum() argument 136 __le64 dsk_block_nr = cpu_to_le64(block_nr); in ext4_xattr_block_csum()
|
/Linux-v5.10/drivers/md/ |
D | dm-era-target.c | 1183 sector_t block_nr = bio->bi_iter.bi_sector; in get_block() local 1186 (void) sector_div(block_nr, era->sectors_per_block); in get_block() 1188 block_nr >>= era->sectors_per_block_shift; in get_block() 1190 return block_nr; in get_block()
|
D | dm-cache-target.c | 847 sector_t block_nr = bio->bi_iter.bi_sector; in get_bio_block() local 850 (void) sector_div(block_nr, cache->sectors_per_block); in get_bio_block() 852 block_nr >>= cache->sectors_per_block_shift; in get_bio_block() 854 return to_oblock(block_nr); in get_bio_block()
|
D | dm-thin.c | 680 sector_t block_nr = bio->bi_iter.bi_sector; in get_bio_block() local 683 block_nr >>= pool->sectors_per_block_shift; in get_bio_block() 685 (void) sector_div(block_nr, pool->sectors_per_block); in get_bio_block() 687 return block_nr; in get_bio_block()
|
/Linux-v5.10/drivers/net/wireless/realtek/rtw88/ |
D | mac.c | 781 u32 block_nr; in write_firmware_page() local 788 block_nr = size >> DLFW_BLK_SIZE_SHIFT_LEGACY; in write_firmware_page() 796 for (block = 0; block < block_nr; block++) { in write_firmware_page()
|
/Linux-v5.10/drivers/memstick/core/ |
D | ms_block.c | 1249 static int msb_read_bad_block_table(struct msb_data *msb, int block_nr) in msb_read_bad_block_table() argument 1259 BUG_ON(block_nr > 1); in msb_read_bad_block_table() 1260 boot_block = &msb->boot_page[block_nr]; in msb_read_bad_block_table() 1261 pba = msb->boot_block_locations[block_nr]; in msb_read_bad_block_table() 1263 if (msb->boot_block_locations[block_nr] == MS_BLOCK_INVALID) in msb_read_bad_block_table()
|
/Linux-v5.10/drivers/s390/block/ |
D | dasd_fba.c | 110 int block_nr, int block_ct) in locate_record() argument 123 data->blk_nr = block_nr; in locate_record()
|
/Linux-v5.10/fs/f2fs/ |
D | data.c | 2061 sector_t block_nr; in f2fs_read_single_page() local 2094 block_nr = map->m_pblk + block_in_file - map->m_lblk; in f2fs_read_single_page() 2103 if (!f2fs_is_valid_blkaddr(F2FS_I_SB(inode), block_nr, in f2fs_read_single_page() 2127 *last_block_in_bio, block_nr) || in f2fs_read_single_page() 2134 bio = f2fs_grab_read_bio(inode, block_nr, nr_pages, in f2fs_read_single_page() 2148 f2fs_wait_on_block_writeback(inode, block_nr); in f2fs_read_single_page() 2156 *last_block_in_bio = block_nr; in f2fs_read_single_page()
|
/Linux-v5.10/net/packet/ |
D | af_packet.c | 4255 unsigned int block_nr = req->tp_block_nr; in alloc_pg_vec() local 4259 pg_vec = kcalloc(block_nr, sizeof(struct pgv), GFP_KERNEL | __GFP_NOWARN); in alloc_pg_vec() 4263 for (i = 0; i < block_nr; i++) { in alloc_pg_vec() 4273 free_pg_vec(pg_vec, order, block_nr); in alloc_pg_vec()
|