| /linux-6.15/drivers/iommu/ |
| H A D | io-pgtable-arm-v7s.c | 52 #define ARM_V7S_LVL_SHIFT(lvl) ((lvl) == 1 ? 20 : 12) argument 59 #define ARM_V7S_BLOCK_SIZE(lvl) (1UL << ARM_V7S_LVL_SHIFT(lvl)) argument 88 #define ARM_V7S_ATTR_XN(lvl) BIT(4 * (2 - (lvl))) argument 102 #define ARM_V7S_ATTR_SHIFT(lvl) (16 - (lvl) * 6) argument 256 if (lvl == 1) in __arm_v7s_alloc_table() 283 if (lvl == 2) in __arm_v7s_alloc_table() 291 if (lvl == 1) in __arm_v7s_alloc_table() 308 if (lvl == 1) in __arm_v7s_free_table() 367 if (lvl == 1) { in arm_v7s_pte_to_cont() 383 if (lvl == 1 && !ARM_V7S_PTE_IS_TABLE(pte, lvl)) in arm_v7s_pte_is_cont() [all …]
|
| H A D | io-pgtable-arm.c | 386 lvl, tblp) != sz) { in arm_lpae_init_pte() 562 int ret, lvl = data->start_level; in arm_lpae_map_pages() local 595 if (lvl == data->start_level) in __arm_lpae_free_pgtable() 720 int lvl); 724 int lvl; member 732 data->lvl = lvl; in visit_iova_to_phys() 761 data->ptes[lvl] = *ptep; in visit_pgtable_walk() 796 if (!iopte_table(pte, lvl)) { in io_pgtable_visit() 807 int lvl) in __arm_lpae_iopte_walk() argument 815 if (lvl == data->start_level) in __arm_lpae_iopte_walk() [all …]
|
| /linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_dcbnl.c | 31 int prio, lvl, err; in otx2_pfc_txschq_config() local 44 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in otx2_pfc_txschq_config() 63 int lvl, rc; in otx2_pfc_txschq_alloc_one() local 74 for (lvl = 0; lvl <= pfvf->hw.txschq_link_cfg_lvl; lvl++) in otx2_pfc_txschq_alloc_one() 75 req->schq[lvl] = 1; in otx2_pfc_txschq_alloc_one() 87 for (lvl = 0; lvl <= pfvf->hw.txschq_link_cfg_lvl; lvl++) { in otx2_pfc_txschq_alloc_one() 91 pfvf->pfc_schq_list[lvl][prio] = rsp->schq_list[lvl][0]; in otx2_pfc_txschq_alloc_one() 97 for (; lvl < NIX_TXSCH_LVL_CNT; lvl++) in otx2_pfc_txschq_alloc_one() 98 pfvf->pfc_schq_list[lvl][prio] = pfvf->hw.txschq_list[lvl][0]; in otx2_pfc_txschq_alloc_one() 130 int lvl; in otx2_pfc_txschq_stop_one() local [all …]
|
| H A D | qos.c | 462 int lvl; in otx2_qos_alloc_txschq_node() local 465 for (lvl = node->level - 1; lvl >= NIX_TXSCH_LVL_MDQ; lvl--) { in otx2_qos_alloc_txschq_node() 644 int lvl, rc, schq; in otx2_qos_txschq_alloc() local 653 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in otx2_qos_txschq_alloc() 654 req->schq[lvl] = cfg->schq[lvl]; in otx2_qos_txschq_alloc() 655 req->schq_contig[lvl] = cfg->schq_contig[lvl]; in otx2_qos_txschq_alloc() 672 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in otx2_qos_txschq_alloc() 679 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in otx2_qos_txschq_alloc() 699 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in otx2_qos_free_unused_txschq() 913 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in otx2_qos_free_cfg() [all …]
|
| H A D | otx2_common.c | 638 req->lvl = lvl; in otx2_txschq_config() 647 schq = schq_list[lvl][prio]; in otx2_txschq_config() 772 int lvl, schq, rc; in otx2_txsch_alloc() local 780 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) in otx2_txsch_alloc() 781 req->schq[lvl] = 1; in otx2_txsch_alloc() 798 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in otx2_txsch_alloc() 799 pfvf->hw.txschq_cnt[lvl] = rsp->schq[lvl]; in otx2_txsch_alloc() 826 free_req->schq_lvl = lvl; in otx2_txschq_free_one() 841 int lvl, schq, idx; in otx2_txschq_stop() local 844 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in otx2_txschq_stop() [all …]
|
| /linux-6.15/tools/perf/util/ |
| H A D | mem-events.c | 447 int lvl; in perf_mem__lvl_scnprintf() local 464 if (lvl && lvl != PERF_MEM_LVLNUM_NA) { in perf_mem__lvl_scnprintf() 473 if (mem_lvlnum[lvl]) in perf_mem__lvl_scnprintf() 482 lvl = data_src.mem_lvl; in perf_mem__lvl_scnprintf() 483 if (!lvl) in perf_mem__lvl_scnprintf() 487 if (!lvl) in perf_mem__lvl_scnprintf() 490 for (i = 0; lvl && i < ARRAY_SIZE(mem_lvl); i++, lvl >>= 1) { in perf_mem__lvl_scnprintf() 491 if (!(lvl & 0x1)) in perf_mem__lvl_scnprintf() 677 if (lvl & P(LVL, HIT)) { in c2c_decode_stats() 746 if (lvl & P(LVL, MISS)) in c2c_decode_stats() [all …]
|
| /linux-6.15/drivers/gpu/drm/i915/gt/ |
| H A D | gen8_ppgtt.c | 140 #define gen8_pd_shift(lvl) ((lvl) * ilog2(GEN8_PDES)) argument 141 #define gen8_pd_index(i, lvl) i915_pde_index((i), gen8_pd_shift(lvl)) argument 142 #define __gen8_pte_shift(lvl) (GEN8_PTE_SHIFT + gen8_pd_shift(lvl)) argument 143 #define __gen8_pte_index(a, lvl) i915_pde_index((a), __gen8_pte_shift(lvl)) argument 206 int count, int lvl) in __gen8_ppgtt_cleanup() argument 208 if (lvl) { in __gen8_ppgtt_cleanup() 267 if (lvl) { in __gen8_ppgtt_clear() 301 free_px(vm, pt, lvl); in __gen8_ppgtt_clear() 348 pt = stash->pt[!!lvl]; in __gen8_ppgtt_alloc() 363 if (lvl) { in __gen8_ppgtt_alloc() [all …]
|
| /linux-6.15/include/trace/events/ |
| H A D | timer_migration.h | 20 __field( unsigned int, lvl ) 26 __entry->lvl = group->level; 43 __field( unsigned int, lvl ) 52 __entry->lvl = child->parent->level; 72 __field( unsigned int, lvl ) 81 __entry->lvl = tmc->tmgroup->level; 101 __field( unsigned int, lvl ) 111 __entry->lvl = group->level; 283 __field( unsigned int , lvl ) 288 __entry->lvl = group->level; [all …]
|
| /linux-6.15/drivers/infiniband/hw/hfi1/ |
| H A D | trace_dbg.h | 50 #define __hfi1_trace_def(lvl) \ argument 51 void __printf(2, 3) __hfi1_trace_##lvl(const char *funct, char *fmt, ...); \ 53 DEFINE_EVENT(hfi1_trace_template, hfi1_ ##lvl, \ 57 #define __hfi1_trace_fn(lvl) \ argument 58 void __printf(2, 3) __hfi1_trace_##lvl(const char *func, char *fmt, ...)\ 67 trace_hfi1_ ##lvl(func, &vaf); \
|
| /linux-6.15/net/netlabel/ |
| H A D | netlabel_cipso_v4.c | 173 doi_def->map.std->lvl.local_size) in netlbl_cipsov4_add_std() 174 doi_def->map.std->lvl.local_size = in netlbl_cipsov4_add_std() 182 doi_def->map.std->lvl.cipso_size) in netlbl_cipsov4_add_std() 183 doi_def->map.std->lvl.cipso_size = in netlbl_cipsov4_add_std() 188 doi_def->map.std->lvl.local = kcalloc(doi_def->map.std->lvl.local_size, in netlbl_cipsov4_add_std() 191 if (doi_def->map.std->lvl.local == NULL) { in netlbl_cipsov4_add_std() 195 doi_def->map.std->lvl.cipso = kcalloc(doi_def->map.std->lvl.cipso_size, in netlbl_cipsov4_add_std() 198 if (doi_def->map.std->lvl.cipso == NULL) { in netlbl_cipsov4_add_std() 517 iter < doi_def->map.std->lvl.local_size; in netlbl_cipsov4_list() 519 if (doi_def->map.std->lvl.local[iter] == in netlbl_cipsov4_list() [all …]
|
| /linux-6.15/arch/arm64/include/asm/ |
| H A D | kernel-pgtable.h | 48 #define EARLY_ENTRIES(lvl, vstart, vend) \ argument 49 SPAN_NR_ENTRIES(vstart, vend, SWAPPER_BLOCK_SHIFT + lvl * PTDESC_TABLE_SHIFT) 51 #define EARLY_LEVEL(lvl, lvls, vstart, vend, add) \ argument 52 ((lvls) > (lvl) ? EARLY_ENTRIES(lvl, vstart, vend) + (add) : 0)
|
| /linux-6.15/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_nix.c | 2247 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in rvu_mbox_handler_nix_txsch_alloc() 2254 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in rvu_mbox_handler_nix_txsch_alloc() 2261 rsp->schq[lvl] = req->schq[lvl]; in rvu_mbox_handler_nix_txsch_alloc() 2324 for (lvl = NIX_TXSCH_LVL_SMQ; lvl <= NIX_TXSCH_LVL_TL1; lvl++) { in nix_smq_flush_fill_ctx() 2405 for (lvl = NIX_TXSCH_LVL_SMQ; lvl <= NIX_TXSCH_LVL_TL1; lvl++) { in nix_smq_flush_enadis_rate() 2542 for (lvl = NIX_TXSCH_LVL_MDQ; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in nix_txschq_free() 2581 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in nix_txschq_free() 2813 rsp->lvl = req->lvl; in nix_txschq_cfg_read() 3756 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in nix_setup_txschq() 3758 txsch->lvl = lvl; in nix_setup_txschq() [all …]
|
| /linux-6.15/drivers/pcmcia/ |
| H A D | soc_common.h | 52 int lvl, const char *fmt, ...); 54 #define debug(skt, lvl, fmt, arg...) \ argument 55 soc_pcmcia_debug(skt, __func__, lvl, fmt , ## arg) 58 #define debug(skt, lvl, fmt, arg...) do { } while (0) argument
|
| /linux-6.15/tools/perf/arch/x86/util/ |
| H A D | header.c | 14 void get_cpuid_0(char *vendor, unsigned int *lvl) in get_cpuid_0() argument 18 cpuid(0, 0, lvl, &b, &c, &d); in get_cpuid_0() 28 unsigned int a, b, c, d, lvl; in __get_cpuid() local 33 get_cpuid_0(vendor, &lvl); in __get_cpuid() 35 if (lvl >= 1) { in __get_cpuid()
|
| H A D | tsc.c | 62 unsigned int a, b, c, d, lvl; in arch_get_tsc_freq() local 71 get_cpuid_0(vendor, &lvl); in arch_get_tsc_freq() 79 if (lvl < 0x15) { in arch_get_tsc_freq()
|
| /linux-6.15/tools/lib/bpf/ |
| H A D | btf_dump.c | 29 static const char *pfx(int lvl) in pfx() argument 31 return lvl >= PREFIX_CNT ? PREFIXES : &PREFIXES[PREFIX_CNT - lvl]; in pfx() 643 const char *fname, int lvl); 967 int lvl) in btf_dump_emit_struct_def() argument 1064 int lvl, __u16 vlen) in btf_dump_emit_enum32_val() argument 1089 int lvl, __u16 vlen) in btf_dump_emit_enum64_val() argument 1107 pfx(lvl + 1), name, dup_cnt, in btf_dump_emit_enum64_val() 1113 pfx(lvl + 1), name, in btf_dump_emit_enum64_val() 1120 int lvl) in btf_dump_emit_enum_def() argument 1271 int lvl, err; in btf_dump__emit_type_decl() local [all …]
|
| /linux-6.15/arch/sparc/mm/ |
| H A D | leon_mm.c | 42 unsigned int lvl, pte; in leon_swprobe() local 72 lvl = 3; in leon_swprobe() 94 lvl = 2; in leon_swprobe() 121 lvl = 1; in leon_swprobe() 143 lvl = 0; in leon_swprobe() 152 switch (lvl) { in leon_swprobe()
|
| /linux-6.15/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
| H A D | vmm.c | 77 u16 max, lvl; member 100 int lvl; in nvkm_vmm_trace() local 101 for (lvl = it->max; lvl >= 0; lvl--) { in nvkm_vmm_trace() 102 if (lvl >= it->lvl) in nvkm_vmm_trace() 149 it->lvl++; in nvkm_vmm_unref_pdes() 193 it->lvl--; in nvkm_vmm_unref_pdes() 285 it->lvl++; in nvkm_vmm_unref_ptes() 287 it->lvl--; in nvkm_vmm_unref_ptes() 430 it->lvl--; in nvkm_vmm_ref_hwpt() 518 for (it.lvl = 0; desc[it.lvl].bits; it.lvl++) { in nvkm_vmm_iter() [all …]
|
| /linux-6.15/fs/xfs/ |
| H A D | xfs_error.h | 28 #define XFS_ERROR_REPORT(e, lvl, mp) \ argument 29 xfs_error_report(e, lvl, mp, __FILE__, __LINE__, __return_address) 30 #define XFS_CORRUPTION_ERROR(e, lvl, mp, buf, bufsize) \ argument 31 xfs_corruption_error(e, lvl, mp, buf, bufsize, \
|
| /linux-6.15/Documentation/devicetree/bindings/sound/ |
| H A D | dlg,da7213.yaml | 33 dlg,micbias1-lvl: 38 dlg,micbias2-lvl: 96 dlg,micbias1-lvl = <2500>; 97 dlg,micbias2-lvl = <2500>;
|
| /linux-6.15/fs/btrfs/ |
| H A D | messages.c | 214 char lvl[PRINTK_MAX_SINGLE_HEADER_LEN + 1] = "\0"; in _btrfs_printk() local 231 memcpy(lvl, fmt, size); in _btrfs_printk() 232 lvl[size] = '\0'; in _btrfs_printk() 248 _printk("%sBTRFS %s (device %s%s): %pV\n", lvl, type, in _btrfs_printk() 251 _printk("%sBTRFS %s: %pV\n", lvl, type, &vaf); in _btrfs_printk()
|
| /linux-6.15/arch/s390/kernel/ |
| H A D | sysinfo.c | 215 static void print_ext_name(struct seq_file *m, int lvl, in print_ext_name() argument 218 size_t len = sizeof(info->ext_names[lvl]); in print_ext_name() 220 if (!convert_ext_name(info->vm[lvl].evmne, info->ext_names[lvl], len)) in print_ext_name() 222 seq_printf(m, "VM%02d Extended Name: %-.256s\n", lvl, in print_ext_name() 223 info->ext_names[lvl]); in print_ext_name() 515 int lvl, i; in stsi_init_debugfs() local 518 lvl = stsi(NULL, 0, 0, 0); in stsi_init_debugfs() 519 if (lvl > 0) in stsi_init_debugfs() 520 stsi_0_0_0 = lvl; in stsi_init_debugfs()
|
| /linux-6.15/arch/sparc/include/asm/ |
| H A D | ttable.h | 104 #define TRAP_UTRAP(handler,lvl) \ argument 107 mov lvl, %g4; \ 170 #define BTRAP(lvl) TRAP_ARG(bad_trap, lvl) argument 172 #define BTRAPTL1(lvl) TRAPTL1_ARG(bad_trap_tl1, lvl) argument 185 #define KPROBES_TRAP(lvl) TRAP_IRQ(kprobe_trap, lvl) argument 187 #define KPROBES_TRAP(lvl) TRAP_ARG(bad_trap, lvl) argument 191 #define UPROBES_TRAP(lvl) TRAP_ARG(uprobe_trap, lvl) argument 193 #define UPROBES_TRAP(lvl) TRAP_ARG(bad_trap, lvl) argument 197 #define KGDB_TRAP(lvl) TRAP_IRQ(kgdb_trap, lvl) argument 199 #define KGDB_TRAP(lvl) TRAP_ARG(bad_trap, lvl) argument
|
| /linux-6.15/tools/testing/selftests/timens/ |
| H A D | log.h | 6 #define pr_msg(fmt, lvl, ...) \ argument 8 lvl, __FILE__, __LINE__, ##__VA_ARGS__)
|
| /linux-6.15/tools/testing/selftests/filesystems/overlayfs/ |
| H A D | log.h | 6 #define pr_msg(fmt, lvl, ...) \ argument 8 lvl, __FILE__, __LINE__, ##__VA_ARGS__)
|