Searched refs:sbnr (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/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-v6.6/drivers/atm/ |
D | nicstar.c | 631 card->sbnr.min = MIN_SB; in ns_init_card() 632 card->sbnr.init = NUM_SB; in ns_init_card() 633 card->sbnr.max = MAX_SB; in ns_init_card() 729 ns_stat_sfbqc_get(readl(card->membase + STAT))) < card->sbnr.min) { in ns_init_card() 999 if (card->sbfqc >= card->sbnr.max) { in push_rxbufs() 1043 if (!card->efbie && card->sbfqc >= card->sbnr.min && in push_rxbufs() 1172 for (i = 0; i < card->sbnr.min; i++) { in ns_irq_handler() 2360 if (card->sbfqc < card->sbnr.init) { in dequeue_sm_buf() 2369 if (card->sbfqc < card->sbnr.init) in dequeue_sm_buf() 2418 ns_stat_sfbqc_get(stat), card->sbnr.min, in ns_proc_read() [all …]
|
D | nicstar.h | 732 buf_nr sbnr; member
|