Home
last modified time | relevance | path

Searched refs:SFW_ID_PER_PAGE (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lnet/selftest/
Dselftest.h392 #define SFW_ID_PER_PAGE (PAGE_CACHE_SIZE / sizeof(lnet_process_id_packed_t)) macro
393 #define SFW_MAX_NDESTS (LNET_MAX_IOV * SFW_ID_PER_PAGE)
394 #define sfw_id_pages(n) (((n) + SFW_ID_PER_PAGE - 1) / SFW_ID_PER_PAGE)
Dframework.c776 LASSERT(bk->bk_niov * SFW_ID_PER_PAGE >= (unsigned int)ndest); in sfw_add_test_instance()
788 dests = page_address(bk->bk_iovs[i / SFW_ID_PER_PAGE].kiov_page); in sfw_add_test_instance()
790 id = dests[i % SFW_ID_PER_PAGE]; in sfw_add_test_instance()
Dconrpc.c712 i = idx / SFW_ID_PER_PAGE; in lstcon_next_id()
718 return &pid[idx % SFW_ID_PER_PAGE]; in lstcon_next_id()