Home
last modified time | relevance | path

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

/linux/drivers/acpi/acpica/
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 …]
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/tools/testing/kunit/
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:
/linux/samples/ftrace/
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/drivers/infiniband/hw/hfi1/
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()
A Dexp_rcv.c42 ngroups = rcd->expected_count / dd->rcv_entries.group_size; in hfi1_alloc_ctxt_rcv_groups()
A Dinit.c1940 rcd->expected_count = max_entries - egrtop; in hfi1_setup_eagerbufs()
1941 if (rcd->expected_count > MAX_TID_PAIR_ENTRIES * 2) in hfi1_setup_eagerbufs()
1942 rcd->expected_count = MAX_TID_PAIR_ENTRIES * 2; in hfi1_setup_eagerbufs()
1946 rcd->ctxt, rcd->egrbufs.alloced, rcd->expected_count, in hfi1_setup_eagerbufs()
A Dfile_ops.c1150 uctxt->expected_count; in get_ctxt_info()
A Dhfi.h261 u16 expected_count; member
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/drivers/base/regmap/
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/mm/
A Dmigrate.c491 if (!folio_ref_freeze(folio, expected_count)) in __folio_migrate_mapping()
494 folio_ref_unfreeze(folio, expected_count); in __folio_migrate_mapping()
512 if (!folio_ref_freeze(folio, expected_count)) { in __folio_migrate_mapping()
559 folio_ref_unfreeze(folio, expected_count - nr); in __folio_migrate_mapping()
616 if (folio_ref_count(folio) != expected_count) in folio_migrate_mapping()
633 if (folio_ref_count(src) != expected_count) in migrate_huge_page_move_mapping()
641 if (!folio_ref_freeze(src, expected_count)) { in migrate_huge_page_move_mapping()
764 if (folio_ref_count(src) != expected_count) in __migrate_folio()
842 int expected_count; in __buffer_migrate_folio() local
849 expected_count = folio_expected_refs(mapping, src); in __buffer_migrate_folio()
[all …]
/linux/tools/testing/selftests/drivers/net/netdevsim/
A Ddevlink.sh151 local expected_count=$3
155 [ $count -eq $expected_count ]
/linux/drivers/scsi/cxgbi/
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()

Completed in 74 milliseconds