Home
last modified time | relevance | path

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

/Linux-v5.4/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.c901 unsigned long sbnr, ebnr; in drbd_may_do_local_read() local
913 sbnr = BM_SECT_TO_BIT(sector); in drbd_may_do_local_read()
916 return drbd_bm_count_bits(device, sbnr, ebnr) == 0; in drbd_may_do_local_read()
/Linux-v5.4/drivers/atm/
Dnicstar.c620 card->sbnr.min = MIN_SB; in ns_init_card()
621 card->sbnr.init = NUM_SB; in ns_init_card()
622 card->sbnr.max = MAX_SB; in ns_init_card()
718 ns_stat_sfbqc_get(readl(card->membase + STAT))) < card->sbnr.min) { in ns_init_card()
1001 if (card->sbfqc >= card->sbnr.max) { in push_rxbufs()
1045 if (!card->efbie && card->sbfqc >= card->sbnr.min && in push_rxbufs()
1174 for (i = 0; i < card->sbnr.min; i++) { in ns_irq_handler()
2350 if (card->sbfqc < card->sbnr.init) { in dequeue_sm_buf()
2359 if (card->sbfqc < card->sbnr.init) in dequeue_sm_buf()
2408 ns_stat_sfbqc_get(stat), card->sbnr.min, in ns_proc_read()
[all …]
Dnicstar.h732 buf_nr sbnr; member