Home
last modified time | relevance | path

Searched full:scheme (Results 1 – 25 of 682) sorted by relevance

12345678910>>...28

/Linux-v6.6/drivers/net/ethernet/freescale/fman/
Dfman_keygen.c24 /* Select Scheme Value Register */
56 /* Scheme Registers bit field masks */
133 /* Scheme Configuration RAM Registers */
146 /* 0x140: KeyGen Scheme Entry Statistic Packet Counter */
147 u32 kgse_dv0; /* 0x144: KeyGen Scheme Entry Default Value 0 */
148 u32 kgse_dv1; /* 0x148: KeyGen Scheme Entry Default Value 1 */
150 /* 0x14C: KeyGen Scheme Entry Coarse Classification Bit*/
151 u32 kgse_mv; /* 0x150: KeyGen Scheme Entry Match vector */
152 u32 kgse_om; /* 0x154: KeyGen Scheme Entry Operation Mode bits */
154 /* 0x158: KeyGen Scheme Entry Virtual Storage Profile */
[all …]
/Linux-v6.6/mm/damon/
Dsysfs-schemes.c13 * scheme region directory
113 * scheme regions directory
776 * scheme/weights directory
1117 * scheme directory
1146 struct damon_sysfs_scheme *scheme = kmalloc(sizeof(*scheme), in damon_sysfs_scheme_alloc() local
1149 if (!scheme) in damon_sysfs_scheme_alloc()
1151 scheme->kobj = (struct kobject){}; in damon_sysfs_scheme_alloc()
1152 scheme->action = action; in damon_sysfs_scheme_alloc()
1153 return scheme; in damon_sysfs_scheme_alloc()
1157 struct damon_sysfs_scheme *scheme) in damon_sysfs_scheme_set_access_pattern() argument
[all …]
Dpaddr.c217 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 …]
Dcore.c318 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 …]
Dlru_sort.c167 /* Create a DAMON-based operation scheme for hot memory regions */
176 /* Create a DAMON-based operation scheme for cold memory regions */
188 struct damos *scheme; in damon_lru_sort_apply_parameters() local
200 scheme = damon_lru_sort_new_hot_scheme(hot_thres); in damon_lru_sort_apply_parameters()
201 if (!scheme) in damon_lru_sort_apply_parameters()
203 damon_set_schemes(ctx, &scheme, 1); in damon_lru_sort_apply_parameters()
206 scheme = damon_lru_sort_new_cold_scheme(cold_thres); in damon_lru_sort_apply_parameters()
207 if (!scheme) in damon_lru_sort_apply_parameters()
209 damon_add_scheme(ctx, scheme); in damon_lru_sort_apply_parameters()
Dreclaim.c153 struct damos *scheme; in damon_reclaim_apply_parameters() local
162 scheme = damon_reclaim_new_scheme(); in damon_reclaim_apply_parameters()
163 if (!scheme) in damon_reclaim_apply_parameters()
169 damon_destroy_scheme(scheme); in damon_reclaim_apply_parameters()
172 damos_add_filter(scheme, filter); in damon_reclaim_apply_parameters()
174 damon_set_schemes(ctx, &scheme, 1); in damon_reclaim_apply_parameters()
/Linux-v6.6/include/linux/
Ddamon.h83 * Operation Scheme.
114 * struct damos_quota - Controls the aggressiveness of the given scheme.
115 * @ms: Maximum milliseconds that the scheme can use.
132 * throughput of the scheme's action. DAMON then compares it against &sz and
135 * For selecting regions within the quota, DAMON prioritizes current scheme's
171 * @DAMOS_WMARK_NONE: Ignore the watermarks of the given scheme.
182 * struct damos_watermarks - Controls when a given scheme should be activated.
189 * If &metric is &DAMOS_WMARK_NONE, the scheme is always active. Being active
190 * means DAMON does monitoring and applying the action of the scheme to
194 * If &metric is higher than &high, the scheme is inactivated. If &metric is
[all …]
/Linux-v6.6/Documentation/ABI/testing/
Dsysfs-kernel-mm-damon31 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 …]
Dsysfs-bus-iio-light-isl290189 Scheme 0, makes full n (4, 8, 12, 16) bits (unsigned) proximity
10 detection. The range of Scheme 0 proximity count is from 0 to
11 2^n. Logic 1 of this bit, Scheme 1, makes n-1 (3, 7, 11, 15)
13 range of Scheme 1 proximity count is from -2^(n-1) to 2^(n-1).
15 Scheme 0 has wider dynamic range, Scheme 1 proximity detection
/Linux-v6.6/Documentation/admin-guide/mm/damon/
Dusage.rst129 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-v6.6/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.h19 #define BUFFER_S1_SIZE SMALL_BUFFER_SIZE /* size of small buffers, scheme 1 */
20 #define BUFFER_L1_SIZE LARGE_BUFFER_SIZE /* size of large buffers, scheme 1 */
22 #define BUFFER_S2_SIZE SMALL_BUFFER_SIZE /* size of small buffers, scheme 2 */
23 #define BUFFER_L2_SIZE LARGE_BUFFER_SIZE /* size of large buffers, scheme 2 */
168 /* buffer scheme */
284 enum buffer_scheme scheme : 8, /* buffer scheme */
580 enum buffer_scheme scheme; /* buffer scheme */ member
655 /* receive buffer supply queues scheme specification */
878 enum buffer_scheme scheme; /* rx buffer scheme */ member
/Linux-v6.6/tools/testing/selftests/damon/
Dsysfs_update_removed_scheme_dir.sh23 # start DAMON with a scheme
37 # remove scheme sysfs dir
40 # try to update stat of already removed scheme sysfs dir
49 # try to update tried regions of already removed scheme sysfs dir
/Linux-v6.6/drivers/media/usb/pvrusb2/
Dpvrusb2-devattr.h111 /* Signal routing scheme used by device, contains one of
113 encounter them. This is an arbitrary integer scheme id; its
119 /* Indicates scheme for controlling device's LED (if any). The
124 /* Control scheme to use if there is a digital tuner. This
126 integer scheme id; its meaning is contained entirely within the
155 /* Indicate IR scheme of hardware. If not set, then it is assumed
/Linux-v6.6/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()
124 /* bt priority GPIO will be ignored by 2 wire scheme */ 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()
/Linux-v6.6/drivers/iio/light/
Disl29018.c224 static int isl29018_read_proximity_ir(struct isl29018_chip *chip, int scheme, in isl29018_read_proximity_ir() argument
232 /* Do proximity sensing with required scheme */ in isl29018_read_proximity_ir()
235 scheme << ISL29018_CMD2_SCHEME_SHIFT); in isl29018_read_proximity_ir()
246 if (scheme == 1) { in isl29018_read_proximity_ir()
307 * Proximity Sensing Scheme: Bit 7. This bit programs the function
308 * of the proximity detection. Logic 0 of this bit, Scheme 0, makes
310 * of Scheme 0 proximity count is from 0 to 2^n. Logic 1 of this bit,
311 * Scheme 1, makes n-1 (3, 7, 11, 15) bits (2's complementary)
312 * proximity_less_ambient detection. The range of Scheme 1
314 * for resolutions less than 16. While Scheme 0 has wider dynamic
[all …]
/Linux-v6.6/arch/arm/mach-omap2/
Domap_hwmod_common_data.c24 * struct omap_hwmod_sysc_type1 - TYPE1 sysconfig scheme.
40 * struct omap_hwmod_sysc_type2 - TYPE2 sysconfig scheme.
54 * struct omap_hwmod_sysc_type3 - TYPE3 sysconfig scheme.
/Linux-v6.6/Documentation/mm/damon/
Ddesign.rst170 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-v6.6/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.6/Documentation/translations/zh_CN/admin-guide/mm/damon/
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-v6.6/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.6/drivers/staging/media/atomisp/pci/
Dia_css_input_port.h38 IA_CSS_CSI2_COMPRESSION_TYPE_1, /** Compression scheme 1 */
39 IA_CSS_CSI2_COMPRESSION_TYPE_2 /** Compression scheme 2 */
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/fw/api/
Dphy.h184 * @scheme: only for v2: scheme that trigger the CT Kill (0-SW, 1-HW)
189 u8 scheme; member
/Linux-v6.6/Documentation/filesystems/
Ddirectory-locking.rst6 Locking scheme used for directory operations is based on two
66 If no directory is its own ancestor, the scheme above is deadlock-free.
138 While this locking scheme works for arbitrary DAGs, it relies on

12345678910>>...28