Home
last modified time | relevance | path

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

/linux/drivers/edac/
A Dedac_device.h297 unsigned int count, int inst_nr, int block_nr,
310 unsigned int count, int inst_nr, int block_nr,
323 int block_nr, const char *msg) in edac_device_handle_ce() argument
325 edac_device_handle_ce_count(edac_dev, 1, inst_nr, block_nr, msg); in edac_device_handle_ce()
338 int block_nr, const char *msg) in edac_device_handle_ue() argument
340 edac_device_handle_ue_count(edac_dev, 1, inst_nr, block_nr, msg); in edac_device_handle_ue()
A Dedac_device.c559 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/fs/hfs/
A 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/include/trace/events/
A 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/fs/hfsplus/
A 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/drivers/irqchip/
A Dspear-shirq.c218 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/include/linux/mmc/
A Dsh_mmcif.h125 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/kernel/power/
A Dsnapshot.c465 unsigned int levels_needed, block_nr; in add_rtree_block() local
468 block_nr = zone->blocks; in add_rtree_block()
472 while (block_nr) { in add_rtree_block()
474 block_nr >>= BM_RTREE_LEVEL_SHIFT; in add_rtree_block()
497 block_nr = zone->blocks; in add_rtree_block()
509 index = block_nr >> ((i - 1) * BM_RTREE_LEVEL_SHIFT); in add_rtree_block()
745 int i, block_nr; in memory_bm_find_bit() local
782 block_nr = (pfn - zone->start_pfn) >> BM_BLOCK_SHIFT; in memory_bm_find_bit()
787 index = block_nr >> ((i - 1) * BM_RTREE_LEVEL_SHIFT); in memory_bm_find_bit()
/linux/fs/ext4/
A Dext4_jbd2.h254 #define ext4_forget(handle, is_metadata, inode, bh, block_nr) \ argument
256 (bh), (block_nr))
A Dxattr.c131 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/drivers/md/
A Ddm-era-target.c1202 sector_t block_nr = bio->bi_iter.bi_sector; in get_block() local
1205 (void) sector_div(block_nr, era->sectors_per_block); in get_block()
1207 block_nr >>= era->sectors_per_block_shift; in get_block()
1209 return block_nr; in get_block()
A 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()
A Ddm-thin.c680 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/drivers/memstick/core/
A 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/drivers/s390/block/
A Ddasd_fba.c101 int block_nr, int block_ct) in locate_record() argument
114 data->blk_nr = block_nr; in locate_record()
/linux/drivers/net/wireless/realtek/rtw88/
A Dmac.c800 u32 block_nr; in write_firmware_page() local
807 block_nr = size >> DLFW_BLK_SIZE_SHIFT_LEGACY; in write_firmware_page()
815 for (block = 0; block < block_nr; block++) { in write_firmware_page()
/linux/fs/f2fs/
A Ddata.c2094 sector_t block_nr; in f2fs_read_single_page() local
2127 block_nr = map->m_pblk + block_in_file - map->m_lblk; in f2fs_read_single_page()
2136 if (!f2fs_is_valid_blkaddr(F2FS_I_SB(inode), block_nr, in f2fs_read_single_page()
2160 *last_block_in_bio, block_nr) || in f2fs_read_single_page()
2167 bio = f2fs_grab_read_bio(inode, block_nr, nr_pages, in f2fs_read_single_page()
2181 f2fs_wait_on_block_writeback(inode, block_nr); in f2fs_read_single_page()
2189 *last_block_in_bio = block_nr; in f2fs_read_single_page()
/linux/net/packet/
A Daf_packet.c4313 unsigned int block_nr = req->tp_block_nr; in alloc_pg_vec() local
4317 pg_vec = kcalloc(block_nr, sizeof(struct pgv), GFP_KERNEL | __GFP_NOWARN); in alloc_pg_vec()
4321 for (i = 0; i < block_nr; i++) { in alloc_pg_vec()
4331 free_pg_vec(pg_vec, order, block_nr); in alloc_pg_vec()

Completed in 72 milliseconds