Searched refs:level (Results 226 - 250 of 1963) sorted by relevance

1234567891011>>

/linux-master/arch/x86/boot/
H A Dcpuflags.h9 int level; /* Family, or 64 for x86-64 */ member in struct:cpu_features
/linux-master/drivers/gpu/drm/gma500/
H A Dbacklight.c59 int level = backlight_get_brightness(bd); local
62 if (level < 1)
63 level = 1;
65 gma_backlight_set(dev, level);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_chains.h44 u32 level);
47 u32 level);
83 u32 level) { return ERR_PTR(-EOPNOTSUPP); }
86 u32 level) {};
82 mlx5_chains_get_table(struct mlx5_fs_chains *chains, u32 chain, u32 prio, u32 level) argument
85 mlx5_chains_put_table(struct mlx5_fs_chains *chains, u32 chain, u32 prio, u32 level) argument
H A Dfs_chains.c57 u32 level; member in struct:prio_key
153 u32 chain, u32 prio, u32 level)
173 /* The root table(chain 0, prio 1, level 0) is required to be
179 (chain == 0 && prio == 1 && level == 0)) {
180 ft_attr.level = chains->fs_base_level;
188 /* Firmware doesn't allow us to create another level 0 table,
189 * so we create all unmanaged tables as level 1 (base + 1).
195 ft_attr.level = chains->fs_base_level + 1;
203 mlx5_core_warn(chains->dev, "Failed to create chains table err %d (chain: %d, prio: %d, level: %d, size: %d)\n",
204 (int)PTR_ERR(ft), chain, prio, level, s
152 mlx5_chains_create_table(struct mlx5_fs_chains *chains, u32 chain, u32 prio, u32 level) argument
460 mlx5_chains_create_prio(struct mlx5_fs_chains *chains, u32 chain, u32 prio, u32 level) argument
597 mlx5_chains_get_table(struct mlx5_fs_chains *chains, u32 chain, u32 prio, u32 level) argument
650 mlx5_chains_put_table(struct mlx5_fs_chains *chains, u32 chain, u32 prio, u32 level) argument
691 u32 chain, prio, level; local
[all...]
/linux-master/drivers/s390/net/
H A Dctcm_dbug.c58 /* set a passing level */
59 debug_set_level(ctcm_dbf[x].id, ctcm_dbf[x].level);
65 void ctcm_dbf_longtext(enum ctcm_dbf_names dbf_nix, int level, char *fmt, ...) argument
70 if (!debug_level_enabled(ctcm_dbf[dbf_nix].id, level))
76 debug_text_event(ctcm_dbf[dbf_nix].id, level, dbf_txt_buf);
/linux-master/tools/perf/util/
H A Daddr_location.h19 char level; member in struct:addr_location
/linux-master/include/linux/
H A Dcacheinfo.h24 * @id: This cache's id. It is unique among caches with the same (type, level).
26 * @level: represents the hierarchy in the multi-level cache
52 unsigned int level; member in struct:cacheinfo
116 * Get the id of the cache associated with @cpu at level @level.
119 static inline int get_cpu_cacheinfo_id(int cpu, int level) argument
125 if (ci->info_list[i].level == level) {
H A Ddev_printk.h35 int dev_vprintk_emit(int level, const struct device *dev,
38 int dev_printk_emit(int level, const struct device *dev, const char *fmt, ...);
41 void _dev_printk(const char *level, const struct device *dev,
61 int dev_vprintk_emit(int level, const struct device *dev, argument
65 int dev_printk_emit(int level, const struct device *dev, const char *fmt, ...) argument
68 static inline void __dev_printk(const char *level, const struct device *dev, argument
72 void _dev_printk(const char *level, const struct device *dev, argument
104 #define dev_printk_index_emit(level, fmt, ...) \
105 printk_index_subsys_emit("%s %s: ", level, fmt)
107 #define dev_printk_index_wrap(_p_func, level, de
[all...]
H A Dzlib.h201 extern int deflateInit (z_streamp strm, int level);
208 The compression level must be Z_DEFAULT_COMPRESSION, or between 0 and 9:
212 compression (currently equivalent to level 6).
215 enough memory, Z_STREAM_ERROR if level is not a valid compression level,
461 int level,
507 The stream will keep the same compression level and any other attributes
580 #define zlib_deflateInit(strm, level) \
581 zlib_deflateInit2((strm), (level), Z_DEFLATED, MAX_WBITS, \
586 extern int zlib_deflateInit2(z_streamp strm, int level, in
[all...]
/linux-master/drivers/net/wireless/ath/ath5k/
H A Ddebug.h69 unsigned int level; /* debug level */ member in struct:ath5k_dbg_info
73 * enum ath5k_debug_level - ath5k debug level
89 * @ATH5K_DEBUG_ANY: show at any debug level
91 * The debug level is used to control the amount and type of debugging output
92 * we want to see. The debug level is given in calls to ATH5K_DBG to specify
117 if (unlikely((_sc)->debug.level & (_m) && net_ratelimit())) \
123 if (unlikely((_sc)->debug.level & (_m))) \
/linux-master/drivers/scsi/esas2r/
H A Desas2r_log.h64 __printf(2, 3) int esas2r_log(const long level, const char *format, ...);
65 __printf(3, 4) int esas2r_log_dev(const long level,
69 int esas2r_log_hexdump(const long level,
/linux-master/drivers/net/wireless/ath/
H A Dmain.c71 void ath_printk(const char *level, const struct ath_common* common, argument
84 level, wiphy_name(common->hw->wiphy), &vaf);
87 printk("%sath: %pV", level, &vaf);
/linux-master/tools/perf/trace/beauty/
H A Dsocket.c31 static size_t socket__scnprintf_level(int level, char *bf, size_t size, bool show_prefix) argument
38 if (level == sol_socket)
41 return strarray__scnprintf(&strarray__socket_level, bf, size, "%d", show_prefix, level);
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
H A Dgk20a.c72 int cur_level, level; local
74 /* For GK20A, the performance level is directly mapped to pstate */
75 level = cur_level = clk->pstate;
78 level = min(clk->state_nr - 1, level + (clk->state_nr / 3));
80 level += ((load - data->p_load_target) * 10 /
82 level = max(0, level);
83 level = min(clk->state_nr - 1, level);
[all...]
/linux-master/arch/x86/mm/pat/
H A Dcpa-test.c59 unsigned int level; local
62 pte = lookup_address(addr, &level);
69 if (level == PG_LEVEL_1G && sizeof(long) == 8) {
72 } else if (level == PG_LEVEL_2M) {
75 "%lx level %d but not PSE %Lx\n",
76 addr, level, (u64)pte_val(*pte));
123 unsigned int level; local
152 pte = lookup_address(addr[i] + k*PAGE_SIZE, &level);
200 pte = lookup_address(addr[i], &level);
206 if (level !
[all...]
/linux-master/drivers/acpi/acpica/
H A Dnsdumpdv.c24 * level - Nesting level of the handle
36 u32 level, void *context, void **return_value)
46 acpi_ns_dump_one_object(obj_handle, level, context, return_value);
52 for (i = 0; i < level; i++) {
35 acpi_ns_dump_one_device(acpi_handle obj_handle, u32 level, void *context, void **return_value) argument
/linux-master/arch/loongarch/mm/
H A Dcache.c94 #define populate_cache_properties(cfg0, cdesc, level, leaf) \
99 if (level == 1) { \
107 cdesc->level = level; \
117 unsigned int leaf = 0, level = 1; local
126 populate_cache_properties(config, cdesc, level, leaf);
131 populate_cache_properties(config, cdesc, level, leaf);
135 for (level = 2; level <= CACHE_LEVEL_MAX; level
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dsockopt_multi.c16 if (ctx->level != SOL_IP || ctx->optname != IP_TOS)
45 if (ctx->level != SOL_IP || ctx->optname != IP_TOS)
74 if (ctx->level != SOL_IP || ctx->optname != IP_TOS)
/linux-master/net/netfilter/
H A Dnft_socket.c12 u8 level; member in struct:nft_socket
40 nft_sock_get_eval_cgroupv2(u32 *dest, struct sock *sk, const struct nft_pktinfo *pkt, u32 level) argument
48 cgrp = cgroup_ancestor(sock_cgroup_ptr(&sk->sk_cgrp_data), level);
125 if (!nft_sock_get_eval_cgroupv2(dest, sk, pkt, priv->level)) {
178 unsigned int level; local
183 level = ntohl(nla_get_be32(tb[NFTA_SOCKET_LEVEL]));
184 if (level > 255)
187 priv->level = level;
211 nla_put_be32(skb, NFTA_SOCKET_LEVEL, htonl(priv->level)))
[all...]
/linux-master/drivers/acpi/
H A Dpptt.c14 * the caches available at that level. Each cache structure optionally
15 * contains properties describing the cache at a given level which can be
83 * @local_level: passed res reflects this cache level
86 * @found: returns a pointer to the requested level if found
87 * @level: the requested cache level
90 * Attempt to find a given cache level, while counting the max number
94 * down each level of caches, counting how many levels are found
96 * level & type match, then we set found, and continue the search.
100 * Return: The cache structure and the level w
102 acpi_pptt_walk_cache(struct acpi_table_header *table_hdr, unsigned int local_level, unsigned int *split_levels, struct acpi_subtable_header *res, struct acpi_pptt_cache **found, unsigned int level, int type) argument
147 acpi_find_cache_level(struct acpi_table_header *table_hdr, struct acpi_pptt_processor *cpu_node, unsigned int *starting_level, unsigned int *split_levels, unsigned int level, int type) argument
318 acpi_find_cache_node(struct acpi_table_header *table_hdr, u32 acpi_cpu_id, enum cache_type type, unsigned int level, struct acpi_pptt_processor **node) argument
468 acpi_find_processor_tag(struct acpi_table_header *table_hdr, struct acpi_pptt_processor *cpu, int level, int flag) argument
509 topology_get_acpi_cpu_tag(struct acpi_table_header *table, unsigned int cpu, int level, int flag) argument
557 find_acpi_cpu_topology_tag(unsigned int cpu, int level, int flag) argument
711 find_acpi_cpu_topology(unsigned int cpu, int level) argument
[all...]
/linux-master/tools/power/x86/intel-speed-select/
H A Disst-core.c58 char *isst_get_trl_level_name(int level) argument
61 return isst_ops->get_trl_level_name(level);
168 int isst_get_get_trl(struct isst_id *id, int level, int avx_level, int *trl) argument
171 return isst_ops->get_get_trl(id, level, avx_level, trl);
174 int isst_get_get_trls(struct isst_id *id, int level, struct isst_pkg_ctdp_level_info *ctdp_level) argument
177 return isst_ops->get_get_trls(id, level, ctdp_level);
180 int isst_get_trl_bucket_info(struct isst_id *id, int level, unsigned long long *buckets_info) argument
183 return isst_ops->get_trl_bucket_info(id, level, buckets_info);
192 int isst_get_pbf_info(struct isst_id *id, int level, struct isst_pbf_info *pbf_info) argument
204 if (level > pkg_de
232 isst_get_fact_info(struct isst_id *id, int level, int fact_bucket, struct isst_fact_info *fact_info) argument
[all...]
/linux-master/security/selinux/ss/
H A Dsidtab.c154 u32 level = 0; local
158 ++level;
160 return level;
163 static int sidtab_alloc_roots(struct sidtab *s, u32 level) argument
173 for (l = 1; l <= level; ++l)
188 u32 level, capacity_shift, leaf_index = index / SIDTAB_LEAF_ENTRIES; local
190 /* find the level of the subtree we need */
191 level = sidtab_level_from_count(index + 1);
192 capacity_shift = level * SIDTAB_INNER_SHIFT;
195 if (alloc && sidtab_alloc_roots(s, level) !
377 sidtab_convert_tree(union sidtab_entry_inner *edst, union sidtab_entry_inner *esrc, u32 *pos, u32 count, u32 level, struct sidtab_convert_params *convert) argument
429 u32 count, level, pos; local
516 sidtab_destroy_tree(union sidtab_entry_inner entry, u32 level) argument
543 u32 i, level; local
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/
H A Diwl-debug.h16 static inline bool iwl_have_debug_level(u32 level) argument
19 return iwlwifi_mod_params.debug_level & level;
72 u32 level, bool limit, const char *function,
77 u32 level, bool limit, const char *function,
88 #define __IWL_DEBUG_DEV(dev, level, limit, fmt, args...) \
91 __iwl_dbg(dev, level, limit, __func__, fmt, ##args); \
93 #define IWL_DEBUG(m, level, fmt, args...) \
94 __IWL_DEBUG_DEV((m)->dev, level, false, fmt, ##args)
95 #define IWL_DEBUG_DEV(dev, level, fmt, args...) \
96 __IWL_DEBUG_DEV(dev, level, fals
76 __iwl_dbg(struct device *dev, u32 level, bool limit, const char *function, const char *fmt, ...) argument
[all...]
/linux-master/arch/arm64/include/asm/
H A Dkvm_pgtable.h19 * - 4K (level 1): 1GB
20 * - 16K (level 2): 32MB
21 * - 64K (level 2): 512MB
107 static inline u64 kvm_granule_shift(s8 level) argument
110 return ARM64_HW_PGTABLE_LEVEL_SHIFT(level);
113 static inline u64 kvm_granule_size(s8 level) argument
115 return BIT(kvm_granule_shift(level));
118 static inline bool kvm_level_supports_block_mapping(s8 level) argument
120 return level >= KVM_PGTABLE_MIN_BLOCK_LEVEL;
125 s8 level local
271 s8 level; member in struct:kvm_pgtable_visit_ctx
[all...]
/linux-master/tools/testing/selftests/proc/
H A Dread.c77 static void f(DIR *d, unsigned int level) argument
98 if (level == 0 && streq(de->d_name, "sysrq-trigger")) {
100 } else if (level == 1 && streq(de->d_name, "clear_refs")) {
102 } else if (level == 3 && streq(de->d_name, "clear_refs")) {
115 f(dd, level + 1);

Completed in 345 milliseconds

1234567891011>>