Home
last modified time | relevance | path

Searched refs:block_nr (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/drivers/edac/ !
Dedac_device.h284 unsigned int count, int inst_nr, int block_nr,
297 unsigned int count, int inst_nr, int block_nr,
310 int block_nr, const char *msg) in edac_device_handle_ce() argument
312 edac_device_handle_ce_count(edac_dev, 1, inst_nr, block_nr, msg); in edac_device_handle_ce()
325 int block_nr, const char *msg) in edac_device_handle_ue() argument
327 edac_device_handle_ue_count(edac_dev, 1, inst_nr, block_nr, msg); in edac_device_handle_ue()
Dedac_device.c478 unsigned int count, int inst_nr, int block_nr, in edac_device_handle_ce_count() argument
497 if ((block_nr >= instance->nr_blocks) || (block_nr < 0)) { in edac_device_handle_ce_count()
501 inst_nr, block_nr, in edac_device_handle_ce_count()
507 block = instance->blocks + block_nr; in edac_device_handle_ce_count()
524 unsigned int count, int inst_nr, int block_nr, in edac_device_handle_ue_count() argument
543 if ((block_nr >= instance->nr_blocks) || (block_nr < 0)) { in edac_device_handle_ue_count()
547 inst_nr, block_nr, in edac_device_handle_ue_count()
553 block = instance->blocks + block_nr; in edac_device_handle_ue_count()
/linux-6.12.1/fs/hfs/ !
Dextent.c249 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-6.12.1/fs/hfsplus/ !
Dextents.c339 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-6.12.1/include/trace/events/ !
Djbd2.h330 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-6.12.1/drivers/irqchip/ !
Dspear-shirq.c220 static int __init shirq_init(struct spear_shirq **shirq_blocks, int block_nr, in shirq_init() argument
233 for (i = 0; i < block_nr; i++) in shirq_init()
249 for (i = 0; i < block_nr; i++) { in shirq_init()
/linux-6.12.1/include/linux/platform_data/ !
Dsh_mmcif.h123 unsigned int block_nr, in sh_mmcif_boot_do_read_single() argument
135 sh_mmcif_boot_cmd(base, 0x11480000, block_nr * SH_MMCIF_BBS); in sh_mmcif_boot_do_read_single()
/linux-6.12.1/kernel/power/ !
Dsnapshot.c472 unsigned int levels_needed, block_nr; in add_rtree_block() local
475 block_nr = zone->blocks; in add_rtree_block()
479 while (block_nr) { in add_rtree_block()
481 block_nr >>= BM_RTREE_LEVEL_SHIFT; in add_rtree_block()
504 block_nr = zone->blocks; in add_rtree_block()
516 index = block_nr >> ((i - 1) * BM_RTREE_LEVEL_SHIFT); in add_rtree_block()
753 int i, block_nr; in memory_bm_find_bit() local
790 block_nr = (pfn - zone->start_pfn) >> BM_BLOCK_SHIFT; in memory_bm_find_bit()
795 index = block_nr >> ((i - 1) * BM_RTREE_LEVEL_SHIFT); in memory_bm_find_bit()
/linux-6.12.1/fs/ext4/ !
Dext4_jbd2.h254 #define ext4_forget(handle, is_metadata, inode, bh, block_nr) \ argument
256 (bh), (block_nr))
Dxattr.c133 sector_t block_nr, in ext4_xattr_block_csum() argument
138 __le64 dsk_block_nr = cpu_to_le64(block_nr); in ext4_xattr_block_csum()
/linux-6.12.1/drivers/md/ !
Ddm-era-target.c1219 sector_t block_nr = bio->bi_iter.bi_sector; in get_block() local
1222 (void) sector_div(block_nr, era->sectors_per_block); in get_block()
1224 block_nr >>= era->sectors_per_block_shift; in get_block()
1226 return block_nr; in get_block()
Ddm-cache-target.c777 sector_t block_nr = bio->bi_iter.bi_sector; in get_bio_block() local
780 (void) sector_div(block_nr, cache->sectors_per_block); in get_bio_block()
782 block_nr >>= cache->sectors_per_block_shift; in get_bio_block()
784 return to_oblock(block_nr); in get_bio_block()
Ddm-thin.c675 sector_t block_nr = bio->bi_iter.bi_sector; in get_bio_block() local
678 block_nr >>= pool->sectors_per_block_shift; in get_bio_block()
680 (void) sector_div(block_nr, pool->sectors_per_block); in get_bio_block()
682 return block_nr; in get_bio_block()
/linux-6.12.1/drivers/memstick/core/ !
Dms_block.c1255 static int msb_read_bad_block_table(struct msb_data *msb, int block_nr) in msb_read_bad_block_table() argument
1265 BUG_ON(block_nr > 1); in msb_read_bad_block_table()
1266 boot_block = &msb->boot_page[block_nr]; in msb_read_bad_block_table()
1267 pba = msb->boot_block_locations[block_nr]; in msb_read_bad_block_table()
1269 if (msb->boot_block_locations[block_nr] == MS_BLOCK_INVALID) in msb_read_bad_block_table()
/linux-6.12.1/drivers/s390/block/ !
Ddasd_fba.c97 int block_nr, int block_ct) in locate_record() argument
110 data->blk_nr = block_nr; in locate_record()
/linux-6.12.1/drivers/net/wireless/realtek/rtw88/ !
Dmac.c859 u32 block_nr; in write_firmware_page() local
866 block_nr = size >> DLFW_BLK_SIZE_SHIFT_LEGACY; in write_firmware_page()
874 for (block = 0; block < block_nr; block++) { in write_firmware_page()
/linux-6.12.1/fs/f2fs/ !
Ddata.c2096 sector_t block_nr; in f2fs_read_single_page() local
2130 block_nr = map->m_pblk + block_in_file - map->m_lblk; in f2fs_read_single_page()
2133 if (!f2fs_is_valid_blkaddr(F2FS_I_SB(inode), block_nr, in f2fs_read_single_page()
2157 *last_block_in_bio, block_nr) || in f2fs_read_single_page()
2164 bio = f2fs_grab_read_bio(inode, block_nr, nr_pages, in f2fs_read_single_page()
2178 f2fs_wait_on_block_writeback(inode, block_nr); in f2fs_read_single_page()
2186 *last_block_in_bio = block_nr; in f2fs_read_single_page()
/linux-6.12.1/net/packet/ !
Daf_packet.c4445 unsigned int block_nr = req->tp_block_nr; in alloc_pg_vec() local
4449 pg_vec = kcalloc(block_nr, sizeof(struct pgv), GFP_KERNEL | __GFP_NOWARN); in alloc_pg_vec()
4453 for (i = 0; i < block_nr; i++) { in alloc_pg_vec()
4463 free_pg_vec(pg_vec, order, block_nr); in alloc_pg_vec()