Home
last modified time | relevance | path

Searched refs:entries (Results 26 - 50 of 2865) sorted by relevance

12345678910>>...115

/kernel/linux/linux-6.6/tools/lib/api/fd/
H A Darray.c15 fda->entries = NULL; in fdarray__init()
27 struct pollfd *entries = realloc(fda->entries, size); in fdarray__grow() local
29 if (entries == NULL) in fdarray__grow()
34 free(entries); in fdarray__grow()
38 memset(&entries[fda->nr_alloc], 0, sizeof(struct pollfd) * nr); in fdarray__grow()
42 fda->entries = entries; in fdarray__grow()
65 free(fda->entries); in fdarray__exit()
84 fda->entries[fd in fdarray__add()
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Darm64-frame-pointer-unwind-support.c12 struct entries { struct
25 struct entries *entries = arg; in add_entry() local
27 entries->stack[entries->length++] = entry->ip; in add_entry()
34 struct entries entries = {}; in get_leaf_frame_caller_aarch64() local
56 ret = unwind__get_entries(add_entry, &entries, thread, sample, 2, true); in get_leaf_frame_caller_aarch64()
59 if (ret || entries.length != 2) in get_leaf_frame_caller_aarch64()
62 return callchain_param.order == ORDER_CALLER ? entries in get_leaf_frame_caller_aarch64()
[all...]
H A Dmem2node.c50 struct phys_entry *entries, *tmp_entries; in mem2node__init() local
62 entries = zalloc(sizeof(*entries) * max); in mem2node__init()
63 if (!entries) in mem2node__init()
84 struct phys_entry *prev = &entries[j - 1]; in mem2node__init()
93 phys_entry__init(&entries[j++], start, bsize, n->node); in mem2node__init()
97 /* Cut unused entries, due to merging. */ in mem2node__init()
98 tmp_entries = realloc(entries, sizeof(*entries) * j); in mem2node__init()
101 entries in mem2node__init()
[all...]
/kernel/linux/linux-5.10/lib/
H A Dstackdepot.c65 unsigned long entries[1]; /* Variable-sized array of entries. */ member
104 static struct stack_record *depot_alloc_stack(unsigned long *entries, int size, in depot_alloc_stack() argument
107 int required_size = offsetof(struct stack_record, entries) + in depot_alloc_stack()
139 memcpy(stack->entries, entries, size * sizeof(unsigned long)); in depot_alloc_stack()
155 static inline u32 hash_stack(unsigned long *entries, unsigned int size) in hash_stack() argument
157 return jhash2((u32 *)entries, in hash_stack()
177 /* Find a stack that is equal to the one stored in entries in the hash */
179 unsigned long *entries, in in find_stack()
178 find_stack(struct stack_record *bucket, unsigned long *entries, int size, u32 hash) find_stack() argument
202 stack_depot_fetch(depot_stack_handle_t handle, unsigned long **entries) stack_depot_fetch() argument
235 stack_depot_save(unsigned long *entries, unsigned int nr_entries, gfp_t alloc_flags) stack_depot_save() argument
329 filter_irq_stacks(unsigned long *entries, unsigned int nr_entries) filter_irq_stacks() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/
H A Ddcn314_clk_mgr.c359 .entries = {
396 .entries = {
443 /* skip empty entries, the smu array has no holes*/ in dcn314_build_watermark_ranges()
444 if (!bw_params->wm_table.entries[i].valid) in dcn314_build_watermark_ranges()
447 table->WatermarkRow[WM_DCFCLK][num_valid_sets].WmSetting = bw_params->wm_table.entries[i].wm_inst; in dcn314_build_watermark_ranges()
448 table->WatermarkRow[WM_DCFCLK][num_valid_sets].WmType = bw_params->wm_table.entries[i].wm_type; in dcn314_build_watermark_ranges()
459 bw_params->clk_table.entries[i - 1].dcfclk_mhz + 1; in dcn314_build_watermark_ranges()
462 bw_params->clk_table.entries[i].dcfclk_mhz; in dcn314_build_watermark_ranges()
572 struct clk_limit_table_entry def_max = bw_params->clk_table.entries[bw_params->clk_table.num_entries - 1]; in dcn314_clk_mgr_helper_populate_bw_params()
594 /* Invalid number of entries i in dcn314_clk_mgr_helper_populate_bw_params()
[all...]
/third_party/libexif/libexif/olympus/
H A Dexif-mnote-data-olympus.c53 if (n->entries) { in exif_mnote_data_olympus_clear()
55 if (n->entries[i].data) { in exif_mnote_data_olympus_clear()
56 exif_mem_free (d->mem, n->entries[i].data); in exif_mnote_data_olympus_clear()
57 n->entries[i].data = NULL; in exif_mnote_data_olympus_clear()
59 exif_mem_free (d->mem, n->entries); in exif_mnote_data_olympus_clear()
60 n->entries = NULL; in exif_mnote_data_olympus_clear()
83 mnote_olympus_tag_get_name (n->entries[i].tag)); in exif_mnote_data_olympus_get_value()
85 return mnote_olympus_entry_get_value (&n->entries[i], val, maxlen); in exif_mnote_data_olympus_get_value()
111 * Allocate enough memory for all entries and the number of entries in exif_mnote_data_olympus_save()
[all...]
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
H A Dpb_validate.c58 struct pb_validate_entry *entries; member
84 struct pb_validate_entry *entry = &vl->entries[entry_idx - 1]; in pb_validate_add_buffer()
103 new_entries = (struct pb_validate_entry *)REALLOC(vl->entries, in pb_validate_add_buffer()
112 vl->entries = new_entries; in pb_validate_add_buffer()
115 assert(!vl->entries[vl->used].buf); in pb_validate_add_buffer()
116 pb_reference(&vl->entries[vl->used].buf, buf); in pb_validate_add_buffer()
117 vl->entries[vl->used].flags = flags; in pb_validate_add_buffer()
135 ret = callback(vl->entries[i].buf, data); in pb_validate_foreach()
150 ret = pb_validate(vl->entries[i].buf, vl, vl->entries[ in pb_validate_validate()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/
H A Ddcn315_clk_mgr.c248 .entries = {
296 .entries = {
333 .entries = {
380 /* skip empty entries, the smu array has no holes*/ in dcn315_build_watermark_ranges()
381 if (!bw_params->wm_table.entries[i].valid) in dcn315_build_watermark_ranges()
384 table->WatermarkRow[WM_DCFCLK][num_valid_sets].WmSetting = bw_params->wm_table.entries[i].wm_inst; in dcn315_build_watermark_ranges()
385 table->WatermarkRow[WM_DCFCLK][num_valid_sets].WmType = bw_params->wm_table.entries[i].wm_type; in dcn315_build_watermark_ranges()
396 bw_params->clk_table.entries[i - 1].dcfclk_mhz + 1; in dcn315_build_watermark_ranges()
399 bw_params->clk_table.entries[i].dcfclk_mhz; in dcn315_build_watermark_ranges()
479 struct clk_limit_table_entry def_max = bw_params->clk_table.entries[bw_param in dcn315_clk_mgr_helper_populate_bw_params()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_nsp_eth.c247 union eth_table_entry *entries; in __nfp_eth_read_ports() local
251 entries = kzalloc(NSP_ETH_TABLE_SIZE, GFP_KERNEL); in __nfp_eth_read_ports()
252 if (!entries) in __nfp_eth_read_ports()
255 ret = nfp_nsp_read_eth_table(nsp, entries, NSP_ETH_TABLE_SIZE); in __nfp_eth_read_ports()
262 if (entries[i].port & NSP_ETH_PORT_LANES_MASK) in __nfp_eth_read_ports()
270 nfp_err(cpp, "table entry count reported (%d) does not match entries present (%d)\n", in __nfp_eth_read_ports()
281 if (entries[i].port & NSP_ETH_PORT_LANES_MASK) in __nfp_eth_read_ports()
282 nfp_eth_port_translate(nsp, &entries[i], i, in __nfp_eth_read_ports()
289 kfree(entries); in __nfp_eth_read_ports()
294 kfree(entries); in __nfp_eth_read_ports()
300 union eth_table_entry *entries; nfp_eth_config_start() local
337 union eth_table_entry *entries = nfp_nsp_config_entries(nsp); nfp_eth_config_cleanup_end() local
361 union eth_table_entry *entries = nfp_nsp_config_entries(nsp); nfp_eth_config_commit_end() local
390 union eth_table_entry *entries; nfp_eth_set_mod_enable() local
429 union eth_table_entry *entries; nfp_eth_set_configured() local
466 union eth_table_entry *entries = nfp_nsp_config_entries(nsp); nfp_eth_set_bit_config() local
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dmem2node.c50 struct phys_entry *entries, *tmp_entries; in mem2node__init() local
62 entries = zalloc(sizeof(*entries) * max); in mem2node__init()
63 if (!entries) in mem2node__init()
84 struct phys_entry *prev = &entries[j - 1]; in mem2node__init()
93 phys_entry__init(&entries[j++], start, bsize, n->node); in mem2node__init()
97 /* Cut unused entries, due to merging. */ in mem2node__init()
98 tmp_entries = realloc(entries, sizeof(*entries) * j); in mem2node__init()
100 entries in mem2node__init()
[all...]
/third_party/mesa3d/src/util/tests/
H A Dset_test.cpp39 EXPECT_EQ(s->entries, 2); in TEST()
42 EXPECT_EQ(s->entries, 2); in TEST()
49 EXPECT_EQ(s->entries, 1); in TEST()
55 EXPECT_EQ(s->entries, 0); in TEST()
63 EXPECT_EQ(s->entries, 2); in TEST()
64 unsigned count = s->entries; in TEST()
67 EXPECT_EQ(s->entries, count--); in TEST()
70 EXPECT_EQ(s->entries, 0); in TEST()
97 EXPECT_EQ(s->entries, 2); in TEST()
100 EXPECT_EQ(clone->entries, in TEST()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_relational_get_data_test.cpp243 void ExpectMissQueryCnt(const std::vector<SingleVerKvEntry *> &entries, size_t expectCount) in ExpectMissQueryCnt() argument
246 for (auto iter = entries.begin(); iter != entries.end(); ++iter) { in ExpectMissQueryCnt()
251 if (nextOne != entries.end()) { in ExpectMissQueryCnt()
385 std::vector<SingleVerKvEntry *> entries; in HWTEST_F() local
388 int errCode = store->GetSyncData(query, SyncTimeRange {}, sizeInfo, token, entries); in HWTEST_F()
389 auto count = entries.size(); in HWTEST_F()
390 SingleVerKvEntry::Release(entries); in HWTEST_F()
393 errCode = store->GetSyncDataNext(entries, token, sizeInfo); in HWTEST_F()
394 count += entries in HWTEST_F()
439 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
493 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
573 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
617 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
703 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
789 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
863 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
933 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
1037 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
1122 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
1187 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
1278 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
1339 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
1471 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
1717 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
[all...]
H A Ddistributeddb_storage_transaction_data_test.cpp95 static int RunSyncMergeForOneCommit(std::vector<MultiVerKvEntry *> &entries) in RunSyncMergeForOneCommit() argument
103 int errCode = g_naturalStore->PutCommitData(multiVerCommit, entries, "deviceB"); in RunSyncMergeForOneCommit()
114 for (auto &item : entries) { in RunSyncMergeForOneCommit()
120 entries.clear(); in RunSyncMergeForOneCommit()
186 std::vector<MultiVerKvEntry *> &entries) in PushOneEntry()
212 entries.push_back(entry); in PushOneEntry()
547 std::vector<Entry> entries; in HWTEST_F() local
548 entries.push_back(KV_ENTRY_1); in HWTEST_F()
549 entries.push_back(KV_ENTRY_2); in HWTEST_F()
551 EXPECT_EQ(g_naturalStoreConnection->PutBatch(option, entries), E_O in HWTEST_F()
185 PushOneEntry(uint64_t opr, uint64_t timestamp, const Key &key, const Value &value, std::vector<MultiVerKvEntry *> &entries) PushOneEntry() argument
577 std::vector<Entry> entries; HWTEST_F() local
683 std::vector<Entry> entries; HWTEST_F() local
719 std::vector<Entry> entries; HWTEST_F() local
757 std::vector<Entry> entries; HWTEST_F() local
861 std::vector<Entry> entries; HWTEST_F() local
895 std::vector<Entry> entries; HWTEST_F() local
1015 std::vector<MultiVerKvEntry *> entries; HWTEST_F() local
1061 std::vector<MultiVerKvEntry *> entries; HWTEST_F() local
1207 std::vector<MultiVerKvEntry *> entries; HWTEST_F() local
1265 std::vector<MultiVerKvEntry *> entries; global() local
1324 std::vector<MultiVerKvEntry *> entries; HWTEST_F() local
1362 std::vector<MultiVerKvEntry *> entries; PutFirstSyncCommitData() local
1394 std::vector<MultiVerKvEntry *> entries; PutSecondSyncCommitData() local
1455 ReleaseKvEntries(std::vector<MultiVerKvEntry *> &entries) ReleaseKvEntries() argument
1492 std::vector<MultiVerKvEntry *> entries; HWTEST_F() local
1538 std::vector<MultiVerKvEntry *> entries; HWTEST_F() local
[all...]
H A Ddistributeddb_storage_query_sync_test.cpp61 void ReleaseKvEntries(std::vector<SingleVerKvEntry *> &entries) in ReleaseKvEntries() argument
63 for (auto &itemEntry : entries) { in ReleaseKvEntries()
67 entries.clear(); in ReleaseKvEntries()
167 std::vector<Entry> entries; in SetUp() local
170 g_schemaConnect->GetEntries(option, Query::Select(), entries); in SetUp()
171 ASSERT_FALSE(entries.empty()); in SetUp()
216 std::vector<SingleVerKvEntry *> entries; in HWTEST_F() local
218 EXPECT_EQ(g_store->GetSyncData(queryObj, SyncTimeRange{}, specInfo, token, entries), E_OK); in HWTEST_F()
219 EXPECT_EQ(entries.size(), 1UL); in HWTEST_F()
220 ReleaseKvEntries(entries); in HWTEST_F()
256 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
325 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
388 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
453 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
520 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
568 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
664 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
736 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
931 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
1003 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
1084 std::vector<SingleVerKvEntry *> entries; HWTEST_F() local
1262 std::vector<Entry> entries; HWTEST_F() local
[all...]
/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/EGL/
H A Degl_wrapper_layer.cpp55 EglWrapperFuncPointer *curr, char const * const *entries) in UpdateApiEntries()
58 while (*entries) { in UpdateApiEntries()
59 char const *name = *entries; in UpdateApiEntries()
68 entries++; in UpdateApiEntries()
73 char const * const *entries, EglWrapperFuncPointer *curr) in SetupFuncMaps()
76 while (*entries) { in SetupFuncMaps()
77 const char *name = *entries; in SetupFuncMaps()
84 entries++; in SetupFuncMaps()
231 char const * const *entries; in SetupLayerFuncTbl() local
234 entries in SetupLayerFuncTbl()
54 UpdateApiEntries(LayerSetupFunc func, EglWrapperFuncPointer *curr, char const * const *entries) UpdateApiEntries() argument
72 SetupFuncMaps(FunctionTable &table, char const * const *entries, EglWrapperFuncPointer *curr) SetupFuncMaps() argument
[all...]
/third_party/node/test/parallel/
H A Dtest-perf-hooks-resourcetiming.js93 const entries = performance.getEntries();
94 assert.strictEqual(entries.length, 1);
95 assert(entries[0] instanceof PerformanceResourceTiming);
99 const entries = performance.getEntriesByType('resource');
100 assert.strictEqual(entries.length, 1);
101 assert(entries[0] instanceof PerformanceResourceTiming);
105 const entries = performance.getEntriesByName(resource.name);
106 assert.strictEqual(entries.length, 1);
107 assert(entries[0] instanceof PerformanceResourceTiming);
232 const entries
[all...]
/third_party/mesa3d/src/mapi/
H A Dmapi_abi.py40 # number of dynamic entries
137 """Parse a GLAPI XML file for ABI entries."""
181 entries = sorted(entry_dict.values())
183 return entries
185 def abi_sanity_check(entries):
186 if not entries:
190 last_slot = entries[-1].slot
193 if entries[i].slot != slot:
194 raise Exception('entries are not ordered by slots')
195 if entries[
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/
H A Ddistributeddb_nb_observer_test.cpp234 * @tc.steps: step2. put one entries (KEY_1, VALUE_1) to local db. in CheckObserverAllLocalValue()
245 * @tc.steps: step3. update one entries (KEY_2, VALUE_2) of local db. in CheckObserverAllLocalValue()
325 * @tc.steps: step2. put one entries (KEY_1, VALUE_1) to local db. in CheckObserverAllNativeValue()
334 * @tc.steps: step3. update one entries (KEY_2, VALUE_2) of local db. in CheckObserverAllNativeValue()
444 * @tc.steps: step3. put one entries (KEY_2, VALUE_2) to local db. in HWTEST_F()
455 * @tc.steps: step4. delete one entries from local db where key = KEY_2. in HWTEST_F()
466 * @tc.steps: step5. put one entries (KEY_1, VALUE_1) to sync db. in HWTEST_F()
477 * @tc.steps: step6. delete one entries from sync db where key = KEY_1. in HWTEST_F()
515 * @tc.steps: step2. delete one entries from local db where key = KEY_1. in HWTEST_F()
525 * @tc.steps: step3. delete one entries fro in HWTEST_F()
1281 CheckPressureForLocalRepeat(KvStoreObserverImpl &observerLocal, KvStoreObserverImpl &observerSync, vector< vector<DistributedDB::Entry> > &entries) CheckPressureForLocalRepeat() argument
1376 CheckPressureForNativeRepeat(KvStoreObserverImpl &observerLocal, KvStoreObserverImpl &observerSync, vector< vector<DistributedDB::Entry> > &entries) CheckPressureForNativeRepeat() argument
1609 CheckPressureAfterClose(KvStoreObserverImpl &observerLocal, KvStoreObserverImpl &observerSync, vector< vector<DistributedDB::Entry> > &entries) CheckPressureAfterClose() argument
1701 CheckPressureAfterReopen(KvStoreObserverImpl &observerLocal, KvStoreObserverImpl &observerSync, vector< vector<DistributedDB::Entry> > &entries) CheckPressureAfterReopen() argument
1914 CheckPressureAcrossDatabase(vector<KvStoreNbDelegate *> &nbDelegateVec, KvStoreObserverImpl *observerLocals, KvStoreObserverImpl *observerSyncs, vector< vector<DistributedDB::Entry> > &entries, unsigned int &opCnt) CheckPressureAcrossDatabase() argument
[all...]
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
H A Diommu_api.c34 u64 entries; /* number of entries in hpas/hpages[] */ member
57 unsigned long entries, unsigned long dev_hpa, in mm_iommu_do_alloc()
66 ret = account_locked_vm(mm, entries, true); in mm_iommu_do_alloc()
70 locked_entries = entries; in mm_iommu_do_alloc()
80 mem->pageshift = __ffs(dev_hpa | (entries << PAGE_SHIFT)); in mm_iommu_do_alloc()
88 * we use @ua and @entries natural alignment to allow IOMMU pages in mm_iommu_do_alloc()
91 mem->pageshift = __ffs(ua | (entries << PAGE_SHIFT)); in mm_iommu_do_alloc()
92 mem->hpas = vzalloc(array_size(entries, sizeof(mem->hpas[0]))); in mm_iommu_do_alloc()
102 chunk = min(chunk, entries); in mm_iommu_do_alloc()
56 mm_iommu_do_alloc(struct mm_struct *mm, unsigned long ua, unsigned long entries, unsigned long dev_hpa, struct mm_iommu_table_group_mem_t **pmem) mm_iommu_do_alloc() argument
185 mm_iommu_new(struct mm_struct *mm, unsigned long ua, unsigned long entries, struct mm_iommu_table_group_mem_t **pmem) mm_iommu_new() argument
193 mm_iommu_newdev(struct mm_struct *mm, unsigned long ua, unsigned long entries, unsigned long dev_hpa, struct mm_iommu_table_group_mem_t **pmem) mm_iommu_newdev() argument
323 mm_iommu_get(struct mm_struct *mm, unsigned long ua, unsigned long entries) mm_iommu_get() argument
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/common/test/
H A Dconcurrent_map_test.cpp75 [](const decltype(values_)::map_type &entries) { in HWTEST_F()
76 return (entries.find("test") == entries.end()); in HWTEST_F()
81 [](const decltype(values_)::map_type &entries) { in HWTEST_F()
82 return (entries.find("test") == entries.end()); in HWTEST_F()
87 [](decltype(values_)::map_type &entries) { in HWTEST_F()
88 auto it = entries.find("test"); in HWTEST_F()
89 if (it != entries.end()) { in HWTEST_F()
90 entries in HWTEST_F()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dudmf_run_time_store_test.cpp117 * @tc.desc: check for legal parameters, sum size of all entries is smaller than 512M.
139 vector<Entry> entries; in HWTEST_F() local
140 status = store->GetEntries(KEY_PREFIX, entries); in HWTEST_F()
142 EXPECT_EQ(129, entries.size()); in HWTEST_F()
150 * @tc.desc: check for legal parameters, sum size of all entries is equal to 512M.
172 vector<Entry> entries; in HWTEST_F() local
173 status = store->GetEntries(KEY_PREFIX, entries); in HWTEST_F()
175 EXPECT_EQ(1, entries.size()); in HWTEST_F()
183 * @tc.desc: test rollback, sum size of all entries is larger to 512M.
206 vector<Entry> entries; in HWTEST_F() local
237 vector<Entry> entries; HWTEST_F() local
278 vector<Entry> entries; HWTEST_F() local
317 vector<Entry> entries; HWTEST_F() local
357 vector<Entry> entries; HWTEST_F() local
473 vector<Entry> entries; HWTEST_F() local
509 vector<Entry> entries; HWTEST_F() local
[all...]
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
H A Dsja1105_vl.c27 if (list_empty(&gating_cfg->entries)) { in sja1105_insert_gate_entry()
28 list_add(&e->list, &gating_cfg->entries); in sja1105_insert_gate_entry()
32 list_for_each_entry(p, &gating_cfg->entries, list) { in sja1105_insert_gate_entry()
54 /* The gate entries contain absolute times in their e->interval field. Convert
65 list_for_each_entry(e, &gating_cfg->entries, list) { in sja1105_gating_cfg_time_to_interval()
70 if (prev == &gating_cfg->entries) in sja1105_gating_cfg_time_to_interval()
76 last_e = list_last_entry(&gating_cfg->entries, in sja1105_gating_cfg_time_to_interval()
85 list_for_each_entry_safe(e, n, &gating_cfg->entries, list) { in sja1105_free_gating_config()
144 u8 gate_state = rule->vl.entries[i].gate_state; in sja1105_compose_gating_subschedule()
157 time += rule->vl.entries[ in sja1105_compose_gating_subschedule()
567 sja1105_vl_gate(struct sja1105_private *priv, int port, struct netlink_ext_ack *extack, unsigned long cookie, struct sja1105_key *key, u32 index, s32 prio, u64 base_time, u64 cycle_time, u64 cycle_time_ext, u32 num_entries, struct action_gate_entry *entries) sja1105_vl_gate() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/dsa/sja1105/
H A Dsja1105_vl.c27 if (list_empty(&gating_cfg->entries)) { in sja1105_insert_gate_entry()
28 list_add(&e->list, &gating_cfg->entries); in sja1105_insert_gate_entry()
32 list_for_each_entry(p, &gating_cfg->entries, list) { in sja1105_insert_gate_entry()
54 /* The gate entries contain absolute times in their e->interval field. Convert
65 list_for_each_entry(e, &gating_cfg->entries, list) { in sja1105_gating_cfg_time_to_interval()
70 if (prev == &gating_cfg->entries) in sja1105_gating_cfg_time_to_interval()
76 last_e = list_last_entry(&gating_cfg->entries, in sja1105_gating_cfg_time_to_interval()
85 list_for_each_entry_safe(e, n, &gating_cfg->entries, list) { in sja1105_free_gating_config()
144 u8 gate_state = rule->vl.entries[i].gate_state; in sja1105_compose_gating_subschedule()
157 time += rule->vl.entries[ in sja1105_compose_gating_subschedule()
581 sja1105_vl_gate(struct sja1105_private *priv, int port, struct netlink_ext_ack *extack, unsigned long cookie, struct sja1105_key *key, u32 index, s32 prio, u64 base_time, u64 cycle_time, u64 cycle_time_ext, u32 num_entries, struct action_gate_entry *entries) sja1105_vl_gate() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn321/
H A Ddcn321_fpu.c260 * sort_entries_with_same_bw - Sort entries sharing the same bandwidth by DCFCLK
294 * remove_inconsistent_entries - Ensure entries with the same bandwidth have MEMCLK and FCLK monotonically increasing
295 * and remove entries that do not follow this order
365 if (bw_params->clk_table.entries[i].dcfclk_mhz > max_clk_data.dcfclk_mhz) in build_synthetic_soc_states()
366 max_clk_data.dcfclk_mhz = bw_params->clk_table.entries[i].dcfclk_mhz; in build_synthetic_soc_states()
367 if (bw_params->clk_table.entries[i].fclk_mhz > max_clk_data.fclk_mhz) in build_synthetic_soc_states()
368 max_clk_data.fclk_mhz = bw_params->clk_table.entries[i].fclk_mhz; in build_synthetic_soc_states()
369 if (bw_params->clk_table.entries[i].memclk_mhz > max_clk_data.memclk_mhz) in build_synthetic_soc_states()
370 max_clk_data.memclk_mhz = bw_params->clk_table.entries[i].memclk_mhz; in build_synthetic_soc_states()
371 if (bw_params->clk_table.entries[ in build_synthetic_soc_states()
[all...]
/kernel/linux/linux-6.6/fs/nfs_common/
H A Dnfsacl.c13 * four instead of three entries.
16 * the ACL_MASK and ACL_GROUP_OBJ entries may differ.)
18 * entries contain the identifiers of the owner and owning group.
20 * - ACL entries in the kernel are kept sorted in ascending order
95 int entries = (acl && acl->a_count) ? max_t(int, acl->a_count, 4) : 0; in nfsacl_encode() local
99 .array_len = encode_entries ? entries : 0, in nfsacl_encode()
110 if (entries > NFS_ACL_MAX_ENTRIES || in nfsacl_encode()
111 xdr_encode_word(buf, base, entries)) in nfsacl_encode()
122 /* Insert entries in canonical order: other orders seem in nfsacl_encode()
157 u32 entries in nfs_stream_encode_acl() local
345 u32 entries; nfsacl_decode() local
394 u32 entries; nfs_stream_decode_acl() local
[all...]

Completed in 16 milliseconds

12345678910>>...115