Home
last modified time | relevance | path

Searched refs:item_count (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/acpi/acpica/
Drsmisc.c45 u16 item_count = 0; in acpi_rs_convert_aml_to_resource() local
125 item_count = ACPI_GET8(source); in acpi_rs_convert_aml_to_resource()
126 ACPI_SET8(destination, item_count); in acpi_rs_convert_aml_to_resource()
129 (info->value * (item_count - 1)); in acpi_rs_convert_aml_to_resource()
134 item_count = aml_resource_length; in acpi_rs_convert_aml_to_resource()
135 ACPI_SET16(destination, item_count); in acpi_rs_convert_aml_to_resource()
138 (info->value * (item_count - 1)); in acpi_rs_convert_aml_to_resource()
144 item_count = ACPI_GET16(target) - ACPI_GET16(source); in acpi_rs_convert_aml_to_resource()
146 resource->length = resource->length + item_count; in acpi_rs_convert_aml_to_resource()
147 item_count = item_count / 2; in acpi_rs_convert_aml_to_resource()
[all …]
Drsutils.c96 acpi_rs_move_data(void *destination, void *source, u16 item_count, u8 move_type) in acpi_rs_move_data() argument
104 for (i = 0; i < item_count; i++) { in acpi_rs_move_data()
115 memcpy(destination, source, item_count); in acpi_rs_move_data()
Dacresrc.h244 void *source, u16 item_count, u8 move_type);
/kernel/linux/linux-5.10/scripts/kconfig/lxdialog/
Dmenubox.c190 max_choice = MIN(menu_height, item_count()); in dialog_menu()
241 (scroll >= 0) && (scroll + max_choice <= item_count())) { in dialog_menu()
248 if (choice >= item_count() - max_choice / 2) in dialog_menu()
249 scroll = first_item = item_count() - max_choice; in dialog_menu()
262 print_arrows(dialog, item_count(), scroll, in dialog_menu()
293 if (item_count() != 0 && in dialog_menu()
314 (scroll + max_choice < item_count())) { in dialog_menu()
337 if (scroll + max_choice < item_count()) { in dialog_menu()
351 print_arrows(dialog, item_count(), scroll, in dialog_menu()
Dchecklist.c127 max_choice = MIN(list_height, item_count()); in dialog_checklist()
186 print_arrows(dialog, choice, item_count(), scroll, in dialog_checklist()
222 print_arrows(dialog, choice, item_count(), in dialog_checklist()
233 if (scroll + choice >= item_count() - 1) in dialog_checklist()
250 print_arrows(dialog, choice, item_count(), in dialog_checklist()
Ddialog.h170 int item_count(void);
Dutil.c656 int item_count(void) in item_count() function
/kernel/linux/linux-5.10/net/rds/
Dib_rdma.c283 unsigned int item_count; in rds_ib_flush_goal() local
285 item_count = atomic_read(&pool->item_count); in rds_ib_flush_goal()
287 return item_count; in rds_ib_flush_goal()
430 atomic_sub(nfreed, &pool->item_count); in rds_ib_flush_mr_pool()
450 if (atomic_inc_return(&pool->item_count) <= pool->max_items) in rds_ib_try_reuse_ibmr()
453 atomic_dec(&pool->item_count); in rds_ib_try_reuse_ibmr()
638 WARN_ON(atomic_read(&pool->item_count)); in rds_ib_destroy_mr_pool()
Dib_mr.h94 atomic_t item_count; /* total # of MRs */ member
Dib_frmr.c92 if (atomic_read(&pool->item_count) > pool->max_items_soft) in rds_ib_alloc_frmr()
102 atomic_dec(&pool->item_count); in rds_ib_alloc_frmr()
/kernel/linux/linux-5.10/drivers/soc/qcom/
Dsmem.c270 u32 item_count; member
456 if (WARN_ON(item >= __smem->item_count)) in qcom_smem_alloc()
586 if (WARN_ON(item >= __smem->item_count)) in qcom_smem_get()
939 smem->item_count = qcom_smem_get_item_count(smem); in qcom_smem_probe()
942 smem->item_count = SMEM_ITEM_COUNT; in qcom_smem_probe()
/kernel/linux/linux-5.10/scripts/kconfig/
Dnconf.c938 if (toprow >= item_count(curses_menu)-mwin_max_lines) in center_item()
939 toprow = item_count(curses_menu)-mwin_max_lines; in center_item()
Dmconf.c672 if (item_count() != 0) { in conf()