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

/linux-4.1.27/drivers/block/drbd/
H A Ddrbd_actlog.c770 unsigned long sbnr, unsigned long ebnr, update_sync_bits()
781 while (sbnr <= ebnr) { update_sync_bits()
785 unsigned long tbnr = min(ebnr, sbnr | BM_BLOCKS_PER_BM_EXT_MASK); update_sync_bits()
794 c = drbd_bm_count_bits(device, sbnr, tbnr); update_sync_bits()
796 c = drbd_bm_clear_bits(device, sbnr, tbnr); update_sync_bits()
798 c = drbd_bm_set_bits(device, sbnr, tbnr); update_sync_bits()
802 cleared += update_rs_extent(device, BM_BIT_TO_EXT(sbnr), c, mode); update_sync_bits()
806 sbnr = tbnr + 1; update_sync_bits()
833 unsigned long sbnr, ebnr, lbnr; __drbd_change_sync() local
870 sbnr = BM_SECT_TO_BIT(sector + BM_SECT_PER_BIT-1); __drbd_change_sync()
874 sbnr = BM_SECT_TO_BIT(sector); __drbd_change_sync()
878 count = update_sync_bits(device, sbnr, ebnr, mode); __drbd_change_sync()
769 update_sync_bits(struct drbd_device *device, unsigned long sbnr, unsigned long ebnr, enum update_sync_bits_mode mode) update_sync_bits() argument
H A Ddrbd_req.c913 unsigned long sbnr, ebnr; drbd_may_do_local_read() local
925 sbnr = BM_SECT_TO_BIT(sector); drbd_may_do_local_read()
928 return drbd_bm_count_bits(device, sbnr, ebnr) == 0; drbd_may_do_local_read()
/linux-4.1.27/drivers/atm/
H A Dnicstar.c620 card->sbnr.min = MIN_SB; ns_init_card()
621 card->sbnr.init = NUM_SB; ns_init_card()
622 card->sbnr.max = MAX_SB; ns_init_card()
718 ns_stat_sfbqc_get(readl(card->membase + STAT))) < card->sbnr.min) { ns_init_card()
999 if (card->sbfqc >= card->sbnr.max) { push_rxbufs()
1043 if (!card->efbie && card->sbfqc >= card->sbnr.min && push_rxbufs()
1172 for (i = 0; i < card->sbnr.min; i++) { ns_irq_handler()
2348 if (card->sbfqc < card->sbnr.init) { dequeue_sm_buf()
2357 if (card->sbfqc < card->sbnr.init) dequeue_sm_buf()
2406 ns_stat_sfbqc_get(stat), card->sbnr.min, ns_proc_read()
2407 card->sbnr.init, card->sbnr.max); ns_proc_read()
2479 pl.level.min = card->sbnr.min; ns_ioctl()
2480 pl.level.init = card->sbnr.init; ns_ioctl()
2481 pl.level.max = card->sbnr.max; ns_ioctl()
2529 card->sbnr.min = pl.level.min; ns_ioctl()
2530 card->sbnr.init = pl.level.init; ns_ioctl()
2531 card->sbnr.max = pl.level.max; ns_ioctl()
2570 while (card->sbfqc < card->sbnr.init) { ns_ioctl()
H A Dnicstar.h731 buf_nr sbnr; member in struct:ns_dev

Completed in 178 milliseconds