/linux-6.3-rc2/mm/ |
A D | mempool.c | 43 u8 *obj = element; in __check_element() 76 u8 *obj = element; in __poison_element() 142 return element; in remove_element() 205 void *element; in mempool_init_node() local 208 if (unlikely(!element)) { in mempool_init_node() 306 void *element; in mempool_resize() local 348 if (!element) in mempool_resize() 382 void *element; in mempool_alloc() local 400 return element; in mempool_alloc() 413 return element; in mempool_alloc() [all …]
|
/linux-6.3-rc2/drivers/acpi/acpica/ |
A D | uttrack.c | 284 if (!element) { in acpi_ut_find_allocation() 300 return (element); in acpi_ut_find_allocation() 303 element = element->next; in acpi_ut_find_allocation() 307 return (element); in acpi_ut_find_allocation() 374 if (!element) { in acpi_ut_track_allocation() 393 if (element->next) { in acpi_ut_track_allocation() 565 while (element) { in acpi_ut_dump_allocations() 578 element->module, element->line); in acpi_ut_dump_allocations() 587 element->module, element->line, in acpi_ut_dump_allocations() 597 element-> in acpi_ut_dump_allocations() [all …]
|
A D | dspkginit.c | 23 acpi_ds_resolve_package_element(union acpi_operand_object **element); 386 union acpi_operand_object *element = *element_ptr; in acpi_ds_resolve_package_element() local 396 if (element->reference.resolved) { in acpi_ds_resolve_package_element() 406 scope_info.scope.node = element->reference.node; /* Prefix node */ in acpi_ds_resolve_package_element() 408 status = acpi_ns_lookup(&scope_info, (char *)element->reference.aml, in acpi_ds_resolve_package_element() 435 (char *)element->reference. in acpi_ds_resolve_package_element() 473 element->reference.resolved = TRUE; in acpi_ds_resolve_package_element() 474 element->reference.node = resolved_node; in acpi_ds_resolve_package_element() 475 type = element->reference.node->type; in acpi_ds_resolve_package_element() 525 acpi_ut_remove_reference(element); in acpi_ds_resolve_package_element()
|
/linux-6.3-rc2/security/tomoyo/ |
A D | gc.c | 50 if (head->r.domain == element || head->r.group == element || in tomoyo_struct_used_by_io_buffer() 51 head->r.acl == element || &head->w.domain->list == element) in tomoyo_struct_used_by_io_buffer() 395 __list_del_entry(element); in tomoyo_try_to_gc() 412 tomoyo_del_manager(element); in tomoyo_try_to_gc() 418 tomoyo_del_group(element); in tomoyo_try_to_gc() 430 tomoyo_del_condition(element); in tomoyo_try_to_gc() 441 tomoyo_del_name(element); in tomoyo_try_to_gc() 444 tomoyo_del_acl(element); in tomoyo_try_to_gc() 461 tomoyo_del_domain(element); in tomoyo_try_to_gc() 462 tomoyo_memory_free(element); in tomoyo_try_to_gc() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/ |
A D | core_acl_flex_keys.c | 142 enum mlxsw_afk_element element) in mlxsw_afk_picker_count_hits() argument 154 if (elinst->element == element) { in mlxsw_afk_picker_count_hits() 155 __set_bit(element, picker[i].element); in mlxsw_afk_picker_count_hits() 202 enum mlxsw_afk_element element; in mlxsw_afk_picker_key_info_add() local 207 for_each_set_bit(element, picker[block_index].element, in mlxsw_afk_picker_key_info_add() 224 enum mlxsw_afk_element element; in mlxsw_afk_picker() local 329 enum mlxsw_afk_element element) in mlxsw_afk_block_elinst_get() argument 337 if (elinst->element == element) in mlxsw_afk_block_elinst_get() 385 &mlxsw_afk_element_infos[element]; in mlxsw_afk_values_add_u32() 471 enum mlxsw_afk_element element; in mlxsw_afk_encode() local [all …]
|
A D | core_acl_flex_keys.h | 47 enum mlxsw_afk_element element; /* element ID */ member 54 .element = MLXSW_AFK_ELEMENT_##_element, \ 75 enum mlxsw_afk_element element; member 87 .element = MLXSW_AFK_ELEMENT_##_element, \ 131 #define mlxsw_afk_element_usage_for_each(element, elusage) \ argument 132 for_each_set_bit(element, (elusage)->usage, MLXSW_AFK_ELEMENT_MAX) 136 enum mlxsw_afk_element element) in mlxsw_afk_element_usage_add() argument 138 __set_bit(element, elusage->usage); in mlxsw_afk_element_usage_add() 209 enum mlxsw_afk_element element, 212 enum mlxsw_afk_element element,
|
/linux-6.3-rc2/scripts/ |
A D | asn1_compiler.c | 681 struct element { struct 687 struct element *next; argument 708 struct element *element; argument 856 struct element *top, *element; in parse_type() local 867 element->name = name; in parse_type() 904 element->tag &= ~0x1f; in parse_type() 943 element = element->children; in parse_type() 947 element->name = name; in parse_type() 1150 struct element *children, **child_p = &children, *element; in parse_compound() local 1181 *child_p = element; in parse_compound() [all …]
|
/linux-6.3-rc2/drivers/platform/chrome/ |
A D | chromeos_acpi.c | 73 union acpi_object *element = obj->package.elements; in chromeos_acpi_handle_package() local 77 element += pkg_num; in chromeos_acpi_handle_package() 79 if (element->type == ACPI_TYPE_PACKAGE) { in chromeos_acpi_handle_package() 80 if (sub_pkg_num >= element->package.count) in chromeos_acpi_handle_package() 83 element = element->package.elements; in chromeos_acpi_handle_package() 84 element += sub_pkg_num; in chromeos_acpi_handle_package() 87 switch (element->type) { in chromeos_acpi_handle_package() 89 return sysfs_emit(buf, "%d\n", (int)element->integer.value); in chromeos_acpi_handle_package() 91 return sysfs_emit(buf, "%s\n", element->string.pointer); in chromeos_acpi_handle_package() 93 return sysfs_emit(buf, "%s\n", element->buffer.pointer); in chromeos_acpi_handle_package() [all …]
|
/linux-6.3-rc2/drivers/acpi/ |
A D | utils.c | 76 switch (element->type) { in acpi_extract_package() 168 switch (element->type) { in acpi_extract_package() 174 element->integer.value; in acpi_extract_package() 181 element->integer.value; in acpi_extract_package() 201 element->string.length); in acpi_extract_package() 212 element->buffer.length); in acpi_extract_package() 214 tail += element->buffer.length; in acpi_extract_package() 252 union acpi_object element; in acpi_evaluate_integer() local 259 buffer.pointer = &element; in acpi_evaluate_integer() 271 *data = element.integer.value; in acpi_evaluate_integer() [all …]
|
A D | acpi_processor.c | 764 union acpi_object *element; in acpi_processor_evaluate_cst() local 782 element = &cst->package.elements[i]; in acpi_processor_evaluate_cst() 783 if (element->type != ACPI_TYPE_PACKAGE) { in acpi_processor_evaluate_cst() 785 i, element->type); in acpi_processor_evaluate_cst() 789 if (element->package.count != 4) { in acpi_processor_evaluate_cst() 791 i, element->package.count); in acpi_processor_evaluate_cst() 795 obj = &element->package.elements[0]; in acpi_processor_evaluate_cst() 805 obj = &element->package.elements[1]; in acpi_processor_evaluate_cst() 864 obj = &element->package.elements[2]; in acpi_processor_evaluate_cst() 873 obj = &element->package.elements[3]; in acpi_processor_evaluate_cst()
|
A D | property.c | 806 for (; *element < end && (*element)->type == ACPI_TYPE_STRING; in acpi_get_ref_args() 807 (*element)++) { in acpi_get_ref_args() 842 (*element) += nargs; in acpi_get_ref_args() 886 const union acpi_object *element, *end; in __acpi_node_get_property_reference() local 931 element = obj->package.elements; in __acpi_node_get_property_reference() 932 end = element + obj->package.count; in __acpi_node_get_property_reference() 934 while (element < end) { in __acpi_node_get_property_reference() 935 switch (element->type) { in __acpi_node_get_property_reference() 941 element++; in __acpi_node_get_property_reference() 945 &element, end, num_args); in __acpi_node_get_property_reference() [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | mempool.h | 14 typedef void (mempool_free_t)(void *element, void *pool_data); 54 extern void mempool_free(void *element, mempool_t *pool); 62 void mempool_free_slab(void *element, void *pool_data); 83 void mempool_kfree(void *element, void *pool_data); 102 void mempool_free_pages(void *element, void *pool_data);
|
A D | min_heap.h | 100 const void *element, in min_heap_pop_push() argument 103 memcpy(heap->data, element, func->elem_size); in min_heap_pop_push() 109 void min_heap_push(struct min_heap *heap, const void *element, in min_heap_push() argument 121 memcpy(data + (pos * func->elem_size), element, func->elem_size); in min_heap_push()
|
/linux-6.3-rc2/drivers/counter/ |
A D | counter-sysfs.c | 422 element->idx, &data); in counter_comp_array_u64_show() 426 element->idx, &data); in counter_comp_array_u64_show() 458 element->idx, data); in counter_comp_array_u64_store() 462 element->idx, data); in counter_comp_array_u64_store() 765 struct counter_array *element; in counter_array_attrs_create() local 778 element = devm_kzalloc(dev, sizeof(*element), GFP_KERNEL); in counter_array_attrs_create() 779 if (!element) in counter_array_attrs_create() 781 element->type = array->type; in counter_array_attrs_create() 782 element->avail = array->avail; in counter_array_attrs_create() 783 element->idx = idx; in counter_array_attrs_create() [all …]
|
/linux-6.3-rc2/drivers/mfd/ |
A D | si476x-prop.c | 19 static bool si476x_core_element_is_in_array(u16 element, in si476x_core_element_is_in_array() argument 26 if (element == array[i]) in si476x_core_element_is_in_array() 32 static bool si476x_core_element_is_in_range(u16 element, in si476x_core_element_is_in_range() argument 39 if (element <= range[i].high && element >= range[i].low) in si476x_core_element_is_in_range()
|
/linux-6.3-rc2/drivers/thermal/intel/int340x_thermal/ |
A D | acpi_thermal_rel.c | 77 struct acpi_buffer element = { 0, NULL }; in acpi_parse_trt() local 101 element.length = sizeof(struct trt); in acpi_parse_trt() 102 element.pointer = trt; in acpi_parse_trt() 105 &trt_format, &element); in acpi_parse_trt() 151 struct acpi_buffer element = { 0, NULL }; in acpi_parse_art() local 177 element.length = sizeof(struct art); in acpi_parse_art() 178 element.pointer = art; in acpi_parse_art() 181 &art_format, &element); in acpi_parse_art()
|
/linux-6.3-rc2/arch/powerpc/platforms/pseries/ |
A D | hvcserver.c | 65 struct list_head *element; in hvcs_free_partner_info() local 71 element = head->next; in hvcs_free_partner_info() 72 pi = list_entry(element, struct hvcs_partner_info, node); in hvcs_free_partner_info() 73 list_del(element); in hvcs_free_partner_info()
|
/linux-6.3-rc2/scripts/coccinelle/misc/ |
A D | array_size.cocci | 2 /// Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element 6 //# element or by any indexed element or the element type. It replaces the
|
A D | flexible_array.cocci | 3 /// Zero-length and one-element arrays are deprecated, see 99 …https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays)" 106 …https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays)"
|
/linux-6.3-rc2/drivers/infiniband/hw/mlx4/ |
A D | sysfs.c | 500 struct port_table_attribute *element; in alloc_group_attrs() local 510 if (!element) in alloc_group_attrs() 512 if (snprintf(element->name, sizeof (element->name), in alloc_group_attrs() 514 kfree(element); in alloc_group_attrs() 517 sysfs_attr_init(&element->attr.attr); in alloc_group_attrs() 518 element->attr.attr.name = element->name; in alloc_group_attrs() 521 element->attr.store = store; in alloc_group_attrs() 523 element->attr.attr.mode = S_IRUGO; in alloc_group_attrs() 525 element->attr.show = show; in alloc_group_attrs() 526 element->index = i; in alloc_group_attrs() [all …]
|
/linux-6.3-rc2/drivers/scsi/esas2r/ |
A D | esas2r_int.c | 342 struct list_head *element, *next; in esas2r_do_deferred_processes() local 346 list_for_each_safe(element, next, &a->defer_list) { in esas2r_do_deferred_processes() 347 rq = list_entry(element, struct esas2r_request, in esas2r_do_deferred_processes() 351 list_del(element); in esas2r_do_deferred_processes() 361 list_del(element); in esas2r_do_deferred_processes() 364 list_del(element); in esas2r_do_deferred_processes() 395 struct list_head *element; in esas2r_process_adapter_reset() local 432 list_for_each(element, &a->defer_list) { in esas2r_process_adapter_reset() 433 rq = list_entry(element, struct esas2r_request, req_list); in esas2r_process_adapter_reset() 449 struct list_head *element; in esas2r_process_bus_reset() local [all …]
|
/linux-6.3-rc2/drivers/s390/scsi/ |
A D | zfcp_qdio.h | 88 return &qdio->req_q[q_req->sbal_last]->element[0]; in zfcp_qdio_sbale_req() 100 return &qdio->req_q[q_req->sbal_last]->element[q_req->sbale_curr]; in zfcp_qdio_sbale_curr() 234 sbale = qdio->req_q[q_req->sbal_first]->element; in zfcp_qdio_set_data_div() 263 sbale = qdio->req_q[q_req->sbal_first]->element; in zfcp_qdio_set_scount()
|
/linux-6.3-rc2/drivers/platform/loongarch/ |
A D | loongson-laptop.c | 285 union acpi_object *element, *sub_pack; in hotkey_map() local 289 element = &sub_pack->package.elements[0]; in hotkey_map() 290 hotkey_keycode_map[index].type = element->integer.value; in hotkey_map() 291 element = &sub_pack->package.elements[1]; in hotkey_map() 292 hotkey_keycode_map[index].code = element->integer.value; in hotkey_map() 293 element = &sub_pack->package.elements[2]; in hotkey_map() 294 hotkey_keycode_map[index].keycode = element->integer.value; in hotkey_map()
|
/linux-6.3-rc2/lib/ |
A D | lru_cache.c | 82 struct lc_element **element = NULL; in lc_create() local 100 element = kcalloc(e_count, sizeof(struct lc_element *), GFP_KERNEL); in lc_create() 101 if (!element) in lc_create() 119 lc->lc_element = element; in lc_create() 133 element[i] = e; in lc_create() 140 void *p = element[--i]; in lc_create() 145 kfree(element); in lc_create()
|
/linux-6.3-rc2/Documentation/RCU/ |
A D | rcuref.rst | 50 search_and_reference() could potentially hold reference to an element which 81 Sometimes, a reference to the element needs to be obtained in the 121 search_and_reference() cannot find this element, which means that the value 123 readers that can or ever will be able to reference the element. The 124 element can therefore safely be freed. This in turn guarantees that if 125 any reader finds the element, that reader may safely acquire a reference
|