Home
last modified time | relevance | path

Searched refs:sbnr (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/block/drbd/
Ddrbd_actlog.c780 unsigned long sbnr, unsigned long ebnr, in update_sync_bits() argument
791 while (sbnr <= ebnr) { in update_sync_bits()
795 unsigned long tbnr = min(ebnr, sbnr | BM_BLOCKS_PER_BM_EXT_MASK); in update_sync_bits()
804 c = drbd_bm_count_bits(device, sbnr, tbnr); in update_sync_bits()
806 c = drbd_bm_clear_bits(device, sbnr, tbnr); in update_sync_bits()
808 c = drbd_bm_set_bits(device, sbnr, tbnr); in update_sync_bits()
812 cleared += update_rs_extent(device, BM_BIT_TO_EXT(sbnr), c, mode); in update_sync_bits()
816 sbnr = tbnr + 1; in update_sync_bits()
850 unsigned long sbnr, ebnr, lbnr; in __drbd_change_sync() local
887 sbnr = BM_SECT_TO_BIT(sector + BM_SECT_PER_BIT-1); in __drbd_change_sync()
[all …]
Ddrbd_req.c884 unsigned long sbnr, ebnr; in drbd_may_do_local_read() local
896 sbnr = BM_SECT_TO_BIT(sector); in drbd_may_do_local_read()
899 return drbd_bm_count_bits(device, sbnr, ebnr) == 0; in drbd_may_do_local_read()
/kernel/linux/linux-5.10/drivers/atm/
Dnicstar.c629 card->sbnr.min = MIN_SB; in ns_init_card()
630 card->sbnr.init = NUM_SB; in ns_init_card()
631 card->sbnr.max = MAX_SB; in ns_init_card()
727 ns_stat_sfbqc_get(readl(card->membase + STAT))) < card->sbnr.min) { in ns_init_card()
1003 if (card->sbfqc >= card->sbnr.max) { in push_rxbufs()
1047 if (!card->efbie && card->sbfqc >= card->sbnr.min && in push_rxbufs()
1176 for (i = 0; i < card->sbnr.min; i++) { in ns_irq_handler()
2354 if (card->sbfqc < card->sbnr.init) { in dequeue_sm_buf()
2363 if (card->sbfqc < card->sbnr.init) in dequeue_sm_buf()
2412 ns_stat_sfbqc_get(stat), card->sbnr.min, in ns_proc_read()
[all …]
Dnicstar.h732 buf_nr sbnr; member