level 458 arch/arm/include/asm/cacheflush.h #define v7_exit_coherency_flush(level) \ level 466 arch/arm/include/asm/cacheflush.h "bl v7_flush_dcache_"__stringify(level)" \n\t" \ level 56 arch/arm/include/asm/cputype.h #define MPIDR_LEVEL_SHIFT(level) (MPIDR_LEVEL_BITS * level) level 58 arch/arm/include/asm/cputype.h #define MPIDR_AFFINITY_LEVEL(mpidr, level) \ level 59 arch/arm/include/asm/cputype.h ((mpidr >> (MPIDR_LEVEL_BITS * level)) & MPIDR_LEVEL_MASK) level 50 arch/arm/include/asm/ftrace.h static inline void *return_address(unsigned int level) level 17 arch/arm/kernel/return_address.c unsigned int level; level 25 arch/arm/kernel/return_address.c if (!data->level) { level 30 arch/arm/kernel/return_address.c --data->level; level 35 arch/arm/kernel/return_address.c void *return_address(unsigned int level) level 40 arch/arm/kernel/return_address.c data.level = level + 2; level 50 arch/arm/kernel/return_address.c if (!data.level) level 944 arch/arm/kvm/coproc.c u32 level, ctype; level 950 arch/arm/kvm/coproc.c level = (val >> 1); level 951 arch/arm/kvm/coproc.c ctype = (cache_levels >> (level * 3)) & 7; level 35 arch/arm/mach-exynos/mcpm-exynos.c #define exynos_v7_exit_coherency_flush(level) \ level 42 arch/arm/mach-exynos/mcpm-exynos.c "bl v7_flush_dcache_"__stringify(level)"\n\t" \ level 101 arch/arm/mach-omap2/sdrc.h u32 omap2xxx_sdrc_reprogram(u32 level, u32 force); level 79 arch/arm/mach-omap2/sdrc2xxx.c u32 omap2xxx_sdrc_reprogram(u32 level, u32 force) level 85 arch/arm/mach-omap2/sdrc2xxx.c if ((curr_perf_level == level) && !force) level 88 arch/arm/mach-omap2/sdrc2xxx.c if (level == CORE_CLK_SRC_DPLL) level 90 arch/arm/mach-omap2/sdrc2xxx.c else if (level == CORE_CLK_SRC_DPLL_X2) level 106 arch/arm/mach-omap2/sdrc2xxx.c omap2_sram_reprogram_sdrc(level, dll_ctrl, m_type); level 107 arch/arm/mach-omap2/sdrc2xxx.c curr_perf_level = level; level 468 arch/arm/mach-omap2/soc.h #define omap_initcall(level, fn) \ level 475 arch/arm/mach-omap2/soc.h level(__##fn); level 20 arch/arm/mach-pxa/include/mach/reset.h extern int init_gpio_reset(int gpio, int output, int level); level 21 arch/arm/mach-pxa/reset.c int init_gpio_reset(int gpio, int output, int level) level 32 arch/arm/mach-pxa/reset.c rc = gpio_direction_output(gpio, level); level 306 arch/arm/mach-pxa/viper.c int level; level 312 arch/arm/mach-pxa/viper.c for (level = 0; level < ARRAY_SIZE(viper_isa_irqs); level++) { level 313 arch/arm/mach-pxa/viper.c isa_irq = viper_bit_to_irq(level); level 136 arch/arm/mach-pxa/zeus.c int level; level 151 arch/arm/mach-pxa/zeus.c for (level = 0; level < ARRAY_SIZE(zeus_isa_irqs); level++) { level 152 arch/arm/mach-pxa/zeus.c isa_irq = zeus_bit_to_irq(level); level 87 arch/arm/mach-rockchip/pm.c static void rk3288_slp_mode_set(int level) level 125 arch/arm/mach-rockchip/pm.c if (level == ROCKCHIP_ARM_OFF_LOGIC_DEEP) { level 267 arch/arm/mach-s3c24xx/mach-h1940.c { .volt = 4070, .cur = 162, .level = 100}, level 268 arch/arm/mach-s3c24xx/mach-h1940.c { .volt = 4040, .cur = 165, .level = 95}, level 269 arch/arm/mach-s3c24xx/mach-h1940.c { .volt = 4016, .cur = 164, .level = 90}, level 270 arch/arm/mach-s3c24xx/mach-h1940.c { .volt = 3996, .cur = 166, .level = 85}, level 271 arch/arm/mach-s3c24xx/mach-h1940.c { .volt = 3971, .cur = 168, .level = 80}, level 272 arch/arm/mach-s3c24xx/mach-h1940.c { .volt = 3951, .cur = 168, .level = 75}, level 273 arch/arm/mach-s3c24xx/mach-h1940.c { .volt = 3931, .cur = 170, .level = 70}, level 274 arch/arm/mach-s3c24xx/mach-h1940.c { .volt = 3903, .cur = 172, .level = 65}, level 275 arch/arm/mach-s3c24xx/mach-h1940.c { .volt = 3886, .cur = 172, .level = 60}, level 276 arch/arm/mach-s3c24xx/mach-h1940.c { .volt = 3858, .cur = 176, .level = 55}, level 277 arch/arm/mach-s3c24xx/mach-h1940.c { .volt = 3842, .cur = 176, .level = 50}, level 278 arch/arm/mach-s3c24xx/mach-h1940.c { .volt = 3818, .cur = 176, .level = 45}, level 279 arch/arm/mach-s3c24xx/mach-h1940.c { .volt = 3789, .cur = 180, .level = 40}, level 280 arch/arm/mach-s3c24xx/mach-h1940.c { .volt = 3769, .cur = 180, .level = 35}, level 281 arch/arm/mach-s3c24xx/mach-h1940.c { .volt = 3749, .cur = 184, .level = 30}, level 282 arch/arm/mach-s3c24xx/mach-h1940.c { .volt = 3732, .cur = 184, .level = 25}, level 283 arch/arm/mach-s3c24xx/mach-h1940.c { .volt = 3716, .cur = 184, .level = 20}, level 284 arch/arm/mach-s3c24xx/mach-h1940.c { .volt = 3708, .cur = 184, .level = 15}, level 285 arch/arm/mach-s3c24xx/mach-h1940.c { .volt = 3716, .cur = 96, .level = 10}, level 286 arch/arm/mach-s3c24xx/mach-h1940.c { .volt = 3700, .cur = 96, .level = 5}, level 287 arch/arm/mach-s3c24xx/mach-h1940.c { .volt = 3684, .cur = 96, .level = 0}, level 291 arch/arm/mach-s3c24xx/mach-h1940.c { .volt = 4130, .cur = 0, .level = 100}, level 292 arch/arm/mach-s3c24xx/mach-h1940.c { .volt = 3982, .cur = 0, .level = 50}, level 293 arch/arm/mach-s3c24xx/mach-h1940.c { .volt = 3854, .cur = 0, .level = 10}, level 294 arch/arm/mach-s3c24xx/mach-h1940.c { .volt = 3841, .cur = 0, .level = 0}, level 166 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 4100, .cur = 156, .level = 100}, level 167 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 4050, .cur = 156, .level = 95}, level 168 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 4025, .cur = 141, .level = 90}, level 169 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3995, .cur = 144, .level = 85}, level 170 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3957, .cur = 162, .level = 80}, level 171 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3931, .cur = 147, .level = 75}, level 172 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3902, .cur = 147, .level = 70}, level 173 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3863, .cur = 153, .level = 65}, level 174 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3838, .cur = 150, .level = 60}, level 175 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3800, .cur = 153, .level = 55}, level 176 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3765, .cur = 153, .level = 50}, level 177 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3748, .cur = 172, .level = 45}, level 178 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3740, .cur = 153, .level = 40}, level 179 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3714, .cur = 175, .level = 35}, level 180 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3710, .cur = 156, .level = 30}, level 181 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3963, .cur = 156, .level = 25}, level 182 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3672, .cur = 178, .level = 20}, level 183 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3651, .cur = 178, .level = 15}, level 184 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3629, .cur = 178, .level = 10}, level 185 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3612, .cur = 162, .level = 5}, level 186 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3605, .cur = 162, .level = 0}, level 190 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 4200, .cur = 0, .level = 100}, level 191 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 4190, .cur = 0, .level = 99}, level 192 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 4178, .cur = 0, .level = 95}, level 193 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 4110, .cur = 0, .level = 70}, level 194 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 4076, .cur = 0, .level = 65}, level 195 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 4046, .cur = 0, .level = 60}, level 196 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 4021, .cur = 0, .level = 55}, level 197 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3999, .cur = 0, .level = 50}, level 198 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3982, .cur = 0, .level = 45}, level 199 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3965, .cur = 0, .level = 40}, level 200 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3957, .cur = 0, .level = 35}, level 201 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3948, .cur = 0, .level = 30}, level 202 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3936, .cur = 0, .level = 25}, level 203 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3927, .cur = 0, .level = 20}, level 204 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3906, .cur = 0, .level = 15}, level 205 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3880, .cur = 0, .level = 10}, level 206 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3829, .cur = 0, .level = 5}, level 207 arch/arm/mach-s3c24xx/mach-rx1950.c { .volt = 3820, .cur = 0, .level = 0}, level 317 arch/arm/mm/cache-uniphier.c u32 level, cache_size; level 327 arch/arm/mm/cache-uniphier.c if (of_property_read_u32(np, "cache-level", &level)) { level 332 arch/arm/mm/cache-uniphier.c if (level != *cache_level) { level 334 arch/arm/mm/cache-uniphier.c *cache_level, level); level 49 arch/arm/mm/dump.c unsigned level; level 241 arch/arm/mm/dump.c if ((st->current_prot & pg_level[st->level].ro_bit->mask) == level 242 arch/arm/mm/dump.c pg_level[st->level].ro_bit->val) level 244 arch/arm/mm/dump.c if ((st->current_prot & pg_level[st->level].nx_bit->mask) == level 245 arch/arm/mm/dump.c pg_level[st->level].nx_bit->val) level 255 arch/arm/mm/dump.c unsigned int level, u64 val, const char *domain) level 258 arch/arm/mm/dump.c u64 prot = val & pg_level[level].mask; level 260 arch/arm/mm/dump.c if (!st->level) { level 261 arch/arm/mm/dump.c st->level = level; level 265 arch/arm/mm/dump.c } else if (prot != st->current_prot || level != st->level || level 285 arch/arm/mm/dump.c if (pg_level[st->level].bits) level 286 arch/arm/mm/dump.c dump_prot(st, pg_level[st->level].bits, pg_level[st->level].num); level 298 arch/arm/mm/dump.c st->level = level; level 18 arch/arm64/include/asm/cputype.h #define MPIDR_LEVEL_SHIFT(level) \ level 19 arch/arm64/include/asm/cputype.h (((1 << level) >> 1) << MPIDR_LEVEL_BITS_SHIFT) level 21 arch/arm64/include/asm/cputype.h #define MPIDR_AFFINITY_LEVEL(mpidr, level) \ level 22 arch/arm64/include/asm/cputype.h ((mpidr >> MPIDR_LEVEL_SHIFT(level)) & MPIDR_LEVEL_MASK) level 15 arch/arm64/kernel/cacheinfo.c #define CLIDR_CTYPE_SHIFT(level) (3 * (level - 1)) level 16 arch/arm64/kernel/cacheinfo.c #define CLIDR_CTYPE_MASK(level) (7 << CLIDR_CTYPE_SHIFT(level)) level 17 arch/arm64/kernel/cacheinfo.c #define CLIDR_CTYPE(clidr, level) \ level 18 arch/arm64/kernel/cacheinfo.c (((clidr) & CLIDR_CTYPE_MASK(level)) >> CLIDR_CTYPE_SHIFT(level)) level 29 arch/arm64/kernel/cacheinfo.c static inline enum cache_type get_cache_type(int level) level 33 arch/arm64/kernel/cacheinfo.c if (level > MAX_CACHE_LEVEL) level 36 arch/arm64/kernel/cacheinfo.c return CLIDR_CTYPE(clidr, level); level 40 arch/arm64/kernel/cacheinfo.c enum cache_type type, unsigned int level) level 42 arch/arm64/kernel/cacheinfo.c this_leaf->level = level; level 48 arch/arm64/kernel/cacheinfo.c unsigned int ctype, level, leaves, fw_level; level 51 arch/arm64/kernel/cacheinfo.c for (level = 1, leaves = 0; level <= MAX_CACHE_LEVEL; level++) { level 52 arch/arm64/kernel/cacheinfo.c ctype = get_cache_type(level); level 54 arch/arm64/kernel/cacheinfo.c level--; level 66 arch/arm64/kernel/cacheinfo.c if (level < fw_level) { level 72 arch/arm64/kernel/cacheinfo.c leaves += (fw_level - level); level 73 arch/arm64/kernel/cacheinfo.c level = fw_level; level 76 arch/arm64/kernel/cacheinfo.c this_cpu_ci->num_levels = level; level 83 arch/arm64/kernel/cacheinfo.c unsigned int level, idx; level 88 arch/arm64/kernel/cacheinfo.c for (idx = 0, level = 1; level <= this_cpu_ci->num_levels && level 89 arch/arm64/kernel/cacheinfo.c idx < this_cpu_ci->num_leaves; idx++, level++) { level 90 arch/arm64/kernel/cacheinfo.c type = get_cache_type(level); level 92 arch/arm64/kernel/cacheinfo.c ci_leaf_init(this_leaf++, CACHE_TYPE_DATA, level); level 93 arch/arm64/kernel/cacheinfo.c ci_leaf_init(this_leaf++, CACHE_TYPE_INST, level); level 95 arch/arm64/kernel/cacheinfo.c ci_leaf_init(this_leaf++, type, level); level 17 arch/arm64/kernel/return_address.c unsigned int level; level 25 arch/arm64/kernel/return_address.c if (!data->level) { level 29 arch/arm64/kernel/return_address.c --data->level; level 35 arch/arm64/kernel/return_address.c void *return_address(unsigned int level) level 40 arch/arm64/kernel/return_address.c data.level = level + 2; level 48 arch/arm64/kernel/return_address.c if (!data.level) level 2470 arch/arm64/kvm/sys_regs.c u32 level, ctype; level 2476 arch/arm64/kvm/sys_regs.c level = (val >> 1); level 2477 arch/arm64/kvm/sys_regs.c ctype = (cache_levels >> (level * 3)) & 7; level 81 arch/arm64/mm/dump.c unsigned level; level 243 arch/arm64/mm/dump.c static void note_page(struct pg_state *st, unsigned long addr, unsigned level, level 247 arch/arm64/mm/dump.c u64 prot = val & pg_level[level].mask; level 249 arch/arm64/mm/dump.c if (!st->level) { level 250 arch/arm64/mm/dump.c st->level = level; level 254 arch/arm64/mm/dump.c } else if (prot != st->current_prot || level != st->level || level 271 arch/arm64/mm/dump.c pg_level[st->level].name); level 272 arch/arm64/mm/dump.c if (pg_level[st->level].bits) level 273 arch/arm64/mm/dump.c dump_prot(st, pg_level[st->level].bits, level 274 arch/arm64/mm/dump.c pg_level[st->level].num); level 285 arch/arm64/mm/dump.c st->level = level; level 286 arch/ia64/include/asm/pal.h level : 8, /* 15-8 level of the level 299 arch/ia64/include/asm/pal.h level : 8, /* 15-8 level of the level 327 arch/ia64/include/asm/pal.h #define pclid_read_level pclid_info_read.level level 336 arch/ia64/include/asm/pal.h #define pclid_write_level pclid_info_write.level level 493 arch/ia64/include/asm/pal.h level : 2, /* Cache level */ level 543 arch/ia64/include/asm/pal.h level : 2, /* TLB level where failure occurred */ level 633 arch/ia64/include/asm/pal.h level : 3, /* Level of failure */ level 714 arch/ia64/include/asm/pal.h #define pmci_cache_level pme_cache.level level 962 arch/ia64/include/asm/pal.h ia64_pal_cache_init (u64 level, u64 cache_type, u64 rest) level 965 arch/ia64/include/asm/pal.h PAL_CALL(iprv, PAL_CACHE_INIT, level, cache_type, rest); level 1807 arch/ia64/include/asm/pal.h ia64_pal_cache_shared_info(u64 level, level 1814 arch/ia64/include/asm/pal.h PAL_CALL(iprv, PAL_CACHE_SHARED_INFO, level, type, proc_number); level 54 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_PID_LEVEL_OFFSET, offsetof (struct pid, level)); level 451 arch/ia64/kernel/mca_drv.c int i, level = 9; level 462 arch/ia64/kernel/mca_drv.c if (!target_address || (pcci->level < level)) { level 464 arch/ia64/kernel/mca_drv.c level = pcci->level; level 123 arch/ia64/kernel/topology.c int level; level 151 arch/ia64/kernel/topology.c if (ia64_pal_cache_shared_info(this_leaf->level, level 167 arch/ia64/kernel/topology.c ia64_pal_cache_shared_info(this_leaf->level, level 232 arch/ia64/kernel/topology.c return sprintf(buf, "%u\n", this_leaf->level); level 248 arch/ia64/kernel/topology.c define_one_ro(level); level 259 arch/ia64/kernel/topology.c &level.attr, level 330 arch/ia64/kernel/topology.c this_cache[num_cache_leaves].level = i + 1; level 25 arch/mips/include/asm/mach-loongson64/loongson_hwmon.h u8 level; level 304 arch/mips/include/asm/nile4.h extern void nile4_set_pci_irq_level_or_edge(int pci_irq, int level); level 24 arch/mips/include/asm/sn/intr.h #define LOCAL_HUB_SEND_INTR(level) \ level 25 arch/mips/include/asm/sn/intr.h LOCAL_HUB_S(PI_INT_PEND_MOD, (0x100 | (level))) level 26 arch/mips/include/asm/sn/intr.h #define REMOTE_HUB_SEND_INTR(hub, level) \ level 27 arch/mips/include/asm/sn/intr.h REMOTE_HUB_S((hub), PI_INT_PEND_MOD, (0x100 | (level))) level 35 arch/mips/include/asm/sn/intr.h #define LOCAL_HUB_CLR_INTR(level) \ level 37 arch/mips/include/asm/sn/intr.h LOCAL_HUB_S(PI_INT_PEND_MOD, (level)); \ level 41 arch/mips/include/asm/sn/intr.h #define REMOTE_HUB_CLR_INTR(hub, level) \ level 45 arch/mips/include/asm/sn/intr.h REMOTE_HUB_S(__hub, PI_INT_PEND_MOD, (level)); \ level 917 arch/mips/include/asm/sn/sn0/hubio.h level : 7; level 39 arch/mips/include/asm/vr41xx/giu.h extern void vr41xx_set_irq_level(unsigned int pin, irq_level_t level); level 11 arch/mips/kernel/cacheinfo.c leaf->level = c_level; \ level 62 arch/mips/kernel/irq_txx9.c unsigned char level; level 73 arch/mips/kernel/irq_txx9.c | (txx9irq[irq_nr].level << ofs), level 155 arch/mips/kernel/irq_txx9.c txx9irq[i].level = 4; /* middle level */ level 179 arch/mips/kernel/irq_txx9.c old_pri = txx9irq[irc_irq].level; level 180 arch/mips/kernel/irq_txx9.c txx9irq[irc_irq].level = new_pri; level 408 arch/mips/kernel/relocate.c void show_kernel_relocation(const char *level) level 415 arch/mips/kernel/relocate.c printk(level); level 75 arch/mips/lantiq/falcon/sysctrl.c void falcon_trigger_hrst(int level) level 77 arch/mips/lantiq/falcon/sysctrl.c sysctl_w32(SYSCTL_SYS1, level & 1, SYS1_HRSTOUTC); level 37 arch/mips/sgi-ip27/ip27-irq.c int level; level 40 arch/mips/sgi-ip27/ip27-irq.c level = find_first_zero_bit(hub_irq_map, IP27_HUB_IRQ_COUNT); level 41 arch/mips/sgi-ip27/ip27-irq.c if (level >= IP27_HUB_IRQ_COUNT) level 44 arch/mips/sgi-ip27/ip27-irq.c if (test_and_set_bit(level, hub_irq_map)) level 47 arch/mips/sgi-ip27/ip27-irq.c return level; level 49 arch/mips/txx9/generic/irq_tx4939.c unsigned char level; level 67 arch/mips/txx9/generic/irq_tx4939.c | (tx4939irq[irq_nr].level << ofs), level 161 arch/mips/txx9/generic/irq_tx4939.c old_pri = tx4939irq[irc_irq].level; level 162 arch/mips/txx9/generic/irq_tx4939.c tx4939irq[irc_irq].level = new_pri; level 177 arch/mips/txx9/generic/irq_tx4939.c tx4939irq[i].level = 4; /* middle level */ level 9 arch/nds32/kernel/cacheinfo.c enum cache_type type, unsigned int level) level 13 arch/nds32/kernel/cacheinfo.c this_leaf->level = level; level 39 arch/nds32/kernel/cacheinfo.c unsigned int level, idx; level 43 arch/nds32/kernel/cacheinfo.c for (idx = 0, level = 1; level <= this_cpu_ci->num_levels && level 44 arch/nds32/kernel/cacheinfo.c idx < this_cpu_ci->num_leaves; idx++, level++) { level 45 arch/nds32/kernel/cacheinfo.c ci_leaf_init(this_leaf++, CACHE_TYPE_DATA, level); level 46 arch/nds32/kernel/cacheinfo.c ci_leaf_init(this_leaf++, CACHE_TYPE_INST, level); level 66 arch/parisc/include/asm/assembly.h .level 2.0w level 78 arch/parisc/kernel/traps.c static void print_gr(char *level, struct pt_regs *regs) level 83 arch/parisc/kernel/traps.c printk("%s\n", level); level 84 arch/parisc/kernel/traps.c printk("%s YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI\n", level); level 86 arch/parisc/kernel/traps.c printk("%sPSW: %s %s\n", level, buf, print_tainted()); level 89 arch/parisc/kernel/traps.c PRINTREGS(level, regs->gr, "r", RFMT, i); level 92 arch/parisc/kernel/traps.c static void print_fr(char *level, struct pt_regs *regs) level 108 arch/parisc/kernel/traps.c printk("%s\n", level); level 109 arch/parisc/kernel/traps.c printk("%s VZOUICununcqcqcqcqcqcrmunTDVZOUI\n", level); level 111 arch/parisc/kernel/traps.c printk("%sFPSR: %s\n", level, buf); level 112 arch/parisc/kernel/traps.c printk("%sFPER1: %08x\n", level, s.sw[1]); level 116 arch/parisc/kernel/traps.c PRINTREGS(level, regs->fr, "fr", FFMT, i); level 122 arch/parisc/kernel/traps.c char *level; level 126 arch/parisc/kernel/traps.c level = user ? KERN_DEBUG : KERN_CRIT; level 128 arch/parisc/kernel/traps.c show_regs_print_info(level); level 130 arch/parisc/kernel/traps.c print_gr(level, regs); level 133 arch/parisc/kernel/traps.c PRINTREGS(level, regs->sr, "sr", RFMT, i); level 136 arch/parisc/kernel/traps.c print_fr(level, regs); level 140 arch/parisc/kernel/traps.c printk("%s\n", level); level 142 arch/parisc/kernel/traps.c level, regs->iasq[0], regs->iasq[1], regs->iaoq[0], regs->iaoq[1]); level 144 arch/parisc/kernel/traps.c level, regs->iir, regs->isr, regs->ior); level 146 arch/parisc/kernel/traps.c level, current_thread_info()->cpu, cr30, cr31); level 147 arch/parisc/kernel/traps.c printk("%s ORIG_R28: " RFMT "\n", level, regs->orig_r28); level 150 arch/parisc/kernel/traps.c printk("%s IAOQ[0]: " RFMT "\n", level, regs->iaoq[0]); level 151 arch/parisc/kernel/traps.c printk("%s IAOQ[1]: " RFMT "\n", level, regs->iaoq[1]); level 152 arch/parisc/kernel/traps.c printk("%s RP(r2): " RFMT "\n", level, regs->gr[2]); level 154 arch/parisc/kernel/traps.c printk("%s IAOQ[0]: %pS\n", level, (void *) regs->iaoq[0]); level 155 arch/parisc/kernel/traps.c printk("%s IAOQ[1]: %pS\n", level, (void *) regs->iaoq[1]); level 156 arch/parisc/kernel/traps.c printk("%s RP(r2): %pS\n", level, (void *) regs->gr[2]); level 466 arch/parisc/kernel/unwind.c unsigned long return_address(unsigned int level) level 474 arch/parisc/kernel/unwind.c level += 2; level 480 arch/parisc/kernel/unwind.c } while (info.ip && level--); level 155 arch/powerpc/include/asm/eeh.h #define EEH_EDEV_PRINT(level, edev, fmt, ...) \ level 156 arch/powerpc/include/asm/eeh.h pr_##level("PCI %04x:%02x:%02x.%x#%04x: EEH: " fmt, \ level 138 arch/powerpc/include/asm/elf.h #define get_cache_geometry(level) \ level 139 arch/powerpc/include/asm/elf.h (ppc64_caches.level.assoc << 16 | ppc64_caches.level.line_size) level 624 arch/powerpc/include/asm/kvm_book3s_64.h unsigned long gpa, unsigned int level, level 630 arch/powerpc/include/asm/kvm_ppc.h int level, bool line_status); level 678 arch/powerpc/include/asm/kvm_ppc.h int level, bool line_status); level 718 arch/powerpc/include/asm/kvm_ppc.h int level, bool line_status) { return -ENODEV; } level 351 arch/powerpc/include/asm/mpc52xx.h extern int mpc52xx_set_wakeup_gpio(u8 pin, u8 level); level 363 arch/powerpc/include/asm/rtas.h extern int rtas_get_power_level(int powerdomain, int *level); level 364 arch/powerpc/include/asm/rtas.h extern int rtas_set_power_level(int powerdomain, int level, int *setlevel); level 120 arch/powerpc/kernel/cacheinfo.c int level; /* level not explicit in device tree */ level 142 arch/powerpc/kernel/cacheinfo.c static void cache_init(struct cache *cache, int type, int level, level 146 arch/powerpc/kernel/cacheinfo.c cache->level = level; level 152 arch/powerpc/kernel/cacheinfo.c static struct cache *new_cache(int type, int level, struct device_node *ofnode) level 158 arch/powerpc/kernel/cacheinfo.c cache_init(cache, type, level, ofnode); level 181 arch/powerpc/kernel/cacheinfo.c pr_debug("freeing L%d %s cache for %pOF\n", cache->level, level 353 arch/powerpc/kernel/cacheinfo.c static struct cache *cache_do_one_devnode_unified(struct device_node *node, int level) level 355 arch/powerpc/kernel/cacheinfo.c pr_debug("creating L%d ucache for %pOF\n", level, node); level 357 arch/powerpc/kernel/cacheinfo.c return new_cache(cache_is_unified_d(node), level, node); level 361 arch/powerpc/kernel/cacheinfo.c int level) level 365 arch/powerpc/kernel/cacheinfo.c pr_debug("creating L%d dcache and icache for %pOF\n", level, level 368 arch/powerpc/kernel/cacheinfo.c dcache = new_cache(CACHE_TYPE_DATA, level, node); level 369 arch/powerpc/kernel/cacheinfo.c icache = new_cache(CACHE_TYPE_INSTRUCTION, level, node); level 383 arch/powerpc/kernel/cacheinfo.c static struct cache *cache_do_one_devnode(struct device_node *node, int level) level 388 arch/powerpc/kernel/cacheinfo.c cache = cache_do_one_devnode_unified(node, level); level 390 arch/powerpc/kernel/cacheinfo.c cache = cache_do_one_devnode_split(node, level); level 396 arch/powerpc/kernel/cacheinfo.c int level) level 402 arch/powerpc/kernel/cacheinfo.c WARN_ONCE(cache && cache->level != level, level 404 arch/powerpc/kernel/cacheinfo.c cache->level, level); level 407 arch/powerpc/kernel/cacheinfo.c cache = cache_do_one_devnode(node, level); level 425 arch/powerpc/kernel/cacheinfo.c WARN_ON_ONCE(cache->level != 1); level 432 arch/powerpc/kernel/cacheinfo.c int level = cache->level; level 439 arch/powerpc/kernel/cacheinfo.c level++; level 440 arch/powerpc/kernel/cacheinfo.c subcache = cache_lookup_or_instantiate(subcache_node, level); level 513 arch/powerpc/kernel/cacheinfo.c index->cache->level, cache_type_string(index->cache)); level 621 arch/powerpc/kernel/cacheinfo.c return sprintf(buf, "%d\n", cache->level); level 625 arch/powerpc/kernel/cacheinfo.c __ATTR(level, 0444, level_show, NULL); level 644 arch/powerpc/kernel/cacheinfo.c if (cache->level == 1) level 208 arch/powerpc/kernel/head_booke.h #define BOOKE_LOAD_EXC_LEVEL_STACK(level) \ level 211 arch/powerpc/kernel/head_booke.h addis r8,r8,level##_STACK_BASE@ha; \ level 212 arch/powerpc/kernel/head_booke.h lwz r8,level##_STACK_BASE@l(r8); \ level 215 arch/powerpc/kernel/head_booke.h #define BOOKE_LOAD_EXC_LEVEL_STACK(level) \ level 216 arch/powerpc/kernel/head_booke.h lis r8,level##_STACK_BASE@ha; \ level 217 arch/powerpc/kernel/head_booke.h lwz r8,level##_STACK_BASE@l(r8); \ level 328 arch/powerpc/kernel/mce.c const char *level, *sevstr, *subtype, *err_type, *initiator; level 395 arch/powerpc/kernel/mce.c level = KERN_INFO; level 399 arch/powerpc/kernel/mce.c level = KERN_WARNING; level 403 arch/powerpc/kernel/mce.c level = KERN_ERR; level 408 arch/powerpc/kernel/mce.c level = KERN_ERR; level 527 arch/powerpc/kernel/mce.c level, evt->cpu, sevstr, in_guest ? "Guest" : "Host", level 534 arch/powerpc/kernel/mce.c level, evt->cpu, current->pid, current->comm, level 538 arch/powerpc/kernel/mce.c level, evt->cpu, evt->srr0, (void *)evt->srr0, pa_str); level 541 arch/powerpc/kernel/mce.c printk("%sMCE: CPU%d: Initiator %s\n", level, evt->cpu, initiator); level 545 arch/powerpc/kernel/mce.c printk("%sMCE: CPU%d: %s\n", level, evt->cpu, subtype); level 550 arch/powerpc/kernel/rtas.c int rtas_get_power_level(int powerdomain, int *level) level 558 arch/powerpc/kernel/rtas.c while ((rc = rtas_call(token, 1, 2, level, powerdomain)) == RTAS_BUSY) level 567 arch/powerpc/kernel/rtas.c int rtas_set_power_level(int powerdomain, int level, int *setlevel) level 576 arch/powerpc/kernel/rtas.c rc = rtas_call(token, 2, 2, setlevel, powerdomain, level); level 1027 arch/powerpc/kvm/book3s.c int kvm_set_irq(struct kvm *kvm, int irq_source_id, u32 irq, int level, level 1031 arch/powerpc/kvm/book3s.c return kvmppc_xive_set_irq(kvm, irq_source_id, irq, level, level 1034 arch/powerpc/kvm/book3s.c return kvmppc_xics_set_irq(kvm, irq_source_id, irq, level, level 1040 arch/powerpc/kvm/book3s.c int level, bool line_status) level 1043 arch/powerpc/kvm/book3s.c level, line_status); level 1046 arch/powerpc/kvm/book3s.c struct kvm *kvm, int irq_source_id, int level, level 1049 arch/powerpc/kvm/book3s.c return kvm_set_irq(kvm, irq_source_id, e->gsi, level, line_status); level 132 arch/powerpc/kvm/book3s_64_mmu_radix.c int ret, level, ps; level 149 arch/powerpc/kvm/book3s_64_mmu_radix.c for (level = 3; level >= 0; --level) { level 152 arch/powerpc/kvm/book3s_64_mmu_radix.c if (level && bits != p9_supported_radix_bits[level]) level 154 arch/powerpc/kvm/book3s_64_mmu_radix.c if (level == 0 && !(bits == 5 || bits == 9)) level 181 arch/powerpc/kvm/book3s_64_mmu_radix.c if (level < 0 || level == 3) level 564 arch/powerpc/kvm/book3s_64_mmu_radix.c unsigned long gpa, unsigned int level, level 585 arch/powerpc/kvm/book3s_64_mmu_radix.c else if (level <= 1) level 588 arch/powerpc/kvm/book3s_64_mmu_radix.c if (level == 0 && !(pmd && pmd_present(*pmd) && !pmd_is_leaf(*pmd))) level 610 arch/powerpc/kvm/book3s_64_mmu_radix.c if (level == 2) { level 635 arch/powerpc/kvm/book3s_64_mmu_radix.c if (level == 2) { level 661 arch/powerpc/kvm/book3s_64_mmu_radix.c if (level == 1) { level 687 arch/powerpc/kvm/book3s_64_mmu_radix.c if (level == 1) { level 779 arch/powerpc/kvm/book3s_64_mmu_radix.c unsigned int shift, level; level 838 arch/powerpc/kvm/book3s_64_mmu_radix.c level = 2; level 842 arch/powerpc/kvm/book3s_64_mmu_radix.c level = 1; level 844 arch/powerpc/kvm/book3s_64_mmu_radix.c level = 0; level 865 arch/powerpc/kvm/book3s_64_mmu_radix.c ret = kvmppc_create_pte(kvm, kvm->arch.pgtable, pte, gpa, level, level 870 arch/powerpc/kvm/book3s_64_mmu_radix.c *levelp = level; level 880 arch/powerpc/kvm/book3s_64_mmu_radix.c if (level == 1) level 882 arch/powerpc/kvm/book3s_64_mmu_radix.c else if (level == 2) level 74 arch/powerpc/kvm/book3s_emulate.c static bool spr_allowed(struct kvm_vcpu *vcpu, enum priv_level level) level 77 arch/powerpc/kvm/book3s_emulate.c if (vcpu->arch.papr_enabled && (level > PRIV_SUPER)) level 81 arch/powerpc/kvm/book3s_emulate.c if ((kvmppc_get_msr(vcpu) & MSR_PR) && level > PRIV_PROBLEM) level 1235 arch/powerpc/kvm/book3s_hv_nested.c static inline int kvmppc_radix_level_to_shift(int level) level 1237 arch/powerpc/kvm/book3s_hv_nested.c switch (level) { level 1274 arch/powerpc/kvm/book3s_hv_nested.c unsigned int shift, l1_shift, level; level 1375 arch/powerpc/kvm/book3s_hv_nested.c writing, kvm_ro, &pte, &level); level 1380 arch/powerpc/kvm/book3s_hv_nested.c shift = kvmppc_radix_level_to_shift(level); level 1406 arch/powerpc/kvm/book3s_hv_nested.c level = kvmppc_radix_shift_to_level(shift); level 1417 arch/powerpc/kvm/book3s_hv_nested.c ret = kvmppc_create_pte(kvm, gp->shadow_pgtable, pte, n_gpa, level, level 69 arch/powerpc/kvm/book3s_xics.c static int ics_deliver_irq(struct kvmppc_xics *xics, u32 irq, u32 level) level 76 arch/powerpc/kvm/book3s_xics.c XICS_DBG("ics deliver %#x (level: %d)\n", irq, level); level 87 arch/powerpc/kvm/book3s_xics.c if (level == KVM_INTERRUPT_SET_LEVEL || level == KVM_INTERRUPT_SET) level 88 arch/powerpc/kvm/book3s_xics.c level = 1; level 89 arch/powerpc/kvm/book3s_xics.c else if (level == KVM_INTERRUPT_UNSET) level 90 arch/powerpc/kvm/book3s_xics.c level = 0; level 96 arch/powerpc/kvm/book3s_xics.c if (!state->lsi && level == 0) /* noop for MSI */ level 102 arch/powerpc/kvm/book3s_xics.c if (level) { level 1293 arch/powerpc/kvm/book3s_xics.c int kvmppc_xics_set_irq(struct kvm *kvm, int irq_source_id, u32 irq, int level, level 1300 arch/powerpc/kvm/book3s_xics.c return ics_deliver_irq(xics, irq, level); level 1800 arch/powerpc/kvm/book3s_xive.c int kvmppc_xive_set_irq(struct kvm *kvm, int irq_source_id, u32 irq, int level, level 1824 arch/powerpc/kvm/book3s_xive.c if ((level == 1 && state->lsi) || level == KVM_INTERRUPT_SET_LEVEL) level 1826 arch/powerpc/kvm/book3s_xive.c else if (level == 0 || level == KVM_INTERRUPT_UNSET) { level 155 arch/powerpc/kvm/mpic.c bool level:1; /* level-triggered */ level 476 arch/powerpc/kvm/mpic.c static void openpic_set_irq(void *opaque, int n_IRQ, int level) level 488 arch/powerpc/kvm/mpic.c n_IRQ, level, src->ivpr); level 489 arch/powerpc/kvm/mpic.c if (src->level) { level 491 arch/powerpc/kvm/mpic.c src->pending = level; level 495 arch/powerpc/kvm/mpic.c if (level) { level 531 arch/powerpc/kvm/mpic.c opp->src[i].level = level 660 arch/powerpc/kvm/mpic.c opp->src[n_IRQ].level = level 1156 arch/powerpc/kvm/mpic.c if (!src->level) { level 1165 arch/powerpc/kvm/mpic.c if (src->destmask && !src->level) { level 1325 arch/powerpc/kvm/mpic.c opp->src[i].level = false; level 1330 arch/powerpc/kvm/mpic.c opp->src[i].level = true; level 1336 arch/powerpc/kvm/mpic.c opp->src[i].level = false; level 1792 arch/powerpc/kvm/mpic.c struct kvm *kvm, int irq_source_id, int level, level 1800 arch/powerpc/kvm/mpic.c openpic_set_irq(opp, irq, level); level 1808 arch/powerpc/kvm/mpic.c struct kvm *kvm, int irq_source_id, int level, bool line_status) level 2127 arch/powerpc/kvm/powerpc.c irq_event->irq, irq_event->level, level 30 arch/powerpc/mm/ptdump/hashpagetable.c unsigned int level; level 62 arch/powerpc/mm/ptdump/ptdump.c unsigned int level; level 192 arch/powerpc/mm/ptdump/ptdump.c unsigned int level, u64 val, unsigned long page_size) level 194 arch/powerpc/mm/ptdump/ptdump.c u64 flag = val & pg_level[level].mask; level 198 arch/powerpc/mm/ptdump/ptdump.c if (!st->level) { level 199 arch/powerpc/mm/ptdump/ptdump.c st->level = level; level 214 arch/powerpc/mm/ptdump/ptdump.c } else if (flag != st->current_flags || level != st->level || level 225 arch/powerpc/mm/ptdump/ptdump.c if (pg_level[st->level].flag) level 226 arch/powerpc/mm/ptdump/ptdump.c dump_flag_info(st, pg_level[st->level].flag, level 228 arch/powerpc/mm/ptdump/ptdump.c pg_level[st->level].num); level 246 arch/powerpc/mm/ptdump/ptdump.c st->level = level; level 52 arch/powerpc/perf/callchain.c long level = 0; level 75 arch/powerpc/perf/callchain.c level = 0; level 79 arch/powerpc/perf/callchain.c if (level == 0) level 91 arch/powerpc/perf/callchain.c if ((level == 1 && next_ip == lr) || level 92 arch/powerpc/perf/callchain.c (level <= 1 && !kernel_text_address(next_ip))) level 95 arch/powerpc/perf/callchain.c ++level; level 238 arch/powerpc/perf/callchain.c long level = 0; level 251 arch/powerpc/perf/callchain.c if (level > 0 && read_user_stack_64(&fp[2], &next_ip)) level 262 arch/powerpc/perf/callchain.c (level <= 1 && is_sigreturn_64_address(lr, sp))) && level 273 arch/powerpc/perf/callchain.c level = 0; level 279 arch/powerpc/perf/callchain.c if (level == 0) level 282 arch/powerpc/perf/callchain.c ++level; level 445 arch/powerpc/perf/callchain.c long level = 0; level 457 arch/powerpc/perf/callchain.c if (level > 0 && read_user_stack_32(&fp[1], &next_ip)) level 461 arch/powerpc/perf/callchain.c if (!uregs && level <= 1) level 472 arch/powerpc/perf/callchain.c level = 0; level 478 arch/powerpc/perf/callchain.c if (level == 0) level 481 arch/powerpc/perf/callchain.c ++level; level 175 arch/powerpc/platforms/52xx/efika.c u8 level = 1; /* wakeup on high level */ level 177 arch/powerpc/platforms/52xx/efika.c mpc52xx_set_wakeup_gpio(pin, level); level 126 arch/powerpc/platforms/52xx/lite5200.c u8 level = 0; /* wakeup on low level */ level 127 arch/powerpc/platforms/52xx/lite5200.c mpc52xx_set_wakeup_gpio(pin, level); level 37 arch/powerpc/platforms/52xx/mpc52xx_pm.c int mpc52xx_set_wakeup_gpio(u8 pin, u8 level) level 50 arch/powerpc/platforms/52xx/mpc52xx_pm.c tmp |= (!level + 1) << (pin * 2); level 60 arch/powerpc/platforms/82xx/ep8248e.c static void ep8248e_set_mdc(struct mdiobb_ctrl *ctrl, int level) level 62 arch/powerpc/platforms/82xx/ep8248e.c if (level) level 175 arch/powerpc/platforms/chrp/setup.c static void __init sio_fixup_irq(const char *name, u8 device, u8 level, level 185 arch/powerpc/platforms/chrp/setup.c if (level0 != level || type0 != type || !active) { level 188 arch/powerpc/platforms/chrp/setup.c name, level0, type0, !active ? "in" : "", level, type); level 190 arch/powerpc/platforms/chrp/setup.c sio_write(level, 0x70); level 78 arch/powerpc/platforms/powermac/backlight.c int level = (FB_BACKLIGHT_LEVELS - 1); level 92 arch/powerpc/platforms/powermac/backlight.c level = i; level 98 arch/powerpc/platforms/powermac/backlight.c return level; level 40 arch/powerpc/platforms/powermac/pic.c unsigned int level; level 134 arch/powerpc/platforms/powermac/pic.c if (bit & ppc_cached_irq_mask[i] & in_le32(&pmac_irq_hw[i]->level)) level 210 arch/powerpc/platforms/powermac/pic.c bits |= in_le32(&pmac_irq_hw[i]->level); level 240 arch/powerpc/platforms/powermac/pic.c bits |= in_le32(&pmac_irq_hw[i]->level); level 38 arch/powerpc/platforms/powernv/opal-hmi.c static void print_core_checkstop_reason(const char *level, level 75 arch/powerpc/platforms/powernv/opal-hmi.c printk("%s Unknown Core check stop.\n", level); level 79 arch/powerpc/platforms/powernv/opal-hmi.c printk("%s CPU PIR: %08x\n", level, level 84 arch/powerpc/platforms/powernv/opal-hmi.c printk("%s [Unit: %-3s] %s\n", level, level 89 arch/powerpc/platforms/powernv/opal-hmi.c static void print_nx_checkstop_reason(const char *level, level 126 arch/powerpc/platforms/powernv/opal-hmi.c printk("%s Unknown NX check stop.\n", level); level 130 arch/powerpc/platforms/powernv/opal-hmi.c printk("%s NX checkstop on CHIP ID: %x\n", level, level 135 arch/powerpc/platforms/powernv/opal-hmi.c printk("%s [Unit: %-3s] %s\n", level, level 140 arch/powerpc/platforms/powernv/opal-hmi.c static void print_npu_checkstop_reason(const char *level, level 150 arch/powerpc/platforms/powernv/opal-hmi.c printk("%s NPU checkstop on chip %x\n", level, level 171 arch/powerpc/platforms/powernv/opal-hmi.c level, level 177 arch/powerpc/platforms/powernv/opal-hmi.c static void print_checkstop_reason(const char *level, level 183 arch/powerpc/platforms/powernv/opal-hmi.c print_core_checkstop_reason(level, hmi_evt); level 186 arch/powerpc/platforms/powernv/opal-hmi.c print_nx_checkstop_reason(level, hmi_evt); level 189 arch/powerpc/platforms/powernv/opal-hmi.c print_npu_checkstop_reason(level, hmi_evt); level 193 arch/powerpc/platforms/powernv/opal-hmi.c level, type); level 200 arch/powerpc/platforms/powernv/opal-hmi.c const char *level, *sevstr, *error_info; level 225 arch/powerpc/platforms/powernv/opal-hmi.c level = KERN_INFO; level 229 arch/powerpc/platforms/powernv/opal-hmi.c level = KERN_WARNING; level 233 arch/powerpc/platforms/powernv/opal-hmi.c level = KERN_ERR; level 238 arch/powerpc/platforms/powernv/opal-hmi.c level = KERN_ERR; level 244 arch/powerpc/platforms/powernv/opal-hmi.c level, sevstr, level 250 arch/powerpc/platforms/powernv/opal-hmi.c printk("%s Error detail: %s\n", level, error_info); level 251 arch/powerpc/platforms/powernv/opal-hmi.c printk("%s HMER: %016llx\n", level, be64_to_cpu(hmi_evt->hmer)); level 254 arch/powerpc/platforms/powernv/opal-hmi.c printk("%s TFMR: %016llx\n", level, level 262 arch/powerpc/platforms/powernv/opal-hmi.c print_checkstop_reason(level, hmi_evt); level 58 arch/powerpc/platforms/powernv/pci-ioda-tce.c int level = tbl->it_indirect_levels; level 60 arch/powerpc/platforms/powernv/pci-ioda-tce.c unsigned long mask = (tbl->it_level_size - 1) << (level * shift); level 62 arch/powerpc/platforms/powernv/pci-ioda-tce.c while (level) { level 63 arch/powerpc/platforms/powernv/pci-ioda-tce.c int n = (idx & mask) >> (level * shift); level 90 arch/powerpc/platforms/powernv/pci-ioda-tce.c --level; level 55 arch/powerpc/platforms/powernv/pci-ioda.c void pe_level_printk(const struct pnv_ioda_pe *pe, const char *level, level 81 arch/powerpc/platforms/powernv/pci-ioda.c level, pfix, pe->pe_number, &vaf); level 203 arch/powerpc/platforms/powernv/pci.h extern void pe_level_printk(const struct pnv_ioda_pe *pe, const char *level, level 389 arch/powerpc/platforms/pseries/vio.c size_t avail = 0, level, chunk, need; level 421 arch/powerpc/platforms/pseries/vio.c level = VIO_CMO_MIN_ENT; level 427 arch/powerpc/platforms/pseries/vio.c if (viodev->cmo.desired <= level) { level 448 arch/powerpc/platforms/pseries/vio.c max(viodev->cmo.allocated, level); level 454 arch/powerpc/platforms/pseries/vio.c level += VIO_CMO_BALANCE_CHUNK; level 392 arch/powerpc/sysdev/mpic.c bool level) level 408 arch/powerpc/sysdev/mpic.c if (level) level 13 arch/riscv/kernel/cacheinfo.c enum cache_type type, unsigned int level) level 15 arch/riscv/kernel/cacheinfo.c this_leaf->level = level; level 24 arch/riscv/kernel/cacheinfo.c int levels = 0, leaves = 0, level; level 41 arch/riscv/kernel/cacheinfo.c if (of_property_read_u32(np, "cache-level", &level)) level 43 arch/riscv/kernel/cacheinfo.c if (level <= levels) level 51 arch/riscv/kernel/cacheinfo.c levels = level; level 67 arch/riscv/kernel/cacheinfo.c int levels = 1, level = 1; level 70 arch/riscv/kernel/cacheinfo.c ci_leaf_init(this_leaf++, np, CACHE_TYPE_UNIFIED, level); level 72 arch/riscv/kernel/cacheinfo.c ci_leaf_init(this_leaf++, np, CACHE_TYPE_INST, level); level 74 arch/riscv/kernel/cacheinfo.c ci_leaf_init(this_leaf++, np, CACHE_TYPE_DATA, level); level 82 arch/riscv/kernel/cacheinfo.c if (of_property_read_u32(np, "cache-level", &level)) level 84 arch/riscv/kernel/cacheinfo.c if (level <= levels) level 87 arch/riscv/kernel/cacheinfo.c ci_leaf_init(this_leaf++, np, CACHE_TYPE_UNIFIED, level); level 89 arch/riscv/kernel/cacheinfo.c ci_leaf_init(this_leaf++, np, CACHE_TYPE_INST, level); level 91 arch/riscv/kernel/cacheinfo.c ci_leaf_init(this_leaf++, np, CACHE_TYPE_DATA, level); level 92 arch/riscv/kernel/cacheinfo.c levels = level; level 38 arch/s390/include/asm/debug.h int level; level 90 arch/s390/include/asm/debug.h debug_entry_t *debug_event_common(debug_info_t *id, int level, level 93 arch/s390/include/asm/debug.h debug_entry_t *debug_exception_common(debug_info_t *id, int level, level 123 arch/s390/include/asm/debug.h static inline bool debug_level_enabled(debug_info_t *id, int level) level 125 arch/s390/include/asm/debug.h return level <= id->level; level 141 arch/s390/include/asm/debug.h static inline debug_entry_t *debug_event(debug_info_t *id, int level, level 144 arch/s390/include/asm/debug.h if ((!id) || (level > id->level) || (id->pages_per_area == 0)) level 146 arch/s390/include/asm/debug.h return debug_event_common(id, level, data, length); level 161 arch/s390/include/asm/debug.h static inline debug_entry_t *debug_int_event(debug_info_t *id, int level, level 166 arch/s390/include/asm/debug.h if ((!id) || (level > id->level) || (id->pages_per_area == 0)) level 168 arch/s390/include/asm/debug.h return debug_event_common(id, level, &t, sizeof(unsigned int)); level 183 arch/s390/include/asm/debug.h static inline debug_entry_t *debug_long_event(debug_info_t *id, int level, level 188 arch/s390/include/asm/debug.h if ((!id) || (level > id->level) || (id->pages_per_area == 0)) level 190 arch/s390/include/asm/debug.h return debug_event_common(id, level, &t, sizeof(unsigned long)); level 205 arch/s390/include/asm/debug.h static inline debug_entry_t *debug_text_event(debug_info_t *id, int level, level 208 arch/s390/include/asm/debug.h if ((!id) || (level > id->level) || (id->pages_per_area == 0)) level 210 arch/s390/include/asm/debug.h return debug_event_common(id, level, txt, strlen(txt)); level 218 arch/s390/include/asm/debug.h __debug_sprintf_event(debug_info_t *id, int level, char *string, ...) level 243 arch/s390/include/asm/debug.h if ((!__id) || (__level > __id->level)) \ level 265 arch/s390/include/asm/debug.h static inline debug_entry_t *debug_exception(debug_info_t *id, int level, level 268 arch/s390/include/asm/debug.h if ((!id) || (level > id->level) || (id->pages_per_area == 0)) level 270 arch/s390/include/asm/debug.h return debug_exception_common(id, level, data, length); level 286 arch/s390/include/asm/debug.h static inline debug_entry_t *debug_int_exception(debug_info_t *id, int level, level 291 arch/s390/include/asm/debug.h if ((!id) || (level > id->level) || (id->pages_per_area == 0)) level 293 arch/s390/include/asm/debug.h return debug_exception_common(id, level, &t, sizeof(unsigned int)); level 309 arch/s390/include/asm/debug.h static inline debug_entry_t *debug_long_exception (debug_info_t *id, int level, level 314 arch/s390/include/asm/debug.h if ((!id) || (level > id->level) || (id->pages_per_area == 0)) level 316 arch/s390/include/asm/debug.h return debug_exception_common(id, level, &t, sizeof(unsigned long)); level 333 arch/s390/include/asm/debug.h static inline debug_entry_t *debug_text_exception(debug_info_t *id, int level, level 336 arch/s390/include/asm/debug.h if ((!id) || (level > id->level) || (id->pages_per_area == 0)) level 338 arch/s390/include/asm/debug.h return debug_exception_common(id, level, txt, strlen(txt)); level 346 arch/s390/include/asm/debug.h __debug_sprintf_exception(debug_info_t *id, int level, char *string, ...) level 373 arch/s390/include/asm/debug.h if ((!__id) || (__level > __id->level)) \ level 35 arch/s390/include/asm/pgtable.h static inline void update_page_count(int level, long count) level 38 arch/s390/include/asm/pgtable.h atomic_long_add(count, &direct_pages_count[level]); level 23 arch/s390/include/uapi/asm/debug.h unsigned long long level:3; level 80 arch/s390/kernel/cache.c seq_printf(m, "level=%d ", cache->level); level 91 arch/s390/kernel/cache.c static inline enum cache_type get_cache_type(struct cache_info *ci, int level) level 93 arch/s390/kernel/cache.c if (level >= CACHE_MAX_LEVEL) level 95 arch/s390/kernel/cache.c ci += level; level 107 arch/s390/kernel/cache.c enum cache_type type, unsigned int level, int cpu) level 115 arch/s390/kernel/cache.c this_leaf->level = level + 1; level 117 arch/s390/kernel/cache.c this_leaf->coherency_line_size = ecag(EXTRACT_LINE_SIZE, level, ti); level 118 arch/s390/kernel/cache.c this_leaf->ways_of_associativity = ecag(EXTRACT_ASSOCIATIVITY, level, ti); level 119 arch/s390/kernel/cache.c this_leaf->size = ecag(EXTRACT_SIZE, level, ti); level 131 arch/s390/kernel/cache.c unsigned int level = 0, leaves = 0; level 141 arch/s390/kernel/cache.c ctype = get_cache_type(&ct.ci[0], level); level 146 arch/s390/kernel/cache.c } while (++level < CACHE_MAX_LEVEL); level 147 arch/s390/kernel/cache.c this_cpu_ci->num_levels = level; level 156 arch/s390/kernel/cache.c unsigned int level, idx, pvt; level 163 arch/s390/kernel/cache.c for (idx = 0, level = 0; level < this_cpu_ci->num_levels && level 164 arch/s390/kernel/cache.c idx < this_cpu_ci->num_leaves; idx++, level++) { level 167 arch/s390/kernel/cache.c pvt = (ct.ci[level].scope == CACHE_SCOPE_PRIVATE) ? 1 : 0; level 168 arch/s390/kernel/cache.c ctype = get_cache_type(&ct.ci[0], level); level 170 arch/s390/kernel/cache.c ci_leaf_init(this_leaf++, pvt, CACHE_TYPE_DATA, level, cpu); level 171 arch/s390/kernel/cache.c ci_leaf_init(this_leaf++, pvt, CACHE_TYPE_INST, level, cpu); level 173 arch/s390/kernel/cache.c ci_leaf_init(this_leaf++, pvt, ctype, level, cpu); level 234 arch/s390/kernel/debug.c int nr_areas, int buf_size, int level, level 262 arch/s390/kernel/debug.c rc->level = level; level 365 arch/s390/kernel/debug.c in->nr_areas, in->buf_size, in->level, mode); level 792 arch/s390/kernel/debug.c id->level = DEBUG_OFF_LEVEL; level 798 arch/s390/kernel/debug.c id->level = new_level; level 845 arch/s390/kernel/debug.c int level, int exception) level 852 arch/s390/kernel/debug.c active->id.fields.level = level; level 943 arch/s390/kernel/debug.c debug_entry_t *debug_event_common(debug_info_t *id, int level, const void *buf, level 962 arch/s390/kernel/debug.c debug_finish_entry(id, active, level, 0); level 976 arch/s390/kernel/debug.c debug_entry_t *debug_exception_common(debug_info_t *id, int level, level 995 arch/s390/kernel/debug.c debug_finish_entry(id, active, level, len <= id->buf_size); level 1022 arch/s390/kernel/debug.c debug_entry_t *__debug_sprintf_event(debug_info_t *id, int level, char *string, ...) level 1047 arch/s390/kernel/debug.c debug_finish_entry(id, active, level, 0); level 1057 arch/s390/kernel/debug.c debug_entry_t *__debug_sprintf_exception(debug_info_t *id, int level, char *string, ...) level 1083 arch/s390/kernel/debug.c debug_finish_entry(id, active, level, 1); level 1271 arch/s390/kernel/debug.c if (id->level == DEBUG_OFF_LEVEL) level 1274 arch/s390/kernel/debug.c rc = sprintf(out_buf, "%i\n", id->level); level 1444 arch/s390/kernel/debug.c unsigned int level; level 1448 arch/s390/kernel/debug.c level = entry->id.fields.level; level 1459 arch/s390/kernel/debug.c area, sec, usec, level, except_str, level 29 arch/s390/kernel/lgr.c u32 level; level 119 arch/s390/kernel/lgr.c int level; level 123 arch/s390/kernel/lgr.c level = stsi(NULL, 0, 0, 0); level 124 arch/s390/kernel/lgr.c lgr_info->level = level; level 125 arch/s390/kernel/lgr.c if (level >= 1) level 127 arch/s390/kernel/lgr.c if (level >= 2) level 129 arch/s390/kernel/lgr.c if (level >= 3) level 280 arch/s390/kernel/sysinfo.c int level; level 284 arch/s390/kernel/sysinfo.c level = stsi(NULL, 0, 0, 0); level 285 arch/s390/kernel/sysinfo.c if (level >= 1) level 287 arch/s390/kernel/sysinfo.c if (level >= 1) level 289 arch/s390/kernel/sysinfo.c if (level >= 1) level 291 arch/s390/kernel/sysinfo.c if (level >= 2) level 293 arch/s390/kernel/sysinfo.c if (level >= 3) level 2757 arch/s390/kvm/interrupt.c struct kvm *kvm, int irq_source_id, int level, level 2764 arch/s390/kvm/interrupt.c if (!level) level 2842 arch/s390/kvm/interrupt.c int irq_source_id, int level, bool line_status) level 46 arch/s390/mm/dump_pagetables.c int level; level 53 arch/s390/mm/dump_pagetables.c static void print_prot(struct seq_file *m, unsigned int pr, int level) level 58 arch/s390/mm/dump_pagetables.c seq_printf(m, "%s ", level_name[level]); level 68 arch/s390/mm/dump_pagetables.c unsigned int new_prot, int level) level 84 arch/s390/mm/dump_pagetables.c if (!st->level) { level 87 arch/s390/mm/dump_pagetables.c st->level = level; level 90 arch/s390/mm/dump_pagetables.c } else if (prot != cur || level != st->level || level 102 arch/s390/mm/dump_pagetables.c print_prot(m, st->current_prot, st->level); level 109 arch/s390/mm/dump_pagetables.c st->level = level; level 788 arch/s390/mm/gmap.c unsigned long gaddr, int level) level 793 arch/s390/mm/gmap.c if ((gmap->asce & _ASCE_TYPE_MASK) + 4 < (level * 4)) level 806 arch/s390/mm/gmap.c if (level == 4) level 814 arch/s390/mm/gmap.c if (level == 3) level 822 arch/s390/mm/gmap.c if (level == 2) level 830 arch/s390/mm/gmap.c if (level == 1) level 238 arch/s390/numa/mode_emu.c enum toptree_level level, bool perfect) level 243 arch/s390/numa/mode_emu.c toptree_for_each_safe(cur, tmp, phys, level) { level 261 arch/s390/numa/mode_emu.c enum toptree_level level, bool perfect) level 266 arch/s390/numa/mode_emu.c move_level_to_numa_node(node, phys, level, perfect); level 30 arch/s390/numa/toptree.c struct toptree __ref *toptree_alloc(int level, int id) level 44 arch/s390/numa/toptree.c res->level = level; level 126 arch/s390/numa/toptree.c if (target->level != (cand->level + 1)) level 162 arch/s390/numa/toptree.c if (cand->level < 2) level 165 arch/s390/numa/toptree.c cand_copy = toptree_alloc(cand->level, 0); level 202 arch/s390/numa/toptree.c if (cand->level + 1 == target->level) { level 214 arch/s390/numa/toptree.c stack_target = toptree_alloc(ptr->level + 1, level 220 arch/s390/numa/toptree.c } while (stack_target->level < (target->level - 1)); level 243 arch/s390/numa/toptree.c child = toptree_alloc(cand->level-1, id); level 257 arch/s390/numa/toptree.c struct toptree *toptree_first(struct toptree *context, int level) level 261 arch/s390/numa/toptree.c if (context->level == level) level 266 arch/s390/numa/toptree.c tmp = toptree_first(child, level); level 305 arch/s390/numa/toptree.c int level) level 312 arch/s390/numa/toptree.c if (context->level == level) level 320 arch/s390/numa/toptree.c while (cur_context->level < context->level - 1) { level 327 arch/s390/numa/toptree.c tmp = toptree_first(tmp, level); level 343 arch/s390/numa/toptree.c int toptree_count(struct toptree *context, int level) level 348 arch/s390/numa/toptree.c toptree_for_each(cur, context, level) level 16 arch/s390/numa/toptree.h int level; level 24 arch/s390/numa/toptree.h struct toptree *toptree_alloc(int level, int id); level 30 arch/s390/numa/toptree.h int toptree_count(struct toptree *context, int level); level 32 arch/s390/numa/toptree.h struct toptree *toptree_first(struct toptree *context, int level); level 34 arch/s390/numa/toptree.h int level); level 59 arch/s390/numa/toptree.h toptree_for_each(ptree, start->parent, start->level) level 107 arch/sh/boards/mach-dreamcast/irq.c __u32 emr, esr, status, level; level 112 arch/sh/boards/mach-dreamcast/irq.c level = 0; level 115 arch/sh/boards/mach-dreamcast/irq.c level = 1; level 118 arch/sh/boards/mach-dreamcast/irq.c level = 2; level 123 arch/sh/boards/mach-dreamcast/irq.c emr = EMR_BASE + (level << 4) + (level << 2); level 124 arch/sh/boards/mach-dreamcast/irq.c esr = ESR_BASE + (level << 2); level 133 arch/sh/boards/mach-dreamcast/irq.c irq = HW_EVENT_IRQ_BASE + j + (level << 5); level 122 arch/sh/boards/mach-x3proto/ilsel.c int ilsel_enable_fixed(ilsel_source_t set, unsigned int level) level 124 arch/sh/boards/mach-x3proto/ilsel.c unsigned int bit = ilsel_offset(level - 1); level 43 arch/sh/include/mach-x3proto/mach/ilsel.h int ilsel_enable_fixed(ilsel_source_t set, unsigned int level); level 126 arch/sparc/include/asm/ttable.h #define TRAP_IRQ(routine, level) \ level 138 arch/sparc/include/asm/ttable.h mov level, %o0; \ level 146 arch/sparc/include/asm/ttable.h #define TRAP_IRQ(routine, level) \ level 151 arch/sparc/include/asm/ttable.h mov level, %o0; \ level 158 arch/sparc/include/asm/ttable.h #define TRAP_NMI_IRQ(routine, level) \ level 163 arch/sparc/include/asm/ttable.h mov level, %o0; \ level 101 arch/sparc/include/uapi/asm/traps.h #define BAD_TRAP_P(level) \ level 102 arch/sparc/include/uapi/asm/traps.h ((level > SP_TRAP_WDOG && level < SP_TRAP_IRQ1) || \ level 103 arch/sparc/include/uapi/asm/traps.h (level > SP_TRAP_IACC && level < SP_TRAP_CPDIS) || \ level 104 arch/sparc/include/uapi/asm/traps.h (level > SP_TRAP_BADFL && level < SP_TRAP_CPEXP) || \ level 105 arch/sparc/include/uapi/asm/traps.h (level > SP_TRAP_DMM && level < SP_TRAP_IMM) || \ level 106 arch/sparc/include/uapi/asm/traps.h (level > SP_TRAP_IMM && level < SP_TRAP_SUNOS) || \ level 107 arch/sparc/include/uapi/asm/traps.h (level > SP_TRAP_LINUX && level < SP_TRAP_KBPT1)) level 110 arch/sparc/include/uapi/asm/traps.h #define HW_TRAP_P(level) ((level > 0) && (level < SP_TRAP_SUNOS)) level 113 arch/sparc/include/uapi/asm/traps.h #define SW_TRAP_P(level) ((level >= SP_TRAP_SUNOS) && (level <= SP_TRAP_KBPT2)) level 116 arch/sparc/include/uapi/asm/traps.h #define SCALL_TRAP_P(level) ((level == SP_TRAP_SUNOS) || \ level 117 arch/sparc/include/uapi/asm/traps.h (level == SP_TRAP_SOLARIS) || \ level 118 arch/sparc/include/uapi/asm/traps.h (level == SP_TRAP_NETBSD) || \ level 119 arch/sparc/include/uapi/asm/traps.h (level == SP_TRAP_LINUX)) level 34 arch/sparc/kernel/cpumap.c int level; level 52 arch/sparc/kernel/cpumap.c struct cpuinfo_level level[CPUINFO_LVL_MAX]; level 96 arch/sparc/kernel/cpumap.c static int cpuinfo_id(int cpu, int level) level 100 arch/sparc/kernel/cpumap.c switch (level) { level 193 arch/sparc/kernel/cpumap.c int n, id, cpu, prev_cpu, last_cpu, level; level 202 arch/sparc/kernel/cpumap.c memcpy(&new_tree->level, tmp_level, sizeof(tmp_level)); level 207 arch/sparc/kernel/cpumap.c for (level = CPUINFO_LVL_PROC; level >= CPUINFO_LVL_ROOT; level--) { level 208 arch/sparc/kernel/cpumap.c n = new_tree->level[level].start_index; level 210 arch/sparc/kernel/cpumap.c level_rover[level] = n; level 213 arch/sparc/kernel/cpumap.c id = cpuinfo_id(cpu, level); level 219 arch/sparc/kernel/cpumap.c node->level = level; level 222 arch/sparc/kernel/cpumap.c node->parent_index = (level > CPUINFO_LVL_ROOT) level 223 arch/sparc/kernel/cpumap.c ? new_tree->level[level - 1].start_index : -1; level 226 arch/sparc/kernel/cpumap.c (level == CPUINFO_LVL_PROC) level 227 arch/sparc/kernel/cpumap.c ? cpu : new_tree->level[level + 1].start_index; level 229 arch/sparc/kernel/cpumap.c prev_id[level] = node->id; level 230 arch/sparc/kernel/cpumap.c num_cpus[level] = 1; level 242 arch/sparc/kernel/cpumap.c for (level = CPUINFO_LVL_PROC; level >= CPUINFO_LVL_ROOT; level 243 arch/sparc/kernel/cpumap.c level--) { level 244 arch/sparc/kernel/cpumap.c id = cpuinfo_id(cpu, level); level 250 arch/sparc/kernel/cpumap.c if ((id != prev_id[level]) || (cpu == last_cpu)) { level 251 arch/sparc/kernel/cpumap.c prev_id[level] = id; level 252 arch/sparc/kernel/cpumap.c node = &new_tree->nodes[level_rover[level]]; level 253 arch/sparc/kernel/cpumap.c node->num_cpus = num_cpus[level]; level 254 arch/sparc/kernel/cpumap.c num_cpus[level] = 1; level 260 arch/sparc/kernel/cpumap.c if (level == CPUINFO_LVL_ROOT) level 264 arch/sparc/kernel/cpumap.c level_rover[level - 1]; level 266 arch/sparc/kernel/cpumap.c if (level == CPUINFO_LVL_PROC) { level 271 arch/sparc/kernel/cpumap.c level_rover[level + 1] - 1; level 275 arch/sparc/kernel/cpumap.c n = ++level_rover[level]; level 276 arch/sparc/kernel/cpumap.c if (n <= new_tree->level[level].end_index) { level 279 arch/sparc/kernel/cpumap.c node->level = level; level 284 arch/sparc/kernel/cpumap.c (level == CPUINFO_LVL_PROC) level 285 arch/sparc/kernel/cpumap.c ? cpu : level_rover[level + 1]; level 288 arch/sparc/kernel/cpumap.c num_cpus[level]++; level 300 arch/sparc/kernel/cpumap.c int top_level, level; level 302 arch/sparc/kernel/cpumap.c top_level = t->nodes[root_index].level; level 303 arch/sparc/kernel/cpumap.c for (level = node->level; level >= top_level; level--) { level 310 arch/sparc/kernel/cpumap.c if ((level == top_level) || level 311 arch/sparc/kernel/cpumap.c !(rover_inc_table[level] & ROVER_INC_PARENT_ON_LOOP)) level 321 arch/sparc/kernel/cpumap.c int level, new_index, index = root_index; level 340 arch/sparc/kernel/cpumap.c for (level = t->nodes[root_index].level; level < CPUINFO_LVL_MAX; level 341 arch/sparc/kernel/cpumap.c level++) { level 343 arch/sparc/kernel/cpumap.c if (rover_inc_table[level] & ROVER_INC_ON_VISIT) level 305 arch/sparc/kernel/leon_smp.c static void leon_send_ipi(int cpu, int level) level 308 arch/sparc/kernel/leon_smp.c mask = leon_get_irqmask(level); level 819 arch/sparc/kernel/mdesc.c const u64 *level = mdesc_get_property(hp, mp, "level", NULL); level 827 arch/sparc/kernel/mdesc.c switch (*level) { level 847 arch/sparc/kernel/mdesc.c if (*level == 1) { level 931 arch/sparc/kernel/mdesc.c const u64 *level; level 935 arch/sparc/kernel/mdesc.c level = mdesc_get_property(hp, mp, "level", NULL); level 936 arch/sparc/kernel/mdesc.c if (*level != 1) level 948 arch/sparc/kernel/mdesc.c static int set_max_cache_ids_by_cache(struct mdesc_handle *hp, int level) level 962 arch/sparc/kernel/mdesc.c if (*cur_lvl != level) level 232 arch/sparc/kernel/sun4d_smp.c static void sun4d_send_ipi(int cpu, int level) level 234 arch/sparc/kernel/sun4d_smp.c cc_set_igen(IGEN_MESSAGE(0, cpu << 3, 6 + ((level >> 1) & 7), 1 << (level - 1))); level 139 arch/sparc/kernel/sun4m_smp.c static void sun4m_send_ipi(int cpu, int level) level 141 arch/sparc/kernel/sun4m_smp.c sbus_writel(SUN4M_SOFT_INT(level), &sun4m_irq_percpu[cpu]->set); level 112 arch/um/include/shared/init.h #define __define_initcall(level,fn) \ level 114 arch/um/include/shared/init.h __attribute__((__section__(".initcall" level ".init"))) = fn level 21 arch/x86/boot/cpu.c static char *cpu_name(int level) level 25 arch/x86/boot/cpu.c if (level == 64) { level 28 arch/x86/boot/cpu.c if (level == 15) level 29 arch/x86/boot/cpu.c level = 6; level 30 arch/x86/boot/cpu.c sprintf(buf, "i%d86", level); level 115 arch/x86/boot/cpucheck.c cpu.level = 3; level 118 arch/x86/boot/cpucheck.c cpu.level = 4; level 124 arch/x86/boot/cpucheck.c cpu.level = 64; level 162 arch/x86/boot/cpucheck.c u32 level = 1; level 167 arch/x86/boot/cpucheck.c : "+a" (level), "=d" (cpu.flags[0]) level 174 arch/x86/boot/cpucheck.c is_intel() && cpu.level == 6 && level 192 arch/x86/boot/cpucheck.c *cpu_level_ptr = cpu.level; level 196 arch/x86/boot/cpucheck.c return (cpu.level < req_level || err) ? -1 : 0; level 108 arch/x86/boot/cpuflags.c cpu.level = (tfms >> 8) & 15; level 109 arch/x86/boot/cpuflags.c cpu.family = cpu.level; level 111 arch/x86/boot/cpuflags.c if (cpu.level >= 6) level 9 arch/x86/boot/cpuflags.h int level; /* Family, or 64 for x86-64 */ level 86 arch/x86/boot/main.c if (cpu.level < 6) level 73 arch/x86/entry/vsyscall/vsyscall_64.c static void warn_bad_vsyscall(const char *level, struct pt_regs *regs, level 80 arch/x86/entry/vsyscall/vsyscall_64.c level, current->comm, task_pid_nr(current), level 310 arch/x86/include/asm/apicdef.h level : 1, level 120 arch/x86/include/asm/kvm_host.h static inline gfn_t gfn_to_index(gfn_t gfn, gfn_t base_gfn, int level) level 123 arch/x86/include/asm/kvm_host.h return (gfn >> KVM_HPAGE_GFN_SHIFT(level)) - level 124 arch/x86/include/asm/kvm_host.h (base_gfn >> KVM_HPAGE_GFN_SHIFT(level)); level 254 arch/x86/include/asm/kvm_host.h unsigned level:4; level 1001 arch/x86/include/asm/kvm_host.h bool level; level 1412 arch/x86/include/asm/kvm_host.h int irq_source_id, int level) level 1415 arch/x86/include/asm/kvm_host.h if (level) level 1427 arch/x86/include/asm/kvm_host.h int kvm_pic_set_irq(struct kvm_pic *pic, int irq, int irq_source_id, int level); level 1314 arch/x86/include/asm/pgtable.h static inline int page_level_shift(enum pg_level level) level 1316 arch/x86/include/asm/pgtable.h return (PAGE_SHIFT - PTE_SHIFT) + level * PTE_SHIFT; level 1318 arch/x86/include/asm/pgtable.h static inline unsigned long page_level_size(enum pg_level level) level 1320 arch/x86/include/asm/pgtable.h return 1UL << page_level_shift(level); level 1322 arch/x86/include/asm/pgtable.h static inline unsigned long page_level_mask(enum pg_level level) level 1324 arch/x86/include/asm/pgtable.h return ~(page_level_size(level) - 1); level 550 arch/x86/include/asm/pgtable_types.h extern void update_page_count(int level, unsigned long pages); level 552 arch/x86/include/asm/pgtable_types.h static inline void update_page_count(int level, unsigned long pages) { } level 561 arch/x86/include/asm/pgtable_types.h extern pte_t *lookup_address(unsigned long address, unsigned int *level); level 563 arch/x86/include/asm/pgtable_types.h unsigned int *level); level 726 arch/x86/kernel/cpu/amd.c u32 level; level 730 arch/x86/kernel/cpu/amd.c level = cpuid_eax(1); level 731 arch/x86/kernel/cpu/amd.c if ((level >= 0x0f48 && level < 0x0f50) || level >= 0x0f58) level 131 arch/x86/kernel/cpu/cacheinfo.c unsigned int level:3; level 287 arch/x86/kernel/cpu/cacheinfo.c eax->split.level = levels[leaf]; level 566 arch/x86/kernel/cpu/cacheinfo.c if (this_leaf->level < 3 || !nb) level 753 arch/x86/kernel/cpu/cacheinfo.c switch (this_leaf.eax.split.level) { level 975 arch/x86/kernel/cpu/cacheinfo.c this_leaf->level = base->eax.split.level; level 498 arch/x86/kernel/cpu/common.c u32 level; level 524 arch/x86/kernel/cpu/common.c if (!((s32)df->level < 0 ? level 525 arch/x86/kernel/cpu/common.c (u32)df->level > (u32)c->extended_cpuid_level : level 526 arch/x86/kernel/cpu/common.c (s32)df->level > (s32)c->cpuid_level)) level 534 arch/x86/kernel/cpu/common.c x86_cap_flag(df->feature), df->level); level 149 arch/x86/kernel/cpu/mce/therm_throt.c static void therm_throt_process(bool new_event, int event, int level) level 158 arch/x86/kernel/cpu/mce/therm_throt.c if (level == CORE_LEVEL) { level 165 arch/x86/kernel/cpu/mce/therm_throt.c } else if (level == PACKAGE_LEVEL) { level 193 arch/x86/kernel/cpu/mce/therm_throt.c level == CORE_LEVEL ? "Core" : "Package", level 200 arch/x86/kernel/cpu/mce/therm_throt.c level == CORE_LEVEL ? "Core" : "Package"); level 205 arch/x86/kernel/cpu/mce/therm_throt.c static int thresh_event_valid(int level, int event) level 212 arch/x86/kernel/cpu/mce/therm_throt.c if (level == PACKAGE_LEVEL) level 319 arch/x86/kernel/cpu/resctrl/core.c static void rdt_get_cdp_config(int level, int type) level 321 arch/x86/kernel/cpu/resctrl/core.c struct rdt_resource *r_l = &rdt_resources_all[level]; level 349 arch/x86/kernel/cpu/resctrl/core.c static int get_cache_id(int cpu, int level) level 355 arch/x86/kernel/cpu/resctrl/core.c if (ci->info_list[i].level == level) level 296 arch/x86/kernel/cpu/resctrl/pseudo_lock.c if (ci->info_list[i].level == plr->r->cache_level) { level 1268 arch/x86/kernel/cpu/resctrl/rdtgroup.c if (ci->info_list[i].level == r->cache_level) { level 1736 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int set_cache_qos_cfg(int level, bool enable) level 1744 arch/x86/kernel/cpu/resctrl/rdtgroup.c if (level == RDT_RESOURCE_L3) level 1746 arch/x86/kernel/cpu/resctrl/rdtgroup.c else if (level == RDT_RESOURCE_L2) level 1754 arch/x86/kernel/cpu/resctrl/rdtgroup.c r_l = &rdt_resources_all[level]; level 1807 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int cdp_enable(int level, int data_type, int code_type) level 1811 arch/x86/kernel/cpu/resctrl/rdtgroup.c struct rdt_resource *r_l = &rdt_resources_all[level]; level 1818 arch/x86/kernel/cpu/resctrl/rdtgroup.c ret = set_cache_qos_cfg(level, true); level 1839 arch/x86/kernel/cpu/resctrl/rdtgroup.c static void cdp_disable(int level, int data_type, int code_type) level 1841 arch/x86/kernel/cpu/resctrl/rdtgroup.c struct rdt_resource *r = &rdt_resources_all[level]; level 1848 arch/x86/kernel/cpu/resctrl/rdtgroup.c set_cache_qos_cfg(level, false); level 17 arch/x86/kernel/cpu/scattered.c u32 level; level 56 arch/x86/kernel/cpu/scattered.c max_level = cpuid_eax(cb->level & 0xffff0000); level 57 arch/x86/kernel/cpu/scattered.c if (max_level < cb->level || level 58 arch/x86/kernel/cpu/scattered.c max_level > (cb->level | 0xffff)) level 61 arch/x86/kernel/cpu/scattered.c cpuid_count(cb->level, cb->sub_leaf, ®s[CPUID_EAX], level 116 arch/x86/kernel/ioport.c SYSCALL_DEFINE1(iopl, unsigned int, level) level 127 arch/x86/kernel/ioport.c if (level > 3) level 130 arch/x86/kernel/ioport.c if (level > old) { level 136 arch/x86/kernel/ioport.c (level << X86_EFLAGS_IOPL_BIT); level 137 arch/x86/kernel/ioport.c t->iopl = level << X86_EFLAGS_IOPL_BIT; level 321 arch/x86/kvm/hyperv.c irq.level = 1; level 40 arch/x86/kvm/i8259.c static void pic_irq_request(struct kvm *kvm, int level); level 89 arch/x86/kvm/i8259.c static inline int pic_set_irq1(struct kvm_kpic_state *s, int irq, int level) level 94 arch/x86/kvm/i8259.c if (level) { level 103 arch/x86/kvm/i8259.c if (level) { level 186 arch/x86/kvm/i8259.c int kvm_pic_set_irq(struct kvm_pic *s, int irq, int irq_source_id, int level) level 194 arch/x86/kvm/i8259.c irq_source_id, level); level 561 arch/x86/kvm/i8259.c static void pic_irq_request(struct kvm *kvm, int level) level 567 arch/x86/kvm/i8259.c s->output = level; level 348 arch/x86/kvm/ioapic.c irqe.level = 1; level 376 arch/x86/kvm/ioapic.c int level, bool line_status) level 384 arch/x86/kvm/ioapic.c irq_source_id, level); level 127 arch/x86/kvm/ioapic.h int level, bool line_status); level 31 arch/x86/kvm/irq_comm.c struct kvm *kvm, int irq_source_id, int level, level 35 arch/x86/kvm/irq_comm.c return kvm_pic_set_irq(pic, e->irqchip.pin, irq_source_id, level); level 39 arch/x86/kvm/irq_comm.c struct kvm *kvm, int irq_source_id, int level, level 43 arch/x86/kvm/irq_comm.c return kvm_ioapic_set_irq(ioapic, e->irqchip.pin, irq_source_id, level, level 122 arch/x86/kvm/irq_comm.c irq->level = 1; level 134 arch/x86/kvm/irq_comm.c struct kvm *kvm, int irq_source_id, int level, bool line_status) level 141 arch/x86/kvm/irq_comm.c if (!level) level 151 arch/x86/kvm/irq_comm.c struct kvm *kvm, int irq_source_id, int level, level 154 arch/x86/kvm/irq_comm.c if (!level) level 161 arch/x86/kvm/irq_comm.c struct kvm *kvm, int irq_source_id, int level, level 169 arch/x86/kvm/irq_comm.c return kvm_hv_set_sint(e, kvm, irq_source_id, level, level 548 arch/x86/kvm/lapic.c int vector, int level, int trig_mode, level 557 arch/x86/kvm/lapic.c irq->level, irq->trig_mode, dest_map); level 573 arch/x86/kvm/lapic.c irq.level = (icr & APIC_INT_ASSERT) != 0; level 1025 arch/x86/kvm/lapic.c int vector, int level, int trig_mode, level 1038 arch/x86/kvm/lapic.c if (unlikely(trig_mode && !level)) level 1088 arch/x86/kvm/lapic.c if (!trig_mode || level) { level 1205 arch/x86/kvm/lapic.c irq.level = (icr_low & APIC_INT_ASSERT) != 0; level 130 arch/x86/kvm/mmu.c #define PT64_LEVEL_SHIFT(level) \ level 131 arch/x86/kvm/mmu.c (PAGE_SHIFT + (level - 1) * PT64_LEVEL_BITS) level 133 arch/x86/kvm/mmu.c #define PT64_INDEX(address, level)\ level 134 arch/x86/kvm/mmu.c (((address) >> PT64_LEVEL_SHIFT(level)) & ((1 << PT64_LEVEL_BITS) - 1)) level 139 arch/x86/kvm/mmu.c #define PT32_LEVEL_SHIFT(level) \ level 140 arch/x86/kvm/mmu.c (PAGE_SHIFT + (level - 1) * PT32_LEVEL_BITS) level 142 arch/x86/kvm/mmu.c #define PT32_LVL_OFFSET_MASK(level) \ level 143 arch/x86/kvm/mmu.c (PT32_BASE_ADDR_MASK & ((1ULL << (PAGE_SHIFT + (((level) - 1) \ level 146 arch/x86/kvm/mmu.c #define PT32_INDEX(address, level)\ level 147 arch/x86/kvm/mmu.c (((address) >> PT32_LEVEL_SHIFT(level)) & ((1 << PT32_LEVEL_BITS) - 1)) level 155 arch/x86/kvm/mmu.c #define PT64_LVL_ADDR_MASK(level) \ level 156 arch/x86/kvm/mmu.c (PT64_BASE_ADDR_MASK & ~((1ULL << (PAGE_SHIFT + (((level) - 1) \ level 158 arch/x86/kvm/mmu.c #define PT64_LVL_OFFSET_MASK(level) \ level 159 arch/x86/kvm/mmu.c (PT64_BASE_ADDR_MASK & ((1ULL << (PAGE_SHIFT + (((level) - 1) \ level 165 arch/x86/kvm/mmu.c #define PT32_LVL_ADDR_MASK(level) \ level 166 arch/x86/kvm/mmu.c (PAGE_MASK & ~((1ULL << (PAGE_SHIFT + (((level) - 1) \ level 186 arch/x86/kvm/mmu.c #define SHADOW_PT_INDEX(addr, level) PT64_INDEX(addr, level) level 214 arch/x86/kvm/mmu.c int level; level 619 arch/x86/kvm/mmu.c static int is_last_spte(u64 pte, int level) level 621 arch/x86/kvm/mmu.c if (level == PT_PAGE_TABLE_LEVEL) level 1160 arch/x86/kvm/mmu.c return sp->gfn + (index << ((sp->role.level - 1) * PT64_LEVEL_BITS)); level 1183 arch/x86/kvm/mmu.c int level) level 1187 arch/x86/kvm/mmu.c idx = gfn_to_index(gfn, slot->base_gfn, level); level 1188 arch/x86/kvm/mmu.c return &slot->arch.lpage_info[level - 2][idx]; level 1226 arch/x86/kvm/mmu.c if (sp->role.level > PT_PAGE_TABLE_LEVEL) level 1254 arch/x86/kvm/mmu.c if (sp->role.level > PT_PAGE_TABLE_LEVEL) level 1268 arch/x86/kvm/mmu.c static bool __mmu_gfn_lpage_is_disallowed(gfn_t gfn, int level, level 1274 arch/x86/kvm/mmu.c linfo = lpage_info_slot(gfn, slot, level); level 1282 arch/x86/kvm/mmu.c int level) level 1287 arch/x86/kvm/mmu.c return __mmu_gfn_lpage_is_disallowed(gfn, level, slot); level 1334 arch/x86/kvm/mmu.c int host_level, level, max_level; level 1352 arch/x86/kvm/mmu.c for (level = PT_DIRECTORY_LEVEL; level <= max_level; ++level) level 1353 arch/x86/kvm/mmu.c if (__mmu_gfn_lpage_is_disallowed(large_gfn, level, slot)) level 1356 arch/x86/kvm/mmu.c return level - 1; level 1469 arch/x86/kvm/mmu.c static struct kvm_rmap_head *__gfn_to_rmap(gfn_t gfn, int level, level 1474 arch/x86/kvm/mmu.c idx = gfn_to_index(gfn, slot->base_gfn, level); level 1475 arch/x86/kvm/mmu.c return &slot->arch.rmap[level - PT_PAGE_TABLE_LEVEL][idx]; level 1486 arch/x86/kvm/mmu.c return __gfn_to_rmap(gfn, sp->role.level, slot); level 1606 arch/x86/kvm/mmu.c WARN_ON(page_header(__pa(sptep))->role.level == level 1622 arch/x86/kvm/mmu.c KVM_PAGES_PER_HPAGE(sp->role.level)); level 1870 arch/x86/kvm/mmu.c struct kvm_memory_slot *slot, gfn_t gfn, int level, level 1877 arch/x86/kvm/mmu.c struct kvm_memory_slot *slot, gfn_t gfn, int level, level 1893 arch/x86/kvm/mmu.c sptep, *sptep, gfn, level); level 1933 arch/x86/kvm/mmu.c int level; level 1940 arch/x86/kvm/mmu.c rmap_walk_init_level(struct slot_rmap_walk_iterator *iterator, int level) level 1942 arch/x86/kvm/mmu.c iterator->level = level; level 1944 arch/x86/kvm/mmu.c iterator->rmap = __gfn_to_rmap(iterator->gfn, level, iterator->slot); level 1945 arch/x86/kvm/mmu.c iterator->end_rmap = __gfn_to_rmap(iterator->end_gfn, level, level 1971 arch/x86/kvm/mmu.c iterator->gfn += (1UL << KVM_HPAGE_GFN_SHIFT(iterator->level)); level 1975 arch/x86/kvm/mmu.c if (++iterator->level > iterator->end_level) { level 1980 arch/x86/kvm/mmu.c rmap_walk_init_level(iterator, iterator->level); level 1998 arch/x86/kvm/mmu.c int level, level 2030 arch/x86/kvm/mmu.c iterator.gfn, iterator.level, data); level 2042 arch/x86/kvm/mmu.c gfn_t gfn, int level, level 2059 arch/x86/kvm/mmu.c struct kvm_memory_slot *slot, gfn_t gfn, int level, level 2069 arch/x86/kvm/mmu.c trace_kvm_age_page(gfn, level, slot, young); level 2075 arch/x86/kvm/mmu.c int level, unsigned long data) level 2097 arch/x86/kvm/mmu.c kvm_unmap_rmapp(vcpu->kvm, rmap_head, NULL, gfn, sp->role.level, 0); level 2099 arch/x86/kvm/mmu.c KVM_PAGES_PER_HPAGE(sp->role.level)); level 2424 arch/x86/kvm/mmu.c WARN_ON(s->role.level != PT_PAGE_TABLE_LEVEL); level 2450 arch/x86/kvm/mmu.c int level = sp->role.level; level 2452 arch/x86/kvm/mmu.c parents->idx[level-1] = idx; level 2453 arch/x86/kvm/mmu.c if (level == PT_PAGE_TABLE_LEVEL) level 2456 arch/x86/kvm/mmu.c parents->parent[level-2] = sp; level 2466 arch/x86/kvm/mmu.c int level; level 2474 arch/x86/kvm/mmu.c level = sp->role.level; level 2475 arch/x86/kvm/mmu.c WARN_ON(level == PT_PAGE_TABLE_LEVEL); level 2477 arch/x86/kvm/mmu.c parents->parent[level-2] = sp; level 2482 arch/x86/kvm/mmu.c parents->parent[level-1] = NULL; level 2489 arch/x86/kvm/mmu.c unsigned int level = 0; level 2492 arch/x86/kvm/mmu.c unsigned int idx = parents->idx[level]; level 2493 arch/x86/kvm/mmu.c sp = parents->parent[level]; level 2499 arch/x86/kvm/mmu.c level++; level 2553 arch/x86/kvm/mmu.c unsigned level, level 2566 arch/x86/kvm/mmu.c role.level = level; level 2573 arch/x86/kvm/mmu.c quadrant = gaddr >> (PAGE_SHIFT + (PT64_PT_BITS * level)); level 2574 arch/x86/kvm/mmu.c quadrant &= (1 << ((PT32_PT_BITS - PT64_PT_BITS) * level)) - 1; level 2623 arch/x86/kvm/mmu.c if (level == PT_PAGE_TABLE_LEVEL && level 2627 arch/x86/kvm/mmu.c if (level > PT_PAGE_TABLE_LEVEL && need_sync) level 2646 arch/x86/kvm/mmu.c iterator->level = vcpu->arch.mmu->shadow_root_level; level 2648 arch/x86/kvm/mmu.c if (iterator->level == PT64_ROOT_4LEVEL && level 2651 arch/x86/kvm/mmu.c --iterator->level; level 2653 arch/x86/kvm/mmu.c if (iterator->level == PT32E_ROOT_LEVEL) { level 2663 arch/x86/kvm/mmu.c --iterator->level; level 2665 arch/x86/kvm/mmu.c iterator->level = 0; level 2678 arch/x86/kvm/mmu.c if (iterator->level < PT_PAGE_TABLE_LEVEL) level 2681 arch/x86/kvm/mmu.c iterator->index = SHADOW_PT_INDEX(iterator->addr, iterator->level); level 2689 arch/x86/kvm/mmu.c if (is_last_spte(spte, iterator->level)) { level 2690 arch/x86/kvm/mmu.c iterator->level = 0; level 2695 arch/x86/kvm/mmu.c --iterator->level; level 2756 arch/x86/kvm/mmu.c if (is_last_spte(pte, sp->role.level)) { level 2799 arch/x86/kvm/mmu.c if (parent->role.level == PT_PAGE_TABLE_LEVEL) level 2978 arch/x86/kvm/mmu.c WARN_ON(sp->role.level != PT_PAGE_TABLE_LEVEL); level 3050 arch/x86/kvm/mmu.c unsigned pte_access, int level, level 3077 arch/x86/kvm/mmu.c if (level > PT_PAGE_TABLE_LEVEL && (pte_access & ACC_EXEC_MASK) && level 3090 arch/x86/kvm/mmu.c if (level > PT_PAGE_TABLE_LEVEL) level 3114 arch/x86/kvm/mmu.c if (level > PT_PAGE_TABLE_LEVEL && level 3115 arch/x86/kvm/mmu.c mmu_gfn_lpage_is_disallowed(vcpu, gfn, level)) level 3154 arch/x86/kvm/mmu.c int write_fault, int level, gfn_t gfn, kvm_pfn_t pfn, level 3171 arch/x86/kvm/mmu.c if (level > PT_PAGE_TABLE_LEVEL && level 3188 arch/x86/kvm/mmu.c set_spte_ret = set_spte(vcpu, sptep, pte_access, level, gfn, pfn, level 3198 arch/x86/kvm/mmu.c KVM_PAGES_PER_HPAGE(level)); level 3204 arch/x86/kvm/mmu.c trace_kvm_mmu_set_spte(level, gfn, sptep); level 3251 arch/x86/kvm/mmu.c mmu_set_spte(vcpu, start, access, 0, sp->role.level, gfn, level 3296 arch/x86/kvm/mmu.c if (sp->role.level > PT_PAGE_TABLE_LEVEL) level 3305 arch/x86/kvm/mmu.c int level = *levelp; level 3308 arch/x86/kvm/mmu.c if (it.level == level && level > PT_PAGE_TABLE_LEVEL && level 3319 arch/x86/kvm/mmu.c u64 page_mask = KVM_PAGES_PER_HPAGE(level) - KVM_PAGES_PER_HPAGE(level - 1); level 3326 arch/x86/kvm/mmu.c int map_writable, int level, kvm_pfn_t pfn, level 3338 arch/x86/kvm/mmu.c trace_kvm_mmu_spte_requested(gpa, level, pfn); level 3344 arch/x86/kvm/mmu.c disallowed_hugepage_adjust(it, gfn, &pfn, &level); level 3346 arch/x86/kvm/mmu.c base_gfn = gfn & ~(KVM_PAGES_PER_HPAGE(it.level) - 1); level 3347 arch/x86/kvm/mmu.c if (it.level == level) level 3353 arch/x86/kvm/mmu.c it.level - 1, true, ACC_ALL); level 3362 arch/x86/kvm/mmu.c write, level, base_gfn, pfn, prefault, level 3397 arch/x86/kvm/mmu.c int level = *levelp; level 3406 arch/x86/kvm/mmu.c !kvm_is_zone_device_pfn(pfn) && level == PT_PAGE_TABLE_LEVEL && level 3419 arch/x86/kvm/mmu.c *levelp = level = PT_DIRECTORY_LEVEL; level 3420 arch/x86/kvm/mmu.c mask = KVM_PAGES_PER_HPAGE(level) - 1; level 3536 arch/x86/kvm/mmu.c static bool fast_page_fault(struct kvm_vcpu *vcpu, gpa_t cr2_or_gpa, int level, level 3558 arch/x86/kvm/mmu.c iterator.level < level) level 3562 arch/x86/kvm/mmu.c if (!is_last_spte(spte, sp->role.level)) level 3606 arch/x86/kvm/mmu.c if (sp->role.level > PT_PAGE_TABLE_LEVEL) level 3650 arch/x86/kvm/mmu.c int level; level 3659 arch/x86/kvm/mmu.c level = mapping_level(vcpu, gfn, &force_pt_level); level 3666 arch/x86/kvm/mmu.c if (level > PT_DIRECTORY_LEVEL) level 3667 arch/x86/kvm/mmu.c level = PT_DIRECTORY_LEVEL; level 3669 arch/x86/kvm/mmu.c gfn &= ~(KVM_PAGES_PER_HPAGE(level) - 1); level 3672 arch/x86/kvm/mmu.c if (fast_page_fault(vcpu, gpa, level, error_code)) level 3691 arch/x86/kvm/mmu.c transparent_hugepage_adjust(vcpu, gfn, &pfn, &level); level 3692 arch/x86/kvm/mmu.c r = __direct_map(vcpu, gpa, write, map_writable, level, pfn, level 4008 arch/x86/kvm/mmu.c __is_rsvd_bits_set(struct rsvd_bits_validate *rsvd_check, u64 pte, int level) level 4012 arch/x86/kvm/mmu.c return (pte & rsvd_check->rsvd_bits_mask[bit7][level-1]) | level 4016 arch/x86/kvm/mmu.c static bool is_rsvd_bits_set(struct kvm_mmu *mmu, u64 gpte, int level) level 4018 arch/x86/kvm/mmu.c return __is_rsvd_bits_set(&mmu->guest_rsvd_check, gpte, level); level 4021 arch/x86/kvm/mmu.c static bool is_shadow_zero_bits_set(struct kvm_mmu *mmu, u64 spte, int level) level 4023 arch/x86/kvm/mmu.c return __is_rsvd_bits_set(&mmu->shadow_zero_check, spte, level); level 4056 arch/x86/kvm/mmu.c leaf = root = iterator.level; level 4068 arch/x86/kvm/mmu.c iterator.level); level 4269 arch/x86/kvm/mmu.c check_hugepage_cache_consistency(struct kvm_vcpu *vcpu, gfn_t gfn, int level) level 4271 arch/x86/kvm/mmu.c int page_num = KVM_PAGES_PER_HPAGE(level); level 4283 arch/x86/kvm/mmu.c int level; level 4304 arch/x86/kvm/mmu.c level = mapping_level(vcpu, gfn, &force_pt_level); level 4306 arch/x86/kvm/mmu.c if (level > PT_DIRECTORY_LEVEL && level 4307 arch/x86/kvm/mmu.c !check_hugepage_cache_consistency(vcpu, gfn, level)) level 4308 arch/x86/kvm/mmu.c level = PT_DIRECTORY_LEVEL; level 4309 arch/x86/kvm/mmu.c gfn &= ~(KVM_PAGES_PER_HPAGE(level) - 1); level 4312 arch/x86/kvm/mmu.c if (fast_page_fault(vcpu, gpa, level, error_code)) level 4331 arch/x86/kvm/mmu.c transparent_hugepage_adjust(vcpu, gfn, &pfn, &level); level 4332 arch/x86/kvm/mmu.c r = __direct_map(vcpu, gpa, write, map_writable, level, pfn, level 4481 arch/x86/kvm/mmu.c unsigned level, unsigned gpte) level 4488 arch/x86/kvm/mmu.c gpte &= level - mmu->last_nonleaf_level; level 4495 arch/x86/kvm/mmu.c gpte |= level - PT_PAGE_TABLE_LEVEL - 1; level 4516 arch/x86/kvm/mmu.c int maxphyaddr, int level, bool nx, bool gbpages, level 4537 arch/x86/kvm/mmu.c switch (level) { level 4911 arch/x86/kvm/mmu.c int level) level 4914 arch/x86/kvm/mmu.c context->root_level = level; level 4927 arch/x86/kvm/mmu.c context->shadow_root_level = level; level 5009 arch/x86/kvm/mmu.c role.base.level = kvm_x86_ops->get_tdp_level(vcpu); level 5079 arch/x86/kvm/mmu.c role.base.level = PT32E_ROOT_LEVEL; level 5081 arch/x86/kvm/mmu.c role.base.level = PT64_ROOT_5LEVEL; level 5083 arch/x86/kvm/mmu.c role.base.level = PT64_ROOT_4LEVEL; level 5121 arch/x86/kvm/mmu.c role.base.level = PT64_ROOT_4LEVEL; level 5307 arch/x86/kvm/mmu.c if (sp->role.level != PT_PAGE_TABLE_LEVEL) { level 5365 arch/x86/kvm/mmu.c if (sp->role.level == PT_PAGE_TABLE_LEVEL) level 5404 arch/x86/kvm/mmu.c int level; level 5407 arch/x86/kvm/mmu.c level = sp->role.level; level 5416 arch/x86/kvm/mmu.c if (level == PT32_ROOT_LEVEL) { level 6040 arch/x86/kvm/mmu.c KVM_PAGES_PER_HPAGE(sp->role.level)); level 32 arch/x86/kvm/mmu_audit.c typedef void (*inspect_spte_fn) (struct kvm_vcpu *vcpu, u64 *sptep, int level); level 35 arch/x86/kvm/mmu_audit.c inspect_spte_fn fn, int level) level 42 arch/x86/kvm/mmu_audit.c fn(vcpu, ent + i, level); level 45 arch/x86/kvm/mmu_audit.c !is_last_spte(ent[i], level)) { level 49 arch/x86/kvm/mmu_audit.c __mmu_spte_walk(vcpu, child, fn, level - 1); level 93 arch/x86/kvm/mmu_audit.c static void audit_mappings(struct kvm_vcpu *vcpu, u64 *sptep, int level) level 103 arch/x86/kvm/mmu_audit.c if (level != PT_PAGE_TABLE_LEVEL) { level 105 arch/x86/kvm/mmu_audit.c "level = %d\n", sp, level); level 110 arch/x86/kvm/mmu_audit.c if (!is_shadow_present_pte(*sptep) || !is_last_spte(*sptep, level)) level 150 arch/x86/kvm/mmu_audit.c rmap_head = __gfn_to_rmap(gfn, rev_sp->role.level, slot); level 160 arch/x86/kvm/mmu_audit.c static void audit_sptes_have_rmaps(struct kvm_vcpu *vcpu, u64 *sptep, int level) level 162 arch/x86/kvm/mmu_audit.c if (is_shadow_present_pte(*sptep) && is_last_spte(*sptep, level)) level 166 arch/x86/kvm/mmu_audit.c static void audit_spte_after_sync(struct kvm_vcpu *vcpu, u64 *sptep, int level) level 179 arch/x86/kvm/mmu_audit.c if (sp->role.level != PT_PAGE_TABLE_LEVEL) level 224 arch/x86/kvm/mmu_audit.c static void audit_spte(struct kvm_vcpu *vcpu, u64 *sptep, int level) level 226 arch/x86/kvm/mmu_audit.c audit_sptes_have_rmaps(vcpu, sptep, level); level 227 arch/x86/kvm/mmu_audit.c audit_mappings(vcpu, sptep, level); level 228 arch/x86/kvm/mmu_audit.c audit_spte_after_sync(vcpu, sptep, level); level 37 arch/x86/kvm/mmutrace.h __entry->gfn, role.level, \ level 83 arch/x86/kvm/mmutrace.h TP_PROTO(u64 pte, int level), level 84 arch/x86/kvm/mmutrace.h TP_ARGS(pte, level), level 88 arch/x86/kvm/mmutrace.h __field(__u32, level) level 93 arch/x86/kvm/mmutrace.h __entry->level = level; level 96 arch/x86/kvm/mmutrace.h TP_printk("pte %llx level %u", __entry->pte, __entry->level) level 331 arch/x86/kvm/mmutrace.h TP_PROTO(int level, gfn_t gfn, u64 *sptep), level 332 arch/x86/kvm/mmutrace.h TP_ARGS(level, gfn, sptep), level 338 arch/x86/kvm/mmutrace.h __field(u8, level) level 349 arch/x86/kvm/mmutrace.h __entry->level = level; level 361 arch/x86/kvm/mmutrace.h __entry->level, __entry->sptep level 367 arch/x86/kvm/mmutrace.h TP_PROTO(gpa_t addr, int level, kvm_pfn_t pfn), level 368 arch/x86/kvm/mmutrace.h TP_ARGS(addr, level, pfn), level 373 arch/x86/kvm/mmutrace.h __field(u8, level) level 378 arch/x86/kvm/mmutrace.h __entry->pfn = pfn | (__entry->gfn & (KVM_PAGES_PER_HPAGE(level) - 1)); level 379 arch/x86/kvm/mmutrace.h __entry->level = level; level 383 arch/x86/kvm/mmutrace.h __entry->gfn, __entry->pfn, __entry->level level 30 arch/x86/kvm/paging_tmpl.h #define PT_INDEX(addr, level) PT64_INDEX(addr, level) level 49 arch/x86/kvm/paging_tmpl.h #define PT_INDEX(addr, level) PT32_INDEX(addr, level) level 63 arch/x86/kvm/paging_tmpl.h #define PT_INDEX(addr, level) PT64_INDEX(addr, level) level 85 arch/x86/kvm/paging_tmpl.h int level; level 225 arch/x86/kvm/paging_tmpl.h unsigned level, index; level 235 arch/x86/kvm/paging_tmpl.h for (level = walker->max_level; level >= walker->level; --level) { level 236 arch/x86/kvm/paging_tmpl.h pte = orig_pte = walker->ptes[level - 1]; level 237 arch/x86/kvm/paging_tmpl.h table_gfn = walker->table_gfn[level - 1]; level 238 arch/x86/kvm/paging_tmpl.h ptep_user = walker->ptep_user[level - 1]; level 244 arch/x86/kvm/paging_tmpl.h if (level == walker->level && write_fault && level 269 arch/x86/kvm/paging_tmpl.h if (unlikely(!walker->pte_writable[level - 1])) level 277 arch/x86/kvm/paging_tmpl.h walker->ptes[level - 1] = pte; level 320 arch/x86/kvm/paging_tmpl.h walker->level = mmu->root_level; level 326 arch/x86/kvm/paging_tmpl.h if (walker->level == PT32E_ROOT_LEVEL) { level 328 arch/x86/kvm/paging_tmpl.h trace_kvm_mmu_paging_element(pte, walker->level); level 331 arch/x86/kvm/paging_tmpl.h --walker->level; level 334 arch/x86/kvm/paging_tmpl.h walker->max_level = walker->level; level 345 arch/x86/kvm/paging_tmpl.h ++walker->level; level 352 arch/x86/kvm/paging_tmpl.h --walker->level; level 354 arch/x86/kvm/paging_tmpl.h index = PT_INDEX(addr, walker->level); level 359 arch/x86/kvm/paging_tmpl.h BUG_ON(walker->level < 1); level 360 arch/x86/kvm/paging_tmpl.h walker->table_gfn[walker->level - 1] = table_gfn; level 361 arch/x86/kvm/paging_tmpl.h walker->pte_gpa[walker->level - 1] = pte_gpa; level 383 arch/x86/kvm/paging_tmpl.h &walker->pte_writable[walker->level - 1]); level 390 arch/x86/kvm/paging_tmpl.h walker->ptep_user[walker->level - 1] = ptep_user; level 392 arch/x86/kvm/paging_tmpl.h trace_kvm_mmu_paging_element(pte, walker->level); level 403 arch/x86/kvm/paging_tmpl.h if (unlikely(is_rsvd_bits_set(mmu, pte, walker->level))) { level 408 arch/x86/kvm/paging_tmpl.h walker->ptes[walker->level - 1] = pte; level 409 arch/x86/kvm/paging_tmpl.h } while (!is_last_gpte(mmu, walker->level, pte)); level 421 arch/x86/kvm/paging_tmpl.h gfn = gpte_to_gfn_lvl(pte, walker->level); level 422 arch/x86/kvm/paging_tmpl.h gfn += (addr & PT_LVL_OFFSET_MASK(walker->level)) >> PAGE_SHIFT; level 424 arch/x86/kvm/paging_tmpl.h if (PTTYPE == 32 && walker->level == PT_DIRECTORY_LEVEL && is_cpuid_PSE36()) level 556 arch/x86/kvm/paging_tmpl.h struct guest_walker *gw, int level) level 559 arch/x86/kvm/paging_tmpl.h gpa_t base_gpa, pte_gpa = gw->pte_gpa[level - 1]; level 563 arch/x86/kvm/paging_tmpl.h if (level == PT_PAGE_TABLE_LEVEL) { level 575 arch/x86/kvm/paging_tmpl.h return r || curr_pte != gw->ptes[level - 1]; level 588 arch/x86/kvm/paging_tmpl.h if (sp->role.level > PT_PAGE_TABLE_LEVEL) level 644 arch/x86/kvm/paging_tmpl.h shadow_walk_okay(&it) && it.level > gw->level; level 653 arch/x86/kvm/paging_tmpl.h table_gfn = gw->table_gfn[it.level - 2]; level 654 arch/x86/kvm/paging_tmpl.h sp = kvm_mmu_get_page(vcpu, table_gfn, addr, it.level-1, level 662 arch/x86/kvm/paging_tmpl.h if (FNAME(gpte_changed)(vcpu, gw, it.level - 1)) level 673 arch/x86/kvm/paging_tmpl.h gfn = gw->gfn | ((addr & PT_LVL_OFFSET_MASK(gw->level)) >> PAGE_SHIFT); level 676 arch/x86/kvm/paging_tmpl.h trace_kvm_mmu_spte_requested(addr, gw->level, pfn); level 687 arch/x86/kvm/paging_tmpl.h base_gfn = gfn & ~(KVM_PAGES_PER_HPAGE(it.level) - 1); level 688 arch/x86/kvm/paging_tmpl.h if (it.level == hlevel) level 697 arch/x86/kvm/paging_tmpl.h it.level - 1, true, direct_access); level 705 arch/x86/kvm/paging_tmpl.h it.level, base_gfn, pfn, prefault, map_writable); level 736 arch/x86/kvm/paging_tmpl.h int level; level 737 arch/x86/kvm/paging_tmpl.h gfn_t mask = ~(KVM_PAGES_PER_HPAGE(walker->level) - 1); level 744 arch/x86/kvm/paging_tmpl.h for (level = walker->level; level <= walker->max_level; level++) { level 745 arch/x86/kvm/paging_tmpl.h gfn_t gfn = walker->gfn ^ walker->table_gfn[level - 1]; level 776 arch/x86/kvm/paging_tmpl.h int level = PT_PAGE_TABLE_LEVEL; level 821 arch/x86/kvm/paging_tmpl.h if (walker.level >= PT_DIRECTORY_LEVEL && !is_self_change_mapping) { level 822 arch/x86/kvm/paging_tmpl.h level = mapping_level(vcpu, walker.gfn, &force_pt_level); level 824 arch/x86/kvm/paging_tmpl.h level = min(walker.level, level); level 825 arch/x86/kvm/paging_tmpl.h walker.gfn = walker.gfn & ~(KVM_PAGES_PER_HPAGE(level) - 1); level 869 arch/x86/kvm/paging_tmpl.h transparent_hugepage_adjust(vcpu, walker.gfn, &pfn, &level); level 871 arch/x86/kvm/paging_tmpl.h level, pfn, map_writable, prefault, lpage_disallowed); level 884 arch/x86/kvm/paging_tmpl.h WARN_ON(sp->role.level != PT_PAGE_TABLE_LEVEL); level 896 arch/x86/kvm/paging_tmpl.h int level; level 914 arch/x86/kvm/paging_tmpl.h level = iterator.level; level 918 arch/x86/kvm/paging_tmpl.h if (is_last_spte(*sptep, level)) { level 930 arch/x86/kvm/paging_tmpl.h sp->gfn, KVM_PAGES_PER_HPAGE(sp->role.level)); level 4807 arch/x86/kvm/x86.c irq_event->irq, irq_event->level, level 7412 arch/x86/kvm/x86.c lapic_irq.level = 0; level 9754 arch/x86/kvm/x86.c int level = i + 1; level 9757 arch/x86/kvm/x86.c slot->base_gfn, level) + 1; level 9773 arch/x86/kvm/x86.c if (slot->base_gfn & (KVM_PAGES_PER_HPAGE(level) - 1)) level 9775 arch/x86/kvm/x86.c if ((slot->base_gfn + npages) & (KVM_PAGES_PER_HPAGE(level) - 1)) level 9783 arch/x86/kvm/x86.c if ((slot->base_gfn ^ ugfn) & (KVM_PAGES_PER_HPAGE(level) - 1) || level 29 arch/x86/mm/dump_pagetables.c int level; level 177 arch/x86/mm/dump_pagetables.c static void printk_prot(struct seq_file *m, pgprot_t prot, int level, bool dmsg) level 205 arch/x86/mm/dump_pagetables.c if (level <= 4 && pr & _PAGE_PSE) level 209 arch/x86/mm/dump_pagetables.c if ((level == 5 && pr & _PAGE_PAT) || level 210 arch/x86/mm/dump_pagetables.c ((level == 4 || level == 3) && pr & _PAGE_PAT_LARGE)) level 223 arch/x86/mm/dump_pagetables.c pt_dump_cont_printf(m, dmsg, "%s\n", level_name[level]); level 269 arch/x86/mm/dump_pagetables.c pgprot_t new_prot, pgprotval_t new_eff, int level) level 283 arch/x86/mm/dump_pagetables.c if (!st->level) { level 287 arch/x86/mm/dump_pagetables.c st->level = level; level 292 arch/x86/mm/dump_pagetables.c } else if (prot != cur || new_eff != eff || level != st->level || level 318 arch/x86/mm/dump_pagetables.c printk_prot(m, st->current_prot, st->level, level 347 arch/x86/mm/dump_pagetables.c st->level = level; level 614 arch/x86/mm/fault.c unsigned int level; level 621 arch/x86/mm/fault.c pte = lookup_address_in_pgd(pgd, address, &level); level 156 arch/x86/mm/kmmio.c unsigned int level; level 157 arch/x86/mm/kmmio.c pte_t *pte = lookup_address(f->addr, &level); level 164 arch/x86/mm/kmmio.c switch (level) { level 172 arch/x86/mm/kmmio.c pr_err("unexpected page level 0x%x.\n", level); level 199 arch/x86/mm/mem_encrypt.c static void __init __set_clr_pte_enc(pte_t *kpte, int level, bool enc) level 205 arch/x86/mm/mem_encrypt.c switch (level) { level 232 arch/x86/mm/mem_encrypt.c pa = pfn << page_level_shift(level); level 233 arch/x86/mm/mem_encrypt.c size = page_level_size(level); level 259 arch/x86/mm/mem_encrypt.c int level, ret; level 266 arch/x86/mm/mem_encrypt.c kpte = lookup_address(vaddr, &level); level 272 arch/x86/mm/mem_encrypt.c if (level == PG_LEVEL_4K) { level 273 arch/x86/mm/mem_encrypt.c __set_clr_pte_enc(kpte, level, enc); level 278 arch/x86/mm/mem_encrypt.c psize = page_level_size(level); level 279 arch/x86/mm/mem_encrypt.c pmask = page_level_mask(level); level 289 arch/x86/mm/mem_encrypt.c __set_clr_pte_enc(kpte, level, enc); level 300 arch/x86/mm/mem_encrypt.c if (level == PG_LEVEL_2M) level 83 arch/x86/mm/mmio-mod.c unsigned int level; level 84 arch/x86/mm/mmio-mod.c pte_t *pte = lookup_address(address, &level); level 92 arch/x86/mm/mmio-mod.c if (level == PG_LEVEL_2M) { level 60 arch/x86/mm/pageattr-test.c unsigned int level; level 63 arch/x86/mm/pageattr-test.c pte = lookup_address(addr, &level); level 70 arch/x86/mm/pageattr-test.c if (level == PG_LEVEL_1G && sizeof(long) == 8) { level 73 arch/x86/mm/pageattr-test.c } else if (level == PG_LEVEL_2M) { level 77 arch/x86/mm/pageattr-test.c addr, level, (u64)pte_val(*pte)); level 124 arch/x86/mm/pageattr-test.c unsigned int level; level 153 arch/x86/mm/pageattr-test.c pte = lookup_address(addr[i] + k*PAGE_SIZE, &level); level 201 arch/x86/mm/pageattr-test.c pte = lookup_address(addr[i], &level); level 207 arch/x86/mm/pageattr-test.c if (level != PG_LEVEL_4K) { level 209 arch/x86/mm/pageattr-test.c addr[i], level); level 221 arch/x86/mm/pageattr-test.c pte = lookup_address(addr[i], &level); level 232 arch/x86/mm/pageattr-test.c pte = lookup_address(addr[i], &level); level 74 arch/x86/mm/pageattr.c void update_page_count(int level, unsigned long pages) level 78 arch/x86/mm/pageattr.c direct_pages_count[level] += pages; level 82 arch/x86/mm/pageattr.c static void split_page_count(int level) level 84 arch/x86/mm/pageattr.c if (direct_pages_count[level] == 0) level 87 arch/x86/mm/pageattr.c direct_pages_count[level]--; level 88 arch/x86/mm/pageattr.c direct_pages_count[level - 1] += PTRS_PER_PTE; level 107 arch/x86/mm/pageattr.c static inline void split_page_count(int level) { } level 135 arch/x86/mm/pageattr.c static inline void cpa_inc_lp_sameprot(int level) level 137 arch/x86/mm/pageattr.c if (level == PG_LEVEL_1G) level 143 arch/x86/mm/pageattr.c static inline void cpa_inc_lp_preserved(int level) level 145 arch/x86/mm/pageattr.c if (level == PG_LEVEL_1G) level 186 arch/x86/mm/pageattr.c static inline void cpa_inc_lp_sameprot(int level) { } level 187 arch/x86/mm/pageattr.c static inline void cpa_inc_lp_preserved(int level) { } level 367 arch/x86/mm/pageattr.c unsigned int level; level 369 arch/x86/mm/pageattr.c pte_t *pte = lookup_address(addr, &level); level 461 arch/x86/mm/pageattr.c unsigned int level; level 477 arch/x86/mm/pageattr.c if (lookup_address(start, &level) && (level != PG_LEVEL_4K)) level 568 arch/x86/mm/pageattr.c unsigned int *level) level 574 arch/x86/mm/pageattr.c *level = PG_LEVEL_NONE; level 583 arch/x86/mm/pageattr.c *level = PG_LEVEL_512G; level 591 arch/x86/mm/pageattr.c *level = PG_LEVEL_1G; level 599 arch/x86/mm/pageattr.c *level = PG_LEVEL_2M; level 603 arch/x86/mm/pageattr.c *level = PG_LEVEL_4K; level 616 arch/x86/mm/pageattr.c pte_t *lookup_address(unsigned long address, unsigned int *level) level 618 arch/x86/mm/pageattr.c return lookup_address_in_pgd(pgd_offset_k(address), address, level); level 623 arch/x86/mm/pageattr.c unsigned int *level) level 627 arch/x86/mm/pageattr.c address, level); level 629 arch/x86/mm/pageattr.c return lookup_address(address, level); level 673 arch/x86/mm/pageattr.c enum pg_level level; level 676 arch/x86/mm/pageattr.c pte = lookup_address(virt_addr, &level); level 684 arch/x86/mm/pageattr.c switch (level) { level 752 arch/x86/mm/pageattr.c enum pg_level level; level 758 arch/x86/mm/pageattr.c tmp = _lookup_address_cpa(cpa, address, &level); level 762 arch/x86/mm/pageattr.c switch (level) { level 777 arch/x86/mm/pageattr.c psize = page_level_size(level); level 778 arch/x86/mm/pageattr.c pmask = page_level_mask(level); level 852 arch/x86/mm/pageattr.c cpa_inc_lp_sameprot(level); level 885 arch/x86/mm/pageattr.c cpa_inc_lp_preserved(level); level 946 arch/x86/mm/pageattr.c unsigned int i, level; level 955 arch/x86/mm/pageattr.c tmp = _lookup_address_cpa(cpa, address, &level); level 963 arch/x86/mm/pageattr.c switch (level) { level 1009 arch/x86/mm/pageattr.c split_page_count(level); level 1494 arch/x86/mm/pageattr.c unsigned int level; level 1499 arch/x86/mm/pageattr.c kpte = _lookup_address_cpa(cpa, address, &level); level 1507 arch/x86/mm/pageattr.c if (level == PG_LEVEL_4K) { level 2200 arch/x86/mm/pageattr.c unsigned int level; level 2206 arch/x86/mm/pageattr.c pte = lookup_address((unsigned long)page_address(page), &level); level 281 arch/x86/mm/pti.c unsigned int level; level 283 arch/x86/mm/pti.c pte = lookup_address(VSYSCALL_ADDR, &level); level 284 arch/x86/mm/pti.c if (!pte || WARN_ON(level != PG_LEVEL_4K) || pte_none(*pte)) level 305 arch/x86/mm/pti.c enum pti_clone_level level) level 345 arch/x86/mm/pti.c if (pmd_large(*pmd) || level == PTI_CLONE_PMD) { level 380 arch/x86/mm/pti.c } else if (level == PTI_CLONE_PTE) { level 350 arch/x86/xen/enlighten_pv.c int level; level 357 arch/x86/xen/enlighten_pv.c ptep = lookup_address((unsigned long)v, &level); level 455 arch/x86/xen/enlighten_pv.c int level; level 470 arch/x86/xen/enlighten_pv.c ptep = lookup_address(va, &level); level 21 arch/x86/xen/mmu.c unsigned int level; level 34 arch/x86/xen/mmu.c pte = lookup_address(address, &level); level 140 arch/x86/xen/mmu_pv.c unsigned int level; level 142 arch/x86/xen/mmu_pv.c pte = lookup_address(address, &level); level 156 arch/x86/xen/mmu_pv.c unsigned int level; level 158 arch/x86/xen/mmu_pv.c pte = lookup_address(address, &level); level 715 arch/x86/xen/mmu_pv.c static void xen_do_pin(unsigned level, unsigned long pfn) level 719 arch/x86/xen/mmu_pv.c op.cmd = level; level 726 arch/x86/xen/mmu_pv.c enum pt_level level) level 766 arch/x86/xen/mmu_pv.c if (level == PT_PTE) level 771 arch/x86/xen/mmu_pv.c level == PT_PGD ? UVMF_TLB_FLUSH : 0); level 858 arch/x86/xen/mmu_pv.c enum pt_level level) level 880 arch/x86/xen/mmu_pv.c enum pt_level level) level 897 arch/x86/xen/mmu_pv.c if (level == PT_PTE) { level 908 arch/x86/xen/mmu_pv.c level == PT_PGD ? UVMF_TLB_FLUSH : 0); level 1633 arch/x86/xen/mmu_pv.c unsigned level) level 1637 arch/x86/xen/mmu_pv.c trace_xen_mmu_alloc_ptpage(mm, pfn, level, pinned); level 1650 arch/x86/xen/mmu_pv.c if (level == PT_PTE && USE_SPLIT_PTE_PTLOCKS) level 1673 arch/x86/xen/mmu_pv.c static inline void xen_release_ptpage(unsigned long pfn, unsigned level) level 1678 arch/x86/xen/mmu_pv.c trace_xen_mmu_release_ptpage(pfn, level, pinned); level 1684 arch/x86/xen/mmu_pv.c if (level == PT_PTE && USE_SPLIT_PTE_PTLOCKS) level 221 arch/x86/xen/p2m.c unsigned int level, topidx, mididx; level 249 arch/x86/xen/p2m.c &level); level 250 arch/x86/xen/p2m.c BUG_ON(!ptep || level != PG_LEVEL_4K); level 442 arch/x86/xen/p2m.c unsigned int level; level 451 arch/x86/xen/p2m.c ptep = lookup_address((unsigned long)(xen_p2m_addr + pfn), &level); level 452 arch/x86/xen/p2m.c BUG_ON(!ptep || level != PG_LEVEL_4K); level 477 arch/x86/xen/p2m.c unsigned int level; level 504 arch/x86/xen/p2m.c ptechk = lookup_address(vaddr, &level); level 525 arch/x86/xen/p2m.c return lookup_address(addr, &level); level 540 arch/x86/xen/p2m.c unsigned int level; level 545 arch/x86/xen/p2m.c ptep = lookup_address(addr, &level); level 546 arch/x86/xen/p2m.c BUG_ON(!ptep || level != PG_LEVEL_4K); level 657 arch/x86/xen/p2m.c unsigned int level; level 671 arch/x86/xen/p2m.c ptep = lookup_address((unsigned long)(xen_p2m_addr + pfn), &level); level 672 arch/x86/xen/p2m.c BUG_ON(!ptep || level != PG_LEVEL_4K); level 24 arch/xtensa/include/asm/ftrace.h extern unsigned long return_address(unsigned level); level 82 arch/xtensa/include/asm/processor.h #define XTENSA_INTLEVEL_MASK(level) _XTENSA_INTLEVEL_MASK(level) level 83 arch/xtensa/include/asm/processor.h #define _XTENSA_INTLEVEL_MASK(level) (XCHAL_INTLEVEL##level##_MASK) level 265 arch/xtensa/kernel/stacktrace.c unsigned long return_address(unsigned level) level 268 arch/xtensa/kernel/stacktrace.c .skip = level, level 281 arch/xtensa/kernel/traps.c unsigned level; level 283 arch/xtensa/kernel/traps.c for (level = LOCKLEVEL; level > 0; --level) { level 284 arch/xtensa/kernel/traps.c if (int_at_level & int_level_mask[level]) { level 285 arch/xtensa/kernel/traps.c int_at_level &= int_level_mask[level]; level 290 arch/xtensa/kernel/traps.c if (level == 0) level 499 block/blk-iocost.c int level; level 903 block/blk-iocost.c for (lvl = iocg->level - 1; lvl >= 0; lvl--) { level 982 block/blk-iocost.c for (lvl = 0; lvl <= iocg->level - 1; lvl++) { level 1062 block/blk-iocost.c for (i = iocg->level - 1; i > 0; i--) level 1695 block/blk-iocost.c if (!ioc->enabled || !iocg->level) level 1822 block/blk-iocost.c if (!ioc->enabled || !iocg->level) level 2005 block/blk-iocost.c int levels = blkcg->css.cgroup->level + 1; level 2041 block/blk-iocost.c iocg->level = blkg->blkcg->css.cgroup->level; level 2045 block/blk-iocost.c iocg->ancestors[tiocg->level] = tiocg; level 41 block/partitions/ldm.c void _ldm_printk(const char *level, const char *function, const char *fmt, ...) level 51 block/partitions/ldm.c printk("%s%s(): %pV\n", level, function, &vaf); level 230 crypto/af_alg.c static int alg_setsockopt(struct socket *sock, int level, int optname, level 245 crypto/af_alg.c if (level != SOL_ALG || !type) level 220 drivers/acpi/acpi_video.c int level); level 223 drivers/acpi/acpi_video.c unsigned long long *level, bool raw); level 275 drivers/acpi/acpi_video.c unsigned long long level; level 278 drivers/acpi/acpi_video.c if (acpi_video_device_lcd_get_level_current(video, &level, false)) level 282 drivers/acpi/acpi_video.c if (level == video->brightness->levels[offset]) { level 295 drivers/acpi/acpi_video.c int level; level 301 drivers/acpi/acpi_video.c level = video->brightness->levels[state - 1]; level 302 drivers/acpi/acpi_video.c return acpi_video_device_lcd_set_level(video, level); level 349 drivers/acpi/acpi_video.c acpi_video_device_lcd_set_level(struct acpi_video_device *device, int level) level 355 drivers/acpi/acpi_video.c "_BCM", level); level 361 drivers/acpi/acpi_video.c device->brightness->curr = level; level 364 drivers/acpi/acpi_video.c if (level == device->brightness->levels[state]) { level 568 drivers/acpi/acpi_video.c unsigned long long level; level 580 drivers/acpi/acpi_video.c level = device->brightness->levels[bqc_value + level 583 drivers/acpi/acpi_video.c level = bqc_value; level 586 drivers/acpi/acpi_video.c level += bqc_offset_aml_bug_workaround; level 588 drivers/acpi/acpi_video.c return level; level 593 drivers/acpi/acpi_video.c unsigned long long *level, bool raw) level 602 drivers/acpi/acpi_video.c NULL, level); level 613 drivers/acpi/acpi_video.c *level = acpi_video_bqc_value_to_level(device, *level); level 617 drivers/acpi/acpi_video.c if (device->brightness->levels[i] == *level) { level 618 drivers/acpi/acpi_video.c device->brightness->curr = *level; level 643 drivers/acpi/acpi_video.c *level = device->brightness->curr; level 750 drivers/acpi/acpi_video.c unsigned long long level; level 795 drivers/acpi/acpi_video.c result = acpi_video_device_lcd_get_level_current(device, &level, true); level 799 drivers/acpi/acpi_video.c if (level != test_level) { level 801 drivers/acpi/acpi_video.c if (level < br->count) { level 803 drivers/acpi/acpi_video.c level = br->count - ACPI_VIDEO_FIRST_LEVEL - 1 - level; level 804 drivers/acpi/acpi_video.c if (br->levels[level + ACPI_VIDEO_FIRST_LEVEL] == test_level) level 940 drivers/acpi/acpi_video.c unsigned long long level, level_old; level 950 drivers/acpi/acpi_video.c br->curr = level = max_level; level 970 drivers/acpi/acpi_video.c level = acpi_video_bqc_value_to_level(device, level_old); level 978 drivers/acpi/acpi_video.c if (level == br->levels[i]) level 980 drivers/acpi/acpi_video.c if (i == br->count || !level) level 981 drivers/acpi/acpi_video.c level = max_level; level 984 drivers/acpi/acpi_video.c result = acpi_video_device_lcd_set_level(device, level); level 1720 drivers/acpi/acpi_video.c acpi_video_bus_match(acpi_handle handle, u32 level, void *context, level 93 drivers/acpi/acpica/acconvert.h void cv_switch_files(u32 level, union acpi_parse_object *op); level 97 drivers/acpi/acpica/acconvert.h void cv_close_paren_write_comment(union acpi_parse_object *op, u32 level); level 99 drivers/acpi/acpica/acconvert.h void cv_close_brace_write_comment(union acpi_parse_object *op, u32 level); level 102 drivers/acpi/acpica/acconvert.h cv_print_one_comment_list(struct acpi_comment_node *comment_list, u32 level); level 106 drivers/acpi/acpica/acconvert.h u8 comment_type, char *end_str, u32 level); level 276 drivers/acpi/acpica/acdebug.h void acpi_db_dump_external_object(union acpi_object *obj_desc, u32 level); level 127 drivers/acpi/acpica/acevents.h u32 level, void *context, void **return_value); level 99 drivers/acpi/acpica/acinterp.h u32 level, u32 index); level 63 drivers/acpi/acpica/acnamesp.h u32 level, void *context, void **return_value); level 185 drivers/acpi/acpica/acnamesp.h const char *msg, u32 level, u32 component); level 191 drivers/acpi/acpica/acnamesp.h u32 level, void *context, void **return_value); level 98 drivers/acpi/acpica/dbutils.c void acpi_db_dump_external_object(union acpi_object *obj_desc, u32 level) level 107 drivers/acpi/acpica/dbutils.c for (i = 0; i < level; i++) { level 157 drivers/acpi/acpica/dbutils.c elements[i], level + 1); level 23 drivers/acpi/acpica/dsinit.c u32 level, void *context, void **return_value); level 47 drivers/acpi/acpica/dsinit.c u32 level, void *context, void **return_value) level 285 drivers/acpi/acpica/evgpeinit.c u32 level, void *context, void **return_value) level 22 drivers/acpi/acpica/evhandler.c u32 level, void *context, void **return_value); level 166 drivers/acpi/acpica/evhandler.c u32 level, void *context, void **return_value) level 28 drivers/acpi/acpica/evregion.c u32 level, void *context, void **return_value); level 713 drivers/acpi/acpica/evregion.c u32 level, void *context, void **return_value) level 41 drivers/acpi/acpica/exdebug.c u32 level, u32 index) level 73 drivers/acpi/acpica/exdebug.c if (!((level > 0) && index == 0)) { level 86 drivers/acpi/acpica/exdebug.c level, " "); level 88 drivers/acpi/acpica/exdebug.c acpi_os_printf("ACPI Debug: %*s", level, " "); level 171 drivers/acpi/acpica/exdebug.c elements[i], level + 4, i + 1); level 235 drivers/acpi/acpica/exdebug.c level + 4, 0); level 250 drivers/acpi/acpica/exdebug.c object), level + 4, 0); level 284 drivers/acpi/acpica/exdebug.c where, level + 4, 0); level 36 drivers/acpi/acpica/exdump.c u32 level, u32 index); level 1031 drivers/acpi/acpica/exdump.c u32 level, u32 index) level 1037 drivers/acpi/acpica/exdump.c if (level > 0) { level 1038 drivers/acpi/acpica/exdump.c for (i = 0; i < level; i++) { level 1092 drivers/acpi/acpica/exdump.c level + 1, i); level 321 drivers/acpi/acpica/nsalloc.c u32 level = 1; level 341 drivers/acpi/acpica/nsalloc.c while (level > 0) { level 359 drivers/acpi/acpica/nsalloc.c level++; level 368 drivers/acpi/acpica/nsalloc.c level--; level 411 drivers/acpi/acpica/nsalloc.c u32 level; level 430 drivers/acpi/acpica/nsalloc.c level = 1; level 436 drivers/acpi/acpica/nsalloc.c while (level > 0) { level 464 drivers/acpi/acpica/nsalloc.c level++; level 475 drivers/acpi/acpica/nsalloc.c level--; level 476 drivers/acpi/acpica/nsalloc.c if (level != 0) { level 24 drivers/acpi/acpica/nsdump.c u32 level, void *context, void **return_value); level 31 drivers/acpi/acpica/nsdump.c u32 level, void *context, void **return_value); level 35 drivers/acpi/acpica/nsdump.c u32 level, void *context, void **return_value); level 104 drivers/acpi/acpica/nsdump.c const char *msg, u32 level, u32 component) level 111 drivers/acpi/acpica/nsdump.c if (!ACPI_IS_DEBUG_ENABLED(level, component)) { level 141 drivers/acpi/acpica/nsdump.c u32 level, void *context, void **return_value) level 186 drivers/acpi/acpica/nsdump.c acpi_os_printf("%2d%*s", (u32) level - 1, (int)level * 2, " "); level 678 drivers/acpi/acpica/nsdump.c u32 level, void *context, void **return_value) level 700 drivers/acpi/acpica/nsdump.c if (level <= max_level) { level 701 drivers/acpi/acpica/nsdump.c path_indent = max_level - level + 1; level 705 drivers/acpi/acpica/nsdump.c level, level, " ", acpi_ut_get_type_name(node->type), level 715 drivers/acpi/acpica/nsdump.c u32 level, void *context, void **return_value) level 719 drivers/acpi/acpica/nsdump.c if (level > *max_level) { level 720 drivers/acpi/acpica/nsdump.c *max_level = level; level 36 drivers/acpi/acpica/nsdumpdv.c u32 level, void *context, void **return_value) level 46 drivers/acpi/acpica/nsdumpdv.c acpi_ns_dump_one_object(obj_handle, level, context, return_value); level 52 drivers/acpi/acpica/nsdumpdv.c for (i = 0; i < level; i++) { level 23 drivers/acpi/acpica/nsinit.c u32 level, void *context, void **return_value); level 261 drivers/acpi/acpica/nsinit.c u32 level, void *context, void **return_value) level 317 drivers/acpi/acpica/nsinit.c u32 level, void *context, void **return_value) level 403 drivers/acpi/acpica/nsinit.c acpi_ns_init_one_package(obj_handle, level, NULL, NULL); level 188 drivers/acpi/acpica/nsload.c u32 level; level 194 drivers/acpi/acpica/nsload.c level = 1; level 200 drivers/acpi/acpica/nsload.c while (level > 0) { level 222 drivers/acpi/acpica/nsload.c level++; level 231 drivers/acpi/acpica/nsload.c level--; level 163 drivers/acpi/acpica/nswalk.c u32 level; level 179 drivers/acpi/acpica/nswalk.c level = 1; level 186 drivers/acpi/acpica/nswalk.c while (level > 0 && child_node) { level 231 drivers/acpi/acpica/nswalk.c level, context, level 238 drivers/acpi/acpica/nswalk.c level, context, level 279 drivers/acpi/acpica/nswalk.c (level < max_depth) && (status != AE_CTRL_DEPTH)) { level 284 drivers/acpi/acpica/nswalk.c level++; level 313 drivers/acpi/acpica/nswalk.c level--; level 34 drivers/acpi/acpica/pswalk.c u32 level = 0; level 52 drivers/acpi/acpica/pswalk.c acpi_os_printf(" %*.s%s %p", (level * 4), level 78 drivers/acpi/acpica/pswalk.c level++; level 99 drivers/acpi/acpica/pswalk.c level--; level 1357 drivers/acpi/ec.c acpi_ec_register_query_methods(acpi_handle handle, u32 level, level 353 drivers/acpi/hmat/hmat.c tcache->cache_attrs.level = (attrs & ACPI_HMAT_CACHE_LEVEL) >> 4; level 1507 drivers/acpi/osl.c static acpi_status acpi_deactivate_mem_region(acpi_handle handle, u32 level, level 1567 drivers/acpi/osl.c u32 level) level 1572 drivers/acpi/osl.c return acpi_walk_namespace(ACPI_TYPE_REGION, handle, level, level 105 drivers/acpi/pptt.c int level, int type) level 116 drivers/acpi/pptt.c if (local_level == level && level 122 drivers/acpi/pptt.c pr_debug("Found cache @ level %d\n", level); level 137 drivers/acpi/pptt.c int *starting_level, int level, level 151 drivers/acpi/pptt.c res, &ret, level, type); level 321 drivers/acpi/pptt.c unsigned int level, level 330 drivers/acpi/pptt.c acpi_cpu_id, level, acpi_type); level 336 drivers/acpi/pptt.c &total_levels, level, acpi_type); level 423 drivers/acpi/pptt.c this_leaf->level, level 459 drivers/acpi/pptt.c int level, int flag) level 463 drivers/acpi/pptt.c while (cpu && level) { level 470 drivers/acpi/pptt.c pr_debug("level %d\n", level); level 475 drivers/acpi/pptt.c level--; level 499 drivers/acpi/pptt.c unsigned int cpu, int level, int flag) level 507 drivers/acpi/pptt.c level, flag); level 514 drivers/acpi/pptt.c if (level == 0 || level 524 drivers/acpi/pptt.c static int find_acpi_cpu_topology_tag(unsigned int cpu, int level, int flag) level 535 drivers/acpi/pptt.c retval = topology_get_acpi_cpu_tag(table, cpu, level, flag); level 537 drivers/acpi/pptt.c cpu, level, retval); level 677 drivers/acpi/pptt.c int find_acpi_cpu_topology(unsigned int cpu, int level) level 679 drivers/acpi/pptt.c return find_acpi_cpu_topology_tag(cpu, level, 0); level 692 drivers/acpi/pptt.c int find_acpi_cpu_cache_topology(unsigned int cpu, int level) level 709 drivers/acpi/pptt.c level, level 1117 drivers/acpi/scan.c acpi_backlight_cap_match(acpi_handle handle, u32 level, void *context, level 483 drivers/acpi/utils.c acpi_handle_printk(const char *level, acpi_handle handle, const char *fmt, ...) level 494 drivers/acpi/utils.c printk("%sACPI: %s: %pV", level, path ? path : "<n/a>" , &vaf); level 652 drivers/ata/libata-acpi.c const char *level; level 675 drivers/ata/libata-acpi.c level = KERN_DEBUG; level 681 drivers/ata/libata-acpi.c level = KERN_INFO; level 689 drivers/ata/libata-acpi.c level = KERN_ERR; level 697 drivers/ata/libata-acpi.c level = KERN_INFO; level 703 drivers/ata/libata-acpi.c ata_dev_printk(dev, level, level 7257 drivers/ata/libata-core.c void ata_port_printk(const struct ata_port *ap, const char *level, level 7268 drivers/ata/libata-core.c printk("%sata%u: %pV", level, ap->print_id, &vaf); level 7274 drivers/ata/libata-core.c void ata_link_printk(const struct ata_link *link, const char *level, level 7287 drivers/ata/libata-core.c level, link->ap->print_id, link->pmp, &vaf); level 7290 drivers/ata/libata-core.c level, link->ap->print_id, &vaf); level 7296 drivers/ata/libata-core.c void ata_dev_printk(const struct ata_device *dev, const char *level, level 7308 drivers/ata/libata-core.c level, dev->link->ap->print_id, dev->link->pmp + dev->devno, level 2037 drivers/atm/eni.c static int eni_getsockopt(struct atm_vcc *vcc,int level,int optname, level 2044 drivers/atm/eni.c static int eni_setsockopt(struct atm_vcc *vcc,int level,int optname, level 1230 drivers/atm/firestream.c static int fs_getsockopt(struct atm_vcc *vcc,int level,int optname, level 1239 drivers/atm/firestream.c static int fs_setsockopt(struct atm_vcc *vcc,int level,int optname, level 69 drivers/atm/fore200e.c #define DPRINTK(level, format, args...) do { if (CONFIG_ATM_FORE200E_DEBUG >= (level)) \ level 72 drivers/atm/fore200e.c #define DPRINTK(level, format, args...) do {} while (0) level 1715 drivers/atm/fore200e.c fore200e_getsockopt(struct atm_vcc* vcc, int level, int optname, void __user *optval, int optlen) level 1720 drivers/atm/fore200e.c vcc->itf, vcc->vpi, vcc->vci, level, optname, optval, optlen); level 1727 drivers/atm/fore200e.c fore200e_setsockopt(struct atm_vcc* vcc, int level, int optname, void __user *optval, unsigned int optlen) level 1732 drivers/atm/fore200e.c vcc->itf, vcc->vpi, vcc->vci, level, optname, optval, optlen); level 2531 drivers/atm/horizon.c static int hrz_getsockopt (struct atm_vcc * atm_vcc, int level, int optname, level 2535 drivers/atm/horizon.c switch (level) { level 2550 drivers/atm/horizon.c static int hrz_setsockopt (struct atm_vcc * atm_vcc, int level, int optname, level 2554 drivers/atm/horizon.c switch (level) { level 2883 drivers/atm/iphase.c static int ia_getsockopt(struct atm_vcc *vcc, int level, int optname, level 2890 drivers/atm/iphase.c static int ia_setsockopt(struct atm_vcc *vcc, int level, int optname, level 2481 drivers/atm/nicstar.c pl.level.min = card->sbnr.min; level 2482 drivers/atm/nicstar.c pl.level.init = card->sbnr.init; level 2483 drivers/atm/nicstar.c pl.level.max = card->sbnr.max; level 2489 drivers/atm/nicstar.c pl.level.min = card->lbnr.min; level 2490 drivers/atm/nicstar.c pl.level.init = card->lbnr.init; level 2491 drivers/atm/nicstar.c pl.level.max = card->lbnr.max; level 2496 drivers/atm/nicstar.c pl.level.min = card->hbnr.min; level 2497 drivers/atm/nicstar.c pl.level.init = card->hbnr.init; level 2498 drivers/atm/nicstar.c pl.level.max = card->hbnr.max; level 2503 drivers/atm/nicstar.c pl.level.min = card->iovnr.min; level 2504 drivers/atm/nicstar.c pl.level.init = card->iovnr.init; level 2505 drivers/atm/nicstar.c pl.level.max = card->iovnr.max; level 2522 drivers/atm/nicstar.c if (pl.level.min >= pl.level.init level 2523 drivers/atm/nicstar.c || pl.level.init >= pl.level.max) level 2525 drivers/atm/nicstar.c if (pl.level.min == 0) level 2529 drivers/atm/nicstar.c if (pl.level.max > TOP_SB) level 2531 drivers/atm/nicstar.c card->sbnr.min = pl.level.min; level 2532 drivers/atm/nicstar.c card->sbnr.init = pl.level.init; level 2533 drivers/atm/nicstar.c card->sbnr.max = pl.level.max; level 2537 drivers/atm/nicstar.c if (pl.level.max > TOP_LB) level 2539 drivers/atm/nicstar.c card->lbnr.min = pl.level.min; level 2540 drivers/atm/nicstar.c card->lbnr.init = pl.level.init; level 2541 drivers/atm/nicstar.c card->lbnr.max = pl.level.max; level 2545 drivers/atm/nicstar.c if (pl.level.max > TOP_HB) level 2547 drivers/atm/nicstar.c card->hbnr.min = pl.level.min; level 2548 drivers/atm/nicstar.c card->hbnr.init = pl.level.init; level 2549 drivers/atm/nicstar.c card->hbnr.max = pl.level.max; level 2553 drivers/atm/nicstar.c if (pl.level.max > TOP_IOVB) level 2555 drivers/atm/nicstar.c card->iovnr.min = pl.level.min; level 2556 drivers/atm/nicstar.c card->iovnr.init = pl.level.init; level 2557 drivers/atm/nicstar.c card->iovnr.max = pl.level.max; level 1519 drivers/atm/zatm.c static int zatm_getsockopt(struct atm_vcc *vcc,int level,int optname, level 1526 drivers/atm/zatm.c static int zatm_setsockopt(struct atm_vcc *vcc,int level,int optname, level 181 drivers/base/cacheinfo.c if (this_leaf->level != 1) level 207 drivers/base/cacheinfo.c return !(this_leaf->level == 1); level 369 drivers/base/cacheinfo.c show_one(level, level); level 451 drivers/base/cacheinfo.c static DEVICE_ATTR_RO(level); level 492 drivers/base/cacheinfo.c if ((attr == &dev_attr_level.attr) && this_leaf->level) level 3307 drivers/base/core.c int dev_vprintk_emit(int level, const struct device *dev, level 3315 drivers/base/core.c return vprintk_emit(0, level, hdrlen ? hdr : NULL, hdrlen, fmt, args); level 3319 drivers/base/core.c int dev_printk_emit(int level, const struct device *dev, const char *fmt, ...) level 3326 drivers/base/core.c r = dev_vprintk_emit(level, dev, fmt, args); level 3334 drivers/base/core.c static void __dev_printk(const char *level, const struct device *dev, level 3338 drivers/base/core.c dev_printk_emit(level[1] - '0', dev, "%s %s: %pV", level 3341 drivers/base/core.c printk("%s(NULL device *): %pV", level, vaf); level 3344 drivers/base/core.c void dev_printk(const char *level, const struct device *dev, level 3355 drivers/base/core.c __dev_printk(level, dev, &vaf); level 298 drivers/base/node.c if (info->cache_attrs.level == cache_attrs->level) { level 301 drivers/base/node.c cache_attrs->level); level 319 drivers/base/node.c if (dev_set_name(dev, "index%d", cache_attrs->level)) level 325 drivers/base/node.c cache_attrs->level); level 79 drivers/block/drbd/drbd_int.h #define __drbd_printk_device(level, device, fmt, args...) \ level 80 drivers/block/drbd/drbd_int.h dev_printk(level, disk_to_dev((device)->vdisk), fmt, ## args) level 81 drivers/block/drbd/drbd_int.h #define __drbd_printk_peer_device(level, peer_device, fmt, args...) \ level 82 drivers/block/drbd/drbd_int.h dev_printk(level, disk_to_dev((peer_device)->device->vdisk), fmt, ## args) level 83 drivers/block/drbd/drbd_int.h #define __drbd_printk_resource(level, resource, fmt, args...) \ level 84 drivers/block/drbd/drbd_int.h printk(level "drbd %s: " fmt, (resource)->name, ## args) level 85 drivers/block/drbd/drbd_int.h #define __drbd_printk_connection(level, connection, fmt, args...) \ level 86 drivers/block/drbd/drbd_int.h printk(level "drbd %s: " fmt, (connection)->resource->name, ## args) level 90 drivers/block/drbd/drbd_int.h #define __drbd_printk_if_same_type(obj, type, func, level, fmt, args...) \ level 93 drivers/block/drbd/drbd_int.h func(level, (const type)(obj), fmt, ## args) level 95 drivers/block/drbd/drbd_int.h #define drbd_printk(level, obj, fmt, args...) \ level 98 drivers/block/drbd/drbd_int.h __drbd_printk_device, level, fmt, ## args), \ level 101 drivers/block/drbd/drbd_int.h __drbd_printk_resource, level, fmt, ## args), \ level 104 drivers/block/drbd/drbd_int.h __drbd_printk_connection, level, fmt, ## args), \ level 107 drivers/block/drbd/drbd_int.h __drbd_printk_peer_device, level, fmt, ## args), \ level 82 drivers/block/pktcdvd.c #define pkt_dbg(level, pd, fmt, ...) \ level 84 drivers/block/pktcdvd.c if (level == 2 && PACKET_DEBUG >= 2) \ level 87 drivers/block/pktcdvd.c else if (level == 1 && PACKET_DEBUG >= 1) \ level 531 drivers/block/rsxx/cregs.c static char level; level 538 drivers/block/rsxx/cregs.c level = str[1]; level 543 drivers/block/rsxx/cregs.c switch (level) { level 120 drivers/char/hw_random/imx-rngc.c unsigned int level; level 131 drivers/char/hw_random/imx-rngc.c level = (status & RNGC_STATUS_FIFO_LEVEL_MASK) >> level 134 drivers/char/hw_random/imx-rngc.c if (level) { level 68 drivers/char/hw_random/mxc-rnga.c int level = (__raw_readl(mxc_rng->mem + RNGA_STATUS) & level 70 drivers/char/hw_random/mxc-rnga.c if (level || !wait) level 71 drivers/char/hw_random/mxc-rnga.c return !!level; level 2891 drivers/clk/clk.c int level) level 2896 drivers/clk/clk.c level * 3 + 1, "", level 2897 drivers/clk/clk.c 30 - level * 3, c->name, level 2911 drivers/clk/clk.c int level) level 2915 drivers/clk/clk.c clk_summary_show_one(s, c, level); level 2918 drivers/clk/clk.c clk_summary_show_subtree(s, child, level + 1); level 2942 drivers/clk/clk.c static void clk_dump_one(struct seq_file *s, struct clk_core *c, int level) level 2965 drivers/clk/clk.c static void clk_dump_subtree(struct seq_file *s, struct clk_core *c, int level) level 2969 drivers/clk/clk.c clk_dump_one(s, c, level); level 2973 drivers/clk/clk.c clk_dump_subtree(s, child, level + 1); level 53 drivers/clk/qcom/clk-rcg2.c #define SE_PERF_DFSR(level) (0x1c + 0x4 * (level)) level 54 drivers/clk/qcom/clk-rcg2.c #define SE_PERF_M_DFSR(level) (0x5c + 0x4 * (level)) level 55 drivers/clk/qcom/clk-rcg2.c #define SE_PERF_N_DFSR(level) (0x9c + 0x4 * (level)) level 1039 drivers/clk/qcom/clk-rcg2.c u32 level, mask, cfg, m = 0, n = 0, mode, pre_div; level 1042 drivers/clk/qcom/clk-rcg2.c rcg->cmd_rcgr + SE_CMD_DFSR_OFFSET, &level); level 1043 drivers/clk/qcom/clk-rcg2.c level &= GENMASK(4, 1); level 1044 drivers/clk/qcom/clk-rcg2.c level >>= 1; level 1047 drivers/clk/qcom/clk-rcg2.c return rcg->freq_tbl[level].freq; level 1056 drivers/clk/qcom/clk-rcg2.c regmap_read(rcg->clkr.regmap, rcg->cmd_rcgr + SE_PERF_DFSR(level), level 1069 drivers/clk/qcom/clk-rcg2.c rcg->cmd_rcgr + SE_PERF_M_DFSR(level), &m); level 1073 drivers/clk/qcom/clk-rcg2.c rcg->cmd_rcgr + SE_PERF_N_DFSR(level), &n); level 359 drivers/clk/tegra/clk-bpmp.c const char *level, level 390 drivers/clk/tegra/clk-bpmp.c dev_printk(level, bpmp->dev, "%03u: %s\n", info->id, info->name); level 391 drivers/clk/tegra/clk-bpmp.c dev_printk(level, bpmp->dev, " flags: %lx %s\n", info->flags, flags); level 392 drivers/clk/tegra/clk-bpmp.c dev_printk(level, bpmp->dev, " parents: %u\n", info->num_parents); level 395 drivers/clk/tegra/clk-bpmp.c dev_printk(level, bpmp->dev, " %03u\n", info->parents[i]); level 621 drivers/counter/104-quad-8.c enum counter_signal_level level; level 630 drivers/counter/104-quad-8.c level = (state) ? COUNTER_SIGNAL_LEVEL_HIGH : COUNTER_SIGNAL_LEVEL_LOW; level 632 drivers/counter/104-quad-8.c counter_signal_read_value_set(val, COUNTER_SIGNAL_LEVEL, &level); level 471 drivers/crypto/chelsio/chtls/chtls_main.c static int chtls_getsockopt(struct sock *sk, int level, int optname, level 476 drivers/crypto/chelsio/chtls/chtls_main.c if (level != SOL_TLS) level 477 drivers/crypto/chelsio/chtls/chtls_main.c return ctx->sk_proto->getsockopt(sk, level, level 539 drivers/crypto/chelsio/chtls/chtls_main.c static int chtls_setsockopt(struct sock *sk, int level, int optname, level 544 drivers/crypto/chelsio/chtls/chtls_main.c if (level != SOL_TLS) level 545 drivers/crypto/chelsio/chtls/chtls_main.c return ctx->sk_proto->setsockopt(sk, level, level 24 drivers/edac/amd76x_edac.c #define amd76x_printk(level, fmt, arg...) \ level 25 drivers/edac/amd76x_edac.c edac_printk(level, "amd76x", fmt, ##arg) level 27 drivers/edac/amd76x_edac.c #define amd76x_mc_printk(mci, level, fmt, arg...) \ level 28 drivers/edac/amd76x_edac.c edac_mc_chipset_printk(mci, level, "amd76x", fmt, ##arg) level 23 drivers/edac/cpc925_edac.c #define cpc925_printk(level, fmt, arg...) \ level 24 drivers/edac/cpc925_edac.c edac_printk(level, "CPC925", fmt, ##arg) level 26 drivers/edac/cpc925_edac.c #define cpc925_mc_printk(mci, level, fmt, arg...) \ level 27 drivers/edac/cpc925_edac.c edac_mc_chipset_printk(mci, level, "CPC925", fmt, ##arg) level 37 drivers/edac/e752x_edac.c #define e752x_printk(level, fmt, arg...) \ level 38 drivers/edac/e752x_edac.c edac_printk(level, "e752x", fmt, ##arg) level 40 drivers/edac/e752x_edac.c #define e752x_mc_printk(mci, level, fmt, arg...) \ level 41 drivers/edac/e752x_edac.c edac_mc_chipset_printk(mci, level, "e752x", fmt, ##arg) level 37 drivers/edac/e7xxx_edac.c #define e7xxx_printk(level, fmt, arg...) \ level 38 drivers/edac/e7xxx_edac.c edac_printk(level, "e7xxx", fmt, ##arg) level 40 drivers/edac/e7xxx_edac.c #define e7xxx_mc_printk(mci, level, fmt, arg...) \ level 41 drivers/edac/e7xxx_edac.c edac_mc_chipset_printk(mci, level, "e7xxx", fmt, ##arg) level 48 drivers/edac/edac_mc.h #define edac_printk(level, prefix, fmt, arg...) \ level 49 drivers/edac/edac_mc.h printk(level "EDAC " prefix ": " fmt, ##arg) level 51 drivers/edac/edac_mc.h #define edac_mc_printk(mci, level, fmt, arg...) \ level 52 drivers/edac/edac_mc.h printk(level "EDAC MC%d: " fmt, mci->mc_idx, ##arg) level 54 drivers/edac/edac_mc.h #define edac_mc_chipset_printk(mci, level, prefix, fmt, arg...) \ level 55 drivers/edac/edac_mc.h printk(level "EDAC " prefix " MC%d: " fmt, mci->mc_idx, ##arg) level 57 drivers/edac/edac_mc.h #define edac_device_printk(ctl, level, fmt, arg...) \ level 58 drivers/edac/edac_mc.h printk(level "EDAC DEVICE%d: " fmt, ctl->dev_idx, ##arg) level 60 drivers/edac/edac_mc.h #define edac_pci_printk(ctl, level, fmt, arg...) \ level 61 drivers/edac/edac_mc.h printk(level "EDAC PCI%d: " fmt, ctl->pci_idx, ##arg) level 73 drivers/edac/edac_mc.h #define edac_dbg(level, fmt, ...) \ level 75 drivers/edac/edac_mc.h if (level <= edac_debug_level) \ level 82 drivers/edac/edac_mc.h #define edac_dbg(level, fmt, ...) \ level 19 drivers/edac/fsl_ddr_edac.h #define fsl_mc_printk(mci, level, fmt, arg...) \ level 20 drivers/edac/fsl_ddr_edac.h edac_mc_chipset_printk(mci, level, "FSL_DDR", fmt, ##arg) level 19 drivers/edac/i10nm_base.c #define i10nm_printk(level, fmt, arg...) \ level 20 drivers/edac/i10nm_base.c edac_printk(level, "i10nm", fmt, ##arg) level 33 drivers/edac/i5000_edac.c #define i5000_printk(level, fmt, arg...) \ level 34 drivers/edac/i5000_edac.c edac_printk(level, "i5000", fmt, ##arg) level 36 drivers/edac/i5000_edac.c #define i5000_mc_printk(mci, level, fmt, arg...) \ level 37 drivers/edac/i5000_edac.c edac_mc_chipset_printk(mci, level, "i5000", fmt, ##arg) level 44 drivers/edac/i5400_edac.c #define i5400_printk(level, fmt, arg...) \ level 45 drivers/edac/i5400_edac.c edac_printk(level, "i5400", fmt, ##arg) level 47 drivers/edac/i5400_edac.c #define i5400_mc_printk(mci, level, fmt, arg...) \ level 48 drivers/edac/i5400_edac.c edac_mc_chipset_printk(mci, level, "i5400", fmt, ##arg) level 36 drivers/edac/i7300_edac.c #define i7300_printk(level, fmt, arg...) \ level 37 drivers/edac/i7300_edac.c edac_printk(level, "i7300", fmt, ##arg) level 39 drivers/edac/i7300_edac.c #define i7300_mc_printk(mci, level, fmt, arg...) \ level 40 drivers/edac/i7300_edac.c edac_mc_chipset_printk(mci, level, "i7300", fmt, ##arg) level 68 drivers/edac/i7core_edac.c #define i7core_printk(level, fmt, arg...) \ level 69 drivers/edac/i7core_edac.c edac_printk(level, "i7core", fmt, ##arg) level 71 drivers/edac/i7core_edac.c #define i7core_mc_printk(mci, level, fmt, arg...) \ level 72 drivers/edac/i7core_edac.c edac_mc_chipset_printk(mci, level, "i7core", fmt, ##arg) level 21 drivers/edac/i82860_edac.c #define i82860_printk(level, fmt, arg...) \ level 22 drivers/edac/i82860_edac.c edac_printk(level, "i82860", fmt, ##arg) level 24 drivers/edac/i82860_edac.c #define i82860_mc_printk(mci, level, fmt, arg...) \ level 25 drivers/edac/i82860_edac.c edac_mc_chipset_printk(mci, level, "i82860", fmt, ##arg) level 25 drivers/edac/i82875p_edac.c #define i82875p_printk(level, fmt, arg...) \ level 26 drivers/edac/i82875p_edac.c edac_printk(level, "i82875p", fmt, ##arg) level 28 drivers/edac/i82875p_edac.c #define i82875p_mc_printk(mci, level, fmt, arg...) \ level 29 drivers/edac/i82875p_edac.c edac_mc_chipset_printk(mci, level, "i82875p", fmt, ##arg) level 21 drivers/edac/i82975x_edac.c #define i82975x_printk(level, fmt, arg...) \ level 22 drivers/edac/i82975x_edac.c edac_printk(level, "i82975x", fmt, ##arg) level 24 drivers/edac/i82975x_edac.c #define i82975x_mc_printk(mci, level, fmt, arg...) \ level 25 drivers/edac/i82975x_edac.c edac_mc_chipset_printk(mci, level, "i82975x", fmt, ##arg) level 53 drivers/edac/ie31200_edac.c #define ie31200_printk(level, fmt, arg...) \ level 54 drivers/edac/ie31200_edac.c edac_printk(level, "ie31200", fmt, ##arg) level 17 drivers/edac/mpc85xx_edac.h #define mpc85xx_printk(level, fmt, arg...) \ level 18 drivers/edac/mpc85xx_edac.h edac_printk(level, "MPC85xx", fmt, ##arg) level 18 drivers/edac/mv64x60_edac.h #define mv64x60_printk(level, fmt, arg...) \ level 19 drivers/edac/mv64x60_edac.h edac_printk(level, "MV64x60", fmt, ##arg) level 21 drivers/edac/mv64x60_edac.h #define mv64x60_mc_printk(mci, level, fmt, arg...) \ level 22 drivers/edac/mv64x60_edac.h edac_mc_chipset_printk(mci, level, "MV64x60", fmt, ##arg) level 101 drivers/edac/pnd2_edac.c #define pnd2_printk(level, fmt, arg...) \ level 102 drivers/edac/pnd2_edac.c edac_printk(level, "pnd2", fmt, ##arg) level 104 drivers/edac/pnd2_edac.c #define pnd2_mc_printk(mci, level, fmt, arg...) \ level 105 drivers/edac/pnd2_edac.c edac_mc_chipset_printk(mci, level, "pnd2", fmt, ##arg) level 118 drivers/edac/ppc4xx_edac.c #define ppc4xx_edac_printk(level, fmt, arg...) \ level 119 drivers/edac/ppc4xx_edac.c edac_printk(level, "PPC4xx MC", fmt, ##arg) level 124 drivers/edac/ppc4xx_edac.c #define ppc4xx_edac_mc_printk(level, mci, fmt, arg...) \ level 125 drivers/edac/ppc4xx_edac.c edac_mc_chipset_printk(mci, level, "PPC4xx", fmt, ##arg) level 27 drivers/edac/r82600_edac.c #define r82600_printk(level, fmt, arg...) \ level 28 drivers/edac/r82600_edac.c edac_printk(level, "r82600", fmt, ##arg) level 30 drivers/edac/r82600_edac.c #define r82600_mc_printk(mci, level, fmt, arg...) \ level 31 drivers/edac/r82600_edac.c edac_mc_chipset_printk(mci, level, "r82600", fmt, ##arg) level 42 drivers/edac/sb_edac.c #define sbridge_printk(level, fmt, arg...) \ level 43 drivers/edac/sb_edac.c edac_printk(level, "sbridge", fmt, ##arg) level 45 drivers/edac/sb_edac.c #define sbridge_mc_printk(mci, level, fmt, arg...) \ level 46 drivers/edac/sb_edac.c edac_mc_chipset_printk(mci, level, "sbridge", fmt, ##arg) level 21 drivers/edac/skx_base.c #define skx_printk(level, fmt, arg...) \ level 22 drivers/edac/skx_base.c edac_printk(level, "skx", fmt, ##arg) level 24 drivers/edac/skx_base.c #define skx_mc_printk(mci, level, fmt, arg...) \ level 25 drivers/edac/skx_base.c edac_mc_chipset_printk(mci, level, "skx", fmt, ##arg) level 17 drivers/edac/skx_common.h #define skx_printk(level, fmt, arg...) \ level 18 drivers/edac/skx_common.h edac_printk(level, "skx", fmt, ##arg) level 20 drivers/edac/skx_common.h #define skx_mc_printk(mci, level, fmt, arg...) \ level 21 drivers/edac/skx_common.h edac_mc_chipset_printk(mci, level, "skx", fmt, ##arg) level 1228 drivers/extcon/extcon-arizona.c unsigned int level) level 1237 drivers/extcon/extcon-arizona.c level <<= 8; level 1243 drivers/extcon/extcon-arizona.c regmap_update_bits(arizona->regmap, reg, mask, level); level 76 drivers/firmware/arm_scmi/perf.c __le32 level; level 412 drivers/firmware/arm_scmi/perf.c u32 level, bool poll) level 426 drivers/firmware/arm_scmi/perf.c lvl->level = cpu_to_le32(level); level 435 drivers/firmware/arm_scmi/perf.c u32 level, bool poll) level 441 drivers/firmware/arm_scmi/perf.c iowrite32(level, dom->fc_info->level_set_addr); level 446 drivers/firmware/arm_scmi/perf.c return scmi_perf_mb_level_set(handle, domain, level, poll); level 450 drivers/firmware/arm_scmi/perf.c u32 *level, bool poll) level 465 drivers/firmware/arm_scmi/perf.c *level = get_unaligned_le32(t->rx.buf); level 472 drivers/firmware/arm_scmi/perf.c u32 *level, bool poll) level 478 drivers/firmware/arm_scmi/perf.c *level = ioread32(dom->fc_info->level_get_addr); level 482 drivers/firmware/arm_scmi/perf.c return scmi_perf_mb_level_get(handle, domain, level, poll); level 656 drivers/firmware/arm_scmi/perf.c u32 level; level 660 drivers/firmware/arm_scmi/perf.c ret = scmi_perf_level_get(handle, domain, &level, poll); level 662 drivers/firmware/arm_scmi/perf.c *freq = level * dom->mult_factor; level 92 drivers/firmware/efi/cper-arm.c u8 trans_type, op_type, level, participation_type, address_space; level 143 drivers/firmware/efi/cper-arm.c level = ((error_info >> CPER_ARM_ERR_LEVEL_SHIFT) level 147 drivers/firmware/efi/cper-arm.c printk("%scache level: %d\n", pfx, level); level 150 drivers/firmware/efi/cper-arm.c printk("%sTLB level: %d\n", pfx, level); level 154 drivers/firmware/efi/cper-arm.c pfx, level); level 172 drivers/firmware/efi/cper.c printk("%s""level: %d\n", pfx, proc->level); level 214 drivers/gpio/gpio-adnp.c const char *level = "low "; level 222 drivers/gpio/gpio-adnp.c level = "high"; level 231 drivers/gpio/gpio-adnp.c direction, level, interrupt, pending); level 280 drivers/gpio/gpio-adnp.c u8 changed, level, isr, ier; level 286 drivers/gpio/gpio-adnp.c err = adnp_read(adnp, GPIO_PLR(adnp) + i, &level); level 307 drivers/gpio/gpio-adnp.c changed = level ^ adnp->irq_level[i]; level 310 drivers/gpio/gpio-adnp.c pending = changed & ((adnp->irq_fall[i] & ~level) | level 311 drivers/gpio/gpio-adnp.c (adnp->irq_rise[i] & level)); level 314 drivers/gpio/gpio-adnp.c pending |= (adnp->irq_high[i] & level) | level 315 drivers/gpio/gpio-adnp.c (adnp->irq_low[i] & ~level); level 174 drivers/gpio/gpio-brcmstb.c u32 level, ilevel; level 179 drivers/gpio/gpio-brcmstb.c level = mask; level 184 drivers/gpio/gpio-brcmstb.c level = mask; level 189 drivers/gpio/gpio-brcmstb.c level = 0; level 194 drivers/gpio/gpio-brcmstb.c level = 0; level 199 drivers/gpio/gpio-brcmstb.c level = 0; level 221 drivers/gpio/gpio-brcmstb.c ilevel | level); level 282 drivers/gpio/gpio-dwapb.c unsigned long level, polarity, flags; level 289 drivers/gpio/gpio-dwapb.c level = dwapb_read(gpio, GPIO_INTTYPE_LEVEL); level 294 drivers/gpio/gpio-dwapb.c level |= BIT(bit); level 298 drivers/gpio/gpio-dwapb.c level |= BIT(bit); level 302 drivers/gpio/gpio-dwapb.c level |= BIT(bit); level 306 drivers/gpio/gpio-dwapb.c level &= ~BIT(bit); level 310 drivers/gpio/gpio-dwapb.c level &= ~BIT(bit); level 317 drivers/gpio/gpio-dwapb.c dwapb_write(gpio, GPIO_INTTYPE_LEVEL, level); level 76 drivers/gpio/gpio-hlwd.c u32 level, rising, falling; level 78 drivers/gpio/gpio-hlwd.c level = ioread32be(hlwd->regs + HW_GPIOB_INTLVL); level 79 drivers/gpio/gpio-hlwd.c rising = level & emulated_pending; level 80 drivers/gpio/gpio-hlwd.c falling = ~level & emulated_pending; level 83 drivers/gpio/gpio-hlwd.c iowrite32be(level ^ emulated_pending, level 154 drivers/gpio/gpio-hlwd.c u32 level, state; level 157 drivers/gpio/gpio-hlwd.c level = ioread32be(hlwd->regs + HW_GPIOB_INTLVL); level 159 drivers/gpio/gpio-hlwd.c level &= ~BIT(hwirq); level 160 drivers/gpio/gpio-hlwd.c level |= state ^ BIT(hwirq); level 161 drivers/gpio/gpio-hlwd.c iowrite32be(level, hlwd->regs + HW_GPIOB_INTLVL); level 177 drivers/gpio/gpio-hlwd.c u32 level; level 185 drivers/gpio/gpio-hlwd.c level = ioread32be(hlwd->regs + HW_GPIOB_INTLVL); level 186 drivers/gpio/gpio-hlwd.c level |= BIT(data->hwirq); level 187 drivers/gpio/gpio-hlwd.c iowrite32be(level, hlwd->regs + HW_GPIOB_INTLVL); level 190 drivers/gpio/gpio-hlwd.c level = ioread32be(hlwd->regs + HW_GPIOB_INTLVL); level 191 drivers/gpio/gpio-hlwd.c level &= ~BIT(data->hwirq); level 192 drivers/gpio/gpio-hlwd.c iowrite32be(level, hlwd->regs + HW_GPIOB_INTLVL); level 80 drivers/gpio/gpio-loongson.c unsigned gpio, int level) level 84 drivers/gpio/gpio-loongson.c loongson_gpio_set_value(chip, gpio, level); level 121 drivers/gpio/gpio-max730x.c int config, level = -EINVAL; level 134 drivers/gpio/gpio-max730x.c level = !!(ts->out_level & (1 << offset)); level 139 drivers/gpio/gpio-max730x.c level = ts->read(ts->dev, 0x20 + offset) & 0x01; level 143 drivers/gpio/gpio-max730x.c return level; level 378 drivers/gpio/gpio-max732x.c uint16_t level; level 384 drivers/gpio/gpio-max732x.c level = __ffs(new_irqs); level 385 drivers/gpio/gpio-max732x.c max732x_gpio_direction_input(&chip->gpio_chip, level); level 386 drivers/gpio/gpio-max732x.c new_irqs &= ~(1 << level); level 477 drivers/gpio/gpio-max732x.c uint8_t level; level 485 drivers/gpio/gpio-max732x.c level = __ffs(pending); level 487 drivers/gpio/gpio-max732x.c level)); level 489 drivers/gpio/gpio-max732x.c pending &= ~(1 << level); level 606 drivers/gpio/gpio-pca953x.c int level, i; level 629 drivers/gpio/gpio-pca953x.c level = __ffs(new_irqs); level 631 drivers/gpio/gpio-pca953x.c level + (BANK_SZ * i)); level 632 drivers/gpio/gpio-pca953x.c new_irqs &= ~(1 << level); level 745 drivers/gpio/gpio-pca953x.c u8 level; level 754 drivers/gpio/gpio-pca953x.c level = __ffs(pending[i]); level 756 drivers/gpio/gpio-pca953x.c level + (BANK_SZ * i))); level 757 drivers/gpio/gpio-pca953x.c pending[i] &= ~(1 << level); level 142 drivers/gpio/gpio-tegra186.c unsigned int offset, int level) level 149 drivers/gpio/gpio-tegra186.c chip->set(chip, offset, level); level 188 drivers/gpio/gpio-tegra186.c int level) level 199 drivers/gpio/gpio-tegra186.c if (level == 0) level 304 drivers/gpio/gpio-vr41xx.c void vr41xx_set_irq_level(unsigned int pin, irq_level_t level) level 310 drivers/gpio/gpio-vr41xx.c if (level == IRQ_LEVEL_HIGH) level 317 drivers/gpio/gpio-vr41xx.c if (level == IRQ_LEVEL_HIGH) level 853 drivers/gpio/gpiolib.c int level = gpiod_get_value_cansleep(le->desc); level 854 drivers/gpio/gpiolib.c if (level) level 319 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h #define amdgpu_dpm_force_clock_level(adev, type, level) \ level 320 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h ((adev)->powerplay.pp_funcs->force_clock_level((adev)->powerplay.pp_handle, type, level)) level 41 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c void amdgpu_gmc_get_pde_for_bo(struct amdgpu_bo *bo, int level, level 60 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c amdgpu_gmc_get_vm_pde(adev, level, addr, flags); level 107 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h void (*get_vm_pde)(struct amdgpu_device *adev, int level, level 189 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h #define amdgpu_gmc_get_vm_pde(adev, level, dst, flags) (adev)->gmc.gmc_funcs->get_vm_pde((adev), (level), (dst), (flags)) level 220 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h void amdgpu_gmc_get_pde_for_bo(struct amdgpu_bo *bo, int level, level 271 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h u8 level); level 285 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c enum amd_dpm_forced_level level = 0xff; level 295 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c level = smu_get_performance_level(&adev->smu); level 297 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c level = amdgpu_dpm_get_performance_level(adev); level 299 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c level = adev->pm.dpm.forced_level; level 302 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c (level == AMD_DPM_FORCED_LEVEL_AUTO) ? "auto" : level 303 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c (level == AMD_DPM_FORCED_LEVEL_LOW) ? "low" : level 304 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c (level == AMD_DPM_FORCED_LEVEL_HIGH) ? "high" : level 305 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c (level == AMD_DPM_FORCED_LEVEL_MANUAL) ? "manual" : level 306 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c (level == AMD_DPM_FORCED_LEVEL_PROFILE_STANDARD) ? "profile_standard" : level 307 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c (level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_SCLK) ? "profile_min_sclk" : level 308 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c (level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_MCLK) ? "profile_min_mclk" : level 309 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c (level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) ? "profile_peak" : level 320 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c enum amd_dpm_forced_level level; level 330 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c level = AMD_DPM_FORCED_LEVEL_LOW; level 332 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c level = AMD_DPM_FORCED_LEVEL_HIGH; level 334 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c level = AMD_DPM_FORCED_LEVEL_AUTO; level 336 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c level = AMD_DPM_FORCED_LEVEL_MANUAL; level 338 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c level = AMD_DPM_FORCED_LEVEL_PROFILE_EXIT; level 340 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c level = AMD_DPM_FORCED_LEVEL_PROFILE_STANDARD; level 342 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c level = AMD_DPM_FORCED_LEVEL_PROFILE_MIN_SCLK; level 344 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c level = AMD_DPM_FORCED_LEVEL_PROFILE_MIN_MCLK; level 346 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c level = AMD_DPM_FORCED_LEVEL_PROFILE_PEAK; level 357 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->virt.ops->force_dpm_level(adev, level); level 370 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (current_level == level) level 378 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c (level == AMD_DPM_FORCED_LEVEL_PROFILE_EXIT)) { level 384 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c ret = smu_force_performance_level(&adev->smu, level); level 394 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c ret = amdgpu_dpm_force_performance_level(adev, level); level 398 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->pm.dpm.forced_level = level; level 861 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c long level; level 877 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c ret = kstrtol(sub_str, 0, &level); level 880 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c *mask |= 1 << level; level 2650 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c enum amd_dpm_forced_level level = adev->pm.dpm.forced_level; level 2654 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->pm.dpm.forced_level = level; level 522 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c unsigned level = msg[57]; level 537 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c switch(level) { level 615 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c switch(level) { level 61 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h int (*force_dpm_level)(struct amdgpu_device *adev, u32 level); level 95 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c unsigned level) level 99 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c switch (level) { level 103 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c shift = 9 * (AMDGPU_VM_PDB0 - level) + level 110 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c dev_err(adev->dev, "the level%d isn't supported.\n", level); level 126 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c unsigned level) level 131 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (level == adev->vm_manager.root_level) level 134 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c else if (level != AMDGPU_VM_PTB) level 168 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c unsigned int level) level 170 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (level <= adev->vm_manager.root_level) level 172 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c else if (level != AMDGPU_VM_PTB) level 187 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c static unsigned amdgpu_vm_bo_size(struct amdgpu_device *adev, unsigned level) level 189 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c return AMDGPU_GPU_PAGE_ALIGN(amdgpu_vm_num_entries(adev, level) * 8); level 351 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c unsigned level; level 371 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c cursor->level = adev->vm_manager.root_level; level 393 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c mask = amdgpu_vm_entries_mask(adev, cursor->level); level 394 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c shift = amdgpu_vm_level_shift(adev, cursor->level); level 396 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c ++cursor->level; level 423 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c shift = amdgpu_vm_level_shift(adev, cursor->level - 1); level 424 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c num_entries = amdgpu_vm_num_entries(adev, cursor->level - 1); level 449 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c --cursor->level; level 707 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c unsigned level = adev->vm_manager.root_level; level 716 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c ++level; level 718 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c ++level; level 773 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (level != AMDGPU_VM_PTB) { level 776 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_gmc_get_vm_pde(adev, level, &value, &flags); level 791 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (level != AMDGPU_VM_PTB) { level 794 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_gmc_get_vm_pde(adev, level, level 819 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c int level, struct amdgpu_bo_param *bp) level 823 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c bp->size = amdgpu_vm_bo_size(adev, level); level 860 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (cursor->level < AMDGPU_VM_PTB && !entry->entries) { level 863 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c num_entries = amdgpu_vm_num_entries(adev, cursor->level); level 874 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_bo_param(adev, vm, cursor->level, &bp); level 1197 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c unsigned level; level 1199 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c for (level = 0, pbo = bo->parent; pbo; ++level) level 1202 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c level += params->adev->vm_manager.root_level; level 1203 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_gmc_get_pde_for_bo(entry->base.bo, level, &pt, &flags); level 1283 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c struct amdgpu_bo *bo, unsigned level, level 1289 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (level != AMDGPU_VM_PTB) { level 1291 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_gmc_get_vm_pde(params->adev, level, &addr, &flags); level 1407 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (cursor.level == adev->vm_manager.root_level) { level 1413 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c shift = amdgpu_vm_level_shift(adev, cursor.level); level 1414 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c parent_shift = amdgpu_vm_level_shift(adev, cursor.level - 1); level 1418 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (cursor.level != AMDGPU_VM_PTB) { level 1432 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c cursor.level - 1 != adev->vm_manager.root_level) { level 1444 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c mask = amdgpu_vm_entries_mask(adev, cursor.level); level 1454 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_update_flags(params, pt, cursor.level, level 83 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c u8 level) level 96 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c dig->backlight_level = level; level 125 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c u8 level; level 129 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c level = 0; level 131 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c level = AMDGPU_MAX_BL_LEVEL; level 133 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c level = bd->props.brightness; level 135 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c return level; level 36 drivers/gpu/drm/amd/amdgpu/atombios_encoders.h u8 level); level 496 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c static void gmc_v10_0_get_vm_pde(struct amdgpu_device *adev, int level, level 507 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c if (level == AMDGPU_VM_PDB1) { level 512 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c } else if (level == AMDGPU_VM_PDB0) { level 404 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c static void gmc_v6_0_get_vm_pde(struct amdgpu_device *adev, int level, level 481 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c static void gmc_v7_0_get_vm_pde(struct amdgpu_device *adev, int level, level 706 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c static void gmc_v8_0_get_vm_pde(struct amdgpu_device *adev, int level, level 700 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c static void gmc_v9_0_get_vm_pde(struct amdgpu_device *adev, int level, level 711 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c if (level == AMDGPU_VM_PDB1) { level 716 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c } else if (level == AMDGPU_VM_PDB0) { level 56 drivers/gpu/drm/amd/amdgpu/kv_dpm.c static int kv_set_enabled_level(struct amdgpu_device *adev, u32 level); level 1880 drivers/gpu/drm/amd/amdgpu/kv_dpm.c enum amd_dpm_forced_level level) level 1885 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (level == AMD_DPM_FORCED_LEVEL_HIGH) { level 1889 drivers/gpu/drm/amd/amdgpu/kv_dpm.c } else if (level == AMD_DPM_FORCED_LEVEL_LOW) { level 1893 drivers/gpu/drm/amd/amdgpu/kv_dpm.c } else if (level == AMD_DPM_FORCED_LEVEL_AUTO) { level 1899 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm.forced_level = level; level 2474 drivers/gpu/drm/amd/amdgpu/kv_dpm.c static int kv_set_enabled_level(struct amdgpu_device *adev, u32 level) level 2476 drivers/gpu/drm/amd/amdgpu/kv_dpm.c u32 new_mask = (1 << level); level 211 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c static int xgpu_ai_force_dpm_level(struct amdgpu_device *adev, u32 level) level 220 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c xgpu_ai_mailbox_trans_msg(adev, req, level, 0, 0); level 1848 drivers/gpu/drm/amd/amdgpu/si_dpm.c SISLANDS_SMC_HW_PERFORMANCE_LEVEL *level); level 3861 drivers/gpu/drm/amd/amdgpu/si_dpm.c enum amd_dpm_forced_level level) level 3868 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (level == AMD_DPM_FORCED_LEVEL_HIGH) { level 3874 drivers/gpu/drm/amd/amdgpu/si_dpm.c } else if (level == AMD_DPM_FORCED_LEVEL_LOW) { level 3880 drivers/gpu/drm/amd/amdgpu/si_dpm.c } else if (level == AMD_DPM_FORCED_LEVEL_AUTO) { level 3888 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.forced_level = level; level 5441 drivers/gpu/drm/amd/amdgpu/si_dpm.c SISLANDS_SMC_HW_PERFORMANCE_LEVEL *level) level 5453 drivers/gpu/drm/amd/amdgpu/si_dpm.c level->gen2PCIE = (u8)si_pi->force_pcie_gen; level 5455 drivers/gpu/drm/amd/amdgpu/si_dpm.c level->gen2PCIE = (u8)pl->pcie_gen; level 5457 drivers/gpu/drm/amd/amdgpu/si_dpm.c ret = si_populate_sclk_value(adev, pl->sclk, &level->sclk); level 5461 drivers/gpu/drm/amd/amdgpu/si_dpm.c level->mcFlags = 0; level 5468 drivers/gpu/drm/amd/amdgpu/si_dpm.c level->mcFlags |= SISLANDS_SMC_MC_STUTTER_EN; level 5471 drivers/gpu/drm/amd/amdgpu/si_dpm.c level->mcFlags |= SISLANDS_SMC_MC_PG_EN; level 5476 drivers/gpu/drm/amd/amdgpu/si_dpm.c level->mcFlags |= SISLANDS_SMC_MC_EDC_RD_FLAG; level 5479 drivers/gpu/drm/amd/amdgpu/si_dpm.c level->mcFlags |= SISLANDS_SMC_MC_EDC_WR_FLAG; level 5481 drivers/gpu/drm/amd/amdgpu/si_dpm.c level->strobeMode = si_get_strobe_mode_settings(adev, pl->mclk); level 5483 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (level->strobeMode & SISLANDS_SMC_STROBE_ENABLE) { level 5493 drivers/gpu/drm/amd/amdgpu/si_dpm.c level->strobeMode = si_get_strobe_mode_settings(adev, level 5502 drivers/gpu/drm/amd/amdgpu/si_dpm.c &level->mclk, level 5503 drivers/gpu/drm/amd/amdgpu/si_dpm.c (level->strobeMode & SISLANDS_SMC_STROBE_ENABLE) != 0, dll_state_on); level 5509 drivers/gpu/drm/amd/amdgpu/si_dpm.c pl->vddc, &level->vddc); level 5514 drivers/gpu/drm/amd/amdgpu/si_dpm.c ret = si_get_std_voltage_value(adev, &level->vddc, &std_vddc); level 5519 drivers/gpu/drm/amd/amdgpu/si_dpm.c level->vddc.index, &level->std_vddc); level 5525 drivers/gpu/drm/amd/amdgpu/si_dpm.c pl->vddci, &level->vddci); level 5536 drivers/gpu/drm/amd/amdgpu/si_dpm.c &level->vddc); level 5541 drivers/gpu/drm/amd/amdgpu/si_dpm.c level->MaxPoweredUpCU = si_pi->max_cu; level 5543 drivers/gpu/drm/amd/amdgpu/si_dpm.c ret = si_populate_mvdd_value(adev, pl->mclk, &level->mvdd); level 367 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c validation_clks.level = 0; level 374 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c validation_clks.level = 0; level 384 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c validation_clks.level); level 313 drivers/gpu/drm/amd/display/dc/dce/dce_abm.c static bool dce_abm_set_level(struct abm *abm, uint32_t level) level 326 drivers/gpu/drm/amd/display/dc/dce/dce_abm.c MASTER_COMM_CMD_REG_BYTE2, level); level 199 drivers/gpu/drm/amd/include/amd_shared.h int (*enable_umd_pstate)(void *handle, enum amd_dpm_forced_level *level); level 116 drivers/gpu/drm/amd/include/dm_pp_interface.h uint32_t level; level 248 drivers/gpu/drm/amd/include/kgd_pp_interface.h int (*force_performance_level)(void *handle, enum amd_dpm_forced_level level); level 311 drivers/gpu/drm/amd/powerplay/amd_powerplay.c enum amd_dpm_forced_level *level) level 320 drivers/gpu/drm/amd/powerplay/amd_powerplay.c if (*level & profile_mode_mask) { level 332 drivers/gpu/drm/amd/powerplay/amd_powerplay.c if (!(*level & profile_mode_mask)) { level 333 drivers/gpu/drm/amd/powerplay/amd_powerplay.c if (*level == AMD_DPM_FORCED_LEVEL_PROFILE_EXIT) level 334 drivers/gpu/drm/amd/powerplay/amd_powerplay.c *level = hwmgr->saved_dpm_level; level 347 drivers/gpu/drm/amd/powerplay/amd_powerplay.c enum amd_dpm_forced_level level) level 354 drivers/gpu/drm/amd/powerplay/amd_powerplay.c if (level == hwmgr->dpm_level) level 358 drivers/gpu/drm/amd/powerplay/amd_powerplay.c pp_dpm_en_umd_pstate(hwmgr, &level); level 359 drivers/gpu/drm/amd/powerplay/amd_powerplay.c hwmgr->request_dpm_level = level; level 370 drivers/gpu/drm/amd/powerplay/amd_powerplay.c enum amd_dpm_forced_level level; level 376 drivers/gpu/drm/amd/powerplay/amd_powerplay.c level = hwmgr->dpm_level; level 378 drivers/gpu/drm/amd/powerplay/amd_powerplay.c return level; level 1103 drivers/gpu/drm/amd/powerplay/amd_powerplay.c if (simple_clocks.level == 0) level 1106 drivers/gpu/drm/amd/powerplay/amd_powerplay.c clocks->max_clocks_state = simple_clocks.level; level 1209 drivers/gpu/drm/amd/powerplay/amd_powerplay.c clocks->level = PP_DAL_POWERLEVEL_7; level 275 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c uint16_t level, uint32_t *value) level 290 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c param = (uint32_t)(((clk_id & 0xffff) << 16) | (level & 0xffff)); level 1441 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c struct smu_performance_level level = {0}; level 1446 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c ret = smu_get_perf_level(smu, PERF_LEVEL_ACTIVITY, &level); level 1450 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c clk_info->min_mem_clk = level.memory_clock; level 1451 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c clk_info->min_eng_clk = level.core_clock; level 1452 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c clk_info->min_bus_bandwidth = level.non_local_mem_freq * level.non_local_mem_width; level 1454 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c ret = smu_get_perf_level(smu, designation, &level); level 1458 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c clk_info->min_mem_clk = level.memory_clock; level 1459 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c clk_info->min_eng_clk = level.core_clock; level 1460 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c clk_info->min_bus_bandwidth = level.non_local_mem_freq * level.non_local_mem_width; level 1499 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (simple_clocks.level == 0) level 1502 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c clocks->max_clocks_state = simple_clocks.level; level 1527 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c enum amd_dpm_forced_level *level) level 1541 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (*level & profile_mode_mask) { level 1553 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (!(*level & profile_mode_mask)) { level 1554 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (*level == AMD_DPM_FORCED_LEVEL_PROFILE_EXIT) level 1555 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c *level = smu_dpm_ctx->saved_dpm_level; level 1569 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c static int smu_default_set_performance_level(struct smu_context *smu, enum amd_dpm_forced_level level) level 1574 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c switch (level) { level 1588 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c ret = smu_get_profiling_clk_mask(smu, level, level 1607 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c enum amd_dpm_forced_level level, level 1640 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (smu_dpm_ctx->dpm_level != level) { level 1641 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c ret = smu_asic_set_performance_level(smu, level); level 1643 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c ret = smu_default_set_performance_level(smu, level); level 1651 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c smu_dpm_ctx->dpm_level = level; level 1667 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c enum amd_dpm_forced_level level, level 1680 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c ret = smu_adjust_power_state_dynamic(smu, level, false); level 1684 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c ret = smu_adjust_power_state_dynamic(smu, level, true); level 1732 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c enum amd_dpm_forced_level level; level 1738 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c level = smu_dpm_ctx->dpm_level; level 1741 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c return level; level 1744 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c int smu_force_performance_level(struct smu_context *smu, enum amd_dpm_forced_level level) level 1752 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c ret = smu_enable_umd_pstate(smu, &level); level 1756 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c ret = smu_handle_task(smu, level, level 1290 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c enum amd_dpm_forced_level level, level 1320 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c if (level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_SCLK) { level 1322 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c } else if (level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_MCLK) { level 1324 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c } else if (level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { level 113 drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c int phm_force_dpm_levels(struct pp_hwmgr *hwmgr, enum amd_dpm_forced_level level) level 120 drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c ret = hwmgr->hwmgr_func->force_dpm_level(hwmgr, level); level 347 drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c PHM_PerformanceLevel *level) level 353 drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c return hwmgr->hwmgr_func->get_performance_level(hwmgr, state, designation, index, level); level 1319 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c uint8_t level) level 1329 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c memory_clock_parameters.asDPMMCReg.ucMclkDPMState = level; level 317 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.h uint8_t level); level 568 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c enum amd_dpm_forced_level level) level 586 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c switch (level) { level 758 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c smu10_ps->level = index + 1; level 932 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c PHM_PerformanceLevel *level) level 936 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c if (level == NULL || hwmgr == NULL || state == NULL) level 942 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c level->memory_clock = data->clock_vol_info.vdd_dep_on_fclk->entries[0].clk; level 943 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c level->coreClock = data->gfx_min_freq_limit; level 945 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c level->memory_clock = data->clock_vol_info.vdd_dep_on_fclk->entries[ level 947 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c level->coreClock = data->gfx_max_freq_limit; level 950 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c level->nonLocalMemoryFreq = 0; level 951 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c level->nonLocalMemoryWidth = 0; level 962 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c clock_info->max_eng_clk = ps->levels[ps->level - 1].engine_clock / (1 << (ps->levels[ps->level - 1].ss_divider_index)); level 129 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.h uint32_t level; level 2602 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c uint32_t level, tmp; level 2606 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c level = 0; level 2609 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c level++; level 2611 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (level) level 2613 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c PPSMC_MSG_PCIeDPM_ForceLevel, level); level 2619 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c level = 0; level 2622 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c level++; level 2624 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (level) level 2627 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c (1 << level)); level 2633 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c level = 0; level 2636 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c level++; level 2638 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (level) level 2641 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c (1 << level)); level 2692 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c uint32_t level; level 2696 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c level = phm_get_lowest_enabled_level(hwmgr, level 2700 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c (1 << level)); level 2706 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c level = phm_get_lowest_enabled_level(hwmgr, level 2710 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c (1 << level)); level 2716 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c level = phm_get_lowest_enabled_level(hwmgr, level 2720 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c (level)); level 2727 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c static int smu7_get_profiling_clk(struct pp_hwmgr *hwmgr, enum amd_dpm_forced_level level, level 2763 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (count < 0 || level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_SCLK) { level 2768 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) level 2781 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (count < 0 || level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_SCLK) { level 2786 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) level 2790 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_MCLK) level 2792 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c else if (level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) level 2803 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c enum amd_dpm_forced_level level) level 2811 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_get_profiling_clk(hwmgr, level, &sclk_mask, &mclk_mask, &pcie_mask); level 2813 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c switch (level) { level 2827 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c ret = smu7_get_profiling_clk(hwmgr, level, &sclk_mask, &mclk_mask, &pcie_mask); level 2841 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK && hwmgr->dpm_level != AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) level 2843 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c else if (level != AMD_DPM_FORCED_LEVEL_PROFILE_PEAK && hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) level 4985 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c uint32_t tmp, level; level 4989 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c level = 0; level 4992 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c level++; level 4993 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (level > 0) level 4994 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_force_clock_level(hwmgr, PP_SCLK, 3 << (level-1)); level 5074 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c PHM_PerformanceLevel *level) level 5080 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (level == NULL || hwmgr == NULL || state == NULL) level 5089 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c level->coreClock = ps->performance_levels[i].engine_clock; level 5090 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c level->memory_clock = ps->performance_levels[i].memory_clock; level 557 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c unsigned long clock = 0, level; level 565 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c level = smu8_get_max_sclk_level(hwmgr) - 1; level 567 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c if (level < table->count) level 568 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c clock = table->entries[level].clk; level 583 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c unsigned long clock = 0, level; level 592 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c level = smum_get_argument(hwmgr); level 594 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c if (level < table->count) level 595 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c clock = table->entries[level].vclk; level 610 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c unsigned long clock = 0, level; level 619 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c level = smum_get_argument(hwmgr); level 621 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c if (level < table->count) level 622 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c clock = table->entries[level].ecclk; level 637 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c unsigned long clock = 0, level; level 646 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c level = smum_get_argument(hwmgr); level 648 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c if (level < table->count) level 649 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c clock = table->entries[level].acpclk; level 688 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c unsigned long level; level 693 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c level = smu8_get_max_sclk_level(hwmgr) - 1; level 695 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c if (level < table->count) level 696 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c data->sclk_dpm.soft_max_clk = table->entries[level].clk; level 1146 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c unsigned long clock = 0, level; level 1156 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c level = smu8_get_max_sclk_level(hwmgr) - 1; level 1158 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c if (level < table->count) level 1159 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c clock = table->entries[level].clk; level 1201 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c enum amd_dpm_forced_level level) level 1205 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c switch (level) { level 1316 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c return smu8_ps->levels[smu8_ps->level-1].engineClock; level 1325 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c smu8_ps->level = 1; level 1353 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c smu8_ps->level = index + 1; level 1486 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c info->level = table->entries[i].clk; level 1553 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c PHM_PerformanceLevel *level) level 1560 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c if (level == NULL || hwmgr == NULL || state == NULL) level 1566 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c level_index = index > ps->level - 1 ? ps->level - 1 : index; level 1567 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c level->coreClock = ps->levels[level_index].engineClock; level 1570 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c for (i = 1; i < ps->level; i++) { level 1572 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c level->coreClock = ps->levels[i].engineClock; level 1579 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c level->memory_clock = data->sys_info.nbp_memory_clock[SMU8_NUM_NBPMEMORYCLOCK - 1]; level 1581 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c level->memory_clock = data->sys_info.nbp_memory_clock[0]; level 1583 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c level->vddc = (smu8_convert_8Bit_index_to_voltage(hwmgr, ps->levels[level_index].vddcIndex) + 2) / 4; level 1584 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c level->nonLocalMemoryFreq = 0; level 1585 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c level->nonLocalMemoryWidth = 0; level 1596 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c clock_info->max_eng_clk = ps->levels[ps->level - 1].engineClock / (1 << (ps->levels[ps->level - 1].ssDividerIndex)); level 1635 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c unsigned long level; level 1642 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c level = smu8_get_max_sclk_level(hwmgr) - 1; level 1644 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c if (level < table->count) level 1645 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c clocks->engine_max_clock = table->entries[level].clk; level 145 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.h uint32_t level; level 525 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c uint32_t level = 0; level 527 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c while (0 == (mask & (1 << level))) level 528 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c level++; level 530 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c return level; level 4031 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c static int vega10_get_profiling_clk_mask(struct pp_hwmgr *hwmgr, enum amd_dpm_forced_level level, level 4047 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_SCLK) { level 4049 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c } else if (level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_MCLK) { level 4051 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c } else if (level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { level 4138 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c enum amd_dpm_forced_level level) level 4146 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c vega10_get_profiling_clk_mask(hwmgr, level, &sclk_mask, &mclk_mask, &soc_mask); level 4148 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c switch (level) { level 4162 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c ret = vega10_get_profiling_clk_mask(hwmgr, level, &sclk_mask, &mclk_mask, &soc_mask); level 4175 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK && hwmgr->dpm_level != AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) level 4177 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c else if (level != AMD_DPM_FORCED_LEVEL_PROFILE_PEAK && hwmgr->dpm_level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) level 5247 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c PHM_PerformanceLevel *level) level 5253 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (level == NULL || hwmgr == NULL || state == NULL) level 5262 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c level->coreClock = ps->performance_levels[i].gfx_clock; level 5263 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c level->memory_clock = ps->performance_levels[i].mem_clock; level 1582 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c static int vega12_get_profiling_clk_mask(struct pp_hwmgr *hwmgr, enum amd_dpm_forced_level level, level 1602 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_SCLK) { level 1604 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c } else if (level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_MCLK) { level 1606 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c } else if (level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { level 1634 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c enum amd_dpm_forced_level level) level 1641 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c switch (level) { level 1655 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c ret = vega12_get_profiling_clk_mask(hwmgr, level, &sclk_mask, &mclk_mask, &soc_mask); level 2637 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c PHM_PerformanceLevel *level) level 2284 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c PHM_PerformanceLevel *level) level 2473 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c static int vega20_get_profiling_clk_mask(struct pp_hwmgr *hwmgr, enum amd_dpm_forced_level level, level 2493 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_SCLK) { level 2495 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c } else if (level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_MCLK) { level 2497 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c } else if (level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { level 2670 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c enum amd_dpm_forced_level level) level 2675 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c switch (level) { level 2692 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c ret = vega20_get_profiling_clk_mask(hwmgr, level, &sclk_mask, &mclk_mask, &soc_mask); level 441 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h enum amd_dpm_forced_level level, level 459 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h int (*set_performance_level)(struct smu_context *smu, enum amd_dpm_forced_level level); level 522 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h struct smu_performance_level *level); level 640 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h #define smu_force_clk_levels(smu, clk_type, level) \ level 641 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h ((smu)->ppt_funcs->force_clk_levels ? (smu)->ppt_funcs->force_clk_levels((smu), (clk_type), (level)) : 0) level 674 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h #define smu_get_profiling_clk_mask(smu, level, sclk_mask, mclk_mask, soc_mask) \ level 675 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h ((smu)->ppt_funcs->get_profiling_clk_mask ? (smu)->ppt_funcs->get_profiling_clk_mask((smu), (level), (sclk_mask), (mclk_mask), (soc_mask)) : 0) level 725 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h #define smu_get_perf_level(smu, designation, level) \ level 726 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h ((smu)->funcs->get_perf_level ? (smu)->funcs->get_perf_level((smu), (designation), (level)) : 0) level 763 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h #define smu_asic_set_performance_level(smu, level) \ level 764 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h ((smu)->ppt_funcs->set_performance_level? (smu)->ppt_funcs->set_performance_level((smu), (level)) : -EINVAL); level 812 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h enum amd_dpm_forced_level level, level 819 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h uint16_t level, uint32_t *value); level 829 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h int smu_force_performance_level(struct smu_context *smu, enum amd_dpm_forced_level level); level 416 drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h extern int phm_force_dpm_levels(struct pp_hwmgr *hwmgr, enum amd_dpm_forced_level level); level 442 drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h PHM_PerformanceLevel *level); level 247 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h enum amd_dpm_forced_level level); level 1213 drivers/gpu/drm/amd/powerplay/navi10_ppt.c enum amd_dpm_forced_level level, level 1221 drivers/gpu/drm/amd/powerplay/navi10_ppt.c if (level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_SCLK) { level 1224 drivers/gpu/drm/amd/powerplay/navi10_ppt.c } else if (level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_MCLK) { level 1227 drivers/gpu/drm/amd/powerplay/navi10_ppt.c } else if (level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { level 1494 drivers/gpu/drm/amd/powerplay/navi10_ppt.c static int navi10_set_performance_level(struct smu_context *smu, enum amd_dpm_forced_level level) level 1502 drivers/gpu/drm/amd/powerplay/navi10_ppt.c switch (level) { level 407 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c uint32_t clock, struct SMU7_Discrete_GraphicsLevel *level) level 413 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c result = ci_calculate_sclk_params(hwmgr, clock, level); level 418 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c (uint32_t *)(&level->MinVddc)); level 424 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c level->SclkFrequency = clock; level 425 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c level->MinVddcPhases = 1; level 431 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c &level->MinVddcPhases); level 433 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c level->ActivityLevel = data->current_profile_setting.sclk_activity; level 434 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c level->CcPwrDynRm = 0; level 435 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c level->CcPwrDynRm1 = 0; level 436 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c level->EnabledForActivity = 0; level 438 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c level->EnabledForThrottle = 1; level 439 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c level->UpH = data->current_profile_setting.sclk_up_hyst; level 440 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c level->DownH = data->current_profile_setting.sclk_down_hyst; level 441 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c level->VoltageDownH = 0; level 442 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c level->PowerThrottle = 0; level 447 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c level->DeepSleepDivId = level 452 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c level->DisplayWatermark = PPSMC_DISPLAY_WATERMARK_LOW; level 455 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c level->MinVddc = PP_HOST_TO_SMC_UL(level->MinVddc * VOLTAGE_SCALE); level 456 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c CONVERT_FROM_HOST_TO_SMC_UL(level->MinVddcPhases); level 457 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c CONVERT_FROM_HOST_TO_SMC_UL(level->SclkFrequency); level 458 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c CONVERT_FROM_HOST_TO_SMC_US(level->ActivityLevel); level 459 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c CONVERT_FROM_HOST_TO_SMC_UL(level->CgSpllFuncCntl3); level 460 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c CONVERT_FROM_HOST_TO_SMC_UL(level->CgSpllFuncCntl4); level 461 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c CONVERT_FROM_HOST_TO_SMC_UL(level->SpllSpreadSpectrum); level 462 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c CONVERT_FROM_HOST_TO_SMC_UL(level->SpllSpreadSpectrum2); level 463 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c CONVERT_FROM_HOST_TO_SMC_UL(level->CcPwrDynRm); level 464 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c CONVERT_FROM_HOST_TO_SMC_UL(level->CcPwrDynRm1); level 1856 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c uint8_t count, level; level 1860 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c for (level = 0; level < count; level++) { level 1861 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c if (hwmgr->dyn_state.vddc_dependency_on_sclk->entries[level].clk level 1863 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c smu_data->smc_state_table.GraphicsBootLevel = level; level 1870 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c for (level = 0; level < count; level++) { level 1871 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c if (hwmgr->dyn_state.vddc_dependency_on_mclk->entries[level].clk level 1873 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c smu_data->smc_state_table.MemoryBootLevel = level; level 939 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c uint32_t clock, struct SMU73_Discrete_GraphicsLevel *level) level 949 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c result = fiji_calculate_sclk_params(hwmgr, clock, level); level 959 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c (uint32_t *)(&level->MinVoltage), &mvdd); level 965 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c level->SclkFrequency = clock; level 966 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c level->ActivityLevel = data->current_profile_setting.sclk_activity; level 967 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c level->CcPwrDynRm = 0; level 968 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c level->CcPwrDynRm1 = 0; level 969 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c level->EnabledForActivity = 0; level 970 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c level->EnabledForThrottle = 1; level 971 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c level->UpHyst = data->current_profile_setting.sclk_up_hyst; level 972 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c level->DownHyst = data->current_profile_setting.sclk_down_hyst; level 973 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c level->VoltageDownHyst = 0; level 974 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c level->PowerThrottle = 0; level 981 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c level->DeepSleepDivId = smu7_get_sleep_divider_id_from_clock(clock, level 988 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c level->DisplayWatermark = PPSMC_DISPLAY_WATERMARK_LOW; level 990 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c CONVERT_FROM_HOST_TO_SMC_UL(level->MinVoltage); level 991 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c CONVERT_FROM_HOST_TO_SMC_UL(level->SclkFrequency); level 992 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c CONVERT_FROM_HOST_TO_SMC_US(level->ActivityLevel); level 993 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c CONVERT_FROM_HOST_TO_SMC_UL(level->CgSpllFuncCntl3); level 994 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c CONVERT_FROM_HOST_TO_SMC_UL(level->CgSpllFuncCntl4); level 995 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c CONVERT_FROM_HOST_TO_SMC_UL(level->SpllSpreadSpectrum); level 996 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c CONVERT_FROM_HOST_TO_SMC_UL(level->SpllSpreadSpectrum2); level 997 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c CONVERT_FROM_HOST_TO_SMC_UL(level->CcPwrDynRm); level 998 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c CONVERT_FROM_HOST_TO_SMC_UL(level->CcPwrDynRm1); level 1643 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c uint8_t count, level; level 1646 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c for (level = 0; level < count; level++) { level 1647 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c if (table_info->vdd_dep_on_sclk->entries[level].clk >= level 1649 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c smu_data->smc_state_table.GraphicsBootLevel = level; level 1655 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c for (level = 0; level < count; level++) { level 1656 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c if (table_info->vdd_dep_on_mclk->entries[level].clk >= level 1658 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c smu_data->smc_state_table.MemoryBootLevel = level; level 1824 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c uint8_t count, level; level 1828 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c for (level = 0; level < count; level++) { level 1829 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c if (hwmgr->dyn_state.vddc_dependency_on_sclk->entries[level].clk level 1831 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c smu_data->smc_state_table.GraphicsBootLevel = level; level 1838 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c for (level = 0; level < count; level++) { level 1839 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c if (hwmgr->dyn_state.vddc_dependency_on_mclk->entries[level].clk level 1841 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c smu_data->smc_state_table.MemoryBootLevel = level; level 650 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c uint32_t count, level; level 656 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c for (level = 0; level < count; level++) { level 657 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c table->SmioTable2.Pattern[level].Voltage = level 658 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c PP_HOST_TO_SMC_US(data->mvdd_voltage_table.entries[level].value * VOLTAGE_SCALE); level 660 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c table->SmioTable2.Pattern[level].Smio = level 661 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c (uint8_t) level; level 662 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c table->Smio[level] |= level 663 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c data->mvdd_voltage_table.entries[level].smio_low; level 676 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c uint32_t count, level; level 684 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c for (level = 0; level < count; ++level) { level 685 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c table->SmioTable1.Pattern[level].Voltage = level 686 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c PP_HOST_TO_SMC_US(data->vddci_voltage_table.entries[level].value * VOLTAGE_SCALE); level 687 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c table->SmioTable1.Pattern[level].Smio = (uint8_t) level; level 689 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c table->Smio[level] |= data->vddci_voltage_table.entries[level].smio_low; level 907 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c uint32_t clock, struct SMU74_Discrete_GraphicsLevel *level) level 928 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c &level->MinVoltage, &mvdd); level 934 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c level->ActivityLevel = data->current_profile_setting.sclk_activity; level 936 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c level->CcPwrDynRm = 0; level 937 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c level->CcPwrDynRm1 = 0; level 938 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c level->EnabledForActivity = 0; level 939 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c level->EnabledForThrottle = 1; level 940 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c level->UpHyst = data->current_profile_setting.sclk_up_hyst; level 941 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c level->DownHyst = data->current_profile_setting.sclk_down_hyst; level 942 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c level->VoltageDownHyst = 0; level 943 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c level->PowerThrottle = 0; level 947 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c level->DeepSleepDivId = smu7_get_sleep_divider_id_from_clock(clock, level 954 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c level->UpHyst = (uint8_t)data->up_hyst; level 956 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c level->DownHyst = (uint8_t)data->down_hyst; level 958 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c level->SclkSetting = curr_sclk_setting; level 960 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c CONVERT_FROM_HOST_TO_SMC_UL(level->MinVoltage); level 961 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c CONVERT_FROM_HOST_TO_SMC_UL(level->CcPwrDynRm); level 962 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c CONVERT_FROM_HOST_TO_SMC_UL(level->CcPwrDynRm1); level 963 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c CONVERT_FROM_HOST_TO_SMC_US(level->ActivityLevel); level 964 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c CONVERT_FROM_HOST_TO_SMC_UL(level->SclkSetting.SclkFrequency); level 965 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c CONVERT_FROM_HOST_TO_SMC_US(level->SclkSetting.Fcw_int); level 966 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c CONVERT_FROM_HOST_TO_SMC_US(level->SclkSetting.Fcw_frac); level 967 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c CONVERT_FROM_HOST_TO_SMC_US(level->SclkSetting.Pcc_fcw_int); level 968 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c CONVERT_FROM_HOST_TO_SMC_US(level->SclkSetting.Sclk_slew_rate); level 969 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c CONVERT_FROM_HOST_TO_SMC_US(level->SclkSetting.Pcc_up_slew_rate); level 970 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c CONVERT_FROM_HOST_TO_SMC_US(level->SclkSetting.Pcc_down_slew_rate); level 971 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c CONVERT_FROM_HOST_TO_SMC_US(level->SclkSetting.Fcw1_int); level 972 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c CONVERT_FROM_HOST_TO_SMC_US(level->SclkSetting.Fcw1_frac); level 973 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c CONVERT_FROM_HOST_TO_SMC_US(level->SclkSetting.Sclk_ss_slew_rate); level 1487 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c uint8_t count, level; level 1491 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c for (level = 0; level < count; level++) { level 1492 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c if (table_info->vdd_dep_on_sclk->entries[level].clk >= level 1494 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c smu_data->smc_state_table.GraphicsBootLevel = level; level 1500 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c for (level = 0; level < count; level++) { level 1501 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c if (table_info->vdd_dep_on_mclk->entries[level].clk >= level 1503 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c smu_data->smc_state_table.MemoryBootLevel = level; level 451 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c uint32_t count, level; level 457 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c for (level = 0; level < count; level++) { level 458 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c table->SmioTable2.Pattern[level].Voltage = PP_HOST_TO_SMC_US( level 459 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c data->mvdd_voltage_table.entries[level].value * VOLTAGE_SCALE); level 461 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c table->SmioTable2.Pattern[level].Smio = level 462 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c (uint8_t) level; level 463 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c table->Smio[level] |= level 464 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c data->mvdd_voltage_table.entries[level].smio_low; level 477 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c uint32_t count, level; level 485 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c for (level = 0; level < count; ++level) { level 486 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c table->SmioTable1.Pattern[level].Voltage = PP_HOST_TO_SMC_US( level 487 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c data->vddci_voltage_table.entries[level].value * VOLTAGE_SCALE); level 488 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c table->SmioTable1.Pattern[level].Smio = (uint8_t) level; level 490 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c table->Smio[level] |= data->vddci_voltage_table.entries[level].smio_low; level 807 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c uint32_t clock, struct SMU75_Discrete_GraphicsLevel *level) level 822 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c &level->MinVoltage, &mvdd); level 828 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c level->ActivityLevel = (uint16_t)(SclkDPMTuning_VEGAM >> DPMTuning_Activity_Shift); level 830 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c level->CcPwrDynRm = 0; level 831 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c level->CcPwrDynRm1 = 0; level 832 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c level->EnabledForActivity = 0; level 833 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c level->EnabledForThrottle = 1; level 834 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c level->VoltageDownHyst = 0; level 835 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c level->PowerThrottle = 0; level 839 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c level->DeepSleepDivId = vegam_get_sleep_divider_id_from_clock(clock, level 842 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c level->SclkSetting = curr_sclk_setting; level 844 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c CONVERT_FROM_HOST_TO_SMC_UL(level->MinVoltage); level 845 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c CONVERT_FROM_HOST_TO_SMC_UL(level->CcPwrDynRm); level 846 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c CONVERT_FROM_HOST_TO_SMC_UL(level->CcPwrDynRm1); level 847 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c CONVERT_FROM_HOST_TO_SMC_US(level->ActivityLevel); level 848 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c CONVERT_FROM_HOST_TO_SMC_UL(level->SclkSetting.SclkFrequency); level 849 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c CONVERT_FROM_HOST_TO_SMC_US(level->SclkSetting.Fcw_int); level 850 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c CONVERT_FROM_HOST_TO_SMC_US(level->SclkSetting.Fcw_frac); level 851 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c CONVERT_FROM_HOST_TO_SMC_US(level->SclkSetting.Pcc_fcw_int); level 852 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c CONVERT_FROM_HOST_TO_SMC_US(level->SclkSetting.Sclk_slew_rate); level 853 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c CONVERT_FROM_HOST_TO_SMC_US(level->SclkSetting.Pcc_up_slew_rate); level 854 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c CONVERT_FROM_HOST_TO_SMC_US(level->SclkSetting.Pcc_down_slew_rate); level 855 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c CONVERT_FROM_HOST_TO_SMC_US(level->SclkSetting.Fcw1_int); level 856 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c CONVERT_FROM_HOST_TO_SMC_US(level->SclkSetting.Fcw1_frac); level 857 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c CONVERT_FROM_HOST_TO_SMC_US(level->SclkSetting.Sclk_ss_slew_rate); level 1411 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c uint8_t count, level; level 1415 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c for (level = 0; level < count; level++) { level 1416 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c if (table_info->vdd_dep_on_sclk->entries[level].clk >= level 1418 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c smu_data->smc_state_table.GraphicsBootLevel = level; level 1424 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c for (level = 0; level < count; level++) { level 1425 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c if (table_info->vdd_dep_on_mclk->entries[level].clk >= level 1427 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c smu_data->smc_state_table.MemoryBootLevel = level; level 1987 drivers/gpu/drm/amd/powerplay/vega20_ppt.c enum amd_dpm_forced_level level, level 2016 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_SCLK) { level 2018 drivers/gpu/drm/amd/powerplay/vega20_ppt.c } else if (level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_MCLK) { level 2020 drivers/gpu/drm/amd/powerplay/vega20_ppt.c } else if (level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { level 217 drivers/gpu/drm/bridge/analogix/analogix_dp_core.h u32 level); level 219 drivers/gpu/drm/bridge/analogix/analogix_dp_core.h u32 level); level 221 drivers/gpu/drm/bridge/analogix/analogix_dp_core.h u32 level); level 223 drivers/gpu/drm/bridge/analogix/analogix_dp_core.h u32 level); level 698 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c u32 level) level 704 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c reg |= level << PRE_EMPHASIS_SET_SHIFT; level 709 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c u32 level) level 715 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c reg |= level << PRE_EMPHASIS_SET_SHIFT; level 720 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c u32 level) level 726 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c reg |= level << PRE_EMPHASIS_SET_SHIFT; level 731 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c u32 level) level 737 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c reg |= level << PRE_EMPHASIS_SET_SHIFT; level 182 drivers/gpu/drm/drm_print.c void drm_dev_printk(const struct device *dev, const char *level, level 193 drivers/gpu/drm/drm_print.c dev_printk(level, dev, "[" DRM_NAME ":%ps] %pV", level 197 drivers/gpu/drm/drm_print.c level, __builtin_return_address(0), &vaf); level 114 drivers/gpu/drm/gma500/cdv_device.c int level = bd->props.brightness; level 118 drivers/gpu/drm/gma500/cdv_device.c if (level < 1) level 119 drivers/gpu/drm/gma500/cdv_device.c level = 1; level 121 drivers/gpu/drm/gma500/cdv_device.c level *= cdv_get_max_backlight(dev); level 122 drivers/gpu/drm/gma500/cdv_device.c level /= 100; level 128 drivers/gpu/drm/gma500/cdv_device.c lbpc = level * 0xfe / max + 1; level 129 drivers/gpu/drm/gma500/cdv_device.c level /= lbpc; level 136 drivers/gpu/drm/gma500/cdv_device.c (level << BACKLIGHT_DUTY_CYCLE_SHIFT))); level 80 drivers/gpu/drm/gma500/cdv_intel_lvds.c unsigned int level) level 96 drivers/gpu/drm/gma500/cdv_intel_lvds.c blc_i2c_brightness = BRIGHTNESS_MASK & ((unsigned int)level * level 114 drivers/gpu/drm/gma500/cdv_intel_lvds.c static int cdv_lvds_pwm_set_brightness(struct drm_device *dev, int level) level 126 drivers/gpu/drm/gma500/cdv_intel_lvds.c blc_pwm_duty_cycle = level * max_pwm_blc / BRIGHTNESS_MAX_LEVEL; level 142 drivers/gpu/drm/gma500/cdv_intel_lvds.c void cdv_intel_lvds_set_brightness(struct drm_device *dev, int level) level 152 drivers/gpu/drm/gma500/cdv_intel_lvds.c cdv_lvds_i2c_set_brightness(dev, level); level 154 drivers/gpu/drm/gma500/cdv_intel_lvds.c cdv_lvds_pwm_set_brightness(dev, level); level 163 drivers/gpu/drm/gma500/cdv_intel_lvds.c static void cdv_intel_lvds_set_backlight(struct drm_device *dev, int level) level 173 drivers/gpu/drm/gma500/cdv_intel_lvds.c (level << BACKLIGHT_DUTY_CYCLE_SHIFT))); level 179 drivers/gpu/drm/gma500/cdv_intel_lvds.c (level << BACKLIGHT_DUTY_CYCLE_SHIFT)); level 45 drivers/gpu/drm/gma500/mdfld_device.c int level = bd->props.brightness; level 47 drivers/gpu/drm/gma500/mdfld_device.c DRM_DEBUG_DRIVER("backlight level set to %d\n", level); level 50 drivers/gpu/drm/gma500/mdfld_device.c if (level < BRIGHTNESS_MIN_LEVEL) level 51 drivers/gpu/drm/gma500/mdfld_device.c level = BRIGHTNESS_MIN_LEVEL; level 60 drivers/gpu/drm/gma500/mdfld_device.c adjusted_level = level * dev_priv->blc_adj2; level 82 drivers/gpu/drm/gma500/mdfld_device.c dev_priv->brightness = level; level 134 drivers/gpu/drm/gma500/mdfld_dsi_output.c void mdfld_dsi_brightness_control(struct drm_device *dev, int pipe, int level) level 163 drivers/gpu/drm/gma500/mdfld_dsi_output.c gen_ctrl_val = (level * 0xff / MDFLD_DSI_BRIGHTNESS_MAX_LEVEL) & 0xff; level 178 drivers/gpu/drm/gma500/mdfld_dsi_output.c if (level == 0) level 366 drivers/gpu/drm/gma500/mdfld_dsi_output.h int level); level 58 drivers/gpu/drm/gma500/oaktrail_device.c int level = bd->props.brightness; level 63 drivers/gpu/drm/gma500/oaktrail_device.c if (level < 1) level 64 drivers/gpu/drm/gma500/oaktrail_device.c level = 1; level 69 drivers/gpu/drm/gma500/oaktrail_device.c blc_pwm_ctl = level * max_pwm_blc / 100; level 88 drivers/gpu/drm/gma500/oaktrail_device.c oaktrail_brightness = level; level 95 drivers/gpu/drm/gma500/psb_device.c int level = bd->props.brightness; level 98 drivers/gpu/drm/gma500/psb_device.c if (level < 1) level 99 drivers/gpu/drm/gma500/psb_device.c level = 1; level 101 drivers/gpu/drm/gma500/psb_device.c psb_intel_lvds_set_brightness(dev, level); level 102 drivers/gpu/drm/gma500/psb_device.c psb_brightness = level; level 211 drivers/gpu/drm/gma500/psb_intel_drv.h extern void psb_intel_lvds_set_brightness(struct drm_device *dev, int level); level 87 drivers/gpu/drm/gma500/psb_intel_lvds.c unsigned int level) level 105 drivers/gpu/drm/gma500/psb_intel_lvds.c blc_i2c_brightness = BRIGHTNESS_MASK & ((unsigned int)level * level 127 drivers/gpu/drm/gma500/psb_intel_lvds.c static int psb_lvds_pwm_set_brightness(struct drm_device *dev, int level) level 140 drivers/gpu/drm/gma500/psb_intel_lvds.c blc_pwm_duty_cycle = level * max_pwm_blc / BRIGHTNESS_MAX_LEVEL; level 160 drivers/gpu/drm/gma500/psb_intel_lvds.c void psb_intel_lvds_set_brightness(struct drm_device *dev, int level) level 164 drivers/gpu/drm/gma500/psb_intel_lvds.c dev_dbg(dev->dev, "backlight level is %d\n", level); level 172 drivers/gpu/drm/gma500/psb_intel_lvds.c psb_lvds_i2c_set_brightness(dev, level); level 174 drivers/gpu/drm/gma500/psb_intel_lvds.c psb_lvds_pwm_set_brightness(dev, level); level 182 drivers/gpu/drm/gma500/psb_intel_lvds.c static void psb_intel_lvds_set_backlight(struct drm_device *dev, int level) level 192 drivers/gpu/drm/gma500/psb_intel_lvds.c (level << BACKLIGHT_DUTY_CYCLE_SHIFT))); level 194 drivers/gpu/drm/gma500/psb_intel_lvds.c (level << BACKLIGHT_DUTY_CYCLE_SHIFT)); level 200 drivers/gpu/drm/gma500/psb_intel_lvds.c (level << BACKLIGHT_DUTY_CYCLE_SHIFT)); level 480 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c void tc35876x_brightness_control(struct drm_device *dev, int level) level 486 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c level = clamp(level, 0, MDFLD_DSI_BRIGHTNESS_MAX_LEVEL); level 489 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c duty_val = level * 0x63 / MDFLD_DSI_BRIGHTNESS_MAX_LEVEL; level 494 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c panel_duty_val = (2 * level - 100) * 0xA9 / level 30 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.h void tc35876x_brightness_control(struct drm_device *dev, int level); level 347 drivers/gpu/drm/i915/display/intel_bios.c backlight_data->level[panel_type], level 870 drivers/gpu/drm/i915/display/intel_ddi.c int n_entries, level, default_entry; level 873 drivers/gpu/drm/i915/display/intel_ddi.c level = dev_priv->vbt.ddi_port_info[port].hdmi_level_shift; level 903 drivers/gpu/drm/i915/display/intel_ddi.c if (level == HDMI_LEVEL_SHIFT_UNKNOWN || level >= n_entries) level 904 drivers/gpu/drm/i915/display/intel_ddi.c level = default_entry; level 908 drivers/gpu/drm/i915/display/intel_ddi.c if (WARN_ON_ONCE(level >= n_entries)) level 909 drivers/gpu/drm/i915/display/intel_ddi.c level = n_entries - 1; level 911 drivers/gpu/drm/i915/display/intel_ddi.c return level; level 957 drivers/gpu/drm/i915/display/intel_ddi.c int level) level 969 drivers/gpu/drm/i915/display/intel_ddi.c if (WARN_ON_ONCE(level >= n_entries)) level 970 drivers/gpu/drm/i915/display/intel_ddi.c level = n_entries - 1; level 979 drivers/gpu/drm/i915/display/intel_ddi.c ddi_translations[level].trans1 | iboost_bit); level 981 drivers/gpu/drm/i915/display/intel_ddi.c ddi_translations[level].trans2); level 2198 drivers/gpu/drm/i915/display/intel_ddi.c int level, enum intel_output_type type) level 2223 drivers/gpu/drm/i915/display/intel_ddi.c if (WARN_ON_ONCE(level >= n_entries)) level 2224 drivers/gpu/drm/i915/display/intel_ddi.c level = n_entries - 1; level 2226 drivers/gpu/drm/i915/display/intel_ddi.c iboost = ddi_translations[level].i_boost; level 2242 drivers/gpu/drm/i915/display/intel_ddi.c int level, enum intel_output_type type) level 2258 drivers/gpu/drm/i915/display/intel_ddi.c if (WARN_ON_ONCE(level >= n_entries)) level 2259 drivers/gpu/drm/i915/display/intel_ddi.c level = n_entries - 1; level 2262 drivers/gpu/drm/i915/display/intel_ddi.c ddi_translations[level].margin, level 2263 drivers/gpu/drm/i915/display/intel_ddi.c ddi_translations[level].scale, level 2264 drivers/gpu/drm/i915/display/intel_ddi.c ddi_translations[level].enable, level 2265 drivers/gpu/drm/i915/display/intel_ddi.c ddi_translations[level].deemphasis); level 2329 drivers/gpu/drm/i915/display/intel_ddi.c int level, enum intel_output_type type) level 2346 drivers/gpu/drm/i915/display/intel_ddi.c if (WARN_ON_ONCE(level >= n_entries)) level 2347 drivers/gpu/drm/i915/display/intel_ddi.c level = n_entries - 1; level 2359 drivers/gpu/drm/i915/display/intel_ddi.c val |= SWING_SEL_UPPER(ddi_translations[level].dw2_swing_sel); level 2360 drivers/gpu/drm/i915/display/intel_ddi.c val |= SWING_SEL_LOWER(ddi_translations[level].dw2_swing_sel); level 2371 drivers/gpu/drm/i915/display/intel_ddi.c val |= POST_CURSOR_1(ddi_translations[level].dw4_post_cursor_1); level 2372 drivers/gpu/drm/i915/display/intel_ddi.c val |= POST_CURSOR_2(ddi_translations[level].dw4_post_cursor_2); level 2373 drivers/gpu/drm/i915/display/intel_ddi.c val |= CURSOR_COEFF(ddi_translations[level].dw4_cursor_coeff); level 2388 drivers/gpu/drm/i915/display/intel_ddi.c val |= N_SCALAR(ddi_translations[level].dw7_n_scalar); level 2393 drivers/gpu/drm/i915/display/intel_ddi.c int level, enum intel_output_type type) level 2451 drivers/gpu/drm/i915/display/intel_ddi.c cnl_ddi_vswing_program(encoder, level, type); level 2460 drivers/gpu/drm/i915/display/intel_ddi.c u32 level, enum phy phy, int type, level 2472 drivers/gpu/drm/i915/display/intel_ddi.c if (level >= n_entries) { level 2473 drivers/gpu/drm/i915/display/intel_ddi.c DRM_DEBUG_KMS("DDI translation not found for level %d. Using %d instead.", level, n_entries - 1); level 2474 drivers/gpu/drm/i915/display/intel_ddi.c level = n_entries - 1; level 2490 drivers/gpu/drm/i915/display/intel_ddi.c val |= SWING_SEL_UPPER(ddi_translations[level].dw2_swing_sel); level 2491 drivers/gpu/drm/i915/display/intel_ddi.c val |= SWING_SEL_LOWER(ddi_translations[level].dw2_swing_sel); level 2502 drivers/gpu/drm/i915/display/intel_ddi.c val |= POST_CURSOR_1(ddi_translations[level].dw4_post_cursor_1); level 2503 drivers/gpu/drm/i915/display/intel_ddi.c val |= POST_CURSOR_2(ddi_translations[level].dw4_post_cursor_2); level 2504 drivers/gpu/drm/i915/display/intel_ddi.c val |= CURSOR_COEFF(ddi_translations[level].dw4_cursor_coeff); level 2511 drivers/gpu/drm/i915/display/intel_ddi.c val |= N_SCALAR(ddi_translations[level].dw7_n_scalar); level 2516 drivers/gpu/drm/i915/display/intel_ddi.c u32 level, level 2577 drivers/gpu/drm/i915/display/intel_ddi.c icl_ddi_combo_vswing_program(dev_priv, level, phy, type, rate); level 2587 drivers/gpu/drm/i915/display/intel_ddi.c u32 level) level 2598 drivers/gpu/drm/i915/display/intel_ddi.c if (level >= n_entries || level == 3 || level == 9) { level 2600 drivers/gpu/drm/i915/display/intel_ddi.c level, n_entries - 2); level 2601 drivers/gpu/drm/i915/display/intel_ddi.c level = n_entries - 2; level 2620 drivers/gpu/drm/i915/display/intel_ddi.c ddi_translations[level].cri_txdeemph_override_17_12); level 2626 drivers/gpu/drm/i915/display/intel_ddi.c ddi_translations[level].cri_txdeemph_override_17_12); level 2636 drivers/gpu/drm/i915/display/intel_ddi.c ddi_translations[level].cri_txdeemph_override_5_0) | level 2638 drivers/gpu/drm/i915/display/intel_ddi.c ddi_translations[level].cri_txdeemph_override_11_6) | level 2646 drivers/gpu/drm/i915/display/intel_ddi.c ddi_translations[level].cri_txdeemph_override_5_0) | level 2648 drivers/gpu/drm/i915/display/intel_ddi.c ddi_translations[level].cri_txdeemph_override_11_6) | level 2706 drivers/gpu/drm/i915/display/intel_ddi.c u32 level, level 2713 drivers/gpu/drm/i915/display/intel_ddi.c icl_combo_phy_ddi_vswing_sequence(encoder, level, type); level 2715 drivers/gpu/drm/i915/display/intel_ddi.c icl_mg_phy_ddi_vswing_sequence(encoder, link_clock, level); level 2747 drivers/gpu/drm/i915/display/intel_ddi.c int level = intel_ddi_dp_level(intel_dp); level 2751 drivers/gpu/drm/i915/display/intel_ddi.c level, encoder->type); level 2753 drivers/gpu/drm/i915/display/intel_ddi.c cnl_ddi_vswing_sequence(encoder, level, encoder->type); level 2755 drivers/gpu/drm/i915/display/intel_ddi.c bxt_ddi_vswing_sequence(encoder, level, encoder->type); level 2765 drivers/gpu/drm/i915/display/intel_ddi.c int level = intel_ddi_dp_level(intel_dp); level 2768 drivers/gpu/drm/i915/display/intel_ddi.c skl_ddi_set_iboost(encoder, level, encoder->type); level 2770 drivers/gpu/drm/i915/display/intel_ddi.c return DDI_BUF_TRANS_SELECT(level); level 3177 drivers/gpu/drm/i915/display/intel_ddi.c int level = intel_ddi_dp_level(intel_dp); level 3198 drivers/gpu/drm/i915/display/intel_ddi.c level, encoder->type); level 3200 drivers/gpu/drm/i915/display/intel_ddi.c cnl_ddi_vswing_sequence(encoder, level, encoder->type); level 3202 drivers/gpu/drm/i915/display/intel_ddi.c bxt_ddi_vswing_sequence(encoder, level, encoder->type); level 3243 drivers/gpu/drm/i915/display/intel_ddi.c int level = intel_ddi_hdmi_level(dev_priv, port); level 3256 drivers/gpu/drm/i915/display/intel_ddi.c level, INTEL_OUTPUT_HDMI); level 3258 drivers/gpu/drm/i915/display/intel_ddi.c cnl_ddi_vswing_sequence(encoder, level, INTEL_OUTPUT_HDMI); level 3260 drivers/gpu/drm/i915/display/intel_ddi.c bxt_ddi_vswing_sequence(encoder, level, INTEL_OUTPUT_HDMI); level 3262 drivers/gpu/drm/i915/display/intel_ddi.c intel_prepare_hdmi_ddi_buffers(encoder, level); level 3267 drivers/gpu/drm/i915/display/intel_ddi.c skl_ddi_set_iboost(encoder, level, INTEL_OUTPUT_HDMI); level 12889 drivers/gpu/drm/i915/display/intel_display.c int plane, level, max_level = ilk_wm_max_level(dev_priv); level 12920 drivers/gpu/drm/i915/display/intel_display.c for (level = 0; level <= max_level; level++) { level 12921 drivers/gpu/drm/i915/display/intel_display.c if (skl_wm_level_equals(&hw_plane_wm->wm[level], level 12922 drivers/gpu/drm/i915/display/intel_display.c &sw_plane_wm->wm[level])) level 12926 drivers/gpu/drm/i915/display/intel_display.c pipe_name(pipe), plane + 1, level, level 12927 drivers/gpu/drm/i915/display/intel_display.c sw_plane_wm->wm[level].plane_en, level 12928 drivers/gpu/drm/i915/display/intel_display.c sw_plane_wm->wm[level].plane_res_b, level 12929 drivers/gpu/drm/i915/display/intel_display.c sw_plane_wm->wm[level].plane_res_l, level 12930 drivers/gpu/drm/i915/display/intel_display.c hw_plane_wm->wm[level].plane_en, level 12931 drivers/gpu/drm/i915/display/intel_display.c hw_plane_wm->wm[level].plane_res_b, level 12932 drivers/gpu/drm/i915/display/intel_display.c hw_plane_wm->wm[level].plane_res_l); level 12972 drivers/gpu/drm/i915/display/intel_display.c for (level = 0; level <= max_level; level++) { level 12973 drivers/gpu/drm/i915/display/intel_display.c if (skl_wm_level_equals(&hw_plane_wm->wm[level], level 12974 drivers/gpu/drm/i915/display/intel_display.c &sw_plane_wm->wm[level])) level 12978 drivers/gpu/drm/i915/display/intel_display.c pipe_name(pipe), level, level 12979 drivers/gpu/drm/i915/display/intel_display.c sw_plane_wm->wm[level].plane_en, level 12980 drivers/gpu/drm/i915/display/intel_display.c sw_plane_wm->wm[level].plane_res_b, level 12981 drivers/gpu/drm/i915/display/intel_display.c sw_plane_wm->wm[level].plane_res_l, level 12982 drivers/gpu/drm/i915/display/intel_display.c hw_plane_wm->wm[level].plane_en, level 12983 drivers/gpu/drm/i915/display/intel_display.c hw_plane_wm->wm[level].plane_res_b, level 12984 drivers/gpu/drm/i915/display/intel_display.c hw_plane_wm->wm[level].plane_res_l); level 204 drivers/gpu/drm/i915/display/intel_display_types.h u32 level; level 222 drivers/gpu/drm/i915/display/intel_display_types.h void (*set)(const struct drm_connector_state *conn_state, u32 level); level 62 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c u16 level = 0; level 70 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c level = read_val[0]; level 72 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c level = (read_val[0] << 8 | read_val[1]); level 74 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c return level; level 82 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c intel_dp_aux_set_backlight(const struct drm_connector_state *conn_state, u32 level) level 88 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c vals[0] = level; level 92 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c vals[0] = (level & 0xFF00) >> 8; level 93 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c vals[1] = (level & 0xFF); level 220 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c intel_dp_aux_set_backlight(conn_state, connector->panel.backlight.level); level 240 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c panel->backlight.level = intel_dp_aux_get_backlight(connector); level 242 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c panel->backlight.enabled = panel->backlight.level != 0; level 65 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c static void dcs_set_backlight(const struct drm_connector_state *conn_state, u32 level) level 69 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c u8 data = level; level 145 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c dcs_set_backlight(conn_state, panel->backlight.level); level 154 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c panel->backlight.level = PANEL_PWM_MAX_VALUE; level 603 drivers/gpu/drm/i915/display/intel_panel.c static void lpt_set_backlight(const struct drm_connector_state *conn_state, u32 level) level 609 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(BLC_PWM_PCH_CTL2, val | level); level 612 drivers/gpu/drm/i915/display/intel_panel.c static void pch_set_backlight(const struct drm_connector_state *conn_state, u32 level) level 619 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(BLC_PWM_CPU_CTL, tmp | level); level 622 drivers/gpu/drm/i915/display/intel_panel.c static void i9xx_set_backlight(const struct drm_connector_state *conn_state, u32 level) level 634 drivers/gpu/drm/i915/display/intel_panel.c lbpc = level * 0xfe / panel->backlight.max + 1; level 635 drivers/gpu/drm/i915/display/intel_panel.c level /= lbpc; level 642 drivers/gpu/drm/i915/display/intel_panel.c level <<= 1; level 647 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(BLC_PWM_CTL, tmp | level); level 650 drivers/gpu/drm/i915/display/intel_panel.c static void vlv_set_backlight(const struct drm_connector_state *conn_state, u32 level) level 658 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(VLV_BLC_PWM_CTL(pipe), tmp | level); level 661 drivers/gpu/drm/i915/display/intel_panel.c static void bxt_set_backlight(const struct drm_connector_state *conn_state, u32 level) level 667 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(BXT_BLC_PWM_DUTY(panel->backlight.controller), level); level 670 drivers/gpu/drm/i915/display/intel_panel.c static void pwm_set_backlight(const struct drm_connector_state *conn_state, u32 level) level 673 drivers/gpu/drm/i915/display/intel_panel.c int duty_ns = DIV_ROUND_UP(level * CRC_PMIC_PWM_PERIOD_NS, 100); level 679 drivers/gpu/drm/i915/display/intel_panel.c intel_panel_actually_set_backlight(const struct drm_connector_state *conn_state, u32 level) level 684 drivers/gpu/drm/i915/display/intel_panel.c DRM_DEBUG_DRIVER("set backlight PWM = %d\n", level); level 686 drivers/gpu/drm/i915/display/intel_panel.c level = intel_panel_compute_brightness(connector, level); level 687 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.set(conn_state, level); level 715 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.level = hw_level; level 720 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.level, level 921 drivers/gpu/drm/i915/display/intel_panel.c intel_panel_actually_set_backlight(conn_state, panel->backlight.level); level 956 drivers/gpu/drm/i915/display/intel_panel.c intel_panel_actually_set_backlight(conn_state, panel->backlight.level); level 998 drivers/gpu/drm/i915/display/intel_panel.c intel_panel_actually_set_backlight(conn_state, panel->backlight.level); level 1041 drivers/gpu/drm/i915/display/intel_panel.c intel_panel_actually_set_backlight(conn_state, panel->backlight.level); level 1064 drivers/gpu/drm/i915/display/intel_panel.c intel_panel_actually_set_backlight(conn_state, panel->backlight.level); level 1110 drivers/gpu/drm/i915/display/intel_panel.c intel_panel_actually_set_backlight(conn_state, panel->backlight.level); level 1141 drivers/gpu/drm/i915/display/intel_panel.c intel_panel_actually_set_backlight(conn_state, panel->backlight.level); level 1160 drivers/gpu/drm/i915/display/intel_panel.c intel_panel_actually_set_backlight(conn_state, panel->backlight.level); level 1171 drivers/gpu/drm/i915/display/intel_panel.c if (panel->backlight.level <= panel->backlight.min) { level 1172 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.level = panel->backlight.max; level 1176 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.level, level 1243 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.level = hw_level; level 1333 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.level, level 1607 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.level = clamp(val, panel->backlight.min, level 1614 drivers/gpu/drm/i915/display/intel_panel.c lpt_set_backlight(connector->base.state, panel->backlight.level); level 1645 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.level = clamp(val, panel->backlight.min, level 1686 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.level = clamp(val, panel->backlight.min, level 1720 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.level = clamp(val, panel->backlight.min, level 1753 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.level = clamp(val, panel->backlight.min, level 1793 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.level = clamp(val, panel->backlight.min, level 1831 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.level = clamp(val, panel->backlight.min, level 1871 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.level = DIV_ROUND_UP( level 1874 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.enabled = panel->backlight.level != 0; level 1933 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.level, panel->backlight.max); level 35 drivers/gpu/drm/i915/display/intel_panel.h u32 level, u32 max); level 787 drivers/gpu/drm/i915/display/intel_vbt_defs.h u8 level[16]; level 344 drivers/gpu/drm/i915/gem/i915_gem_domain.c enum i915_cache_level level; level 349 drivers/gpu/drm/i915/gem/i915_gem_domain.c level = I915_CACHE_NONE; level 361 drivers/gpu/drm/i915/gem/i915_gem_domain.c level = I915_CACHE_LLC; level 364 drivers/gpu/drm/i915/gem/i915_gem_domain.c level = HAS_WT(i915) ? I915_CACHE_WT : I915_CACHE_NONE; level 383 drivers/gpu/drm/i915/gem/i915_gem_domain.c if (obj->cache_level == level) level 398 drivers/gpu/drm/i915/gem/i915_gem_domain.c ret = i915_gem_object_set_cache_level(obj, level); level 113 drivers/gpu/drm/i915/gt/uc/intel_guc.c u32 level = intel_guc_log_get_level(&guc->log); level 116 drivers/gpu/drm/i915/gt/uc/intel_guc.c if (!GUC_LOG_LEVEL_IS_VERBOSE(level)) level 119 drivers/gpu/drm/i915/gt/uc/intel_guc.c flags |= GUC_LOG_LEVEL_TO_VERBOSITY(level) << level 491 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c log->level = __get_default_log_level(log); level 493 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c log->level, enableddisabled(log->level), level 494 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c yesno(GUC_LOG_LEVEL_IS_VERBOSE(log->level)), level 495 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c GUC_LOG_LEVEL_TO_VERBOSITY(log->level)); level 509 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c int intel_guc_log_set_level(struct intel_guc_log *log, u32 level) level 523 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c if (level < GUC_LOG_LEVEL_DISABLED || level > GUC_LOG_LEVEL_MAX) level 528 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c if (log->level == level) level 533 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c GUC_LOG_LEVEL_IS_VERBOSE(level), level 534 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c GUC_LOG_LEVEL_IS_ENABLED(level), level 535 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c GUC_LOG_LEVEL_TO_VERBOSITY(level)); level 541 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c log->level = level; level 46 drivers/gpu/drm/i915/gt/uc/intel_guc_log.h u32 level; level 67 drivers/gpu/drm/i915/gt/uc/intel_guc_log.h int intel_guc_log_set_level(struct intel_guc_log *log, u32 level); level 77 drivers/gpu/drm/i915/gt/uc/intel_guc_log.h return log->level; level 3311 drivers/gpu/drm/i915/i915_debugfs.c int level; level 3325 drivers/gpu/drm/i915/i915_debugfs.c for (level = 0; level < num_levels; level++) { level 3326 drivers/gpu/drm/i915/i915_debugfs.c unsigned int latency = wm[level]; level 3337 drivers/gpu/drm/i915/i915_debugfs.c else if (level > 0) level 3341 drivers/gpu/drm/i915/i915_debugfs.c level, wm[level], latency / 10, latency % 10); level 3430 drivers/gpu/drm/i915/i915_debugfs.c int level; level 3459 drivers/gpu/drm/i915/i915_debugfs.c for (level = 0; level < num_levels; level++) level 3460 drivers/gpu/drm/i915/i915_debugfs.c wm[level] = new[level]; level 864 drivers/gpu/drm/i915/i915_drv.h u8 level; level 199 drivers/gpu/drm/i915/i915_gem_gtt.c enum i915_cache_level level, level 207 drivers/gpu/drm/i915/i915_gem_gtt.c switch (level) { level 223 drivers/gpu/drm/i915/i915_gem_gtt.c const enum i915_cache_level level) level 227 drivers/gpu/drm/i915/i915_gem_gtt.c if (level != I915_CACHE_NONE) level 235 drivers/gpu/drm/i915/i915_gem_gtt.c enum i915_cache_level level, level 241 drivers/gpu/drm/i915/i915_gem_gtt.c switch (level) { level 250 drivers/gpu/drm/i915/i915_gem_gtt.c MISSING_CASE(level); level 257 drivers/gpu/drm/i915/i915_gem_gtt.c enum i915_cache_level level, level 263 drivers/gpu/drm/i915/i915_gem_gtt.c switch (level) { level 274 drivers/gpu/drm/i915/i915_gem_gtt.c MISSING_CASE(level); level 281 drivers/gpu/drm/i915/i915_gem_gtt.c enum i915_cache_level level, level 290 drivers/gpu/drm/i915/i915_gem_gtt.c if (level != I915_CACHE_NONE) level 297 drivers/gpu/drm/i915/i915_gem_gtt.c enum i915_cache_level level, level 303 drivers/gpu/drm/i915/i915_gem_gtt.c if (level != I915_CACHE_NONE) level 310 drivers/gpu/drm/i915/i915_gem_gtt.c enum i915_cache_level level, level 316 drivers/gpu/drm/i915/i915_gem_gtt.c switch (level) { level 2177 drivers/gpu/drm/i915/i915_gem_gtt.c enum i915_cache_level level, level 2184 drivers/gpu/drm/i915/i915_gem_gtt.c gen8_set_pte(pte, gen8_pte_encode(addr, level, 0)); level 2191 drivers/gpu/drm/i915/i915_gem_gtt.c enum i915_cache_level level, level 2197 drivers/gpu/drm/i915/i915_gem_gtt.c const gen8_pte_t pte_encode = gen8_pte_encode(0, level, 0); level 2220 drivers/gpu/drm/i915/i915_gem_gtt.c enum i915_cache_level level, level 2227 drivers/gpu/drm/i915/i915_gem_gtt.c iowrite32(vm->pte_encode(addr, level, flags), pte); level 2240 drivers/gpu/drm/i915/i915_gem_gtt.c enum i915_cache_level level, level 2249 drivers/gpu/drm/i915/i915_gem_gtt.c iowrite32(vm->pte_encode(addr, level, flags), &entries[i++]); level 2302 drivers/gpu/drm/i915/i915_gem_gtt.c enum i915_cache_level level; level 2309 drivers/gpu/drm/i915/i915_gem_gtt.c gen8_ggtt_insert_page(arg->vm, arg->addr, arg->offset, arg->level, 0); level 2318 drivers/gpu/drm/i915/i915_gem_gtt.c enum i915_cache_level level, level 2321 drivers/gpu/drm/i915/i915_gem_gtt.c struct insert_page arg = { vm, addr, offset, level }; level 2329 drivers/gpu/drm/i915/i915_gem_gtt.c enum i915_cache_level level; level 2337 drivers/gpu/drm/i915/i915_gem_gtt.c gen8_ggtt_insert_entries(arg->vm, arg->vma, arg->level, arg->flags); level 2345 drivers/gpu/drm/i915/i915_gem_gtt.c enum i915_cache_level level, level 2348 drivers/gpu/drm/i915/i915_gem_gtt.c struct insert_entries arg = { vm, vma, level, flags }; level 340 drivers/gpu/drm/i915/i915_gem_gtt.h enum i915_cache_level level, level 6063 drivers/gpu/drm/i915/i915_reg.h #define CUR_WM(pipe, level) _MMIO(_CUR_WM_0(pipe) + ((4) * (level))) level 6070 drivers/gpu/drm/i915/i915_reg.h #define PLANE_WM(pipe, plane, level) \ level 6071 drivers/gpu/drm/i915/i915_reg.h _MMIO(_PLANE_WM_BASE(pipe, plane) + ((4) * (level))) level 229 drivers/gpu/drm/i915/i915_trace.h __field(u32, level) level 243 drivers/gpu/drm/i915/i915_trace.h __entry->level = wm->level; level 255 drivers/gpu/drm/i915/i915_trace.h __entry->scanline, __entry->level, __entry->cxsr, level 15 drivers/gpu/drm/i915/i915_utils.c __i915_printk(struct drm_i915_private *dev_priv, const char *level, level 20 drivers/gpu/drm/i915/i915_utils.c bool is_error = level[1] <= KERN_ERR[1]; level 21 drivers/gpu/drm/i915/i915_utils.c bool is_debug = level[1] == KERN_DEBUG[1]; level 34 drivers/gpu/drm/i915/i915_utils.c dev_printk(level, kdev, "%pV", &vaf); level 36 drivers/gpu/drm/i915/i915_utils.c dev_printk(level, kdev, "[" DRM_NAME ":%ps] %pV", level 55 drivers/gpu/drm/i915/i915_utils.h __i915_printk(struct drm_i915_private *dev_priv, const char *level, level 1069 drivers/gpu/drm/i915/intel_pm.c static int g4x_plane_fifo_size(enum plane_id plane_id, int level) level 1089 drivers/gpu/drm/i915/intel_pm.c return level == G4X_WM_LEVEL_NORMAL ? 127 : 511; level 1091 drivers/gpu/drm/i915/intel_pm.c return level == G4X_WM_LEVEL_NORMAL ? 127 : 0; level 1098 drivers/gpu/drm/i915/intel_pm.c static int g4x_fbc_fifo_size(int level) level 1100 drivers/gpu/drm/i915/intel_pm.c switch (level) { level 1106 drivers/gpu/drm/i915/intel_pm.c MISSING_CASE(level); level 1113 drivers/gpu/drm/i915/intel_pm.c int level) level 1119 drivers/gpu/drm/i915/intel_pm.c unsigned int latency = dev_priv->wm.pri_latency[level] * 10; level 1142 drivers/gpu/drm/i915/intel_pm.c level != G4X_WM_LEVEL_NORMAL) level 1156 drivers/gpu/drm/i915/intel_pm.c level == G4X_WM_LEVEL_NORMAL) { level 1167 drivers/gpu/drm/i915/intel_pm.c wm += g4x_tlb_miss_wa(g4x_plane_fifo_size(plane->id, level), level 1176 drivers/gpu/drm/i915/intel_pm.c int level, enum plane_id plane_id, u16 value) level 1181 drivers/gpu/drm/i915/intel_pm.c for (; level < intel_wm_num_levels(dev_priv); level++) { level 1182 drivers/gpu/drm/i915/intel_pm.c struct g4x_pipe_wm *raw = &crtc_state->wm.g4x.raw[level]; level 1192 drivers/gpu/drm/i915/intel_pm.c int level, u16 value) level 1198 drivers/gpu/drm/i915/intel_pm.c level = max(level, G4X_WM_LEVEL_SR); level 1200 drivers/gpu/drm/i915/intel_pm.c for (; level < intel_wm_num_levels(dev_priv); level++) { level 1201 drivers/gpu/drm/i915/intel_pm.c struct g4x_pipe_wm *raw = &crtc_state->wm.g4x.raw[level]; level 1221 drivers/gpu/drm/i915/intel_pm.c int level; level 1230 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level < num_levels; level++) { level 1231 drivers/gpu/drm/i915/intel_pm.c struct g4x_pipe_wm *raw = &crtc_state->wm.g4x.raw[level]; level 1234 drivers/gpu/drm/i915/intel_pm.c wm = g4x_compute_wm(crtc_state, plane_state, level); level 1235 drivers/gpu/drm/i915/intel_pm.c max_wm = g4x_plane_fifo_size(plane_id, level); level 1244 drivers/gpu/drm/i915/intel_pm.c level == G4X_WM_LEVEL_NORMAL) level 1249 drivers/gpu/drm/i915/intel_pm.c max_wm = g4x_fbc_fifo_size(level); level 1263 drivers/gpu/drm/i915/intel_pm.c dirty |= g4x_raw_plane_wm_set(crtc_state, level, plane_id, USHRT_MAX); level 1266 drivers/gpu/drm/i915/intel_pm.c dirty |= g4x_raw_fbc_wm_set(crtc_state, level, USHRT_MAX); level 1286 drivers/gpu/drm/i915/intel_pm.c enum plane_id plane_id, int level) level 1288 drivers/gpu/drm/i915/intel_pm.c const struct g4x_pipe_wm *raw = &crtc_state->wm.g4x.raw[level]; level 1290 drivers/gpu/drm/i915/intel_pm.c return raw->plane[plane_id] <= g4x_plane_fifo_size(plane_id, level); level 1294 drivers/gpu/drm/i915/intel_pm.c int level) level 1298 drivers/gpu/drm/i915/intel_pm.c if (level > dev_priv->wm.max_level) level 1301 drivers/gpu/drm/i915/intel_pm.c return g4x_raw_plane_wm_is_valid(crtc_state, PLANE_PRIMARY, level) && level 1302 drivers/gpu/drm/i915/intel_pm.c g4x_raw_plane_wm_is_valid(crtc_state, PLANE_SPRITE0, level) && level 1303 drivers/gpu/drm/i915/intel_pm.c g4x_raw_plane_wm_is_valid(crtc_state, PLANE_CURSOR, level); level 1308 drivers/gpu/drm/i915/intel_pm.c struct g4x_wm_state *wm_state, int level) level 1310 drivers/gpu/drm/i915/intel_pm.c if (level <= G4X_WM_LEVEL_NORMAL) { level 1317 drivers/gpu/drm/i915/intel_pm.c if (level <= G4X_WM_LEVEL_SR) { level 1324 drivers/gpu/drm/i915/intel_pm.c if (level <= G4X_WM_LEVEL_HPLL) { level 1345 drivers/gpu/drm/i915/intel_pm.c int i, level; level 1362 drivers/gpu/drm/i915/intel_pm.c level = G4X_WM_LEVEL_NORMAL; level 1363 drivers/gpu/drm/i915/intel_pm.c if (!g4x_raw_crtc_wm_is_valid(crtc_state, level)) level 1366 drivers/gpu/drm/i915/intel_pm.c raw = &crtc_state->wm.g4x.raw[level]; level 1370 drivers/gpu/drm/i915/intel_pm.c level = G4X_WM_LEVEL_SR; level 1372 drivers/gpu/drm/i915/intel_pm.c if (!g4x_raw_crtc_wm_is_valid(crtc_state, level)) level 1375 drivers/gpu/drm/i915/intel_pm.c raw = &crtc_state->wm.g4x.raw[level]; level 1382 drivers/gpu/drm/i915/intel_pm.c level = G4X_WM_LEVEL_HPLL; level 1384 drivers/gpu/drm/i915/intel_pm.c if (!g4x_raw_crtc_wm_is_valid(crtc_state, level)) level 1387 drivers/gpu/drm/i915/intel_pm.c raw = &crtc_state->wm.g4x.raw[level]; level 1394 drivers/gpu/drm/i915/intel_pm.c level++; level 1397 drivers/gpu/drm/i915/intel_pm.c if (level == G4X_WM_LEVEL_NORMAL) level 1401 drivers/gpu/drm/i915/intel_pm.c g4x_invalidate_wms(crtc, wm_state, level); level 1409 drivers/gpu/drm/i915/intel_pm.c wm_state->fbc_en = level > G4X_WM_LEVEL_NORMAL; level 1411 drivers/gpu/drm/i915/intel_pm.c if (level >= G4X_WM_LEVEL_SR && level 1414 drivers/gpu/drm/i915/intel_pm.c else if (level >= G4X_WM_LEVEL_HPLL && level 1622 drivers/gpu/drm/i915/intel_pm.c int level) level 1630 drivers/gpu/drm/i915/intel_pm.c if (dev_priv->wm.pri_latency[level] == 0) level 1651 drivers/gpu/drm/i915/intel_pm.c dev_priv->wm.pri_latency[level] * 10); level 1747 drivers/gpu/drm/i915/intel_pm.c struct vlv_wm_state *wm_state, int level) level 1751 drivers/gpu/drm/i915/intel_pm.c for (; level < intel_wm_num_levels(dev_priv); level++) { level 1755 drivers/gpu/drm/i915/intel_pm.c wm_state->wm[level].plane[plane_id] = USHRT_MAX; level 1757 drivers/gpu/drm/i915/intel_pm.c wm_state->sr[level].cursor = USHRT_MAX; level 1758 drivers/gpu/drm/i915/intel_pm.c wm_state->sr[level].plane = USHRT_MAX; level 1775 drivers/gpu/drm/i915/intel_pm.c int level, enum plane_id plane_id, u16 value) level 1781 drivers/gpu/drm/i915/intel_pm.c for (; level < num_levels; level++) { level 1782 drivers/gpu/drm/i915/intel_pm.c struct g4x_pipe_wm *raw = &crtc_state->wm.vlv.raw[level]; level 1797 drivers/gpu/drm/i915/intel_pm.c int level; level 1805 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level < num_levels; level++) { level 1806 drivers/gpu/drm/i915/intel_pm.c struct g4x_pipe_wm *raw = &crtc_state->wm.vlv.raw[level]; level 1807 drivers/gpu/drm/i915/intel_pm.c int wm = vlv_compute_wm_level(crtc_state, plane_state, level); level 1818 drivers/gpu/drm/i915/intel_pm.c dirty |= vlv_raw_plane_wm_set(crtc_state, level, plane_id, USHRT_MAX); level 1832 drivers/gpu/drm/i915/intel_pm.c enum plane_id plane_id, int level) level 1835 drivers/gpu/drm/i915/intel_pm.c &crtc_state->wm.vlv.raw[level]; level 1842 drivers/gpu/drm/i915/intel_pm.c static bool vlv_raw_crtc_wm_is_valid(const struct intel_crtc_state *crtc_state, int level) level 1844 drivers/gpu/drm/i915/intel_pm.c return vlv_raw_plane_wm_is_valid(crtc_state, PLANE_PRIMARY, level) && level 1845 drivers/gpu/drm/i915/intel_pm.c vlv_raw_plane_wm_is_valid(crtc_state, PLANE_SPRITE0, level) && level 1846 drivers/gpu/drm/i915/intel_pm.c vlv_raw_plane_wm_is_valid(crtc_state, PLANE_SPRITE1, level) && level 1847 drivers/gpu/drm/i915/intel_pm.c vlv_raw_plane_wm_is_valid(crtc_state, PLANE_CURSOR, level); level 1866 drivers/gpu/drm/i915/intel_pm.c int level, ret, i; level 1918 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level < wm_state->num_levels; level++) { level 1919 drivers/gpu/drm/i915/intel_pm.c const struct g4x_pipe_wm *raw = &crtc_state->wm.vlv.raw[level]; level 1922 drivers/gpu/drm/i915/intel_pm.c if (!vlv_raw_crtc_wm_is_valid(crtc_state, level)) level 1926 drivers/gpu/drm/i915/intel_pm.c wm_state->wm[level].plane[plane_id] = level 1931 drivers/gpu/drm/i915/intel_pm.c wm_state->sr[level].plane = level 1937 drivers/gpu/drm/i915/intel_pm.c wm_state->sr[level].cursor = level 1942 drivers/gpu/drm/i915/intel_pm.c if (level == 0) level 1946 drivers/gpu/drm/i915/intel_pm.c wm_state->num_levels = level; level 1949 drivers/gpu/drm/i915/intel_pm.c vlv_invalidate_wms(crtc, wm_state, level); level 2064 drivers/gpu/drm/i915/intel_pm.c int level; level 2077 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level < intermediate->num_levels; level++) { level 2081 drivers/gpu/drm/i915/intel_pm.c intermediate->wm[level].plane[plane_id] = level 2082 drivers/gpu/drm/i915/intel_pm.c min(optimal->wm[level].plane[plane_id], level 2083 drivers/gpu/drm/i915/intel_pm.c active->wm[level].plane[plane_id]); level 2086 drivers/gpu/drm/i915/intel_pm.c intermediate->sr[level].plane = min(optimal->sr[level].plane, level 2087 drivers/gpu/drm/i915/intel_pm.c active->sr[level].plane); level 2088 drivers/gpu/drm/i915/intel_pm.c intermediate->sr[level].cursor = min(optimal->sr[level].cursor, level 2089 drivers/gpu/drm/i915/intel_pm.c active->sr[level].cursor); level 2092 drivers/gpu/drm/i915/intel_pm.c vlv_invalidate_wms(crtc, intermediate, level); level 2111 drivers/gpu/drm/i915/intel_pm.c wm->level = dev_priv->wm.max_level; level 2124 drivers/gpu/drm/i915/intel_pm.c wm->level = min_t(int, wm->level, wm_state->num_levels - 1); level 2131 drivers/gpu/drm/i915/intel_pm.c wm->level = VLV_WM_LEVEL_PM2; level 2137 drivers/gpu/drm/i915/intel_pm.c wm->pipe[pipe] = wm_state->wm[wm->level]; level 2139 drivers/gpu/drm/i915/intel_pm.c wm->sr = wm_state->sr[wm->level]; level 2158 drivers/gpu/drm/i915/intel_pm.c if (is_disabling(old_wm->level, new_wm.level, VLV_WM_LEVEL_DDR_DVFS)) level 2161 drivers/gpu/drm/i915/intel_pm.c if (is_disabling(old_wm->level, new_wm.level, VLV_WM_LEVEL_PM5)) level 2172 drivers/gpu/drm/i915/intel_pm.c if (is_enabling(old_wm->level, new_wm.level, VLV_WM_LEVEL_PM5)) level 2175 drivers/gpu/drm/i915/intel_pm.c if (is_enabling(old_wm->level, new_wm.level, VLV_WM_LEVEL_DDR_DVFS)) level 2611 drivers/gpu/drm/i915/intel_pm.c int level, bool is_sprite) level 2615 drivers/gpu/drm/i915/intel_pm.c return level == 0 ? 255 : 2047; level 2618 drivers/gpu/drm/i915/intel_pm.c return level == 0 ? 127 : 1023; level 2621 drivers/gpu/drm/i915/intel_pm.c return level == 0 ? 127 : 511; level 2624 drivers/gpu/drm/i915/intel_pm.c return level == 0 ? 63 : 255; level 2628 drivers/gpu/drm/i915/intel_pm.c ilk_cursor_wm_reg_max(const struct drm_i915_private *dev_priv, int level) level 2631 drivers/gpu/drm/i915/intel_pm.c return level == 0 ? 63 : 255; level 2633 drivers/gpu/drm/i915/intel_pm.c return level == 0 ? 31 : 63; level 2646 drivers/gpu/drm/i915/intel_pm.c int level, level 2658 drivers/gpu/drm/i915/intel_pm.c if (level == 0 || config->num_pipes_active > 1) { level 2672 drivers/gpu/drm/i915/intel_pm.c if (level > 0 && ddb_partitioning == INTEL_DDB_PART_5_6) { level 2682 drivers/gpu/drm/i915/intel_pm.c return min(fifo_size, ilk_plane_wm_reg_max(dev_priv, level, is_sprite)); level 2687 drivers/gpu/drm/i915/intel_pm.c int level, level 2691 drivers/gpu/drm/i915/intel_pm.c if (level > 0 && config->num_pipes_active > 1) level 2695 drivers/gpu/drm/i915/intel_pm.c return ilk_cursor_wm_reg_max(dev_priv, level); level 2699 drivers/gpu/drm/i915/intel_pm.c int level, level 2704 drivers/gpu/drm/i915/intel_pm.c max->pri = ilk_plane_wm_max(dev_priv, level, config, ddb_partitioning, false); level 2705 drivers/gpu/drm/i915/intel_pm.c max->spr = ilk_plane_wm_max(dev_priv, level, config, ddb_partitioning, true); level 2706 drivers/gpu/drm/i915/intel_pm.c max->cur = ilk_cursor_wm_max(dev_priv, level, config); level 2711 drivers/gpu/drm/i915/intel_pm.c int level, level 2714 drivers/gpu/drm/i915/intel_pm.c max->pri = ilk_plane_wm_reg_max(dev_priv, level, false); level 2715 drivers/gpu/drm/i915/intel_pm.c max->spr = ilk_plane_wm_reg_max(dev_priv, level, true); level 2716 drivers/gpu/drm/i915/intel_pm.c max->cur = ilk_cursor_wm_reg_max(dev_priv, level); level 2720 drivers/gpu/drm/i915/intel_pm.c static bool ilk_validate_wm_level(int level, level 2741 drivers/gpu/drm/i915/intel_pm.c if (level == 0 && !result->enable) { level 2744 drivers/gpu/drm/i915/intel_pm.c level, result->pri_val, max->pri); level 2747 drivers/gpu/drm/i915/intel_pm.c level, result->spr_val, max->spr); level 2750 drivers/gpu/drm/i915/intel_pm.c level, result->cur_val, max->cur); level 2763 drivers/gpu/drm/i915/intel_pm.c int level, level 2770 drivers/gpu/drm/i915/intel_pm.c u16 pri_latency = dev_priv->wm.pri_latency[level]; level 2771 drivers/gpu/drm/i915/intel_pm.c u16 spr_latency = dev_priv->wm.spr_latency[level]; level 2772 drivers/gpu/drm/i915/intel_pm.c u16 cur_latency = dev_priv->wm.cur_latency[level]; level 2775 drivers/gpu/drm/i915/intel_pm.c if (level > 0) { level 2783 drivers/gpu/drm/i915/intel_pm.c pri_latency, level); level 2832 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv); level 2876 drivers/gpu/drm/i915/intel_pm.c for (level = 1; level <= max_level; level++) { level 2877 drivers/gpu/drm/i915/intel_pm.c if (wm[level] == 0) { level 2878 drivers/gpu/drm/i915/intel_pm.c for (i = level + 1; i <= max_level; i++) level 2893 drivers/gpu/drm/i915/intel_pm.c for (level = 1; level <= max_level; level++) { level 2894 drivers/gpu/drm/i915/intel_pm.c if (wm[level] == 0) level 2896 drivers/gpu/drm/i915/intel_pm.c wm[level] += 2; level 2971 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv); level 2973 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level <= max_level; level++) { level 2974 drivers/gpu/drm/i915/intel_pm.c unsigned int latency = wm[level]; level 2978 drivers/gpu/drm/i915/intel_pm.c name, level); level 2988 drivers/gpu/drm/i915/intel_pm.c else if (level > 0) level 2992 drivers/gpu/drm/i915/intel_pm.c name, level, wm[level], level 3000 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv); level 3006 drivers/gpu/drm/i915/intel_pm.c for (level = 1; level <= max_level; level++) level 3007 drivers/gpu/drm/i915/intel_pm.c wm[level] = max_t(u16, wm[level], DIV_ROUND_UP(min, 5)); level 3125 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv), usable_level; level 3171 drivers/gpu/drm/i915/intel_pm.c for (level = 1; level <= usable_level; level++) { level 3172 drivers/gpu/drm/i915/intel_pm.c struct intel_wm_level *wm = &pipe_wm->wm[level]; level 3174 drivers/gpu/drm/i915/intel_pm.c ilk_compute_wm_level(dev_priv, intel_crtc, level, crtc_state, level 3182 drivers/gpu/drm/i915/intel_pm.c if (!ilk_validate_wm_level(level, &max, wm)) { level 3206 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv); level 3222 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level <= max_level; level++) { level 3223 drivers/gpu/drm/i915/intel_pm.c struct intel_wm_level *a_wm = &a->wm[level]; level 3224 drivers/gpu/drm/i915/intel_pm.c const struct intel_wm_level *b_wm = &b->wm[level]; level 3256 drivers/gpu/drm/i915/intel_pm.c int level, level 3265 drivers/gpu/drm/i915/intel_pm.c const struct intel_wm_level *wm = &active->wm[level]; level 3293 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv); level 3305 drivers/gpu/drm/i915/intel_pm.c for (level = 1; level <= max_level; level++) { level 3306 drivers/gpu/drm/i915/intel_pm.c struct intel_wm_level *wm = &merged->wm[level]; level 3308 drivers/gpu/drm/i915/intel_pm.c ilk_merge_wm_level(dev_priv, level, wm); level 3310 drivers/gpu/drm/i915/intel_pm.c if (level > last_enabled_level) level 3312 drivers/gpu/drm/i915/intel_pm.c else if (!ilk_validate_wm_level(level, max, wm)) level 3314 drivers/gpu/drm/i915/intel_pm.c last_enabled_level = level - 1; level 3335 drivers/gpu/drm/i915/intel_pm.c for (level = 2; level <= max_level; level++) { level 3336 drivers/gpu/drm/i915/intel_pm.c struct intel_wm_level *wm = &merged->wm[level]; level 3351 drivers/gpu/drm/i915/intel_pm.c int level) level 3354 drivers/gpu/drm/i915/intel_pm.c return 2 * level; level 3356 drivers/gpu/drm/i915/intel_pm.c return dev_priv->wm.pri_latency[level]; level 3365 drivers/gpu/drm/i915/intel_pm.c int level, wm_lp; level 3374 drivers/gpu/drm/i915/intel_pm.c level = ilk_wm_lp_to_level(wm_lp, merged); level 3376 drivers/gpu/drm/i915/intel_pm.c r = &merged->wm[level]; level 3383 drivers/gpu/drm/i915/intel_pm.c (ilk_wm_lp_latency(dev_priv, level) << WM1_LP_LATENCY_SHIFT) | level 3433 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv); level 3436 drivers/gpu/drm/i915/intel_pm.c for (level = 1; level <= max_level; level++) { level 3437 drivers/gpu/drm/i915/intel_pm.c if (r1->wm[level].enable) level 3438 drivers/gpu/drm/i915/intel_pm.c level1 = level; level 3439 drivers/gpu/drm/i915/intel_pm.c if (r2->wm[level].enable) level 3440 drivers/gpu/drm/i915/intel_pm.c level2 = level; level 3756 drivers/gpu/drm/i915/intel_pm.c int level, latency; level 3799 drivers/gpu/drm/i915/intel_pm.c for (level = ilk_wm_max_level(dev_priv); level 3800 drivers/gpu/drm/i915/intel_pm.c !wm->wm[level].plane_en; --level) level 3803 drivers/gpu/drm/i915/intel_pm.c latency = dev_priv->wm.skl_latency[level]; level 3940 drivers/gpu/drm/i915/intel_pm.c int level, level 3950 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv); level 3962 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level <= max_level; level++) { level 3963 drivers/gpu/drm/i915/intel_pm.c skl_compute_plane_wm(crtc_state, level, &wp, &wm, &wm); level 4351 drivers/gpu/drm/i915/intel_pm.c int level; level 4396 drivers/gpu/drm/i915/intel_pm.c for (level = ilk_wm_max_level(dev_priv); level >= 0; level--) { level 4403 drivers/gpu/drm/i915/intel_pm.c if (WARN_ON(wm->wm[level].min_ddb_alloc > level 4411 drivers/gpu/drm/i915/intel_pm.c blocks += wm->wm[level].min_ddb_alloc; level 4412 drivers/gpu/drm/i915/intel_pm.c blocks += wm->uv_wm[level].min_ddb_alloc; level 4421 drivers/gpu/drm/i915/intel_pm.c if (level < 0) { level 4453 drivers/gpu/drm/i915/intel_pm.c total[plane_id] = wm->wm[level].min_ddb_alloc + extra; level 4464 drivers/gpu/drm/i915/intel_pm.c uv_total[plane_id] = wm->uv_wm[level].min_ddb_alloc + extra; level 4504 drivers/gpu/drm/i915/intel_pm.c for (level++; level <= ilk_wm_max_level(dev_priv); level++) { level 4521 drivers/gpu/drm/i915/intel_pm.c if (wm->wm[level].min_ddb_alloc > total[plane_id] || level 4522 drivers/gpu/drm/i915/intel_pm.c wm->uv_wm[level].min_ddb_alloc > uv_total[plane_id]) level 4523 drivers/gpu/drm/i915/intel_pm.c memset(&wm->wm[level], 0, sizeof(wm->wm[level])); level 4530 drivers/gpu/drm/i915/intel_pm.c level == 1 && wm->wm[0].plane_en) { level 4531 drivers/gpu/drm/i915/intel_pm.c wm->wm[level].plane_res_b = wm->wm[0].plane_res_b; level 4532 drivers/gpu/drm/i915/intel_pm.c wm->wm[level].plane_res_l = wm->wm[0].plane_res_l; level 4533 drivers/gpu/drm/i915/intel_pm.c wm->wm[level].ignore_lines = wm->wm[0].ignore_lines; level 4756 drivers/gpu/drm/i915/intel_pm.c static bool skl_wm_has_lines(struct drm_i915_private *dev_priv, int level) level 4762 drivers/gpu/drm/i915/intel_pm.c return level > 0; level 4766 drivers/gpu/drm/i915/intel_pm.c int level, level 4772 drivers/gpu/drm/i915/intel_pm.c u32 latency = dev_priv->wm.skl_latency[level]; level 4825 drivers/gpu/drm/i915/intel_pm.c if (level == 0 && wp->rc_surface) level 4830 drivers/gpu/drm/i915/intel_pm.c if (level >= 1 && level <= 7) { level 4868 drivers/gpu/drm/i915/intel_pm.c if (!skl_wm_has_lines(dev_priv, level)) level 4896 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv); level 4899 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level <= max_level; level++) { level 4900 drivers/gpu/drm/i915/intel_pm.c struct skl_wm_level *result = &levels[level]; level 4902 drivers/gpu/drm/i915/intel_pm.c skl_compute_plane_wm(crtc_state, level, wm_params, level 5133 drivers/gpu/drm/i915/intel_pm.c const struct skl_wm_level *level) level 5137 drivers/gpu/drm/i915/intel_pm.c if (level->plane_en) level 5139 drivers/gpu/drm/i915/intel_pm.c if (level->ignore_lines) level 5141 drivers/gpu/drm/i915/intel_pm.c val |= level->plane_res_b; level 5142 drivers/gpu/drm/i915/intel_pm.c val |= level->plane_res_l << PLANE_WM_LINES_SHIFT; level 5151 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv); level 5161 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level <= max_level; level++) { level 5162 drivers/gpu/drm/i915/intel_pm.c skl_write_wm_level(dev_priv, PLANE_WM(pipe, plane_id, level), level 5163 drivers/gpu/drm/i915/intel_pm.c &wm->wm[level]); level 5187 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv); level 5195 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level <= max_level; level++) { level 5196 drivers/gpu/drm/i915/intel_pm.c skl_write_wm_level(dev_priv, CUR_WM(pipe, level), level 5197 drivers/gpu/drm/i915/intel_pm.c &wm->wm[level]); level 5217 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv); level 5219 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level <= max_level; level++) { level 5220 drivers/gpu/drm/i915/intel_pm.c if (!skl_wm_level_equals(&wm1->wm[level], &wm2->wm[level]) || level 5221 drivers/gpu/drm/i915/intel_pm.c !skl_wm_level_equals(&wm1->uv_wm[level], &wm2->uv_wm[level])) level 5759 drivers/gpu/drm/i915/intel_pm.c struct skl_wm_level *level) level 5761 drivers/gpu/drm/i915/intel_pm.c level->plane_en = val & PLANE_WM_EN; level 5762 drivers/gpu/drm/i915/intel_pm.c level->ignore_lines = val & PLANE_WM_IGNORE_LINES; level 5763 drivers/gpu/drm/i915/intel_pm.c level->plane_res_b = val & PLANE_WM_BLOCKS_MASK; level 5764 drivers/gpu/drm/i915/intel_pm.c level->plane_res_l = (val >> PLANE_WM_LINES_SHIFT) & level 5773 drivers/gpu/drm/i915/intel_pm.c int level, max_level; level 5782 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level <= max_level; level++) { level 5784 drivers/gpu/drm/i915/intel_pm.c val = I915_READ(PLANE_WM(pipe, plane_id, level)); level 5786 drivers/gpu/drm/i915/intel_pm.c val = I915_READ(CUR_WM(pipe, level)); level 5788 drivers/gpu/drm/i915/intel_pm.c skl_wm_level_from_reg_val(val, &wm->wm[level]); level 5865 drivers/gpu/drm/i915/intel_pm.c int level, max_level = ilk_wm_max_level(dev_priv); level 5872 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level <= max_level; level++) level 5873 drivers/gpu/drm/i915/intel_pm.c active->wm[level].enable = true; level 6002 drivers/gpu/drm/i915/intel_pm.c int level, max_level; level 6023 drivers/gpu/drm/i915/intel_pm.c level = G4X_WM_LEVEL_NORMAL; level 6024 drivers/gpu/drm/i915/intel_pm.c raw = &crtc_state->wm.g4x.raw[level]; level 6028 drivers/gpu/drm/i915/intel_pm.c if (++level > max_level) level 6031 drivers/gpu/drm/i915/intel_pm.c raw = &crtc_state->wm.g4x.raw[level]; level 6037 drivers/gpu/drm/i915/intel_pm.c if (++level > max_level) level 6040 drivers/gpu/drm/i915/intel_pm.c raw = &crtc_state->wm.g4x.raw[level]; level 6048 drivers/gpu/drm/i915/intel_pm.c g4x_raw_plane_wm_set(crtc_state, level, level 6050 drivers/gpu/drm/i915/intel_pm.c g4x_raw_fbc_wm_set(crtc_state, level, USHRT_MAX); level 6086 drivers/gpu/drm/i915/intel_pm.c int level; level 6091 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level < 3; level++) { level 6093 drivers/gpu/drm/i915/intel_pm.c &crtc_state->wm.g4x.raw[level]; level 6100 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level < 3; level++) { level 6102 drivers/gpu/drm/i915/intel_pm.c &crtc_state->wm.g4x.raw[level]; level 6135 drivers/gpu/drm/i915/intel_pm.c wm->level = VLV_WM_LEVEL_PM2; level 6142 drivers/gpu/drm/i915/intel_pm.c wm->level = VLV_WM_LEVEL_PM5; level 6165 drivers/gpu/drm/i915/intel_pm.c wm->level = VLV_WM_LEVEL_DDR_DVFS; level 6179 drivers/gpu/drm/i915/intel_pm.c int level; level 6183 drivers/gpu/drm/i915/intel_pm.c active->num_levels = wm->level + 1; level 6186 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level < active->num_levels; level++) { level 6188 drivers/gpu/drm/i915/intel_pm.c &crtc_state->wm.vlv.raw[level]; level 6190 drivers/gpu/drm/i915/intel_pm.c active->sr[level].plane = wm->sr.plane; level 6191 drivers/gpu/drm/i915/intel_pm.c active->sr[level].cursor = wm->sr.cursor; level 6194 drivers/gpu/drm/i915/intel_pm.c active->wm[level].plane[plane_id] = level 6198 drivers/gpu/drm/i915/intel_pm.c vlv_invert_wm_value(active->wm[level].plane[plane_id], level 6204 drivers/gpu/drm/i915/intel_pm.c vlv_raw_plane_wm_set(crtc_state, level, level 6206 drivers/gpu/drm/i915/intel_pm.c vlv_invalidate_wms(crtc, active, level); level 6220 drivers/gpu/drm/i915/intel_pm.c wm->sr.plane, wm->sr.cursor, wm->level, wm->cxsr); level 6241 drivers/gpu/drm/i915/intel_pm.c int level; level 6246 drivers/gpu/drm/i915/intel_pm.c for (level = 0; level < wm_state->num_levels; level++) { level 6248 drivers/gpu/drm/i915/intel_pm.c &crtc_state->wm.vlv.raw[level]; level 6252 drivers/gpu/drm/i915/intel_pm.c wm_state->wm[level].plane[plane_id] = level 30 drivers/gpu/drm/i915/selftests/mock_gtt.c enum i915_cache_level level, level 37 drivers/gpu/drm/i915/selftests/mock_gtt.c enum i915_cache_level level, u32 flags) level 1042 drivers/gpu/drm/msm/adreno/a6xx_gmu.c unsigned int level = a6xx_gmu_get_arc_level(dev, freqs[i]); level 1046 drivers/gpu/drm/msm/adreno/a6xx_gmu.c if (pri[j] >= level) { level 1055 drivers/gpu/drm/msm/adreno/a6xx_gmu.c level); level 1069 drivers/gpu/drm/msm/adreno/a6xx_gmu.c if (sec[j] >= level) { level 156 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.c u32 xin_id, u32 level, u32 remap_level) level 166 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.c reg_high = ((xin_id & 0x8) >> 3) * 4 + (level * 8); level 65 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.h u32 xin_id, u32 level, u32 remap_level); level 58 drivers/gpu/drm/nouveau/dispnv04/crtc.c static void nv_crtc_set_digital_vibrance(struct drm_crtc *crtc, int level) level 64 drivers/gpu/drm/nouveau/dispnv04/crtc.c regp->CRTC[NV_CIO_CRE_CSB] = nv_crtc->saturation = level; level 73 drivers/gpu/drm/nouveau/dispnv04/crtc.c static void nv_crtc_set_image_sharpening(struct drm_crtc *crtc, int level) level 79 drivers/gpu/drm/nouveau/dispnv04/crtc.c nv_crtc->sharpness = level; level 80 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (level < 0) /* blur is in hw range 0x3f -> 0x20 */ level 81 drivers/gpu/drm/nouveau/dispnv04/crtc.c level += 0x40; level 82 drivers/gpu/drm/nouveau/dispnv04/crtc.c regp->ramdac_634 = level; level 97 drivers/gpu/drm/nouveau/nvkm/core/option.c int mode = 1, level = CONFIG_NOUVEAU_DEBUG_DEFAULT; level 110 drivers/gpu/drm/nouveau/nvkm/core/option.c level = NV_DBG_FATAL; level 112 drivers/gpu/drm/nouveau/nvkm/core/option.c level = NV_DBG_ERROR; level 114 drivers/gpu/drm/nouveau/nvkm/core/option.c level = NV_DBG_WARN; level 116 drivers/gpu/drm/nouveau/nvkm/core/option.c level = NV_DBG_INFO; level 118 drivers/gpu/drm/nouveau/nvkm/core/option.c level = NV_DBG_DEBUG; level 120 drivers/gpu/drm/nouveau/nvkm/core/option.c level = NV_DBG_TRACE; level 122 drivers/gpu/drm/nouveau/nvkm/core/option.c level = NV_DBG_PARANOIA; level 124 drivers/gpu/drm/nouveau/nvkm/core/option.c level = NV_DBG_SPAM; level 133 drivers/gpu/drm/nouveau/nvkm/core/option.c return level; level 138 drivers/gpu/drm/nouveau/nvkm/core/option.c return level; level 81 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv41.c nv41_vmm_flush(struct nvkm_vmm *vmm, int level) level 185 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c nv44_vmm_flush(struct nvkm_vmm *vmm, int level) level 181 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c nv50_vmm_flush(struct nvkm_vmm *vmm, int level) level 72 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c int cur_level, level; level 75 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c level = cur_level = clk->pstate; level 78 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c level = min(clk->state_nr - 1, level + (clk->state_nr / 3)); level 80 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c level += ((load - data->p_load_target) * 10 / level 82 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c level = max(0, level); level 83 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c level = min(clk->state_nr - 1, level); level 87 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c cur_level, level); level 89 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c *state = level; level 91 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c return (level != cur_level); level 366 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c int level; level 370 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c level = dev->props.brightness; level 372 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c level = 0; level 374 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c dev_dbg(&ddata->pdev->dev, "update brightness to %d\n", level); level 383 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c r = dsicm_dcs_write_1(ddata, DCS_BRIGHTNESS, level); level 278 drivers/gpu/drm/panel/panel-sony-acx565akm.c static void acx565akm_set_brightness(struct acx565akm_panel *lcd, int level) level 283 drivers/gpu/drm/panel/panel-sony-acx565akm.c bv = level | (1 << 8); level 287 drivers/gpu/drm/panel/panel-sony-acx565akm.c if (level) level 301 drivers/gpu/drm/panel/panel-sony-acx565akm.c int level; level 305 drivers/gpu/drm/panel/panel-sony-acx565akm.c level = dev->props.brightness; level 307 drivers/gpu/drm/panel/panel-sony-acx565akm.c level = 0; level 309 drivers/gpu/drm/panel/panel-sony-acx565akm.c acx565akm_set_brightness(lcd, level); level 93 drivers/gpu/drm/radeon/atombios_encoders.c atombios_set_backlight_level(struct radeon_encoder *radeon_encoder, u8 level) level 108 drivers/gpu/drm/radeon/atombios_encoders.c dig->backlight_level = level; level 147 drivers/gpu/drm/radeon/atombios_encoders.c u8 level; level 151 drivers/gpu/drm/radeon/atombios_encoders.c level = 0; level 153 drivers/gpu/drm/radeon/atombios_encoders.c level = RADEON_MAX_BL_LEVEL; level 155 drivers/gpu/drm/radeon/atombios_encoders.c level = bd->props.brightness; level 157 drivers/gpu/drm/radeon/atombios_encoders.c return level; level 2591 drivers/gpu/drm/radeon/ci_dpm.c u32 level = 0; level 2593 drivers/gpu/drm/radeon/ci_dpm.c for (level = 0; level < rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.count; level++) { level 2594 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries[level].clk >= level 2596 drivers/gpu/drm/radeon/ci_dpm.c pi->smc_state_table.GraphicsBootLevel = level; level 2601 drivers/gpu/drm/radeon/ci_dpm.c for (level = 0; level < rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk.count; level++) { level 2602 drivers/gpu/drm/radeon/ci_dpm.c if (rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk.entries[level].clk >= level 2604 drivers/gpu/drm/radeon/ci_dpm.c pi->smc_state_table.MemoryBootLevel = level; level 4197 drivers/gpu/drm/radeon/ci_dpm.c u32 level = 0; level 4199 drivers/gpu/drm/radeon/ci_dpm.c while ((level_mask & (1 << level)) == 0) level 4200 drivers/gpu/drm/radeon/ci_dpm.c level++; level 4202 drivers/gpu/drm/radeon/ci_dpm.c return level; level 4207 drivers/gpu/drm/radeon/ci_dpm.c enum radeon_dpm_forced_level level) level 4213 drivers/gpu/drm/radeon/ci_dpm.c if (level == RADEON_DPM_FORCED_LEVEL_HIGH) { level 4221 drivers/gpu/drm/radeon/ci_dpm.c ret = ci_dpm_force_state_pcie(rdev, level); level 4271 drivers/gpu/drm/radeon/ci_dpm.c } else if (level == RADEON_DPM_FORCED_LEVEL_LOW) { level 4317 drivers/gpu/drm/radeon/ci_dpm.c } else if (level == RADEON_DPM_FORCED_LEVEL_AUTO) { level 4331 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.forced_level = level; level 678 drivers/gpu/drm/radeon/cypress_dpm.c RV770_SMC_HW_PERFORMANCE_LEVEL *level, level 686 drivers/gpu/drm/radeon/cypress_dpm.c level->gen2PCIE = pi->pcie_gen2 ? level 688 drivers/gpu/drm/radeon/cypress_dpm.c level->gen2XSP = (pl->flags & ATOM_PPLIB_R600_FLAGS_PCIEGEN2) ? 1 : 0; level 689 drivers/gpu/drm/radeon/cypress_dpm.c level->backbias = (pl->flags & ATOM_PPLIB_R600_FLAGS_BACKBIASENABLE) ? 1 : 0; level 690 drivers/gpu/drm/radeon/cypress_dpm.c level->displayWatermark = watermark_level; level 692 drivers/gpu/drm/radeon/cypress_dpm.c ret = rv740_populate_sclk_value(rdev, pl->sclk, &level->sclk); level 696 drivers/gpu/drm/radeon/cypress_dpm.c level->mcFlags = 0; level 700 drivers/gpu/drm/radeon/cypress_dpm.c level->mcFlags |= SMC_MC_STUTTER_EN; level 702 drivers/gpu/drm/radeon/cypress_dpm.c level->stateFlags |= PPSMC_STATEFLAG_AUTO_PULSE_SKIP; level 704 drivers/gpu/drm/radeon/cypress_dpm.c level->stateFlags &= ~PPSMC_STATEFLAG_AUTO_PULSE_SKIP; level 709 drivers/gpu/drm/radeon/cypress_dpm.c level->mcFlags |= SMC_MC_EDC_RD_FLAG; level 712 drivers/gpu/drm/radeon/cypress_dpm.c level->mcFlags |= SMC_MC_EDC_WR_FLAG; level 714 drivers/gpu/drm/radeon/cypress_dpm.c level->strobeMode = cypress_get_strobe_mode_settings(rdev, pl->mclk); level 716 drivers/gpu/drm/radeon/cypress_dpm.c if (level->strobeMode & SMC_STROBE_ENABLE) { level 728 drivers/gpu/drm/radeon/cypress_dpm.c &level->mclk, level 729 drivers/gpu/drm/radeon/cypress_dpm.c (level->strobeMode & SMC_STROBE_ENABLE) != 0, level 735 drivers/gpu/drm/radeon/cypress_dpm.c &level->mclk, level 745 drivers/gpu/drm/radeon/cypress_dpm.c &level->vddc); level 753 drivers/gpu/drm/radeon/cypress_dpm.c &level->vddci); level 758 drivers/gpu/drm/radeon/cypress_dpm.c ret = cypress_populate_mvdd_value(rdev, pl->mclk, &level->mvdd); level 115 drivers/gpu/drm/radeon/cypress_dpm.h RV770_SMC_HW_PERFORMANCE_LEVEL *level, level 47 drivers/gpu/drm/radeon/kv_dpm.c static int kv_set_enabled_level(struct radeon_device *rdev, u32 level); level 1816 drivers/gpu/drm/radeon/kv_dpm.c enum radeon_dpm_forced_level level) level 1820 drivers/gpu/drm/radeon/kv_dpm.c if (level == RADEON_DPM_FORCED_LEVEL_HIGH) { level 1824 drivers/gpu/drm/radeon/kv_dpm.c } else if (level == RADEON_DPM_FORCED_LEVEL_LOW) { level 1828 drivers/gpu/drm/radeon/kv_dpm.c } else if (level == RADEON_DPM_FORCED_LEVEL_AUTO) { level 1834 drivers/gpu/drm/radeon/kv_dpm.c rdev->pm.dpm.forced_level = level; level 2409 drivers/gpu/drm/radeon/kv_dpm.c static int kv_set_enabled_level(struct radeon_device *rdev, u32 level) level 2411 drivers/gpu/drm/radeon/kv_dpm.c u32 new_mask = (1 << level); level 1055 drivers/gpu/drm/radeon/ni_dpm.c enum radeon_dpm_forced_level level) level 1057 drivers/gpu/drm/radeon/ni_dpm.c if (level == RADEON_DPM_FORCED_LEVEL_HIGH) { level 1063 drivers/gpu/drm/radeon/ni_dpm.c } else if (level == RADEON_DPM_FORCED_LEVEL_LOW) { level 1069 drivers/gpu/drm/radeon/ni_dpm.c } else if (level == RADEON_DPM_FORCED_LEVEL_AUTO) { level 1077 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.forced_level = level; level 2311 drivers/gpu/drm/radeon/ni_dpm.c NISLANDS_SMC_HW_PERFORMANCE_LEVEL *level) level 2321 drivers/gpu/drm/radeon/ni_dpm.c level->gen2PCIE = pi->pcie_gen2 ? level 2324 drivers/gpu/drm/radeon/ni_dpm.c ret = ni_populate_sclk_value(rdev, pl->sclk, &level->sclk); level 2328 drivers/gpu/drm/radeon/ni_dpm.c level->mcFlags = 0; level 2334 drivers/gpu/drm/radeon/ni_dpm.c level->mcFlags |= NISLANDS_SMC_MC_STUTTER_EN; level 2338 drivers/gpu/drm/radeon/ni_dpm.c level->mcFlags |= NISLANDS_SMC_MC_EDC_RD_FLAG; level 2340 drivers/gpu/drm/radeon/ni_dpm.c level->mcFlags |= NISLANDS_SMC_MC_EDC_WR_FLAG; level 2342 drivers/gpu/drm/radeon/ni_dpm.c level->strobeMode = cypress_get_strobe_mode_settings(rdev, pl->mclk); level 2344 drivers/gpu/drm/radeon/ni_dpm.c if (level->strobeMode & NISLANDS_SMC_STROBE_ENABLE) { level 2353 drivers/gpu/drm/radeon/ni_dpm.c level->mcFlags |= NISLANDS_SMC_MC_RTT_ENABLE; level 2357 drivers/gpu/drm/radeon/ni_dpm.c &level->mclk, level 2358 drivers/gpu/drm/radeon/ni_dpm.c (level->strobeMode & NISLANDS_SMC_STROBE_ENABLE) != 0, level 2361 drivers/gpu/drm/radeon/ni_dpm.c ret = ni_populate_mclk_value(rdev, pl->sclk, pl->mclk, &level->mclk, 1, 1); level 2367 drivers/gpu/drm/radeon/ni_dpm.c pl->vddc, &level->vddc); level 2371 drivers/gpu/drm/radeon/ni_dpm.c ret = ni_get_std_voltage_value(rdev, &level->vddc, &std_vddc); level 2376 drivers/gpu/drm/radeon/ni_dpm.c level->vddc.index, &level->std_vddc); level 2380 drivers/gpu/drm/radeon/ni_dpm.c pl->vddci, &level->vddci); level 2385 drivers/gpu/drm/radeon/ni_dpm.c ni_populate_mvdd_value(rdev, pl->mclk, &level->mvdd); level 1399 drivers/gpu/drm/radeon/r600_cs.c unsigned r600_mip_minify(unsigned size, unsigned level) level 1403 drivers/gpu/drm/radeon/r600_cs.c val = max(1U, size >> level); level 1404 drivers/gpu/drm/radeon/r600_cs.c if (level > 0) level 1414 drivers/gpu/drm/radeon/r600_cs.c unsigned offset, i, level; level 1426 drivers/gpu/drm/radeon/r600_cs.c for(i = 0, offset = 0, level = blevel; i < nlevels; i++, level++) { level 1902 drivers/gpu/drm/radeon/radeon.h void (*set_backlight_level)(struct radeon_encoder *radeon_encoder, u8 level); level 1980 drivers/gpu/drm/radeon/radeon.h int (*force_performance_level)(struct radeon_device *rdev, enum radeon_dpm_forced_level level); level 2889 drivers/gpu/drm/radeon/radeon.h unsigned r600_mip_minify(unsigned size, unsigned level); level 45 drivers/gpu/drm/radeon/radeon_asic.h void atombios_set_backlight_level(struct radeon_encoder *radeon_encoder, u8 level); level 47 drivers/gpu/drm/radeon/radeon_asic.h void radeon_legacy_set_backlight_level(struct radeon_encoder *radeon_encoder, u8 level); level 437 drivers/gpu/drm/radeon/radeon_asic.h enum radeon_dpm_forced_level level); level 455 drivers/gpu/drm/radeon/radeon_asic.h enum radeon_dpm_forced_level level); level 496 drivers/gpu/drm/radeon/radeon_asic.h enum radeon_dpm_forced_level level); level 596 drivers/gpu/drm/radeon/radeon_asic.h enum radeon_dpm_forced_level level); level 673 drivers/gpu/drm/radeon/radeon_asic.h enum radeon_dpm_forced_level level); level 694 drivers/gpu/drm/radeon/radeon_asic.h enum radeon_dpm_forced_level level); level 767 drivers/gpu/drm/radeon/radeon_asic.h enum radeon_dpm_forced_level level); level 891 drivers/gpu/drm/radeon/radeon_asic.h enum radeon_dpm_forced_level level); level 921 drivers/gpu/drm/radeon/radeon_asic.h enum radeon_dpm_forced_level level); level 293 drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_legacy_set_backlight_level(struct radeon_encoder *radeon_encoder, u8 level) level 306 drivers/gpu/drm/radeon/radeon_legacy_encoders.c lvds->backlight_level = level; level 313 drivers/gpu/drm/radeon/radeon_legacy_encoders.c lvds->backlight_level = level; level 325 drivers/gpu/drm/radeon/radeon_legacy_encoders.c uint8_t level; level 329 drivers/gpu/drm/radeon/radeon_legacy_encoders.c level = 0; level 331 drivers/gpu/drm/radeon/radeon_legacy_encoders.c level = RADEON_MAX_BL_LEVEL; level 333 drivers/gpu/drm/radeon/radeon_legacy_encoders.c level = bd->props.brightness; level 336 drivers/gpu/drm/radeon/radeon_legacy_encoders.c level = RADEON_MAX_BL_LEVEL - level; level 338 drivers/gpu/drm/radeon/radeon_legacy_encoders.c return level; level 517 drivers/gpu/drm/radeon/radeon_pm.c enum radeon_dpm_forced_level level = rdev->pm.dpm.forced_level; level 524 drivers/gpu/drm/radeon/radeon_pm.c (level == RADEON_DPM_FORCED_LEVEL_AUTO) ? "auto" : level 525 drivers/gpu/drm/radeon/radeon_pm.c (level == RADEON_DPM_FORCED_LEVEL_LOW) ? "low" : "high"); level 535 drivers/gpu/drm/radeon/radeon_pm.c enum radeon_dpm_forced_level level; level 545 drivers/gpu/drm/radeon/radeon_pm.c level = RADEON_DPM_FORCED_LEVEL_LOW; level 547 drivers/gpu/drm/radeon/radeon_pm.c level = RADEON_DPM_FORCED_LEVEL_HIGH; level 549 drivers/gpu/drm/radeon/radeon_pm.c level = RADEON_DPM_FORCED_LEVEL_AUTO; level 559 drivers/gpu/drm/radeon/radeon_pm.c ret = radeon_dpm_force_performance_level(rdev, level); level 1116 drivers/gpu/drm/radeon/radeon_pm.c enum radeon_dpm_forced_level level = rdev->pm.dpm.forced_level; level 1120 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.dpm.forced_level = level; level 1030 drivers/gpu/drm/radeon/rs780_dpm.c enum radeon_dpm_forced_level level) level 1041 drivers/gpu/drm/radeon/rs780_dpm.c if (level == RADEON_DPM_FORCED_LEVEL_HIGH) { level 1051 drivers/gpu/drm/radeon/rs780_dpm.c } else if (level == RADEON_DPM_FORCED_LEVEL_LOW) { level 1076 drivers/gpu/drm/radeon/rs780_dpm.c rdev->pm.dpm.forced_level = level; level 549 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 clock, enum r600_power_level level) level 557 drivers/gpu/drm/radeon/rv6xx_dpm.c rv6xx_enable_engine_spread_spectrum(rdev, level, false); level 575 drivers/gpu/drm/radeon/rv6xx_dpm.c rv6xx_set_engine_spread_spectrum_clk_v(rdev, level, clk_v); level 576 drivers/gpu/drm/radeon/rv6xx_dpm.c rv6xx_set_engine_spread_spectrum_clk_s(rdev, level, clk_s); level 577 drivers/gpu/drm/radeon/rv6xx_dpm.c rv6xx_enable_engine_spread_spectrum(rdev, level, true); level 2131 drivers/gpu/drm/radeon/rv6xx_dpm.c enum radeon_dpm_forced_level level) level 2135 drivers/gpu/drm/radeon/rv6xx_dpm.c if (level == RADEON_DPM_FORCED_LEVEL_HIGH) { level 2137 drivers/gpu/drm/radeon/rv6xx_dpm.c } else if (level == RADEON_DPM_FORCED_LEVEL_LOW) { level 2156 drivers/gpu/drm/radeon/rv6xx_dpm.c rdev->pm.dpm.forced_level = level; level 615 drivers/gpu/drm/radeon/rv770_dpm.c RV770_SMC_HW_PERFORMANCE_LEVEL *level, level 621 drivers/gpu/drm/radeon/rv770_dpm.c level->gen2PCIE = pi->pcie_gen2 ? level 623 drivers/gpu/drm/radeon/rv770_dpm.c level->gen2XSP = (pl->flags & ATOM_PPLIB_R600_FLAGS_PCIEGEN2) ? 1 : 0; level 624 drivers/gpu/drm/radeon/rv770_dpm.c level->backbias = (pl->flags & ATOM_PPLIB_R600_FLAGS_BACKBIASENABLE) ? 1 : 0; level 625 drivers/gpu/drm/radeon/rv770_dpm.c level->displayWatermark = watermark_level; level 629 drivers/gpu/drm/radeon/rv770_dpm.c &level->sclk); level 632 drivers/gpu/drm/radeon/rv770_dpm.c &level->sclk); level 635 drivers/gpu/drm/radeon/rv770_dpm.c &level->sclk); level 642 drivers/gpu/drm/radeon/rv770_dpm.c level->strobeMode = level 645 drivers/gpu/drm/radeon/rv770_dpm.c level->strobeMode = 0; level 648 drivers/gpu/drm/radeon/rv770_dpm.c level->mcFlags = SMC_MC_EDC_RD_FLAG | SMC_MC_EDC_WR_FLAG; level 650 drivers/gpu/drm/radeon/rv770_dpm.c level->mcFlags = 0; level 653 drivers/gpu/drm/radeon/rv770_dpm.c pl->mclk, &level->mclk); level 656 drivers/gpu/drm/radeon/rv770_dpm.c pl->mclk, &level->mclk); level 659 drivers/gpu/drm/radeon/rv770_dpm.c pl->mclk, &level->mclk); level 664 drivers/gpu/drm/radeon/rv770_dpm.c &level->vddc); level 668 drivers/gpu/drm/radeon/rv770_dpm.c ret = rv770_populate_mvdd_value(rdev, pl->mclk, &level->mvdd); level 1477 drivers/gpu/drm/radeon/rv770_dpm.c enum radeon_dpm_forced_level level) level 1481 drivers/gpu/drm/radeon/rv770_dpm.c if (level == RADEON_DPM_FORCED_LEVEL_HIGH) { level 1485 drivers/gpu/drm/radeon/rv770_dpm.c } else if (level == RADEON_DPM_FORCED_LEVEL_LOW) { level 1498 drivers/gpu/drm/radeon/rv770_dpm.c rdev->pm.dpm.forced_level = level; level 267 drivers/gpu/drm/radeon/rv770_dpm.h enum radeon_dpm_forced_level level); level 1757 drivers/gpu/drm/radeon/si_dpm.c SISLANDS_SMC_HW_PERFORMANCE_LEVEL *level); level 3402 drivers/gpu/drm/radeon/si_dpm.c enum radeon_dpm_forced_level level) level 3408 drivers/gpu/drm/radeon/si_dpm.c if (level == RADEON_DPM_FORCED_LEVEL_HIGH) { level 3414 drivers/gpu/drm/radeon/si_dpm.c } else if (level == RADEON_DPM_FORCED_LEVEL_LOW) { level 3420 drivers/gpu/drm/radeon/si_dpm.c } else if (level == RADEON_DPM_FORCED_LEVEL_AUTO) { level 3428 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.forced_level = level; level 4979 drivers/gpu/drm/radeon/si_dpm.c SISLANDS_SMC_HW_PERFORMANCE_LEVEL *level) level 4991 drivers/gpu/drm/radeon/si_dpm.c level->gen2PCIE = (u8)si_pi->force_pcie_gen; level 4993 drivers/gpu/drm/radeon/si_dpm.c level->gen2PCIE = (u8)pl->pcie_gen; level 4995 drivers/gpu/drm/radeon/si_dpm.c ret = si_populate_sclk_value(rdev, pl->sclk, &level->sclk); level 4999 drivers/gpu/drm/radeon/si_dpm.c level->mcFlags = 0; level 5006 drivers/gpu/drm/radeon/si_dpm.c level->mcFlags |= SISLANDS_SMC_MC_STUTTER_EN; level 5009 drivers/gpu/drm/radeon/si_dpm.c level->mcFlags |= SISLANDS_SMC_MC_PG_EN; level 5014 drivers/gpu/drm/radeon/si_dpm.c level->mcFlags |= SISLANDS_SMC_MC_EDC_RD_FLAG; level 5017 drivers/gpu/drm/radeon/si_dpm.c level->mcFlags |= SISLANDS_SMC_MC_EDC_WR_FLAG; level 5019 drivers/gpu/drm/radeon/si_dpm.c level->strobeMode = si_get_strobe_mode_settings(rdev, pl->mclk); level 5021 drivers/gpu/drm/radeon/si_dpm.c if (level->strobeMode & SISLANDS_SMC_STROBE_ENABLE) { level 5031 drivers/gpu/drm/radeon/si_dpm.c level->strobeMode = si_get_strobe_mode_settings(rdev, level 5040 drivers/gpu/drm/radeon/si_dpm.c &level->mclk, level 5041 drivers/gpu/drm/radeon/si_dpm.c (level->strobeMode & SISLANDS_SMC_STROBE_ENABLE) != 0, dll_state_on); level 5047 drivers/gpu/drm/radeon/si_dpm.c pl->vddc, &level->vddc); level 5052 drivers/gpu/drm/radeon/si_dpm.c ret = si_get_std_voltage_value(rdev, &level->vddc, &std_vddc); level 5057 drivers/gpu/drm/radeon/si_dpm.c level->vddc.index, &level->std_vddc); level 5063 drivers/gpu/drm/radeon/si_dpm.c pl->vddci, &level->vddci); level 5074 drivers/gpu/drm/radeon/si_dpm.c &level->vddc); level 5079 drivers/gpu/drm/radeon/si_dpm.c level->MaxPoweredUpCU = si_pi->max_cu; level 5081 drivers/gpu/drm/radeon/si_dpm.c ret = si_populate_mvdd_value(rdev, pl->mclk, &level->mvdd); level 1900 drivers/gpu/drm/radeon/sumo_dpm.c enum radeon_dpm_forced_level level) level 1910 drivers/gpu/drm/radeon/sumo_dpm.c if (level == RADEON_DPM_FORCED_LEVEL_HIGH) { level 1922 drivers/gpu/drm/radeon/sumo_dpm.c } else if (level == RADEON_DPM_FORCED_LEVEL_LOW) { level 1942 drivers/gpu/drm/radeon/sumo_dpm.c rdev->pm.dpm.forced_level = level; level 1203 drivers/gpu/drm/radeon/trinity_dpm.c enum radeon_dpm_forced_level level) level 1213 drivers/gpu/drm/radeon/trinity_dpm.c if (level == RADEON_DPM_FORCED_LEVEL_HIGH) { level 1216 drivers/gpu/drm/radeon/trinity_dpm.c } else if (level == RADEON_DPM_FORCED_LEVEL_LOW) { level 1228 drivers/gpu/drm/radeon/trinity_dpm.c rdev->pm.dpm.forced_level = level; level 307 drivers/gpu/drm/virtio/virtgpu_drv.h uint64_t offset, uint32_t level, level 313 drivers/gpu/drm/virtio/virtgpu_drv.h uint64_t offset, uint32_t level, level 397 drivers/gpu/drm/virtio/virtgpu_ioctl.c vfpriv->ctx_id, offset, args->level, level 452 drivers/gpu/drm/virtio/virtgpu_ioctl.c args->level, &box, fence); level 893 drivers/gpu/drm/virtio/virtgpu_vq.c uint64_t offset, uint32_t level, level 914 drivers/gpu/drm/virtio/virtgpu_vq.c cmd_p->level = cpu_to_le32(level); level 921 drivers/gpu/drm/virtio/virtgpu_vq.c uint64_t offset, uint32_t level, level 936 drivers/gpu/drm/virtio/virtgpu_vq.c cmd_p->level = cpu_to_le32(level); level 172 drivers/hid/hid-core.c collection->level = parser->collection_stack_ptr - 1; level 173 drivers/hid/hid-core.c collection->parent_idx = (collection->level == 0) ? -1 : level 174 drivers/hid/hid-core.c parser->collection_stack[collection->level - 1]; level 143 drivers/hid/hid-logitech-hidpp.c int level; level 564 drivers/hid/hid-logitech-hidpp.c int level; level 568 drivers/hid/hid-logitech-hidpp.c level = POWER_SUPPLY_CAPACITY_LEVEL_CRITICAL; level 571 drivers/hid/hid-logitech-hidpp.c level = POWER_SUPPLY_CAPACITY_LEVEL_LOW; level 574 drivers/hid/hid-logitech-hidpp.c level = POWER_SUPPLY_CAPACITY_LEVEL_NORMAL; level 577 drivers/hid/hid-logitech-hidpp.c level = POWER_SUPPLY_CAPACITY_LEVEL_HIGH; level 580 drivers/hid/hid-logitech-hidpp.c level = POWER_SUPPLY_CAPACITY_LEVEL_UNKNOWN; level 583 drivers/hid/hid-logitech-hidpp.c return level; level 633 drivers/hid/hid-logitech-hidpp.c hidpp->battery.level = level 698 drivers/hid/hid-logitech-hidpp.c int status, capacity, level; level 707 drivers/hid/hid-logitech-hidpp.c level = hidpp10_battery_status_map_level(report->rawbytes[1]); level 712 drivers/hid/hid-logitech-hidpp.c level = hidpp->battery.level; level 720 drivers/hid/hid-logitech-hidpp.c level != hidpp->battery.level || level 728 drivers/hid/hid-logitech-hidpp.c hidpp->battery.level = level; level 1050 drivers/hid/hid-logitech-hidpp.c int *level) level 1056 drivers/hid/hid-logitech-hidpp.c *level = POWER_SUPPLY_CAPACITY_LEVEL_UNKNOWN; level 1064 drivers/hid/hid-logitech-hidpp.c *level = hidpp_map_battery_level(*capacity); level 1074 drivers/hid/hid-logitech-hidpp.c *level = POWER_SUPPLY_CAPACITY_LEVEL_FULL; level 1096 drivers/hid/hid-logitech-hidpp.c int *level) level 1118 drivers/hid/hid-logitech-hidpp.c level); level 1157 drivers/hid/hid-logitech-hidpp.c int status, capacity, next_capacity, level; level 1171 drivers/hid/hid-logitech-hidpp.c &next_capacity, &level); level 1182 drivers/hid/hid-logitech-hidpp.c hidpp->battery.level = level; level 1194 drivers/hid/hid-logitech-hidpp.c int status, capacity, next_capacity, level; level 1204 drivers/hid/hid-logitech-hidpp.c &level); level 1211 drivers/hid/hid-logitech-hidpp.c level != hidpp->battery.level || level 1215 drivers/hid/hid-logitech-hidpp.c hidpp->battery.level = level; level 1251 drivers/hid/hid-logitech-hidpp.c val->intval = hidpp->battery.level; level 1860 drivers/hid/hid-logitech-hidpp.c force = (effect->u.constant.level * fixp_sin16((effect->direction * 360) >> 16)) >> 15; level 1872 drivers/hid/hid-logitech-hidpp.c effect->u.constant.level, level 3362 drivers/hid/hid-logitech-hidpp.c hidpp->battery.level = POWER_SUPPLY_CAPACITY_LEVEL_UNKNOWN; level 231 drivers/hid/hid-udraw-ps3.c int level; level 233 drivers/hid/hid-udraw-ps3.c level = clamp(data[13] - PRESSURE_OFFSET, level 236 drivers/hid/hid-udraw-ps3.c input_report_key(udraw->pen_input_dev, BTN_TOUCH, (level != 0)); level 238 drivers/hid/hid-udraw-ps3.c input_report_abs(udraw->pen_input_dev, ABS_PRESSURE, level); level 279 drivers/hid/usbhid/hid-pidff.c effect->u.constant.level); level 291 drivers/hid/usbhid/hid-pidff.c return effect->u.constant.level != old->u.constant.level; level 810 drivers/hid/usbhid/hiddev.c cinfo.level = hid->collection[cinfo.index].level; level 86 drivers/hwmon/abituguru.c #define ABIT_UGURU_DEBUG(level, format, arg...) \ level 88 drivers/hwmon/abituguru.c if (level <= verbose) \ level 23 drivers/i2c/algos/i2c-algo-bit.c #define bit_dbg(level, dev, format, args...) \ level 25 drivers/i2c/algos/i2c-algo-bit.c if (i2c_debug >= level) \ level 29 drivers/i2c/algos/i2c-algo-bit.c #define bit_dbg(level, dev, format, args...) \ level 347 drivers/i2c/busses/i2c-scmi.c static acpi_status acpi_smbus_cmi_query_methods(acpi_handle handle, u32 level, level 236 drivers/i2c/i2c-core-acpi.c static acpi_status i2c_acpi_add_device(acpi_handle handle, u32 level, level 302 drivers/i2c/i2c-core-acpi.c static acpi_status i2c_acpi_lookup_speed(acpi_handle handle, u32 level, level 64 drivers/iio/adc/envelope-detector.c int level; level 142 drivers/iio/adc/envelope-detector.c env->level = (env->high + env->low + !env->invert) / 2; level 158 drivers/iio/adc/envelope-detector.c ret = iio_write_channel_raw(env->dac, env->level); level 168 drivers/iio/adc/envelope-detector.c env->level = ret; level 179 drivers/iio/adc/envelope-detector.c env->low = env->level; level 181 drivers/iio/adc/envelope-detector.c env->high = env->level; level 211 drivers/iio/adc/envelope-detector.c if (env->level < 0) { level 212 drivers/iio/adc/envelope-detector.c ret = env->level; level 215 drivers/iio/adc/envelope-detector.c *val = env->invert ? env->dac_max - env->level : env->level; level 196 drivers/infiniband/core/device.c static void __ibdev_printk(const char *level, const struct ib_device *ibdev, level 200 drivers/infiniband/core/device.c dev_printk_emit(level[1] - '0', level 209 drivers/infiniband/core/device.c level, dev_name(&ibdev->dev), vaf); level 211 drivers/infiniband/core/device.c printk("%s(NULL ib_device): %pV", level, vaf); level 214 drivers/infiniband/core/device.c void ibdev_printk(const char *level, const struct ib_device *ibdev, level 225 drivers/infiniband/core/device.c __ibdev_printk(level, ibdev, &vaf); level 231 drivers/infiniband/core/device.c #define define_ibdev_printk_level(func, level) \ level 242 drivers/infiniband/core/device.c __ibdev_printk(level, ibdev, &vaf); \ level 1340 drivers/infiniband/core/ucma.c static int ucma_set_option_level(struct ucma_context *ctx, int level, level 1345 drivers/infiniband/core/ucma.c switch (level) { level 1386 drivers/infiniband/core/ucma.c ret = ucma_set_option_level(ctx, cmd.level, cmd.optname, optval, level 2183 drivers/infiniband/hw/bnxt_re/ib_verbs.c wqe->frmr.levels = qplib_frpl->hwq.level + 1; level 3297 drivers/infiniband/hw/bnxt_re/ib_verbs.c mr->qplib_mr.hwq.level = PBL_LVL_MAX; level 1010 drivers/infiniband/hw/bnxt_re/main.c pages = rdev->nq[i].hwq.pbl[rdev->nq[i].hwq.level].pg_count; level 1389 drivers/infiniband/hw/bnxt_re/main.c pages = rdev->rcfw.creq.pbl[rdev->rcfw.creq.level].pg_count; level 565 drivers/infiniband/hw/bnxt_re/qplib_fp.c req.pg_size_lvl = cpu_to_le16((((u16)srq->hwq.level & level 758 drivers/infiniband/hw/bnxt_re/qplib_fp.c ((sq->hwq.level & CMDQ_CREATE_QP1_SQ_LVL_MASK) level 798 drivers/infiniband/hw/bnxt_re/qplib_fp.c ((rq->hwq.level & CMDQ_CREATE_QP1_RQ_LVL_MASK) << level 933 drivers/infiniband/hw/bnxt_re/qplib_fp.c ((sq->hwq.level & CMDQ_CREATE_QP_SQ_LVL_MASK) level 977 drivers/infiniband/hw/bnxt_re/qplib_fp.c ((rq->hwq.level & CMDQ_CREATE_QP_RQ_LVL_MASK) << level 1957 drivers/infiniband/hw/bnxt_re/qplib_fp.c ((cq->hwq.level & CMDQ_CREATE_CQ_LVL_MASK) << level 481 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c u16 cmd_flags = 0, level; level 500 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c level = ctx->qpc_tbl.level; level 501 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c req.qpc_pg_size_qpc_lvl = (level << CMDQ_INITIALIZE_FW_QPC_LVL_SFT) | level 502 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c __get_pbl_pg_idx(&ctx->qpc_tbl.pbl[level]); level 503 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c level = ctx->mrw_tbl.level; level 504 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c req.mrw_pg_size_mrw_lvl = (level << CMDQ_INITIALIZE_FW_MRW_LVL_SFT) | level 505 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c __get_pbl_pg_idx(&ctx->mrw_tbl.pbl[level]); level 506 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c level = ctx->srqc_tbl.level; level 507 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c req.srq_pg_size_srq_lvl = (level << CMDQ_INITIALIZE_FW_SRQ_LVL_SFT) | level 508 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c __get_pbl_pg_idx(&ctx->srqc_tbl.pbl[level]); level 509 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c level = ctx->cq_tbl.level; level 510 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c req.cq_pg_size_cq_lvl = (level << CMDQ_INITIALIZE_FW_CQ_LVL_SFT) | level 511 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c __get_pbl_pg_idx(&ctx->cq_tbl.pbl[level]); level 512 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c level = ctx->srqc_tbl.level; level 513 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c req.srq_pg_size_srq_lvl = (level << CMDQ_INITIALIZE_FW_SRQ_LVL_SFT) | level 514 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c __get_pbl_pg_idx(&ctx->srqc_tbl.pbl[level]); level 515 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c level = ctx->cq_tbl.level; level 516 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c req.cq_pg_size_cq_lvl = (level << CMDQ_INITIALIZE_FW_CQ_LVL_SFT) | level 517 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c __get_pbl_pg_idx(&ctx->cq_tbl.pbl[level]); level 518 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c level = ctx->tim_tbl.level; level 519 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c req.tim_pg_size_tim_lvl = (level << CMDQ_INITIALIZE_FW_TIM_LVL_SFT) | level 520 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c __get_pbl_pg_idx(&ctx->tim_tbl.pbl[level]); level 521 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c level = ctx->tqm_pde_level; level 522 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c req.tqm_pg_size_tqm_lvl = (level << CMDQ_INITIALIZE_FW_TQM_LVL_SFT) | level 523 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c __get_pbl_pg_idx(&ctx->tqm_pde.pbl[level]); level 767 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c ((rcfw->cmdq.level << CMDQ_INIT_CMDQ_LVL_SFT) & level 142 drivers/infiniband/hw/bnxt_re/qplib_res.c if (hwq->level >= PBL_LVL_MAX) level 145 drivers/infiniband/hw/bnxt_re/qplib_res.c for (i = 0; i < hwq->level + 1; i++) { level 146 drivers/infiniband/hw/bnxt_re/qplib_res.c if (i == hwq->level) level 152 drivers/infiniband/hw/bnxt_re/qplib_res.c hwq->level = PBL_LVL_MAX; level 171 drivers/infiniband/hw/bnxt_re/qplib_res.c hwq->level = PBL_LVL_MAX; level 209 drivers/infiniband/hw/bnxt_re/qplib_res.c hwq->level = PBL_LVL_0; level 226 drivers/infiniband/hw/bnxt_re/qplib_res.c hwq->level = PBL_LVL_1; level 251 drivers/infiniband/hw/bnxt_re/qplib_res.c hwq->level = PBL_LVL_2; level 279 drivers/infiniband/hw/bnxt_re/qplib_res.c hwq->level = PBL_LVL_1; level 290 drivers/infiniband/hw/bnxt_re/qplib_res.c hwq->pbl_ptr = hwq->pbl[hwq->level].pg_arr; level 291 drivers/infiniband/hw/bnxt_re/qplib_res.c hwq->pbl_dma_ptr = hwq->pbl[hwq->level].pg_map_arr; level 411 drivers/infiniband/hw/bnxt_re/qplib_res.c switch (ctx->tqm_tbl[i].level) { level 431 drivers/infiniband/hw/bnxt_re/qplib_res.c ctx->tqm_pde_level = ctx->tqm_tbl[fnz_idx].level == PBL_LVL_2 ? level 432 drivers/infiniband/hw/bnxt_re/qplib_res.c PBL_LVL_2 : ctx->tqm_tbl[fnz_idx].level + 1; level 93 drivers/infiniband/hw/bnxt_re/qplib_res.h enum bnxt_qplib_pbl_lvl level; /* 0, 1, or 2 */ level 661 drivers/infiniband/hw/bnxt_re/qplib_sp.c u16 cmd_flags = 0, level; level 706 drivers/infiniband/hw/bnxt_re/qplib_sp.c if (mr->hwq.level == PBL_LVL_MAX) { level 708 drivers/infiniband/hw/bnxt_re/qplib_sp.c level = 0; level 712 drivers/infiniband/hw/bnxt_re/qplib_sp.c level = mr->hwq.level + 1; level 716 drivers/infiniband/hw/bnxt_re/qplib_sp.c req.log2_pg_size_lvl = (level << CMDQ_REGISTER_MR_LVL_SFT) | level 1301 drivers/infiniband/hw/hns/hns_roce_hem.c int level; level 1321 drivers/infiniband/hw/hns/hns_roce_hem.c for (level = 0; level < hopnum; level++) level 1322 drivers/infiniband/hw/hns/hns_roce_hem.c INIT_LIST_HEAD(&temp_list[level]); level 1325 drivers/infiniband/hw/hns/hns_roce_hem.c for (level = 1; level < hopnum; level++) { level 1326 drivers/infiniband/hw/hns/hns_roce_hem.c cur = hem_list_search_item(&mid_bt[level], offset); level 1328 drivers/infiniband/hw/hns/hns_roce_hem.c hem_ptrs[level] = cur; level 1332 drivers/infiniband/hw/hns/hns_roce_hem.c step = hem_list_calc_ba_range(hopnum, level, unit); level 1341 drivers/infiniband/hw/hns/hns_roce_hem.c true, level); level 1346 drivers/infiniband/hw/hns/hns_roce_hem.c hem_ptrs[level] = cur; level 1347 drivers/infiniband/hw/hns/hns_roce_hem.c list_add(&cur->list, &temp_list[level]); level 1348 drivers/infiniband/hw/hns/hns_roce_hem.c if (hem_list_is_bottom_bt(hopnum, level)) level 1352 drivers/infiniband/hw/hns/hns_roce_hem.c if (level > 1) { level 1353 drivers/infiniband/hw/hns/hns_roce_hem.c pre = hem_ptrs[level - 1]; level 1361 drivers/infiniband/hw/hns/hns_roce_hem.c for (level = 1; level < hopnum; level++) level 1362 drivers/infiniband/hw/hns/hns_roce_hem.c list_splice(&temp_list[level], &mid_bt[level]); level 1367 drivers/infiniband/hw/hns/hns_roce_hem.c for (level = 1; level < hopnum; level++) level 1368 drivers/infiniband/hw/hns/hns_roce_hem.c hem_list_free_all(hr_dev, &temp_list[level], true); level 496 drivers/infiniband/hw/i40iw/i40iw_pble.c palloc->level = I40IW_LEVEL_2; level 524 drivers/infiniband/hw/i40iw/i40iw_pble.c palloc->level = I40IW_LEVEL_1; level 572 drivers/infiniband/hw/i40iw/i40iw_pble.c palloc->level = I40IW_LEVEL_0; level 606 drivers/infiniband/hw/i40iw/i40iw_pble.c if (palloc->level == I40IW_LEVEL_2) level 69 drivers/infiniband/hw/i40iw/i40iw_pble.h enum i40iw_pble_level level; level 1312 drivers/infiniband/hw/i40iw/i40iw_verbs.c enum i40iw_pble_level level) level 1321 drivers/infiniband/hw/i40iw/i40iw_verbs.c pinfo = (level == I40IW_LEVEL_1) ? NULL : palloc->level2.leaf; level 1365 drivers/infiniband/hw/i40iw/i40iw_verbs.c if (palloc->level == I40IW_LEVEL_1) { level 1400 drivers/infiniband/hw/i40iw/i40iw_verbs.c enum i40iw_pble_level level = I40IW_LEVEL_1; level 1410 drivers/infiniband/hw/i40iw/i40iw_verbs.c level = palloc->level; level 1411 drivers/infiniband/hw/i40iw/i40iw_verbs.c pinfo = (level == I40IW_LEVEL_1) ? &palloc->level1 : palloc->level2.leaf; level 1417 drivers/infiniband/hw/i40iw/i40iw_verbs.c i40iw_copy_user_pgaddrs(iwmr, pbl, level); level 1455 drivers/infiniband/hw/i40iw/i40iw_verbs.c if (use_pbles && (palloc->level != I40IW_LEVEL_1)) { level 1588 drivers/infiniband/hw/i40iw/i40iw_verbs.c if (palloc->level != I40IW_LEVEL_1) level 1702 drivers/infiniband/hw/i40iw/i40iw_verbs.c if (palloc->level == I40IW_LEVEL_1) { level 1870 drivers/infiniband/hw/i40iw/i40iw_verbs.c if (palloc->level != I40IW_LEVEL_0 && iwpbl->pbl_allocated) level 796 drivers/infiniband/ulp/ipoib/ipoib.h #define ipoib_printk(level, priv, format, arg...) \ level 797 drivers/infiniband/ulp/ipoib/ipoib.h printk(level "%s: " format, ((struct ipoib_dev_priv *) priv)->dev->name , ## arg) level 1161 drivers/infiniband/ulp/ipoib/ipoib_ib.c enum ipoib_flush_level level, level 1175 drivers/infiniband/ulp/ipoib/ipoib_ib.c __ipoib_ib_dev_flush(cpriv, level, nesting + 1); level 1180 drivers/infiniband/ulp/ipoib/ipoib_ib.c level != IPOIB_FLUSH_HEAVY) { level 1182 drivers/infiniband/ulp/ipoib/ipoib_ib.c if (level == IPOIB_FLUSH_LIGHT) level 1190 drivers/infiniband/ulp/ipoib/ipoib_ib.c if (level == IPOIB_FLUSH_HEAVY) { level 1195 drivers/infiniband/ulp/ipoib/ipoib_ib.c } else if (level == IPOIB_FLUSH_LIGHT) level 1201 drivers/infiniband/ulp/ipoib/ipoib_ib.c if (level == IPOIB_FLUSH_HEAVY) { level 1223 drivers/infiniband/ulp/ipoib/ipoib_ib.c if (level == IPOIB_FLUSH_LIGHT) { level 1238 drivers/infiniband/ulp/ipoib/ipoib_ib.c if (level >= IPOIB_FLUSH_NORMAL) level 1241 drivers/infiniband/ulp/ipoib/ipoib_ib.c if (level == IPOIB_FLUSH_HEAVY) { level 1257 drivers/infiniband/ulp/ipoib/ipoib_ib.c if (level >= IPOIB_FLUSH_NORMAL) level 250 drivers/input/ff-memless.c s16 level; level 255 drivers/input/ff-memless.c level = fixp_new16(apply_envelope(state, level 256 drivers/input/ff-memless.c new->u.constant.level, level 258 drivers/input/ff-memless.c x = fixp_mult(fixp_sin16(i), level) * gain / 0xffff; level 259 drivers/input/ff-memless.c y = fixp_mult(-fixp_cos16(i), level) * gain / 0xffff; level 19 drivers/input/joystick/iforce/iforce-ff.c struct resource* mod_chunk, int no_alloc, __s16 level) level 36 drivers/input/joystick/iforce/iforce-ff.c data[2] = HIFIX80(level); level 219 drivers/input/joystick/iforce/iforce-ff.c return old->u.constant.level != effect->u.constant.level; level 422 drivers/input/joystick/iforce/iforce-ff.c effect->u.constant.level); level 263 drivers/input/keyboard/applespi.c __le16 level; level 820 drivers/input/keyboard/applespi.c message->bl_command.level = level 1602 drivers/input/keyboard/applespi.c unsigned int level) level 1612 drivers/input/keyboard/applespi.c efi_data = (u16)level; level 81 drivers/input/misc/gpio-vibra.c int level; level 83 drivers/input/misc/gpio-vibra.c level = effect->u.rumble.strong_magnitude; level 84 drivers/input/misc/gpio-vibra.c if (!level) level 85 drivers/input/misc/gpio-vibra.c level = effect->u.rumble.weak_magnitude; level 87 drivers/input/misc/gpio-vibra.c vibrator->running = level; level 42 drivers/input/misc/max8997_haptic.c unsigned int level; level 61 drivers/input/misc/max8997_haptic.c unsigned int duty = chip->pwm_period * chip->level / 100; level 68 drivers/input/misc/max8997_haptic.c if (chip->level <= i * 100 / 64) { level 211 drivers/input/misc/max8997_haptic.c if (chip->level) level 222 drivers/input/misc/max8997_haptic.c chip->level = effect->u.rumble.strong_magnitude; level 223 drivers/input/misc/max8997_haptic.c if (!chip->level) level 224 drivers/input/misc/max8997_haptic.c chip->level = effect->u.rumble.weak_magnitude; level 64 drivers/input/misc/pm8xxx-vibrator.c int level; level 81 drivers/input/misc/pm8xxx-vibrator.c val |= (vib->level << regs->drv_shift) & regs->drv_mask; level 119 drivers/input/misc/pm8xxx-vibrator.c vib->level = ((VIB_MAX_LEVELS * vib->speed) / MAX_FF_SPEED) + level 121 drivers/input/misc/pm8xxx-vibrator.c vib->level /= 100; level 124 drivers/input/misc/pm8xxx-vibrator.c vib->level = VIB_MIN_LEVEL_mV / 100; level 31 drivers/input/misc/pwm-vibra.c u16 level; level 52 drivers/input/misc/pwm-vibra.c pwm_set_relative_duty_cycle(&state, vibrator->level, 0xffff); level 94 drivers/input/misc/pwm-vibra.c if (vibrator->level) level 105 drivers/input/misc/pwm-vibra.c vibrator->level = effect->u.rumble.strong_magnitude; level 106 drivers/input/misc/pwm-vibra.c if (!vibrator->level) level 107 drivers/input/misc/pwm-vibra.c vibrator->level = effect->u.rumble.weak_magnitude; level 230 drivers/input/misc/pwm-vibra.c if (vibrator->level) level 240 drivers/input/misc/pwm-vibra.c if (vibrator->level) level 159 drivers/input/mouse/bcm5974.c #define dprintk(level, format, a...)\ level 160 drivers/input/mouse/bcm5974.c { if (debug >= level) printk(KERN_DEBUG format, ##a); } level 213 drivers/input/mouse/psmouse.h #define psmouse_printk(level, psmouse, format, ...) \ level 214 drivers/input/mouse/psmouse.h dev_printk(level, \ level 410 drivers/input/touchscreen/ad7879.c unsigned gpio, int level) level 418 drivers/input/touchscreen/ad7879.c if (level) level 1502 drivers/iommu/amd_iommu.c int level, end_lvl; level 1510 drivers/iommu/amd_iommu.c level = domain->mode - 1; level 1511 drivers/iommu/amd_iommu.c pte = &domain->pt_root[PM_LEVEL_INDEX(level, address)]; level 1515 drivers/iommu/amd_iommu.c while (level > end_lvl) { level 1551 drivers/iommu/amd_iommu.c __npte = PM_LEVEL_PDE(level, iommu_virt_to_phys(page)); level 1563 drivers/iommu/amd_iommu.c if (pte_level != level) level 1566 drivers/iommu/amd_iommu.c level -= 1; level 1570 drivers/iommu/amd_iommu.c if (pte_page && level == end_lvl) level 1573 drivers/iommu/amd_iommu.c pte = &pte[PM_LEVEL_INDEX(level, address)]; level 1587 drivers/iommu/amd_iommu.c int level; level 1595 drivers/iommu/amd_iommu.c level = domain->mode - 1; level 1596 drivers/iommu/amd_iommu.c pte = &domain->pt_root[PM_LEVEL_INDEX(level, address)]; level 1597 drivers/iommu/amd_iommu.c *page_size = PTE_LEVEL_PAGE_SIZE(level); level 1599 drivers/iommu/amd_iommu.c while (level > 0) { level 1611 drivers/iommu/amd_iommu.c if (PM_PTE_LEVEL(*pte) != level) level 1614 drivers/iommu/amd_iommu.c level -= 1; level 1618 drivers/iommu/amd_iommu.c pte = &pte[PM_LEVEL_INDEX(level, address)]; level 1619 drivers/iommu/amd_iommu.c *page_size = PTE_LEVEL_PAGE_SIZE(level); level 3486 drivers/iommu/amd_iommu.c static u64 *__get_gcr3_pte(u64 *root, int level, int pasid, bool alloc) level 3493 drivers/iommu/amd_iommu.c index = (pasid >> (9 * level)) & 0x1ff; level 3496 drivers/iommu/amd_iommu.c if (level == 0) level 3512 drivers/iommu/amd_iommu.c level -= 1; level 322 drivers/iommu/amd_iommu_types.h #define PTE_LEVEL_PAGE_SIZE(level) \ level 323 drivers/iommu/amd_iommu_types.h (1ULL << (12 + (9 * (level)))) level 158 drivers/iommu/amd_iommu_v2.c int level, index; level 160 drivers/iommu/amd_iommu_v2.c level = dev_state->pasid_levels; level 165 drivers/iommu/amd_iommu_v2.c index = (pasid >> (9 * level)) & 0x1ff; level 168 drivers/iommu/amd_iommu_v2.c if (level == 0) level 181 drivers/iommu/amd_iommu_v2.c level -= 1; level 125 drivers/iommu/dmar.c int level = 0; level 142 drivers/iommu/dmar.c level++; level 144 drivers/iommu/dmar.c size = struct_size(info, path, level); level 161 drivers/iommu/dmar.c info->level = level; level 164 drivers/iommu/dmar.c level--; level 165 drivers/iommu/dmar.c info->path[level].bus = tmp->bus->number; level 166 drivers/iommu/dmar.c info->path[level].device = PCI_SLOT(tmp->devfn); level 167 drivers/iommu/dmar.c info->path[level].function = PCI_FUNC(tmp->devfn); level 189 drivers/iommu/dmar.c if (info->level != count) level 205 drivers/iommu/dmar.c i = info->level - 1; level 223 drivers/iommu/dmar.c int i, level; level 238 drivers/iommu/dmar.c level = (scope->length - sizeof(*scope)) / sizeof(*path); level 239 drivers/iommu/dmar.c if (!dmar_match_pci_path(info, scope->bus, path, level)) level 121 drivers/iommu/intel-iommu.c static inline unsigned int level_to_offset_bits(int level) level 123 drivers/iommu/intel-iommu.c return (level - 1) * LEVEL_STRIDE; level 126 drivers/iommu/intel-iommu.c static inline int pfn_level_offset(unsigned long pfn, int level) level 128 drivers/iommu/intel-iommu.c return (pfn >> level_to_offset_bits(level)) & LEVEL_MASK; level 131 drivers/iommu/intel-iommu.c static inline unsigned long level_mask(int level) level 133 drivers/iommu/intel-iommu.c return -1UL << level_to_offset_bits(level); level 136 drivers/iommu/intel-iommu.c static inline unsigned long level_size(int level) level 138 drivers/iommu/intel-iommu.c return 1UL << level_to_offset_bits(level); level 141 drivers/iommu/intel-iommu.c static inline unsigned long align_to_level(unsigned long pfn, int level) level 143 drivers/iommu/intel-iommu.c return (pfn + level_size(level) - 1) & level_mask(level); level 885 drivers/iommu/intel-iommu.c int level = agaw_to_level(domain->agaw); level 899 drivers/iommu/intel-iommu.c offset = pfn_level_offset(pfn, level); level 903 drivers/iommu/intel-iommu.c if (level == *target_level) level 922 drivers/iommu/intel-iommu.c if (level == 1) level 926 drivers/iommu/intel-iommu.c level--; level 930 drivers/iommu/intel-iommu.c *target_level = level; level 938 drivers/iommu/intel-iommu.c int level, int *large_page) level 945 drivers/iommu/intel-iommu.c while (level <= total) { level 948 drivers/iommu/intel-iommu.c if (level == total) level 999 drivers/iommu/intel-iommu.c static void dma_pte_free_level(struct dmar_domain *domain, int level, level 1005 drivers/iommu/intel-iommu.c pte = &pte[pfn_level_offset(pfn, level)]; level 1014 drivers/iommu/intel-iommu.c level_pfn = pfn & level_mask(level); level 1017 drivers/iommu/intel-iommu.c if (level > 2) { level 1018 drivers/iommu/intel-iommu.c dma_pte_free_level(domain, level - 1, retain_level, level 1027 drivers/iommu/intel-iommu.c if (level < retain_level && !(start_pfn > level_pfn || level 1028 drivers/iommu/intel-iommu.c last_pfn < level_pfn + level_size(level) - 1)) { level 1034 drivers/iommu/intel-iommu.c pfn += level_size(level); level 1071 drivers/iommu/intel-iommu.c int level, struct dma_pte *pte, level 1080 drivers/iommu/intel-iommu.c if (level == 1) level 1086 drivers/iommu/intel-iommu.c freelist = dma_pte_list_pagetables(domain, level - 1, level 1094 drivers/iommu/intel-iommu.c static struct page *dma_pte_clear_level(struct dmar_domain *domain, int level, level 1103 drivers/iommu/intel-iommu.c pte = &pte[pfn_level_offset(pfn, level)]; level 1111 drivers/iommu/intel-iommu.c level_pfn = pfn & level_mask(level); level 1115 drivers/iommu/intel-iommu.c last_pfn >= level_pfn + level_size(level) - 1) { level 1118 drivers/iommu/intel-iommu.c if (level > 1 && !dma_pte_superpage(pte)) level 1119 drivers/iommu/intel-iommu.c freelist = dma_pte_list_pagetables(domain, level - 1, pte, freelist); level 1125 drivers/iommu/intel-iommu.c } else if (level > 1) { level 1127 drivers/iommu/intel-iommu.c freelist = dma_pte_clear_level(domain, level - 1, level 1133 drivers/iommu/intel-iommu.c pfn += level_size(level); level 2201 drivers/iommu/intel-iommu.c int support, level = 1; level 2217 drivers/iommu/intel-iommu.c level++; level 2220 drivers/iommu/intel-iommu.c return level; level 5485 drivers/iommu/intel-iommu.c int iommu_id, level = 0; level 5489 drivers/iommu/intel-iommu.c BUG_ON(!pfn_to_dma_pte(dmar_domain, iova >> VTD_PAGE_SHIFT, &level)); level 5491 drivers/iommu/intel-iommu.c if (size < VTD_PAGE_SIZE << level_to_offset_bits(level)) level 5492 drivers/iommu/intel-iommu.c size = VTD_PAGE_SIZE << level_to_offset_bits(level); level 5518 drivers/iommu/intel-iommu.c int level = 0; level 5521 drivers/iommu/intel-iommu.c pte = pfn_to_dma_pte(dmar_domain, iova >> VTD_PAGE_SHIFT, &level); level 5524 drivers/iommu/intel-iommu.c (iova & (BIT_MASK(level_to_offset_bits(level) + level 1076 drivers/irqchip/irq-gic-v3.c #define MPIDR_TO_SGI_AFFINITY(cluster_id, level) \ level 1077 drivers/irqchip/irq-gic-v3.c (MPIDR_AFFINITY_LEVEL(cluster_id, level) \ level 1078 drivers/irqchip/irq-gic-v3.c << ICC_SGI1R_AFFINITY_## level ##_SHIFT) level 650 drivers/isdn/capi/capiutil.c static _cdebbuf *protocol_message_2_pars(_cdebbuf *cdb, _cmsg *cmsg, int level) level 656 drivers/isdn/capi/capiutil.c int slen = 29 + 3 - level; level 662 drivers/isdn/capi/capiutil.c for (i = 0; i < level - 1; i++) level 704 drivers/isdn/capi/capiutil.c cdb = protocol_message_2_pars(cdb, cmsg, level + 1); level 403 drivers/isdn/mISDN/socket.c static int data_sock_setsockopt(struct socket *sock, int level, int optname, level 411 drivers/isdn/mISDN/socket.c level, optname, optval, len); level 435 drivers/isdn/mISDN/socket.c static int data_sock_getsockopt(struct socket *sock, int level, int optname, level 38 drivers/leds/leds-gpio.c int level; level 41 drivers/leds/leds-gpio.c level = 0; level 43 drivers/leds/leds-gpio.c level = 1; level 46 drivers/leds/leds-gpio.c led_dat->platform_gpio_blink_set(led_dat->gpiod, level, level 51 drivers/leds/leds-gpio.c gpiod_set_value_cansleep(led_dat->gpiod, level); level 53 drivers/leds/leds-gpio.c gpiod_set_value(led_dat->gpiod, level); level 157 drivers/leds/leds-tca6507.c static inline int TO_BRIGHT(int level) level 159 drivers/leds/leds-tca6507.c if (level) level 160 drivers/leds/leds-tca6507.c return (level << 4) | 0xf; level 172 drivers/leds/leds-tca6507.c int level; level 310 drivers/leds/leds-tca6507.c static void set_level(struct tca6507_chip *tca, int bank, int level) level 315 drivers/leds/leds-tca6507.c set_code(tca, TCA6507_MAX_INTENSITY, bank, level); level 318 drivers/leds/leds-tca6507.c set_code(tca, TCA6507_MASTER_INTENSITY, 0, level); level 321 drivers/leds/leds-tca6507.c tca->bank[bank].level = level; level 394 drivers/leds/leds-tca6507.c int level = TO_LEVEL(led->led_cdev.brightness); level 401 drivers/leds/leds-tca6507.c led->led_cdev.brightness = TO_BRIGHT(level); level 402 drivers/leds/leds-tca6507.c if (level == 0) { level 415 drivers/leds/leds-tca6507.c int diff = 15-level; level 417 drivers/leds/leds-tca6507.c if (level == 15) { level 424 drivers/leds/leds-tca6507.c if (tca->bank[i].level == level || level 429 drivers/leds/leds-tca6507.c d = abs(level - tca->bank[i].level); level 443 drivers/leds/leds-tca6507.c set_level(tca, best, level); level 448 drivers/leds/leds-tca6507.c led->led_cdev.brightness = TO_BRIGHT(tca->bank[best].level); level 466 drivers/leds/leds-tca6507.c if (tca->bank[i].level != level) level 499 drivers/leds/leds-tca6507.c set_level(tca, i, level); level 527 drivers/leds/leds-tca6507.c led->led_cdev.brightness = TO_BRIGHT(b->level); level 171 drivers/macintosh/therm_windtunnel.c int temp, i, level, casetemp; level 190 drivers/macintosh/therm_windtunnel.c level = -1; level 194 drivers/macintosh/therm_windtunnel.c level = fan_table[i].fan_down_setting; level 200 drivers/macintosh/therm_windtunnel.c level = fan_table[i].fan_up_setting; level 203 drivers/macintosh/therm_windtunnel.c if( level >= 0 ) level 204 drivers/macintosh/therm_windtunnel.c tune_fan( level ); level 40 drivers/macintosh/via-pmu-backlight.c int level = (FB_BACKLIGHT_LEVELS - 1); level 52 drivers/macintosh/via-pmu-backlight.c level = i; level 55 drivers/macintosh/via-pmu-backlight.c return level; level 58 drivers/macintosh/via-pmu-backlight.c static int pmu_backlight_get_level_brightness(int level) level 63 drivers/macintosh/via-pmu-backlight.c pmulevel = bl_curve[level] * FB_BACKLIGHT_MAX / MAX_PMU_LEVEL; level 75 drivers/macintosh/via-pmu-backlight.c int level = bd->props.brightness; level 80 drivers/macintosh/via-pmu-backlight.c level = 0; level 82 drivers/macintosh/via-pmu-backlight.c if (level > 0) { level 83 drivers/macintosh/via-pmu-backlight.c int pmulevel = pmu_backlight_get_level_brightness(level); level 145 drivers/macintosh/via-pmu-backlight.c int level, autosave; level 172 drivers/macintosh/via-pmu-backlight.c level = bd->props.max_brightness; level 180 drivers/macintosh/via-pmu-backlight.c level = pmu_backlight_curve_lookup( level 185 drivers/macintosh/via-pmu-backlight.c bd->props.brightness = level; level 102 drivers/md/bcache/btree.c #define insert_lock(s, b) ((b)->level <= (s)->lock) level 124 drivers/md/bcache/btree.c int _r, l = (b)->level - 1; \ level 148 drivers/md/bcache/btree.c rw_lock(_w, _b, _b->level); \ level 171 drivers/md/bcache/btree.c if (b->level && b->keys.nsets) level 570 drivers/md/bcache/btree.c #define mca_reserve(c) (((c->root && c->root->level) \ level 571 drivers/md/bcache/btree.c ? c->root->level : 1) * 8 + 16) level 939 drivers/md/bcache/btree.c struct bkey *k, int level) level 984 drivers/md/bcache/btree.c lock_set_subclass(&b->lock.dep_map, level + 1, _THIS_IP_); level 988 drivers/md/bcache/btree.c b->level = level; level 990 drivers/md/bcache/btree.c if (!b->level) level 1019 drivers/md/bcache/btree.c struct bkey *k, int level, bool write, level 1025 drivers/md/bcache/btree.c BUG_ON(level < 0); level 1034 drivers/md/bcache/btree.c b = mca_alloc(c, op, k, level); level 1047 drivers/md/bcache/btree.c rw_lock(write, b, level); level 1052 drivers/md/bcache/btree.c BUG_ON(b->level != level); level 1081 drivers/md/bcache/btree.c b = mca_alloc(parent->c, NULL, k, parent->level - 1); level 1130 drivers/md/bcache/btree.c int level, bool wait, level 1144 drivers/md/bcache/btree.c b = mca_alloc(c, op, &k.key, level); level 1172 drivers/md/bcache/btree.c struct btree_op *op, int level, level 1175 drivers/md/bcache/btree.c return __bch_btree_node_alloc(c, op, level, op != NULL, parent); level 1181 drivers/md/bcache/btree.c struct btree *n = bch_btree_node_alloc(b->c, op, b->level, b->parent); level 1216 drivers/md/bcache/btree.c unsigned int i, reserve = (c->root->level - b->level) * 2 + 1; level 1236 drivers/md/bcache/btree.c static uint8_t __bch_btree_mark_key(struct cache_set *c, int level, level 1266 drivers/md/bcache/btree.c (GC_MARK(g) == GC_MARK_METADATA) != (level != 0), level 1268 drivers/md/bcache/btree.c GC_MARK(g), level); level 1270 drivers/md/bcache/btree.c if (level) level 1288 drivers/md/bcache/btree.c #define btree_mark_key(b, k) __bch_btree_mark_key(b->c, b->level, k) level 1290 drivers/md/bcache/btree.c void bch_initial_mark_key(struct cache_set *c, int level, struct bkey *k) level 1301 drivers/md/bcache/btree.c if (level && bkey_cmp(k, &ZERO_KEY)) level 1303 drivers/md/bcache/btree.c else if (!level && b->prio == BTREE_PRIO) level 1307 drivers/md/bcache/btree.c __bch_btree_mark_key(c, level, k); level 1628 drivers/md/bcache/btree.c r->b = bch_btree_node_get(b->c, op, k, b->level - 1, level 1653 drivers/md/bcache/btree.c if (last->b->level) { level 1722 drivers/md/bcache/btree.c __bch_btree_mark_key(b->c, b->level + 1, &b->key); level 1724 drivers/md/bcache/btree.c if (b->level) { level 1924 drivers/md/bcache/btree.c bch_initial_mark_key(b->c, b->level, k); level 1926 drivers/md/bcache/btree.c bch_initial_mark_key(b->c, b->level + 1, &b->key); level 1928 drivers/md/bcache/btree.c if (b->level) { level 2049 drivers/md/bcache/btree.c if (!b->level) level 2071 drivers/md/bcache/btree.c BUG_ON(!bch_keylist_empty(insert_keys) && b->level); level 2091 drivers/md/bcache/btree.c if (!b->level) level 2109 drivers/md/bcache/btree.c n2 = bch_btree_node_alloc(b->c, op, b->level, b->parent); level 2114 drivers/md/bcache/btree.c n3 = bch_btree_node_alloc(b->c, op, b->level + 1, NULL); level 2201 drivers/md/bcache/btree.c WARN(1, "bcache: btree split failed (level %u)", b->level); level 2218 drivers/md/bcache/btree.c BUG_ON(b->level && replace_key); level 2236 drivers/md/bcache/btree.c if (!b->level) level 2250 drivers/md/bcache/btree.c op->lock = b->c->root->level + 1; level 2252 drivers/md/bcache/btree.c } else if (op->lock <= b->c->root->level) { level 2253 drivers/md/bcache/btree.c op->lock = b->c->root->level + 1; level 2280 drivers/md/bcache/btree.c rw_lock(true, b, b->level); level 2284 drivers/md/bcache/btree.c op->lock = b->level; level 2391 drivers/md/bcache/btree.c if (b->level) { level 2408 drivers/md/bcache/btree.c if (!b->level || flags == MAP_ALL_NODES) level 2431 drivers/md/bcache/btree.c ret = !b->level level 2440 drivers/md/bcache/btree.c if (!b->level && (flags & MAP_END_KEY)) level 135 drivers/md/bcache/btree.h uint8_t level; level 228 drivers/md/bcache/btree.h static inline void rw_lock(bool w, struct btree *b, int level) level 230 drivers/md/bcache/btree.h w ? down_write_nested(&b->lock, level + 1) level 231 drivers/md/bcache/btree.h : down_read_nested(&b->lock, level + 1); level 249 drivers/md/bcache/btree.h int level, bool wait, level 252 drivers/md/bcache/btree.h struct bkey *k, int level, bool write, level 264 drivers/md/bcache/btree.h void bch_initial_mark_key(struct cache_set *c, int level, struct bkey *k); level 49 drivers/md/bcache/debug.c v->level = b->level; level 784 drivers/md/bcache/journal.c w->data->btree_level = c->root->level; level 645 drivers/md/bcache/sysfs.c rw_lock(false, b, b->level); level 713 drivers/md/bcache/sysfs.c sysfs_print(tree_depth, c->root->level); level 42 drivers/md/dm-cache-policy-smq.c unsigned level:6; level 302 drivers/md/dm-cache-policy-smq.c l_add_tail(q->es, q->qs + e->level, e); level 312 drivers/md/dm-cache-policy-smq.c l_add_head(q->es, q->qs + e->level, e); level 322 drivers/md/dm-cache-policy-smq.c l_add_before(q->es, q->qs + e->level, old, e); level 327 drivers/md/dm-cache-policy-smq.c l_del(q->es, q->qs + e->level, e); level 337 drivers/md/dm-cache-policy-smq.c unsigned level; level 342 drivers/md/dm-cache-policy-smq.c for (level = 0; level < max_level; level++) level 343 drivers/md/dm-cache-policy-smq.c for (e = l_head(q->es, q->qs + level); e; e = l_next(q->es, e)) { level 372 drivers/md/dm-cache-policy-smq.c static struct entry *__redist_pop_from(struct queue *q, unsigned level) level 376 drivers/md/dm-cache-policy-smq.c for (; level < q->nr_levels; level++) level 377 drivers/md/dm-cache-policy-smq.c for (e = l_head(q->es, q->qs + level); e; e = l_next(q->es, e)) level 379 drivers/md/dm-cache-policy-smq.c l_del(q->es, q->qs + e->level, e); level 388 drivers/md/dm-cache-policy-smq.c unsigned level, nr_levels, entries_per_level, remainder; level 396 drivers/md/dm-cache-policy-smq.c for (level = lbegin; level < lend; level++) level 397 drivers/md/dm-cache-policy-smq.c q->target_count[level] = level 398 drivers/md/dm-cache-policy-smq.c (level < (lbegin + remainder)) ? entries_per_level + 1u : entries_per_level; level 429 drivers/md/dm-cache-policy-smq.c unsigned target, level; level 435 drivers/md/dm-cache-policy-smq.c for (level = 0u; level < q->nr_levels - 1u; level++) { level 436 drivers/md/dm-cache-policy-smq.c l = q->qs + level; level 437 drivers/md/dm-cache-policy-smq.c target = q->target_count[level]; level 443 drivers/md/dm-cache-policy-smq.c e = __redist_pop_from(q, level + 1u); level 449 drivers/md/dm-cache-policy-smq.c e->level = level; level 456 drivers/md/dm-cache-policy-smq.c l_above = q->qs + level + 1u; level 464 drivers/md/dm-cache-policy-smq.c e->level = level + 1u; level 475 drivers/md/dm-cache-policy-smq.c unsigned new_level = min(q->nr_levels - 1u, e->level + extra_levels); level 478 drivers/md/dm-cache-policy-smq.c if (extra_levels && (e->level < q->nr_levels - 1u)) { level 484 drivers/md/dm-cache-policy-smq.c de->level = e->level; level 504 drivers/md/dm-cache-policy-smq.c e->level = new_level; level 538 drivers/md/dm-cache-policy-smq.c static void stats_level_accessed(struct stats *s, unsigned level) level 540 drivers/md/dm-cache-policy-smq.c if (level >= s->hit_threshold) level 721 drivers/md/dm-cache-policy-smq.c e->level = 0u; level 862 drivers/md/dm-cache-policy-smq.c static struct entry *get_sentinel(struct entry_alloc *ea, unsigned level, bool which) level 864 drivers/md/dm-cache-policy-smq.c return get_entry(ea, which ? level : NR_CACHE_LEVELS + level); level 867 drivers/md/dm-cache-policy-smq.c static struct entry *writeback_sentinel(struct smq_policy *mq, unsigned level) level 869 drivers/md/dm-cache-policy-smq.c return get_sentinel(&mq->writeback_sentinel_alloc, level, mq->current_writeback_sentinels); level 872 drivers/md/dm-cache-policy-smq.c static struct entry *demote_sentinel(struct smq_policy *mq, unsigned level) level 874 drivers/md/dm-cache-policy-smq.c return get_sentinel(&mq->demote_sentinel_alloc, level, mq->current_demote_sentinels); level 879 drivers/md/dm-cache-policy-smq.c unsigned level; level 883 drivers/md/dm-cache-policy-smq.c for (level = 0; level < q->nr_levels; level++) { level 884 drivers/md/dm-cache-policy-smq.c sentinel = writeback_sentinel(mq, level); level 892 drivers/md/dm-cache-policy-smq.c unsigned level; level 896 drivers/md/dm-cache-policy-smq.c for (level = 0; level < q->nr_levels; level++) { level 897 drivers/md/dm-cache-policy-smq.c sentinel = demote_sentinel(mq, level); level 920 drivers/md/dm-cache-policy-smq.c unsigned level; level 923 drivers/md/dm-cache-policy-smq.c for (level = 0; level < NR_CACHE_LEVELS; level++) { level 924 drivers/md/dm-cache-policy-smq.c sentinel = writeback_sentinel(mq, level); level 925 drivers/md/dm-cache-policy-smq.c sentinel->level = level; level 928 drivers/md/dm-cache-policy-smq.c sentinel = demote_sentinel(mq, level); level 929 drivers/md/dm-cache-policy-smq.c sentinel->level = level; level 1006 drivers/md/dm-cache-policy-smq.c get_sentinel(&mq->writeback_sentinel_alloc, e->level, !mq->current_writeback_sentinels), level 1007 drivers/md/dm-cache-policy-smq.c get_sentinel(&mq->writeback_sentinel_alloc, e->level, mq->current_writeback_sentinels)); level 1287 drivers/md/dm-cache-policy-smq.c return maybe_promote(hs_e->level >= mq->write_promote_level); level 1289 drivers/md/dm-cache-policy-smq.c return maybe_promote(hs_e->level >= mq->read_promote_level); level 1306 drivers/md/dm-cache-policy-smq.c stats_level_accessed(&mq->hotspot_stats, e->level); level 1376 drivers/md/dm-cache-policy-smq.c stats_level_accessed(&mq->cache_stats, e->level); level 1471 drivers/md/dm-cache-policy-smq.c e->level = NR_CACHE_LEVELS - 1; level 1565 drivers/md/dm-cache-policy-smq.c e->level = hint_valid ? min(hint, NR_CACHE_LEVELS - 1) : random_level(cblock); level 1600 drivers/md/dm-cache-policy-smq.c return e->level; level 284 drivers/md/dm-raid.c const unsigned int level; /* RAID level. */ level 396 drivers/md/dm-raid.c return !rs->md.level; level 402 drivers/md/dm-raid.c return rs->md.level == 1; level 408 drivers/md/dm-raid.c return rs->md.level == 10; level 414 drivers/md/dm-raid.c return rs->md.level == 6; level 420 drivers/md/dm-raid.c return __within_range(rs->md.level, 4, 6); level 450 drivers/md/dm-raid.c return !rt->level; level 456 drivers/md/dm-raid.c return rt->level == 1; level 462 drivers/md/dm-raid.c return rt->level == 10; level 468 drivers/md/dm-raid.c return __within_range(rt->level, 4, 5); level 474 drivers/md/dm-raid.c return rt->level == 6; level 480 drivers/md/dm-raid.c return __within_range(rt->level, 4, 6); level 633 drivers/md/dm-raid.c if (rtp->level == 10) { level 663 drivers/md/dm-raid.c static struct raid_type *get_raid_type_by_ll(const int level, const int layout) level 669 drivers/md/dm-raid.c if (rtp->level == level && level 711 drivers/md/dm-raid.c mddev->new_level = mddev->level; level 724 drivers/md/dm-raid.c mddev->level = mddev->new_level; level 757 drivers/md/dm-raid.c rs->md.level = raid_type->level; level 758 drivers/md/dm-raid.c rs->md.new_level = rs->md.level; level 1009 drivers/md/dm-raid.c switch (rs->md.level) { level 1751 drivers/md/dm-raid.c switch (mddev->level) { level 1892 drivers/md/dm-raid.c return rs->md.new_level != rs->md.level; level 1966 drivers/md/dm-raid.c __le32 level; level 2134 drivers/md/dm-raid.c sb->level = cpu_to_le32(mddev->level); level 2246 drivers/md/dm-raid.c mddev->level = le32_to_cpu(sb->level); level 2276 drivers/md/dm-raid.c rs->raid_type = get_raid_type_by_ll(mddev->level, mddev->layout); level 2283 drivers/md/dm-raid.c struct raid_type *rt_cur = get_raid_type_by_ll(mddev->level, mddev->layout); level 430 drivers/md/dm-verity-fec.c if (fio->level >= DM_VERITY_FEC_MAX_RECURSION) { level 435 drivers/md/dm-verity-fec.c fio->level++; level 479 drivers/md/dm-verity-fec.c fio->level--; level 520 drivers/md/dm-verity-fec.c fio->level = 0; level 60 drivers/md/dm-verity-fec.h unsigned level; /* recursion level */ level 91 drivers/md/dm-verity-target.c int level) level 93 drivers/md/dm-verity-target.c return block >> (level * v->hash_per_block_bits); level 191 drivers/md/dm-verity-target.c static void verity_hash_at_level(struct dm_verity *v, sector_t block, int level, level 194 drivers/md/dm-verity-target.c sector_t position = verity_position_at_level(v, block, level); level 197 drivers/md/dm-verity-target.c *hash_block = v->hash_level_block[level] + (position >> v->hash_per_block_bits); level 272 drivers/md/dm-verity-target.c sector_t block, int level, bool skip_unverified, level 282 drivers/md/dm-verity-target.c verity_hash_at_level(v, block, level, &hash_block, &offset); level 337 drivers/md/md-faulty.c .level = LEVEL_FAULTY, level 316 drivers/md/md-linear.c .level = LEVEL_LINEAR, level 377 drivers/md/md-multipath.c if (mddev->level != LEVEL_MULTIPATH) { level 379 drivers/md/md-multipath.c mdname(mddev), mddev->level); level 471 drivers/md/md-multipath.c .level = LEVEL_MULTIPATH, level 643 drivers/md/md.c mddev->level = LEVEL_NONE; level 803 drivers/md/md.c static struct md_personality *find_pers(int level, char *clevel) level 807 drivers/md/md.c if (level != LEVEL_NONE && pers->level == level) level 1154 drivers/md/md.c if (sb->level == LEVEL_MULTIPATH) level 1160 drivers/md/md.c if (sb->level == LEVEL_MULTIPATH || level 1198 drivers/md/md.c if ((u64)rdev->sectors >= (2ULL << 32) && sb->level >= 1) level 1201 drivers/md/md.c if (rdev->sectors < ((sector_t)sb->size) * 2 && sb->level >= 1) level 1232 drivers/md/md.c mddev->level = sb->level; level 1256 drivers/md/md.c mddev->new_level = mddev->level; level 1260 drivers/md/md.c if (mddev->level == 0) level 1310 drivers/md/md.c if (mddev->level != LEVEL_MULTIPATH) { level 1376 drivers/md/md.c sb->level = mddev->level; level 1498 drivers/md/md.c if ((u64)num_sectors >= (2ULL << 32) && rdev->mddev->level >= 1) level 1626 drivers/md/md.c if (sb->level == cpu_to_le32(LEVEL_MULTIPATH)) level 1679 drivers/md/md.c sb->level != 0) level 1683 drivers/md/md.c if (sb->level == cpu_to_le32(LEVEL_MULTIPATH) || level 1700 drivers/md/md.c sb->level != refsb->level || level 1745 drivers/md/md.c mddev->level = le32_to_cpu(sb->level); level 1798 drivers/md/md.c mddev->new_level = mddev->level; level 1803 drivers/md/md.c if (mddev->level == 0 && level 1844 drivers/md/md.c if (mddev->level != LEVEL_MULTIPATH) { level 1928 drivers/md/md.c sb->level = cpu_to_le32(mddev->level); level 2302 drivers/md/md.c if (mddev->level > 0) level 2709 drivers/md/md.c if (mddev->level == LEVEL_MULTIPATH) level 3682 drivers/md/md.c if (mddev->level == LEVEL_MULTIPATH) { level 3779 drivers/md/md.c else if (mddev->level != LEVEL_NONE) level 3780 drivers/md/md.c ret = sprintf(page, "%d\n", mddev->level); level 3794 drivers/md/md.c long level; level 3810 drivers/md/md.c mddev->level = LEVEL_NONE; level 3843 drivers/md/md.c if (kstrtol(clevel, 10, &level)) level 3844 drivers/md/md.c level = LEVEL_NONE; level 3849 drivers/md/md.c pers = find_pers(level, clevel); level 3880 drivers/md/md.c mddev->new_level = mddev->level; level 3903 drivers/md/md.c mddev->level = mddev->new_level; level 3990 drivers/md/md.c __ATTR(level, S_IRUGO|S_IWUSR, level_show, level_store); level 5093 drivers/md/md.c mddev->new_level = mddev->level; level 5618 drivers/md/md.c if (mddev->level != LEVEL_NONE) level 5619 drivers/md/md.c request_module("md-level-%d", mddev->level); level 5682 drivers/md/md.c pers = find_pers(mddev->level, mddev->clevel); level 5685 drivers/md/md.c if (mddev->level != LEVEL_NONE) level 5687 drivers/md/md.c mddev->level); level 5695 drivers/md/md.c if (mddev->level != pers->level) { level 5696 drivers/md/md.c mddev->level = pers->level; level 5697 drivers/md/md.c mddev->new_level = pers->level; level 5966 drivers/md/md.c mddev->level = LEVEL_NONE; level 6391 drivers/md/md.c info.level = mddev->level; level 6938 drivers/md/md.c mddev->level = info->level; level 6953 drivers/md/md.c if (mddev->level == 0) level 6976 drivers/md/md.c mddev->new_level = mddev->level; level 7102 drivers/md/md.c mddev->level != info->level || level 8150 drivers/md/md.c p->name, p->level); level 307 drivers/md/md.h int level, layout; level 550 drivers/md/md.h int level; level 521 drivers/md/persistent-data/dm-btree-remove.c unsigned level, last_level = info->levels - 1; level 529 drivers/md/persistent-data/dm-btree-remove.c for (level = 0; level < info->levels; level++) { level 531 drivers/md/persistent-data/dm-btree-remove.c (level == last_level ? level 533 drivers/md/persistent-data/dm-btree-remove.c root, keys[level], (unsigned *)&index); level 538 drivers/md/persistent-data/dm-btree-remove.c if (level != last_level) { level 618 drivers/md/persistent-data/dm-btree-remove.c unsigned level, last_level = info->levels - 1; level 627 drivers/md/persistent-data/dm-btree-remove.c for (level = 0; level < last_level; level++) { level 629 drivers/md/persistent-data/dm-btree-remove.c root, keys[level], (unsigned *) &index); level 165 drivers/md/persistent-data/dm-btree.c unsigned level; level 205 drivers/md/persistent-data/dm-btree.c return f->level < (info->levels - 1); level 208 drivers/md/persistent-data/dm-btree.c static int push_frame(struct del_stack *s, dm_block_t b, unsigned level) level 240 drivers/md/persistent-data/dm-btree.c f->level = level; level 309 drivers/md/persistent-data/dm-btree.c r = push_frame(s, b, f->level); level 316 drivers/md/persistent-data/dm-btree.c r = push_frame(s, b, f->level + 1); level 377 drivers/md/persistent-data/dm-btree.c unsigned level, last_level = info->levels - 1; level 384 drivers/md/persistent-data/dm-btree.c for (level = 0; level < info->levels; level++) { level 388 drivers/md/persistent-data/dm-btree.c if (level == last_level) { level 397 drivers/md/persistent-data/dm-btree.c r = btree_lookup_raw(&spine, root, keys[level], level 402 drivers/md/persistent-data/dm-btree.c if (rkey != keys[level]) { level 473 drivers/md/persistent-data/dm-btree.c unsigned level; level 479 drivers/md/persistent-data/dm-btree.c for (level = 0; level < info->levels - 1u; level++) { level 480 drivers/md/persistent-data/dm-btree.c r = btree_lookup_raw(&spine, root, keys[level], level 486 drivers/md/persistent-data/dm-btree.c if (*rkey != keys[level]) { level 494 drivers/md/persistent-data/dm-btree.c r = dm_btree_lookup_next_single(info, root, keys[level], rkey, value_le); level 756 drivers/md/persistent-data/dm-btree.c unsigned level, unsigned index) level 759 drivers/md/persistent-data/dm-btree.c (le64_to_cpu(node->keys[index]) != keys[level])); level 768 drivers/md/persistent-data/dm-btree.c unsigned level, index = -1, last_level = info->levels - 1; level 777 drivers/md/persistent-data/dm-btree.c for (level = 0; level < (info->levels - 1); level++) { level 778 drivers/md/persistent-data/dm-btree.c r = btree_insert_raw(&spine, block, &le64_type, keys[level], &index); level 784 drivers/md/persistent-data/dm-btree.c if (need_insert(n, keys, level, index)) { level 796 drivers/md/persistent-data/dm-btree.c keys[level], &new_le); level 801 drivers/md/persistent-data/dm-btree.c if (level < last_level) level 806 drivers/md/persistent-data/dm-btree.c keys[level], &index); level 812 drivers/md/persistent-data/dm-btree.c if (need_insert(n, keys, level, index)) { level 817 drivers/md/persistent-data/dm-btree.c keys[level], value); level 908 drivers/md/persistent-data/dm-btree.c int r = 0, count = 0, level; level 912 drivers/md/persistent-data/dm-btree.c for (level = 0; level < info->levels; level++) { level 913 drivers/md/persistent-data/dm-btree.c r = find_key(&spine, root, find_highest, result_keys + level, level 914 drivers/md/persistent-data/dm-btree.c level == info->levels - 1 ? NULL : &root); level 197 drivers/md/raid0.c if (mddev->level == 10) { level 203 drivers/md/raid0.c if (mddev->level == 1) { level 782 drivers/md/raid0.c if (mddev->level == 4) level 785 drivers/md/raid0.c if (mddev->level == 5) { level 793 drivers/md/raid0.c if (mddev->level == 10) level 796 drivers/md/raid0.c if (mddev->level == 1) level 800 drivers/md/raid0.c mddev->level); level 812 drivers/md/raid0.c .level = 0, level 3086 drivers/md/raid1.c if (mddev->level != 1) { level 3088 drivers/md/raid1.c mdname(mddev), mddev->level); level 3253 drivers/md/raid1.c mddev->level != mddev->new_level) { level 3256 drivers/md/raid1.c mddev->new_level = mddev->level; level 3350 drivers/md/raid1.c if (mddev->level == 5 && mddev->raid_disks == 2) { level 3370 drivers/md/raid1.c .level = 1, level 4053 drivers/md/raid10.c if (mddev->level == 0) { level 4913 drivers/md/raid10.c .level = 10, level 1345 drivers/md/raid5-ppl.c if (mddev->level != 5) { level 1347 drivers/md/raid5-ppl.c mdname(mddev), mddev->level); level 2057 drivers/md/raid5.c int level = conf->level; level 2069 drivers/md/raid5.c if (level < 6) level 2083 drivers/md/raid5.c if (level < 6) level 2098 drivers/md/raid5.c if (level < 6) level 2196 drivers/md/raid5.c "raid%d-%s", conf->level, mdname(conf->mddev)); level 2199 drivers/md/raid5.c "raid%d-%p", conf->level, conf->mddev); level 2749 drivers/md/raid5.c switch(conf->level) { level 2937 drivers/md/raid5.c switch(conf->level) { level 3097 drivers/md/raid5.c int level = conf->level; level 3143 drivers/md/raid5.c BUG_ON(level == 6 && level 3180 drivers/md/raid5.c if (level == 6) { level 3602 drivers/md/raid5.c if (sh->raid_conf->level != 6 && level 4816 drivers/md/raid5.c || conf->level < 6; level 4838 drivers/md/raid5.c || (conf->level == 6 && s.to_write && s.failed) level 4899 drivers/md/raid5.c if (conf->level == 6) level 5926 drivers/md/raid5.c if (conf->level == 6 && level 6757 drivers/md/raid5.c if (conf->level == 6 && !percpu->spare_page) { level 7016 drivers/md/raid5.c conf->level = mddev->new_level; level 7049 drivers/md/raid5.c conf->level = mddev->new_level; level 7050 drivers/md/raid5.c if (conf->level == 6) { level 7211 drivers/md/raid5.c int max_degraded = (mddev->level == 6 ? 2 : 1); level 7221 drivers/md/raid5.c if (mddev->new_level != mddev->level) { level 7277 drivers/md/raid5.c BUG_ON(mddev->level != mddev->new_level); level 7396 drivers/md/raid5.c mdname(mddev), conf->level, level 7516 drivers/md/raid5.c seq_printf(seq, " level %d, %dk chunk, algorithm %d", mddev->level, level 7538 drivers/md/raid5.c pr_debug(" --- level:%d rd:%d wd:%d\n", conf->level, level 7837 drivers/md/raid5.c if (mddev->level == 6) level 8101 drivers/md/raid5.c static void *raid45_takeover_raid0(struct mddev *mddev, int level) level 8116 drivers/md/raid5.c mddev->new_level = level; level 8260 drivers/md/raid5.c if (mddev->level == 0) level 8262 drivers/md/raid5.c if (mddev->level == 1) level 8264 drivers/md/raid5.c if (mddev->level == 4) { level 8269 drivers/md/raid5.c if (mddev->level == 6) level 8281 drivers/md/raid5.c if (mddev->level == 0) level 8283 drivers/md/raid5.c if (mddev->level == 5 && level 8356 drivers/md/raid5.c if (!raid5_has_ppl(conf) && conf->level == 5) { level 8412 drivers/md/raid5.c .level = 6, level 8437 drivers/md/raid5.c .level = 5, level 8463 drivers/md/raid5.c .level = 4, level 572 drivers/md/raid5.h int level, algorithm, rmw_level; level 17 drivers/media/common/b2c2/flexcop.h #define dprintk(level,args...) \ level 18 drivers/media/common/b2c2/flexcop.h do { if ((b2c2_flexcop_debug & level)) printk(args); } while (0) level 20 drivers/media/common/b2c2/flexcop.h #define dprintk(level,args...) level 1867 drivers/media/common/siano/smscoreapi.c int smscore_set_gpio(struct smscore_device_t *coredev, u32 pin, int level) level 1884 drivers/media/common/siano/smscoreapi.c msg.data[1] = level ? 1 : 0; level 2070 drivers/media/common/siano/smscoreapi.c u8 *level) { level 2117 drivers/media/common/siano/smscoreapi.c *level = coredev->gpio_get_res; level 1155 drivers/media/common/siano/smscoreapi.h int smscore_set_gpio(struct smscore_device_t *coredev, u32 pin, int level); level 1163 drivers/media/common/siano/smscoreapi.h u8 *level); level 37 drivers/media/common/videobuf2/videobuf2-core.c #define dprintk(level, fmt, arg...) \ level 39 drivers/media/common/videobuf2/videobuf2-core.c if (debug >= level) \ level 28 drivers/media/common/videobuf2/videobuf2-dma-sg.c #define dprintk(level, fmt, arg...) \ level 30 drivers/media/common/videobuf2/videobuf2-dma-sg.c if (debug >= level) \ level 38 drivers/media/common/videobuf2/videobuf2-v4l2.c #define dprintk(level, fmt, arg...) \ level 40 drivers/media/common/videobuf2/videobuf2-v4l2.c if (debug >= level) \ level 27 drivers/media/dvb-core/dvb_vb2.c #define dprintk(level, fmt, arg...) \ level 29 drivers/media/dvb-core/dvb_vb2.c if (vb2_debug >= level) \ level 70 drivers/media/dvb-frontends/bcm3510.c #define dprintk(level,x...) if (level & debug) printk(x) level 566 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c int level = 0; level 579 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_mon_rf_lvl(&priv->tnrdmd, &level); level 587 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c level /= 125; level 593 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c level = clamp(level, -840, -240); level 595 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c *strength = ((level + 840) * 0xffff) / (-240 + 840); level 32 drivers/media/dvb-frontends/dib3000mb_priv.h #define dprintk(level, fmt, arg...) do { \ level 33 drivers/media/dvb-frontends/dib3000mb_priv.h if (debug & level) \ level 708 drivers/media/dvb-frontends/drxd_hard.c u16 level = (cfg->outputLevel); level 710 drivers/media/dvb-frontends/drxd_hard.c if (level == DRXD_FE_CTRL_MAX) level 711 drivers/media/dvb-frontends/drxd_hard.c level++; level 713 drivers/media/dvb-frontends/drxd_hard.c status = Write16(state, FE_AG_REG_PM2_AGC_WRI__A, level, 0x0000); level 758 drivers/media/dvb-frontends/drxd_hard.c u16 level; level 780 drivers/media/dvb-frontends/drxd_hard.c level = (((cfg->settleLevel) >> 4) & level 782 drivers/media/dvb-frontends/drxd_hard.c status = Write16(state, FE_AG_REG_TGC_SET_LVL__A, level, 0x0000); level 153 drivers/media/dvb-frontends/drxk_hard.c #define dprintk(level, fmt, arg...) do { \ level 154 drivers/media/dvb-frontends/drxk_hard.c if (debug >= level) \ level 16 drivers/media/dvb-frontends/ix2505v.c #define dprintk(level, args...) do { \ level 17 drivers/media/dvb-frontends/ix2505v.c if (ix2505v_debug & level) \ level 243 drivers/media/dvb-frontends/lgs8gl5.c u8 level = lgs8gl5_read_reg(state, REG_STRENGTH); level 248 drivers/media/dvb-frontends/lgs8gl5.c if ((level & REG_STRENGTH_MASK) > 0) level 250 drivers/media/dvb-frontends/lgs8gl5.c if (level & REG_STRENGTH_CARRIER) level 274 drivers/media/dvb-frontends/lgs8gl5.c u8 level = lgs8gl5_read_reg(state, REG_STRENGTH); level 275 drivers/media/dvb-frontends/lgs8gl5.c *signal_strength = (level & REG_STRENGTH_MASK) << 8; level 285 drivers/media/dvb-frontends/lgs8gl5.c u8 level = lgs8gl5_read_reg(state, REG_STRENGTH); level 286 drivers/media/dvb-frontends/lgs8gl5.c *snr = (level & REG_STRENGTH_MASK) << 8; level 42 drivers/media/dvb-frontends/m88rs2000.c #define dprintk(level, args...) do { \ level 43 drivers/media/dvb-frontends/m88rs2000.c if (level & m88rs2000_debug) \ level 579 drivers/media/dvb-frontends/stb0899_drv.c if (postproc[ctl].level == STB0899_GPIOPULLUP) level 584 drivers/media/dvb-frontends/stb0899_drv.c if (postproc[ctl].level == STB0899_GPIOPULLUP) level 78 drivers/media/dvb-frontends/stb0899_drv.h u8 level; level 122 drivers/media/dvb-frontends/tda10048.c #define dprintk(level, fmt, arg...)\ level 123 drivers/media/dvb-frontends/tda10048.c do { if (debug >= level)\ level 26 drivers/media/dvb-frontends/zl10036.c #define dprintk(level, args...) \ level 27 drivers/media/dvb-frontends/zl10036.c do { if (zl10036_debug & level) printk(KERN_DEBUG "zl10036: " args); \ level 331 drivers/media/i2c/cx25840/cx25840-ir.c enum tx_fifo_watermark level) level 333 drivers/media/i2c/cx25840/cx25840-ir.c cx25840_and_or4(c, CX25840_IR_CNTRL_REG, ~CNTRL_TIC, level); level 337 drivers/media/i2c/cx25840/cx25840-ir.c enum rx_fifo_watermark level) level 339 drivers/media/i2c/cx25840/cx25840-ir.c cx25840_and_or4(c, CX25840_IR_CNTRL_REG, ~CNTRL_RIC, level); level 1357 drivers/media/i2c/s5c73m3/s5c73m3-core.c return s5c73m3_gpio_set_value(priv, id, priv->gpio[id].level); level 1362 drivers/media/i2c/s5c73m3/s5c73m3-core.c return s5c73m3_gpio_set_value(priv, id, !priv->gpio[id].level); level 1554 drivers/media/i2c/s5c73m3/s5c73m3-core.c if (g[i].level) level 1587 drivers/media/i2c/s5c73m3/s5c73m3-core.c state->gpio[i].level = !(of_flags & OF_GPIO_ACTIVE_LOW); level 476 drivers/media/i2c/s5k4ecgx.c if (s5k4ecgx_gpio_set_value(priv, STBY, priv->gpio[STBY].level)) level 479 drivers/media/i2c/s5k4ecgx.c if (s5k4ecgx_gpio_set_value(priv, RST, priv->gpio[RST].level)) level 487 drivers/media/i2c/s5k4ecgx.c if (s5k4ecgx_gpio_set_value(priv, RST, !priv->gpio[RST].level)) level 490 drivers/media/i2c/s5k4ecgx.c if (s5k4ecgx_gpio_set_value(priv, STBY, !priv->gpio[STBY].level)) level 877 drivers/media/i2c/s5k4ecgx.c ret = s5k4ecgx_config_gpio(gpio->gpio, gpio->level, "S5K4ECGX_STBY"); level 889 drivers/media/i2c/s5k4ecgx.c ret = s5k4ecgx_config_gpio(gpio->gpio, gpio->level, "S5K4ECGX_RST"); level 233 drivers/media/i2c/s5k5baf.c int level; level 942 drivers/media/i2c/s5k5baf.c gpio_set_value(gpio->gpio, gpio->level); level 949 drivers/media/i2c/s5k5baf.c gpio_set_value(gpio->gpio, !gpio->level); level 1803 drivers/media/i2c/s5k5baf.c if (g[i].level) level 1831 drivers/media/i2c/s5k5baf.c gpios[i].level = !(flags & OF_GPIO_ACTIVE_LOW); level 822 drivers/media/i2c/s5k6aa.c return s5k6aa_gpio_set_value(priv, id, priv->gpio[id].level); level 827 drivers/media/i2c/s5k6aa.c return s5k6aa_gpio_set_value(priv, id, !priv->gpio[id].level); level 1517 drivers/media/i2c/s5k6aa.c flags = (gpio->level ? GPIOF_OUT_INIT_HIGH : GPIOF_OUT_INIT_LOW) level 1529 drivers/media/i2c/s5k6aa.c flags = (gpio->level ? GPIOF_OUT_INIT_HIGH : GPIOF_OUT_INIT_LOW) level 21 drivers/media/pci/b2c2/flexcop-pci.c #define dprintk(level,args...) \ level 22 drivers/media/pci/b2c2/flexcop-pci.c do { if ((debug & level)) printk(args); } while (0) level 25 drivers/media/pci/b2c2/flexcop-pci.c #define dprintk(level,args...) level 39 drivers/media/pci/bt8xx/dst.c #define dprintk(level, fmt, arg...) do { \ level 40 drivers/media/pci/bt8xx/dst.c if (level >= verbose) \ level 161 drivers/media/pci/cobalt/cobalt-driver.h #define cobalt_dbg(level, fmt, arg...) \ level 162 drivers/media/pci/cobalt/cobalt-driver.h v4l2_dbg(level, cobalt_debug, &cobalt->v4l2_dev, fmt, ## arg) level 47 drivers/media/pci/cx23885/cx23885-417.c #define dprintk(level, fmt, arg...)\ level 48 drivers/media/pci/cx23885/cx23885-417.c do { if (v4l_debug >= level) \ level 34 drivers/media/pci/cx23885/cx23885-alsa.c #define dprintk(level, fmt, arg...) do { \ level 35 drivers/media/pci/cx23885/cx23885-alsa.c if (audio_debug + 1 > level) \ level 55 drivers/media/pci/cx23885/cx23885-core.c #define dprintk(level, fmt, arg...)\ level 56 drivers/media/pci/cx23885/cx23885-core.c do { if (debug >= level)\ level 72 drivers/media/pci/cx23885/cx23885-dvb.c #define dprintk(level, fmt, arg...)\ level 73 drivers/media/pci/cx23885/cx23885-dvb.c do { if (debug >= level)\ level 25 drivers/media/pci/cx23885/cx23885-i2c.c #define dprintk(level, fmt, arg...)\ level 26 drivers/media/pci/cx23885/cx23885-i2c.c do { if (i2c_debug >= level)\ level 23 drivers/media/pci/cx23885/cx23885-vbi.c #define dprintk(level, fmt, arg...)\ level 24 drivers/media/pci/cx23885/cx23885-vbi.c do { if (vbi_debug >= level)\ level 58 drivers/media/pci/cx23885/cx23885-video.c #define dprintk(level, fmt, arg...)\ level 59 drivers/media/pci/cx23885/cx23885-video.c do { if (video_debug >= level)\ level 344 drivers/media/pci/cx23885/cx23888-ir.c enum tx_fifo_watermark level) level 346 drivers/media/pci/cx23885/cx23888-ir.c cx23888_ir_and_or4(dev, CX23888_IR_CNTRL_REG, ~CNTRL_TIC, level); level 350 drivers/media/pci/cx23885/cx23888-ir.c enum rx_fifo_watermark level) level 352 drivers/media/pci/cx23885/cx23888-ir.c cx23888_ir_and_or4(dev, CX23888_IR_CNTRL_REG, ~CNTRL_RIC, level); level 34 drivers/media/pci/cx25821/cx25821-alsa.c #define dprintk(level, fmt, arg...) \ level 36 drivers/media/pci/cx25821/cx25821-alsa.c if (debug >= level) \ level 39 drivers/media/pci/cx25821/cx25821-alsa.c #define dprintk_core(level, fmt, arg...) \ level 41 drivers/media/pci/cx25821/cx25821-alsa.c if (debug >= level) \ level 24 drivers/media/pci/cx25821/cx25821-i2c.c #define dprintk(level, fmt, arg...) \ level 26 drivers/media/pci/cx25821/cx25821-i2c.c if (i2c_debug >= level) \ level 32 drivers/media/pci/cx25821/cx25821-video.h #define dprintk(level, fmt, arg...) \ level 34 drivers/media/pci/cx25821/cx25821-video.h if (VIDEO_DEBUG >= level) \ level 34 drivers/media/pci/cx88/cx88-alsa.c #define dprintk(level, fmt, arg...) do { \ level 35 drivers/media/pci/cx88/cx88-alsa.c if (debug + 1 > level) \ level 38 drivers/media/pci/cx88/cx88-blackbird.c #define dprintk(level, fmt, arg...) do { \ level 39 drivers/media/pci/cx88/cx88-blackbird.c if (debug + 1 > level) \ level 39 drivers/media/pci/cx88/cx88-cards.c #define dprintk(level, fmt, arg...) do { \ level 40 drivers/media/pci/cx88/cx88-cards.c if (cx88_core_debug >= level) \ level 54 drivers/media/pci/cx88/cx88-core.c #define dprintk(level, fmt, arg...) do { \ level 55 drivers/media/pci/cx88/cx88-core.c if (cx88_core_debug >= level) \ level 64 drivers/media/pci/cx88/cx88-dsp.c #define dprintk(level, fmt, arg...) do { \ level 65 drivers/media/pci/cx88/cx88-dsp.c if (dsp_debug >= level) \ level 67 drivers/media/pci/cx88/cx88-dvb.c #define dprintk(level, fmt, arg...) do { \ level 68 drivers/media/pci/cx88/cx88-dvb.c if (debug >= level) \ level 36 drivers/media/pci/cx88/cx88-i2c.c #define dprintk(level, fmt, arg...) do { \ level 37 drivers/media/pci/cx88/cx88-i2c.c if (i2c_debug >= level) \ level 35 drivers/media/pci/cx88/cx88-mpeg.c #define dprintk(level, fmt, arg...) do { \ level 36 drivers/media/pci/cx88/cx88-mpeg.c if (debug + 1 > level) \ level 15 drivers/media/pci/cx88/cx88-vbi.c #define dprintk(level, fmt, arg...) do { \ level 16 drivers/media/pci/cx88/cx88-vbi.c if (vbi_debug >= level) \ level 61 drivers/media/pci/cx88/cx88-video.c #define dprintk(level, fmt, arg...) do { \ level 62 drivers/media/pci/cx88/cx88-video.c if (video_debug >= level) \ level 398 drivers/media/pci/ngene/ngene-core.c int ngene_command_gpio_set(struct ngene *dev, u8 select, u8 level) level 404 drivers/media/pci/ngene/ngene-core.c com.cmd.SetGpioPin.select = select | (level << 7); level 899 drivers/media/pci/ngene/ngene.h int ngene_command_gpio_set(struct ngene *dev, u8 select, u8 level); level 96 drivers/media/pci/saa7134/saa7134-core.c #define irq_dbg(level, fmt, arg...) do {\ level 97 drivers/media/pci/saa7134/saa7134-core.c if (irq_debug > level) \ level 31 drivers/media/pci/saa7134/saa7134-i2c.c #define i2c_dbg(level, fmt, arg...) do { \ level 32 drivers/media/pci/saa7134/saa7134-i2c.c if (i2c_debug == level) \ level 36 drivers/media/pci/saa7134/saa7134-i2c.c #define i2c_cont(level, fmt, arg...) do { \ level 37 drivers/media/pci/saa7134/saa7134-i2c.c if (i2c_debug == level) \ level 39 drivers/media/pci/saa7134/saa7134-tvaudio.c #define audio_dbg(level, fmt, arg...) do { \ level 40 drivers/media/pci/saa7134/saa7134-tvaudio.c if (audio_debug >= level) \ level 938 drivers/media/pci/saa7134/saa7134-tvaudio.c void saa7134_tvaudio_setvolume(struct saa7134_dev *dev, int level) level 942 drivers/media/pci/saa7134/saa7134-tvaudio.c saa_writeb(SAA7134_CHANNEL1_LEVEL, level & 0x1f); level 943 drivers/media/pci/saa7134/saa7134-tvaudio.c saa_writeb(SAA7134_CHANNEL2_LEVEL, level & 0x1f); level 944 drivers/media/pci/saa7134/saa7134-tvaudio.c saa_writeb(SAA7134_NICAM_LEVEL_ADJUST, level & 0x1f); level 883 drivers/media/pci/saa7134/saa7134.h void saa7134_tvaudio_setvolume(struct saa7134_dev *dev, int level); level 65 drivers/media/pci/saa7164/saa7164-api.c int saa7164_api_set_debug(struct saa7164_dev *dev, u8 level) level 70 drivers/media/pci/saa7164/saa7164-api.c dprintk(DBGLVL_API, "%s(level=%d)\n", __func__, level); level 80 drivers/media/pci/saa7164/saa7164-api.c lvl.dwDebugLevel = level; level 474 drivers/media/pci/saa7164/saa7164-api.c int saa7164_api_set_audio_volume(struct saa7164_port *port, s8 level) level 480 drivers/media/pci/saa7164/saa7164-api.c dprintk(DBGLVL_API, "%s(%d)\n", __func__, level); level 499 drivers/media/pci/saa7164/saa7164-api.c level, min, max, v); level 501 drivers/media/pci/saa7164/saa7164-api.c v = level; level 525 drivers/media/pci/saa7164/saa7164-api.c level, min, max, v); level 539 drivers/media/pci/saa7164/saa7164.h int saa7164_api_set_audio_volume(struct saa7164_port *port, s8 level); level 544 drivers/media/pci/saa7164/saa7164.h int saa7164_api_set_debug(struct saa7164_dev *dev, u8 level); level 608 drivers/media/pci/saa7164/saa7164.h #define dprintk(level, fmt, arg...)\ level 609 drivers/media/pci/saa7164/saa7164.h do { if (saa_debug & level)\ level 44 drivers/media/pci/ttpci/av7110.h #define dprintk(level, fmt, arg...) do { \ level 45 drivers/media/pci/ttpci/av7110.h if (level & av7110_debug) \ level 25 drivers/media/pci/ttpci/budget.h #define dprintk(level, fmt, arg...) do { \ level 26 drivers/media/pci/ttpci/budget.h if (level & budget_debug) \ level 51 drivers/media/platform/am437x/am437x-vpfe.c #define vpfe_dbg(level, dev, fmt, arg...) \ level 52 drivers/media/platform/am437x/am437x-vpfe.c v4l2_dbg(level, debug, &dev->v4l2_dev, fmt, ##arg) level 1982 drivers/media/platform/coda/coda-bit.c u8 profile, level; level 1986 drivers/media/platform/coda/coda-bit.c level = (val >> 8) & 0x7f; level 1988 drivers/media/platform/coda/coda-bit.c if (profile || level) level 1989 drivers/media/platform/coda/coda-bit.c coda_update_profile_level_ctrls(ctx, profile, level); level 1663 drivers/media/platform/coda/coda-common.c int level; level 1673 drivers/media/platform/coda/coda-common.c level = coda_h264_level(level_idc); level 1682 drivers/media/platform/coda/coda-common.c level = coda_mpeg2_level(level_idc); level 1691 drivers/media/platform/coda/coda-common.c level = coda_mpeg4_level(level_idc); level 1709 drivers/media/platform/coda/coda-common.c if (level < 0) { level 1714 drivers/media/platform/coda/coda-common.c level_names[level]); level 1715 drivers/media/platform/coda/coda-common.c coda_update_menu_ctrl(level_ctrl, level); level 279 drivers/media/platform/coda/coda.h #define coda_dbg(level, ctx, fmt, arg...) \ level 281 drivers/media/platform/coda/coda.h if (coda_debug >= (level)) \ level 282 drivers/media/platform/coda/coda.h v4l2_dbg((level), coda_debug, &(ctx)->dev->v4l2_dev, \ level 31 drivers/media/platform/davinci/vpif_capture.c #define vpif_dbg(level, debug, fmt, arg...) \ level 32 drivers/media/platform/davinci/vpif_capture.c v4l2_dbg(level, debug, &vpif_obj.v4l2_dev, fmt, ## arg) level 35 drivers/media/platform/davinci/vpif_display.c #define vpif_dbg(level, debug, fmt, arg...) \ level 36 drivers/media/platform/davinci/vpif_display.c v4l2_dbg(level, debug, &vpif_obj.v4l2_dev, fmt, ## arg) level 340 drivers/media/platform/exynos4-is/fimc-is.h void fimc_is_log_dump(const char *level, const void *buf, size_t len); level 28 drivers/media/platform/exynos4-is/fimc-isp.h #define isp_dbg(level, dev, fmt, arg...) \ level 29 drivers/media/platform/exynos4-is/fimc-isp.h v4l2_dbg(level, fimc_isp_debug, dev, fmt, ## arg) level 49 drivers/media/platform/fsl-viu.c #define dprintk(level, fmt, arg...) \ level 51 drivers/media/platform/fsl-viu.c if (level <= info_level) \ level 228 drivers/media/platform/mtk-mdp/mtk_mdp_core.h #define mtk_mdp_dbg(level, fmt, args...) \ level 230 drivers/media/platform/mtk-mdp/mtk_mdp_core.h if (mtk_mdp_dbg_level >= level) \ level 232 drivers/media/platform/mtk-mdp/mtk_mdp_core.h level, __func__, __LINE__, ##args); \ level 245 drivers/media/platform/mtk-mdp/mtk_mdp_core.h #define mtk_mdp_dbg(level, fmt, args...) {} level 43 drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h #define mtk_v4l2_debug(level, fmt, args...) \ level 45 drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h if (mtk_v4l2_dbg_level >= level) \ level 47 drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h level, __func__, __LINE__, ##args); \ level 66 drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h #define mtk_v4l2_debug(level, fmt, args...) {} level 84 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c u32 level; level 176 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c unsigned int level) level 178 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c switch (level) { level 209 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c mtk_vcodec_debug(inst, "unsupported level %d", level); level 609 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c inst->vsi->config.level = level 157 drivers/media/platform/qcom/venus/core.h u32 level; level 198 drivers/media/platform/qcom/venus/core.h } level; level 67 drivers/media/platform/qcom/venus/hfi.h u32 level; level 612 drivers/media/platform/qcom/venus/hfi_cmds.c pl->level = in->level; level 618 drivers/media/platform/qcom/venus/hfi_cmds.c if (!pl->level) level 620 drivers/media/platform/qcom/venus/hfi_cmds.c pl->level = 1; level 713 drivers/media/platform/qcom/venus/hfi_helper.h u32 level; level 67 drivers/media/platform/qcom/venus/hfi_msgs.c event.level = profile_level->level; level 326 drivers/media/platform/qcom/venus/hfi_msgs.c profile_level->level = hfi->level; level 29 drivers/media/platform/qcom/venus/vdec_ctrls.c ctr->level = ctrl->val; level 61 drivers/media/platform/qcom/venus/vdec_ctrls.c ctr->level = hprop.profile_level.level; level 62 drivers/media/platform/qcom/venus/vdec_ctrls.c ctrl->val = ctr->level; level 651 drivers/media/platform/qcom/venus/venc.c u32 ptype, rate_control, bitrate, profile = 0, level = 0; level 790 drivers/media/platform/qcom/venus/venc.c level = venc_v4l2_to_hfi(V4L2_CID_MPEG_VIDEO_H264_LEVEL, level 791 drivers/media/platform/qcom/venus/venc.c ctr->level.h264); level 795 drivers/media/platform/qcom/venus/venc.c level = 0; level 799 drivers/media/platform/qcom/venus/venc.c level = venc_v4l2_to_hfi(V4L2_CID_MPEG_VIDEO_MPEG4_LEVEL, level 800 drivers/media/platform/qcom/venus/venc.c ctr->level.mpeg4); level 803 drivers/media/platform/qcom/venus/venc.c level = 0; level 807 drivers/media/platform/qcom/venus/venc.c level = venc_v4l2_to_hfi(V4L2_CID_MPEG_VIDEO_HEVC_LEVEL, level 808 drivers/media/platform/qcom/venus/venc.c ctr->level.hevc); level 813 drivers/media/platform/qcom/venus/venc.c pl.level = level; level 118 drivers/media/platform/qcom/venus/venc_ctrls.c ctr->level.mpeg4 = ctrl->val; level 121 drivers/media/platform/qcom/venus/venc_ctrls.c ctr->level.h264 = ctrl->val; level 124 drivers/media/platform/qcom/venus/venc_ctrls.c ctr->level.hevc = ctrl->val; level 242 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.c enum exynos4_jpeg_img_quality_level level) level 31 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.h enum exynos4_jpeg_img_quality_level level); level 373 drivers/media/platform/s5p-mfc/s5p_mfc_common.h int level; level 410 drivers/media/platform/s5p-mfc/s5p_mfc_common.h int level; level 435 drivers/media/platform/s5p-mfc/s5p_mfc_common.h int level; level 20 drivers/media/platform/s5p-mfc/s5p_mfc_debug.h #define mfc_debug(level, fmt, args...) \ level 22 drivers/media/platform/s5p-mfc/s5p_mfc_debug.h if (mfc_debug_level >= level) \ level 27 drivers/media/platform/s5p-mfc/s5p_mfc_debug.h #define mfc_debug(level, fmt, args...) level 1887 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c p->codec.h264.level = h264_level(ctrl->val); level 1888 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c if (p->codec.h264.level < 0) { level 1890 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c ret = p->codec.h264.level; level 1895 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c p->codec.mpeg4.level = mpeg4_level(ctrl->val); level 1896 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c if (p->codec.mpeg4.level < 0) { level 1898 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c ret = p->codec.mpeg4.level; level 2064 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c p->codec.hevc.level = hevc_level(ctrl->val); level 776 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c reg |= (p_264->level << 8); level 934 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c reg |= (p_mpeg4->level << 8); level 936 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg |= ((p_h264->level & 0xFF) << 8); level 1216 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg |= ((p_mpeg4->level & 0xFF) << 8); level 1462 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c p_hevc->level = 51; level 1473 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c reg |= (p_hevc->level << 8); level 21 drivers/media/platform/sti/delta/delta-debug.c s->profile, s->level, s->dpb, level 76 drivers/media/platform/sti/delta/delta.h u8 level[32]; level 42 drivers/media/platform/sti/hva/hva-debugfs.c stream->profile, stream->level); level 51 drivers/media/platform/sti/hva/hva-h264.c enum v4l2_mpeg_video_h264_level level; level 602 drivers/media/platform/sti/hva/hva-h264.c enum v4l2_mpeg_video_h264_level level; level 622 drivers/media/platform/sti/hva/hva-h264.c level = ctrls->level; level 676 drivers/media/platform/sti/hva/hva-h264.c max_bitrate = h264_infos_list[level].max_bitrate * level 679 drivers/media/platform/sti/hva/hva-h264.c max_bitrate = h264_infos_list[level].max_bitrate * level 696 drivers/media/platform/sti/hva/hva-h264.c h264_infos_list[level].max_cpb_size * H264_FACTOR_HIGH; level 699 drivers/media/platform/sti/hva/hva-h264.c h264_infos_list[level].max_cpb_size * H264_FACTOR_BASELINE; level 243 drivers/media/platform/sti/hva/hva-v4l2.c stream->profile, stream->level, level 646 drivers/media/platform/sti/hva/hva-v4l2.c ctx->ctrls.level = ctrl->val; level 647 drivers/media/platform/sti/hva/hva-v4l2.c snprintf(ctx->streaminfo.level, level 648 drivers/media/platform/sti/hva/hva-v4l2.c sizeof(ctx->streaminfo.level), level 63 drivers/media/platform/sti/hva/hva.h u8 level[32]; level 93 drivers/media/platform/sti/hva/hva.h enum v4l2_mpeg_video_h264_level level; level 57 drivers/media/platform/ti-vpe/cal.c #define cal_dbg(level, caldev, fmt, arg...) \ level 58 drivers/media/platform/ti-vpe/cal.c v4l2_dbg(level, debug, &caldev->v4l2_dev, fmt, ##arg) level 64 drivers/media/platform/ti-vpe/cal.c #define ctx_dbg(level, ctx, fmt, arg...) \ level 65 drivers/media/platform/ti-vpe/cal.c v4l2_dbg(level, debug, &ctx->v4l2_dev, fmt, ##arg) level 22 drivers/media/platform/vivid/vivid-core.h #define dprintk(dev, level, fmt, arg...) \ level 23 drivers/media/platform/vivid/vivid-core.h v4l2_dbg(level, vivid_debug, &dev->v4l2_dev, fmt, ## arg) level 247 drivers/media/radio/radio-wl1273.c u16 level; level 249 drivers/media/radio/radio-wl1273.c r = core->read(core, WL1273_RSSI_LVL_GET, &level); level 253 drivers/media/radio/radio-wl1273.c if (level > 14) level 254 drivers/media/radio/radio-wl1273.c dev_dbg(radio->dev, "IRQ: LEV: 0x%x04\n", level); level 784 drivers/media/radio/radio-wl1273.c int level) level 806 drivers/media/radio/radio-wl1273.c if (level < SCHAR_MIN || level > SCHAR_MAX) level 818 drivers/media/radio/radio-wl1273.c r = core->write(core, WL1273_SEARCH_LVL_SET, level); level 171 drivers/media/rc/ene_ir.h #define __dbg(level, format, ...) \ level 173 drivers/media/rc/ene_ir.h if (debug >= level) \ level 24 drivers/media/rc/fintek-cir.h #define fit_pr(level, text, ...) \ level 25 drivers/media/rc/fintek-cir.h printk(level KBUILD_MODNAME ": " text, ## __VA_ARGS__) level 12 drivers/media/rc/ite-cir.h #define ite_pr(level, text, ...) \ level 13 drivers/media/rc/ite-cir.h printk(level KBUILD_MODNAME ": " text, ## __VA_ARGS__) level 19 drivers/media/tuners/mc44s803.c #define mc_printk(level, format, arg...) \ level 20 drivers/media/tuners/mc44s803.c printk(level "mc44s803: " format , ## arg) level 26 drivers/media/tuners/mt2063.c #define dprintk(level, fmt, arg...) do { \ level 27 drivers/media/tuners/mt2063.c if (debug >= level) \ level 23 drivers/media/tuners/mt2131.c #define dprintk(level,fmt, arg...) if (debug >= level) \ level 74 drivers/media/tuners/mxl301rf.c s64 level; level 100 drivers/media/tuners/mxl301rf.c level = rf_in - rf_off - (113 << 3); /* x8 dBm */ level 101 drivers/media/tuners/mxl301rf.c level = level * 1000 / 8; level 102 drivers/media/tuners/mxl301rf.c rssi->stat[0].svalue = level; level 71 drivers/media/tuners/mxl5005s.c #define dprintk(level, arg...) do { \ level 72 drivers/media/tuners/mxl5005s.c if (level <= debug) \ level 705 drivers/media/tuners/tda18271-common.c void _tda_printk(struct tda18271_priv *state, const char *level, level 718 drivers/media/tuners/tda18271-common.c level, func, i2c_adapter_id(state->i2c_props.adap), level 723 drivers/media/tuners/tda18271-common.c printk("%s%s: %pV", level, func, &vaf); level 132 drivers/media/tuners/tda18271-priv.h void _tda_printk(struct tda18271_priv *state, const char *level, level 52 drivers/media/tuners/xc4000.c #define dprintk(level, fmt, arg...) if (debug >= level) \ level 36 drivers/media/tuners/xc5000.c #define dprintk(level, fmt, arg...) if (debug >= level) \ level 357 drivers/media/usb/au0828/au0828.h #define dprintk(level, fmt, arg...)\ level 358 drivers/media/usb/au0828/au0828.h do { if (au0828_debug & level)\ level 18 drivers/media/usb/b2c2/flexcop-usb.c #define dprintk(level,args...) \ level 19 drivers/media/usb/b2c2/flexcop-usb.c do { if ((debug & level)) printk(args); } while (0) level 30 drivers/media/usb/b2c2/flexcop-usb.c #define dprintk(level, args...) level 80 drivers/media/usb/cx231xx/cx231xx-417.c #define dprintk(level, fmt, arg...) \ level 82 drivers/media/usb/cx231xx/cx231xx-417.c if (v4l_debug >= level) \ level 82 drivers/media/usb/dvb-usb-v2/lmedm04.c #define lme_debug(var, level, args...) do { \ level 83 drivers/media/usb/dvb-usb-v2/lmedm04.c if ((var >= level)) \ level 86 drivers/media/usb/dvb-usb-v2/lmedm04.c #define deb_info(level, args...) lme_debug(dvb_usb_lme2510_debug, level, args) level 87 drivers/media/usb/dvb-usb-v2/lmedm04.c #define debug_data_snipet(level, name, p) \ level 88 drivers/media/usb/dvb-usb-v2/lmedm04.c deb_info(level, name" (%8phN)", p); level 31 drivers/media/usb/dvb-usb/dvb-usb.h #define dprintk(var,level,args...) \ level 32 drivers/media/usb/dvb-usb/dvb-usb.h do { if ((var & level)) { printk(args); } } while (0) level 370 drivers/media/usb/dvb-usb/technisat-usb2.c static int technisat_usb2_power_ctrl(struct dvb_usb_device *d, int level) level 374 drivers/media/usb/dvb-usb/technisat-usb2.c state->power_state = level; level 77 drivers/media/usb/em28xx/em28xx-dvb.c #define dprintk(level, fmt, arg...) do { \ level 78 drivers/media/usb/em28xx/em28xx-dvb.c if (debug >= level) \ level 43 drivers/media/usb/em28xx/em28xx-i2c.c #define dprintk(level, fmt, arg...) do { \ level 44 drivers/media/usb/em28xx/em28xx-i2c.c if (i2c_debug > level) \ level 31 drivers/media/usb/gspca/gspca.h #define gspca_dbg(gspca_dev, level, fmt, ...) \ level 32 drivers/media/usb/gspca/gspca.h v4l2_dbg(level, gspca_debug, &(gspca_dev)->v4l2_dev, \ level 71 drivers/media/usb/pwc/pwc.h #define PWC_DEBUG(level, fmt, args...) do {\ level 72 drivers/media/usb/pwc/pwc.h if ((PWC_DEBUG_LEVEL_ ##level) & pwc_trace) \ level 87 drivers/media/usb/pwc/pwc.h #define PWC_DEBUG(level, fmt, args...) do { } while(0) level 354 drivers/media/usb/s2255/s2255drv.c #define dprintk(dev, level, fmt, arg...) \ level 355 drivers/media/usb/s2255/s2255drv.c v4l2_dbg(level, debug, &dev->v4l2_dev, fmt, ## arg) level 28 drivers/media/usb/tm6000/tm6000-alsa.c #define dprintk(level, fmt, arg...) do { \ level 29 drivers/media/usb/tm6000/tm6000-alsa.c if (debug >= level) \ level 37 drivers/media/usb/tm6000/tm6000-input.c #define dprintk(level, fmt, arg...) do {\ level 38 drivers/media/usb/tm6000/tm6000-input.c if (ir_debug >= level) \ level 382 drivers/media/usb/tm6000/tm6000.h #define dprintk(dev, level, fmt, arg...) do {\ level 383 drivers/media/usb/tm6000/tm6000.h if (tm6000_debug & level) \ level 61 drivers/media/usb/usbvision/usbvision-core.c #define PDEBUG(level, fmt, args...) { \ level 62 drivers/media/usb/usbvision/usbvision-core.c if (core_debug & (level)) \ level 67 drivers/media/usb/usbvision/usbvision-core.c #define PDEBUG(level, fmt, args...) do {} while (0) level 32 drivers/media/usb/usbvision/usbvision-i2c.c #define PDEBUG(level, fmt, args...) { \ level 33 drivers/media/usb/usbvision/usbvision-i2c.c if (i2c_debug & (level)) \ level 68 drivers/media/usb/usbvision/usbvision-video.c #define PDEBUG(level, fmt, args...) { \ level 69 drivers/media/usb/usbvision/usbvision-video.c if (video_debug & (level)) \ level 74 drivers/media/usb/usbvision/usbvision-video.c #define PDEBUG(level, fmt, args...) do {} while (0) level 734 drivers/media/usb/uvc/uvcvideo.h #define uvc_printk(level, msg...) \ level 735 drivers/media/usb/uvc/uvcvideo.h printk(level "uvcvideo: " msg) level 41 drivers/media/v4l2-core/videobuf-core.c #define dprintk(level, fmt, arg...) \ level 43 drivers/media/v4l2-core/videobuf-core.c if (debug >= level) \ level 51 drivers/media/v4l2-core/videobuf-dma-sg.c #define dprintk(level, fmt, arg...) \ level 52 drivers/media/v4l2-core/videobuf-dma-sg.c if (debug >= level) \ level 44 drivers/media/v4l2-core/videobuf-vmalloc.c #define dprintk(level, fmt, arg...) \ level 45 drivers/media/v4l2-core/videobuf-vmalloc.c if (debug >= level) \ level 277 drivers/memstick/core/ms_block.h #define __dbg(level, format, ...) \ level 279 drivers/memstick/core/ms_block.h if (debug >= level) \ level 160 drivers/memstick/host/r592.h #define __dbg(level, format, ...) \ level 162 drivers/memstick/host/r592.h if (debug >= level) \ level 2943 drivers/message/fusion/mptsas.c edev->level = manufacture_reply->sas_format; level 300 drivers/mfd/asic3.c u16 trigger, level, edge, bit; level 308 drivers/mfd/asic3.c level = asic3_read_register(asic, level 331 drivers/mfd/asic3.c level &= ~bit; level 334 drivers/mfd/asic3.c level |= bit; level 344 drivers/mfd/asic3.c level); level 214 drivers/mfd/tps65217.c unsigned int val, unsigned int level) level 219 drivers/mfd/tps65217.c switch (level) { level 260 drivers/mfd/tps65217.c unsigned int mask, unsigned int val, unsigned int level) level 274 drivers/mfd/tps65217.c ret = tps65217_reg_write(tps, reg, data, level); level 282 drivers/mfd/tps65217.c unsigned int mask, unsigned int val, unsigned int level) level 284 drivers/mfd/tps65217.c return tps65217_update_bits(tps, reg, mask, val, level); level 289 drivers/mfd/tps65217.c unsigned int mask, unsigned int level) level 291 drivers/mfd/tps65217.c return tps65217_update_bits(tps, reg, mask, 0, level); level 57 drivers/mfd/tps65218.c unsigned int val, unsigned int level) level 62 drivers/mfd/tps65218.c switch (level) { level 89 drivers/mfd/tps65218.c unsigned int mask, unsigned int val, unsigned int level) level 104 drivers/mfd/tps65218.c ret = tps65218_reg_write(tps, reg, data, level); level 113 drivers/mfd/tps65218.c unsigned int mask, unsigned int val, unsigned int level) level 115 drivers/mfd/tps65218.c return tps65218_update_bits(tps, reg, mask, val, level); level 120 drivers/mfd/tps65218.c unsigned int mask, unsigned int level) level 122 drivers/mfd/tps65218.c return tps65218_update_bits(tps, reg, mask, 0, level); level 2430 drivers/net/bonding/bond_main.c int level) level 2437 drivers/net/bonding/bond_main.c tags = kcalloc(level + 1, sizeof(*tags), GFP_ATOMIC); level 2440 drivers/net/bonding/bond_main.c tags[level].vlan_proto = VLAN_N_VID; level 2445 drivers/net/bonding/bond_main.c tags = bond_verify_device_path(upper, end_dev, level + 1); level 2452 drivers/net/bonding/bond_main.c tags[level].vlan_proto = vlan_dev_vlan_proto(upper); level 2453 drivers/net/bonding/bond_main.c tags[level].vlan_id = vlan_dev_vlan_id(upper); level 1553 drivers/net/ethernet/3com/3c515.c static void netdev_set_msglevel(struct net_device *dev, u32 level) level 1555 drivers/net/ethernet/3com/3c515.c corkscrew_debug = level; level 400 drivers/net/ethernet/8390/ax88796.c static void ax_bb_mdc(struct mdiobb_ctrl *ctrl, int level) level 404 drivers/net/ethernet/8390/ax88796.c if (level) level 1195 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c static void bnx2x_set_msglevel(struct net_device *dev, u32 level) level 1201 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (IS_PF(bp) && (level & BNX2X_MSG_MCP)) level 1203 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->msg_enable = level; level 592 drivers/net/ethernet/broadcom/genet/bcmgenet.c static void bcmgenet_set_msglevel(struct net_device *dev, u32 level) level 596 drivers/net/ethernet/broadcom/genet/bcmgenet.c priv->msg_enable = level; level 52 drivers/net/ethernet/chelsio/cxgb3/common.h #define CH_MSG(adapter, level, category, fmt, ...) do { \ level 54 drivers/net/ethernet/chelsio/cxgb3/common.h dev_printk(KERN_##level, &adapter->pdev->dev, fmt, \ level 1057 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h s8 level; /* scheduler hierarchy level */ level 1866 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h int t4_sched_params(struct adapter *adapter, int type, int level, int mode, level 1020 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c (e->level < ARRAY_SIZE(devlog_level_strings) level 1021 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c ? devlog_level_strings[e->level] level 3109 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c p.u.params.level = SCHED_CLASS_LEVEL_CL_RL; level 54 drivers/net/ethernet/chelsio/cxgb4/sched.c p->u.params.level, p->u.params.mode, level 10351 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c int t4_sched_params(struct adapter *adapter, int type, int level, int mode, level 10365 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.u.params.level = level; level 3516 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h __u8 level; level 3816 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h __u8 level; level 3826 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h __u8 level; level 83 drivers/net/ethernet/cirrus/cs89x0.c #define cs89_dbg(val, level, fmt, ...) \ level 86 drivers/net/ethernet/cirrus/cs89x0.c pr_##level(fmt, ##__VA_ARGS__); \ level 2196 drivers/net/ethernet/cortina/gemini.c static void gmac_set_msglevel(struct net_device *netdev, u32 level) level 2200 drivers/net/ethernet/cortina/gemini.c port->msg_enable = level; level 4077 drivers/net/ethernet/emulex/benet/be_cmds.c int be_cmd_set_fw_log_level(struct be_adapter *adapter, u32 level) level 4104 drivers/net/ethernet/emulex/benet/be_cmds.c cpu_to_le32(level); level 4120 drivers/net/ethernet/emulex/benet/be_cmds.c int level = 0; level 4141 drivers/net/ethernet/emulex/benet/be_cmds.c level = cfgs->module[0].trace_lvl[j].dbg_lvl; level 4147 drivers/net/ethernet/emulex/benet/be_cmds.c return level; level 2480 drivers/net/ethernet/emulex/benet/be_cmds.h int be_cmd_set_fw_log_level(struct be_adapter *adapter, u32 level); level 1056 drivers/net/ethernet/emulex/benet/be_ethtool.c static void be_set_msg_level(struct net_device *netdev, u32 level) level 1060 drivers/net/ethernet/emulex/benet/be_ethtool.c if (adapter->msg_enable == level) level 1063 drivers/net/ethernet/emulex/benet/be_ethtool.c if ((level & NETIF_MSG_HW) != (adapter->msg_enable & NETIF_MSG_HW)) level 1065 drivers/net/ethernet/emulex/benet/be_ethtool.c be_cmd_set_fw_log_level(adapter, level & NETIF_MSG_HW ? level 1068 drivers/net/ethernet/emulex/benet/be_ethtool.c adapter->msg_enable = level; level 4540 drivers/net/ethernet/emulex/benet/be_main.c int status, level; level 4555 drivers/net/ethernet/emulex/benet/be_main.c level = be_cmd_get_fw_log_level(adapter); level 4557 drivers/net/ethernet/emulex/benet/be_main.c level <= FW_LOG_LEVEL_DEFAULT ? NETIF_MSG_HW : 0; level 772 drivers/net/ethernet/freescale/fec_mpc52xx.c static void mpc52xx_fec_set_msglevel(struct net_device *dev, u32 level) level 775 drivers/net/ethernet/freescale/fec_mpc52xx.c priv->msg_enable = level; level 51 drivers/net/ethernet/freescale/ucc_geth.c #define ugeth_printk(level, format, arg...) \ level 52 drivers/net/ethernet/freescale/ucc_geth.c printk(level format "\n", ## arg) level 462 drivers/net/ethernet/ibm/ibmvnic.h u8 level; level 126 drivers/net/ethernet/intel/i40e/i40e_client.h struct i40e_client *client, u32 level); level 81 drivers/net/ethernet/mellanox/mlx4/en_main.c void en_print(const char *level, const struct mlx4_en_priv *priv, level 93 drivers/net/ethernet/mellanox/mlx4/en_main.c level, DRV_NAME, priv->dev->name, &vaf); level 96 drivers/net/ethernet/mellanox/mlx4/en_main.c level, DRV_NAME, dev_name(&priv->mdev->pdev->dev), level 821 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h void en_print(const char *level, const struct mlx4_en_priv *priv, level 70 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h __field(u32, level) level 76 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h __entry->level = ft->level; level 80 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h __entry->ft, __entry->id, __entry->level, __entry->type) level 320 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c ft_attr.level = MLX5E_ARFS_FT_LEVEL; level 1123 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c ft_attr->level = MLX5E_INNER_TTC_FT_LEVEL; level 1133 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c ft_attr->level = MLX5E_TTC_FT_LEVEL; level 1362 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c ft_attr.level = MLX5E_L2_FT_LEVEL; level 1483 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c ft_attr.level = MLX5E_VLAN_FT_LEVEL; level 590 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c ft_attr->level = MLX5E_TC_TTC_FT_LEVEL; level 51 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c #define fdb_prio_table(esw, chain, prio, level) \ level 52 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c (esw)->fdb_table.offloads.fdb_prio[(chain)][(prio)][(level)] level 66 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw_get_prio_table(struct mlx5_eswitch *esw, u32 chain, u16 prio, int level); level 68 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw_put_prio_table(struct mlx5_eswitch *esw, u32 chain, u16 prio, int level); level 896 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c int level, level 910 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c level, level 914 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c (int)PTR_ERR(fdb), table_prio, level, sz); level 922 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw_get_prio_table(struct mlx5_eswitch *esw, u32 chain, u16 prio, int level) level 935 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c fdb = fdb_prio_table(esw, chain, prio, level).fdb; level 938 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c while (level >= 0) level 939 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c fdb_prio_table(esw, chain, prio, level--).num_rules++; level 960 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c for (l = 0; l <= level; l++) { level 988 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw_put_prio_table(struct mlx5_eswitch *esw, u32 chain, u16 prio, int level) level 997 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c for (l = level; l >= 0; l--) { level 204 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(create_flow_table_in, in, flow_table_context.level, ft->level); level 708 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c static struct mlx5_flow_table *alloc_flow_table(int level, u16 vport, int max_fte, level 726 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c ft->level = level; level 857 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c min_level = root->root_ft->level; level 859 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c if (ft->level >= min_level) level 996 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c if (iter->level > ft->level) level 1026 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c if (ft_attr->level >= fs_prio->num_levels) { level 1033 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c ft_attr->level += fs_prio->start_level; level 1034 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c ft = alloc_flow_table(ft_attr->level, level 1081 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c u32 level, u16 vport) level 1086 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c ft_attr.level = level; level 1094 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c int prio, u32 level) level 1098 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c ft_attr.level = level; level 1109 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c u32 level, level 1120 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c ft_attr.level = level; level 1543 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c (dest->ft->level <= ft->level))) level 2399 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c ft_attr.level = ANCHOR_LEVEL; level 159 drivers/net/ethernet/mellanox/mlx5/core/fs_core.h unsigned int level; level 679 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c if (action->dest_tbl.tbl->level <= matcher->tbl->level) { level 149 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c output->level = MLX5_GET(query_flow_table_out, out, flow_table_context.level); level 326 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c u8 level, level 343 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(flow_table_context, ft_mdev, level, level); level 235 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_table.c struct mlx5dr_table *mlx5dr_table_create(struct mlx5dr_domain *dmn, u32 level) level 247 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_table.c tbl->level = level; level 672 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h u32 level; level 857 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h u8 level; level 902 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h u8 level, level 77 drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c ft->level); level 49 drivers/net/ethernet/mellanox/mlx5/core/steering/mlx5dr.h mlx5dr_table_create(struct mlx5dr_domain *domain, u32 level); level 134 drivers/net/ethernet/mellanox/mlx5/core/steering/mlx5dr.h mlx5dr_table_create(struct mlx5dr_domain *domain, u32 level) { return NULL; } level 1846 drivers/net/ethernet/neterion/vxge/vxge-config.c enum vxge_debug_level level, u32 mask) level 1854 drivers/net/ethernet/neterion/vxge/vxge-config.c hldev->debug_level = level; level 1858 drivers/net/ethernet/neterion/vxge/vxge-config.c hldev->level_err = level & VXGE_ERR; level 1862 drivers/net/ethernet/neterion/vxge/vxge-config.c hldev->level_trace = level & VXGE_TRACE; level 1466 drivers/net/ethernet/neterion/vxge/vxge-config.h enum vxge_debug_level level, level 2044 drivers/net/ethernet/neterion/vxge/vxge-config.h #define vxge_debug_ll(level, mask, fmt, ...) do { \ level 2045 drivers/net/ethernet/neterion/vxge/vxge-config.h if ((level >= VXGE_ERR && VXGE_COMPONENT_LL & VXGE_DEBUG_ERR_MASK) || \ level 2046 drivers/net/ethernet/neterion/vxge/vxge-config.h (level >= VXGE_TRACE && VXGE_COMPONENT_LL & VXGE_DEBUG_TRACE_MASK))\ level 2051 drivers/net/ethernet/neterion/vxge/vxge-config.h #define vxge_debug_ll(level, mask, fmt, ...) level 454 drivers/net/ethernet/neterion/vxge/vxge-main.h #define vxge_debug_ll_config(level, fmt, ...) \ level 455 drivers/net/ethernet/neterion/vxge/vxge-main.h vxge_debug_ll(level, VXGE_DEBUG_LL_CONFIG, fmt, ##__VA_ARGS__) level 457 drivers/net/ethernet/neterion/vxge/vxge-main.h #define vxge_debug_ll_config(level, fmt, ...) level 461 drivers/net/ethernet/neterion/vxge/vxge-main.h #define vxge_debug_init(level, fmt, ...) \ level 462 drivers/net/ethernet/neterion/vxge/vxge-main.h vxge_debug_ll(level, VXGE_DEBUG_INIT, fmt, ##__VA_ARGS__) level 464 drivers/net/ethernet/neterion/vxge/vxge-main.h #define vxge_debug_init(level, fmt, ...) level 468 drivers/net/ethernet/neterion/vxge/vxge-main.h #define vxge_debug_tx(level, fmt, ...) \ level 469 drivers/net/ethernet/neterion/vxge/vxge-main.h vxge_debug_ll(level, VXGE_DEBUG_TX, fmt, ##__VA_ARGS__) level 471 drivers/net/ethernet/neterion/vxge/vxge-main.h #define vxge_debug_tx(level, fmt, ...) level 475 drivers/net/ethernet/neterion/vxge/vxge-main.h #define vxge_debug_rx(level, fmt, ...) \ level 476 drivers/net/ethernet/neterion/vxge/vxge-main.h vxge_debug_ll(level, VXGE_DEBUG_RX, fmt, ##__VA_ARGS__) level 478 drivers/net/ethernet/neterion/vxge/vxge-main.h #define vxge_debug_rx(level, fmt, ...) level 482 drivers/net/ethernet/neterion/vxge/vxge-main.h #define vxge_debug_mem(level, fmt, ...) \ level 483 drivers/net/ethernet/neterion/vxge/vxge-main.h vxge_debug_ll(level, VXGE_DEBUG_MEM, fmt, ##__VA_ARGS__) level 485 drivers/net/ethernet/neterion/vxge/vxge-main.h #define vxge_debug_mem(level, fmt, ...) level 489 drivers/net/ethernet/neterion/vxge/vxge-main.h #define vxge_debug_entryexit(level, fmt, ...) \ level 490 drivers/net/ethernet/neterion/vxge/vxge-main.h vxge_debug_ll(level, VXGE_DEBUG_ENTRYEXIT, fmt, ##__VA_ARGS__) level 492 drivers/net/ethernet/neterion/vxge/vxge-main.h #define vxge_debug_entryexit(level, fmt, ...) level 496 drivers/net/ethernet/neterion/vxge/vxge-main.h #define vxge_debug_intr(level, fmt, ...) \ level 497 drivers/net/ethernet/neterion/vxge/vxge-main.h vxge_debug_ll(level, VXGE_DEBUG_INTR, fmt, ##__VA_ARGS__) level 499 drivers/net/ethernet/neterion/vxge/vxge-main.h #define vxge_debug_intr(level, fmt, ...) level 502 drivers/net/ethernet/neterion/vxge/vxge-main.h #define VXGE_DEVICE_DEBUG_LEVEL_SET(level, mask, vdev) {\ level 504 drivers/net/ethernet/neterion/vxge/vxge-main.h level, mask);\ level 29 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h #define nfp_printk(level, cpp, fmt, args...) \ level 30 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h dev_printk(level, nfp_cpp_device(cpp)->parent, \ level 762 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c const char *level; level 772 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c level = KERN_DEBUG; level 774 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c level = KERN_ERR; level 776 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c level = KERN_INFO; level 779 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_printk(level, state->cpp, "FW loading status: %x\n", level 782 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_printk(level, state->cpp, "%s, reason code: %d\n", level 785 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_printk(level, state->cpp, "%s%c %s\n", level 1203 drivers/net/ethernet/nxp/lpc_eth.c static void lpc_eth_ethtool_setmsglevel(struct net_device *ndev, u32 level) level 1207 drivers/net/ethernet/nxp/lpc_eth.c pldat->msg_enable = level; level 63 drivers/net/ethernet/pasemi/pasemi_mac_ethtool.c u32 level) level 66 drivers/net/ethernet/pasemi/pasemi_mac_ethtool.c mac->msg_enable = level; level 747 drivers/net/ethernet/qlogic/qede/qede_ethtool.c static void qede_set_msglevel(struct net_device *ndev, u32 level) level 753 drivers/net/ethernet/qlogic/qede/qede_ethtool.c qede_config_debug(level, &dp_module, &dp_level); level 138 drivers/net/ethernet/renesas/ravb_main.c static void ravb_set_mdc(struct mdiobb_ctrl *ctrl, int level) level 140 drivers/net/ethernet/renesas/ravb_main.c ravb_mdio_ctrl(ctrl, PIR_MDC, level); level 188 drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c static void sxgbe_setmsglevel(struct net_device *dev, u32 level) level 191 drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c priv->msg_enable = level; level 1536 drivers/net/ethernet/smsc/smc911x.c static void smc911x_ethtool_setmsglevel(struct net_device *dev, u32 level) level 1539 drivers/net/ethernet/smsc/smc911x.c lp->msg_enable = level; level 1617 drivers/net/ethernet/smsc/smc91x.c static void smc_ethtool_setmsglevel(struct net_device *dev, u32 level) level 1620 drivers/net/ethernet/smsc/smc91x.c lp->msg_enable = level; level 1970 drivers/net/ethernet/smsc/smsc911x.c static void smsc911x_ethtool_setmsglevel(struct net_device *dev, u32 level) level 1973 drivers/net/ethernet/smsc/smsc911x.c pdata->msg_enable = level; level 396 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c static void stmmac_ethtool_setmsglevel(struct net_device *dev, u32 level) level 399 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c priv->msg_enable = level; level 334 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c range->max_qual.level = 100; level 336 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c range->avg_qual.level = 50; level 649 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.qual.level = be16_to_cpu(scan->rssi); level 1410 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c is->qual.level = be16_to_cpu(rssi->rssi); level 94 drivers/net/ethernet/toshiba/spider_net_ethtool.c u32 level) level 98 drivers/net/ethernet/toshiba/spider_net_ethtool.c card->msg_enable = level; level 544 drivers/net/fddi/skfp/h/cmtdef.h void smt_reset_defaults(struct s_smc *smc, int level); level 71 drivers/net/fddi/skfp/smtdef.c void smt_reset_defaults(struct s_smc *smc, int level); level 72 drivers/net/fddi/skfp/smtdef.c static void smt_init_mib(struct s_smc *smc, int level); level 78 drivers/net/fddi/skfp/smtdef.c void smt_reset_defaults(struct s_smc *smc, int level) level 85 drivers/net/fddi/skfp/smtdef.c smt_init_mib(smc,level) ; level 128 drivers/net/fddi/skfp/smtdef.c if (level == 0) { level 143 drivers/net/fddi/skfp/smtdef.c smt_init_sba(smc,level) ; level 147 drivers/net/fddi/skfp/smtdef.c if (level == 0) { level 160 drivers/net/fddi/skfp/smtdef.c static void smt_init_mib(struct s_smc *smc, int level) level 168 drivers/net/fddi/skfp/smtdef.c if (level == 0) { level 187 drivers/net/fddi/skfp/smtdef.c if (level == 0) { level 217 drivers/net/fddi/skfp/smtdef.c if (level == 0) { level 235 drivers/net/fddi/skfp/smtdef.c if (level == 0) { level 261 drivers/net/fddi/skfp/smtdef.c if (level == 0) { level 1509 drivers/net/fjes/fjes_main.c acpi_find_extended_socket_device(acpi_handle obj_handle, u32 level, level 685 drivers/net/ieee802154/adf7242.c static int adf7242_ed(struct ieee802154_hw *hw, u8 *level) level 689 drivers/net/ieee802154/adf7242.c *level = lp->rssi; level 692 drivers/net/ieee802154/adf7242.c __func__, *level); level 823 drivers/net/ieee802154/adf7242.c s8 level = clamp_t(s8, mbm / 100, S8_MIN, S8_MAX); level 825 drivers/net/ieee802154/adf7242.c dev_dbg(&lp->spi->dev, "%s : level %d\n", __func__, level); level 827 drivers/net/ieee802154/adf7242.c return adf7242_write_reg(lp, REG_CCA1, level); level 933 drivers/net/ieee802154/at86rf230.c at86rf230_ed(struct ieee802154_hw *hw, u8 *level) level 935 drivers/net/ieee802154/at86rf230.c WARN_ON(!level); level 936 drivers/net/ieee802154/at86rf230.c *level = 0xbe; level 401 drivers/net/ieee802154/atusb.c static int atusb_ed(struct ieee802154_hw *hw, u8 *level) level 403 drivers/net/ieee802154/atusb.c WARN_ON(!level); level 404 drivers/net/ieee802154/atusb.c *level = 0xbe; level 1830 drivers/net/ieee802154/ca8210.c hdr.sec.level = data_ind[29 + msdulen]; level 1831 drivers/net/ieee802154/ca8210.c dev_dbg(&priv->spi->dev, "security level: %#03x\n", hdr.sec.level); level 1832 drivers/net/ieee802154/ca8210.c if (hdr.sec.level > 0) { level 1850 drivers/net/ieee802154/ca8210.c if (hdr.sec.level) level 1958 drivers/net/ieee802154/ca8210.c secspec.security_level = header.sec.level; level 2070 drivers/net/ieee802154/ca8210.c static int ca8210_get_ed(struct ieee802154_hw *hw, u8 *level) level 2076 drivers/net/ieee802154/ca8210.c hwme_get_request_sync(HWME_EDVALUE, &lenvar, level, priv->spi) level 2255 drivers/net/ieee802154/ca8210.c static int ca8210_set_cca_ed_level(struct ieee802154_hw *hw, s32 level) level 2258 drivers/net/ieee802154/ca8210.c u8 ed_threshold = (level / 100) * 2 + 256; level 609 drivers/net/ieee802154/cc2520.c cc2520_ed(struct ieee802154_hw *hw, u8 *level) level 628 drivers/net/ieee802154/cc2520.c *level = rssi - RSSI_OFFSET; level 42 drivers/net/ieee802154/fakelb.c static int fakelb_hw_ed(struct ieee802154_hw *hw, u8 *level) level 44 drivers/net/ieee802154/fakelb.c WARN_ON(!level); level 45 drivers/net/ieee802154/fakelb.c *level = 0xbe; level 84 drivers/net/ieee802154/mac802154_hwsim.c static int hwsim_hw_ed(struct ieee802154_hw *hw, u8 *level) level 86 drivers/net/ieee802154/mac802154_hwsim.c *level = 0xbe; level 485 drivers/net/ieee802154/mcr20a.c mcr20a_ed(struct ieee802154_hw *hw, u8 *level) level 487 drivers/net/ieee802154/mcr20a.c WARN_ON(!level); level 488 drivers/net/ieee802154/mcr20a.c *level = 0xbe; level 602 drivers/net/ieee802154/mrf24j40.c static int mrf24j40_ed(struct ieee802154_hw *hw, u8 *level) level 606 drivers/net/ieee802154/mrf24j40.c *level = 0; level 76 drivers/net/phy/phylink.c #define phylink_printk(level, pl, fmt, ...) \ level 79 drivers/net/phy/phylink.c netdev_printk(level, (pl)->netdev, fmt, ##__VA_ARGS__); \ level 81 drivers/net/phy/phylink.c dev_printk(level, (pl)->dev, fmt, ##__VA_ARGS__); \ level 84 drivers/net/tun.c #define tun_debug(level, tun, fmt, args...) \ level 87 drivers/net/tun.c netdev_printk(level, tun->dev, fmt, ##args); \ level 89 drivers/net/tun.c #define DBG1(level, fmt, args...) \ level 92 drivers/net/tun.c printk(level fmt, ##args); \ level 95 drivers/net/tun.c #define tun_debug(level, tun, fmt, args...) \ level 98 drivers/net/tun.c netdev_printk(level, tun->dev, fmt, ##args); \ level 100 drivers/net/tun.c #define DBG1(level, fmt, args...) \ level 103 drivers/net/tun.c printk(level fmt, ##args); \ level 1499 drivers/net/usb/lan78xx.c static void lan78xx_set_msglevel(struct net_device *net, u32 level) level 1503 drivers/net/usb/lan78xx.c dev->msg_enable = level; level 1065 drivers/net/usb/usbnet.c void usbnet_set_msglevel (struct net_device *net, u32 level) level 1069 drivers/net/usb/usbnet.c dev->msg_enable = level; level 210 drivers/net/wireless/ath/ath.h void ath_printk(const char *level, const struct ath_common *common, level 89 drivers/net/wireless/ath/ath10k/trace.h TP_PROTO(struct ath10k *ar, unsigned int level, struct va_format *vaf), level 90 drivers/net/wireless/ath/ath10k/trace.h TP_ARGS(ar, level, vaf), level 94 drivers/net/wireless/ath/ath10k/trace.h __field(unsigned int, level) level 100 drivers/net/wireless/ath/ath10k/trace.h __entry->level = level; level 66 drivers/net/wireless/ath/ath5k/ani.c ath5k_ani_set_noise_immunity_level(struct ath5k_hw *ah, int level) level 85 drivers/net/wireless/ath/ath5k/ani.c if (level < 0 || level >= ARRAY_SIZE(sz)) { level 87 drivers/net/wireless/ath/ath5k/ani.c level); level 92 drivers/net/wireless/ath/ath5k/ani.c AR5K_PHY_DESIRED_SIZE_TOT, sz[level]); level 94 drivers/net/wireless/ath/ath5k/ani.c AR5K_PHY_AGCCOARSE_LO, lo[level]); level 96 drivers/net/wireless/ath/ath5k/ani.c AR5K_PHY_AGCCOARSE_HI, hi[level]); level 98 drivers/net/wireless/ath/ath5k/ani.c AR5K_PHY_SIG_FIRPWR, fr[level]); level 100 drivers/net/wireless/ath/ath5k/ani.c ah->ani_state.noise_imm_level = level; level 101 drivers/net/wireless/ath/ath5k/ani.c ATH5K_DBG_UNLIMIT(ah, ATH5K_DEBUG_ANI, "new level %d", level); level 111 drivers/net/wireless/ath/ath5k/ani.c ath5k_ani_set_spur_immunity_level(struct ath5k_hw *ah, int level) level 115 drivers/net/wireless/ath/ath5k/ani.c if (level < 0 || level >= ARRAY_SIZE(val) || level 116 drivers/net/wireless/ath/ath5k/ani.c level > ah->ani_state.max_spur_level) { level 118 drivers/net/wireless/ath/ath5k/ani.c level); level 123 drivers/net/wireless/ath/ath5k/ani.c AR5K_PHY_OFDM_SELFCORR_CYPWR_THR1, val[level]); level 125 drivers/net/wireless/ath/ath5k/ani.c ah->ani_state.spur_level = level; level 126 drivers/net/wireless/ath/ath5k/ani.c ATH5K_DBG_UNLIMIT(ah, ATH5K_DEBUG_ANI, "new level %d", level); level 135 drivers/net/wireless/ath/ath5k/ani.c ath5k_ani_set_firstep_level(struct ath5k_hw *ah, int level) level 139 drivers/net/wireless/ath/ath5k/ani.c if (level < 0 || level >= ARRAY_SIZE(val)) { level 140 drivers/net/wireless/ath/ath5k/ani.c ATH5K_ERR(ah, "firstep level %d out of range", level); level 145 drivers/net/wireless/ath/ath5k/ani.c AR5K_PHY_SIG_FIRSTEP, val[level]); level 147 drivers/net/wireless/ath/ath5k/ani.c ah->ani_state.firstep_level = level; level 148 drivers/net/wireless/ath/ath5k/ani.c ATH5K_DBG_UNLIMIT(ah, ATH5K_DEBUG_ANI, "new level %d", level); level 111 drivers/net/wireless/ath/ath5k/ani.h void ath5k_ani_set_noise_immunity_level(struct ath5k_hw *ah, int level); level 112 drivers/net/wireless/ath/ath5k/ani.h void ath5k_ani_set_spur_immunity_level(struct ath5k_hw *ah, int level); level 113 drivers/net/wireless/ath/ath5k/ani.h void ath5k_ani_set_firstep_level(struct ath5k_hw *ah, int level); level 84 drivers/net/wireless/ath/ath5k/ath5k.h _ath5k_printk(const struct ath5k_hw *ah, const char *level, level 3185 drivers/net/wireless/ath/ath5k/base.c void _ath5k_printk(const struct ath5k_hw *ah, const char *level, level 3198 drivers/net/wireless/ath/ath5k/base.c level, wiphy_name(ah->hw->wiphy), &vaf); level 3200 drivers/net/wireless/ath/ath5k/base.c printk("%s" pr_fmt("%pV"), level, &vaf); level 296 drivers/net/wireless/ath/ath5k/debug.c enum ath5k_debug_level level; level 324 drivers/net/wireless/ath/ath5k/debug.c "DEBUG LEVEL: 0x%08x\n\n", ah->debug.level); level 329 drivers/net/wireless/ath/ath5k/debug.c ah->debug.level & dbg_info[i].level ? '+' : ' ', level 330 drivers/net/wireless/ath/ath5k/debug.c dbg_info[i].level, dbg_info[i].desc); level 334 drivers/net/wireless/ath/ath5k/debug.c ah->debug.level == dbg_info[i].level ? '+' : ' ', level 335 drivers/net/wireless/ath/ath5k/debug.c dbg_info[i].level, dbg_info[i].desc); level 359 drivers/net/wireless/ath/ath5k/debug.c ah->debug.level ^= dbg_info[i].level; /* toggle bit */ level 1001 drivers/net/wireless/ath/ath5k/debug.c ah->debug.level = ath5k_debug; level 1028 drivers/net/wireless/ath/ath5k/debug.c if (likely(!(ah->debug.level & ATH5K_DEBUG_DUMPBANDS))) level 1089 drivers/net/wireless/ath/ath5k/debug.c if (likely(!(ah->debug.level & ATH5K_DEBUG_DESC))) level 1113 drivers/net/wireless/ath/ath5k/debug.c if (likely(!(ah->debug.level & ATH5K_DEBUG_DESC))) level 69 drivers/net/wireless/ath/ath5k/debug.h unsigned int level; /* debug level */ level 117 drivers/net/wireless/ath/ath5k/debug.h if (unlikely((_sc)->debug.level & (_m) && net_ratelimit())) \ level 123 drivers/net/wireless/ath/ath5k/debug.h if (unlikely((_sc)->debug.level & (_m))) \ level 549 drivers/net/wireless/ath/ath5k/phy.c u32 step, mix_ovr, level[4]; level 562 drivers/net/wireless/ath/ath5k/phy.c level[0] = 0; level 563 drivers/net/wireless/ath/ath5k/phy.c level[1] = (step == 63) ? 50 : step + 4; level 564 drivers/net/wireless/ath/ath5k/phy.c level[2] = (step != 63) ? 64 : level[0]; level 565 drivers/net/wireless/ath/ath5k/phy.c level[3] = level[2] + 50; level 567 drivers/net/wireless/ath/ath5k/phy.c ah->ah_gain.g_high = level[3] - level 569 drivers/net/wireless/ath/ath5k/phy.c ah->ah_gain.g_low = level[0] + level 579 drivers/net/wireless/ath/ath5k/phy.c level[0] = level[2] = 0; level 582 drivers/net/wireless/ath/ath5k/phy.c level[1] = level[3] = 83; level 584 drivers/net/wireless/ath/ath5k/phy.c level[1] = level[3] = 107; level 589 drivers/net/wireless/ath/ath5k/phy.c return (ah->ah_gain.g_current >= level[0] && level 590 drivers/net/wireless/ath/ath5k/phy.c ah->ah_gain.g_current <= level[1]) || level 591 drivers/net/wireless/ath/ath5k/phy.c (ah->ah_gain.g_current >= level[2] && level 592 drivers/net/wireless/ath/ath5k/phy.c ah->ah_gain.g_current <= level[3]); level 25 drivers/net/wireless/ath/ath6kl/common.h __printf(2, 3) void ath6kl_printk(const char *level, const char *fmt, ...); level 40 drivers/net/wireless/ath/ath6kl/debug.c void ath6kl_printk(const char *level, const char *fmt, ...) level 50 drivers/net/wireless/ath/ath6kl/debug.c printk("%sath6kl: %pV", level, &vaf); level 53 drivers/net/wireless/ath/ath6kl/debug.h __printf(2, 3) void ath6kl_printk(const char *level, const char *fmt, ...); level 283 drivers/net/wireless/ath/ath6kl/trace.h TP_PROTO(unsigned int level, struct va_format *vaf), level 284 drivers/net/wireless/ath/ath6kl/trace.h TP_ARGS(level, vaf), level 286 drivers/net/wireless/ath/ath6kl/trace.h __field(unsigned int, level) level 290 drivers/net/wireless/ath/ath6kl/trace.h __entry->level = level; level 1025 drivers/net/wireless/ath/ath9k/ar5008_phy.c u32 level = param; level 1027 drivers/net/wireless/ath/ath9k/ar5008_phy.c value = level * 2; level 1033 drivers/net/wireless/ath/ath9k/ar5008_phy.c if (level != aniState->firstepLevel) { level 1038 drivers/net/wireless/ath/ath9k/ar5008_phy.c level, level 1046 drivers/net/wireless/ath/ath9k/ar5008_phy.c level, level 1050 drivers/net/wireless/ath/ath9k/ar5008_phy.c if (level > aniState->firstepLevel) level 1052 drivers/net/wireless/ath/ath9k/ar5008_phy.c else if (level < aniState->firstepLevel) level 1054 drivers/net/wireless/ath/ath9k/ar5008_phy.c aniState->firstepLevel = level; level 1059 drivers/net/wireless/ath/ath9k/ar5008_phy.c u32 level = param; level 1061 drivers/net/wireless/ath/ath9k/ar5008_phy.c value = (level + 1) * 2; level 1068 drivers/net/wireless/ath/ath9k/ar5008_phy.c if (level != aniState->spurImmunityLevel) { level 1073 drivers/net/wireless/ath/ath9k/ar5008_phy.c level, level 1081 drivers/net/wireless/ath/ath9k/ar5008_phy.c level, level 1085 drivers/net/wireless/ath/ath9k/ar5008_phy.c if (level > aniState->spurImmunityLevel) level 1087 drivers/net/wireless/ath/ath9k/ar5008_phy.c else if (level < aniState->spurImmunityLevel) level 1089 drivers/net/wireless/ath/ath9k/ar5008_phy.c aniState->spurImmunityLevel = level; level 1176 drivers/net/wireless/ath/ath9k/ar9003_phy.c u32 level = param; level 1178 drivers/net/wireless/ath/ath9k/ar9003_phy.c if (level >= ARRAY_SIZE(firstep_table)) { level 1181 drivers/net/wireless/ath/ath9k/ar9003_phy.c level, ARRAY_SIZE(firstep_table)); level 1189 drivers/net/wireless/ath/ath9k/ar9003_phy.c value = firstep_table[level] - level 1204 drivers/net/wireless/ath/ath9k/ar9003_phy.c value2 = firstep_table[level] - level 1215 drivers/net/wireless/ath/ath9k/ar9003_phy.c if (level != aniState->firstepLevel) { level 1220 drivers/net/wireless/ath/ath9k/ar9003_phy.c level, level 1228 drivers/net/wireless/ath/ath9k/ar9003_phy.c level, level 1232 drivers/net/wireless/ath/ath9k/ar9003_phy.c if (level > aniState->firstepLevel) level 1234 drivers/net/wireless/ath/ath9k/ar9003_phy.c else if (level < aniState->firstepLevel) level 1236 drivers/net/wireless/ath/ath9k/ar9003_phy.c aniState->firstepLevel = level; level 1241 drivers/net/wireless/ath/ath9k/ar9003_phy.c u32 level = param; level 1243 drivers/net/wireless/ath/ath9k/ar9003_phy.c if (level >= ARRAY_SIZE(cycpwrThr1_table)) { level 1246 drivers/net/wireless/ath/ath9k/ar9003_phy.c level, ARRAY_SIZE(cycpwrThr1_table)); level 1253 drivers/net/wireless/ath/ath9k/ar9003_phy.c value = cycpwrThr1_table[level] - level 1269 drivers/net/wireless/ath/ath9k/ar9003_phy.c value2 = cycpwrThr1_table[level] - level 1279 drivers/net/wireless/ath/ath9k/ar9003_phy.c if (level != aniState->spurImmunityLevel) { level 1284 drivers/net/wireless/ath/ath9k/ar9003_phy.c level, level 1292 drivers/net/wireless/ath/ath9k/ar9003_phy.c level, level 1296 drivers/net/wireless/ath/ath9k/ar9003_phy.c if (level > aniState->spurImmunityLevel) level 1298 drivers/net/wireless/ath/ath9k/ar9003_phy.c else if (level < aniState->spurImmunityLevel) level 1300 drivers/net/wireless/ath/ath9k/ar9003_phy.c aniState->spurImmunityLevel = level; level 71 drivers/net/wireless/ath/main.c void ath_printk(const char *level, const struct ath_common* common, level 84 drivers/net/wireless/ath/main.c level, wiphy_name(common->hw->wiphy), &vaf); level 87 drivers/net/wireless/ath/main.c printk("%sath: %pV", level, &vaf); level 4796 drivers/net/wireless/ath/wcn36xx/hal.h enum wcn36xx_hal_thermal_mitigation_level_type level; level 1276 drivers/net/wireless/atmel/atmel.c priv->wstats.qual.level = 0; level 1286 drivers/net/wireless/atmel/atmel.c priv->wstats.qual.level = 0; level 2368 drivers/net/wireless/atmel/atmel.c iwe.u.qual.level = priv->BSSinfo[i].RSSI; level 2369 drivers/net/wireless/atmel/atmel.c iwe.u.qual.qual = iwe.u.qual.level; level 2426 drivers/net/wireless/atmel/atmel.c range->max_qual.level = 100; level 2431 drivers/net/wireless/atmel/atmel.c range->avg_qual.level = 50; level 3272 drivers/net/wireless/atmel/atmel.c u8 old = priv->wstats.qual.level; level 3285 drivers/net/wireless/atmel/atmel.c priv->wstats.qual.level = (rssi + old) / 2 + 1; level 3287 drivers/net/wireless/atmel/atmel.c priv->wstats.qual.level = (rssi + old) / 2; level 3299 drivers/net/wireless/atmel/atmel.c priv->beacons_this_sec * priv->beacon_period * (priv->wstats.qual.level + 100) / 4000; level 363 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c void __brcmf_dbg(u32 level, const char *func, const char *fmt, ...) level 372 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c if (brcmf_msg_level & level) level 374 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c trace_brcmf_dbg(level, func, &vaf); level 69 drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h void __brcmf_dbg(u32 level, const char *func, const char *fmt, ...); level 70 drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h #define brcmf_dbg(level, fmt, ...) \ level 72 drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h __brcmf_dbg(BRCMF_##level##_VAL, __func__, \ level 92 drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h #define brcmf_dbg(level, fmt, ...) no_printk(fmt, ##__VA_ARGS__) level 48 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h TP_PROTO(u32 level, const char *func, struct va_format *vaf), level 49 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h TP_ARGS(level, func, vaf), level 51 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h __field(u32, level) level 56 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h __entry->level = level; level 150 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.h bool level; level 62 drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac_msg.h TP_PROTO(u32 level, const char *func, struct va_format *vaf), level 63 drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac_msg.h TP_ARGS(level, func, vaf), level 65 drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac_msg.h __field(u32, level) level 70 drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac_msg.h __entry->level = level; level 234 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c void __brcms_dbg(struct device *dev, u32 level, const char *func, level 245 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c if ((brcm_msg_level & level) && net_ratelimit()) level 248 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c trace_brcms_dbg(level, func, &vaf); level 38 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.h void __brcms_dbg(struct device *dev, u32 level, const char *func, level 42 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.h void __brcms_dbg(struct device *dev, u32 level, const char *func, level 3400 drivers/net/wireless/cisco/airo.c wstats.level = 0x100 - ai->rssi[hdr.rssi[1]].rssidBm; level 3402 drivers/net/wireless/cisco/airo.c wstats.level = (hdr.rssi[1] + 321) / 2; level 3689 drivers/net/wireless/cisco/airo.c wstats.level = 0; level 3768 drivers/net/wireless/cisco/airo.c wstats.level = 0x100 - ai->rssi[hdr.rssi[1]].rssidBm; level 3770 drivers/net/wireless/cisco/airo.c wstats.level = (hdr.rssi[1] + 321) / 2; level 6915 drivers/net/wireless/cisco/airo.c range->max_qual.level = 0x100 - 120; /* -120 dBm */ level 6923 drivers/net/wireless/cisco/airo.c range->avg_qual.level = 0x100 - 70; /* -70 dBm */ level 6926 drivers/net/wireless/cisco/airo.c range->avg_qual.level = 0x100 - 80; /* -80 dBm */ level 7157 drivers/net/wireless/cisco/airo.c qual[i].level = 0x100 - dBm; level 7163 drivers/net/wireless/cisco/airo.c qual[i].level = (dBm + 321) / 2; level 7321 drivers/net/wireless/cisco/airo.c iwe.u.qual.level = 0x100 - dBm; level 7327 drivers/net/wireless/cisco/airo.c iwe.u.qual.level = (dBm + 321) / 2; level 7727 drivers/net/wireless/cisco/airo.c local->wstats.qual.level = level 7734 drivers/net/wireless/cisco/airo.c local->wstats.qual.level = level 201 drivers/net/wireless/intel/ipw2x00/ipw2100.c #define IPW_DEBUG(level, message...) \ level 203 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (ipw2100_debug_level & (level)) { \ level 210 drivers/net/wireless/intel/ipw2x00/ipw2100.c #define IPW_DEBUG(level, message...) do {} while (0) level 661 drivers/net/wireless/intel/ipw2x00/ipw2100.c static void printk_buf(int level, const u8 * data, u32 len) level 665 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (!(ipw2100_debug_level & level)) level 5502 drivers/net/wireless/intel/ipw2x00/ipw2100.c sec_level = priv->ieee->sec.level; level 5583 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (sec->level == SEC_LEVEL_1) { level 5615 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (sec->flags & SEC_LEVEL && priv->ieee->sec.level != sec->level) { level 5616 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->ieee->sec.level = sec->level; level 6778 drivers/net/wireless/intel/ipw2x00/ipw2100.c int i, level; level 6798 drivers/net/wireless/intel/ipw2x00/ipw2100.c range->max_qual.level = 0; level 6804 drivers/net/wireless/intel/ipw2x00/ipw2100.c range->avg_qual.level = 20 + IPW2100_RSSI_TO_DBM; level 6840 drivers/net/wireless/intel/ipw2x00/ipw2100.c for (i = 0, level = (IPW_TX_POWER_MAX_DBM * 16); level 6842 drivers/net/wireless/intel/ipw2x00/ipw2100.c i++, level -= level 6845 drivers/net/wireless/intel/ipw2x00/ipw2100.c range->txpower[i] = level / 16; level 7665 drivers/net/wireless/intel/ipw2x00/ipw2100.c sec.level = SEC_LEVEL_0; level 7668 drivers/net/wireless/intel/ipw2x00/ipw2100.c sec.level = SEC_LEVEL_1; level 7881 drivers/net/wireless/intel/ipw2x00/ipw2100.c int level = IPW_POWER_LEVEL(priv->power_mode); level 7886 drivers/net/wireless/intel/ipw2x00/ipw2100.c "Power save level: %d (Off)", level); level 7888 drivers/net/wireless/intel/ipw2x00/ipw2100.c switch (level) { level 7891 drivers/net/wireless/intel/ipw2x00/ipw2100.c "Power save level: %d (None)", level); level 7895 drivers/net/wireless/intel/ipw2x00/ipw2100.c "Power save level: %d (Auto)", level); level 7898 drivers/net/wireless/intel/ipw2x00/ipw2100.c timeout = timeout_duration[level - 1] / 1000; level 7899 drivers/net/wireless/intel/ipw2x00/ipw2100.c period = period_duration[level - 1] / 1000; level 7903 drivers/net/wireless/intel/ipw2x00/ipw2100.c level, timeout, period); level 8148 drivers/net/wireless/intel/ipw2x00/ipw2100.c wstats->qual.level = 0; level 8163 drivers/net/wireless/intel/ipw2x00/ipw2100.c wstats->qual.level = 0; level 8168 drivers/net/wireless/intel/ipw2x00/ipw2100.c wstats->qual.level = rssi + IPW2100_RSSI_TO_DBM; level 8229 drivers/net/wireless/intel/ipw2x00/ipw2100.c wstats->qual.level = rssi + IPW2100_RSSI_TO_DBM; level 255 drivers/net/wireless/intel/ipw2x00/ipw2200.c static void printk_buf(int level, const u8 * data, u32 len) level 259 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (!(ipw_debug_level & level)) level 5937 drivers/net/wireless/intel/ipw2x00/ipw2200.c static void ipw_set_hw_decrypt_unicast(struct ipw_priv *priv, int level) level 5942 drivers/net/wireless/intel/ipw2x00/ipw2200.c switch (level) { level 5963 drivers/net/wireless/intel/ipw2x00/ipw2200.c static void ipw_set_hw_decrypt_multicast(struct ipw_priv *priv, int level) level 5968 drivers/net/wireless/intel/ipw2x00/ipw2200.c switch (level) { level 5988 drivers/net/wireless/intel/ipw2x00/ipw2200.c switch (priv->ieee->sec.level) { level 6006 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_set_hw_decrypt_unicast(priv, priv->ieee->sec.level); level 6007 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_set_hw_decrypt_multicast(priv, priv->ieee->sec.level); level 6656 drivers/net/wireless/intel/ipw2x00/ipw2200.c sec.level = SEC_LEVEL_0; level 6659 drivers/net/wireless/intel/ipw2x00/ipw2200.c sec.level = SEC_LEVEL_1; level 7298 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (priv->ieee->sec.level == SEC_LEVEL_1) level 7650 drivers/net/wireless/intel/ipw2x00/ipw2200.c switch (priv->ieee->sec.level) { level 7671 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->ieee->sec.level); level 8831 drivers/net/wireless/intel/ipw2x00/ipw2200.c range->max_qual.level = 0; level 8837 drivers/net/wireless/intel/ipw2x00/ipw2200.c range->avg_qual.level = 0; /* FIXME to real average level */ level 9611 drivers/net/wireless/intel/ipw2x00/ipw2200.c int level = IPW_POWER_LEVEL(priv->power_mode); level 9614 drivers/net/wireless/intel/ipw2x00/ipw2200.c p += snprintf(p, MAX_WX_STRING, "Power save level: %d ", level); level 9616 drivers/net/wireless/intel/ipw2x00/ipw2200.c switch (level) { level 9626 drivers/net/wireless/intel/ipw2x00/ipw2200.c timeout_duration[level - 1] / 1000, level 9627 drivers/net/wireless/intel/ipw2x00/ipw2200.c period_duration[level - 1] / 1000); level 10022 drivers/net/wireless/intel/ipw2x00/ipw2200.c wstats->qual.level = 0; level 10031 drivers/net/wireless/intel/ipw2x00/ipw2200.c wstats->qual.level = priv->exp_avg_rssi; level 10163 drivers/net/wireless/intel/ipw2x00/ipw2200.c switch (priv->ieee->sec.level) { level 10200 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->ieee->sec.level); level 10707 drivers/net/wireless/intel/ipw2x00/ipw2200.c } else if (sec->level != SEC_LEVEL_1) level 10742 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (sec->flags & SEC_LEVEL && priv->ieee->sec.level != sec->level) { level 10743 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->ieee->sec.level = sec->level; level 10871 drivers/net/wireless/intel/ipw2x00/ipw2200.c (priv->ieee->sec.level == SEC_LEVEL_1) && level 1383 drivers/net/wireless/intel/ipw2x00/ipw2200.h #define IPW_DEBUG(level, fmt, args...) \ level 1384 drivers/net/wireless/intel/ipw2x00/ipw2200.h do { if (ipw_debug_level & (level)) \ level 1389 drivers/net/wireless/intel/ipw2x00/ipw2200.h #define IPW_LL_DEBUG(level, fmt, args...) \ level 1390 drivers/net/wireless/intel/ipw2x00/ipw2200.h do { if (ipw_debug_level & (level)) \ level 1394 drivers/net/wireless/intel/ipw2x00/ipw2200.h #define IPW_LL_DEBUG(level, fmt, args...) do {} while (0) level 61 drivers/net/wireless/intel/ipw2x00/libipw.h #define LIBIPW_DEBUG(level, fmt, args...) \ level 62 drivers/net/wireless/intel/ipw2x00/libipw.h do { if (libipw_debug_level & (level)) \ level 66 drivers/net/wireless/intel/ipw2x00/libipw.h #define LIBIPW_DEBUG(level, fmt, args...) do {} while (0) level 312 drivers/net/wireless/intel/ipw2x00/libipw.h u8 level; level 381 drivers/net/wireless/intel/ipw2x00/libipw_rx.c wstats.level = rx_stats->signal; level 180 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.level = 0; level 182 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.level = network->stats.signal; level 349 drivers/net/wireless/intel/ipw2x00/libipw_wx.c sec.level = SEC_LEVEL_0; level 452 drivers/net/wireless/intel/ipw2x00/libipw_wx.c sec.level = SEC_LEVEL_1; /* 40 and 104 bit WEP */ level 553 drivers/net/wireless/intel/ipw2x00/libipw_wx.c sec.level = SEC_LEVEL_0; level 642 drivers/net/wireless/intel/ipw2x00/libipw_wx.c sec.level = SEC_LEVEL_1; level 646 drivers/net/wireless/intel/ipw2x00/libipw_wx.c sec.level = SEC_LEVEL_2; level 650 drivers/net/wireless/intel/ipw2x00/libipw_wx.c sec.level = SEC_LEVEL_3; level 2928 drivers/net/wireless/intel/iwlegacy/common.h #define IL_DBG(level, fmt, args...) \ level 2930 drivers/net/wireless/intel/iwlegacy/common.h if (il_get_debug_level(il) & level) \ level 2935 drivers/net/wireless/intel/iwlegacy/common.h #define il_print_hex_dump(il, level, p, len) \ level 2937 drivers/net/wireless/intel/iwlegacy/common.h if (il_get_debug_level(il) & level) \ level 2943 drivers/net/wireless/intel/iwlegacy/common.h #define IL_DBG(level, fmt, args...) level 2945 drivers/net/wireless/intel/iwlegacy/common.h il_print_hex_dump(struct il_priv *il, int level, const void *p, u32 len) level 111 drivers/net/wireless/intel/iwlwifi/iwl-debug.c u32 level, bool limit, const char *function, level 122 drivers/net/wireless/intel/iwlwifi/iwl-debug.c if (iwl_have_debug_level(level) && level 127 drivers/net/wireless/intel/iwlwifi/iwl-debug.c trace_iwlwifi_dbg(level, in_interrupt(), function, &vaf); level 21 drivers/net/wireless/intel/iwlwifi/iwl-debug.h static inline bool iwl_have_debug_level(u32 level) level 24 drivers/net/wireless/intel/iwlwifi/iwl-debug.h return iwlwifi_mod_params.debug_level & level; level 66 drivers/net/wireless/intel/iwlwifi/iwl-debug.h u32 level, bool limit, const char *function, level 71 drivers/net/wireless/intel/iwlwifi/iwl-debug.h u32 level, bool limit, const char *function, level 82 drivers/net/wireless/intel/iwlwifi/iwl-debug.h #define __IWL_DEBUG_DEV(dev, level, limit, fmt, args...) \ level 85 drivers/net/wireless/intel/iwlwifi/iwl-debug.h __iwl_dbg(dev, level, limit, __func__, fmt, ##args); \ level 87 drivers/net/wireless/intel/iwlwifi/iwl-debug.h #define IWL_DEBUG(m, level, fmt, args...) \ level 88 drivers/net/wireless/intel/iwlwifi/iwl-debug.h __IWL_DEBUG_DEV((m)->dev, level, false, fmt, ##args) level 89 drivers/net/wireless/intel/iwlwifi/iwl-debug.h #define IWL_DEBUG_DEV(dev, level, fmt, args...) \ level 90 drivers/net/wireless/intel/iwlwifi/iwl-debug.h __IWL_DEBUG_DEV(dev, level, false, fmt, ##args) level 91 drivers/net/wireless/intel/iwlwifi/iwl-debug.h #define IWL_DEBUG_LIMIT(m, level, fmt, args...) \ level 92 drivers/net/wireless/intel/iwlwifi/iwl-debug.h __IWL_DEBUG_DEV((m)->dev, level, true, fmt, ##args) level 95 drivers/net/wireless/intel/iwlwifi/iwl-debug.h #define iwl_print_hex_dump(m, level, p, len) \ level 97 drivers/net/wireless/intel/iwlwifi/iwl-debug.h if (iwl_have_debug_level(level)) \ level 102 drivers/net/wireless/intel/iwlwifi/iwl-debug.h #define iwl_print_hex_dump(m, level, p, len) level 57 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-msg.h TP_PROTO(u32 level, bool in_interrupt, const char *function, level 59 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-msg.h TP_ARGS(level, in_interrupt, function, vaf), level 61 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-msg.h __field(u32, level) level 67 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-msg.h __entry->level = level; level 256 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c static inline void iwl_nvm_print_channel_flags(struct device *dev, u32 level, level 263 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c IWL_DEBUG_DEV(dev, level, "Ch. %d: 0x%x: No traffic\n", level 269 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c IWL_DEBUG_DEV(dev, level, level 765 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c wstats.level = rx_stats->signal; level 2349 drivers/net/wireless/intersil/hostap/hostap_ap.c qual[count].level = HFA384X_LEVEL_TO_dBm(sta->last_rx_signal); level 2421 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.qual.level = HFA384X_LEVEL_TO_dBm(sta->last_rx_signal); level 64 drivers/net/wireless/intersil/hostap/hostap_ioctl.c wstats->qual.level = local->avg_signal; level 68 drivers/net/wireless/intersil/hostap/hostap_ioctl.c wstats->qual.level = 0; level 1019 drivers/net/wireless/intersil/hostap/hostap_ioctl.c range->max_qual.level = 0; /* dB */ level 1024 drivers/net/wireless/intersil/hostap/hostap_ioctl.c range->avg_qual.level = -60; level 1028 drivers/net/wireless/intersil/hostap/hostap_ioctl.c range->max_qual.level = 154; /* 27 .. 154 */ level 1857 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.qual.level = le16_to_cpu(scan->sl); level 1860 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.qual.level = level 264 drivers/net/wireless/intersil/orinoco/hermes.h __le16 level; /* Signal level */ level 280 drivers/net/wireless/intersil/orinoco/hermes.h __le16 level; /* Signal level */ level 294 drivers/net/wireless/intersil/orinoco/hermes.h __le16 level; /* Signal level */ level 321 drivers/net/wireless/intersil/orinoco/hermes.h u8 level; level 687 drivers/net/wireless/intersil/orinoco/main.c int level, int noise) level 690 drivers/net/wireless/intersil/orinoco/main.c wstats.level = level - 0x95; level 692 drivers/net/wireless/intersil/orinoco/main.c wstats.qual = (level > noise) ? (level - noise) : 0; level 124 drivers/net/wireless/intersil/orinoco/scan.c signal = SIGNAL_TO_MBM(le16_to_cpu(bss->a.level)); level 158 drivers/net/wireless/intersil/orinoco/scan.c signal = SIGNAL_TO_MBM(bss->level); level 125 drivers/net/wireless/intersil/orinoco/wext.c wstats->qual.level = priv->spy_data.spy_stat[0].level; level 140 drivers/net/wireless/intersil/orinoco/wext.c wstats->qual.level = (int)le16_to_cpu(cq.signal) - 0x95; level 195 drivers/net/wireless/intersil/prism54/isl_ioctl.c priv->local_iwstatistics.qual.level = bss2->rssi; level 447 drivers/net/wireless/intersil/prism54/isl_ioctl.c range->max_qual.level = 0; level 451 drivers/net/wireless/intersil/prism54/isl_ioctl.c range->avg_qual.level = -80; /* -80 dBm */ level 635 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.qual.level = bss->rssi; level 371 drivers/net/wireless/intersil/prism54/islpci_eth.c wstats.level = annex->rfmon.rssi; level 375 drivers/net/wireless/intersil/prism54/islpci_eth.c wstats.qual = wstats.level - wstats.noise; level 97 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c __le32 level; level 100 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c .level = cpu_to_le32(0), level 1326 drivers/net/wireless/ray_cs.c range->max_qual.level = 255; /* What's the correct value ? */ level 1396 drivers/net/wireless/ray_cs.c local->wstats.qual.level = local->spy_data.spy_stat[0].level; level 2248 drivers/net/wireless/ray_cs.c local->wstats.qual.level = siglev; level 2255 drivers/net/wireless/ray_cs.c wstats.level = siglev; level 903 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c u32 level) level 906 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c u8 val = (u8)level; level 909 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c "[BTCoex], Write SwDacSwing = 0x%x\n", level); level 795 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c u32 level) level 798 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c u8 val = (u8) level; level 801 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c "[BTCoex], Write SwDacSwing = 0x%x\n", level); level 756 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c u32 level) level 759 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c u8 val = (u8)level; level 762 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c "[BTCoex], Write SwDacSwing = 0x%x\n", level); level 11 drivers/net/wireless/realtek/rtlwifi/debug.c void _rtl_dbg_trace(struct rtl_priv *rtlpriv, u64 comp, int level, level 15 drivers/net/wireless/realtek/rtlwifi/debug.c level <= rtlpriv->cfg->mod_params->debug_level)) { level 31 drivers/net/wireless/realtek/rtlwifi/debug.c void _rtl_dbg_print(struct rtl_priv *rtlpriv, u64 comp, int level, level 35 drivers/net/wireless/realtek/rtlwifi/debug.c level <= rtlpriv->cfg->mod_params->debug_level)) { level 51 drivers/net/wireless/realtek/rtlwifi/debug.c void _rtl_dbg_print_data(struct rtl_priv *rtlpriv, u64 comp, int level, level 56 drivers/net/wireless/realtek/rtlwifi/debug.c ((level) <= rtlpriv->cfg->mod_params->debug_level))) { level 152 drivers/net/wireless/realtek/rtlwifi/debug.h void _rtl_dbg_trace(struct rtl_priv *rtlpriv, u64 comp, int level, level 156 drivers/net/wireless/realtek/rtlwifi/debug.h void _rtl_dbg_print(struct rtl_priv *rtlpriv, u64 comp, int level, level 159 drivers/net/wireless/realtek/rtlwifi/debug.h void _rtl_dbg_print_data(struct rtl_priv *rtlpriv, u64 comp, int level, level 163 drivers/net/wireless/realtek/rtlwifi/debug.h #define RT_TRACE(rtlpriv, comp, level, fmt, ...) \ level 164 drivers/net/wireless/realtek/rtlwifi/debug.h _rtl_dbg_trace(rtlpriv, comp, level, \ level 181 drivers/net/wireless/realtek/rtlwifi/debug.h u64 comp, int level, level 194 drivers/net/wireless/realtek/rtlwifi/debug.h u64 comp, int level, level 1161 drivers/net/wireless/realtek/rtw88/coex.c u8 level = 0; level 1176 drivers/net/wireless/realtek/rtw88/coex.c level = 2; level 1178 drivers/net/wireless/realtek/rtw88/coex.c level = 3; level 1180 drivers/net/wireless/realtek/rtw88/coex.c level = 4; level 1182 drivers/net/wireless/realtek/rtw88/coex.c level = 5; level 1184 drivers/net/wireless/realtek/rtw88/coex.c if (level > chip->wl_rf_para_num - 1) level 1185 drivers/net/wireless/realtek/rtw88/coex.c level = chip->wl_rf_para_num - 1; level 1188 drivers/net/wireless/realtek/rtw88/coex.c rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_tx[level]); level 1190 drivers/net/wireless/realtek/rtw88/coex.c rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[level]); level 645 drivers/net/wireless/realtek/rtw88/main.h void (*cck_pd_set)(struct rtw_dev *rtwdev, u8 level); level 393 drivers/net/wireless/realtek/rtw88/phy.c u8 level; level 416 drivers/net/wireless/realtek/rtw88/phy.c for (level = 0; level < 3; level++) { level 417 drivers/net/wireless/realtek/rtw88/phy.c if (fa_cnt > fa_th[level]) { level 418 drivers/net/wireless/realtek/rtw88/phy.c cur_igi += step[level]; level 522 drivers/net/wireless/realtek/rtw88/phy.c u8 level; level 532 drivers/net/wireless/realtek/rtw88/phy.c level = rtw_phy_cck_pd_lv(rtwdev); level 534 drivers/net/wireless/realtek/rtw88/phy.c if (level >= CCK_PD_LV_MAX) level 538 drivers/net/wireless/realtek/rtw88/phy.c chip->ops->cck_pd_set(rtwdev, level); level 952 drivers/net/wireless/rndis_wlan.c static int level_to_qual(int level) level 954 drivers/net/wireless/rndis_wlan.c int qual = 100 * (level - WL_NOISE) / (WL_SIGMAX - WL_NOISE); level 55 drivers/net/wireless/ti/wl1251/wl1251.h #define wl1251_debug(level, fmt, arg...) \ level 57 drivers/net/wireless/ti/wl1251/wl1251.h if (level & DEBUG_LEVEL) \ level 61 drivers/net/wireless/ti/wl1251/wl1251.h #define wl1251_dump(level, prefix, buf, len) \ level 63 drivers/net/wireless/ti/wl1251/wl1251.h if (level & DEBUG_LEVEL) \ level 71 drivers/net/wireless/ti/wl1251/wl1251.h #define wl1251_dump_ascii(level, prefix, buf, len) \ level 73 drivers/net/wireless/ti/wl1251/wl1251.h if (level & DEBUG_LEVEL) \ level 64 drivers/net/wireless/ti/wlcore/debug.h #define wl1271_debug(level, fmt, arg...) \ level 66 drivers/net/wireless/ti/wlcore/debug.h if (unlikely(level & wl12xx_debug_level)) \ level 70 drivers/net/wireless/ti/wlcore/debug.h #define wl1271_debug(level, fmt, arg...) \ level 72 drivers/net/wireless/ti/wlcore/debug.h if (unlikely(level & wl12xx_debug_level)) \ level 78 drivers/net/wireless/ti/wlcore/debug.h #define wl1271_dump(level, prefix, buf, len) \ level 80 drivers/net/wireless/ti/wlcore/debug.h if (level & wl12xx_debug_level) \ level 88 drivers/net/wireless/ti/wlcore/debug.h #define wl1271_dump_ascii(level, prefix, buf, len) \ level 90 drivers/net/wireless/ti/wlcore/debug.h if (level & wl12xx_debug_level) \ level 1052 drivers/net/wireless/zydas/zd1201.c range->max_qual.level = 128; level 1093 drivers/net/wireless/zydas/zd1201.c zd->iwstats.qual.level = le16_to_cpu(((__le16 *)buffer)[1]); level 1185 drivers/net/wireless/zydas/zd1201.c iwe.u.qual.level = (256+zd->rxdata[i+4]*100)/255-100; level 1483 drivers/net/wireless/zydas/zd1201.c short enabled, duration, level; level 1501 drivers/net/wireless/zydas/zd1201.c level = vwrq->value * 4 / duration; level 1502 drivers/net/wireless/zydas/zd1201.c if (level > 4) level 1503 drivers/net/wireless/zydas/zd1201.c level = 4; level 1504 drivers/net/wireless/zydas/zd1201.c if (level < 0) level 1505 drivers/net/wireless/zydas/zd1201.c level = 0; level 1507 drivers/net/wireless/zydas/zd1201.c level); level 1522 drivers/net/wireless/zydas/zd1201.c short enabled, level, duration; level 1528 drivers/net/wireless/zydas/zd1201.c err = zd1201_getconfig16(zd, ZD1201_RID_CNFPMEPS, &level); level 1540 drivers/net/wireless/zydas/zd1201.c vwrq->value = duration * level / 4; level 1545 drivers/net/wireless/zydas/zd1201.c if (enabled && level) level 17 drivers/net/wireless/zydas/zd1211rw/zd_def.h #define dev_printk_f(level, dev, fmt, args...) \ level 18 drivers/net/wireless/zydas/zd1211rw/zd_def.h dev_printk(level, dev, "%s() " fmt, __func__, ##args) level 144 drivers/opp/core.c return opp->level; level 420 drivers/opp/core.c unsigned int level) level 436 drivers/opp/core.c if (temp_opp->level == level) { level 579 drivers/opp/of.c of_property_read_u32(np, "opp-level", &new_opp->level); level 81 drivers/opp/opp.h unsigned int level; level 81 drivers/pci/hotplug/rpaphp_core.c int retval, level; level 84 drivers/pci/hotplug/rpaphp_core.c retval = rtas_get_power_level(slot->power_domain, &level); level 86 drivers/pci/hotplug/rpaphp_core.c *value = level; level 63 drivers/pci/hotplug/rpaphp_pci.c int rc, level, state; level 69 drivers/pci/hotplug/rpaphp_pci.c rc = rtas_get_power_level(slot->power_domain, &level); level 687 drivers/perf/thunderx2_pmu.c static acpi_status tx2_uncore_pmu_add(acpi_handle handle, u32 level, level 1557 drivers/perf/xgene_pmu.c static acpi_status acpi_pmu_dev_add(acpi_handle handle, u32 level, level 794 drivers/phy/tegra/xusb-tegra186.c u32 value, *level; level 799 drivers/phy/tegra/xusb-tegra186.c level = devm_kcalloc(dev, count, sizeof(u32), GFP_KERNEL); level 800 drivers/phy/tegra/xusb-tegra186.c if (!level) level 812 drivers/phy/tegra/xusb-tegra186.c level[i] = (value >> HS_CURR_LEVEL_PADX_SHIFT(i)) & level 815 drivers/phy/tegra/xusb-tegra186.c padctl->calib.hs_curr_level = level; level 148 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c unsigned int event, level; level 153 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c level = readl(chip->base + NSP_GPIO_DATA_IN) ^ level 155 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c level &= readl(chip->base + NSP_GPIO_INT_MASK); level 156 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c int_bits = level | event; level 1063 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c u32 mask, *irq_pol, input_reg, virq, type, level; level 1088 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c regmap_read(info->regmap, input_reg, &level); level 1089 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c if ((*irq_pol ^ level) & irq_bit) level 246 drivers/pinctrl/pinctrl-amd.c u8 level = (pin_reg >> ACTIVE_LEVEL_OFF) & level 250 drivers/pinctrl/pinctrl-amd.c if (level == ACTIVE_LEVEL_HIGH) level 252 drivers/pinctrl/pinctrl-amd.c else if (level == ACTIVE_LEVEL_LOW) level 255 drivers/pinctrl/pinctrl-amd.c level == ACTIVE_LEVEL_BOTH) level 2902 drivers/pinctrl/pinctrl-rockchip.c u32 level; level 2929 drivers/pinctrl/pinctrl-rockchip.c level = readl_relaxed(gc->reg_base + GPIO_INTTYPE_LEVEL); level 2935 drivers/pinctrl/pinctrl-rockchip.c level |= mask; level 2949 drivers/pinctrl/pinctrl-rockchip.c level |= mask; level 2954 drivers/pinctrl/pinctrl-rockchip.c level |= mask; level 2959 drivers/pinctrl/pinctrl-rockchip.c level &= ~mask; level 2964 drivers/pinctrl/pinctrl-rockchip.c level &= ~mask; level 2974 drivers/pinctrl/pinctrl-rockchip.c writel_relaxed(level, gc->reg_base + GPIO_INTTYPE_LEVEL); level 167 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c unsigned level; level 201 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c level = pin->power_source; level 206 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c level = pin->aout_level; level 212 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c level = pin->amux; level 217 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c level = (pin->drive_strength / 5) - 1; level 232 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c val = type << 5 | level << 2 | ctrl; level 653 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c unsigned level; level 665 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c level = (val >> 2) & 7; level 672 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c pin->power_source = level; level 678 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c pin->power_source = level; level 686 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c pin->power_source = level; level 705 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c pin->amux = level; level 710 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c pin->aout_level = level; level 716 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c pin->drive_strength = 5 * (level + 1); level 723 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c pin->drive_strength = 5 * (level + 1); level 727 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c pin->power_source = level; level 531 drivers/platform/chrome/cros_ec_lpc.c static acpi_status cros_ec_lpc_parse_device(acpi_handle handle, u32 level, level 522 drivers/platform/x86/asus-wmi.c static int kbd_led_read(struct asus_wmi *asus, int *level, int *env) level 542 drivers/platform/x86/asus-wmi.c if (level) level 543 drivers/platform/x86/asus-wmi.c *level = retval & 0x7F; level 261 drivers/platform/x86/compal-laptop.c static int set_backlight_level(int level) level 263 drivers/platform/x86/compal-laptop.c if (level < 0 || level > BACKLIGHT_LEVEL_MAX) level 266 drivers/platform/x86/compal-laptop.c ec_write(BACKLIGHT_LEVEL_ADDR, level); level 636 drivers/platform/x86/compal-laptop.c int level; level 640 drivers/platform/x86/compal-laptop.c level = val->intval; level 641 drivers/platform/x86/compal-laptop.c if (level < 0 || level > BAT_CHARGE_LIMIT_MAX) level 643 drivers/platform/x86/compal-laptop.c if (ec_write(BAT_CHARGE_LIMIT, level) < 0) level 1164 drivers/platform/x86/dell-laptop.c u8 level; level 1253 drivers/platform/x86/dell-laptop.c return state->level; level 1265 drivers/platform/x86/dell-laptop.c static int kbd_set_level(struct kbd_state *state, u8 level) level 1268 drivers/platform/x86/dell-laptop.c if (level != 0) level 1269 drivers/platform/x86/dell-laptop.c kbd_previous_level = level; level 1270 drivers/platform/x86/dell-laptop.c if (state->level == level) level 1272 drivers/platform/x86/dell-laptop.c state->level = level; level 1273 drivers/platform/x86/dell-laptop.c if (level != 0 && state->mode_bit == KBD_MODE_BIT_OFF) level 1275 drivers/platform/x86/dell-laptop.c else if (level == 0 && state->mode_bit != KBD_MODE_BIT_OFF) { level 1282 drivers/platform/x86/dell-laptop.c if (kbd_mode_levels_count > 0 && level < kbd_mode_levels_count) { level 1283 drivers/platform/x86/dell-laptop.c if (level != 0) level 1284 drivers/platform/x86/dell-laptop.c kbd_previous_level = level; level 1285 drivers/platform/x86/dell-laptop.c state->mode_bit = kbd_mode_levels[level]; level 1312 drivers/platform/x86/dell-laptop.c state->level = (buffer.output[2] >> 16) & 0xFF; level 1331 drivers/platform/x86/dell-laptop.c input2 |= (state->level & 0xFF) << 16; level 1798 drivers/platform/x86/dell-laptop.c int level, i, ret; level 1809 drivers/platform/x86/dell-laptop.c level = kbd_get_level(&state); level 1815 drivers/platform/x86/dell-laptop.c if ((triggers_enabled || level <= 0) && level 169 drivers/platform/x86/fujitsu-laptop.c static int set_lcd_level(struct acpi_device *device, int level) level 191 drivers/platform/x86/fujitsu-laptop.c level); level 193 drivers/platform/x86/fujitsu-laptop.c if (level < 0 || level >= priv->max_brightness) level 196 drivers/platform/x86/fujitsu-laptop.c status = acpi_execute_simple_method(device->handle, method, level); level 203 drivers/platform/x86/fujitsu-laptop.c priv->brightness_level = level; level 144 drivers/platform/x86/msi-laptop.c static int set_lcd_level(int level) level 148 drivers/platform/x86/msi-laptop.c if (level < 0 || level >= MSI_LCD_LEVEL_MAX) level 152 drivers/platform/x86/msi-laptop.c buf[1] = (u8) (level*31); level 395 drivers/platform/x86/msi-laptop.c int level, ret; level 397 drivers/platform/x86/msi-laptop.c if (sscanf(buf, "%i", &level) != 1 || level 398 drivers/platform/x86/msi-laptop.c (level < 0 || level >= MSI_LCD_LEVEL_MAX)) level 401 drivers/platform/x86/msi-laptop.c ret = set_lcd_level(level); level 133 drivers/platform/x86/msi-wmi.c int level, err, ret; level 142 drivers/platform/x86/msi-wmi.c for (level = 0; level < ARRAY_SIZE(backlight_map); level++) { level 143 drivers/platform/x86/msi-wmi.c if (backlight_map[level] == ret) { level 145 drivers/platform/x86/msi-wmi.c backlight_map[level], level); level 149 drivers/platform/x86/msi-wmi.c if (level == ARRAY_SIZE(backlight_map)) { level 153 drivers/platform/x86/msi-wmi.c return level; level 692 drivers/platform/x86/samsung-laptop.c const struct sabi_performance_level *level = level 694 drivers/platform/x86/samsung-laptop.c if (!strncasecmp(level->name, buf, strlen(level->name))) { level 697 drivers/platform/x86/samsung-laptop.c level->value); level 1282 drivers/platform/x86/sony-laptop.c static acpi_status sony_walk_callback(acpi_handle handle, u32 level, level 111 drivers/platform/x86/surface3-wmi.c u32 level, level 720 drivers/platform/x86/thinkpad_acpi.c u32 level, void *context, void **return_value) level 5299 drivers/platform/x86/thinkpad_acpi.c static int kbdlight_set_level(int level) level 5308 drivers/platform/x86/thinkpad_acpi.c if (!acpi_evalf(hkey_handle, NULL, "MLCS", "dd", level)) level 5311 drivers/platform/x86/thinkpad_acpi.c kbdlight_brightness = level; level 5387 drivers/platform/x86/thinkpad_acpi.c int level; level 5389 drivers/platform/x86/thinkpad_acpi.c level = kbdlight_get_level(); level 5390 drivers/platform/x86/thinkpad_acpi.c if (level < 0) level 5393 drivers/platform/x86/thinkpad_acpi.c return level; level 5441 drivers/platform/x86/thinkpad_acpi.c static int kbdlight_set_level_and_update(int level) level 5446 drivers/platform/x86/thinkpad_acpi.c ret = kbdlight_set_level(level); level 5450 drivers/platform/x86/thinkpad_acpi.c led_cdev->brightness = level; level 5457 drivers/platform/x86/thinkpad_acpi.c int level; level 5462 drivers/platform/x86/thinkpad_acpi.c level = kbdlight_get_level(); level 5463 drivers/platform/x86/thinkpad_acpi.c if (level < 0) level 5464 drivers/platform/x86/thinkpad_acpi.c seq_printf(m, "status:\t\terror %d\n", level); level 5466 drivers/platform/x86/thinkpad_acpi.c seq_printf(m, "status:\t\t%d\n", level); level 5476 drivers/platform/x86/thinkpad_acpi.c int level = -1; level 5483 drivers/platform/x86/thinkpad_acpi.c level = 0; level 5485 drivers/platform/x86/thinkpad_acpi.c level = 1; level 5487 drivers/platform/x86/thinkpad_acpi.c level = 2; level 5492 drivers/platform/x86/thinkpad_acpi.c if (level == -1) level 5495 drivers/platform/x86/thinkpad_acpi.c return kbdlight_set_level_and_update(level); level 6802 drivers/platform/x86/thinkpad_acpi.c unsigned int level = level 6809 drivers/platform/x86/thinkpad_acpi.c level); level 6813 drivers/platform/x86/thinkpad_acpi.c return brightness_set(level); level 7095 drivers/platform/x86/thinkpad_acpi.c int level; level 7097 drivers/platform/x86/thinkpad_acpi.c level = brightness_get(NULL); level 7098 drivers/platform/x86/thinkpad_acpi.c if (level < 0) { level 7101 drivers/platform/x86/thinkpad_acpi.c seq_printf(m, "level:\t\t%d\n", level); level 7112 drivers/platform/x86/thinkpad_acpi.c int level; level 7116 drivers/platform/x86/thinkpad_acpi.c level = brightness_get(NULL); level 7117 drivers/platform/x86/thinkpad_acpi.c if (level < 0) level 7118 drivers/platform/x86/thinkpad_acpi.c return level; level 7122 drivers/platform/x86/thinkpad_acpi.c if (level < bright_maxlvl) level 7123 drivers/platform/x86/thinkpad_acpi.c level++; level 7125 drivers/platform/x86/thinkpad_acpi.c if (level > 0) level 7126 drivers/platform/x86/thinkpad_acpi.c level--; level 7127 drivers/platform/x86/thinkpad_acpi.c } else if (sscanf(cmd, "level %d", &level) == 1 && level 7128 drivers/platform/x86/thinkpad_acpi.c level >= 0 && level <= bright_maxlvl) { level 7135 drivers/platform/x86/thinkpad_acpi.c "set level to %d\n", level); level 7141 drivers/platform/x86/thinkpad_acpi.c rc = brightness_set(level); level 8321 drivers/platform/x86/thinkpad_acpi.c static int fan_set_level(int level) level 8328 drivers/platform/x86/thinkpad_acpi.c if (level >= 0 && level <= 7) { level 8329 drivers/platform/x86/thinkpad_acpi.c if (!acpi_evalf(sfan_handle, NULL, NULL, "vd", level)) level 8337 drivers/platform/x86/thinkpad_acpi.c if (!(level & TP_EC_FAN_AUTO) && level 8338 drivers/platform/x86/thinkpad_acpi.c !(level & TP_EC_FAN_FULLSPEED) && level 8339 drivers/platform/x86/thinkpad_acpi.c ((level < 0) || (level > 7))) level 8344 drivers/platform/x86/thinkpad_acpi.c if (level & TP_EC_FAN_FULLSPEED) level 8345 drivers/platform/x86/thinkpad_acpi.c level |= 7; /* safety min speed 7 */ level 8346 drivers/platform/x86/thinkpad_acpi.c else if (level & TP_EC_FAN_AUTO) level 8347 drivers/platform/x86/thinkpad_acpi.c level |= 4; /* safety min speed 4 */ level 8349 drivers/platform/x86/thinkpad_acpi.c if (!acpi_ec_write(fan_status_offset, level)) level 8360 drivers/platform/x86/thinkpad_acpi.c "fan control: set fan control register to 0x%02x\n", level); level 8364 drivers/platform/x86/thinkpad_acpi.c static int fan_set_level_safe(int level) level 8374 drivers/platform/x86/thinkpad_acpi.c if (level == TPACPI_FAN_LAST_LEVEL) level 8375 drivers/platform/x86/thinkpad_acpi.c level = fan_control_desired_level; level 8377 drivers/platform/x86/thinkpad_acpi.c rc = fan_set_level(level); level 8379 drivers/platform/x86/thinkpad_acpi.c fan_update_desired_level(level); level 8594 drivers/platform/x86/thinkpad_acpi.c int res, level; level 8604 drivers/platform/x86/thinkpad_acpi.c level = TP_EC_FAN_FULLSPEED; level 8607 drivers/platform/x86/thinkpad_acpi.c level = TPACPI_FAN_LAST_LEVEL; level 8610 drivers/platform/x86/thinkpad_acpi.c level = TP_EC_FAN_AUTO; level 8619 drivers/platform/x86/thinkpad_acpi.c res = fan_set_level_safe(level); level 9056 drivers/platform/x86/thinkpad_acpi.c int level; level 9059 drivers/platform/x86/thinkpad_acpi.c level = TP_EC_FAN_AUTO; level 9062 drivers/platform/x86/thinkpad_acpi.c level = TP_EC_FAN_FULLSPEED; level 9063 drivers/platform/x86/thinkpad_acpi.c else if (sscanf(cmd, "level %d", &level) != 1) level 9066 drivers/platform/x86/thinkpad_acpi.c *rc = fan_set_level_safe(level); level 9072 drivers/platform/x86/thinkpad_acpi.c "set level to %d\n", level); level 42 drivers/platform/x86/toshiba_haps.c static int toshiba_haps_protection_level(acpi_handle handle, int level) level 46 drivers/platform/x86/toshiba_haps.c status = acpi_execute_simple_method(handle, "PTLV", level); level 52 drivers/platform/x86/toshiba_haps.c pr_debug("HDD protection level set to: %d\n", level); level 71 drivers/platform/x86/toshiba_haps.c int level; level 74 drivers/platform/x86/toshiba_haps.c ret = kstrtoint(buf, 0, &level); level 81 drivers/platform/x86/toshiba_haps.c if (level < 0 || level > 3) level 85 drivers/platform/x86/toshiba_haps.c ret = toshiba_haps_protection_level(haps->acpi_dev->handle, level); level 89 drivers/platform/x86/toshiba_haps.c haps->protection_level = level; level 127 drivers/power/supply/ab8500_fg.c int level; level 1277 drivers/power/supply/ab8500_fg.c di->bat_cap.level = ab8500_fg_capacity_level(di); level 1279 drivers/power/supply/ab8500_fg.c if (di->bat_cap.level != di->bat_cap.prev_level) { level 1284 drivers/power/supply/ab8500_fg.c if (!(!di->flags.charging && di->bat_cap.level > level 1288 drivers/power/supply/ab8500_fg.c di->bat_cap.level); level 1289 drivers/power/supply/ab8500_fg.c di->bat_cap.prev_level = di->bat_cap.level; level 1295 drivers/power/supply/ab8500_fg.c di->bat_cap.level); level 1764 drivers/power/supply/ab8500_fg.c di->bat_cap.level, level 198 drivers/power/supply/abx500_chargalg.c u8 level; level 825 drivers/power/supply/abx500_chargalg.c di->ccm.level = 0; level 856 drivers/power/supply/abx500_chargalg.c di->ccm.level--; level 879 drivers/power/supply/abx500_chargalg.c di->ccm.level = 0; level 891 drivers/power/supply/abx500_chargalg.c di->ccm.level++; level 898 drivers/power/supply/abx500_chargalg.c di->ccm.level); level 1702 drivers/power/supply/bq27xxx_battery.c int level; level 1706 drivers/power/supply/bq27xxx_battery.c level = POWER_SUPPLY_CAPACITY_LEVEL_FULL; level 1708 drivers/power/supply/bq27xxx_battery.c level = POWER_SUPPLY_CAPACITY_LEVEL_LOW; level 1710 drivers/power/supply/bq27xxx_battery.c level = POWER_SUPPLY_CAPACITY_LEVEL_CRITICAL; level 1712 drivers/power/supply/bq27xxx_battery.c level = POWER_SUPPLY_CAPACITY_LEVEL_NORMAL; level 1715 drivers/power/supply/bq27xxx_battery.c level = POWER_SUPPLY_CAPACITY_LEVEL_FULL; level 1717 drivers/power/supply/bq27xxx_battery.c level = POWER_SUPPLY_CAPACITY_LEVEL_LOW; level 1719 drivers/power/supply/bq27xxx_battery.c level = POWER_SUPPLY_CAPACITY_LEVEL_CRITICAL; level 1721 drivers/power/supply/bq27xxx_battery.c level = POWER_SUPPLY_CAPACITY_LEVEL_NORMAL; level 1724 drivers/power/supply/bq27xxx_battery.c val->intval = level; level 52 drivers/power/supply/generic-adc-battery.c int level; level 109 drivers/power/supply/generic-adc-battery.c if (adc_bat->level == bat_info->charge_full_design) level 648 drivers/power/supply/lp8788-charger.c const char *level; level 656 drivers/power/supply/lp8788-charger.c level = mode ? abs_level[val] : relative_level[val]; level 658 drivers/power/supply/lp8788-charger.c return scnprintf(buf, PAGE_SIZE, "End Of Charge Level: %s\n", level); level 37 drivers/power/supply/s3c_adc_battery.c int level; level 194 drivers/power/supply/s3c_adc_battery.c new_level = (lut[1].level + level 195 drivers/power/supply/s3c_adc_battery.c (lut[0].level - lut[1].level) * level 200 drivers/power/supply/s3c_adc_battery.c new_level = lut[1].level * 1000; level 205 drivers/power/supply/s3c_adc_battery.c bat->level = new_level; level 210 drivers/power/supply/s3c_adc_battery.c val->intval = bat->level == 100000 ? level 222 drivers/power/supply/s3c_adc_battery.c val->intval = bat->level; level 88 drivers/power/supply/twl4030_madc_battery.c res = calibration[0].level; level 94 drivers/power/supply/twl4030_madc_battery.c res = calibration[i].level - level 96 drivers/power/supply/twl4030_madc_battery.c (calibration[i].level - level 97 drivers/power/supply/twl4030_madc_battery.c calibration[i+1].level)) / level 63 drivers/pwm/pwm-crc.c int level; level 85 drivers/pwm/pwm-crc.c level = duty_ns * PWM_MAX_LEVEL / period_ns; level 86 drivers/pwm/pwm-crc.c regmap_write(crc_pwm->regmap, PWM0_DUTY_CYCLE, level); level 34 drivers/pwm/pwm-stm32.c u32 level; level 491 drivers/pwm/pwm-stm32.c int index, int level, int filter) level 503 drivers/pwm/pwm-stm32.c if (level) level 543 drivers/pwm/pwm-stm32.c breakinput[i].level, level 66 drivers/rapidio/devices/rio_mport_cdev.c #define rmcd_debug(level, fmt, arg...) \ level 68 drivers/rapidio/devices/rio_mport_cdev.c if (DBG_##level & dbg_level) \ level 72 drivers/rapidio/devices/rio_mport_cdev.c #define rmcd_debug(level, fmt, arg...) \ level 32 drivers/rapidio/devices/tsi721.h #define tsi_debug(level, dev, fmt, arg...) \ level 34 drivers/rapidio/devices/tsi721.h if (DBG_##level & tsi_dbg_level) \ level 38 drivers/rapidio/devices/tsi721.h #define tsi_debug(level, dev, fmt, arg...) \ level 51 drivers/rapidio/rio_cm.c #define riocm_debug(level, fmt, arg...) \ level 53 drivers/rapidio/rio_cm.c if (DBG_##level & dbg_level) \ level 58 drivers/rapidio/rio_cm.c #define riocm_debug(level, fmt, arg...) \ level 5423 drivers/regulator/core.c int level; level 5428 drivers/regulator/core.c int level); level 5437 drivers/regulator/core.c summary_data->level + 1); level 5444 drivers/regulator/core.c int level) level 5456 drivers/regulator/core.c level * 3 + 1, "", level 5457 drivers/regulator/core.c 30 - level * 3, rdev_get_name(rdev), level 5486 drivers/regulator/core.c (level + 1) * 3 + 1, "", level 5487 drivers/regulator/core.c 30 - (level + 1) * 3, level 5508 drivers/regulator/core.c summary_data.level = level; level 57 drivers/s390/block/scm_blk.h static inline void SCM_LOG_HEX(int level, void *data, int length) level 59 drivers/s390/block/scm_blk.h debug_event(scm_debug, level, data, length); level 62 drivers/s390/block/scm_blk.h static inline void SCM_LOG_STATE(int level, struct scm_device *scmdev) level 74 drivers/s390/block/scm_blk.h SCM_LOG_HEX(level, &data, sizeof(data)); level 319 drivers/s390/char/sclp_cpi_sys.c unsigned long long level; level 322 drivers/s390/char/sclp_cpi_sys.c level = system_level; level 324 drivers/s390/char/sclp_cpi_sys.c return snprintf(page, PAGE_SIZE, "%#018llx\n", level); level 332 drivers/s390/char/sclp_cpi_sys.c unsigned long long level; level 335 drivers/s390/char/sclp_cpi_sys.c level = simple_strtoull(buf, &endp, 16); level 345 drivers/s390/char/sclp_cpi_sys.c system_level = level; level 386 drivers/s390/char/sclp_cpi_sys.c const u64 level) level 404 drivers/s390/char/sclp_cpi_sys.c system_level = level; level 13 drivers/s390/char/sclp_cpi_sys.h const char *type, u64 level); level 32 drivers/s390/char/tape.h #define DBF_LH(level, str, ...) \ level 34 drivers/s390/char/tape.h debug_sprintf_event(TAPE_DBF_AREA, level, str, ## __VA_ARGS__); \ level 37 drivers/s390/char/tape.h #define DBF_LH(level, str, ...) do {} while(0) level 44 drivers/s390/cio/chsc_sch.c static void CHSC_LOG_HEX(int level, void *data, int length) level 46 drivers/s390/cio/chsc_sch.c debug_event(chsc_debug_log_id, level, data, length); level 24 drivers/s390/cio/cio_debug.h static inline void CIO_HEX_EVENT(int level, void *data, int length) level 26 drivers/s390/cio/cio_debug.h debug_event(cio_debug_trace_id, level, data, length); level 45 drivers/s390/cio/eadm_sch.c static void EADM_LOG_HEX(int level, void *data, int length) level 47 drivers/s390/cio/eadm_sch.c debug_event(eadm_debug, level, data, length); level 52 drivers/s390/cio/qdio_debug.h #define DBF_DEV_EVENT(level, device, text...) \ level 55 drivers/s390/cio/qdio_debug.h if (debug_level_enabled(device->debug_area, level)) { \ level 57 drivers/s390/cio/qdio_debug.h debug_text_event(device->debug_area, level, debug_buffer); \ level 62 drivers/s390/cio/qdio_debug.h int len, int level) level 64 drivers/s390/cio/qdio_debug.h debug_event(dev->debug_area, level, addr, len); level 154 drivers/s390/cio/vfio_ccw_private.h static inline void VFIO_CCW_HEX_EVENT(int level, void *data, int length) level 156 drivers/s390/cio/vfio_ccw_private.h debug_event(vfio_ccw_debug_trace_id, level, data, length); level 59 drivers/s390/net/ctcm_dbug.c debug_set_level(ctcm_dbf[x].id, ctcm_dbf[x].level); level 65 drivers/s390/net/ctcm_dbug.c void ctcm_dbf_longtext(enum ctcm_dbf_names dbf_nix, int level, char *fmt, ...) level 70 drivers/s390/net/ctcm_dbug.c if (!debug_level_enabled(ctcm_dbf[dbf_nix].id, level)) level 76 drivers/s390/net/ctcm_dbug.c debug_text_event(ctcm_dbf[dbf_nix].id, level, dbf_txt_buf); level 60 drivers/s390/net/ctcm_dbug.h int level; level 68 drivers/s390/net/ctcm_dbug.h void ctcm_dbf_longtext(enum ctcm_dbf_names dbf_nix, int level, char *text, ...); level 78 drivers/s390/net/ctcm_dbug.h #define CTCM_DBF_TEXT(name, level, text) \ level 80 drivers/s390/net/ctcm_dbug.h debug_text_event(ctcm_dbf[CTCM_DBF_##name].id, level, text); \ level 83 drivers/s390/net/ctcm_dbug.h #define CTCM_DBF_HEX(name, level, addr, len) \ level 86 drivers/s390/net/ctcm_dbug.h level, (void *)(addr), len); \ level 89 drivers/s390/net/ctcm_dbug.h #define CTCM_DBF_TEXT_(name, level, text...) \ level 90 drivers/s390/net/ctcm_dbug.h ctcm_dbf_longtext(CTCM_DBF_##name, level, text) level 11 drivers/s390/net/lcs.h #define LCS_DBF_TEXT(level, name, text) \ level 13 drivers/s390/net/lcs.h debug_text_event(lcs_dbf_##name, level, text); \ level 16 drivers/s390/net/lcs.h #define LCS_DBF_HEX(level,name,addr,len) \ level 18 drivers/s390/net/lcs.h debug_event(lcs_dbf_##name,level,(void*)(addr),len); \ level 21 drivers/s390/net/lcs.h #define LCS_DBF_TEXT_(level,name,text...) \ level 23 drivers/s390/net/lcs.h if (debug_level_enabled(lcs_dbf_##name, level)) { \ level 25 drivers/s390/net/lcs.h debug_text_event(lcs_dbf_##name, level, debug_buffer); \ level 82 drivers/s390/net/netiucv.c #define IUCV_DBF_TEXT(name,level,text) \ level 84 drivers/s390/net/netiucv.c debug_text_event(iucv_dbf_##name,level,text); \ level 87 drivers/s390/net/netiucv.c #define IUCV_DBF_HEX(name,level,addr,len) \ level 89 drivers/s390/net/netiucv.c debug_event(iucv_dbf_##name,level,(void*)(addr),len); \ level 94 drivers/s390/net/netiucv.c #define IUCV_DBF_TEXT_(name, level, text...) \ level 96 drivers/s390/net/netiucv.c if (debug_level_enabled(iucv_dbf_##name, level)) { \ level 99 drivers/s390/net/netiucv.c debug_text_event(iucv_dbf_##name, level, __buf); \ level 104 drivers/s390/net/netiucv.c #define IUCV_DBF_SPRINTF(name,level,text...) \ level 106 drivers/s390/net/netiucv.c debug_sprintf_event(iucv_dbf_trace, level, ##text ); \ level 107 drivers/s390/net/netiucv.c debug_sprintf_event(iucv_dbf_trace, level, text ); \ level 62 drivers/s390/net/qeth_core.h int level; level 69 drivers/s390/net/qeth_core.h #define QETH_DBF_TEXT(name, level, text) \ level 70 drivers/s390/net/qeth_core.h debug_text_event(qeth_dbf[QETH_DBF_##name].id, level, text) level 72 drivers/s390/net/qeth_core.h #define QETH_DBF_HEX(name, level, addr, len) \ level 73 drivers/s390/net/qeth_core.h debug_event(qeth_dbf[QETH_DBF_##name].id, level, (void *)(addr), len) level 75 drivers/s390/net/qeth_core.h #define QETH_DBF_MESSAGE(level, text...) \ level 76 drivers/s390/net/qeth_core.h debug_sprintf_event(qeth_dbf[QETH_DBF_MSG].id, level, text) level 78 drivers/s390/net/qeth_core.h #define QETH_DBF_TEXT_(name, level, text...) \ level 79 drivers/s390/net/qeth_core.h qeth_dbf_longtext(qeth_dbf[QETH_DBF_##name].id, level, text) level 81 drivers/s390/net/qeth_core.h #define QETH_CARD_TEXT(card, level, text) \ level 82 drivers/s390/net/qeth_core.h debug_text_event(card->debug, level, text) level 84 drivers/s390/net/qeth_core.h #define QETH_CARD_HEX(card, level, addr, len) \ level 85 drivers/s390/net/qeth_core.h debug_event(card->debug, level, (void *)(addr), len) level 88 drivers/s390/net/qeth_core.h debug_sprintf_event(card->debug, level, text) level 90 drivers/s390/net/qeth_core.h #define QETH_CARD_TEXT_(card, level, text...) \ level 91 drivers/s390/net/qeth_core.h qeth_dbf_longtext(card->debug, level, text) level 1078 drivers/s390/net/qeth_core.h void qeth_dbf_longtext(debug_info_t *id, int level, char *text, ...); level 1678 drivers/s390/net/qeth_core_main.c static int qeth_peer_func_level(int level) level 1680 drivers/s390/net/qeth_core_main.c if ((level & 0xff) == 8) level 1681 drivers/s390/net/qeth_core_main.c return (level & 0xff) + 0x400; level 1682 drivers/s390/net/qeth_core_main.c if (((level >> 8) & 3) == 1) level 1683 drivers/s390/net/qeth_core_main.c return (level & 0xff) + 0x200; level 1684 drivers/s390/net/qeth_core_main.c return level; level 3039 drivers/s390/net/qeth_core_main.c int level; level 3047 drivers/s390/net/qeth_core_main.c level = stsi(NULL, 0, 0, 0); level 3048 drivers/s390/net/qeth_core_main.c if ((level >= 2) && (stsi(info222, 2, 2, 2) == 0)) level 3050 drivers/s390/net/qeth_core_main.c if ((level >= 3) && (stsi(info322, 3, 2, 2) == 0)) { level 5414 drivers/s390/net/qeth_core_main.c void qeth_dbf_longtext(debug_info_t *id, int level, char *fmt, ...) level 5419 drivers/s390/net/qeth_core_main.c if (!debug_level_enabled(id, level)) level 5424 drivers/s390/net/qeth_core_main.c debug_text_event(id, level, dbf_txt_buf); level 5452 drivers/s390/net/qeth_core_main.c debug_set_level(qeth_dbf[x].id, qeth_dbf[x].level); level 70 drivers/s390/scsi/zfcp_dbf.c void zfcp_dbf_hba_fsf_res(char *tag, int level, struct zfcp_fsf_req *req) level 102 drivers/s390/scsi/zfcp_dbf.c debug_event(dbf->hba, level, rec, sizeof(*rec)); level 116 drivers/s390/scsi/zfcp_dbf.c static int const level = 2; level 119 drivers/s390/scsi/zfcp_dbf.c if (unlikely(!debug_level_enabled(dbf->hba, level))) level 149 drivers/s390/scsi/zfcp_dbf.c debug_event(dbf->hba, level, rec, sizeof(*rec)); level 163 drivers/s390/scsi/zfcp_dbf.c static int const level = 1; level 166 drivers/s390/scsi/zfcp_dbf.c if (unlikely(!debug_level_enabled(dbf->hba, level))) level 180 drivers/s390/scsi/zfcp_dbf.c debug_event(dbf->hba, level, rec, sizeof(*rec)); level 197 drivers/s390/scsi/zfcp_dbf.c static int const level = 1; level 200 drivers/s390/scsi/zfcp_dbf.c if (unlikely(!debug_level_enabled(dbf->pay, level))) level 217 drivers/s390/scsi/zfcp_dbf.c debug_event(dbf->pay, level, payload, zfcp_dbf_plen(length)); level 233 drivers/s390/scsi/zfcp_dbf.c static int const level = 1; level 236 drivers/s390/scsi/zfcp_dbf.c if (unlikely(!debug_level_enabled(dbf->hba, level))) level 245 drivers/s390/scsi/zfcp_dbf.c debug_event(dbf->hba, level, rec, sizeof(*rec)); level 284 drivers/s390/scsi/zfcp_dbf.c static int const level = 1; level 290 drivers/s390/scsi/zfcp_dbf.c if (unlikely(!debug_level_enabled(dbf->rec, level))) level 309 drivers/s390/scsi/zfcp_dbf.c debug_event(dbf->rec, level, rec, sizeof(*rec)); level 341 drivers/s390/scsi/zfcp_dbf.c void zfcp_dbf_rec_run_lvl(int level, char *tag, struct zfcp_erp_action *erp) level 347 drivers/s390/scsi/zfcp_dbf.c if (!debug_level_enabled(dbf->rec, level)) level 370 drivers/s390/scsi/zfcp_dbf.c debug_event(dbf->rec, level, rec, sizeof(*rec)); level 395 drivers/s390/scsi/zfcp_dbf.c static int const level = 1; level 398 drivers/s390/scsi/zfcp_dbf.c if (unlikely(!debug_level_enabled(dbf->rec, level))) level 416 drivers/s390/scsi/zfcp_dbf.c debug_event(dbf->rec, level, rec, sizeof(*rec)); level 612 drivers/s390/scsi/zfcp_dbf.c void zfcp_dbf_scsi_common(char *tag, int level, struct scsi_device *sdev, level 680 drivers/s390/scsi/zfcp_dbf.c debug_event(dbf->scsi, level, rec, sizeof(*rec)); level 700 drivers/s390/scsi/zfcp_dbf.c static int const level = 1; level 702 drivers/s390/scsi/zfcp_dbf.c if (unlikely(!debug_level_enabled(adapter->dbf->scsi, level))) level 720 drivers/s390/scsi/zfcp_dbf.c debug_event(dbf->scsi, level, rec, sizeof(*rec)); level 322 drivers/s390/scsi/zfcp_dbf.h void zfcp_dbf_hba_fsf_resp(char *tag, int level, struct zfcp_fsf_req *req) level 324 drivers/s390/scsi/zfcp_dbf.h if (debug_level_enabled(req->adapter->dbf->hba, level)) level 325 drivers/s390/scsi/zfcp_dbf.h zfcp_dbf_hba_fsf_res(tag, level, req); level 363 drivers/s390/scsi/zfcp_dbf.h void _zfcp_dbf_scsi(char *tag, int level, struct scsi_cmnd *scmd, level 369 drivers/s390/scsi/zfcp_dbf.h if (debug_level_enabled(adapter->dbf->scsi, level)) level 370 drivers/s390/scsi/zfcp_dbf.h zfcp_dbf_scsi_common(tag, level, scmd->device, scmd, req); level 426 drivers/s390/scsi/zfcp_dbf.h static int const level = 1; level 428 drivers/s390/scsi/zfcp_dbf.h if (unlikely(!debug_level_enabled(adapter->dbf->scsi, level))) level 437 drivers/s390/scsi/zfcp_dbf.h zfcp_dbf_scsi_common(tmp_tag, level, sdev, NULL, fsf_req); level 42 drivers/s390/scsi/zfcp_ext.h extern void zfcp_dbf_rec_run_lvl(int level, char *tag, level 53 drivers/s390/scsi/zfcp_ext.h extern void zfcp_dbf_scsi_common(char *tag, int level, struct scsi_device *sdev, level 1007 drivers/scsi/aacraid/commsup.c int level = (val >> 16) & 0xffff; level 1017 drivers/scsi/aacraid/commsup.c if (level == LOG_AAC_HIGH_ERROR) level 298 drivers/scsi/arm/fas216.c static void fas216_log_command(FAS216_Info *info, int level, level 303 drivers/scsi/arm/fas216.c if (level != 0 && !(level & level_mask)) level 314 drivers/scsi/arm/fas216.c fas216_log_target(FAS216_Info *info, int level, int target, char *fmt, ...) level 318 drivers/scsi/arm/fas216.c if (level != 0 && !(level & level_mask)) level 333 drivers/scsi/arm/fas216.c static void fas216_log(FAS216_Info *info, int level, char *fmt, ...) level 337 drivers/scsi/arm/fas216.c if (level != 0 && !(level & level_mask)) level 1020 drivers/scsi/be2iscsi/be_main.h #define __beiscsi_log(phba, level, fmt, arg...) \ level 1021 drivers/scsi/be2iscsi/be_main.h shost_printk(level, phba->shost, fmt, __LINE__, ##arg) level 1023 drivers/scsi/be2iscsi/be_main.h #define beiscsi_log(phba, level, mask, fmt, arg...) \ level 1026 drivers/scsi/be2iscsi/be_main.h if (((mask) & log_value) || (level[1] <= '3')) \ level 1027 drivers/scsi/be2iscsi/be_main.h __beiscsi_log(phba, level, fmt, ##arg); \ level 470 drivers/scsi/bfa/bfa_defs.h u16 level; /* Only transitions will be informed */ level 3741 drivers/scsi/bfa/bfa_ioc.c aen_entry->aen_data.port.level = rsp->pomlvl; level 283 drivers/scsi/bfa/bfad_drv.h #define BFA_LOG(level, bfad, mask, fmt, arg...) \ level 285 drivers/scsi/bfa/bfad_drv.h if (((mask) == 4) || (level[1] <= '4')) \ level 286 drivers/scsi/bfa/bfad_drv.h dev_printk(level, &((bfad)->pcidev)->dev, fmt, ##arg); \ level 96 drivers/scsi/ch.c #define VPRINTK(level, fmt, arg...) \ level 99 drivers/scsi/ch.c ch_printk(level, ch, fmt, ##arg); \ level 88 drivers/scsi/csiostor/csio_scsi.c switch (sld->level) { level 128 drivers/scsi/csiostor/csio_scsi.c if (sld->level == CSIO_LEV_ALL) { level 1327 drivers/scsi/csiostor/csio_scsi.c sld.level = CSIO_LEV_LNODE; level 2140 drivers/scsi/csiostor/csio_scsi.c sld.level = CSIO_LEV_LUN; level 185 drivers/scsi/csiostor/csio_scsi.h enum csio_scsi_lev level; level 44 drivers/scsi/cxgbi/libcxgbi.h #define log_debug(level, fmt, ...) \ level 46 drivers/scsi/cxgbi/libcxgbi.h if (dbg_level & (level)) \ level 732 drivers/scsi/cxlflash/main.c static void term_intr(struct cxlflash_cfg *cfg, enum undo_level level, level 751 drivers/scsi/cxlflash/main.c switch (level) { level 1959 drivers/scsi/cxlflash/main.c enum undo_level level = UNDO_NOOP; level 1967 drivers/scsi/cxlflash/main.c level = UNDO_NOOP; level 1975 drivers/scsi/cxlflash/main.c level = FREE_IRQ; level 1983 drivers/scsi/cxlflash/main.c level = UNMAP_ONE; level 1995 drivers/scsi/cxlflash/main.c level = UNMAP_TWO; level 1999 drivers/scsi/cxlflash/main.c return level; level 2016 drivers/scsi/cxlflash/main.c enum undo_level level; level 2051 drivers/scsi/cxlflash/main.c level = init_intr(cfg, hwq); level 2052 drivers/scsi/cxlflash/main.c if (unlikely(level)) { level 2061 drivers/scsi/cxlflash/main.c level = UNMAP_THREE; level 2069 drivers/scsi/cxlflash/main.c term_intr(cfg, level, index); level 112 drivers/scsi/dc395x.c #define dprintkl(level, format, arg...) \ level 113 drivers/scsi/dc395x.c printk(level DC395X_NAME ": " format , ## arg) level 85 drivers/scsi/esas2r/esas2r_log.c static const char *translate_esas2r_event_level_to_kernel(const long level) level 87 drivers/scsi/esas2r/esas2r_log.c switch (level) { level 116 drivers/scsi/esas2r/esas2r_log.c static int esas2r_log_master(const long level, level 121 drivers/scsi/esas2r/esas2r_log.c if (level <= event_log_level) { level 129 drivers/scsi/esas2r/esas2r_log.c translate_esas2r_event_level_to_kernel(level); level 182 drivers/scsi/esas2r/esas2r_log.c int esas2r_log(const long level, const char *format, ...) level 189 drivers/scsi/esas2r/esas2r_log.c retval = esas2r_log_master(level, NULL, format, args); level 207 drivers/scsi/esas2r/esas2r_log.c int esas2r_log_dev(const long level, level 217 drivers/scsi/esas2r/esas2r_log.c retval = esas2r_log_master(level, dev, format, args); level 234 drivers/scsi/esas2r/esas2r_log.c int esas2r_log_hexdump(const long level, level 238 drivers/scsi/esas2r/esas2r_log.c if (level <= event_log_level) { level 239 drivers/scsi/esas2r/esas2r_log.c print_hex_dump(translate_esas2r_event_level_to_kernel(level), level 64 drivers/scsi/esas2r/esas2r_log.h __printf(2, 3) int esas2r_log(const long level, const char *format, ...); level 65 drivers/scsi/esas2r/esas2r_log.h __printf(3, 4) int esas2r_log_dev(const long level, level 69 drivers/scsi/esas2r/esas2r_log.h int esas2r_log_hexdump(const long level, level 1211 drivers/scsi/hpsa.c static void hpsa_show_dev_msg(const char *level, struct ctlr_info *h, level 1253 drivers/scsi/hpsa.c dev_printk(level, &h->pdev->dev, level 3294 drivers/scsi/ibmvscsi/ibmvfc.c int index, level = IBMVFC_DEFAULT_LOG_LEVEL; level 3332 drivers/scsi/ibmvscsi/ibmvfc.c level += ibmvfc_retry_tgt_init(tgt, ibmvfc_tgt_send_plogi); level 3334 drivers/scsi/ibmvscsi/ibmvfc.c level += ibmvfc_retry_tgt_init(tgt, ibmvfc_tgt_send_plogi); level 3336 drivers/scsi/ibmvscsi/ibmvfc.c level += ibmvfc_retry_tgt_init(tgt, ibmvfc_tgt_send_prli); level 3340 drivers/scsi/ibmvscsi/ibmvfc.c tgt_log(tgt, level, "Process Login failed: %s (%x:%x) rc=0x%02X\n", level 3405 drivers/scsi/ibmvscsi/ibmvfc.c int level = IBMVFC_DEFAULT_LOG_LEVEL; level 3435 drivers/scsi/ibmvscsi/ibmvfc.c level += ibmvfc_retry_tgt_init(tgt, ibmvfc_tgt_send_plogi); level 3439 drivers/scsi/ibmvscsi/ibmvfc.c tgt_log(tgt, level, "Port Login failed: %s (%x:%x) %s (%x) %s (%x) rc=0x%02X\n", level 3795 drivers/scsi/ibmvscsi/ibmvfc.c int level = IBMVFC_DEFAULT_LOG_LEVEL; level 3820 drivers/scsi/ibmvscsi/ibmvfc.c level += ibmvfc_retry_tgt_init(tgt, ibmvfc_tgt_query_target); level 3824 drivers/scsi/ibmvscsi/ibmvfc.c tgt_log(tgt, level, "Query Target failed: %s (%x:%x) %s (%x) %s (%x) rc=0x%02X\n", level 3943 drivers/scsi/ibmvscsi/ibmvfc.c int level = IBMVFC_DEFAULT_LOG_LEVEL; level 3952 drivers/scsi/ibmvscsi/ibmvfc.c level += ibmvfc_retry_host_init(vhost); level 3953 drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_log(vhost, level, "Discover Targets failed: %s (%x:%x)\n", level 4007 drivers/scsi/ibmvscsi/ibmvfc.c int level = IBMVFC_DEFAULT_LOG_LEVEL; level 4015 drivers/scsi/ibmvscsi/ibmvfc.c level += ibmvfc_retry_host_init(vhost); level 4018 drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_log(vhost, level, "NPIV Login failed: %s (%x:%x)\n", level 741 drivers/scsi/ibmvscsi/ibmvfc.h #define tgt_log(t, level, fmt, ...) \ level 743 drivers/scsi/ibmvscsi/ibmvfc.h if ((t)->vhost->log_level >= level) \ level 750 drivers/scsi/ibmvscsi/ibmvfc.h #define ibmvfc_log(vhost, level, ...) \ level 752 drivers/scsi/ibmvscsi/ibmvfc.h if ((vhost)->log_level >= level) \ level 1782 drivers/scsi/ipr.h #define ipr_res_printk(level, ioa_cfg, bus, target, lun, fmt, ...) \ level 1783 drivers/scsi/ipr.h printk(level IPR_NAME ": %d:%d:%d:%d: " fmt, (ioa_cfg)->host->host_no, \ level 1789 drivers/scsi/ipr.h #define ipr_ra_printk(level, ioa_cfg, ra, fmt, ...) \ level 1790 drivers/scsi/ipr.h printk(level IPR_NAME ": %d:%d:%d:%d: " fmt, (ioa_cfg)->host->host_no, \ level 82 drivers/scsi/ips.h #define IPS_PRINTK(level, pcidev, format, arg...) \ level 83 drivers/scsi/ips.h dev_printk(level , &((pcidev)->dev) , format , ## arg) level 349 drivers/scsi/libsas/sas_ata.c static int sas_ata_printk(const char *level, const struct domain_device *ddev, level 364 drivers/scsi/libsas/sas_ata.c level, ap->print_id, dev_name(dev), &vaf); level 990 drivers/scsi/libsas/sas_expander.c edev->level = parent_ex->level + 1; level 992 drivers/scsi/libsas/sas_expander.c edev->level); level 1614 drivers/scsi/libsas/sas_expander.c static int sas_ex_level_discovery(struct asd_sas_port *port, const int level) level 1624 drivers/scsi/libsas/sas_expander.c if (level == ex->level) level 1626 drivers/scsi/libsas/sas_expander.c else if (level > 0) level 1638 drivers/scsi/libsas/sas_expander.c int level; level 1641 drivers/scsi/libsas/sas_expander.c level = port->disc.max_level; level 1642 drivers/scsi/libsas/sas_expander.c res = sas_ex_level_discovery(port, level); level 1644 drivers/scsi/libsas/sas_expander.c } while (level < port->disc.max_level); level 1658 drivers/scsi/libsas/sas_expander.c ex->level = dev->port->disc.max_level; /* 0 */ level 1911 drivers/scsi/libsas/sas_expander.c const int level) level 1922 drivers/scsi/libsas/sas_expander.c if (level > ex->level) level 1924 drivers/scsi/libsas/sas_expander.c level); level 1925 drivers/scsi/libsas/sas_expander.c else if (level == ex->level) level 1936 drivers/scsi/libsas/sas_expander.c int level = ex->level+1; level 1942 drivers/scsi/libsas/sas_expander.c res = sas_discover_bfs_by_root_level(dev, level); level 1944 drivers/scsi/libsas/sas_expander.c level += 1; level 1945 drivers/scsi/libsas/sas_expander.c } while (level <= dev->port->disc.max_level); level 49 drivers/scsi/lpfc/lpfc_logmsg.h #define lpfc_printf_vlog(vport, level, mask, fmt, arg...) \ level 51 drivers/scsi/lpfc/lpfc_logmsg.h { if (((mask) & (vport)->cfg_log_verbose) || (level[1] <= '3')) \ level 52 drivers/scsi/lpfc/lpfc_logmsg.h dev_printk(level, &((vport)->phba->pcidev)->dev, "%d:(%d):" \ level 56 drivers/scsi/lpfc/lpfc_logmsg.h #define lpfc_printf_log(phba, level, mask, fmt, arg...) \ level 61 drivers/scsi/lpfc/lpfc_logmsg.h if (((mask) & log_verbose) || (level[1] <= '3')) \ level 62 drivers/scsi/lpfc/lpfc_logmsg.h dev_printk(level, &((phba)->pcidev)->dev, "%d:" \ level 2625 drivers/scsi/megaraid.c seq_printf(m, "RAID level:%3d, ", lparam->level); level 414 drivers/scsi/megaraid.h u8 level; /* RAID level */ level 632 drivers/scsi/megaraid/mbox_defs.h uint8_t level; level 39 drivers/scsi/megaraid/megaraid_ioctl.h #define con_log(level, fmt) if (LSI_DBGLVL >= level) printk fmt; level 3318 drivers/scsi/megaraid/megaraid_mbox.c int level; level 3326 drivers/scsi/megaraid/megaraid_mbox.c level = CL_DLEVEL3; level 3328 drivers/scsi/megaraid/megaraid_mbox.c con_log(level, (KERN_NOTICE level 3332 drivers/scsi/megaraid/megaraid_mbox.c con_log(level, ("sec:%#x lba:%#x addr:%#x ld:%d sg:%d\n", level 3338 drivers/scsi/megaraid/megaraid_mbox.c con_log(level, (KERN_NOTICE "scsi cmnd: ")); level 3341 drivers/scsi/megaraid/megaraid_mbox.c con_log(level, ("%#2.02x ", scp->cmnd[i])); level 3344 drivers/scsi/megaraid/megaraid_mbox.c con_log(level, ("\n")); level 653 drivers/scsi/megaraid/megaraid_sas_fp.c switch (raid->level) { level 712 drivers/scsi/megaraid/megaraid_sas_fp.c if (raid->level == 6) { level 736 drivers/scsi/megaraid/megaraid_sas_fp.c (raid->level == 1) && level 744 drivers/scsi/megaraid/megaraid_sas_fp.c if ((raid->level >= 5) && level 749 drivers/scsi/megaraid/megaraid_sas_fp.c else if (raid->level == 1) { level 811 drivers/scsi/megaraid/megaraid_sas_fp.c if (raid->level == 6) { level 852 drivers/scsi/megaraid/megaraid_sas_fp.c (raid->level == 1) && level 860 drivers/scsi/megaraid/megaraid_sas_fp.c if ((raid->level >= 5) && level 865 drivers/scsi/megaraid/megaraid_sas_fp.c else if (raid->level == 1) { level 936 drivers/scsi/megaraid/megaraid_sas_fp.c if (raid->level == 6) { level 1172 drivers/scsi/megaraid/megaraid_sas_fp.c if (fusion->r56_div_offload && (raid->level >= 5) && !isRead) { level 1341 drivers/scsi/megaraid/megaraid_sas_fp.c if ((raid->level != 1) || level 2661 drivers/scsi/megaraid/megaraid_sas_fusion.c if ((raid->level <= 1) && level 2685 drivers/scsi/megaraid/megaraid_sas_fusion.c ((raid->level == 5) || (raid->level == 6)) && level 2699 drivers/scsi/megaraid/megaraid_sas_fusion.c if ((fusion->pcie_bw_limitation) && (raid->level == 1) && (!is_read) && level 854 drivers/scsi/megaraid/megaraid_sas_fusion.h u8 level; level 2093 drivers/scsi/mpt3sas/mpt3sas_scsih.c enum raid_level level = RAID_LEVEL_UNKNOWN; level 2097 drivers/scsi/mpt3sas/mpt3sas_scsih.c level = RAID_LEVEL_0; level 2100 drivers/scsi/mpt3sas/mpt3sas_scsih.c level = RAID_LEVEL_10; level 2103 drivers/scsi/mpt3sas/mpt3sas_scsih.c level = RAID_LEVEL_1E; level 2106 drivers/scsi/mpt3sas/mpt3sas_scsih.c level = RAID_LEVEL_1; level 2113 drivers/scsi/mpt3sas/mpt3sas_scsih.c &sdev->sdev_gendev, level); level 2118 drivers/scsi/mpt3sas/mpt3sas_scsih.c &sdev->sdev_gendev, level); level 404 drivers/scsi/mpt3sas/mpt3sas_transport.c edev->level = manufacture_reply->sas_format & 1; level 405 drivers/scsi/mpt3sas/mpt3sas_transport.c if (edev->level) { level 62 drivers/scsi/myrb.c enum myrb_raidlevel level; level 73 drivers/scsi/myrb.c static const char *myrb_raidlevel_name(enum myrb_raidlevel level) level 79 drivers/scsi/myrb.c if (entry[i].level == level) level 1655 drivers/scsi/myrb.c enum raid_level level; level 1671 drivers/scsi/myrb.c level = RAID_LEVEL_LINEAR; level 1674 drivers/scsi/myrb.c level = RAID_LEVEL_1; level 1677 drivers/scsi/myrb.c level = RAID_LEVEL_3; level 1680 drivers/scsi/myrb.c level = RAID_LEVEL_5; level 1683 drivers/scsi/myrb.c level = RAID_LEVEL_6; level 1686 drivers/scsi/myrb.c level = RAID_LEVEL_JBOD; level 1689 drivers/scsi/myrb.c level = RAID_LEVEL_UNKNOWN; level 1692 drivers/scsi/myrb.c raid_set_level(myrb_raid_template, &sdev->sdev_gendev, level); level 60 drivers/scsi/myrs.c enum myrs_raid_level level; level 78 drivers/scsi/myrs.c static char *myrs_raid_level_name(enum myrs_raid_level level) level 84 drivers/scsi/myrs.c if (entry[i].level == level) level 1819 drivers/scsi/myrs.c enum raid_level level; level 1829 drivers/scsi/myrs.c level = RAID_LEVEL_LINEAR; level 1832 drivers/scsi/myrs.c level = RAID_LEVEL_1; level 1837 drivers/scsi/myrs.c level = RAID_LEVEL_3; level 1841 drivers/scsi/myrs.c level = RAID_LEVEL_5; level 1844 drivers/scsi/myrs.c level = RAID_LEVEL_6; level 1849 drivers/scsi/myrs.c level = RAID_LEVEL_LINEAR; level 1852 drivers/scsi/myrs.c level = RAID_LEVEL_JBOD; level 1855 drivers/scsi/myrs.c level = RAID_LEVEL_UNKNOWN; level 1859 drivers/scsi/myrs.c &sdev->sdev_gendev, level); level 83 drivers/scsi/qedf/qedf_dbg.c u32 level, const char *fmt, ...) level 93 drivers/scsi/qedf/qedf_dbg.c if (!(qedf_debug & level)) level 78 drivers/scsi/qedf/qedf_dbg.h #define QEDF_INFO(pdev, level, fmt, ...) \ level 79 drivers/scsi/qedf/qedf_dbg.h qedf_dbg_info(pdev, __func__, __LINE__, level, fmt, \ level 84 drivers/scsi/qedi/qedi_dbg.c u32 level, const char *fmt, ...) level 94 drivers/scsi/qedi/qedi_dbg.c if (!(qedi_dbg_log & level)) level 78 drivers/scsi/qedi/qedi_dbg.h #define QEDI_INFO(pdev, level, fmt, ...) \ level 79 drivers/scsi/qedi/qedi_dbg.h qedi_dbg_info(pdev, __func__, __LINE__, level, fmt, \ level 559 drivers/scsi/qla1280.c #define dprintk(level, format, a...) \ level 560 drivers/scsi/qla1280.c do { if (ql_debug_level >= level) printk(KERN_ERR format, ##a); } while(0) level 561 drivers/scsi/qla1280.c #define qla1280_dump_buffer(level, buf, size) \ level 562 drivers/scsi/qla1280.c if (ql_debug_level >= level) __qla1280_dump_buffer(buf, size) level 563 drivers/scsi/qla1280.c #define qla1280_print_scsi_cmd(level, cmd) \ level 564 drivers/scsi/qla1280.c if (ql_debug_level >= level) __qla1280_print_scsi_cmd(cmd) level 567 drivers/scsi/qla1280.c #define dprintk(level, format, a...) do{}while(0) level 2536 drivers/scsi/qla2xxx/qla_dbg.c ql_dbg(uint level, scsi_qla_host_t *vha, uint id, const char *fmt, ...) level 2541 drivers/scsi/qla2xxx/qla_dbg.c if (!ql_mask_match(level)) level 2579 drivers/scsi/qla2xxx/qla_dbg.c ql_dbg_pci(uint level, struct pci_dev *pdev, uint id, const char *fmt, ...) level 2586 drivers/scsi/qla2xxx/qla_dbg.c if (!ql_mask_match(level)) level 2615 drivers/scsi/qla2xxx/qla_dbg.c ql_log(uint level, scsi_qla_host_t *vha, uint id, const char *fmt, ...) level 2621 drivers/scsi/qla2xxx/qla_dbg.c if (level > ql_errlev) level 2640 drivers/scsi/qla2xxx/qla_dbg.c switch (level) { level 2673 drivers/scsi/qla2xxx/qla_dbg.c ql_log_pci(uint level, struct pci_dev *pdev, uint id, const char *fmt, ...) level 2681 drivers/scsi/qla2xxx/qla_dbg.c if (level > ql_errlev) level 2694 drivers/scsi/qla2xxx/qla_dbg.c switch (level) { level 2713 drivers/scsi/qla2xxx/qla_dbg.c ql_dump_regs(uint level, scsi_qla_host_t *vha, uint id) level 2722 drivers/scsi/qla2xxx/qla_dbg.c if (!ql_mask_match(level)) level 2732 drivers/scsi/qla2xxx/qla_dbg.c ql_dbg(level, vha, id, "Mailbox registers:\n"); level 2734 drivers/scsi/qla2xxx/qla_dbg.c ql_dbg(level, vha, id, level 2740 drivers/scsi/qla2xxx/qla_dbg.c ql_dump_buffer(uint level, scsi_qla_host_t *vha, uint id, const void *buf, level 2745 drivers/scsi/qla2xxx/qla_dbg.c if (!ql_mask_match(level)) level 2748 drivers/scsi/qla2xxx/qla_dbg.c ql_dbg(level, vha, id, level 2750 drivers/scsi/qla2xxx/qla_dbg.c ql_dbg(level, vha, id, level 2753 drivers/scsi/qla2xxx/qla_dbg.c ql_dbg(level, vha, id, "%04x: ", cnt); level 2773 drivers/scsi/qla2xxx/qla_dbg.c ql_log_qp(uint32_t level, struct qla_qpair *qpair, int32_t id, level 2780 drivers/scsi/qla2xxx/qla_dbg.c if (level > ql_errlev) level 2799 drivers/scsi/qla2xxx/qla_dbg.c switch (level) { level 2831 drivers/scsi/qla2xxx/qla_dbg.c ql_dbg_qp(uint32_t level, struct qla_qpair *qpair, int32_t id, level 2837 drivers/scsi/qla2xxx/qla_dbg.c if (!ql_mask_match(level)) level 379 drivers/scsi/qla2xxx/qla_dbg.h ql_mask_match(uint level) level 381 drivers/scsi/qla2xxx/qla_dbg.h return (level & ql2xextended_error_logging) == level; level 118 drivers/scsi/qla4xxx/ql4_def.h #define ql4_printk(level, ha, format, arg...) \ level 119 drivers/scsi/qla4xxx/ql4_def.h dev_printk(level , &((ha)->pdev->dev) , format , ## arg) level 160 drivers/scsi/raid_class.c static const char *raid_level_name(enum raid_level level) level 166 drivers/scsi/raid_class.c if (raid_levels[i].value == level) { level 208 drivers/scsi/raid_class.c raid_attr_ro_state(level); level 114 drivers/scsi/scsi.c unsigned int level; level 128 drivers/scsi/scsi.c level = SCSI_LOG_LEVEL(SCSI_LOG_MLQUEUE_SHIFT, level 130 drivers/scsi/scsi.c if (level > 1) { level 140 drivers/scsi/scsi.c unsigned int level; level 155 drivers/scsi/scsi.c level = SCSI_LOG_LEVEL(SCSI_LOG_MLCOMPLETE_SHIFT, level 157 drivers/scsi/scsi.c if (((level > 0) && (cmd->result || disposition != SUCCESS)) || level 158 drivers/scsi/scsi.c (level > 1)) { level 163 drivers/scsi/scsi.c if (level > 3) level 677 drivers/scsi/scsi_lib.c int level = 0; level 798 drivers/scsi/scsi_lib.c level = level 806 drivers/scsi/scsi_lib.c if (!level && __ratelimit(&_rs)) { level 53 drivers/scsi/scsi_logging.c void sdev_prefix_printk(const char *level, const struct scsi_device *sdev, level 75 drivers/scsi/scsi_logging.c dev_printk(level, &sdev->sdev_gendev, "%s", logbuf); level 80 drivers/scsi/scsi_logging.c void scmd_printk(const char *level, const struct scsi_cmnd *scmd, level 100 drivers/scsi/scsi_logging.c dev_printk(level, &scmd->device->sdev_gendev, "%s", logbuf); level 1318 drivers/scsi/scsi_transport_sas.c sas_expander_simple_attr(level, level, "%d\n", int); level 1839 drivers/scsi/scsi_transport_sas.c SETUP_EXPANDER_ATTRIBUTE(level); level 167 drivers/scsi/storvsc_drv.c static inline bool do_logging(int level) level 169 drivers/scsi/storvsc_drv.c return logging_level >= level; level 172 drivers/scsi/storvsc_drv.c #define storvsc_log(dev, level, fmt, ...) \ level 174 drivers/scsi/storvsc_drv.c if (do_logging(level)) \ level 59 drivers/sh/intc/core.c void intc_set_prio_level(unsigned int irq, unsigned int level) level 64 drivers/sh/intc/core.c intc_prio_level[irq] = level; level 167 drivers/sh/intc/internals.h void intc_set_prio_level(unsigned int irq, unsigned int level); level 34 drivers/sh/intc/userimask.c unsigned long level; level 36 drivers/sh/intc/userimask.c level = simple_strtoul(buf, NULL, 10); level 50 drivers/sh/intc/userimask.c if (level >= intc_get_dfl_prio_level()) level 53 drivers/sh/intc/userimask.c __raw_writel(0xa5 << 24 | level << 4, uimask); level 80 drivers/soc/qcom/qmi_encdec.c int level) level 85 drivers/soc/qcom/qmi_encdec.c if (level > 1) { level 105 drivers/soc/qcom/qmi_encdec.c int level) level 116 drivers/soc/qcom/qmi_encdec.c temp_ei = skip_to_next_elem(temp_ei, level); level 127 drivers/soc/qcom/qmi_encdec.c (level + 1)); level 130 drivers/soc/qcom/qmi_encdec.c if (level > 1) level 144 drivers/soc/qcom/qmi_encdec.c if (level == 1) level 46 drivers/soc/qcom/rpmhpd.c u32 level[RPMH_ARC_MAX_LEVELS]; level 242 drivers/soc/qcom/rpmhpd.c ret = rpmhpd_aggregate_corner(pd, pd->level[0]); level 253 drivers/soc/qcom/rpmhpd.c unsigned int level) level 261 drivers/soc/qcom/rpmhpd.c if (level <= pd->level[i]) level 306 drivers/soc/qcom/rpmhpd.c rpmhpd->level[i] = buf[i]; level 312 drivers/soc/qcom/rpmhpd.c if (i > 0 && rpmhpd->level[i] == 0) { level 317 drivers/soc/qcom/rpmhpd.c rpmhpd->level[i]); level 164 drivers/soundwire/intel_init.c static acpi_status sdw_intel_acpi_cb(acpi_handle handle, u32 level, level 464 drivers/spi/spi-pxa2xx.c static void pxa2xx_spi_set_cs(struct spi_device *spi, bool level) level 466 drivers/spi/spi-pxa2xx.c if (level) level 2040 drivers/spi/spi.c static acpi_status acpi_spi_add_device(acpi_handle handle, u32 level, level 399 drivers/staging/fbtft/fbtft.h #define fbtft_par_dbg(level, par, format, arg...) \ level 401 drivers/staging/fbtft/fbtft.h if (unlikely(par->debug & level)) \ level 405 drivers/staging/fbtft/fbtft.h #define fbtft_par_dbg_hex(level, par, dev, type, buf, num, format, arg...) \ level 407 drivers/staging/fbtft/fbtft.h if (unlikely((par)->debug & (level))) \ level 257 drivers/staging/isdn/gigaset/bas-gigaset.c static inline void dump_urb(enum debuglevel level, const char *tag, level 262 drivers/staging/isdn/gigaset/bas-gigaset.c gig_dbg(level, "%s urb(0x%08lx)->{", tag, (unsigned long) urb); level 264 drivers/staging/isdn/gigaset/bas-gigaset.c gig_dbg(level, level 273 drivers/staging/isdn/gigaset/bas-gigaset.c gig_dbg(level, level 279 drivers/staging/isdn/gigaset/bas-gigaset.c gig_dbg(level, level 284 drivers/staging/isdn/gigaset/bas-gigaset.c gig_dbg(level, level 292 drivers/staging/isdn/gigaset/bas-gigaset.c gig_dbg(level, level 299 drivers/staging/isdn/gigaset/bas-gigaset.c gig_dbg(level, "}}"); level 205 drivers/staging/isdn/gigaset/capi.c static inline void dump_cmsg(enum debuglevel level, const char *tag, _cmsg *p) level 212 drivers/staging/isdn/gigaset/capi.c if (!(gigaset_debuglevel & level)) level 219 drivers/staging/isdn/gigaset/capi.c gig_dbg(level, "%s: [%d] %s", tag, p->ApplId, cdb->buf); level 222 drivers/staging/isdn/gigaset/capi.c gig_dbg(level, "%s: [%d] %s", tag, p->ApplId, level 228 drivers/staging/isdn/gigaset/capi.c static inline void dump_rawmsg(enum debuglevel level, const char *tag, level 235 drivers/staging/isdn/gigaset/capi.c if (!(gigaset_debuglevel & level)) level 240 drivers/staging/isdn/gigaset/capi.c gig_dbg(level, "%s: ??? LEN=%04d", tag, l); level 243 drivers/staging/isdn/gigaset/capi.c gig_dbg(level, "%s: 0x%02x:0x%02x: ID=%03d #0x%04x LEN=%04d NCCI=0x%x", level 261 drivers/staging/isdn/gigaset/capi.c gig_dbg(level, " %s", dbgline); level 267 drivers/staging/isdn/gigaset/capi.c gig_dbg(level, " DataLength=%d", l); level 282 drivers/staging/isdn/gigaset/capi.c gig_dbg(level, " %s", dbgline); level 48 drivers/staging/isdn/gigaset/common.c void gigaset_dbg_buffer(enum debuglevel level, const unsigned char *msg, level 82 drivers/staging/isdn/gigaset/common.c gig_dbg(level, "%s (%u bytes): %s", msg, (unsigned) len, outbuf); level 91 drivers/staging/isdn/gigaset/gigaset.h #define gig_dbg(level, format, arg...) \ level 93 drivers/staging/isdn/gigaset/gigaset.h if (unlikely(((enum debuglevel)gigaset_debuglevel) & (level))) \ level 101 drivers/staging/isdn/gigaset/gigaset.h #define gig_dbg(level, format, arg...) do {} while (0) level 106 drivers/staging/isdn/gigaset/gigaset.h void gigaset_dbg_buffer(enum debuglevel level, const unsigned char *msg, level 211 drivers/staging/isdn/gigaset/isocdata.c static inline void dump_bytes(enum debuglevel level, const char *tag, level 219 drivers/staging/isdn/gigaset/isocdata.c if (!(gigaset_debuglevel & level)) level 225 drivers/staging/isdn/gigaset/isocdata.c gig_dbg(level, "%s:%s", tag, dbgline); level 235 drivers/staging/isdn/gigaset/isocdata.c gig_dbg(level, "%s:%s", tag, dbgline); level 952 drivers/staging/ks7010/ks_hostif.c wstats->qual.level = 256 - rssi; level 939 drivers/staging/ks7010/ks_wlan_net.c range->max_qual.level = 256 - 128; /* 0 dBm? */ level 1015 drivers/staging/ks7010/ks_wlan_net.c range->avg_qual.level = 186; /* -70 dBm */ level 1079 drivers/staging/ks7010/ks_wlan_net.c vwrq->qual.level = priv->wstats.qual.level; level 1102 drivers/staging/ks7010/ks_wlan_net.c qual[i].level = 256 - priv->aplist.ap[i].rssi; level 1228 drivers/staging/ks7010/ks_wlan_net.c iwe.u.qual.level = 256 - ap->rssi; level 191 drivers/staging/media/allegro-dvt/allegro-core.c enum v4l2_mpeg_video_h264_level level; level 325 drivers/staging/media/allegro-dvt/allegro-core.c u16 level; level 596 drivers/staging/media/allegro-dvt/allegro-core.c enum v4l2_mpeg_video_h264_level level = V4L2_MPEG_VIDEO_H264_LEVEL_4_0; level 606 drivers/staging/media/allegro-dvt/allegro-core.c level = V4L2_MPEG_VIDEO_H264_LEVEL_1_0; level 608 drivers/staging/media/allegro-dvt/allegro-core.c level = V4L2_MPEG_VIDEO_H264_LEVEL_1_1; level 610 drivers/staging/media/allegro-dvt/allegro-core.c level = V4L2_MPEG_VIDEO_H264_LEVEL_2_1; level 612 drivers/staging/media/allegro-dvt/allegro-core.c level = V4L2_MPEG_VIDEO_H264_LEVEL_2_2; level 614 drivers/staging/media/allegro-dvt/allegro-core.c level = V4L2_MPEG_VIDEO_H264_LEVEL_3_1; level 616 drivers/staging/media/allegro-dvt/allegro-core.c level = V4L2_MPEG_VIDEO_H264_LEVEL_3_2; level 618 drivers/staging/media/allegro-dvt/allegro-core.c level = V4L2_MPEG_VIDEO_H264_LEVEL_4_0; level 620 drivers/staging/media/allegro-dvt/allegro-core.c level = V4L2_MPEG_VIDEO_H264_LEVEL_4_2; level 622 drivers/staging/media/allegro-dvt/allegro-core.c level = V4L2_MPEG_VIDEO_H264_LEVEL_5_0; level 624 drivers/staging/media/allegro-dvt/allegro-core.c level = V4L2_MPEG_VIDEO_H264_LEVEL_5_1; level 626 drivers/staging/media/allegro-dvt/allegro-core.c return level; level 629 drivers/staging/media/allegro-dvt/allegro-core.c static unsigned int maximum_bitrate(enum v4l2_mpeg_video_h264_level level) level 631 drivers/staging/media/allegro-dvt/allegro-core.c switch (level) { level 668 drivers/staging/media/allegro-dvt/allegro-core.c static unsigned int maximum_cpb_size(enum v4l2_mpeg_video_h264_level level) level 670 drivers/staging/media/allegro-dvt/allegro-core.c switch (level) { level 958 drivers/staging/media/allegro-dvt/allegro-core.c static u16 v4l2_level_to_mcu_level(enum v4l2_mpeg_video_h264_level level) level 960 drivers/staging/media/allegro-dvt/allegro-core.c switch (level) { level 1026 drivers/staging/media/allegro-dvt/allegro-core.c msg.level = v4l2_level_to_mcu_level(channel->level); level 1331 drivers/staging/media/allegro-dvt/allegro-core.c sps->level_idc = nal_h264_level_from_v4l2(channel->level); level 2009 drivers/staging/media/allegro-dvt/allegro-core.c if (channel->level < min_level) { level 2013 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_ctrl_get_menu(V4L2_CID_MPEG_VIDEO_H264_LEVEL)[channel->level], level 2015 drivers/staging/media/allegro-dvt/allegro-core.c channel->level = min_level; level 2063 drivers/staging/media/allegro-dvt/allegro-core.c channel->level = level 2069 drivers/staging/media/allegro-dvt/allegro-core.c channel->bitrate = maximum_bitrate(channel->level); level 2070 drivers/staging/media/allegro-dvt/allegro-core.c channel->bitrate_peak = maximum_bitrate(channel->level); level 2071 drivers/staging/media/allegro-dvt/allegro-core.c channel->cpb_size = maximum_cpb_size(channel->level); level 2243 drivers/staging/media/allegro-dvt/allegro-core.c channel->level = ctrl->val; level 2506 drivers/staging/media/allegro-dvt/allegro-core.c channel->level = level 118 drivers/staging/media/allegro-dvt/nal-h264.c int nal_h264_level_from_v4l2(enum v4l2_mpeg_video_h264_level level) level 120 drivers/staging/media/allegro-dvt/nal-h264.c switch (level) { level 191 drivers/staging/media/allegro-dvt/nal-h264.h int nal_h264_level_from_v4l2(enum v4l2_mpeg_video_h264_level level); level 308 drivers/staging/media/hantro/hantro.h #define vpu_debug(level, fmt, args...) \ level 310 drivers/staging/media/hantro/hantro.h if (hantro_debug & BIT(level)) \ level 145 drivers/staging/media/hantro/hantro_g1_vp8_dec.c hantro_reg_write(vpu, &vp8_dec_lf_level[0], lf->level); level 148 drivers/staging/media/hantro/hantro_g1_vp8_dec.c u32 lf_level = clamp(lf->level + seg->lf_update[i], level 468 drivers/staging/media/hantro/hantro_g1_vp8_dec.c if (hdr->lf_header.level == 0) level 286 drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.c hantro_reg_write(vpu, &vp8_dec_lf_level[0], lf->level); level 289 drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.c u32 lf_level = clamp(lf->level + seg->lf_update[i], level 562 drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.c if (hdr->lf_header.level == 0) level 431 drivers/staging/most/dim2/hal.c state->level = 0; level 667 drivers/staging/most/dim2/hal.c if (state->level >= 2u) level 670 drivers/staging/most/dim2/hal.c ++state->level; level 691 drivers/staging/most/dim2/hal.c if (state->level == 0) level 694 drivers/staging/most/dim2/hal.c --state->level; level 952 drivers/staging/most/dim2/hal.c state_ptr->ready = ch->state.level < 2; level 44 drivers/staging/most/dim2/hal.h u8 level; /* [0..2], buffering level */ level 154 drivers/staging/olpc_dcon/olpc_dcon.c static void dcon_set_backlight(struct dcon_priv *dcon, u8 level) level 156 drivers/staging/olpc_dcon/olpc_dcon.c dcon->bl_val = level; level 519 drivers/staging/olpc_dcon/olpc_dcon.c u8 level = dev->props.brightness & 0x0F; level 522 drivers/staging/olpc_dcon/olpc_dcon.c level = 0; level 524 drivers/staging/olpc_dcon/olpc_dcon.c if (level != dcon->bl_val) level 525 drivers/staging/olpc_dcon/olpc_dcon.c dcon_set_backlight(dcon, level); level 197 drivers/staging/rtl8188eu/include/hal_intf.h void rtw_hal_update_ra_mask(struct adapter *padapter, u32 mac_id, u8 level); level 198 drivers/staging/rtl8188eu/include/hal_intf.h void rtw_hal_add_ra_tid(struct adapter *adapt, u32 bitmap, u8 arg, u8 level); level 80 drivers/staging/rtl8188eu/include/odm_debug.h #define ODM_RT_TRACE(pDM_Odm, comp, level, fmt) \ level 82 drivers/staging/rtl8188eu/include/odm_debug.h (level <= pDM_Odm->DebugLevel)) { \ level 311 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.qual.level = (u8)ss; level 881 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c range->max_qual.level = 100; level 887 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c range->avg_qual.level = 178; /* -78 dBm */ level 3024 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c piwstats->qual.level = 0; level 3031 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c piwstats->qual.level = tmp_level; level 325 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c range->max_qual.level = 0; level 330 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c range->avg_qual.level = 0; level 1191 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c wstats->qual.level = 0; level 1201 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c wstats->qual.level = tmp_level; level 668 drivers/staging/rtl8192e/rtllib.h u8 level; level 174 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.qual.level = network->stats.rssi; level 337 drivers/staging/rtl8192e/rtllib_wx.c sec.level = SEC_LEVEL_0; level 443 drivers/staging/rtl8192e/rtllib_wx.c sec.level = SEC_LEVEL_1; /* 40 and 104 bit WEP */ level 559 drivers/staging/rtl8192e/rtllib_wx.c sec.level = SEC_LEVEL_0; level 641 drivers/staging/rtl8192e/rtllib_wx.c sec.level = SEC_LEVEL_1; level 644 drivers/staging/rtl8192e/rtllib_wx.c sec.level = SEC_LEVEL_2; level 647 drivers/staging/rtl8192e/rtllib_wx.c sec.level = SEC_LEVEL_3; level 450 drivers/staging/rtl8192u/ieee80211/ieee80211.h #define IEEE80211_DEBUG(level, fmt, args...) \ level 451 drivers/staging/rtl8192u/ieee80211/ieee80211.h do { if (ieee80211_debug_level & (level)) \ level 455 drivers/staging/rtl8192u/ieee80211/ieee80211.h #define IEEE80211_DEBUG_DATA(level, data, datalen) \ level 456 drivers/staging/rtl8192u/ieee80211/ieee80211.h do { if ((ieee80211_debug_level & (level)) == (level)) \ level 470 drivers/staging/rtl8192u/ieee80211/ieee80211.h #define IEEE80211_DEBUG (level, fmt, args...) do {} while (0) level 471 drivers/staging/rtl8192u/ieee80211/ieee80211.h #define IEEE80211_DEBUG_DATA (level, data, datalen) do {} while (0) level 832 drivers/staging/rtl8192u/ieee80211/ieee80211.h u8 level; level 935 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c wstats.level = rx_stats->rssi; level 2750 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c sec.level = SEC_LEVEL_0; level 2753 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c sec.level = SEC_LEVEL_1; level 2824 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c sec.level = SEC_LEVEL_0; level 2908 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c sec.level = SEC_LEVEL_1; level 2911 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c sec.level = SEC_LEVEL_2; level 2914 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c sec.level = SEC_LEVEL_3; level 164 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.qual.level = network->stats.rssi; level 323 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c sec.level = SEC_LEVEL_0; level 426 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c sec.level = SEC_LEVEL_1; /* 40 and 104 bit WEP */ level 546 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c sec.level = SEC_LEVEL_0; level 627 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c sec.level = SEC_LEVEL_1; level 631 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c sec.level = SEC_LEVEL_2; level 635 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c sec.level = SEC_LEVEL_3; level 111 drivers/staging/rtl8192u/r8192U.h #define RT_DEBUG_DATA(level, data, datalen) \ level 113 drivers/staging/rtl8192u/r8192U.h if ((rt_global_debug_component & (level)) == (level)) { \ level 127 drivers/staging/rtl8192u/r8192U.h #define RT_DEBUG_DATA(level, data, datalen) do {} while (0) level 259 drivers/staging/rtl8192u/r8192U_wx.c range->max_qual.level = 0; level 265 drivers/staging/rtl8192u/r8192U_wx.c range->avg_qual.level = 0x100 - 78; level 950 drivers/staging/rtl8192u/r8192U_wx.c wstats->qual.level = 0; level 960 drivers/staging/rtl8192u/r8192U_wx.c wstats->qual.level = tmp_level; level 486 drivers/staging/rtl8712/ieee80211.h u8 level; level 335 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.qual.level = rssi; /* signal strength */ level 882 drivers/staging/rtl8712/rtl871x_ioctl_linux.c range->max_qual.level = 100; level 887 drivers/staging/rtl8712/rtl871x_ioctl_linux.c range->avg_qual.level = 0x100 - 78; level 2312 drivers/staging/rtl8712/rtl871x_ioctl_linux.c piwstats->qual.level = 0; level 2319 drivers/staging/rtl8712/rtl871x_ioctl_linux.c piwstats->qual.level = tmp_level; level 127 drivers/staging/rtl8723bs/core/rtw_odm.c inline void rtw_odm_dbg_level_set(struct adapter *adapter, u32 level) level 129 drivers/staging/rtl8723bs/core/rtw_odm.c rtw_hal_set_def_var(adapter, HW_DEF_ODM_DBG_LEVEL, &level); level 785 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c static void halbtc8723b2ant_SetDacSwingReg(PBTC_COEXIST pBtCoexist, u32 level) level 787 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c u8 val = (u8)level; level 792 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c ("[BTCoex], Write SwDacSwing = 0x%x\n", level) level 99 drivers/staging/rtl8723bs/hal/odm_debug.h #define ODM_RT_TRACE(pDM_Odm, comp, level, fmt)\ level 103 drivers/staging/rtl8723bs/hal/odm_debug.h (level <= pDM_Odm->DebugLevel ||\ level 104 drivers/staging/rtl8723bs/hal/odm_debug.h level == ODM_DBG_SERIOUS)\ level 110 drivers/staging/rtl8723bs/hal/odm_debug.h #define ODM_RT_TRACE_F(pDM_Odm, comp, level, fmt)\ level 114 drivers/staging/rtl8723bs/hal/odm_debug.h (level <= pDM_Odm->DebugLevel)\ level 138 drivers/staging/rtl8723bs/hal/odm_debug.h #define ODM_PRINT_ADDR(pDM_Odm, comp, level, title_str, ptr)\ level 142 drivers/staging/rtl8723bs/hal/odm_debug.h (level <= pDM_Odm->DebugLevel)\ level 155 drivers/staging/rtl8723bs/hal/odm_debug.h #define ODM_RT_TRACE(pDM_Odm, comp, level, fmt) no_printk fmt level 156 drivers/staging/rtl8723bs/hal/odm_debug.h #define ODM_RT_TRACE_F(pDM_Odm, comp, level, fmt) no_printk fmt level 161 drivers/staging/rtl8723bs/hal/odm_debug.h #define ODM_PRINT_ADDR(pDM_Odm, comp, level, title_str, ptr) \ level 642 drivers/staging/rtl8723bs/include/ieee80211.h u8 level; level 157 drivers/staging/rtl8723bs/include/rtw_debug.h #define DBG_871X_LEVEL(level, fmt, arg...) \ level 159 drivers/staging/rtl8723bs/include/rtw_debug.h if (level <= GlobalDebugLevel) {\ level 160 drivers/staging/rtl8723bs/include/rtw_debug.h if (level <= _drv_err_ && level > _drv_always_) \ level 169 drivers/staging/rtl8723bs/include/rtw_debug.h #define _DBG_871X_LEVEL(level, fmt, arg...) \ level 171 drivers/staging/rtl8723bs/include/rtw_debug.h if (level <= GlobalDebugLevel) {\ level 172 drivers/staging/rtl8723bs/include/rtw_debug.h if (level <= _drv_err_ && level > _drv_always_) \ level 19 drivers/staging/rtl8723bs/include/rtw_odm.h void rtw_odm_dbg_level_set(struct adapter *adapter, u32 level); level 335 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.qual.level = (u8)translate_percentage_to_dbm(ss);/* dbm */ level 343 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.qual.level = (u8)odm_SignalScaleMapping(&pHal->odmpriv, ss); level 346 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.qual.level = (u8)ss;/* */ level 1052 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c range->max_qual.level = 100; level 1059 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c range->avg_qual.level = 256 - 78; level 4797 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c piwstats->qual.level = 0; level 4839 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c piwstats->qual.level = tmp_level; level 124 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.h #define v4l2_dump_pix_format(level, debug, dev, pix_fmt, desc) \ level 126 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.h v4l2_dbg(level, debug, dev, \ level 134 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.h #define v4l2_dump_win_format(level, debug, dev, win_fmt, desc) \ level 136 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.h v4l2_dbg(level, debug, dev, \ level 742 drivers/staging/vc04_services/bcm2835-camera/controls.c param.level = MMAL_VIDEO_LEVEL_H264_1; level 745 drivers/staging/vc04_services/bcm2835-camera/controls.c param.level = MMAL_VIDEO_LEVEL_H264_1b; level 748 drivers/staging/vc04_services/bcm2835-camera/controls.c param.level = MMAL_VIDEO_LEVEL_H264_11; level 751 drivers/staging/vc04_services/bcm2835-camera/controls.c param.level = MMAL_VIDEO_LEVEL_H264_12; level 754 drivers/staging/vc04_services/bcm2835-camera/controls.c param.level = MMAL_VIDEO_LEVEL_H264_13; level 757 drivers/staging/vc04_services/bcm2835-camera/controls.c param.level = MMAL_VIDEO_LEVEL_H264_2; level 760 drivers/staging/vc04_services/bcm2835-camera/controls.c param.level = MMAL_VIDEO_LEVEL_H264_21; level 763 drivers/staging/vc04_services/bcm2835-camera/controls.c param.level = MMAL_VIDEO_LEVEL_H264_22; level 766 drivers/staging/vc04_services/bcm2835-camera/controls.c param.level = MMAL_VIDEO_LEVEL_H264_3; level 769 drivers/staging/vc04_services/bcm2835-camera/controls.c param.level = MMAL_VIDEO_LEVEL_H264_31; level 772 drivers/staging/vc04_services/bcm2835-camera/controls.c param.level = MMAL_VIDEO_LEVEL_H264_32; level 775 drivers/staging/vc04_services/bcm2835-camera/controls.c param.level = MMAL_VIDEO_LEVEL_H264_4; level 442 drivers/staging/vc04_services/bcm2835-camera/mmal-parameters.h enum mmal_video_level level; level 314 drivers/staging/vme/devices/vme_user.c irq_req.level, level 46 drivers/staging/vme/devices/vme_user.h __u8 level; level 265 drivers/staging/wlan-ng/cfg80211.c sinfo->signal = quality.level.data; level 244 drivers/staging/wlan-ng/p80211conv.c wlandev->spy_stat[i].level = rxmeta->signal; level 211 drivers/staging/wlan-ng/p80211metastruct.h struct p80211item_uint32 level; level 368 drivers/staging/wlan-ng/prism2sta.c qualmsg->level.status = P80211ENUM_msgitem_status_data_ok; level 372 drivers/staging/wlan-ng/prism2sta.c qualmsg->level.data = le16_to_cpu(hw->qual.asl_curr_bss); level 95 drivers/thermal/clock_cooling.c unsigned long max_level = 0, level = 0; level 133 drivers/thermal/clock_cooling.c level = descend ? input : (max_level - input); level 149 drivers/thermal/clock_cooling.c if (property == GET_FREQ && level == i) { level 199 drivers/thermal/clock_cooling.c unsigned long level) level 204 drivers/thermal/clock_cooling.c ret = clock_cooling_get_property(ccdev, level, &freq, GET_FREQ); level 111 drivers/thermal/cpu_cooling.c unsigned long level; level 113 drivers/thermal/cpu_cooling.c for (level = 1; level <= cpufreq_cdev->max_level; level++) level 114 drivers/thermal/cpu_cooling.c if (freq > freq_table[level].frequency) level 117 drivers/thermal/cpu_cooling.c return level - 1; level 50 drivers/thermal/fair_share.c struct thermal_cooling_device *cdev, int percentage, int level) level 56 drivers/thermal/fair_share.c return (long)(percentage * level * max_state) / (100 * tz->trips); level 136 drivers/thermal/intel/int340x_thermal/int3403_thermal.c unsigned long long level; level 139 drivers/thermal/intel/int340x_thermal/int3403_thermal.c status = acpi_evaluate_integer(priv->adev->handle, "PPPC", NULL, &level); level 141 drivers/thermal/intel/int340x_thermal/int3403_thermal.c *state = level; level 212 drivers/thermal/tegra/soctherm.c #define THROT_LEVEL_TO_DEPTH(level) ((0x1 << (level)) - 1) level 1294 drivers/thermal/tegra/soctherm.c int i, level; level 1370 drivers/thermal/tegra/soctherm.c for (level = 0; level < 4; level++) { level 1375 drivers/thermal/tegra/soctherm.c r = readl(ts->regs + THERMCTL_LVL_REG(off, level)); level 1381 drivers/thermal/tegra/soctherm.c seq_printf(s, " %d: Up/Dn(%d /", level, v); level 1431 drivers/thermal/tegra/soctherm.c for (level = 0; level < 4; level++) { level 1435 drivers/thermal/tegra/soctherm.c r = readl(ts->regs + THERMCTL_LVL_REG(off, level)); level 1436 drivers/thermal/tegra/soctherm.c seq_printf(s, " Level_%d Up(%d) ", level, r); level 1439 drivers/thermal/tegra/soctherm.c r = readl(ts->regs + THERMCTL_LVL_REG(off, level)); level 1763 drivers/thermal/tegra/soctherm.c static void throttlectl_cpu_level_cfg(struct tegra_soctherm *ts, int level) level 1768 drivers/thermal/tegra/soctherm.c switch (level) { level 1787 drivers/thermal/tegra/soctherm.c r = ccroc_readl(ts, CCROC_THROT_PSKIP_RAMP_CPU_REG(level)); level 1790 drivers/thermal/tegra/soctherm.c ccroc_writel(ts, r, CCROC_THROT_PSKIP_RAMP_CPU_REG(level)); level 1792 drivers/thermal/tegra/soctherm.c r = ccroc_readl(ts, CCROC_THROT_PSKIP_CTRL_CPU_REG(level)); level 1796 drivers/thermal/tegra/soctherm.c ccroc_writel(ts, r, CCROC_THROT_PSKIP_CTRL_CPU_REG(level)); level 1887 drivers/thermal/tegra/soctherm.c u32 r, level, throt_vect; level 1889 drivers/thermal/tegra/soctherm.c level = ts->throt_cfgs[throt].gpu_throt_level; level 1890 drivers/thermal/tegra/soctherm.c throt_vect = THROT_LEVEL_TO_DEPTH(level); level 450 drivers/thunderbolt/tb.h #define __TB_SW_PRINT(level, sw, fmt, arg...) \ level 453 drivers/thunderbolt/tb.h level(__sw->tb, "%llx: " fmt, \ level 461 drivers/thunderbolt/tb.h #define __TB_PORT_PRINT(level, _port, fmt, arg...) \ level 464 drivers/thunderbolt/tb.h level(__port->sw->tb, "%llx:%x: " fmt, \ level 35 drivers/thunderbolt/tunnel.c #define __TB_TUNNEL_PRINT(level, tunnel, fmt, arg...) \ level 38 drivers/thunderbolt/tunnel.c level(__tunnel->tb, "%llx:%x <-> %llx:%x (%s): " fmt, \ level 591 drivers/tty/serdev/core.c static acpi_status acpi_serdev_add_device(acpi_handle handle, u32 level, level 1106 drivers/tty/serial/samsung.c static void s3c24xx_serial_pm(struct uart_port *port, unsigned int level, level 1112 drivers/tty/serial/samsung.c ourport->pm_level = level; level 1114 drivers/tty/serial/samsung.c switch (level) { level 1133 drivers/tty/serial/samsung.c dev_err(port->dev, "s3c24xx_serial: unknown pm %d\n", level); level 39 drivers/usb/atm/usbatm.h #define atm_printk(level, instance, format, arg...) \ level 40 drivers/usb/atm/usbatm.h printk(level "ATM dev %d: " format , \ level 472 drivers/usb/core/devices.c int level, int index, int count) level 486 drivers/usb/core/devices.c if (level > MAX_TOPO_LEVEL) level 517 drivers/usb/core/devices.c bus->busnum, level, parent_devnum, level 527 drivers/usb/core/devices.c if (level == 0) { level 580 drivers/usb/core/devices.c level + 1, chix - 1, ++cnt); level 1053 drivers/usb/core/hub.c hdev->level - 1, 0, NULL, 0, level 1830 drivers/usb/core/hub.c if (hdev->level == MAX_TOPO_LEVEL) { level 5037 drivers/usb/core/hub.c udev->level = hdev->level + 1; level 560 drivers/usb/core/quirks.c if (udev->level == 1 && hcd->amd_resume_bug == 1) level 500 drivers/usb/core/sysfs.c static DEVICE_ATTR_RW(level); level 656 drivers/usb/core/usb.c (port1 << ((parent->level - 1)*4)); level 659 drivers/usb/core/usb.c (15 << ((parent->level - 1)*4)); level 113 drivers/usb/gadget/function/u_ether.c #define xprintk(d, level, fmt, args...) \ level 114 drivers/usb/gadget/function/u_ether.c printk(level "%s: " fmt , (d)->net->name , ## args) level 238 drivers/usb/gadget/legacy/inode.c #define xprintk(d,level,fmt,args...) \ level 239 drivers/usb/gadget/legacy/inode.c printk(level "%s: " fmt , shortname , ## args) level 230 drivers/usb/gadget/udc/atmel_usba_udc.h #define DBG(level, fmt, ...) \ level 232 drivers/usb/gadget/udc/atmel_usba_udc.h if ((level) & DEBUG_LEVEL) \ level 264 drivers/usb/gadget/udc/goku_udc.h #define xprintk(dev,level,fmt,args...) \ level 265 drivers/usb/gadget/udc/goku_udc.h printk(level "%s %s: " fmt , driver_name , \ level 91 drivers/usb/gadget/udc/s3c2410_udc.c static void dprintk(int level, const char *fmt, ...) level 98 drivers/usb/gadget/udc/s3c2410_udc.c if (level > USB_S3C2410_DEBUG_LEVEL) level 117 drivers/usb/gadget/udc/s3c2410_udc.c static void dprintk(int level, const char *fmt, ...) level 540 drivers/usb/host/isp1362.h #define DBG(level, fmt...) \ level 542 drivers/usb/host/isp1362.h if (dbg_level > level) \ level 216 drivers/usb/host/xhci-trace.h __field(u8, level) level 227 drivers/usb/host/xhci-trace.h __entry->level = vdev->udev->level; level 233 drivers/usb/host/xhci-trace.h __entry->portnum, __entry->level, __entry->slot_id level 352 drivers/usb/musb/cppi_dma.c cppi_dump_rx(int level, struct cppi_channel *c, const char *tag) level 382 drivers/usb/musb/cppi_dma.c cppi_dump_tx(int level, struct cppi_channel *c, const char *tag) level 438 drivers/usb/musb/cppi_dma.c static void cppi_dump_rxq(int level, const char *tag, struct cppi_channel *rx) level 442 drivers/usb/musb/cppi_dma.c cppi_dump_rx(level, rx, tag); level 1742 drivers/video/fbdev/aty/aty128fb.c int level) level 1750 drivers/video/fbdev/aty/aty128fb.c (info->bl_curve[level] * FB_BACKLIGHT_MAX / MAX_LEVEL); level 1772 drivers/video/fbdev/aty/aty128fb.c int level; level 1777 drivers/video/fbdev/aty/aty128fb.c level = 0; level 1779 drivers/video/fbdev/aty/aty128fb.c level = bd->props.brightness; level 1782 drivers/video/fbdev/aty/aty128fb.c if (level > 0) { level 1793 drivers/video/fbdev/aty/aty128fb.c reg |= (aty128_bl_get_level_brightness(par, level) << level 2161 drivers/video/fbdev/aty/atyfb_base.c static int aty_bl_get_level_brightness(struct atyfb_par *par, int level) level 2168 drivers/video/fbdev/aty/atyfb_base.c atylevel = info->bl_curve[level] * FB_BACKLIGHT_MAX / MAX_LEVEL; level 2182 drivers/video/fbdev/aty/atyfb_base.c int level; level 2186 drivers/video/fbdev/aty/atyfb_base.c level = 0; level 2188 drivers/video/fbdev/aty/atyfb_base.c level = bd->props.brightness; level 2191 drivers/video/fbdev/aty/atyfb_base.c if (level > 0) { level 2193 drivers/video/fbdev/aty/atyfb_base.c reg |= (aty_bl_get_level_brightness(par, level) << BIAS_MOD_LEVEL_SHIFT); level 26 drivers/video/fbdev/aty/radeon_backlight.c int level) level 32 drivers/video/fbdev/aty/radeon_backlight.c rlevel = pdata->rinfo->info->bl_curve[level] * level 51 drivers/video/fbdev/aty/radeon_backlight.c int level; level 62 drivers/video/fbdev/aty/radeon_backlight.c level = 0; level 64 drivers/video/fbdev/aty/radeon_backlight.c level = bd->props.brightness; level 70 drivers/video/fbdev/aty/radeon_backlight.c if (level > 0) { level 78 drivers/video/fbdev/aty/radeon_backlight.c (radeon_bl_get_level_brightness(pdata, level) << level 88 drivers/video/fbdev/aty/radeon_backlight.c (radeon_bl_get_level_brightness(pdata, level) << level 48 drivers/video/fbdev/clps711x-fb.c u32 level, mask, shift; level 56 drivers/video/fbdev/clps711x-fb.c level = (((red * 77 + green * 151 + blue * 28) >> 20) << shift) & mask; level 58 drivers/video/fbdev/clps711x-fb.c level = 0xf - level; level 62 drivers/video/fbdev/clps711x-fb.c writel((readl(cfb->base + regno) & ~mask) | level, cfb->base + regno); level 29 drivers/video/fbdev/nvidia/nv_backlight.c int level) level 36 drivers/video/fbdev/nvidia/nv_backlight.c nlevel = MIN_LEVEL + info->bl_curve[level] * LEVEL_STEP; level 52 drivers/video/fbdev/nvidia/nv_backlight.c int level; level 59 drivers/video/fbdev/nvidia/nv_backlight.c level = 0; level 61 drivers/video/fbdev/nvidia/nv_backlight.c level = bd->props.brightness; level 67 drivers/video/fbdev/nvidia/nv_backlight.c if (level > 0) { level 70 drivers/video/fbdev/nvidia/nv_backlight.c tmp_pmc |= nvidia_bl_get_level_brightness(par, level) << 16; level 199 drivers/video/fbdev/omap/lcd_mipid.c static int mipid_set_bklight_level(struct lcd_panel *panel, unsigned int level) level 206 drivers/video/fbdev/omap/lcd_mipid.c if (level > pd->get_bklight_max(pd)) level 209 drivers/video/fbdev/omap/lcd_mipid.c md->saved_bklight_level = level; level 212 drivers/video/fbdev/omap/lcd_mipid.c pd->set_bklight_level(pd, level); level 85 drivers/video/fbdev/omap/omapfb.h unsigned int level); level 1336 drivers/video/fbdev/omap/omapfb_main.c unsigned int level; level 1338 drivers/video/fbdev/omap/omapfb_main.c if (sscanf(buf, "%10d", &level) == 1) { level 1340 drivers/video/fbdev/omap/omapfb_main.c level); level 334 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c int level; level 338 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c level = dev->props.brightness; level 340 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c level = 0; level 342 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c dev_dbg(&ddata->pdev->dev, "update brightness to %d\n", level); level 351 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c r = dsicm_dcs_write_1(ddata, DCS_BRIGHTNESS, level); level 314 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c static void acx565akm_set_brightness(struct panel_drv_data *ddata, int level) level 318 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c bv = level | (1 << 8); level 321 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c if (level) level 340 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c int level; level 346 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c level = dev->props.brightness; level 348 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c level = 0; level 351 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c acx565akm_set_brightness(ddata, level); level 116 drivers/video/fbdev/pxa3xx-gcu.c #define QPRINT(priv, level, msg) \ level 125 drivers/video/fbdev/pxa3xx-gcu.c printk(level "%lld.%03ld.%03ld - %-17s: %-21s (%s, " \ level 276 drivers/video/fbdev/riva/fbdev.c int level) level 283 drivers/video/fbdev/riva/fbdev.c nlevel = MIN_LEVEL + info->bl_curve[level] * LEVEL_STEP; level 299 drivers/video/fbdev/riva/fbdev.c int level; level 303 drivers/video/fbdev/riva/fbdev.c level = 0; level 305 drivers/video/fbdev/riva/fbdev.c level = bd->props.brightness; level 309 drivers/video/fbdev/riva/fbdev.c if(level > 0) { level 312 drivers/video/fbdev/riva/fbdev.c tmp_pmc |= riva_bl_get_level_brightness(par, level) << 16; /* level */ level 32 drivers/video/hdmi.c #define hdmi_log(fmt, ...) dev_printk(level, dev, fmt, ##__VA_ARGS__) level 998 drivers/video/hdmi.c static void hdmi_infoframe_log_header(const char *level, level 1194 drivers/video/hdmi.c static void hdmi_avi_infoframe_log(const char *level, level 1198 drivers/video/hdmi.c hdmi_infoframe_log_header(level, dev, level 1265 drivers/video/hdmi.c static void hdmi_spd_infoframe_log(const char *level, level 1271 drivers/video/hdmi.c hdmi_infoframe_log_header(level, dev, level 1395 drivers/video/hdmi.c static void hdmi_audio_infoframe_log(const char *level, level 1399 drivers/video/hdmi.c hdmi_infoframe_log_header(level, dev, level 1422 drivers/video/hdmi.c static void hdmi_drm_infoframe_log(const char *level, level 1428 drivers/video/hdmi.c hdmi_infoframe_log_header(level, dev, level 1480 drivers/video/hdmi.c hdmi_vendor_any_infoframe_log(const char *level, level 1486 drivers/video/hdmi.c hdmi_infoframe_log_header(level, dev, level 1515 drivers/video/hdmi.c void hdmi_infoframe_log(const char *level, level 1521 drivers/video/hdmi.c hdmi_avi_infoframe_log(level, dev, &frame->avi); level 1524 drivers/video/hdmi.c hdmi_spd_infoframe_log(level, dev, &frame->spd); level 1527 drivers/video/hdmi.c hdmi_audio_infoframe_log(level, dev, &frame->audio); level 1530 drivers/video/hdmi.c hdmi_vendor_any_infoframe_log(level, dev, &frame->vendor); level 1533 drivers/video/hdmi.c hdmi_drm_infoframe_log(level, dev, &frame->drm); level 254 drivers/vme/bridges/vme_ca91cx42.c static int ca91cx42_iack_received(struct ca91cx42_driver *bridge, int level) level 260 drivers/vme/bridges/vme_ca91cx42.c if (tmp & (1 << level)) level 269 drivers/vme/bridges/vme_ca91cx42.c static void ca91cx42_irq_set(struct vme_bridge *ca91cx42_bridge, int level, level 283 drivers/vme/bridges/vme_ca91cx42.c tmp &= ~CA91CX42_LINT_VIRQ[level]; level 285 drivers/vme/bridges/vme_ca91cx42.c tmp |= CA91CX42_LINT_VIRQ[level]; level 296 drivers/vme/bridges/vme_ca91cx42.c static int ca91cx42_irq_generate(struct vme_bridge *ca91cx42_bridge, int level, level 316 drivers/vme/bridges/vme_ca91cx42.c tmp = tmp | (1 << (level + 24)); level 321 drivers/vme/bridges/vme_ca91cx42.c ca91cx42_iack_received(bridge, level)); level 325 drivers/vme/bridges/vme_ca91cx42.c tmp = tmp & ~(1 << (level + 24)); level 107 drivers/vme/bridges/vme_fake.c static void fake_irq_set(struct vme_bridge *fake_bridge, int level, level 127 drivers/vme/bridges/vme_fake.c static int fake_irq_generate(struct vme_bridge *fake_bridge, int level, level 136 drivers/vme/bridges/vme_fake.c bridge->int_level = level; level 399 drivers/vme/bridges/vme_tsi148.c static void tsi148_irq_set(struct vme_bridge *tsi148_bridge, int level, level 411 drivers/vme/bridges/vme_tsi148.c tmp &= ~TSI148_LCSR_INTEN_IRQEN[level - 1]; level 415 drivers/vme/bridges/vme_tsi148.c tmp &= ~TSI148_LCSR_INTEO_IRQEO[level - 1]; level 424 drivers/vme/bridges/vme_tsi148.c tmp |= TSI148_LCSR_INTEO_IRQEO[level - 1]; level 428 drivers/vme/bridges/vme_tsi148.c tmp |= TSI148_LCSR_INTEN_IRQEN[level - 1]; level 437 drivers/vme/bridges/vme_tsi148.c static int tsi148_irq_generate(struct vme_bridge *tsi148_bridge, int level, level 456 drivers/vme/bridges/vme_tsi148.c tmp = tmp | TSI148_LCSR_VICR_IRQL[level]; level 1311 drivers/vme/vme.c void vme_irq_handler(struct vme_bridge *bridge, int level, int statid) level 1316 drivers/vme/vme.c call = bridge->irq[level - 1].callback[statid].func; level 1317 drivers/vme/vme.c priv_data = bridge->irq[level - 1].callback[statid].priv_data; level 1319 drivers/vme/vme.c call(level, statid, priv_data); level 1322 drivers/vme/vme.c level, statid); level 1342 drivers/vme/vme.c int vme_irq_request(struct vme_dev *vdev, int level, int statid, level 1354 drivers/vme/vme.c if ((level < 1) || (level > 7)) { level 1366 drivers/vme/vme.c if (bridge->irq[level - 1].callback[statid].func) { level 1372 drivers/vme/vme.c bridge->irq[level - 1].count++; level 1373 drivers/vme/vme.c bridge->irq[level - 1].callback[statid].priv_data = priv_data; level 1374 drivers/vme/vme.c bridge->irq[level - 1].callback[statid].func = callback; level 1377 drivers/vme/vme.c bridge->irq_set(bridge, level, 1, 1); level 1393 drivers/vme/vme.c void vme_irq_free(struct vme_dev *vdev, int level, int statid) level 1403 drivers/vme/vme.c if ((level < 1) || (level > 7)) { level 1415 drivers/vme/vme.c bridge->irq[level - 1].count--; level 1418 drivers/vme/vme.c if (bridge->irq[level - 1].count == 0) level 1419 drivers/vme/vme.c bridge->irq_set(bridge, level, 0, 1); level 1421 drivers/vme/vme.c bridge->irq[level - 1].callback[statid].func = NULL; level 1422 drivers/vme/vme.c bridge->irq[level - 1].callback[statid].priv_data = NULL; level 1440 drivers/vme/vme.c int vme_irq_generate(struct vme_dev *vdev, int level, int statid) level 1450 drivers/vme/vme.c if ((level < 1) || (level > 7)) { level 1460 drivers/vme/vme.c return bridge->irq_generate(bridge, level, statid); level 366 drivers/xen/xen-acpi-memhotplug.c u32 level, void *ctxt, void **retv) level 382 drivers/xen/xen-acpi-memhotplug.c u32 level, void *ctxt, void **retv) level 738 drivers/xen/xenbus/xenbus_client.c unsigned int level; level 766 drivers/xen/xenbus/xenbus_client.c lookup_address(addr, &level)).maddr; level 178 fs/btrfs/backref.c if (ref1->level < ref2->level) level 180 fs/btrfs/backref.c if (ref1->level > ref2->level) level 336 fs/btrfs/backref.c const struct btrfs_key *key, int level, u64 parent, level 379 fs/btrfs/backref.c ref->level = level; level 389 fs/btrfs/backref.c struct preftrees *preftrees, int level, u64 parent, level 393 fs/btrfs/backref.c return add_prelim_ref(fs_info, &preftrees->direct, 0, NULL, level, level 400 fs/btrfs/backref.c const struct btrfs_key *key, int level, level 408 fs/btrfs/backref.c return add_prelim_ref(fs_info, tree, root_id, key, level, 0, level 414 fs/btrfs/backref.c int level, u64 time_seq, const u64 *extent_item_pos, level 428 fs/btrfs/backref.c if (level != 0) { level 429 fs/btrfs/backref.c eb = path->nodes[level]; level 514 fs/btrfs/backref.c int level = ref->level; level 543 fs/btrfs/backref.c if (root_level + 1 == level) { level 548 fs/btrfs/backref.c path->lowest_level = level; level 561 fs/btrfs/backref.c ref->root_id, level, ref->count, ret, level 567 fs/btrfs/backref.c eb = path->nodes[level]; level 569 fs/btrfs/backref.c if (WARN_ON(!level)) { level 573 fs/btrfs/backref.c level--; level 574 fs/btrfs/backref.c eb = path->nodes[level]; level 577 fs/btrfs/backref.c ret = add_all_parents(root, path, parents, ref, level, time_seq, level 731 fs/btrfs/backref.c ref->level - 1, NULL); level 804 fs/btrfs/backref.c &tmp_op_key, ref->level + 1, level 815 fs/btrfs/backref.c ret = add_direct_ref(fs_info, preftrees, ref->level + 1, level 1280 fs/btrfs/backref.c ref->level == 0) { level 1284 fs/btrfs/backref.c ref->level, NULL); level 70 fs/btrfs/backref.h int level; level 967 fs/btrfs/check-integrity.c if (0 == sf->hdr->level) { level 1100 fs/btrfs/check-integrity.c nodehdr->header.level, sf->nr, level 777 fs/btrfs/compression.c static struct list_head *heuristic_get_workspace(unsigned int level) level 779 fs/btrfs/compression.c return btrfs_get_workspace(&heuristic_wsm, level); level 799 fs/btrfs/compression.c static struct list_head *alloc_heuristic_ws(unsigned int level) level 889 fs/btrfs/compression.c unsigned int level) level 935 fs/btrfs/compression.c workspace = wsm->ops->alloc_workspace(level); level 966 fs/btrfs/compression.c static struct list_head *get_workspace(int type, int level) level 968 fs/btrfs/compression.c return btrfs_compress_op[type]->get_workspace(level); level 1039 fs/btrfs/compression.c int level = btrfs_compress_level(type_level); level 1043 fs/btrfs/compression.c level = btrfs_compress_set_level(type, level); level 1044 fs/btrfs/compression.c workspace = get_workspace(type, level); level 1603 fs/btrfs/compression.c unsigned int level = 0; level 1610 fs/btrfs/compression.c ret = kstrtouint(str + 1, 10, &level); level 1612 fs/btrfs/compression.c level = 0; level 1615 fs/btrfs/compression.c level = btrfs_compress_set_level(type, level); level 1617 fs/btrfs/compression.c return level; level 1624 fs/btrfs/compression.c unsigned int btrfs_compress_set_level(int type, unsigned level) level 1628 fs/btrfs/compression.c if (level == 0) level 1629 fs/btrfs/compression.c level = ops->default_level; level 1631 fs/btrfs/compression.c level = min(level, ops->max_level); level 1633 fs/btrfs/compression.c return level; level 125 fs/btrfs/compression.h unsigned int level); level 134 fs/btrfs/compression.h struct list_head *(*get_workspace)(unsigned int level); level 138 fs/btrfs/compression.h struct list_head *(*alloc_workspace)(unsigned int level); level 175 fs/btrfs/compression.h unsigned int btrfs_compress_set_level(int type, unsigned level); level 19 fs/btrfs/ctree.c *root, struct btrfs_path *path, int level); level 30 fs/btrfs/ctree.c int level, int slot); level 226 fs/btrfs/ctree.c int level; level 234 fs/btrfs/ctree.c level = btrfs_header_level(buf); level 235 fs/btrfs/ctree.c if (level == 0) level 241 fs/btrfs/ctree.c &disk_key, level, buf->start, 0); level 284 fs/btrfs/ctree.c u8 level; level 650 fs/btrfs/ctree.c tm->old_root.level = btrfs_header_level(old_root); level 967 fs/btrfs/ctree.c int level = btrfs_header_level(buf); level 972 fs/btrfs/ctree.c new_flags, level, 0); level 1000 fs/btrfs/ctree.c int level, level 1030 fs/btrfs/ctree.c root->root_key.objectid, disk_key, level, level 1059 fs/btrfs/ctree.c int level, ret; level 1074 fs/btrfs/ctree.c level = btrfs_header_level(buf); level 1076 fs/btrfs/ctree.c if (level == 0) level 1085 fs/btrfs/ctree.c level, search_start, empty_size); level 1369 fs/btrfs/ctree.c int level; level 1380 fs/btrfs/ctree.c level = old_root->level; level 1383 fs/btrfs/ctree.c level = btrfs_header_level(eb_root); level 1390 fs/btrfs/ctree.c old = read_tree_block(fs_info, logical, 0, level, NULL); level 1420 fs/btrfs/ctree.c btrfs_set_header_level(eb, old_root->level); level 1435 fs/btrfs/ctree.c int level; level 1440 fs/btrfs/ctree.c level = tm->old_root.level; level 1442 fs/btrfs/ctree.c level = btrfs_header_level(eb_root); level 1446 fs/btrfs/ctree.c return level; level 1778 fs/btrfs/ctree.c int level, int *slot) level 1780 fs/btrfs/ctree.c if (level == 0) level 1816 fs/btrfs/ctree.c int level = btrfs_header_level(parent); level 1823 fs/btrfs/ctree.c BUG_ON(level == 0); level 1828 fs/btrfs/ctree.c level - 1, &first_key); level 1844 fs/btrfs/ctree.c struct btrfs_path *path, int level) level 1854 fs/btrfs/ctree.c int orig_slot = path->slots[level]; level 1857 fs/btrfs/ctree.c ASSERT(level > 0); level 1859 fs/btrfs/ctree.c mid = path->nodes[level]; level 1861 fs/btrfs/ctree.c WARN_ON(path->locks[level] != BTRFS_WRITE_LOCK && level 1862 fs/btrfs/ctree.c path->locks[level] != BTRFS_WRITE_LOCK_BLOCKING); level 1867 fs/btrfs/ctree.c if (level < BTRFS_MAX_LEVEL - 1) { level 1868 fs/btrfs/ctree.c parent = path->nodes[level + 1]; level 1869 fs/btrfs/ctree.c pslot = path->slots[level + 1]; level 1906 fs/btrfs/ctree.c path->locks[level] = 0; level 1907 fs/btrfs/ctree.c path->nodes[level] = NULL; level 1971 fs/btrfs/ctree.c del_ptr(root, path, level + 1, pslot + 1); level 2016 fs/btrfs/ctree.c del_ptr(root, path, level + 1, pslot); level 2037 fs/btrfs/ctree.c path->nodes[level] = left; level 2038 fs/btrfs/ctree.c path->slots[level + 1] -= 1; level 2039 fs/btrfs/ctree.c path->slots[level] = orig_slot; level 2046 fs/btrfs/ctree.c path->slots[level] = orig_slot; level 2051 fs/btrfs/ctree.c btrfs_node_blockptr(path->nodes[level], path->slots[level])) level 2059 fs/btrfs/ctree.c if (path->nodes[level] != left) level 2072 fs/btrfs/ctree.c struct btrfs_path *path, int level) level 2082 fs/btrfs/ctree.c int orig_slot = path->slots[level]; level 2084 fs/btrfs/ctree.c if (level == 0) level 2087 fs/btrfs/ctree.c mid = path->nodes[level]; level 2090 fs/btrfs/ctree.c if (level < BTRFS_MAX_LEVEL - 1) { level 2091 fs/btrfs/ctree.c parent = path->nodes[level + 1]; level 2092 fs/btrfs/ctree.c pslot = path->slots[level + 1]; level 2133 fs/btrfs/ctree.c path->nodes[level] = left; level 2134 fs/btrfs/ctree.c path->slots[level + 1] -= 1; level 2135 fs/btrfs/ctree.c path->slots[level] = orig_slot; level 2141 fs/btrfs/ctree.c path->slots[level] = orig_slot; level 2189 fs/btrfs/ctree.c path->nodes[level] = right; level 2190 fs/btrfs/ctree.c path->slots[level + 1] += 1; level 2191 fs/btrfs/ctree.c path->slots[level] = orig_slot - level 2213 fs/btrfs/ctree.c int level, int slot, u64 objectid) level 2226 fs/btrfs/ctree.c if (level != 1) level 2229 fs/btrfs/ctree.c if (!path->nodes[level]) level 2232 fs/btrfs/ctree.c node = path->nodes[level]; level 2275 fs/btrfs/ctree.c struct btrfs_path *path, int level) level 2285 fs/btrfs/ctree.c parent = path->nodes[level + 1]; level 2290 fs/btrfs/ctree.c slot = path->slots[level + 1]; level 2334 fs/btrfs/ctree.c static noinline void unlock_up(struct btrfs_path *path, int level, level 2339 fs/btrfs/ctree.c int skip_level = level; level 2343 fs/btrfs/ctree.c for (i = level; i < BTRFS_MAX_LEVEL; i++) { level 2386 fs/btrfs/ctree.c noinline void btrfs_unlock_up_safe(struct btrfs_path *path, int level) level 2393 fs/btrfs/ctree.c for (i = level; i < BTRFS_MAX_LEVEL; i++) { level 2413 fs/btrfs/ctree.c struct extent_buffer **eb_ret, int level, int slot, level 2474 fs/btrfs/ctree.c btrfs_unlock_up_safe(p, level + 1); level 2478 fs/btrfs/ctree.c reada_for_search(fs_info, p, level, slot, key->objectid); level 2513 fs/btrfs/ctree.c struct extent_buffer *b, int level, int ins_len, level 2523 fs/btrfs/ctree.c if (*write_lock_level < level + 1) { level 2524 fs/btrfs/ctree.c *write_lock_level = level + 1; level 2530 fs/btrfs/ctree.c reada_for_balance(fs_info, p, level); level 2531 fs/btrfs/ctree.c sret = split_node(trans, root, p, level); level 2538 fs/btrfs/ctree.c b = p->nodes[level]; level 2543 fs/btrfs/ctree.c if (*write_lock_level < level + 1) { level 2544 fs/btrfs/ctree.c *write_lock_level = level + 1; level 2550 fs/btrfs/ctree.c reada_for_balance(fs_info, p, level); level 2551 fs/btrfs/ctree.c sret = balance_level(trans, root, p, level); level 2557 fs/btrfs/ctree.c b = p->nodes[level]; level 2573 fs/btrfs/ctree.c int level, int *prev_cmp, int *slot) level 2576 fs/btrfs/ctree.c *prev_cmp = btrfs_bin_search(b, key, level, slot); level 2627 fs/btrfs/ctree.c int level = 0; level 2653 fs/btrfs/ctree.c level = btrfs_header_level(b); level 2665 fs/btrfs/ctree.c level = btrfs_header_level(b); level 2679 fs/btrfs/ctree.c level = btrfs_header_level(b); level 2680 fs/btrfs/ctree.c if (level > write_lock_level) level 2692 fs/btrfs/ctree.c level = btrfs_header_level(b); level 2695 fs/btrfs/ctree.c p->nodes[level] = b; level 2697 fs/btrfs/ctree.c p->locks[level] = root_lock; level 2738 fs/btrfs/ctree.c int level; level 2784 fs/btrfs/ctree.c level = btrfs_header_level(b); level 2791 fs/btrfs/ctree.c bool last_level = (level == (BTRFS_MAX_LEVEL - 1)); level 2807 fs/btrfs/ctree.c if (level > write_lock_level || level 2808 fs/btrfs/ctree.c (level + 1 > write_lock_level && level 2809 fs/btrfs/ctree.c level + 1 < BTRFS_MAX_LEVEL && level 2810 fs/btrfs/ctree.c p->nodes[level + 1])) { level 2811 fs/btrfs/ctree.c write_lock_level = level + 1; level 2822 fs/btrfs/ctree.c p->nodes[level + 1], level 2823 fs/btrfs/ctree.c p->slots[level + 1], &b); level 2830 fs/btrfs/ctree.c p->nodes[level] = b; level 2848 fs/btrfs/ctree.c int u = level + 1; level 2856 fs/btrfs/ctree.c ret = key_search(b, key, level, &prev_cmp, &slot); level 2860 fs/btrfs/ctree.c if (level != 0) { level 2866 fs/btrfs/ctree.c p->slots[level] = slot; level 2867 fs/btrfs/ctree.c err = setup_nodes_for_search(trans, root, p, b, level, level 2875 fs/btrfs/ctree.c b = p->nodes[level]; level 2876 fs/btrfs/ctree.c slot = p->slots[level]; level 2885 fs/btrfs/ctree.c write_lock_level < level + 1) { level 2886 fs/btrfs/ctree.c write_lock_level = level + 1; level 2891 fs/btrfs/ctree.c unlock_up(p, level, lowest_unlock, level 2894 fs/btrfs/ctree.c if (level == lowest_level) { level 2896 fs/btrfs/ctree.c p->slots[level]++; level 2900 fs/btrfs/ctree.c err = read_block_for_search(root, p, &b, level, level 2910 fs/btrfs/ctree.c level = btrfs_header_level(b); level 2911 fs/btrfs/ctree.c if (level <= write_lock_level) { level 2916 fs/btrfs/ctree.c p->locks[level] = BTRFS_WRITE_LOCK; level 2922 fs/btrfs/ctree.c p->locks[level] = BTRFS_READ_LOCK; level 2924 fs/btrfs/ctree.c p->nodes[level] = b; level 2927 fs/btrfs/ctree.c p->slots[level] = slot; level 2947 fs/btrfs/ctree.c unlock_up(p, level, lowest_unlock, level 2984 fs/btrfs/ctree.c int level; level 3003 fs/btrfs/ctree.c level = btrfs_header_level(b); level 3004 fs/btrfs/ctree.c p->locks[level] = BTRFS_READ_LOCK; level 3007 fs/btrfs/ctree.c level = btrfs_header_level(b); level 3008 fs/btrfs/ctree.c p->nodes[level] = b; level 3016 fs/btrfs/ctree.c btrfs_unlock_up_safe(p, level + 1); level 3023 fs/btrfs/ctree.c ret = key_search(b, key, level, &prev_cmp, &slot); level 3027 fs/btrfs/ctree.c if (level != 0) { level 3033 fs/btrfs/ctree.c p->slots[level] = slot; level 3034 fs/btrfs/ctree.c unlock_up(p, level, lowest_unlock, 0, NULL); level 3036 fs/btrfs/ctree.c if (level == lowest_level) { level 3038 fs/btrfs/ctree.c p->slots[level]++; level 3042 fs/btrfs/ctree.c err = read_block_for_search(root, p, &b, level, level 3051 fs/btrfs/ctree.c level = btrfs_header_level(b); level 3061 fs/btrfs/ctree.c p->locks[level] = BTRFS_READ_LOCK; level 3062 fs/btrfs/ctree.c p->nodes[level] = b; level 3064 fs/btrfs/ctree.c p->slots[level] = slot; level 3065 fs/btrfs/ctree.c unlock_up(p, level, lowest_unlock, 0, NULL); level 3165 fs/btrfs/ctree.c struct btrfs_disk_key *key, int level) level 3171 fs/btrfs/ctree.c for (i = level; i < BTRFS_MAX_LEVEL; i++) { level 3387 fs/btrfs/ctree.c struct btrfs_path *path, int level) level 3397 fs/btrfs/ctree.c BUG_ON(path->nodes[level]); level 3398 fs/btrfs/ctree.c BUG_ON(path->nodes[level-1] != root->node); level 3400 fs/btrfs/ctree.c lower = path->nodes[level-1]; level 3401 fs/btrfs/ctree.c if (level == 1) level 3406 fs/btrfs/ctree.c c = alloc_tree_block_no_bg_flush(trans, root, 0, &lower_key, level, level 3433 fs/btrfs/ctree.c path->nodes[level] = c; level 3434 fs/btrfs/ctree.c path->locks[level] = BTRFS_WRITE_LOCK_BLOCKING; level 3435 fs/btrfs/ctree.c path->slots[level] = 0; level 3449 fs/btrfs/ctree.c int slot, int level) level 3455 fs/btrfs/ctree.c BUG_ON(!path->nodes[level]); level 3456 fs/btrfs/ctree.c btrfs_assert_tree_locked(path->nodes[level]); level 3457 fs/btrfs/ctree.c lower = path->nodes[level]; level 3462 fs/btrfs/ctree.c if (level) { level 3472 fs/btrfs/ctree.c if (level) { level 3496 fs/btrfs/ctree.c struct btrfs_path *path, int level) level 3506 fs/btrfs/ctree.c c = path->nodes[level]; level 3519 fs/btrfs/ctree.c ret = insert_new_root(trans, root, path, level + 1); level 3523 fs/btrfs/ctree.c ret = push_nodes_for_insert(trans, root, path, level); level 3524 fs/btrfs/ctree.c c = path->nodes[level]; level 3536 fs/btrfs/ctree.c split = alloc_tree_block_no_bg_flush(trans, root, 0, &disk_key, level, level 3542 fs/btrfs/ctree.c ASSERT(btrfs_header_level(c) == level); level 3561 fs/btrfs/ctree.c path->slots[level + 1] + 1, level + 1); level 3563 fs/btrfs/ctree.c if (path->slots[level] >= mid) { level 3564 fs/btrfs/ctree.c path->slots[level] -= mid; level 3567 fs/btrfs/ctree.c path->nodes[level] = split; level 3568 fs/btrfs/ctree.c path->slots[level + 1] += 1; level 4900 fs/btrfs/ctree.c int level, int slot) level 4902 fs/btrfs/ctree.c struct extent_buffer *parent = path->nodes[level]; level 4908 fs/btrfs/ctree.c if (level) { level 4918 fs/btrfs/ctree.c } else if (level) { level 4934 fs/btrfs/ctree.c fixup_low_keys(path, &disk_key, level + 1); level 5162 fs/btrfs/ctree.c int level; level 5169 fs/btrfs/ctree.c level = btrfs_header_level(cur); level 5170 fs/btrfs/ctree.c WARN_ON(path->nodes[level]); level 5171 fs/btrfs/ctree.c path->nodes[level] = cur; level 5172 fs/btrfs/ctree.c path->locks[level] = BTRFS_READ_LOCK; level 5180 fs/btrfs/ctree.c level = btrfs_header_level(cur); level 5181 fs/btrfs/ctree.c sret = btrfs_bin_search(cur, min_key, level, &slot); level 5188 fs/btrfs/ctree.c if (level == path->lowest_level) { level 5192 fs/btrfs/ctree.c path->slots[level] = slot; level 5218 fs/btrfs/ctree.c path->slots[level] = slot; level 5220 fs/btrfs/ctree.c sret = btrfs_find_next_key(root, path, min_key, level, level 5231 fs/btrfs/ctree.c path->slots[level] = slot; level 5232 fs/btrfs/ctree.c if (level == path->lowest_level) { level 5245 fs/btrfs/ctree.c path->locks[level - 1] = BTRFS_READ_LOCK; level 5246 fs/btrfs/ctree.c path->nodes[level - 1] = cur; level 5247 fs/btrfs/ctree.c unlock_up(path, level, 1, 0, NULL); level 5271 fs/btrfs/ctree.c struct btrfs_key *key, int level, u64 min_trans) level 5277 fs/btrfs/ctree.c while (level < BTRFS_MAX_LEVEL) { level 5278 fs/btrfs/ctree.c if (!path->nodes[level]) level 5281 fs/btrfs/ctree.c slot = path->slots[level] + 1; level 5282 fs/btrfs/ctree.c c = path->nodes[level]; level 5288 fs/btrfs/ctree.c if (level + 1 >= BTRFS_MAX_LEVEL || level 5289 fs/btrfs/ctree.c !path->nodes[level + 1]) level 5292 fs/btrfs/ctree.c if (path->locks[level + 1] || path->skip_locking) { level 5293 fs/btrfs/ctree.c level++; level 5298 fs/btrfs/ctree.c if (level == 0) level 5305 fs/btrfs/ctree.c path->lowest_level = level; level 5312 fs/btrfs/ctree.c c = path->nodes[level]; level 5313 fs/btrfs/ctree.c slot = path->slots[level]; level 5319 fs/btrfs/ctree.c if (level == 0) level 5349 fs/btrfs/ctree.c int level; level 5364 fs/btrfs/ctree.c level = 1; level 5413 fs/btrfs/ctree.c while (level < BTRFS_MAX_LEVEL) { level 5414 fs/btrfs/ctree.c if (!path->nodes[level]) { level 5419 fs/btrfs/ctree.c slot = path->slots[level] + 1; level 5420 fs/btrfs/ctree.c c = path->nodes[level]; level 5422 fs/btrfs/ctree.c level++; level 5423 fs/btrfs/ctree.c if (level == BTRFS_MAX_LEVEL) { level 5436 fs/btrfs/ctree.c next_rw_lock = path->locks[level]; level 5437 fs/btrfs/ctree.c ret = read_block_for_search(root, path, &next, level, level 5470 fs/btrfs/ctree.c path->slots[level] = slot; level 5472 fs/btrfs/ctree.c level--; level 5473 fs/btrfs/ctree.c c = path->nodes[level]; level 5474 fs/btrfs/ctree.c if (path->locks[level]) level 5475 fs/btrfs/ctree.c btrfs_tree_unlock_rw(c, path->locks[level]); level 5478 fs/btrfs/ctree.c path->nodes[level] = next; level 5479 fs/btrfs/ctree.c path->slots[level] = 0; level 5481 fs/btrfs/ctree.c path->locks[level] = next_rw_lock; level 5482 fs/btrfs/ctree.c if (!level) level 5485 fs/btrfs/ctree.c ret = read_block_for_search(root, path, &next, level, level 164 fs/btrfs/ctree.h u8 level; level 1608 fs/btrfs/ctree.h BTRFS_SETGET_FUNCS(tree_block_level, struct btrfs_tree_block_info, level, 8); level 1884 fs/btrfs/ctree.h BTRFS_SETGET_HEADER_FUNCS(header_level, struct btrfs_header, level, 8); level 1944 fs/btrfs/ctree.h BTRFS_SETGET_FUNCS(disk_root_level, struct btrfs_root_item, level, 8); level 1949 fs/btrfs/ctree.h BTRFS_SETGET_STACK_FUNCS(root_level, struct btrfs_root_item, level, 8); level 2419 fs/btrfs/ctree.h int level, u64 hint, level 2441 fs/btrfs/ctree.h int level, int is_data); level 2507 fs/btrfs/ctree.h int level, int *slot); level 2569 fs/btrfs/ctree.h void btrfs_unlock_up_safe(struct btrfs_path *p, int level); level 924 fs/btrfs/delayed-ref.c int level = generic_ref->tree_ref.level; level 966 fs/btrfs/delayed-ref.c ref->level = level; level 58 fs/btrfs/delayed-ref.h u8 level; level 127 fs/btrfs/delayed-ref.h int level; level 210 fs/btrfs/delayed-ref.h int level; level 274 fs/btrfs/delayed-ref.h int level, u64 root) level 279 fs/btrfs/delayed-ref.h generic_ref->tree_ref.level = level; level 183 fs/btrfs/disk-io.c int level) level 187 fs/btrfs/disk-io.c BUG_ON(level >= ARRAY_SIZE(ks->keys)); level 195 fs/btrfs/disk-io.c &ks->keys[level], ks->names[level]); level 391 fs/btrfs/disk-io.c int btrfs_verify_level_key(struct extent_buffer *eb, int level, level 400 fs/btrfs/disk-io.c if (found_level != level) { level 405 fs/btrfs/disk-io.c eb->start, level, found_level); level 458 fs/btrfs/disk-io.c u64 parent_transid, int level, level 477 fs/btrfs/disk-io.c else if (btrfs_verify_level_key(eb, level, level 1057 fs/btrfs/disk-io.c u64 parent_transid, int level, level 1068 fs/btrfs/disk-io.c level, first_key); level 1390 fs/btrfs/disk-io.c int level; level 1413 fs/btrfs/disk-io.c level = btrfs_root_level(&root->root_item); level 1416 fs/btrfs/disk-io.c generation, level, NULL); level 2251 fs/btrfs/disk-io.c int level = btrfs_super_log_root_level(disk_super); level 2266 fs/btrfs/disk-io.c level, NULL); level 2601 fs/btrfs/disk-io.c int level; level 2983 fs/btrfs/disk-io.c level = btrfs_super_chunk_root_level(disk_super); level 2989 fs/btrfs/disk-io.c generation, level, NULL); level 3023 fs/btrfs/disk-io.c level = btrfs_super_root_level(disk_super); level 3027 fs/btrfs/disk-io.c generation, level, NULL); level 4198 fs/btrfs/disk-io.c int btrfs_read_buffer(struct extent_buffer *buf, u64 parent_transid, int level, level 4202 fs/btrfs/disk-io.c level, first_key); level 42 fs/btrfs/disk-io.h int btrfs_verify_level_key(struct extent_buffer *eb, int level, level 45 fs/btrfs/disk-io.h u64 parent_transid, int level, level 114 fs/btrfs/disk-io.h int btrfs_read_buffer(struct extent_buffer *buf, u64 parent_transid, int level, level 146 fs/btrfs/disk-io.h struct extent_buffer *eb, int level); level 151 fs/btrfs/disk-io.h struct extent_buffer *eb, int level) level 54 fs/btrfs/extent-tree.c static int find_next_key(struct btrfs_path *path, int level, level 783 fs/btrfs/extent-tree.c static int find_next_key(struct btrfs_path *path, int level, level 787 fs/btrfs/extent-tree.c for (; level < BTRFS_MAX_LEVEL; level++) { level 788 fs/btrfs/extent-tree.c if (!path->nodes[level]) level 790 fs/btrfs/extent-tree.c if (path->slots[level] + 1 >= level 791 fs/btrfs/extent-tree.c btrfs_header_nritems(path->nodes[level])) level 793 fs/btrfs/extent-tree.c if (level == 0) level 794 fs/btrfs/extent-tree.c btrfs_item_key_to_cpu(path->nodes[level], key, level 795 fs/btrfs/extent-tree.c path->slots[level] + 1); level 797 fs/btrfs/extent-tree.c btrfs_node_key_to_cpu(path->nodes[level], key, level 798 fs/btrfs/extent-tree.c path->slots[level] + 1); level 1578 fs/btrfs/extent-tree.c key.offset = extent_op->level; level 1666 fs/btrfs/extent-tree.c ref->level, 0, 1, extent_op); level 1669 fs/btrfs/extent-tree.c ref->level, 0, 1, extent_op); level 2220 fs/btrfs/extent-tree.c int level, int is_data) level 2233 fs/btrfs/extent-tree.c extent_op->level = level; level 2434 fs/btrfs/extent-tree.c int level; level 2442 fs/btrfs/extent-tree.c level = btrfs_header_level(buf); level 2444 fs/btrfs/extent-tree.c if (!test_bit(BTRFS_ROOT_REF_COWS, &root->state) && level == 0) level 2457 fs/btrfs/extent-tree.c if (level == 0) { level 2490 fs/btrfs/extent-tree.c btrfs_init_tree_ref(&generic_ref, level - 1, ref_root); level 4285 fs/btrfs/extent-tree.c extent_key.offset = ref->level; level 4320 fs/btrfs/extent-tree.c btrfs_set_tree_block_level(leaf, block_info, ref->level); level 4422 fs/btrfs/extent-tree.c u64 bytenr, int level, u64 owner) level 4444 fs/btrfs/extent-tree.c btrfs_set_buffer_lockdep_class(root->root_key.objectid, buf, level); level 4453 fs/btrfs/extent-tree.c btrfs_set_header_level(buf, level); level 4490 fs/btrfs/extent-tree.c int level, u64 hint, level 4507 fs/btrfs/extent-tree.c level, root_objectid); level 4523 fs/btrfs/extent-tree.c buf = btrfs_init_new_buffer(trans, root, ins.objectid, level, level 4551 fs/btrfs/extent-tree.c extent_op->level = level; level 4556 fs/btrfs/extent-tree.c btrfs_init_tree_ref(&generic_ref, level, root_objectid); level 4583 fs/btrfs/extent-tree.c int level; level 4612 fs/btrfs/extent-tree.c if (path->slots[wc->level] < wc->reada_slot) { level 4621 fs/btrfs/extent-tree.c eb = path->nodes[wc->level]; level 4624 fs/btrfs/extent-tree.c for (slot = path->slots[wc->level]; slot < nritems; slot++) { level 4632 fs/btrfs/extent-tree.c if (slot == path->slots[wc->level]) level 4641 fs/btrfs/extent-tree.c wc->level - 1, 1, &refs, level 4652 fs/btrfs/extent-tree.c if (wc->level == 1 && level 4664 fs/btrfs/extent-tree.c if (wc->level == 1 && level 4689 fs/btrfs/extent-tree.c int level = wc->level; level 4690 fs/btrfs/extent-tree.c struct extent_buffer *eb = path->nodes[level]; level 4703 fs/btrfs/extent-tree.c ((wc->stage == DROP_REFERENCE && wc->refs[level] != 1) || level 4704 fs/btrfs/extent-tree.c (wc->stage == UPDATE_BACKREF && !(wc->flags[level] & flag)))) { level 4705 fs/btrfs/extent-tree.c BUG_ON(!path->locks[level]); level 4707 fs/btrfs/extent-tree.c eb->start, level, 1, level 4708 fs/btrfs/extent-tree.c &wc->refs[level], level 4709 fs/btrfs/extent-tree.c &wc->flags[level]); level 4713 fs/btrfs/extent-tree.c BUG_ON(wc->refs[level] == 0); level 4717 fs/btrfs/extent-tree.c if (wc->refs[level] > 1) level 4720 fs/btrfs/extent-tree.c if (path->locks[level] && !wc->keep_locks) { level 4721 fs/btrfs/extent-tree.c btrfs_tree_unlock_rw(eb, path->locks[level]); level 4722 fs/btrfs/extent-tree.c path->locks[level] = 0; level 4728 fs/btrfs/extent-tree.c if (!(wc->flags[level] & flag)) { level 4729 fs/btrfs/extent-tree.c BUG_ON(!path->locks[level]); level 4738 fs/btrfs/extent-tree.c wc->flags[level] |= flag; level 4745 fs/btrfs/extent-tree.c if (path->locks[level] && level > 0) { level 4746 fs/btrfs/extent-tree.c btrfs_tree_unlock_rw(eb, path->locks[level]); level 4747 fs/btrfs/extent-tree.c path->locks[level] = 0; level 4758 fs/btrfs/extent-tree.c int level) level 4770 fs/btrfs/extent-tree.c root->root_key.objectid, level, 0); level 4805 fs/btrfs/extent-tree.c int level = wc->level; level 4810 fs/btrfs/extent-tree.c generation = btrfs_node_ptr_generation(path->nodes[level], level 4811 fs/btrfs/extent-tree.c path->slots[level]); level 4823 fs/btrfs/extent-tree.c bytenr = btrfs_node_blockptr(path->nodes[level], path->slots[level]); level 4824 fs/btrfs/extent-tree.c btrfs_node_key_to_cpu(path->nodes[level], &first_key, level 4825 fs/btrfs/extent-tree.c path->slots[level]); level 4834 fs/btrfs/extent-tree.c level - 1); level 4840 fs/btrfs/extent-tree.c ret = btrfs_lookup_extent_info(trans, fs_info, bytenr, level - 1, 1, level 4841 fs/btrfs/extent-tree.c &wc->refs[level - 1], level 4842 fs/btrfs/extent-tree.c &wc->flags[level - 1]); level 4846 fs/btrfs/extent-tree.c if (unlikely(wc->refs[level - 1] == 0)) { level 4854 fs/btrfs/extent-tree.c if (wc->refs[level - 1] > 1) { level 4856 fs/btrfs/extent-tree.c if (level == 1 && level 4864 fs/btrfs/extent-tree.c btrfs_node_key_to_cpu(path->nodes[level], &key, level 4865 fs/btrfs/extent-tree.c path->slots[level]); level 4871 fs/btrfs/extent-tree.c wc->shared_level = level - 1; level 4874 fs/btrfs/extent-tree.c if (level == 1 && level 4887 fs/btrfs/extent-tree.c if (reada && level == 1) level 4889 fs/btrfs/extent-tree.c next = read_tree_block(fs_info, bytenr, generation, level - 1, level 4901 fs/btrfs/extent-tree.c level--; level 4902 fs/btrfs/extent-tree.c ASSERT(level == btrfs_header_level(next)); level 4903 fs/btrfs/extent-tree.c if (level != btrfs_header_level(next)) { level 4908 fs/btrfs/extent-tree.c path->nodes[level] = next; level 4909 fs/btrfs/extent-tree.c path->slots[level] = 0; level 4910 fs/btrfs/extent-tree.c path->locks[level] = BTRFS_WRITE_LOCK_BLOCKING; level 4911 fs/btrfs/extent-tree.c wc->level = level; level 4912 fs/btrfs/extent-tree.c if (wc->level == 1) level 4916 fs/btrfs/extent-tree.c wc->refs[level - 1] = 0; level 4917 fs/btrfs/extent-tree.c wc->flags[level - 1] = 0; level 4919 fs/btrfs/extent-tree.c if (wc->flags[level] & BTRFS_BLOCK_FLAG_FULL_BACKREF) { level 4920 fs/btrfs/extent-tree.c parent = path->nodes[level]->start; level 4923 fs/btrfs/extent-tree.c btrfs_header_owner(path->nodes[level])); level 4925 fs/btrfs/extent-tree.c btrfs_header_owner(path->nodes[level])) { level 4942 fs/btrfs/extent-tree.c level - 1); level 4959 fs/btrfs/extent-tree.c generation, level - 1); level 4973 fs/btrfs/extent-tree.c wc->drop_level = level; level 4974 fs/btrfs/extent-tree.c find_next_key(path, level, &wc->drop_progress); level 4978 fs/btrfs/extent-tree.c btrfs_init_tree_ref(&ref, level - 1, root->root_key.objectid); level 5013 fs/btrfs/extent-tree.c int level = wc->level; level 5014 fs/btrfs/extent-tree.c struct extent_buffer *eb = path->nodes[level]; level 5018 fs/btrfs/extent-tree.c BUG_ON(wc->shared_level < level); level 5019 fs/btrfs/extent-tree.c if (level < wc->shared_level) level 5022 fs/btrfs/extent-tree.c ret = find_next_key(path, level + 1, &wc->update_progress); level 5028 fs/btrfs/extent-tree.c path->slots[level] = 0; level 5035 fs/btrfs/extent-tree.c if (!path->locks[level]) { level 5036 fs/btrfs/extent-tree.c BUG_ON(level == 0); level 5039 fs/btrfs/extent-tree.c path->locks[level] = BTRFS_WRITE_LOCK_BLOCKING; level 5042 fs/btrfs/extent-tree.c eb->start, level, 1, level 5043 fs/btrfs/extent-tree.c &wc->refs[level], level 5044 fs/btrfs/extent-tree.c &wc->flags[level]); level 5046 fs/btrfs/extent-tree.c btrfs_tree_unlock_rw(eb, path->locks[level]); level 5047 fs/btrfs/extent-tree.c path->locks[level] = 0; level 5050 fs/btrfs/extent-tree.c BUG_ON(wc->refs[level] == 0); level 5051 fs/btrfs/extent-tree.c if (wc->refs[level] == 1) { level 5052 fs/btrfs/extent-tree.c btrfs_tree_unlock_rw(eb, path->locks[level]); level 5053 fs/btrfs/extent-tree.c path->locks[level] = 0; level 5060 fs/btrfs/extent-tree.c BUG_ON(wc->refs[level] > 1 && !path->locks[level]); level 5062 fs/btrfs/extent-tree.c if (wc->refs[level] == 1) { level 5063 fs/btrfs/extent-tree.c if (level == 0) { level 5064 fs/btrfs/extent-tree.c if (wc->flags[level] & BTRFS_BLOCK_FLAG_FULL_BACKREF) level 5079 fs/btrfs/extent-tree.c if (!path->locks[level] && level 5083 fs/btrfs/extent-tree.c path->locks[level] = BTRFS_WRITE_LOCK_BLOCKING; level 5089 fs/btrfs/extent-tree.c if (wc->flags[level] & BTRFS_BLOCK_FLAG_FULL_BACKREF) level 5094 fs/btrfs/extent-tree.c if (wc->flags[level + 1] & BTRFS_BLOCK_FLAG_FULL_BACKREF) level 5095 fs/btrfs/extent-tree.c parent = path->nodes[level + 1]->start; level 5097 fs/btrfs/extent-tree.c btrfs_header_owner(path->nodes[level + 1])) level 5101 fs/btrfs/extent-tree.c btrfs_free_tree_block(trans, root, eb, parent, wc->refs[level] == 1); level 5103 fs/btrfs/extent-tree.c wc->refs[level] = 0; level 5104 fs/btrfs/extent-tree.c wc->flags[level] = 0; level 5118 fs/btrfs/extent-tree.c int level = wc->level; level 5122 fs/btrfs/extent-tree.c while (level >= 0) { level 5127 fs/btrfs/extent-tree.c if (level == 0) level 5130 fs/btrfs/extent-tree.c if (path->slots[level] >= level 5131 fs/btrfs/extent-tree.c btrfs_header_nritems(path->nodes[level])) level 5136 fs/btrfs/extent-tree.c path->slots[level]++; level 5140 fs/btrfs/extent-tree.c level = wc->level; level 5150 fs/btrfs/extent-tree.c int level = wc->level; level 5153 fs/btrfs/extent-tree.c path->slots[level] = btrfs_header_nritems(path->nodes[level]); level 5154 fs/btrfs/extent-tree.c while (level < max_level && path->nodes[level]) { level 5155 fs/btrfs/extent-tree.c wc->level = level; level 5156 fs/btrfs/extent-tree.c if (path->slots[level] + 1 < level 5157 fs/btrfs/extent-tree.c btrfs_header_nritems(path->nodes[level])) { level 5158 fs/btrfs/extent-tree.c path->slots[level]++; level 5167 fs/btrfs/extent-tree.c if (path->locks[level]) { level 5168 fs/btrfs/extent-tree.c btrfs_tree_unlock_rw(path->nodes[level], level 5169 fs/btrfs/extent-tree.c path->locks[level]); level 5170 fs/btrfs/extent-tree.c path->locks[level] = 0; level 5172 fs/btrfs/extent-tree.c free_extent_buffer(path->nodes[level]); level 5173 fs/btrfs/extent-tree.c path->nodes[level] = NULL; level 5174 fs/btrfs/extent-tree.c level++; level 5206 fs/btrfs/extent-tree.c int level; level 5247 fs/btrfs/extent-tree.c level = btrfs_header_level(root->node); level 5248 fs/btrfs/extent-tree.c path->nodes[level] = btrfs_lock_root_node(root); level 5249 fs/btrfs/extent-tree.c btrfs_set_lock_blocking_write(path->nodes[level]); level 5250 fs/btrfs/extent-tree.c path->slots[level] = 0; level 5251 fs/btrfs/extent-tree.c path->locks[level] = BTRFS_WRITE_LOCK_BLOCKING; level 5259 fs/btrfs/extent-tree.c level = root_item->drop_level; level 5260 fs/btrfs/extent-tree.c BUG_ON(level == 0); level 5261 fs/btrfs/extent-tree.c path->lowest_level = level; level 5276 fs/btrfs/extent-tree.c level = btrfs_header_level(root->node); level 5278 fs/btrfs/extent-tree.c btrfs_tree_lock(path->nodes[level]); level 5279 fs/btrfs/extent-tree.c btrfs_set_lock_blocking_write(path->nodes[level]); level 5280 fs/btrfs/extent-tree.c path->locks[level] = BTRFS_WRITE_LOCK_BLOCKING; level 5283 fs/btrfs/extent-tree.c path->nodes[level]->start, level 5284 fs/btrfs/extent-tree.c level, 1, &wc->refs[level], level 5285 fs/btrfs/extent-tree.c &wc->flags[level]); level 5290 fs/btrfs/extent-tree.c BUG_ON(wc->refs[level] == 0); level 5292 fs/btrfs/extent-tree.c if (level == root_item->drop_level) level 5295 fs/btrfs/extent-tree.c btrfs_tree_unlock(path->nodes[level]); level 5296 fs/btrfs/extent-tree.c path->locks[level] = 0; level 5297 fs/btrfs/extent-tree.c WARN_ON(wc->refs[level] != 1); level 5298 fs/btrfs/extent-tree.c level--; level 5303 fs/btrfs/extent-tree.c wc->level = level; level 5330 fs/btrfs/extent-tree.c wc->drop_level = wc->level; level 5339 fs/btrfs/extent-tree.c BUG_ON(wc->level == 0); level 5439 fs/btrfs/extent-tree.c int level; level 5463 fs/btrfs/extent-tree.c level = btrfs_header_level(node); level 5464 fs/btrfs/extent-tree.c path->nodes[level] = node; level 5465 fs/btrfs/extent-tree.c path->slots[level] = 0; level 5466 fs/btrfs/extent-tree.c path->locks[level] = BTRFS_WRITE_LOCK_BLOCKING; level 5470 fs/btrfs/extent-tree.c wc->level = level; level 76 fs/btrfs/lzo.c static struct list_head *lzo_get_workspace(unsigned int level) level 78 fs/btrfs/lzo.c return btrfs_get_workspace(&wsm, level); level 96 fs/btrfs/lzo.c static struct list_head *lzo_alloc_workspace(unsigned int level) level 329 fs/btrfs/print-tree.c int level; level 335 fs/btrfs/print-tree.c level = btrfs_header_level(c); level 336 fs/btrfs/print-tree.c if (level == 0) { level 342 fs/btrfs/print-tree.c btrfs_header_bytenr(c), level, btrfs_header_generation(c), level 362 fs/btrfs/print-tree.c level - 1, &first_key); level 371 fs/btrfs/print-tree.c level != 1) level 374 fs/btrfs/print-tree.c level - 1) level 1694 fs/btrfs/qgroup.c int level = 0; level 1701 fs/btrfs/qgroup.c while (level <= root_level) { level 1702 fs/btrfs/qgroup.c eb = path->nodes[level]; level 1704 fs/btrfs/qgroup.c path->slots[level]++; level 1705 fs/btrfs/qgroup.c slot = path->slots[level]; level 1706 fs/btrfs/qgroup.c if (slot >= nr || level == 0) { level 1712 fs/btrfs/qgroup.c if (level != root_level) { level 1713 fs/btrfs/qgroup.c btrfs_tree_unlock_rw(eb, path->locks[level]); level 1714 fs/btrfs/qgroup.c path->locks[level] = 0; level 1717 fs/btrfs/qgroup.c path->nodes[level] = NULL; level 1718 fs/btrfs/qgroup.c path->slots[level] = 0; level 1729 fs/btrfs/qgroup.c level++; level 2044 fs/btrfs/qgroup.c int level; level 2064 fs/btrfs/qgroup.c level = btrfs_header_level(dst_eb); level 2072 fs/btrfs/qgroup.c dst_path->nodes[level] = dst_eb; level 2073 fs/btrfs/qgroup.c dst_path->slots[level] = 0; level 2074 fs/btrfs/qgroup.c dst_path->locks[level] = 0; level 2077 fs/btrfs/qgroup.c ret = qgroup_trace_new_subtree_blocks(trans, src_eb, dst_path, level, level 2078 fs/btrfs/qgroup.c level, last_snapshot, trace_leaf); level 2096 fs/btrfs/qgroup.c int level; level 2135 fs/btrfs/qgroup.c level = root_level; level 2136 fs/btrfs/qgroup.c while (level >= 0) { level 2137 fs/btrfs/qgroup.c if (path->nodes[level] == NULL) { level 2147 fs/btrfs/qgroup.c eb = path->nodes[level + 1]; level 2148 fs/btrfs/qgroup.c parent_slot = path->slots[level + 1]; level 2154 fs/btrfs/qgroup.c level, &first_key); level 2164 fs/btrfs/qgroup.c path->nodes[level] = eb; level 2165 fs/btrfs/qgroup.c path->slots[level] = 0; level 2169 fs/btrfs/qgroup.c path->locks[level] = BTRFS_READ_LOCK_BLOCKING; level 2178 fs/btrfs/qgroup.c if (level == 0) { level 2180 fs/btrfs/qgroup.c path->nodes[level]); level 2193 fs/btrfs/qgroup.c level--; level 3849 fs/btrfs/qgroup.c int level = btrfs_header_level(subvol_parent) - 1; level 3882 fs/btrfs/qgroup.c block->level = level; level 3897 fs/btrfs/qgroup.c cur = &blocks->blocks[level].rb_node; level 3930 fs/btrfs/qgroup.c rb_insert_color(&block->node, &blocks->blocks[level]); level 3958 fs/btrfs/qgroup.c int level = btrfs_header_level(subvol_eb); level 3972 fs/btrfs/qgroup.c node = blocks->blocks[level].rb_node; level 3990 fs/btrfs/qgroup.c rb_erase(&block->node, &blocks->blocks[level]); level 4002 fs/btrfs/qgroup.c block->reloc_generation, block->level, level 127 fs/btrfs/qgroup.h int level; level 308 fs/btrfs/ref-verify.c u64 parent, u64 bytenr, int level) level 323 fs/btrfs/ref-verify.c ref->owner = level; level 550 fs/btrfs/ref-verify.c int level, u64 *bytenr, u64 *num_bytes) level 557 fs/btrfs/ref-verify.c while (level >= 0) { level 558 fs/btrfs/ref-verify.c if (level) { level 561 fs/btrfs/ref-verify.c block_bytenr = btrfs_node_blockptr(path->nodes[level], level 562 fs/btrfs/ref-verify.c path->slots[level]); level 563 fs/btrfs/ref-verify.c gen = btrfs_node_ptr_generation(path->nodes[level], level 564 fs/btrfs/ref-verify.c path->slots[level]); level 565 fs/btrfs/ref-verify.c btrfs_node_key_to_cpu(path->nodes[level], &first_key, level 566 fs/btrfs/ref-verify.c path->slots[level]); level 568 fs/btrfs/ref-verify.c level - 1, &first_key); level 577 fs/btrfs/ref-verify.c path->nodes[level-1] = eb; level 578 fs/btrfs/ref-verify.c path->slots[level-1] = 0; level 579 fs/btrfs/ref-verify.c path->locks[level-1] = BTRFS_READ_LOCK_BLOCKING; level 585 fs/btrfs/ref-verify.c level--; level 591 fs/btrfs/ref-verify.c static int walk_up_tree(struct btrfs_path *path, int *level) level 602 fs/btrfs/ref-verify.c *level = l; level 691 fs/btrfs/ref-verify.c owner = generic_ref->tree_ref.level; level 982 fs/btrfs/ref-verify.c int ret, level; level 993 fs/btrfs/ref-verify.c level = btrfs_header_level(eb); level 994 fs/btrfs/ref-verify.c path->nodes[level] = eb; level 995 fs/btrfs/ref-verify.c path->slots[level] = 0; level 996 fs/btrfs/ref-verify.c path->locks[level] = BTRFS_READ_LOCK_BLOCKING; level 1005 fs/btrfs/ref-verify.c ret = walk_down_tree(fs_info->extent_root, path, level, level 1009 fs/btrfs/ref-verify.c ret = walk_up_tree(path, &level); level 55 fs/btrfs/relocation.c unsigned int level:8; level 135 fs/btrfs/relocation.c unsigned int level:8; level 474 fs/btrfs/relocation.c int level = 0; level 507 fs/btrfs/relocation.c for (level = 0; level < BTRFS_MAX_LEVEL; level++) { level 508 fs/btrfs/relocation.c list_for_each_entry(node, &cache->pending[level], list) { level 684 fs/btrfs/relocation.c int level, u64 bytenr) level 724 fs/btrfs/relocation.c node->level = level; level 857 fs/btrfs/relocation.c upper->level = cur->level + 1; level 898 fs/btrfs/relocation.c if (btrfs_root_level(&root->root_item) == cur->level) { level 909 fs/btrfs/relocation.c level = cur->level + 1; level 914 fs/btrfs/relocation.c path2->lowest_level = level; level 921 fs/btrfs/relocation.c if (ret > 0 && path2->slots[level] > 0) level 922 fs/btrfs/relocation.c path2->slots[level]--; level 924 fs/btrfs/relocation.c eb = path2->nodes[level]; level 925 fs/btrfs/relocation.c if (btrfs_node_blockptr(eb, path2->slots[level]) != level 929 fs/btrfs/relocation.c cur->bytenr, level - 1, level 940 fs/btrfs/relocation.c for (; level < BTRFS_MAX_LEVEL; level++) { level 941 fs/btrfs/relocation.c if (!path2->nodes[level]) { level 957 fs/btrfs/relocation.c eb = path2->nodes[level]; level 968 fs/btrfs/relocation.c upper->level = lower->level + 1; level 1136 fs/btrfs/relocation.c if (upper->level > 0) { level 1244 fs/btrfs/relocation.c new_node->level = node->level; level 1786 fs/btrfs/relocation.c struct btrfs_path *path, int level) level 1791 fs/btrfs/relocation.c btrfs_node_key(path->nodes[level], &key2, path->slots[level]); level 1822 fs/btrfs/relocation.c int level; level 1836 fs/btrfs/relocation.c level = btrfs_header_level(eb); level 1838 fs/btrfs/relocation.c if (level < lowest_level) { level 1860 fs/btrfs/relocation.c level = btrfs_header_level(parent); level 1861 fs/btrfs/relocation.c BUG_ON(level < lowest_level); level 1863 fs/btrfs/relocation.c ret = btrfs_bin_search(parent, &key, level, &slot); level 1877 fs/btrfs/relocation.c if (level <= max_level) { level 1878 fs/btrfs/relocation.c eb = path->nodes[level]; level 1880 fs/btrfs/relocation.c path->slots[level]); level 1882 fs/btrfs/relocation.c path->slots[level]); level 1889 fs/btrfs/relocation.c ret = level; level 1894 fs/btrfs/relocation.c memcmp_node_keys(parent, slot, path, level)) { level 1895 fs/btrfs/relocation.c if (level <= lowest_level) { level 1901 fs/btrfs/relocation.c level - 1, &first_key); level 1932 fs/btrfs/relocation.c btrfs_node_key_to_cpu(path->nodes[level], &key, level 1933 fs/btrfs/relocation.c path->slots[level]); level 1936 fs/btrfs/relocation.c path->lowest_level = level; level 1957 fs/btrfs/relocation.c path->nodes[level], path->slots[level], level 1968 fs/btrfs/relocation.c btrfs_set_node_blockptr(path->nodes[level], level 1969 fs/btrfs/relocation.c path->slots[level], old_bytenr); level 1970 fs/btrfs/relocation.c btrfs_set_node_ptr_generation(path->nodes[level], level 1971 fs/btrfs/relocation.c path->slots[level], old_ptr_gen); level 1972 fs/btrfs/relocation.c btrfs_mark_buffer_dirty(path->nodes[level]); level 1975 fs/btrfs/relocation.c blocksize, path->nodes[level]->start); level 1977 fs/btrfs/relocation.c btrfs_init_tree_ref(&ref, level - 1, src->root_key.objectid); level 1983 fs/btrfs/relocation.c btrfs_init_tree_ref(&ref, level - 1, dest->root_key.objectid); level 1988 fs/btrfs/relocation.c blocksize, path->nodes[level]->start); level 1989 fs/btrfs/relocation.c btrfs_init_tree_ref(&ref, level - 1, src->root_key.objectid); level 1996 fs/btrfs/relocation.c btrfs_init_tree_ref(&ref, level - 1, dest->root_key.objectid); level 2003 fs/btrfs/relocation.c ret = level; level 2016 fs/btrfs/relocation.c int *level) level 2025 fs/btrfs/relocation.c for (i = 0; i < *level; i++) { level 2030 fs/btrfs/relocation.c for (i = *level; i < BTRFS_MAX_LEVEL && path->nodes[i]; i++) { level 2039 fs/btrfs/relocation.c *level = i; level 2053 fs/btrfs/relocation.c int *level) level 2065 fs/btrfs/relocation.c for (i = *level; i > 0; i--) { level 2077 fs/btrfs/relocation.c if (i == *level) level 2079 fs/btrfs/relocation.c *level = i + 1; level 2083 fs/btrfs/relocation.c *level = i; level 2177 fs/btrfs/relocation.c static int find_next_key(struct btrfs_path *path, int level, level 2181 fs/btrfs/relocation.c while (level < BTRFS_MAX_LEVEL) { level 2182 fs/btrfs/relocation.c if (!path->nodes[level]) level 2184 fs/btrfs/relocation.c if (path->slots[level] + 1 < level 2185 fs/btrfs/relocation.c btrfs_header_nritems(path->nodes[level])) { level 2186 fs/btrfs/relocation.c btrfs_node_key_to_cpu(path->nodes[level], key, level 2187 fs/btrfs/relocation.c path->slots[level] + 1); level 2190 fs/btrfs/relocation.c level++; level 2275 fs/btrfs/relocation.c int level; level 2291 fs/btrfs/relocation.c level = btrfs_root_level(root_item); level 2293 fs/btrfs/relocation.c path->nodes[level] = reloc_root->node; level 2294 fs/btrfs/relocation.c path->slots[level] = 0; level 2298 fs/btrfs/relocation.c level = root_item->drop_level; level 2299 fs/btrfs/relocation.c BUG_ON(level == 0); level 2300 fs/btrfs/relocation.c path->lowest_level = level; level 2308 fs/btrfs/relocation.c btrfs_node_key_to_cpu(path->nodes[level], &next_key, level 2309 fs/btrfs/relocation.c path->slots[level]); level 2334 fs/btrfs/relocation.c max_level = level; level 2336 fs/btrfs/relocation.c ret = walk_down_reloc_tree(reloc_root, path, &level); level 2344 fs/btrfs/relocation.c if (!find_next_key(path, level, &key) && level 2349 fs/btrfs/relocation.c &next_key, level, max_level); level 2357 fs/btrfs/relocation.c level = ret; level 2358 fs/btrfs/relocation.c btrfs_node_key_to_cpu(path->nodes[level], &key, level 2359 fs/btrfs/relocation.c path->slots[level]); level 2363 fs/btrfs/relocation.c ret = walk_up_reloc_tree(reloc_root, path, &level); level 2367 fs/btrfs/relocation.c BUG_ON(level == 0); level 2372 fs/btrfs/relocation.c btrfs_node_key(path->nodes[level], &root_item->drop_progress, level 2373 fs/btrfs/relocation.c path->slots[level]); level 2374 fs/btrfs/relocation.c root_item->drop_level = level; level 2651 fs/btrfs/relocation.c if (!next || next->level <= node->level) level 2660 fs/btrfs/relocation.c rc->backref_cache.path[next->level] = next; level 2701 fs/btrfs/relocation.c if (!next || next->level <= node->level) level 2813 fs/btrfs/relocation.c path->lowest_level = node->level + 1; level 2814 fs/btrfs/relocation.c rc->backref_cache.path[node->level] = node; level 2828 fs/btrfs/relocation.c upper->level, &slot); level 2854 fs/btrfs/relocation.c upper->eb = path->nodes[upper->level]; level 2855 fs/btrfs/relocation.c path->nodes[upper->level] = NULL; level 2857 fs/btrfs/relocation.c BUG_ON(upper->eb != path->nodes[upper->level]); level 2861 fs/btrfs/relocation.c path->locks[upper->level] = 0; level 2863 fs/btrfs/relocation.c slot = path->slots[upper->level]; level 2866 fs/btrfs/relocation.c ret = btrfs_bin_search(upper->eb, key, upper->level, level 2894 fs/btrfs/relocation.c upper->level - 1, &first_key); level 2927 fs/btrfs/relocation.c btrfs_init_tree_ref(&ref, node->level, level 2973 fs/btrfs/relocation.c int level; level 2976 fs/btrfs/relocation.c for (level = 0; level < BTRFS_MAX_LEVEL; level++) { level 2977 fs/btrfs/relocation.c while (!list_empty(&cache->pending[level])) { level 2978 fs/btrfs/relocation.c node = list_entry(cache->pending[level].next, level 2989 fs/btrfs/relocation.c list_splice_init(&list, &cache->pending[level]); level 3005 fs/btrfs/relocation.c if (node->level == 0 || level 3062 fs/btrfs/relocation.c block->level, NULL); level 3069 fs/btrfs/relocation.c if (block->level == 0) level 3116 fs/btrfs/relocation.c path->lowest_level = node->level; level 3128 fs/btrfs/relocation.c if (ret || node->level == 0 || node->cowonly) level 3172 fs/btrfs/relocation.c block->level, block->bytenr); level 3458 fs/btrfs/relocation.c int level = -1; level 3470 fs/btrfs/relocation.c level = btrfs_tree_block_level(eb, bi); level 3472 fs/btrfs/relocation.c level = (int)extent_key->offset; level 3485 fs/btrfs/relocation.c BUG_ON(level == -1); level 3494 fs/btrfs/relocation.c block->level = level; level 3792 fs/btrfs/relocation.c block->level = 0; level 4714 fs/btrfs/relocation.c int level; level 4724 fs/btrfs/relocation.c level = btrfs_header_level(buf); level 4731 fs/btrfs/relocation.c WARN_ON(!first_cow && level == 0); level 4733 fs/btrfs/relocation.c node = rc->backref_cache.path[level]; level 4744 fs/btrfs/relocation.c &rc->backref_cache.pending[level]); level 4751 fs/btrfs/relocation.c if (first_cow && level > 0) level 4755 fs/btrfs/relocation.c if (level == 0 && first_cow && rc->stage == UPDATE_DATA_PTRS) level 6555 fs/btrfs/send.c static int tree_move_down(struct btrfs_path *path, int *level) level 6559 fs/btrfs/send.c BUG_ON(*level == 0); level 6560 fs/btrfs/send.c eb = btrfs_read_node_slot(path->nodes[*level], path->slots[*level]); level 6564 fs/btrfs/send.c path->nodes[*level - 1] = eb; level 6565 fs/btrfs/send.c path->slots[*level - 1] = 0; level 6566 fs/btrfs/send.c (*level)--; level 6571 fs/btrfs/send.c int *level, int root_level) level 6575 fs/btrfs/send.c nritems = btrfs_header_nritems(path->nodes[*level]); level 6577 fs/btrfs/send.c path->slots[*level]++; level 6579 fs/btrfs/send.c while (path->slots[*level] >= nritems) { level 6580 fs/btrfs/send.c if (*level == root_level) level 6584 fs/btrfs/send.c path->slots[*level] = 0; level 6585 fs/btrfs/send.c free_extent_buffer(path->nodes[*level]); level 6586 fs/btrfs/send.c path->nodes[*level] = NULL; level 6587 fs/btrfs/send.c (*level)++; level 6588 fs/btrfs/send.c path->slots[*level]++; level 6590 fs/btrfs/send.c nritems = btrfs_header_nritems(path->nodes[*level]); level 6601 fs/btrfs/send.c int *level, int root_level, level 6607 fs/btrfs/send.c if (*level == 0 || !allow_down) { level 6608 fs/btrfs/send.c ret = tree_move_next_or_upnext(path, level, root_level); level 6610 fs/btrfs/send.c ret = tree_move_down(path, level); level 6613 fs/btrfs/send.c if (*level == 0) level 6614 fs/btrfs/send.c btrfs_item_key_to_cpu(path->nodes[*level], key, level 6615 fs/btrfs/send.c path->slots[*level]); level 6617 fs/btrfs/send.c btrfs_node_key_to_cpu(path->nodes[*level], key, level 6618 fs/btrfs/send.c path->slots[*level]); level 1698 fs/btrfs/transaction.c super->chunk_root_level = root_item->level; level 1703 fs/btrfs/transaction.c super->root_level = root_item->level; level 1451 fs/btrfs/tree-checker.c int level = btrfs_header_level(node); level 1455 fs/btrfs/tree-checker.c if (level <= 0 || level >= BTRFS_MAX_LEVEL) { level 1458 fs/btrfs/tree-checker.c level, BTRFS_MAX_LEVEL - 1); level 26 fs/btrfs/tree-defrag.c int level; level 45 fs/btrfs/tree-defrag.c level = btrfs_header_level(root->node); level 47 fs/btrfs/tree-defrag.c if (level == 0) level 290 fs/btrfs/tree-log.c struct walk_control *wc, u64 gen, int level); level 298 fs/btrfs/tree-log.c struct walk_control *wc, u64 gen, int level) level 308 fs/btrfs/tree-log.c ret = btrfs_read_buffer(eb, gen, level, NULL); level 2536 fs/btrfs/tree-log.c struct walk_control *wc, u64 gen, int level) level 2545 fs/btrfs/tree-log.c ret = btrfs_read_buffer(eb, gen, level, NULL); level 2549 fs/btrfs/tree-log.c level = btrfs_header_level(eb); level 2551 fs/btrfs/tree-log.c if (level != 0) level 2682 fs/btrfs/tree-log.c struct btrfs_path *path, int *level, level 2695 fs/btrfs/tree-log.c WARN_ON(*level < 0); level 2696 fs/btrfs/tree-log.c WARN_ON(*level >= BTRFS_MAX_LEVEL); level 2698 fs/btrfs/tree-log.c while (*level > 0) { level 2701 fs/btrfs/tree-log.c WARN_ON(*level < 0); level 2702 fs/btrfs/tree-log.c WARN_ON(*level >= BTRFS_MAX_LEVEL); level 2703 fs/btrfs/tree-log.c cur = path->nodes[*level]; level 2705 fs/btrfs/tree-log.c WARN_ON(btrfs_header_level(cur) != *level); level 2707 fs/btrfs/tree-log.c if (path->slots[*level] >= level 2711 fs/btrfs/tree-log.c bytenr = btrfs_node_blockptr(cur, path->slots[*level]); level 2712 fs/btrfs/tree-log.c ptr_gen = btrfs_node_ptr_generation(cur, path->slots[*level]); level 2713 fs/btrfs/tree-log.c btrfs_node_key_to_cpu(cur, &first_key, path->slots[*level]); level 2716 fs/btrfs/tree-log.c parent = path->nodes[*level]; level 2723 fs/btrfs/tree-log.c if (*level == 1) { level 2725 fs/btrfs/tree-log.c *level - 1); level 2731 fs/btrfs/tree-log.c path->slots[*level]++; level 2734 fs/btrfs/tree-log.c *level - 1, &first_key); level 2764 fs/btrfs/tree-log.c ret = btrfs_read_buffer(next, ptr_gen, *level - 1, &first_key); level 2770 fs/btrfs/tree-log.c WARN_ON(*level <= 0); level 2771 fs/btrfs/tree-log.c if (path->nodes[*level-1]) level 2772 fs/btrfs/tree-log.c free_extent_buffer(path->nodes[*level-1]); level 2773 fs/btrfs/tree-log.c path->nodes[*level-1] = next; level 2774 fs/btrfs/tree-log.c *level = btrfs_header_level(next); level 2775 fs/btrfs/tree-log.c path->slots[*level] = 0; level 2778 fs/btrfs/tree-log.c WARN_ON(*level < 0); level 2779 fs/btrfs/tree-log.c WARN_ON(*level >= BTRFS_MAX_LEVEL); level 2781 fs/btrfs/tree-log.c path->slots[*level] = btrfs_header_nritems(path->nodes[*level]); level 2789 fs/btrfs/tree-log.c struct btrfs_path *path, int *level, level 2798 fs/btrfs/tree-log.c for (i = *level; i < BTRFS_MAX_LEVEL - 1 && path->nodes[i]; i++) { level 2802 fs/btrfs/tree-log.c *level = i; level 2803 fs/btrfs/tree-log.c WARN_ON(*level == 0); level 2807 fs/btrfs/tree-log.c if (path->nodes[*level] == root->node) level 2808 fs/btrfs/tree-log.c parent = path->nodes[*level]; level 2810 fs/btrfs/tree-log.c parent = path->nodes[*level + 1]; level 2813 fs/btrfs/tree-log.c ret = wc->process_func(root, path->nodes[*level], wc, level 2814 fs/btrfs/tree-log.c btrfs_header_generation(path->nodes[*level]), level 2815 fs/btrfs/tree-log.c *level); level 2822 fs/btrfs/tree-log.c next = path->nodes[*level]; level 2838 fs/btrfs/tree-log.c path->nodes[*level]->start, level 2839 fs/btrfs/tree-log.c path->nodes[*level]->len); level 2843 fs/btrfs/tree-log.c free_extent_buffer(path->nodes[*level]); level 2844 fs/btrfs/tree-log.c path->nodes[*level] = NULL; level 2845 fs/btrfs/tree-log.c *level = i + 1; level 2862 fs/btrfs/tree-log.c int level; level 2870 fs/btrfs/tree-log.c level = btrfs_header_level(log->node); level 2871 fs/btrfs/tree-log.c orig_level = level; level 2872 fs/btrfs/tree-log.c path->nodes[level] = log->node; level 2874 fs/btrfs/tree-log.c path->slots[level] = 0; level 2877 fs/btrfs/tree-log.c wret = walk_down_log_tree(trans, log, path, &level, wc); level 2885 fs/btrfs/tree-log.c wret = walk_up_log_tree(trans, log, path, &level, wc); level 27 fs/btrfs/zlib.c int level; level 42 fs/btrfs/zlib.c static struct list_head *zlib_get_workspace(unsigned int level) level 44 fs/btrfs/zlib.c struct list_head *ws = btrfs_get_workspace(&wsm, level); level 47 fs/btrfs/zlib.c workspace->level = level; level 66 fs/btrfs/zlib.c static struct list_head *zlib_alloc_workspace(unsigned int level) level 78 fs/btrfs/zlib.c workspace->level = level; level 115 fs/btrfs/zlib.c if (Z_OK != zlib_deflateInit(&workspace->strm, workspace->level)) { level 31 fs/btrfs/zstd.c static ZSTD_parameters zstd_get_btrfs_parameters(unsigned int level, level 34 fs/btrfs/zstd.c ZSTD_parameters params = ZSTD_getParams(level, src_len, 0); level 46 fs/btrfs/zstd.c unsigned int level; level 95 fs/btrfs/zstd.c static struct list_head *zstd_alloc_workspace(unsigned int level); level 119 fs/btrfs/zstd.c unsigned int level; level 128 fs/btrfs/zstd.c level = victim->level; level 133 fs/btrfs/zstd.c if (list_empty(&wsm.idle_ws[level - 1])) level 134 fs/btrfs/zstd.c clear_bit(level - 1, &wsm.active_map); level 156 fs/btrfs/zstd.c unsigned int level; level 158 fs/btrfs/zstd.c for (level = 1; level <= ZSTD_BTRFS_MAX_LEVEL; level++) { level 160 fs/btrfs/zstd.c zstd_get_btrfs_parameters(level, ZSTD_BTRFS_MAX_INPUT); level 167 fs/btrfs/zstd.c zstd_ws_mem_sizes[level - 1] = max_size; level 228 fs/btrfs/zstd.c static struct list_head *zstd_find_workspace(unsigned int level) level 232 fs/btrfs/zstd.c int i = level - 1; level 241 fs/btrfs/zstd.c workspace->req_level = level; level 242 fs/btrfs/zstd.c if (level == workspace->level) level 264 fs/btrfs/zstd.c static struct list_head *zstd_get_workspace(unsigned int level) level 270 fs/btrfs/zstd.c if (!level) level 271 fs/btrfs/zstd.c level = 1; level 274 fs/btrfs/zstd.c ws = zstd_find_workspace(level); level 279 fs/btrfs/zstd.c ws = zstd_alloc_workspace(level); level 312 fs/btrfs/zstd.c if (workspace->req_level == workspace->level) { level 325 fs/btrfs/zstd.c set_bit(workspace->level - 1, &wsm.active_map); level 326 fs/btrfs/zstd.c list_add(&workspace->list, &wsm.idle_ws[workspace->level - 1]); level 331 fs/btrfs/zstd.c if (workspace->level == ZSTD_BTRFS_MAX_LEVEL) level 344 fs/btrfs/zstd.c static struct list_head *zstd_alloc_workspace(unsigned int level) level 352 fs/btrfs/zstd.c workspace->size = zstd_ws_mem_sizes[level - 1]; level 353 fs/btrfs/zstd.c workspace->level = level; level 354 fs/btrfs/zstd.c workspace->req_level = level; level 368 fs/cifs/readdir.c static char *nxt_dir_entry(char *old_entry, char *end_of_smb, int level) level 373 fs/cifs/readdir.c if (level == SMB_FIND_FILE_INFO_STANDARD) { level 394 fs/cifs/readdir.c } else if (((level == SMB_FIND_FILE_INFO_STANDARD) && level 396 fs/cifs/readdir.c || ((level != SMB_FIND_FILE_INFO_STANDARD) && level 468 fs/cifs/readdir.c u16 level, bool is_unicode) level 472 fs/cifs/readdir.c switch (level) { level 492 fs/cifs/readdir.c cifs_dbg(FYI, "Unknown findfirst level %d\n", level); level 4577 fs/cifs/smb2pdu.c build_qfs_info_req(struct kvec *iov, struct cifs_tcon *tcon, int level, level 4584 fs/cifs/smb2pdu.c cifs_dbg(FYI, "Query FSInfo level %d\n", level); level 4595 fs/cifs/smb2pdu.c req->FileInfoClass = level; level 4707 fs/cifs/smb2pdu.c u64 persistent_fid, u64 volatile_fid, int level) level 4719 fs/cifs/smb2pdu.c if (level == FS_DEVICE_INFORMATION) { level 4722 fs/cifs/smb2pdu.c } else if (level == FS_ATTRIBUTE_INFORMATION) { level 4725 fs/cifs/smb2pdu.c } else if (level == FS_SECTOR_SIZE_INFORMATION) { level 4728 fs/cifs/smb2pdu.c } else if (level == FS_VOLUME_INFORMATION) { level 4732 fs/cifs/smb2pdu.c cifs_dbg(FYI, "Invalid qfsinfo level %d\n", level); level 4736 fs/cifs/smb2pdu.c rc = build_qfs_info_req(&iov, tcon, level, max_len, level 4762 fs/cifs/smb2pdu.c if (level == FS_ATTRIBUTE_INFORMATION) level 4766 fs/cifs/smb2pdu.c else if (level == FS_DEVICE_INFORMATION) level 4769 fs/cifs/smb2pdu.c else if (level == FS_SECTOR_SIZE_INFORMATION) { level 4775 fs/cifs/smb2pdu.c } else if (level == FS_VOLUME_INFORMATION) { level 135 fs/cifs/smbdirect.c #define log_rdma(level, class, fmt, args...) \ level 137 fs/cifs/smbdirect.c if (level <= smbd_logging_level || class & smbd_logging_class) \ level 141 fs/cifs/smbdirect.c #define log_outgoing(level, fmt, args...) \ level 142 fs/cifs/smbdirect.c log_rdma(level, LOG_OUTGOING, fmt, ##args) level 143 fs/cifs/smbdirect.c #define log_incoming(level, fmt, args...) \ level 144 fs/cifs/smbdirect.c log_rdma(level, LOG_INCOMING, fmt, ##args) level 145 fs/cifs/smbdirect.c #define log_read(level, fmt, args...) log_rdma(level, LOG_READ, fmt, ##args) level 146 fs/cifs/smbdirect.c #define log_write(level, fmt, args...) log_rdma(level, LOG_WRITE, fmt, ##args) level 147 fs/cifs/smbdirect.c #define log_rdma_send(level, fmt, args...) \ level 148 fs/cifs/smbdirect.c log_rdma(level, LOG_RDMA_SEND, fmt, ##args) level 149 fs/cifs/smbdirect.c #define log_rdma_recv(level, fmt, args...) \ level 150 fs/cifs/smbdirect.c log_rdma(level, LOG_RDMA_RECV, fmt, ##args) level 151 fs/cifs/smbdirect.c #define log_keep_alive(level, fmt, args...) \ level 152 fs/cifs/smbdirect.c log_rdma(level, LOG_KEEP_ALIVE, fmt, ##args) level 153 fs/cifs/smbdirect.c #define log_rdma_event(level, fmt, args...) \ level 154 fs/cifs/smbdirect.c log_rdma(level, LOG_RDMA_EVENT, fmt, ##args) level 155 fs/cifs/smbdirect.c #define log_rdma_mr(level, fmt, args...) \ level 156 fs/cifs/smbdirect.c log_rdma(level, LOG_RDMA_MR, fmt, ##args) level 956 fs/configfs/dir.c static void configfs_dump_one(struct configfs_dirent *sd, int level) level 958 fs/configfs/dir.c pr_info("%*s\"%s\":\n", level, " ", configfs_get_name(sd)); level 960 fs/configfs/dir.c #define type_print(_type) if (sd->s_type & _type) pr_info("%*s %s\n", level, " ", #_type); level 971 fs/configfs/dir.c static int configfs_dump(struct configfs_dirent *sd, int level) level 976 fs/configfs/dir.c configfs_dump_one(sd, level); level 982 fs/configfs/dir.c ret = configfs_dump(child_sd, level + 2); level 454 fs/crypto/crypto.c void fscrypt_msg(const struct inode *inode, const char *level, level 470 fs/crypto/crypto.c level, inode->i_sb->s_id, inode->i_ino, &vaf); level 472 fs/crypto/crypto.c printk("%sfscrypt: %pV\n", level, &vaf); level 244 fs/crypto/fscrypt_private.h fscrypt_msg(const struct inode *inode, const char *level, const char *fmt, ...); level 2766 fs/ext4/ext4.h #define ext4_msg(sb, level, fmt, ...) \ level 2767 fs/ext4/ext4.h __ext4_msg(sb, level, fmt, ##__VA_ARGS__) level 2806 fs/ext4/ext4.h #define ext4_msg(sb, level, fmt, ...) \ level 683 fs/ext4/extents.c ext4_fsblk_t newblock, int level) level 688 fs/ext4/extents.c if (depth != level) { level 690 fs/ext4/extents.c idx = path[level].p_idx; level 691 fs/ext4/extents.c while (idx <= EXT_MAX_INDEX(path[level].p_hdr)) { level 692 fs/ext4/extents.c ext_debug("%d: move %d:%llu in new index %llu\n", level, level 717 fs/ext4/extents.c #define ext4_ext_show_move(inode, path, newblock, level) level 1331 fs/ext4/indirect.c int level = min(partial - chain, partial2 - chain2); level 1335 fs/ext4/indirect.c for (i = 0; i <= level; i++) { level 24 fs/f2fs/dir.c static unsigned int dir_buckets(unsigned int level, int dir_level) level 26 fs/f2fs/dir.c if (level + dir_level < MAX_DIR_HASH_DEPTH / 2) level 27 fs/f2fs/dir.c return 1 << (level + dir_level); level 32 fs/f2fs/dir.c static unsigned int bucket_blocks(unsigned int level) level 34 fs/f2fs/dir.c if (level < MAX_DIR_HASH_DEPTH / 2) level 73 fs/f2fs/dir.c static unsigned long dir_block_index(unsigned int level, level 79 fs/f2fs/dir.c for (i = 0; i < level; i++) level 81 fs/f2fs/dir.c bidx += idx * bucket_blocks(level); level 254 fs/f2fs/dir.c unsigned int level, level 268 fs/f2fs/dir.c nbucket = dir_buckets(level, F2FS_I(dir)->i_dir_level); level 269 fs/f2fs/dir.c nblock = bucket_blocks(level); level 271 fs/f2fs/dir.c bidx = dir_block_index(level, F2FS_I(dir)->i_dir_level, level 300 fs/f2fs/dir.c F2FS_I(dir)->clevel = level; level 312 fs/f2fs/dir.c unsigned int level; level 333 fs/f2fs/dir.c for (level = 0; level < max_depth; level++) { level 335 fs/f2fs/dir.c de = find_in_level(dir, level, fname, res_page); level 608 fs/f2fs/dir.c unsigned int level; level 619 fs/f2fs/dir.c level = 0; level 625 fs/f2fs/dir.c level = F2FS_I(dir)->clevel; level 639 fs/f2fs/dir.c if (level == current_depth) level 642 fs/f2fs/dir.c nbucket = dir_buckets(level, F2FS_I(dir)->i_dir_level); level 643 fs/f2fs/dir.c nblock = bucket_blocks(level); level 645 fs/f2fs/dir.c bidx = dir_block_index(level, F2FS_I(dir)->i_dir_level, level 663 fs/f2fs/dir.c ++level; level 651 fs/f2fs/node.c int level = 0; level 664 fs/f2fs/node.c level = 1; level 672 fs/f2fs/node.c level = 1; level 682 fs/f2fs/node.c level = 2; level 692 fs/f2fs/node.c level = 2; level 707 fs/f2fs/node.c level = 3; level 713 fs/f2fs/node.c return level; level 730 fs/f2fs/node.c int level, i = 0; level 733 fs/f2fs/node.c level = get_node_path(dn->inode, index, offset, noffset); level 734 fs/f2fs/node.c if (level < 0) level 735 fs/f2fs/node.c return level; level 754 fs/f2fs/node.c if (level != 0) level 760 fs/f2fs/node.c for (i = 1; i <= level; i++) { level 781 fs/f2fs/node.c } else if (mode == LOOKUP_NODE_RA && i == level && level > 1) { level 804 fs/f2fs/node.c if (i < level) { level 809 fs/f2fs/node.c dn->nid = nids[level]; level 810 fs/f2fs/node.c dn->ofs_in_node = offset[level]; level 811 fs/f2fs/node.c dn->node_page = npage[level]; level 825 fs/f2fs/node.c dn->max_level = level; level 826 fs/f2fs/node.c dn->ofs_in_node = offset[level]; level 1040 fs/f2fs/node.c int level, offset[4], noffset[4]; level 1048 fs/f2fs/node.c level = get_node_path(inode, from, offset, noffset); level 1049 fs/f2fs/node.c if (level < 0) level 1050 fs/f2fs/node.c return level; level 1062 fs/f2fs/node.c switch (level) { level 1069 fs/f2fs/node.c if (!offset[level - 1]) level 1071 fs/f2fs/node.c err = truncate_partial_nodes(&dn, ri, offset, level); level 1078 fs/f2fs/node.c if (!offset[level - 1]) level 1080 fs/f2fs/node.c err = truncate_partial_nodes(&dn, ri, offset, level); level 213 fs/f2fs/super.c int level; level 217 fs/f2fs/super.c level = printk_get_level(fmt); level 221 fs/f2fs/super.c KERN_SOH_ASCII, level, sbi->sb->s_id, &vaf); level 435 fs/fat/fat.h void fat_msg(struct super_block *sb, const char *level, const char *fmt, ...); level 436 fs/fat/fat.h #define fat_msg_ratelimit(sb, level, fmt, args...) \ level 439 fs/fat/fat.h fat_msg(sb, level, fmt, ## args); \ level 48 fs/fat/misc.c void fat_msg(struct super_block *sb, const char *level, const char *fmt, ...) level 56 fs/fat/misc.c printk("%sFAT-fs (%s): %pV\n", level, sb->s_id, &vaf); level 280 fs/hpfs/anode.c int level = 0; level 289 fs/hpfs/anode.c if (level) brelse(bh); level 295 fs/hpfs/anode.c level++; level 301 fs/hpfs/anode.c if (!level) return; level 308 fs/hpfs/anode.c if (--level) { level 323 fs/hpfs/anode.c oano, level ? ano : -1); level 324 fs/hpfs/anode.c if (level) level 103 fs/jbd2/journal.c void __jbd2_debug(int level, const char *file, const char *func, level 109 fs/jbd2/journal.c if (level > jbd2_journal_enable_debug) level 66 fs/jffs2/debug.h #define jffs2_dbg(level, fmt, ...) \ level 68 fs/jffs2/debug.h if (CONFIG_JFFS2_FS_DEBUG >= level) \ level 71 fs/jfs/jfs_dmap.c int level); level 89 fs/jfs/jfs_dmap.c static int dbFindCtl(struct bmap * bmp, int l2nb, int level, s64 * blkno); level 106 fs/jfs/jfs_dmap.c static int dbInitDmapCtl(struct dmapctl * dcp, int level, int i); level 1714 fs/jfs/jfs_dmap.c static int dbFindCtl(struct bmap * bmp, int l2nb, int level, s64 * blkno) level 1727 fs/jfs/jfs_dmap.c for (lev = level, b = *blkno; lev >= 0; lev--) { level 1759 fs/jfs/jfs_dmap.c if (lev != level) { level 2495 fs/jfs/jfs_dmap.c dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc, int level) level 2507 fs/jfs/jfs_dmap.c lblkno = BLKTOCTL(blkno, bmp->db_l2nbperpage, level); level 2574 fs/jfs/jfs_dmap.c if (level < bmp->db_maxlevel) { level 2580 fs/jfs/jfs_dmap.c level + 1))) { level 2612 fs/jfs/jfs_dmap.c assert(level == bmp->db_maxlevel); level 3957 fs/jfs/jfs_dmap.c static int dbInitDmapCtl(struct dmapctl * dcp, int level, int i) level 3965 fs/jfs/jfs_dmap.c dcp->budmin = L2BPERDMAP + L2LPERCTL * level; level 4044 fs/jfs/jfs_dmap.c int level, i; level 4049 fs/jfs/jfs_dmap.c level = BMAPPGTOLEV(npages); level 4058 fs/jfs/jfs_dmap.c npages -= (2 - level); level 4060 fs/jfs/jfs_dmap.c for (i = level; i >= 0; i--) { level 62 fs/nilfs2/bmap.c int nilfs_bmap_lookup_at_level(struct nilfs_bmap *bmap, __u64 key, int level, level 69 fs/nilfs2/bmap.c ret = bmap->b_ops->bop_lookup(bmap, key, level, ptrp); level 404 fs/nilfs2/bmap.c int nilfs_bmap_mark(struct nilfs_bmap *bmap, __u64 key, int level) level 412 fs/nilfs2/bmap.c ret = bmap->b_ops->bop_mark(bmap, key, level); level 26 fs/nilfs2/btree.c int level = NILFS_BTREE_LEVEL_DATA; level 32 fs/nilfs2/btree.c for (; level < NILFS_BTREE_LEVEL_MAX; level++) { level 33 fs/nilfs2/btree.c path[level].bp_bh = NULL; level 34 fs/nilfs2/btree.c path[level].bp_sib_bh = NULL; level 35 fs/nilfs2/btree.c path[level].bp_index = 0; level 36 fs/nilfs2/btree.c path[level].bp_oldreq.bpr_ptr = NILFS_BMAP_INVALID_PTR; level 37 fs/nilfs2/btree.c path[level].bp_newreq.bpr_ptr = NILFS_BMAP_INVALID_PTR; level 38 fs/nilfs2/btree.c path[level].bp_op = NULL; level 47 fs/nilfs2/btree.c int level = NILFS_BTREE_LEVEL_DATA; level 49 fs/nilfs2/btree.c for (; level < NILFS_BTREE_LEVEL_MAX; level++) level 50 fs/nilfs2/btree.c brelse(path[level].bp_bh); level 95 fs/nilfs2/btree.c nilfs_btree_node_set_level(struct nilfs_btree_node *node, int level) level 97 fs/nilfs2/btree.c node->bn_level = level; level 162 fs/nilfs2/btree.c int level, int nchildren, int ncmax, level 170 fs/nilfs2/btree.c nilfs_btree_node_set_level(node, level); level 342 fs/nilfs2/btree.c int level, flags, nchildren; level 345 fs/nilfs2/btree.c level = nilfs_btree_node_get_level(node); level 349 fs/nilfs2/btree.c if (unlikely(level < NILFS_BTREE_LEVEL_NODE_MIN || level 350 fs/nilfs2/btree.c level >= NILFS_BTREE_LEVEL_MAX || level 356 fs/nilfs2/btree.c inode->i_ino, (unsigned long long)blocknr, level, level 373 fs/nilfs2/btree.c int level, flags, nchildren; level 376 fs/nilfs2/btree.c level = nilfs_btree_node_get_level(node); level 380 fs/nilfs2/btree.c if (unlikely(level < NILFS_BTREE_LEVEL_NODE_MIN || level 381 fs/nilfs2/btree.c level >= NILFS_BTREE_LEVEL_MAX || level 386 fs/nilfs2/btree.c inode->i_ino, level, flags, nchildren); level 415 fs/nilfs2/btree.c nilfs_btree_get_nonroot_node(const struct nilfs_btree_path *path, int level) level 417 fs/nilfs2/btree.c return (struct nilfs_btree_node *)path[level].bp_bh->b_data; level 421 fs/nilfs2/btree.c nilfs_btree_get_sib_node(const struct nilfs_btree_path *path, int level) level 423 fs/nilfs2/btree.c return (struct nilfs_btree_node *)path[level].bp_sib_bh->b_data; level 434 fs/nilfs2/btree.c int level, int *ncmaxp) level 438 fs/nilfs2/btree.c if (level == nilfs_btree_height(btree) - 1) { level 442 fs/nilfs2/btree.c node = nilfs_btree_get_nonroot_node(path, level); level 449 fs/nilfs2/btree.c struct nilfs_btree_node *node, int level) level 451 fs/nilfs2/btree.c if (unlikely(nilfs_btree_node_get_level(node) != level)) { level 456 fs/nilfs2/btree.c nilfs_btree_node_get_level(node), level); level 543 fs/nilfs2/btree.c int level, index, found, ncmax, ret; level 546 fs/nilfs2/btree.c level = nilfs_btree_node_get_level(node); level 547 fs/nilfs2/btree.c if (level < minlevel || nilfs_btree_node_get_nchildren(node) <= 0) level 553 fs/nilfs2/btree.c path[level].bp_bh = NULL; level 554 fs/nilfs2/btree.c path[level].bp_index = index; level 558 fs/nilfs2/btree.c while (--level >= minlevel) { level 560 fs/nilfs2/btree.c if (level == NILFS_BTREE_LEVEL_NODE_MIN && readahead) { level 561 fs/nilfs2/btree.c p.node = nilfs_btree_get_node(btree, path, level + 1, level 567 fs/nilfs2/btree.c ret = __nilfs_btree_get_block(btree, ptr, &path[level].bp_bh, level 572 fs/nilfs2/btree.c node = nilfs_btree_get_nonroot_node(path, level); level 573 fs/nilfs2/btree.c if (nilfs_btree_bad_node(btree, node, level)) level 582 fs/nilfs2/btree.c WARN_ON(found || level != NILFS_BTREE_LEVEL_NODE_MIN); level 586 fs/nilfs2/btree.c path[level].bp_index = index; level 603 fs/nilfs2/btree.c int index, level, ncmax, ret; level 609 fs/nilfs2/btree.c level = nilfs_btree_node_get_level(node); level 612 fs/nilfs2/btree.c path[level].bp_bh = NULL; level 613 fs/nilfs2/btree.c path[level].bp_index = index; level 616 fs/nilfs2/btree.c for (level--; level > 0; level--) { level 617 fs/nilfs2/btree.c ret = nilfs_btree_get_block(btree, ptr, &path[level].bp_bh); level 620 fs/nilfs2/btree.c node = nilfs_btree_get_nonroot_node(path, level); level 621 fs/nilfs2/btree.c if (nilfs_btree_bad_node(btree, node, level)) level 625 fs/nilfs2/btree.c path[level].bp_index = index; level 652 fs/nilfs2/btree.c int index, next_adj, level; level 656 fs/nilfs2/btree.c for (level = minlevel; level <= maxlevel; level++) { level 657 fs/nilfs2/btree.c if (level == maxlevel) level 660 fs/nilfs2/btree.c node = nilfs_btree_get_nonroot_node(path, level); level 662 fs/nilfs2/btree.c index = path[level].bp_index + next_adj; level 675 fs/nilfs2/btree.c __u64 key, int level, __u64 *ptrp) level 684 fs/nilfs2/btree.c ret = nilfs_btree_do_lookup(btree, path, key, ptrp, level, 0); level 700 fs/nilfs2/btree.c int level = NILFS_BTREE_LEVEL_NODE_MIN; level 708 fs/nilfs2/btree.c ret = nilfs_btree_do_lookup(btree, path, key, &ptr, level, 1); level 724 fs/nilfs2/btree.c node = nilfs_btree_get_node(btree, path, level, &ncmax); level 725 fs/nilfs2/btree.c index = path[level].bp_index + 1; level 743 fs/nilfs2/btree.c if (level == maxlevel) level 747 fs/nilfs2/btree.c p.node = nilfs_btree_get_node(btree, path, level + 1, &p.ncmax); level 748 fs/nilfs2/btree.c p.index = path[level + 1].bp_index + 1; level 754 fs/nilfs2/btree.c path[level + 1].bp_index = p.index; level 756 fs/nilfs2/btree.c brelse(path[level].bp_bh); level 757 fs/nilfs2/btree.c path[level].bp_bh = NULL; level 759 fs/nilfs2/btree.c ret = __nilfs_btree_get_block(btree, ptr2, &path[level].bp_bh, level 763 fs/nilfs2/btree.c node = nilfs_btree_get_nonroot_node(path, level); level 766 fs/nilfs2/btree.c path[level].bp_index = index; level 778 fs/nilfs2/btree.c int level, __u64 key) level 780 fs/nilfs2/btree.c if (level < nilfs_btree_height(btree) - 1) { level 783 fs/nilfs2/btree.c nilfs_btree_get_nonroot_node(path, level), level 784 fs/nilfs2/btree.c path[level].bp_index, key); level 785 fs/nilfs2/btree.c if (!buffer_dirty(path[level].bp_bh)) level 786 fs/nilfs2/btree.c mark_buffer_dirty(path[level].bp_bh); level 787 fs/nilfs2/btree.c } while ((path[level].bp_index == 0) && level 788 fs/nilfs2/btree.c (++level < nilfs_btree_height(btree) - 1)); level 792 fs/nilfs2/btree.c if (level == nilfs_btree_height(btree) - 1) { level 794 fs/nilfs2/btree.c path[level].bp_index, key); level 800 fs/nilfs2/btree.c int level, __u64 *keyp, __u64 *ptrp) level 805 fs/nilfs2/btree.c if (level < nilfs_btree_height(btree) - 1) { level 806 fs/nilfs2/btree.c node = nilfs_btree_get_nonroot_node(path, level); level 808 fs/nilfs2/btree.c nilfs_btree_node_insert(node, path[level].bp_index, level 810 fs/nilfs2/btree.c if (!buffer_dirty(path[level].bp_bh)) level 811 fs/nilfs2/btree.c mark_buffer_dirty(path[level].bp_bh); level 813 fs/nilfs2/btree.c if (path[level].bp_index == 0) level 814 fs/nilfs2/btree.c nilfs_btree_promote_key(btree, path, level + 1, level 819 fs/nilfs2/btree.c nilfs_btree_node_insert(node, path[level].bp_index, level 827 fs/nilfs2/btree.c int level, __u64 *keyp, __u64 *ptrp) level 832 fs/nilfs2/btree.c node = nilfs_btree_get_nonroot_node(path, level); level 833 fs/nilfs2/btree.c left = nilfs_btree_get_sib_node(path, level); level 840 fs/nilfs2/btree.c if (n > path[level].bp_index) { level 848 fs/nilfs2/btree.c if (!buffer_dirty(path[level].bp_bh)) level 849 fs/nilfs2/btree.c mark_buffer_dirty(path[level].bp_bh); level 850 fs/nilfs2/btree.c if (!buffer_dirty(path[level].bp_sib_bh)) level 851 fs/nilfs2/btree.c mark_buffer_dirty(path[level].bp_sib_bh); level 853 fs/nilfs2/btree.c nilfs_btree_promote_key(btree, path, level + 1, level 857 fs/nilfs2/btree.c brelse(path[level].bp_bh); level 858 fs/nilfs2/btree.c path[level].bp_bh = path[level].bp_sib_bh; level 859 fs/nilfs2/btree.c path[level].bp_sib_bh = NULL; level 860 fs/nilfs2/btree.c path[level].bp_index += lnchildren; level 861 fs/nilfs2/btree.c path[level + 1].bp_index--; level 863 fs/nilfs2/btree.c brelse(path[level].bp_sib_bh); level 864 fs/nilfs2/btree.c path[level].bp_sib_bh = NULL; level 865 fs/nilfs2/btree.c path[level].bp_index -= n; level 868 fs/nilfs2/btree.c nilfs_btree_do_insert(btree, path, level, keyp, ptrp); level 873 fs/nilfs2/btree.c int level, __u64 *keyp, __u64 *ptrp) level 878 fs/nilfs2/btree.c node = nilfs_btree_get_nonroot_node(path, level); level 879 fs/nilfs2/btree.c right = nilfs_btree_get_sib_node(path, level); level 886 fs/nilfs2/btree.c if (n > nchildren - path[level].bp_index) { level 894 fs/nilfs2/btree.c if (!buffer_dirty(path[level].bp_bh)) level 895 fs/nilfs2/btree.c mark_buffer_dirty(path[level].bp_bh); level 896 fs/nilfs2/btree.c if (!buffer_dirty(path[level].bp_sib_bh)) level 897 fs/nilfs2/btree.c mark_buffer_dirty(path[level].bp_sib_bh); level 899 fs/nilfs2/btree.c path[level + 1].bp_index++; level 900 fs/nilfs2/btree.c nilfs_btree_promote_key(btree, path, level + 1, level 902 fs/nilfs2/btree.c path[level + 1].bp_index--; level 905 fs/nilfs2/btree.c brelse(path[level].bp_bh); level 906 fs/nilfs2/btree.c path[level].bp_bh = path[level].bp_sib_bh; level 907 fs/nilfs2/btree.c path[level].bp_sib_bh = NULL; level 908 fs/nilfs2/btree.c path[level].bp_index -= nilfs_btree_node_get_nchildren(node); level 909 fs/nilfs2/btree.c path[level + 1].bp_index++; level 911 fs/nilfs2/btree.c brelse(path[level].bp_sib_bh); level 912 fs/nilfs2/btree.c path[level].bp_sib_bh = NULL; level 915 fs/nilfs2/btree.c nilfs_btree_do_insert(btree, path, level, keyp, ptrp); level 920 fs/nilfs2/btree.c int level, __u64 *keyp, __u64 *ptrp) level 925 fs/nilfs2/btree.c node = nilfs_btree_get_nonroot_node(path, level); level 926 fs/nilfs2/btree.c right = nilfs_btree_get_sib_node(path, level); level 932 fs/nilfs2/btree.c if (n > nchildren - path[level].bp_index) { level 939 fs/nilfs2/btree.c if (!buffer_dirty(path[level].bp_bh)) level 940 fs/nilfs2/btree.c mark_buffer_dirty(path[level].bp_bh); level 941 fs/nilfs2/btree.c if (!buffer_dirty(path[level].bp_sib_bh)) level 942 fs/nilfs2/btree.c mark_buffer_dirty(path[level].bp_sib_bh); level 945 fs/nilfs2/btree.c path[level].bp_index -= nilfs_btree_node_get_nchildren(node); level 946 fs/nilfs2/btree.c nilfs_btree_node_insert(right, path[level].bp_index, level 950 fs/nilfs2/btree.c *ptrp = path[level].bp_newreq.bpr_ptr; level 952 fs/nilfs2/btree.c brelse(path[level].bp_bh); level 953 fs/nilfs2/btree.c path[level].bp_bh = path[level].bp_sib_bh; level 954 fs/nilfs2/btree.c path[level].bp_sib_bh = NULL; level 956 fs/nilfs2/btree.c nilfs_btree_do_insert(btree, path, level, keyp, ptrp); level 959 fs/nilfs2/btree.c *ptrp = path[level].bp_newreq.bpr_ptr; level 961 fs/nilfs2/btree.c brelse(path[level].bp_sib_bh); level 962 fs/nilfs2/btree.c path[level].bp_sib_bh = NULL; level 965 fs/nilfs2/btree.c path[level + 1].bp_index++; level 970 fs/nilfs2/btree.c int level, __u64 *keyp, __u64 *ptrp) level 976 fs/nilfs2/btree.c child = nilfs_btree_get_sib_node(path, level); level 983 fs/nilfs2/btree.c nilfs_btree_node_set_level(root, level + 1); level 985 fs/nilfs2/btree.c if (!buffer_dirty(path[level].bp_sib_bh)) level 986 fs/nilfs2/btree.c mark_buffer_dirty(path[level].bp_sib_bh); level 988 fs/nilfs2/btree.c path[level].bp_bh = path[level].bp_sib_bh; level 989 fs/nilfs2/btree.c path[level].bp_sib_bh = NULL; level 991 fs/nilfs2/btree.c nilfs_btree_do_insert(btree, path, level, keyp, ptrp); level 994 fs/nilfs2/btree.c *ptrp = path[level].bp_newreq.bpr_ptr; level 1001 fs/nilfs2/btree.c int level, ncmax; level 1007 fs/nilfs2/btree.c level = NILFS_BTREE_LEVEL_NODE_MIN; level 1008 fs/nilfs2/btree.c if (path[level].bp_index > 0) { level 1009 fs/nilfs2/btree.c node = nilfs_btree_get_node(btree, path, level, &ncmax); level 1011 fs/nilfs2/btree.c path[level].bp_index - 1, level 1016 fs/nilfs2/btree.c level = NILFS_BTREE_LEVEL_NODE_MIN + 1; level 1017 fs/nilfs2/btree.c if (level <= nilfs_btree_height(btree) - 1) { level 1018 fs/nilfs2/btree.c node = nilfs_btree_get_node(btree, path, level, &ncmax); level 1019 fs/nilfs2/btree.c return nilfs_btree_node_get_ptr(node, path[level].bp_index, level 1054 fs/nilfs2/btree.c int pindex, level, ncmax, ncblk, ret; level 1058 fs/nilfs2/btree.c level = NILFS_BTREE_LEVEL_DATA; level 1062 fs/nilfs2/btree.c path[level].bp_newreq.bpr_ptr = level 1067 fs/nilfs2/btree.c ret = nilfs_bmap_prepare_alloc_ptr(btree, &path[level].bp_newreq, dat); level 1073 fs/nilfs2/btree.c for (level = NILFS_BTREE_LEVEL_NODE_MIN; level 1074 fs/nilfs2/btree.c level < nilfs_btree_height(btree) - 1; level 1075 fs/nilfs2/btree.c level++) { level 1076 fs/nilfs2/btree.c node = nilfs_btree_get_nonroot_node(path, level); level 1078 fs/nilfs2/btree.c path[level].bp_op = nilfs_btree_do_insert; level 1083 fs/nilfs2/btree.c parent = nilfs_btree_get_node(btree, path, level + 1, &ncmax); level 1084 fs/nilfs2/btree.c pindex = path[level + 1].bp_index; level 1095 fs/nilfs2/btree.c path[level].bp_sib_bh = bh; level 1096 fs/nilfs2/btree.c path[level].bp_op = nilfs_btree_carry_left; level 1113 fs/nilfs2/btree.c path[level].bp_sib_bh = bh; level 1114 fs/nilfs2/btree.c path[level].bp_op = nilfs_btree_carry_right; level 1123 fs/nilfs2/btree.c path[level].bp_newreq.bpr_ptr = level 1124 fs/nilfs2/btree.c path[level - 1].bp_newreq.bpr_ptr + 1; level 1126 fs/nilfs2/btree.c &path[level].bp_newreq, dat); level 1130 fs/nilfs2/btree.c path[level].bp_newreq.bpr_ptr, level 1138 fs/nilfs2/btree.c nilfs_btree_node_init(sib, 0, level, 0, ncblk, NULL, NULL); level 1139 fs/nilfs2/btree.c path[level].bp_sib_bh = bh; level 1140 fs/nilfs2/btree.c path[level].bp_op = nilfs_btree_split; level 1147 fs/nilfs2/btree.c path[level].bp_op = nilfs_btree_do_insert; level 1153 fs/nilfs2/btree.c path[level].bp_newreq.bpr_ptr = path[level - 1].bp_newreq.bpr_ptr + 1; level 1154 fs/nilfs2/btree.c ret = nilfs_bmap_prepare_alloc_ptr(btree, &path[level].bp_newreq, dat); level 1157 fs/nilfs2/btree.c ret = nilfs_btree_get_new_block(btree, path[level].bp_newreq.bpr_ptr, level 1163 fs/nilfs2/btree.c 0, level, 0, ncblk, NULL, NULL); level 1164 fs/nilfs2/btree.c path[level].bp_sib_bh = bh; level 1165 fs/nilfs2/btree.c path[level].bp_op = nilfs_btree_grow; level 1167 fs/nilfs2/btree.c level++; level 1168 fs/nilfs2/btree.c path[level].bp_op = nilfs_btree_do_insert; level 1175 fs/nilfs2/btree.c *levelp = level; level 1180 fs/nilfs2/btree.c nilfs_bmap_abort_alloc_ptr(btree, &path[level].bp_newreq, dat); level 1182 fs/nilfs2/btree.c for (level--; level > NILFS_BTREE_LEVEL_DATA; level--) { level 1183 fs/nilfs2/btree.c nilfs_btnode_delete(path[level].bp_sib_bh); level 1184 fs/nilfs2/btree.c nilfs_bmap_abort_alloc_ptr(btree, &path[level].bp_newreq, dat); level 1188 fs/nilfs2/btree.c nilfs_bmap_abort_alloc_ptr(btree, &path[level].bp_newreq, dat); level 1190 fs/nilfs2/btree.c *levelp = level; level 1200 fs/nilfs2/btree.c int level; level 1209 fs/nilfs2/btree.c for (level = NILFS_BTREE_LEVEL_NODE_MIN; level <= maxlevel; level++) { level 1211 fs/nilfs2/btree.c &path[level - 1].bp_newreq, dat); level 1212 fs/nilfs2/btree.c path[level].bp_op(btree, path, level, &key, &ptr); level 1223 fs/nilfs2/btree.c int level, ret; level 1237 fs/nilfs2/btree.c ret = nilfs_btree_prepare_insert(btree, path, &level, key, ptr, &stats); level 1240 fs/nilfs2/btree.c nilfs_btree_commit_insert(btree, path, level, key, ptr); level 1250 fs/nilfs2/btree.c int level, __u64 *keyp, __u64 *ptrp) level 1255 fs/nilfs2/btree.c if (level < nilfs_btree_height(btree) - 1) { level 1256 fs/nilfs2/btree.c node = nilfs_btree_get_nonroot_node(path, level); level 1258 fs/nilfs2/btree.c nilfs_btree_node_delete(node, path[level].bp_index, level 1260 fs/nilfs2/btree.c if (!buffer_dirty(path[level].bp_bh)) level 1261 fs/nilfs2/btree.c mark_buffer_dirty(path[level].bp_bh); level 1262 fs/nilfs2/btree.c if (path[level].bp_index == 0) level 1263 fs/nilfs2/btree.c nilfs_btree_promote_key(btree, path, level + 1, level 1267 fs/nilfs2/btree.c nilfs_btree_node_delete(node, path[level].bp_index, level 1275 fs/nilfs2/btree.c int level, __u64 *keyp, __u64 *ptrp) level 1280 fs/nilfs2/btree.c nilfs_btree_do_delete(btree, path, level, keyp, ptrp); level 1282 fs/nilfs2/btree.c node = nilfs_btree_get_nonroot_node(path, level); level 1283 fs/nilfs2/btree.c left = nilfs_btree_get_sib_node(path, level); level 1292 fs/nilfs2/btree.c if (!buffer_dirty(path[level].bp_bh)) level 1293 fs/nilfs2/btree.c mark_buffer_dirty(path[level].bp_bh); level 1294 fs/nilfs2/btree.c if (!buffer_dirty(path[level].bp_sib_bh)) level 1295 fs/nilfs2/btree.c mark_buffer_dirty(path[level].bp_sib_bh); level 1297 fs/nilfs2/btree.c nilfs_btree_promote_key(btree, path, level + 1, level 1300 fs/nilfs2/btree.c brelse(path[level].bp_sib_bh); level 1301 fs/nilfs2/btree.c path[level].bp_sib_bh = NULL; level 1302 fs/nilfs2/btree.c path[level].bp_index += n; level 1307 fs/nilfs2/btree.c int level, __u64 *keyp, __u64 *ptrp) level 1312 fs/nilfs2/btree.c nilfs_btree_do_delete(btree, path, level, keyp, ptrp); level 1314 fs/nilfs2/btree.c node = nilfs_btree_get_nonroot_node(path, level); level 1315 fs/nilfs2/btree.c right = nilfs_btree_get_sib_node(path, level); level 1324 fs/nilfs2/btree.c if (!buffer_dirty(path[level].bp_bh)) level 1325 fs/nilfs2/btree.c mark_buffer_dirty(path[level].bp_bh); level 1326 fs/nilfs2/btree.c if (!buffer_dirty(path[level].bp_sib_bh)) level 1327 fs/nilfs2/btree.c mark_buffer_dirty(path[level].bp_sib_bh); level 1329 fs/nilfs2/btree.c path[level + 1].bp_index++; level 1330 fs/nilfs2/btree.c nilfs_btree_promote_key(btree, path, level + 1, level 1332 fs/nilfs2/btree.c path[level + 1].bp_index--; level 1334 fs/nilfs2/btree.c brelse(path[level].bp_sib_bh); level 1335 fs/nilfs2/btree.c path[level].bp_sib_bh = NULL; level 1340 fs/nilfs2/btree.c int level, __u64 *keyp, __u64 *ptrp) level 1345 fs/nilfs2/btree.c nilfs_btree_do_delete(btree, path, level, keyp, ptrp); level 1347 fs/nilfs2/btree.c node = nilfs_btree_get_nonroot_node(path, level); level 1348 fs/nilfs2/btree.c left = nilfs_btree_get_sib_node(path, level); level 1355 fs/nilfs2/btree.c if (!buffer_dirty(path[level].bp_sib_bh)) level 1356 fs/nilfs2/btree.c mark_buffer_dirty(path[level].bp_sib_bh); level 1358 fs/nilfs2/btree.c nilfs_btnode_delete(path[level].bp_bh); level 1359 fs/nilfs2/btree.c path[level].bp_bh = path[level].bp_sib_bh; level 1360 fs/nilfs2/btree.c path[level].bp_sib_bh = NULL; level 1361 fs/nilfs2/btree.c path[level].bp_index += nilfs_btree_node_get_nchildren(left); level 1366 fs/nilfs2/btree.c int level, __u64 *keyp, __u64 *ptrp) level 1371 fs/nilfs2/btree.c nilfs_btree_do_delete(btree, path, level, keyp, ptrp); level 1373 fs/nilfs2/btree.c node = nilfs_btree_get_nonroot_node(path, level); level 1374 fs/nilfs2/btree.c right = nilfs_btree_get_sib_node(path, level); level 1381 fs/nilfs2/btree.c if (!buffer_dirty(path[level].bp_bh)) level 1382 fs/nilfs2/btree.c mark_buffer_dirty(path[level].bp_bh); level 1384 fs/nilfs2/btree.c nilfs_btnode_delete(path[level].bp_sib_bh); level 1385 fs/nilfs2/btree.c path[level].bp_sib_bh = NULL; level 1386 fs/nilfs2/btree.c path[level + 1].bp_index++; level 1391 fs/nilfs2/btree.c int level, __u64 *keyp, __u64 *ptrp) level 1396 fs/nilfs2/btree.c nilfs_btree_do_delete(btree, path, level, keyp, ptrp); level 1399 fs/nilfs2/btree.c child = nilfs_btree_get_nonroot_node(path, level); level 1404 fs/nilfs2/btree.c nilfs_btree_node_set_level(root, level); level 1409 fs/nilfs2/btree.c nilfs_btnode_delete(path[level].bp_bh); level 1410 fs/nilfs2/btree.c path[level].bp_bh = NULL; level 1415 fs/nilfs2/btree.c int level, __u64 *keyp, __u64 *ptrp) level 1428 fs/nilfs2/btree.c int pindex, dindex, level, ncmin, ncmax, ncblk, ret; level 1435 fs/nilfs2/btree.c for (level = NILFS_BTREE_LEVEL_NODE_MIN, dindex = path[level].bp_index; level 1436 fs/nilfs2/btree.c level < nilfs_btree_height(btree) - 1; level 1437 fs/nilfs2/btree.c level++) { level 1438 fs/nilfs2/btree.c node = nilfs_btree_get_nonroot_node(path, level); level 1439 fs/nilfs2/btree.c path[level].bp_oldreq.bpr_ptr = level 1442 fs/nilfs2/btree.c &path[level].bp_oldreq, dat); level 1447 fs/nilfs2/btree.c path[level].bp_op = nilfs_btree_do_delete; level 1452 fs/nilfs2/btree.c parent = nilfs_btree_get_node(btree, path, level + 1, &ncmax); level 1453 fs/nilfs2/btree.c pindex = path[level + 1].bp_index; level 1465 fs/nilfs2/btree.c path[level].bp_sib_bh = bh; level 1466 fs/nilfs2/btree.c path[level].bp_op = nilfs_btree_borrow_left; level 1470 fs/nilfs2/btree.c path[level].bp_sib_bh = bh; level 1471 fs/nilfs2/btree.c path[level].bp_op = nilfs_btree_concat_left; level 1485 fs/nilfs2/btree.c path[level].bp_sib_bh = bh; level 1486 fs/nilfs2/btree.c path[level].bp_op = nilfs_btree_borrow_right; level 1490 fs/nilfs2/btree.c path[level].bp_sib_bh = bh; level 1491 fs/nilfs2/btree.c path[level].bp_op = nilfs_btree_concat_right; level 1506 fs/nilfs2/btree.c WARN_ON(level != nilfs_btree_height(btree) - 2); level 1509 fs/nilfs2/btree.c path[level].bp_op = nilfs_btree_shrink; level 1511 fs/nilfs2/btree.c level++; level 1512 fs/nilfs2/btree.c path[level].bp_op = nilfs_btree_nop; level 1515 fs/nilfs2/btree.c path[level].bp_op = nilfs_btree_do_delete; level 1523 fs/nilfs2/btree.c path[level].bp_op = nilfs_btree_do_delete; level 1528 fs/nilfs2/btree.c path[level].bp_oldreq.bpr_ptr = level 1532 fs/nilfs2/btree.c ret = nilfs_bmap_prepare_end_ptr(btree, &path[level].bp_oldreq, dat); level 1538 fs/nilfs2/btree.c *levelp = level; level 1543 fs/nilfs2/btree.c nilfs_bmap_abort_end_ptr(btree, &path[level].bp_oldreq, dat); level 1545 fs/nilfs2/btree.c for (level--; level >= NILFS_BTREE_LEVEL_NODE_MIN; level--) { level 1546 fs/nilfs2/btree.c brelse(path[level].bp_sib_bh); level 1547 fs/nilfs2/btree.c nilfs_bmap_abort_end_ptr(btree, &path[level].bp_oldreq, dat); level 1549 fs/nilfs2/btree.c *levelp = level; level 1558 fs/nilfs2/btree.c int level; level 1560 fs/nilfs2/btree.c for (level = NILFS_BTREE_LEVEL_NODE_MIN; level <= maxlevel; level++) { level 1561 fs/nilfs2/btree.c nilfs_bmap_commit_end_ptr(btree, &path[level].bp_oldreq, dat); level 1562 fs/nilfs2/btree.c path[level].bp_op(btree, path, level, NULL, NULL); level 1575 fs/nilfs2/btree.c int level, ret; level 1589 fs/nilfs2/btree.c ret = nilfs_btree_prepare_delete(btree, path, &level, &stats, dat); level 1592 fs/nilfs2/btree.c nilfs_btree_commit_delete(btree, path, level, dat); level 1885 fs/nilfs2/btree.c int level, level 1888 fs/nilfs2/btree.c while ((++level < nilfs_btree_height(btree) - 1) && level 1889 fs/nilfs2/btree.c !buffer_dirty(path[level].bp_bh)) level 1890 fs/nilfs2/btree.c mark_buffer_dirty(path[level].bp_bh); level 1897 fs/nilfs2/btree.c int level, struct inode *dat) level 1902 fs/nilfs2/btree.c parent = nilfs_btree_get_node(btree, path, level + 1, &ncmax); level 1903 fs/nilfs2/btree.c path[level].bp_oldreq.bpr_ptr = level 1904 fs/nilfs2/btree.c nilfs_btree_node_get_ptr(parent, path[level + 1].bp_index, level 1906 fs/nilfs2/btree.c path[level].bp_newreq.bpr_ptr = path[level].bp_oldreq.bpr_ptr + 1; level 1907 fs/nilfs2/btree.c ret = nilfs_dat_prepare_update(dat, &path[level].bp_oldreq.bpr_req, level 1908 fs/nilfs2/btree.c &path[level].bp_newreq.bpr_req); level 1912 fs/nilfs2/btree.c if (buffer_nilfs_node(path[level].bp_bh)) { level 1913 fs/nilfs2/btree.c path[level].bp_ctxt.oldkey = path[level].bp_oldreq.bpr_ptr; level 1914 fs/nilfs2/btree.c path[level].bp_ctxt.newkey = path[level].bp_newreq.bpr_ptr; level 1915 fs/nilfs2/btree.c path[level].bp_ctxt.bh = path[level].bp_bh; level 1918 fs/nilfs2/btree.c &path[level].bp_ctxt); level 1921 fs/nilfs2/btree.c &path[level].bp_oldreq.bpr_req, level 1922 fs/nilfs2/btree.c &path[level].bp_newreq.bpr_req); level 1932 fs/nilfs2/btree.c int level, struct inode *dat) level 1937 fs/nilfs2/btree.c nilfs_dat_commit_update(dat, &path[level].bp_oldreq.bpr_req, level 1938 fs/nilfs2/btree.c &path[level].bp_newreq.bpr_req, level 1941 fs/nilfs2/btree.c if (buffer_nilfs_node(path[level].bp_bh)) { level 1944 fs/nilfs2/btree.c &path[level].bp_ctxt); level 1945 fs/nilfs2/btree.c path[level].bp_bh = path[level].bp_ctxt.bh; level 1947 fs/nilfs2/btree.c set_buffer_nilfs_volatile(path[level].bp_bh); level 1949 fs/nilfs2/btree.c parent = nilfs_btree_get_node(btree, path, level + 1, &ncmax); level 1950 fs/nilfs2/btree.c nilfs_btree_node_set_ptr(parent, path[level + 1].bp_index, level 1951 fs/nilfs2/btree.c path[level].bp_newreq.bpr_ptr, ncmax); level 1956 fs/nilfs2/btree.c int level, struct inode *dat) level 1958 fs/nilfs2/btree.c nilfs_dat_abort_update(dat, &path[level].bp_oldreq.bpr_req, level 1959 fs/nilfs2/btree.c &path[level].bp_newreq.bpr_req); level 1960 fs/nilfs2/btree.c if (buffer_nilfs_node(path[level].bp_bh)) level 1963 fs/nilfs2/btree.c &path[level].bp_ctxt); level 1971 fs/nilfs2/btree.c int level, ret; level 1973 fs/nilfs2/btree.c level = minlevel; level 1974 fs/nilfs2/btree.c if (!buffer_nilfs_volatile(path[level].bp_bh)) { level 1975 fs/nilfs2/btree.c ret = nilfs_btree_prepare_update_v(btree, path, level, dat); level 1979 fs/nilfs2/btree.c while ((++level < nilfs_btree_height(btree) - 1) && level 1980 fs/nilfs2/btree.c !buffer_dirty(path[level].bp_bh)) { level 1982 fs/nilfs2/btree.c WARN_ON(buffer_nilfs_volatile(path[level].bp_bh)); level 1983 fs/nilfs2/btree.c ret = nilfs_btree_prepare_update_v(btree, path, level, dat); level 1989 fs/nilfs2/btree.c *maxlevelp = level - 1; level 1994 fs/nilfs2/btree.c while (--level > minlevel) level 1995 fs/nilfs2/btree.c nilfs_btree_abort_update_v(btree, path, level, dat); level 1996 fs/nilfs2/btree.c if (!buffer_nilfs_volatile(path[level].bp_bh)) level 1997 fs/nilfs2/btree.c nilfs_btree_abort_update_v(btree, path, level, dat); level 2007 fs/nilfs2/btree.c int level; level 2012 fs/nilfs2/btree.c for (level = minlevel + 1; level <= maxlevel; level++) level 2013 fs/nilfs2/btree.c nilfs_btree_commit_update_v(btree, path, level, dat); level 2018 fs/nilfs2/btree.c int level, struct buffer_head *bh) level 2027 fs/nilfs2/btree.c path[level].bp_bh = bh; level 2028 fs/nilfs2/btree.c ret = nilfs_btree_prepare_propagate_v(btree, path, level, &maxlevel, level 2033 fs/nilfs2/btree.c if (buffer_nilfs_volatile(path[level].bp_bh)) { level 2034 fs/nilfs2/btree.c parent = nilfs_btree_get_node(btree, path, level + 1, &ncmax); level 2036 fs/nilfs2/btree.c path[level + 1].bp_index, level 2043 fs/nilfs2/btree.c nilfs_btree_commit_propagate_v(btree, path, level, maxlevel, bh, dat); level 2046 fs/nilfs2/btree.c brelse(path[level].bp_bh); level 2047 fs/nilfs2/btree.c path[level].bp_bh = NULL; level 2057 fs/nilfs2/btree.c int level, ret; level 2068 fs/nilfs2/btree.c level = nilfs_btree_node_get_level(node); level 2071 fs/nilfs2/btree.c level = NILFS_BTREE_LEVEL_DATA; level 2074 fs/nilfs2/btree.c ret = nilfs_btree_do_lookup(btree, path, key, NULL, level + 1, 0); level 2080 fs/nilfs2/btree.c (unsigned long long)key, level); level 2085 fs/nilfs2/btree.c nilfs_btree_propagate_v(btree, path, level, bh) : level 2086 fs/nilfs2/btree.c nilfs_btree_propagate_p(btree, path, level, bh); level 2108 fs/nilfs2/btree.c int level; level 2113 fs/nilfs2/btree.c level = nilfs_btree_node_get_level(node); level 2114 fs/nilfs2/btree.c if (level < NILFS_BTREE_LEVEL_NODE_MIN || level 2115 fs/nilfs2/btree.c level >= NILFS_BTREE_LEVEL_MAX) { level 2119 fs/nilfs2/btree.c level, (unsigned long long)key, level 2125 fs/nilfs2/btree.c list_for_each(head, &lists[level]) { level 2143 fs/nilfs2/btree.c int level, i; level 2145 fs/nilfs2/btree.c for (level = NILFS_BTREE_LEVEL_NODE_MIN; level 2146 fs/nilfs2/btree.c level < NILFS_BTREE_LEVEL_MAX; level 2147 fs/nilfs2/btree.c level++) level 2148 fs/nilfs2/btree.c INIT_LIST_HEAD(&lists[level]); level 2166 fs/nilfs2/btree.c for (level = NILFS_BTREE_LEVEL_NODE_MIN; level 2167 fs/nilfs2/btree.c level < NILFS_BTREE_LEVEL_MAX; level 2168 fs/nilfs2/btree.c level++) level 2169 fs/nilfs2/btree.c list_splice_tail(&lists[level], listp); level 2174 fs/nilfs2/btree.c int level, level 2184 fs/nilfs2/btree.c parent = nilfs_btree_get_node(btree, path, level + 1, &ncmax); level 2185 fs/nilfs2/btree.c ptr = nilfs_btree_node_get_ptr(parent, path[level + 1].bp_index, level 2188 fs/nilfs2/btree.c path[level].bp_ctxt.oldkey = ptr; level 2189 fs/nilfs2/btree.c path[level].bp_ctxt.newkey = blocknr; level 2190 fs/nilfs2/btree.c path[level].bp_ctxt.bh = *bh; level 2193 fs/nilfs2/btree.c &path[level].bp_ctxt); level 2198 fs/nilfs2/btree.c &path[level].bp_ctxt); level 2199 fs/nilfs2/btree.c *bh = path[level].bp_ctxt.bh; level 2202 fs/nilfs2/btree.c nilfs_btree_node_set_ptr(parent, path[level + 1].bp_index, blocknr, level 2205 fs/nilfs2/btree.c key = nilfs_btree_node_get_key(parent, path[level + 1].bp_index); level 2208 fs/nilfs2/btree.c binfo->bi_dat.bi_level = level; level 2215 fs/nilfs2/btree.c int level, level 2227 fs/nilfs2/btree.c parent = nilfs_btree_get_node(btree, path, level + 1, &ncmax); level 2228 fs/nilfs2/btree.c ptr = nilfs_btree_node_get_ptr(parent, path[level + 1].bp_index, level 2236 fs/nilfs2/btree.c key = nilfs_btree_node_get_key(parent, path[level + 1].bp_index); level 2252 fs/nilfs2/btree.c int level, ret; level 2261 fs/nilfs2/btree.c level = nilfs_btree_node_get_level(node); level 2264 fs/nilfs2/btree.c level = NILFS_BTREE_LEVEL_DATA; level 2267 fs/nilfs2/btree.c ret = nilfs_btree_do_lookup(btree, path, key, NULL, level + 1, 0); level 2274 fs/nilfs2/btree.c nilfs_btree_assign_v(btree, path, level, bh, blocknr, binfo) : level 2275 fs/nilfs2/btree.c nilfs_btree_assign_p(btree, path, level, bh, blocknr, binfo); level 2310 fs/nilfs2/btree.c static int nilfs_btree_mark(struct nilfs_bmap *btree, __u64 key, int level) level 2321 fs/nilfs2/btree.c ret = nilfs_btree_do_lookup(btree, path, key, &ptr, level + 1, 0); level 36 fs/nilfs2/direct.c __u64 key, int level, __u64 *ptrp) level 40 fs/nilfs2/direct.c if (key > NILFS_DIRECT_KEY_MAX || level != 1) level 293 fs/nilfs2/nilfs.h void __nilfs_msg(struct super_block *sb, const char *level, level 301 fs/nilfs2/nilfs.h #define nilfs_msg(sb, level, fmt, ...) \ level 302 fs/nilfs2/nilfs.h __nilfs_msg(sb, level, fmt, ##__VA_ARGS__) level 308 fs/nilfs2/nilfs.h #define nilfs_msg(sb, level, fmt, ...) \ level 65 fs/nilfs2/super.c void __nilfs_msg(struct super_block *sb, const char *level, const char *fmt, level 75 fs/nilfs2/super.c printk("%sNILFS (%s): %pV\n", level, sb->s_id, &vaf); level 77 fs/nilfs2/super.c printk("%sNILFS: %pV\n", level, &vaf); level 2423 fs/ocfs2/aops.c int level; level 2442 fs/ocfs2/aops.c level = ocfs2_iocb_rw_locked_level(iocb); level 2443 fs/ocfs2/aops.c ocfs2_rw_unlock(inode, level); level 55 fs/ocfs2/aops.h static inline void ocfs2_iocb_set_rw_locked(struct kiocb *iocb, int level) level 58 fs/ocfs2/aops.h if (level) level 58 fs/ocfs2/cluster/masklog.c const char *level; level 66 fs/ocfs2/cluster/masklog.c level = KERN_ERR; level 69 fs/ocfs2/cluster/masklog.c level = KERN_NOTICE; level 71 fs/ocfs2/cluster/masklog.c level = KERN_INFO; level 80 fs/ocfs2/cluster/masklog.c level, current->comm, task_pid_nr(current), level 103 fs/ocfs2/dlmfs/dlmfs.c int *level, level 107 fs/ocfs2/dlmfs/dlmfs.c *level = DLM_LOCK_EX; level 109 fs/ocfs2/dlmfs/dlmfs.c *level = DLM_LOCK_PR; level 121 fs/ocfs2/dlmfs/dlmfs.c int status, level, flags; level 131 fs/ocfs2/dlmfs/dlmfs.c status = dlmfs_decode_open_flags(file->f_flags, &level, &flags); level 144 fs/ocfs2/dlmfs/dlmfs.c fp->fp_lock_level = level; level 148 fs/ocfs2/dlmfs/dlmfs.c status = user_dlm_cluster_lock(&ip->ip_lockres, level, flags); level 168 fs/ocfs2/dlmfs/dlmfs.c int level; level 178 fs/ocfs2/dlmfs/dlmfs.c level = fp->fp_lock_level; level 179 fs/ocfs2/dlmfs/dlmfs.c if (level != DLM_LOCK_IV) level 180 fs/ocfs2/dlmfs/dlmfs.c user_dlm_cluster_unlock(&ip->ip_lockres, level); level 102 fs/ocfs2/dlmfs/userdlm.c static inline int user_highest_compat_lock_level(int level) level 106 fs/ocfs2/dlmfs/userdlm.c if (level == DLM_LOCK_EX) level 108 fs/ocfs2/dlmfs/userdlm.c else if (level == DLM_LOCK_PR) level 201 fs/ocfs2/dlmfs/userdlm.c static void user_bast(struct ocfs2_dlm_lksb *lksb, int level) level 206 fs/ocfs2/dlmfs/userdlm.c lockres->l_namelen, lockres->l_name, level, lockres->l_level); level 210 fs/ocfs2/dlmfs/userdlm.c if (level > lockres->l_blocking) level 211 fs/ocfs2/dlmfs/userdlm.c lockres->l_blocking = level; level 386 fs/ocfs2/dlmfs/userdlm.c int level) level 388 fs/ocfs2/dlmfs/userdlm.c switch(level) { level 413 fs/ocfs2/dlmfs/userdlm.c int level, level 420 fs/ocfs2/dlmfs/userdlm.c if (level != DLM_LOCK_EX && level 421 fs/ocfs2/dlmfs/userdlm.c level != DLM_LOCK_PR) { level 429 fs/ocfs2/dlmfs/userdlm.c lockres->l_namelen, lockres->l_name, level, lkm_flags); level 443 fs/ocfs2/dlmfs/userdlm.c (level > lockres->l_level)) { level 453 fs/ocfs2/dlmfs/userdlm.c (!user_may_continue_on_blocked_lock(lockres, level))) { level 462 fs/ocfs2/dlmfs/userdlm.c if (level > lockres->l_level) { level 467 fs/ocfs2/dlmfs/userdlm.c lockres->l_requested = level; level 471 fs/ocfs2/dlmfs/userdlm.c BUG_ON(level == DLM_LOCK_IV); level 472 fs/ocfs2/dlmfs/userdlm.c BUG_ON(level == DLM_LOCK_NL); level 475 fs/ocfs2/dlmfs/userdlm.c status = ocfs2_dlm_lock(conn, level, &lockres->l_lksb, level 491 fs/ocfs2/dlmfs/userdlm.c user_dlm_inc_holders(lockres, level); level 500 fs/ocfs2/dlmfs/userdlm.c int level) level 502 fs/ocfs2/dlmfs/userdlm.c switch(level) { level 517 fs/ocfs2/dlmfs/userdlm.c int level) level 519 fs/ocfs2/dlmfs/userdlm.c if (level != DLM_LOCK_EX && level 520 fs/ocfs2/dlmfs/userdlm.c level != DLM_LOCK_PR) { level 527 fs/ocfs2/dlmfs/userdlm.c user_dlm_dec_holders(lockres, level); level 62 fs/ocfs2/dlmfs/userdlm.h int level, level 65 fs/ocfs2/dlmfs/userdlm.h int level); level 112 fs/ocfs2/dlmglue.c static void ocfs2_dump_meta_lvb_info(u64 level, level 119 fs/ocfs2/dlmglue.c mlog(level, "LVB information for %s (called from %s:%u):\n", level 121 fs/ocfs2/dlmglue.c mlog(level, "version: %u, clusters: %u, generation: 0x%x\n", level 124 fs/ocfs2/dlmglue.c mlog(level, "size: %llu, uid %u, gid %u, mode 0x%x\n", level 128 fs/ocfs2/dlmglue.c mlog(level, "nlink %u, atime_packed 0x%llx, ctime_packed 0x%llx, " level 336 fs/ocfs2/dlmglue.c int level, level 342 fs/ocfs2/dlmglue.c int level, unsigned long caller_ip); level 345 fs/ocfs2/dlmglue.c int level) level 347 fs/ocfs2/dlmglue.c __ocfs2_cluster_unlock(osb, lockres, level, _RET_IP_); level 353 fs/ocfs2/dlmglue.c static int ocfs2_generic_handle_bast(struct ocfs2_lock_res *lockres, int level); level 373 fs/ocfs2/dlmglue.c static inline int ocfs2_highest_compat_lock_level(int level); level 434 fs/ocfs2/dlmglue.c static void ocfs2_update_lock_stats(struct ocfs2_lock_res *res, int level, level 441 fs/ocfs2/dlmglue.c if (level == LKM_PRMODE) level 443 fs/ocfs2/dlmglue.c else if (level == LKM_EXMODE) level 497 fs/ocfs2/dlmglue.c int level, struct ocfs2_mask_waiter *mw, int ret) level 834 fs/ocfs2/dlmglue.c int level) level 838 fs/ocfs2/dlmglue.c switch(level) { level 851 fs/ocfs2/dlmglue.c int level) level 855 fs/ocfs2/dlmglue.c switch(level) { level 872 fs/ocfs2/dlmglue.c static inline int ocfs2_highest_compat_lock_level(int level) level 876 fs/ocfs2/dlmglue.c if (level == DLM_LOCK_EX) level 878 fs/ocfs2/dlmglue.c else if (level == DLM_LOCK_PR) level 974 fs/ocfs2/dlmglue.c int level) level 980 fs/ocfs2/dlmglue.c if (level > lockres->l_blocking) { level 985 fs/ocfs2/dlmglue.c if (ocfs2_highest_compat_lock_level(level) < level 989 fs/ocfs2/dlmglue.c lockres->l_blocking = level; level 993 fs/ocfs2/dlmglue.c lockres->l_name, level, lockres->l_level, lockres->l_blocking, level 1108 fs/ocfs2/dlmglue.c static void ocfs2_blocking_ast(struct ocfs2_dlm_lksb *lksb, int level) level 1115 fs/ocfs2/dlmglue.c BUG_ON(level <= DLM_LOCK_NL); level 1118 fs/ocfs2/dlmglue.c "type %s\n", lockres->l_name, level, lockres->l_level, level 1129 fs/ocfs2/dlmglue.c needs_downconvert = ocfs2_generic_handle_bast(lockres, level); level 1305 fs/ocfs2/dlmglue.c int level, level 1312 fs/ocfs2/dlmglue.c mlog(0, "lock %s, level = %d, flags = %u\n", lockres->l_name, level, level 1323 fs/ocfs2/dlmglue.c lockres->l_requested = level; level 1329 fs/ocfs2/dlmglue.c level, level 1465 fs/ocfs2/dlmglue.c int level, level 1508 fs/ocfs2/dlmglue.c level > lockres->l_level) { level 1531 fs/ocfs2/dlmglue.c if (level <= lockres->l_level) level 1536 fs/ocfs2/dlmglue.c !ocfs2_may_continue_on_blocked_lock(lockres, level)) { level 1544 fs/ocfs2/dlmglue.c if (level > lockres->l_level) { level 1564 fs/ocfs2/dlmglue.c lockres->l_requested = level; level 1569 fs/ocfs2/dlmglue.c BUG_ON(level == DLM_LOCK_IV); level 1570 fs/ocfs2/dlmglue.c BUG_ON(level == DLM_LOCK_NL); level 1573 fs/ocfs2/dlmglue.c lockres->l_name, lockres->l_level, level); level 1577 fs/ocfs2/dlmglue.c level, level 1607 fs/ocfs2/dlmglue.c ocfs2_inc_holders(lockres, level); level 1649 fs/ocfs2/dlmglue.c ocfs2_update_lock_stats(lockres, level, &mw, ret); level 1653 fs/ocfs2/dlmglue.c if (level == DLM_LOCK_PR) level 1668 fs/ocfs2/dlmglue.c int level, level 1672 fs/ocfs2/dlmglue.c return __ocfs2_cluster_lock(osb, lockres, level, lkm_flags, arg_flags, level 1679 fs/ocfs2/dlmglue.c int level, level 1685 fs/ocfs2/dlmglue.c ocfs2_dec_holders(lockres, level); level 1699 fs/ocfs2/dlmglue.c int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; level 1708 fs/ocfs2/dlmglue.c return ocfs2_lock_create(osb, lockres, level, lkm_flags); level 1760 fs/ocfs2/dlmglue.c int status, level; level 1773 fs/ocfs2/dlmglue.c level = write ? DLM_LOCK_EX : DLM_LOCK_PR; level 1775 fs/ocfs2/dlmglue.c status = ocfs2_cluster_lock(osb, lockres, level, 0, 0); level 1784 fs/ocfs2/dlmglue.c int status, level; level 1797 fs/ocfs2/dlmglue.c level = write ? DLM_LOCK_EX : DLM_LOCK_PR; level 1799 fs/ocfs2/dlmglue.c status = ocfs2_cluster_lock(osb, lockres, level, DLM_LKF_NOQUEUE, 0); level 1805 fs/ocfs2/dlmglue.c int level = write ? DLM_LOCK_EX : DLM_LOCK_PR; level 1814 fs/ocfs2/dlmglue.c ocfs2_cluster_unlock(osb, lockres, level); level 1844 fs/ocfs2/dlmglue.c int status = 0, level; level 1863 fs/ocfs2/dlmglue.c level = write ? DLM_LOCK_EX : DLM_LOCK_PR; level 1871 fs/ocfs2/dlmglue.c status = ocfs2_cluster_lock(osb, lockres, level, DLM_LKF_NOQUEUE, 0); level 1901 fs/ocfs2/dlmglue.c int level) level 1935 fs/ocfs2/dlmglue.c if (lockres->l_level == level) level 1970 fs/ocfs2/dlmglue.c int ret, level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; level 2014 fs/ocfs2/dlmglue.c lockres->l_requested = level; level 2020 fs/ocfs2/dlmglue.c ret = ocfs2_dlm_lock(osb->cconn, level, &lockres->l_lksb, lkm_flags, level 2050 fs/ocfs2/dlmglue.c ret = ocfs2_flock_handle_signal(lockres, level); level 2051 fs/ocfs2/dlmglue.c } else if (!ret && (level > lockres->l_level)) { level 2416 fs/ocfs2/dlmglue.c int status, level, acquired; level 2444 fs/ocfs2/dlmglue.c level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; level 2449 fs/ocfs2/dlmglue.c status = __ocfs2_cluster_lock(osb, lockres, level, dlm_flags, level 2558 fs/ocfs2/dlmglue.c int *level, int wait) level 2591 fs/ocfs2/dlmglue.c *level = 1; level 2596 fs/ocfs2/dlmglue.c *level = 0; level 2604 fs/ocfs2/dlmglue.c int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; level 2614 fs/ocfs2/dlmglue.c ocfs2_cluster_unlock(osb, lockres, level); level 2779 fs/ocfs2/dlmglue.c int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; level 2788 fs/ocfs2/dlmglue.c status = ocfs2_cluster_lock(osb, lockres, level, 0, 0); level 2805 fs/ocfs2/dlmglue.c ocfs2_cluster_unlock(osb, lockres, level); level 2817 fs/ocfs2/dlmglue.c int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; level 2821 fs/ocfs2/dlmglue.c ocfs2_cluster_unlock(osb, lockres, level); level 2945 fs/ocfs2/dlmglue.c int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; level 2960 fs/ocfs2/dlmglue.c ret = ocfs2_cluster_lock(osb, &dl->dl_lockres, level, 0, 0); level 2969 fs/ocfs2/dlmglue.c int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; level 2974 fs/ocfs2/dlmglue.c ocfs2_cluster_unlock(osb, &dl->dl_lockres, level); level 3711 fs/ocfs2/dlmglue.c int level; level 3846 fs/ocfs2/dlmglue.c level = lockres->l_level; level 3858 fs/ocfs2/dlmglue.c if ((blocking != lockres->l_blocking) || (level != lockres->l_level)) { level 3863 fs/ocfs2/dlmglue.c lockres->l_blocking, level, lockres->l_level); level 4148 fs/ocfs2/dlmglue.c int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; level 4151 fs/ocfs2/dlmglue.c ocfs2_cluster_unlock(osb, lockres, level); level 4203 fs/ocfs2/dlmglue.c int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; level 4215 fs/ocfs2/dlmglue.c status = ocfs2_cluster_lock(osb, lockres, level, 0, 0); level 4234 fs/ocfs2/dlmglue.c int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; level 4245 fs/ocfs2/dlmglue.c status = ocfs2_cluster_lock(osb, lockres, level, 0, 0); level 4254 fs/ocfs2/dlmglue.c int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; level 4259 fs/ocfs2/dlmglue.c ocfs2_cluster_unlock(osb, lockres, level); level 136 fs/ocfs2/dlmglue.h int *level, int wait); level 27 fs/ocfs2/locks.c int ret = 0, level = 0, trylock = 0; level 32 fs/ocfs2/locks.c level = 1; level 46 fs/ocfs2/locks.c if (level == old_level) level 64 fs/ocfs2/locks.c ret = ocfs2_file_lock(file, level, trylock); level 163 fs/ocfs2/stack_o2cb.c static void o2dlm_blocking_ast_wrapper(void *astarg, int level) level 167 fs/ocfs2/stack_o2cb.c lksb->lksb_conn->cc_proto->lp_blocking_ast(lksb, level); level 674 fs/ocfs2/stack_user.c static void fsdlm_blocking_ast_wrapper(void *astarg, int level) level 678 fs/ocfs2/stack_user.c lksb->lksb_conn->cc_proto->lp_blocking_ast(lksb, level); level 84 fs/ocfs2/stackglue.h void (*lp_blocking_ast)(struct ocfs2_dlm_lksb *lksb, int level); level 343 fs/overlayfs/overlayfs.h struct dentry *dentry, int level); level 1022 fs/overlayfs/readdir.c static void ovl_workdir_cleanup_recurse(struct path *path, int level) level 1055 fs/overlayfs/readdir.c ovl_workdir_cleanup(dir, path->mnt, dentry, level); level 1064 fs/overlayfs/readdir.c struct dentry *dentry, int level) level 1068 fs/overlayfs/readdir.c if (!d_is_dir(dentry) || level > 1) { level 1078 fs/overlayfs/readdir.c ovl_workdir_cleanup_recurse(&path, level + 1); level 214 fs/proc/array.c for (g = ns->level; g <= pid->level; g++) level 217 fs/proc/array.c for (g = ns->level; g <= pid->level; g++) level 220 fs/proc/array.c for (g = ns->level; g <= pid->level; g++) level 223 fs/proc/array.c for (g = ns->level; g <= pid->level; g++) level 3215 fs/proc/base.c for (i = 0; i <= pid->level; i++) { level 2315 fs/reiserfs/fix_node.c const char *descr, int level) level 2322 fs/reiserfs/fix_node.c "(%b)", descr, level, bh); level 2327 fs/reiserfs/fix_node.c descr, level, bh); level 2332 fs/reiserfs/fix_node.c descr, level, bh); level 2337 fs/reiserfs/fix_node.c descr, level, bh); level 2342 fs/reiserfs/fix_node.c descr, level, bh); level 2347 fs/reiserfs/fix_node.c descr, level, bh); level 2353 fs/reiserfs/fix_node.c const char *descr, int level) level 316 fs/reiserfs/prints.c void reiserfs_debug(struct super_block *s, int level, const char *fmt, ...) level 51 fs/reiserfs/procfs.c #define SFPL( x ) SFP( x[ level ] ) level 137 fs/reiserfs/procfs.c int level; level 154 fs/reiserfs/procfs.c for (level = 0; level < MAX_HEIGHT; ++level) { level 172 fs/reiserfs/procfs.c level, level 3129 fs/reiserfs/reiserfs.h #define PROC_INFO_BH_STAT( sb, bh, level ) \ level 3130 fs/reiserfs/reiserfs.h PROC_INFO_INC( sb, sbk_read_at[ ( level ) ] ); \ level 3131 fs/reiserfs/reiserfs.h PROC_INFO_ADD( sb, free_at[ ( level ) ], B_FREE_SPACE( bh ) ); \ level 3132 fs/reiserfs/reiserfs.h PROC_INFO_ADD( sb, items_at[ ( level ) ], B_NR_ITEMS( bh ) ) level 3199 fs/reiserfs/reiserfs.h void reiserfs_debug(struct super_block *s, int level, const char *fmt, ...); level 503 fs/reiserfs/stree.c static int is_tree_node(struct buffer_head *bh, int level) level 505 fs/reiserfs/stree.c if (B_LEVEL(bh) != level) { level 508 fs/reiserfs/stree.c B_LEVEL(bh), level); level 511 fs/reiserfs/stree.c if (level == DISK_LEAF_NODE_LEVEL) level 1638 fs/super.c void __sb_end_write(struct super_block *sb, int level) level 1640 fs/super.c percpu_up_read(sb->s_writers.rw_sem + level-1); level 1648 fs/super.c int __sb_start_write(struct super_block *sb, int level, bool wait) level 1666 fs/super.c for (i = 0; i < level - 1; i++) level 1674 fs/super.c percpu_down_read(sb->s_writers.rw_sem + level-1); level 1676 fs/super.c ret = percpu_down_read_trylock(sb->s_writers.rw_sem + level-1); level 1691 fs/super.c static void sb_wait_write(struct super_block *sb, int level) level 1693 fs/super.c percpu_down_write(sb->s_writers.rw_sem + level-1); level 1702 fs/super.c int level; level 1704 fs/super.c for (level = SB_FREEZE_LEVELS - 1; level >= 0; level--) level 1705 fs/super.c percpu_rwsem_release(sb->s_writers.rw_sem + level, 0, _THIS_IP_); level 1713 fs/super.c int level; level 1715 fs/super.c for (level = 0; level < SB_FREEZE_LEVELS; ++level) level 1716 fs/super.c percpu_rwsem_acquire(sb->s_writers.rw_sem + level, 0, _THIS_IP_); level 1721 fs/super.c int level; level 1723 fs/super.c for (level = SB_FREEZE_LEVELS - 1; level >= 0; level--) level 1724 fs/super.c percpu_up_write(sb->s_writers.rw_sem + level); level 533 fs/ubifs/commit.c d->old_zroot_level = le16_to_cpu(idx->level); level 609 fs/ubifs/commit.c if (le16_to_cpu(idx->level) != d->old_zroot_level) { level 618 fs/ubifs/commit.c last_level = le16_to_cpu(idx->level) + 1; level 624 fs/ubifs/commit.c if (le16_to_cpu(idx->level) != last_level - 1) { level 654 fs/ubifs/commit.c if (le16_to_cpu(idx->level) == 0) { level 682 fs/ubifs/commit.c last_level = le16_to_cpu(idx->level); level 501 fs/ubifs/debug.c pr_err("\tlevel %d\n", (int)le16_to_cpu(idx->level)); level 863 fs/ubifs/debug.c znode->level, znode->child_cnt, znode->flags); level 873 fs/ubifs/debug.c if (znode->level > 0) level 912 fs/ubifs/debug.c pnode->flags, iip, pnode->level, pnode->num); level 924 fs/ubifs/debug.c int level; level 929 fs/ubifs/debug.c level = znode->level; level 930 fs/ubifs/debug.c pr_err("== Level %d ==\n", level); level 932 fs/ubifs/debug.c if (level != znode->level) { level 933 fs/ubifs/debug.c level = znode->level; level 934 fs/ubifs/debug.c pr_err("== Level %d ==\n", level); level 1273 fs/ubifs/debug.c if (znode->level < 0) { level 1314 fs/ubifs/debug.c if (znode->level != zp->level - 1) { level 1394 fs/ubifs/debug.c if (znode->level != 0 || c->replaying) level 1438 fs/ubifs/debug.c if (znode->level != 0 && znode->zbranch[n].znode) level 1511 fs/ubifs/debug.c if (prev->level == 0 && znode->level == 0 && !c->replaying && level 1585 fs/ubifs/debug.c while (znode->level > 0) { level 1614 fs/ubifs/debug.c if (leaf_cb && znode->level == 0) { level 1652 fs/ubifs/debug.c while (znode->level > 0) { level 555 fs/ubifs/gc.c int level = le16_to_cpu(idx->level); level 559 fs/ubifs/gc.c err = ubifs_dirty_idx_node(c, &snod->key, level, lnum, level 1114 fs/ubifs/lprops.c int found, level = 0; level 1131 fs/ubifs/lprops.c level = le16_to_cpu(idx->level); level 1134 fs/ubifs/lprops.c found = ubifs_tnc_has_node(c, &snod->key, level, lnum, level 555 fs/ubifs/lpt.c shft = (c->lpt_hght - parent->level) * UBIFS_LPT_FANOUT_SHIFT; level 1115 fs/ubifs/lpt.c lvl = parent ? parent->level - 1 : c->lpt_hght; level 1247 fs/ubifs/lpt.c nnode->level = parent->level - 1; level 1250 fs/ubifs/lpt.c nnode->level = c->lpt_hght; level 1687 fs/ubifs/lpt.c if (cnode->level > 1) { level 1993 fs/ubifs/lpt.c nnode->level = parent->level - 1; level 2393 fs/ubifs/lpt.c if (cnode->level) { level 42 fs/ubifs/lpt_commit.c if (cnode->level == 0) level 73 fs/ubifs/lpt_commit.c if (cnode->level == 0) level 215 fs/ubifs/lpt_commit.c if (cnode->level) { level 397 fs/ubifs/lpt_commit.c if (cnode->level) level 438 fs/ubifs/lpt_commit.c if (cnode->level) level 583 fs/ubifs/lpt_commit.c while (nnode->level > 1) { level 205 fs/ubifs/tnc.c if (znode->level != 0) { level 625 fs/ubifs/tnc.c while (znode->level != 0) { level 669 fs/ubifs/tnc.c while (znode->level != 0) { level 1098 fs/ubifs/tnc.c if (c->zroot.znode->level > BOTTOM_UP_HEIGHT) { level 1100 fs/ubifs/tnc.c c->bottom_up_buf = kmalloc_array(c->zroot.znode->level, level 1107 fs/ubifs/tnc.c if (c->zroot.znode->level) { level 1116 fs/ubifs/tnc.c ubifs_assert(c, p < c->zroot.znode->level); level 1194 fs/ubifs/tnc.c if (znode->level == 0) level 1215 fs/ubifs/tnc.c dbg_tnc("found %d, lvl %d, n %d", exact, znode->level, *n); level 1264 fs/ubifs/tnc.c dbg_tnc("found 0, lvl %d, n -1", znode->level); level 1271 fs/ubifs/tnc.c dbg_tnc("found 0, lvl %d, n -1", znode->level); level 1276 fs/ubifs/tnc.c dbg_tnc("found 1, lvl %d, n %d", znode->level, *n); level 1333 fs/ubifs/tnc.c if (znode->level == 0) level 1359 fs/ubifs/tnc.c dbg_tnc("found %d, lvl %d, n %d", exact, znode->level, *n); level 1370 fs/ubifs/tnc.c dbg_tnc("found 0, lvl %d, n -1", znode->level); level 1377 fs/ubifs/tnc.c dbg_tnc("found 0, lvl %d, n -1", znode->level); level 1387 fs/ubifs/tnc.c dbg_tnc("found 1, lvl %d, n %d", znode->level, *n); level 2036 fs/ubifs/tnc.c if (znode->level) { level 2095 fs/ubifs/tnc.c dbg_tnck(key, "inserted at %d level %d, key ", n, znode->level); level 2110 fs/ubifs/tnc.c dbg_tnck(key, "splitting level %d, key ", znode->level); level 2123 fs/ubifs/tnc.c zn->level = znode->level; level 2126 fs/ubifs/tnc.c if (znode->level == 0 && key_type(c, key) == UBIFS_DATA_KEY) { level 2178 fs/ubifs/tnc.c if (zn->level != 0) level 2196 fs/ubifs/tnc.c if (zn->level != 0) level 2204 fs/ubifs/tnc.c dbg_tnck(key, "inserting at %d level %d, key ", n, zn->level); level 2228 fs/ubifs/tnc.c dbg_tnc("creating new zroot at level %d", znode->level + 1); level 2235 fs/ubifs/tnc.c zi->level = znode->level + 1; level 2510 fs/ubifs/tnc.c ubifs_assert(c, znode->level == 0); level 2560 fs/ubifs/tnc.c ubifs_assert(c, znode->level != 0); level 2572 fs/ubifs/tnc.c while (znode->child_cnt == 1 && znode->level != 0) { level 3088 fs/ubifs/tnc.c int level = znode->level; level 3102 fs/ubifs/tnc.c while (znode->level != level) { level 3125 fs/ubifs/tnc.c int level = znode->level; level 3139 fs/ubifs/tnc.c while (znode->level != level) { level 3176 fs/ubifs/tnc.c union ubifs_key *key, int level, level 3188 fs/ubifs/tnc.c if (level < 0) level 3202 fs/ubifs/tnc.c if (level >= znode->level) level 3223 fs/ubifs/tnc.c if (znode->level == level + 1) level 3304 fs/ubifs/tnc.c int is_idx_node_in_tnc(struct ubifs_info *c, union ubifs_key *key, int level, level 3309 fs/ubifs/tnc.c znode = lookup_znode(c, key, level, lnum, offs); level 3401 fs/ubifs/tnc.c int ubifs_tnc_has_node(struct ubifs_info *c, union ubifs_key *key, int level, level 3408 fs/ubifs/tnc.c err = is_idx_node_in_tnc(c, key, level, lnum, offs); level 3441 fs/ubifs/tnc.c int ubifs_dirty_idx_node(struct ubifs_info *c, union ubifs_key *key, int level, level 3448 fs/ubifs/tnc.c znode = lookup_znode(c, key, level, lnum, offs); level 35 fs/ubifs/tnc_commit.c idx->level = cpu_to_le16(znode->level); level 199 fs/ubifs/tnc_commit.c int level, int lnum, int offs) level 203 fs/ubifs/tnc_commit.c ret = is_idx_node_in_tnc(c, key, level, lnum, offs); level 253 fs/ubifs/tnc_commit.c int in_use, level; level 258 fs/ubifs/tnc_commit.c level = le16_to_cpu(idx->level); level 260 fs/ubifs/tnc_commit.c in_use = is_idx_node_in_use(c, &snod->key, level, lnum, level 593 fs/ubifs/tnc_commit.c if (znode->level == 0) { level 868 fs/ubifs/tnc_commit.c idx->level = cpu_to_le16(znode->level); level 1100 fs/ubifs/tnc_commit.c dbg_cmt("TNC height is %d", c->zroot.znode->level + 1); level 33 fs/ubifs/tnc_misc.c int level, iip, level_search = 0; level 42 fs/ubifs/tnc_misc.c if (znode->level == 0) level 47 fs/ubifs/tnc_misc.c level = znode->level; level 51 fs/ubifs/tnc_misc.c ubifs_assert(c, znode->level <= zr->level); level 65 fs/ubifs/tnc_misc.c level -= 1; level 66 fs/ubifs/tnc_misc.c if (level_search || level < 0) level 90 fs/ubifs/tnc_misc.c while (zn->level != level) { level 104 fs/ubifs/tnc_misc.c ubifs_assert(c, zn->level >= 0); level 174 fs/ubifs/tnc_misc.c while (znode->level > 0) { level 234 fs/ubifs/tnc_misc.c if (zn->level > 0 && level 292 fs/ubifs/tnc_misc.c znode->level = le16_to_cpu(idx->level); level 295 fs/ubifs/tnc_misc.c lnum, offs, znode->level, znode->child_cnt); level 297 fs/ubifs/tnc_misc.c if (znode->child_cnt > c->fanout || znode->level > UBIFS_MAX_LEVELS) { level 301 fs/ubifs/tnc_misc.c UBIFS_MAX_LEVELS, znode->level); level 340 fs/ubifs/tnc_misc.c if (znode->level) level 829 fs/ubifs/ubifs-media.h __le16 level; level 554 fs/ubifs/ubifs.h int level; level 573 fs/ubifs/ubifs.h int level; level 611 fs/ubifs/ubifs.h int level; level 782 fs/ubifs/ubifs.h int level; level 1845 fs/ubifs/ubifs.h int ubifs_tnc_has_node(struct ubifs_info *c, union ubifs_key *key, int level, level 1847 fs/ubifs/ubifs.h int ubifs_dirty_idx_node(struct ubifs_info *c, union ubifs_key *key, int level, level 1851 fs/ubifs/ubifs.h int is_idx_node_in_tnc(struct ubifs_info *c, union ubifs_key *key, int level, level 16 fs/verity/enable.c static int build_merkle_tree_level(struct inode *inode, unsigned int level, level 31 fs/verity/enable.c if (level < params->num_levels) { level 32 fs/verity/enable.c dst_block_num = params->level_start[level]; level 44 fs/verity/enable.c i + 1, num_blocks_to_hash, level); level 46 fs/verity/enable.c if (level == 0) { level 59 fs/verity/enable.c params->level_start[level - 1] + i); level 64 fs/verity/enable.c err, params->level_start[level - 1] + i); level 76 fs/verity/enable.c if (level == params->num_levels) /* Root hash? */ level 120 fs/verity/enable.c unsigned int level; level 141 fs/verity/enable.c for (level = 0; level <= params->num_levels; level++) { level 142 fs/verity/enable.c err = build_merkle_tree_level(inode, level, blocks, params, level 131 fs/verity/fsverity_private.h fsverity_msg(const struct inode *inode, const char *level, level 12 fs/verity/init.c void fsverity_msg(const struct inode *inode, const char *level, level 28 fs/verity/init.c level, inode->i_sb->s_id, inode->i_ino, &vaf); level 30 fs/verity/init.c printk("%sfs-verity: %pV\n", level, &vaf); level 38 fs/verity/open.c int level; level 108 fs/verity/open.c for (level = (int)params->num_levels - 1; level >= 0; level--) { level 109 fs/verity/open.c blocks = params->level_start[level]; level 110 fs/verity/open.c params->level_start[level] = offset; level 112 fs/verity/open.c level, blocks, offset); level 26 fs/verity/verify.c pgoff_t dindex, unsigned int level, pgoff_t *hindex, level 32 fs/verity/verify.c position = dindex >> (level * params->log_arity); level 35 fs/verity/verify.c *hindex = params->level_start[level] + (position >> params->log_arity); level 54 fs/verity/verify.c pgoff_t index, int level) level 63 fs/verity/verify.c index, level, level 92 fs/verity/verify.c int level; level 110 fs/verity/verify.c for (level = 0; level < params->num_levels; level++) { level 115 fs/verity/verify.c hash_at_level(params, index, level, &hindex, &hoffset); level 118 fs/verity/verify.c level, hindex, hoffset); level 140 fs/verity/verify.c hpages[level] = hpage; level 141 fs/verity/verify.c hoffsets[level] = hoffset; level 149 fs/verity/verify.c for (; level > 0; level--) { level 150 fs/verity/verify.c struct page *hpage = hpages[level - 1]; level 151 fs/verity/verify.c unsigned int hoffset = hoffsets[level - 1]; level 156 fs/verity/verify.c err = cmp_hashes(vi, want_hash, real_hash, index, level - 1); level 164 fs/verity/verify.c level - 1, params->hash_alg->name, hsize, want_hash); level 173 fs/verity/verify.c for (; level > 0; level--) level 174 fs/verity/verify.c put_page(hpages[level - 1]); level 171 fs/xfs/libxfs/xfs_alloc_btree.c int level) level 173 fs/xfs/libxfs/xfs_alloc_btree.c return cur->bc_mp->m_alloc_mnr[level != 0]; level 179 fs/xfs/libxfs/xfs_alloc_btree.c int level) level 181 fs/xfs/libxfs/xfs_alloc_btree.c return cur->bc_mp->m_alloc_mxr[level != 0]; level 298 fs/xfs/libxfs/xfs_alloc_btree.c unsigned int level; level 319 fs/xfs/libxfs/xfs_alloc_btree.c level = be16_to_cpu(block->bb_level); level 323 fs/xfs/libxfs/xfs_alloc_btree.c if (level >= pag->pagf_levels[btnum]) level 325 fs/xfs/libxfs/xfs_alloc_btree.c } else if (level >= mp->m_ag_maxlevels) level 328 fs/xfs/libxfs/xfs_alloc_btree.c return xfs_btree_sblock_verify(bp, mp->m_alloc_mxr[level != 0]); level 1209 fs/xfs/libxfs/xfs_attr.c int level; level 1219 fs/xfs/libxfs/xfs_attr.c for (blk = path->blk, level = 0; level < path->active; blk++, level++) { level 1234 fs/xfs/libxfs/xfs_attr.c for (blk = path->blk, level = 0; level < path->active; blk++, level++) { level 1257 fs/xfs/libxfs/xfs_attr.c int level, error; level 1267 fs/xfs/libxfs/xfs_attr.c for (blk = path->blk, level = 0; level < path->active; blk++, level++) { level 1286 fs/xfs/libxfs/xfs_attr.c for (blk = path->blk, level = 0; level < path->active; blk++, level++) { level 54 fs/xfs/libxfs/xfs_bmap.c int level; /* btree level */ level 87 fs/xfs/libxfs/xfs_bmap.c for (level = 1; maxblocks > 1; level++) { level 93 fs/xfs/libxfs/xfs_bmap.c mp->m_bm_maxlevels[whichfork] = level; level 163 fs/xfs/libxfs/xfs_bmap.c int level; /* btree level number */ level 170 fs/xfs/libxfs/xfs_bmap.c for (level = 0, rval = 0; level 171 fs/xfs/libxfs/xfs_bmap.c level < XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK); level 172 fs/xfs/libxfs/xfs_bmap.c level++) { level 178 fs/xfs/libxfs/xfs_bmap.c level - 1; level 179 fs/xfs/libxfs/xfs_bmap.c if (level == 0) level 325 fs/xfs/libxfs/xfs_bmap.c int level; /* btree level, for checking */ level 348 fs/xfs/libxfs/xfs_bmap.c level = be16_to_cpu(block->bb_level); level 349 fs/xfs/libxfs/xfs_bmap.c ASSERT(level > 0); level 362 fs/xfs/libxfs/xfs_bmap.c while (level-- > 0) { level 375 fs/xfs/libxfs/xfs_bmap.c if (level == 0) level 1176 fs/xfs/libxfs/xfs_bmap.c int level; level 1190 fs/xfs/libxfs/xfs_bmap.c level = be16_to_cpu(block->bb_level); level 1191 fs/xfs/libxfs/xfs_bmap.c if (unlikely(level == 0)) { level 1202 fs/xfs/libxfs/xfs_bmap.c while (level-- > 0) { level 1208 fs/xfs/libxfs/xfs_bmap.c if (level == 0) level 300 fs/xfs/libxfs/xfs_bmap_btree.c int level) level 302 fs/xfs/libxfs/xfs_bmap_btree.c if (level == cur->bc_nlevels - 1) { level 309 fs/xfs/libxfs/xfs_bmap_btree.c ifp->if_broot_bytes, level == 0) / 2; level 312 fs/xfs/libxfs/xfs_bmap_btree.c return cur->bc_mp->m_bmap_dmnr[level != 0]; level 318 fs/xfs/libxfs/xfs_bmap_btree.c int level) level 320 fs/xfs/libxfs/xfs_bmap_btree.c if (level == cur->bc_nlevels - 1) { level 327 fs/xfs/libxfs/xfs_bmap_btree.c ifp->if_broot_bytes, level == 0); level 330 fs/xfs/libxfs/xfs_bmap_btree.c return cur->bc_mp->m_bmap_dmxr[level != 0]; level 346 fs/xfs/libxfs/xfs_bmap_btree.c int level) level 348 fs/xfs/libxfs/xfs_bmap_btree.c if (level != cur->bc_nlevels - 1) level 349 fs/xfs/libxfs/xfs_bmap_btree.c return cur->bc_mp->m_bmap_dmxr[level != 0]; level 350 fs/xfs/libxfs/xfs_bmap_btree.c return xfs_bmdr_maxrecs(cur->bc_private.b.forksize, level == 0); level 426 fs/xfs/libxfs/xfs_bmap_btree.c unsigned int level; level 448 fs/xfs/libxfs/xfs_bmap_btree.c level = be16_to_cpu(block->bb_level); level 449 fs/xfs/libxfs/xfs_bmap_btree.c if (level > max(mp->m_bm_maxlevels[0], mp->m_bm_maxlevels[1])) level 452 fs/xfs/libxfs/xfs_bmap_btree.c return xfs_btree_lblock_verify(bp, mp->m_bmap_dmxr[level != 0]); level 98 fs/xfs/libxfs/xfs_bmap_btree.h extern int xfs_bmbt_get_maxrecs(struct xfs_btree_cur *, int level); level 60 fs/xfs/libxfs/xfs_btree.c int level, level 79 fs/xfs/libxfs/xfs_btree.c if (be16_to_cpu(block->bb_level) != level) level 82 fs/xfs/libxfs/xfs_btree.c cur->bc_ops->get_maxrecs(cur, level)) level 86 fs/xfs/libxfs/xfs_btree.c level + 1)) level 90 fs/xfs/libxfs/xfs_btree.c level + 1)) level 101 fs/xfs/libxfs/xfs_btree.c int level, level 107 fs/xfs/libxfs/xfs_btree.c fa = __xfs_btree_check_lblock(cur, block, level, bp); level 126 fs/xfs/libxfs/xfs_btree.c int level, level 143 fs/xfs/libxfs/xfs_btree.c if (be16_to_cpu(block->bb_level) != level) level 146 fs/xfs/libxfs/xfs_btree.c cur->bc_ops->get_maxrecs(cur, level)) level 150 fs/xfs/libxfs/xfs_btree.c level + 1)) level 154 fs/xfs/libxfs/xfs_btree.c level + 1)) level 165 fs/xfs/libxfs/xfs_btree.c int level, level 171 fs/xfs/libxfs/xfs_btree.c fa = __xfs_btree_check_sblock(cur, block, level, bp); level 189 fs/xfs/libxfs/xfs_btree.c int level, /* level of the btree block */ level 193 fs/xfs/libxfs/xfs_btree.c return xfs_btree_check_lblock(cur, block, level, bp); level 195 fs/xfs/libxfs/xfs_btree.c return xfs_btree_check_sblock(cur, block, level, bp); level 203 fs/xfs/libxfs/xfs_btree.c int level) level 205 fs/xfs/libxfs/xfs_btree.c if (level <= 0) level 215 fs/xfs/libxfs/xfs_btree.c int level) level 217 fs/xfs/libxfs/xfs_btree.c if (level <= 0) level 231 fs/xfs/libxfs/xfs_btree.c int level) level 235 fs/xfs/libxfs/xfs_btree.c level)) level 241 fs/xfs/libxfs/xfs_btree.c level, index); level 244 fs/xfs/libxfs/xfs_btree.c level)) level 249 fs/xfs/libxfs/xfs_btree.c level, index); level 584 fs/xfs/libxfs/xfs_btree.c int level) level 587 fs/xfs/libxfs/xfs_btree.c cur->bc_ops->get_maxrecs(cur, level) * cur->bc_ops->key_len + level 639 fs/xfs/libxfs/xfs_btree.c int level = xfs_btree_get_level(block); level 644 fs/xfs/libxfs/xfs_btree.c ((char *)block + xfs_btree_ptr_offset(cur, n, level)); level 670 fs/xfs/libxfs/xfs_btree.c int level, /* level in btree */ level 674 fs/xfs/libxfs/xfs_btree.c (level == cur->bc_nlevels - 1)) { level 679 fs/xfs/libxfs/xfs_btree.c *bpp = cur->bc_bufs[level]; level 725 fs/xfs/libxfs/xfs_btree.c int level) /* level to check */ level 730 fs/xfs/libxfs/xfs_btree.c block = xfs_btree_get_block(cur, level, &bp); level 731 fs/xfs/libxfs/xfs_btree.c xfs_btree_check_block(cur, block, level, bp); level 745 fs/xfs/libxfs/xfs_btree.c int level) /* level to change */ level 753 fs/xfs/libxfs/xfs_btree.c block = xfs_btree_get_block(cur, level, &bp); level 754 fs/xfs/libxfs/xfs_btree.c if (xfs_btree_check_block(cur, block, level, bp)) level 764 fs/xfs/libxfs/xfs_btree.c cur->bc_ptrs[level] = 1; level 775 fs/xfs/libxfs/xfs_btree.c int level) /* level to change */ level 783 fs/xfs/libxfs/xfs_btree.c block = xfs_btree_get_block(cur, level, &bp); level 784 fs/xfs/libxfs/xfs_btree.c if (xfs_btree_check_block(cur, block, level, bp)) level 794 fs/xfs/libxfs/xfs_btree.c cur->bc_ptrs[level] = be16_to_cpu(block->bb_numrecs); level 1138 fs/xfs/libxfs/xfs_btree.c __u16 level, level 1147 fs/xfs/libxfs/xfs_btree.c buf->bb_level = cpu_to_be16(level); level 1180 fs/xfs/libxfs/xfs_btree.c __u16 level, level 1185 fs/xfs/libxfs/xfs_btree.c btnum, level, numrecs, owner, 0); level 1192 fs/xfs/libxfs/xfs_btree.c int level, level 1209 fs/xfs/libxfs/xfs_btree.c cur->bc_btnum, level, numrecs, level 1222 fs/xfs/libxfs/xfs_btree.c int level) level 1226 fs/xfs/libxfs/xfs_btree.c if (level > 0) level 1490 fs/xfs/libxfs/xfs_btree.c int level = xfs_btree_get_level(block); level 1494 fs/xfs/libxfs/xfs_btree.c xfs_btree_ptr_offset(cur, first, level), level 1495 fs/xfs/libxfs/xfs_btree.c xfs_btree_ptr_offset(cur, last + 1, level) - 1); level 1578 fs/xfs/libxfs/xfs_btree.c int level, level 1587 fs/xfs/libxfs/xfs_btree.c ASSERT(level < cur->bc_nlevels); level 1590 fs/xfs/libxfs/xfs_btree.c xfs_btree_readahead(cur, level, XFS_BTCUR_RIGHTRA); level 1593 fs/xfs/libxfs/xfs_btree.c block = xfs_btree_get_block(cur, level, &bp); level 1596 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_check_block(cur, block, level, bp); level 1602 fs/xfs/libxfs/xfs_btree.c if (++cur->bc_ptrs[level] <= xfs_btree_get_numrecs(block)) level 1616 fs/xfs/libxfs/xfs_btree.c for (lev = level + 1; lev < cur->bc_nlevels; lev++) { level 1649 fs/xfs/libxfs/xfs_btree.c for (block = xfs_btree_get_block(cur, lev, &bp); lev > level; ) { level 1680 fs/xfs/libxfs/xfs_btree.c int level, level 1689 fs/xfs/libxfs/xfs_btree.c ASSERT(level < cur->bc_nlevels); level 1692 fs/xfs/libxfs/xfs_btree.c xfs_btree_readahead(cur, level, XFS_BTCUR_LEFTRA); level 1695 fs/xfs/libxfs/xfs_btree.c if (--cur->bc_ptrs[level] > 0) level 1699 fs/xfs/libxfs/xfs_btree.c block = xfs_btree_get_block(cur, level, &bp); level 1702 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_check_block(cur, block, level, bp); level 1718 fs/xfs/libxfs/xfs_btree.c for (lev = level + 1; lev < cur->bc_nlevels; lev++) { level 1742 fs/xfs/libxfs/xfs_btree.c for (block = xfs_btree_get_block(cur, lev, &bp); lev > level; ) { level 1768 fs/xfs/libxfs/xfs_btree.c int level, /* level in the btree */ level 1778 fs/xfs/libxfs/xfs_btree.c (level == cur->bc_nlevels - 1)) { level 1789 fs/xfs/libxfs/xfs_btree.c bp = cur->bc_bufs[level]; level 1811 fs/xfs/libxfs/xfs_btree.c if (be16_to_cpu((*blkp)->bb_level) != level) level 1815 fs/xfs/libxfs/xfs_btree.c if (level != 0 && be16_to_cpu((*blkp)->bb_numrecs) == 0) level 1818 fs/xfs/libxfs/xfs_btree.c xfs_btree_setbuf(cur, level, bp); level 1835 fs/xfs/libxfs/xfs_btree.c int level, level 1840 fs/xfs/libxfs/xfs_btree.c if (level == 0) { level 1863 fs/xfs/libxfs/xfs_btree.c int level; /* level in the btree */ level 1886 fs/xfs/libxfs/xfs_btree.c for (level = cur->bc_nlevels - 1, diff = 1; level >= 0; level--) { level 1888 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_lookup_get_block(cur, level, pp, &block); level 1909 fs/xfs/libxfs/xfs_btree.c if (level != 0 || cur->bc_nlevels != 1) { level 1933 fs/xfs/libxfs/xfs_btree.c kp = xfs_lookup_get_search_key(cur, level, level 1956 fs/xfs/libxfs/xfs_btree.c if (level > 0) { level 1965 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_debug_check_ptr(cur, pp, 0, level); level 1969 fs/xfs/libxfs/xfs_btree.c cur->bc_ptrs[level] = keyno; level 2121 fs/xfs/libxfs/xfs_btree.c int level, level 2137 fs/xfs/libxfs/xfs_btree.c if (level + 1 >= cur->bc_nlevels) level 2140 fs/xfs/libxfs/xfs_btree.c trace_xfs_btree_updkeys(cur, level, bp0); level 2145 fs/xfs/libxfs/xfs_btree.c for (level++; level < cur->bc_nlevels; level++) { level 2149 fs/xfs/libxfs/xfs_btree.c block = xfs_btree_get_block(cur, level, &bp); level 2150 fs/xfs/libxfs/xfs_btree.c trace_xfs_btree_updkeys(cur, level, bp); level 2152 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_check_block(cur, block, level, bp); level 2156 fs/xfs/libxfs/xfs_btree.c ptr = cur->bc_ptrs[level]; level 2165 fs/xfs/libxfs/xfs_btree.c if (level + 1 >= cur->bc_nlevels) level 2177 fs/xfs/libxfs/xfs_btree.c int level) level 2182 fs/xfs/libxfs/xfs_btree.c block = xfs_btree_get_block(cur, level, &bp); level 2183 fs/xfs/libxfs/xfs_btree.c return __xfs_btree_updkeys(cur, level, block, bp, true); level 2192 fs/xfs/libxfs/xfs_btree.c int level) level 2200 fs/xfs/libxfs/xfs_btree.c ASSERT(level >= 0); level 2202 fs/xfs/libxfs/xfs_btree.c block = xfs_btree_get_block(cur, level, &bp); level 2204 fs/xfs/libxfs/xfs_btree.c return __xfs_btree_updkeys(cur, level, block, bp, false); level 2213 fs/xfs/libxfs/xfs_btree.c for (level++, ptr = 1; ptr == 1 && level < cur->bc_nlevels; level++) { level 2217 fs/xfs/libxfs/xfs_btree.c block = xfs_btree_get_block(cur, level, &bp); level 2219 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_check_block(cur, block, level, bp); level 2223 fs/xfs/libxfs/xfs_btree.c ptr = cur->bc_ptrs[level]; level 2293 fs/xfs/libxfs/xfs_btree.c int level, level 2311 fs/xfs/libxfs/xfs_btree.c level == cur->bc_nlevels - 1) level 2315 fs/xfs/libxfs/xfs_btree.c right = xfs_btree_get_block(cur, level, &rbp); level 2318 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_check_block(cur, right, level, rbp); level 2332 fs/xfs/libxfs/xfs_btree.c if (cur->bc_ptrs[level] <= 1) level 2342 fs/xfs/libxfs/xfs_btree.c if (lrecs == cur->bc_ops->get_maxrecs(cur, level)) level 2362 fs/xfs/libxfs/xfs_btree.c if (level > 0) { level 2373 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_debug_check_ptr(cur, rpp, 0, level); level 2409 fs/xfs/libxfs/xfs_btree.c if (level > 0) { level 2414 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_debug_check_ptr(cur, rpp, i + 1, level); level 2444 fs/xfs/libxfs/xfs_btree.c i = xfs_btree_firstrec(tcur, level); level 2447 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_decrement(tcur, level, &i); level 2452 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_update_keys(tcur, level); level 2460 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_update_keys(cur, level); level 2465 fs/xfs/libxfs/xfs_btree.c cur->bc_ptrs[level]--; level 2489 fs/xfs/libxfs/xfs_btree.c int level, level 2505 fs/xfs/libxfs/xfs_btree.c (level == cur->bc_nlevels - 1)) level 2509 fs/xfs/libxfs/xfs_btree.c left = xfs_btree_get_block(cur, level, &lbp); level 2512 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_check_block(cur, left, level, lbp); level 2527 fs/xfs/libxfs/xfs_btree.c if (cur->bc_ptrs[level] >= lrecs) level 2537 fs/xfs/libxfs/xfs_btree.c if (rrecs == cur->bc_ops->get_maxrecs(cur, level)) level 2547 fs/xfs/libxfs/xfs_btree.c if (level > 0) { level 2559 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_debug_check_ptr(cur, rpp, i, level); level 2567 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_debug_check_ptr(cur, lpp, 0, level); level 2611 fs/xfs/libxfs/xfs_btree.c i = xfs_btree_lastrec(tcur, level); level 2614 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_increment(tcur, level, &i); level 2620 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_update_keys(cur, level); level 2626 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_update_keys(tcur, level); level 2655 fs/xfs/libxfs/xfs_btree.c int level, level 2679 fs/xfs/libxfs/xfs_btree.c left = xfs_btree_get_block(cur, level, &lbp); level 2682 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_check_block(cur, left, level, lbp); level 2712 fs/xfs/libxfs/xfs_btree.c if ((lrecs & 1) && cur->bc_ptrs[level] <= rrecs + 1) level 2728 fs/xfs/libxfs/xfs_btree.c if (level > 0) { level 2741 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_debug_check_ptr(cur, lpp, i, level); level 2798 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_update_keys(cur, level); level 2808 fs/xfs/libxfs/xfs_btree.c if (cur->bc_ptrs[level] > lrecs + 1) { level 2809 fs/xfs/libxfs/xfs_btree.c xfs_btree_setbuf(cur, level, rbp); level 2810 fs/xfs/libxfs/xfs_btree.c cur->bc_ptrs[level] -= lrecs; level 2816 fs/xfs/libxfs/xfs_btree.c if (level + 1 < cur->bc_nlevels) { level 2820 fs/xfs/libxfs/xfs_btree.c (*curp)->bc_ptrs[level + 1]++; level 2835 fs/xfs/libxfs/xfs_btree.c int level; level 2869 fs/xfs/libxfs/xfs_btree.c args->result = __xfs_btree_split(args->cur, args->level, args->ptrp, level 2884 fs/xfs/libxfs/xfs_btree.c int level, level 2894 fs/xfs/libxfs/xfs_btree.c return __xfs_btree_split(cur, level, ptrp, key, curp, stat); level 2897 fs/xfs/libxfs/xfs_btree.c args.level = level; level 2930 fs/xfs/libxfs/xfs_btree.c int level; /* btree level */ level 2938 fs/xfs/libxfs/xfs_btree.c level = cur->bc_nlevels - 1; level 2972 fs/xfs/libxfs/xfs_btree.c cur->bc_ptrs[level + 1] = 1; level 2980 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_debug_check_ptr(cur, pp, i, level); level 2987 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_debug_check_ptr(cur, &nptr, 0, level); level 2997 fs/xfs/libxfs/xfs_btree.c xfs_btree_setbuf(cur, level, cbp); level 3147 fs/xfs/libxfs/xfs_btree.c int level, /* btree level */ level 3159 fs/xfs/libxfs/xfs_btree.c level == cur->bc_nlevels - 1) { level 3162 fs/xfs/libxfs/xfs_btree.c if (numrecs < cur->bc_ops->get_dmaxrecs(cur, level)) { level 3181 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_rshift(cur, level, stat); level 3186 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_lshift(cur, level, stat); level 3191 fs/xfs/libxfs/xfs_btree.c *oindex = *index = cur->bc_ptrs[level]; level 3201 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_split(cur, level, nptr, key, ncur, stat); level 3206 fs/xfs/libxfs/xfs_btree.c *index = cur->bc_ptrs[level]; level 3217 fs/xfs/libxfs/xfs_btree.c int level, /* level to insert record at */ level 3245 fs/xfs/libxfs/xfs_btree.c (level >= cur->bc_nlevels)) { level 3253 fs/xfs/libxfs/xfs_btree.c ptr = cur->bc_ptrs[level]; level 3264 fs/xfs/libxfs/xfs_btree.c block = xfs_btree_get_block(cur, level, &bp); level 3269 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_check_block(cur, block, level, bp); level 3275 fs/xfs/libxfs/xfs_btree.c if (level == 0) { level 3290 fs/xfs/libxfs/xfs_btree.c if (numrecs == cur->bc_ops->get_maxrecs(cur, level)) { level 3291 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_make_block_unfull(cur, level, numrecs, level 3301 fs/xfs/libxfs/xfs_btree.c block = xfs_btree_get_block(cur, level, &bp); level 3305 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_check_block(cur, block, level, bp); level 3316 fs/xfs/libxfs/xfs_btree.c if (level > 0) { level 3325 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_debug_check_ptr(cur, pp, i, level); level 3333 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_debug_check_ptr(cur, ptrp, 0, level); level 3384 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_update_keys(cur, level); level 3393 fs/xfs/libxfs/xfs_btree.c if (xfs_btree_is_lastrec(cur, block, level)) { level 3429 fs/xfs/libxfs/xfs_btree.c int level; /* current level number in btree */ level 3437 fs/xfs/libxfs/xfs_btree.c level = 0; level 3458 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_insrec(pcur, level, &nptr, &rec, key, level 3467 fs/xfs/libxfs/xfs_btree.c level++; level 3517 fs/xfs/libxfs/xfs_btree.c int level; level 3533 fs/xfs/libxfs/xfs_btree.c level = cur->bc_nlevels - 1; level 3534 fs/xfs/libxfs/xfs_btree.c if (level == 1) level 3544 fs/xfs/libxfs/xfs_btree.c cblock = xfs_btree_get_block(cur, level - 1, &cbp); level 3552 fs/xfs/libxfs/xfs_btree.c if (numrecs > cur->bc_ops->get_dmaxrecs(cur, level)) level 3564 fs/xfs/libxfs/xfs_btree.c index = numrecs - cur->bc_ops->get_maxrecs(cur, level); level 3582 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_debug_check_ptr(cur, cpp, i, level - 1); level 3593 fs/xfs/libxfs/xfs_btree.c cur->bc_bufs[level - 1] = NULL; level 3609 fs/xfs/libxfs/xfs_btree.c int level, level 3626 fs/xfs/libxfs/xfs_btree.c cur->bc_bufs[level] = NULL; level 3627 fs/xfs/libxfs/xfs_btree.c cur->bc_ra[level] = 0; level 3636 fs/xfs/libxfs/xfs_btree.c int level, level 3642 fs/xfs/libxfs/xfs_btree.c if (level > 0) { level 3643 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_decrement(cur, level, &i); level 3661 fs/xfs/libxfs/xfs_btree.c int level, /* level removing record from */ level 3686 fs/xfs/libxfs/xfs_btree.c ptr = cur->bc_ptrs[level]; level 3693 fs/xfs/libxfs/xfs_btree.c block = xfs_btree_get_block(cur, level, &bp); level 3697 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_check_block(cur, block, level, bp); level 3712 fs/xfs/libxfs/xfs_btree.c if (level > 0) { level 3721 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_debug_check_ptr(cur, lpp, i, level); level 3752 fs/xfs/libxfs/xfs_btree.c if (xfs_btree_is_lastrec(cur, block, level)) { level 3762 fs/xfs/libxfs/xfs_btree.c if (level == cur->bc_nlevels - 1) { level 3771 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_dec_cursor(cur, level, stat); level 3783 fs/xfs/libxfs/xfs_btree.c if (numrecs == 1 && level > 0) { level 3790 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_kill_root(cur, bp, level, pp); level 3793 fs/xfs/libxfs/xfs_btree.c } else if (level > 0) { level 3794 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_dec_cursor(cur, level, stat); level 3807 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_update_keys(cur, level); level 3816 fs/xfs/libxfs/xfs_btree.c if (numrecs >= cur->bc_ops->get_minrecs(cur, level)) { level 3817 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_dec_cursor(cur, level, stat); level 3839 fs/xfs/libxfs/xfs_btree.c level == cur->bc_nlevels - 2) { level 3842 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_dec_cursor(cur, level, stat); level 3869 fs/xfs/libxfs/xfs_btree.c i = xfs_btree_lastrec(tcur, level); level 3872 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_increment(tcur, level, &i); level 3877 fs/xfs/libxfs/xfs_btree.c i = xfs_btree_lastrec(tcur, level); level 3881 fs/xfs/libxfs/xfs_btree.c right = xfs_btree_get_block(tcur, level, &rbp); level 3883 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_check_block(tcur, right, level, rbp); level 3896 fs/xfs/libxfs/xfs_btree.c cur->bc_ops->get_minrecs(tcur, level)) { level 3897 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_lshift(tcur, level, &i); level 3902 fs/xfs/libxfs/xfs_btree.c cur->bc_ops->get_minrecs(tcur, level)); level 3907 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_dec_cursor(cur, level, stat); level 3921 fs/xfs/libxfs/xfs_btree.c i = xfs_btree_firstrec(tcur, level); level 3924 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_decrement(tcur, level, &i); level 3940 fs/xfs/libxfs/xfs_btree.c i = xfs_btree_firstrec(tcur, level); level 3943 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_decrement(tcur, level, &i); level 3946 fs/xfs/libxfs/xfs_btree.c i = xfs_btree_firstrec(tcur, level); level 3950 fs/xfs/libxfs/xfs_btree.c left = xfs_btree_get_block(tcur, level, &lbp); level 3952 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_check_block(cur, left, level, lbp); level 3965 fs/xfs/libxfs/xfs_btree.c cur->bc_ops->get_minrecs(tcur, level)) { level 3966 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_rshift(tcur, level, &i); level 3971 fs/xfs/libxfs/xfs_btree.c cur->bc_ops->get_minrecs(tcur, level)); level 3974 fs/xfs/libxfs/xfs_btree.c if (level == 0) level 3998 fs/xfs/libxfs/xfs_btree.c cur->bc_ops->get_maxrecs(cur, level)) { level 4015 fs/xfs/libxfs/xfs_btree.c cur->bc_ops->get_maxrecs(cur, level)) { level 4032 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_dec_cursor(cur, level, stat); level 4046 fs/xfs/libxfs/xfs_btree.c if (level > 0) { level 4059 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_debug_check_ptr(cur, rpp, i, level); level 4112 fs/xfs/libxfs/xfs_btree.c cur->bc_bufs[level] = lbp; level 4113 fs/xfs/libxfs/xfs_btree.c cur->bc_ptrs[level] += lrecs; level 4114 fs/xfs/libxfs/xfs_btree.c cur->bc_ra[level] = 0; level 4121 fs/xfs/libxfs/xfs_btree.c (level + 1 < cur->bc_nlevels)) { level 4122 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_increment(cur, level + 1, &i); level 4133 fs/xfs/libxfs/xfs_btree.c if (level > 0) level 4134 fs/xfs/libxfs/xfs_btree.c cur->bc_ptrs[level]--; level 4167 fs/xfs/libxfs/xfs_btree.c int level; level 4177 fs/xfs/libxfs/xfs_btree.c for (level = 0, i = 2; i == 2; level++) { level 4178 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_delrec(cur, level, &i); level 4196 fs/xfs/libxfs/xfs_btree.c for (level = 1; level < cur->bc_nlevels; level++) { level 4197 fs/xfs/libxfs/xfs_btree.c if (cur->bc_ptrs[level] == 0) { level 4198 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_decrement(cur, level, &i); level 4257 fs/xfs/libxfs/xfs_btree.c int level, level 4267 fs/xfs/libxfs/xfs_btree.c xfs_btree_readahead(cur, level, XFS_BTCUR_RIGHTRA); level 4268 fs/xfs/libxfs/xfs_btree.c block = xfs_btree_get_block(cur, level, &bp); level 4271 fs/xfs/libxfs/xfs_btree.c error = fn(cur, level, data); level 4280 fs/xfs/libxfs/xfs_btree.c return xfs_btree_lookup_get_block(cur, level, &rptr, &block); level 4292 fs/xfs/libxfs/xfs_btree.c int level; level 4299 fs/xfs/libxfs/xfs_btree.c for (level = cur->bc_nlevels - 1; level >= 0; level--) { level 4301 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_lookup_get_block(cur, level, &lptr, &block); level 4306 fs/xfs/libxfs/xfs_btree.c if (level > 0) { level 4318 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_visit_block(cur, level, fn, data); level 4360 fs/xfs/libxfs/xfs_btree.c int level, level 4368 fs/xfs/libxfs/xfs_btree.c block = xfs_btree_get_block(cur, level, &bp); level 4388 fs/xfs/libxfs/xfs_btree.c ASSERT(level == cur->bc_nlevels - 1); level 4529 fs/xfs/libxfs/xfs_btree.c uint level; level 4533 fs/xfs/libxfs/xfs_btree.c for (level = 1; maxblocks > 1; level++) level 4535 fs/xfs/libxfs/xfs_btree.c return level; level 4652 fs/xfs/libxfs/xfs_btree.c int level; level 4658 fs/xfs/libxfs/xfs_btree.c level = cur->bc_nlevels - 1; level 4660 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_lookup_get_block(cur, level, &ptr, &block); level 4663 fs/xfs/libxfs/xfs_btree.c xfs_btree_get_block(cur, level, &bp); level 4664 fs/xfs/libxfs/xfs_btree.c trace_xfs_btree_overlapped_query_range(cur, level, bp); level 4666 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_check_block(cur, block, level, bp); level 4670 fs/xfs/libxfs/xfs_btree.c cur->bc_ptrs[level] = 1; level 4672 fs/xfs/libxfs/xfs_btree.c while (level < cur->bc_nlevels) { level 4673 fs/xfs/libxfs/xfs_btree.c block = xfs_btree_get_block(cur, level, &bp); level 4676 fs/xfs/libxfs/xfs_btree.c if (cur->bc_ptrs[level] > be16_to_cpu(block->bb_numrecs)) { level 4678 fs/xfs/libxfs/xfs_btree.c if (level < cur->bc_nlevels - 1) level 4679 fs/xfs/libxfs/xfs_btree.c cur->bc_ptrs[level + 1]++; level 4680 fs/xfs/libxfs/xfs_btree.c level++; level 4684 fs/xfs/libxfs/xfs_btree.c if (level == 0) { level 4709 fs/xfs/libxfs/xfs_btree.c cur->bc_ptrs[level]++; level 4714 fs/xfs/libxfs/xfs_btree.c lkp = xfs_btree_key_addr(cur, cur->bc_ptrs[level], block); level 4715 fs/xfs/libxfs/xfs_btree.c hkp = xfs_btree_high_key_addr(cur, cur->bc_ptrs[level], block); level 4716 fs/xfs/libxfs/xfs_btree.c pp = xfs_btree_ptr_addr(cur, cur->bc_ptrs[level], block); level 4727 fs/xfs/libxfs/xfs_btree.c level--; level 4728 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_lookup_get_block(cur, level, pp, level 4732 fs/xfs/libxfs/xfs_btree.c xfs_btree_get_block(cur, level, &bp); level 4733 fs/xfs/libxfs/xfs_btree.c trace_xfs_btree_overlapped_query_range(cur, level, bp); level 4735 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_check_block(cur, block, level, bp); level 4739 fs/xfs/libxfs/xfs_btree.c cur->bc_ptrs[level] = 1; level 4745 fs/xfs/libxfs/xfs_btree.c cur->bc_ptrs[level]++; level 4834 fs/xfs/libxfs/xfs_btree.c int level; level 4839 fs/xfs/libxfs/xfs_btree.c for (level = 0, rval = 0; len > 1; level++) { level 4851 fs/xfs/libxfs/xfs_btree.c int level, level 123 fs/xfs/libxfs/xfs_btree.h int (*get_minrecs)(struct xfs_btree_cur *cur, int level); level 124 fs/xfs/libxfs/xfs_btree.h int (*get_maxrecs)(struct xfs_btree_cur *cur, int level); level 127 fs/xfs/libxfs/xfs_btree.h int (*get_dmaxrecs)(struct xfs_btree_cur *cur, int level); level 247 fs/xfs/libxfs/xfs_btree.h struct xfs_btree_block *block, int level, struct xfs_buf *bp); level 249 fs/xfs/libxfs/xfs_btree.h struct xfs_btree_block *block, int level, struct xfs_buf *bp); level 258 fs/xfs/libxfs/xfs_btree.h int level, /* level of the btree block */ level 268 fs/xfs/libxfs/xfs_btree.h int level); /* btree block level */ level 277 fs/xfs/libxfs/xfs_btree.h int level); /* btree block level */ level 323 fs/xfs/libxfs/xfs_btree.h int level); /* level to check */ level 381 fs/xfs/libxfs/xfs_btree.h __u16 level, level 391 fs/xfs/libxfs/xfs_btree.h __u16 level, level 483 fs/xfs/libxfs/xfs_btree.h typedef int (*xfs_btree_visit_blocks_fn)(struct xfs_btree_cur *cur, int level, level 498 fs/xfs/libxfs/xfs_btree.h int xfs_btree_lookup_get_block(struct xfs_btree_cur *cur, int level, level 501 fs/xfs/libxfs/xfs_btree.h int level, struct xfs_buf **bpp); level 159 fs/xfs/libxfs/xfs_da_btree.c if (ichdr.level == 0) level 161 fs/xfs/libxfs/xfs_da_btree.c if (ichdr.level > XFS_DA_NODE_MAXDEPTH) level 331 fs/xfs/libxfs/xfs_da_btree.c int level, level 344 fs/xfs/libxfs/xfs_da_btree.c ASSERT(level <= XFS_DA_NODE_MAXDEPTH); level 364 fs/xfs/libxfs/xfs_da_btree.c ichdr.level = level; level 554 fs/xfs/libxfs/xfs_da_btree.c int level; level 583 fs/xfs/libxfs/xfs_da_btree.c level = icnodehdr.level; level 601 fs/xfs/libxfs/xfs_da_btree.c level = 0; level 635 fs/xfs/libxfs/xfs_da_btree.c level + 1, &bp, args->whichfork); level 1051 fs/xfs/libxfs/xfs_da_btree.c xfs_da_blkinfo_onlychild_validate(struct xfs_da_blkinfo *blkinfo, __u16 level) level 1055 fs/xfs/libxfs/xfs_da_btree.c if (level == 1) { level 1068 fs/xfs/libxfs/xfs_da_btree.c #define xfs_da_blkinfo_onlychild_validate(blkinfo, level) level 1116 fs/xfs/libxfs/xfs_da_btree.c xfs_da_blkinfo_onlychild_validate(bp->b_addr, oldroothdr.level); level 1302 fs/xfs/libxfs/xfs_da_btree.c int level; level 1308 fs/xfs/libxfs/xfs_da_btree.c level = path->active-1; level 1309 fs/xfs/libxfs/xfs_da_btree.c blk = &path->blk[ level ]; level 1327 fs/xfs/libxfs/xfs_da_btree.c for (blk--, level--; level >= 0; blk--, level--) { level 1557 fs/xfs/libxfs/xfs_da_btree.c if (nodehdr.level >= XFS_DA_NODE_MAXDEPTH) level 1562 fs/xfs/libxfs/xfs_da_btree.c expected_level = nodehdr.level - 1; level 1563 fs/xfs/libxfs/xfs_da_btree.c else if (expected_level != nodehdr.level) level 1887 fs/xfs/libxfs/xfs_da_btree.c int level; level 1902 fs/xfs/libxfs/xfs_da_btree.c level = (path->active-1) - 1; /* skip bottom layer in path */ level 1903 fs/xfs/libxfs/xfs_da_btree.c for (blk = &path->blk[level]; level >= 0; blk--, level--) { level 1918 fs/xfs/libxfs/xfs_da_btree.c if (level < 0) { level 1928 fs/xfs/libxfs/xfs_da_btree.c for (blk++, level++; level < path->active; blk++, level++) { level 1978 fs/xfs/libxfs/xfs_da_btree.c ASSERT(level == path->active-1); level 1985 fs/xfs/libxfs/xfs_da_btree.c ASSERT(level == path->active-1); level 2200 fs/xfs/libxfs/xfs_da_btree.c int level; level 2253 fs/xfs/libxfs/xfs_da_btree.c dead_level = deadhdr.level; level 2302 fs/xfs/libxfs/xfs_da_btree.c level = -1; level 2312 fs/xfs/libxfs/xfs_da_btree.c if (level >= 0 && level != par_hdr.level + 1) { level 2318 fs/xfs/libxfs/xfs_da_btree.c level = par_hdr.level; level 2332 fs/xfs/libxfs/xfs_da_btree.c if (level == dead_level + 1) level 2363 fs/xfs/libxfs/xfs_da_btree.c if (par_hdr.level != level) { level 153 fs/xfs/libxfs/xfs_da_btree.h int level, struct xfs_buf **bpp, int whichfork); level 522 fs/xfs/libxfs/xfs_da_format.c to->level = be16_to_cpu(from->hdr.__level); level 535 fs/xfs/libxfs/xfs_da_format.c to->hdr.__level = cpu_to_be16(from->level); level 550 fs/xfs/libxfs/xfs_da_format.c to->level = be16_to_cpu(hdr3->__level); level 565 fs/xfs/libxfs/xfs_da_format.c hdr3->__level = cpu_to_be16(from->level); level 106 fs/xfs/libxfs/xfs_da_format.h uint16_t level; level 27 fs/xfs/libxfs/xfs_ialloc_btree.c int level) level 29 fs/xfs/libxfs/xfs_ialloc_btree.c return M_IGEO(cur->bc_mp)->inobt_mnr[level != 0]; level 163 fs/xfs/libxfs/xfs_ialloc_btree.c int level) level 165 fs/xfs/libxfs/xfs_ialloc_btree.c return M_IGEO(cur->bc_mp)->inobt_mxr[level != 0]; level 259 fs/xfs/libxfs/xfs_ialloc_btree.c unsigned int level; level 281 fs/xfs/libxfs/xfs_ialloc_btree.c level = be16_to_cpu(block->bb_level); level 282 fs/xfs/libxfs/xfs_ialloc_btree.c if (level >= M_IGEO(mp)->inobt_maxlevels) level 286 fs/xfs/libxfs/xfs_ialloc_btree.c M_IGEO(mp)->inobt_mxr[level != 0]); level 307 fs/xfs/libxfs/xfs_iext_tree.c int level) level 315 fs/xfs/libxfs/xfs_iext_tree.c for (height = ifp->if_height; height > level; height--) { level 430 fs/xfs/libxfs/xfs_iext_tree.c int level, level 436 fs/xfs/libxfs/xfs_iext_tree.c for (height = ifp->if_height; height > level; height--) { level 497 fs/xfs/libxfs/xfs_iext_tree.c int level) level 503 fs/xfs/libxfs/xfs_iext_tree.c if (ifp->if_height < level) level 507 fs/xfs/libxfs/xfs_iext_tree.c node = xfs_iext_find_level(ifp, offset, level); level 522 fs/xfs/libxfs/xfs_iext_tree.c xfs_iext_update_node(ifp, node->keys[0], offset, level, node); level 534 fs/xfs/libxfs/xfs_iext_tree.c level++; level 729 fs/xfs/libxfs/xfs_iext_tree.c int level = 2, pos, nr_entries, i; level 731 fs/xfs/libxfs/xfs_iext_tree.c ASSERT(level <= ifp->if_height); level 732 fs/xfs/libxfs/xfs_iext_tree.c node = xfs_iext_find_level(ifp, offset, level); level 749 fs/xfs/libxfs/xfs_iext_tree.c xfs_iext_update_node(ifp, offset, node->keys[0], level, node); level 756 fs/xfs/libxfs/xfs_iext_tree.c if (level < ifp->if_height) { level 762 fs/xfs/libxfs/xfs_iext_tree.c level++; level 763 fs/xfs/libxfs/xfs_iext_tree.c parent = xfs_iext_find_level(ifp, offset, level); level 1026 fs/xfs/libxfs/xfs_iext_tree.c int level) level 1030 fs/xfs/libxfs/xfs_iext_tree.c if (level > 1) { level 1034 fs/xfs/libxfs/xfs_iext_tree.c xfs_iext_destroy_node(node->ptrs[i], level - 1); level 274 fs/xfs/libxfs/xfs_inode_fork.c int level; level 280 fs/xfs/libxfs/xfs_inode_fork.c level = be16_to_cpu(dfp->bb_level); level 295 fs/xfs/libxfs/xfs_inode_fork.c level == 0 || level > XFS_BTREE_MAXLEVELS) { level 124 fs/xfs/libxfs/xfs_refcount_btree.c int level) level 126 fs/xfs/libxfs/xfs_refcount_btree.c return cur->bc_mp->m_refc_mnr[level != 0]; level 132 fs/xfs/libxfs/xfs_refcount_btree.c int level) level 134 fs/xfs/libxfs/xfs_refcount_btree.c return cur->bc_mp->m_refc_mxr[level != 0]; level 208 fs/xfs/libxfs/xfs_refcount_btree.c unsigned int level; level 219 fs/xfs/libxfs/xfs_refcount_btree.c level = be16_to_cpu(block->bb_level); level 221 fs/xfs/libxfs/xfs_refcount_btree.c if (level >= pag->pagf_refcount_level) level 223 fs/xfs/libxfs/xfs_refcount_btree.c } else if (level >= mp->m_refc_maxlevels) level 226 fs/xfs/libxfs/xfs_refcount_btree.c return xfs_btree_sblock_verify(bp, mp->m_refc_mxr[level != 0]); level 149 fs/xfs/libxfs/xfs_rmap_btree.c int level) level 151 fs/xfs/libxfs/xfs_rmap_btree.c return cur->bc_mp->m_rmap_mnr[level != 0]; level 157 fs/xfs/libxfs/xfs_rmap_btree.c int level) level 159 fs/xfs/libxfs/xfs_rmap_btree.c return cur->bc_mp->m_rmap_mxr[level != 0]; level 295 fs/xfs/libxfs/xfs_rmap_btree.c unsigned int level; level 318 fs/xfs/libxfs/xfs_rmap_btree.c level = be16_to_cpu(block->bb_level); level 320 fs/xfs/libxfs/xfs_rmap_btree.c if (level >= pag->pagf_levels[XFS_BTNUM_RMAPi]) level 322 fs/xfs/libxfs/xfs_rmap_btree.c } else if (level >= mp->m_rmap_maxlevels) level 325 fs/xfs/libxfs/xfs_rmap_btree.c return xfs_btree_sblock_verify(bp, mp->m_rmap_mxr[level != 0]); level 518 fs/xfs/scrub/agheader.c int level; level 544 fs/xfs/scrub/agheader.c level = be32_to_cpu(agf->agf_levels[XFS_BTNUM_BNO]); level 545 fs/xfs/scrub/agheader.c if (level <= 0 || level > XFS_BTREE_MAXLEVELS) level 548 fs/xfs/scrub/agheader.c level = be32_to_cpu(agf->agf_levels[XFS_BTNUM_CNT]); level 549 fs/xfs/scrub/agheader.c if (level <= 0 || level > XFS_BTREE_MAXLEVELS) level 557 fs/xfs/scrub/agheader.c level = be32_to_cpu(agf->agf_levels[XFS_BTNUM_RMAP]); level 558 fs/xfs/scrub/agheader.c if (level <= 0 || level > XFS_BTREE_MAXLEVELS) level 567 fs/xfs/scrub/agheader.c level = be32_to_cpu(agf->agf_refcount_level); level 568 fs/xfs/scrub/agheader.c if (level <= 0 || level > XFS_BTREE_MAXLEVELS) level 827 fs/xfs/scrub/agheader.c int level; level 849 fs/xfs/scrub/agheader.c level = be32_to_cpu(agi->agi_level); level 850 fs/xfs/scrub/agheader.c if (level <= 0 || level > XFS_BTREE_MAXLEVELS) level 858 fs/xfs/scrub/agheader.c level = be32_to_cpu(agi->agi_free_level); level 859 fs/xfs/scrub/agheader.c if (level <= 0 || level > XFS_BTREE_MAXLEVELS) level 244 fs/xfs/scrub/attr.c int level, level 262 fs/xfs/scrub/attr.c xchk_da_set_corrupt(ds, level); level 266 fs/xfs/scrub/attr.c xchk_da_set_corrupt(ds, level); level 272 fs/xfs/scrub/attr.c xchk_da_set_corrupt(ds, level); level 283 fs/xfs/scrub/attr.c xchk_da_set_corrupt(ds, level); level 289 fs/xfs/scrub/attr.c xchk_da_set_corrupt(ds, level); level 292 fs/xfs/scrub/attr.c xchk_da_set_corrupt(ds, level); level 295 fs/xfs/scrub/attr.c xchk_da_set_corrupt(ds, level); level 304 fs/xfs/scrub/attr.c int level) level 308 fs/xfs/scrub/attr.c struct xfs_da_state_blk *blk = &ds->state->path.blk[level]; level 343 fs/xfs/scrub/attr.c xchk_da_set_corrupt(ds, level); level 346 fs/xfs/scrub/attr.c xchk_da_set_corrupt(ds, level); level 354 fs/xfs/scrub/attr.c xchk_da_set_corrupt(ds, level); level 356 fs/xfs/scrub/attr.c xchk_da_set_corrupt(ds, level); level 358 fs/xfs/scrub/attr.c xchk_da_set_corrupt(ds, level); level 360 fs/xfs/scrub/attr.c xchk_da_set_corrupt(ds, level); level 367 fs/xfs/scrub/attr.c xchk_da_set_corrupt(ds, level); level 375 fs/xfs/scrub/attr.c xchk_da_set_corrupt(ds, level); level 380 fs/xfs/scrub/attr.c xchk_xattr_entry(ds, level, buf_end, leaf, &leafhdr, level 388 fs/xfs/scrub/attr.c xchk_da_set_corrupt(ds, level); level 391 fs/xfs/scrub/attr.c xchk_da_set_corrupt(ds, level); level 401 fs/xfs/scrub/attr.c int level, level 417 fs/xfs/scrub/attr.c blk = &ds->state->path.blk[level]; level 420 fs/xfs/scrub/attr.c error = xchk_xattr_block(ds, level); level 427 fs/xfs/scrub/attr.c error = xchk_da_btree_hash(ds, level, &ent->hashval); level 436 fs/xfs/scrub/attr.c xchk_da_set_corrupt(ds, level); level 445 fs/xfs/scrub/attr.c xchk_da_set_corrupt(ds, level); level 450 fs/xfs/scrub/attr.c xchk_da_set_corrupt(ds, level); level 458 fs/xfs/scrub/attr.c xchk_da_set_corrupt(ds, level); level 464 fs/xfs/scrub/attr.c xchk_da_set_corrupt(ds, level); level 276 fs/xfs/scrub/bitmap.c int level, level 283 fs/xfs/scrub/bitmap.c xfs_btree_get_block(cur, level, &bp); level 28 fs/xfs/scrub/btree.c int level, level 49 fs/xfs/scrub/btree.c trace_xchk_ifork_btree_op_error(sc, cur, level, level 52 fs/xfs/scrub/btree.c trace_xchk_btree_op_error(sc, cur, level, level 63 fs/xfs/scrub/btree.c int level, level 66 fs/xfs/scrub/btree.c return __xchk_btree_process_error(sc, cur, level, error, level 74 fs/xfs/scrub/btree.c int level, level 77 fs/xfs/scrub/btree.c return __xchk_btree_process_error(sc, cur, level, error, level 86 fs/xfs/scrub/btree.c int level, level 93 fs/xfs/scrub/btree.c trace_xchk_ifork_btree_error(sc, cur, level, level 96 fs/xfs/scrub/btree.c trace_xchk_btree_error(sc, cur, level, level 104 fs/xfs/scrub/btree.c int level) level 106 fs/xfs/scrub/btree.c __xchk_btree_set_corrupt(sc, cur, level, XFS_SCRUB_OFLAG_CORRUPT, level 114 fs/xfs/scrub/btree.c int level) level 116 fs/xfs/scrub/btree.c __xchk_btree_set_corrupt(sc, cur, level, XFS_SCRUB_OFLAG_XCORRUPT, level 175 fs/xfs/scrub/btree.c int level) level 184 fs/xfs/scrub/btree.c block = xfs_btree_get_block(cur, level, &bp); level 185 fs/xfs/scrub/btree.c key = xfs_btree_key_addr(cur, cur->bc_ptrs[level], block); level 187 fs/xfs/scrub/btree.c trace_xchk_btree_key(bs->sc, cur, level); level 190 fs/xfs/scrub/btree.c if (!bs->firstkey[level] && level 191 fs/xfs/scrub/btree.c !cur->bc_ops->keys_inorder(cur, &bs->lastkey[level], key)) level 192 fs/xfs/scrub/btree.c xchk_btree_set_corrupt(bs->sc, cur, level); level 193 fs/xfs/scrub/btree.c bs->firstkey[level] = false; level 194 fs/xfs/scrub/btree.c memcpy(&bs->lastkey[level], key, cur->bc_ops->key_len); level 196 fs/xfs/scrub/btree.c if (level + 1 >= cur->bc_nlevels) level 200 fs/xfs/scrub/btree.c keyblock = xfs_btree_get_block(cur, level + 1, &bp); level 201 fs/xfs/scrub/btree.c keyp = xfs_btree_key_addr(cur, cur->bc_ptrs[level + 1], keyblock); level 203 fs/xfs/scrub/btree.c xchk_btree_set_corrupt(bs->sc, cur, level); level 209 fs/xfs/scrub/btree.c key = xfs_btree_high_key_addr(cur, cur->bc_ptrs[level], block); level 210 fs/xfs/scrub/btree.c keyp = xfs_btree_high_key_addr(cur, cur->bc_ptrs[level + 1], keyblock); level 212 fs/xfs/scrub/btree.c xchk_btree_set_corrupt(bs->sc, cur, level); level 222 fs/xfs/scrub/btree.c int level, level 229 fs/xfs/scrub/btree.c level == bs->cur->bc_nlevels) level 234 fs/xfs/scrub/btree.c res = xfs_btree_check_lptr(bs->cur, be64_to_cpu(ptr->l), level); level 236 fs/xfs/scrub/btree.c res = xfs_btree_check_sptr(bs->cur, be32_to_cpu(ptr->s), level); level 238 fs/xfs/scrub/btree.c xchk_btree_set_corrupt(bs->sc, bs->cur, level); level 247 fs/xfs/scrub/btree.c int level, level 260 fs/xfs/scrub/btree.c if (!xchk_btree_process_error(bs->sc, cur, level + 1, &error) || level 270 fs/xfs/scrub/btree.c error = xfs_btree_increment(ncur, level + 1, &success); level 272 fs/xfs/scrub/btree.c error = xfs_btree_decrement(ncur, level + 1, &success); level 274 fs/xfs/scrub/btree.c xchk_btree_set_corrupt(bs->sc, cur, level); level 281 fs/xfs/scrub/btree.c error = xfs_btree_increment(ncur, level + 1, &success); level 283 fs/xfs/scrub/btree.c error = xfs_btree_decrement(ncur, level + 1, &success); level 284 fs/xfs/scrub/btree.c if (!xchk_btree_process_error(bs->sc, cur, level + 1, &error)) level 287 fs/xfs/scrub/btree.c xchk_btree_set_corrupt(bs->sc, cur, level + 1); level 292 fs/xfs/scrub/btree.c pblock = xfs_btree_get_block(ncur, level + 1, &pbp); level 293 fs/xfs/scrub/btree.c pp = xfs_btree_ptr_addr(ncur, ncur->bc_ptrs[level + 1], pblock); level 294 fs/xfs/scrub/btree.c if (!xchk_btree_ptr_ok(bs, level + 1, pp)) level 300 fs/xfs/scrub/btree.c xchk_btree_set_corrupt(bs->sc, cur, level); level 315 fs/xfs/scrub/btree.c int level; level 320 fs/xfs/scrub/btree.c level = xfs_btree_get_level(block); level 323 fs/xfs/scrub/btree.c if (level == cur->bc_nlevels - 1) { level 326 fs/xfs/scrub/btree.c xchk_btree_set_corrupt(bs->sc, cur, level); level 335 fs/xfs/scrub/btree.c error = xchk_btree_block_check_sibling(bs, level, -1, &leftsib); level 338 fs/xfs/scrub/btree.c error = xchk_btree_block_check_sibling(bs, level, 1, &rightsib); level 348 fs/xfs/scrub/btree.c int level; level 358 fs/xfs/scrub/btree.c int level, level 378 fs/xfs/scrub/btree.c level, &error)) level 405 fs/xfs/scrub/btree.c int level, level 419 fs/xfs/scrub/btree.c xchk_btree_set_corrupt(bs->sc, bs->cur, level); level 436 fs/xfs/scrub/btree.c co->level = level; level 442 fs/xfs/scrub/btree.c return xchk_btree_check_block_owner(bs, level, XFS_BUF_ADDR(bp)); level 452 fs/xfs/scrub/btree.c int level, level 461 fs/xfs/scrub/btree.c if (numrecs >= bs->cur->bc_ops->get_minrecs(bs->cur, level)) level 477 fs/xfs/scrub/btree.c if (level >= ok_level) level 480 fs/xfs/scrub/btree.c xchk_btree_set_corrupt(bs->sc, bs->cur, level); level 490 fs/xfs/scrub/btree.c int level, level 501 fs/xfs/scrub/btree.c error = xfs_btree_lookup_get_block(bs->cur, level, pp, pblock); level 502 fs/xfs/scrub/btree.c if (!xchk_btree_process_error(bs->sc, bs->cur, level, &error) || level 506 fs/xfs/scrub/btree.c xfs_btree_get_block(bs->cur, level, pbp); level 509 fs/xfs/scrub/btree.c level, *pbp); level 512 fs/xfs/scrub/btree.c level, *pbp); level 514 fs/xfs/scrub/btree.c xchk_btree_set_corrupt(bs->sc, bs->cur, level); level 520 fs/xfs/scrub/btree.c xchk_btree_check_minrecs(bs, level, *pblock); level 526 fs/xfs/scrub/btree.c error = xchk_btree_check_owner(bs, level, *pbp); level 544 fs/xfs/scrub/btree.c int level, level 555 fs/xfs/scrub/btree.c if (level >= cur->bc_nlevels - 1) level 562 fs/xfs/scrub/btree.c parent_block = xfs_btree_get_block(cur, level + 1, &bp); level 563 fs/xfs/scrub/btree.c parent_keys = xfs_btree_key_addr(cur, cur->bc_ptrs[level + 1], level 574 fs/xfs/scrub/btree.c high_pk = xfs_btree_high_key_addr(cur, cur->bc_ptrs[level + 1], level 606 fs/xfs/scrub/btree.c int level; level 628 fs/xfs/scrub/btree.c level = cur->bc_nlevels - 1; level 632 fs/xfs/scrub/btree.c error = xchk_btree_get_block(&bs, level, &ptr, &block, &bp); level 636 fs/xfs/scrub/btree.c cur->bc_ptrs[level] = 1; level 638 fs/xfs/scrub/btree.c while (level < cur->bc_nlevels) { level 639 fs/xfs/scrub/btree.c block = xfs_btree_get_block(cur, level, &bp); level 641 fs/xfs/scrub/btree.c if (level == 0) { level 643 fs/xfs/scrub/btree.c if (cur->bc_ptrs[level] > level 645 fs/xfs/scrub/btree.c xchk_btree_block_keys(&bs, level, block); level 646 fs/xfs/scrub/btree.c if (level < cur->bc_nlevels - 1) level 647 fs/xfs/scrub/btree.c cur->bc_ptrs[level + 1]++; level 648 fs/xfs/scrub/btree.c level++; level 664 fs/xfs/scrub/btree.c cur->bc_ptrs[level]++; level 669 fs/xfs/scrub/btree.c if (cur->bc_ptrs[level] > be16_to_cpu(block->bb_numrecs)) { level 670 fs/xfs/scrub/btree.c xchk_btree_block_keys(&bs, level, block); level 671 fs/xfs/scrub/btree.c if (level < cur->bc_nlevels - 1) level 672 fs/xfs/scrub/btree.c cur->bc_ptrs[level + 1]++; level 673 fs/xfs/scrub/btree.c level++; level 678 fs/xfs/scrub/btree.c xchk_btree_key(&bs, level); level 681 fs/xfs/scrub/btree.c pp = xfs_btree_ptr_addr(cur, cur->bc_ptrs[level], block); level 682 fs/xfs/scrub/btree.c if (!xchk_btree_ptr_ok(&bs, level, pp)) { level 683 fs/xfs/scrub/btree.c cur->bc_ptrs[level]++; level 686 fs/xfs/scrub/btree.c level--; level 687 fs/xfs/scrub/btree.c error = xchk_btree_get_block(&bs, level, pp, &block, &bp); level 691 fs/xfs/scrub/btree.c cur->bc_ptrs[level] = 1; level 699 fs/xfs/scrub/btree.c co->level, co->daddr); level 13 fs/xfs/scrub/btree.h struct xfs_btree_cur *cur, int level, int *error); level 17 fs/xfs/scrub/btree.h struct xfs_btree_cur *cur, int level, int *error); level 21 fs/xfs/scrub/btree.h struct xfs_btree_cur *cur, int level); level 25 fs/xfs/scrub/btree.h struct xfs_btree_cur *cur, int level); level 32 fs/xfs/scrub/dabtree.c int level, level 54 fs/xfs/scrub/dabtree.c ds->state->path.blk[level].blkno), level 68 fs/xfs/scrub/dabtree.c int level) level 76 fs/xfs/scrub/dabtree.c ds->state->path.blk[level].blkno), level 84 fs/xfs/scrub/dabtree.c int level, level 92 fs/xfs/scrub/dabtree.c blk = &ds->state->path.blk[level]; level 120 fs/xfs/scrub/dabtree.c int level, level 130 fs/xfs/scrub/dabtree.c if (hash < ds->hashes[level]) level 131 fs/xfs/scrub/dabtree.c xchk_da_set_corrupt(ds, level); level 132 fs/xfs/scrub/dabtree.c ds->hashes[level] = hash; level 134 fs/xfs/scrub/dabtree.c if (level == 0) level 139 fs/xfs/scrub/dabtree.c entry = xchk_da_btree_entry(ds, level - 1, blks[level - 1].index); level 142 fs/xfs/scrub/dabtree.c xchk_da_set_corrupt(ds, level); level 154 fs/xfs/scrub/dabtree.c int level, level 158 fs/xfs/scrub/dabtree.c xchk_da_set_corrupt(ds, level); level 242 fs/xfs/scrub/dabtree.c int level, level 260 fs/xfs/scrub/dabtree.c xchk_da_set_corrupt(ds, level); level 268 fs/xfs/scrub/dabtree.c if (!xchk_da_process_error(ds, level, &error)) level 271 fs/xfs/scrub/dabtree.c xchk_da_set_corrupt(ds, level); level 274 fs/xfs/scrub/dabtree.c if (ds->state->altpath.blk[level].bp) level 276 fs/xfs/scrub/dabtree.c ds->state->altpath.blk[level].bp); level 279 fs/xfs/scrub/dabtree.c if (ds->state->altpath.blk[level].blkno != sibling) level 280 fs/xfs/scrub/dabtree.c xchk_da_set_corrupt(ds, level); level 281 fs/xfs/scrub/dabtree.c if (ds->state->altpath.blk[level].bp) { level 283 fs/xfs/scrub/dabtree.c ds->state->altpath.blk[level].bp); level 284 fs/xfs/scrub/dabtree.c ds->state->altpath.blk[level].bp = NULL; level 294 fs/xfs/scrub/dabtree.c int level, level 305 fs/xfs/scrub/dabtree.c if (level == 0) { level 307 fs/xfs/scrub/dabtree.c xchk_da_set_corrupt(ds, level); level 315 fs/xfs/scrub/dabtree.c error = xchk_da_btree_block_check_sibling(ds, level, 0, back); level 318 fs/xfs/scrub/dabtree.c error = xchk_da_btree_block_check_sibling(ds, level, 1, forw); level 329 fs/xfs/scrub/dabtree.c int level, level 343 fs/xfs/scrub/dabtree.c blk = &ds->state->path.blk[level]; level 344 fs/xfs/scrub/dabtree.c ds->state->path.active = level + 1; level 354 fs/xfs/scrub/dabtree.c if (!xchk_da_btree_ptr_ok(ds, level, blkno)) level 361 fs/xfs/scrub/dabtree.c if (!xchk_da_process_error(ds, level, &error)) level 371 fs/xfs/scrub/dabtree.c if (ds->dargs.whichfork == XFS_DATA_FORK && level == 0 && level 377 fs/xfs/scrub/dabtree.c xchk_da_set_corrupt(ds, level); level 383 fs/xfs/scrub/dabtree.c pmaxrecs = &ds->maxrecs[level]; level 387 fs/xfs/scrub/dabtree.c xchk_da_set_corrupt(ds, level); level 393 fs/xfs/scrub/dabtree.c xchk_da_set_corrupt(ds, level); level 397 fs/xfs/scrub/dabtree.c error = xchk_da_btree_block_check_siblings(ds, level, &hdr3->hdr); level 410 fs/xfs/scrub/dabtree.c xchk_da_set_corrupt(ds, level); level 419 fs/xfs/scrub/dabtree.c xchk_da_set_corrupt(ds, level); level 428 fs/xfs/scrub/dabtree.c xchk_da_set_corrupt(ds, level); level 440 fs/xfs/scrub/dabtree.c if (level == 0) { level 441 fs/xfs/scrub/dabtree.c if (nodehdr.level >= XFS_DA_NODE_MAXDEPTH) { level 442 fs/xfs/scrub/dabtree.c xchk_da_set_corrupt(ds, level); level 445 fs/xfs/scrub/dabtree.c ds->tree_level = nodehdr.level; level 447 fs/xfs/scrub/dabtree.c if (ds->tree_level != nodehdr.level) { level 448 fs/xfs/scrub/dabtree.c xchk_da_set_corrupt(ds, level); level 456 fs/xfs/scrub/dabtree.c xchk_da_set_corrupt(ds, level); level 484 fs/xfs/scrub/dabtree.c int level; level 512 fs/xfs/scrub/dabtree.c level = 0; level 516 fs/xfs/scrub/dabtree.c error = xchk_da_btree_block(&ds, level, blkno); level 524 fs/xfs/scrub/dabtree.c if (blks[level].bp == NULL) level 527 fs/xfs/scrub/dabtree.c blks[level].index = 0; level 528 fs/xfs/scrub/dabtree.c while (level >= 0 && level < XFS_DA_NODE_MAXDEPTH) { level 530 fs/xfs/scrub/dabtree.c if (blks[level].magic != XFS_DA_NODE_MAGIC) { level 532 fs/xfs/scrub/dabtree.c if (blks[level].index >= ds.maxrecs[level]) { level 533 fs/xfs/scrub/dabtree.c if (level > 0) level 534 fs/xfs/scrub/dabtree.c blks[level - 1].index++; level 536 fs/xfs/scrub/dabtree.c level--; level 541 fs/xfs/scrub/dabtree.c rec = xchk_da_btree_entry(&ds, level, level 542 fs/xfs/scrub/dabtree.c blks[level].index); level 543 fs/xfs/scrub/dabtree.c error = scrub_fn(&ds, level, rec); level 550 fs/xfs/scrub/dabtree.c blks[level].index++; level 556 fs/xfs/scrub/dabtree.c if (blks[level].index >= ds.maxrecs[level]) { level 557 fs/xfs/scrub/dabtree.c if (level > 0) level 558 fs/xfs/scrub/dabtree.c blks[level - 1].index++; level 560 fs/xfs/scrub/dabtree.c level--; level 565 fs/xfs/scrub/dabtree.c key = xchk_da_btree_entry(&ds, level, blks[level].index); level 566 fs/xfs/scrub/dabtree.c error = xchk_da_btree_hash(&ds, level, &key->hashval); level 572 fs/xfs/scrub/dabtree.c level++; level 573 fs/xfs/scrub/dabtree.c if (level >= XFS_DA_NODE_MAXDEPTH) { level 575 fs/xfs/scrub/dabtree.c xchk_da_set_corrupt(&ds, level - 1); level 579 fs/xfs/scrub/dabtree.c error = xchk_da_btree_block(&ds, level, blkno); level 582 fs/xfs/scrub/dabtree.c if (blks[level].bp == NULL) level 585 fs/xfs/scrub/dabtree.c blks[level].index = 0; level 590 fs/xfs/scrub/dabtree.c for (level = 0; level < XFS_DA_NODE_MAXDEPTH; level++) { level 591 fs/xfs/scrub/dabtree.c if (blks[level].bp == NULL) level 593 fs/xfs/scrub/dabtree.c xfs_trans_brelse(sc->tp, blks[level].bp); level 594 fs/xfs/scrub/dabtree.c blks[level].bp = NULL; level 32 fs/xfs/scrub/dabtree.h int level, void *rec); level 35 fs/xfs/scrub/dabtree.h bool xchk_da_process_error(struct xchk_da_btree *ds, int level, int *error); level 38 fs/xfs/scrub/dabtree.h void xchk_da_set_corrupt(struct xchk_da_btree *ds, int level); level 40 fs/xfs/scrub/dabtree.h int xchk_da_btree_hash(struct xchk_da_btree *ds, int level, __be32 *hashp); level 182 fs/xfs/scrub/dir.c int level, level 202 fs/xfs/scrub/dir.c error = xchk_da_btree_hash(ds, level, &ent->hashval); level 217 fs/xfs/scrub/dir.c xchk_da_set_corrupt(ds, level); level 21 fs/xfs/scrub/trace.c int level) level 23 fs/xfs/scrub/trace.c if (level < cur->bc_nlevels && cur->bc_bufs[level]) level 24 fs/xfs/scrub/trace.c return XFS_DADDR_TO_FSB(cur->bc_mp, cur->bc_bufs[level]->b_bn); level 25 fs/xfs/scrub/trace.c else if (level == cur->bc_nlevels - 1 && level 323 fs/xfs/scrub/trace.h int level, int error, void *ret_ip), level 324 fs/xfs/scrub/trace.h TP_ARGS(sc, cur, level, error, ret_ip), level 329 fs/xfs/scrub/trace.h __field(int, level) level 337 fs/xfs/scrub/trace.h xfs_fsblock_t fsbno = xchk_btree_cur_fsbno(cur, level); level 342 fs/xfs/scrub/trace.h __entry->level = level; level 345 fs/xfs/scrub/trace.h __entry->ptr = cur->bc_ptrs[level]; level 353 fs/xfs/scrub/trace.h __entry->level, level 363 fs/xfs/scrub/trace.h int level, int error, void *ret_ip), level 364 fs/xfs/scrub/trace.h TP_ARGS(sc, cur, level, error, ret_ip), level 371 fs/xfs/scrub/trace.h __field(int, level) level 379 fs/xfs/scrub/trace.h xfs_fsblock_t fsbno = xchk_btree_cur_fsbno(cur, level); level 385 fs/xfs/scrub/trace.h __entry->level = level; level 386 fs/xfs/scrub/trace.h __entry->ptr = cur->bc_ptrs[level]; level 398 fs/xfs/scrub/trace.h __entry->level, level 408 fs/xfs/scrub/trace.h int level, void *ret_ip), level 409 fs/xfs/scrub/trace.h TP_ARGS(sc, cur, level, ret_ip), level 414 fs/xfs/scrub/trace.h __field(int, level) level 421 fs/xfs/scrub/trace.h xfs_fsblock_t fsbno = xchk_btree_cur_fsbno(cur, level); level 425 fs/xfs/scrub/trace.h __entry->level = level; level 428 fs/xfs/scrub/trace.h __entry->ptr = cur->bc_ptrs[level]; level 435 fs/xfs/scrub/trace.h __entry->level, level 444 fs/xfs/scrub/trace.h int level, void *ret_ip), level 445 fs/xfs/scrub/trace.h TP_ARGS(sc, cur, level, ret_ip), level 452 fs/xfs/scrub/trace.h __field(int, level) level 459 fs/xfs/scrub/trace.h xfs_fsblock_t fsbno = xchk_btree_cur_fsbno(cur, level); level 465 fs/xfs/scrub/trace.h __entry->level = level; level 468 fs/xfs/scrub/trace.h __entry->ptr = cur->bc_ptrs[level]; level 477 fs/xfs/scrub/trace.h __entry->level, level 486 fs/xfs/scrub/trace.h int level), level 487 fs/xfs/scrub/trace.h TP_ARGS(sc, cur, level), level 494 fs/xfs/scrub/trace.h __field(int, level) level 499 fs/xfs/scrub/trace.h xfs_fsblock_t fsbno = xchk_btree_cur_fsbno(cur, level); level 506 fs/xfs/scrub/trace.h __entry->level = level; level 508 fs/xfs/scrub/trace.h __entry->ptr = cur->bc_ptrs[level]; level 516 fs/xfs/scrub/trace.h __entry->level, level 523 fs/xfs/scrub/trace.h int level), \ level 524 fs/xfs/scrub/trace.h TP_ARGS(sc, cur, level)) level 780 fs/xfs/scrub/trace.h uint32_t magic, uint16_t level), level 781 fs/xfs/scrub/trace.h TP_ARGS(mp, agno, agbno, magic, level), level 787 fs/xfs/scrub/trace.h __field(uint16_t, level) level 794 fs/xfs/scrub/trace.h __entry->level = level; level 801 fs/xfs/scrub/trace.h __entry->level) level 196 fs/xfs/xfs_attr_inactive.c int level) level 210 fs/xfs/xfs_attr_inactive.c if (level > XFS_DA_NODE_MAXDEPTH) { level 254 fs/xfs/xfs_attr_inactive.c level + 1); level 235 fs/xfs/xfs_attr_list.c if (nodehdr.level >= XFS_DA_NODE_MAXDEPTH) level 240 fs/xfs/xfs_attr_list.c expected_level = nodehdr.level - 1; level 241 fs/xfs/xfs_attr_list.c else if (expected_level != nodehdr.level) level 267 fs/xfs/xfs_bmap_util.c int level = levelin; level 281 fs/xfs/xfs_bmap_util.c if (--level) { level 299 fs/xfs/xfs_bmap_util.c error = xfs_bmap_count_tree(mp, tp, ifp, bno, level, nextents, level 348 fs/xfs/xfs_bmap_util.c int level; /* btree level, for checking */ level 374 fs/xfs/xfs_bmap_util.c level = be16_to_cpu(block->bb_level); level 375 fs/xfs/xfs_bmap_util.c ASSERT(level > 0); level 382 fs/xfs/xfs_bmap_util.c error = xfs_bmap_count_tree(mp, tp, ifp, bno, level, level 312 fs/xfs/xfs_error.c int level, level 318 fs/xfs/xfs_error.c if (level <= xfs_error_level) { level 330 fs/xfs/xfs_error.c int level, level 338 fs/xfs/xfs_error.c if (level <= xfs_error_level) level 340 fs/xfs/xfs_error.c xfs_error_report(tag, level, mp, filename, linenum, failaddr); level 11 fs/xfs/xfs_error.h extern void xfs_error_report(const char *tag, int level, struct xfs_mount *mp, level 14 fs/xfs/xfs_error.h extern void xfs_corruption_error(const char *tag, int level, level 19 fs/xfs/xfs_message.c const char *level, level 24 fs/xfs/xfs_message.c printk("%sXFS (%s): %pV\n", level, mp->m_fsname, vaf); level 27 fs/xfs/xfs_message.c printk("%sXFS: %pV\n", level, vaf); level 35 fs/xfs/xfs_message.c int level; \ level 45 fs/xfs/xfs_message.c if (!kstrtoint(kern_level, 0, &level) && \ level 46 fs/xfs/xfs_message.c level <= LOGLEVEL_ERR && \ level 1130 fs/xfs/xfs_mount.c int level) level 1132 fs/xfs/xfs_mount.c ASSERT(level > SB_UNFROZEN); level 1133 fs/xfs/xfs_mount.c if ((mp->m_super->s_writers.frozen >= level) || level 450 fs/xfs/xfs_mount.h extern bool xfs_fs_writable(struct xfs_mount *mp, int level); level 2205 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_btree_cur *cur, int level, struct xfs_buf *bp), level 2206 fs/xfs/xfs_trace.h TP_ARGS(cur, level, bp), level 2210 fs/xfs/xfs_trace.h __field(int, level) level 2218 fs/xfs/xfs_trace.h __entry->level = level; level 2220 fs/xfs/xfs_trace.h __entry->ptr = cur->bc_ptrs[level]; level 2226 fs/xfs/xfs_trace.h __entry->level, level 2234 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_btree_cur *cur, int level, struct xfs_buf *bp), \ level 2235 fs/xfs/xfs_trace.h TP_ARGS(cur, level, bp)) level 262 include/acpi/acoutput.h #define ACPI_IS_DEBUG_ENABLED(level, component) \ level 263 include/acpi/acoutput.h ((level & acpi_dbg_level) && (component & acpi_dbg_layer)) level 297 include/acpi/acoutput.h #define ACPI_DO_DEBUG_PRINT(function, level, line, filename, modulename, component, ...) \ level 299 include/acpi/acoutput.h if (ACPI_IS_DEBUG_ENABLED (level, component)) \ level 301 include/acpi/acoutput.h function (level, line, filename, modulename, component, __VA_ARGS__); \ level 305 include/acpi/acoutput.h #define ACPI_ACTUAL_DEBUG(level, line, filename, modulename, component, ...) \ level 306 include/acpi/acoutput.h ACPI_DO_DEBUG_PRINT (acpi_debug_print, level, line, \ level 309 include/acpi/acoutput.h #define ACPI_ACTUAL_DEBUG_RAW(level, line, filename, modulename, component, ...) \ level 310 include/acpi/acoutput.h ACPI_DO_DEBUG_PRINT (acpi_debug_print_raw, level, line, \ level 451 include/acpi/acoutput.h #define ACPI_IS_DEBUG_ENABLED(level, component) 0 level 817 include/asm-generic/vmlinux.lds.h #define INIT_CALLS_LEVEL(level) \ level 818 include/asm-generic/vmlinux.lds.h __initcall##level##_start = .; \ level 819 include/asm-generic/vmlinux.lds.h KEEP(*(.initcall##level##.init)) \ level 820 include/asm-generic/vmlinux.lds.h KEEP(*(.initcall##level##s.init)) \ level 276 include/drm/drm_print.h void drm_dev_printk(const struct device *dev, const char *level, level 289 include/drm/drm_print.h #define _DRM_PRINTK(once, level, fmt, ...) \ level 290 include/drm/drm_print.h printk##once(KERN_##level "[" DRM_NAME "] " fmt, ##__VA_ARGS__) level 345 include/kvm/arm_vgic.h bool level, void *owner); level 461 include/linux/acpi.h u32 level); level 961 include/linux/acpi.h void acpi_handle_printk(const char *level, acpi_handle handle, level 965 include/linux/acpi.h acpi_handle_printk(const char *level, void *handle, const char *fmt, ...) {} level 1270 include/linux/acpi.h int find_acpi_cpu_topology(unsigned int cpu, int level); level 1273 include/linux/acpi.h int find_acpi_cpu_cache_topology(unsigned int cpu, int level); level 1279 include/linux/acpi.h static inline int find_acpi_cpu_topology(unsigned int cpu, int level) level 1291 include/linux/acpi.h static inline int find_acpi_cpu_cache_topology(unsigned int cpu, int level) level 32 include/linux/assoc_array.h unsigned long (*get_key_chunk)(const void *index_key, int level); level 35 include/linux/assoc_array.h unsigned long (*get_object_key_chunk)(const void *object, int level); level 193 include/linux/atmdev.h int (*getsockopt)(struct atm_vcc *vcc,int level,int optname, level 195 include/linux/atmdev.h int (*setsockopt)(struct atm_vcc *vcc,int level,int optname, level 127 include/linux/bpf-cgroup.h int __cgroup_bpf_run_filter_setsockopt(struct sock *sock, int *level, level 130 include/linux/bpf-cgroup.h int __cgroup_bpf_run_filter_getsockopt(struct sock *sk, int level, level 297 include/linux/bpf-cgroup.h #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ level 302 include/linux/bpf-cgroup.h __ret = __cgroup_bpf_run_filter_setsockopt(sock, level, \ level 317 include/linux/bpf-cgroup.h #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, optlen, \ level 322 include/linux/bpf-cgroup.h __ret = __cgroup_bpf_run_filter_getsockopt(sock, level, \ level 401 include/linux/bpf-cgroup.h #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, \ level 403 include/linux/bpf-cgroup.h #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ level 316 include/linux/bpf_verifier.h u32 level; level 336 include/linux/bpf_verifier.h return log->level && log->ubuf && !bpf_verifier_log_full(log); level 52 include/linux/cacheinfo.h unsigned int level; level 373 include/linux/cgroup-defs.h int level; level 568 include/linux/cgroup.h if (cgrp->root != ancestor->root || cgrp->level < ancestor->level) level 570 include/linux/cgroup.h return cgrp->ancestor_ids[ancestor->level] == ancestor->id; level 587 include/linux/cgroup.h if (cgrp->level < ancestor_level) level 589 include/linux/cgroup.h while (cgrp && cgrp->level > ancestor_level) level 768 include/linux/compat.h asmlinkage long compat_sys_setsockopt(int fd, int level, int optname, level 770 include/linux/compat.h asmlinkage long compat_sys_getsockopt(int fd, int level, int optname, level 355 include/linux/cper.h u8 level; level 1664 include/linux/device.h int dev_vprintk_emit(int level, const struct device *dev, level 1667 include/linux/device.h int dev_printk_emit(int level, const struct device *dev, const char *fmt, ...); level 1670 include/linux/device.h void dev_printk(const char *level, const struct device *dev, level 1690 include/linux/device.h int dev_vprintk_emit(int level, const struct device *dev, level 1694 include/linux/device.h int dev_printk_emit(int level, const struct device *dev, const char *fmt, ...) level 1697 include/linux/device.h static inline void __dev_printk(const char *level, const struct device *dev, level 1701 include/linux/device.h void dev_printk(const char *level, const struct device *dev, level 65 include/linux/dmar.h u16 level; level 1229 include/linux/filter.h s32 level; level 1586 include/linux/fs.h void __sb_end_write(struct super_block *sb, int level); level 1587 include/linux/fs.h int __sb_start_write(struct super_block *sb, int level, bool wait); level 434 include/linux/hdmi.h void hdmi_infoframe_log(const char *level, struct device *dev, level 426 include/linux/hid.h unsigned level; level 803 include/linux/hid.h int (*power)(struct hid_device *hdev, int level); level 1036 include/linux/hid.h static inline int hid_hw_power(struct hid_device *hdev, int level) level 1038 include/linux/hid.h return hdev->ll_driver->power ? hdev->ll_driver->power(hdev, level) : 0; level 57 include/linux/jbd2.h void __jbd2_debug(int level, const char *file, const char *func, level 170 include/linux/kdb.h extern void kdb_init(int level); level 204 include/linux/kdb.h static inline void kdb_init(int level) {} level 382 include/linux/kvm_host.h struct kvm *kvm, int irq_source_id, int level, level 986 include/linux/kvm_host.h int kvm_set_irq(struct kvm *kvm, int irq_source_id, u32 irq, int level, level 989 include/linux/kvm_host.h int irq_source_id, int level, bool line_status); level 992 include/linux/kvm_host.h int level, bool line_status); level 1406 include/linux/libata.h void ata_port_printk(const struct ata_port *ap, const char *level, level 1409 include/linux/libata.h void ata_link_printk(const struct ata_link *link, const char *level, level 1412 include/linux/libata.h void ata_dev_printk(const struct ata_device *dev, const char *level, level 1723 include/linux/lsm_hooks.h int (*socket_getsockopt)(struct socket *sock, int level, int optname); level 1724 include/linux/lsm_hooks.h int (*socket_setsockopt)(struct socket *sock, int level, int optname); level 17 include/linux/mdio-bitbang.h void (*set_mdc)(struct mdiobb_ctrl *ctrl, int level); level 283 include/linux/mfd/tps65217.h unsigned int val, unsigned int level); level 285 include/linux/mfd/tps65217.h unsigned int mask, unsigned int val, unsigned int level); level 287 include/linux/mfd/tps65217.h unsigned int mask, unsigned int level); level 275 include/linux/mfd/tps65218.h unsigned int val, unsigned int level); level 277 include/linux/mfd/tps65218.h unsigned int mask, unsigned int val, unsigned int level); level 279 include/linux/mfd/tps65218.h unsigned int mask, unsigned int level); level 152 include/linux/mlx5/fs.h u32 level, level 158 include/linux/mlx5/fs.h u32 level; level 170 include/linux/mlx5/fs.h u32 level, u16 vport); level 173 include/linux/mlx5/fs.h int prio, u32 level); level 5117 include/linux/mlx5/mlx5_ifc.h u8 level[0x8]; level 74 include/linux/moduleparam.h s8 level; level 183 include/linux/moduleparam.h #define __level_param_cb(name, ops, arg, perm, level) \ level 184 include/linux/moduleparam.h __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, level, 0) level 219 include/linux/moduleparam.h #define __module_param_call(prefix, name, ops, arg, perm, level, flags) \ level 226 include/linux/moduleparam.h VERIFY_OCTAL_PERMISSIONS(perm), level, flags, { arg } } level 164 include/linux/net.h int (*setsockopt)(struct socket *sock, int level, level 166 include/linux/net.h int (*getsockopt)(struct socket *sock, int level, level 169 include/linux/net.h int (*compat_setsockopt)(struct socket *sock, int level, level 171 include/linux/net.h int (*compat_getsockopt)(struct socket *sock, int level, level 305 include/linux/net.h int kernel_getsockopt(struct socket *sock, int level, int optname, char *optval, level 307 include/linux/net.h int kernel_setsockopt(struct socket *sock, int level, int optname, char *optval, level 4711 include/linux/netdevice.h void netdev_printk(const char *level, const struct net_device *dev, level 4728 include/linux/netdevice.h #define netdev_level_once(level, dev, fmt, ...) \ level 4734 include/linux/netdevice.h netdev_printk(level, dev, fmt, ##__VA_ARGS__); \ level 4799 include/linux/netdevice.h #define netif_printk(priv, type, level, dev, fmt, args...) \ level 4802 include/linux/netdevice.h netdev_printk(level, (dev), fmt, ##args); \ level 4805 include/linux/netdevice.h #define netif_level(level, priv, type, dev, fmt, args...) \ level 4808 include/linux/netdevice.h netdev_##level(dev, fmt, ##args); \ level 4845 include/linux/netdevice.h #define netif_cond_dbg(priv, type, netdev, cond, level, fmt, args...) \ level 4850 include/linux/netdevice.h netif_ ## level(priv, type, netdev, fmt, ##args); \ level 64 include/linux/node.h u8 level; level 2387 include/linux/pci.h #define pci_printk(level, pdev, fmt, arg...) \ level 2388 include/linux/pci.h dev_printk(level, &(pdev)->dev, fmt, ##arg) level 62 include/linux/pid.h unsigned int level; level 141 include/linux/pid.h ns = pid->numbers[pid->level].ns; level 153 include/linux/pid.h return pid->numbers[pid->level].nr == 1; level 31 include/linux/pid_namespace.h unsigned int level; level 23 include/linux/platform_data/lcd-mipid.h int level); level 100 include/linux/pm_opp.h unsigned int level); level 206 include/linux/pm_opp.h unsigned int level) level 19 include/linux/power/twl4030_madc_battery.h short level; /* in percent (0 .. 100%) */ level 163 include/linux/printk.h int vprintk_emit(int facility, int level, level 483 include/linux/printk.h extern void print_hex_dump(const char *level, const char *prefix_str, level 487 include/linux/printk.h static inline void print_hex_dump(const char *level, const char *prefix_str, level 46 include/linux/raid_class.h enum raid_level level; level 74 include/linux/raid_class.h DEFINE_RAID_ATTRIBUTE(enum raid_level, level) level 8 include/linux/s3c_adc_battery.h int level; /* percent */ level 84 include/linux/sched/topology.h int level; level 103 include/linux/scmi_protocol.h u32 level, bool poll); level 105 include/linux/scmi_protocol.h u32 *level, bool poll); level 1294 include/linux/security.h int security_socket_getsockopt(struct socket *sock, int level, int optname); level 1295 include/linux/security.h int security_socket_setsockopt(struct socket *sock, int level, int optname); level 1411 include/linux/security.h int level, int optname) level 1417 include/linux/security.h int level, int optname) level 1023 include/linux/skbuff.h void skb_dump(const char *level, const struct sk_buff *skb, bool full_pkt); level 354 include/linux/socket.h extern int put_cmsg(struct msghdr*, int level, int type, int len, void *data); level 66 include/linux/srcutree.h struct srcu_node *level[RCU_NUM_LVLS + 1]; level 810 include/linux/syscalls.h asmlinkage long sys_setsockopt(int fd, int level, int optname, level 812 include/linux/syscalls.h asmlinkage long sys_getsockopt(int fd, int level, int optname, level 663 include/linux/usb.h u8 level; level 61 include/linux/user_namespace.h int level; level 199 include/linux/wimax/debug.h u8 level; level 319 include/linux/wimax/debug.h .level = 0, \ level 349 include/linux/wimax/debug.h D_LEVEL[_D_SUBMODULE_INDEX(D_SUBMODULE)].level >= __l; \ level 415 include/linux/wimax/debug.h &(D_LEVEL[__D_SUBMODULE_ ## name].level)); \ level 421 include/linux/wimax/debug.h const char *submodule, u8 level, const char *tag) level 434 include/linux/wimax/debug.h itr->level = level; level 459 include/linux/wimax/debug.h unsigned level, tokens; level 477 include/linux/wimax/debug.h tokens = sscanf(token, "%s\n%u", submodule, &level); level 482 include/linux/wimax/debug.h submodule, level, tag); level 574 include/linux/zlib.h #define zlib_deflateInit(strm, level) \ level 575 include/linux/zlib.h zlib_deflateInit2((strm), (level), Z_DEFLATED, MAX_WBITS, \ level 580 include/linux/zlib.h extern int zlib_deflateInit2(z_streamp strm, int level, int method, level 30 include/media/i2c/s5c73m3.h int level; level 19 include/media/i2c/s5k4ecgx.h int level; level 20 include/media/i2c/s5k6aa.h int level; level 22 include/media/v4l2-common.h #define v4l_printk(level, name, adapter, addr, fmt, arg...) \ level 23 include/media/v4l2-common.h printk(level "%s %d-%04x: " fmt, name, i2c_adapter_id(adapter), addr , ## arg) level 25 include/media/v4l2-common.h #define v4l_client_printk(level, client, fmt, arg...) \ level 26 include/media/v4l2-common.h v4l_printk(level, (client)->dev.driver->name, (client)->adapter, \ level 40 include/media/v4l2-common.h #define v4l_dbg(level, debug, client, fmt, arg...) \ level 42 include/media/v4l2-common.h if (debug >= (level)) \ level 56 include/media/v4l2-common.h #define v4l2_printk(level, dev, fmt, arg...) \ level 57 include/media/v4l2-common.h printk(level "%s: " fmt, (dev)->name , ## arg) level 70 include/media/v4l2-common.h #define v4l2_dbg(level, debug, dev, fmt, arg...) \ level 72 include/media/v4l2-common.h if (debug >= (level)) \ level 41 include/media/vp8-ctrls.h __u8 level; level 52 include/net/9p/9p.h void _p9_debug(enum p9_debug_flags level, const char *func, level 54 include/net/9p/9p.h #define p9_debug(level, fmt, ...) \ level 55 include/net/9p/9p.h _p9_debug(level, __func__, fmt, ##__VA_ARGS__) level 57 include/net/9p/9p.h #define p9_debug(level, fmt, ...) \ level 64 include/net/bluetooth/bluetooth.h __u8 level; level 641 include/net/bonding.h int level); level 7458 include/net/cfg80211.h #define wiphy_printk(level, wiphy, format, args...) \ level 7459 include/net/cfg80211.h dev_printk(level, &(wiphy)->dev, format, ##args) level 27 include/net/ieee802154_netdev.h u8 level:3, level 33 include/net/ieee802154_netdev.h level:3; level 110 include/net/ieee802154_netdev.h switch (sec->level) { level 47 include/net/inet_connection_sock.h int (*setsockopt)(struct sock *sk, int level, int optname, level 49 include/net/inet_connection_sock.h int (*getsockopt)(struct sock *sk, int level, int optname, level 53 include/net/inet_connection_sock.h int level, int optname, level 56 include/net/inet_connection_sock.h int level, int optname, level 307 include/net/inet_connection_sock.h int inet_csk_compat_getsockopt(struct sock *sk, int level, int optname, level 309 include/net/inet_connection_sock.h int inet_csk_compat_setsockopt(struct sock *sk, int level, int optname, level 730 include/net/ip.h int ip_setsockopt(struct sock *sk, int level, int optname, char __user *optval, level 732 include/net/ip.h int ip_getsockopt(struct sock *sk, int level, int optname, char __user *optval, level 734 include/net/ip.h int compat_ip_setsockopt(struct sock *sk, int level, int optname, level 736 include/net/ip.h int compat_ip_getsockopt(struct sock *sk, int level, int optname, level 210 include/net/ip_vs.h #define IP_VS_DBG_BUF(level, msg, ...) \ level 214 include/net/ip_vs.h if (level <= ip_vs_get_debug_level()) \ level 230 include/net/ip_vs.h #define IP_VS_DBG(level, msg, ...) \ level 232 include/net/ip_vs.h if (level <= ip_vs_get_debug_level()) \ level 240 include/net/ip_vs.h #define IP_VS_DBG_PKT(level, af, pp, skb, ofs, msg) \ level 242 include/net/ip_vs.h if (level <= ip_vs_get_debug_level()) \ level 245 include/net/ip_vs.h #define IP_VS_DBG_RL_PKT(level, af, pp, skb, ofs, msg) \ level 247 include/net/ip_vs.h if (level <= ip_vs_get_debug_level() && \ level 252 include/net/ip_vs.h #define IP_VS_DBG_BUF(level, msg...) do {} while (0) level 254 include/net/ip_vs.h #define IP_VS_DBG(level, msg...) do {} while (0) level 256 include/net/ip_vs.h #define IP_VS_DBG_PKT(level, af, pp, skb, ofs, msg) do {} while (0) level 257 include/net/ip_vs.h #define IP_VS_DBG_RL_PKT(level, af, pp, skb, ofs, msg) do {} while (0) level 268 include/net/ip_vs.h #define EnterFunction(level) \ level 270 include/net/ip_vs.h if (level <= ip_vs_get_debug_level()) \ level 275 include/net/ip_vs.h #define LeaveFunction(level) \ level 277 include/net/ip_vs.h if (level <= ip_vs_get_debug_level()) \ level 283 include/net/ip_vs.h #define EnterFunction(level) do {} while (0) level 284 include/net/ip_vs.h #define LeaveFunction(level) do {} while (0) level 1077 include/net/ipv6.h int ipv6_setsockopt(struct sock *sk, int level, int optname, level 1079 include/net/ipv6.h int ipv6_getsockopt(struct sock *sk, int level, int optname, level 1081 include/net/ipv6.h int compat_ipv6_setsockopt(struct sock *sk, int level, int optname, level 1083 include/net/ipv6.h int compat_ipv6_getsockopt(struct sock *sk, int level, int optname, level 154 include/net/lapb.h #define lapb_dbg(level, fmt, ...) \ level 156 include/net/lapb.h if (level < LAPB_DEBUG) \ level 216 include/net/mac802154.h int (*ed)(struct ieee802154_hw *hw, u8 *level); level 65 include/net/ndisc.h #define ND_PRINTK(val, level, fmt, ...) \ level 68 include/net/ndisc.h net_##level##_ratelimited(fmt, ##__VA_ARGS__); \ level 33 include/net/netfilter/nf_log.h u_int8_t level; level 178 include/net/netfilter/nf_tables.h u8 level; level 430 include/net/sctp/structs.h int level, level 435 include/net/sctp/structs.h int level, level 440 include/net/sctp/structs.h int level, level 445 include/net/sctp/structs.h int level, level 1091 include/net/sock.h int (*setsockopt)(struct sock *sk, int level, level 1094 include/net/sock.h int (*getsockopt)(struct sock *sk, int level, level 1100 include/net/sock.h int level, level 1104 include/net/sock.h int level, level 1624 include/net/sock.h int sock_setsockopt(struct socket *sock, int level, int op, level 1627 include/net/sock.h int sock_getsockopt(struct socket *sock, int level, int op, level 1686 include/net/sock.h int sock_common_getsockopt(struct socket *sock, int level, int optname, level 1690 include/net/sock.h int sock_common_setsockopt(struct socket *sock, int level, int optname, level 1692 include/net/sock.h int compat_sock_common_getsockopt(struct socket *sock, int level, level 1694 include/net/sock.h int compat_sock_common_setsockopt(struct socket *sock, int level, level 2537 include/net/sock.h int sock_recv_errqueue(struct sock *sk, struct msghdr *msg, int len, int level, level 394 include/net/tcp.h int tcp_getsockopt(struct sock *sk, int level, int optname, level 396 include/net/tcp.h int tcp_setsockopt(struct sock *sk, int level, int optname, level 398 include/net/tcp.h int compat_tcp_getsockopt(struct sock *sk, int level, int optname, level 400 include/net/tcp.h int compat_tcp_setsockopt(struct sock *sk, int level, int optname, level 299 include/net/udp.h int udp_lib_getsockopt(struct sock *sk, int level, int optname, level 301 include/net/udp.h int udp_lib_setsockopt(struct sock *sk, int level, int optname, level 81 include/rdma/ib_verbs.h void ibdev_printk(const char *level, const struct ib_device *ibdev, level 126 include/scsi/scsi_transport_sas.h int level; level 291 include/sound/core.h void __snd_printk(unsigned int level, const char *file, int line, level 294 include/sound/core.h #define __snd_printk(level, file, line, format, ...) \ level 318 include/sound/core.h #define _snd_printd(level, fmt, ...) \ level 319 include/sound/core.h __snd_printk(level, __FILE__, __LINE__, fmt, ##__VA_ARGS__) level 348 include/sound/core.h static inline void _snd_printd(int level, const char *format, ...) {} level 75 include/sound/soc-component.h enum snd_soc_bias_level level); level 194 include/sound/soc-component.h enum snd_soc_bias_level level) level 197 include/sound/soc-component.h snd_soc_component_get_dapm(component), level); level 223 include/sound/soc-component.h enum snd_soc_bias_level level) level 227 include/sound/soc-component.h level); level 289 include/sound/soc-component.h enum snd_soc_bias_level level); level 492 include/sound/soc-dapm.h enum snd_soc_bias_level level); level 718 include/sound/soc-dapm.h struct snd_soc_dapm_context *dapm, enum snd_soc_bias_level level) level 720 include/sound/soc-dapm.h dapm->bias_level = level; level 1014 include/sound/soc.h enum snd_soc_bias_level level); level 1017 include/sound/soc.h enum snd_soc_bias_level level); level 308 include/sound/vx_core.h int vx_set_monitor_level(struct vx_core *chip, int audio, int level, int active); level 348 include/trace/events/bcache.h __entry->btree_level = b->level; level 760 include/trace/events/btrfs.h __field( int, level ) level 771 include/trace/events/btrfs.h __entry->level = full_ref->level; level 784 include/trace/events/btrfs.h __entry->level, show_ref_type(__entry->type), level 1781 include/trace/events/btrfs.h __field( int, level ) level 1794 include/trace/events/btrfs.h __entry->level = oldref->level; level 1805 include/trace/events/btrfs.h __entry->offset, __entry->level, level 63 include/trace/events/cgroup.h __field( int, level ) level 70 include/trace/events/cgroup.h __entry->level = cgrp->level; level 75 include/trace/events/cgroup.h __entry->root, __entry->id, __entry->level, __get_str(path)) level 139 include/trace/events/cgroup.h __entry->dst_level = dst_cgrp->level; level 175 include/trace/events/cgroup.h __field( int, level ) level 183 include/trace/events/cgroup.h __entry->level = cgrp->level; level 189 include/trace/events/cgroup.h __entry->root, __entry->id, __entry->level, __get_str(path), level 12 include/trace/events/initcall.h TP_PROTO(const char *level), level 14 include/trace/events/initcall.h TP_ARGS(level), level 17 include/trace/events/initcall.h __string(level, level) level 21 include/trace/events/initcall.h __assign_str(level, level); level 24 include/trace/events/initcall.h TP_printk("level=%s", __get_str(level)) level 67 include/trace/events/kvm.h TP_PROTO(unsigned int gsi, int level, int irq_source_id), level 68 include/trace/events/kvm.h TP_ARGS(gsi, level, irq_source_id), level 72 include/trace/events/kvm.h __field( int, level ) level 78 include/trace/events/kvm.h __entry->level = level; level 83 include/trace/events/kvm.h __entry->gsi, __entry->level, __entry->irq_source_id) level 259 include/trace/events/kvm.h TP_PROTO(ulong gfn, int level, struct kvm_memory_slot *slot, int ref), level 260 include/trace/events/kvm.h TP_ARGS(gfn, level, slot, ref), level 265 include/trace/events/kvm.h __field( u8, level ) level 271 include/trace/events/kvm.h __entry->level = level; level 278 include/trace/events/kvm.h __entry->hva, __entry->gfn, __entry->level, level 110 include/trace/events/rcu.h unsigned long gp_seq_req, u8 level, int grplo, int grphi, level 113 include/trace/events/rcu.h TP_ARGS(rcuname, gp_seq, gp_seq_req, level, grplo, grphi, gpevent), level 119 include/trace/events/rcu.h __field(u8, level) level 129 include/trace/events/rcu.h __entry->level = level; level 136 include/trace/events/rcu.h __entry->rcuname, __entry->gp_seq, __entry->gp_seq_req, __entry->level, level 149 include/trace/events/rcu.h TP_PROTO(const char *rcuname, unsigned long gp_seq, u8 level, level 152 include/trace/events/rcu.h TP_ARGS(rcuname, gp_seq, level, grplo, grphi, qsmask), level 157 include/trace/events/rcu.h __field(u8, level) level 166 include/trace/events/rcu.h __entry->level = level; level 173 include/trace/events/rcu.h __entry->rcuname, __entry->gp_seq, __entry->level, level 226 include/trace/events/rcu.h TP_PROTO(const char *rcuname, u8 level, int grplo, int grphi, level 229 include/trace/events/rcu.h TP_ARGS(rcuname, level, grplo, grphi, gpevent), level 233 include/trace/events/rcu.h __field(u8, level) level 241 include/trace/events/rcu.h __entry->level = level; level 248 include/trace/events/rcu.h __entry->rcuname, __entry->level, __entry->grplo, level 364 include/trace/events/rcu.h u8 level, int grplo, int grphi, int gp_tasks), level 366 include/trace/events/rcu.h TP_ARGS(rcuname, gp_seq, mask, qsmask, level, grplo, grphi, gp_tasks), level 373 include/trace/events/rcu.h __field(u8, level) level 384 include/trace/events/rcu.h __entry->level = level; level 392 include/trace/events/rcu.h __entry->mask, __entry->qsmask, __entry->level, level 307 include/trace/events/xen.h TP_PROTO(struct mm_struct *mm, unsigned long pfn, unsigned level, bool pinned), level 308 include/trace/events/xen.h TP_ARGS(mm, pfn, level, pinned), level 312 include/trace/events/xen.h __field(unsigned, level) level 317 include/trace/events/xen.h __entry->level = level; level 320 include/trace/events/xen.h __entry->mm, __entry->pfn, __entry->level, level 325 include/trace/events/xen.h TP_PROTO(unsigned long pfn, unsigned level, bool pinned), level 326 include/trace/events/xen.h TP_ARGS(pfn, level, pinned), level 329 include/trace/events/xen.h __field(unsigned, level) level 333 include/trace/events/xen.h __entry->level = level; level 336 include/trace/events/xen.h __entry->pfn, __entry->level, level 118 include/uapi/drm/virtgpu_drm.h __u32 level; level 125 include/uapi/drm/virtgpu_drm.h __u32 level; level 44 include/uapi/linux/atm_nicstar.h buf_nr level; level 3610 include/uapi/linux/bpf.h __s32 level; level 500 include/uapi/linux/btrfs_tree.h __u8 level; level 620 include/uapi/linux/btrfs_tree.h __u8 level; level 57 include/uapi/linux/hiddev.h __u32 level; level 346 include/uapi/linux/input.h __s16 level; level 125 include/uapi/linux/kvm.h __u32 level; level 15 include/uapi/linux/netfilter/xt_LOG.h unsigned char level; level 15 include/uapi/linux/netfilter_ipv4/ipt_LOG.h unsigned char level; level 15 include/uapi/linux/netfilter_ipv6/ip6t_LOG.h unsigned char level; level 396 include/uapi/linux/pkt_sched.h __u32 level; /* out only */ level 447 include/uapi/linux/pkt_sched.h __u32 level; /* class level in hierarchy */ level 473 include/uapi/linux/pkt_sched.h unsigned char level; level 146 include/uapi/linux/raid/md_p.h __u32 level; /* 7 Raid personality */ level 240 include/uapi/linux/raid/md_p.h __le32 level; /* -4 (multipath), -1 (linear), 0,1,4,5 */ level 85 include/uapi/linux/raid/md_u.h int level; level 223 include/uapi/linux/virtio_gpu.h __le32 level; level 713 include/uapi/linux/wireless.h __u8 level; /* signal level (dBm) */ level 313 include/uapi/rdma/rdma_user_cm.h __u32 level; level 398 include/uapi/sound/compress_params.h __u32 level; level 27 init/do_mounts_md.c int level; level 56 init/do_mounts_md.c int minor, level, factor, fault, partitioned = 0; level 83 init/do_mounts_md.c switch (get_option(&str, &level)) { /* RAID level */ level 85 init/do_mounts_md.c if (level == 0 || level == LEVEL_LINEAR) { level 91 init/do_mounts_md.c md_setup_args[ent].level = level; level 93 init/do_mounts_md.c if (level == LEVEL_LINEAR) level 104 init/do_mounts_md.c md_setup_args[ent].level = LEVEL_NONE; level 188 init/do_mounts_md.c if (md_setup_args[ent].level != LEVEL_NONE) { level 191 init/do_mounts_md.c ainfo.level = md_setup_args[ent].level; level 995 init/main.c static void __init do_initcall_level(int level) level 1000 init/main.c parse_args(initcall_level_names[level], level 1003 init/main.c level, level, level 1006 init/main.c trace_initcall_level(initcall_level_names[level]); level 1007 init/main.c for (fn = initcall_levels[level]; fn < initcall_levels[level+1]; fn++) level 1013 init/main.c int level; level 1015 init/main.c for (level = 0; level < ARRAY_SIZE(initcall_levels) - 1; level++) level 1016 init/main.c do_initcall_level(level); level 3307 kernel/bpf/btf.c log->level = log_level; level 3313 kernel/bpf/btf.c !log->level || !log->ubuf) { level 3354 kernel/bpf/btf.c if (log->level && bpf_verifier_log_full(log)) { level 986 kernel/bpf/cgroup.c int __cgroup_bpf_run_filter_setsockopt(struct sock *sk, int *level, level 993 kernel/bpf/cgroup.c .level = *level, level 1044 kernel/bpf/cgroup.c *level = ctx.level; level 1057 kernel/bpf/cgroup.c int __cgroup_bpf_run_filter_getsockopt(struct sock *sk, int level, level 1065 kernel/bpf/cgroup.c .level = level, level 1453 kernel/bpf/cgroup.c case offsetof(struct bpf_sockopt, level): level 1510 kernel/bpf/cgroup.c case offsetof(struct bpf_sockopt, level): level 1512 kernel/bpf/cgroup.c *insn++ = CG_SOCKOPT_ACCESS_FIELD(BPF_STX_MEM, level); level 1514 kernel/bpf/cgroup.c *insn++ = CG_SOCKOPT_ACCESS_FIELD(BPF_LDX_MEM, level); level 1153 kernel/bpf/verifier.c if (env->log.level & BPF_LOG_LEVEL2) level 1459 kernel/bpf/verifier.c if (env->log.level & BPF_LOG_LEVEL) { level 1718 kernel/bpf/verifier.c if (env->log.level & BPF_LOG_LEVEL) level 1805 kernel/bpf/verifier.c if (env->log.level & BPF_LOG_LEVEL) { level 2198 kernel/bpf/verifier.c if (env->log.level & BPF_LOG_LEVEL) level 3825 kernel/bpf/verifier.c if (env->log.level & BPF_LOG_LEVEL) { level 3865 kernel/bpf/verifier.c if (env->log.level & BPF_LOG_LEVEL) { level 6016 kernel/bpf/verifier.c if (env->log.level & BPF_LOG_LEVEL) level 7264 kernel/bpf/verifier.c if (env->log.level & BPF_LOG_LEVEL2) level 7278 kernel/bpf/verifier.c if (env->log.level & BPF_LOG_LEVEL2) level 7604 kernel/bpf/verifier.c if (env->log.level & BPF_LOG_LEVEL) { level 7622 kernel/bpf/verifier.c if (env->log.level & BPF_LOG_LEVEL2 || level 7623 kernel/bpf/verifier.c (env->log.level & BPF_LOG_LEVEL && do_print_state)) { level 7624 kernel/bpf/verifier.c if (env->log.level & BPF_LOG_LEVEL2) level 7635 kernel/bpf/verifier.c if (env->log.level & BPF_LOG_LEVEL) { level 9273 kernel/bpf/verifier.c if (env->log.level & BPF_LOG_STATS) { level 9334 kernel/bpf/verifier.c log->level = attr->log_level; level 9341 kernel/bpf/verifier.c !log->level || !log->ubuf || log->level & ~BPF_LOG_MASK) level 9436 kernel/bpf/verifier.c if (log->level && bpf_verifier_log_full(log)) level 9438 kernel/bpf/verifier.c if (log->level && !log->ubuf) { level 5225 kernel/cgroup/cgroup.c int level = parent->level + 1; level 5229 kernel/cgroup/cgroup.c cgrp = kzalloc(struct_size(cgrp, ancestor_ids, (level + 1)), level 5258 kernel/cgroup/cgroup.c cgrp->level = level; level 5286 kernel/cgroup/cgroup.c cgrp->ancestor_ids[tcgrp->level] = tcgrp->id; level 5350 kernel/cgroup/cgroup.c int level = 1; level 5358 kernel/cgroup/cgroup.c if (level > cgroup->max_depth) level 5361 kernel/cgroup/cgroup.c level++; level 549 kernel/exit.c unsigned int ns_level = task_pid(father)->level; level 559 kernel/exit.c task_pid(reaper)->level == ns_level; level 132 kernel/params.c if (params[i].level < min_level level 133 kernel/params.c || params[i].level > max_level) level 400 kernel/params.c s16 level, level 410 kernel/params.c kp.level = level; level 449 kernel/params.c arr->elemsize, arr->ops->set, kp->level, level 53 kernel/pid.c .level = 0, level 77 kernel/pid.c .level = 0, level 110 kernel/pid.c ns = pid->numbers[pid->level].ns; level 131 kernel/pid.c for (i = 0; i <= pid->level; i++) { level 174 kernel/pid.c pid->level = ns->level; level 176 kernel/pid.c for (i = ns->level; i >= 0; i--) { level 220 kernel/pid.c upid = pid->numbers + ns->level; level 239 kernel/pid.c while (++i <= ns->level) { level 410 kernel/pid.c if (pid && ns->level <= pid->level) { level 411 kernel/pid.c upid = &pid->numbers[ns->level]; level 39 kernel/pid_namespace.c static struct kmem_cache *create_pid_cachep(unsigned int level) level 42 kernel/pid_namespace.c struct kmem_cache **pkc = &pid_cache[level - 1]; level 51 kernel/pid_namespace.c snprintf(name, sizeof(name), "pid_%u", level + 1); level 52 kernel/pid_namespace.c len = sizeof(struct pid) + level * sizeof(struct upid); level 82 kernel/pid_namespace.c unsigned int level = parent_pid_ns->level + 1; level 91 kernel/pid_namespace.c if (level > MAX_PID_NS_LEVEL) level 104 kernel/pid_namespace.c ns->pid_cachep = create_pid_cachep(level); level 114 kernel/pid_namespace.c ns->level = level; level 400 kernel/pid_namespace.c if (new->level < active->level) level 404 kernel/pid_namespace.c while (ancestor->level > active->level) level 113 kernel/power/hibernate.c static int hibernation_test(int level) level 115 kernel/power/hibernate.c if (pm_test_level == level) { level 122 kernel/power/hibernate.c static int hibernation_test(int level) { return 0; } level 211 kernel/power/main.c int level; level 213 kernel/power/main.c for (level = TEST_FIRST; level <= TEST_MAX; level++) level 214 kernel/power/main.c if (pm_tests[level]) { level 215 kernel/power/main.c if (level == pm_test_level) level 216 kernel/power/main.c s += sprintf(s, "[%s] ", pm_tests[level]); level 218 kernel/power/main.c s += sprintf(s, "%s ", pm_tests[level]); level 232 kernel/power/main.c int level; level 242 kernel/power/main.c level = TEST_FIRST; level 243 kernel/power/main.c for (s = &pm_tests[level]; level <= TEST_MAX; s++, level++) level 245 kernel/power/main.c pm_test_level = level; level 323 kernel/power/suspend.c static int suspend_test(int level) level 326 kernel/power/suspend.c if (pm_test_level == level) { level 16 kernel/printk/internal.h int vprintk_store(int facility, int level, level 375 kernel/printk/printk.c u8 level:3; /* syslog level */ level 616 kernel/printk/printk.c static int log_store(u32 caller_id, int facility, int level, level 658 kernel/printk/printk.c msg->level = level & 7; level 743 kernel/printk/printk.c (msg->facility << 3) | msg->level, seq, ts_usec, level 805 kernel/printk/printk.c int devkmsg_emit(int facility, int level, const char *fmt, ...) level 811 kernel/printk/printk.c r = vprintk_emit(facility, level, NULL, 0, fmt, args); level 820 kernel/printk/printk.c int level = default_message_loglevel; level 866 kernel/printk/printk.c level = LOG_LEVEL(u); level 875 kernel/printk/printk.c devkmsg_emit(facility, level, "%s", line); level 1227 kernel/printk/printk.c static bool suppress_message_printing(int level) level 1229 kernel/printk/printk.c return (level >= console_loglevel && !ignore_loglevel); level 1255 kernel/printk/printk.c static void boot_delay_msec(int level) level 1261 kernel/printk/printk.c || suppress_message_printing(level)) { level 1282 kernel/printk/printk.c static inline void boot_delay_msec(int level) level 1290 kernel/printk/printk.c static size_t print_syslog(unsigned int level, char *buf) level 1292 kernel/printk/printk.c return sprintf(buf, "<%u>", level); level 1322 kernel/printk/printk.c len = print_syslog((msg->facility << 3) | msg->level, buf); level 1854 kernel/printk/printk.c u8 level; /* log level of first message */ level 1864 kernel/printk/printk.c log_store(cont.caller_id, cont.facility, cont.level, cont.flags, level 1869 kernel/printk/printk.c static bool cont_add(u32 caller_id, int facility, int level, level 1880 kernel/printk/printk.c cont.level = level; level 1899 kernel/printk/printk.c static size_t log_output(int facility, int level, enum log_flags lflags, const char *dict, size_t dictlen, char *text, size_t text_len) level 1909 kernel/printk/printk.c if (cont_add(caller_id, facility, level, lflags, text, text_len)) level 1922 kernel/printk/printk.c if (cont_add(caller_id, facility, level, lflags, text, text_len)) level 1927 kernel/printk/printk.c return log_store(caller_id, facility, level, lflags, 0, level 1932 kernel/printk/printk.c int vprintk_store(int facility, int level, level 1960 kernel/printk/printk.c if (level == LOGLEVEL_DEFAULT) level 1961 kernel/printk/printk.c level = kern_level - '0'; level 1972 kernel/printk/printk.c if (level == LOGLEVEL_DEFAULT) level 1973 kernel/printk/printk.c level = default_message_loglevel; level 1978 kernel/printk/printk.c return log_output(facility, level, lflags, level 1982 kernel/printk/printk.c asmlinkage int vprintk_emit(int facility, int level, level 1995 kernel/printk/printk.c if (level == LOGLEVEL_SCHED) { level 1996 kernel/printk/printk.c level = LOGLEVEL_DEFAULT; level 2000 kernel/printk/printk.c boot_delay_msec(level); level 2006 kernel/printk/printk.c printed_len = vprintk_store(facility, level, dict, dictlen, fmt, args); level 2121 kernel/printk/printk.c static bool suppress_message_printing(int level) { return false; } level 2459 kernel/printk/printk.c if (suppress_message_printing(msg->level)) { level 320 kernel/rcu/rcu.h #define rcu_first_leaf_node() (rcu_state.level[rcu_num_lvls - 1]) level 323 kernel/rcu/rcu.h #define rcu_is_leaf_node(rnp) ((rnp)->level == rcu_num_lvls - 1) level 87 kernel/rcu/srcutree.c int level = 0; level 94 kernel/rcu/srcutree.c ssp->level[0] = &ssp->node[0]; level 96 kernel/rcu/srcutree.c ssp->level[i] = ssp->level[i - 1] + num_rcu_lvl[i - 1]; level 118 kernel/rcu/srcutree.c if (snp == ssp->level[level + 1]) level 119 kernel/rcu/srcutree.c level++; level 120 kernel/rcu/srcutree.c snp->srcu_parent = ssp->level[level - 1] + level 121 kernel/rcu/srcutree.c (snp - ssp->level[level]) / level 122 kernel/rcu/srcutree.c levelspread[level - 1]; level 131 kernel/rcu/srcutree.c level = rcu_num_lvls - 1; level 132 kernel/rcu/srcutree.c snp_first = ssp->level[level]; level 140 kernel/rcu/srcutree.c sdp->mynode = &snp_first[cpu / levelspread[level]]; level 547 kernel/rcu/srcutree.c last_lvl = snp >= ssp->level[rcu_num_lvls - 1]; level 88 kernel/rcu/tree.c .level = { &rcu_state.node[0] }, level 1029 kernel/rcu/tree.c __func__, rnp->grplo, rnp->grphi, rnp->level, level 1112 kernel/rcu/tree.c rnp->level, rnp->grplo, rnp->grphi, s); level 1555 kernel/rcu/tree.c rnp->level, rnp->grplo, level 1868 kernel/rcu/tree.c mask, rnp->qsmask, rnp->level, level 3360 kernel/rcu/tree.c rcu_state.level[i] = level 3361 kernel/rcu/tree.c rcu_state.level[i - 1] + num_rcu_lvl[i - 1]; level 3368 kernel/rcu/tree.c rnp = rcu_state.level[i]; level 3392 kernel/rcu/tree.c rnp->parent = rcu_state.level[i - 1] + level 3395 kernel/rcu/tree.c rnp->level = i; level 3503 kernel/rcu/tree.c int level = 0; level 3509 kernel/rcu/tree.c if (rnp->level != level) { level 3512 kernel/rcu/tree.c level = rnp->level; level 78 kernel/rcu/tree.h u8 level; /* root is at level 0. */ level 292 kernel/rcu/tree.h struct rcu_node *level[RCU_NUM_LVLS + 1]; level 305 kernel/rcu/tree_exp.h trace_rcu_exp_funnel_lock(rcu_state.name, rnp->level, level 314 kernel/rcu/tree_exp.h trace_rcu_exp_funnel_lock(rcu_state.name, rnp->level, level 514 kernel/rcu/tree_exp.h rnp->level, rnp->grplo, rnp->grphi, level 517 kernel/rcu/tree_plugin.h rnp->level, level 754 kernel/rcu/tree_plugin.h __func__, rnp->grplo, rnp->grphi, rnp->level, level 207 kernel/rcu/tree_stall.h rnp->level, rnp->grplo, rnp->grphi); level 28 kernel/sched/topology.c static int sched_domain_debug_one(struct sched_domain *sd, int cpu, int level, level 35 kernel/sched/topology.c printk(KERN_DEBUG "%*s domain-%d: ", level, "", level); level 54 kernel/sched/topology.c printk(KERN_DEBUG "%*s groups:", level + 1, ""); level 117 kernel/sched/topology.c int level = 0; level 130 kernel/sched/topology.c if (sched_domain_debug_one(sd, cpu, level, sched_domains_tmpmask)) level 132 kernel/sched/topology.c level++; level 1208 kernel/sched/topology.c if (request < sd->level) { level 1559 kernel/sched/topology.c int level = 0; level 1567 kernel/sched/topology.c sched_domains_numa_distance[level++] = curr_distance; level 1568 kernel/sched/topology.c sched_domains_numa_levels = level; level 1600 kernel/sched/topology.c sched_domains_numa_distance[level++] = next_distance; level 1601 kernel/sched/topology.c sched_domains_numa_levels = level; level 1631 kernel/sched/topology.c sched_domains_numa_masks = kzalloc(sizeof(void *) * level, GFP_KERNEL); level 1639 kernel/sched/topology.c for (i = 0; i < level; i++) { level 1664 kernel/sched/topology.c tl = kzalloc((i + level + 1) * level 1687 kernel/sched/topology.c for (j = 1; j < level; i++, j++) { level 1699 kernel/sched/topology.c sched_domains_numa_levels = level; level 1700 kernel/sched/topology.c sched_max_numa_distance = sched_domains_numa_distance[level - 1]; level 1862 kernel/sched/topology.c sd->level = child->level + 1; level 1863 kernel/sched/topology.c sched_domain_level_max = max(sched_domain_level_max, sd->level); level 1468 kernel/trace/trace_events_filter.c int level = open; level 1479 kernel/trace/trace_events_filter.c if (level == open) { level 1483 kernel/trace/trace_events_filter.c level--; level 1486 kernel/trace/trace_events_filter.c level++; level 1690 kernel/trace/trace_events_hist.c unsigned int level) level 1694 kernel/trace/trace_events_hist.c if (level > 3) level 1708 kernel/trace/trace_events_hist.c if (field_has_hist_vars(operand, level + 1)) level 1991 kernel/trace/trace_events_hist.c unsigned int level) level 1995 kernel/trace/trace_events_hist.c if (level > 1) level 2002 kernel/trace/trace_events_hist.c field_name = hist_field_name(field->operands[0], ++level); level 2377 kernel/trace/trace_events_hist.c static char *expr_str(struct hist_field *field, unsigned int level) level 2381 kernel/trace/trace_events_hist.c if (level > 1) level 2397 kernel/trace/trace_events_hist.c subexpr = expr_str(field->operands[0], ++level); level 2476 kernel/trace/trace_events_hist.c unsigned int level) level 2480 kernel/trace/trace_events_hist.c if (level > 3) level 2490 kernel/trace/trace_events_hist.c destroy_hist_field(hist_field->operands[i], level + 1); level 2971 kernel/trace/trace_events_hist.c char *var_name, unsigned int level); level 2976 kernel/trace/trace_events_hist.c char *var_name, unsigned int level) level 2985 kernel/trace/trace_events_hist.c if (level > 3) { level 3017 kernel/trace/trace_events_hist.c operand1 = parse_expr(hist_data, file, str, operand_flags, NULL, ++level); level 3080 kernel/trace/trace_events_hist.c char *var_name, unsigned int level) level 3087 kernel/trace/trace_events_hist.c if (level > 3) { level 3098 kernel/trace/trace_events_hist.c return parse_unary(hist_data, file, str, flags, var_name, ++level); level 3126 kernel/trace/trace_events_hist.c operand2 = parse_expr(hist_data, file, str, operand_flags, NULL, ++level); level 78 kernel/user_namespace.c if (parent_ns->level > 32) level 117 kernel/user_namespace.c ns->level = parent_ns->level + 1; level 1224 kernel/user_namespace.c for (ns = child; ns->level > ancestor->level; ns = ns->parent) level 154 lib/assoc_array.c int level; level 159 lib/assoc_array.c int level; level 180 lib/assoc_array.c int level, sc_level, next_sc_level; level 189 lib/assoc_array.c level = 0; level 199 lib/assoc_array.c segments = ops->get_key_chunk(index_key, level); level 200 lib/assoc_array.c pr_devel("segments[%d]: %lx\n", level, segments); level 207 lib/assoc_array.c slot = segments >> (level & ASSOC_ARRAY_KEY_CHUNK_MASK); level 212 lib/assoc_array.c slot, level, (unsigned long)ptr & 3); level 219 lib/assoc_array.c result->terminal_node.level = level; level 230 lib/assoc_array.c level += ASSOC_ARRAY_LEVEL_STEP; level 231 lib/assoc_array.c if ((level & ASSOC_ARRAY_KEY_CHUNK_MASK) != 0) level 244 lib/assoc_array.c sc_level = level + ASSOC_ARRAY_LEVEL_STEP; level 271 lib/assoc_array.c result->wrong_shortcut.level = level; level 283 lib/assoc_array.c if (((level ^ sc_level) & ~ASSOC_ARRAY_KEY_CHUNK_MASK) != 0) { level 284 lib/assoc_array.c level = sc_level; level 287 lib/assoc_array.c level = sc_level; level 485 lib/assoc_array.c int level, diff; level 489 lib/assoc_array.c level = result->terminal_node.level; level 559 lib/assoc_array.c assoc_array_ptr_to_leaf(ptr), level); level 560 lib/assoc_array.c base_seg >>= level & ASSOC_ARRAY_KEY_CHUNK_MASK; level 739 lib/assoc_array.c BUG_ON(diff < level + ASSOC_ARRAY_LEVEL_STEP); level 759 lib/assoc_array.c new_s0->skip_to_level = level = diff & ~ASSOC_ARRAY_LEVEL_STEP_MASK; level 760 lib/assoc_array.c pr_devel("skip_to_level = %d [diff %d]\n", level, diff); level 761 lib/assoc_array.c BUG_ON(level <= 0); level 767 lib/assoc_array.c if (level & ASSOC_ARRAY_KEY_CHUNK_MASK) { level 768 lib/assoc_array.c blank = ULONG_MAX << (level & ASSOC_ARRAY_KEY_CHUNK_MASK); level 769 lib/assoc_array.c pr_devel("blank off [%zu] %d: %lx\n", keylen - 1, level, blank); level 779 lib/assoc_array.c level); level 780 lib/assoc_array.c base_seg >>= level & ASSOC_ARRAY_KEY_CHUNK_MASK; level 784 lib/assoc_array.c base_seg = ops->get_key_chunk(index_key, level); level 785 lib/assoc_array.c base_seg >>= level & ASSOC_ARRAY_KEY_CHUNK_MASK; level 801 lib/assoc_array.c int level, sc_level, diff; level 805 lib/assoc_array.c level = result->wrong_shortcut.level; level 811 lib/assoc_array.c __func__, level, dissimilarity, sc_level); level 846 lib/assoc_array.c level += ASSOC_ARRAY_LEVEL_STEP; level 847 lib/assoc_array.c if (diff > level) { level 848 lib/assoc_array.c pr_devel("pre-shortcut %d...%d\n", level, diff); level 896 lib/assoc_array.c level = diff + ASSOC_ARRAY_LEVEL_STEP; level 897 lib/assoc_array.c if (level < shortcut->skip_to_level) { level 898 lib/assoc_array.c pr_devel("post-shortcut %d...%d\n", level, shortcut->skip_to_level); level 389 lib/btree.c unsigned long *key, int level) level 394 lib/btree.c for (height = head->height; height > level; height--) { level 449 lib/btree.c unsigned long *key, void *val, int level, level 456 lib/btree.c if (head->height < level) { level 463 lib/btree.c node = find_level(head, geo, key, level); level 478 lib/btree.c new, level + 1, gfp); level 519 lib/btree.c unsigned long *key, int level); level 520 lib/btree.c static void merge(struct btree_head *head, struct btree_geo *geo, int level, level 536 lib/btree.c btree_remove_level(head, geo, bkey(geo, parent, lpos), level + 1); level 541 lib/btree.c unsigned long *key, int level, unsigned long *child, int fill) level 551 lib/btree.c btree_remove_level(head, geo, key, level + 1); level 556 lib/btree.c parent = find_level(head, geo, key, level + 1); level 564 lib/btree.c merge(head, geo, level, level 575 lib/btree.c merge(head, geo, level, level 592 lib/btree.c unsigned long *key, int level) level 598 lib/btree.c if (level > head->height) { level 605 lib/btree.c node = find_level(head, geo, key, level); level 608 lib/btree.c if ((level == 1) && (keycmp(geo, node, pos, key) != 0)) level 620 lib/btree.c if (level < head->height) level 621 lib/btree.c rebalance(head, geo, key, level, node, fill - 1); level 46 lib/decompress_unlzo.c u8 level = 0; level 68 lib/decompress_unlzo.c level = *parse++; level 58 lib/generic-radix-tree.c unsigned level = genradix_root_to_depth(r); level 60 lib/generic-radix-tree.c if (ilog2(offset) >= genradix_depth_shift(level)) level 66 lib/generic-radix-tree.c if (!level) level 69 lib/generic-radix-tree.c level--; level 71 lib/generic-radix-tree.c n = n->children[offset >> genradix_depth_shift(level)]; level 72 lib/generic-radix-tree.c offset &= genradix_depth_size(level) - 1; level 109 lib/generic-radix-tree.c unsigned level; level 116 lib/generic-radix-tree.c level = genradix_root_to_depth(r); level 118 lib/generic-radix-tree.c if (n && ilog2(offset) < genradix_depth_shift(level)) level 129 lib/generic-radix-tree.c ((unsigned long) new_node | (n ? level + 1 : 0))); level 137 lib/generic-radix-tree.c while (level--) { level 139 lib/generic-radix-tree.c &n->children[offset >> genradix_depth_shift(level)]; level 140 lib/generic-radix-tree.c offset &= genradix_depth_size(level) - 1; level 168 lib/generic-radix-tree.c unsigned level, i; level 175 lib/generic-radix-tree.c level = genradix_root_to_depth(r); level 177 lib/generic-radix-tree.c if (ilog2(iter->offset) >= genradix_depth_shift(level)) level 180 lib/generic-radix-tree.c while (level) { level 181 lib/generic-radix-tree.c level--; level 183 lib/generic-radix-tree.c i = (iter->offset >> genradix_depth_shift(level)) & level 189 lib/generic-radix-tree.c genradix_depth_size(level), level 190 lib/generic-radix-tree.c genradix_depth_size(level)); level 204 lib/generic-radix-tree.c static void genradix_free_recurse(struct genradix_node *n, unsigned level) level 206 lib/generic-radix-tree.c if (level) { level 211 lib/generic-radix-tree.c genradix_free_recurse(n->children[i], level - 1); level 239 lib/hexdump.c void print_hex_dump(const char *level, const char *prefix_str, int prefix_type, level 260 lib/hexdump.c level, prefix_str, ptr + i, linebuf); level 263 lib/hexdump.c printk("%s%s%.8x: %s\n", level, prefix_str, i, linebuf); level 266 lib/hexdump.c printk("%s%s%s\n", level, prefix_str, linebuf); level 169 lib/zlib_deflate/deflate.c int level, level 190 lib/zlib_deflate/deflate.c if (level == Z_DEFAULT_COMPRESSION) level = 6; level 199 lib/zlib_deflate/deflate.c windowBits < 9 || windowBits > 15 || level < 0 || level > 9 || level 245 lib/zlib_deflate/deflate.c s->level = level; level 355 lib/zlib_deflate/deflate.c uInt level_flags = (s->level-1) >> 1; level 407 lib/zlib_deflate/deflate.c bstate = (*(configuration_table[s->level].func))(s, flush); level 529 lib/zlib_deflate/deflate.c s->max_lazy_match = configuration_table[s->level].max_lazy; level 530 lib/zlib_deflate/deflate.c s->good_match = configuration_table[s->level].good_length; level 531 lib/zlib_deflate/deflate.c s->nice_match = configuration_table[s->level].nice_length; level 532 lib/zlib_deflate/deflate.c s->max_chain_length = configuration_table[s->level].max_chain; level 867 lib/zlib_deflate/deftree.c if (s->level > 0) { level 993 lib/zlib_deflate/deftree.c if ((s->last_lit & 0xfff) == 0 && s->level > 2) { level 158 lib/zlib_deflate/defutil.h int level; /* compression level (1..9) */ level 432 mm/internal.h #define mminit_dprintk(level, prefix, fmt, arg...) \ level 434 mm/internal.h if (level < mminit_loglevel) { \ level 435 mm/internal.h if (level <= MMINIT_WARNING) \ level 446 mm/internal.h static inline void mminit_dprintk(enum mminit_level level, level 527 mm/slub.c static void print_section(char *level, char *text, u8 *addr, level 531 mm/slub.c print_hex_dump(level, text, DUMP_PREFIX_ADDRESS, 16, 1, addr, level 153 mm/vmpressure.c enum vmpressure_levels level; level 159 mm/vmpressure.c const enum vmpressure_levels level, level 171 mm/vmpressure.c if (level < ev->level) level 186 mm/vmpressure.c enum vmpressure_levels level; level 210 mm/vmpressure.c level = vmpressure_calc_level(scanned, reclaimed); level 213 mm/vmpressure.c if (vmpressure_event(vmpr, level, ancestor, signalled)) level 280 mm/vmpressure.c enum vmpressure_levels level; level 296 mm/vmpressure.c level = vmpressure_calc_level(scanned, reclaimed); level 298 mm/vmpressure.c if (level > VMPRESSURE_LOW) { level 368 mm/vmpressure.c enum vmpressure_levels level; level 384 mm/vmpressure.c level = ret; level 402 mm/vmpressure.c ev->level = level; level 32 net/9p/mod.c void _p9_debug(enum p9_debug_flags level, const char *func, level 38 net/9p/mod.c if ((p9_debug_level & level) != level) level 46 net/9p/mod.c if (level == P9_DEBUG_9P) level 747 net/atm/common.c int vcc_setsockopt(struct socket *sock, int level, int optname, level 754 net/atm/common.c if (__SO_LEVEL_MATCH(optname, level) && optlen != __SO_SIZE(optname)) level 785 net/atm/common.c if (level == SOL_SOCKET) level 791 net/atm/common.c return vcc->dev->ops->setsockopt(vcc, level, optname, optval, optlen); level 794 net/atm/common.c int vcc_getsockopt(struct socket *sock, int level, int optname, level 802 net/atm/common.c if (__SO_LEVEL_MATCH(optname, level) && len != __SO_SIZE(optname)) level 829 net/atm/common.c if (level == SOL_SOCKET) level 835 net/atm/common.c return vcc->dev->ops->getsockopt(vcc, level, optname, optval, len); level 23 net/atm/common.h int vcc_setsockopt(struct socket *sock, int level, int optname, level 25 net/atm/common.h int vcc_getsockopt(struct socket *sock, int level, int optname, level 65 net/atm/pvc.c static int pvc_setsockopt(struct socket *sock, int level, int optname, level 72 net/atm/pvc.c error = vcc_setsockopt(sock, level, optname, optval, optlen); level 77 net/atm/pvc.c static int pvc_getsockopt(struct socket *sock, int level, int optname, level 84 net/atm/pvc.c error = vcc_getsockopt(sock, level, optname, optval, optlen); level 453 net/atm/svc.c static int svc_setsockopt(struct socket *sock, int level, int optname, level 463 net/atm/svc.c if (level != SOL_ATM || optlen != sizeof(struct atm_sap)) { level 474 net/atm/svc.c if (level != SOL_ATM || optlen != sizeof(int)) { level 490 net/atm/svc.c error = vcc_setsockopt(sock, level, optname, optval, optlen); level 498 net/atm/svc.c static int svc_getsockopt(struct socket *sock, int level, int optname, level 505 net/atm/svc.c if (!__SO_LEVEL_MATCH(optname, level) || optname != SO_ATMSAP) { level 506 net/atm/svc.c error = vcc_getsockopt(sock, level, optname, optval, optlen); level 530 net/ax25/af_ax25.c static int ax25_setsockopt(struct socket *sock, int level, int optname, level 540 net/ax25/af_ax25.c if (level != SOL_AX25) level 681 net/ax25/af_ax25.c static int ax25_getsockopt(struct socket *sock, int level, int optname, level 692 net/ax25/af_ax25.c if (level != SOL_AX25) level 1816 net/bluetooth/hci_sock.c static int hci_sock_setsockopt(struct socket *sock, int level, int optname, level 1825 net/bluetooth/hci_sock.c if (level != SOL_HCI) level 1902 net/bluetooth/hci_sock.c static int hci_sock_getsockopt(struct socket *sock, int level, int optname, level 1911 net/bluetooth/hci_sock.c if (level != SOL_HCI) level 495 net/bluetooth/l2cap_sock.c static int l2cap_sock_getsockopt(struct socket *sock, int level, int optname, level 506 net/bluetooth/l2cap_sock.c if (level == SOL_L2CAP) level 509 net/bluetooth/l2cap_sock.c if (level != SOL_BLUETOOTH) level 528 net/bluetooth/l2cap_sock.c sec.level = chan->conn->hcon->sec_level; level 533 net/bluetooth/l2cap_sock.c sec.level = chan->sec_level; level 743 net/bluetooth/l2cap_sock.c static int l2cap_sock_setsockopt(struct socket *sock, int level, int optname, level 756 net/bluetooth/l2cap_sock.c if (level == SOL_L2CAP) level 759 net/bluetooth/l2cap_sock.c if (level != SOL_BLUETOOTH) level 773 net/bluetooth/l2cap_sock.c sec.level = BT_SECURITY_LOW; level 781 net/bluetooth/l2cap_sock.c if (sec.level < BT_SECURITY_LOW || level 782 net/bluetooth/l2cap_sock.c sec.level > BT_SECURITY_FIPS) { level 787 net/bluetooth/l2cap_sock.c chan->sec_level = sec.level; level 796 net/bluetooth/l2cap_sock.c if (smp_conn_security(conn->hcon, sec.level)) { level 691 net/bluetooth/rfcomm/sock.c static int rfcomm_sock_setsockopt(struct socket *sock, int level, int optname, char __user *optval, unsigned int optlen) level 701 net/bluetooth/rfcomm/sock.c if (level == SOL_RFCOMM) level 704 net/bluetooth/rfcomm/sock.c if (level != SOL_BLUETOOTH) level 716 net/bluetooth/rfcomm/sock.c sec.level = BT_SECURITY_LOW; level 724 net/bluetooth/rfcomm/sock.c if (sec.level > BT_SECURITY_HIGH) { level 729 net/bluetooth/rfcomm/sock.c rfcomm_pi(sk)->sec_level = sec.level; level 834 net/bluetooth/rfcomm/sock.c static int rfcomm_sock_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) level 842 net/bluetooth/rfcomm/sock.c if (level == SOL_RFCOMM) level 845 net/bluetooth/rfcomm/sock.c if (level != SOL_BLUETOOTH) level 860 net/bluetooth/rfcomm/sock.c sec.level = rfcomm_pi(sk)->sec_level; level 793 net/bluetooth/sco.c static int sco_sock_setsockopt(struct socket *sock, int level, int optname, level 919 net/bluetooth/sco.c static int sco_sock_getsockopt(struct socket *sock, int level, int optname, level 928 net/bluetooth/sco.c if (level == SOL_SCO) level 452 net/bridge/br_private.h #define br_printk(level, br, format, args...) \ level 453 net/bridge/br_private.h printk(level "%s: " format, (br)->dev->name, ##args) level 87 net/bridge/netfilter/ebt_log.c '0' + loginfo->u.log.level, prefix, level 186 net/bridge/netfilter/ebt_log.c li.u.log.level = info->loglevel; level 648 net/can/j1939/socket.c static int j1939_sk_setsockopt(struct socket *sock, int level, int optname, level 656 net/can/j1939/socket.c if (level != SOL_CAN_J1939) level 721 net/can/j1939/socket.c static int j1939_sk_getsockopt(struct socket *sock, int level, int optname, level 732 net/can/j1939/socket.c if (level != SOL_CAN_J1939) level 487 net/can/raw.c static int raw_setsockopt(struct socket *sock, int level, int optname, level 499 net/can/raw.c if (level != SOL_CAN_RAW) level 648 net/can/raw.c static int raw_getsockopt(struct socket *sock, int level, int optname, level 657 net/can/raw.c if (level != SOL_CAN_RAW) level 210 net/compat.c int put_cmsg_compat(struct msghdr *kmsg, int level, int type, int len, void *data) level 224 net/compat.c if (level == SOL_SOCKET && type == SO_TIMESTAMP_OLD) { level 231 net/compat.c if (level == SOL_SOCKET && level 250 net/compat.c cmhdr.cmsg_level = level; level 340 net/compat.c static int do_set_attach_filter(struct socket *sock, int level, int optname, level 349 net/compat.c return sock_setsockopt(sock, level, optname, (char __user *)kfprog, level 353 net/compat.c static int compat_sock_setsockopt(struct socket *sock, int level, int optname, level 358 net/compat.c return do_set_attach_filter(sock, level, optname, level 360 net/compat.c return sock_setsockopt(sock, level, optname, optval, optlen); level 363 net/compat.c static int __compat_sys_setsockopt(int fd, int level, int optname, level 374 net/compat.c err = security_socket_setsockopt(sock, level, optname); level 380 net/compat.c if (level == SOL_SOCKET) level 381 net/compat.c err = compat_sock_setsockopt(sock, level, level 384 net/compat.c err = sock->ops->compat_setsockopt(sock, level, level 387 net/compat.c err = sock->ops->setsockopt(sock, level, level 394 net/compat.c COMPAT_SYSCALL_DEFINE5(setsockopt, int, fd, int, level, int, optname, level 397 net/compat.c return __compat_sys_setsockopt(fd, level, optname, optval, optlen); level 400 net/compat.c static int __compat_sys_getsockopt(int fd, int level, int optname, level 408 net/compat.c err = security_socket_getsockopt(sock, level, optname); level 414 net/compat.c if (level == SOL_SOCKET) level 415 net/compat.c err = sock_getsockopt(sock, level, level 418 net/compat.c err = sock->ops->compat_getsockopt(sock, level, level 421 net/compat.c err = sock->ops->getsockopt(sock, level, level 428 net/compat.c COMPAT_SYSCALL_DEFINE5(getsockopt, int, fd, int, level, int, optname, level 431 net/compat.c return __compat_sys_getsockopt(fd, level, optname, optval, optlen); level 462 net/compat.c int compat_mc_setsockopt(struct sock *sock, int level, int optname, level 545 net/compat.c return setsockopt(sock, level, optname, koptval, koptlen); level 549 net/compat.c int compat_mc_getsockopt(struct sock *sock, int level, int optname, level 560 net/compat.c return getsockopt(sock, level, optname, optval, optlen); level 590 net/compat.c err = getsockopt(sock, level, optname, (char __user *)kgf, koptlen); level 9978 net/core/dev.c static void __netdev_printk(const char *level, const struct net_device *dev, level 9982 net/core/dev.c dev_printk_emit(level[1] - '0', level 9991 net/core/dev.c level, netdev_name(dev), netdev_reg_state(dev), vaf); level 9993 net/core/dev.c printk("%s(NULL net_device): %pV", level, vaf); level 9997 net/core/dev.c void netdev_printk(const char *level, const struct net_device *dev, level 10008 net/core/dev.c __netdev_printk(level, dev, &vaf); level 10014 net/core/dev.c #define define_netdev_printk_level(func, level) \ level 10025 net/core/dev.c __netdev_printk(level, dev, &vaf); \ level 4238 net/core/filter.c int, level, int, optname, char *, optval, int, optlen) level 4247 net/core/filter.c if (level == SOL_SOCKET) { level 4293 net/core/filter.c } else if (level == SOL_IP) { level 4315 net/core/filter.c } else if (level == SOL_IPV6) { level 4337 net/core/filter.c } else if (level == SOL_TCP && level 4400 net/core/filter.c int, level, int, optname, char *, optval, int, optlen) level 4407 net/core/filter.c if (level == SOL_TCP && sk->sk_prot->getsockopt == tcp_getsockopt) { level 4431 net/core/filter.c } else if (level == SOL_IP) { level 4446 net/core/filter.c } else if (level == SOL_IPV6) { level 46 net/core/neighbour.c #define neigh_dbg(level, fmt, ...) \ level 48 net/core/neighbour.c if (level <= NEIGH_DEBUG) \ level 213 net/core/scm.c int put_cmsg(struct msghdr * msg, int level, int type, int len, void *data) level 222 net/core/scm.c return put_cmsg_compat(msg, level, type, len, data); level 232 net/core/scm.c cmhdr.cmsg_level = level; level 718 net/core/skbuff.c void skb_dump(const char *level, const struct sk_buff *skb, bool full_pkt) level 748 net/core/skbuff.c level, skb->len, headroom, skb_headlen(skb), tailroom, level 763 net/core/skbuff.c level, dev->name, &dev->features); level 766 net/core/skbuff.c level, sk->sk_family, sk->sk_type, sk->sk_protocol); level 769 net/core/skbuff.c print_hex_dump(level, "skb headroom: ", DUMP_PREFIX_OFFSET, level 774 net/core/skbuff.c print_hex_dump(level, "skb linear: ", DUMP_PREFIX_OFFSET, level 779 net/core/skbuff.c print_hex_dump(level, "skb tailroom: ", DUMP_PREFIX_OFFSET, level 793 net/core/skbuff.c print_hex_dump(level, "skb frag: ", level 806 net/core/skbuff.c skb_dump(level, list_skb, true); level 722 net/core/sock.c int sock_setsockopt(struct socket *sock, int level, int optname, level 1215 net/core/sock.c int sock_getsockopt(struct socket *sock, int level, int optname, level 2697 net/core/sock.c int sock_no_setsockopt(struct socket *sock, int level, int optname, level 2704 net/core/sock.c int sock_no_getsockopt(struct socket *sock, int level, int optname, level 3066 net/core/sock.c int level, int type) level 3089 net/core/sock.c put_cmsg(msg, level, type, sizeof(serr->ee), &serr->ee); level 3108 net/core/sock.c int sock_common_getsockopt(struct socket *sock, int level, int optname, level 3113 net/core/sock.c return sk->sk_prot->getsockopt(sk, level, optname, optval, optlen); level 3118 net/core/sock.c int compat_sock_common_getsockopt(struct socket *sock, int level, int optname, level 3124 net/core/sock.c return sk->sk_prot->compat_getsockopt(sk, level, optname, level 3126 net/core/sock.c return sk->sk_prot->getsockopt(sk, level, optname, optval, optlen); level 3149 net/core/sock.c int sock_common_setsockopt(struct socket *sock, int level, int optname, level 3154 net/core/sock.c return sk->sk_prot->setsockopt(sk, level, optname, optval, optlen); level 3159 net/core/sock.c int compat_sock_common_setsockopt(struct socket *sock, int level, int optname, level 3165 net/core/sock.c return sk->sk_prot->compat_setsockopt(sk, level, optname, level 3167 net/core/sock.c return sk->sk_prot->setsockopt(sk, level, optname, optval, optlen); level 300 net/dccp/dccp.h int dccp_getsockopt(struct sock *sk, int level, int optname, level 302 net/dccp/dccp.h int dccp_setsockopt(struct sock *sk, int level, int optname, level 305 net/dccp/dccp.h int compat_dccp_getsockopt(struct sock *sk, int level, int optname, level 307 net/dccp/dccp.h int compat_dccp_setsockopt(struct sock *sk, int level, int optname, level 500 net/dccp/proto.c static int do_dccp_setsockopt(struct sock *sk, int level, int optname, level 566 net/dccp/proto.c int dccp_setsockopt(struct sock *sk, int level, int optname, level 569 net/dccp/proto.c if (level != SOL_DCCP) level 570 net/dccp/proto.c return inet_csk(sk)->icsk_af_ops->setsockopt(sk, level, level 573 net/dccp/proto.c return do_dccp_setsockopt(sk, level, optname, optval, optlen); level 579 net/dccp/proto.c int compat_dccp_setsockopt(struct sock *sk, int level, int optname, level 582 net/dccp/proto.c if (level != SOL_DCCP) level 583 net/dccp/proto.c return inet_csk_compat_setsockopt(sk, level, optname, level 585 net/dccp/proto.c return do_dccp_setsockopt(sk, level, optname, optval, optlen); level 619 net/dccp/proto.c static int do_dccp_getsockopt(struct sock *sk, int level, int optname, level 687 net/dccp/proto.c int dccp_getsockopt(struct sock *sk, int level, int optname, level 690 net/dccp/proto.c if (level != SOL_DCCP) level 691 net/dccp/proto.c return inet_csk(sk)->icsk_af_ops->getsockopt(sk, level, level 694 net/dccp/proto.c return do_dccp_getsockopt(sk, level, optname, optval, optlen); level 700 net/dccp/proto.c int compat_dccp_getsockopt(struct sock *sk, int level, int optname, level 703 net/dccp/proto.c if (level != SOL_DCCP) level 704 net/dccp/proto.c return inet_csk_compat_getsockopt(sk, level, optname, level 706 net/dccp/proto.c return do_dccp_getsockopt(sk, level, optname, optval, optlen); level 153 net/decnet/af_decnet.c static int __dn_setsockopt(struct socket *sock, int level, int optname, char __user *optval, unsigned int optlen, int flags); level 154 net/decnet/af_decnet.c static int __dn_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen, int flags); level 1323 net/decnet/af_decnet.c static int dn_setsockopt(struct socket *sock, int level, int optname, char __user *optval, unsigned int optlen) level 1329 net/decnet/af_decnet.c err = __dn_setsockopt(sock, level, optname, optval, optlen, 0); level 1341 net/decnet/af_decnet.c static int __dn_setsockopt(struct socket *sock, int level,int optname, char __user *optval, unsigned int optlen, int flags) level 1502 net/decnet/af_decnet.c static int dn_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) level 1508 net/decnet/af_decnet.c err = __dn_getsockopt(sock, level, optname, optval, optlen, 0); level 1528 net/decnet/af_decnet.c static int __dn_getsockopt(struct socket *sock, int level,int optname, char __user *optval,int __user *optlen, int flags) level 378 net/ieee802154/socket.c static int raw_getsockopt(struct sock *sk, int level, int optname, level 384 net/ieee802154/socket.c static int raw_setsockopt(struct sock *sk, int level, int optname, level 831 net/ieee802154/socket.c static int dgram_getsockopt(struct sock *sk, int level, int optname, level 838 net/ieee802154/socket.c if (level != SOL_IEEE802154) level 878 net/ieee802154/socket.c static int dgram_setsockopt(struct sock *sk, int level, int optname, level 650 net/ipv4/cipso_ipv4.c static int cipso_v4_map_lvl_valid(const struct cipso_v4_doi *doi_def, u8 level) level 656 net/ipv4/cipso_ipv4.c if ((level < doi_def->map.std->lvl.cipso_size) && level 657 net/ipv4/cipso_ipv4.c (doi_def->map.std->lvl.cipso[level] < CIPSO_V4_INV_LVL)) level 1189 net/ipv4/cipso_ipv4.c u32 level; level 1196 net/ipv4/cipso_ipv4.c &level); level 1220 net/ipv4/cipso_ipv4.c buffer[3] = level; level 1243 net/ipv4/cipso_ipv4.c u32 level; level 1245 net/ipv4/cipso_ipv4.c ret_val = cipso_v4_map_lvl_ntoh(doi_def, tag[3], &level); level 1248 net/ipv4/cipso_ipv4.c secattr->attr.mls.lvl = level; level 1287 net/ipv4/cipso_ipv4.c u32 level; level 1294 net/ipv4/cipso_ipv4.c &level); level 1312 net/ipv4/cipso_ipv4.c buffer[3] = level; level 1335 net/ipv4/cipso_ipv4.c u32 level; level 1337 net/ipv4/cipso_ipv4.c ret_val = cipso_v4_map_lvl_ntoh(doi_def, tag[3], &level); level 1340 net/ipv4/cipso_ipv4.c secattr->attr.mls.lvl = level; level 1378 net/ipv4/cipso_ipv4.c u32 level; level 1385 net/ipv4/cipso_ipv4.c &level); level 1403 net/ipv4/cipso_ipv4.c buffer[3] = level; level 1425 net/ipv4/cipso_ipv4.c u32 level; level 1427 net/ipv4/cipso_ipv4.c ret_val = cipso_v4_map_lvl_ntoh(doi_def, tag[3], &level); level 1430 net/ipv4/cipso_ipv4.c secattr->attr.mls.lvl = level; level 1051 net/ipv4/inet_connection_sock.c int inet_csk_compat_getsockopt(struct sock *sk, int level, int optname, level 1057 net/ipv4/inet_connection_sock.c return icsk->icsk_af_ops->compat_getsockopt(sk, level, optname, level 1059 net/ipv4/inet_connection_sock.c return icsk->icsk_af_ops->getsockopt(sk, level, optname, level 1064 net/ipv4/inet_connection_sock.c int inet_csk_compat_setsockopt(struct sock *sk, int level, int optname, level 1070 net/ipv4/inet_connection_sock.c return icsk->icsk_af_ops->compat_setsockopt(sk, level, optname, level 1072 net/ipv4/inet_connection_sock.c return icsk->icsk_af_ops->setsockopt(sk, level, optname, level 590 net/ipv4/ip_sockglue.c static int do_ip_setsockopt(struct sock *sk, int level, level 1240 net/ipv4/ip_sockglue.c int ip_setsockopt(struct sock *sk, int level, level 1245 net/ipv4/ip_sockglue.c if (level != SOL_IP) level 1248 net/ipv4/ip_sockglue.c err = do_ip_setsockopt(sk, level, optname, optval, optlen); level 1267 net/ipv4/ip_sockglue.c int compat_ip_setsockopt(struct sock *sk, int level, int optname, level 1272 net/ipv4/ip_sockglue.c if (level != SOL_IP) level 1276 net/ipv4/ip_sockglue.c return compat_mc_setsockopt(sk, level, optname, optval, optlen, level 1279 net/ipv4/ip_sockglue.c err = do_ip_setsockopt(sk, level, optname, optval, optlen); level 1309 net/ipv4/ip_sockglue.c static int do_ip_getsockopt(struct sock *sk, int level, int optname, level 1317 net/ipv4/ip_sockglue.c if (level != SOL_IP) level 1556 net/ipv4/ip_sockglue.c int ip_getsockopt(struct sock *sk, int level, level 1561 net/ipv4/ip_sockglue.c err = do_ip_getsockopt(sk, level, optname, optval, optlen, 0); level 1587 net/ipv4/ip_sockglue.c int compat_ip_getsockopt(struct sock *sk, int level, int optname, level 1593 net/ipv4/ip_sockglue.c return compat_mc_getsockopt(sk, level, optname, optval, optlen, level 1596 net/ipv4/ip_sockglue.c err = do_ip_getsockopt(sk, level, optname, optval, optlen, level 150 net/ipv4/netfilter/ip_tables.c .level = 4, level 29 net/ipv4/netfilter/nf_log_arp.c .level = LOGLEVEL_NOTICE, level 28 net/ipv4/netfilter/nf_log_ipv4.c .level = LOGLEVEL_NOTICE, level 840 net/ipv4/raw.c static int do_raw_setsockopt(struct sock *sk, int level, int optname, level 852 net/ipv4/raw.c static int raw_setsockopt(struct sock *sk, int level, int optname, level 855 net/ipv4/raw.c if (level != SOL_RAW) level 856 net/ipv4/raw.c return ip_setsockopt(sk, level, optname, optval, optlen); level 857 net/ipv4/raw.c return do_raw_setsockopt(sk, level, optname, optval, optlen); level 861 net/ipv4/raw.c static int compat_raw_setsockopt(struct sock *sk, int level, int optname, level 864 net/ipv4/raw.c if (level != SOL_RAW) level 865 net/ipv4/raw.c return compat_ip_setsockopt(sk, level, optname, optval, optlen); level 866 net/ipv4/raw.c return do_raw_setsockopt(sk, level, optname, optval, optlen); level 870 net/ipv4/raw.c static int do_raw_getsockopt(struct sock *sk, int level, int optname, level 882 net/ipv4/raw.c static int raw_getsockopt(struct sock *sk, int level, int optname, level 885 net/ipv4/raw.c if (level != SOL_RAW) level 886 net/ipv4/raw.c return ip_getsockopt(sk, level, optname, optval, optlen); level 887 net/ipv4/raw.c return do_raw_getsockopt(sk, level, optname, optval, optlen); level 891 net/ipv4/raw.c static int compat_raw_getsockopt(struct sock *sk, int level, int optname, level 894 net/ipv4/raw.c if (level != SOL_RAW) level 895 net/ipv4/raw.c return compat_ip_getsockopt(sk, level, optname, optval, optlen); level 896 net/ipv4/raw.c return do_raw_getsockopt(sk, level, optname, optval, optlen); level 2802 net/ipv4/tcp.c static int do_tcp_setsockopt(struct sock *sk, int level, level 3167 net/ipv4/tcp.c int tcp_setsockopt(struct sock *sk, int level, int optname, char __user *optval, level 3172 net/ipv4/tcp.c if (level != SOL_TCP) level 3173 net/ipv4/tcp.c return icsk->icsk_af_ops->setsockopt(sk, level, optname, level 3175 net/ipv4/tcp.c return do_tcp_setsockopt(sk, level, optname, optval, optlen); level 3180 net/ipv4/tcp.c int compat_tcp_setsockopt(struct sock *sk, int level, int optname, level 3183 net/ipv4/tcp.c if (level != SOL_TCP) level 3184 net/ipv4/tcp.c return inet_csk_compat_setsockopt(sk, level, optname, level 3186 net/ipv4/tcp.c return do_tcp_setsockopt(sk, level, optname, optval, optlen); level 3411 net/ipv4/tcp.c static int do_tcp_getsockopt(struct sock *sk, int level, level 3698 net/ipv4/tcp.c int tcp_getsockopt(struct sock *sk, int level, int optname, char __user *optval, level 3703 net/ipv4/tcp.c if (level != SOL_TCP) level 3704 net/ipv4/tcp.c return icsk->icsk_af_ops->getsockopt(sk, level, optname, level 3706 net/ipv4/tcp.c return do_tcp_getsockopt(sk, level, optname, optval, optlen); level 3711 net/ipv4/tcp.c int compat_tcp_getsockopt(struct sock *sk, int level, int optname, level 3714 net/ipv4/tcp.c if (level != SOL_TCP) level 3715 net/ipv4/tcp.c return inet_csk_compat_getsockopt(sk, level, optname, level 3717 net/ipv4/tcp.c return do_tcp_getsockopt(sk, level, optname, optval, optlen); level 2527 net/ipv4/udp.c int udp_lib_setsockopt(struct sock *sk, int level, int optname, level 2636 net/ipv4/udp.c int udp_setsockopt(struct sock *sk, int level, int optname, level 2639 net/ipv4/udp.c if (level == SOL_UDP || level == SOL_UDPLITE) level 2640 net/ipv4/udp.c return udp_lib_setsockopt(sk, level, optname, optval, optlen, level 2642 net/ipv4/udp.c return ip_setsockopt(sk, level, optname, optval, optlen); level 2646 net/ipv4/udp.c int compat_udp_setsockopt(struct sock *sk, int level, int optname, level 2649 net/ipv4/udp.c if (level == SOL_UDP || level == SOL_UDPLITE) level 2650 net/ipv4/udp.c return udp_lib_setsockopt(sk, level, optname, optval, optlen, level 2652 net/ipv4/udp.c return compat_ip_setsockopt(sk, level, optname, optval, optlen); level 2656 net/ipv4/udp.c int udp_lib_getsockopt(struct sock *sk, int level, int optname, level 2713 net/ipv4/udp.c int udp_getsockopt(struct sock *sk, int level, int optname, level 2716 net/ipv4/udp.c if (level == SOL_UDP || level == SOL_UDPLITE) level 2717 net/ipv4/udp.c return udp_lib_getsockopt(sk, level, optname, optval, optlen); level 2718 net/ipv4/udp.c return ip_getsockopt(sk, level, optname, optval, optlen); level 2722 net/ipv4/udp.c int compat_udp_getsockopt(struct sock *sk, int level, int optname, level 2725 net/ipv4/udp.c if (level == SOL_UDP || level == SOL_UDPLITE) level 2726 net/ipv4/udp.c return udp_lib_getsockopt(sk, level, optname, optval, optlen); level 2727 net/ipv4/udp.c return compat_ip_getsockopt(sk, level, optname, optval, optlen); level 15 net/ipv4/udp_impl.h int udp_setsockopt(struct sock *sk, int level, int optname, level 17 net/ipv4/udp_impl.h int udp_getsockopt(struct sock *sk, int level, int optname, level 21 net/ipv4/udp_impl.h int compat_udp_setsockopt(struct sock *sk, int level, int optname, level 23 net/ipv4/udp_impl.h int compat_udp_getsockopt(struct sock *sk, int level, int optname, level 139 net/ipv6/ipv6_sockglue.c static int do_ipv6_setsockopt(struct sock *sk, int level, int optname, level 939 net/ipv6/ipv6_sockglue.c int ipv6_setsockopt(struct sock *sk, int level, int optname, level 944 net/ipv6/ipv6_sockglue.c if (level == SOL_IP && sk->sk_type != SOCK_RAW) level 945 net/ipv6/ipv6_sockglue.c return udp_prot.setsockopt(sk, level, optname, optval, optlen); level 947 net/ipv6/ipv6_sockglue.c if (level != SOL_IPV6) level 950 net/ipv6/ipv6_sockglue.c err = do_ipv6_setsockopt(sk, level, optname, optval, optlen); level 962 net/ipv6/ipv6_sockglue.c int compat_ipv6_setsockopt(struct sock *sk, int level, int optname, level 967 net/ipv6/ipv6_sockglue.c if (level == SOL_IP && sk->sk_type != SOCK_RAW) { level 969 net/ipv6/ipv6_sockglue.c return udp_prot.compat_setsockopt(sk, level, optname, level 971 net/ipv6/ipv6_sockglue.c return udp_prot.setsockopt(sk, level, optname, optval, optlen); level 974 net/ipv6/ipv6_sockglue.c if (level != SOL_IPV6) level 978 net/ipv6/ipv6_sockglue.c return compat_mc_setsockopt(sk, level, optname, optval, optlen, level 981 net/ipv6/ipv6_sockglue.c err = do_ipv6_setsockopt(sk, level, optname, optval, optlen); level 1028 net/ipv6/ipv6_sockglue.c static int do_ipv6_getsockopt(struct sock *sk, int level, int optname, level 1386 net/ipv6/ipv6_sockglue.c int ipv6_getsockopt(struct sock *sk, int level, int optname, level 1391 net/ipv6/ipv6_sockglue.c if (level == SOL_IP && sk->sk_type != SOCK_RAW) level 1392 net/ipv6/ipv6_sockglue.c return udp_prot.getsockopt(sk, level, optname, optval, optlen); level 1394 net/ipv6/ipv6_sockglue.c if (level != SOL_IPV6) level 1397 net/ipv6/ipv6_sockglue.c err = do_ipv6_getsockopt(sk, level, optname, optval, optlen, 0); level 1416 net/ipv6/ipv6_sockglue.c int compat_ipv6_getsockopt(struct sock *sk, int level, int optname, level 1421 net/ipv6/ipv6_sockglue.c if (level == SOL_IP && sk->sk_type != SOCK_RAW) { level 1423 net/ipv6/ipv6_sockglue.c return udp_prot.compat_getsockopt(sk, level, optname, level 1425 net/ipv6/ipv6_sockglue.c return udp_prot.getsockopt(sk, level, optname, optval, optlen); level 1428 net/ipv6/ipv6_sockglue.c if (level != SOL_IPV6) level 1432 net/ipv6/ipv6_sockglue.c return compat_mc_getsockopt(sk, level, optname, optval, optlen, level 1435 net/ipv6/ipv6_sockglue.c err = do_ipv6_getsockopt(sk, level, optname, optval, optlen, level 175 net/ipv6/netfilter/ip6_tables.c .level = LOGLEVEL_WARNING, level 29 net/ipv6/netfilter/nf_log_ipv6.c .level = LOGLEVEL_NOTICE, level 974 net/ipv6/raw.c static int rawv6_seticmpfilter(struct sock *sk, int level, int optname, level 991 net/ipv6/raw.c static int rawv6_geticmpfilter(struct sock *sk, int level, int optname, level 1017 net/ipv6/raw.c static int do_rawv6_setsockopt(struct sock *sk, int level, int optname, level 1034 net/ipv6/raw.c level == IPPROTO_IPV6) { level 1064 net/ipv6/raw.c static int rawv6_setsockopt(struct sock *sk, int level, int optname, level 1067 net/ipv6/raw.c switch (level) { level 1074 net/ipv6/raw.c return rawv6_seticmpfilter(sk, level, optname, optval, optlen); level 1081 net/ipv6/raw.c return ipv6_setsockopt(sk, level, optname, optval, optlen); level 1084 net/ipv6/raw.c return do_rawv6_setsockopt(sk, level, optname, optval, optlen); level 1088 net/ipv6/raw.c static int compat_rawv6_setsockopt(struct sock *sk, int level, int optname, level 1091 net/ipv6/raw.c switch (level) { level 1097 net/ipv6/raw.c return rawv6_seticmpfilter(sk, level, optname, optval, optlen); level 1104 net/ipv6/raw.c return compat_ipv6_setsockopt(sk, level, optname, level 1107 net/ipv6/raw.c return do_rawv6_setsockopt(sk, level, optname, optval, optlen); level 1111 net/ipv6/raw.c static int do_rawv6_getsockopt(struct sock *sk, int level, int optname, level 1149 net/ipv6/raw.c static int rawv6_getsockopt(struct sock *sk, int level, int optname, level 1152 net/ipv6/raw.c switch (level) { level 1159 net/ipv6/raw.c return rawv6_geticmpfilter(sk, level, optname, optval, optlen); level 1166 net/ipv6/raw.c return ipv6_getsockopt(sk, level, optname, optval, optlen); level 1169 net/ipv6/raw.c return do_rawv6_getsockopt(sk, level, optname, optval, optlen); level 1173 net/ipv6/raw.c static int compat_rawv6_getsockopt(struct sock *sk, int level, int optname, level 1176 net/ipv6/raw.c switch (level) { level 1182 net/ipv6/raw.c return rawv6_geticmpfilter(sk, level, optname, optval, optlen); level 1189 net/ipv6/raw.c return compat_ipv6_getsockopt(sk, level, optname, level 1192 net/ipv6/raw.c return do_rawv6_getsockopt(sk, level, optname, optval, optlen); level 1559 net/ipv6/udp.c int udpv6_setsockopt(struct sock *sk, int level, int optname, level 1562 net/ipv6/udp.c if (level == SOL_UDP || level == SOL_UDPLITE) level 1563 net/ipv6/udp.c return udp_lib_setsockopt(sk, level, optname, optval, optlen, level 1565 net/ipv6/udp.c return ipv6_setsockopt(sk, level, optname, optval, optlen); level 1569 net/ipv6/udp.c int compat_udpv6_setsockopt(struct sock *sk, int level, int optname, level 1572 net/ipv6/udp.c if (level == SOL_UDP || level == SOL_UDPLITE) level 1573 net/ipv6/udp.c return udp_lib_setsockopt(sk, level, optname, optval, optlen, level 1575 net/ipv6/udp.c return compat_ipv6_setsockopt(sk, level, optname, optval, optlen); level 1579 net/ipv6/udp.c int udpv6_getsockopt(struct sock *sk, int level, int optname, level 1582 net/ipv6/udp.c if (level == SOL_UDP || level == SOL_UDPLITE) level 1583 net/ipv6/udp.c return udp_lib_getsockopt(sk, level, optname, optval, optlen); level 1584 net/ipv6/udp.c return ipv6_getsockopt(sk, level, optname, optval, optlen); level 1588 net/ipv6/udp.c int compat_udpv6_getsockopt(struct sock *sk, int level, int optname, level 1591 net/ipv6/udp.c if (level == SOL_UDP || level == SOL_UDPLITE) level 1592 net/ipv6/udp.c return udp_lib_getsockopt(sk, level, optname, optval, optlen); level 1593 net/ipv6/udp.c return compat_ipv6_getsockopt(sk, level, optname, optval, optlen); level 18 net/ipv6/udp_impl.h int udpv6_getsockopt(struct sock *sk, int level, int optname, level 20 net/ipv6/udp_impl.h int udpv6_setsockopt(struct sock *sk, int level, int optname, level 23 net/ipv6/udp_impl.h int compat_udpv6_setsockopt(struct sock *sk, int level, int optname, level 25 net/ipv6/udp_impl.h int compat_udpv6_getsockopt(struct sock *sk, int level, int optname, level 1636 net/iucv/af_iucv.c static int iucv_sock_setsockopt(struct socket *sock, int level, int optname, level 1644 net/iucv/af_iucv.c if (level != SOL_IUCV) level 1686 net/iucv/af_iucv.c static int iucv_sock_getsockopt(struct socket *sock, int level, int optname, level 1694 net/iucv/af_iucv.c if (level != SOL_IUCV) level 1269 net/kcm/kcmsock.c static int kcm_setsockopt(struct socket *sock, int level, int optname, level 1276 net/kcm/kcmsock.c if (level != SOL_KCM) level 1303 net/kcm/kcmsock.c static int kcm_getsockopt(struct socket *sock, int level, int optname, level 1309 net/kcm/kcmsock.c if (level != SOL_KCM) level 3494 net/key/af_key.c uint8_t proto, uint8_t mode, int level, level 3510 net/key/af_key.c rq->sadb_x_ipsecrequest_level = level; level 1246 net/l2tp/l2tp_ppp.c static int pppol2tp_setsockopt(struct socket *sock, int level, int optname, level 1255 net/l2tp/l2tp_ppp.c if (level != SOL_PPPOL2TP) level 1363 net/l2tp/l2tp_ppp.c static int pppol2tp_getsockopt(struct socket *sock, int level, int optname, level 1372 net/l2tp/l2tp_ppp.c if (level != SOL_PPPOL2TP) level 1052 net/llc/af_llc.c static int llc_ui_setsockopt(struct socket *sock, int level, int optname, level 1061 net/llc/af_llc.c if (unlikely(level != SOL_LLC || optlen != sizeof(int))) level 1134 net/llc/af_llc.c static int llc_ui_getsockopt(struct socket *sock, int level, int optname, level 1142 net/llc/af_llc.c if (unlikely(level != SOL_LLC)) level 335 net/mac802154/iface.c u8 level; level 348 net/mac802154/iface.c level = cb->seclevel_override ? cb->seclevel : params.out_level; level 351 net/mac802154/iface.c hdr->sec.level = level; level 50 net/mac802154/llsec.c msl = container_of(sl, struct mac802154_llsec_seclevel, level); level 481 net/mac802154/llsec.c level); level 499 net/mac802154/llsec.c entry->level = *sl; level 501 net/mac802154/llsec.c list_add_tail_rcu(&entry->level.list, &sec->table.security_levels); level 515 net/mac802154/llsec.c list_del_rcu(&pos->level.list); level 605 net/mac802154/llsec.c iv[13] = sec->level; level 674 net/mac802154/llsec.c if (!(hdr->sec.level & IEEE802154_SCF_SECLEVEL_ENC)) { level 695 net/mac802154/llsec.c if (hdr->sec.level == IEEE802154_SCF_SECLEVEL_ENC) level 714 net/mac802154/llsec.c (hdr.sec.level == IEEE802154_SCF_SECLEVEL_NONE)) { level 812 net/mac802154/llsec.c struct ieee802154_llsec_seclevel *level; level 814 net/mac802154/llsec.c list_for_each_entry_rcu(level, &sec->table.security_levels, list) { level 815 net/mac802154/llsec.c if (level->frame_type == frame_type && level 817 net/mac802154/llsec.c level->cmd_frame_id == cmd_frame_id)) { level 818 net/mac802154/llsec.c *rlevel = *level; level 878 net/mac802154/llsec.c if (!(hdr->sec.level & IEEE802154_SCF_SECLEVEL_ENC)) { level 900 net/mac802154/llsec.c if (hdr->sec.level == IEEE802154_SCF_SECLEVEL_ENC) level 1019 net/mac802154/llsec.c if (!(seclevel.sec_levels & BIT(hdr.sec.level)) && level 1020 net/mac802154/llsec.c (hdr.sec.level == 0 && seclevel.device_override && level 48 net/mac802154/llsec.h struct ieee802154_llsec_seclevel level; level 161 net/mac802154/rx.c pr_debug("seclevel %i\n", hdr->sec.level); level 110 net/netfilter/nf_conntrack_h323_asn1.c static int decode_nul(struct bitstr *bs, const struct field_t *f, char *base, int level); level 111 net/netfilter/nf_conntrack_h323_asn1.c static int decode_bool(struct bitstr *bs, const struct field_t *f, char *base, int level); level 112 net/netfilter/nf_conntrack_h323_asn1.c static int decode_oid(struct bitstr *bs, const struct field_t *f, char *base, int level); level 113 net/netfilter/nf_conntrack_h323_asn1.c static int decode_int(struct bitstr *bs, const struct field_t *f, char *base, int level); level 114 net/netfilter/nf_conntrack_h323_asn1.c static int decode_enum(struct bitstr *bs, const struct field_t *f, char *base, int level); level 115 net/netfilter/nf_conntrack_h323_asn1.c static int decode_bitstr(struct bitstr *bs, const struct field_t *f, char *base, int level); level 116 net/netfilter/nf_conntrack_h323_asn1.c static int decode_numstr(struct bitstr *bs, const struct field_t *f, char *base, int level); level 117 net/netfilter/nf_conntrack_h323_asn1.c static int decode_octstr(struct bitstr *bs, const struct field_t *f, char *base, int level); level 118 net/netfilter/nf_conntrack_h323_asn1.c static int decode_bmpstr(struct bitstr *bs, const struct field_t *f, char *base, int level); level 119 net/netfilter/nf_conntrack_h323_asn1.c static int decode_seq(struct bitstr *bs, const struct field_t *f, char *base, int level); level 120 net/netfilter/nf_conntrack_h323_asn1.c static int decode_seqof(struct bitstr *bs, const struct field_t *f, char *base, int level); level 121 net/netfilter/nf_conntrack_h323_asn1.c static int decode_choice(struct bitstr *bs, const struct field_t *f, char *base, int level); level 277 net/netfilter/nf_conntrack_h323_asn1.c char *base, int level) level 279 net/netfilter/nf_conntrack_h323_asn1.c PRINT("%*.s%s\n", level * TAB_SIZE, " ", f->name); level 285 net/netfilter/nf_conntrack_h323_asn1.c char *base, int level) level 287 net/netfilter/nf_conntrack_h323_asn1.c PRINT("%*.s%s\n", level * TAB_SIZE, " ", f->name); level 296 net/netfilter/nf_conntrack_h323_asn1.c char *base, int level) level 300 net/netfilter/nf_conntrack_h323_asn1.c PRINT("%*.s%s\n", level * TAB_SIZE, " ", f->name); level 315 net/netfilter/nf_conntrack_h323_asn1.c char *base, int level) level 319 net/netfilter/nf_conntrack_h323_asn1.c PRINT("%*.s%s", level * TAB_SIZE, " ", f->name); level 362 net/netfilter/nf_conntrack_h323_asn1.c char *base, int level) level 364 net/netfilter/nf_conntrack_h323_asn1.c PRINT("%*.s%s\n", level * TAB_SIZE, " ", f->name); level 378 net/netfilter/nf_conntrack_h323_asn1.c char *base, int level) level 382 net/netfilter/nf_conntrack_h323_asn1.c PRINT("%*.s%s\n", level * TAB_SIZE, " ", f->name); level 414 net/netfilter/nf_conntrack_h323_asn1.c char *base, int level) level 418 net/netfilter/nf_conntrack_h323_asn1.c PRINT("%*.s%s\n", level * TAB_SIZE, " ", f->name); level 434 net/netfilter/nf_conntrack_h323_asn1.c char *base, int level) level 438 net/netfilter/nf_conntrack_h323_asn1.c PRINT("%*.s%s", level * TAB_SIZE, " ", f->name); level 487 net/netfilter/nf_conntrack_h323_asn1.c char *base, int level) level 491 net/netfilter/nf_conntrack_h323_asn1.c PRINT("%*.s%s\n", level * TAB_SIZE, " ", f->name); level 516 net/netfilter/nf_conntrack_h323_asn1.c char *base, int level) level 523 net/netfilter/nf_conntrack_h323_asn1.c PRINT("%*.s%s\n", level * TAB_SIZE, " ", f->name); level 543 net/netfilter/nf_conntrack_h323_asn1.c PRINT("%*.s%s\n", (level + 1) * TAB_SIZE, " ", level 561 net/netfilter/nf_conntrack_h323_asn1.c PRINT("%*.s%s\n", (level + 1) * TAB_SIZE, level 570 net/netfilter/nf_conntrack_h323_asn1.c level + 1)) < level 577 net/netfilter/nf_conntrack_h323_asn1.c level + 1)) < level 612 net/netfilter/nf_conntrack_h323_asn1.c PRINT("%*.s%s\n", (level + 1) * TAB_SIZE, " ", level 626 net/netfilter/nf_conntrack_h323_asn1.c PRINT("%*.s%s\n", (level + 1) * TAB_SIZE, " ", level 634 net/netfilter/nf_conntrack_h323_asn1.c level + 1)) < level 645 net/netfilter/nf_conntrack_h323_asn1.c char *base, int level) level 652 net/netfilter/nf_conntrack_h323_asn1.c PRINT("%*.s%s\n", level * TAB_SIZE, " ", f->name); level 707 net/netfilter/nf_conntrack_h323_asn1.c PRINT("%*.s%s\n", (level + 1) * TAB_SIZE, level 718 net/netfilter/nf_conntrack_h323_asn1.c level + 1)) < level 729 net/netfilter/nf_conntrack_h323_asn1.c level + 1)) < level 741 net/netfilter/nf_conntrack_h323_asn1.c char *base, int level) level 748 net/netfilter/nf_conntrack_h323_asn1.c PRINT("%*.s%s\n", level * TAB_SIZE, " ", f->name); level 789 net/netfilter/nf_conntrack_h323_asn1.c PRINT("%*.s%s\n", (level + 1) * TAB_SIZE, " ", son->name); level 801 net/netfilter/nf_conntrack_h323_asn1.c PRINT("%*.s%s\n", (level + 1) * TAB_SIZE, " ", level 808 net/netfilter/nf_conntrack_h323_asn1.c if ((err = (Decoders[son->type]) (bs, son, base, level + 1)) < level 814 net/netfilter/nf_conntrack_h323_asn1.c } else if ((err = (Decoders[son->type]) (bs, son, base, level + 1)) < level 160 net/netfilter/nf_log_common.c '0' + loginfo->u.log.level, prefix, level 97 net/netfilter/nf_tables_api.c ctx->level = 0; level 2666 net/netfilter/nf_tables_api.c if (ctx->level == NFT_JUMP_STACK_SIZE) level 115 net/netfilter/nft_immediate.c pctx->level++; level 119 net/netfilter/nft_immediate.c pctx->level--; level 111 net/netfilter/nft_log.c priv->loginfo.u.log.level == NFT_LOGLEVEL_AUDIT) { level 163 net/netfilter/nft_log.c li->u.log.level = level 166 net/netfilter/nft_log.c li->u.log.level = NFT_LOGLEVEL_WARNING; level 168 net/netfilter/nft_log.c if (li->u.log.level > NFT_LOGLEVEL_AUDIT) { level 196 net/netfilter/nft_log.c if (li->u.log.level == NFT_LOGLEVEL_AUDIT) level 220 net/netfilter/nft_log.c if (li->u.log.level == NFT_LOGLEVEL_AUDIT) level 236 net/netfilter/nft_log.c if (nla_put_be32(skb, NFTA_LOG_LEVEL, htonl(li->u.log.level))) level 181 net/netfilter/nft_lookup.c pctx->level++; level 185 net/netfilter/nft_lookup.c pctx->level--; level 36 net/netfilter/xt_LOG.c li.u.log.level = loginfo->level; level 51 net/netfilter/xt_LOG.c if (loginfo->level >= 8) { level 52 net/netfilter/xt_LOG.c pr_debug("level %u >= 8\n", loginfo->level); level 1622 net/netlink/af_netlink.c static int netlink_setsockopt(struct socket *sock, int level, int optname, level 1630 net/netlink/af_netlink.c if (level != SOL_NETLINK) level 1723 net/netlink/af_netlink.c static int netlink_getsockopt(struct socket *sock, int level, int optname, level 1730 net/netlink/af_netlink.c if (level != SOL_NETLINK) level 274 net/netrom/af_netrom.c static int nr_setsockopt(struct socket *sock, int level, int optname, level 281 net/netrom/af_netrom.c if (level != SOL_NETROM) level 326 net/netrom/af_netrom.c static int nr_getsockopt(struct socket *sock, int level, int optname, level 334 net/netrom/af_netrom.c if (level != SOL_NETROM) level 220 net/nfc/llcp_sock.c static int nfc_llcp_setsockopt(struct socket *sock, int level, int optname, level 230 net/nfc/llcp_sock.c if (level != SOL_NFC) level 293 net/nfc/llcp_sock.c static int nfc_llcp_getsockopt(struct socket *sock, int level, int optname, level 305 net/nfc/llcp_sock.c if (level != SOL_NFC) level 84 net/openvswitch/actions.c int level = this_cpu_read(exec_actions_level); level 87 net/openvswitch/actions.c if (level <= OVS_DEFERRED_ACTION_THRESHOLD) { level 88 net/openvswitch/actions.c key = &keys->key[level - 1]; level 1466 net/openvswitch/actions.c int err, level; level 1468 net/openvswitch/actions.c level = __this_cpu_inc_return(exec_actions_level); level 1469 net/openvswitch/actions.c if (unlikely(level > OVS_RECURSION_LIMIT)) { level 1481 net/openvswitch/actions.c if (level == 1) level 3654 net/packet/af_packet.c packet_setsockopt(struct socket *sock, int level, int optname, char __user *optval, unsigned int optlen) level 3660 net/packet/af_packet.c if (level != SOL_PACKET) level 3920 net/packet/af_packet.c static int packet_getsockopt(struct socket *sock, int level, int optname, level 3932 net/packet/af_packet.c if (level != SOL_PACKET) level 4044 net/packet/af_packet.c static int compat_packet_setsockopt(struct socket *sock, int level, int optname, level 4049 net/packet/af_packet.c if (level != SOL_PACKET) level 4060 net/packet/af_packet.c return packet_setsockopt(sock, level, optname, optval, optlen); level 977 net/phonet/pep.c static int pep_setsockopt(struct sock *sk, int level, int optname, level 983 net/phonet/pep.c if (level != SOL_PNPIPE) level 1039 net/phonet/pep.c static int pep_getsockopt(struct sock *sk, int level, int optname, level 1045 net/phonet/pep.c if (level != SOL_PNPIPE) level 434 net/rds/af_rds.c static int rds_setsockopt(struct socket *sock, int level, int optname, level 440 net/rds/af_rds.c if (level != SOL_RDS) { level 485 net/rds/af_rds.c static int rds_getsockopt(struct socket *sock, int level, int optname, level 492 net/rds/af_rds.c if (level != SOL_RDS) level 345 net/rose/af_rose.c static int rose_setsockopt(struct socket *sock, int level, int optname, level 352 net/rose/af_rose.c if (level != SOL_ROSE) level 405 net/rose/af_rose.c static int rose_getsockopt(struct socket *sock, int level, int optname, level 413 net/rose/af_rose.c if (level != SOL_ROSE) level 577 net/rxrpc/af_rxrpc.c static int rxrpc_setsockopt(struct socket *sock, int level, int optname, level 585 net/rxrpc/af_rxrpc.c _enter(",%d,%d,,%d", level, optname, optlen); level 590 net/rxrpc/af_rxrpc.c if (level == SOL_RXRPC) { level 676 net/rxrpc/af_rxrpc.c static int rxrpc_getsockopt(struct socket *sock, int level, int optname, level 681 net/rxrpc/af_rxrpc.c if (level != SOL_RXRPC) level 179 net/rxrpc/protocol.h __be32 level; /* desired level */ level 867 net/rxrpc/rxkad.c resp->encrypted.level = htonl(conn->params.security_level); level 1096 net/rxrpc/rxkad.c u32 abort_code, version, kvno, ticket_len, level; level 1204 net/rxrpc/rxkad.c level = ntohl(response->encrypted.level); level 1205 net/rxrpc/rxkad.c if (level > RXRPC_SECURITY_ENCRYPT) level 1207 net/rxrpc/rxkad.c conn->params.security_level = level; level 109 net/sched/sch_cbq.c unsigned char level; /* level of the class in hierarchy: level 245 net/sched/sch_cbq.c if (cl->level >= head->level) level 260 net/sched/sch_cbq.c if (cl->level == 0) level 346 net/sched/sch_cbq.c if (toplevel > cl->level) { level 351 net/sched/sch_cbq.c q->toplevel = cl->level; level 354 net/sched/sch_cbq.c } while ((cl = cl->borrow) != NULL && toplevel > cl->level); level 532 net/sched/sch_cbq.c if (cl && q->toplevel >= borrowed->level) { level 536 net/sched/sch_cbq.c q->toplevel = borrowed->level; level 670 net/sched/sch_cbq.c if (cl->level > q->toplevel) level 870 net/sched/sch_cbq.c int level = 0; level 876 net/sched/sch_cbq.c if (cl->level > level) level 877 net/sched/sch_cbq.c level = cl->level; level 880 net/sched/sch_cbq.c this->level = level + 1; level 927 net/sched/sch_cbq.c int level = split->level; level 937 net/sched/sch_cbq.c if (c->split == split && c->level < level && level 940 net/sched/sch_cbq.c level = c->level; level 1256 net/sched/sch_cbq.c opt.level = cl->level; level 1736 net/sched/sch_cbq.c if (p && p->level <= cl->level) level 120 net/sched/sch_hfsc.c unsigned int level; /* class level in hierarchy */ level 306 net/sched/sch_hfsc.c while (cl->level > 0) { level 851 net/sched/sch_hfsc.c unsigned int level; level 854 net/sched/sch_hfsc.c level = 0; level 856 net/sched/sch_hfsc.c if (p->level >= level) level 857 net/sched/sch_hfsc.c level = p->level + 1; level 859 net/sched/sch_hfsc.c cl->level = level; level 1069 net/sched/sch_hfsc.c if (parent->level == 0) level 1098 net/sched/sch_hfsc.c if (cl->level > 0 || cl->filter_cnt > 0 || cl == &q->root) level 1126 net/sched/sch_hfsc.c if (cl->level == 0) level 1149 net/sched/sch_hfsc.c if (cl->level >= head->level) level 1153 net/sched/sch_hfsc.c if (cl->level == 0) level 1163 net/sched/sch_hfsc.c if (cl == NULL || cl->level > 0) level 1175 net/sched/sch_hfsc.c if (cl->level > 0) level 1193 net/sched/sch_hfsc.c if (cl->level == 0) level 1225 net/sched/sch_hfsc.c if (p != NULL && p->level <= cl->level) level 1301 net/sched/sch_hfsc.c if (cl->level == 0) level 1325 net/sched/sch_hfsc.c xstats.level = cl->level; level 107 net/sched/sch_htb.c int level; /* our level (see above) */ level 226 net/sched/sch_htb.c if (cl->level == 0) level 255 net/sched/sch_htb.c if (!cl->level) level 263 net/sched/sch_htb.c if (!cl || cl->level) level 303 net/sched/sch_htb.c struct rb_node **p = &q->hlevel[cl->level].wait_pq.rb_node, *parent = NULL; level 310 net/sched/sch_htb.c if (q->near_ev_cache[cl->level] > cl->pq_key) level 311 net/sched/sch_htb.c q->near_ev_cache[cl->level] = cl->pq_key; level 323 net/sched/sch_htb.c rb_insert_color(&cl->pq_node, &q->hlevel[cl->level].wait_pq); level 346 net/sched/sch_htb.c q->row_mask[cl->level] |= mask; level 350 net/sched/sch_htb.c htb_add_to_id_tree(&q->hlevel[cl->level].hprio[prio].row, cl, prio); level 376 net/sched/sch_htb.c struct htb_level *hlevel = &q->hlevel[cl->level]; level 390 net/sched/sch_htb.c q->row_mask[cl->level] &= ~m; level 557 net/sched/sch_htb.c WARN_ON(cl->level || !cl->leaf.q || !cl->leaf.q->q.qlen); level 656 net/sched/sch_htb.c int level, struct sk_buff *skb) level 664 net/sched/sch_htb.c if (cl->level >= level) { level 665 net/sched/sch_htb.c if (cl->level == level) level 680 net/sched/sch_htb.c htb_safe_rb_erase(&cl->pq_node, &q->hlevel[cl->level].wait_pq); level 686 net/sched/sch_htb.c if (cl->level) level 700 net/sched/sch_htb.c static s64 htb_do_events(struct htb_sched *q, const int level, level 708 net/sched/sch_htb.c struct rb_root *wait_pq = &q->hlevel[level].wait_pq; level 808 net/sched/sch_htb.c if (!cl->level) level 824 net/sched/sch_htb.c const int level) level 828 net/sched/sch_htb.c struct htb_level *hlevel = &q->hlevel[level]; level 849 net/sched/sch_htb.c if ((q->row_mask[level] & (1 << prio)) == 0) level 865 net/sched/sch_htb.c htb_next_rb_node(level ? &cl->parent->inner.clprio[prio].ptr: level 873 net/sched/sch_htb.c cl->leaf.deficit[level] -= qdisc_pkt_len(skb); level 874 net/sched/sch_htb.c if (cl->leaf.deficit[level] < 0) { level 875 net/sched/sch_htb.c cl->leaf.deficit[level] += cl->quantum; level 876 net/sched/sch_htb.c htb_next_rb_node(level ? &cl->parent->inner.clprio[prio].ptr : level 884 net/sched/sch_htb.c htb_charge_class(q, cl, level, skb); level 893 net/sched/sch_htb.c int level; level 914 net/sched/sch_htb.c for (level = 0; level < TC_HTB_MAXDEPTH; level++) { level 917 net/sched/sch_htb.c s64 event = q->near_ev_cache[level]; level 920 net/sched/sch_htb.c event = htb_do_events(q, level, start_at); level 923 net/sched/sch_htb.c q->near_ev_cache[level] = event; level 929 net/sched/sch_htb.c m = ~q->row_mask[level]; level 934 net/sched/sch_htb.c skb = htb_dequeue_tree(q, prio, level); level 957 net/sched/sch_htb.c if (cl->level) level 1086 net/sched/sch_htb.c if (!cl->level && cl->leaf.q) level 1101 net/sched/sch_htb.c opt.level = cl->level; level 1130 net/sched/sch_htb.c if (!cl->level && cl->leaf.q) level 1152 net/sched/sch_htb.c if (cl->level) level 1166 net/sched/sch_htb.c return !cl->level ? cl->leaf.q : NULL; level 1192 net/sched/sch_htb.c WARN_ON(cl->level || !cl->leaf.q || cl->prio_activity); level 1196 net/sched/sch_htb.c &q->hlevel[parent->level].wait_pq); level 1198 net/sched/sch_htb.c parent->level = 0; level 1209 net/sched/sch_htb.c if (!cl->level) { level 1263 net/sched/sch_htb.c if (!cl->level && htb_parent_last_child(cl)) { level 1272 net/sched/sch_htb.c if (!cl->level) level 1285 net/sched/sch_htb.c &q->hlevel[cl->level].wait_pq); level 1362 net/sched/sch_htb.c if (parent && parent->parent && parent->parent->level < 2) { level 1402 net/sched/sch_htb.c if (parent && !parent->level) { level 1414 net/sched/sch_htb.c parent->level = (parent->parent ? parent->parent->level level 1460 net/sched/sch_htb.c if (!cl->level) { level 4626 net/sctp/socket.c static int sctp_setsockopt(struct sock *sk, int level, int optname, level 4639 net/sctp/socket.c if (level != SOL_SCTP) { level 4641 net/sctp/socket.c retval = af->setsockopt(sk, level, optname, optval, optlen); level 7918 net/sctp/socket.c static int sctp_getsockopt(struct sock *sk, int level, int optname, level 7932 net/sctp/socket.c if (level != SOL_SCTP) { level 7935 net/sctp/socket.c retval = af->getsockopt(sk, level, optname, optval, optlen); level 1705 net/smc/af_smc.c static int smc_setsockopt(struct socket *sock, int level, int optname, level 1717 net/smc/af_smc.c rc = smc->clcsock->ops->setsockopt(smc->clcsock, level, optname, level 1776 net/smc/af_smc.c static int smc_getsockopt(struct socket *sock, int level, int optname, level 1783 net/smc/af_smc.c return smc->clcsock->ops->getsockopt(smc->clcsock, level, optname, level 2045 net/socket.c static int __sys_setsockopt(int fd, int level, int optname, level 2058 net/socket.c err = security_socket_setsockopt(sock, level, optname); level 2062 net/socket.c err = BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock->sk, &level, level 2078 net/socket.c if (level == SOL_SOCKET) level 2080 net/socket.c sock_setsockopt(sock, level, optname, optval, level 2084 net/socket.c sock->ops->setsockopt(sock, level, optname, optval, level 2097 net/socket.c SYSCALL_DEFINE5(setsockopt, int, fd, int, level, int, optname, level 2100 net/socket.c return __sys_setsockopt(fd, level, optname, optval, optlen); level 2108 net/socket.c static int __sys_getsockopt(int fd, int level, int optname, level 2117 net/socket.c err = security_socket_getsockopt(sock, level, optname); level 2123 net/socket.c if (level == SOL_SOCKET) level 2125 net/socket.c sock_getsockopt(sock, level, optname, optval, level 2129 net/socket.c sock->ops->getsockopt(sock, level, optname, optval, level 2132 net/socket.c err = BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock->sk, level, optname, level 2141 net/socket.c SYSCALL_DEFINE5(getsockopt, int, fd, int, level, int, optname, level 2144 net/socket.c return __sys_getsockopt(fd, level, optname, optval, optlen); level 3695 net/socket.c int kernel_getsockopt(struct socket *sock, int level, int optname, level 3707 net/socket.c if (level == SOL_SOCKET) level 3708 net/socket.c err = sock_getsockopt(sock, level, optname, uoptval, uoptlen); level 3710 net/socket.c err = sock->ops->getsockopt(sock, level, optname, uoptval, level 3728 net/socket.c int kernel_setsockopt(struct socket *sock, int level, int optname, level 3738 net/socket.c if (level == SOL_SOCKET) level 3739 net/socket.c err = sock_setsockopt(sock, level, optname, uoptval, optlen); level 3741 net/socket.c err = sock->ops->setsockopt(sock, level, optname, uoptval, level 677 net/sunrpc/svcsock.c int err, level, optname, one = 1; level 698 net/sunrpc/svcsock.c level = SOL_IP; level 702 net/sunrpc/svcsock.c level = SOL_IPV6; level 708 net/sunrpc/svcsock.c err = kernel_setsockopt(svsk->sk_sock, level, optname, level 435 net/tls/tls_main.c static int tls_getsockopt(struct sock *sk, int level, int optname, level 440 net/tls/tls_main.c if (level != SOL_TLS) level 441 net/tls/tls_main.c return ctx->sk_proto->getsockopt(sk, level, level 586 net/tls/tls_main.c static int tls_setsockopt(struct sock *sk, int level, int optname, level 591 net/tls/tls_main.c if (level != SOL_TLS) level 592 net/tls/tls_main.c return ctx->sk_proto->setsockopt(sk, level, optname, optval, level 641 net/vmw_vsock/af_vsock.c static void __vsock_release(struct sock *sk, int level) level 661 net/vmw_vsock/af_vsock.c lock_sock_nested(sk, level); level 1370 net/vmw_vsock/af_vsock.c int level, level 1380 net/vmw_vsock/af_vsock.c if (level != AF_VSOCK) level 1447 net/vmw_vsock/af_vsock.c int level, int optname, level 1457 net/vmw_vsock/af_vsock.c if (level != AF_VSOCK) level 2347 net/wireless/scan.c iwe.u.qual.level = sig; level 2357 net/wireless/scan.c iwe.u.qual.level = bss->pub.signal; level 141 net/wireless/wext-compat.c range->max_qual.level = (u8)-110; level 149 net/wireless/wext-compat.c range->max_qual.level = 100; level 157 net/wireless/wext-compat.c range->avg_qual.level = range->max_qual.level / 2; level 1330 net/wireless/wext-compat.c wstats.qual.level = sig; level 1343 net/wireless/wext-compat.c wstats.qual.level = sinfo.signal; level 54 net/wireless/wext-proc.c ((__s32) stats->qual.level) - level 218 net/wireless/wext-spy.c if (wstats->level > spydata->spy_thr_high.level) { level 224 net/wireless/wext-spy.c if (wstats->level < spydata->spy_thr_low.level) { level 433 net/x25/af_x25.c static int x25_setsockopt(struct socket *sock, int level, int optname, level 440 net/x25/af_x25.c if (level != SOL_X25 || optname != X25_QBITINCL) level 460 net/x25/af_x25.c static int x25_getsockopt(struct socket *sock, int level, int optname, level 466 net/x25/af_x25.c if (level != SOL_X25 || optname != X25_QBITINCL) level 734 net/xdp/xsk.c static int xsk_setsockopt(struct socket *sock, int level, int optname, level 741 net/xdp/xsk.c if (level != SOL_XDP) level 847 net/xdp/xsk.c static int xsk_getsockopt(struct socket *sock, int level, int optname, level 854 net/xdp/xsk.c if (level != SOL_XDP) level 1210 scripts/asn1_compiler.c static void dump_element(const struct element *e, int level) level 1238 scripts/asn1_compiler.c level, "", level 1244 scripts/asn1_compiler.c dump_element(e->type->type->element, level + 3); level 1247 scripts/asn1_compiler.c dump_element(c, level + 3); level 140 scripts/dtc/fdtget.c int level = 0; /* keep track of nesting level */ level 144 scripts/dtc/fdtget.c while (level >= 0) { level 149 scripts/dtc/fdtget.c if (level <= depth) { level 154 scripts/dtc/fdtget.c if (level == 1) level 157 scripts/dtc/fdtget.c level++; level 158 scripts/dtc/fdtget.c if (level >= MAX_LEVEL) { level 164 scripts/dtc/fdtget.c level--; level 165 scripts/dtc/fdtget.c if (level == 0) level 166 scripts/dtc/fdtget.c level = -1; /* exit the loop */ level 173 scripts/dtc/fdtget.c if (level <= depth) level 312 scripts/dtc/srcpos.c srcpos_string_comment(struct srcpos *pos, bool first_line, int level) level 318 scripts/dtc/srcpos.c if (level > 1) { level 330 scripts/dtc/srcpos.c else if (level > 1) level 340 scripts/dtc/srcpos.c if (level > 1) level 352 scripts/dtc/srcpos.c rest = srcpos_string_comment(pos->next, first_line, level); level 363 scripts/dtc/srcpos.c char *srcpos_string_first(struct srcpos *pos, int level) level 365 scripts/dtc/srcpos.c return srcpos_string_comment(pos, true, level); level 368 scripts/dtc/srcpos.c char *srcpos_string_last(struct srcpos *pos, int level) level 370 scripts/dtc/srcpos.c return srcpos_string_comment(pos, false, level); level 92 scripts/dtc/srcpos.h extern char *srcpos_string_first(struct srcpos *pos, int level); level 93 scripts/dtc/srcpos.h extern char *srcpos_string_last(struct srcpos *pos, int level); level 34 scripts/dtc/treesource.c static void write_prefix(FILE *f, int level) level 38 scripts/dtc/treesource.c for (i = 0; i < level; i++) level 281 scripts/dtc/treesource.c static void write_tree_source_node(FILE *f, struct node *tree, int level) level 288 scripts/dtc/treesource.c write_prefix(f, level); level 306 scripts/dtc/treesource.c write_prefix(f, level+1); level 314 scripts/dtc/treesource.c write_tree_source_node(f, child, level+1); level 316 scripts/dtc/treesource.c write_prefix(f, level); level 1087 scripts/unifdef.c int level = 0; level 1093 scripts/unifdef.c level++; level 1095 scripts/unifdef.c level--; level 1097 scripts/unifdef.c } while (level != 0 && *cp != '\0'); level 1098 scripts/unifdef.c if (level == 0) level 541 security/apparmor/apparmorfs.c mutex_lock_nested(&rev->ns->lock, rev->ns->level); level 551 security/apparmor/apparmorfs.c mutex_lock_nested(&rev->ns->lock, rev->ns->level); level 585 security/apparmor/apparmorfs.c mutex_lock_nested(&rev->ns->lock, rev->ns->level); level 1185 security/apparmor/apparmorfs.c seq_printf(seq, "%d\n", labels_ns(label)->level); level 1202 security/apparmor/apparmorfs.c SEQ_NS_FOPS(level); level 1711 security/apparmor/apparmorfs.c mutex_lock_nested(&parent->lock, parent->level); level 1760 security/apparmor/apparmorfs.c mutex_lock_nested(&parent->lock, parent->level); level 1815 security/apparmor/apparmorfs.c mutex_lock_nested(&sub->lock, sub->level); level 1945 security/apparmor/apparmorfs.c mutex_lock_nested(&sub->lock, sub->level); level 1989 security/apparmor/apparmorfs.c mutex_lock_nested(&next->lock, next->level); level 1999 security/apparmor/apparmorfs.c mutex_lock_nested(&next->lock, next->level); level 2107 security/apparmor/apparmorfs.c mutex_lock_nested(&root->lock, root->level); level 2549 security/apparmor/apparmorfs.c mutex_lock_nested(&root_ns->lock, root_ns->level); level 67 security/apparmor/include/policy_ns.h int level; level 119 security/apparmor/label.c res = a->level - b->level; level 2129 security/apparmor/label.c mutex_lock_nested(&child->lock, child->level); level 978 security/apparmor/lsm.c int level, int optname) level 985 security/apparmor/lsm.c opt_perm(op, request, sock, level, optname), level 992 security/apparmor/lsm.c static int apparmor_socket_getsockopt(struct socket *sock, int level, level 996 security/apparmor/lsm.c level, optname); level 1002 security/apparmor/lsm.c static int apparmor_socket_setsockopt(struct socket *sock, int level, level 1006 security/apparmor/lsm.c level, optname); level 550 security/apparmor/policy.c mutex_lock_nested(&profile->ns->lock, profile->ns->level); level 655 security/apparmor/policy.c user_ns->level == view_ns->level))) level 912 security/apparmor/policy.c mutex_lock_nested(&ns->lock, ns->level); level 1126 security/apparmor/policy.c mutex_lock_nested(&ns->parent->lock, ns->level); level 1132 security/apparmor/policy.c mutex_lock_nested(&ns->lock, ns->level); level 255 security/apparmor/policy_ns.c ns->level = parent->level + 1; level 256 security/apparmor/policy_ns.c mutex_lock_nested(&ns->lock, ns->level); level 312 security/apparmor/policy_ns.c mutex_lock_nested(&parent->lock, parent->level); level 335 security/apparmor/policy_ns.c mutex_lock_nested(&ns->lock, ns->level); level 157 security/apparmor/policy_unpack.c mutex_lock_nested(&ns->lock, ns->level); level 83 security/commoncap.c if (ns->level <= cred->user_ns->level) level 268 security/keys/keyring.c static unsigned long keyring_get_key_chunk(const void *data, int level) level 275 security/keys/keyring.c level /= ASSOC_ARRAY_KEY_CHUNK_SIZE; level 276 security/keys/keyring.c switch (level) { level 286 security/keys/keyring.c level -= 4; level 291 security/keys/keyring.c d += level * sizeof(long); level 303 security/keys/keyring.c static unsigned long keyring_get_object_key_chunk(const void *object, int level) level 306 security/keys/keyring.c return keyring_get_key_chunk(&key->index_key, level); level 331 security/keys/keyring.c int level, i; level 333 security/keys/keyring.c level = 0; level 338 security/keys/keyring.c level += ASSOC_ARRAY_KEY_CHUNK_SIZE / 8; level 348 security/keys/keyring.c level += sizeof(unsigned long); level 355 security/keys/keyring.c level += sizeof(unsigned long); level 361 security/keys/keyring.c level += sizeof(unsigned long); level 378 security/keys/keyring.c level += i; level 380 security/keys/keyring.c i = level * 8 + __ffs(seg_a ^ seg_b); level 53 security/lockdown/lockdown.c static int lock_kernel_down(const char *where, enum lockdown_reason level) level 55 security/lockdown/lockdown.c if (kernel_locked_down >= level) level 58 security/lockdown/lockdown.c kernel_locked_down = level; level 64 security/lockdown/lockdown.c static int __init lockdown_param(char *level) level 66 security/lockdown/lockdown.c if (!level) level 69 security/lockdown/lockdown.c if (strcmp(level, "integrity") == 0) level 71 security/lockdown/lockdown.c else if (strcmp(level, "confidentiality") == 0) level 124 security/lockdown/lockdown.c enum lockdown_reason level = lockdown_levels[i]; level 126 security/lockdown/lockdown.c if (lockdown_reasons[level]) { level 127 security/lockdown/lockdown.c const char *label = lockdown_reasons[level]; level 129 security/lockdown/lockdown.c if (kernel_locked_down == level) level 160 security/lockdown/lockdown.c enum lockdown_reason level = lockdown_levels[i]; level 161 security/lockdown/lockdown.c const char *label = lockdown_reasons[level]; level 164 security/lockdown/lockdown.c err = lock_kernel_down("securityfs", level); level 2032 security/security.c int security_socket_getsockopt(struct socket *sock, int level, int optname) level 2034 security/security.c return call_int_hook(socket_getsockopt, 0, sock, level, optname); level 2037 security/security.c int security_socket_setsockopt(struct socket *sock, int level, int optname) level 2039 security/security.c return call_int_hook(socket_setsockopt, 0, sock, level, optname); level 4859 security/selinux/hooks.c static int selinux_socket_setsockopt(struct socket *sock, int level, int optname) level 4867 security/selinux/hooks.c return selinux_netlbl_socket_setsockopt(sock, level, optname); level 4870 security/selinux/hooks.c static int selinux_socket_getsockopt(struct socket *sock, int level, level 53 security/selinux/include/netlabel.h int level, level 139 security/selinux/include/netlabel.h int level, level 482 security/selinux/netlabel.c static inline int selinux_netlbl_option(int level, int optname) level 484 security/selinux/netlabel.c return (level == IPPROTO_IP && optname == IP_OPTIONS) || level 485 security/selinux/netlabel.c (level == IPPROTO_IPV6 && optname == IPV6_HOPOPTS); level 502 security/selinux/netlabel.c int level, level 510 security/selinux/netlabel.c if (selinux_netlbl_option(level, optname) && level 45 security/selinux/ss/context.h dst->range.level[0].sens = src->range.level[0].sens; level 46 security/selinux/ss/context.h rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); level 50 security/selinux/ss/context.h dst->range.level[1].sens = src->range.level[1].sens; level 51 security/selinux/ss/context.h rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[1].cat); level 53 security/selinux/ss/context.h ebitmap_destroy(&dst->range.level[0].cat); level 65 security/selinux/ss/context.h dst->range.level[0].sens = src->range.level[0].sens; level 66 security/selinux/ss/context.h rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); level 70 security/selinux/ss/context.h dst->range.level[1].sens = src->range.level[0].sens; level 71 security/selinux/ss/context.h rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[0].cat); level 73 security/selinux/ss/context.h ebitmap_destroy(&dst->range.level[0].cat); level 85 security/selinux/ss/context.h dst->range.level[0].sens = src->range.level[1].sens; level 86 security/selinux/ss/context.h rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[1].cat); level 90 security/selinux/ss/context.h dst->range.level[1].sens = src->range.level[1].sens; level 91 security/selinux/ss/context.h rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[1].cat); level 93 security/selinux/ss/context.h ebitmap_destroy(&dst->range.level[0].cat); level 100 security/selinux/ss/context.h return ((c1->range.level[0].sens == c2->range.level[0].sens) && level 101 security/selinux/ss/context.h ebitmap_cmp(&c1->range.level[0].cat, &c2->range.level[0].cat) && level 102 security/selinux/ss/context.h (c1->range.level[1].sens == c2->range.level[1].sens) && level 103 security/selinux/ss/context.h ebitmap_cmp(&c1->range.level[1].cat, &c2->range.level[1].cat)); level 108 security/selinux/ss/context.h ebitmap_destroy(&c->range.level[0].cat); level 109 security/selinux/ss/context.h ebitmap_destroy(&c->range.level[1].cat); level 48 security/selinux/ss/mls.c int index_sens = context->range.level[l].sens; level 54 security/selinux/ss/mls.c e = &context->range.level[l].cat; level 73 security/selinux/ss/mls.c if (mls_level_eq(&context->range.level[0], level 74 security/selinux/ss/mls.c &context->range.level[1])) level 108 security/selinux/ss/mls.c context->range.level[l].sens - 1)); level 114 security/selinux/ss/mls.c e = &context->range.level[l].cat; level 150 security/selinux/ss/mls.c if (mls_level_eq(&context->range.level[0], level 151 security/selinux/ss/mls.c &context->range.level[1])) level 178 security/selinux/ss/mls.c return ebitmap_contains(&levdatum->level->cat, &l->cat, level 184 security/selinux/ss/mls.c return (mls_level_isvalid(p, &r->level[0]) && level 185 security/selinux/ss/mls.c mls_level_isvalid(p, &r->level[1]) && level 186 security/selinux/ss/mls.c mls_level_dom(&r->level[1], &r->level[0])); level 299 security/selinux/ss/mls.c context->range.level[l].sens = levdatum->level->sens; level 319 security/selinux/ss/mls.c rc = ebitmap_set_bit(&context->range.level[l].cat, level 336 security/selinux/ss/mls.c rc = ebitmap_set_bit(&context->range.level[l].cat, i, 1); level 345 security/selinux/ss/mls.c context->range.level[1].sens = context->range.level[0].sens; level 346 security/selinux/ss/mls.c rc = ebitmap_cpy(&context->range.level[1].cat, level 347 security/selinux/ss/mls.c &context->range.level[0].cat); level 392 security/selinux/ss/mls.c context->range.level[l].sens = range->level[l].sens; level 393 security/selinux/ss/mls.c rc = ebitmap_cpy(&context->range.level[l].cat, level 394 security/selinux/ss/mls.c &range->level[l].cat); level 407 security/selinux/ss/mls.c struct mls_level *fromcon_sen = &(fromcon->range.level[0]); level 408 security/selinux/ss/mls.c struct mls_level *fromcon_clr = &(fromcon->range.level[1]); level 409 security/selinux/ss/mls.c struct mls_level *user_low = &(user->range.level[0]); level 410 security/selinux/ss/mls.c struct mls_level *user_clr = &(user->range.level[1]); level 412 security/selinux/ss/mls.c struct mls_level *usercon_sen = &(usercon->range.level[0]); level 413 security/selinux/ss/mls.c struct mls_level *usercon_clr = &(usercon->range.level[1]); level 463 security/selinux/ss/mls.c oldc->range.level[l].sens - 1)); level 467 security/selinux/ss/mls.c newc->range.level[l].sens = levdatum->level->sens; level 469 security/selinux/ss/mls.c ebitmap_for_each_positive_bit(&oldc->range.level[l].cat, level 477 security/selinux/ss/mls.c rc = ebitmap_set_bit(&newc->range.level[l].cat, level 569 security/selinux/ss/mls.c secattr->attr.mls.lvl = context->range.level[0].sens - 1; level 590 security/selinux/ss/mls.c context->range.level[0].sens = secattr->attr.mls.lvl + 1; level 591 security/selinux/ss/mls.c context->range.level[1].sens = context->range.level[0].sens; level 613 security/selinux/ss/mls.c rc = ebitmap_netlbl_export(&context->range.level[0].cat, level 642 security/selinux/ss/mls.c rc = ebitmap_netlbl_import(&context->range.level[0].cat, level 646 security/selinux/ss/mls.c memcpy(&context->range.level[1].cat, &context->range.level[0].cat, level 647 security/selinux/ss/mls.c sizeof(context->range.level[0].cat)); level 652 security/selinux/ss/mls.c ebitmap_destroy(&context->range.level[0].cat); level 27 security/selinux/ss/mls_types.h struct mls_level level[2]; /* low == level[0], high == level[1] */ level 49 security/selinux/ss/mls_types.h (mls_level_dom(&(r2).level[0], &(r1).level[0]) && \ level 50 security/selinux/ss/mls_types.h mls_level_dom(&(r1).level[1], &(r2).level[1])) level 290 security/selinux/ss/policydb.c ebitmap_destroy(&usrdatum->range.level[0].cat); level 291 security/selinux/ss/policydb.c ebitmap_destroy(&usrdatum->range.level[1].cat); level 305 security/selinux/ss/policydb.c if (levdatum->level) level 306 security/selinux/ss/policydb.c ebitmap_destroy(&levdatum->level->cat); level 307 security/selinux/ss/policydb.c kfree(levdatum->level); level 348 security/selinux/ss/policydb.c ebitmap_destroy(&rt->level[0].cat); level 349 security/selinux/ss/policydb.c ebitmap_destroy(&rt->level[1].cat); level 623 security/selinux/ss/policydb.c if (!levdatum->level->sens || level 624 security/selinux/ss/policydb.c levdatum->level->sens > p->p_levels.nprim) level 627 security/selinux/ss/policydb.c p->sym_val_to_name[SYM_LEVELS][levdatum->level->sens - 1] = key; level 983 security/selinux/ss/policydb.c r->level[0].sens = le32_to_cpu(buf[0]); level 985 security/selinux/ss/policydb.c r->level[1].sens = le32_to_cpu(buf[1]); level 987 security/selinux/ss/policydb.c r->level[1].sens = r->level[0].sens; level 989 security/selinux/ss/policydb.c rc = ebitmap_read(&r->level[0].cat, fp); level 995 security/selinux/ss/policydb.c rc = ebitmap_read(&r->level[1].cat, fp); level 1001 security/selinux/ss/policydb.c rc = ebitmap_cpy(&r->level[1].cat, &r->level[0].cat); level 1010 security/selinux/ss/policydb.c ebitmap_destroy(&r->level[0].cat); level 1578 security/selinux/ss/policydb.c levdatum->level = kmalloc(sizeof(*levdatum->level), GFP_ATOMIC); level 1579 security/selinux/ss/policydb.c if (!levdatum->level) level 1582 security/selinux/ss/policydb.c rc = mls_read_level(levdatum->level, fp); level 2566 security/selinux/ss/policydb.c eq = mls_level_eq(&r->level[1], &r->level[0]); level 2573 security/selinux/ss/policydb.c buf[1] = cpu_to_le32(r->level[0].sens); level 2575 security/selinux/ss/policydb.c buf[2] = cpu_to_le32(r->level[1].sens); level 2583 security/selinux/ss/policydb.c rc = ebitmap_write(&r->level[0].cat, fp); level 2587 security/selinux/ss/policydb.c rc = ebitmap_write(&r->level[1].cat, fp); level 2616 security/selinux/ss/policydb.c rc = mls_write_level(levdatum->level, fp); level 128 security/selinux/ss/policydb.h struct mls_level *level; /* sensitivity and associated categories */ level 329 security/selinux/ss/services.c l1 = &(scontext->range.level[0]); level 330 security/selinux/ss/services.c l2 = &(tcontext->range.level[0]); level 333 security/selinux/ss/services.c l1 = &(scontext->range.level[0]); level 334 security/selinux/ss/services.c l2 = &(tcontext->range.level[1]); level 337 security/selinux/ss/services.c l1 = &(scontext->range.level[1]); level 338 security/selinux/ss/services.c l2 = &(tcontext->range.level[0]); level 341 security/selinux/ss/services.c l1 = &(scontext->range.level[1]); level 342 security/selinux/ss/services.c l2 = &(tcontext->range.level[1]); level 345 security/selinux/ss/services.c l1 = &(scontext->range.level[0]); level 346 security/selinux/ss/services.c l2 = &(scontext->range.level[1]); level 349 security/selinux/ss/services.c l1 = &(tcontext->range.level[0]); level 350 security/selinux/ss/services.c l2 = &(tcontext->range.level[1]); level 3408 security/selinux/ss/services.c struct mls_level *level; level 3472 security/selinux/ss/services.c level = ((field == AUDIT_SUBJ_SEN || level 3474 security/selinux/ss/services.c &ctxt->range.level[0] : &ctxt->range.level[1]); level 3477 security/selinux/ss/services.c match = mls_level_eq(&rule->au_ctxt.range.level[0], level 3478 security/selinux/ss/services.c level); level 3481 security/selinux/ss/services.c match = !mls_level_eq(&rule->au_ctxt.range.level[0], level 3482 security/selinux/ss/services.c level); level 3485 security/selinux/ss/services.c match = (mls_level_dom(&rule->au_ctxt.range.level[0], level 3486 security/selinux/ss/services.c level) && level 3487 security/selinux/ss/services.c !mls_level_eq(&rule->au_ctxt.range.level[0], level 3488 security/selinux/ss/services.c level)); level 3491 security/selinux/ss/services.c match = mls_level_dom(&rule->au_ctxt.range.level[0], level 3492 security/selinux/ss/services.c level); level 3495 security/selinux/ss/services.c match = (mls_level_dom(level, level 3496 security/selinux/ss/services.c &rule->au_ctxt.range.level[0]) && level 3497 security/selinux/ss/services.c !mls_level_eq(level, level 3498 security/selinux/ss/services.c &rule->au_ctxt.range.level[0])); level 3501 security/selinux/ss/services.c match = mls_level_dom(level, level 3502 security/selinux/ss/services.c &rule->au_ctxt.range.level[0]); level 3629 security/selinux/ss/services.c ebitmap_destroy(&ctx_new.range.level[0].cat); level 3636 security/selinux/ss/services.c ebitmap_destroy(&ctx_new.range.level[0].cat); level 61 security/selinux/ss/sidtab.c u32 level = 0; level 65 security/selinux/ss/sidtab.c ++level; level 67 security/selinux/ss/sidtab.c return level; level 70 security/selinux/ss/sidtab.c static int sidtab_alloc_roots(struct sidtab *s, u32 level) level 80 security/selinux/ss/sidtab.c for (l = 1; l <= level; ++l) level 94 security/selinux/ss/sidtab.c u32 level, capacity_shift, leaf_index = index / SIDTAB_LEAF_ENTRIES; level 97 security/selinux/ss/sidtab.c level = sidtab_level_from_count(index + 1); level 98 security/selinux/ss/sidtab.c capacity_shift = level * SIDTAB_INNER_SHIFT; level 101 security/selinux/ss/sidtab.c if (alloc && sidtab_alloc_roots(s, level) != 0) level 105 security/selinux/ss/sidtab.c entry = &s->roots[level]; level 106 security/selinux/ss/sidtab.c while (level != 0) { level 108 security/selinux/ss/sidtab.c --level; level 174 security/selinux/ss/sidtab.c u32 *pos, u32 count, u32 level, level 180 security/selinux/ss/sidtab.c if (level != 0) { level 186 security/selinux/ss/sidtab.c pos, count, level - 1, level 246 security/selinux/ss/sidtab.c u32 count, count_locked, level, pos; level 257 security/selinux/ss/sidtab.c level = sidtab_level_from_count(count); level 260 security/selinux/ss/sidtab.c rc = sidtab_find_context(s->roots[level], &pos, count, level, level 272 security/selinux/ss/sidtab.c level = sidtab_level_from_count(count_locked); level 361 security/selinux/ss/sidtab.c u32 *pos, u32 count, u32 level, level 367 security/selinux/ss/sidtab.c if (level != 0) { level 378 security/selinux/ss/sidtab.c pos, count, level - 1, level 409 security/selinux/ss/sidtab.c u32 count, level, pos; level 421 security/selinux/ss/sidtab.c level = sidtab_level_from_count(count); level 445 security/selinux/ss/sidtab.c rc = sidtab_convert_tree(¶ms->target->roots[level], level 446 security/selinux/ss/sidtab.c &s->roots[level], &pos, count, level, params); level 456 security/selinux/ss/sidtab.c static void sidtab_destroy_tree(union sidtab_entry_inner entry, u32 level) level 460 security/selinux/ss/sidtab.c if (level != 0) { level 467 security/selinux/ss/sidtab.c sidtab_destroy_tree(node->entries[i], level - 1); level 483 security/selinux/ss/sidtab.c u32 i, level; level 489 security/selinux/ss/sidtab.c level = SIDTAB_MAX_LEVEL; level 490 security/selinux/ss/sidtab.c while (level && !s->roots[level].ptr_inner) level 491 security/selinux/ss/sidtab.c --level; level 493 security/selinux/ss/sidtab.c sidtab_destroy_tree(s->roots[level], level); level 485 security/smack/smack_access.c int smk_netlbl_mls(int level, char *catset, struct netlbl_lsm_secattr *sap, level 495 security/smack/smack_access.c sap->attr.mls.lvl = level; level 50 sound/core/misc.c void __snd_printk(unsigned int level, const char *path, int line, level 62 sound/core/misc.c if (debug < level) level 83 sound/core/misc.c if (!level_found && level) level 117 sound/core/seq/oss/seq_oss.c int level, rc; level 120 sound/core/seq/oss/seq_oss.c level = SNDRV_SEQ_OSS_MODE_MUSIC; level 122 sound/core/seq/oss/seq_oss.c level = SNDRV_SEQ_OSS_MODE_SYNTH; level 125 sound/core/seq/oss/seq_oss.c rc = snd_seq_oss_open(file, level); level 110 sound/core/seq/oss/seq_oss_device.h int snd_seq_oss_open(struct file *file, int level); level 172 sound/core/seq/oss/seq_oss_init.c snd_seq_oss_open(struct file *file, int level) level 225 sound/core/seq/oss/seq_oss_init.c dp->seq_mode = level; level 260 sound/core/seq/oss/seq_oss_init.c if (level == SNDRV_SEQ_OSS_MODE_MUSIC) level 200 sound/drivers/vx/vx_mixer.c short level; level 220 sound/drivers/vx/vx_mixer.c rmh.Cmd[2] |= info->level; level 258 sound/drivers/vx/vx_mixer.c info.level = rmh.Stat[0] & MASK_DSP_WORD_LEVEL; level 270 sound/drivers/vx/vx_mixer.c int vx_set_monitor_level(struct vx_core *chip, int audio, int level, int active) level 276 sound/drivers/vx/vx_mixer.c info.monitor_level = level; level 279 sound/drivers/vx/vx_mixer.c chip->audio_monitor[audio] = level; level 302 sound/drivers/vx/vx_mixer.c static int vx_set_audio_gain(struct vx_core *chip, int audio, int capture, int level) level 308 sound/drivers/vx/vx_mixer.c info.level = level; level 309 sound/drivers/vx/vx_mixer.c chip->audio_gain[capture][audio] = level; level 335 sound/drivers/vx/vx_mixer.c info.level = CVAL_0DB; /* default: 0dB */ level 1345 sound/pci/asihpi/hpi_internal.h struct hpi_control_cache_level level; level 378 sound/pci/asihpi/hpicmn.c phr->u.c.an_log_value[0] = pC->u.level.an_log[0]; level 379 sound/pci/asihpi/hpicmn.c phr->u.c.an_log_value[1] = pC->u.level.an_log[1]; level 23 sound/pci/asihpi/hpidebug.c int hpi_debug_level_set(int level) level 28 sound/pci/asihpi/hpidebug.c hpi_debug_level = level; level 45 sound/pci/asihpi/hpidebug.h #define HPI_DEBUG_LOG(level, ...) \ level 47 sound/pci/asihpi/hpidebug.h if (hpi_debug_level >= HPI_DEBUG_LEVEL_##level) { \ level 48 sound/pci/asihpi/hpidebug.h printk(HPI_DEBUG_FLAG_##level \ level 54 sound/pci/asihpi/hpidebug.h int hpi_debug_level_set(int level); level 69 sound/pci/asihpi/hpidebug.h #define HPI_DEBUG_MESSAGE(level, phm) \ level 71 sound/pci/asihpi/hpidebug.h if (hpi_debug_level >= HPI_DEBUG_LEVEL_##level) { \ level 72 sound/pci/asihpi/hpidebug.h hpi_debug_message(phm, HPI_DEBUG_FLAG_##level \ level 73 sound/pci/asihpi/hpidebug.h FILE_LINE __stringify(level)); \ level 39 sound/pci/au88x0/au88x0_eq.c static void vortex_EqHw_SetTimeConsts(vortex_t * vortex, u16 gain, u16 level) level 42 sound/pci/au88x0/au88x0_eq.c hwwrite(vortex->mmio, 0x2b3c8, level); level 472 sound/pci/mixart/mixart_core.h struct mixart_io_channel_level level[2]; level 494 sound/pci/mixart/mixart_core.h struct mixart_in_audio_level_info level[2]; level 302 sound/pci/mixart/mixart_mixer.c io_level.level[i].analog_level = mixart_analog_level[chip->analog_capture_volume[i]]; level 305 sound/pci/mixart/mixart_mixer.c io_level.level[i].analog_level = mixart_analog_level[chip->analog_playback_volume[i]]; level 307 sound/pci/mixart/mixart_mixer.c io_level.level[i].analog_level = mixart_analog_level[MIXART_ANALOG_PLAYBACK_LEVEL_MIN]; level 784 sound/pci/mixart/mixart_mixer.c set_level.level[0].connector = pipe->uid_left_connector; level 785 sound/pci/mixart/mixart_mixer.c set_level.level[1].connector = pipe->uid_right_connector; level 788 sound/pci/mixart/mixart_mixer.c set_level.level[i].valid_mask1 = MIXART_AUDIO_LEVEL_DIGITAL_MASK; level 789 sound/pci/mixart/mixart_mixer.c set_level.level[i].digital_level = mixart_digital_level[chip->digital_capture_volume[idx][i]]; level 223 sound/pci/pcxhr/pcxhr_mix22.c int idx, int level) level 227 sound/pci/pcxhr/pcxhr_mix22.c level < 0 || level 228 sound/pci/pcxhr/pcxhr_mix22.c level >= ARRAY_SIZE(g_hr222_p_level)) level 237 sound/pci/pcxhr/pcxhr_mix22.c cmd += g_hr222_p_level[level]; level 269 sound/pci/pcxhr/pcxhr_mix22.c static void hr222_micro_boost(struct pcxhr_mgr *mgr, int level); level 667 sound/pci/pcxhr/pcxhr_mix22.c static void hr222_micro_boost(struct pcxhr_mgr *mgr, int level) level 670 sound/pci/pcxhr/pcxhr_mix22.c boost_mask = (unsigned char) (level << PCXHR_SELMIC_PREAMPLI_OFFSET); level 481 sound/pcmcia/vx/vxp_ops.c static int vx_compute_mic_level(int level) level 483 sound/pcmcia/vx/vxp_ops.c switch (level) { level 484 sound/pcmcia/vx/vxp_ops.c case 5: level = 6 ; break; level 485 sound/pcmcia/vx/vxp_ops.c case 6: level = 8 ; break; level 486 sound/pcmcia/vx/vxp_ops.c case 7: level = 11; break; level 487 sound/pcmcia/vx/vxp_ops.c case 8: level = 15; break; level 490 sound/pcmcia/vx/vxp_ops.c return level; level 497 sound/pcmcia/vx/vxp_ops.c void vx_set_mic_level(struct vx_core *chip, int level) level 506 sound/pcmcia/vx/vxp_ops.c level = vx_compute_mic_level(level); level 507 sound/pcmcia/vx/vxp_ops.c vx_outb(chip, MICRO, level); level 38 sound/pcmcia/vx/vxpocket.h void vx_set_mic_level(struct vx_core *chip, int level); level 53 sound/soc/atmel/sam9g20_wm8731.c enum snd_soc_bias_level level) level 58 sound/soc/atmel/sam9g20_wm8731.c switch (level) { level 1106 sound/soc/codecs/88pm860x-codec.c enum snd_soc_bias_level level) level 1111 sound/soc/codecs/88pm860x-codec.c switch (level) { level 1407 sound/soc/codecs/adau1373.c enum snd_soc_bias_level level) level 1411 sound/soc/codecs/adau1373.c switch (level) { level 551 sound/soc/codecs/adau1701.c enum snd_soc_bias_level level) level 556 sound/soc/codecs/adau1701.c switch (level) { level 448 sound/soc/codecs/adau1761.c enum snd_soc_bias_level level) level 452 sound/soc/codecs/adau1761.c switch (level) { level 317 sound/soc/codecs/adau1781.c enum snd_soc_bias_level level) level 321 sound/soc/codecs/adau1781.c switch (level) { level 474 sound/soc/codecs/adau1977.c enum snd_soc_bias_level level) level 479 sound/soc/codecs/adau1977.c switch (level) { level 698 sound/soc/codecs/adav80x.c enum snd_soc_bias_level level) level 703 sound/soc/codecs/adav80x.c switch (level) { level 324 sound/soc/codecs/ak4535.c enum snd_soc_bias_level level) level 326 sound/soc/codecs/ak4535.c switch (level) { level 447 sound/soc/codecs/ak4613.c enum snd_soc_bias_level level) level 451 sound/soc/codecs/ak4613.c switch (level) { level 416 sound/soc/codecs/ak4641.c enum snd_soc_bias_level level) level 422 sound/soc/codecs/ak4641.c switch (level) { level 482 sound/soc/codecs/ak4642.c enum snd_soc_bias_level level) level 484 sound/soc/codecs/ak4642.c switch (level) { level 562 sound/soc/codecs/ak4671.c enum snd_soc_bias_level level) level 564 sound/soc/codecs/ak4671.c switch (level) { level 801 sound/soc/codecs/alc5623.c enum snd_soc_bias_level level) level 803 sound/soc/codecs/alc5623.c switch (level) { level 967 sound/soc/codecs/alc5632.c enum snd_soc_bias_level level) level 969 sound/soc/codecs/alc5632.c switch (level) { level 63 sound/soc/codecs/cq93vc.c enum snd_soc_bias_level level) level 65 sound/soc/codecs/cq93vc.c switch (level) { level 360 sound/soc/codecs/cs35l33.c enum snd_soc_bias_level level) level 365 sound/soc/codecs/cs35l33.c switch (level) { level 467 sound/soc/codecs/cs4265.c enum snd_soc_bias_level level) level 469 sound/soc/codecs/cs4265.c switch (level) { level 515 sound/soc/codecs/cs42l42.c enum snd_soc_bias_level level) level 520 sound/soc/codecs/cs42l42.c switch (level) { level 832 sound/soc/codecs/cs42l52.c enum snd_soc_bias_level level) level 836 sound/soc/codecs/cs42l52.c switch (level) { level 879 sound/soc/codecs/cs42l56.c enum snd_soc_bias_level level) level 884 sound/soc/codecs/cs42l56.c switch (level) { level 1093 sound/soc/codecs/cs42l73.c enum snd_soc_bias_level level) level 1097 sound/soc/codecs/cs42l73.c switch (level) { level 650 sound/soc/codecs/cs53l30.c enum snd_soc_bias_level level) level 657 sound/soc/codecs/cs53l30.c switch (level) { level 323 sound/soc/codecs/cx20442.c enum snd_soc_bias_level level) level 328 sound/soc/codecs/cx20442.c switch (level) { level 1352 sound/soc/codecs/cx2072x.c enum snd_soc_bias_level level) level 1358 sound/soc/codecs/cx2072x.c if (level == SND_SOC_BIAS_STANDBY && old_level == SND_SOC_BIAS_OFF) level 1360 sound/soc/codecs/cx2072x.c else if (level == SND_SOC_BIAS_OFF && old_level != SND_SOC_BIAS_OFF) level 1529 sound/soc/codecs/da7213.c enum snd_soc_bias_level level) level 1534 sound/soc/codecs/da7213.c switch (level) { level 2572 sound/soc/codecs/da7218.c enum snd_soc_bias_level level) level 2577 sound/soc/codecs/da7218.c switch (level) { level 1795 sound/soc/codecs/da7219.c enum snd_soc_bias_level level) level 1800 sound/soc/codecs/da7219.c switch (level) { level 1413 sound/soc/codecs/da732x.c enum snd_soc_bias_level level) level 1417 sound/soc/codecs/da732x.c switch (level) { level 1353 sound/soc/codecs/da9055.c enum snd_soc_bias_level level) level 1355 sound/soc/codecs/da9055.c switch (level) { level 642 sound/soc/codecs/es8328.c enum snd_soc_bias_level level) level 644 sound/soc/codecs/es8328.c switch (level) { level 354 sound/soc/codecs/inno_rk3036.c enum snd_soc_bias_level level) level 356 sound/soc/codecs/inno_rk3036.c switch (level) { level 888 sound/soc/codecs/isabelle.c enum snd_soc_bias_level level) level 890 sound/soc/codecs/isabelle.c switch (level) { level 299 sound/soc/codecs/jz4725b.c enum snd_soc_bias_level level) level 304 sound/soc/codecs/jz4725b.c switch (level) { level 233 sound/soc/codecs/jz4740.c enum snd_soc_bias_level level) level 240 sound/soc/codecs/jz4740.c switch (level) { level 1257 sound/soc/codecs/lm49453.c enum snd_soc_bias_level level) level 1261 sound/soc/codecs/lm49453.c switch (level) { level 1308 sound/soc/codecs/max98088.c enum snd_soc_bias_level level) level 1312 sound/soc/codecs/max98088.c switch (level) { level 1710 sound/soc/codecs/max98090.c enum snd_soc_bias_level level) level 1715 sound/soc/codecs/max98090.c switch (level) { level 1365 sound/soc/codecs/max98095.c enum snd_soc_bias_level level) level 1370 sound/soc/codecs/max98095.c switch (level) { level 225 sound/soc/codecs/max9850.c enum snd_soc_bias_level level) level 230 sound/soc/codecs/max9850.c switch (level) { level 496 sound/soc/codecs/max9860.c enum snd_soc_bias_level level) level 501 sound/soc/codecs/max9860.c switch (level) { level 404 sound/soc/codecs/max9867.c enum snd_soc_bias_level level) level 409 sound/soc/codecs/max9867.c switch (level) { level 460 sound/soc/codecs/ml26124.c enum snd_soc_bias_level level) level 464 sound/soc/codecs/ml26124.c switch (level) { level 740 sound/soc/codecs/nau8810.c enum snd_soc_bias_level level) level 745 sound/soc/codecs/nau8810.c switch (level) { level 920 sound/soc/codecs/nau8822.c enum snd_soc_bias_level level) level 922 sound/soc/codecs/nau8822.c switch (level) { level 958 sound/soc/codecs/nau8822.c dev_dbg(component->dev, "%s: %d\n", __func__, level); level 1481 sound/soc/codecs/nau8824.c enum snd_soc_bias_level level) level 1485 sound/soc/codecs/nau8824.c switch (level) { level 2335 sound/soc/codecs/nau8825.c enum snd_soc_bias_level level) level 2340 sound/soc/codecs/nau8825.c switch (level) { level 554 sound/soc/codecs/pcm186x.c enum snd_soc_bias_level level) level 557 sound/soc/codecs/pcm186x.c snd_soc_component_get_bias_level(component), level); level 559 sound/soc/codecs/pcm186x.c switch (level) { level 667 sound/soc/codecs/pcm512x.c enum snd_soc_bias_level level) level 672 sound/soc/codecs/pcm512x.c switch (level) { level 1931 sound/soc/codecs/rt1011.c enum snd_soc_bias_level level) level 1933 sound/soc/codecs/rt1011.c switch (level) { level 926 sound/soc/codecs/rt274.c enum snd_soc_bias_level level) level 928 sound/soc/codecs/rt274.c switch (level) { level 881 sound/soc/codecs/rt286.c enum snd_soc_bias_level level) level 883 sound/soc/codecs/rt286.c switch (level) { level 948 sound/soc/codecs/rt298.c enum snd_soc_bias_level level) level 950 sound/soc/codecs/rt298.c switch (level) { level 1051 sound/soc/codecs/rt5514.c enum snd_soc_bias_level level) level 1056 sound/soc/codecs/rt5514.c switch (level) { level 1159 sound/soc/codecs/rt5616.c enum snd_soc_bias_level level) level 1164 sound/soc/codecs/rt5616.c switch (level) { level 1531 sound/soc/codecs/rt5631.c enum snd_soc_bias_level level) level 1535 sound/soc/codecs/rt5631.c switch (level) { level 1934 sound/soc/codecs/rt5640.c enum snd_soc_bias_level level) level 1939 sound/soc/codecs/rt5640.c switch (level) { level 3050 sound/soc/codecs/rt5645.c enum snd_soc_bias_level level) level 3054 sound/soc/codecs/rt5645.c switch (level) { level 1512 sound/soc/codecs/rt5651.c enum snd_soc_bias_level level) level 1514 sound/soc/codecs/rt5651.c switch (level) { level 3642 sound/soc/codecs/rt5659.c enum snd_soc_bias_level level) level 3648 sound/soc/codecs/rt5659.c switch (level) { level 1071 sound/soc/codecs/rt5660.c enum snd_soc_bias_level level) level 1076 sound/soc/codecs/rt5660.c switch (level) { level 3075 sound/soc/codecs/rt5663.c enum snd_soc_bias_level level) level 3079 sound/soc/codecs/rt5663.c switch (level) { level 4427 sound/soc/codecs/rt5665.c enum snd_soc_bias_level level) level 4431 sound/soc/codecs/rt5665.c switch (level) { level 2222 sound/soc/codecs/rt5668.c enum snd_soc_bias_level level) level 2226 sound/soc/codecs/rt5668.c switch (level) { level 2565 sound/soc/codecs/rt5670.c enum snd_soc_bias_level level) level 2569 sound/soc/codecs/rt5670.c switch (level) { level 4458 sound/soc/codecs/rt5677.c enum snd_soc_bias_level level) level 4462 sound/soc/codecs/rt5677.c switch (level) { level 2300 sound/soc/codecs/rt5682.c enum snd_soc_bias_level level) level 2304 sound/soc/codecs/rt5682.c switch (level) { level 1126 sound/soc/codecs/sgtl5000.c enum snd_soc_bias_level level) level 1131 sound/soc/codecs/sgtl5000.c switch (level) { level 501 sound/soc/codecs/ssm2518.c enum snd_soc_bias_level level) level 506 sound/soc/codecs/ssm2518.c switch (level) { level 467 sound/soc/codecs/ssm2602.c enum snd_soc_bias_level level) level 471 sound/soc/codecs/ssm2602.c switch (level) { level 369 sound/soc/codecs/ssm4567.c enum snd_soc_bias_level level) level 374 sound/soc/codecs/ssm4567.c switch (level) { level 802 sound/soc/codecs/sta32x.c enum snd_soc_bias_level level) level 807 sound/soc/codecs/sta32x.c dev_dbg(component->dev, "level = %d\n", level); level 808 sound/soc/codecs/sta32x.c switch (level) { level 834 sound/soc/codecs/sta350.c enum snd_soc_bias_level level) level 839 sound/soc/codecs/sta350.c dev_dbg(component->dev, "level = %d\n", level); level 840 sound/soc/codecs/sta350.c switch (level) { level 155 sound/soc/codecs/sta529.c snd_soc_bias_level level) level 159 sound/soc/codecs/sta529.c switch (level) { level 200 sound/soc/codecs/stac9766.c enum snd_soc_bias_level level) level 202 sound/soc/codecs/stac9766.c switch (level) { level 322 sound/soc/codecs/tas571x.c enum snd_soc_bias_level level) level 327 sound/soc/codecs/tas571x.c switch (level) { level 348 sound/soc/codecs/tas6424.c enum snd_soc_bias_level level) level 350 sound/soc/codecs/tas6424.c dev_dbg(component->dev, "%s() level=%d\n", __func__, level); level 352 sound/soc/codecs/tas6424.c switch (level) { level 480 sound/soc/codecs/tlv320aic23.c enum snd_soc_bias_level level) level 484 sound/soc/codecs/tlv320aic23.c switch (level) { level 1233 sound/soc/codecs/tlv320aic31xx.c enum snd_soc_bias_level level) level 1236 sound/soc/codecs/tlv320aic31xx.c snd_soc_component_get_bias_level(component), level); level 1238 sound/soc/codecs/tlv320aic31xx.c switch (level) { level 823 sound/soc/codecs/tlv320aic32x4.c enum snd_soc_bias_level level) level 837 sound/soc/codecs/tlv320aic32x4.c switch (level) { level 1442 sound/soc/codecs/tlv320aic3x.c enum snd_soc_bias_level level) level 1446 sound/soc/codecs/tlv320aic3x.c switch (level) { level 613 sound/soc/codecs/tlv320dac33.c enum snd_soc_bias_level level) level 617 sound/soc/codecs/tlv320dac33.c switch (level) { level 1569 sound/soc/codecs/twl4030.c enum snd_soc_bias_level level) level 1571 sound/soc/codecs/twl4030.c switch (level) { level 819 sound/soc/codecs/twl6040.c enum snd_soc_bias_level level) level 825 sound/soc/codecs/twl6040.c switch (level) { level 295 sound/soc/codecs/uda134x.c enum snd_soc_bias_level level) level 299 sound/soc/codecs/uda134x.c pr_debug("%s bias level %d\n", __func__, level); level 301 sound/soc/codecs/uda134x.c switch (level) { level 589 sound/soc/codecs/uda1380.c enum snd_soc_bias_level level) level 595 sound/soc/codecs/uda1380.c switch (level) { level 736 sound/soc/codecs/wm0010.c enum snd_soc_bias_level level) level 740 sound/soc/codecs/wm0010.c switch (level) { level 31 sound/soc/codecs/wm1250-ev1.c enum snd_soc_bias_level level) level 41 sound/soc/codecs/wm1250-ev1.c switch (level) { level 1075 sound/soc/codecs/wm8350.c enum snd_soc_bias_level level) level 1084 sound/soc/codecs/wm8350.c switch (level) { level 1122 sound/soc/codecs/wm8400.c enum snd_soc_bias_level level) level 1128 sound/soc/codecs/wm8400.c switch (level) { level 504 sound/soc/codecs/wm8510.c enum snd_soc_bias_level level) level 509 sound/soc/codecs/wm8510.c switch (level) { level 317 sound/soc/codecs/wm8523.c enum snd_soc_bias_level level) level 322 sound/soc/codecs/wm8523.c switch (level) { level 821 sound/soc/codecs/wm8580.c enum snd_soc_bias_level level) level 823 sound/soc/codecs/wm8580.c switch (level) { level 298 sound/soc/codecs/wm8711.c enum snd_soc_bias_level level) level 303 sound/soc/codecs/wm8711.c switch (level) { level 161 sound/soc/codecs/wm8728.c enum snd_soc_bias_level level) level 166 sound/soc/codecs/wm8728.c switch (level) { level 486 sound/soc/codecs/wm8731.c enum snd_soc_bias_level level) level 492 sound/soc/codecs/wm8731.c switch (level) { level 452 sound/soc/codecs/wm8737.c enum snd_soc_bias_level level) level 457 sound/soc/codecs/wm8737.c switch (level) { level 622 sound/soc/codecs/wm8750.c enum snd_soc_bias_level level) level 626 sound/soc/codecs/wm8750.c switch (level) { level 1329 sound/soc/codecs/wm8753.c enum snd_soc_bias_level level) level 1334 sound/soc/codecs/wm8753.c switch (level) { level 497 sound/soc/codecs/wm8770.c enum snd_soc_bias_level level) level 504 sound/soc/codecs/wm8770.c switch (level) { level 334 sound/soc/codecs/wm8776.c enum snd_soc_bias_level level) level 338 sound/soc/codecs/wm8776.c switch (level) { level 1029 sound/soc/codecs/wm8900.c enum snd_soc_bias_level level) level 1033 sound/soc/codecs/wm8900.c switch (level) { level 1101 sound/soc/codecs/wm8903.c enum snd_soc_bias_level level) level 1103 sound/soc/codecs/wm8903.c switch (level) { level 1843 sound/soc/codecs/wm8904.c enum snd_soc_bias_level level) level 1848 sound/soc/codecs/wm8904.c switch (level) { level 467 sound/soc/codecs/wm8940.c enum snd_soc_bias_level level) level 474 sound/soc/codecs/wm8940.c switch (level) { level 764 sound/soc/codecs/wm8955.c enum snd_soc_bias_level level) level 769 sound/soc/codecs/wm8955.c switch (level) { level 124 sound/soc/codecs/wm8960.c enum snd_soc_bias_level level); level 893 sound/soc/codecs/wm8960.c enum snd_soc_bias_level level) level 899 sound/soc/codecs/wm8960.c switch (level) { level 983 sound/soc/codecs/wm8960.c enum snd_soc_bias_level level) level 989 sound/soc/codecs/wm8960.c switch (level) { level 1275 sound/soc/codecs/wm8960.c enum snd_soc_bias_level level) level 1279 sound/soc/codecs/wm8960.c return wm8960->set_bias_level(component, level); level 744 sound/soc/codecs/wm8961.c enum snd_soc_bias_level level) level 753 sound/soc/codecs/wm8961.c switch (level) { level 2504 sound/soc/codecs/wm8962.c enum snd_soc_bias_level level) level 2506 sound/soc/codecs/wm8962.c switch (level) { level 561 sound/soc/codecs/wm8971.c enum snd_soc_bias_level level) level 566 sound/soc/codecs/wm8971.c switch (level) { level 584 sound/soc/codecs/wm8974.c enum snd_soc_bias_level level) level 588 sound/soc/codecs/wm8974.c switch (level) { level 854 sound/soc/codecs/wm8978.c enum snd_soc_bias_level level) level 858 sound/soc/codecs/wm8978.c switch (level) { level 886 sound/soc/codecs/wm8978.c dev_dbg(component->dev, "%s: %d, %x\n", __func__, level, power1); level 848 sound/soc/codecs/wm8983.c enum snd_soc_bias_level level) level 853 sound/soc/codecs/wm8983.c switch (level) { level 948 sound/soc/codecs/wm8985.c enum snd_soc_bias_level level) level 954 sound/soc/codecs/wm8985.c switch (level) { level 723 sound/soc/codecs/wm8988.c enum snd_soc_bias_level level) level 728 sound/soc/codecs/wm8988.c switch (level) { level 1104 sound/soc/codecs/wm8990.c enum snd_soc_bias_level level) level 1109 sound/soc/codecs/wm8990.c switch (level) { level 1089 sound/soc/codecs/wm8991.c enum snd_soc_bias_level level) level 1094 sound/soc/codecs/wm8991.c switch (level) { level 973 sound/soc/codecs/wm8993.c enum snd_soc_bias_level level) level 978 sound/soc/codecs/wm8993.c wm_hubs_set_bias_level(component, level); level 980 sound/soc/codecs/wm8993.c switch (level) { level 2476 sound/soc/codecs/wm8994.c enum snd_soc_bias_level level) level 2481 sound/soc/codecs/wm8994.c wm_hubs_set_bias_level(component, level); level 2483 sound/soc/codecs/wm8994.c switch (level) { level 1956 sound/soc/codecs/wm8995.c enum snd_soc_bias_level level) level 1962 sound/soc/codecs/wm8995.c switch (level) { level 1572 sound/soc/codecs/wm8996.c enum snd_soc_bias_level level) level 1577 sound/soc/codecs/wm8996.c switch (level) { level 816 sound/soc/codecs/wm9081.c enum snd_soc_bias_level level) level 820 sound/soc/codecs/wm9081.c switch (level) { level 463 sound/soc/codecs/wm9090.c enum snd_soc_bias_level level) level 467 sound/soc/codecs/wm9090.c switch (level) { level 597 sound/soc/codecs/wm9712.c enum snd_soc_bias_level level) level 599 sound/soc/codecs/wm9712.c switch (level) { level 1142 sound/soc/codecs/wm9713.c enum snd_soc_bias_level level) level 1144 sound/soc/codecs/wm9713.c switch (level) { level 1255 sound/soc/codecs/wm_hubs.c enum snd_soc_bias_level level) level 1260 sound/soc/codecs/wm_hubs.c switch (level) { level 64 sound/soc/codecs/wm_hubs.h enum snd_soc_bias_level level); level 249 sound/soc/fsl/fsl-asoc-card.c enum snd_soc_bias_level level) level 264 sound/soc/fsl/fsl-asoc-card.c switch (level) { level 335 sound/soc/intel/atom/sst-atom-controls.h #define SST_FILL_DESTINATION(level, dst, ...) \ level 336 sound/soc/intel/atom/sst-atom-controls.h SST_FILL_DESTINATION##level(dst, __VA_ARGS__) level 351 sound/soc/meson/axg-spdifout.c enum snd_soc_bias_level level) level 358 sound/soc/meson/axg-spdifout.c switch (level) { level 436 sound/soc/meson/axg-tdm-interface.c enum snd_soc_bias_level level) level 443 sound/soc/meson/axg-tdm-interface.c switch (level) { level 54 sound/soc/samsung/bells.c enum snd_soc_bias_level level) level 69 sound/soc/samsung/bells.c switch (level) { level 100 sound/soc/samsung/bells.c enum snd_soc_bias_level level) level 115 sound/soc/samsung/bells.c switch (level) { level 137 sound/soc/samsung/bells.c dapm->bias_level = level; level 19 sound/soc/samsung/littlemill.c enum snd_soc_bias_level level) level 31 sound/soc/samsung/littlemill.c switch (level) { level 66 sound/soc/samsung/littlemill.c enum snd_soc_bias_level level) level 78 sound/soc/samsung/littlemill.c switch (level) { level 99 sound/soc/samsung/littlemill.c dapm->bias_level = level; level 21 sound/soc/samsung/speyside.c enum snd_soc_bias_level level) level 33 sound/soc/samsung/speyside.c switch (level) { level 57 sound/soc/samsung/speyside.c enum snd_soc_bias_level level) level 69 sound/soc/samsung/speyside.c switch (level) { level 93 sound/soc/samsung/speyside.c card->dapm.bias_level = level; level 281 sound/soc/samsung/tm2_wm5110.c enum snd_soc_bias_level level) level 290 sound/soc/samsung/tm2_wm5110.c switch (level) { level 19 sound/soc/samsung/tobermory.c enum snd_soc_bias_level level) level 31 sound/soc/samsung/tobermory.c switch (level) { level 62 sound/soc/samsung/tobermory.c enum snd_soc_bias_level level) level 74 sound/soc/samsung/tobermory.c switch (level) { level 95 sound/soc/samsung/tobermory.c dapm->bias_level = level; level 33 sound/soc/soc-acpi.c static acpi_status snd_soc_acpi_find_package(acpi_handle handle, u32 level, level 72 sound/soc/soc-component.c enum snd_soc_bias_level level) level 75 sound/soc/soc-component.c return component->driver->set_bias_level(component, level); level 697 sound/soc/soc-dapm.c enum snd_soc_bias_level level) level 702 sound/soc/soc-dapm.c ret = snd_soc_component_set_bias_level(dapm->component, level); level 705 sound/soc/soc-dapm.c dapm->bias_level = level; level 721 sound/soc/soc-dapm.c enum snd_soc_bias_level level) level 726 sound/soc/soc-dapm.c trace_snd_soc_bias_level_start(card, level); level 729 sound/soc/soc-dapm.c ret = card->set_bias_level(card, dapm, level); level 734 sound/soc/soc-dapm.c ret = snd_soc_dapm_force_bias_level(dapm, level); level 740 sound/soc/soc-dapm.c ret = card->set_bias_level_post(card, dapm, level); level 742 sound/soc/soc-dapm.c trace_snd_soc_bias_level_done(card, level); level 1114 sound/soc/soc-dapm.c int level = snd_power_get_state(widget->dapm->card->snd_card); level 1116 sound/soc/soc-dapm.c switch (level) { level 2173 sound/soc/soc-dapm.c char *level; level 2177 sound/soc/soc-dapm.c level = "On\n"; level 2180 sound/soc/soc-dapm.c level = "Prepare\n"; level 2183 sound/soc/soc-dapm.c level = "Standby\n"; level 2186 sound/soc/soc-dapm.c level = "Off\n"; level 2190 sound/soc/soc-dapm.c level = "Unknown\n"; level 2194 sound/soc/soc-dapm.c return simple_read_from_buffer(user_buf, count, ppos, level, level 2195 sound/soc/soc-dapm.c strlen(level)); level 288 sound/soc/xtensa/xtfpga-i2s.c unsigned freq, ratio, level; level 316 sound/soc/xtensa/xtfpga-i2s.c for (level = 1; level 318 sound/soc/xtensa/xtfpga-i2s.c level < (XTFPGA_I2S_CONFIG_LEVEL_MASK >> level 319 sound/soc/xtensa/xtfpga-i2s.c XTFPGA_I2S_CONFIG_LEVEL_BASE); ++level) level 326 sound/soc/xtensa/xtfpga-i2s.c level << XTFPGA_I2S_CONFIG_LEVEL_BASE); level 332 sound/soc/xtensa/xtfpga-i2s.c __func__, freq, ratio, level); level 480 sound/sparc/amd7930.c int level; level 484 sound/sparc/amd7930.c level = (amd->pgain * (256 + ARRAY_SIZE(ger_coeff))) >> 8; level 485 sound/sparc/amd7930.c if (level >= 256) { level 486 sound/sparc/amd7930.c map->ger = ger_coeff[level - 256]; level 490 sound/sparc/amd7930.c map->gr = gx_coeff[level]; level 57 sound/synth/emux/soundfont.c int max_layers, int level); level 1276 sound/synth/emux/soundfont.c int max_layers, int level) level 1292 sound/synth/emux/soundfont.c if (level > 5) /* too deep alias level */ level 1298 sound/synth/emux/soundfont.c max_layers, level + 1); level 71 tools/bpf/bpftool/cgroup.c int level) level 96 tools/bpf/bpftool/cgroup.c printf("%s%-8u %-15s %-15s %-15s\n", level ? " " : "", level 140 tools/bpf/bpftool/cgroup.c int level) level 175 tools/bpf/bpftool/cgroup.c attach_flags_str, level); level 295 tools/bpf/bpftool/cgroup.c show_attached_bpf_progs(cgroup_fd, type, ftw->level); level 83 tools/bpf/bpftool/main.c print_all_levels(__maybe_unused enum libbpf_print_level level, level 3610 tools/include/uapi/linux/bpf.h __s32 level; level 125 tools/include/uapi/linux/kvm.h __u32 level; level 395 tools/include/uapi/linux/pkt_sched.h __u32 level; /* out only */ level 446 tools/include/uapi/linux/pkt_sched.h __u32 level; /* class level in hierarchy */ level 472 tools/include/uapi/linux/pkt_sched.h unsigned char level; level 69 tools/lib/bpf/libbpf.c static int __base_pr(enum libbpf_print_level level, const char *format, level 72 tools/lib/bpf/libbpf.c if (level == LIBBPF_DEBUG) level 89 tools/lib/bpf/libbpf.c void libbpf_print(enum libbpf_print_level level, const char *format, ...) level 97 tools/lib/bpf/libbpf.c __libbpf_pr(level, format, args); level 2914 tools/lib/bpf/libbpf.c static void bpf_core_dump_spec(int level, const struct bpf_core_spec *spec) level 2924 tools/lib/bpf/libbpf.c libbpf_print(level, "[%u] %s + ", type_id, s); level 2927 tools/lib/bpf/libbpf.c libbpf_print(level, "%d%s", spec->raw_spec[i], level 2930 tools/lib/bpf/libbpf.c libbpf_print(level, "%u @ &x", spec->offset); level 2934 tools/lib/bpf/libbpf.c libbpf_print(level, ".%s", spec->spec[i].name); level 2936 tools/lib/bpf/libbpf.c libbpf_print(level, "[%u]", spec->spec[i].idx); level 57 tools/lib/bpf/libbpf.h typedef int (*libbpf_print_fn_t)(enum libbpf_print_level level, level 53 tools/lib/bpf/libbpf_internal.h extern void libbpf_print(enum libbpf_print_level level, level 57 tools/lib/bpf/libbpf_internal.h #define __pr(level, fmt, ...) \ level 59 tools/lib/bpf/libbpf_internal.h libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ level 359 tools/lib/traceevent/plugins/plugin_kvm.c unsigned level:4; level 396 tools/lib/traceevent/plugins/plugin_kvm.c role.level, level 752 tools/perf/builtin-report.c static void task__print_level(struct task *task, FILE *fp, int level) level 758 tools/perf/builtin-report.c level, ""); level 766 tools/perf/builtin-report.c task__print_level(child, fp, level + 1); level 2510 tools/perf/builtin-trace.c fprintf(trace->output, " (%c%c)\n", map_type, al.level); level 12 tools/perf/lib/core.c static int __base_pr(enum libperf_print_level level, const char *format, level 21 tools/perf/lib/core.c void libperf_print(enum libperf_print_level level, const char *format, ...) level 29 tools/perf/lib/core.c __libperf_pr(level, format, args); level 17 tools/perf/lib/include/perf/core.h typedef int (*libperf_print_fn_t)(enum libperf_print_level level, level 5 tools/perf/lib/internal.h void libperf_print(enum libperf_print_level level, level 9 tools/perf/lib/internal.h #define __pr(level, fmt, ...) \ level 11 tools/perf/lib/internal.h libperf_print(level, "libperf: " fmt, ##__VA_ARGS__); \ level 7 tools/perf/lib/tests/test-cpumap.c static int libperf_print(enum libperf_print_level level, level 11 tools/perf/lib/tests/test-evlist.c static int libperf_print(enum libperf_print_level level, level 10 tools/perf/lib/tests/test-evsel.c static int libperf_print(enum libperf_print_level level, level 7 tools/perf/lib/tests/test-threadmap.c static int libperf_print(enum libperf_print_level level, level 433 tools/perf/perf.c static int libperf_print(enum libperf_print_level level, level 436 tools/perf/perf.c return eprintf(level, verbose, fmt, ap); level 56 tools/perf/pmu-events/jevents.c int eprintf(int level, int var, const char *fmt, ...) level 62 tools/perf/pmu-events/jevents.c if (var < level) level 931 tools/perf/pmu-events/jevents.c int level = ftwbuf->level; level 934 tools/perf/pmu-events/jevents.c if (level == 1 && is_file && is_json_file(fpath)) level 946 tools/perf/pmu-events/jevents.c int level = ftwbuf->level; level 949 tools/perf/pmu-events/jevents.c if (level == 2 && is_dir) { level 967 tools/perf/pmu-events/jevents.c level, sb->st_size, bname, fpath); level 970 tools/perf/pmu-events/jevents.c if (level == 0 || level > 3) level 975 tools/perf/pmu-events/jevents.c if ((level == 1 && is_dir && is_leaf_dir(fpath)) || level 976 tools/perf/pmu-events/jevents.c (level == 2 && is_dir)) { level 1002 tools/perf/pmu-events/jevents.c if (level == 1 && is_file) { level 1024 tools/perf/pmu-events/jevents.c if (level > 1 && add_topic(bname)) level 18 tools/perf/pmu-events/json.h extern int eprintf(int level, int var, const char *fmt, ...); level 1047 tools/perf/ui/browsers/hists.c struct rb_root *root, int level, level 1055 tools/perf/ui/browsers/hists.c int first_row = row, offset = level * LEVEL_OFFSET_STEP; level 1097 tools/perf/ui/browsers/hists.c const int new_level = level + (extra_offset ? 2 : 1); level 1113 tools/perf/ui/browsers/hists.c struct hist_entry *entry, int level, level 1140 tools/perf/ui/browsers/hists.c &entry->sorted_chain, level, row, level 1353 tools/perf/ui/browsers/hists.c int level) level 1391 tools/perf/ui/browsers/hists.c ui_browser__write_nstring(&browser->b, "", level * HIERARCHY_INDENT); level 1392 tools/perf/ui/browsers/hists.c width -= level * HIERARCHY_INDENT; level 1508 tools/perf/ui/browsers/hists.c level + 1, row, level 1517 tools/perf/ui/browsers/hists.c unsigned short row, int level) level 1540 tools/perf/ui/browsers/hists.c ui_browser__write_nstring(&browser->b, "", level * HIERARCHY_INDENT); level 1541 tools/perf/ui/browsers/hists.c width -= level * HIERARCHY_INDENT; level 1983 tools/perf/ui/browsers/hists.c int level) level 1989 tools/perf/ui/browsers/hists.c hist_browser__show_callchain(browser, he, level, 0, level 2039 tools/perf/ui/browsers/hists.c FILE *fp, int level) level 2054 tools/perf/ui/browsers/hists.c printed = fprintf(fp, "%*s", level * HIERARCHY_INDENT, ""); level 768 tools/perf/ui/hist.c if (node->level == fmt->level) { level 780 tools/perf/ui/hist.c node->level = fmt->level; level 32 tools/perf/util/bpf-loader.c static int libbpf_perf_print(enum libbpf_print_level level __attribute__((unused)), level 1125 tools/perf/util/callchain.c al->level = 'k'; level 1128 tools/perf/util/callchain.c al->level = 'g'; level 1133 tools/perf/util/callchain.c al->level = '.'; level 1136 tools/perf/util/callchain.c al->level = 'u'; level 1139 tools/perf/util/callchain.c al->level = 'H'; level 29 tools/perf/util/compress.h int zstd_init(struct zstd_data *data, int level); level 40 tools/perf/util/compress.h static inline int zstd_init(struct zstd_data *data __maybe_unused, int level __maybe_unused) level 32 tools/perf/util/debug.c int veprintf(int level, int var, const char *fmt, va_list args) level 36 tools/perf/util/debug.c if (var >= level) { level 46 tools/perf/util/debug.c int eprintf(int level, int var, const char *fmt, ...) level 52 tools/perf/util/debug.c ret = veprintf(level, var, fmt, args); level 73 tools/perf/util/debug.c int eprintf_time(int level, int var, u64 t, const char *fmt, ...) level 78 tools/perf/util/debug.c if (var >= level) { level 51 tools/perf/util/debug.h int eprintf(int level, int var, const char *fmt, ...) __printf(3, 4); level 52 tools/perf/util/debug.h int eprintf_time(int level, int var, u64 t, const char *fmt, ...) __printf(4, 5); level 53 tools/perf/util/debug.h int veprintf(int level, int var, const char *fmt, va_list args); level 18 tools/perf/util/env.h u32 level; level 476 tools/perf/util/event.c al->level = 'k'; level 480 tools/perf/util/event.c al->level = '.'; level 482 tools/perf/util/event.c al->level = 'g'; level 486 tools/perf/util/event.c al->level = 'u'; level 488 tools/perf/util/event.c al->level = 'H'; level 570 tools/perf/util/event.c al->level == 'H' ? "[hypervisor]" : "<not found>"); level 1002 tools/perf/util/header.c return cache_a->level - cache_b->level; level 1007 tools/perf/util/header.c if (a->level != b->level) level 1031 tools/perf/util/header.c static int cpu_cache_level__read(struct cpu_cache_level *cache, u32 cpu, u16 level) level 1037 tools/perf/util/header.c scnprintf(path, PATH_MAX, "devices/system/cpu/cpu%d/cache/index%d/", cpu, level); level 1044 tools/perf/util/header.c if (sysfs__read_int(file, (int *) &cache->level)) level 1089 tools/perf/util/header.c fprintf(out, "L%d %-15s %8s [%s]\n", c->level, c->type, c->size, c->map); level 1098 tools/perf/util/header.c u16 level; level 1103 tools/perf/util/header.c for (level = 0; level < MAX_CACHE_LVL; level++) { level 1107 tools/perf/util/header.c err = cpu_cache_level__read(&c, cpu, level); level 1159 tools/perf/util/header.c _W(level) level 2545 tools/perf/util/header.c _R(level) level 368 tools/perf/util/hist.c if (((zap_user && n->level == '.') || level 369 tools/perf/util/hist.c (zap_kernel && n->level != '.') || level 700 tools/perf/util/hist.c .level = al->level, level 1478 tools/perf/util/hist.c if (node->level == 0 || node->skip) level 281 tools/perf/util/hist.h int level; level 303 tools/perf/util/hist.h int level; level 68 tools/perf/util/python.c int eprintf(int level, int var, const char *fmt, ...); level 70 tools/perf/util/python.c int eprintf(int level, int var, const char *fmt, ...) level 75 tools/perf/util/python.c if (var >= level) { level 291 tools/perf/util/sort.c u64 ip, char level, char *bf, size_t size, level 302 tools/perf/util/sort.c ret += repsep_snprintf(bf + ret, size - ret, "[%c] ", level); level 329 tools/perf/util/sort.c he->level, bf, size, width); level 872 tools/perf/util/sort.c he->level, bf, size, width); level 885 tools/perf/util/sort.c he->level, bf, size, width); level 1028 tools/perf/util/sort.c return _hist_entry__sym_snprintf(map, sym, addr, he->level, bf, size, level 1057 tools/perf/util/sort.c return _hist_entry__sym_snprintf(map, sym, addr, he->level, bf, size, level 1269 tools/perf/util/sort.c char level = he->level; level 1282 tools/perf/util/sort.c level = 's'; level 1284 tools/perf/util/sort.c level = 'X'; level 1286 tools/perf/util/sort.c return _hist_entry__sym_snprintf(map, sym, addr, level, bf, size, level 1418 tools/perf/util/sort.c ret += repsep_snprintf(bf + ret, size - ret, "[%c] ", he->level); level 1879 tools/perf/util/sort.c __sort_dimension__alloc_hpp(struct sort_dimension *sd, int level) level 1907 tools/perf/util/sort.c hse->hpp.level = level; level 1918 tools/perf/util/sort.c int level) level 1927 tools/perf/util/sort.c fmt->level = level; level 1965 tools/perf/util/sort.c int level) level 1967 tools/perf/util/sort.c struct hpp_sort_entry *hse = __sort_dimension__alloc_hpp(sd, level); level 2225 tools/perf/util/sort.c int level) level 2256 tools/perf/util/sort.c hde->hpp.level = level; level 2360 tools/perf/util/sort.c bool raw_trace, int level) level 2364 tools/perf/util/sort.c hde = __alloc_dynamic_entry(evsel, field, level); level 2374 tools/perf/util/sort.c static int add_evsel_fields(struct evsel *evsel, bool raw_trace, int level) level 2381 tools/perf/util/sort.c ret = __dynamic_dimension__add(evsel, field, raw_trace, level); level 2391 tools/perf/util/sort.c int level) level 2400 tools/perf/util/sort.c ret = add_evsel_fields(evsel, raw_trace, level); level 2408 tools/perf/util/sort.c char *field_name, bool raw_trace, int level) level 2422 tools/perf/util/sort.c ret = __dynamic_dimension__add(evsel, field, raw_trace, level); level 2430 tools/perf/util/sort.c int level) level 2460 tools/perf/util/sort.c ret = add_all_dynamic_fields(evlist, raw_trace, level); level 2465 tools/perf/util/sort.c ret = add_all_matching_fields(evlist, field_name, raw_trace, level); level 2483 tools/perf/util/sort.c ret = add_evsel_fields(evsel, raw_trace, level); level 2492 tools/perf/util/sort.c ret = __dynamic_dimension__add(evsel, field, raw_trace, level); level 2502 tools/perf/util/sort.c int level) level 2507 tools/perf/util/sort.c if (__sort_dimension__add_hpp_sort(sd, list, level) < 0) level 2520 tools/perf/util/sort.c int level) level 2527 tools/perf/util/sort.c fmt = __hpp_dimension__alloc_hpp(hd, level); level 2574 tools/perf/util/sort.c int level) level 2615 tools/perf/util/sort.c return __sort_dimension__add(sd, list, level); level 2624 tools/perf/util/sort.c return __hpp_dimension__add(hd, list, level); level 2639 tools/perf/util/sort.c __sort_dimension__add(sd, list, level); level 2658 tools/perf/util/sort.c __sort_dimension__add(sd, list, level); level 2662 tools/perf/util/sort.c if (!add_dynamic_entry(evlist, tok, level)) level 2673 tools/perf/util/sort.c int level = 0; level 2682 tools/perf/util/sort.c next_level = level; level 2684 tools/perf/util/sort.c next_level = level + 1; level 2696 tools/perf/util/sort.c ret = sort_dimension__add(list, tok, evlist, level); level 2709 tools/perf/util/sort.c level = next_level; level 111 tools/perf/util/sort.h char level; level 298 tools/perf/util/sort.h int level); level 126 tools/perf/util/symbol.h char level; level 8 tools/perf/util/zstd.c int zstd_init(struct zstd_data *data, int level) level 24 tools/perf/util/zstd.c if (!level) level 33 tools/perf/util/zstd.c ret = ZSTD_initCStream(data->cstream, level); level 152 tools/power/x86/intel-speed-select/isst-core.c int isst_get_get_trl(int cpu, int level, int avx_level, int *trl) level 157 tools/power/x86/intel-speed-select/isst-core.c req = level | (avx_level << 16); level 173 tools/power/x86/intel-speed-select/isst-core.c req = level | BIT(8) | (avx_level << 16); level 211 tools/power/x86/intel-speed-select/isst-core.c unsigned long long level = tdp_level; level 224 tools/power/x86/intel-speed-select/isst-core.c ret = isst_send_msr_command(cpu, 0x64b, 1, &level); level 246 tools/power/x86/intel-speed-select/isst-core.c int isst_get_pbf_info(int cpu, int level, struct isst_pbf_info *pbf_info) level 259 tools/power/x86/intel-speed-select/isst-core.c 0, (i << 8) | level, &resp); level 274 tools/power/x86/intel-speed-select/isst-core.c req = level; level 287 tools/power/x86/intel-speed-select/isst-core.c req = level; level 297 tools/power/x86/intel-speed-select/isst-core.c req = level; level 363 tools/power/x86/intel-speed-select/isst-core.c int isst_get_fact_bucket_info(int cpu, int level, level 375 tools/power/x86/intel-speed-select/isst-core.c (i << 8) | level, &resp); level 381 tools/power/x86/intel-speed-select/isst-core.c cpu, i, level, resp); level 396 tools/power/x86/intel-speed-select/isst-core.c (k << 16) | (i << 8) | level, &resp); level 402 tools/power/x86/intel-speed-select/isst-core.c cpu, i, level, k, resp); level 428 tools/power/x86/intel-speed-select/isst-core.c int isst_get_fact_info(int cpu, int level, struct isst_fact_info *fact_info) level 435 tools/power/x86/intel-speed-select/isst-core.c level, &resp); level 446 tools/power/x86/intel-speed-select/isst-core.c ret = isst_get_fact_bucket_info(cpu, level, fact_info->bucket_info); level 556 tools/power/x86/intel-speed-select/isst-core.c ctdp_level->level = i; level 78 tools/power/x86/intel-speed-select/isst-display.c static void format_and_print_txt(FILE *outf, int level, char *header, level 85 tools/power/x86/intel-speed-select/isst-display.c if (!level) level 88 tools/power/x86/intel-speed-select/isst-display.c if (level == 1) { level 91 tools/power/x86/intel-speed-select/isst-display.c for (i = 0; i < level - 1; ++i) level 106 tools/power/x86/intel-speed-select/isst-display.c static void format_and_print(FILE *outf, int level, char *header, char *value) level 113 tools/power/x86/intel-speed-select/isst-display.c format_and_print_txt(outf, level, header, value); level 117 tools/power/x86/intel-speed-select/isst-display.c if (level == 0) { level 126 tools/power/x86/intel-speed-select/isst-display.c for (i = 0; i < level; ++i) level 130 tools/power/x86/intel-speed-select/isst-display.c if (last_level == level) level 134 tools/power/x86/intel-speed-select/isst-display.c if (last_level != level) level 140 tools/power/x86/intel-speed-select/isst-display.c for (i = last_level - 1; i >= level; --i) { level 147 tools/power/x86/intel-speed-select/isst-display.c if (i == level && header) level 152 tools/power/x86/intel-speed-select/isst-display.c if (abs(last_level - level) < 3) level 160 tools/power/x86/intel-speed-select/isst-display.c last_level = level; level 176 tools/power/x86/intel-speed-select/isst-display.c static void _isst_pbf_display_information(int cpu, FILE *outf, int level, level 216 tools/power/x86/intel-speed-select/isst-display.c static void _isst_fact_display_information(int cpu, FILE *outf, int level, level 329 tools/power/x86/intel-speed-select/isst-display.c ctdp_level->level); level 465 tools/power/x86/intel-speed-select/isst-display.c void isst_pbf_display_information(int cpu, FILE *outf, int level, level 469 tools/power/x86/intel-speed-select/isst-display.c _isst_pbf_display_information(cpu, outf, level, pbf_info, 4); level 473 tools/power/x86/intel-speed-select/isst-display.c void isst_fact_display_information(int cpu, FILE *outf, int level, level 478 tools/power/x86/intel-speed-select/isst-display.c _isst_fact_display_information(cpu, outf, level, fact_bucket, fact_avx, level 115 tools/power/x86/intel-speed-select/isst.h int level; level 202 tools/power/x86/intel-speed-select/isst.h extern void isst_pbf_display_information(int cpu, FILE *outf, int level, level 207 tools/power/x86/intel-speed-select/isst.h extern int isst_get_pbf_info(int cpu, int level, level 210 tools/power/x86/intel-speed-select/isst.h extern int isst_get_fact_info(int cpu, int level, level 212 tools/power/x86/intel-speed-select/isst.h extern int isst_get_fact_bucket_info(int cpu, int level, level 214 tools/power/x86/intel-speed-select/isst.h extern void isst_fact_display_information(int cpu, FILE *outf, int level, level 90 tools/testing/selftests/bpf/bpf_helpers.h static int (*bpf_setsockopt)(void *ctx, int level, int optname, void *optval, level 93 tools/testing/selftests/bpf/bpf_helpers.h static int (*bpf_getsockopt)(void *ctx, int level, int optname, void *optval, level 168 tools/testing/selftests/bpf/bpf_helpers.h static unsigned long long (*bpf_skb_ancestor_cgroup_id)(void *ctx, int level) = level 4 tools/testing/selftests/bpf/prog_tests/bpf_verif_scale.c static int libbpf_debug_print(enum libbpf_print_level level, level 7 tools/testing/selftests/bpf/prog_tests/bpf_verif_scale.c if (level != LIBBPF_DEBUG) { level 125 tools/testing/selftests/bpf/prog_tests/sockopt.c offsetof(struct bpf_sockopt, level)), level 155 tools/testing/selftests/bpf/prog_tests/sockopt.c offsetof(struct bpf_sockopt, level)), level 470 tools/testing/selftests/bpf/prog_tests/sockopt.c offsetof(struct bpf_sockopt, level)), level 500 tools/testing/selftests/bpf/prog_tests/sockopt.c offsetof(struct bpf_sockopt, level)), level 58 tools/testing/selftests/bpf/progs/sockopt_inherit.c if (ctx->level != SOL_CUSTOM) level 83 tools/testing/selftests/bpf/progs/sockopt_inherit.c if (ctx->level != SOL_CUSTOM) level 15 tools/testing/selftests/bpf/progs/sockopt_multi.c if (ctx->level != SOL_IP || ctx->optname != IP_TOS) level 38 tools/testing/selftests/bpf/progs/sockopt_multi.c if (ctx->level != SOL_IP || ctx->optname != IP_TOS) level 61 tools/testing/selftests/bpf/progs/sockopt_multi.c if (ctx->level != SOL_IP || ctx->optname != IP_TOS) level 32 tools/testing/selftests/bpf/progs/sockopt_sk.c if (ctx->level == SOL_IP && ctx->optname == IP_TOS) level 39 tools/testing/selftests/bpf/progs/sockopt_sk.c if (ctx->level == SOL_SOCKET && ctx->optname == SO_SNDBUF) { level 47 tools/testing/selftests/bpf/progs/sockopt_sk.c if (ctx->level == SOL_TCP && ctx->optname == TCP_CONGESTION) { level 55 tools/testing/selftests/bpf/progs/sockopt_sk.c if (ctx->level != SOL_CUSTOM) level 85 tools/testing/selftests/bpf/progs/sockopt_sk.c if (ctx->level == SOL_IP && ctx->optname == IP_TOS) level 92 tools/testing/selftests/bpf/progs/sockopt_sk.c if (ctx->level == SOL_SOCKET && ctx->optname == SO_SNDBUF) { level 104 tools/testing/selftests/bpf/progs/sockopt_sk.c if (ctx->level == SOL_TCP && ctx->optname == TCP_CONGESTION) { level 116 tools/testing/selftests/bpf/progs/sockopt_sk.c if (ctx->level != SOL_CUSTOM) level 20 tools/testing/selftests/bpf/progs/test_skb_cgroup_id_kern.c static __always_inline void log_nth_level(struct __sk_buff *skb, __u32 level) level 27 tools/testing/selftests/bpf/progs/test_skb_cgroup_id_kern.c id = bpf_skb_ancestor_cgroup_id(skb, level); level 28 tools/testing/selftests/bpf/progs/test_skb_cgroup_id_kern.c bpf_map_update_elem(&cgroup_ids, &level, &id, 0); level 56 tools/testing/selftests/bpf/test_btf.c static int __base_pr(enum libbpf_print_level level __attribute__((unused)), level 40 tools/testing/selftests/bpf/test_libbpf_open.c static int libbpf_debug_print(enum libbpf_print_level level, level 43 tools/testing/selftests/bpf/test_libbpf_open.c if (level == LIBBPF_DEBUG && !debug) level 46 tools/testing/selftests/bpf/test_libbpf_open.c fprintf(stderr, "[%d] ", level); level 353 tools/testing/selftests/bpf/test_progs.c static int libbpf_print_fn(enum libbpf_print_level level, level 356 tools/testing/selftests/bpf/test_progs.c if (!env.very_verbose && level == LIBBPF_DEBUG) level 119 tools/testing/selftests/bpf/test_skb_cgroup_id_user.c __u32 level; level 132 tools/testing/selftests/bpf/test_skb_cgroup_id_user.c for (level = 0; level < NUM_CGROUP_LEVELS; ++level) { level 133 tools/testing/selftests/bpf/test_skb_cgroup_id_user.c if (bpf_map_lookup_elem(map_fd, &level, &actual_ids[level])) { level 134 tools/testing/selftests/bpf/test_skb_cgroup_id_user.c log_err("Failed to lookup key %d", level); level 137 tools/testing/selftests/bpf/test_skb_cgroup_id_user.c if (actual_ids[level] != expected_ids[level]) { level 139 tools/testing/selftests/bpf/test_skb_cgroup_id_user.c actual_ids[level], expected_ids[level], level); level 91 tools/testing/selftests/futex/include/logging.h void log_verbosity(int level) level 93 tools/testing/selftests/futex/include/logging.h if (level > VMAX) level 94 tools/testing/selftests/futex/include/logging.h level = VMAX; level 95 tools/testing/selftests/futex/include/logging.h else if (level < 0) level 96 tools/testing/selftests/futex/include/logging.h level = 0; level 97 tools/testing/selftests/futex/include/logging.h _verbose = level; level 187 tools/testing/selftests/kvm/lib/aarch64/processor.c static void pte_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent, uint64_t page, int level) level 193 tools/testing/selftests/kvm/lib/aarch64/processor.c if (level == 4) level 200 tools/testing/selftests/kvm/lib/aarch64/processor.c printf("%*s%s: %lx: %lx at %p\n", indent, "", type[level], pte, *ptep, ptep); level 201 tools/testing/selftests/kvm/lib/aarch64/processor.c pte_dump(stream, vm, indent + 1, pte_addr(vm, *ptep), level + 1); level 208 tools/testing/selftests/kvm/lib/aarch64/processor.c int level = 4 - (vm->pgtable_levels - 1); level 219 tools/testing/selftests/kvm/lib/aarch64/processor.c pte_dump(stream, vm, indent + 1, pte_addr(vm, *ptep), level); level 136 tools/testing/selftests/net/msg_zerocopy.c static void do_setsockopt(int fd, int level, int optname, int val) level 138 tools/testing/selftests/net/msg_zerocopy.c if (setsockopt(fd, level, optname, &val, sizeof(val))) level 139 tools/testing/selftests/net/msg_zerocopy.c error(1, errno, "setsockopt %d.%d: %d", level, optname, val); level 394 tools/testing/selftests/net/nettest.c int level = SOL_IP; level 401 tools/testing/selftests/net/nettest.c level = SOL_IPV6; level 403 tools/testing/selftests/net/nettest.c rc = setsockopt(sd, level, opt, &ifindex, sizeof(ifindex)); level 321 tools/testing/selftests/net/udpgso.c int level, name, val; level 324 tools/testing/selftests/net/udpgso.c level = SOL_IP; level 328 tools/testing/selftests/net/udpgso.c level = SOL_IPV6; level 333 tools/testing/selftests/net/udpgso.c if (setsockopt(fd, level, name, &val, sizeof(val))) level 524 tools/testing/selftests/net/udpgso_bench_tx.c int level, name, val; level 527 tools/testing/selftests/net/udpgso_bench_tx.c level = SOL_IP; level 531 tools/testing/selftests/net/udpgso_bench_tx.c level = SOL_IPV6; level 536 tools/testing/selftests/net/udpgso_bench_tx.c if (setsockopt(fd, level, name, &val, sizeof(val))) level 191 tools/testing/selftests/powerpc/pmu/lib.c bool require_paranoia_below(int level) level 218 tools/testing/selftests/powerpc/pmu/lib.c if (current >= level) level 30 tools/testing/selftests/powerpc/pmu/lib.h extern bool require_paranoia_below(int level); level 75 tools/testing/selftests/proc/read.c static void f(DIR *d, unsigned int level) level 96 tools/testing/selftests/proc/read.c if (level == 0 && streq(de->d_name, "sysrq-trigger")) { level 98 tools/testing/selftests/proc/read.c } else if (level == 1 && streq(de->d_name, "clear_refs")) { level 100 tools/testing/selftests/proc/read.c } else if (level == 3 && streq(de->d_name, "clear_refs")) { level 113 tools/testing/selftests/proc/read.c f(dd, level + 1); level 40 tools/testing/selftests/sparc64/drivers/adi-test.c static void debug_print(int level, const char *s, ...) level 46 tools/testing/selftests/sparc64/drivers/adi-test.c if (DEBUG & level) level 46 tools/testing/selftests/x86/pkey-helpers.h #define dprintf_level(level, args...) do { \ level 47 tools/testing/selftests/x86/pkey-helpers.h if (level <= DEBUG_LEVEL) \ level 59 tools/usb/ffs-test.c static void _msg(unsigned level, const char *fmt, ...) level 61 tools/usb/ffs-test.c if (level < 2) level 62 tools/usb/ffs-test.c level = 2; level 63 tools/usb/ffs-test.c else if (level > 7) level 64 tools/usb/ffs-test.c level = 7; level 66 tools/usb/ffs-test.c if (level <= verbosity) { level 79 tools/usb/ffs-test.c fprintf(stderr, "%s: %s ", argv0, levels[level]); level 34 virt/kvm/arm/arch_timer.c .level = 1, level 39 virt/kvm/arm/arch_timer.c .level = 1, level 299 virt/kvm/arm/arch_timer.c timer_ctx->irq.level = new_level; level 301 virt/kvm/arm/arch_timer.c timer_ctx->irq.level); level 306 virt/kvm/arm/arch_timer.c timer_ctx->irq.level, level 319 virt/kvm/arm/arch_timer.c if (should_fire != ctx->irq.level) { level 490 virt/kvm/arm/arch_timer.c phys_active |= ctx->irq.level; level 517 virt/kvm/arm/arch_timer.c if (vtimer->irq.level) level 867 virt/kvm/arm/arm.c static int vcpu_interrupt_line(struct kvm_vcpu *vcpu, int number, bool level) level 879 virt/kvm/arm/arm.c if (level) level 887 virt/kvm/arm/arm.c if (set == level) level 908 virt/kvm/arm/arm.c bool level = irq_level->level; level 915 virt/kvm/arm/arm.c trace_kvm_irq_line(irq_type, vcpu_idx, irq_num, irq_level->level); level 932 virt/kvm/arm/arm.c return vcpu_interrupt_line(vcpu, irq_num, level); level 947 virt/kvm/arm/arm.c return kvm_vgic_inject_irq(kvm, vcpu->vcpu_id, irq_num, level, NULL); level 955 virt/kvm/arm/arm.c return kvm_vgic_inject_irq(kvm, 0, irq_num, level, NULL); level 24 virt/kvm/arm/psci.c #define AFFINITY_MASK(level) ~((0x1UL << ((level) * MPIDR_LEVEL_BITS)) - 1) level 93 virt/kvm/arm/trace.h TP_PROTO(unsigned int type, int vcpu_idx, int irq_num, int level), level 94 virt/kvm/arm/trace.h TP_ARGS(type, vcpu_idx, irq_num, level), level 100 virt/kvm/arm/trace.h __field( int, level ) level 107 virt/kvm/arm/trace.h __entry->level = level; level 114 virt/kvm/arm/trace.h __entry->type, __entry->vcpu_idx, __entry->irq_num, __entry->level) level 247 virt/kvm/arm/trace.h TP_PROTO(unsigned long vcpu_id, __u32 irq, int level), level 248 virt/kvm/arm/trace.h TP_ARGS(vcpu_id, irq, level), level 253 virt/kvm/arm/trace.h __field( int, level ) level 259 virt/kvm/arm/trace.h __entry->level = level; level 263 virt/kvm/arm/trace.h __entry->vcpu_id, __entry->irq, __entry->level) level 11 virt/kvm/arm/vgic/trace.h TP_PROTO(unsigned long vcpu_id, __u32 irq, bool level), level 12 virt/kvm/arm/vgic/trace.h TP_ARGS(vcpu_id, irq, level), level 17 virt/kvm/arm/vgic/trace.h __field( bool, level ) level 23 virt/kvm/arm/vgic/trace.h __entry->level = level; level 27 virt/kvm/arm/vgic/trace.h __entry->vcpu_id, __entry->irq, __entry->level) level 20 virt/kvm/arm/vgic/vgic-irqfd.c int level, bool line_status) level 26 virt/kvm/arm/vgic/vgic-irqfd.c return kvm_vgic_inject_irq(kvm, 0, spi_id, level, NULL); level 87 virt/kvm/arm/vgic/vgic-irqfd.c int level, bool line_status) level 94 virt/kvm/arm/vgic/vgic-irqfd.c if (!level) level 107 virt/kvm/arm/vgic/vgic-irqfd.c struct kvm *kvm, int irq_source_id, int level, level 110 virt/kvm/arm/vgic/vgic-irqfd.c if (e->type == KVM_IRQ_ROUTING_MSI && vgic_has_its(kvm) && level) { level 868 virt/kvm/arm/vgic/vgic-mmio-v3.c #define SGI_AFFINITY_LEVEL(reg, level) \ level 869 virt/kvm/arm/vgic/vgic-mmio-v3.c ((((reg) & ICC_SGI1R_AFFINITY_## level ##_MASK) \ level 870 virt/kvm/arm/vgic/vgic-mmio-v3.c >> ICC_SGI1R_AFFINITY_## level ##_SHIFT) << MPIDR_LEVEL_SHIFT(level)) level 311 virt/kvm/arm/vgic/vgic.c static bool vgic_validate_injection(struct vgic_irq *irq, bool level, void *owner) level 318 virt/kvm/arm/vgic/vgic.c return irq->line_level != level; level 320 virt/kvm/arm/vgic/vgic.c return level; level 438 virt/kvm/arm/vgic/vgic.c bool level, void *owner) level 445 virt/kvm/arm/vgic/vgic.c trace_vgic_update_irq_pending(cpuid, intid, level); level 461 virt/kvm/arm/vgic/vgic.c if (!vgic_validate_injection(irq, level, owner)) { level 469 virt/kvm/arm/vgic/vgic.c irq->line_level = level; level 31 virt/kvm/arm/vgic/vgic.h #define VGIC_AFFINITY_LEVEL(reg, level) \ level 32 virt/kvm/arm/vgic/vgic.h ((((reg) & VGIC_AFFINITY_## level ##_MASK) \ level 33 virt/kvm/arm/vgic/vgic.h >> VGIC_AFFINITY_## level ##_SHIFT) << MPIDR_LEVEL_SHIFT(level)) level 175 virt/kvm/eventfd.c int level, level 71 virt/kvm/irqchip.c int kvm_set_irq(struct kvm *kvm, int irq_source_id, u32 irq, int level, level 77 virt/kvm/irqchip.c trace_kvm_set_irq(irq, level, irq_source_id); level 89 virt/kvm/irqchip.c r = irq_set[i].set(&irq_set[i], kvm, irq_source_id, level,