Searched refs:expected_count (Results 1 – 13 of 13) sorted by relevance
/linux/drivers/acpi/acpica/ |
A D | nsprepkg.c | 58 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 D | nsrepair2.c | 75 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 D | kunit_parser.py | 44 self.expected_count = 0 # type: Optional[int] 52 ', ' + str(self.expected_count) + ', ' + 358 test.expected_count = None 362 expected_count = int(match.group(1)) 363 test.expected_count = expected_count 364 if expected_count == 0: 556 if test.expected_count: 557 if test.expected_count == 1: 745 expected_count = test.expected_count 748 while expected_count is None or test_num <= expected_count: [all …]
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | user_exp_rcv.c | 49 fd->entry_to_rb = kcalloc(uctxt->expected_count, in hfi1_user_exp_rcv_init() 57 fd->invalid_tids = kcalloc(uctxt->expected_count, in hfi1_user_exp_rcv_init() 85 fd->tid_limit = uctxt->expected_count / uctxt->subctxt_cnt; in hfi1_user_exp_rcv_init() 86 remainder = uctxt->expected_count % uctxt->subctxt_cnt; in hfi1_user_exp_rcv_init() 90 fd->tid_limit = uctxt->expected_count; in hfi1_user_exp_rcv_init() 166 if (npages > fd->uctxt->expected_count) { in pin_rcv_pages() 266 tidbuf->psets = kcalloc(uctxt->expected_count, sizeof(*tidbuf->psets), in hfi1_user_exp_rcv_setup() 487 array = kcalloc(uctxt->expected_count, sizeof(*array), GFP_KERNEL); in hfi1_user_exp_rcv_invalid() 757 if (tididx >= uctxt->expected_count) { in unprogram_rcvarray() 863 if (fdata->invalid_tid_idx < uctxt->expected_count) { in tid_rb_invalidate()
|
A D | exp_rcv.c | 42 ngroups = rcd->expected_count / dd->rcv_entries.group_size; in hfi1_alloc_ctxt_rcv_groups()
|
A D | init.c | 1956 rcd->expected_count = max_entries - egrtop; in hfi1_setup_eagerbufs() 1957 if (rcd->expected_count > MAX_TID_PAIR_ENTRIES * 2) in hfi1_setup_eagerbufs() 1958 rcd->expected_count = MAX_TID_PAIR_ENTRIES * 2; in hfi1_setup_eagerbufs() 1962 rcd->ctxt, rcd->egrbufs.alloced, rcd->expected_count, in hfi1_setup_eagerbufs()
|
A D | file_ops.c | 1117 uctxt->expected_count; in get_ctxt_info()
|
A D | hfi.h | 261 u16 expected_count; member
|
A D | chip.c | 9980 i < rcd->expected_base + rcd->expected_count; i++) in hfi1_clear_tids() 12066 reg = (((rcd->expected_count >> RCV_SHIFT) in hfi1_rcvctrl()
|
/linux/drivers/base/regmap/ |
A D | regmap-spi-avmm.c | 507 u32 *val, unsigned int expected_count) in br_rd_trans_rx_parse() argument 512 if (expected_count * SPI_AVMM_VAL_SIZE != trans_len) in br_rd_trans_rx_parse() 516 for (i = 0; i < expected_count; i++) in br_rd_trans_rx_parse() 527 unsigned int expected_count) in br_wr_trans_rx_parse() argument 541 if (!val_len || val_len != expected_count * SPI_AVMM_VAL_SIZE) in br_wr_trans_rx_parse()
|
/linux/mm/ |
A D | migrate.c | 359 int expected_count = 1; in expected_page_refs() local 365 expected_count += is_device_private_page(page); in expected_page_refs() 369 return expected_count; in expected_page_refs() 391 if (folio_ref_count(folio) != expected_count) in folio_migrate_mapping() 407 if (!folio_ref_freeze(folio, expected_count)) { in folio_migrate_mapping() 507 int expected_count; in migrate_huge_page_move_mapping() local 510 expected_count = 2 + page_has_private(page); in migrate_huge_page_move_mapping() 516 if (!page_ref_freeze(page, expected_count)) { in migrate_huge_page_move_mapping() 528 page_ref_unfreeze(page, expected_count - 1); in migrate_huge_page_move_mapping() 696 int expected_count; in __buffer_migrate_page() local [all …]
|
/linux/tools/testing/selftests/drivers/net/netdevsim/ |
A D | devlink.sh | 132 local expected_count=$3 136 [ $count -eq $expected_count ]
|
/linux/drivers/scsi/cxgbi/ |
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()
|
Completed in 96 milliseconds