Lines Matching refs:count

22 			   union acpi_operand_object **elements, u32 count);
33 union acpi_operand_object **elements, u32 count);
45 * DESCRIPTION: Check a returned package object for the correct count and
59 u32 count;
71 return_object->package.count));
80 /* Extract package count and elements array */
83 count = return_object->package.count;
89 if (!count) {
110 status = acpi_ns_custom_package(info, elements, count);
115 * The package count is fixed and there are no subpackages
122 if (count < expected_count) {
124 } else if (count > expected_count) {
128 info->full_pathname, count,
147 * The package count is variable, there are no subpackages, and all
150 for (i = 0; i < count; i++) {
164 * The package count is variable, there are no subpackages. There are
170 expected_count = package->ret_info3.count;
171 if (count < expected_count) {
177 for (i = 0; i < count; i++) {
178 if (i < package->ret_info3.count) {
221 count--;
226 acpi_ns_check_package_list(info, package, elements, count);
231 /* First element is the (Integer) count of subpackages to follow */
245 if (expected_count >= count) {
249 count = expected_count;
255 acpi_ns_check_package_list(info, package, elements, count);
289 count = 1;
295 acpi_ns_check_package_list(info, package, elements, count);
309 if (count & 1) {
310 expected_count = count + 1;
314 while (count > 0) {
340 count -= 2;
360 /* Error exit for the case with an incorrect package count */
364 count, expected_count));
377 * count - Count of subpackages
388 union acpi_operand_object **elements, u32 count)
404 for (i = 0; i < count; i++) {
429 if (sub_package->package.count < expected_count) {
455 if (sub_package->package.count < expected_count) {
468 count -
486 expected_count = package->ret_info2.count;
487 if (sub_package->package.count < expected_count) {
512 if (sub_package->package.count < expected_count) {
523 count, 0, 0, 0);
531 * First element is the (Integer) count of elements, including
532 * the count field (the ACPI name is num_elements)
546 if (sub_package->package.count < expected_count) {
550 if (sub_package->package.count <
563 expected_count = sub_package->package.count;
595 /* The subpackage count was smaller than required */
599 i, sub_package->package.count, expected_count));
610 * count - Element count for the package
614 * DESCRIPTION: Check a returned package object for the correct count and
624 union acpi_operand_object **elements, u32 count)
648 if (count < expected_count) {
652 count, expected_count));
654 } else if (count > expected_count) {
658 info->full_pathname, count, expected_count));
716 * The second group can have a count of zero.