Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/block/drbd/
Ddrbd_actlog.c759 unsigned long sbnr, ebnr, lbnr; in __drbd_set_in_sync() local
787 sbnr = BM_SECT_TO_BIT(sector + BM_SECT_PER_BIT-1); in __drbd_set_in_sync()
789 if (sbnr > ebnr) in __drbd_set_in_sync()
796 count = drbd_bm_clear_bits(mdev, sbnr, ebnr); in __drbd_set_in_sync()
823 unsigned long sbnr, ebnr, lbnr, flags; in __drbd_set_out_of_sync() local
849 sbnr = BM_SECT_TO_BIT(sector); in __drbd_set_out_of_sync()
855 count = drbd_bm_set_bits(mdev, sbnr, ebnr); in __drbd_set_out_of_sync()
1208 unsigned long sbnr, ebnr, lbnr; in drbd_rs_failed_io() local
1235 sbnr = BM_SECT_TO_BIT(sector + BM_SECT_PER_BIT-1); in drbd_rs_failed_io()
1237 if (sbnr > ebnr) in drbd_rs_failed_io()
[all …]
Ddrbd_req.c744 unsigned long sbnr, ebnr; in drbd_may_do_local_read() local
760 sbnr = BM_SECT_TO_BIT(sector); in drbd_may_do_local_read()
763 return 0 == drbd_bm_count_bits(mdev, sbnr, ebnr); in drbd_may_do_local_read()
/linux-2.6.39/drivers/atm/
Dnicstar.c630 card->sbnr.min = MIN_SB; in ns_init_card()
631 card->sbnr.init = NUM_SB; in ns_init_card()
632 card->sbnr.max = MAX_SB; in ns_init_card()
728 ns_stat_sfbqc_get(readl(card->membase + STAT))) < card->sbnr.min) { in ns_init_card()
1010 if (card->sbfqc >= card->sbnr.max) { in push_rxbufs()
1065 if (!card->efbie && card->sbfqc >= card->sbnr.min && in push_rxbufs()
1194 for (i = 0; i < card->sbnr.min; i++) { in ns_irq_handler()
2374 } while (card->sbfqc < card->sbnr.min); in ns_sb_destructor()
2445 if (card->sbfqc < card->sbnr.min) in dequeue_sm_buf()
2447 if (card->sbfqc < card->sbnr.init) { in dequeue_sm_buf()
[all …]
Dnicstar.h731 buf_nr sbnr; member