al 8 arch/alpha/math-emu/sfp-util.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ al 9 arch/alpha/math-emu/sfp-util.h ((sl) = (al) + (bl), (sh) = (ah) + (bh) + ((sl) < (al))) al 11 arch/alpha/math-emu/sfp-util.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ al 12 arch/alpha/math-emu/sfp-util.h ((sl) = (al) - (bl), (sh) = (ah) - (bh) - ((al) < (bl))) al 122 arch/arm/include/asm/assembler.h .macro asm_trace_hardirqs_on, cond=al, save=1 al 392 arch/arm/include/asm/assembler.h .ifnc \cond,al al 433 arch/arm/include/asm/assembler.h .macro strusr, reg, ptr, inc, cond=al, rept=1, abort=9001f al 437 arch/arm/include/asm/assembler.h .macro ldrusr, reg, ptr, inc, cond=al, rept=1, abort=9001f al 76 arch/arm/mach-tegra/sleep.h movw \reg, #:lower16:\val al 77 arch/arm/mach-tegra/sleep.h movt \reg, #:upper16:\val al 510 arch/arm64/include/asm/assembler.h .if (((\val) >> 31) == 0 || ((\val) >> 31) == 0x1ffffffff) al 511 arch/arm64/include/asm/assembler.h movz \reg, :abs_g1_s:\val al 513 arch/arm64/include/asm/assembler.h .if (((\val) >> 47) == 0 || ((\val) >> 47) == 0x1ffff) al 514 arch/arm64/include/asm/assembler.h movz \reg, :abs_g2_s:\val al 516 arch/arm64/include/asm/assembler.h movz \reg, :abs_g3:\val al 517 arch/arm64/include/asm/assembler.h movk \reg, :abs_g2_nc:\val al 519 arch/arm64/include/asm/assembler.h movk \reg, :abs_g1_nc:\val al 521 arch/arm64/include/asm/assembler.h movk \reg, :abs_g0_nc:\val al 47 arch/arm64/include/asm/atomic_lse.h ATOMIC_FETCH_OP( , al, op, asm_op, "memory") al 76 arch/arm64/include/asm/atomic_lse.h ATOMIC_OP_ADD_RETURN( , al, "memory") al 107 arch/arm64/include/asm/atomic_lse.h ATOMIC_FETCH_OP_AND( , al, "memory") al 141 arch/arm64/include/asm/atomic_lse.h ATOMIC_OP_SUB_RETURN( , al, "memory") al 162 arch/arm64/include/asm/atomic_lse.h ATOMIC_FETCH_OP_SUB( , al, "memory") al 200 arch/arm64/include/asm/atomic_lse.h ATOMIC64_FETCH_OP( , al, op, asm_op, "memory") al 229 arch/arm64/include/asm/atomic_lse.h ATOMIC64_OP_ADD_RETURN( , al, "memory") al 260 arch/arm64/include/asm/atomic_lse.h ATOMIC64_FETCH_OP_AND( , al, "memory") al 294 arch/arm64/include/asm/atomic_lse.h ATOMIC64_OP_SUB_RETURN( , al, "memory") al 315 arch/arm64/include/asm/atomic_lse.h ATOMIC64_FETCH_OP_SUB( , al, "memory") al 376 arch/arm64/include/asm/atomic_lse.h __CMPXCHG_CASE(w, b, mb_, 8, al, "memory") al 377 arch/arm64/include/asm/atomic_lse.h __CMPXCHG_CASE(w, h, mb_, 16, al, "memory") al 378 arch/arm64/include/asm/atomic_lse.h __CMPXCHG_CASE(w, , mb_, 32, al, "memory") al 379 arch/arm64/include/asm/atomic_lse.h __CMPXCHG_CASE(x, , mb_, 64, al, "memory") al 415 arch/arm64/include/asm/atomic_lse.h __CMPXCHG_DBL(_mb, al, "memory") al 1888 arch/mips/include/asm/octeon/cvmx-lmcx-defs.h uint64_t al:2; al 1898 arch/mips/include/asm/octeon/cvmx-lmcx-defs.h uint64_t al:2; al 112 arch/nds32/include/asm/sfp-machine.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ al 115 arch/nds32/include/asm/sfp-machine.h __x = (al) + (bl); \ al 116 arch/nds32/include/asm/sfp-machine.h (sh) = (ah) + (bh) + (__x < (al)); \ al 120 arch/nds32/include/asm/sfp-machine.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ al 123 arch/nds32/include/asm/sfp-machine.h __x = (al) - (bl); \ al 124 arch/nds32/include/asm/sfp-machine.h (sh) = (ah) - (bh) - (__x > (al)); \ al 577 arch/powerpc/include/asm/io.h #define DEF_PCI_AC_RET(name, ret, at, al, space, aa) ret (*name) at; al 578 arch/powerpc/include/asm/io.h #define DEF_PCI_AC_NORET(name, at, al, space, aa) void (*name) at; al 588 arch/powerpc/include/asm/io.h #define DEF_PCI_AC_RET(name, ret, at, al, space, aa) \ al 592 arch/powerpc/include/asm/io.h return ppc_pci_io.name al; \ al 593 arch/powerpc/include/asm/io.h return __do_##name al; \ al 596 arch/powerpc/include/asm/io.h #define DEF_PCI_AC_NORET(name, at, al, space, aa) \ al 600 arch/powerpc/include/asm/io.h ppc_pci_io.name al; \ al 602 arch/powerpc/include/asm/io.h __do_##name al; \ al 216 arch/powerpc/include/asm/sfp-machine.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ al 220 arch/powerpc/include/asm/sfp-machine.h : "=r" (sh), "=&r" (sl) : "r" (ah), "%r" (al), "rI" (bl));\ al 223 arch/powerpc/include/asm/sfp-machine.h : "=r" (sh), "=&r" (sl) : "r" (ah), "%r" (al), "rI" (bl));\ al 227 arch/powerpc/include/asm/sfp-machine.h : "%r" (ah), "r" (bh), "%r" (al), "rI" (bl)); \ al 239 arch/powerpc/include/asm/sfp-machine.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ al 243 arch/powerpc/include/asm/sfp-machine.h : "=r" (sh), "=&r" (sl) : "r" (bh), "rI" (al), "r" (bl));\ al 246 arch/powerpc/include/asm/sfp-machine.h : "=r" (sh), "=&r" (sl) : "r" (bh), "rI" (al), "r" (bl));\ al 249 arch/powerpc/include/asm/sfp-machine.h : "=r" (sh), "=&r" (sl) : "r" (ah), "rI" (al), "r" (bl));\ al 252 arch/powerpc/include/asm/sfp-machine.h : "=r" (sh), "=&r" (sl) : "r" (ah), "rI" (al), "r" (bl));\ al 256 arch/powerpc/include/asm/sfp-machine.h : "r" (ah), "r" (bh), "rI" (al), "r" (bl)); \ al 112 arch/powerpc/kernel/io-workarounds.c #define DEF_PCI_AC_RET(name, ret, at, al, space, aa) \ al 118 arch/powerpc/kernel/io-workarounds.c return bus->ops->name al; \ al 119 arch/powerpc/kernel/io-workarounds.c return __do_##name al; \ al 122 arch/powerpc/kernel/io-workarounds.c #define DEF_PCI_AC_NORET(name, at, al, space, aa) \ al 128 arch/powerpc/kernel/io-workarounds.c bus->ops->name al; \ al 131 arch/powerpc/kernel/io-workarounds.c __do_##name al; \ al 141 arch/powerpc/kernel/io-workarounds.c #define DEF_PCI_AC_RET(name, ret, at, al, space, aa) .name = iowa_##name, al 142 arch/powerpc/kernel/io-workarounds.c #define DEF_PCI_AC_NORET(name, at, al, space, aa) .name = iowa_##name, al 40 arch/sh/kernel/process_64.c unsigned long long ah, al, bh, bl, ch, cl; al 46 arch/sh/kernel/process_64.c al = (regs->pc) & 0xffffffff; al 52 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); al 55 arch/sh/kernel/process_64.c al = (regs->sr) & 0xffffffff; al 65 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); al 68 arch/sh/kernel/process_64.c al = (regs->regs[0]) & 0xffffffff; al 74 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); al 77 arch/sh/kernel/process_64.c al = (regs->regs[3]) & 0xffffffff; al 83 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); al 86 arch/sh/kernel/process_64.c al = (regs->regs[6]) & 0xffffffff; al 92 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); al 95 arch/sh/kernel/process_64.c al = (regs->regs[9]) & 0xffffffff; al 101 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); al 104 arch/sh/kernel/process_64.c al = (regs->regs[12]) & 0xffffffff; al 110 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); al 113 arch/sh/kernel/process_64.c al = (regs->regs[16]) & 0xffffffff; al 119 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); al 122 arch/sh/kernel/process_64.c al = (regs->regs[20]) & 0xffffffff; al 128 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); al 131 arch/sh/kernel/process_64.c al = (regs->regs[23]) & 0xffffffff; al 137 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); al 140 arch/sh/kernel/process_64.c al = (regs->regs[26]) & 0xffffffff; al 146 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); al 149 arch/sh/kernel/process_64.c al = (regs->regs[29]) & 0xffffffff; al 155 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); al 158 arch/sh/kernel/process_64.c al = (regs->regs[32]) & 0xffffffff; al 164 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); al 167 arch/sh/kernel/process_64.c al = (regs->regs[35]) & 0xffffffff; al 173 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); al 176 arch/sh/kernel/process_64.c al = (regs->regs[38]) & 0xffffffff; al 182 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); al 185 arch/sh/kernel/process_64.c al = (regs->regs[41]) & 0xffffffff; al 191 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); al 194 arch/sh/kernel/process_64.c al = (regs->regs[44]) & 0xffffffff; al 200 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); al 203 arch/sh/kernel/process_64.c al = (regs->regs[47]) & 0xffffffff; al 209 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); al 212 arch/sh/kernel/process_64.c al = (regs->regs[50]) & 0xffffffff; al 218 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); al 221 arch/sh/kernel/process_64.c al = (regs->regs[53]) & 0xffffffff; al 227 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); al 230 arch/sh/kernel/process_64.c al = (regs->regs[56]) & 0xffffffff; al 236 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); al 239 arch/sh/kernel/process_64.c al = (regs->regs[59]) & 0xffffffff; al 245 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); al 248 arch/sh/kernel/process_64.c al = (regs->regs[62]) & 0xffffffff; al 254 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); al 257 arch/sh/kernel/process_64.c al = (regs->tregs[2]) & 0xffffffff; al 263 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); al 266 arch/sh/kernel/process_64.c al = (regs->tregs[5]) & 0xffffffff; al 272 arch/sh/kernel/process_64.c ah, al, bh, bl, ch, cl); al 6 arch/sh/math-emu/sfp-util.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ al 9 arch/sh/math-emu/sfp-util.h __x = (al) + (bl); \ al 10 arch/sh/math-emu/sfp-util.h (sh) = (ah) + (bh) + (__x < (al)); \ al 14 arch/sh/math-emu/sfp-util.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ al 17 arch/sh/math-emu/sfp-util.h __x = (al) - (bl); \ al 18 arch/sh/math-emu/sfp-util.h (sh) = (ah) - (bh) - (__x > (al)); \ al 7 arch/sparc/math-emu/sfp-util_32.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ al 14 arch/sparc/math-emu/sfp-util_32.h "%rJ" ((USItype)(al)), \ al 17 arch/sparc/math-emu/sfp-util_32.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ al 24 arch/sparc/math-emu/sfp-util_32.h "rJ" ((USItype)(al)), \ al 15 arch/sparc/math-emu/sfp-util_64.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ al 25 arch/sparc/math-emu/sfp-util_64.h "r" ((UDItype)(al)), \ al 29 arch/sparc/math-emu/sfp-util_64.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ al 39 arch/sparc/math-emu/sfp-util_64.h "r" ((UDItype)(al)), \ al 90 arch/unicore32/include/asm/assembler.h .else; .ifnc \cond, al al 116 arch/unicore32/include/asm/assembler.h .macro strusr, reg, ptr, inc, cond = al, rept = 1, abort = 9001f al 120 arch/unicore32/include/asm/assembler.h .macro ldrusr, reg, ptr, inc, cond = al, rept = 1, abort = 9001f al 38 arch/x86/boot/apm.c ireg.al = 0x04; al 42 arch/x86/boot/apm.c ireg.al = 0x03; al 59 arch/x86/boot/apm.c ireg.al = 0x00; al 64 arch/x86/boot/apm.c ireg.al = 0x04; al 263 arch/x86/boot/boot.h u8 al, ah, eax2, eax3; al 71 arch/x86/boot/main.c boot_params.kbd_status = oreg.al; al 46 arch/x86/boot/tty.c ireg.al = ch; al 94 arch/x86/boot/tty.c return oreg.al; al 35 arch/x86/boot/video-bios.c ireg.al = mode; /* AH=0x00 Set Video Mode */ al 44 arch/x86/boot/video-bios.c new_mode = oreg.al & 0x7f; al 49 arch/x86/boot/video-vga.c mode = oreg.al; al 265 arch/x86/boot/video-vga.c if (oreg.al == 0x1a) { al 51 arch/x86/boot/video.c boot_params.screen_info.orig_video_mode = oreg.al & 0x7f; al 64 arch/x86/include/asm/asm.h #define _ASM_ARG1B al al 358 arch/x86/kvm/emulate.c FOP1E(op##b, al) \ al 389 arch/x86/kvm/emulate.c FOP2E(op##b, al, dl) \ al 407 arch/x86/kvm/emulate.c FOP2E(op##b, al, cl) \ al 416 arch/x86/kvm/emulate.c FOP2E(op##b, dl, al) \ al 3440 arch/x86/kvm/emulate.c u8 al, old_al; al 3444 arch/x86/kvm/emulate.c al = ctxt->dst.val; al 3446 arch/x86/kvm/emulate.c old_al = al; al 3450 arch/x86/kvm/emulate.c if ((al & 0x0f) > 9 || af) { al 3451 arch/x86/kvm/emulate.c al -= 6; al 3452 arch/x86/kvm/emulate.c cf = old_cf | (al >= 250); al 3458 arch/x86/kvm/emulate.c al -= 0x60; al 3462 arch/x86/kvm/emulate.c ctxt->dst.val = al; al 3478 arch/x86/kvm/emulate.c u8 al, ah; al 3483 arch/x86/kvm/emulate.c al = ctxt->dst.val & 0xff; al 3484 arch/x86/kvm/emulate.c ah = al / ctxt->src.val; al 3485 arch/x86/kvm/emulate.c al %= ctxt->src.val; al 3487 arch/x86/kvm/emulate.c ctxt->dst.val = (ctxt->dst.val & 0xffff0000) | al | (ah << 8); al 3500 arch/x86/kvm/emulate.c u8 al = ctxt->dst.val & 0xff; al 3503 arch/x86/kvm/emulate.c al = (al + (ah * ctxt->src.val)) & 0xff; al 3505 arch/x86/kvm/emulate.c ctxt->dst.val = (ctxt->dst.val & 0xffff0000) | al; al 227 crypto/vmac.c #define poly_step(ah, al, kh, kl, mh, ml) \ al 231 crypto/vmac.c PMUL64(t3h, t3l, al, kh); \ al 234 crypto/vmac.c PMUL64(ah, al, al, kl); \ al 236 crypto/vmac.c ADD128(ah, al, t1h, t1l); \ al 246 crypto/vmac.c ADD128(ah, al, mh, ml); \ al 247 crypto/vmac.c ADD128(ah, al, z, t2h); \ al 333 crypto/vmac.c #define poly_step(ah, al, kh, kl, mh, ml) \ al 334 crypto/vmac.c poly_step_func(&(ah), &(al), &(kh), &(kl), &(mh), &(ml)) al 804 drivers/ata/pata_ep93xx.c static int ep93xx_pata_softreset(struct ata_link *al, unsigned int *classes, al 807 drivers/ata/pata_ep93xx.c struct ata_port *ap = al->ap; al 820 drivers/ata/pata_ep93xx.c ap->ops->sff_dev_select(al->ap, 0); al 825 drivers/ata/pata_ep93xx.c if (rc && (rc != -ENODEV || sata_scr_valid(al))) { al 826 drivers/ata/pata_ep93xx.c ata_link_err(al, "SRST failed (errno=%d)\n", rc); al 831 drivers/ata/pata_ep93xx.c classes[0] = ata_sff_dev_classify(&al->device[0], devmask & (1 << 0), al 834 drivers/ata/pata_ep93xx.c classes[1] = ata_sff_dev_classify(&al->device[1], al 486 drivers/block/drbd/drbd_actlog.c struct lru_cache *al = device->act_log; al 498 drivers/block/drbd/drbd_actlog.c available_update_slots = min(al->nr_elements - al->used, al 499 drivers/block/drbd/drbd_actlog.c al->max_pending_changes - al->pending_changes); al 513 drivers/block/drbd/drbd_actlog.c if (!al->pending_changes) al 610 drivers/block/drbd/drbd_actlog.c struct al_transaction_on_disk *al = buffer; al 615 drivers/block/drbd/drbd_actlog.c __al_write_transaction(device, al); al 625 drivers/block/drbd/drbd_actlog.c int err = __al_write_transaction(device, al); al 127 drivers/char/toshiba.c unsigned char al; al 139 drivers/char/toshiba.c al = inb(0xe5); al 142 drivers/char/toshiba.c regs->ecx = (unsigned int) (al & 0x01); al 148 drivers/char/toshiba.c al = inb(0xe5); al 150 drivers/char/toshiba.c outb (al | 0x01, 0xe5); al 159 drivers/char/toshiba.c al = inb(0xe5); al 161 drivers/char/toshiba.c outb(al & 0xfe, 0xe5); al 175 drivers/char/toshiba.c al = inb(0xe5); al 178 drivers/char/toshiba.c regs->ecx = al & 0x01; al 184 drivers/char/toshiba.c al = inb(0xe5); al 185 drivers/char/toshiba.c outw(0xe0 | ((al & 0xfe) << 8), 0xe4); al 194 drivers/char/toshiba.c al = inb(0xe5); al 195 drivers/char/toshiba.c outw(0xe0 | ((al | 0x01) << 8), 0xe4); al 3360 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 k, a, ah, al; al 3371 drivers/gpu/drm/amd/amdgpu/si_dpm.c al = a - ah; al 3374 drivers/gpu/drm/amd/amdgpu/si_dpm.c *tl = t + al; al 223 drivers/gpu/drm/radeon/r600_dpm.c u32 k, a, ah, al; al 234 drivers/gpu/drm/radeon/r600_dpm.c al = a - ah; al 237 drivers/gpu/drm/radeon/r600_dpm.c *tl = t + al; al 576 drivers/mtd/nand/raw/cafe_nand.c u8 ah, al, bh, bl, ch, cl; al 579 drivers/mtd/nand/raw/cafe_nand.c al = a & 0x3f; al 583 drivers/mtd/nand/raw/cafe_nand.c ch = gf64_mul(ah ^ al, bh ^ bl) ^ gf64_mul(al, bl); al 584 drivers/mtd/nand/raw/cafe_nand.c cl = gf64_mul(gf64_mul(ah, bh), 0x21) ^ gf64_mul(al, bl); al 729 drivers/mtd/nand/raw/fsl_elbc_nand.c unsigned int al; al 766 drivers/mtd/nand/raw/fsl_elbc_nand.c al = 0; al 768 drivers/mtd/nand/raw/fsl_elbc_nand.c al++; al 770 drivers/mtd/nand/raw/fsl_elbc_nand.c al++; al 772 drivers/mtd/nand/raw/fsl_elbc_nand.c priv->fmr |= al << FMR_AL_SHIFT; al 2562 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c struct virtchnl_ether_addr_list *al) al 2572 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c (vf->num_mac + al->num_elements) > I40E_VC_MAX_MAC_ADDR_PER_VF) { al 2578 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c for (i = 0; i < al->num_elements; i++) { al 2579 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c u8 *addr = al->list[i].addr; al 2616 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c struct virtchnl_ether_addr_list *al = al 2624 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c !i40e_vc_isvalid_vsi_id(vf, al->vsi_id)) { al 2636 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c ret = i40e_check_vf_permission(vf, al); al 2643 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c for (i = 0; i < al->num_elements; i++) { al 2646 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c f = i40e_find_mac(vsi, al->list[i].addr); al 2648 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c f = i40e_add_mac_filter(vsi, al->list[i].addr); al 2653 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c al->list[i].addr, vf->vf_id); al 2685 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c struct virtchnl_ether_addr_list *al = al 2693 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c !i40e_vc_isvalid_vsi_id(vf, al->vsi_id)) { al 2698 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c for (i = 0; i < al->num_elements; i++) { al 2699 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c if (is_broadcast_ether_addr(al->list[i].addr) || al 2700 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c is_zero_ether_addr(al->list[i].addr)) { al 2702 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c al->list[i].addr, vf->vf_id); al 2708 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c ether_addr_equal(al->list[i].addr, al 2721 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c for (i = 0; i < al->num_elements; i++) al 2722 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c if (i40e_del_mac_filter(vsi, al->list[i].addr)) { al 2365 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c struct virtchnl_ether_addr_list *al = al 2380 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c !ice_vc_isvalid_vsi_id(vf, al->vsi_id)) { al 2386 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c (vf->num_mac + al->num_elements) > ICE_MAX_MACADDR_PER_VF) { al 2403 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c for (i = 0; i < al->num_elements; i++) { al 2404 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c u8 *maddr = al->list[i].addr; al 990 drivers/net/wireless/ath/ath9k/xmit.c u16 aggr_limit = 0, al = 0, bpad = 0, al 1008 drivers/net/wireless/ath/ath9k/xmit.c if (aggr_limit < al + bpad + al_delta || al 1019 drivers/net/wireless/ath/ath9k/xmit.c al += bpad + al_delta; al 1053 drivers/net/wireless/ath/ath9k/xmit.c al = get_frame_info(bf->bf_mpdu)->framelen; al 1059 drivers/net/wireless/ath/ath9k/xmit.c return al; al 524 drivers/perf/arm-ccn.c static CCN_CMP_MASK_ATTR_RO(al); al 484 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c #define CYGNUS_PIN_GROUP(group_name, off, sh, al) \ al 492 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c .alt = al, \ al 372 drivers/pinctrl/bcm/pinctrl-ns2-mux.c #define NS2_PIN_GROUP(group_name, ba, off, sh, ma, al) \ al 382 drivers/pinctrl/bcm/pinctrl-ns2-mux.c .alt = al, \ al 227 drivers/pinctrl/bcm/pinctrl-nsp-mux.c #define NSP_PIN_GROUP(group_name, ba, sh, ma, al) \ al 236 drivers/pinctrl/bcm/pinctrl-nsp-mux.c .alt = al, \ al 64 drivers/thermal/tegra/soctherm-fuse.c s64 r, al; al 67 drivers/thermal/tegra/soctherm-fuse.c al = a << 16; al 69 drivers/thermal/tegra/soctherm-fuse.c r = div64_s64(al * 2 + 1, 2 * b); al 737 drivers/usb/misc/sisusbvga/sisusb_init.c unsigned short al, unsigned short dh) al 745 drivers/usb/misc/sisusbvga/sisusb_init.c d3 = al; al 749 drivers/usb/misc/sisusbvga/sisusb_init.c d2 = al; al 753 drivers/usb/misc/sisusbvga/sisusb_init.c d1 = al; al 2859 drivers/video/fbdev/sis/init.c unsigned short dl, unsigned short ah, unsigned short al, unsigned short dh) al 2864 drivers/video/fbdev/sis/init.c case 0: d1 = dh; d2 = ah; d3 = al; break; al 2865 drivers/video/fbdev/sis/init.c case 1: d1 = ah; d2 = al; d3 = dh; break; al 2866 drivers/video/fbdev/sis/init.c default: d1 = al; d2 = dh; d3 = ah; al 41 fs/hpfs/dentry.c unsigned al = len; al 44 fs/hpfs/dentry.c hpfs_adjust_length(str, &al); al 54 fs/hpfs/dentry.c if (hpfs_compare_names(dentry->d_sb, str, al, name->name, bl, 0)) al 1276 fs/io_uring.c static inline bool io_should_merge(struct async_list *al, struct kiocb *kiocb) al 1278 fs/io_uring.c if (al->file == kiocb->ki_filp) { al 1288 fs/io_uring.c start = al->io_start & PAGE_MASK; al 1289 fs/io_uring.c end = (al->io_start + al->io_len + PAGE_SIZE - 1) & PAGE_MASK; al 1294 fs/io_uring.c al->file = NULL; al 700 fs/ntfs/attrib.c u8 *al = al_start; al 701 fs/ntfs/attrib.c u8 *al_end = al + initialized_size; al 711 fs/ntfs/attrib.c if (!vol || !runlist || !al || size <= 0 || initialized_size < 0 || al 715 fs/ntfs/attrib.c memset(al, 0, size); al 753 fs/ntfs/attrib.c if (al + block_size >= al_end) al 755 fs/ntfs/attrib.c memcpy(al, bh->b_data, block_size); al 757 fs/ntfs/attrib.c al += block_size; al 769 fs/ntfs/attrib.c if (al < al_end) { al 778 fs/ntfs/attrib.c memcpy(al, bh->b_data, al_end - al); al 20 include/asm-generic/export.h .long \val - ., \name - ., 0 al 22 include/asm-generic/export.h .quad \val, \name, 0 al 24 include/asm-generic/export.h .long \val, \name, 0 al 38 include/asm-generic/export.h __put \val, __kstrtab_\name al 195 include/linux/math64.h u32 ah, al; al 198 include/linux/math64.h al = a; al 201 include/linux/math64.h ret = mul_u32_u32(al, mul) >> shift; al 114 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ al 121 lib/mpi/longlong.h "%r" ((USItype)(al)), \ al 123 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ al 130 lib/mpi/longlong.h "r" ((USItype)(al)), \ al 176 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ al 183 lib/mpi/longlong.h "%r" ((USItype)(al)), \ al 185 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ al 192 lib/mpi/longlong.h "r" ((USItype)(al)), \ al 263 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ al 270 lib/mpi/longlong.h "%1" ((USItype)(al)), \ al 272 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ al 279 lib/mpi/longlong.h "1" ((USItype)(al)), \ al 300 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ al 307 lib/mpi/longlong.h "%rM" ((USItype)(al)), \ al 309 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ al 316 lib/mpi/longlong.h "rM" ((USItype)(al)), \ al 397 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ al 404 lib/mpi/longlong.h "%1" ((USItype)(al)), \ al 406 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ al 413 lib/mpi/longlong.h "1" ((USItype)(al)), \ al 450 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ al 458 lib/mpi/longlong.h "%dI" ((USItype)(al)), \ al 460 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ al 468 lib/mpi/longlong.h "dI" ((USItype)(al)), \ al 515 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ al 522 lib/mpi/longlong.h "%1" ((USItype)(al)), \ al 524 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ al 531 lib/mpi/longlong.h "1" ((USItype)(al)), \ al 594 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ al 601 lib/mpi/longlong.h "%rJ" ((USItype)(al)), \ al 603 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ al 610 lib/mpi/longlong.h "rJ" ((USItype)(al)), \ al 721 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ al 728 lib/mpi/longlong.h "%r" ((USItype)(al)), \ al 735 lib/mpi/longlong.h "%r" ((USItype)(al)), \ al 743 lib/mpi/longlong.h "%r" ((USItype)(al)), \ al 746 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ al 753 lib/mpi/longlong.h "rI" ((USItype)(al)), \ al 760 lib/mpi/longlong.h "rI" ((USItype)(al)), \ al 767 lib/mpi/longlong.h "rI" ((USItype)(al)), \ al 774 lib/mpi/longlong.h "rI" ((USItype)(al)), \ al 782 lib/mpi/longlong.h "rI" ((USItype)(al)), \ al 839 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ al 846 lib/mpi/longlong.h "%1" ((USItype)(al)), \ al 848 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ al 855 lib/mpi/longlong.h "1" ((USItype)(al)), \ al 874 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ al 881 lib/mpi/longlong.h "%1" ((USItype)(al)), \ al 883 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ al 890 lib/mpi/longlong.h "1" ((USItype)(al)), \ al 950 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ al 957 lib/mpi/longlong.h "%rJ" ((USItype)(al)), \ al 960 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ al 967 lib/mpi/longlong.h "rJ" ((USItype)(al)), \ al 1145 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ al 1152 lib/mpi/longlong.h "%1" ((USItype)(al)), \ al 1154 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ al 1161 lib/mpi/longlong.h "1" ((USItype)(al)), \ al 1193 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ al 1199 lib/mpi/longlong.h "%1" ((unsigned int)(al)), \ al 1201 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ al 1207 lib/mpi/longlong.h "1" ((unsigned int)(al)), \ al 1250 lib/mpi/longlong.h #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ al 1253 lib/mpi/longlong.h __x = (al) + (bl); \ al 1254 lib/mpi/longlong.h (sh) = (ah) + (bh) + (__x < (al)); \ al 1260 lib/mpi/longlong.h #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ al 1263 lib/mpi/longlong.h __x = (al) - (bl); \ al 1264 lib/mpi/longlong.h (sh) = (ah) - (bh) - (__x > (al)); \ al 5851 mm/slub.c struct saved_alias *al; al 5861 mm/slub.c al = kmalloc(sizeof(struct saved_alias), GFP_KERNEL); al 5862 mm/slub.c if (!al) al 5865 mm/slub.c al->s = s; al 5866 mm/slub.c al->name = name; al 5867 mm/slub.c al->next = alias_list; al 5868 mm/slub.c alias_list = al; al 5896 mm/slub.c struct saved_alias *al = alias_list; al 5899 mm/slub.c err = sysfs_slab_alias(al->s, al->name); al 5902 mm/slub.c al->name); al 5903 mm/slub.c kfree(al); al 131 net/core/drop_monitor.c size_t al; al 138 net/core/drop_monitor.c al = sizeof(struct net_dm_alert_msg); al 139 net/core/drop_monitor.c al += dm_hit_limit * sizeof(struct net_dm_drop_point); al 140 net/core/drop_monitor.c al += sizeof(struct nlattr); al 142 net/core/drop_monitor.c skb = genlmsg_new(al, GFP_KERNEL); al 162 net/core/drop_monitor.c memset(msg, 0, al); al 244 tools/perf/arch/powerpc/util/skip-callchain-idx.c struct addr_location al; al 255 tools/perf/arch/powerpc/util/skip-callchain-idx.c thread__find_symbol(thread, PERF_RECORD_MISC_USER, ip, &al); al 257 tools/perf/arch/powerpc/util/skip-callchain-idx.c if (al.map) al 258 tools/perf/arch/powerpc/util/skip-callchain-idx.c dso = al.map->dso; al 265 tools/perf/arch/powerpc/util/skip-callchain-idx.c rc = check_return_addr(dso, al.map->start, ip); al 268 tools/perf/arch/powerpc/util/skip-callchain-idx.c dso->long_name, al.sym->name, ip, rc); al 65 tools/perf/arch/x86/util/perf_regs.c SDT_NAME_REG(al, ax), al 129 tools/perf/builtin-annotate.c static void process_branch_stack(struct branch_stack *bs, struct addr_location *al, al 139 tools/perf/builtin-annotate.c bi = sample__resolve_bstack(sample, al); al 156 tools/perf/builtin-annotate.c struct addr_location *al __maybe_unused, al 180 tools/perf/builtin-annotate.c struct addr_location *al __maybe_unused, al 204 tools/perf/builtin-annotate.c hist__account_cycles(sample->branch_stack, al, sample, false); al 217 tools/perf/builtin-annotate.c struct addr_location *al, al 227 tools/perf/builtin-annotate.c (al->sym == NULL || al 228 tools/perf/builtin-annotate.c strcmp(ann->sym_hist_filter, al->sym->name) != 0)) { al 234 tools/perf/builtin-annotate.c if (al->sym != NULL) { al 235 tools/perf/builtin-annotate.c rb_erase_cached(&al->sym->rb_node, al 236 tools/perf/builtin-annotate.c &al->map->dso->symbols); al 237 tools/perf/builtin-annotate.c symbol__delete(al->sym); al 238 tools/perf/builtin-annotate.c dso__reset_find_symbol_cache(al->map->dso); al 247 tools/perf/builtin-annotate.c process_branch_stack(sample->branch_stack, al, sample); al 250 tools/perf/builtin-annotate.c return process_branch_callback(evsel, sample, al, ann, machine); al 252 tools/perf/builtin-annotate.c he = hists__add_entry(hists, al, NULL, NULL, NULL, sample, true); al 256 tools/perf/builtin-annotate.c ret = hist_entry__inc_addr_samples(he, sample, evsel, al->addr); al 268 tools/perf/builtin-annotate.c struct addr_location al; al 271 tools/perf/builtin-annotate.c if (machine__resolve(machine, &al, sample) < 0) { al 280 tools/perf/builtin-annotate.c if (!al.filtered && al 281 tools/perf/builtin-annotate.c perf_evsel__add_sample(evsel, sample, &al, ann, machine)) { al 287 tools/perf/builtin-annotate.c addr_location__put(&al); al 266 tools/perf/builtin-c2c.c struct addr_location al; al 270 tools/perf/builtin-c2c.c if (machine__resolve(machine, &al, sample) < 0) { al 277 tools/perf/builtin-c2c.c evsel, &al, sysctl_perf_event_max_stack); al 281 tools/perf/builtin-c2c.c mi = sample__resolve_mem(sample, &al); al 295 tools/perf/builtin-c2c.c &al, NULL, NULL, mi, al 329 tools/perf/builtin-c2c.c &al, NULL, NULL, mi, al 349 tools/perf/builtin-c2c.c addr_location__put(&al); al 388 tools/perf/builtin-diff.c struct addr_location al; al 397 tools/perf/builtin-diff.c if (machine__resolve(machine, &al, sample) < 0) { al 409 tools/perf/builtin-diff.c if (!hists__add_entry(hists, &al, NULL, NULL, NULL, sample, al 416 tools/perf/builtin-diff.c if (!hists__add_entry_ops(hists, &block_hist_ops, &al, NULL, al 423 tools/perf/builtin-diff.c hist__account_cycles(sample->branch_stack, &al, sample, false); al 433 tools/perf/builtin-diff.c if (!al.filtered) al 437 tools/perf/builtin-diff.c addr_location__put(&al); al 432 tools/perf/builtin-inject.c struct addr_location al; al 442 tools/perf/builtin-inject.c if (thread__find_map(thread, sample->cpumode, sample->ip, &al)) { al 443 tools/perf/builtin-inject.c if (!al.map->dso->hit) { al 444 tools/perf/builtin-inject.c al.map->dso->hit = 1; al 445 tools/perf/builtin-inject.c if (map__load(al.map) >= 0) { al 446 tools/perf/builtin-inject.c dso__inject_build_id(al.map->dso, tool, machine); al 455 tools/perf/builtin-inject.c al.map->dso->long_name); al 389 tools/perf/builtin-kmem.c struct addr_location al; al 398 tools/perf/builtin-kmem.c al.thread = machine__findnew_thread(machine, sample->pid, sample->tid); al 399 tools/perf/builtin-kmem.c sample__resolve_callchain(sample, &callchain_cursor, NULL, evsel, &al, 16); al 159 tools/perf/builtin-mem.c struct addr_location al; al 162 tools/perf/builtin-mem.c if (machine__resolve(machine, &al, sample) < 0) { al 168 tools/perf/builtin-mem.c if (al.filtered || (mem->hide_unresolved && al.sym == NULL)) al 171 tools/perf/builtin-mem.c if (al.map != NULL) al 172 tools/perf/builtin-mem.c al.map->dso->hit = 1; al 200 tools/perf/builtin-mem.c al.map ? (al.map->dso ? al.map->dso->long_name : "???") : "???", al 201 tools/perf/builtin-mem.c al.sym ? al.sym->name : "???"); al 225 tools/perf/builtin-mem.c al.map ? (al.map->dso ? al.map->dso->long_name : "???") : "???", al 226 tools/perf/builtin-mem.c al.sym ? al.sym->name : "???"); al 229 tools/perf/builtin-mem.c addr_location__put(&al); al 136 tools/perf/builtin-report.c struct addr_location *al, bool single, al 164 tools/perf/builtin-report.c err = hist_entry__inc_addr_samples(he, sample, evsel, al->addr); al 168 tools/perf/builtin-report.c err = hist_entry__inc_addr_samples(he, sample, evsel, al->addr); al 170 tools/perf/builtin-report.c err = hist_entry__inc_addr_samples(he, sample, evsel, al->addr); al 178 tools/perf/builtin-report.c struct addr_location *al __maybe_unused, al 242 tools/perf/builtin-report.c struct addr_location al; al 259 tools/perf/builtin-report.c if (machine__resolve(machine, &al, sample) < 0) { al 265 tools/perf/builtin-report.c if (symbol_conf.hide_unresolved && al.sym == NULL) al 289 tools/perf/builtin-report.c if (al.map != NULL) al 290 tools/perf/builtin-report.c al.map->dso->hit = 1; al 293 tools/perf/builtin-report.c hist__account_cycles(sample->branch_stack, &al, sample, al 297 tools/perf/builtin-report.c ret = hist_entry_iter__add(&iter, &al, rep->max_stack, rep); al 301 tools/perf/builtin-report.c addr_location__put(&al); al 1999 tools/perf/builtin-sched.c struct addr_location *al, al 2055 tools/perf/builtin-sched.c sample__fprintf_sym(sample, al, 0, al 2516 tools/perf/builtin-sched.c struct addr_location al; al 2524 tools/perf/builtin-sched.c if (machine__resolve(machine, &al, sample) < 0) { al 2610 tools/perf/builtin-sched.c timehist_print_sample(sched, evsel, sample, &al, thread, t, state); al 880 tools/perf/builtin-script.c struct addr_location al; al 903 tools/perf/builtin-script.c memset(&al, 0, sizeof(al)); al 912 tools/perf/builtin-script.c if (!thread__find_map(thread, *cpumode, start, &al) || !al.map->dso) { al 916 tools/perf/builtin-script.c if (al.map->dso->data.status == DSO_DATA_STATUS_ERROR) { al 922 tools/perf/builtin-script.c map__load(al.map); al 924 tools/perf/builtin-script.c offset = al.map->map_ip(al.map, start); al 925 tools/perf/builtin-script.c len = dso__data_read_offset(al.map->dso, machine, offset, (u8 *)buffer, al 928 tools/perf/builtin-script.c *is64bit = al.map->dso->is_64_bit; al 937 tools/perf/builtin-script.c struct addr_location al; al 940 tools/perf/builtin-script.c memset(&al, 0, sizeof(al)); al 941 tools/perf/builtin-script.c thread__find_map(thread, cpumode, addr, &al); al 942 tools/perf/builtin-script.c if (!al.map) al 944 tools/perf/builtin-script.c ret = map__fprintf_srccode(al.map, al.addr, stdout, al 974 tools/perf/builtin-script.c struct addr_location al; al 977 tools/perf/builtin-script.c memset(&al, 0, sizeof(al)); al 979 tools/perf/builtin-script.c thread__find_map(thread, cpumode, addr, &al); al 981 tools/perf/builtin-script.c if ((*lastsym) && al.addr >= (*lastsym)->start && al.addr < (*lastsym)->end) al 984 tools/perf/builtin-script.c al.cpu = cpu; al 985 tools/perf/builtin-script.c al.sym = NULL; al 986 tools/perf/builtin-script.c if (al.map) al 987 tools/perf/builtin-script.c al.sym = map__find_symbol(al.map, al.addr); al 989 tools/perf/builtin-script.c if (!al.sym) al 992 tools/perf/builtin-script.c if (al.addr < al.sym->end) al 993 tools/perf/builtin-script.c off = al.addr - al.sym->start; al 995 tools/perf/builtin-script.c off = al.addr - al.map->start - al.sym->start; al 996 tools/perf/builtin-script.c printed += fprintf(fp, "\t%s", al.sym->name); al 1001 tools/perf/builtin-script.c printed += map__fprintf_srcline(al.map, al.addr, "\t", fp); al 1003 tools/perf/builtin-script.c *lastsym = al.sym; al 1152 tools/perf/builtin-script.c struct addr_location al; al 1158 tools/perf/builtin-script.c thread__resolve(thread, &al, sample); al 1163 tools/perf/builtin-script.c printed += symbol__fprintf_symname_offs(al.sym, &al, fp); al 1165 tools/perf/builtin-script.c printed += symbol__fprintf_symname(al.sym, fp); al 1170 tools/perf/builtin-script.c printed += map__fprintf_dsoname(al.map, fp); al 1180 tools/perf/builtin-script.c struct addr_location *al, al 1198 tools/perf/builtin-script.c if (al->sym) al 1199 tools/perf/builtin-script.c name = al->sym->name; al 1209 tools/perf/builtin-script.c struct addr_location *al, FILE *fp) al 1226 tools/perf/builtin-script.c name = resolve_branch_sym(sample, evsel, thread, al, &ip); al 1230 tools/perf/builtin-script.c dlen += map__fprintf_dsoname(al->map, fp); al 1303 tools/perf/builtin-script.c struct addr_location *al, al 1312 tools/perf/builtin-script.c printed += perf_sample__fprintf_callindent(sample, evsel, thread, al, fp); al 1320 tools/perf/builtin-script.c thread__resolve_callchain(al->thread, &callchain_cursor, evsel, al 1333 tools/perf/builtin-script.c printed += sample__fprintf_sym(sample, al, 0, print_opts, cursor, al 1348 tools/perf/builtin-script.c printed += map__fprintf_srcline(al->map, al->addr, "\n ", fp); al 1353 tools/perf/builtin-script.c int ret = map__fprintf_srccode(al->map, al->addr, stdout, al 1767 tools/perf/builtin-script.c struct addr_location *al) al 1783 tools/perf/builtin-script.c const char *name = resolve_branch_sym(sample, evsel, thread, al, al 1807 tools/perf/builtin-script.c struct addr_location *al, al 1810 tools/perf/builtin-script.c struct thread *thread = al->thread; al 1819 tools/perf/builtin-script.c if (!show_event(sample, evsel, thread, al)) al 1846 tools/perf/builtin-script.c perf_sample__fprintf_bts(sample, evsel, thread, al, machine, fp); al 1871 tools/perf/builtin-script.c thread__resolve_callchain(al->thread, &callchain_cursor, evsel, al 1876 tools/perf/builtin-script.c sample__fprintf_sym(sample, al, 0, output[type].print_ip_opts, cursor, al 1905 tools/perf/builtin-script.c if (map__fprintf_srccode(al->map, al->addr, stdout, al 1999 tools/perf/builtin-script.c struct addr_location al; al 2017 tools/perf/builtin-script.c if (machine__resolve(machine, &al, sample) < 0) { al 2023 tools/perf/builtin-script.c if (al.filtered) al 2030 tools/perf/builtin-script.c scripting_ops->process_event(event, sample, evsel, &al); al 2032 tools/perf/builtin-script.c process_event(scr, sample, evsel, &al, machine); al 2035 tools/perf/builtin-script.c addr_location__put(&al); al 477 tools/perf/builtin-timechart.c struct addr_location al; al 494 tools/perf/builtin-timechart.c if (machine__resolve(machine, &al, sample) < 0) { al 534 tools/perf/builtin-timechart.c if (thread__find_symbol(al.thread, cpumode, ip, &tal)) al 540 tools/perf/builtin-timechart.c addr_location__put(&al); al 716 tools/perf/builtin-top.c struct addr_location *al, bool single, al 724 tools/perf/builtin-top.c perf_top__record_precise_ip(top, he, iter->sample, evsel, al->addr); al 726 tools/perf/builtin-top.c hist__account_cycles(iter->sample->branch_stack, al, iter->sample, al 738 tools/perf/builtin-top.c struct addr_location al; al 764 tools/perf/builtin-top.c if (machine__resolve(machine, &al, sample) < 0) al 769 tools/perf/builtin-top.c al.cpumode == PERF_RECORD_MISC_KERNEL) { al 775 tools/perf/builtin-top.c al.map && map__has_symbols(al.map) ? al 783 tools/perf/builtin-top.c if (al.sym == NULL && al.map != NULL) { al 797 tools/perf/builtin-top.c __map__is_kernel(al.map) && map__has_symbols(al.map)) { al 800 tools/perf/builtin-top.c dso__strerror_load(al.map->dso, serr, sizeof(serr)); al 814 tools/perf/builtin-top.c if (al.sym == NULL || !al.sym->idle) { al 829 tools/perf/builtin-top.c err = hist_entry_iter__add(&iter, &al, top->max_stack, top); al 836 tools/perf/builtin-top.c addr_location__put(&al); al 2060 tools/perf/builtin-trace.c struct addr_location al; al 2066 tools/perf/builtin-trace.c if (machine__resolve(trace->host, &al, sample) < 0) al 2069 tools/perf/builtin-trace.c err = thread__resolve_callchain(al.thread, cursor, evsel, sample, NULL, NULL, max_stack); al 2070 tools/perf/builtin-trace.c addr_location__put(&al); al 2434 tools/perf/builtin-trace.c struct addr_location *al, al 2438 tools/perf/builtin-trace.c if ((verbose > 0 || print_dso) && al->map) al 2439 tools/perf/builtin-trace.c fprintf(f, "%s@", al->map->dso->long_name); al 2441 tools/perf/builtin-trace.c if ((verbose > 0 || print_sym) && al->sym) al 2442 tools/perf/builtin-trace.c fprintf(f, "%s+0x%" PRIx64, al->sym->name, al 2443 tools/perf/builtin-trace.c al->addr - al->sym->start); al 2444 tools/perf/builtin-trace.c else if (al->map) al 2445 tools/perf/builtin-trace.c fprintf(f, "0x%" PRIx64, al->addr); al 2456 tools/perf/builtin-trace.c struct addr_location al; al 2485 tools/perf/builtin-trace.c thread__find_symbol(thread, sample->cpumode, sample->ip, &al); al 2493 tools/perf/builtin-trace.c print_location(trace->output, sample, &al, false, true); al 2497 tools/perf/builtin-trace.c thread__find_symbol(thread, sample->cpumode, sample->addr, &al); al 2499 tools/perf/builtin-trace.c if (!al.map) { al 2500 tools/perf/builtin-trace.c thread__find_symbol(thread, sample->cpumode, sample->addr, &al); al 2502 tools/perf/builtin-trace.c if (al.map) al 2508 tools/perf/builtin-trace.c print_location(trace->output, sample, &al, true, false); al 2510 tools/perf/builtin-trace.c fprintf(trace->output, " (%c%c)\n", map_type, al.level); al 238 tools/perf/tests/code-reading.c struct addr_location al; al 250 tools/perf/tests/code-reading.c if (!thread__find_map(thread, cpumode, addr, &al) || !al.map->dso) { al 260 tools/perf/tests/code-reading.c pr_debug("File is: %s\n", al.map->dso->long_name); al 262 tools/perf/tests/code-reading.c if (al.map->dso->symtab_type == DSO_BINARY_TYPE__KALLSYMS && al 263 tools/perf/tests/code-reading.c !dso__is_kcore(al.map->dso)) { al 268 tools/perf/tests/code-reading.c pr_debug("On file address is: %#"PRIx64"\n", al.addr); al 274 tools/perf/tests/code-reading.c if (addr + len > al.map->end) al 275 tools/perf/tests/code-reading.c len = al.map->end - addr; al 278 tools/perf/tests/code-reading.c ret_len = dso__data_read_offset(al.map->dso, thread->mg->machine, al 279 tools/perf/tests/code-reading.c al.addr, buf1, len); al 289 tools/perf/tests/code-reading.c if (map__load(al.map)) al 293 tools/perf/tests/code-reading.c if (dso__is_kcore(al.map->dso)) { al 297 tools/perf/tests/code-reading.c if (state->done[d] == al.map->start) { al 307 tools/perf/tests/code-reading.c state->done[state->done_cnt++] = al.map->start; al 310 tools/perf/tests/code-reading.c objdump_name = al.map->dso->long_name; al 311 tools/perf/tests/code-reading.c if (dso__needs_decompress(al.map->dso)) { al 312 tools/perf/tests/code-reading.c if (dso__decompress_kmodule_path(al.map->dso, objdump_name, al 324 tools/perf/tests/code-reading.c objdump_addr = map__rip_2objdump(al.map, al.addr); al 340 tools/perf/tests/code-reading.c } else if (dso__is_kcore(al.map->dso)) { al 82 tools/perf/tests/hists_cumulate.c struct addr_location al; al 105 tools/perf/tests/hists_cumulate.c if (machine__resolve(machine, &al, &sample) < 0) al 108 tools/perf/tests/hists_cumulate.c if (hist_entry_iter__add(&iter, &al, sysctl_perf_event_max_stack, al 110 tools/perf/tests/hists_cumulate.c addr_location__put(&al); al 114 tools/perf/tests/hists_cumulate.c fake_samples[i].thread = al.thread; al 115 tools/perf/tests/hists_cumulate.c fake_samples[i].map = al.map; al 116 tools/perf/tests/hists_cumulate.c fake_samples[i].sym = al.sym; al 52 tools/perf/tests/hists_filter.c struct addr_location al; al 81 tools/perf/tests/hists_filter.c if (machine__resolve(machine, &al, &sample) < 0) al 84 tools/perf/tests/hists_filter.c al.socket = fake_samples[i].socket; al 85 tools/perf/tests/hists_filter.c if (hist_entry_iter__add(&iter, &al, al 87 tools/perf/tests/hists_filter.c addr_location__put(&al); al 91 tools/perf/tests/hists_filter.c fake_samples[i].thread = al.thread; al 92 tools/perf/tests/hists_filter.c fake_samples[i].map = al.map; al 93 tools/perf/tests/hists_filter.c fake_samples[i].sym = al.sym; al 67 tools/perf/tests/hists_link.c struct addr_location al; al 86 tools/perf/tests/hists_link.c if (machine__resolve(machine, &al, &sample) < 0) al 89 tools/perf/tests/hists_link.c he = hists__add_entry(hists, &al, NULL, al 92 tools/perf/tests/hists_link.c addr_location__put(&al); al 96 tools/perf/tests/hists_link.c fake_common_samples[k].thread = al.thread; al 97 tools/perf/tests/hists_link.c fake_common_samples[k].map = al.map; al 98 tools/perf/tests/hists_link.c fake_common_samples[k].sym = al.sym; al 105 tools/perf/tests/hists_link.c if (machine__resolve(machine, &al, &sample) < 0) al 108 tools/perf/tests/hists_link.c he = hists__add_entry(hists, &al, NULL, al 111 tools/perf/tests/hists_link.c addr_location__put(&al); al 115 tools/perf/tests/hists_link.c fake_samples[i][k].thread = al.thread; al 116 tools/perf/tests/hists_link.c fake_samples[i][k].map = al.map; al 117 tools/perf/tests/hists_link.c fake_samples[i][k].sym = al.sym; al 52 tools/perf/tests/hists_output.c struct addr_location al; al 71 tools/perf/tests/hists_output.c if (machine__resolve(machine, &al, &sample) < 0) al 74 tools/perf/tests/hists_output.c if (hist_entry_iter__add(&iter, &al, sysctl_perf_event_max_stack, al 76 tools/perf/tests/hists_output.c addr_location__put(&al); al 80 tools/perf/tests/hists_output.c fake_samples[i].thread = al.thread; al 81 tools/perf/tests/hists_output.c fake_samples[i].map = al.map; al 82 tools/perf/tests/hists_output.c fake_samples[i].sym = al.sym; al 187 tools/perf/tests/mmap-thread-lookup.c struct addr_location al; al 195 tools/perf/tests/mmap-thread-lookup.c (unsigned long) (td->map + 1), &al); al 199 tools/perf/tests/mmap-thread-lookup.c if (!al.map) { al 205 tools/perf/tests/mmap-thread-lookup.c pr_debug("map %p, addr %" PRIx64 "\n", al.map, al.map->start); al 49 tools/perf/ui/browsers/annotate.c struct annotation_line *al = list_entry(entry, struct annotation_line, node); al 50 tools/perf/ui/browsers/annotate.c return annotation_line__filter(al, notes); al 100 tools/perf/ui/browsers/annotate.c struct annotation_line *al = list_entry(entry, struct annotation_line, node); al 122 tools/perf/ui/browsers/annotate.c annotation_line__write(al, notes, &ops, ab->opts); al 125 tools/perf/ui/browsers/annotate.c ab->selection = al; al 130 tools/perf/ui/browsers/annotate.c struct disasm_line *pos = list_prev_entry(cursor, al.node); al 194 tools/perf/ui/browsers/annotate.c from = cursor->al.idx_asm; al 197 tools/perf/ui/browsers/annotate.c from = (u64)cursor->al.idx; al 245 tools/perf/ui/browsers/annotate.c struct annotation_line *al) al 256 tools/perf/ui/browsers/annotate.c if (disasm__cmp(al, l, browser->opts->percent_type) < 0) al 261 tools/perf/ui/browsers/annotate.c rb_link_node(&al->rb_node, parent, p); al 262 tools/perf/ui/browsers/annotate.c rb_insert_color(&al->rb_node, root); al 316 tools/perf/ui/browsers/annotate.c list_for_each_entry(pos, ¬es->src->source, al.node) { al 320 tools/perf/ui/browsers/annotate.c if (pos->al.offset == -1) { al 321 tools/perf/ui/browsers/annotate.c RB_CLEAR_NODE(&pos->al.rb_node); al 325 tools/perf/ui/browsers/annotate.c for (i = 0; i < pos->al.data_nr; i++) { al 328 tools/perf/ui/browsers/annotate.c percent = annotation_data__percent(&pos->al.data[i], al 335 tools/perf/ui/browsers/annotate.c if (max_percent < 0.01 && pos->al.ipc == 0) { al 336 tools/perf/ui/browsers/annotate.c RB_CLEAR_NODE(&pos->al.rb_node); al 339 tools/perf/ui/browsers/annotate.c disasm_rb_tree__insert(browser, &pos->al); al 349 tools/perf/ui/browsers/annotate.c struct annotation_line *al; al 353 tools/perf/ui/browsers/annotate.c al = list_entry(browser->b.top, struct annotation_line, node); al 356 tools/perf/ui/browsers/annotate.c if (al->idx_asm < offset) al 357 tools/perf/ui/browsers/annotate.c offset = al->idx; al 362 tools/perf/ui/browsers/annotate.c browser->b.top_idx = al->idx - offset; al 363 tools/perf/ui/browsers/annotate.c browser->b.index = al->idx; al 365 tools/perf/ui/browsers/annotate.c if (al->idx_asm < 0) { al 371 tools/perf/ui/browsers/annotate.c if (al->idx_asm < offset) al 372 tools/perf/ui/browsers/annotate.c offset = al->idx_asm; al 377 tools/perf/ui/browsers/annotate.c browser->b.top_idx = al->idx_asm - offset; al 378 tools/perf/ui/browsers/annotate.c browser->b.index = al->idx_asm; al 448 tools/perf/ui/browsers/annotate.c list_for_each_entry(pos, ¬es->src->source, al.node) { al 449 tools/perf/ui/browsers/annotate.c if (pos->al.offset == offset) al 451 tools/perf/ui/browsers/annotate.c if (!annotation_line__filter(&pos->al, notes)) al 481 tools/perf/ui/browsers/annotate.c annotate_browser__set_top(browser, &dl->al, idx); al 491 tools/perf/ui/browsers/annotate.c struct annotation_line *al = browser->selection; al 494 tools/perf/ui/browsers/annotate.c list_for_each_entry_continue(al, ¬es->src->source, node) { al 495 tools/perf/ui/browsers/annotate.c if (annotation_line__filter(al, notes)) al 500 tools/perf/ui/browsers/annotate.c if (al->line && strstr(al->line, s) != NULL) al 501 tools/perf/ui/browsers/annotate.c return al; al 509 tools/perf/ui/browsers/annotate.c struct annotation_line *al; al 512 tools/perf/ui/browsers/annotate.c al = annotate_browser__find_string(browser, browser->search_bf, &idx); al 513 tools/perf/ui/browsers/annotate.c if (al == NULL) { al 518 tools/perf/ui/browsers/annotate.c annotate_browser__set_top(browser, al, idx); al 528 tools/perf/ui/browsers/annotate.c struct annotation_line *al = browser->selection; al 531 tools/perf/ui/browsers/annotate.c list_for_each_entry_continue_reverse(al, ¬es->src->source, node) { al 532 tools/perf/ui/browsers/annotate.c if (annotation_line__filter(al, notes)) al 537 tools/perf/ui/browsers/annotate.c if (al->line && strstr(al->line, s) != NULL) al 538 tools/perf/ui/browsers/annotate.c return al; al 546 tools/perf/ui/browsers/annotate.c struct annotation_line *al; al 549 tools/perf/ui/browsers/annotate.c al = annotate_browser__find_string_reverse(browser, browser->search_bf, &idx); al 550 tools/perf/ui/browsers/annotate.c if (al == NULL) { al 555 tools/perf/ui/browsers/annotate.c annotate_browser__set_top(browser, al, idx); al 38 tools/perf/ui/gtk/annotate.c if (dl->al.offset == (s64) -1) al 42 tools/perf/ui/gtk/annotate.c if (!symbol_conf.event_group && !symhist->addr[dl->al.offset].nr_samples) al 45 tools/perf/ui/gtk/annotate.c percent = 100.0 * symhist->addr[dl->al.offset].nr_samples / symhist->nr_samples; al 64 tools/perf/ui/gtk/annotate.c if (dl->al.offset == (s64) -1) al 67 tools/perf/ui/gtk/annotate.c return scnprintf(buf, size, "%"PRIx64, start + dl->al.offset); al 73 tools/perf/ui/gtk/annotate.c char *line = g_markup_escape_text(dl->al.line, -1); al 81 tools/perf/ui/gtk/annotate.c if (dl->al.offset != (s64) -1) al 126 tools/perf/ui/gtk/annotate.c list_for_each_entry(pos, ¬es->src->source, al.node) { al 155 tools/perf/ui/gtk/annotate.c list_for_each_entry_safe(pos, n, ¬es->src->source, al.node) { al 156 tools/perf/ui/gtk/annotate.c list_del_init(&pos->al.node); al 1038 tools/perf/util/annotate.c struct annotation_line *al = notes->offsets[offset]; al 1040 tools/perf/util/annotate.c if (al && al->ipc == 0.0) { al 1041 tools/perf/util/annotate.c al->ipc = ipc; al 1072 tools/perf/util/annotate.c struct annotation_line *al; al 1076 tools/perf/util/annotate.c al = notes->offsets[offset]; al 1077 tools/perf/util/annotate.c if (al && ch->num_aggr) { al 1078 tools/perf/util/annotate.c al->cycles = ch->cycles_aggr / ch->num_aggr; al 1079 tools/perf/util/annotate.c al->cycles_max = ch->cycles_max; al 1080 tools/perf/util/annotate.c al->cycles_min = ch->cycles_min; al 1150 tools/perf/util/annotate.c static void annotation_line__delete(struct annotation_line *al) al 1152 tools/perf/util/annotate.c void *ptr = (void *) al - al->privsize; al 1154 tools/perf/util/annotate.c free_srcline(al->path); al 1155 tools/perf/util/annotate.c zfree(&al->line); al 1173 tools/perf/util/annotate.c struct annotation_line *al; al 1175 tools/perf/util/annotate.c size_t size = privsize + sizeof(*al); al 1181 tools/perf/util/annotate.c size += sizeof(al->data[0]) * nr; al 1183 tools/perf/util/annotate.c al = zalloc(size); al 1184 tools/perf/util/annotate.c if (al) { al 1185 tools/perf/util/annotate.c al = (void *) al + privsize; al 1186 tools/perf/util/annotate.c al->privsize = privsize; al 1187 tools/perf/util/annotate.c al->offset = args->offset; al 1188 tools/perf/util/annotate.c al->line = strdup(args->line); al 1189 tools/perf/util/annotate.c al->line_nr = args->line_nr; al 1190 tools/perf/util/annotate.c al->data_nr = nr; al 1193 tools/perf/util/annotate.c return al; al 1211 tools/perf/util/annotate.c struct annotation_line *al; al 1212 tools/perf/util/annotate.c size_t privsize = args->privsize + offsetof(struct disasm_line, al); al 1214 tools/perf/util/annotate.c al = annotation_line__new(args, privsize); al 1215 tools/perf/util/annotate.c if (al != NULL) { al 1216 tools/perf/util/annotate.c dl = disasm_line(al); al 1218 tools/perf/util/annotate.c if (dl->al.line == NULL) al 1222 tools/perf/util/annotate.c if (disasm_line__parse(dl->al.line, &dl->ins.name, &dl->ops.raw) < 0) al 1232 tools/perf/util/annotate.c zfree(&dl->al.line); al 1245 tools/perf/util/annotate.c annotation_line__delete(&dl->al); al 1256 tools/perf/util/annotate.c static void annotation_line__add(struct annotation_line *al, struct list_head *head) al 1258 tools/perf/util/annotate.c list_add_tail(&al->node, head); al 1355 tools/perf/util/annotate.c s64 offset = dl->al.offset; al 1361 tools/perf/util/annotate.c color_fprintf(stdout, annotate__asm_color(br), "%s", dl->al.line); al 1367 tools/perf/util/annotate.c annotation_line__print(struct annotation_line *al, struct symbol *sym, u64 start, al 1372 tools/perf/util/annotate.c struct disasm_line *dl = container_of(al, struct disasm_line, al); al 1376 tools/perf/util/annotate.c if (al->offset != -1) { al 1382 tools/perf/util/annotate.c for (i = 0; i < al->data_nr; i++) { al 1385 tools/perf/util/annotate.c percent = annotation_data__percent(&al->data[i], al 1392 tools/perf/util/annotate.c if (al->data_nr > nr_percent) al 1393 tools/perf/util/annotate.c nr_percent = al->data_nr; al 1403 tools/perf/util/annotate.c if (queue == al) al 1418 tools/perf/util/annotate.c if (al->path) { al 1419 tools/perf/util/annotate.c if (!prev_line || strcmp(prev_line, al->path) al 1421 tools/perf/util/annotate.c color_fprintf(stdout, color, " %s", al->path); al 1422 tools/perf/util/annotate.c prev_line = al->path; al 1428 tools/perf/util/annotate.c struct annotation_data *data = &al->data[i]; al 1459 tools/perf/util/annotate.c if (!*al->line) al 1462 tools/perf/util/annotate.c printf(" %*s: %*s %s\n", width, " ", addr_fmt_width, " ", al->line); al 1566 tools/perf/util/annotate.c annotation_line__add(&dl->al, ¬es->src->source); al 1583 tools/perf/util/annotate.c dl = list_entry(list->prev, struct disasm_line, al.node); al 1589 tools/perf/util/annotate.c if (!strstr(dl->al.line, " nop ") && al 1590 tools/perf/util/annotate.c !strstr(dl->al.line, " nopl ") && al 1591 tools/perf/util/annotate.c !strstr(dl->al.line, " nopw ")) al 1595 tools/perf/util/annotate.c list_del_init(&dl->al.node); al 1828 tools/perf/util/annotate.c annotation_line__add(&dl->al, al 1839 tools/perf/util/annotate.c annotation_line__add(&dl->al, ¬es->src->source); al 2039 tools/perf/util/annotate.c struct annotation_line *al, *next; al 2042 tools/perf/util/annotate.c list_for_each_entry(al, ¬es->src->source, node) { al 2046 tools/perf/util/annotate.c if (al->offset == -1) al 2049 tools/perf/util/annotate.c next = annotation_line__next(al, ¬es->src->source); al 2057 tools/perf/util/annotate.c BUG_ON(i >= al->data_nr); al 2060 tools/perf/util/annotate.c data = &al->data[i++]; al 2062 tools/perf/util/annotate.c calc_percent(sym_hist, hists, data, al->offset, end); al 2115 tools/perf/util/annotate.c static void insert_source_line(struct rb_root *root, struct annotation_line *al, al 2127 tools/perf/util/annotate.c ret = strcmp(iter->path, al->path); al 2129 tools/perf/util/annotate.c for (i = 0; i < al->data_nr; i++) { al 2130 tools/perf/util/annotate.c iter->data[i].percent_sum += annotation_data__percent(&al->data[i], al 2142 tools/perf/util/annotate.c for (i = 0; i < al->data_nr; i++) { al 2143 tools/perf/util/annotate.c al->data[i].percent_sum = annotation_data__percent(&al->data[i], al 2147 tools/perf/util/annotate.c rb_link_node(&al->rb_node, parent, p); al 2148 tools/perf/util/annotate.c rb_insert_color(&al->rb_node, root); al 2164 tools/perf/util/annotate.c static void __resort_source_line(struct rb_root *root, struct annotation_line *al) al 2174 tools/perf/util/annotate.c if (cmp_source_line(al, iter)) al 2180 tools/perf/util/annotate.c rb_link_node(&al->rb_node, parent, p); al 2181 tools/perf/util/annotate.c rb_insert_color(&al->rb_node, root); al 2186 tools/perf/util/annotate.c struct annotation_line *al; al 2193 tools/perf/util/annotate.c al = rb_entry(node, struct annotation_line, rb_node); al 2197 tools/perf/util/annotate.c __resort_source_line(dest_root, al); al 2204 tools/perf/util/annotate.c struct annotation_line *al; al 2222 tools/perf/util/annotate.c al = rb_entry(node, struct annotation_line, rb_node); al 2223 tools/perf/util/annotate.c for (i = 0; i < al->data_nr; i++) { al 2224 tools/perf/util/annotate.c percent = al->data[i].percent_sum; al 2232 tools/perf/util/annotate.c path = al->path; al 2418 tools/perf/util/annotate.c struct annotation_line *al; al 2420 tools/perf/util/annotate.c list_for_each_entry(al, ¬es->src->source, node) { al 2421 tools/perf/util/annotate.c if (annotation_line__filter(al, notes)) al 2423 tools/perf/util/annotate.c annotation_line__write(al, notes, &wops, opts); al 2486 tools/perf/util/annotate.c struct annotation_line *al, *n; al 2488 tools/perf/util/annotate.c list_for_each_entry_safe(al, n, &as->source, node) { al 2489 tools/perf/util/annotate.c list_del_init(&al->node); al 2490 tools/perf/util/annotate.c disasm_line__free(disasm_line(al)); al 2498 tools/perf/util/annotate.c if (dl->al.offset == -1) al 2499 tools/perf/util/annotate.c return fprintf(fp, "%s\n", dl->al.line); al 2501 tools/perf/util/annotate.c printed = fprintf(fp, "%#" PRIx64 " %s", dl->al.offset, dl->ins.name); al 2516 tools/perf/util/annotate.c list_for_each_entry(pos, head, al.node) al 2541 tools/perf/util/annotate.c struct annotation_line *al = notes->offsets[offset]; al 2544 tools/perf/util/annotate.c dl = disasm_line(al); al 2549 tools/perf/util/annotate.c al = notes->offsets[dl->ops.target.offset]; al 2555 tools/perf/util/annotate.c if (al == NULL) al 2558 tools/perf/util/annotate.c if (++al->jump_sources > notes->max_jump_sources) al 2559 tools/perf/util/annotate.c notes->max_jump_sources = al->jump_sources; al 2567 tools/perf/util/annotate.c struct annotation_line *al; al 2571 tools/perf/util/annotate.c list_for_each_entry(al, ¬es->src->source, node) { al 2572 tools/perf/util/annotate.c size_t line_len = strlen(al->line); al 2576 tools/perf/util/annotate.c al->idx = notes->nr_entries++; al 2577 tools/perf/util/annotate.c if (al->offset != -1) { al 2578 tools/perf/util/annotate.c al->idx_asm = notes->nr_asm_entries++; al 2586 tools/perf/util/annotate.c if (al->offset < size) al 2587 tools/perf/util/annotate.c notes->offsets[al->offset] = al; al 2589 tools/perf/util/annotate.c al->idx_asm = -1; al 2605 tools/perf/util/annotate.c struct annotation_line *al; al 2607 tools/perf/util/annotate.c list_for_each_entry(al, ¬es->src->source, node) { al 2608 tools/perf/util/annotate.c if (al->offset == -1) al 2611 tools/perf/util/annotate.c len = strlen(disasm_line(al)->ins.name); al 2645 tools/perf/util/annotate.c struct annotation_line *al; al 2648 tools/perf/util/annotate.c list_for_each_entry(al, ¬es->src->source, node) { al 2652 tools/perf/util/annotate.c for (i = 0; i < al->data_nr; i++) { al 2655 tools/perf/util/annotate.c percent = annotation_data__percent(&al->data[i], al 2665 tools/perf/util/annotate.c al->path = get_srcline(map->dso, notes->start + al->offset, NULL, al 2666 tools/perf/util/annotate.c false, true, notes->start + al->offset); al 2667 tools/perf/util/annotate.c insert_source_line(&tmp_root, al, opts); al 2741 tools/perf/util/annotate.c static double annotation_line__max_percent(struct annotation_line *al, al 2751 tools/perf/util/annotate.c percent = annotation_data__percent(&al->data[i], al 2772 tools/perf/util/annotate.c fwd = dl->ops.target.offset > dl->al.offset; al 2808 tools/perf/util/annotate.c static void __annotation_line__write(struct annotation_line *al, struct annotation *notes, al 2818 tools/perf/util/annotate.c double percent_max = annotation_line__max_percent(al, notes, percent_type); al 2825 tools/perf/util/annotate.c if (first_line && (al->offset == -1 || percent_max == 0.0)) { al 2827 tools/perf/util/annotate.c if (al->ipc == 0.0 && al->cycles == 0) al 2833 tools/perf/util/annotate.c if (al->offset != -1 && percent_max != 0.0) { al 2839 tools/perf/util/annotate.c percent = annotation_data__percent(&al->data[i], percent_type); al 2843 tools/perf/util/annotate.c obj__printf(obj, "%11" PRIu64 " ", al->data[i].he.period); al 2846 tools/perf/util/annotate.c al->data[i].he.nr_samples); al 2864 tools/perf/util/annotate.c if (al->ipc) al 2865 tools/perf/util/annotate.c obj__printf(obj, "%*.2f ", ANNOTATION__IPC_WIDTH - 1, al->ipc); al 2872 tools/perf/util/annotate.c if (al->cycles) al 2874 tools/perf/util/annotate.c ANNOTATION__CYCLES_WIDTH - 1, al->cycles); al 2883 tools/perf/util/annotate.c if (al->cycles) { al 2888 tools/perf/util/annotate.c al->cycles, al->cycles_min, al 2889 tools/perf/util/annotate.c al->cycles_max); al 2904 tools/perf/util/annotate.c if (show_title && !*al->line) { al 2912 tools/perf/util/annotate.c if (!*al->line) al 2914 tools/perf/util/annotate.c else if (al->offset == -1) { al 2915 tools/perf/util/annotate.c if (al->line_nr && notes->options->show_linenr) al 2916 tools/perf/util/annotate.c printed = scnprintf(bf, sizeof(bf), "%-*d ", notes->widths.addr + 1, al->line_nr); al 2920 tools/perf/util/annotate.c obj__printf(obj, "%-*s", width - printed - pcnt_width - cycles_width + 1, al->line); al 2922 tools/perf/util/annotate.c u64 addr = al->offset; al 2931 tools/perf/util/annotate.c if (al->jump_sources && al 2937 tools/perf/util/annotate.c al->jump_sources); al 2938 tools/perf/util/annotate.c prev = obj__set_jumps_percent_color(obj, al->jump_sources, al 2946 tools/perf/util/annotate.c } else if (ins__is_call(&disasm_line(al)->ins) && al 2963 tools/perf/util/annotate.c disasm_line__write(disasm_line(al), notes, obj, bf, sizeof(bf), obj__printf, obj__write_graph); al 2970 tools/perf/util/annotate.c void annotation_line__write(struct annotation_line *al, struct annotation *notes, al 2974 tools/perf/util/annotate.c __annotation_line__write(al, notes, wops->first_line, wops->current_entry, al 154 tools/perf/util/annotate.h struct annotation_line al; al 178 tools/perf/util/annotate.h static inline struct disasm_line *disasm_line(struct annotation_line *al) al 180 tools/perf/util/annotate.h return al ? container_of(al, struct disasm_line, al) : NULL; al 213 tools/perf/util/annotate.h void annotation_line__write(struct annotation_line *al, struct annotation *notes, al 311 tools/perf/util/annotate.h static inline bool annotation_line__filter(struct annotation_line *al, struct annotation *notes) al 313 tools/perf/util/annotate.h return notes->options->hide_src_code && al->offset == -1; al 45 tools/perf/util/build-id.c struct addr_location al; al 55 tools/perf/util/build-id.c if (thread__find_map(thread, sample->cpumode, sample->ip, &al)) al 56 tools/perf/util/build-id.c al.map->dso->hit = 1; al 1085 tools/perf/util/callchain.c struct evsel *evsel, struct addr_location *al, al 1093 tools/perf/util/callchain.c return thread__resolve_callchain(al->thread, cursor, evsel, sample, al 1094 tools/perf/util/callchain.c parent, al, max_stack); al 1107 tools/perf/util/callchain.c int fill_callchain_info(struct addr_location *al, struct callchain_cursor_node *node, al 1110 tools/perf/util/callchain.c al->map = node->map; al 1111 tools/perf/util/callchain.c al->sym = node->sym; al 1112 tools/perf/util/callchain.c al->srcline = node->srcline; al 1113 tools/perf/util/callchain.c al->addr = node->ip; al 1115 tools/perf/util/callchain.c if (al->sym == NULL) { al 1118 tools/perf/util/callchain.c if (al->map == NULL) al 1122 tools/perf/util/callchain.c if (al->map->groups == &al->machine->kmaps) { al 1123 tools/perf/util/callchain.c if (machine__is_host(al->machine)) { al 1124 tools/perf/util/callchain.c al->cpumode = PERF_RECORD_MISC_KERNEL; al 1125 tools/perf/util/callchain.c al->level = 'k'; al 1127 tools/perf/util/callchain.c al->cpumode = PERF_RECORD_MISC_GUEST_KERNEL; al 1128 tools/perf/util/callchain.c al->level = 'g'; al 1131 tools/perf/util/callchain.c if (machine__is_host(al->machine)) { al 1132 tools/perf/util/callchain.c al->cpumode = PERF_RECORD_MISC_USER; al 1133 tools/perf/util/callchain.c al->level = '.'; al 1135 tools/perf/util/callchain.c al->cpumode = PERF_RECORD_MISC_GUEST_USER; al 1136 tools/perf/util/callchain.c al->level = 'u'; al 1138 tools/perf/util/callchain.c al->cpumode = PERF_RECORD_MISC_HYPERVISOR; al 1139 tools/perf/util/callchain.c al->level = 'H'; al 243 tools/perf/util/callchain.h struct evsel *evsel, struct addr_location *al, al 246 tools/perf/util/callchain.h int fill_callchain_info(struct addr_location *al, struct callchain_cursor_node *node, al 646 tools/perf/util/cs-etm.c struct addr_location al; al 665 tools/perf/util/cs-etm.c if (!thread__find_map(thread, cpumode, address, &al) || !al.map->dso) al 668 tools/perf/util/cs-etm.c if (al.map->dso->data.status == DSO_DATA_STATUS_ERROR && al 669 tools/perf/util/cs-etm.c dso__data_status_seen(al.map->dso, DSO_DATA_STATUS_SEEN_ITRACE)) al 672 tools/perf/util/cs-etm.c offset = al.map->map_ip(al.map, address); al 674 tools/perf/util/cs-etm.c map__load(al.map); al 676 tools/perf/util/cs-etm.c len = dso__data_read_offset(al.map->dso, machine, offset, buffer, size); al 176 tools/perf/util/db-export.c static int db_ids_from_al(struct db_export *dbe, struct addr_location *al, al 181 tools/perf/util/db-export.c if (al->map) { al 182 tools/perf/util/db-export.c struct dso *dso = al->map->dso; al 184 tools/perf/util/db-export.c err = db_export__dso(dbe, dso, al->machine); al 189 tools/perf/util/db-export.c if (!al->sym) { al 190 tools/perf/util/db-export.c al->sym = symbol__new(al->addr, 0, 0, 0, "unknown"); al 191 tools/perf/util/db-export.c if (al->sym) al 192 tools/perf/util/db-export.c dso__insert_symbol(dso, al->sym); al 195 tools/perf/util/db-export.c if (al->sym) { al 196 tools/perf/util/db-export.c u64 *db_id = symbol__priv(al->sym); al 198 tools/perf/util/db-export.c err = db_export__symbol(dbe, al->sym, dso); al 202 tools/perf/util/db-export.c *offset = al->addr - al->sym->start; al 239 tools/perf/util/db-export.c struct addr_location al; al 242 tools/perf/util/db-export.c memset(&al, 0, sizeof(al)); al 252 tools/perf/util/db-export.c al.sym = node->sym; al 253 tools/perf/util/db-export.c al.map = node->map; al 254 tools/perf/util/db-export.c al.machine = machine; al 255 tools/perf/util/db-export.c al.addr = node->ip; al 257 tools/perf/util/db-export.c if (al.map && !al.sym) al 258 tools/perf/util/db-export.c al.sym = dso__find_symbol(al.map->dso, al.addr); al 260 tools/perf/util/db-export.c db_ids_from_al(dbe, &al, &dso_db_id, &sym_db_id, &offset); al 264 tools/perf/util/db-export.c al.sym, node->ip, al 346 tools/perf/util/db-export.c struct addr_location *al) al 348 tools/perf/util/db-export.c struct thread *thread = al->thread; al 353 tools/perf/util/db-export.c .al = al, al 363 tools/perf/util/db-export.c err = db_export__machine(dbe, al->machine); al 367 tools/perf/util/db-export.c main_thread = thread__main_thread(al->machine, thread); al 369 tools/perf/util/db-export.c err = db_export__threads(dbe, thread, main_thread, al->machine, &comm); al 378 tools/perf/util/db-export.c err = db_ids_from_al(dbe, al, &es.dso_db_id, &es.sym_db_id, &es.offset); al 383 tools/perf/util/db-export.c struct call_path *cp = call_path_from_sample(dbe, al->machine, al 402 tools/perf/util/db-export.c err = thread_stack__process(thread, comm, sample, al, al 29 tools/perf/util/db-export.h struct addr_location *al; al 100 tools/perf/util/db-export.h struct addr_location *al); al 458 tools/perf/util/event.c struct addr_location *al) al 464 tools/perf/util/event.c al->machine = machine; al 465 tools/perf/util/event.c al->thread = thread; al 466 tools/perf/util/event.c al->addr = addr; al 467 tools/perf/util/event.c al->cpumode = cpumode; al 468 tools/perf/util/event.c al->filtered = 0; al 471 tools/perf/util/event.c al->map = NULL; al 476 tools/perf/util/event.c al->level = 'k'; al 480 tools/perf/util/event.c al->level = '.'; al 482 tools/perf/util/event.c al->level = 'g'; al 486 tools/perf/util/event.c al->level = 'u'; al 488 tools/perf/util/event.c al->level = 'H'; al 489 tools/perf/util/event.c al->map = NULL; al 494 tools/perf/util/event.c al->filtered |= (1 << HIST_FILTER__GUEST); al 498 tools/perf/util/event.c al->filtered |= (1 << HIST_FILTER__HOST); al 503 tools/perf/util/event.c al->map = map_groups__find(mg, al->addr); al 504 tools/perf/util/event.c if (al->map != NULL) { al 510 tools/perf/util/event.c map__load(al->map); al 511 tools/perf/util/event.c al->addr = al->map->map_ip(al->map, al->addr); al 514 tools/perf/util/event.c return al->map; al 523 tools/perf/util/event.c struct addr_location *al) al 525 tools/perf/util/event.c struct map *map = thread__find_map(thread, cpumode, addr, al); al 532 tools/perf/util/event.c return thread__find_map(thread, addr_cpumode, addr, al); al 536 tools/perf/util/event.c u64 addr, struct addr_location *al) al 538 tools/perf/util/event.c al->sym = NULL; al 539 tools/perf/util/event.c if (thread__find_map(thread, cpumode, addr, al)) al 540 tools/perf/util/event.c al->sym = map__find_symbol(al->map, al->addr); al 541 tools/perf/util/event.c return al->sym; al 545 tools/perf/util/event.c u64 addr, struct addr_location *al) al 547 tools/perf/util/event.c al->sym = NULL; al 548 tools/perf/util/event.c if (thread__find_map_fb(thread, cpumode, addr, al)) al 549 tools/perf/util/event.c al->sym = map__find_symbol(al->map, al->addr); al 550 tools/perf/util/event.c return al->sym; al 557 tools/perf/util/event.c int machine__resolve(struct machine *machine, struct addr_location *al, al 567 tools/perf/util/event.c thread__find_map(thread, sample->cpumode, sample->ip, al); al 569 tools/perf/util/event.c al->map ? al->map->dso->long_name : al 570 tools/perf/util/event.c al->level == 'H' ? "[hypervisor]" : "<not found>"); al 573 tools/perf/util/event.c al->filtered |= (1 << HIST_FILTER__THREAD); al 575 tools/perf/util/event.c al->sym = NULL; al 576 tools/perf/util/event.c al->cpu = sample->cpu; al 577 tools/perf/util/event.c al->socket = -1; al 578 tools/perf/util/event.c al->srcline = NULL; al 580 tools/perf/util/event.c if (al->cpu >= 0) { al 584 tools/perf/util/event.c al->socket = env->cpu[al->cpu].socket_id; al 587 tools/perf/util/event.c if (al->map) { al 588 tools/perf/util/event.c struct dso *dso = al->map->dso; al 596 tools/perf/util/event.c al->filtered |= (1 << HIST_FILTER__DSO); al 599 tools/perf/util/event.c al->sym = map__find_symbol(al->map, al->addr); al 603 tools/perf/util/event.c (!al->sym || !strlist__has_entry(symbol_conf.sym_list, al 604 tools/perf/util/event.c al->sym->name))) { al 605 tools/perf/util/event.c al->filtered |= (1 << HIST_FILTER__SYMBOL); al 617 tools/perf/util/event.c void addr_location__put(struct addr_location *al) al 619 tools/perf/util/event.c thread__zput(al->thread); al 643 tools/perf/util/event.c void thread__resolve(struct thread *thread, struct addr_location *al, al 646 tools/perf/util/event.c thread__find_map_fb(thread, sample->cpumode, sample->addr, al); al 648 tools/perf/util/event.c al->cpu = sample->cpu; al 649 tools/perf/util/event.c al->sym = NULL; al 651 tools/perf/util/event.c if (al->map) al 652 tools/perf/util/event.c al->sym = map__find_symbol(al->map, al->addr); al 349 tools/perf/util/event.h int machine__resolve(struct machine *machine, struct addr_location *al, al 352 tools/perf/util/event.h void addr_location__put(struct addr_location *al); al 358 tools/perf/util/event.h void thread__resolve(struct thread *thread, struct addr_location *al, al 193 tools/perf/util/evsel_fprintf.c int sample__fprintf_sym(struct perf_sample *sample, struct addr_location *al, al 217 tools/perf/util/evsel_fprintf.c printed += __symbol__fprintf_symname_offs(al->sym, al, al 221 tools/perf/util/evsel_fprintf.c printed += __symbol__fprintf_symname(al->sym, al, al 228 tools/perf/util/evsel_fprintf.c printed += map__fprintf_dsoname(al->map, fp); al 233 tools/perf/util/evsel_fprintf.c printed += map__fprintf_srcline(al->map, al->addr, "\n ", fp); al 41 tools/perf/util/evsel_fprintf.h int sample__fprintf_sym(struct perf_sample *sample, struct addr_location *al, al 566 tools/perf/util/hist.c struct addr_location *al, al 640 tools/perf/util/hist.c he_stat__add_cpumode_period(&he->stat, al->cpumode, period); al 642 tools/perf/util/hist.c he_stat__add_cpumode_period(he->stat_acc, al->cpumode, period); al 674 tools/perf/util/hist.c struct addr_location *al, al 683 tools/perf/util/hist.c struct namespaces *ns = thread__namespaces(al->thread); al 685 tools/perf/util/hist.c .thread = al->thread, al 686 tools/perf/util/hist.c .comm = thread__comm(al->thread), al 692 tools/perf/util/hist.c .map = al->map, al 693 tools/perf/util/hist.c .sym = al->sym, al 695 tools/perf/util/hist.c .srcline = (char *) al->srcline, al 696 tools/perf/util/hist.c .socket = al->socket, al 697 tools/perf/util/hist.c .cpu = al->cpu, al 698 tools/perf/util/hist.c .cpumode = al->cpumode, al 699 tools/perf/util/hist.c .ip = al->addr, al 700 tools/perf/util/hist.c .level = al->level, al 707 tools/perf/util/hist.c .filtered = symbol__parent_filter(sym_parent) | al->filtered, al 717 tools/perf/util/hist.c }, *he = hists__findnew_entry(hists, &entry, al, sample_self); al 727 tools/perf/util/hist.c struct addr_location *al, al 734 tools/perf/util/hist.c return __hists__add_entry(hists, al, sym_parent, bi, mi, NULL, al 740 tools/perf/util/hist.c struct addr_location *al, al 747 tools/perf/util/hist.c return __hists__add_entry(hists, al, sym_parent, bi, mi, NULL, al 752 tools/perf/util/hist.c struct addr_location *al, al 758 tools/perf/util/hist.c }, *he = hists__findnew_entry(hists, &entry, al, false); al 765 tools/perf/util/hist.c struct addr_location *al __maybe_unused) al 772 tools/perf/util/hist.c struct addr_location *al __maybe_unused) al 778 tools/perf/util/hist.c iter_prepare_mem_entry(struct hist_entry_iter *iter, struct addr_location *al) al 783 tools/perf/util/hist.c mi = sample__resolve_mem(sample, al); al 792 tools/perf/util/hist.c iter_add_single_mem_entry(struct hist_entry_iter *iter, struct addr_location *al) al 816 tools/perf/util/hist.c he = hists__add_entry(hists, al, iter->parent, NULL, mi, al 827 tools/perf/util/hist.c struct addr_location *al __maybe_unused) al 854 tools/perf/util/hist.c iter_prepare_branch_entry(struct hist_entry_iter *iter, struct addr_location *al) al 859 tools/perf/util/hist.c bi = sample__resolve_bstack(sample, al); al 872 tools/perf/util/hist.c struct addr_location *al __maybe_unused) al 878 tools/perf/util/hist.c iter_next_branch_entry(struct hist_entry_iter *iter, struct addr_location *al) al 889 tools/perf/util/hist.c al->map = bi[i].to.map; al 890 tools/perf/util/hist.c al->sym = bi[i].to.sym; al 891 tools/perf/util/hist.c al->addr = bi[i].to.addr; al 896 tools/perf/util/hist.c iter_add_next_branch_entry(struct hist_entry_iter *iter, struct addr_location *al) al 918 tools/perf/util/hist.c he = hists__add_entry(hists, al, iter->parent, &bi[i], NULL, al 933 tools/perf/util/hist.c struct addr_location *al __maybe_unused) al 943 tools/perf/util/hist.c struct addr_location *al __maybe_unused) al 949 tools/perf/util/hist.c iter_add_single_normal_entry(struct hist_entry_iter *iter, struct addr_location *al) al 955 tools/perf/util/hist.c he = hists__add_entry(evsel__hists(evsel), al, iter->parent, NULL, NULL, al 966 tools/perf/util/hist.c struct addr_location *al __maybe_unused) al 984 tools/perf/util/hist.c struct addr_location *al __maybe_unused) al 1007 tools/perf/util/hist.c struct addr_location *al) al 1016 tools/perf/util/hist.c he = hists__add_entry(hists, al, iter->parent, NULL, NULL, al 1039 tools/perf/util/hist.c struct addr_location *al) al 1047 tools/perf/util/hist.c return fill_callchain_info(al, node, iter->hide_unresolved); al 1052 tools/perf/util/hist.c struct addr_location *al) al 1060 tools/perf/util/hist.c .cpu = al->cpu, al 1061 tools/perf/util/hist.c .thread = al->thread, al 1062 tools/perf/util/hist.c .comm = thread__comm(al->thread), al 1063 tools/perf/util/hist.c .ip = al->addr, al 1065 tools/perf/util/hist.c .map = al->map, al 1066 tools/perf/util/hist.c .sym = al->sym, al 1068 tools/perf/util/hist.c .srcline = (char *) al->srcline, al 1092 tools/perf/util/hist.c he = hists__add_entry(evsel__hists(evsel), al, iter->parent, NULL, NULL, al 1107 tools/perf/util/hist.c struct addr_location *al __maybe_unused) al 1147 tools/perf/util/hist.c int hist_entry_iter__add(struct hist_entry_iter *iter, struct addr_location *al, al 1153 tools/perf/util/hist.c if (al) al 1154 tools/perf/util/hist.c alm = map__get(al->map); al 1157 tools/perf/util/hist.c iter->evsel, al, max_stack_depth); al 1163 tools/perf/util/hist.c err = iter->ops->prepare_entry(iter, al); al 1167 tools/perf/util/hist.c err = iter->ops->add_single_entry(iter, al); al 1172 tools/perf/util/hist.c err = iter->add_entry_cb(iter, al, true, arg); al 1177 tools/perf/util/hist.c while (iter->ops->next_entry(iter, al)) { al 1178 tools/perf/util/hist.c err = iter->ops->add_next_entry(iter, al); al 1183 tools/perf/util/hist.c err = iter->add_entry_cb(iter, al, false, arg); al 1190 tools/perf/util/hist.c err2 = iter->ops->finish_entry(iter, al); al 2571 tools/perf/util/hist.c void hist__account_cycles(struct branch_stack *bs, struct addr_location *al, al 2580 tools/perf/util/hist.c bi = sample__resolve_bstack(sample, al); al 129 tools/perf/util/hist.h struct addr_location *al, bool single, void *arg); al 138 tools/perf/util/hist.h struct addr_location *al, al 147 tools/perf/util/hist.h struct addr_location *al, al 155 tools/perf/util/hist.h struct addr_location *al, al 158 tools/perf/util/hist.h int hist_entry_iter__add(struct hist_entry_iter *iter, struct addr_location *al, al 529 tools/perf/util/hist.h void hist__account_cycles(struct branch_stack *bs, struct addr_location *al, al 522 tools/perf/util/intel-pt.c struct addr_location al; al 546 tools/perf/util/intel-pt.c if (!thread__find_map(thread, cpumode, *ip, &al) || !al.map->dso) al 549 tools/perf/util/intel-pt.c if (al.map->dso->data.status == DSO_DATA_STATUS_ERROR && al 550 tools/perf/util/intel-pt.c dso__data_status_seen(al.map->dso, al 554 tools/perf/util/intel-pt.c offset = al.map->map_ip(al.map, *ip); al 559 tools/perf/util/intel-pt.c e = intel_pt_cache_lookup(al.map->dso, machine, offset); al 579 tools/perf/util/intel-pt.c map__load(al.map); al 581 tools/perf/util/intel-pt.c x86_64 = al.map->dso->is_64_bit; al 584 tools/perf/util/intel-pt.c len = dso__data_read_offset(al.map->dso, machine, al 608 tools/perf/util/intel-pt.c if (*ip >= al.map->end) al 628 tools/perf/util/intel-pt.c e = intel_pt_cache_lookup(al.map->dso, machine, start_offset); al 634 tools/perf/util/intel-pt.c intel_pt_cache_add(al.map->dso, machine, start_offset, insn_cnt, al 686 tools/perf/util/intel-pt.c struct addr_location al; al 699 tools/perf/util/intel-pt.c if (!thread__find_map(thread, cpumode, ip, &al) || !al.map->dso) al 702 tools/perf/util/intel-pt.c offset = al.map->map_ip(al.map, ip); al 705 tools/perf/util/intel-pt.c al.map->dso->long_name); al 1928 tools/perf/util/machine.c struct addr_location al; al 1930 tools/perf/util/machine.c memset(&al, 0, sizeof(al)); al 1938 tools/perf/util/machine.c thread__find_cpumode_addr_location(thread, ip, &al); al 1941 tools/perf/util/machine.c ams->al_addr = al.addr; al 1942 tools/perf/util/machine.c ams->sym = al.sym; al 1943 tools/perf/util/machine.c ams->map = al.map; al 1951 tools/perf/util/machine.c struct addr_location al; al 1953 tools/perf/util/machine.c memset(&al, 0, sizeof(al)); al 1955 tools/perf/util/machine.c thread__find_symbol(thread, m, addr, &al); al 1958 tools/perf/util/machine.c ams->al_addr = al.addr; al 1959 tools/perf/util/machine.c ams->sym = al.sym; al 1960 tools/perf/util/machine.c ams->map = al.map; al 1965 tools/perf/util/machine.c struct addr_location *al) al 1972 tools/perf/util/machine.c ip__resolve_ams(al->thread, &mi->iaddr, sample->ip); al 1973 tools/perf/util/machine.c ip__resolve_data(al->thread, al->cpumode, &mi->daddr, al 2016 tools/perf/util/machine.c struct addr_location al; al 2021 tools/perf/util/machine.c al.filtered = 0; al 2022 tools/perf/util/machine.c al.sym = NULL; al 2024 tools/perf/util/machine.c thread__find_cpumode_addr_location(thread, ip, &al); al 2049 tools/perf/util/machine.c thread__find_symbol(thread, *cpumode, ip, &al); al 2052 tools/perf/util/machine.c if (al.sym != NULL) { al 2054 tools/perf/util/machine.c symbol__match_regex(al.sym, &parent_regex)) al 2055 tools/perf/util/machine.c *parent = al.sym; al 2057 tools/perf/util/machine.c symbol__match_regex(al.sym, &ignore_callees_regex)) { al 2060 tools/perf/util/machine.c *root_al = al; al 2065 tools/perf/util/machine.c if (symbol_conf.hide_unresolved && al.sym == NULL) al 2073 tools/perf/util/machine.c srcline = callchain_srcline(al.map, al.sym, al.addr); al 2074 tools/perf/util/machine.c return callchain_cursor_append(cursor, ip, al.map, al.sym, al 2080 tools/perf/util/machine.c struct addr_location *al) al 2090 tools/perf/util/machine.c ip__resolve_ams(al->thread, &bi[i].to, bs->entries[i].to); al 2091 tools/perf/util/machine.c ip__resolve_ams(al->thread, &bi[i].from, bs->entries[i].from); al 171 tools/perf/util/machine.h struct addr_location *al); al 173 tools/perf/util/machine.h struct addr_location *al); al 262 tools/perf/util/scripting-engines/trace-event-perl.c struct addr_location *al) al 273 tools/perf/util/scripting-engines/trace-event-perl.c if (thread__resolve_callchain(al->thread, &callchain_cursor, evsel, al 340 tools/perf/util/scripting-engines/trace-event-perl.c struct addr_location *al) al 342 tools/perf/util/scripting-engines/trace-event-perl.c struct thread *thread = al->thread; al 388 tools/perf/util/scripting-engines/trace-event-perl.c XPUSHs(sv_2mortal(perl_process_callchain(sample, evsel, al))); al 423 tools/perf/util/scripting-engines/trace-event-perl.c XPUSHs(sv_2mortal(perl_process_callchain(sample, evsel, al))); al 459 tools/perf/util/scripting-engines/trace-event-perl.c struct addr_location *al) al 461 tools/perf/util/scripting-engines/trace-event-perl.c perl_process_tracepoint(sample, evsel, al); al 396 tools/perf/util/scripting-engines/trace-event-python.c struct addr_location *al) al 407 tools/perf/util/scripting-engines/trace-event-python.c if (thread__resolve_callchain(al->thread, &callchain_cursor, evsel, al 479 tools/perf/util/scripting-engines/trace-event-python.c struct addr_location al; al 502 tools/perf/util/scripting-engines/trace-event-python.c br->entries[i].from, &al); al 503 tools/perf/util/scripting-engines/trace-event-python.c dsoname = get_dsoname(al.map); al 508 tools/perf/util/scripting-engines/trace-event-python.c br->entries[i].to, &al); al 509 tools/perf/util/scripting-engines/trace-event-python.c dsoname = get_dsoname(al.map); al 521 tools/perf/util/scripting-engines/trace-event-python.c static unsigned long get_offset(struct symbol *sym, struct addr_location *al) al 525 tools/perf/util/scripting-engines/trace-event-python.c if (al->addr < sym->end) al 526 tools/perf/util/scripting-engines/trace-event-python.c offset = al->addr - sym->start; al 528 tools/perf/util/scripting-engines/trace-event-python.c offset = al->addr - al->map->start - sym->start; al 533 tools/perf/util/scripting-engines/trace-event-python.c static int get_symoff(struct symbol *sym, struct addr_location *al, al 544 tools/perf/util/scripting-engines/trace-event-python.c offset = get_offset(sym, al); al 567 tools/perf/util/scripting-engines/trace-event-python.c struct addr_location al; al 584 tools/perf/util/scripting-engines/trace-event-python.c br->entries[i].from, &al); al 585 tools/perf/util/scripting-engines/trace-event-python.c get_symoff(al.sym, &al, true, bf, sizeof(bf)); al 590 tools/perf/util/scripting-engines/trace-event-python.c br->entries[i].to, &al); al 591 tools/perf/util/scripting-engines/trace-event-python.c get_symoff(al.sym, &al, true, bf, sizeof(bf)); al 726 tools/perf/util/scripting-engines/trace-event-python.c struct addr_location *al, al 769 tools/perf/util/scripting-engines/trace-event-python.c _PyUnicode_FromString(thread__comm_str(al->thread))); al 770 tools/perf/util/scripting-engines/trace-event-python.c if (al->map) { al 772 tools/perf/util/scripting-engines/trace-event-python.c _PyUnicode_FromString(al->map->dso->name)); al 774 tools/perf/util/scripting-engines/trace-event-python.c if (al->sym) { al 776 tools/perf/util/scripting-engines/trace-event-python.c _PyUnicode_FromString(al->sym->name)); al 781 tools/perf/util/scripting-engines/trace-event-python.c brstack = python_process_brstack(sample, al->thread); al 784 tools/perf/util/scripting-engines/trace-event-python.c brstacksym = python_process_brstacksym(sample, al->thread); al 794 tools/perf/util/scripting-engines/trace-event-python.c struct addr_location *al) al 807 tools/perf/util/scripting-engines/trace-event-python.c const char *comm = thread__comm_str(al->thread); al 850 tools/perf/util/scripting-engines/trace-event-python.c callchain = python_process_callchain(sample, evsel, al); al 904 tools/perf/util/scripting-engines/trace-event-python.c all_entries_dict = get_perf_sample_dict(sample, evsel, al, al 1130 tools/perf/util/scripting-engines/trace-event-python.c tuple_set_u64(t, 2, es->al->machine->db_id); al 1131 tools/perf/util/scripting-engines/trace-event-python.c tuple_set_u64(t, 3, es->al->thread->db_id); al 1279 tools/perf/util/scripting-engines/trace-event-python.c struct addr_location *al) al 1300 tools/perf/util/scripting-engines/trace-event-python.c callchain = python_process_callchain(sample, evsel, al); al 1301 tools/perf/util/scripting-engines/trace-event-python.c dict = get_perf_sample_dict(sample, evsel, al, callchain); al 1315 tools/perf/util/scripting-engines/trace-event-python.c struct addr_location *al) al 1321 tools/perf/util/scripting-engines/trace-event-python.c python_process_tracepoint(sample, evsel, al); al 1326 tools/perf/util/scripting-engines/trace-event-python.c db_export__sample(&tables->dbe, event, sample, evsel, al); al 1328 tools/perf/util/scripting-engines/trace-event-python.c python_process_general_event(sample, evsel, al); al 171 tools/perf/util/symbol.h const struct addr_location *al, al 175 tools/perf/util/symbol.h const struct addr_location *al, FILE *fp); al 177 tools/perf/util/symbol.h const struct addr_location *al, al 20 tools/perf/util/symbol_fprintf.c const struct addr_location *al, al 29 tools/perf/util/symbol_fprintf.c if (al && print_offsets) { al 30 tools/perf/util/symbol_fprintf.c if (al->addr < sym->end) al 31 tools/perf/util/symbol_fprintf.c offset = al->addr - sym->start; al 33 tools/perf/util/symbol_fprintf.c offset = al->addr - al->map->start - sym->start; al 37 tools/perf/util/symbol_fprintf.c } else if (al && unknown_as_addr) al 38 tools/perf/util/symbol_fprintf.c return fprintf(fp, "[%#" PRIx64 "]", al->addr); al 44 tools/perf/util/symbol_fprintf.c const struct addr_location *al, al 47 tools/perf/util/symbol_fprintf.c return __symbol__fprintf_symname_offs(sym, al, false, true, fp); al 51 tools/perf/util/symbol_fprintf.c const struct addr_location *al, al 54 tools/perf/util/symbol_fprintf.c return __symbol__fprintf_symname_offs(sym, al, unknown_as_addr, false, fp); al 408 tools/perf/util/thread.c struct addr_location *al) al 419 tools/perf/util/thread.c thread__find_symbol(thread, cpumodes[i], addr, al); al 420 tools/perf/util/thread.c if (al->map) al 440 tools/perf/util/thread.c struct addr_location al; al 446 tools/perf/util/thread.c if (!thread__find_map(thread, cpumode, ip, &al) || !al.map->dso || al 447 tools/perf/util/thread.c al.map->dso->data.status == DSO_DATA_STATUS_ERROR || al 448 tools/perf/util/thread.c map__load(al.map) < 0) al 451 tools/perf/util/thread.c offset = al.map->map_ip(al.map, ip); al 453 tools/perf/util/thread.c *is64bit = al.map->dso->is_64_bit; al 455 tools/perf/util/thread.c return dso__data_read_offset(al.map->dso, machine, offset, buf, len); al 100 tools/perf/util/thread.h struct addr_location *al); al 102 tools/perf/util/thread.h struct addr_location *al); al 105 tools/perf/util/thread.h u64 addr, struct addr_location *al); al 107 tools/perf/util/thread.h u64 addr, struct addr_location *al); al 110 tools/perf/util/thread.h struct addr_location *al); al 32 tools/perf/util/trace-event-scripting.c struct addr_location *al __maybe_unused) al 80 tools/perf/util/trace-event.h struct addr_location *al); al 29 tools/perf/util/unwind-libdw.c static int __report_module(struct addr_location *al, u64 ip, al 38 tools/perf/util/unwind-libdw.c thread__find_symbol(ui->thread, PERF_RECORD_MISC_USER, ip, al); al 40 tools/perf/util/unwind-libdw.c if (al->map) al 41 tools/perf/util/unwind-libdw.c dso = al->map->dso; al 51 tools/perf/util/unwind-libdw.c if (s != al->map->start - al->map->pgoff) al 57 tools/perf/util/unwind-libdw.c (dso->symsrc_filename ? dso->symsrc_filename : dso->long_name), -1, al->map->start - al->map->pgoff, al 65 tools/perf/util/unwind-libdw.c struct addr_location al; al 67 tools/perf/util/unwind-libdw.c return __report_module(&al, ip, ui); al 78 tools/perf/util/unwind-libdw.c struct addr_location al; al 80 tools/perf/util/unwind-libdw.c if (__report_module(&al, ip, ui)) al 84 tools/perf/util/unwind-libdw.c e->map = al.map; al 85 tools/perf/util/unwind-libdw.c e->sym = al.sym; al 88 tools/perf/util/unwind-libdw.c al.sym ? al.sym->name : "''", al 90 tools/perf/util/unwind-libdw.c al.map ? al.map->map_ip(al.map, ip) : (u64) 0); al 107 tools/perf/util/unwind-libdw.c struct addr_location al; al 110 tools/perf/util/unwind-libdw.c if (!thread__find_map(ui->thread, PERF_RECORD_MISC_USER, addr, &al)) { al 115 tools/perf/util/unwind-libdw.c if (!al.map->dso) al 118 tools/perf/util/unwind-libdw.c size = dso__data_read_addr(al.map->dso, al.map, ui->machine, al 369 tools/perf/util/unwind-libunwind-local.c struct addr_location al; al 370 tools/perf/util/unwind-libunwind-local.c return thread__find_map(ui->thread, PERF_RECORD_MISC_USER, ip, &al); al 576 tools/perf/util/unwind-libunwind-local.c struct addr_location al; al 578 tools/perf/util/unwind-libunwind-local.c e.sym = thread__find_symbol(thread, PERF_RECORD_MISC_USER, ip, &al); al 580 tools/perf/util/unwind-libunwind-local.c e.map = al.map; al 583 tools/perf/util/unwind-libunwind-local.c al.sym ? al.sym->name : "''", al 585 tools/perf/util/unwind-libunwind-local.c al.map ? al.map->map_ip(al.map, ip) : (u64) 0);