Home
last modified time | relevance | path

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

/Linux-v4.19/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);
/Linux-v4.19/scripts/kconfig/lxdialog/
Dmenubox.c203 max_choice = MIN(menu_height, item_count()); in dialog_menu()
254 (scroll >= 0) && (scroll + max_choice <= item_count())) { in dialog_menu()
261 if (choice >= item_count() - max_choice / 2) in dialog_menu()
262 scroll = first_item = item_count() - max_choice; in dialog_menu()
275 print_arrows(dialog, item_count(), scroll, in dialog_menu()
306 if (item_count() != 0 && in dialog_menu()
327 (scroll + max_choice < item_count())) { in dialog_menu()
350 if (scroll + max_choice < item_count()) { in dialog_menu()
364 print_arrows(dialog, item_count(), scroll, in dialog_menu()
Dchecklist.c140 max_choice = MIN(list_height, item_count()); in dialog_checklist()
199 print_arrows(dialog, choice, item_count(), scroll, in dialog_checklist()
235 print_arrows(dialog, choice, item_count(), in dialog_checklist()
246 if (scroll + choice >= item_count() - 1) in dialog_checklist()
263 print_arrows(dialog, choice, item_count(), in dialog_checklist()
Ddialog.h183 int item_count(void);
Dutil.c669 int item_count(void) in item_count() function
/Linux-v4.19/net/rds/
Dib_rdma.c291 unsigned int item_count; in rds_ib_flush_goal() local
293 item_count = atomic_read(&pool->item_count); in rds_ib_flush_goal()
295 return item_count; in rds_ib_flush_goal()
442 atomic_sub(nfreed, &pool->item_count); in rds_ib_flush_mr_pool()
465 if (atomic_inc_return(&pool->item_count) <= pool->max_items) in rds_ib_try_reuse_ibmr()
468 atomic_dec(&pool->item_count); in rds_ib_try_reuse_ibmr()
596 WARN_ON(atomic_read(&pool->item_count)); in rds_ib_destroy_mr_pool()
Dib_mr.h93 atomic_t item_count; /* total # of MRs */ member
Dib_frmr.c74 if (atomic_read(&pool->item_count) > pool->max_items_soft) in rds_ib_alloc_frmr()
82 atomic_dec(&pool->item_count); in rds_ib_alloc_frmr()
Dib_fmr.c82 atomic_dec(&pool->item_count); in rds_ib_alloc_fmr()
/Linux-v4.19/drivers/soc/qcom/
Dsmem.c277 u32 item_count; member
462 if (WARN_ON(item >= __smem->item_count)) in qcom_smem_alloc()
592 if (WARN_ON(item >= __smem->item_count)) in qcom_smem_get()
955 smem->item_count = qcom_smem_get_item_count(smem); in qcom_smem_probe()
958 smem->item_count = SMEM_ITEM_COUNT; in qcom_smem_probe()
/Linux-v4.19/scripts/kconfig/
Dnconf.c939 if (toprow >= item_count(curses_menu)-mwin_max_lines) in center_item()
940 toprow = item_count(curses_menu)-mwin_max_lines; in center_item()
Dmconf.c671 if (item_count() != 0) { in conf()