Searched refs:GRU_CBR_AU_SIZE (Results 1 - 6 of 6) sorted by relevance

/drivers/misc/sgi-gru/
H A Dgrutables.h504 #define CBR_BYTES(cbr) ((cbr) * GRU_HANDLE_BYTES * GRU_CBR_AU_SIZE * 2)
507 #define thread_cbr_number(gts, n) ((gts)->ts_cbr_idx[(n) / GRU_CBR_AU_SIZE] \
508 * GRU_CBR_AU_SIZE + (n) % GRU_CBR_AU_SIZE)
543 for ((i) = (k)*GRU_CBR_AU_SIZE; \
544 (i) < ((k) + 1) * GRU_CBR_AU_SIZE; (i)++)
H A Dgruhandles.h70 #define GRU_CBR_AU_SIZE 2 macro
71 #define GRU_CBR_AU (GRU_NUM_CBE / GRU_CBR_AU_SIZE)
75 #define GRU_CB_COUNT_TO_AU(n) DIV_ROUND_UP(n, GRU_CBR_AU_SIZE)
H A Dgruprocfs.c196 ts->ts_cbr_au_count * GRU_CBR_AU_SIZE,
218 cbrfree = hweight64(gru->gs_cbr_map) * GRU_CBR_AU_SIZE;
H A Dgrukdump.c156 GRU_CBR_AU_SIZE;
H A Dgrufile.c291 n = hweight64(gru->gs_cbr_map) * GRU_CBR_AU_SIZE;
H A Dgrufault.c665 if (ucbnum >= gts->ts_cbr_au_count * GRU_CBR_AU_SIZE)
712 if (ucbnum >= gts->ts_cbr_au_count * GRU_CBR_AU_SIZE) {

Completed in 67 milliseconds