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

/linux-master/drivers/acpi/acpica/
H A Drsmisc.c45 u16 item_count = 0; local
135 item_count = ACPI_GET8(source);
136 ACPI_SET8(destination, item_count);
139 (info->value * (item_count - 1));
144 item_count = aml_resource_length;
145 ACPI_SET16(destination, item_count);
148 (info->value * (item_count - 1));
154 item_count = ACPI_GET16(target) - ACPI_GET16(source);
156 resource->length = resource->length + item_count;
157 item_count
456 u16 item_count = 0; local
[all...]
H A Drsutils.c84 * item_count - How many items to move
96 acpi_rs_move_data(void *destination, void *source, u16 item_count, u8 move_type) argument
104 for (i = 0; i < item_count; i++) {
115 memcpy(destination, source, item_count);
H A Dacresrc.h246 void *source, u16 item_count, u8 move_type);
/linux-master/scripts/kconfig/lxdialog/
H A Dmenubox.c182 max_choice = MIN(menu_height, item_count());
233 (scroll >= 0) && (scroll + max_choice <= item_count())) {
240 if (choice >= item_count() - max_choice / 2)
241 scroll = first_item = item_count() - max_choice;
254 print_arrows(dialog, item_count(), scroll,
285 if (item_count() != 0 &&
306 (scroll + max_choice < item_count())) {
329 if (scroll + max_choice < item_count()) {
343 print_arrows(dialog, item_count(), scroll,
H A Dchecklist.c127 max_choice = MIN(list_height, item_count());
186 print_arrows(dialog, choice, item_count(), scroll,
221 print_arrows(dialog, choice, item_count(),
232 if (scroll + choice >= item_count() - 1)
249 print_arrows(dialog, choice, item_count(),
H A Ddialog.h150 int item_count(void);
H A Dutil.c638 int item_count(void) function
/linux-master/net/rds/
H A Dib_rdma.c283 unsigned int item_count; local
285 item_count = atomic_read(&pool->item_count);
287 return item_count;
430 atomic_sub(nfreed, &pool->item_count);
450 if (atomic_inc_return(&pool->item_count) <= pool->max_items)
453 atomic_dec(&pool->item_count);
638 WARN_ON(atomic_read(&pool->item_count));
H A Dib_mr.h94 atomic_t item_count; /* total # of MRs */ member in struct:rds_ib_mr_pool
H A Dib_frmr.c92 if (atomic_read(&pool->item_count) > pool->max_items_soft)
102 atomic_dec(&pool->item_count);
/linux-master/drivers/soc/qcom/
H A Dsmem.c271 * @item_count: max accepted item number
281 u32 item_count; member in struct:qcom_smem
492 if (WARN_ON(item >= __smem->item_count))
663 if (WARN_ON(item >= __smem->item_count))
1152 smem->item_count = qcom_smem_get_item_count(smem);
1156 smem->item_count = SMEM_ITEM_COUNT;
/linux-master/scripts/kconfig/
H A Dnconf.c960 if (toprow >= item_count(curses_menu)-mwin_max_lines)
961 toprow = item_count(curses_menu)-mwin_max_lines;
H A Dmconf.c814 if (item_count() != 0) {

Completed in 247 milliseconds