Home
last modified time | relevance | path

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

/net/ceph/
Dpagevec.c19 int got = 0; in ceph_get_direct_page_vector() local
27 while (got < num_pages) { in ceph_get_direct_page_vector()
29 (unsigned long)data + ((unsigned long)got * PAGE_SIZE), in ceph_get_direct_page_vector()
30 num_pages - got, write_page, 0, pages + got, NULL); in ceph_get_direct_page_vector()
34 got += rc; in ceph_get_direct_page_vector()
42 ceph_put_page_vector(pages, got, false); in ceph_get_direct_page_vector()
Dmon_client.c268 int ceph_monc_got_mdsmap(struct ceph_mon_client *monc, u32 got) in ceph_monc_got_mdsmap() argument
271 monc->have_mdsmap = got; in ceph_monc_got_mdsmap()
277 int ceph_monc_got_osdmap(struct ceph_mon_client *monc, u32 got) in ceph_monc_got_osdmap() argument
280 monc->have_osdmap = got; in ceph_monc_got_osdmap()
/net/rds/
Diw_send.c351 unsigned int avail, posted, got = 0, advertise; in rds_iw_send_grab_credits() local
376 got = avail; in rds_iw_send_grab_credits()
379 got = wanted; in rds_iw_send_grab_credits()
381 newval -= IB_SET_SEND_CREDITS(got); in rds_iw_send_grab_credits()
388 if (posted && (got || need_posted)) { in rds_iw_send_grab_credits()
398 return got; in rds_iw_send_grab_credits()
Dib_send.c404 unsigned int avail, posted, got = 0, advertise; in rds_ib_send_grab_credits() local
429 got = avail; in rds_ib_send_grab_credits()
432 got = wanted; in rds_ib_send_grab_credits()
434 newval -= IB_SET_SEND_CREDITS(got); in rds_ib_send_grab_credits()
441 if (posted && (got || need_posted)) { in rds_ib_send_grab_credits()
451 return got; in rds_ib_send_grab_credits()