Home
last modified time | relevance | path

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

/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()
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 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/
H A Dkunit_parser.py31 expected_count : int - expected number of subtests (0 if single
43 self.expected_count = 0 # type: Optional[int]
50 return (f'Test({self.status}, {self.name}, {self.expected_count}, '
333 Returns False and sets expected_count to None if there is no valid test
348 test.expected_count = None
350 expected_count = int(match.group(1))
351 test.expected_count = expected_count
511 if test.expected_count:
512 if test.expected_count
[all...]
/linux/drivers/infiniband/hw/hfi1/
H A Duser_exp_rcv.c55 fd->entry_to_rb = kzalloc_objs(*fd->entry_to_rb, uctxt->expected_count); in hfi1_user_exp_rcv_init()
62 uctxt->expected_count); in hfi1_user_exp_rcv_init()
88 fd->tid_limit = uctxt->expected_count / uctxt->subctxt_cnt; in hfi1_user_exp_rcv_init()
89 remainder = uctxt->expected_count % uctxt->subctxt_cnt; in hfi1_user_exp_rcv_init()
93 fd->tid_limit = uctxt->expected_count; in hfi1_user_exp_rcv_init()
164 if (npages > fd->uctxt->expected_count) { in pin_rcv_pages()
268 tidbuf->psets = kcalloc(uctxt->expected_count, sizeof(*tidbuf->psets), in hfi1_user_exp_rcv_setup()
530 array = kcalloc(uctxt->expected_count, sizeof(*array), GFP_KERNEL); in hfi1_user_exp_rcv_invalid()
798 if (rcventry >= uctxt->expected_count) { in unprogram_rcvarray()
913 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 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/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/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/mm/
H A Dmigrate.c572 struct folio *newfolio, struct folio *folio, int expected_count) in __folio_migrate_mapping() argument
584 if (!folio_ref_freeze(folio, expected_count)) in __folio_migrate_mapping()
587 folio_ref_unfreeze(folio, expected_count); in __folio_migrate_mapping()
609 if (!folio_ref_freeze(folio, expected_count)) { in __folio_migrate_mapping()
653 folio_ref_unfreeze(folio, expected_count - nr); in __folio_migrate_mapping()
711 int expected_count = folio_expected_ref_count(folio) + extra_count + 1; in folio_migrate_mapping() local
713 if (folio_ref_count(folio) != expected_count) in folio_migrate_mapping()
716 return __folio_migrate_mapping(mapping, newfolio, folio, expected_count); in folio_migrate_mapping()
728 int rc, expected_count = folio_expected_ref_count(src) + 1; in migrate_huge_page_move_mapping() local
730 if (folio_ref_count(src) != expected_count) in migrate_huge_page_move_mapping()
[all …]
/linux/fs/jfs/
H A Djfs_metapage.c649 int expected_count; in metapage_migrate_folio() local
655 expected_count = folio_expected_ref_count(src) + 1; in metapage_migrate_folio()
656 if (folio_ref_count(src) != expected_count) in metapage_migrate_folio()
/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Ddevlink.sh257 local expected_count=$3
261 [ $count -eq $expected_count ]
/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()