Home
last modified time | relevance | path

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

12345678

/Linux-v6.1/drivers/net/ethernet/freescale/fman/
Dfman_keygen.c463 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-v6.1/mm/damon/
Dsysfs.c759 struct damon_sysfs_scheme *scheme = kmalloc(sizeof(*scheme), in damon_sysfs_scheme_alloc() local
762 if (!scheme) in damon_sysfs_scheme_alloc()
764 scheme->kobj = (struct kobject){}; in damon_sysfs_scheme_alloc()
765 scheme->action = action; in damon_sysfs_scheme_alloc()
766 return scheme; in damon_sysfs_scheme_alloc()
770 struct damon_sysfs_scheme *scheme) in damon_sysfs_scheme_set_access_pattern() argument
779 &damon_sysfs_access_pattern_ktype, &scheme->kobj, in damon_sysfs_scheme_set_access_pattern()
786 scheme->access_pattern = access_pattern; in damon_sysfs_scheme_set_access_pattern()
794 static int damon_sysfs_scheme_set_quotas(struct damon_sysfs_scheme *scheme) in damon_sysfs_scheme_set_quotas() argument
802 &scheme->kobj, "quotas"); in damon_sysfs_scheme_set_quotas()
[all …]
Dcore.c283 struct damos *scheme; in damon_new_scheme() local
285 scheme = kmalloc(sizeof(*scheme), GFP_KERNEL); in damon_new_scheme()
286 if (!scheme) in damon_new_scheme()
288 scheme->pattern = *pattern; in damon_new_scheme()
289 scheme->action = action; in damon_new_scheme()
290 scheme->stat = (struct damos_stat){}; in damon_new_scheme()
291 INIT_LIST_HEAD(&scheme->list); in damon_new_scheme()
293 scheme->quota = *(damos_quota_init_priv(quota)); in damon_new_scheme()
295 scheme->wmarks = *wmarks; in damon_new_scheme()
296 scheme->wmarks.activated = true; in damon_new_scheme()
[all …]
Dlru_sort.c190 struct damos *scheme; in damon_lru_sort_apply_parameters() local
202 scheme = damon_lru_sort_new_hot_scheme(hot_thres); in damon_lru_sort_apply_parameters()
203 if (!scheme) in damon_lru_sort_apply_parameters()
205 damon_set_schemes(ctx, &scheme, 1); in damon_lru_sort_apply_parameters()
208 scheme = damon_lru_sort_new_cold_scheme(cold_thres); in damon_lru_sort_apply_parameters()
209 if (!scheme) in damon_lru_sort_apply_parameters()
211 damon_add_scheme(ctx, scheme); in damon_lru_sort_apply_parameters()
Dpaddr.c266 struct damos *scheme) in damon_pa_apply_scheme() argument
268 switch (scheme->action) { in damon_pa_apply_scheme()
286 struct damos *scheme) in damon_pa_scheme_score() argument
288 switch (scheme->action) { in damon_pa_scheme_score()
290 return damon_cold_score(context, r, scheme); in damon_pa_scheme_score()
292 return damon_hot_score(context, r, scheme); in damon_pa_scheme_score()
294 return damon_cold_score(context, r, scheme); in damon_pa_scheme_score()
Dreclaim.c146 struct damos *scheme; in damon_reclaim_apply_parameters() local
154 scheme = damon_reclaim_new_scheme(); in damon_reclaim_apply_parameters()
155 if (!scheme) in damon_reclaim_apply_parameters()
157 damon_set_schemes(ctx, &scheme, 1); in damon_reclaim_apply_parameters()
Dvaddr.c637 struct damos *scheme) in damon_va_apply_scheme() argument
641 switch (scheme->action) { in damon_va_apply_scheme()
671 struct damos *scheme) in damon_va_scheme_score() argument
674 switch (scheme->action) { in damon_va_scheme_score()
676 return damon_cold_score(context, r, scheme); in damon_va_scheme_score()
Ddbgfs.c227 struct damos *scheme, **schemes; in str_to_schemes() local
233 schemes = kmalloc_array(max_nr_schemes, sizeof(scheme), in str_to_schemes()
273 scheme = damon_new_scheme(&pattern, action, &quota, &wmarks); in str_to_schemes()
274 if (!scheme) in str_to_schemes()
277 schemes[*nr_schemes] = scheme; in str_to_schemes()
/Linux-v6.1/drivers/atm/
Dfore200e.c288 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 …]
Dfore200e.h284 enum buffer_scheme scheme : 8, /* buffer scheme */
580 enum buffer_scheme scheme; /* buffer scheme */ member
878 enum buffer_scheme scheme; /* rx buffer scheme */ member
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-kernel-mm-damon139 directories for controlling each DAMON-based operation scheme
146 of the scheme.
152 size of the scheme's target regions in bytes.
158 size of the scheme's target regions in bytes.
164 'nr_accesses' of the scheme's target regions.
170 'nr_accesses' of the scheme's target regions.
176 'age' of the scheme's target regions.
182 'age' of the scheme's target regions.
188 quota of the scheme in milliseconds.
194 quota of the scheme in bytes.
[all …]
/Linux-v6.1/drivers/net/wireless/ath/ath9k/
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()
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()
Dbtcoex.h108 enum ath_btcoex_scheme scheme; member
Dgpio.c404 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-v6.1/Documentation/admin-guide/mm/damon/
Dusage.rst127 for each DAMON-based operation scheme of the kdamond. For details of the
250 to ``N-1``. Each directory represents each DAMON-based operation scheme.
255 In each scheme directory, four directories (``access_pattern``, ``quotas``,
274 The target access pattern of each DAMON-based operation scheme is constructed
281 exist. You can set and get the access pattern for the given scheme by writing
289 not easy to find. Worse yet, setting a scheme of some action too aggressive
291 size quota for each scheme. In detail, users can ask DAMON to try to use only
314 To allow easy activation and deactivation of each scheme based on system
319 than ``low`` at the memoent, the scheme is deactivated. If the value is lower
320 than ``mid``, the scheme is activated.
[all …]
/Linux-v6.1/Documentation/translations/zh_CN/admin-guide/mm/damon/
Dusage.rst395 用户可以通过读取和写入 ``scheme`` debugfs文件来获得和设置这些方案。读取该文件还可以显示每个
482 # scheme="4096 8192 0 5 10 20 2" # target access pattern and action
483 # scheme+=" 10 $((1024*1024*1024)) 1000" # quotas
484 # scheme+=" 0 0 100" # prioritization weights
485 # scheme+=" 1 5000000 600 500 300" # watermarks
486 # echo "$scheme" > schemes
/Linux-v6.1/Documentation/filesystems/ext4/
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
Dallocators.rst25 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-v6.1/Documentation/scsi/
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-v6.1/Documentation/devicetree/bindings/power/reset/
Dqnap-poweroff.txt8 Synology NAS devices use a similar scheme, but a different baud rate,
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/fw/api/
Dphy.h185 u8 scheme; member
/Linux-v6.1/include/linux/
Ddamon.h345 struct damos *scheme);
348 struct damos *scheme);
/Linux-v6.1/Documentation/iio/
Dep93xx_adc.rst15 Numbering scheme for channels 0..4 is defined in EP9301 and EP9302 datasheets.
/Linux-v6.1/fs/ext2/
DKconfig28 groups beyond the owner/group/world scheme.

12345678