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

12

/linux-master/mm/damon/
H A Dsysfs-schemes.c13 * scheme region directory
113 * scheme regions directory
123 * Each DAMON-based operation scheme (&struct damos) has its own apply
124 * interval, and we need to expose the scheme tried regions based on only
126 * scheme. The status becomes 'idle' at the beginning.
137 * the scheme is completely applied to the given snapshot. Hence the callback
147 * apply intervals of the scheme is passed while the state is 'idle'.
1058 * scheme/weights directory
1434 * scheme directory
1464 struct damon_sysfs_scheme *scheme local
1475 damon_sysfs_scheme_set_access_pattern( struct damon_sysfs_scheme *scheme) argument
1500 damon_sysfs_scheme_set_quotas(struct damon_sysfs_scheme *scheme) argument
1522 damon_sysfs_scheme_set_watermarks(struct damon_sysfs_scheme *scheme) argument
1540 damon_sysfs_scheme_set_filters(struct damon_sysfs_scheme *scheme) argument
1558 damon_sysfs_scheme_set_stats(struct damon_sysfs_scheme *scheme) argument
1574 damon_sysfs_scheme_set_tried_regions( struct damon_sysfs_scheme *scheme) argument
1593 damon_sysfs_scheme_add_dirs(struct damon_sysfs_scheme *scheme) argument
1635 damon_sysfs_scheme_rm_dirs(struct damon_sysfs_scheme *scheme) argument
1652 struct damon_sysfs_scheme *scheme = container_of(kobj, local
1662 struct damon_sysfs_scheme *scheme = container_of(kobj, local
1678 struct damon_sysfs_scheme *scheme = container_of(kobj, local
1687 struct damon_sysfs_scheme *scheme = container_of(kobj, local
1744 struct damon_sysfs_scheme **schemes_arr, *scheme; local
1879 damon_sysfs_set_scheme_filters(struct damos *scheme, struct damon_sysfs_scheme_filters *sysfs_filters) argument
1953 struct damos *scheme; local
1979 struct damos *scheme; local
2005 struct damos *scheme; local
2051 damon_sysfs_update_scheme(struct damos *scheme, struct damon_sysfs_scheme *sysfs_scheme) argument
2098 struct damos *scheme, *next; local
2111 struct damos *scheme, *next; local
2128 struct damos *scheme; local
2164 struct damos *scheme; local
2232 struct damos *scheme; local
2252 struct damos *scheme; local
2268 struct damos *scheme; local
[all...]
H A Dpaddr.c216 static bool damos_pa_filter_out(struct damos *scheme, struct folio *folio) argument
220 damos_for_each_filter(filter, scheme) {
296 struct damos *scheme)
298 switch (scheme->action) {
300 return damon_pa_pageout(r, scheme);
302 return damon_pa_mark_accessed(r, scheme);
304 return damon_pa_deactivate_pages(r, scheme);
316 struct damos *scheme)
318 switch (scheme->action) {
320 return damon_cold_score(context, r, scheme);
294 damon_pa_apply_scheme(struct damon_ctx *ctx, struct damon_target *t, struct damon_region *r, struct damos *scheme) argument
314 damon_pa_scheme_score(struct damon_ctx *context, struct damon_target *t, struct damon_region *r, struct damos *scheme) argument
[all...]
H A Dreclaim.c197 struct damos *scheme, *old_scheme; local
207 scheme = damon_reclaim_new_scheme();
208 if (!scheme)
212 damon_reclaim_copy_quota_status(&scheme->quota,
220 damon_destroy_scheme(scheme);
223 damos_add_quota_goal(&scheme->quota, goal);
229 damon_destroy_scheme(scheme);
233 damos_add_quota_goal(&scheme->quota, goal);
240 damon_destroy_scheme(scheme);
243 damos_add_filter(scheme, filte
[all...]
H A Dcore.c358 struct damos *scheme; local
360 scheme = kmalloc(sizeof(*scheme), GFP_KERNEL);
361 if (!scheme)
363 scheme->pattern = *pattern;
364 scheme->action = action;
365 scheme->apply_interval_us = apply_interval_us;
371 scheme->next_apply_sis = 0;
372 INIT_LIST_HEAD(&scheme->filters);
373 scheme
1499 damos_wmark_wait_us(struct damos *scheme) argument
1571 struct damos *scheme; local
[all...]
H A Dlru_sort.c169 /* Create a DAMON-based operation scheme for hot memory regions */
178 /* Create a DAMON-based operation scheme for cold memory regions */
201 struct damos *scheme, *hot_scheme, *cold_scheme; local
210 damon_for_each_scheme(scheme, ctx) {
212 old_hot_scheme = scheme;
215 old_cold_scheme = scheme;
H A Dvaddr.c655 struct damos *scheme)
659 switch (scheme->action) {
689 struct damos *scheme)
692 switch (scheme->action) {
694 return damon_cold_score(context, r, scheme);
653 damon_va_apply_scheme(struct damon_ctx *ctx, struct damon_target *t, struct damon_region *r, struct damos *scheme) argument
687 damon_va_scheme_score(struct damon_ctx *context, struct damon_target *t, struct damon_region *r, struct damos *scheme) argument
H A Ddbgfs.c114 * Return corresponding dbgfs' scheme action value (int) for the given
205 * Return corresponding damos_action for the given dbgfs input for a scheme
237 struct damos *scheme, **schemes; local
243 schemes = kmalloc_array(max_nr_schemes, sizeof(scheme),
283 scheme = damon_new_scheme(&pattern, action, 0, &quota,
285 if (!scheme)
288 schemes[*nr_schemes] = scheme;
/linux-master/drivers/net/ethernet/freescale/fman/
H A Dfman_keygen.c198 bool used; /* Specifies if this scheme is used */
203 * so we have only one port id bound to a scheme
261 * Build Action Register value for scheme settings
264 * update_counter: update scheme counter
265 * write: true for action to write the scheme or false for read action
307 * add: true to add a scheme partition or false to clear
366 * update_counter: update scheme counter
377 /* Write indirect scheme registers */
411 * Find the first free scheme available to be used
414 * scheme_id: pointer to scheme i
463 struct keygen_scheme *scheme; local
514 struct keygen_scheme *scheme; local
691 struct keygen_scheme *scheme; local
[all...]
/linux-master/tools/testing/selftests/damon/
H A Ddamos_quota.py49 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
50 wss_collected.append(scheme.tried_bytes)
51 nr_quota_exceeds = scheme.stats.qt_exceeds
H A D_damon_sysfs.py30 scheme = None variable in class:DamosAccessPattern
45 return os.path.join(self.scheme.sysfs_dir(), 'access_pattern')
77 scheme = None # owner scheme variable in class:DamosQuota
85 return os.path.join(self.scheme.sysfs_dir(), 'quotas')
128 self.access_pattern.scheme = self
130 self.quota.scheme = self
256 for idx, scheme in enumerate(self.schemes):
257 scheme.idx = idx
258 scheme
[all...]
/linux-master/include/linux/
H A Ddamon.h145 * struct damos_quota_goal - DAMOS scheme quota auto-tuning goal.
173 * struct damos_quota - Controls the aggressiveness of the given scheme.
175 * @ms: Maximum milliseconds that the scheme can use.
193 * throughput of the scheme's action. DAMON then compares it against &sz and
203 * For selecting regions within the quota, DAMON prioritizes current scheme's
242 * @DAMOS_WMARK_NONE: Ignore the watermarks of the given scheme.
253 * struct damos_watermarks - Controls when a given scheme should be activated.
260 * If &metric is &DAMOS_WMARK_NONE, the scheme is always active. Being active
261 * means DAMON does monitoring and applying the action of the scheme to
265 * If &metric is higher than &high, the scheme i
[all...]
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dbtcoex.c120 if (btcoex_hw->scheme != ATH_BTCOEX_CFG_2WIRE &&
121 btcoex_hw->scheme != ATH_BTCOEX_CFG_3WIRE)
124 /* bt priority GPIO will be ignored by 2 wire scheme */
146 btcoex_hw->scheme = ATH_BTCOEX_CFG_NONE;
151 btcoex_hw->scheme = ATH_BTCOEX_CFG_MCI;
153 btcoex_hw->scheme = ATH_BTCOEX_CFG_3WIRE;
160 btcoex_hw->scheme = ATH_BTCOEX_CFG_3WIRE;
162 btcoex_hw->scheme = ATH_BTCOEX_CFG_2WIRE;
434 if (btcoex_hw->scheme == ATH_BTCOEX_CFG_3WIRE) {
H A Dhtc_drv_gpio.c176 if (ah->btcoex_hw.scheme == ATH_BTCOEX_CFG_3WIRE)
192 ah->btcoex_hw.scheme = ATH_BTCOEX_CFG_NONE;
197 ah->btcoex_hw.scheme = ATH_BTCOEX_CFG_3WIRE;
H A Dbtcoex.h108 enum ath_btcoex_scheme scheme; member in struct:ath_btcoex_hw
H A Dgpio.c404 enum ath_btcoex_scheme scheme = ath9k_hw_get_btcoex_scheme(ah); local
406 if (scheme == ATH_BTCOEX_CFG_2WIRE ||
407 scheme == ATH_BTCOEX_CFG_3WIRE)
/linux-master/drivers/atm/
H A Dfore200e.c288 int scheme, magn, nbr; local
291 for (scheme = 0; scheme < BUFFER_SCHEME_NBR; scheme++) {
294 if ((buffer = fore200e->host_bsq[ scheme ][ magn ].buffer) != NULL) {
296 for (nbr = 0; nbr < fore200e_rx_buf_nbr[ scheme ][ magn ]; nbr++) {
312 int scheme, magn; local
314 for (scheme = 0; scheme < BUFFER_SCHEME_NBR; scheme
860 bsq_audit(int where, struct host_bsq* bsq, int scheme, int magn) argument
904 int scheme, magn, i; local
1213 int scheme = vcc->vci % 2 ? BUFFER_SCHEME_ONE : BUFFER_SCHEME_TWO; local
1984 int scheme, magn, nbr, size, i; local
2049 int scheme, magn, i; local
2271 fore200e_param_bs_queue(struct fore200e *fore200e, enum buffer_scheme scheme, enum buffer_magn magn, int queue_length, int pool_size, int supply_blksize) argument
2288 int ok, scheme, magn; local
[all...]
H A Dfore200e.h19 #define BUFFER_S1_SIZE SMALL_BUFFER_SIZE /* size of small buffers, scheme 1 */
20 #define BUFFER_L1_SIZE LARGE_BUFFER_SIZE /* size of large buffers, scheme 1 */
22 #define BUFFER_S2_SIZE SMALL_BUFFER_SIZE /* size of small buffers, scheme 2 */
23 #define BUFFER_L2_SIZE LARGE_BUFFER_SIZE /* size of large buffers, scheme 2 */
168 /* buffer scheme */
284 enum buffer_scheme scheme : 8, /* buffer scheme */
580 enum buffer_scheme scheme; /* buffer scheme */ member in struct:buffer
655 /* receive buffer supply queues scheme specificatio
878 enum buffer_scheme scheme; /* rx buffer scheme */ member in struct:fore200e_vcc
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dphy.h184 * @scheme: only for v2: scheme that trigger the CT Kill (0-SW, 1-HW)
189 u8 scheme; member in struct:ct_kill_notif
/linux-master/drivers/net/ethernet/sfc/
H A Dtc.h227 u8 scheme; member in struct:efx_tc_table_field_fmt
238 u8 scheme; member in struct:efx_tc_table_desc
/linux-master/drivers/iio/light/
H A Disl29018.c224 static int isl29018_read_proximity_ir(struct isl29018_chip *chip, int scheme, argument
232 /* Do proximity sensing with required scheme */
235 scheme << ISL29018_CMD2_SCHEME_SHIFT);
246 if (scheme == 1) {
329 * Return the "proximity scheme" i.e. if the chip does on chip
349 * Get the "proximity scheme" i.e. if the chip does on chip
/linux-master/include/scsi/
H A Dlibfcoe.h253 u64 fcoe_wwn_from_mac(unsigned char mac[ETH_ALEN], unsigned int scheme,
/linux-master/drivers/i2c/busses/
H A Di2c-omap.c190 u16 scheme; member in struct:omap_i2c_dev
1410 * Read the Rev hi bit-[15:14] ie scheme this is 1 indicates ver2.
1417 omap->scheme = OMAP_I2C_SCHEME(rev);
1418 switch (omap->scheme) {
1544 if (omap->scheme == OMAP_I2C_SCHEME_0)
/linux-master/drivers/tty/serial/8250/
H A D8250_omap.c567 u32 mvr, scheme; local
572 /* Check revision register scheme */
573 scheme = mvr >> OMAP_UART_MVR_SCHEME_SHIFT;
575 switch (scheme) {
/linux-master/drivers/tty/serial/
H A Domap-serial.c1413 u32 mvr, scheme; local
1418 /* Check revision register scheme */
1419 scheme = mvr >> OMAP_UART_MVR_SCHEME_SHIFT;
1421 switch (scheme) {
/linux-master/arch/m68k/fpsp040/
H A Ddecbin.S52 | greater than 10^27, a directed rounding scheme is used with

Completed in 354 milliseconds

12