Searched refs:expected_count (Results 1 – 9 of 9) sorted by relevance
| /linux/tools/testing/kunit/ |
| H A D | kunit_parser.py | 31 expected_count : int - expected number of subtests (0 if single 43 self.expected_count = 0 # type: Optional[int] 51 return (f'Test({self.status}, {self.name}, {self.expected_count}, ' 334 Returns False and sets expected_count to None if there is no valid test 349 test.expected_count = None 351 expected_count = int(match.group(1)) 352 test.expected_count = expected_count 513 if test.expected_count: 514 if test.expected_count [all...] |
| /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()
|
| /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()
|
| /linux/mm/ |
| H A D | migrate.c | 584 struct folio *newfolio, struct folio *folio, int expected_count) in __folio_migrate_mapping() argument 596 if (!folio_ref_freeze(folio, expected_count)) in __folio_migrate_mapping() 599 folio_ref_unfreeze(folio, expected_count); in __folio_migrate_mapping() 622 if (!folio_ref_freeze(folio, expected_count)) { in __folio_migrate_mapping() 666 folio_ref_unfreeze(folio, expected_count - nr); in __folio_migrate_mapping() 726 int expected_count = folio_expected_ref_count(folio) + extra_count + 1; in folio_migrate_mapping() local 728 if (folio_ref_count(folio) != expected_count) in folio_migrate_mapping() 731 return __folio_migrate_mapping(mapping, newfolio, folio, expected_count); in folio_migrate_mapping() 743 int rc, expected_count = folio_expected_ref_count(src) + 1; in migrate_huge_page_move_mapping() local 745 if (folio_ref_count(src) != expected_count) in migrate_huge_page_move_mapping() [all …]
|
| /linux/drivers/infiniband/hw/hfi1/ |
| 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 | file_ops.c | 1161 uctxt->expected_count; in get_ctxt_info()
|
| /linux/tools/testing/selftests/drivers/net/netdevsim/ |
| H A D | devlink.sh | 258 local expected_count=$3 262 [ $count -eq $expected_count ]
|
| /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()
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/tests/ |
| H A D | amdgpu_dm_helpers_test.c | 1467 unsigned int expected_count) in dm_test_expect_synaptics_commands() argument 1471 KUNIT_ASSERT_EQ(test, fixture->rc_command_count, expected_count); in dm_test_expect_synaptics_commands() 1473 for (index = 0; index < expected_count; index++) in dm_test_expect_synaptics_commands()
|