Searched refs:sbnr (Results 1 – 4 of 4) sorted by relevance
/drivers/block/drbd/ |
D | drbd_actlog.c | 780 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 …]
|
D | drbd_req.c | 893 unsigned long sbnr, ebnr; in drbd_may_do_local_read() local 905 sbnr = BM_SECT_TO_BIT(sector); in drbd_may_do_local_read() 908 return drbd_bm_count_bits(device, sbnr, ebnr) == 0; in drbd_may_do_local_read()
|
/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
|