Home
last modified time | relevance | path

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

123456789

/linux-6.15/mm/damon/
H A Dsysfs-schemes.c1576 struct damon_sysfs_scheme *scheme = kmalloc(sizeof(*scheme), in damon_sysfs_scheme_alloc() local
1579 if (!scheme) in damon_sysfs_scheme_alloc()
1585 return scheme; in damon_sysfs_scheme_alloc()
1679 &scheme->filters); in damos_sysfs_set_filter_dirs()
1942 if (!scheme) { in damon_sysfs_schemes_add_dirs()
2133 struct damos *scheme; in damos_sysfs_set_quota_scores() local
2169 struct damos *scheme; in damos_sysfs_update_effective_quotas() local
2223 if (!scheme) in damon_sysfs_mk_scheme()
2247 return scheme; in damon_sysfs_mk_scheme()
2259 if (!scheme) { in damon_sysfs_add_schemes()
[all …]
H A Dpaddr.c259 if (scheme->core_filters_allowed) in damos_pa_filter_out()
262 damos_for_each_ops_filter(filter, scheme) { in damos_pa_filter_out()
266 return scheme->ops_filters_default_reject; in damos_pa_filter_out()
578 switch (scheme->action) { in damon_pa_apply_scheme()
599 struct damos *scheme) in damon_pa_scheme_score() argument
601 switch (scheme->action) { in damon_pa_scheme_score()
603 return damon_cold_score(context, r, scheme); in damon_pa_scheme_score()
605 return damon_hot_score(context, r, scheme); in damon_pa_scheme_score()
607 return damon_cold_score(context, r, scheme); in damon_pa_scheme_score()
609 return damon_hot_score(context, r, scheme); in damon_pa_scheme_score()
[all …]
H 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()
H A Dcore.c383 struct damos *scheme; in damon_new_scheme() local
385 scheme = kmalloc(sizeof(*scheme), GFP_KERNEL); in damon_new_scheme()
386 if (!scheme) in damon_new_scheme()
388 scheme->pattern = *pattern; in damon_new_scheme()
389 scheme->action = action; in damon_new_scheme()
407 scheme->wmarks = *wmarks; in damon_new_scheme()
412 return scheme; in damon_new_scheme()
2274 if (metric > scheme->wmarks.high || scheme->wmarks.low > metric) { in damos_wmark_wait_us()
2277 scheme->action, in damos_wmark_wait_us()
2284 if ((scheme->wmarks.high >= metric && metric >= scheme->wmarks.mid) && in damos_wmark_wait_us()
[all …]
H A Dvaddr.c658 struct damos *scheme, unsigned long *sz_filter_passed) in damon_va_apply_scheme() argument
662 switch (scheme->action) { in damon_va_apply_scheme()
692 struct damos *scheme) in damon_va_scheme_score() argument
695 switch (scheme->action) { in damon_va_scheme_score()
697 return damon_cold_score(context, r, scheme); in damon_va_scheme_score()
/linux-6.15/drivers/net/ethernet/freescale/fman/
H 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-6.15/tools/testing/selftests/damon/
H 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 …]
H 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)
128 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
129 if scheme.tried_regions is None:
134 nr_tried_regions = len(scheme.tried_regions)
H 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)
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
/linux-6.15/drivers/atm/
H 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-6.15/include/linux/
H A Ddamon.h592 struct damos *scheme);
595 struct damos *scheme, unsigned long *sz_filter_passed);
842 #define damos_for_each_filter(f, scheme) \ argument
843 list_for_each_entry(f, &(scheme)->filters, list)
845 #define damos_for_each_filter_safe(f, next, scheme) \ argument
846 list_for_each_entry_safe(f, next, &(scheme)->filters, list)
848 #define damos_for_each_ops_filter(f, scheme) \ argument
849 list_for_each_entry(f, &(scheme)->ops_filters, list)
851 #define damos_for_each_ops_filter_safe(f, next, scheme) \ argument
852 list_for_each_entry_safe(f, next, &(scheme)->ops_filters, list)
/linux-6.15/samples/damon/
H A Dprcl.c52 struct damos *scheme; in damon_sample_prcl_start() local
79 scheme = damon_new_scheme( in damon_sample_prcl_start()
92 if (!scheme) { in damon_sample_prcl_start()
96 damon_set_schemes(ctx, &scheme, 1); in damon_sample_prcl_start()
/linux-6.15/drivers/net/wireless/ath/ath9k/
H A Dbtcoex.c118 if (btcoex_hw->scheme != ATH_BTCOEX_CFG_2WIRE && in ath9k_hw_btcoex_pin_init()
119 btcoex_hw->scheme != ATH_BTCOEX_CFG_3WIRE) in ath9k_hw_btcoex_pin_init()
136 btcoex_hw->scheme = ATH_BTCOEX_CFG_NONE; in ath9k_hw_btcoex_init_scheme()
141 btcoex_hw->scheme = ATH_BTCOEX_CFG_MCI; in ath9k_hw_btcoex_init_scheme()
143 btcoex_hw->scheme = ATH_BTCOEX_CFG_3WIRE; in ath9k_hw_btcoex_init_scheme()
150 btcoex_hw->scheme = ATH_BTCOEX_CFG_3WIRE; in ath9k_hw_btcoex_init_scheme()
152 btcoex_hw->scheme = ATH_BTCOEX_CFG_2WIRE; in ath9k_hw_btcoex_init_scheme()
424 if (btcoex_hw->scheme == ATH_BTCOEX_CFG_3WIRE) { in ath9k_hw_btcoex_disable()
H 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-6.15/Documentation/ABI/testing/
H A Dsysfs-kernel-mm-damon186 of the scheme.
229 'age' of the scheme's target regions.
235 'age' of the scheme's target regions.
241 quota of the scheme in milliseconds.
247 quota of the scheme in bytes.
327 watermark of the scheme in permil.
333 watermark of the scheme in permil.
339 watermark of the scheme in permil.
432 of the scheme has tried to be applied.
462 the scheme's quotas.
[all …]
/linux-6.15/Documentation/admin-guide/mm/damon/
H A Dusage.rst144 DAMON-based operation scheme of the kdamond. For details of the stats,
148 kdamond. For details of the DAMON-based operation scheme action tried
153 - ``clear_schemes_tried_regions``: Clear the DAMON-based operating scheme
157 ``effective_bytes`` files for each DAMON-based operation scheme of the
315 The ``action`` file is for setting and getting the scheme's :ref:`action
324 The ``apply_interval_us`` file is for setting and getting the scheme's
348 DAMON-based operation scheme.
386 scheme.
407 given DAMON-based operation scheme.
428 DAMON-based operation scheme.
[all …]
/linux-6.15/Documentation/mm/damon/
H A Ddesign.rst202 This scheme, however, cannot preserve the quality of the output if the
480 regions that the scheme is having an interest in.
614 number of filters for each scheme. Each filter specifies
620 the scheme's action to the memory (``allow``).
628 counted as the scheme has tried. This difference affects the statistics.
665 scheme.
684 scheme's execution.
690 - ``nr_applied``: Total number of regions that the scheme is applied.
691 - ``sz_applied``: Total size of regions that the scheme is applied.
695 the region is eligible to apply the scheme's :ref:`action
[all …]
/linux-6.15/Documentation/userspace-api/media/v4l/
H 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-6.15/Documentation/filesystems/ext4/
H 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-6.15/Documentation/scsi/
H 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-6.15/drivers/net/ethernet/sfc/
H A Dtc.h227 u8 scheme; member
238 u8 scheme; member
/linux-6.15/Documentation/leds/
H A Dleds-blinkm.rst21 The registration follows the scheme::
43 The registration follows the scheme::
/linux-6.15/Documentation/devicetree/bindings/power/reset/
H A Dqnap-poweroff.txt8 Synology NAS devices use a similar scheme, but a different baud rate,
/linux-6.15/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dphy.h196 u8 scheme; member

123456789