| /linux/mm/damon/ |
| H A D | sysfs-schemes.c | 2088 struct damon_sysfs_scheme *scheme = kmalloc_obj(*scheme); in damon_sysfs_scheme_alloc() local 2090 if (!scheme) in damon_sysfs_scheme_alloc() 2092 scheme->kobj = (struct kobject){}; in damon_sysfs_scheme_alloc() 2093 scheme->action = action; in damon_sysfs_scheme_alloc() 2094 scheme->apply_interval_us = apply_interval_us; in damon_sysfs_scheme_alloc() 2095 scheme->target_nid = NUMA_NO_NODE; in damon_sysfs_scheme_alloc() 2096 return scheme; in damon_sysfs_scheme_alloc() 2100 struct damon_sysfs_scheme *scheme) in damon_sysfs_scheme_set_access_pattern() argument 2109 &damon_sysfs_access_pattern_ktype, &scheme->kobj, in damon_sysfs_scheme_set_access_pattern() 2116 scheme->access_pattern = access_pattern; in damon_sysfs_scheme_set_access_pattern() [all …]
|
| H A D | reclaim.c | 186 struct damos *scheme; in damon_reclaim_apply_parameters() local 208 scheme = damon_reclaim_new_scheme(); in damon_reclaim_apply_parameters() 209 if (!scheme) in damon_reclaim_apply_parameters() 211 damon_set_schemes(param_ctx, &scheme, 1); in damon_reclaim_apply_parameters() 218 damos_add_quota_goal(&scheme->quota, goal); in damon_reclaim_apply_parameters() 226 damos_add_quota_goal(&scheme->quota, goal); in damon_reclaim_apply_parameters() 233 damos_add_filter(scheme, filter); in damon_reclaim_apply_parameters()
|
| H A D | core.c | 416 struct damos *scheme; in damon_new_scheme() local 418 scheme = kmalloc_obj(*scheme); in damon_new_scheme() 419 if (!scheme) in damon_new_scheme() 421 scheme->pattern = *pattern; in damon_new_scheme() 422 scheme->action = action; in damon_new_scheme() 423 scheme->apply_interval_us = apply_interval_us; in damon_new_scheme() 429 scheme->next_apply_sis = 0; in damon_new_scheme() 430 scheme->walk_completed = false; in damon_new_scheme() 431 INIT_LIST_HEAD(&scheme->core_filters); in damon_new_scheme() 432 INIT_LIST_HEAD(&scheme->ops_filters); in damon_new_scheme() [all …]
|
| /linux/drivers/net/ethernet/freescale/fman/ |
| H A 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/tools/testing/selftests/damon/ |
| H A D | _damon_sysfs.py | 45 scheme = None variable in DamosAccessPattern 60 return os.path.join(self.scheme.sysfs_dir(), 'access_pattern') 138 scheme = None # owner scheme 156 return os.path.join(self.scheme.sysfs_dir(), 'quotas') 208 scheme = None # owner scheme 218 return os.path.join(self.scheme.sysfs_dir(), 'watermarks') 305 scheme = None # owner scheme 137 scheme = None # owner scheme global() variable in DamosQuota 202 scheme = None # owner scheme global() variable in DamosWatermarks 299 scheme = None # owner scheme global() variable in DamosFilters 346 scheme = None # owner scheme global() variable in DamosDests [all...] |
| 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.py | 118 def assert_scheme_committed(scheme, dump): 119 assert_access_pattern_committed(scheme.access_pattern, dump['pattern']) 132 assert_true(dump['action'] == action_val[scheme.action], 'action', dump) 133 assert_true(dump['apply_interval_us'] == scheme. apply_interval_us, 135 assert_true(dump['target_nid'] == scheme.target_nid, 'target_nid', dump) 136 assert_migrate_dests_committed(scheme.dests, dump['migrate_dests']) 137 assert_quota_committed(scheme.quota, dump['quota']) 138 assert_watermarks_committed(scheme.watermarks, dump['wmarks']) 140 for idx, f in enumerate(scheme.core_filters.filters): 142 for idx, f in enumerate(scheme 112 assert_scheme_committed(scheme, dump) global() argument [all...] |
| 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
|
| H A D | drgn_dump_damon_status.py | 169 def scheme_to_dict(scheme): 170 dict_ = to_dict(scheme, [ 181 'struct damos_filter', scheme.core_filters.address_of_(), 'list'): 186 'struct damos_filter', scheme.ops_filters.address_of_(), 'list'): 168 scheme_to_dict(scheme) global() argument
|
| /linux/samples/damon/ |
| H A D | mtier.c | 79 struct damos *scheme; in damon_sample_mtier_build_ctx() local 128 scheme = damon_new_scheme( in damon_sample_mtier_build_ctx() 151 if (!scheme) in damon_sample_mtier_build_ctx() 153 damon_set_schemes(ctx, &scheme, 1); in damon_sample_mtier_build_ctx() 161 damos_add_quota_goal(&scheme->quota, quota_goal); in damon_sample_mtier_build_ctx() 165 damos_add_filter(scheme, filter); in damon_sample_mtier_build_ctx()
|
| H A D | prcl.c | 63 struct damos *scheme; in damon_sample_prcl_start() local 89 scheme = damon_new_scheme( in damon_sample_prcl_start() 102 if (!scheme) { in damon_sample_prcl_start() 106 damon_set_schemes(ctx, &scheme, 1); in damon_sample_prcl_start()
|
| /linux/include/linux/ |
| H A D | damon.h | 664 struct damon_region *r, struct damos *scheme); 667 struct damos *scheme, unsigned long *sz_filter_passed); 901 #define damos_for_each_core_filter(f, scheme) \ argument 902 list_for_each_entry(f, &(scheme)->core_filters, list) 904 #define damos_for_each_core_filter_safe(f, next, scheme) \ argument 905 list_for_each_entry_safe(f, next, &(scheme)->core_filters, list) 907 #define damos_for_each_ops_filter(f, scheme) \ argument 908 list_for_each_entry(f, &(scheme)->ops_filters, list) 910 #define damos_for_each_ops_filter_safe(f, next, scheme) \ argument 911 list_for_each_entry_safe(f, next, &(scheme)->ops_filters, list)
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A 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()
|
| H A D | gpio.c | 405 enum ath_btcoex_scheme scheme = ath9k_hw_get_btcoex_scheme(ah); in ath9k_deinit_btcoex() local 407 if (scheme == ATH_BTCOEX_CFG_2WIRE || in ath9k_deinit_btcoex() 408 scheme == ATH_BTCOEX_CFG_3WIRE) in ath9k_deinit_btcoex()
|
| H A D | btcoex.h | 108 enum ath_btcoex_scheme scheme; member
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | pixfmt-srggb8-pisp-comp.rst | 32 Mode 1 uses a quantization and delta-based coding scheme which preserves up to 33 12 significant bits. Mode 2 is a simple sqrt-like companding scheme with 6 PWL 35 (with 4 chords) and the delta scheme, preserving up to 14 significant bits.
|
| /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
|
| H A 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/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/ethernet/sfc/ |
| H A D | tc.h | 227 u8 scheme; member 238 u8 scheme; member
|
| /linux/Documentation/leds/ |
| H A D | leds-blinkm.rst | 21 The registration follows the scheme:: 43 The registration follows the scheme::
|
| /linux/Documentation/devicetree/bindings/power/reset/ |
| H A D | qnap-poweroff.txt | 8 Synology NAS devices use a similar scheme, but a different baud rate,
|
| /linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| H A D | phy.h | 196 u8 scheme; member
|
| /linux/Documentation/iio/ |
| H A D | ep93xx_adc.rst | 15 Numbering scheme for channels 0..4 is defined in EP9301 and EP9302 datasheets.
|