Searched refs:sbnr (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/block/drbd/ |
D | drbd_actlog.c | 781 unsigned long sbnr, unsigned long ebnr, in update_sync_bits() argument 792 while (sbnr <= ebnr) { in update_sync_bits() 796 unsigned long tbnr = min(ebnr, sbnr | BM_BLOCKS_PER_BM_EXT_MASK); in update_sync_bits() 805 c = drbd_bm_count_bits(device, sbnr, tbnr); in update_sync_bits() 807 c = drbd_bm_clear_bits(device, sbnr, tbnr); in update_sync_bits() 809 c = drbd_bm_set_bits(device, sbnr, tbnr); in update_sync_bits() 813 cleared += update_rs_extent(device, BM_BIT_TO_EXT(sbnr), c, mode); in update_sync_bits() 817 sbnr = tbnr + 1; in update_sync_bits() 852 unsigned long sbnr, ebnr, lbnr; in __drbd_change_sync() local 889 sbnr = BM_SECT_TO_BIT(sector + BM_SECT_PER_BIT-1); in __drbd_change_sync() [all …]
|
D | drbd_req.c | 897 unsigned long sbnr, ebnr; in drbd_may_do_local_read() local 909 sbnr = BM_SECT_TO_BIT(sector); in drbd_may_do_local_read() 912 return drbd_bm_count_bits(device, sbnr, ebnr) == 0; in drbd_may_do_local_read()
|
/linux-6.12.1/drivers/atm/ |
D | nicstar.c | 632 card->sbnr.min = MIN_SB; in ns_init_card() 633 card->sbnr.init = NUM_SB; in ns_init_card() 634 card->sbnr.max = MAX_SB; in ns_init_card() 730 ns_stat_sfbqc_get(readl(card->membase + STAT))) < card->sbnr.min) { in ns_init_card() 1000 if (card->sbfqc >= card->sbnr.max) { in push_rxbufs() 1044 if (!card->efbie && card->sbfqc >= card->sbnr.min && in push_rxbufs() 1173 for (i = 0; i < card->sbnr.min; i++) { in ns_irq_handler() 2361 if (card->sbfqc < card->sbnr.init) { in dequeue_sm_buf() 2370 if (card->sbfqc < card->sbnr.init) in dequeue_sm_buf() 2419 ns_stat_sfbqc_get(stat), card->sbnr.min, in ns_proc_read() [all …]
|
D | nicstar.h | 732 buf_nr sbnr; member
|