Home
last modified time | relevance | path

Searched refs:scheme (Results 1 – 25 of 344) sorted by relevance

12345678910>>...14

/openbmc/linux/mm/damon/
H A Dsysfs-schemes.c1149 struct damon_sysfs_scheme *scheme = kmalloc(sizeof(*scheme), in damon_sysfs_scheme_alloc() local
1152 if (!scheme) in damon_sysfs_scheme_alloc()
1154 scheme->kobj = (struct kobject){}; in damon_sysfs_scheme_alloc()
1155 scheme->action = action; in damon_sysfs_scheme_alloc()
1156 return scheme; in damon_sysfs_scheme_alloc()
1160 struct damon_sysfs_scheme *scheme) in damon_sysfs_scheme_set_access_pattern() argument
1169 &damon_sysfs_access_pattern_ktype, &scheme->kobj, in damon_sysfs_scheme_set_access_pattern()
1176 scheme->access_pattern = access_pattern; in damon_sysfs_scheme_set_access_pattern()
1184 static int damon_sysfs_scheme_set_quotas(struct damon_sysfs_scheme *scheme) in damon_sysfs_scheme_set_quotas() argument
1192 &scheme->kobj, "quotas"); in damon_sysfs_scheme_set_quotas()
[all …]
H A Dpaddr.c217 static bool damos_pa_filter_out(struct damos *scheme, struct folio *folio) in damos_pa_filter_out() argument
221 damos_for_each_filter(filter, scheme) { in damos_pa_filter_out()
297 struct damos *scheme) in damon_pa_apply_scheme() argument
299 switch (scheme->action) { in damon_pa_apply_scheme()
301 return damon_pa_pageout(r, scheme); in damon_pa_apply_scheme()
303 return damon_pa_mark_accessed(r, scheme); in damon_pa_apply_scheme()
305 return damon_pa_deactivate_pages(r, scheme); in damon_pa_apply_scheme()
317 struct damos *scheme) in damon_pa_scheme_score() argument
319 switch (scheme->action) { in damon_pa_scheme_score()
321 return damon_cold_score(context, r, scheme); in damon_pa_scheme_score()
[all …]
H A Dcore.c320 struct damos *scheme; in damon_new_scheme() local
322 scheme = kmalloc(sizeof(*scheme), GFP_KERNEL); in damon_new_scheme()
323 if (!scheme) in damon_new_scheme()
325 scheme->pattern = *pattern; in damon_new_scheme()
326 scheme->action = action; in damon_new_scheme()
327 scheme->apply_interval_us = apply_interval_us; in damon_new_scheme()
333 scheme->next_apply_sis = 0; in damon_new_scheme()
334 INIT_LIST_HEAD(&scheme->filters); in damon_new_scheme()
335 scheme->stat = (struct damos_stat){}; in damon_new_scheme()
336 INIT_LIST_HEAD(&scheme->list); in damon_new_scheme()
[all …]
H A Dreclaim.c166 struct damos *scheme, *old_scheme; in damon_reclaim_apply_parameters() local
175 scheme = damon_reclaim_new_scheme(); in damon_reclaim_apply_parameters()
176 if (!scheme) in damon_reclaim_apply_parameters()
180 damon_reclaim_copy_quota_status(&scheme->quota, in damon_reclaim_apply_parameters()
187 damon_destroy_scheme(scheme); in damon_reclaim_apply_parameters()
190 damos_add_filter(scheme, filter); in damon_reclaim_apply_parameters()
192 damon_set_schemes(ctx, &scheme, 1); in damon_reclaim_apply_parameters()
H A Dlru_sort.c201 struct damos *scheme, *hot_scheme, *cold_scheme; in damon_lru_sort_apply_parameters() local
210 damon_for_each_scheme(scheme, ctx) { in damon_lru_sort_apply_parameters()
212 old_hot_scheme = scheme; in damon_lru_sort_apply_parameters()
215 old_cold_scheme = scheme; in damon_lru_sort_apply_parameters()
/openbmc/linux/drivers/net/ethernet/freescale/fman/
H A Dfman_keygen.c463 struct keygen_scheme *scheme; in keygen_bind_port_to_schemes() local
468 scheme = get_scheme(keygen, scheme_id); in keygen_bind_port_to_schemes()
469 if (!scheme) { in keygen_bind_port_to_schemes()
473 if (!scheme->used) { in keygen_bind_port_to_schemes()
480 ar_reg = build_ar_bind_scheme(scheme->hw_port_id, false); in keygen_bind_port_to_schemes()
489 ar_reg = build_ar_bind_scheme(scheme->hw_port_id, true); in keygen_bind_port_to_schemes()
514 struct keygen_scheme *scheme; in keygen_scheme_setup() local
518 scheme = get_scheme(keygen, scheme_id); in keygen_scheme_setup()
519 if (!scheme) { in keygen_scheme_setup()
523 if (enable && scheme->used) { in keygen_scheme_setup()
[all …]
/openbmc/bmcweb/test/redfish-core/lib/
H A Dupdate_service_test.cpp32 EXPECT_EQ(ret->scheme(), "https"); in TEST()
45 EXPECT_EQ(ret->scheme(), "https"); in TEST()
58 EXPECT_EQ(ret->scheme(), "https"); in TEST()
76 EXPECT_EQ(ret->scheme(), "https"); in TEST()
89 EXPECT_EQ(ret->scheme(), "https"); in TEST()
102 EXPECT_EQ(ret->scheme(), "https"); in TEST()
115 EXPECT_EQ(ret->scheme(), "https"); in TEST()
128 EXPECT_EQ(ret->scheme(), "https"); in TEST()
/openbmc/linux/drivers/atm/
H A Dfore200e.c288 int scheme, magn, nbr; in fore200e_free_rx_buf() local
291 for (scheme = 0; scheme < BUFFER_SCHEME_NBR; scheme++) { in fore200e_free_rx_buf()
294 if ((buffer = fore200e->host_bsq[ scheme ][ magn ].buffer) != NULL) { in fore200e_free_rx_buf()
296 for (nbr = 0; nbr < fore200e_rx_buf_nbr[ scheme ][ magn ]; nbr++) { in fore200e_free_rx_buf()
312 int scheme, magn; in fore200e_uninit_bs_queue() local
314 for (scheme = 0; scheme < BUFFER_SCHEME_NBR; scheme++) { in fore200e_uninit_bs_queue()
317 struct chunk* status = &fore200e->host_bsq[ scheme ][ magn ].status; in fore200e_uninit_bs_queue()
318 struct chunk* rbd_block = &fore200e->host_bsq[ scheme ][ magn ].rbd_block; in fore200e_uninit_bs_queue()
860 int bsq_audit(int where, struct host_bsq* bsq, int scheme, int magn) in bsq_audit() argument
870 where, scheme, magn, buffer->index); in bsq_audit()
[all …]
/openbmc/linux/include/linux/
H A Ddamon.h423 struct damos *scheme);
426 struct damos *scheme);
470 struct damos *scheme);
609 #define damos_for_each_filter(f, scheme) \ argument
610 list_for_each_entry(f, &(scheme)->filters, list)
612 #define damos_for_each_filter_safe(f, next, scheme) \ argument
613 list_for_each_entry_safe(f, next, &(scheme)->filters, list)
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/files/
H A Dgenerate-srcuri.py27 protocol = parts.scheme
28 parts = parts._replace(scheme="git")
86 protocol = parts.scheme
87 parts = parts._replace(scheme="git")
/openbmc/linux/Documentation/admin-guide/mm/damon/
H A Dusage.rst129 for each DAMON-based operation scheme of the kdamond. For details of the
133 DAMON-based operation scheme action tried regions directory for each
134 DAMON-based operation scheme of the kdamond. Writing
138 operating scheme action tried regions directory for each DAMON-based operation
139 scheme of the kdamond. For details of the DAMON-based operation scheme action
267 to ``N-1``. Each directory represents each DAMON-based operation scheme.
272 In each scheme directory, five directories (``access_pattern``, ``quotas``,
276 The ``action`` file is for setting and getting the scheme's :ref:`action
304 <damon_design_damos_access_pattern>` of the given DAMON-based operation scheme.
308 exist. You can set and get the access pattern for the given scheme by writing
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-mm-damon31 contents of 'tried_regions' directory of every scheme directory
145 directories for controlling each DAMON-based operation scheme
152 of the scheme.
158 size of the scheme's target regions in bytes.
164 size of the scheme's target regions in bytes.
170 'nr_accesses' of the scheme's target regions.
176 'nr_accesses' of the scheme's target regions.
182 'age' of the scheme's target regions.
188 'age' of the scheme's target regions.
194 quota of the scheme in milliseconds.
[all …]
/openbmc/google-misc/subprojects/libcr51sign/src/
H A Dlibcr51sign.c84 failure_reason get_hash_type_from_signature(enum signature_scheme scheme, in get_hash_type_from_signature() argument
87 switch (scheme) in get_hash_type_from_signature()
482 enum signature_scheme scheme) in is_signature_scheme_supported() argument
484 switch (scheme) in is_signature_scheme_supported()
499 static failure_reason get_signature_struct_size(enum signature_scheme scheme, in get_signature_struct_size() argument
502 switch (scheme) in get_signature_struct_size()
519 static failure_reason get_signature_field_offset(enum signature_scheme scheme, in get_signature_field_offset() argument
522 switch (scheme) in get_signature_field_offset()
545 uint32_t data_offset, uint32_t data_size, enum signature_scheme scheme, in validate_signature() argument
560 rv = get_hash_type_from_signature(scheme, &hash_type); in validate_signature()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/python/python3-installer/
H A D0001-src-installer-utils.py-sort-entries-before-writing-o.patch23 - for scheme, record in records:
24 + for scheme, record in sorted(records, key=lambda x: x[1].path):
25 writer.writerow(record.to_row(prefix_for_scheme(scheme)))
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dbtcoex.c120 if (btcoex_hw->scheme != ATH_BTCOEX_CFG_2WIRE && in ath9k_hw_btcoex_pin_init()
121 btcoex_hw->scheme != ATH_BTCOEX_CFG_3WIRE) in ath9k_hw_btcoex_pin_init()
146 btcoex_hw->scheme = ATH_BTCOEX_CFG_NONE; in ath9k_hw_btcoex_init_scheme()
151 btcoex_hw->scheme = ATH_BTCOEX_CFG_MCI; in ath9k_hw_btcoex_init_scheme()
153 btcoex_hw->scheme = ATH_BTCOEX_CFG_3WIRE; in ath9k_hw_btcoex_init_scheme()
160 btcoex_hw->scheme = ATH_BTCOEX_CFG_3WIRE; in ath9k_hw_btcoex_init_scheme()
162 btcoex_hw->scheme = ATH_BTCOEX_CFG_2WIRE; in ath9k_hw_btcoex_init_scheme()
434 if (btcoex_hw->scheme == ATH_BTCOEX_CFG_3WIRE) { in ath9k_hw_btcoex_disable()
/openbmc/openbmc/meta-security/meta-tpm/recipes-tpm1/openssl-tpm-engine/files/
H A D0001-create-tpm-key-support-well-known-key-option.patch27 "\t\t-e|--enc-scheme encryption scheme to use [PKCSV15] or OAEP\n"
28 "\t\t-q|--sig-scheme signature scheme to use [DER] or SHA1\n"
/openbmc/openbmc/poky/scripts/lib/recipetool/
H A Dcreate.py337 if parseres.scheme not in ['git', 'gitsm', 'svn', 'hg']:
340 elif parseres.scheme in ['git', 'gitsm']:
373 scheme, host, path, user, pswd, parms = bb.fetch2.decodeurl(uri)
390 … elif (scheme == "http" or scheme == 'https' or scheme == 'ssh') and not ('protocol' in parms):
391 parms.update({('protocol', scheme)})
422 scheme = ''
487 scheme, network, path, user, passwd, params = bb.fetch2.decodeurl(fetchuri)
513 if scheme in ['git', 'gitsm'] and 'branch' not in params and 'nobranch' not in params:
515 fetchuri = bb.fetch2.encodeurl((scheme, network, path, user, passwd, params))
553 …if not srcbranch and not nobranch and srcrev and (srcrev != '${AUTOREV}') and scheme in ['git', 'g…
[all …]
/openbmc/openbmc/poky/meta/recipes-graphics/builder/files/
H A Dbuilder_session.sh22 xdg-mime default epiphany.desktop x-scheme-handler/http
23 xdg-mime default epiphany.desktop x-scheme-handler/https
/openbmc/phosphor-user-manager/phosphor-ldap-config/
H A Dutils.cpp17 bool isValidLDAPURI(const std::string& uri, const char* scheme) in isValidLDAPURI() argument
44 if (std::strcmp(scheme, ludppPtr->lud_scheme) != 0) in isValidLDAPURI()
/openbmc/bmcweb/redfish-core/lib/
H A Dvirtual_media.hpp139 std::string_view scheme = url->scheme(); in getTransferProtocolTypeFromUri() local
140 if (scheme == "smb") in getTransferProtocolTypeFromUri()
144 if (scheme == "https") in getTransferProtocolTypeFromUri()
374 std::string_view scheme = imageUri.scheme(); in getTransferProtocolFromUri() local
375 if (scheme == "smb") in getTransferProtocolFromUri()
379 if (scheme == "https") in getTransferProtocolFromUri()
383 if (!scheme.empty()) in getTransferProtocolFromUri()
/openbmc/u-boot/doc/
H A DREADME.i2c11 U-Boot provides a scheme based on two 'claim' GPIOs, one driven by the
14 these they can communicate and reliably share the bus. This scheme has
15 minimal overhead and involves very little code. The scheme can survive
59 scheme works very nicely with very low contention. There is only a 10 us
/openbmc/linux/Documentation/translations/zh_CN/admin-guide/mm/damon/
H A Dusage.rst427 用户可以通过读取和写入 ``scheme`` debugfs文件来获得和设置这些方案。读取该文件还可以显示每个
514 # scheme="4096 8192 0 5 10 20 2" # target access pattern and action
515 # scheme+=" 10 $((1024*1024*1024)) 1000" # quotas
516 # scheme+=" 0 0 100" # prioritization weights
517 # scheme+=" 1 5000000 600 500 300" # watermarks
518 # echo "$scheme" > schemes
/openbmc/phosphor-misc/http-redirect/
H A Dtest.awk158 function mkabsuris(uris, host, ports, schemes, scheme, port)
162 for (scheme in schemes)
164 add(uris, schemes[scheme] "://" host ports[port] )
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server/
H A D0001-data-CMakeLists.txt-dont-create-automatic-google-log.patch22 set(OAUTH2_SCHEMES "x-scheme-handler/eds-oauth2;")
29 set(OAUTH2_SCHEMES "x-scheme-handler/${_google_oauth2_scheme};${OAUTH2_SCHEMES}")
/openbmc/openbmc/poky/bitbake/lib/layerindexlib/
H A Drestapi.py41 if up.scheme == 'file':
44 if up.scheme == 'http' or up.scheme == 'https':
283 if up.scheme != 'file':

12345678910>>...14