/linux-6.1.9/kernel/sched/ |
D | cpudeadline.c | 29 int orig_cpu = cp->elements[idx].cpu; in cpudl_heapify_down() 30 u64 orig_dl = cp->elements[idx].dl; in cpudl_heapify_down() 45 cp->elements[l].dl)) { in cpudl_heapify_down() 47 largest_dl = cp->elements[l].dl; in cpudl_heapify_down() 50 cp->elements[r].dl)) in cpudl_heapify_down() 57 cp->elements[idx].cpu = cp->elements[largest].cpu; in cpudl_heapify_down() 58 cp->elements[idx].dl = cp->elements[largest].dl; in cpudl_heapify_down() 59 cp->elements[cp->elements[idx].cpu].idx = idx; in cpudl_heapify_down() 63 cp->elements[idx].cpu = orig_cpu; in cpudl_heapify_down() 64 cp->elements[idx].dl = orig_dl; in cpudl_heapify_down() [all …]
|
/linux-6.1.9/drivers/staging/octeon/ |
D | ethernet-mem.c | 24 static int cvm_oct_fill_hw_skbuff(int pool, int size, int elements) in cvm_oct_fill_hw_skbuff() argument 26 int freed = elements; in cvm_oct_fill_hw_skbuff() 38 return elements - freed; in cvm_oct_fill_hw_skbuff() 47 static void cvm_oct_free_hw_skbuff(int pool, int size, int elements) in cvm_oct_free_hw_skbuff() argument 56 elements--; in cvm_oct_free_hw_skbuff() 61 if (elements < 0) in cvm_oct_free_hw_skbuff() 63 pool, elements); in cvm_oct_free_hw_skbuff() 64 else if (elements > 0) in cvm_oct_free_hw_skbuff() 66 pool, elements); in cvm_oct_free_hw_skbuff() 77 static int cvm_oct_fill_hw_memory(int pool, int size, int elements) in cvm_oct_fill_hw_memory() argument [all …]
|
/linux-6.1.9/drivers/acpi/acpica/ |
D | nsprepkg.c | 22 union acpi_operand_object **elements, u32 count); 26 union acpi_operand_object **elements, 33 union acpi_operand_object **elements, u32 count); 56 union acpi_operand_object **elements; in acpi_ns_check_package() local 82 elements = return_object->package.elements; in acpi_ns_check_package() 110 status = acpi_ns_custom_package(info, elements, count); in acpi_ns_check_package() 134 status = acpi_ns_check_package_elements(info, elements, in acpi_ns_check_package() 151 status = acpi_ns_check_object_type(info, elements, in acpi_ns_check_package() 158 elements++; in acpi_ns_check_package() 183 acpi_ns_check_object_type(info, elements, in acpi_ns_check_package() [all …]
|
D | nsrepair2.c | 88 acpi_ns_sort_list(union acpi_operand_object **elements, 366 element_ptr = return_object->package.elements; in acpi_ns_repair_CID() 428 outer_elements = &return_object->package.elements[i + 1]; in acpi_ns_repair_CST() 441 obj_desc = (*outer_elements)->package.elements[1]; /* Index1 = Type */ in acpi_ns_repair_CST() 462 obj_desc = return_object->package.elements[0]; in acpi_ns_repair_CST() 590 top_object_list = package_object->package.elements; in acpi_ns_repair_PRT() 597 sub_object_list = sub_package->package.elements; in acpi_ns_repair_PRT() 652 union acpi_operand_object **elements; in acpi_ns_repair_PSS() local 676 outer_elements = return_object->package.elements; in acpi_ns_repair_PSS() 680 elements = (*outer_elements)->package.elements; in acpi_ns_repair_PSS() [all …]
|
D | hwxface.c | 339 union acpi_operand_object **elements; in ACPI_EXPORT_SYMBOL() local 397 elements = info->return_object->package.elements; in ACPI_EXPORT_SYMBOL() 406 if (elements[0]->common.type != ACPI_TYPE_INTEGER) { in ACPI_EXPORT_SYMBOL() 413 *sleep_type_a = (u8)elements[0]->integer.value; in ACPI_EXPORT_SYMBOL() 414 *sleep_type_b = (u8)(elements[0]->integer.value >> 8); in ACPI_EXPORT_SYMBOL() 420 if ((elements[0]->common.type != ACPI_TYPE_INTEGER) || in ACPI_EXPORT_SYMBOL() 421 (elements[1]->common.type != ACPI_TYPE_INTEGER)) { in ACPI_EXPORT_SYMBOL() 428 *sleep_type_a = (u8)elements[0]->integer.value; in ACPI_EXPORT_SYMBOL() 429 *sleep_type_b = (u8)elements[1]->integer.value; in ACPI_EXPORT_SYMBOL()
|
D | nsconvert.c | 187 union acpi_operand_object **elements; in acpi_ns_convert_to_buffer() local 232 elements = original_object->package.elements; in acpi_ns_convert_to_buffer() 236 if ((!*elements) || in acpi_ns_convert_to_buffer() 237 ((*elements)->common.type != ACPI_TYPE_INTEGER)) { in acpi_ns_convert_to_buffer() 240 elements++; in acpi_ns_convert_to_buffer() 252 elements = original_object->package.elements; in acpi_ns_convert_to_buffer() 256 *dword_buffer = (u32)(*elements)->integer.value; in acpi_ns_convert_to_buffer() 258 elements++; in acpi_ns_convert_to_buffer()
|
D | dspkginit.c | 111 if (!obj_desc->package.elements) { in acpi_ds_build_internal_package_obj() 112 obj_desc->package.elements = ACPI_ALLOCATE_ZEROED(((acpi_size) in acpi_ds_build_internal_package_obj() 119 if (!obj_desc->package.elements) { in acpi_ds_build_internal_package_obj() 192 elements[i]); in acpi_ds_build_internal_package_obj() 196 obj_desc->package.elements[i] = in acpi_ds_build_internal_package_obj() 204 elements[i]); in acpi_ds_build_internal_package_obj() 219 elements[i], NULL, in acpi_ds_build_internal_package_obj() 221 elements[i]); in acpi_ds_build_internal_package_obj() 241 elements[i])); in acpi_ds_build_internal_package_obj()
|
D | dbconvert.c | 171 union acpi_object *elements; in acpi_db_convert_to_package() local 174 elements = in acpi_db_convert_to_package() 187 status = acpi_db_convert_to_object(type, this, &elements[i]); in acpi_db_convert_to_package() 189 acpi_db_delete_objects(i + 1, elements); in acpi_db_convert_to_package() 190 ACPI_FREE(elements); in acpi_db_convert_to_package() 199 object->package.elements = elements; in acpi_db_convert_to_package() 362 buffer_desc = &obj_desc->package.elements[0]; in acpi_db_dump_pld_buffer()
|
/linux-6.1.9/drivers/acpi/ |
D | pfr_update.c | 134 out_obj->package.elements[CAP_STATUS_IDX].type != ACPI_TYPE_INTEGER || in query_capability() 135 out_obj->package.elements[CAP_UPDATE_IDX].type != ACPI_TYPE_INTEGER || in query_capability() 136 out_obj->package.elements[CAP_CODE_TYPE_IDX].type != ACPI_TYPE_BUFFER || in query_capability() 137 out_obj->package.elements[CAP_FW_VER_IDX].type != ACPI_TYPE_INTEGER || in query_capability() 138 out_obj->package.elements[CAP_CODE_RT_VER_IDX].type != ACPI_TYPE_INTEGER || in query_capability() 139 out_obj->package.elements[CAP_DRV_TYPE_IDX].type != ACPI_TYPE_BUFFER || in query_capability() 140 out_obj->package.elements[CAP_DRV_RT_VER_IDX].type != ACPI_TYPE_INTEGER || in query_capability() 141 out_obj->package.elements[CAP_DRV_SVN_IDX].type != ACPI_TYPE_INTEGER || in query_capability() 142 out_obj->package.elements[CAP_PLAT_ID_IDX].type != ACPI_TYPE_BUFFER || in query_capability() 143 out_obj->package.elements[CAP_OEM_ID_IDX].type != ACPI_TYPE_BUFFER || in query_capability() [all …]
|
D | pfr_telemetry.c | 91 in_obj.package.elements = &in_buf; in get_pfrt_log_data_info() 102 out_obj->package.elements[LOG_STATUS_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info() 103 out_obj->package.elements[LOG_EXT_STATUS_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info() 104 out_obj->package.elements[LOG_MAX_SZ_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info() 105 out_obj->package.elements[LOG_CHUNK1_LO_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info() 106 out_obj->package.elements[LOG_CHUNK1_HI_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info() 107 out_obj->package.elements[LOG_CHUNK1_SZ_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info() 108 out_obj->package.elements[LOG_CHUNK2_LO_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info() 109 out_obj->package.elements[LOG_CHUNK2_HI_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info() 110 out_obj->package.elements[LOG_CHUNK2_SZ_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info() [all …]
|
D | acpi_adxl.c | 55 o = obj->package.elements; in adxl_dsm() 65 o = obj->package.elements + 1; in adxl_dsm() 113 argv4[0].package.elements = &argv4[1]; in adxl_decode() 121 r = results->package.elements + 1; in adxl_decode() 127 r = r->package.elements; in adxl_decode() 169 p = params->package.elements + 1; in adxl_init() 176 p = p->package.elements; in adxl_init()
|
D | property.c | 83 dn->name = link->package.elements[0].string.pointer; in acpi_nondev_subnode_extract() 155 status = acpi_get_handle(scope, link->package.elements[1].string.pointer, in acpi_nondev_subnode_ok() 176 link = &links->package.elements[i]; in acpi_add_nondev_subnodes() 182 if (link->package.elements[0].type != ACPI_TYPE_STRING) in acpi_add_nondev_subnodes() 186 switch (link->package.elements[1].type) { in acpi_add_nondev_subnodes() 192 handle = link->package.elements[1].reference.handle; in acpi_add_nondev_subnodes() 197 desc = &link->package.elements[1]; in acpi_add_nondev_subnodes() 223 guid = &desc->package.elements[i]; in acpi_enumerate_nondev_subnodes() 224 links = &desc->package.elements[i + 1]; in acpi_enumerate_nondev_subnodes() 261 switch (value->package.elements[j].type) { in acpi_property_value_ok() [all …]
|
/linux-6.1.9/Documentation/devicetree/bindings/net/can/ |
D | bosch,m_can.yaml | 65 the following elements start from. This is usually set to 67 are used to specify how many elements are used for each FIFO/Buffer. 69 M_CAN includes the following elements according to user manual: 70 11-bit Filter 0-128 elements / 0-128 words 71 29-bit Filter 0-64 elements / 0-128 words 72 Rx FIFO 0 0-64 elements / 0-1152 words 73 Rx FIFO 1 0-64 elements / 0-1152 words 74 Rx Buffers 0-64 elements / 0-1152 words 75 Tx Event FIFO 0-32 elements / 0-64 words 76 Tx Buffers 0-32 elements / 0-576 words [all …]
|
/linux-6.1.9/drivers/platform/x86/intel/int1092/ |
D | intel_sar.c | 83 num = &item->package.elements[0]; in parse_package() 102 num = &item->package.elements[itr + 1]; in parse_package() 105 if (get_int_value(&num->package.elements[0], &temp.device_mode)) in parse_package() 107 if (get_int_value(&num->package.elements[1], &temp.bandtable_index)) in parse_package() 109 if (get_int_value(&num->package.elements[2], &temp.antennatable_index)) in parse_package() 111 if (get_int_value(&num->package.elements[3], &temp.sartable_index)) in parse_package() 229 out->package.elements[0].type == ACPI_TYPE_INTEGER && in sar_get_data() 230 out->package.elements[1].type == ACPI_TYPE_INTEGER && in sar_get_data() 231 out->package.elements[2].type == ACPI_TYPE_PACKAGE && in sar_get_data() 232 out->package.elements[2].package.count > 0) { in sar_get_data() [all …]
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/fw/ |
D | acpi.c | 237 data->package.elements[0].type != ACPI_TYPE_INTEGER) { in iwl_acpi_get_wifi_pkg_range() 242 *tbl_rev = data->package.elements[0].integer.value; in iwl_acpi_get_wifi_pkg_range() 248 wifi_pkg = &data->package.elements[i]; in iwl_acpi_get_wifi_pkg_range() 256 domain = &wifi_pkg->package.elements[0]; in iwl_acpi_get_wifi_pkg_range() 288 if (tbl_rev == 1 && wifi_pkg->package.elements[1].type == in iwl_acpi_get_tas() 291 (u32)wifi_pkg->package.elements[1].integer.value; in iwl_acpi_get_tas() 310 wifi_pkg->package.elements[1].type == ACPI_TYPE_INTEGER) { in iwl_acpi_get_tas() 311 enabled = !!wifi_pkg->package.elements[1].integer.value; in iwl_acpi_get_tas() 324 if (wifi_pkg->package.elements[2].type != ACPI_TYPE_INTEGER || in iwl_acpi_get_tas() 325 wifi_pkg->package.elements[2].integer.value > in iwl_acpi_get_tas() [all …]
|
/linux-6.1.9/drivers/platform/x86/dell/dell-wmi-sysman/ |
D | sysman.c | 398 union acpi_object *elements; in init_bios_attributes() local 441 elements = obj->package.elements; in init_bios_attributes() 444 if (elements[ATTR_NAME].type != ACPI_TYPE_STRING) { in init_bios_attributes() 448 if (strlen(elements[ATTR_NAME].string.pointer) == 0) { in init_bios_attributes() 457 if (kset_find_obj(tmp_set, elements[ATTR_NAME].string.pointer)) { in init_bios_attributes() 459 elements[ATTR_NAME].string.pointer); in init_bios_attributes() 473 elements[ATTR_NAME].string.pointer); in init_bios_attributes() 482 retval = populate_enum_data(elements, instance_id, attr_name_kobj, in init_bios_attributes() 486 retval = populate_int_data(elements, instance_id, attr_name_kobj); in init_bios_attributes() 489 retval = populate_str_data(elements, instance_id, attr_name_kobj); in init_bios_attributes() [all …]
|
/linux-6.1.9/drivers/input/misc/ |
D | soc_button_array.c | 243 soc_button_get_acpi_object_int(&desc->package.elements[0]) != 1 || in soc_button_parse_btn_desc() 245 soc_button_get_acpi_object_int(&desc->package.elements[2]) != in soc_button_parse_btn_desc() 254 soc_button_get_acpi_object_int(&desc->package.elements[1]); in soc_button_parse_btn_desc() 255 upage = soc_button_get_acpi_object_int(&desc->package.elements[3]); in soc_button_parse_btn_desc() 256 usage = soc_button_get_acpi_object_int(&desc->package.elements[4]); in soc_button_parse_btn_desc() 323 uuid = &desc->package.elements[i]; in soc_button_get_button_info() 327 desc->package.elements[i + 1].type != ACPI_TYPE_PACKAGE) { in soc_button_get_button_info() 332 btns_desc = &desc->package.elements[i + 1]; in soc_button_get_button_info() 344 el0 = &btns_desc->package.elements[0]; in soc_button_get_button_info() 348 soc_button_get_acpi_object_int(&el0->package.elements[0]) == 0 && in soc_button_get_button_info() [all …]
|
/linux-6.1.9/net/netfilter/ipset/ |
D | ip_set_bitmap_ip.c | 43 u32 elements; /* number of max elements in the set */ member 221 u32 elements, u32 hosts, u8 netmask) in init_map_ip() argument 223 map->members = bitmap_zalloc(elements, GFP_KERNEL | __GFP_NOWARN); in init_map_ip() 228 map->elements = elements; in init_map_ip() 258 u64 elements; in bitmap_ip_create() local 299 elements = (u64)last_ip - first_ip + 1; in bitmap_ip_create() 312 elements = 2UL << (netmask - mask_bits - 1); in bitmap_ip_create() 314 if (elements > IPSET_BITMAP_MAX_RANGE + 1) in bitmap_ip_create() 318 hosts, (unsigned long long)elements); in bitmap_ip_create() 321 map = ip_set_alloc(sizeof(*map) + elements * set->dsize); in bitmap_ip_create() [all …]
|
D | ip_set_bitmap_gen.h | 50 for (id = 0; id < map->elements; id++) in mtype_ext_cleanup() 78 bitmap_zero(map->members, map->elements); in mtype_flush() 79 set->elements = 0; in mtype_flush() 88 map->elements * dsize; in mtype_memsize() 104 nla_put_net32(skb, IPSET_ATTR_ELEMENTS, htonl(set->elements))) in mtype_head() 141 set->elements--; in mtype_add() 151 set->elements--; in mtype_add() 169 set->elements++; in mtype_add() 186 set->elements--; in mtype_del() 217 for (; cb->args[IPSET_CB_ARG0] < map->elements; in mtype_list() [all …]
|
D | ip_set_bitmap_ipmac.c | 48 u32 elements; /* number of max elements in the set */ member 300 u32 first_ip, u32 last_ip, u32 elements) in init_map_ipmac() argument 302 map->members = bitmap_zalloc(elements, GFP_KERNEL | __GFP_NOWARN); in init_map_ipmac() 307 map->elements = elements; in init_map_ipmac() 322 u64 elements; in bitmap_ipmac_create() local 351 elements = (u64)last_ip - first_ip + 1; in bitmap_ipmac_create() 353 if (elements > IPSET_BITMAP_MAX_RANGE + 1) in bitmap_ipmac_create() 359 map = ip_set_alloc(sizeof(*map) + elements * set->dsize); in bitmap_ipmac_create() 363 map->memsize = BITS_TO_LONGS(elements) * sizeof(unsigned long); in bitmap_ipmac_create() 365 if (!init_map_ipmac(set, map, first_ip, last_ip, elements)) { in bitmap_ipmac_create()
|
D | ip_set_bitmap_port.c | 36 u32 elements; /* number of max elements in the set */ member 234 map->members = bitmap_zalloc(map->elements, GFP_KERNEL | __GFP_NOWARN); in init_map_port() 254 u32 elements; in bitmap_port_create() local 267 elements = last_port - first_port + 1; in bitmap_port_create() 269 map = ip_set_alloc(sizeof(*map) + elements * set->dsize); in bitmap_port_create() 273 map->elements = elements; in bitmap_port_create() 274 map->memsize = BITS_TO_LONGS(elements) * sizeof(unsigned long); in bitmap_port_create()
|
/linux-6.1.9/drivers/char/tpm/ |
D | tpm_ppi.c | 82 obj->package.elements[0].type == ACPI_TYPE_INTEGER && in tpm_show_ppi_request() 83 obj->package.elements[1].type == ACPI_TYPE_INTEGER && in tpm_show_ppi_request() 84 obj->package.elements[2].type == ACPI_TYPE_INTEGER) { in tpm_show_ppi_request() 85 if (obj->package.elements[0].integer.value) in tpm_show_ppi_request() 88 req = obj->package.elements[1].integer.value; in tpm_show_ppi_request() 92 obj->package.elements[2].integer.value); in tpm_show_ppi_request() 98 obj->package.elements[0].type == ACPI_TYPE_INTEGER && in tpm_show_ppi_request() 99 obj->package.elements[1].type == ACPI_TYPE_INTEGER) { in tpm_show_ppi_request() 100 if (obj->package.elements[0].integer.value) in tpm_show_ppi_request() 104 obj->package.elements[1].integer.value); in tpm_show_ppi_request() [all …]
|
/linux-6.1.9/drivers/hwtracing/coresight/ |
D | coresight-platform.c | 396 graphid = &obj->package.elements[0]; in is_acpi_coresight_graph() 397 guid = &obj->package.elements[1]; in is_acpi_coresight_graph() 398 links = &obj->package.elements[2]; in is_acpi_coresight_graph() 484 rev = &graph->package.elements[0]; in acpi_validate_dsd_graph() 485 nr_graphs = &graph->package.elements[1]; in acpi_validate_dsd_graph() 509 const union acpi_object *obj = &graph->package.elements[i]; in acpi_validate_dsd_graph() 542 guid = &dsd->package.elements[i]; in acpi_get_dsd_graph() 543 package = &dsd->package.elements[i + 1]; in acpi_get_dsd_graph() 565 nlinks = cs_graph->package.elements[2].integer.value; in acpi_validate_coresight_graph() 593 nr_graphs = graph_list->package.elements[1].integer.value; in acpi_get_coresight_graph() [all …]
|
/linux-6.1.9/drivers/acpi/x86/ |
D | apple.c | 69 union acpi_object *key = &props->package.elements[i * 2]; in acpi_extract_apple_properties() 70 union acpi_object *val = &props->package.elements[i * 2 + 1]; in acpi_extract_apple_properties() 100 newprops->package.elements = &newprops[1]; in acpi_extract_apple_properties() 104 union acpi_object *key = &props->package.elements[i * 2]; in acpi_extract_apple_properties() 105 union acpi_object *val = &props->package.elements[i * 2 + 1]; in acpi_extract_apple_properties() 111 newprops[1 + j].package.elements = &newprops[k]; in acpi_extract_apple_properties()
|
/linux-6.1.9/drivers/scsi/lpfc/ |
D | lpfc_mem.c | 98 pool->elements = kmalloc_array(LPFC_MBUF_POOL_SIZE, in lpfc_mem_alloc() 101 if (!pool->elements) in lpfc_mem_alloc() 107 pool->elements[i].virt = dma_pool_alloc(phba->lpfc_mbuf_pool, in lpfc_mem_alloc() 108 GFP_KERNEL, &pool->elements[i].phys); in lpfc_mem_alloc() 109 if (!pool->elements[i].virt) in lpfc_mem_alloc() 180 dma_pool_free(phba->lpfc_mbuf_pool, pool->elements[i].virt, in lpfc_mem_alloc() 181 pool->elements[i].phys); in lpfc_mem_alloc() 182 kfree(pool->elements); in lpfc_mem_alloc() 252 dma_pool_free(phba->lpfc_mbuf_pool, pool->elements[i].virt, in lpfc_mem_free() 253 pool->elements[i].phys); in lpfc_mem_free() [all …]
|