Home
last modified time | relevance | path

Searched refs:obj_idx (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/mm/
Dzsmalloc.c838 unsigned int *obj_idx) in obj_to_location() argument
842 *obj_idx = (obj & OBJ_INDEX_MASK); in obj_to_location()
856 static unsigned long location_to_obj(struct page *page, unsigned int obj_idx) in location_to_obj() argument
861 obj |= obj_idx & OBJ_INDEX_MASK; in location_to_obj()
1244 unsigned int obj_idx; in zs_map_object() local
1261 obj_to_location(obj, &page, &obj_idx); in zs_map_object()
1274 off = (class->size * obj_idx) & ~PAGE_MASK; in zs_map_object()
1305 unsigned int obj_idx; in zs_unmap_object() local
1311 obj_to_location(obj, &page, &obj_idx); in zs_unmap_object()
1314 off = (class->size * obj_idx) & ~PAGE_MASK; in zs_unmap_object()
[all …]
/linux-5.19.10/drivers/net/ethernet/intel/i40e/
Di40e_lan_hmc.c978 u32 obj_idx) in i40e_hmc_get_object_va() argument
1009 if (obj_idx >= hmc_info->hmc_obj[rsrc_type].cnt) { in i40e_hmc_get_object_va()
1016 I40E_FIND_SD_INDEX_LIMIT(hmc_info, rsrc_type, obj_idx, 1, in i40e_hmc_get_object_va()
1021 hmc_info->hmc_obj[rsrc_type].size * obj_idx; in i40e_hmc_get_object_va()
1024 I40E_FIND_PD_INDEX_LIMIT(hmc_info, rsrc_type, obj_idx, 1, in i40e_hmc_get_object_va()