Searched refs:obj_idx (Results 1 – 1 of 1) sorted by relevance
797 static void *location_to_obj(struct page *page, unsigned long obj_idx) in location_to_obj() argument802 BUG_ON(obj_idx); in location_to_obj()807 obj |= ((obj_idx) & OBJ_INDEX_MASK); in location_to_obj()819 unsigned long *obj_idx) in obj_to_location() argument823 *obj_idx = (obj & OBJ_INDEX_MASK); in obj_to_location()842 unsigned long obj_idx, int class_size) in obj_idx_to_offset()849 return off + obj_idx * class_size; in obj_idx_to_offset()1260 unsigned long obj, obj_idx, off; in zs_map_object() local1282 obj_to_location(obj, &page, &obj_idx); in zs_map_object()1285 off = obj_idx_to_offset(page, obj_idx, class->size); in zs_map_object()[all …]