Searched refs:obj_idx (Results 1 – 3 of 3) sorted by relevance
| /linux/mm/ |
| H A D | zsmalloc.c | 722 unsigned int *obj_idx) in obj_to_location() argument 725 *obj_idx = (obj & OBJ_INDEX_MASK); in obj_to_location() 738 static unsigned long location_to_obj(struct zpdesc *zpdesc, unsigned int obj_idx) in location_to_obj() argument 743 obj |= obj_idx & OBJ_INDEX_MASK; in location_to_obj() 1043 unsigned int obj_idx; in zs_obj_read_begin() local 1050 obj_to_location(obj, &zpdesc, &obj_idx); in zs_obj_read_begin() 1058 off = offset_in_page(class->size * obj_idx); in zs_obj_read_begin() 1093 unsigned int obj_idx; in zs_obj_read_end() local 1097 obj_to_location(obj, &zpdesc, &obj_idx); in zs_obj_read_end() 1100 off = offset_in_page(class->size * obj_idx); in zs_obj_read_end() [all …]
|
| H A D | slub.c | 2383 unsigned int obj_idx = obj_to_index(s, slab, object); in __alloc_tagging_slab_alloc_hook() local 2386 obj_ext = slab_obj_ext(slab, obj_exts, obj_idx); in __alloc_tagging_slab_alloc_hook()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_lan_hmc.c | 975 u32 obj_idx) in i40e_hmc_get_object_va() argument 1006 if (obj_idx >= hmc_info->hmc_obj[rsrc_type].cnt) { in i40e_hmc_get_object_va() 1013 I40E_FIND_SD_INDEX_LIMIT(hmc_info, rsrc_type, obj_idx, 1, in i40e_hmc_get_object_va() 1018 hmc_info->hmc_obj[rsrc_type].size * obj_idx; in i40e_hmc_get_object_va() 1021 I40E_FIND_PD_INDEX_LIMIT(hmc_info, rsrc_type, obj_idx, 1, in i40e_hmc_get_object_va()
|