/openbmc/linux/drivers/acpi/acpica/ |
H A D | nsprepkg.c | 58 u32 expected_count; in acpi_ns_check_package() local 120 expected_count = in acpi_ns_check_package() 122 if (count < expected_count) { in acpi_ns_check_package() 124 } else if (count > expected_count) { in acpi_ns_check_package() 129 expected_count)); in acpi_ns_check_package() 170 expected_count = package->ret_info3.count; in acpi_ns_check_package() 171 if (count < expected_count) { in acpi_ns_check_package() 244 expected_count = (u32)(*elements)->integer.value; in acpi_ns_check_package() 245 if (expected_count >= count) { in acpi_ns_check_package() 249 count = expected_count; in acpi_ns_check_package() [all …]
|
H A D | nsrepair2.c | 75 u32 expected_count, 766 u32 expected_count, in acpi_ns_check_sorted_list() argument 815 if ((*outer_elements)->package.count < expected_count) { in acpi_ns_check_sorted_list()
|
/openbmc/linux/tools/testing/kunit/ |
H A D | kunit_parser.py | 43 self.expected_count = 0 # type: Optional[int] 346 test.expected_count = None 348 expected_count = int(match.group(1)) 349 test.expected_count = expected_count 505 if test.expected_count: 506 if test.expected_count == 1: 744 expected_count = test.expected_count 747 while parent_test and (expected_count is None or test_num <= expected_count): 757 if expected_count and test_num <= expected_count:
|
/openbmc/u-boot/drivers/tpm/ |
H A D | tpm_tis_lpc.c | 307 u32 expected_count = len; in tis_readresponse() local 332 while (burst-- && (offset < expected_count)) { in tis_readresponse() 348 expected_count = be32_to_cpu(real_length); in tis_readresponse() 350 if ((expected_count < offset) || in tis_readresponse() 351 (expected_count > len)) { in tis_readresponse() 354 expected_count); in tis_readresponse() 369 if (offset == expected_count) in tis_readresponse()
|
/openbmc/linux/samples/ftrace/ |
H A D | ftrace-ops.c | 153 unsigned int expected_count) in ops_check() argument 159 if (ops->count == expected_count) in ops_check() 162 ops->count, expected_count); in ops_check()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | user_exp_rcv.c | 55 fd->entry_to_rb = kcalloc(uctxt->expected_count, in hfi1_user_exp_rcv_init() 63 fd->invalid_tids = kcalloc(uctxt->expected_count, in hfi1_user_exp_rcv_init() 91 fd->tid_limit = uctxt->expected_count / uctxt->subctxt_cnt; in hfi1_user_exp_rcv_init() 92 remainder = uctxt->expected_count % uctxt->subctxt_cnt; in hfi1_user_exp_rcv_init() 96 fd->tid_limit = uctxt->expected_count; in hfi1_user_exp_rcv_init() 167 if (npages > fd->uctxt->expected_count) { in pin_rcv_pages() 271 tidbuf->psets = kcalloc(uctxt->expected_count, sizeof(*tidbuf->psets), in hfi1_user_exp_rcv_setup() 533 array = kcalloc(uctxt->expected_count, sizeof(*array), GFP_KERNEL); in hfi1_user_exp_rcv_invalid() 801 if (rcventry >= uctxt->expected_count) { in unprogram_rcvarray() 916 if (fdata->invalid_tid_idx < uctxt->expected_count) { in tid_rb_invalidate()
|
H A D | exp_rcv.c | 42 ngroups = rcd->expected_count / dd->rcv_entries.group_size; in hfi1_alloc_ctxt_rcv_groups()
|
H A D | init.c | 1941 rcd->expected_count = max_entries - egrtop; in hfi1_setup_eagerbufs() 1942 if (rcd->expected_count > MAX_TID_PAIR_ENTRIES * 2) in hfi1_setup_eagerbufs() 1943 rcd->expected_count = MAX_TID_PAIR_ENTRIES * 2; in hfi1_setup_eagerbufs() 1947 rcd->ctxt, rcd->egrbufs.alloced, rcd->expected_count, in hfi1_setup_eagerbufs()
|
H A D | file_ops.c | 1150 uctxt->expected_count; in get_ctxt_info()
|
H A D | hfi.h | 261 u16 expected_count; member
|
H A D | chip.c | 9982 i < rcd->expected_base + rcd->expected_count; i++) in hfi1_clear_tids() 12068 reg = (((rcd->expected_count >> RCV_SHIFT) in hfi1_rcvctrl()
|
/openbmc/linux/drivers/base/regmap/ |
H A D | regmap-spi-avmm.c | 501 u32 *val, unsigned int expected_count) in br_rd_trans_rx_parse() argument 506 if (expected_count * SPI_AVMM_VAL_SIZE != trans_len) in br_rd_trans_rx_parse() 510 for (i = 0; i < expected_count; i++) in br_rd_trans_rx_parse() 521 unsigned int expected_count) in br_wr_trans_rx_parse() argument 535 if (!val_len || val_len != expected_count * SPI_AVMM_VAL_SIZE) in br_wr_trans_rx_parse()
|
/openbmc/linux/mm/ |
H A D | migrate.c | 406 int expected_count = folio_expected_refs(mapping, folio) + extra_count; in folio_migrate_mapping() local 412 if (folio_ref_count(folio) != expected_count) in folio_migrate_mapping() 428 if (!folio_ref_freeze(folio, expected_count)) { in folio_migrate_mapping() 470 folio_ref_unfreeze(folio, expected_count - nr); in folio_migrate_mapping() 531 int expected_count; in migrate_huge_page_move_mapping() local 534 expected_count = 2 + folio_has_private(src); in migrate_huge_page_move_mapping() 535 if (!folio_ref_freeze(src, expected_count)) { in migrate_huge_page_move_mapping() 547 folio_ref_unfreeze(src, expected_count - 1); in migrate_huge_page_move_mapping() 737 int expected_count; in __buffer_migrate_folio() local 744 expected_count = folio_expected_refs(mapping, src); in __buffer_migrate_folio() [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | devlink.sh | 144 local expected_count=$3 148 [ $count -eq $expected_count ]
|
/openbmc/openbmc/poky/bitbake/lib/bb/tests/ |
H A D | fetch.py | 1613 def assertRevCount(self, expected_count, args=None): argument 1618 self.assertEqual(expected_count, actual_count, msg='Object count `%d` is not the expected `%d`' % (actual_count, expected_count)) 1747 def assertRevCount(self, expected_count, args=None, cwd=None): 1754 self.assertEqual(expected_count, actual_count, msg='Object count `%d` is not the expected `%d`' % (actual_count, expected_count)) 1745 assertRevCount(self, expected_count, args=None, cwd=None) global() argument
|
/openbmc/linux/drivers/scsi/cxgbi/ |
H A D | libcxgbi.c | 2152 u32 expected_count, expected_offset; in cxgbi_conn_init_pdu() local 2189 expected_count = tdata->total_count; in cxgbi_conn_init_pdu() 2192 if ((count != expected_count) || in cxgbi_conn_init_pdu()
|