Home
last modified time | relevance | path

Searched refs:items (Results 1 – 25 of 224) sorted by relevance

123456789

/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_overlay.c117 } *items; in vmw_overlay_send_put() local
125 fifo_size = sizeof(*cmds) + sizeof(*flush) + sizeof(*items) * num_items; in vmw_overlay_send_put()
132 items = (typeof(items))&cmds[1]; in vmw_overlay_send_put()
133 flush = (struct vmw_escape_video_flush *)&items[num_items]; in vmw_overlay_send_put()
136 fill_escape(&cmds->escape, sizeof(*items) * (num_items + 1)); in vmw_overlay_send_put()
143 items[i].registerId = i; in vmw_overlay_send_put()
148 items[SVGA_VIDEO_ENABLED].value = true; in vmw_overlay_send_put()
149 items[SVGA_VIDEO_FLAGS].value = arg->flags; in vmw_overlay_send_put()
150 items[SVGA_VIDEO_DATA_OFFSET].value = ptr.offset; in vmw_overlay_send_put()
151 items[SVGA_VIDEO_FORMAT].value = arg->format; in vmw_overlay_send_put()
[all …]
/Linux-v4.19/sound/pci/lola/
Dlola_clock.c141 chip->clock.items = val & 0xff; in lola_init_clock_widget()
143 chip->clock.items); in lola_init_clock_widget()
144 if (chip->clock.items > MAX_SAMPLE_CLOCK_COUNT) { in lola_init_clock_widget()
146 chip->clock.items); in lola_init_clock_widget()
150 nitems = chip->clock.items; in lola_init_clock_widget()
156 unsigned short items[4]; in lola_init_clock_widget() local
165 items[0] = val & 0xfff; in lola_init_clock_widget()
166 items[1] = (val >> 16) & 0xfff; in lola_init_clock_widget()
167 items[2] = res_ex & 0xfff; in lola_init_clock_widget()
168 items[3] = (res_ex >> 16) & 0xfff; in lola_init_clock_widget()
[all …]
Dlola_proc.c72 unsigned short items[4]; in print_clock_widget() local
77 items[0] = val & 0xfff; in print_clock_widget()
78 items[1] = (val >> 16) & 0xfff; in print_clock_widget()
79 items[2] = res_ex & 0xfff; in print_clock_widget()
80 items[3] = (res_ex >> 16) & 0xfff; in print_clock_widget()
82 unsigned char type = items[j] >> 8; in print_clock_widget()
83 unsigned int freq = items[j] & 0xff; in print_clock_widget()
/Linux-v4.19/tools/perf/util/
Dthread_map.c59 int items; in thread_map__new_by_pid() local
64 items = scandir(name, &namelist, filter, NULL); in thread_map__new_by_pid()
65 if (items <= 0) in thread_map__new_by_pid()
68 threads = thread_map__alloc(items); in thread_map__new_by_pid()
70 for (i = 0; i < items; i++) in thread_map__new_by_pid()
72 threads->nr = items; in thread_map__new_by_pid()
76 for (i=0; i<items; i++) in thread_map__new_by_pid()
99 int max_threads = 32, items, i; in __thread_map__new_all_cpus() local
132 items = scandir(path, &namelist, filter, NULL); in __thread_map__new_all_cpus()
133 if (items <= 0) in __thread_map__new_all_cpus()
[all …]
Dconfig.h17 struct list_head items; member
68 perf_config_items__for_each_entry(&section->items, item)
/Linux-v4.19/tools/testing/radix-tree/
Dtest.c126 struct item *items[chunk]; in item_gang_check_present() local
137 nfound = radix_tree_gang_lookup(root, (void **)items, in item_gang_check_present()
141 assert(items[i]->index == start + into + i); in item_gang_check_present()
152 struct item *items[chunk]; in item_full_scan() local
160 while ((nfound = radix_tree_gang_lookup(root, (void **)items, into, in item_full_scan()
164 assert(items[i]->index == this_index); in item_full_scan()
173 nfound = radix_tree_gang_lookup(root, (void **)items, in item_full_scan()
294 struct item *items[32]; in item_kill_tree() local
302 while ((nfound = radix_tree_gang_lookup(root, (void **)items, 0, 32))) { in item_kill_tree()
308 ret = radix_tree_delete(root, items[i]->index); in item_kill_tree()
[all …]
Dtag_check.c134 struct item *items[BATCH]; in gang_check() local
139 while ((nr_found = radix_tree_gang_lookup_tag(tree, (void **)items, in gang_check()
144 struct item *item = items[i]; in gang_check()
153 index = items[nr_found - 1]->index + 1; in gang_check()
311 struct item *items[BATCH]; in single_check() local
318 ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 0, BATCH, 0); in single_check()
320 ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 1, BATCH, 0); in single_check()
326 ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 0, BATCH, 1); in single_check()
329 ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 0, BATCH, 0); in single_check()
/Linux-v4.19/Documentation/core-api/
Dworkqueue.rst22 While there are work items on the workqueue the worker executes the
23 functions associated with the work items one after the other. When
43 while an ST wq one for the whole system. Work items had to compete for
86 subsystems and drivers queue work items on and the backend mechanism
87 which manages worker-pools and processes the queued work items.
89 There are two worker-pools, one for normal work items and the other
91 worker-pools to serve work items queued on unbound workqueues - the
94 Subsystems and drivers can create and queue work items through special
96 aspects of the way the work items are executed by setting flags on the
118 number of the currently runnable workers. Generally, work items are
[all …]
Dcircular-buffers.rst41 (1) A 'head' index - the point at which the producer inserts items into the
51 The head index is incremented when items are added, and the tail index when
52 items are removed. The tail index should never jump the head index, and both
56 Typically, items will all be of the same unit size, but this isn't strictly
58 than 1 if multiple items or variable-sized items are to be included in the
82 This returns the amount of space left in the buffer[1] into which items
91 which items can be immediately inserted without having to wrap back to the
99 This returns the number of items currently occupying a buffer[2].
106 This returns the number of consecutive items[2] that can be extracted from
/Linux-v4.19/drivers/acpi/
Dproperty.c779 static int acpi_copy_property_array_u8(const union acpi_object *items, u8 *val, in acpi_copy_property_array_u8() argument
785 if (items[i].type != ACPI_TYPE_INTEGER) in acpi_copy_property_array_u8()
787 if (items[i].integer.value > U8_MAX) in acpi_copy_property_array_u8()
790 val[i] = items[i].integer.value; in acpi_copy_property_array_u8()
795 static int acpi_copy_property_array_u16(const union acpi_object *items, in acpi_copy_property_array_u16() argument
801 if (items[i].type != ACPI_TYPE_INTEGER) in acpi_copy_property_array_u16()
803 if (items[i].integer.value > U16_MAX) in acpi_copy_property_array_u16()
806 val[i] = items[i].integer.value; in acpi_copy_property_array_u16()
811 static int acpi_copy_property_array_u32(const union acpi_object *items, in acpi_copy_property_array_u32() argument
817 if (items[i].type != ACPI_TYPE_INTEGER) in acpi_copy_property_array_u32()
[all …]
/Linux-v4.19/net/ceph/crush/
Dcrush.c50 kfree(b->h.items); in crush_destroy_bucket_uniform()
58 kfree(b->h.items); in crush_destroy_bucket_list()
64 kfree(b->h.items); in crush_destroy_bucket_tree()
73 kfree(b->h.items); in crush_destroy_bucket_straw()
80 kfree(b->h.items); in crush_destroy_bucket_straw2()
Dmapper.c131 return bucket->items[s]; in bucket_perm_choose()
148 __u64 w = crush_hash32_4(bucket->h.hash, x, bucket->h.items[i], in bucket_list_choose()
153 i, x, r, bucket->h.items[i], bucket->item_weights[i], in bucket_list_choose()
159 return bucket->h.items[i]; in bucket_list_choose()
164 return bucket->h.items[0]; in bucket_list_choose()
222 return bucket->h.items[n >> 1]; in bucket_tree_choose()
237 draw = crush_hash32_3(bucket->h.hash, x, bucket->h.items[i], r); in bucket_straw_choose()
245 return bucket->h.items[high]; in bucket_straw_choose()
321 return bucket->h.items; in get_choose_arg_ids()
372 return bucket->h.items[high]; in bucket_straw2_choose()
[all …]
/Linux-v4.19/tools/perf/scripts/perl/Perf-Trace-Util/
DContext.c54 if (items != 1) in XS()
77 if (items != 1) in XS()
100 if (items != 1) in XS()
128 PERL_UNUSED_VAR(items); /* -W */ in XS()
/Linux-v4.19/drivers/gpu/drm/vmwgfx/device_include/
Dsvga_overlay.h76 } items[1]; member
107 } items[1]; member
116 } items[SVGA_VIDEO_NUM_REGS]; member
/Linux-v4.19/security/selinux/ss/
Davtab.c396 u32 items, items2, val, vers = pol->policyvers; in avtab_read_item() local
424 items = 0; in avtab_read_item()
426 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
432 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
438 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
445 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
465 datum.u.data = le32_to_cpu(buf32[items++]); in avtab_read_item()
472 if (items != items2) { in avtab_read_item()
474 items2, items); in avtab_read_item()
486 items = 0; in avtab_read_item()
[all …]
Dpolicydb.c1000 u32 items; in mls_read_range_helper() local
1008 items = le32_to_cpu(buf[0]); in mls_read_range_helper()
1009 if (items > ARRAY_SIZE(buf)) { in mls_read_range_helper()
1014 rc = next_entry(buf, fp, sizeof(u32) * items); in mls_read_range_helper()
1021 if (items > 1) in mls_read_range_helper()
1031 if (items > 1) { in mls_read_range_helper()
2591 size_t items; in mls_write_range_helper() local
2597 items = 2; in mls_write_range_helper()
2599 items = 3; in mls_write_range_helper()
2600 buf[0] = cpu_to_le32(items-1); in mls_write_range_helper()
[all …]
/Linux-v4.19/tools/perf/tests/
Dattr.py204 parser_items = parser_event.items(section);
212 base_items = parser_base.items('event')
239 for exp_name, exp_event in expect.items():
243 for res_name, res_event in result.items():
268 for exp_name, exp_event in expect.items():
285 for name, event in events.items():
290 for iname, ievent in events.items():
/Linux-v4.19/drivers/pinctrl/
Dpinconf-generic.c58 const struct pin_config_item *items, in pinconf_generic_dump_one() argument
68 config = pinconf_to_config_packed(items[i].param, 0); in pinconf_generic_dump_one()
85 seq_puts(s, items[i].display); in pinconf_generic_dump_one()
87 if (items[i].has_arg) { in pinconf_generic_dump_one()
90 if (items[i].format) in pinconf_generic_dump_one()
91 seq_printf(s, " %s)", items[i].format); in pinconf_generic_dump_one()
/Linux-v4.19/tools/testing/selftests/tc-testing/
Dtdc_helper.py54 def print_sll(items): argument
55 print("\n".join(str(s) for s in items))
/Linux-v4.19/Documentation/openrisc/
DTODO2 since 2.6.35. There are, however, remaining items to be completed within
3 the coming months. Here's a list of known-to-be-less-than-stellar items
/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dsnoc.c493 struct ath10k_hif_sg_item *items, int n_items) in ath10k_snoc_hif_tx_sg() argument
508 i, &items[i].paddr, items[i].len, n_items); in ath10k_snoc_hif_tx_sg()
511 items[i].transfer_context, in ath10k_snoc_hif_tx_sg()
512 items[i].paddr, in ath10k_snoc_hif_tx_sg()
513 items[i].len, in ath10k_snoc_hif_tx_sg()
514 items[i].transfer_id, in ath10k_snoc_hif_tx_sg()
522 i, &items[i].paddr, items[i].len, n_items); in ath10k_snoc_hif_tx_sg()
525 items[i].transfer_context, in ath10k_snoc_hif_tx_sg()
526 items[i].paddr, in ath10k_snoc_hif_tx_sg()
527 items[i].len, in ath10k_snoc_hif_tx_sg()
[all …]
/Linux-v4.19/drivers/iio/counter/
D104-quad-8.c316 .items = quad8_noise_error_states,
336 .items = quad8_count_direction_states,
376 .items = quad8_count_modes,
416 .items = quad8_synchronous_modes,
462 .items = quad8_quadrature_modes,
498 .items = quad8_index_polarity_modes,
/Linux-v4.19/lib/
Dtest_parman.c82 struct test_parman_item items[TEST_PARMAN_ITEM_COUNT]; member
193 struct test_parman_item *item = &test_parman->items[i]; in test_parman_items_init()
207 struct test_parman_item *item = &test_parman->items[i]; in test_parman_items_fini()
275 struct test_parman_item *item = &test_parman->items[item_index]; in test_parman_run()
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfirmware.c453 for (i = 0, item = &req->items[0]; i < req->n_items; i++, item++) { in brcmf_fw_free_request()
474 cur = &fwctx->req->items[fwctx->curpos]; in brcmf_fw_request_nvram_done()
513 cur = &fwctx->req->items[fwctx->curpos]; in brcmf_fw_request_next_item()
548 cur = &fwctx->req->items[fwctx->curpos]; in brcmf_fw_request_done()
603 for (i = 0, item = &req->items[0]; i < req->n_items; i++, item++) { in brcmf_fw_request_is_valid()
674 fwreq->items[j].path = fwnames[j].path; in brcmf_fw_alloc_request()
689 fwreq->items[j].path = fwnames[j].path; in brcmf_fw_alloc_request()
/Linux-v4.19/Documentation/filesystems/
Dxfs-delayed-logging-design.txt116 actually relatively easy to do - all the changes to logged items are already
192 Hence we avoid the need to lock items when we need to flush outstanding
240 Hence we avoid needing a new on-disk format to handle items that have been
253 The log item is already used to track the log items that have been written to
254 the log but not yet written to disk. Such log items are considered "active"
264 such, we cannot reuse the AIL list pointers for tracking committed items, nor
269 Similar to the AIL, tracking of committed items is done through a new list
270 called the Committed Item List (CIL). The list tracks log items that have been
274 and done to make it easy for debugging - the last items in the list are the
283 all the items in the CIL must be written into the log via the log buffers.
[all …]

123456789