Home
last modified time | relevance | path

Searched refs:entries (Results 176 - 200 of 1838) sorted by relevance

12345678910>>...74

/kernel/linux/linux-5.10/drivers/lightnvm/
H A Dpblk-rb.c42 vfree(rb->entries); in pblk_rb_free()
76 struct pblk_rb_entry *entries; in pblk_rb_init() local
84 entries = vzalloc(array_size(nr_entries, sizeof(struct pblk_rb_entry))); in pblk_rb_init()
85 if (!entries) in pblk_rb_init()
92 rb->entries = entries; in pblk_rb_init()
123 vfree(entries); in pblk_rb_init()
133 vfree(entries); in pblk_rb_init()
138 entry = &rb->entries[init_entry]; in pblk_rb_init()
145 entry = &rb->entries[init_entr in pblk_rb_init()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_syncobj.c949 struct syncobj_wait_entry *entries; in drm_syncobj_array_wait_timeout() local
967 entries = kcalloc(count, sizeof(*entries), GFP_KERNEL); in drm_syncobj_array_wait_timeout()
968 if (!entries) { in drm_syncobj_array_wait_timeout()
972 /* Walk the list of sync objects and initialize entries. We do in drm_syncobj_array_wait_timeout()
981 entries[i].task = current; in drm_syncobj_array_wait_timeout()
982 entries[i].point = points[i]; in drm_syncobj_array_wait_timeout()
996 entries[i].fence = fence; in drm_syncobj_array_wait_timeout()
998 entries[i].fence = dma_fence_get_stub(); in drm_syncobj_array_wait_timeout()
1001 dma_fence_is_signaled(entries[ in drm_syncobj_array_wait_timeout()
[all...]
/kernel/linux/linux-6.6/arch/x86/xen/
H A Dsetup.c165 * Called during boot before the p2m list can take entries beyond the
207 const struct e820_entry *entry = xen_e820_table.entries; in xen_find_pfn_range()
460 const struct e820_entry *entry = xen_e820_table.entries; in xen_foreach_remap_area()
606 struct e820_entry *entry = xen_e820_table.entries; in xen_ignore_unusable()
625 entry = xen_e820_table.entries; in xen_is_e820_reserved()
650 struct e820_entry *entry = xen_e820_table.entries; in xen_find_free_area()
746 memmap.nr_entries = ARRAY_SIZE(xen_e820_table.entries); in xen_memory_setup()
747 set_xen_guest_handle(memmap.buffer, xen_e820_table.entries); in xen_memory_setup()
760 xen_e820_table.entries[0].addr = 0ULL; in xen_memory_setup()
761 xen_e820_table.entries[ in xen_memory_setup()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_task_stack.c10 unsigned long entries[MAX_STACK_TRACE_DEPTH] = {}; variable
23 retlen = bpf_get_task_stack(task, entries, in dump_task_stack()
32 BPF_SEQ_PRINTF(seq, "[<0>] %pB\n", (void *)entries[i]); in dump_task_stack()
H A Dtest_perf_branches.c24 __u64 entries[4 * 3] = {0}; in perf_branches() local
28 written_stack = bpf_read_branch_records(ctx, entries, sizeof(entries), 0); in perf_branches()
/kernel/linux/linux-6.6/include/linux/
H A Dstackdepot.h74 * @entries: Pointer to the stack trace
79 * Saves a stack trace from @entries array of size @nr_entries. If @can_alloc is
94 depot_stack_handle_t __stack_depot_save(unsigned long *entries,
101 * @entries: Pointer to the stack trace
110 depot_stack_handle_t stack_depot_save(unsigned long *entries,
117 * @entries: Pointer to store the address of the stack trace
122 unsigned long **entries);
H A Ddqblk_qtree.h50 unsigned long long entries = epb; in qtree_depth() local
53 for (i = 1; entries < (1ULL << 32); i++) in qtree_depth()
54 entries *= epb; in qtree_depth()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_perf_branches.c24 __u64 entries[4 * 3] = {0}; in perf_branches() local
28 written_stack = bpf_read_branch_records(ctx, entries, sizeof(entries), 0); in perf_branches()
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
H A Dsja1105_main.c115 kfree(table->entries); in sja1105_init_mac_settings()
119 table->entries = kcalloc(SJA1105_NUM_PORTS, in sja1105_init_mac_settings()
121 if (!table->entries) in sja1105_init_mac_settings()
126 mac = table->entries; in sja1105_init_mac_settings()
170 kfree(table->entries); in sja1105_init_mii_settings()
174 table->entries = kcalloc(SJA1105_MAX_XMII_PARAMS_COUNT, in sja1105_init_mii_settings()
176 if (!table->entries) in sja1105_init_mii_settings()
182 mii = table->entries; in sja1105_init_mii_settings()
231 * L2 Address Lookup entries in sja1105_init_static_fdb()
234 kfree(table->entries); in sja1105_init_static_fdb()
[all...]
/test/xts/acts/distributeddatamgr/distributedKVStoretest/distributedKVStorejstest/hap/entry/src/ohosTest/js/test/
H A DDeviceKvStoreKVPromiseJsTest.js47 let entries = [];
56 entries.push(entry);
58 return entries;
1242 let entries = putBatchString(10, 'batch_test_string_key');
1243 console.info('SUB_DDM_DKV_DEVICEKVSTORE_PUTBATCH_PROMISE_0100 entries: ' + JSON.stringify(entries));
1244 await kvStore.putBatch(entries).then(async (err) => {
1279 let entries = [];
1289 entries.push(entry);
1291 console.info('SUB_DDM_DKV_DEVICEKVSTORE_PUTBATCH_PROMISE_0200 entries
[all...]
H A DSingleKvStoreKVCallbackJsTest.js46 let entries = [];
55 entries.push(entry);
57 return entries;
1088 let entries = [];
1098 entries.push(entry);
1100 console.info('SingleKvStorePutBatchEntryCallbackTest001 entries: ' + JSON.stringify(entries));
1101 await kvStore.putBatch(entries, async function (err,data) {
1129 let entries = [];
1139 entries
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dprocess_pptables_v1_0.c181 entries, table, i); in get_vddc_lookup_table()
184 entries, vddc_lookup_pp_tables, i); in get_vddc_lookup_table()
341 entries, clk_volt_pp_table, i); in get_valid_clk()
357 /* currently we always take entries[0] parameters */ in get_hard_limits()
358 limits->sclk = le32_to_cpu(limitable->entries[0].ulSCLKLimit); in get_hard_limits()
359 limits->mclk = le32_to_cpu(limitable->entries[0].ulMCLKLimit); in get_hard_limits()
360 limits->vddc = le16_to_cpu(limitable->entries[0].usVddcLimit); in get_hard_limits()
361 limits->vddci = le16_to_cpu(limitable->entries[0].usVddciLimit); in get_hard_limits()
362 limits->vddgfx = le16_to_cpu(limitable->entries[0].usVddgfxLimit); in get_hard_limits()
394 entries, mclk_tabl in get_mclk_voltage_dependency_table()
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
H A Dcq.c178 int entries = attr->cqe; in mlx4_ib_create_cq() local
188 if (entries < 1 || entries > dev->dev->caps.max_cqes) in mlx4_ib_create_cq()
194 entries = roundup_pow_of_two(entries + 1); in mlx4_ib_create_cq()
195 cq->ibcq.cqe = entries - 1; in mlx4_ib_create_cq()
214 ucmd.buf_addr, entries); in mlx4_ib_create_cq()
234 err = mlx4_ib_alloc_cq_buf(dev, &cq->buf, entries); in mlx4_ib_create_cq()
247 err = mlx4_cq_alloc(dev->dev, entries, &cq->buf.mtt, uar, cq->db.dma, in mlx4_ib_create_cq()
291 int entries) in mlx4_alloc_resize_buf()
290 mlx4_alloc_resize_buf(struct mlx4_ib_dev *dev, struct mlx4_ib_cq *cq, int entries) mlx4_alloc_resize_buf() argument
314 mlx4_alloc_resize_umem(struct mlx4_ib_dev *dev, struct mlx4_ib_cq *cq, int entries, struct ib_udata *udata) mlx4_alloc_resize_umem() argument
379 mlx4_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) mlx4_ib_resize_cq() argument
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx4/
H A Dcq.c178 int entries = attr->cqe; in mlx4_ib_create_cq() local
188 if (entries < 1 || entries > dev->dev->caps.max_cqes) in mlx4_ib_create_cq()
194 entries = roundup_pow_of_two(entries + 1); in mlx4_ib_create_cq()
195 cq->ibcq.cqe = entries - 1; in mlx4_ib_create_cq()
214 ucmd.buf_addr, entries); in mlx4_ib_create_cq()
234 err = mlx4_ib_alloc_cq_buf(dev, &cq->buf, entries); in mlx4_ib_create_cq()
247 err = mlx4_cq_alloc(dev->dev, entries, &cq->buf.mtt, uar, cq->db.dma, in mlx4_ib_create_cq()
291 int entries) in mlx4_alloc_resize_buf()
290 mlx4_alloc_resize_buf(struct mlx4_ib_dev *dev, struct mlx4_ib_cq *cq, int entries) mlx4_alloc_resize_buf() argument
314 mlx4_alloc_resize_umem(struct mlx4_ib_dev *dev, struct mlx4_ib_cq *cq, int entries, struct ib_udata *udata) mlx4_alloc_resize_umem() argument
379 mlx4_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) mlx4_ib_resize_cq() argument
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/pmbus/
H A Dpmbus_core.c3351 struct pmbus_debugfs_entry *entries; in pmbus_init_debugfs() local
3368 * Allocate the max possible entries we need. in pmbus_init_debugfs()
3369 * 6 entries device-specific in pmbus_init_debugfs()
3370 * 10 entries page-specific in pmbus_init_debugfs()
3372 entries = devm_kcalloc(data->dev, in pmbus_init_debugfs()
3373 6 + data->info->pages * 10, sizeof(*entries), in pmbus_init_debugfs()
3375 if (!entries) in pmbus_init_debugfs()
3379 * Add device-specific entries. in pmbus_init_debugfs()
3382 * To reduce the number of debugfs entries for devices with many pages in pmbus_init_debugfs()
3387 entries[id in pmbus_init_debugfs()
[all...]
/kernel/linux/linux-6.6/net/sched/
H A Dact_gate.c90 if (list_is_last(&next->list, &p->entries)) in gate_timer_func()
91 next = list_first_entry(&p->entries, in gate_timer_func()
223 static void release_entry_list(struct list_head *entries) in release_entry_list() argument
227 list_for_each_entry_safe(entry, e, entries, list) { in release_entry_list()
264 list_add_tail(&entry->list, &sched->entries); in parse_gate_list()
273 release_entry_list(&sched->entries); in parse_gate_list()
386 INIT_LIST_HEAD(&gact->param.entries); in tcf_gate_init()
408 list_for_each_entry(entry, &p->entries, list) in tcf_gate_init()
431 gact->next_entry = list_first_entry(&p->entries, in tcf_gate_init()
469 release_entry_list(&p->entries); in tcf_gate_cleanup()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
H A Dtrace.h122 unsigned int entries, struct hif_scatter_item *list),
124 TP_ARGS(addr, flags, total_len, entries, list),
130 __field(unsigned int, entries)
132 __dynamic_array(unsigned int, len_array, entries)
143 __entry->entries = entries;
153 for (i = 0; i < entries; i++) {
165 "%s addr 0x%x flags 0x%x entries %d total_len %zd\n",
169 __entry->entries,
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath6kl/
H A Dtrace.h122 unsigned int entries, struct hif_scatter_item *list),
124 TP_ARGS(addr, flags, total_len, entries, list),
130 __field(unsigned int, entries)
132 __dynamic_array(unsigned int, len_array, entries)
143 __entry->entries = entries;
153 for (i = 0; i < entries; i++) {
165 "%s addr 0x%x flags 0x%x entries %d total_len %zd\n",
169 __entry->entries,
/kernel/linux/linux-6.6/lib/
H A Dref_tracker.c189 unsigned long entries[REF_TRACKER_STACK_ENTRIES]; in ref_tracker_alloc() local
209 nr_entries = stack_trace_save(entries, ARRAY_SIZE(entries), 1); in ref_tracker_alloc()
210 tracker->alloc_stack_handle = stack_depot_save(entries, nr_entries, gfp); in ref_tracker_alloc()
222 unsigned long entries[REF_TRACKER_STACK_ENTRIES]; in ref_tracker_free() local
239 nr_entries = stack_trace_save(entries, ARRAY_SIZE(entries), 1); in ref_tracker_free()
240 stack_handle = stack_depot_save(entries, nr_entries, in ref_tracker_free()
/kernel/linux/linux-5.10/drivers/mtd/ubi/
H A Deba.c45 * entries table.
53 * @entries: the LEB to PEB mapping (one entry per LEB).
60 struct ubi_eba_entry *entries; member
111 ldesc->pnum = vol->eba_tbl->entries[lnum].pnum; in ubi_eba_get_ldesc()
118 * @nentries: number of entries in the table
134 tbl->entries = kmalloc_array(nentries, sizeof(*tbl->entries), in ubi_eba_create_table()
136 if (!tbl->entries) in ubi_eba_create_table()
140 tbl->entries[i].pnum = UBI_LEB_UNMAPPED; in ubi_eba_create_table()
145 kfree(tbl->entries); in ubi_eba_create_table()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/
H A Dvg_clk_mgr.c393 /* skip empty entries, the smu array has no holes*/ in vg_build_watermark_ranges()
394 if (!bw_params->wm_table.entries[i].valid) in vg_build_watermark_ranges()
397 table->WatermarkRow[WM_DCFCLK][num_valid_sets].WmSetting = bw_params->wm_table.entries[i].wm_inst; in vg_build_watermark_ranges()
398 table->WatermarkRow[WM_DCFCLK][num_valid_sets].WmType = bw_params->wm_table.entries[i].wm_type; in vg_build_watermark_ranges()
409 bw_params->clk_table.entries[i - 1].dcfclk_mhz + 1; in vg_build_watermark_ranges()
412 bw_params->clk_table.entries[i].dcfclk_mhz; in vg_build_watermark_ranges()
494 .entries = {
587 bw_params->clk_table.entries[i].fclk_mhz = clock_table->DfPstateTable[j].fclk; in vg_clk_mgr_helper_populate_bw_params()
588 bw_params->clk_table.entries[i].memclk_mhz = clock_table->DfPstateTable[j].memclk; in vg_clk_mgr_helper_populate_bw_params()
589 bw_params->clk_table.entries[ in vg_clk_mgr_helper_populate_bw_params()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Ddqblk_qtree.h50 unsigned long long entries = epb; in qtree_depth() local
53 for (i = 1; entries < (1ULL << 32); i++) in qtree_depth()
54 entries *= epb; in qtree_depth()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dpptable.h475 UCHAR ucNumEntries; // Number of entries.
476 ATOM_PPLIB_Clock_Voltage_Dependency_Record entries[1]; // Dynamically allocate entries. member
491 UCHAR ucNumEntries; // Number of entries.
492 ATOM_PPLIB_Clock_Voltage_Limit_Record entries[1]; // Dynamically allocate entries. member
515 UCHAR ucNumEntries; // Number of entries.
516 ATOM_PPLIB_CAC_Leakage_Record entries[1]; // Dynamically allocate entries. member
530 UCHAR ucNumEntries; // Number of entries
531 ATOM_PPLIB_PhaseSheddingLimits_Record entries[1]; // Dynamically allocate entries. global() member
543 VCEClockInfo entries[1]; global() member
555 ATOM_PPLIB_VCE_Clock_Voltage_Limit_Record entries[1]; global() member
567 ATOM_PPLIB_VCE_State_Record entries[1]; global() member
589 UVDClockInfo entries[1]; global() member
601 ATOM_PPLIB_UVD_Clock_Voltage_Limit_Record entries[1]; global() member
620 ATOM_PPLIB_SAMClk_Voltage_Limit_Record entries[1]; global() member
638 ATOM_PPLIB_ACPClk_Voltage_Limit_Record entries[1]; global() member
[all...]
/kernel/linux/linux-5.10/drivers/xen/xen-pciback/
H A Dpciback_ops.c202 struct msix_entry *entries; in xen_pcibk_enable_msix() local
215 * to access the BARs where the MSI-X entries reside. in xen_pcibk_enable_msix()
222 entries = kmalloc_array(op->value, sizeof(*entries), GFP_KERNEL); in xen_pcibk_enable_msix()
223 if (entries == NULL) in xen_pcibk_enable_msix()
227 entries[i].entry = op->msix_entries[i].entry; in xen_pcibk_enable_msix()
228 entries[i].vector = op->msix_entries[i].vector; in xen_pcibk_enable_msix()
231 result = pci_enable_msix_exact(dev, entries, op->value); in xen_pcibk_enable_msix()
234 op->msix_entries[i].entry = entries[i].entry; in xen_pcibk_enable_msix()
235 if (entries[ in xen_pcibk_enable_msix()
[all...]
/kernel/linux/linux-6.6/drivers/xen/xen-pciback/
H A Dpciback_ops.c202 struct msix_entry *entries; in xen_pcibk_enable_msix() local
215 * to access the BARs where the MSI-X entries reside. in xen_pcibk_enable_msix()
222 entries = kmalloc_array(op->value, sizeof(*entries), GFP_KERNEL); in xen_pcibk_enable_msix()
223 if (entries == NULL) in xen_pcibk_enable_msix()
227 entries[i].entry = op->msix_entries[i].entry; in xen_pcibk_enable_msix()
228 entries[i].vector = op->msix_entries[i].vector; in xen_pcibk_enable_msix()
231 result = pci_enable_msix_exact(dev, entries, op->value); in xen_pcibk_enable_msix()
234 op->msix_entries[i].entry = entries[i].entry; in xen_pcibk_enable_msix()
235 if (entries[ in xen_pcibk_enable_msix()
[all...]

Completed in 25 milliseconds

12345678910>>...74