Home
last modified time | relevance | path

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

123456789

/linux/mm/damon/
A Dsysfs-schemes.c1469 struct damon_sysfs_scheme *scheme = kmalloc(sizeof(*scheme), in damon_sysfs_scheme_alloc() local
1472 if (!scheme) in damon_sysfs_scheme_alloc()
1478 return scheme; in damon_sysfs_scheme_alloc()
1795 if (!scheme) { in damon_sysfs_schemes_add_dirs()
1978 struct damos *scheme; in damos_sysfs_set_quota_scores() local
2070 if (!scheme) in damon_sysfs_mk_scheme()
2084 return scheme; in damon_sysfs_mk_scheme()
2096 if (!scheme) { in damon_sysfs_add_schemes()
2154 if (scheme == s) in damon_sysfs_before_damos_apply()
2239 return scheme; in damos_sysfs_nth_scheme()
[all …]
A Dpaddr.c239 damos_for_each_filter(filter, scheme) { in damos_pa_filter_out()
480 struct damos *scheme) in damon_pa_apply_scheme() argument
482 switch (scheme->action) { in damon_pa_apply_scheme()
484 return damon_pa_pageout(r, scheme); in damon_pa_apply_scheme()
486 return damon_pa_mark_accessed(r, scheme); in damon_pa_apply_scheme()
488 return damon_pa_deactivate_pages(r, scheme); in damon_pa_apply_scheme()
491 return damon_pa_migrate(r, scheme); in damon_pa_apply_scheme()
503 struct damos *scheme) in damon_pa_scheme_score() argument
505 switch (scheme->action) { in damon_pa_scheme_score()
509 return damon_hot_score(context, r, scheme); in damon_pa_scheme_score()
[all …]
A Dreclaim.c188 struct damos *scheme; in damon_reclaim_apply_parameters() local
202 scheme = damon_reclaim_new_scheme(); in damon_reclaim_apply_parameters()
203 if (!scheme) in damon_reclaim_apply_parameters()
205 damon_set_schemes(ctx, &scheme, 1); in damon_reclaim_apply_parameters()
212 damos_add_quota_goal(&scheme->quota, goal); in damon_reclaim_apply_parameters()
220 damos_add_quota_goal(&scheme->quota, goal); in damon_reclaim_apply_parameters()
227 damos_add_filter(scheme, filter); in damon_reclaim_apply_parameters()
A Dcore.c360 struct damos *scheme; in damon_new_scheme() local
362 scheme = kmalloc(sizeof(*scheme), GFP_KERNEL); in damon_new_scheme()
363 if (!scheme) in damon_new_scheme()
365 scheme->pattern = *pattern; in damon_new_scheme()
366 scheme->action = action; in damon_new_scheme()
382 scheme->wmarks = *wmarks; in damon_new_scheme()
387 return scheme; in damon_new_scheme()
1886 if (metric > scheme->wmarks.high || scheme->wmarks.low > metric) { in damos_wmark_wait_us()
1889 scheme->action, in damos_wmark_wait_us()
1897 if ((scheme->wmarks.high >= metric && metric >= scheme->wmarks.mid) && in damos_wmark_wait_us()
[all …]
A Dvaddr.c657 struct damos *scheme) in damon_va_apply_scheme() argument
661 switch (scheme->action) { in damon_va_apply_scheme()
691 struct damos *scheme) in damon_va_scheme_score() argument
694 switch (scheme->action) { in damon_va_scheme_score()
696 return damon_cold_score(context, r, scheme); in damon_va_scheme_score()
/linux/drivers/net/ethernet/freescale/fman/
A Dfman_keygen.c463 struct keygen_scheme *scheme; in keygen_bind_port_to_schemes() local
469 if (!scheme) { in keygen_bind_port_to_schemes()
473 if (!scheme->used) { in keygen_bind_port_to_schemes()
514 struct keygen_scheme *scheme; in keygen_scheme_setup() local
519 if (!scheme) { in keygen_scheme_setup()
552 if (scheme->use_hashing) { in keygen_scheme_setup()
610 scheme->used = enable; in keygen_scheme_setup()
715 if (!scheme) { in keygen_port_hashing_init()
719 if (scheme->used) { in keygen_port_hashing_init()
731 scheme->use_hashing = true; in keygen_port_hashing_init()
[all …]
/linux/tools/testing/selftests/damon/
A D_damon_sysfs.py41 scheme = None variable in DamosAccessPattern
201 self.access_pattern.scheme = self
203 self.quota.scheme = self
330 scheme.idx = idx
331 scheme.context = self
369 for scheme in self.schemes:
370 err = scheme.stage()
419 for scheme in context.schemes:
444 for scheme in context.schemes:
457 for scheme in context.schemes:
[all …]
A Ddamon_nr_regions.py49 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
50 if scheme.tried_regions is None:
55 nr_tried_regions = len(scheme.tried_regions)
126 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
127 if scheme.tried_regions is None:
132 nr_tried_regions = len(scheme.tried_regions)
A Ddamos_tried_regions.py39 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
40 if scheme.tried_regions is None:
45 nr_tried_regions = len(scheme.tried_regions)
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
/linux/drivers/atm/
A Dfore200e.c288 for (scheme = 0; scheme < BUFFER_SCHEME_NBR; scheme++) { in fore200e_free_rx_buf()
311 for (scheme = 0; scheme < BUFFER_SCHEME_NBR; scheme++) { in fore200e_uninit_bs_queue()
875 if (buffer->scheme != scheme) { in bsq_audit()
877 where, scheme, magn, buffer->index, buffer->scheme); in bsq_audit()
907 for (scheme = 0; scheme < BUFFER_SCHEME_NBR; scheme++) { in fore200e_supply()
1215 return scheme; in fore200e_select_scheme()
1237 activ_opcode.scheme = FORE200E_VCC(vcc)->scheme; in fore200e_activate_vcin()
1986 for (scheme = 0; scheme < BUFFER_SCHEME_NBR; scheme++) { in fore200e_alloc_rx_buf()
2007 buffer[ i ].scheme = scheme; in fore200e_alloc_rx_buf()
2051 for (scheme = 0; scheme < BUFFER_SCHEME_NBR; scheme++) { in fore200e_init_bs_queue()
[all …]
/linux/include/linux/
A Ddamon.h504 struct damos *scheme);
507 struct damos *scheme);
551 struct damos *scheme);
699 #define damos_for_each_filter(f, scheme) \ argument
700 list_for_each_entry(f, &(scheme)->filters, list)
702 #define damos_for_each_filter_safe(f, next, scheme) \ argument
703 list_for_each_entry_safe(f, next, &(scheme)->filters, list)
/linux/Documentation/admin-guide/mm/damon/
A Dusage.rst304 The ``apply_interval_us`` file is for setting and getting the scheme's
328 DAMON-based operation scheme.
366 scheme.
387 given DAMON-based operation scheme.
408 DAMON-based operation scheme.
507 DAMON-based operation scheme ``action`` has tried to be applied.
790 given scheme via ``<watermarks>`` in below form::
803 scheme is deactivated. If the value is lower than ``<mid mark>``, the scheme
834 # scheme+=" 10 $((1024*1024*1024)) 1000" # quotas
836 # scheme+=" 1 5000000 600 500 300" # watermarks
[all …]
/linux/Documentation/ABI/testing/
A Dsysfs-kernel-mm-damon156 of the scheme.
199 'age' of the scheme's target regions.
205 'age' of the scheme's target regions.
211 quota of the scheme in milliseconds.
217 quota of the scheme in bytes.
297 watermark of the scheme in permil.
303 watermark of the scheme in permil.
309 watermark of the scheme in permil.
367 of the scheme has tried to be applied.
379 of the scheme has successfully applied.
[all …]
/linux/drivers/net/wireless/ath/ath9k/
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()
A Dhtc_drv_gpio.c176 if (ah->btcoex_hw.scheme == ATH_BTCOEX_CFG_3WIRE) in ath9k_htc_stop_btcoex()
192 ah->btcoex_hw.scheme = ATH_BTCOEX_CFG_NONE; in ath9k_htc_init_btcoex()
197 ah->btcoex_hw.scheme = ATH_BTCOEX_CFG_3WIRE; in ath9k_htc_init_btcoex()
/linux/Documentation/translations/zh_CN/admin-guide/mm/damon/
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
/linux/Documentation/translations/zh_TW/admin-guide/mm/damon/
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
/linux/Documentation/userspace-api/media/v4l/
A Dpixfmt-srggb8-pisp-comp.rst31 Mode 1 uses a quantization and delta-based coding scheme which preserves up to
32 12 significant bits. Mode 2 is a simple sqrt-like companding scheme with 6 PWL
34 (with 4 chords) and the delta scheme, preserving up to 14 significant bits.
/linux/Documentation/filesystems/ext4/
A Difork.rst36 Note that with this block mapping scheme, it is necessary to fill out a
38 led to the creation of the extent mapping scheme, discussed below.
40 Notice also that a file using this mapping scheme cannot be placed
47 tree. Under the old scheme, allocating a contiguous run of 1,000 blocks
/linux/Documentation/scsi/
A Daha152x.rst126 The BIOS uses a cylinder/head/sector addressing scheme (C/H/S)
127 scheme instead. DOS expects a BIOS or driver that understands this
135 geometry just to be able to support that addressing scheme. The geometry
145 Moreover there are certain limitations to the C/H/S addressing scheme,
/linux/drivers/net/ethernet/sfc/
A Dtc.h227 u8 scheme; member
238 u8 scheme; member
/linux/Documentation/leds/
A Dleds-blinkm.rst21 The registration follows the scheme::
43 The registration follows the scheme::
/linux/Documentation/devicetree/bindings/power/reset/
A Dqnap-poweroff.txt8 Synology NAS devices use a similar scheme, but a different baud rate,
/linux/Documentation/mm/damon/
A Ddesign.rst202 This scheme, however, cannot preserve the quality of the output if the
373 regions that the scheme is having an interest in.
387 region having the access pattern of interest is found, applying the scheme's
416 page collapse scheme action. Hence, the prioritization mechanisms for each
442 aggressiveness (the quota) of the corresponding scheme. For example, if DAMOS
474 memory is guaranteed, running a scheme for proactive reclamation would only
482 high watermark or below the low watermark, the scheme is deactivated. If the
483 metric becomes below the mid watermark but above the low watermark, the scheme
507 number of filters for each scheme. Each filter specifies the type of target
517 counted as the scheme has tried. This difference affects the statistics.
[all …]

Completed in 66 milliseconds

123456789