Searched refs:entries (Results 1 - 25 of 29) sorted by relevance

12

/fuchsia/zircon/third_party/ulib/jemalloc/test/unit/
H A Dqr.c3 /* Number of ring entries, in [2..26]. */
16 init_entries(ring_t *entries) argument
21 qr_new(&entries[i], link);
22 entries[i].id = 'a' + i;
27 test_independent_entries(ring_t *entries) argument
34 qr_foreach(t, &entries[i], link) {
43 qr_reverse_foreach(t, &entries[i], link) {
51 t = qr_next(&entries[i], link);
52 assert_ptr_eq(t, &entries[i],
57 t = qr_prev(&entries[
66 ring_t entries[NENTRIES]; local
74 test_entries_ring(ring_t *entries) argument
109 ring_t entries[NENTRIES]; local
121 ring_t entries[NENTRIES]; local
150 ring_t entries[NENTRIES]; local
187 test_split_entries(ring_t *entries) argument
211 ring_t entries[NENTRIES]; local
[all...]
H A Dql.c3 /* Number of ring entries, in [2..26]. */
47 init_entries(list_t *entries, unsigned nentries) argument
52 entries[i].id = 'a' + i;
53 ql_elm_new(&entries[i], link);
58 test_entries_list(list_head_t *head, list_t *entries, unsigned nentries) argument
63 assert_c_eq(ql_first(head)->id, entries[0].id, "Element id mismatch");
64 assert_c_eq(ql_last(head, link)->id, entries[nentries-1].id,
69 assert_c_eq(t->id, entries[i].id, "Element id mismatch");
75 assert_c_eq(t->id, entries[nentries-i-1].id,
81 t = ql_next(head, &entries[
97 list_t entries[NENTRIES]; local
112 list_t entries[NENTRIES]; local
131 list_t entries[NENTRIES]; local
146 list_t entries[NENTRIES]; local
165 list_t entries[8]; local
[all...]
/fuchsia/zircon/system/ulib/fs/
H A Dlazy-dir.cpp44 LazyEntryVector entries; local
45 GetContents(&entries);
46 for (const auto& entry : entries) {
55 LazyEntryVector entries; local
56 GetContents(&entries);
57 qsort(entries.get(), entries.size(), sizeof(LazyEntry), CompareLazyDirPtrs);
70 for (auto it = fbl::lower_bound(entries.begin(), entries.end(), cookie->n,
72 it < entries
[all...]
/fuchsia/zircon/system/host/merkleroot/
H A Dmerkleroot.cpp45 std::vector<FileEntry>* entries) {
56 handle_argument(argv, filename, entries);
66 entries->push_back({arg});
146 std::vector<FileEntry> entries; local
148 if (handle_argument(argv, argv[argi], &entries))
159 if (n_threads > entries.size()) {
160 n_threads = entries.size();
169 if (j >= entries.size()) {
172 handle_entry(&entries[j]);
180 for (const auto& entry : entries) {
44 handle_argument(char** argv, const char* arg, std::vector<FileEntry>* entries) argument
[all...]
/fuchsia/zircon/system/ulib/inet6/
H A Deth-client.c100 eth_fifo_entry_t entries[eth->tx_size]; local
103 if ((status = zx_fifo_read(eth->tx_fifo, sizeof(entries[0]), entries, countof(entries), &count)) < 0) {
111 for (eth_fifo_entry_t* e = entries; count-- > 0; e++) {
121 eth_fifo_entry_t entries[eth->rx_size]; local
124 if ((status = zx_fifo_read(eth->rx_fifo, sizeof(entries[0]), entries, countof(entries), &count)) < 0) {
132 for (eth_fifo_entry_t* e = entries; coun
[all...]
/fuchsia/zircon/system/ulib/task-utils/
H A Dwalker.cpp30 zx_koid_t* entries; member in struct:__anon1195
46 return table->capacity * sizeof(table->entries[0]);
50 table->entries = reinterpret_cast<zx_koid_t*>(
51 realloc(table->entries, new_capacity * sizeof(table->entries[0])));
59 table->entries = nullptr;
65 free(table->entries);
84 koids->entries,
127 status = zx_object_get_child(process, koids->entries[n],
134 depth, child, koids->entries[
[all...]
/fuchsia/zircon/kernel/syscalls/
H A Dfifo.cpp46 zx_status_t sys_fifo_write(zx_handle_t handle, size_t elem_size, user_in_ptr<const void> entries, argument
56 status = fifo->WriteFromUser(elem_size, entries.reinterpret<const uint8_t>(), count, &actual);
68 zx_status_t sys_fifo_read(zx_handle_t handle, size_t elem_size, user_out_ptr<void> entries, argument
78 status = fifo->ReadToUser(elem_size, entries.reinterpret<uint8_t>(), count, &actual);
/fuchsia/zircon/system/utest/core/object-info/
H A Dobject-info.cpp94 test_mapping_t* mappings; // num_mappings entries
96 test_vmo_t* vmos; // num_vmos entries
286 // Buffer big enough to read all of the test process's map entries.
290 // Read the map entries.
297 EXPECT_EQ(actual, avail, "Should have read all entries");
299 // The first two entries should always be the ASpace and root VMAR.
324 // All entries should be children of the root VMAR.
414 EntryType entries[2]; local
417 // It's illegal to look at your own entries, because the output buffer
420 entries, sizeo
428 EntryType entries[2]; local
441 EntryType entries[2]; local
457 EntryType entries[2]; local
525 EntryType entries[1]; local
542 EntryType entries[2]; local
598 EntryType* entries = (EntryType*)(vmo_addr + PAGE_SIZE) - 1; local
617 EntryType entries[2]; local
631 EntryType entries[2]; local
[all...]
/fuchsia/zircon/kernel/arch/x86/include/arch/x86/
H A Didt.h20 struct idt_entry entries[256]; member in struct:idt
/fuchsia/zircon/system/uapp/psutils/
H A Dps.c36 task_entry_t* entries; member in struct:__anon871
56 table->entries = realloc(table->entries, new_cap * sizeof(*entry));
59 table->entries[table->num_entries] = *entry;
60 return table->entries + table->num_entries++;
211 const task_entry_t* e = table->entries + i;
222 const task_entry_t* e = table->entries + i;
316 free(tasks.entries);
/fuchsia/zircon/kernel/arch/x86/
H A Didt.cpp70 struct idt_entry* entry = &idt->entries[vec];
81 struct idt_entry* entry = &idt->entries[vec];
99 for (size_t i = 0; i < fbl::count_of(idt->entries); ++i) {
/fuchsia/zircon/system/uapp/netreflector/
H A Dnetreflector.c146 eth_fifo_entry_t entries[BUFS]; local
162 if ((status = zx_fifo_read(fifo, sizeof(entries[0]), entries, countof(entries), &n)) != ZX_OK) {
167 eth_fifo_entry_t* e = entries;
209 // Allocate shareable ethernet buffer data heap. The first BUFS entries represent rx buffers,
210 // followed by BUFS entries representing tx buffers.
228 // Write first BUFS entries to rx fifo...
240 // ... continue writing next BUFS entries to tx fifo.
/fuchsia/zircon/system/dev/display/intel-i915/
H A Ddp-display.cpp145 void get_dp_ddi_buf_trans_entries(uint16_t device_id, const ddi_buf_trans_entry** entries, argument
149 *entries = dp_ddi_buf_trans_skl_u;
153 *entries = dp_ddi_buf_trans_skl_y;
157 *entries = dp_ddi_buf_trans_skl_hs;
164 *entries = dp_ddi_buf_trans_kbl_u;
168 *entries = dp_ddi_buf_trans_kbl_y;
172 *entries = dp_ddi_buf_trans_kbl_hs;
179 void get_edp_ddi_buf_trans_entries(uint16_t device_id, const ddi_buf_trans_entry** entries, argument
182 *entries = edp_ddi_buf_trans_skl_u;
185 *entries
617 const ddi_buf_trans_entry* entries; local
[all...]
H A Dhdmi-display.cpp669 const ddi_buf_trans_entry* entries; local
672 entries = hdmi_ddi_buf_trans_skl_y;
678 entries = hdmi_ddi_buf_trans_skl_uhs;
685 ddi_buf_trans_hi.set_reg_value(entries[idx].high_dword);
686 ddi_buf_trans_lo.set_reg_value(entries[idx].low_dword);
H A Digd.h201 lfp_backlight_entry_t entries[16]; member in struct:i915::lfp_backlight
H A Digd.cpp332 lfp_backlight_entry_t* e = &data->entries[panel_type_];
/fuchsia/zircon/system/uapp/netdump/
H A Dnetdump.c276 eth_fifo_entry_t entries[count]; local
288 if ((status = zx_fifo_read(rx_fifo, sizeof(entries[0]), entries, countof(entries), &n)) < 0) {
297 eth_fifo_entry_t* e = entries;
/fuchsia/zircon/system/dev/block/gpt/
H A Dgpt.c30 #define TXN_SIZE 0x4000 // 128 partition entries
307 zxlogf(SPEW, "gpt: found gpt header %u entries @ lba%" PRIu64 "\n",
308 header.entries_count, header.entries);
310 // read partition table entries
315 // enough to read the entries that actually contain valid data
322 bop->rw.offset_dev = header.entries;
334 uint8_t entries[TXN_SIZE]; local
335 if (vmo_read(vmo, entries, 0, TXN_SIZE) != ZX_OK) {
339 uint32_t crc = crc32(0, (const unsigned char*)entries, table_sz);
341 zxlogf(ERROR, "gpt: entries cr
[all...]
/fuchsia/zircon/system/ulib/gpt/
H A Dgpt.c244 rc = lseek(fd, header->entries * blocksize, SEEK_SET);
289 ssize_t rc = lseek(fd, header->entries * blocksize, SEEK_SET);
361 // always write 128 entries in partition table
379 header.entries = dev->valid ? priv->header.entries : 2;
385 header.first = header.entries + ptable_blocks;
397 header.entries = priv->header.last + 1;
/fuchsia/zircon/system/dev/ethernet/ethernet/
H A Dethernet.c90 // Number of empty fifo entries to read at a time
347 static int tx_fifo_write(ethdev_t* edev, eth_fifo_entry_t* entries, size_t count) { argument
350 // Writing should never fail, or fail to write all entries
351 status = zx_fifo_write(edev->tx_fifo, sizeof(eth_fifo_entry_t), entries, count, &actual);
457 // The array of entries is invalidated after the call
458 static int eth_send(ethdev_t* edev, eth_fifo_entry_t* entries, uint32_t count) { argument
461 // The entries that we can't send back to the fifo immediately are filtered
463 // Once the loop finishes, the first 'to_write' entries in the array
467 for (eth_fifo_entry_t* e = entries; count > 0; e++) {
470 entries[to_writ
519 eth_fifo_entry_t entries[FIFO_DEPTH / 2]; local
[all...]
/fuchsia/zircon/system/public/zircon/hw/
H A Dgpt.h30 uint64_t entries; member in struct:gpt_header
/fuchsia/zircon/bootloader/src/
H A Dframebuffer.c167 unsigned entries = sizeof(logo_rle) / 2; local
168 while (entries-- > 0) {
H A Ddiskio.c224 printf("gpt: entries: %zu\n", gpt.entries);
246 status = disk_read(disk, disk->blksz * gpt.entries, table, tsize);
258 // ignore empty or bogus entries
/fuchsia/zircon/system/utest/fvm/
H A Dfvm.cpp124 int FVMRebind(int fvm_fd, char* ramdisk_path, const partition_entry_t* entries, argument
167 snprintf(path, sizeof(path), "%s/fvm/%s-p-%zu/block", ramdisk_path, entries[i].name,
168 entries[i].number);
1826 const partition_entry_t entries[] = { local
1829 fd = FVMRebind(fd, ramdisk_path, entries, 1);
1852 fd = FVMRebind(fd, ramdisk_path, entries, 1);
1878 fd = FVMRebind(fd, ramdisk_path, entries, 1);
2087 const partition_entry_t entries[] = { local
2090 fd = FVMRebind(fd, ramdisk_path, entries, 1);
2396 const partition_entry_t entries[] local
2470 const partition_entry_t entries[] = { local
2548 const partition_entry_t entries[] = { local
2840 partition_entry_t entries[ThreadCount]; local
[all...]
/fuchsia/zircon/system/core/userboot/
H A Drules.mk38 # Make sure there are never any PLT entries generated.

Completed in 204 milliseconds

12