Searched refs:expected_count (Results 1 – 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
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() 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 …]
|
D | nsrepair2.c | 75 u32 expected_count, 762 u32 expected_count, in acpi_ns_check_sorted_list() argument 811 if ((*outer_elements)->package.count < expected_count) { in acpi_ns_check_sorted_list()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | user_exp_rcv.c | 91 fd->entry_to_rb = kcalloc(uctxt->expected_count, in hfi1_user_exp_rcv_init() 99 fd->invalid_tids = kcalloc(uctxt->expected_count, in hfi1_user_exp_rcv_init() 127 fd->tid_limit = uctxt->expected_count / uctxt->subctxt_cnt; in hfi1_user_exp_rcv_init() 128 remainder = uctxt->expected_count % uctxt->subctxt_cnt; in hfi1_user_exp_rcv_init() 132 fd->tid_limit = uctxt->expected_count; in hfi1_user_exp_rcv_init() 208 if (npages > fd->uctxt->expected_count) { in pin_rcv_pages() 308 tidbuf->psets = kcalloc(uctxt->expected_count, sizeof(*tidbuf->psets), in hfi1_user_exp_rcv_setup() 529 array = kcalloc(uctxt->expected_count, sizeof(*array), GFP_KERNEL); in hfi1_user_exp_rcv_invalid() 801 if (tididx >= uctxt->expected_count) { in unprogram_rcvarray() 907 if (fdata->invalid_tid_idx < uctxt->expected_count) { in tid_rb_invalidate()
|
D | exp_rcv.c | 84 ngroups = rcd->expected_count / dd->rcv_entries.group_size; in hfi1_alloc_ctxt_rcv_groups()
|
D | init.c | 1996 rcd->expected_count = max_entries - egrtop; in hfi1_setup_eagerbufs() 1997 if (rcd->expected_count > MAX_TID_PAIR_ENTRIES * 2) in hfi1_setup_eagerbufs() 1998 rcd->expected_count = MAX_TID_PAIR_ENTRIES * 2; in hfi1_setup_eagerbufs() 2002 rcd->ctxt, rcd->egrbufs.alloced, rcd->expected_count, in hfi1_setup_eagerbufs()
|
D | file_ops.c | 1160 uctxt->expected_count; in get_ctxt_info()
|
D | hfi.h | 302 u16 expected_count; member
|
D | chip.c | 10021 i < rcd->expected_base + rcd->expected_count; i++) in hfi1_clear_tids() 12107 reg = (((rcd->expected_count >> RCV_SHIFT) in hfi1_rcvctrl()
|
/kernel/linux/linux-5.10/drivers/base/regmap/ |
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()
|
/kernel/linux/linux-5.10/mm/ |
D | migrate.c | 382 int expected_count = 1; in expected_page_refs() local 388 expected_count += is_device_private_page(page); in expected_page_refs() 390 expected_count += thp_nr_pages(page) + page_has_private(page); in expected_page_refs() 392 return expected_count; in expected_page_refs() 409 int expected_count = expected_page_refs(mapping, page) + extra_count; in migrate_page_move_mapping() local 414 if (page_count(page) != expected_count) in migrate_page_move_mapping() 430 if (page_count(page) != expected_count || xas_load(&xas) != page) { in migrate_page_move_mapping() 435 if (!page_ref_freeze(page, expected_count)) { in migrate_page_move_mapping() 479 page_ref_unfreeze(page, expected_count - nr); in migrate_page_move_mapping() 529 int expected_count; in migrate_huge_page_move_mapping() local [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/netdevsim/ |
D | devlink.sh | 131 local expected_count=$3 135 [ $count -eq $expected_count ]
|
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/ |
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()
|