Searched refs:obj_idx (Results 1 – 1 of 1) sorted by relevance
234 static void *obj_location_to_handle(struct page *page, unsigned long obj_idx) in obj_location_to_handle() argument239 BUG_ON(obj_idx); in obj_location_to_handle()244 handle |= (obj_idx & OBJ_INDEX_MASK); in obj_location_to_handle()251 unsigned long *obj_idx) in obj_handle_to_location() argument256 *obj_idx = hval & OBJ_INDEX_MASK; in obj_handle_to_location()260 unsigned long obj_idx, int class_size) in obj_idx_to_offset()267 return off + obj_idx * class_size; in obj_idx_to_offset()649 unsigned long obj_idx, off; in zs_map_object() local658 obj_handle_to_location(handle, &page, &obj_idx); in zs_map_object()661 off = obj_idx_to_offset(page, obj_idx, class->size); in zs_map_object()[all …]