/linux-6.6.21/mm/damon/ |
D | sysfs-schemes.c | 1149 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 …]
|
D | paddr.c | 217 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 …]
|
D | reclaim.c | 164 struct damos *scheme, *old_scheme; in damon_reclaim_apply_parameters() local 173 scheme = damon_reclaim_new_scheme(); in damon_reclaim_apply_parameters() 174 if (!scheme) in damon_reclaim_apply_parameters() 178 damon_reclaim_copy_quota_status(&scheme->quota, in damon_reclaim_apply_parameters() 185 damon_destroy_scheme(scheme); in damon_reclaim_apply_parameters() 188 damos_add_filter(scheme, filter); in damon_reclaim_apply_parameters() 190 damon_set_schemes(ctx, &scheme, 1); in damon_reclaim_apply_parameters()
|
D | core.c | 318 struct damos *scheme; in damon_new_scheme() local 320 scheme = kmalloc(sizeof(*scheme), GFP_KERNEL); in damon_new_scheme() 321 if (!scheme) in damon_new_scheme() 323 scheme->pattern = *pattern; in damon_new_scheme() 324 scheme->action = action; in damon_new_scheme() 325 INIT_LIST_HEAD(&scheme->filters); in damon_new_scheme() 326 scheme->stat = (struct damos_stat){}; in damon_new_scheme() 327 INIT_LIST_HEAD(&scheme->list); in damon_new_scheme() 329 scheme->quota = *(damos_quota_init_priv(quota)); in damon_new_scheme() 331 scheme->wmarks = *wmarks; in damon_new_scheme() [all …]
|
D | lru_sort.c | 199 struct damos *scheme, *hot_scheme, *cold_scheme; in damon_lru_sort_apply_parameters() local 208 damon_for_each_scheme(scheme, ctx) { in damon_lru_sort_apply_parameters() 210 old_hot_scheme = scheme; in damon_lru_sort_apply_parameters() 213 old_cold_scheme = scheme; in damon_lru_sort_apply_parameters()
|
D | vaddr.c | 651 struct damos *scheme) in damon_va_apply_scheme() argument 655 switch (scheme->action) { in damon_va_apply_scheme() 685 struct damos *scheme) in damon_va_scheme_score() argument 688 switch (scheme->action) { in damon_va_scheme_score() 690 return damon_cold_score(context, r, scheme); in damon_va_scheme_score()
|
/linux-6.6.21/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.6.21/drivers/atm/ |
D | fore200e.c | 288 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 …]
|
/linux-6.6.21/include/linux/ |
D | damon.h | 412 struct damos *scheme); 415 struct damos *scheme); 459 struct damos *scheme); 598 #define damos_for_each_filter(f, scheme) \ argument 599 list_for_each_entry(f, &(scheme)->filters, list) 601 #define damos_for_each_filter_safe(f, next, scheme) \ argument 602 list_for_each_entry_safe(f, next, &(scheme)->filters, list)
|
/linux-6.6.21/Documentation/admin-guide/mm/damon/ |
D | usage.rst | 129 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 …]
|
/linux-6.6.21/Documentation/ABI/testing/ |
D | sysfs-kernel-mm-damon | 31 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 …]
|
/linux-6.6.21/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()
|
D | btcoex.h | 108 enum ath_btcoex_scheme scheme; member
|
D | gpio.c | 404 enum ath_btcoex_scheme scheme = ath9k_hw_get_btcoex_scheme(ah); in ath9k_deinit_btcoex() local 406 if (scheme == ATH_BTCOEX_CFG_2WIRE || in ath9k_deinit_btcoex() 407 scheme == ATH_BTCOEX_CFG_3WIRE) in ath9k_deinit_btcoex()
|
/linux-6.6.21/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.6.21/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
|
D | allocators.rst | 25 Under this scheme, when a file needs more blocks to absorb file writes, 51 this scheme evens out the loading on the block groups, though the author
|
/linux-6.6.21/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.6.21/drivers/net/ethernet/sfc/ |
D | tc.h | 219 u8 scheme; member 230 u8 scheme; member
|
/linux-6.6.21/Documentation/mm/damon/ |
D | design.rst | 170 This scheme, however, cannot preserve the quality of the output if the 294 regions that the scheme is having an interest in. 304 region having the access pattern of interest is found, applying the scheme's 328 scheme action. In contrast, the colder regions would be deprioritized for huge 329 page collapse scheme action. Hence, the prioritization mechanisms for each 350 memory is guaranteed, running a scheme for proactive reclamation would only 358 high watermark or below the low watermark, the scheme is deactivated. If the 359 metric becomes below the mid watermark but above the low watermark, the scheme 379 number of filters for each scheme. Each filter specifies the type of target 397 it is not counted as the scheme has tried to the region. In contrast, if a [all …]
|
/linux-6.6.21/Documentation/devicetree/bindings/power/reset/ |
D | qnap-poweroff.txt | 8 Synology NAS devices use a similar scheme, but a different baud rate,
|
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | phy.h | 189 u8 scheme; member
|
/linux-6.6.21/Documentation/iio/ |
D | ep93xx_adc.rst | 15 Numbering scheme for channels 0..4 is defined in EP9301 and EP9302 datasheets.
|
/linux-6.6.21/Documentation/devicetree/bindings/mtd/partitions/ |
D | qcom,smem-part.yaml | 14 Memory (SMEM) based partition table scheme. The maximum partitions supported
|