/linux/drivers/net/ethernet/freescale/fman/ |
H A D | fman_keygen.c | 24 /* 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/mm/damon/ |
H A D | sysfs-schemes.c | 14 * scheme region directory 128 * scheme regions directory 1072 * scheme/weights directory in damon_sysfs_weights_alloc() 1448 * scheme directory 1481 struct damon_sysfs_scheme *scheme = kmalloc(sizeof(*scheme), in damon_sysfs_scheme_set_access_pattern() 1484 if (!scheme) in damon_sysfs_scheme_set_access_pattern() 1486 scheme->kobj = (struct kobject){}; in damon_sysfs_scheme_set_access_pattern() 1487 scheme->action = action; in damon_sysfs_scheme_set_access_pattern() 1488 scheme in damon_sysfs_scheme_set_access_pattern() 1469 struct damon_sysfs_scheme *scheme = kmalloc(sizeof(*scheme), damon_sysfs_scheme_alloc() local 1482 damon_sysfs_scheme_set_access_pattern(struct damon_sysfs_scheme * scheme) damon_sysfs_scheme_set_access_pattern() argument 1506 damon_sysfs_scheme_set_quotas(struct damon_sysfs_scheme * scheme) damon_sysfs_scheme_set_quotas() argument 1528 damon_sysfs_scheme_set_watermarks(struct damon_sysfs_scheme * scheme) damon_sysfs_scheme_set_watermarks() argument 1546 damon_sysfs_scheme_set_filters(struct damon_sysfs_scheme * scheme) damon_sysfs_scheme_set_filters() argument 1564 damon_sysfs_scheme_set_stats(struct damon_sysfs_scheme * scheme) damon_sysfs_scheme_set_stats() argument 1581 damon_sysfs_scheme_set_tried_regions(struct damon_sysfs_scheme * scheme) damon_sysfs_scheme_set_tried_regions() argument 1599 damon_sysfs_scheme_add_dirs(struct damon_sysfs_scheme * scheme) damon_sysfs_scheme_add_dirs() argument 1641 damon_sysfs_scheme_rm_dirs(struct damon_sysfs_scheme * scheme) damon_sysfs_scheme_rm_dirs() argument 1658 struct damon_sysfs_scheme *scheme = container_of(kobj, action_show() local 1668 struct damon_sysfs_scheme *scheme = container_of(kobj, action_store() local 1684 struct damon_sysfs_scheme *scheme = container_of(kobj, apply_interval_us_show() local 1693 struct damon_sysfs_scheme *scheme = container_of(kobj, apply_interval_us_store() local 1703 struct damon_sysfs_scheme *scheme = container_of(kobj, target_nid_show() local 1712 struct damon_sysfs_scheme *scheme = container_of(kobj, target_nid_store() local 1776 struct damon_sysfs_scheme **schemes_arr, *scheme; damon_sysfs_schemes_add_dirs() local 1911 damon_sysfs_add_scheme_filters(struct damos * scheme,struct damon_sysfs_scheme_filters * sysfs_filters) damon_sysfs_add_scheme_filters() argument 1978 struct damos *scheme; damos_sysfs_set_quota_scores() local 2014 struct damos *scheme; damos_sysfs_update_effective_quotas() local 2040 struct damos *scheme; damon_sysfs_mk_scheme() local 2093 struct damos *scheme, *next; damon_sysfs_add_schemes() local 2110 struct damos *scheme; damon_sysfs_schemes_update_stats() local 2146 struct damos *scheme; damon_sysfs_before_damos_apply() local 2214 struct damos *scheme; damon_sysfs_schemes_clear_regions() local 2234 struct damos *scheme; damos_sysfs_nth_scheme() local 2250 struct damos *scheme; damos_tried_regions_init_upd_status() local [all...] |
H A 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() 526 struct damos *scheme, unsigned long *sz_filter_passed) in damon_pa_initcall() 528 switch (scheme->action) { in damon_pa_initcall() 530 return damon_pa_pageout(r, scheme, sz_filter_passed); in damon_pa_initcall() 532 return damon_pa_mark_accessed(r, scheme, sz_filter_passed); in damon_pa_initcall() 534 return damon_pa_deactivate_pages(r, scheme, sz_filter_passed); in damon_pa_initcall() 537 return damon_pa_migrate(r, scheme, sz_filter_passed); in damon_pa_initcall() 539 return damon_pa_stat(r, scheme, sz_filter_passed); in damon_pa_initcall() 549 struct damos *scheme) 480 damon_pa_apply_scheme(struct damon_ctx * ctx,struct damon_target * t,struct damon_region * r,struct damos * scheme) damon_pa_apply_scheme() argument 503 damon_pa_scheme_score(struct damon_ctx * context,struct damon_target * t,struct damon_region * r,struct damos * scheme) damon_pa_scheme_score() argument [all...] |
H A D | core.c | 362 struct damos *scheme; in damon_new_scheme() local 364 scheme = kmalloc(sizeof(*scheme), GFP_KERNEL); in damon_new_scheme() 365 if (!scheme) in damon_new_scheme() 367 scheme->pattern = *pattern; in damon_new_scheme() 368 scheme->action = action; in damon_new_scheme() 369 scheme->apply_interval_us = apply_interval_us; in damon_new_scheme() 375 scheme->next_apply_sis = 0; in damon_new_scheme() 376 INIT_LIST_HEAD(&scheme->filters); in damon_new_scheme() 377 scheme->stat = (struct damos_stat){}; in damon_new_scheme() 378 INIT_LIST_HEAD(&scheme->list); in damon_new_scheme() [all …]
|
H A 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()
|
/linux/tools/testing/selftests/damon/ |
H A 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 …]
|
H A D | damos_apply_interval.py | 53 print('scheme(s) are not tried') 56 # Because the second scheme was having the apply interval that is ten times 57 # lower than that of the first scheme, the second scheme should be tried 58 # about ten times more frequently than the first scheme. For possible
|
H A 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) 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 D | sysfs_update_removed_scheme_dir.sh | 23 # 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
|
H A 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)
|
H A 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/include/linux/ |
H A D | damon.h | 99 * Operation Scheme. 149 * struct damos_quota_goal - DAMOS scheme quota auto-tuning goal. 177 * struct damos_quota - Controls the aggressiveness of the given scheme. 179 * @ms: Maximum milliseconds that the scheme can use. 202 * the scheme's action. DAMON then compares it against &sz and uses smaller 212 * For selecting regions within the quota, DAMON prioritizes current scheme's 250 * @DAMOS_WMARK_NONE: Ignore the watermarks of the given scheme. 261 * struct damos_watermarks - Controls when a given scheme should be activated. 268 * If &metric is &DAMOS_WMARK_NONE, the scheme is always active. Being active 269 * means DAMON does monitoring and applying the action of the scheme t 699 damos_for_each_filter(f,scheme) global() argument 702 damos_for_each_filter_safe(f,next,scheme) global() argument [all...] |
/linux/Documentation/ABI/testing/ |
H A 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' [all...] |
H A D | sysfs-bus-iio-light-isl29018 | 9 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/Documentation/admin-guide/mm/damon/ |
H A D | usage.rst | 138 DAMON-based operation scheme of the kdamond. For details of the stats, 140 - ``update_schemes_tried_regions``: Update the DAMON-based operation scheme 141 action tried regions directory for each DAMON-based operation scheme of the 142 kdamond. For details of the DAMON-based operation scheme action tried 147 - ``clear_schemes_tried_regions``: Clear the DAMON-based operating scheme 148 action tried regions directory for each DAMON-based operation scheme of the 151 ``effective_bytes`` files for each DAMON-based operation scheme of the 278 to ``N-1``. Each directory represents each DAMON-based operation scheme. 285 In each scheme directory, five directories (``access_pattern``, ``quotas``, 289 The ``action`` file is for setting and getting the scheme' [all...] |
/linux/drivers/atm/ |
H A 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 …]
|
H A D | fore200e.h | 19 #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 */ 877 enum buffer_scheme scheme; /* rx buffer scheme */ member
|
/linux/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-devattr.h | 111 /* 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/Documentation/mm/damon/ |
H A D | design.rst | 202 This scheme, however, cannot preserve the quality of the output if the 430 regions that the scheme is having an interest in. 444 region having the access pattern of interest is found, applying the scheme's 472 scheme action. In contrast, the colder regions would be deprioritized for huge 473 page collapse scheme action. Hence, the prioritization mechanisms for each 499 aggressiveness (the quota) of the corresponding scheme. For example, if DAMOS 531 memory is guaranteed, running a scheme for proactive reclamation would only 539 high watermark or below the low watermark, the scheme is deactivated. If the 540 metric becomes below the mid watermark but above the low watermark, the scheme 564 number of filters for each scheme [all...] |
/linux/arch/arm/mach-omap2/ |
H A D | omap_hwmod_common_data.c | 24 * 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/Documentation/filesystems/ext4/ |
H A 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/Documentation/translations/zh_CN/admin-guide/mm/damon/ |
H A D | usage.rst |
|
/linux/Documentation/translations/zh_TW/admin-guide/mm/damon/ |
H A D | usage.rst |
|
/linux/Documentation/scsi/ |
H A 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/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | phy.h | 189 * @scheme: only for v2: scheme that trigger the CT Kill (0-SW, 1-HW) 194 u8 scheme; member
|