Home
last modified time | relevance | path

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

/drivers/edac/
Dedac_device.c559 int inst_nr, int block_nr, const char *msg) in edac_device_handle_ce() argument
574 if ((block_nr >= instance->nr_blocks) || (block_nr < 0)) { in edac_device_handle_ce()
578 inst_nr, block_nr, in edac_device_handle_ce()
584 block = instance->blocks + block_nr; in edac_device_handle_ce()
601 int inst_nr, int block_nr, const char *msg) in edac_device_handle_ue() argument
616 if ((block_nr >= instance->nr_blocks) || (block_nr < 0)) { in edac_device_handle_ue()
620 inst_nr, block_nr, in edac_device_handle_ue()
626 block = instance->blocks + block_nr; in edac_device_handle_ue()
Dedac_device.h298 int inst_nr, int block_nr, const char *msg);
309 int inst_nr, int block_nr, const char *msg);
/drivers/irqchip/
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()
/drivers/md/
Ddm-era-target.c1183 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()
Ddm-cache-target.c894 sector_t block_nr = bio->bi_iter.bi_sector; in get_bio_block() local
897 (void) sector_div(block_nr, cache->sectors_per_block); in get_bio_block()
899 block_nr >>= cache->sectors_per_block_shift; in get_bio_block()
901 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()
/drivers/memstick/core/
Dms_block.c1252 static int msb_read_bad_block_table(struct msb_data *msb, int block_nr) in msb_read_bad_block_table() argument
1262 BUG_ON(block_nr > 1); in msb_read_bad_block_table()
1263 boot_block = &msb->boot_page[block_nr]; in msb_read_bad_block_table()
1264 pba = msb->boot_block_locations[block_nr]; in msb_read_bad_block_table()
1266 if (msb->boot_block_locations[block_nr] == MS_BLOCK_INVALID) in msb_read_bad_block_table()
/drivers/s390/block/
Ddasd_fba.c108 int block_nr, int block_ct) in locate_record() argument
121 data->blk_nr = block_nr; in locate_record()