Home
last modified time | relevance | path

Searched refs:expected_count (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/drivers/acpi/acpica/
H A Dnsprepkg.c58 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()
129 expected_count)); in acpi_ns_check_package()
249 count = expected_count; in acpi_ns_check_package()
310 expected_count = count + 1; in acpi_ns_check_package()
393 u32 expected_count; in acpi_ns_check_package_list() local
427 expected_count = in acpi_ns_check_package_list()
453 expected_count = in acpi_ns_check_package_list()
556 if (expected_count == 0) { in acpi_ns_check_package_list()
[all …]
H A Dnsrepair2.c75 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 Dkunit_parser.py43 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 Dtpm_tis_lpc.c307 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 Dftrace-ops.c153 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 Duser_exp_rcv.c55 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 Dexp_rcv.c42 ngroups = rcd->expected_count / dd->rcv_entries.group_size; in hfi1_alloc_ctxt_rcv_groups()
H A Dinit.c1941 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 Dfile_ops.c1150 uctxt->expected_count; in get_ctxt_info()
H A Dhfi.h261 u16 expected_count; member
H A Dchip.c9982 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 Dregmap-spi-avmm.c501 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 Dmigrate.c406 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 Ddevlink.sh144 local expected_count=$3
148 [ $count -eq $expected_count ]
/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Dfetch.py1589 def assertRevCount(self, expected_count, args=None): argument
1594 …self.assertEqual(expected_count, actual_count, msg='Object count `%d` is not the expected `%d`' % …
1721 def assertRevCount(self, expected_count, args=None, cwd=None): argument
1728 …self.assertEqual(expected_count, actual_count, msg='Object count `%d` is not the expected `%d`' % …
/openbmc/linux/drivers/scsi/cxgbi/
H A Dlibcxgbi.c2152 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()