/linux-6.12.1/mm/damon/ |
D | sysfs-schemes.c | 1469 struct damon_sysfs_scheme *scheme = kmalloc(sizeof(*scheme), in damon_sysfs_scheme_alloc() local 1472 if (!scheme) in damon_sysfs_scheme_alloc() 1474 scheme->kobj = (struct kobject){}; in damon_sysfs_scheme_alloc() 1475 scheme->action = action; in damon_sysfs_scheme_alloc() 1476 scheme->apply_interval_us = apply_interval_us; in damon_sysfs_scheme_alloc() 1477 scheme->target_nid = NUMA_NO_NODE; in damon_sysfs_scheme_alloc() 1478 return scheme; in damon_sysfs_scheme_alloc() 1482 struct damon_sysfs_scheme *scheme) in damon_sysfs_scheme_set_access_pattern() argument 1491 &damon_sysfs_access_pattern_ktype, &scheme->kobj, in damon_sysfs_scheme_set_access_pattern() 1498 scheme->access_pattern = access_pattern; in damon_sysfs_scheme_set_access_pattern() [all …]
|
D | paddr.c | 235 static bool damos_pa_filter_out(struct damos *scheme, struct folio *folio) in damos_pa_filter_out() argument 239 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() [all …]
|
D | reclaim.c | 188 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()
|
D | core.c | 360 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() 367 scheme->apply_interval_us = apply_interval_us; in damon_new_scheme() 373 scheme->next_apply_sis = 0; in damon_new_scheme() 374 INIT_LIST_HEAD(&scheme->filters); in damon_new_scheme() 375 scheme->stat = (struct damos_stat){}; in damon_new_scheme() 376 INIT_LIST_HEAD(&scheme->list); in damon_new_scheme() [all …]
|
D | vaddr.c | 657 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-6.12.1/drivers/net/ethernet/freescale/fman/ |
D | fman_keygen.c | 463 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 …]
|
/linux-6.12.1/tools/testing/selftests/damon/ |
D | _damon_sysfs.py | 41 scheme = None variable in DamosAccessPattern 56 return os.path.join(self.scheme.sysfs_dir(), 'access_pattern') 124 scheme = None # owner scheme variable in DamosQuota 136 return os.path.join(self.scheme.sysfs_dir(), 'quotas') 201 self.access_pattern.scheme = self 203 self.quota.scheme = self 329 for idx, scheme in enumerate(self.schemes): 330 scheme.idx = idx 331 scheme.context = self 369 for scheme in self.schemes: [all …]
|
D | damon_nr_regions.py | 49 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)
|
D | damos_tried_regions.py | 39 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0] 40 if scheme.tried_regions is None: 45 nr_tried_regions = len(scheme.tried_regions)
|
D | damos_quota.py | 49 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.12.1/drivers/atm/ |
D | fore200e.c | 285 int scheme, magn, nbr; in fore200e_free_rx_buf() local 288 for (scheme = 0; scheme < BUFFER_SCHEME_NBR; scheme++) { in fore200e_free_rx_buf() 291 if ((buffer = fore200e->host_bsq[ scheme ][ magn ].buffer) != NULL) { in fore200e_free_rx_buf() 293 for (nbr = 0; nbr < fore200e_rx_buf_nbr[ scheme ][ magn ]; nbr++) { in fore200e_free_rx_buf() 309 int scheme, magn; in fore200e_uninit_bs_queue() local 311 for (scheme = 0; scheme < BUFFER_SCHEME_NBR; scheme++) { in fore200e_uninit_bs_queue() 314 struct chunk* status = &fore200e->host_bsq[ scheme ][ magn ].status; in fore200e_uninit_bs_queue() 315 struct chunk* rbd_block = &fore200e->host_bsq[ scheme ][ magn ].rbd_block; in fore200e_uninit_bs_queue() 857 int bsq_audit(int where, struct host_bsq* bsq, int scheme, int magn) in bsq_audit() argument 867 where, scheme, magn, buffer->index); in bsq_audit() [all …]
|
/linux-6.12.1/include/linux/ |
D | damon.h | 504 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-6.12.1/Documentation/admin-guide/mm/damon/ |
D | usage.rst | 144 DAMON-based operation scheme of the kdamond. For details of the stats, 146 - ``update_schemes_tried_regions``: Update the DAMON-based operation scheme 147 action tried regions directory for each DAMON-based operation scheme of the 148 kdamond. For details of the DAMON-based operation scheme action tried 153 - ``clear_schemes_tried_regions``: Clear the DAMON-based operating scheme 154 action tried regions directory for each DAMON-based operation scheme of the 157 ``effective_bytes`` files for each DAMON-based operation scheme of the 284 to ``N-1``. Each directory represents each DAMON-based operation scheme. 291 In each scheme directory, five directories (``access_pattern``, ``quotas``, 295 The ``action`` file is for setting and getting the scheme's :ref:`action [all …]
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | sysfs-kernel-mm-damon | 33 'tried_regions' directory of every scheme directory of this 149 directories for controlling each DAMON-based operation scheme 156 of the scheme. 168 the scheme in microseconds. Reading this file returns the 175 size of the scheme's target regions in bytes. 181 size of the scheme's target regions in bytes. 187 'nr_accesses' of the scheme's target regions. 193 'nr_accesses' of the scheme's target regions. 199 'age' of the scheme's target regions. 205 'age' of the scheme's target regions. [all …]
|
/linux-6.12.1/drivers/net/wireless/ath/ath9k/ |
D | btcoex.c | 120 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()
|
D | htc_drv_gpio.c | 176 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.12.1/Documentation/translations/zh_CN/admin-guide/mm/damon/ |
D | usage.rst | 427 用户可以通过读取和写入 ``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-6.12.1/Documentation/translations/zh_TW/admin-guide/mm/damon/ |
D | usage.rst | 427 用戶可以通過讀取和寫入 ``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-6.12.1/Documentation/userspace-api/media/v4l/ |
D | pixfmt-srggb8-pisp-comp.rst | 31 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.12.1/Documentation/filesystems/ext4/ |
D | ifork.rst | 36 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.12.1/Documentation/scsi/ |
D | aha152x.rst | 126 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.12.1/drivers/net/ethernet/sfc/ |
D | tc.h | 227 u8 scheme; member 238 u8 scheme; member
|
/linux-6.12.1/Documentation/leds/ |
D | leds-blinkm.rst | 21 The registration follows the scheme:: 43 The registration follows the scheme::
|
/linux-6.12.1/Documentation/devicetree/bindings/power/reset/ |
D | qnap-poweroff.txt | 8 Synology NAS devices use a similar scheme, but a different baud rate,
|
/linux-6.12.1/Documentation/mm/damon/ |
D | design.rst | 202 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 415 scheme action. In contrast, the colder regions would be deprioritized for huge 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 [all …]
|