Home
last modified time | relevance | path

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

/linux-6.15/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()
/linux-6.15/tools/testing/kunit/
H A Dkunit_parser.py43 self.expected_count = 0 # type: Optional[int]
348 test.expected_count = None
350 expected_count = int(match.group(1))
351 test.expected_count = expected_count
509 if test.expected_count:
510 if test.expected_count == 1:
777 expected_count = test.expected_count
780 while parent_test and (expected_count is None or test_num <= expected_count):
790 if expected_count and test_num <= expected_count:
/linux-6.15/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()
/linux-6.15/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.c1939 rcd->expected_count = max_entries - egrtop; in hfi1_setup_eagerbufs()
1940 if (rcd->expected_count > MAX_TID_PAIR_ENTRIES * 2) in hfi1_setup_eagerbufs()
1941 rcd->expected_count = MAX_TID_PAIR_ENTRIES * 2; in hfi1_setup_eagerbufs()
1945 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()
/linux-6.15/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()
/linux-6.15/mm/
H A Dmigrate.c483 if (!folio_ref_freeze(folio, expected_count)) in __folio_migrate_mapping()
486 folio_ref_unfreeze(folio, expected_count); in __folio_migrate_mapping()
504 if (!folio_ref_freeze(folio, expected_count)) { in __folio_migrate_mapping()
549 folio_ref_unfreeze(folio, expected_count - nr); in __folio_migrate_mapping()
606 if (folio_ref_count(folio) != expected_count) in folio_migrate_mapping()
623 if (folio_ref_count(src) != expected_count) in migrate_huge_page_move_mapping()
631 if (!folio_ref_freeze(src, expected_count)) { in migrate_huge_page_move_mapping()
755 if (folio_ref_count(src) != expected_count) in __migrate_folio()
833 int expected_count; in __buffer_migrate_folio() local
840 expected_count = folio_expected_refs(mapping, src); in __buffer_migrate_folio()
[all …]
/linux-6.15/tools/testing/selftests/drivers/net/netdevsim/
H A Ddevlink.sh151 local expected_count=$3
155 [ $count -eq $expected_count ]
/linux-6.15/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()