Searched refs:MAX_BO_COUNT (Results 1 – 1 of 1) sorted by relevance
68 #define MAX_BO_COUNT 64 * 1024 macro102 fail_if(handle >= MAX_BO_COUNT, "bo handle too large\n"); in get_bo()104 bo = &bos[handle + fd * MAX_BO_COUNT]; in get_bo()379 struct bo *bo = &bos[handle + fd * MAX_BO_COUNT]; in add_new_bo()381 fail_if(handle >= MAX_BO_COUNT, "bo handle out of range\n"); in add_new_bo()483 bos = calloc(MAX_FD_COUNT * MAX_BO_COUNT, sizeof(bos[0])); in maybe_init()780 for (uint32_t i = 0; i < MAX_FD_COUNT * MAX_BO_COUNT; i++) { in munmap_init_helper()