arch/alpha/math-emu/sfp-util.h
11
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
arch/alpha/math-emu/sfp-util.h
12
((sl) = (al) - (bl), (sh) = (ah) - (bh) - ((al) < (bl)))
arch/alpha/math-emu/sfp-util.h
8
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
arch/alpha/math-emu/sfp-util.h
9
((sl) = (al) + (bl), (sh) = (ah) + (bh) + ((sl) < (al)))
arch/arm/include/asm/assembler.h
137
.macro asm_trace_hardirqs_on, cond=al, save=1
arch/arm/include/asm/assembler.h
489
.ifnc \cond,al
arch/arm/include/asm/assembler.h
530
.macro strusr, reg, ptr, inc, cond=al, rept=1, abort=9001f
arch/arm/include/asm/assembler.h
534
.macro ldrusr, reg, ptr, inc, cond=al, rept=1, abort=9001f
arch/arm/include/asm/assembler.h
765
eor \tmp, \val, \val, ror #16
arch/arm/include/asm/assembler.h
767
mov \val, \val, ror #8
arch/arm/include/asm/assembler.h
768
eor \val, \val, \tmp, lsr #8
arch/arm/include/asm/assembler.h
770
rev \val, \val
arch/arm/mach-tegra/sleep.h
76
movw \reg, #:lower16:\val
arch/arm/mach-tegra/sleep.h
77
movt \reg, #:upper16:\val
arch/arm64/include/asm/assembler.h
576
.if (((\val) >> 31) == 0 || ((\val) >> 31) == 0x1ffffffff)
arch/arm64/include/asm/assembler.h
577
movz \reg, :abs_g1_s:\val
arch/arm64/include/asm/assembler.h
579
.if (((\val) >> 47) == 0 || ((\val) >> 47) == 0x1ffff)
arch/arm64/include/asm/assembler.h
580
movz \reg, :abs_g2_s:\val
arch/arm64/include/asm/assembler.h
582
movz \reg, :abs_g3:\val
arch/arm64/include/asm/assembler.h
583
movk \reg, :abs_g2_nc:\val
arch/arm64/include/asm/assembler.h
585
movk \reg, :abs_g1_nc:\val
arch/arm64/include/asm/assembler.h
587
movk \reg, :abs_g0_nc:\val
arch/arm64/include/asm/atomic_lse.h
164
ATOMIC64_FETCH_OP( , al, op, asm_op, "memory")
arch/arm64/include/asm/atomic_lse.h
277
__CMPXCHG_CASE(w, b, mb_, 8, al, "memory")
arch/arm64/include/asm/atomic_lse.h
278
__CMPXCHG_CASE(w, h, mb_, 16, al, "memory")
arch/arm64/include/asm/atomic_lse.h
279
__CMPXCHG_CASE(w, , mb_, 32, al, "memory")
arch/arm64/include/asm/atomic_lse.h
280
__CMPXCHG_CASE(x, , mb_, 64, al, "memory")
arch/arm64/include/asm/atomic_lse.h
311
__CMPXCHG128(_mb, al, "memory")
arch/arm64/include/asm/atomic_lse.h
57
ATOMIC_FETCH_OP( , al, op, asm_op, "memory")
arch/arm64/include/asm/el2_setup.h
20
mov_q x0, \val
arch/mips/include/asm/octeon/cvmx-lmcx-defs.h
1888
uint64_t al:2;
arch/mips/include/asm/octeon/cvmx-lmcx-defs.h
1898
uint64_t al:2;
arch/powerpc/include/asm/io.h
640
#define DEF_PCI_AC_RET(name, ret, at, al) ret (*name) at;
arch/powerpc/include/asm/io.h
641
#define DEF_PCI_AC_NORET(name, at, al) void (*name) at;
arch/powerpc/include/asm/io.h
651
#define DEF_PCI_AC_RET(name, ret, at, al) \
arch/powerpc/include/asm/io.h
655
return ppc_pci_io.name al; \
arch/powerpc/include/asm/io.h
656
return __do_##name al; \
arch/powerpc/include/asm/io.h
659
#define DEF_PCI_AC_NORET(name, at, al) \
arch/powerpc/include/asm/io.h
663
ppc_pci_io.name al; \
arch/powerpc/include/asm/io.h
665
__do_##name al; \
arch/powerpc/include/asm/sfp-machine.h
216
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
arch/powerpc/include/asm/sfp-machine.h
220
: "=r" (sh), "=&r" (sl) : "r" (ah), "%r" (al), "rI" (bl));\
arch/powerpc/include/asm/sfp-machine.h
223
: "=r" (sh), "=&r" (sl) : "r" (ah), "%r" (al), "rI" (bl));\
arch/powerpc/include/asm/sfp-machine.h
227
: "%r" (ah), "r" (bh), "%r" (al), "rI" (bl)); \
arch/powerpc/include/asm/sfp-machine.h
239
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
arch/powerpc/include/asm/sfp-machine.h
243
: "=r" (sh), "=&r" (sl) : "r" (bh), "rI" (al), "r" (bl));\
arch/powerpc/include/asm/sfp-machine.h
246
: "=r" (sh), "=&r" (sl) : "r" (bh), "rI" (al), "r" (bl));\
arch/powerpc/include/asm/sfp-machine.h
249
: "=r" (sh), "=&r" (sl) : "r" (ah), "rI" (al), "r" (bl));\
arch/powerpc/include/asm/sfp-machine.h
252
: "=r" (sh), "=&r" (sl) : "r" (ah), "rI" (al), "r" (bl));\
arch/powerpc/include/asm/sfp-machine.h
256
: "r" (ah), "r" (bh), "rI" (al), "r" (bl)); \
arch/sh/math-emu/sfp-util.h
10
(sh) = (ah) + (bh) + (__x < (al)); \
arch/sh/math-emu/sfp-util.h
14
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
arch/sh/math-emu/sfp-util.h
17
__x = (al) - (bl); \
arch/sh/math-emu/sfp-util.h
18
(sh) = (ah) - (bh) - (__x > (al)); \
arch/sh/math-emu/sfp-util.h
6
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
arch/sh/math-emu/sfp-util.h
9
__x = (al) + (bl); \
arch/sparc/math-emu/sfp-util_32.h
14
"%rJ" ((USItype)(al)), \
arch/sparc/math-emu/sfp-util_32.h
17
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
arch/sparc/math-emu/sfp-util_32.h
24
"rJ" ((USItype)(al)), \
arch/sparc/math-emu/sfp-util_32.h
7
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
arch/sparc/math-emu/sfp-util_64.h
15
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
arch/sparc/math-emu/sfp-util_64.h
25
"r" ((UDItype)(al)), \
arch/sparc/math-emu/sfp-util_64.h
29
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
arch/sparc/math-emu/sfp-util_64.h
39
"r" ((UDItype)(al)), \
arch/x86/boot/apm.c
38
ireg.al = 0x04;
arch/x86/boot/apm.c
42
ireg.al = 0x03;
arch/x86/boot/apm.c
59
ireg.al = 0x00;
arch/x86/boot/apm.c
64
ireg.al = 0x04;
arch/x86/boot/boot.h
240
u8 al, ah, eax2, eax3;
arch/x86/boot/main.c
72
boot_params.kbd_status = oreg.al;
arch/x86/boot/tty.c
46
ireg.al = ch;
arch/x86/boot/tty.c
94
return oreg.al;
arch/x86/boot/video-bios.c
35
ireg.al = mode; /* AH=0x00 Set Video Mode */
arch/x86/boot/video-bios.c
44
new_mode = oreg.al & 0x7f;
arch/x86/boot/video-vga.c
265
if (oreg.al == 0x1a) {
arch/x86/boot/video-vga.c
49
mode = oreg.al;
arch/x86/boot/video.c
51
boot_params.screen_info.orig_video_mode = oreg.al & 0x7f;
arch/x86/include/asm/asm.h
74
#define _ASM_ARG1B al
arch/x86/include/asm/nospec-branch.h
88
movb $0xfc, %al; \
arch/x86/kvm/emulate.c
3021
u8 al, old_al;
arch/x86/kvm/emulate.c
3025
al = ctxt->dst.val;
arch/x86/kvm/emulate.c
3027
old_al = al;
arch/x86/kvm/emulate.c
3031
if ((al & 0x0f) > 9 || af) {
arch/x86/kvm/emulate.c
3032
al -= 6;
arch/x86/kvm/emulate.c
3033
cf = old_cf | (al >= 250);
arch/x86/kvm/emulate.c
3039
al -= 0x60;
arch/x86/kvm/emulate.c
3043
ctxt->dst.val = al;
arch/x86/kvm/emulate.c
3059
u8 al, ah;
arch/x86/kvm/emulate.c
3064
al = ctxt->dst.val & 0xff;
arch/x86/kvm/emulate.c
3065
ah = al / ctxt->src.val;
arch/x86/kvm/emulate.c
3066
al %= ctxt->src.val;
arch/x86/kvm/emulate.c
3068
ctxt->dst.val = (ctxt->dst.val & 0xffff0000) | al | (ah << 8);
arch/x86/kvm/emulate.c
3081
u8 al = ctxt->dst.val & 0xff;
arch/x86/kvm/emulate.c
3084
al = (al + (ah * ctxt->src.val)) & 0xff;
arch/x86/kvm/emulate.c
3086
ctxt->dst.val = (ctxt->dst.val & 0xffff0000) | al;
arch/x86/kvm/emulate.c
319
case 1: __EM_ASM_1(op##b, al); break; \
arch/x86/kvm/emulate.c
346
case 1: __EM_ASM_2(op##b, al, dl); break; \
arch/x86/kvm/emulate.c
355
case 1: __EM_ASM_2(op##b, dl, al); break; \
arch/x86/kvm/emulate.c
373
case 1: __EM_ASM_2(op##b, al, cl); break; \
arch/xtensa/include/asm/asmmacro.h
197
nsau \cnt, \val
arch/xtensa/include/asm/asmmacro.h
199
mov \a, \val
drivers/ata/pata_ep93xx.c
804
static int ep93xx_pata_softreset(struct ata_link *al, unsigned int *classes,
drivers/ata/pata_ep93xx.c
807
struct ata_port *ap = al->ap;
drivers/ata/pata_ep93xx.c
820
ap->ops->sff_dev_select(al->ap, 0);
drivers/ata/pata_ep93xx.c
825
if (rc && (rc != -ENODEV || sata_scr_valid(al))) {
drivers/ata/pata_ep93xx.c
826
ata_link_err(al, "SRST failed (errno=%d)\n", rc);
drivers/ata/pata_ep93xx.c
831
classes[0] = ata_sff_dev_classify(&al->device[0], devmask & (1 << 0),
drivers/ata/pata_ep93xx.c
834
classes[1] = ata_sff_dev_classify(&al->device[1],
drivers/block/drbd/drbd_actlog.c
603
struct al_transaction_on_disk *al = buffer;
drivers/block/drbd/drbd_actlog.c
608
__al_write_transaction(device, al);
drivers/block/drbd/drbd_actlog.c
618
int err = __al_write_transaction(device, al);
drivers/char/toshiba.c
124
unsigned char al;
drivers/char/toshiba.c
136
al = inb(0xe5);
drivers/char/toshiba.c
139
regs->ecx = (unsigned int) (al & 0x01);
drivers/char/toshiba.c
145
al = inb(0xe5);
drivers/char/toshiba.c
147
outb (al | 0x01, 0xe5);
drivers/char/toshiba.c
156
al = inb(0xe5);
drivers/char/toshiba.c
158
outb(al & 0xfe, 0xe5);
drivers/char/toshiba.c
172
al = inb(0xe5);
drivers/char/toshiba.c
175
regs->ecx = al & 0x01;
drivers/char/toshiba.c
181
al = inb(0xe5);
drivers/char/toshiba.c
182
outw(0xe0 | ((al & 0xfe) << 8), 0xe4);
drivers/char/toshiba.c
191
al = inb(0xe5);
drivers/char/toshiba.c
192
outw(0xe0 | ((al | 0x01) << 8), 0xe4);
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
3375
u32 k, a, ah, al;
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
3386
al = a - ah;
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
3389
*tl = t + al;
drivers/gpu/drm/radeon/r600_dpm.c
221
u32 k, a, ah, al;
drivers/gpu/drm/radeon/r600_dpm.c
232
al = a - ah;
drivers/gpu/drm/radeon/r600_dpm.c
235
*tl = t + al;
drivers/mtd/nand/raw/cafe_nand.c
571
u8 ah, al, bh, bl, ch, cl;
drivers/mtd/nand/raw/cafe_nand.c
574
al = a & 0x3f;
drivers/mtd/nand/raw/cafe_nand.c
578
ch = gf64_mul(ah ^ al, bh ^ bl) ^ gf64_mul(al, bl);
drivers/mtd/nand/raw/cafe_nand.c
579
cl = gf64_mul(gf64_mul(ah, bh), 0x21) ^ gf64_mul(al, bl);
drivers/mtd/nand/raw/fsl_elbc_nand.c
727
unsigned int al;
drivers/mtd/nand/raw/fsl_elbc_nand.c
776
al = 0;
drivers/mtd/nand/raw/fsl_elbc_nand.c
778
al++;
drivers/mtd/nand/raw/fsl_elbc_nand.c
780
al++;
drivers/mtd/nand/raw/fsl_elbc_nand.c
782
priv->fmr |= al << FMR_AL_SHIFT;
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
2898
struct virtchnl_ether_addr_list *al)
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
2908
for (i = 0; i < al->num_elements; i++) {
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
2910
u8 *addr = al->list[i].addr;
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
3061
struct virtchnl_ether_addr_list *al =
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
3069
!i40e_vc_isvalid_vsi_id(vf, al->vsi_id)) {
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
3081
ret = i40e_check_vf_permission(vf, al);
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
3088
for (i = 0; i < al->num_elements; i++) {
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
3091
f = i40e_find_mac(vsi, al->list[i].addr);
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
3093
f = i40e_add_mac_filter(vsi, al->list[i].addr);
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
3098
al->list[i].addr, vf->vf_id);
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
3104
i40e_update_vf_mac_addr(vf, &al->list[i]);
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
3129
struct virtchnl_ether_addr_list *al =
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
3138
!i40e_vc_isvalid_vsi_id(vf, al->vsi_id)) {
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
3143
for (i = 0; i < al->num_elements; i++) {
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
3144
if (is_broadcast_ether_addr(al->list[i].addr) ||
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
3145
is_zero_ether_addr(al->list[i].addr)) {
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
3147
al->list[i].addr, vf->vf_id);
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
3156
for (i = 0; i < al->num_elements; i++) {
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
3157
const u8 *addr = al->list[i].addr;
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
3169
if (i40e_del_mac_filter(vsi, al->list[i].addr)) {
drivers/net/ethernet/intel/ice/virt/virtchnl.c
2562
struct virtchnl_ether_addr_list *al =
drivers/net/ethernet/intel/ice/virt/virtchnl.c
2569
!ice_vc_isvalid_vsi_id(vf, al->vsi_id)) {
drivers/net/ethernet/intel/ice/virt/virtchnl.c
2582
for (i = 0; i < al->num_elements; i++) {
drivers/net/ethernet/intel/ice/virt/virtchnl.c
2583
u8 *mac_addr = al->list[i].addr;
drivers/net/ethernet/intel/ice/virt/virtchnl.c
2595
ice_vfhw_mac_add(vf, &al->list[i]);
drivers/net/ethernet/intel/ice/virt/virtchnl.c
2615
struct virtchnl_ether_addr_list *al =
drivers/net/ethernet/intel/ice/virt/virtchnl.c
2618
ice_update_legacy_cached_mac(vf, &al->list[0]);
drivers/net/ethernet/intel/ice/virt/virtchnl.c
939
struct virtchnl_ether_addr_list *al =
drivers/net/ethernet/intel/ice/virt/virtchnl.c
955
!ice_vc_isvalid_vsi_id(vf, al->vsi_id)) {
drivers/net/ethernet/intel/ice/virt/virtchnl.c
965
(vf->num_mac + al->num_elements) > ICE_MAX_MACADDR_PER_VF) {
drivers/net/ethernet/intel/ice/virt/virtchnl.c
978
for (i = 0; i < al->num_elements; i++) {
drivers/net/ethernet/intel/ice/virt/virtchnl.c
979
u8 *mac_addr = al->list[i].addr;
drivers/net/ethernet/intel/ice/virt/virtchnl.c
986
result = ice_vc_cfg_mac(vf, vsi, &al->list[i]);
drivers/net/wireless/ath/ath9k/xmit.c
1034
u16 aggr_limit = 0, al = 0, bpad = 0,
drivers/net/wireless/ath/ath9k/xmit.c
1052
if (aggr_limit < al + bpad + al_delta ||
drivers/net/wireless/ath/ath9k/xmit.c
1063
al += bpad + al_delta;
drivers/net/wireless/ath/ath9k/xmit.c
1097
al = get_frame_info(bf->bf_mpdu)->framelen;
drivers/net/wireless/ath/ath9k/xmit.c
1103
return al;
drivers/net/wireless/mediatek/mt76/mac80211.c
220
phy->leds.al =
drivers/net/wireless/mediatek/mt76/mt76.h
916
bool al;
drivers/net/wireless/mediatek/mt76/mt7603/init.c
359
if (mphy->leds.al)
drivers/net/wireless/mediatek/mt76/mt7615/init.c
491
if (dev->mphy.leds.al)
drivers/net/wireless/mediatek/mt76/mt76x02_util.c
105
if (mphy->leds.al)
drivers/net/wireless/mediatek/mt76/mt7915/init.c
246
if (dev->mphy.leds.al)
drivers/net/wireless/mediatek/mt76/mt7996/init.c
323
if (mphy->leds.al)
drivers/nvme/host/auth.c
80
cmd.auth_receive.al = cpu_to_le32(data_len);
drivers/nvme/host/trace.c
453
u32 al = get_unaligned_le32(spc + 4);
drivers/nvme/host/trace.c
456
spsp0, spsp1, secp, al);
drivers/nvme/target/fabrics-cmd-auth.c
415
static int nvmet_auth_challenge(struct nvmet_req *req, void *d, int al)
drivers/nvme/target/fabrics-cmd-auth.c
425
if (al < data_size) {
drivers/nvme/target/fabrics-cmd-auth.c
427
al, data_size);
drivers/nvme/target/fabrics-cmd-auth.c
455
static int nvmet_auth_success1(struct nvmet_req *req, void *d, int al)
drivers/nvme/target/fabrics-cmd-auth.c
461
WARN_ON(al < sizeof(*data));
drivers/nvme/target/fabrics-cmd-auth.c
482
static void nvmet_auth_failure1(struct nvmet_req *req, void *d, int al)
drivers/nvme/target/fabrics-cmd-auth.c
486
WARN_ON(al < sizeof(*data));
drivers/nvme/target/fabrics-cmd-auth.c
497
u32 al = le32_to_cpu(req->cmd->auth_receive.al);
drivers/nvme/target/fabrics-cmd-auth.c
506
return al;
drivers/nvme/target/fabrics-cmd-auth.c
517
if (al < min_len)
drivers/nvme/target/fabrics-cmd-auth.c
520
return al;
drivers/nvme/target/fabrics-cmd-auth.c
527
u32 al;
drivers/nvme/target/fabrics-cmd-auth.c
548
al = nvmet_auth_receive_data_len(req);
drivers/nvme/target/fabrics-cmd-auth.c
549
if (!al) {
drivers/nvme/target/fabrics-cmd-auth.c
552
offsetof(struct nvmf_auth_receive_command, al);
drivers/nvme/target/fabrics-cmd-auth.c
555
if (!nvmet_check_transfer_len(req, al)) {
drivers/nvme/target/fabrics-cmd-auth.c
556
pr_debug("%s: transfer length mismatch (%u)\n", __func__, al);
drivers/nvme/target/fabrics-cmd-auth.c
560
d = kmalloc(al, GFP_KERNEL);
drivers/nvme/target/fabrics-cmd-auth.c
569
if (nvmet_auth_challenge(req, d, al) < 0) {
drivers/nvme/target/fabrics-cmd-auth.c
578
status = nvmet_auth_success1(req, d, al);
drivers/nvme/target/fabrics-cmd-auth.c
582
nvmet_auth_failure1(req, d, al);
drivers/nvme/target/fabrics-cmd-auth.c
592
nvmet_auth_failure1(req, d, al);
drivers/nvme/target/fabrics-cmd-auth.c
601
nvmet_auth_failure1(req, d, al);
drivers/nvme/target/fabrics-cmd-auth.c
606
status = nvmet_copy_to_sgl(req, 0, d, al);
drivers/nvme/target/trace.c
373
u32 al = get_unaligned_le32(spc + 4);
drivers/nvme/target/trace.c
376
spsp0, spsp1, secp, al);
drivers/perf/arm-ccn.c
509
static CCN_CMP_MASK_ATTR_RO(al);
drivers/pinctrl/bcm/pinctrl-cygnus-mux.c
477
#define CYGNUS_PIN_GROUP(group_name, off, sh, al) \
drivers/pinctrl/bcm/pinctrl-cygnus-mux.c
485
.alt = al, \
drivers/pinctrl/bcm/pinctrl-ns2-mux.c
366
#define NS2_PIN_GROUP(group_name, ba, off, sh, ma, al) \
drivers/pinctrl/bcm/pinctrl-ns2-mux.c
376
.alt = al, \
drivers/pinctrl/bcm/pinctrl-nsp-mux.c
221
#define NSP_PIN_GROUP(group_name, ba, sh, ma, al) \
drivers/pinctrl/bcm/pinctrl-nsp-mux.c
230
.alt = al, \
drivers/thermal/tegra/soctherm-fuse.c
68
s64 r, al;
drivers/thermal/tegra/soctherm-fuse.c
71
al = a << 16;
drivers/thermal/tegra/soctherm-fuse.c
73
r = div64_s64(al * 2 + 1, 2 * b);
drivers/video/fbdev/sis/init.c
2857
unsigned short dl, unsigned short ah, unsigned short al, unsigned short dh)
drivers/video/fbdev/sis/init.c
2862
case 0: d1 = dh; d2 = ah; d3 = al; break;
drivers/video/fbdev/sis/init.c
2863
case 1: d1 = ah; d2 = al; d3 = dh; break;
drivers/video/fbdev/sis/init.c
2864
default: d1 = al; d2 = dh; d3 = ah;
fs/hpfs/dentry.c
41
unsigned al = len;
fs/hpfs/dentry.c
44
hpfs_adjust_length(str, &al);
fs/hpfs/dentry.c
54
if (hpfs_compare_names(dentry->d_sb, str, al, name->name, bl, 0))
fs/ntfs/attrib.c
1002
al + ale_len > al_end)
fs/ntfs/attrib.c
1022
const u8 *al = al_start;
fs/ntfs/attrib.c
1025
while (al < al_end) {
fs/ntfs/attrib.c
1027
(const struct attr_list_entry *)al;
fs/ntfs/attrib.c
1031
al += le16_to_cpu(ale->length);
fs/ntfs/attrib.c
1033
return al == al_end;
fs/ntfs/attrib.c
988
const u8 *al = (const u8 *)ale;
fs/ntfs/attrib.c
992
if (al + offsetof(struct attr_list_entry, name) > al_end)
fs/ntfs/inode.c
1741
u8 *al = al_start;
fs/ntfs/inode.c
1742
u8 *al_end = al + initialized_size;
fs/ntfs/inode.c
1748
if (!vol || !rl || !al || size <= 0 || initialized_size < 0 ||
fs/ntfs/inode.c
1752
memset(al, 0, size);
fs/ntfs/inode.c
1772
if (al + rl_byte_len > al_end)
fs/ntfs/inode.c
1773
rl_byte_len = al_end - al;
fs/ntfs/inode.c
1775
err = ntfs_bdev_read(sb->s_bdev, al, rl_byte_off,
fs/ntfs/inode.c
1782
if (al + rl_byte_len >= al_end) {
fs/ntfs/inode.c
1788
al += rl_byte_len;
fs/ntfs/inode.c
3044
u8 *al = NULL, *aln;
fs/ntfs/inode.c
3085
aln = kvrealloc(al, al_len, GFP_NOFS);
fs/ntfs/inode.c
3091
ale = (struct attr_list_entry *)(aln + ((u8 *)ale - al));
fs/ntfs/inode.c
3092
al = aln;
fs/ntfs/inode.c
3113
ale = (struct attr_list_entry *)(al + al_len);
fs/ntfs/inode.c
3124
ni->attr_list = al;
fs/ntfs/inode.c
3172
ni->attr_list = al;
fs/ntfs/inode.c
3181
ale = (struct attr_list_entry *)al;
fs/ntfs/inode.c
3182
while ((u8 *)ale < al + al_len) {
fs/ntfs/inode.c
3208
kvfree(al);
fs/ntfs3/attrlist.c
306
typeof(ni->attr_list) *al = &ni->attr_list;
fs/ntfs3/attrlist.c
312
old_size = al->size;
fs/ntfs3/attrlist.c
319
off = PtrOffset(al->le, le);
fs/ntfs3/attrlist.c
327
memcpy(ptr, al->le, off);
fs/ntfs3/attrlist.c
330
kvfree(al->le);
fs/ntfs3/attrlist.c
331
al->le = ptr;
fs/ntfs3/attrlist.c
337
al->size = new_size;
fs/ntfs3/attrlist.c
348
err = attr_set_size_ex(ni, ATTR_LIST, NULL, 0, &al->run, new_size,
fs/ntfs3/attrlist.c
353
al->size = old_size;
fs/ntfs3/attrlist.c
357
al->dirty = true;
fs/ntfs3/attrlist.c
360
err = ntfs_sb_write_run(ni->mi.sbi, &al->run, 0, al->le,
fs/ntfs3/attrlist.c
361
al->size, 0);
fs/ntfs3/attrlist.c
364
al->dirty = false;
fs/ntfs3/attrlist.c
377
typeof(ni->attr_list) *al = &ni->attr_list;
fs/ntfs3/attrlist.c
384
off = PtrOffset(al->le, le);
fs/ntfs3/attrlist.c
386
memmove(le, Add2Ptr(le, size), al->size - (off + size));
fs/ntfs3/attrlist.c
388
al->size -= size;
fs/ntfs3/attrlist.c
389
al->dirty = true;
fs/ntfs3/attrlist.c
398
typeof(ni->attr_list) *al = &ni->attr_list;
fs/ntfs3/attrlist.c
400
if (!al->dirty || !al->size)
fs/ntfs3/attrlist.c
407
err = attr_set_size_ex(ni, ATTR_LIST, NULL, 0, &al->run, al->size, NULL,
fs/ntfs3/attrlist.c
413
memcpy(resident_data(attr), al->le, al->size);
fs/ntfs3/attrlist.c
415
err = ntfs_sb_write_run(ni->mi.sbi, &al->run, 0, al->le,
fs/ntfs3/attrlist.c
416
al->size, sync);
fs/ntfs3/attrlist.c
424
al->dirty = false;
include/linux/math64.h
193
u32 ah = a >> 32, al = a;
include/linux/math64.h
196
ret = mul_u32_u32(al, mul) >> shift;
include/linux/nvme.h
1805
__le32 al;
include/vdso/math64.h
45
u32 ah = a >> 32, al = a;
include/vdso/math64.h
49
ovf = __builtin_add_overflow(mul_u32_u32(al, mul), b, &ret);
lib/crypto/mpi/longlong.h
114
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
1145
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
1152
"%1" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
1154
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
1161
"1" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
1193
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
1199
"%1" ((unsigned int)(al)), \
lib/crypto/mpi/longlong.h
1201
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
1207
"1" ((unsigned int)(al)), \
lib/crypto/mpi/longlong.h
121
"%r" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
123
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
1250
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
1253
__x = (al) + (bl); \
lib/crypto/mpi/longlong.h
1254
(sh) = (ah) + (bh) + (__x < (al)); \
lib/crypto/mpi/longlong.h
1260
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
1263
__x = (al) - (bl); \
lib/crypto/mpi/longlong.h
1264
(sh) = (ah) - (bh) - (__x > (al)); \
lib/crypto/mpi/longlong.h
130
"r" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
176
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
183
"%r" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
185
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
192
"r" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
263
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
270
"%1" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
272
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
279
"1" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
300
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
307
"%rM" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
309
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
316
"rM" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
397
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
404
"%1" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
406
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
413
"1" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
450
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
458
"%dI" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
460
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
468
"dI" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
515
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
522
"%1" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
524
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
531
"1" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
594
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
601
"%rJ" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
603
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
610
"rJ" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
721
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
728
"%r" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
735
"%r" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
743
"%r" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
746
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
753
"rI" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
760
"rI" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
767
"rI" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
774
"rI" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
782
"rI" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
839
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
846
"%1" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
848
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
855
"1" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
874
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
881
"%1" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
883
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
890
"1" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
950
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
957
"%rJ" ((USItype)(al)), \
lib/crypto/mpi/longlong.h
960
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
lib/crypto/mpi/longlong.h
967
"rJ" ((USItype)(al)), \
mm/slub.c
9710
struct saved_alias *al;
mm/slub.c
9725
al = kmalloc_obj(struct saved_alias);
mm/slub.c
9726
if (!al)
mm/slub.c
9729
al->s = s;
mm/slub.c
9730
al->name = name;
mm/slub.c
9731
al->next = alias_list;
mm/slub.c
9732
alias_list = al;
mm/slub.c
9733
kmsan_unpoison_memory(al, sizeof(*al));
mm/slub.c
9761
struct saved_alias *al = alias_list;
mm/slub.c
9764
err = sysfs_slab_alias(al->s, al->name);
mm/slub.c
9767
al->name);
mm/slub.c
9768
kfree(al);
net/core/drop_monitor.c
135
size_t al;
net/core/drop_monitor.c
142
al = sizeof(struct net_dm_alert_msg);
net/core/drop_monitor.c
143
al += dm_hit_limit * sizeof(struct net_dm_drop_point);
net/core/drop_monitor.c
144
al += sizeof(struct nlattr);
net/core/drop_monitor.c
146
skb = genlmsg_new(al, GFP_KERNEL);
net/core/drop_monitor.c
166
memset(msg, 0, al);
tools/arch/x86/include/asm/asm.h
67
#define _ASM_ARG1B al
tools/include/linux/math64.h
48
u32 ah, al;
tools/include/linux/math64.h
51
al = a;
tools/include/linux/math64.h
54
ret = mul_u32_u32(al, b) >> shift;
tools/perf/arch/powerpc/util/skip-callchain-idx.c
214
struct addr_location al;
tools/perf/arch/powerpc/util/skip-callchain-idx.c
223
addr_location__init(&al);
tools/perf/arch/powerpc/util/skip-callchain-idx.c
226
thread__find_symbol(thread, PERF_RECORD_MISC_USER, ip, &al);
tools/perf/arch/powerpc/util/skip-callchain-idx.c
228
if (al.map)
tools/perf/arch/powerpc/util/skip-callchain-idx.c
229
dso = map__dso(al.map);
tools/perf/arch/powerpc/util/skip-callchain-idx.c
233
addr_location__exit(&al);
tools/perf/arch/powerpc/util/skip-callchain-idx.c
237
rc = check_return_addr(dso, map__map_ip(al.map, ip));
tools/perf/arch/powerpc/util/skip-callchain-idx.c
240
dso__long_name(dso), al.sym->name, ip, rc);
tools/perf/arch/powerpc/util/skip-callchain-idx.c
255
addr_location__exit(&al);
tools/perf/builtin-annotate.c
145
static void process_branch_stack(struct branch_stack *bs, struct addr_location *al,
tools/perf/builtin-annotate.c
155
bi = sample__resolve_bstack(sample, al);
tools/perf/builtin-annotate.c
172
struct addr_location *al __maybe_unused,
tools/perf/builtin-annotate.c
194
struct addr_location *al,
tools/perf/builtin-annotate.c
221
hist__account_cycles(sample->branch_stack, al, sample, /*nonany_branch_mode=*/false,
tools/perf/builtin-annotate.c
236
struct addr_location *al, struct perf_annotate *ann,
tools/perf/builtin-annotate.c
245
(al->sym == NULL ||
tools/perf/builtin-annotate.c
246
strcmp(ann->sym_hist_filter, al->sym->name) != 0)) {
tools/perf/builtin-annotate.c
252
if (al->sym != NULL) {
tools/perf/builtin-annotate.c
253
struct dso *dso = map__dso(al->map);
tools/perf/builtin-annotate.c
255
rb_erase_cached(&al->sym->rb_node, dso__symbols(dso));
tools/perf/builtin-annotate.c
256
symbol__delete(al->sym);
tools/perf/builtin-annotate.c
266
process_branch_stack(sample->branch_stack, al, sample);
tools/perf/builtin-annotate.c
269
return process_branch_callback(sample, al, ann, machine);
tools/perf/builtin-annotate.c
271
he = hists__add_entry(hists, al, NULL, NULL, NULL, NULL, sample, true);
tools/perf/builtin-annotate.c
275
ret = hist_entry__inc_addr_samples(he, sample, al->addr);
tools/perf/builtin-annotate.c
286
struct addr_location al;
tools/perf/builtin-annotate.c
289
addr_location__init(&al);
tools/perf/builtin-annotate.c
290
if (machine__resolve(machine, &al, sample) < 0) {
tools/perf/builtin-annotate.c
302
if (!al.filtered &&
tools/perf/builtin-annotate.c
303
add_sample(sample, &al, ann, machine)) {
tools/perf/builtin-annotate.c
309
addr_location__exit(&al);
tools/perf/builtin-c2c.c
339
struct addr_location al;
tools/perf/builtin-c2c.c
344
addr_location__init(&al);
tools/perf/builtin-c2c.c
345
if (machine__resolve(machine, &al, sample) < 0) {
tools/perf/builtin-c2c.c
354
thread__set_lbr_stitch_enable(al.thread, true);
tools/perf/builtin-c2c.c
358
&al, sysctl_perf_event_max_stack);
tools/perf/builtin-c2c.c
362
mi = sample__resolve_mem(sample, &al);
tools/perf/builtin-c2c.c
371
&al, NULL, NULL, mi, NULL,
tools/perf/builtin-c2c.c
419
&al, NULL, NULL, mi, NULL,
tools/perf/builtin-c2c.c
445
addr_location__exit(&al);
tools/perf/builtin-diff.c
396
struct addr_location al;
tools/perf/builtin-diff.c
410
addr_location__init(&al);
tools/perf/builtin-diff.c
411
if (machine__resolve(machine, &al, sample) < 0) {
tools/perf/builtin-diff.c
427
if (!hists__add_entry_ops(hists, &block_hist_ops, &al, NULL,
tools/perf/builtin-diff.c
434
hist__account_cycles(sample->branch_stack, &al, sample,
tools/perf/builtin-diff.c
439
if (hist_entry_iter__add(&iter, &al, PERF_MAX_STACK_DEPTH,
tools/perf/builtin-diff.c
448
if (!hists__add_entry(hists, &al, NULL, NULL, NULL, NULL, sample,
tools/perf/builtin-diff.c
463
if (!al.filtered)
tools/perf/builtin-diff.c
467
addr_location__exit(&al);
tools/perf/builtin-inject.c
1143
struct addr_location al;
tools/perf/builtin-inject.c
1158
addr_location__init(&al);
tools/perf/builtin-inject.c
1166
if (thread__find_map(thread, sample->cpumode, sample->ip, &al)) {
tools/perf/builtin-inject.c
1167
mark_dso_hit(inject, tool, sample, machine, args.mmap_evsel, al.map,
tools/perf/builtin-inject.c
1176
addr_location__exit(&al);
tools/perf/builtin-kmem.c
400
struct addr_location al;
tools/perf/builtin-kmem.c
406
addr_location__init(&al);
tools/perf/builtin-kmem.c
412
al.thread = machine__findnew_thread(machine, sample->pid, sample->tid);
tools/perf/builtin-kmem.c
418
sample__resolve_callchain(sample, cursor, /*parent=*/NULL, &al, 16);
tools/perf/builtin-kmem.c
449
addr_location__exit(&al);
tools/perf/builtin-kvm.c
1144
if (machine__resolve(machine, &kvm->al, sample) < 0) {
tools/perf/builtin-kvm.c
740
&kvm->al, NULL, NULL, NULL, ki, sample, true);
tools/perf/builtin-kwork.c
787
struct addr_location *al)
tools/perf/builtin-kwork.c
848
sample__fprintf_sym(sample, al, 0,
tools/perf/builtin-kwork.c
896
struct addr_location al;
tools/perf/builtin-kwork.c
899
addr_location__init(&al);
tools/perf/builtin-kwork.c
900
if (machine__resolve(machine, &al, sample) < 0) {
tools/perf/builtin-kwork.c
917
timehist_print_event(kwork, work, atom, sample, &al);
tools/perf/builtin-kwork.c
922
addr_location__exit(&al);
tools/perf/builtin-mem.c
187
struct addr_location al;
tools/perf/builtin-mem.c
192
addr_location__init(&al);
tools/perf/builtin-mem.c
193
if (machine__resolve(machine, &al, sample) < 0) {
tools/perf/builtin-mem.c
196
addr_location__exit(&al);
tools/perf/builtin-mem.c
200
if (al.filtered || (mem->hide_unresolved && al.sym == NULL))
tools/perf/builtin-mem.c
203
if (al.map != NULL) {
tools/perf/builtin-mem.c
204
dso = map__dso(al.map);
tools/perf/builtin-mem.c
249
al.sym ? al.sym->name : "???");
tools/perf/builtin-mem.c
251
addr_location__exit(&al);
tools/perf/builtin-report.c
169
struct addr_location *al, bool single,
tools/perf/builtin-report.c
196
err = hist_entry__inc_addr_samples(he, sample, al->addr);
tools/perf/builtin-report.c
200
err = hist_entry__inc_addr_samples(he, sample, al->addr);
tools/perf/builtin-report.c
202
err = hist_entry__inc_addr_samples(he, sample, al->addr);
tools/perf/builtin-report.c
210
struct addr_location *al __maybe_unused,
tools/perf/builtin-report.c
270
struct addr_location al;
tools/perf/builtin-report.c
286
addr_location__init(&al);
tools/perf/builtin-report.c
287
if (machine__resolve(machine, &al, sample) < 0) {
tools/perf/builtin-report.c
296
thread__set_lbr_stitch_enable(al.thread, true);
tools/perf/builtin-report.c
298
if (symbol_conf.hide_unresolved && al.sym == NULL)
tools/perf/builtin-report.c
323
if (al.map != NULL)
tools/perf/builtin-report.c
324
dso__set_hit(map__dso(al.map));
tools/perf/builtin-report.c
327
hist__account_cycles(sample->branch_stack, &al, sample,
tools/perf/builtin-report.c
333
if (al.parallelism == 1)
tools/perf/builtin-report.c
336
ret = hist_entry_iter__add(&iter, &al, rep->max_stack, rep);
tools/perf/builtin-report.c
341
addr_location__exit(&al);
tools/perf/builtin-sched.c
2238
struct addr_location *al,
tools/perf/builtin-sched.c
2309
sample__fprintf_sym(sample, al, 0,
tools/perf/builtin-sched.c
2872
struct addr_location al;
tools/perf/builtin-sched.c
2886
addr_location__init(&al);
tools/perf/builtin-sched.c
2887
if (machine__resolve(machine, &al, sample) < 0) {
tools/perf/builtin-sched.c
2985
timehist_print_sample(sched, sample, &al, thread, t, state);
tools/perf/builtin-sched.c
3013
addr_location__exit(&al);
tools/perf/builtin-script.c
1106
struct addr_location al;
tools/perf/builtin-script.c
1139
addr_location__init(&al);
tools/perf/builtin-script.c
1140
if (!thread__find_map(thread, *cpumode, start, &al) || (dso = map__dso(al.map)) == NULL) {
tools/perf/builtin-script.c
1150
map__load(al.map);
tools/perf/builtin-script.c
1152
offset = map__map_ip(al.map, start);
tools/perf/builtin-script.c
1162
addr_location__exit(&al);
tools/perf/builtin-script.c
1211
struct addr_location al;
tools/perf/builtin-script.c
1214
addr_location__init(&al);
tools/perf/builtin-script.c
1215
thread__find_map(thread, cpumode, addr, &al);
tools/perf/builtin-script.c
1216
if (!al.map)
tools/perf/builtin-script.c
1218
ret = map__fprintf_srccode(al.map, al.addr, stdout,
tools/perf/builtin-script.c
1223
addr_location__exit(&al);
tools/perf/builtin-script.c
1267
struct addr_location al;
tools/perf/builtin-script.c
1269
addr_location__init(&al);
tools/perf/builtin-script.c
1270
thread__find_map(thread, x->cpumode, ip, &al);
tools/perf/builtin-script.c
1271
printed += map__fprintf_srcline(al.map, al.addr, " srcline: ", fp);
tools/perf/builtin-script.c
1273
addr_location__exit(&al);
tools/perf/builtin-script.c
1326
struct addr_location al;
tools/perf/builtin-script.c
1329
addr_location__init(&al);
tools/perf/builtin-script.c
1330
thread__find_map(thread, cpumode, addr, &al);
tools/perf/builtin-script.c
1332
if ((*lastsym) && al.addr >= (*lastsym)->start && al.addr < (*lastsym)->end)
tools/perf/builtin-script.c
1335
al.cpu = cpu;
tools/perf/builtin-script.c
1336
al.sym = NULL;
tools/perf/builtin-script.c
1337
if (al.map)
tools/perf/builtin-script.c
1338
al.sym = map__find_symbol(al.map, al.addr);
tools/perf/builtin-script.c
1340
if (!al.sym)
tools/perf/builtin-script.c
1343
if (al.addr < al.sym->end)
tools/perf/builtin-script.c
1344
off = al.addr - al.sym->start;
tools/perf/builtin-script.c
1346
off = al.addr - map__start(al.map) - al.sym->start;
tools/perf/builtin-script.c
1347
printed += fprintf(fp, "\t%s", al.sym->name);
tools/perf/builtin-script.c
1352
printed += map__fprintf_srcline(al.map, al.addr, "\t", fp);
tools/perf/builtin-script.c
1354
*lastsym = al.sym;
tools/perf/builtin-script.c
1358
addr_location__exit(&al);
tools/perf/builtin-script.c
1528
struct addr_location al;
tools/perf/builtin-script.c
1531
addr_location__init(&al);
tools/perf/builtin-script.c
1535
thread__resolve(thread, &al, sample);
tools/perf/builtin-script.c
1540
printed += symbol__fprintf_symname_offs(al.sym, &al, fp);
tools/perf/builtin-script.c
1542
printed += symbol__fprintf_symname(al.sym, fp);
tools/perf/builtin-script.c
1546
printed += map__fprintf_dsoname_dsoff(al.map, PRINT_FIELD(DSOFF), al.addr, fp);
tools/perf/builtin-script.c
1548
addr_location__exit(&al);
tools/perf/builtin-script.c
1555
struct addr_location *al,
tools/perf/builtin-script.c
1573
if (al->sym)
tools/perf/builtin-script.c
1574
name = al->sym->name;
tools/perf/builtin-script.c
1584
struct addr_location *al,
tools/perf/builtin-script.c
1602
name = resolve_branch_sym(sample, evsel, thread, al, addr_al, &ip);
tools/perf/builtin-script.c
1606
dlen += map__fprintf_dsoname(al->map, fp);
tools/perf/builtin-script.c
1636
struct addr_location *al)
tools/perf/builtin-script.c
1650
printed += sample__fprintf_insn_asm(sample, thread, machine, fp, al);
tools/perf/builtin-script.c
1675
struct addr_location *al,
tools/perf/builtin-script.c
1685
printed += perf_sample__fprintf_callindent(sample, evsel, thread, al, addr_al, fp);
tools/perf/builtin-script.c
1694
if (thread__resolve_callchain(al->thread, cursor,
tools/perf/builtin-script.c
1708
printed += sample__fprintf_sym(sample, al, 0, print_opts, cursor,
tools/perf/builtin-script.c
1723
printed += map__fprintf_srcline(al->map, al->addr, "\n ", fp);
tools/perf/builtin-script.c
1725
printed += perf_sample__fprintf_insn(sample, evsel, attr, thread, machine, fp, al);
tools/perf/builtin-script.c
1728
int ret = map__fprintf_srccode(al->map, al->addr, stdout,
tools/perf/builtin-script.c
2389
struct addr_location *al,
tools/perf/builtin-script.c
2406
const char *name = resolve_branch_sym(sample, evsel, thread, al, addr_al,
tools/perf/builtin-script.c
2430
struct addr_location *al,
tools/perf/builtin-script.c
2434
struct thread *thread = al->thread;
tools/perf/builtin-script.c
2467
perf_sample__fprintf_bts(sample, evsel, thread, al, addr_al, machine, fp);
tools/perf/builtin-script.c
2514
thread__set_lbr_stitch_enable(al->thread, true);
tools/perf/builtin-script.c
2518
if (thread__resolve_callchain(al->thread, cursor,
tools/perf/builtin-script.c
2524
sample__fprintf_sym(sample, al, 0, output[type].print_ip_opts, cursor,
tools/perf/builtin-script.c
2551
perf_sample__fprintf_insn(sample, evsel, attr, thread, machine, fp, al);
tools/perf/builtin-script.c
2567
if (map__fprintf_srccode(al->map, al->addr, stdout,
tools/perf/builtin-script.c
2661
struct addr_location al;
tools/perf/builtin-script.c
2666
addr_location__init(&al);
tools/perf/builtin-script.c
2669
ret = dlfilter__filter_event_early(dlfilter, event, sample, evsel, machine, &al, &addr_al);
tools/perf/builtin-script.c
2695
if (!al.thread && machine__resolve(machine, &al, sample) < 0) {
tools/perf/builtin-script.c
2703
if (al.filtered)
tools/perf/builtin-script.c
2706
if (!show_event(sample, evsel, al.thread, &al, &addr_al))
tools/perf/builtin-script.c
2712
ret = dlfilter__filter_event(dlfilter, event, sample, evsel, machine, &al, &addr_al);
tools/perf/builtin-script.c
2725
thread__resolve(al.thread, &addr_al, sample);
tools/perf/builtin-script.c
2728
scripting_ops->process_event(event, sample, &al, addr_al_ptr);
tools/perf/builtin-script.c
2730
process_event(scr, sample, &al, &addr_al, machine);
tools/perf/builtin-script.c
2735
addr_location__exit(&al);
tools/perf/builtin-script.c
2749
struct addr_location al;
tools/perf/builtin-script.c
2757
addr_location__init(&al);
tools/perf/builtin-script.c
2778
if (machine__resolve(machine, &al, sample) < 0) {
tools/perf/builtin-script.c
2786
if (al.filtered)
tools/perf/builtin-script.c
2789
if (!show_event(sample, evsel, al.thread, &al, NULL))
tools/perf/builtin-script.c
2795
perf_sample__fprintf_start(scr, sample, al.thread, evsel,
tools/perf/builtin-script.c
2805
if (thread__resolve_callchain(al.thread, cursor,
tools/perf/builtin-script.c
2814
sample__fprintf_sym(sample, &al, 0, output[type].print_ip_opts,
tools/perf/builtin-script.c
2824
addr_location__exit(&al);
tools/perf/builtin-timechart.c
500
struct addr_location al;
tools/perf/builtin-timechart.c
514
addr_location__init(&al);
tools/perf/builtin-timechart.c
518
if (machine__resolve(machine, &al, sample) < 0) {
tools/perf/builtin-timechart.c
555
if (thread__find_symbol(al.thread, cpumode, ip, &tal))
tools/perf/builtin-timechart.c
563
addr_location__exit(&al);
tools/perf/builtin-top.c
730
struct addr_location *al, bool single,
tools/perf/builtin-top.c
737
perf_top__record_precise_ip(top, iter->he, iter->sample, al->addr);
tools/perf/builtin-top.c
739
hist__account_cycles(iter->sample->branch_stack, al, iter->sample,
tools/perf/builtin-top.c
751
struct addr_location al;
tools/perf/builtin-top.c
776
addr_location__init(&al);
tools/perf/builtin-top.c
777
if (machine__resolve(machine, &al, sample) < 0)
tools/perf/builtin-top.c
781
thread__set_lbr_stitch_enable(al.thread, true);
tools/perf/builtin-top.c
785
al.cpumode == PERF_RECORD_MISC_KERNEL) {
tools/perf/builtin-top.c
791
al.map && map__has_symbols(al.map) ?
tools/perf/builtin-top.c
799
if (al.sym == NULL && al.map != NULL) {
tools/perf/builtin-top.c
813
__map__is_kernel(al.map) && !map__has_symbols(al.map)) {
tools/perf/builtin-top.c
817
dso__strerror_load(map__dso(al.map), serr, sizeof(serr));
tools/perf/builtin-top.c
831
if (al.sym == NULL ||
tools/perf/builtin-top.c
832
!symbol__is_idle(al.sym, al.map ? map__dso(al.map) : NULL, machine->env)) {
tools/perf/builtin-top.c
846
if (hist_entry_iter__add(&iter, &al, top->max_stack, top) < 0)
tools/perf/builtin-top.c
853
addr_location__exit(&al);
tools/perf/builtin-trace.c
2921
struct addr_location al;
tools/perf/builtin-trace.c
2927
addr_location__init(&al);
tools/perf/builtin-trace.c
2928
if (machine__resolve(trace->host, &al, sample) < 0)
tools/perf/builtin-trace.c
2931
err = thread__resolve_callchain(al.thread, cursor, sample, NULL, NULL, max_stack);
tools/perf/builtin-trace.c
2933
addr_location__exit(&al);
tools/perf/builtin-trace.c
3398
struct addr_location *al,
tools/perf/builtin-trace.c
3402
if ((verbose > 0 || print_dso) && al->map)
tools/perf/builtin-trace.c
3403
fprintf(f, "%s@", dso__long_name(map__dso(al->map)));
tools/perf/builtin-trace.c
3405
if ((verbose > 0 || print_sym) && al->sym)
tools/perf/builtin-trace.c
3406
fprintf(f, "%s+0x%" PRIx64, al->sym->name,
tools/perf/builtin-trace.c
3407
al->addr - al->sym->start);
tools/perf/builtin-trace.c
3408
else if (al->map)
tools/perf/builtin-trace.c
3409
fprintf(f, "0x%" PRIx64, al->addr);
tools/perf/builtin-trace.c
3419
struct addr_location al;
tools/perf/builtin-trace.c
3425
addr_location__init(&al);
tools/perf/builtin-trace.c
3454
thread__find_symbol(thread, sample->cpumode, sample->ip, &al);
tools/perf/builtin-trace.c
3463
print_location(trace->output, sample, &al, false, true);
tools/perf/builtin-trace.c
3467
thread__find_symbol(thread, sample->cpumode, sample->addr, &al);
tools/perf/builtin-trace.c
3469
if (!al.map) {
tools/perf/builtin-trace.c
3470
thread__find_symbol(thread, sample->cpumode, sample->addr, &al);
tools/perf/builtin-trace.c
3472
if (al.map)
tools/perf/builtin-trace.c
3478
print_location(trace->output, sample, &al, true, false);
tools/perf/builtin-trace.c
3480
fprintf(trace->output, " (%c%c)\n", map_type, al.level);
tools/perf/builtin-trace.c
3493
addr_location__exit(&al);
tools/perf/dlfilters/dlfilter-test-api-v0.c
104
__s32 (*resolve_address)(void *ctx, __u64 address, struct perf_dlfilter_al *al);
tools/perf/dlfilters/dlfilter-test-api-v0.c
231
const struct perf_dlfilter_al *al;
tools/perf/dlfilters/dlfilter-test-api-v0.c
233
al = perf_dlfilter_fns.resolve_ip(ctx);
tools/perf/dlfilters/dlfilter-test-api-v0.c
234
if (!al)
tools/perf/dlfilters/dlfilter-test-api-v0.c
237
CHECK(al->sym && !strcmp("foo", al->sym));
tools/perf/dlfilters/dlfilter-test-api-v0.c
238
CHECK(!al->symoff);
tools/perf/dlfilters/dlfilter-test-api-v0.c
260
const struct perf_dlfilter_al *al;
tools/perf/dlfilters/dlfilter-test-api-v0.c
262
al = perf_dlfilter_fns.resolve_ip(ctx);
tools/perf/dlfilters/dlfilter-test-api-v0.c
263
if (!al)
tools/perf/dlfilters/dlfilter-test-api-v0.c
270
CHECK(address_al.sym && al->sym);
tools/perf/dlfilters/dlfilter-test-api-v0.c
271
CHECK(!strcmp(address_al.sym, al->sym));
tools/perf/dlfilters/dlfilter-test-api-v0.c
272
CHECK(address_al.addr == al->addr);
tools/perf/dlfilters/dlfilter-test-api-v0.c
273
CHECK(address_al.sym_start == al->sym_start);
tools/perf/dlfilters/dlfilter-test-api-v0.c
274
CHECK(address_al.sym_end == al->sym_end);
tools/perf/dlfilters/dlfilter-test-api-v0.c
275
CHECK(address_al.dso && al->dso);
tools/perf/dlfilters/dlfilter-test-api-v0.c
276
CHECK(!strcmp(address_al.dso, al->dso));
tools/perf/dlfilters/dlfilter-test-api-v2.c
114
__s32 (*resolve_address)(void *ctx, __u64 address, struct perf_dlfilter_al *al);
tools/perf/dlfilters/dlfilter-test-api-v2.c
127
void (*al_cleanup)(void *ctx, struct perf_dlfilter_al *al);
tools/perf/dlfilters/dlfilter-test-api-v2.c
246
const struct perf_dlfilter_al *al;
tools/perf/dlfilters/dlfilter-test-api-v2.c
248
al = perf_dlfilter_fns.resolve_ip(ctx);
tools/perf/dlfilters/dlfilter-test-api-v2.c
249
if (!al)
tools/perf/dlfilters/dlfilter-test-api-v2.c
252
CHECK(al->sym && !strcmp("foo", al->sym));
tools/perf/dlfilters/dlfilter-test-api-v2.c
253
CHECK(!al->symoff);
tools/perf/dlfilters/dlfilter-test-api-v2.c
275
const struct perf_dlfilter_al *al;
tools/perf/dlfilters/dlfilter-test-api-v2.c
277
al = perf_dlfilter_fns.resolve_ip(ctx);
tools/perf/dlfilters/dlfilter-test-api-v2.c
278
if (!al)
tools/perf/dlfilters/dlfilter-test-api-v2.c
285
CHECK(address_al.sym && al->sym);
tools/perf/dlfilters/dlfilter-test-api-v2.c
286
CHECK(!strcmp(address_al.sym, al->sym));
tools/perf/dlfilters/dlfilter-test-api-v2.c
287
CHECK(address_al.addr == al->addr);
tools/perf/dlfilters/dlfilter-test-api-v2.c
288
CHECK(address_al.sym_start == al->sym_start);
tools/perf/dlfilters/dlfilter-test-api-v2.c
289
CHECK(address_al.sym_end == al->sym_end);
tools/perf/dlfilters/dlfilter-test-api-v2.c
290
CHECK(address_al.dso && al->dso);
tools/perf/dlfilters/dlfilter-test-api-v2.c
291
CHECK(!strcmp(address_al.dso, al->dso));
tools/perf/include/perf/perf_dlfilter.h
109
__s32 (*resolve_address)(void *ctx, __u64 address, struct perf_dlfilter_al *al);
tools/perf/include/perf/perf_dlfilter.h
122
void (*al_cleanup)(void *ctx, struct perf_dlfilter_al *al);
tools/perf/scripts/python/Perf-Trace-Util/Context.c
145
map = c->al->map;
tools/perf/scripts/python/Perf-Trace-Util/Context.c
146
addr = c->al->addr;
tools/perf/scripts/python/Perf-Trace-Util/Context.c
93
if (c->sample->ip && !c->sample->insn_len && thread__maps(c->al->thread)) {
tools/perf/scripts/python/Perf-Trace-Util/Context.c
94
struct machine *machine = maps__machine(thread__maps(c->al->thread));
tools/perf/scripts/python/Perf-Trace-Util/Context.c
96
perf_sample__fetch_insn(c->sample, c->al->thread, machine);
tools/perf/tests/code-reading.c
382
struct addr_location al;
tools/perf/tests/code-reading.c
396
addr_location__init(&al);
tools/perf/tests/code-reading.c
397
if (!thread__find_map(thread, cpumode, addr, &al) || !map__dso(al.map)) {
tools/perf/tests/code-reading.c
407
dso = map__dso(al.map);
tools/perf/tests/code-reading.c
419
skip_addr = dso__is_kcore(dso) ? map__start(al.map) : al.addr;
tools/perf/tests/code-reading.c
427
pr_debug("On file address is: %#"PRIx64"\n", al.addr);
tools/perf/tests/code-reading.c
433
if (addr + len > map__end(al.map))
tools/perf/tests/code-reading.c
434
len = map__end(al.map) - addr;
tools/perf/tests/code-reading.c
441
if (dso__is_kmod(dso) && al.addr > dso__text_end(dso)) {
tools/perf/tests/code-reading.c
442
pr_debug("skipping the module address %#"PRIx64" after text end\n", al.addr);
tools/perf/tests/code-reading.c
448
al.addr, buf1, len);
tools/perf/tests/code-reading.c
459
if (map__load(al.map)) {
tools/perf/tests/code-reading.c
482
objdump_addr = map__rip_2objdump(al.map, al.addr);
tools/perf/tests/code-reading.c
529
addr_location__exit(&al);
tools/perf/tests/hists_cumulate.c
105
if (machine__resolve(machine, &al, &sample) < 0)
tools/perf/tests/hists_cumulate.c
108
if (hist_entry_iter__add(&iter, &al, sysctl_perf_event_max_stack,
tools/perf/tests/hists_cumulate.c
114
fake_samples[i].thread = thread__get(al.thread);
tools/perf/tests/hists_cumulate.c
116
fake_samples[i].map = map__get(al.map);
tools/perf/tests/hists_cumulate.c
117
fake_samples[i].sym = al.sym;
tools/perf/tests/hists_cumulate.c
120
addr_location__exit(&al);
tools/perf/tests/hists_cumulate.c
125
addr_location__exit(&al);
tools/perf/tests/hists_cumulate.c
82
struct addr_location al;
tools/perf/tests/hists_cumulate.c
87
addr_location__init(&al);
tools/perf/tests/hists_filter.c
104
addr_location__exit(&al);
tools/perf/tests/hists_filter.c
53
struct addr_location al;
tools/perf/tests/hists_filter.c
57
addr_location__init(&al);
tools/perf/tests/hists_filter.c
83
if (machine__resolve(machine, &al, &sample) < 0)
tools/perf/tests/hists_filter.c
86
al.socket = fake_samples[i].socket;
tools/perf/tests/hists_filter.c
87
if (hist_entry_iter__add(&iter, &al,
tools/perf/tests/hists_filter.c
93
fake_samples[i].thread = thread__get(al.thread);
tools/perf/tests/hists_filter.c
95
fake_samples[i].map = map__get(al.map);
tools/perf/tests/hists_filter.c
96
fake_samples[i].sym = al.sym;
tools/perf/tests/hists_filter.c
99
addr_location__exit(&al);
tools/perf/tests/hists_link.c
101
fake_common_samples[k].map = map__get(al.map);
tools/perf/tests/hists_link.c
102
fake_common_samples[k].sym = al.sym;
tools/perf/tests/hists_link.c
109
if (machine__resolve(machine, &al, &sample) < 0)
tools/perf/tests/hists_link.c
112
he = hists__add_entry(hists, &al, NULL,
tools/perf/tests/hists_link.c
119
fake_samples[i][k].thread = thread__get(al.thread);
tools/perf/tests/hists_link.c
121
fake_samples[i][k].map = map__get(al.map);
tools/perf/tests/hists_link.c
122
fake_samples[i][k].sym = al.sym;
tools/perf/tests/hists_link.c
127
addr_location__exit(&al);
tools/perf/tests/hists_link.c
130
addr_location__exit(&al);
tools/perf/tests/hists_link.c
69
struct addr_location al;
tools/perf/tests/hists_link.c
74
addr_location__init(&al);
tools/perf/tests/hists_link.c
89
if (machine__resolve(machine, &al, &sample) < 0)
tools/perf/tests/hists_link.c
92
he = hists__add_entry(hists, &al, NULL,
tools/perf/tests/hists_link.c
99
fake_common_samples[k].thread = thread__get(al.thread);
tools/perf/tests/hists_output.c
52
struct addr_location al;
tools/perf/tests/hists_output.c
57
addr_location__init(&al);
tools/perf/tests/hists_output.c
71
if (machine__resolve(machine, &al, &sample) < 0)
tools/perf/tests/hists_output.c
74
if (hist_entry_iter__add(&iter, &al, sysctl_perf_event_max_stack,
tools/perf/tests/hists_output.c
79
fake_samples[i].thread = al.thread;
tools/perf/tests/hists_output.c
81
fake_samples[i].map = map__get(al.map);
tools/perf/tests/hists_output.c
82
fake_samples[i].sym = al.sym;
tools/perf/tests/hists_output.c
85
addr_location__exit(&al);
tools/perf/tests/hists_output.c
90
addr_location__exit(&al);
tools/perf/tests/mmap-thread-lookup.c
190
struct addr_location al;
tools/perf/tests/mmap-thread-lookup.c
193
addr_location__init(&al);
tools/perf/tests/mmap-thread-lookup.c
199
(unsigned long) (td->map + 1), &al);
tools/perf/tests/mmap-thread-lookup.c
203
if (!al.map) {
tools/perf/tests/mmap-thread-lookup.c
206
addr_location__exit(&al);
tools/perf/tests/mmap-thread-lookup.c
210
pr_debug("map %p, addr %" PRIx64 "\n", al.map, map__start(al.map));
tools/perf/tests/mmap-thread-lookup.c
211
addr_location__exit(&al);
tools/perf/ui/browsers/annotate.c
1002
struct annotation_line *al = NULL;
tools/perf/ui/browsers/annotate.c
1011
al = annotated_source__get_line(notes->src, offset);
tools/perf/ui/browsers/annotate.c
1012
browser->curr_hot = al ? &al->rb_node : NULL;
tools/perf/ui/browsers/annotate.c
118
struct annotation_line *al = list_entry(entry, struct annotation_line, node);
tools/perf/ui/browsers/annotate.c
1244
struct annotation_line *al = annotated_source__get_line(notes->src,
tools/perf/ui/browsers/annotate.c
1247
browser.selection = al;
tools/perf/ui/browsers/annotate.c
149
annotation_line__write(al, notes, &ops, &apd);
tools/perf/ui/browsers/annotate.c
152
ab->selection = al;
tools/perf/ui/browsers/annotate.c
157
struct disasm_line *pos = list_prev_entry(cursor, al.node);
tools/perf/ui/browsers/annotate.c
161
while (pos && pos->al.offset == -1) {
tools/perf/ui/browsers/annotate.c
162
pos = list_prev_entry(pos, al.node);
tools/perf/ui/browsers/annotate.c
232
from = cursor->al.idx_asm;
tools/perf/ui/browsers/annotate.c
235
from = (u64)cursor->al.idx;
tools/perf/ui/browsers/annotate.c
283
struct annotation_line *al)
tools/perf/ui/browsers/annotate.c
294
if (disasm__cmp(al, l, annotate_opts.percent_type) < 0)
tools/perf/ui/browsers/annotate.c
299
rb_link_node(&al->rb_node, parent, p);
tools/perf/ui/browsers/annotate.c
300
rb_insert_color(&al->rb_node, root);
tools/perf/ui/browsers/annotate.c
352
list_for_each_entry(pos, ¬es->src->source, al.node) {
tools/perf/ui/browsers/annotate.c
356
if (pos->al.offset == -1) {
tools/perf/ui/browsers/annotate.c
357
RB_CLEAR_NODE(&pos->al.rb_node);
tools/perf/ui/browsers/annotate.c
361
for (i = 0; i < pos->al.data_nr; i++) {
tools/perf/ui/browsers/annotate.c
364
percent = annotation_data__percent(&pos->al.data[i],
tools/perf/ui/browsers/annotate.c
371
if (max_percent < 0.01 && (!pos->al.cycles || pos->al.cycles->ipc == 0)) {
tools/perf/ui/browsers/annotate.c
372
RB_CLEAR_NODE(&pos->al.rb_node);
tools/perf/ui/browsers/annotate.c
375
disasm_rb_tree__insert(browser, &pos->al);
tools/perf/ui/browsers/annotate.c
386
struct annotation_line *al;
tools/perf/ui/browsers/annotate.c
390
list_for_each_entry(al, head, node) {
tools/perf/ui/browsers/annotate.c
391
if (al->idx_asm == idx_asm)
tools/perf/ui/browsers/annotate.c
392
return al;
tools/perf/ui/browsers/annotate.c
401
struct annotation_line *al)
tools/perf/ui/browsers/annotate.c
403
struct annotation_line *it = al;
tools/perf/ui/browsers/annotate.c
412
it = al;
tools/perf/ui/browsers/annotate.c
424
struct annotation_line *al;
tools/perf/ui/browsers/annotate.c
428
list_for_each_entry(al, ¬es->src->source, node) {
tools/perf/ui/browsers/annotate.c
429
if (al->offset >= 0) {
tools/perf/ui/browsers/annotate.c
437
list_for_each_entry_continue(al, ¬es->src->source, node) {
tools/perf/ui/browsers/annotate.c
438
if (al->offset == -1)
tools/perf/ui/browsers/annotate.c
449
struct annotation_line *al;
tools/perf/ui/browsers/annotate.c
456
al = list_entry(browser->b.top, struct annotation_line, node);
tools/perf/ui/browsers/annotate.c
468
int orig_idx_asm = al->idx_asm;
tools/perf/ui/browsers/annotate.c
483
al = annotate_browser__find_new_asm_line(browser, orig_idx_asm);
tools/perf/ui/browsers/annotate.c
484
if (unlikely(al == NULL)) {
tools/perf/ui/browsers/annotate.c
485
al = list_first_entry(¬es->src->source,
tools/perf/ui/browsers/annotate.c
488
browser->b.seek(&browser->b, al->idx_asm, SEEK_SET);
tools/perf/ui/browsers/annotate.c
492
if (al->idx_asm < offset)
tools/perf/ui/browsers/annotate.c
493
offset = al->idx;
tools/perf/ui/browsers/annotate.c
498
browser->b.top_idx = al->idx - offset;
tools/perf/ui/browsers/annotate.c
499
browser->b.index = al->idx;
tools/perf/ui/browsers/annotate.c
501
if (al->idx_asm < 0) {
tools/perf/ui/browsers/annotate.c
503
al = annotate_browser__find_next_asm_line(browser, al);
tools/perf/ui/browsers/annotate.c
504
if (!al) {
tools/perf/ui/browsers/annotate.c
510
if (al->idx_asm < offset)
tools/perf/ui/browsers/annotate.c
511
offset = al->idx_asm;
tools/perf/ui/browsers/annotate.c
516
browser->b.top_idx = al->idx_asm - offset;
tools/perf/ui/browsers/annotate.c
517
browser->b.index = al->idx_asm;
tools/perf/ui/browsers/annotate.c
532
struct annotation_line *al = &cursor->al;
tools/perf/ui/browsers/annotate.c
534
if (al->offset != -1)
tools/perf/ui/browsers/annotate.c
536
else if (al->fileloc == NULL)
tools/perf/ui/browsers/annotate.c
540
sprintf (help_line, "Source file location: %s", al->fileloc);
tools/perf/ui/browsers/annotate.c
630
list_for_each_entry(pos, ¬es->src->source, al.node) {
tools/perf/ui/browsers/annotate.c
631
if (pos->al.offset == offset)
tools/perf/ui/browsers/annotate.c
633
if (!annotation_line__filter(&pos->al))
tools/perf/ui/browsers/annotate.c
663
annotate_browser__set_top(browser, &dl->al, idx);
tools/perf/ui/browsers/annotate.c
67
struct annotation_line *al = list_entry(entry, struct annotation_line, node);
tools/perf/ui/browsers/annotate.c
673
struct annotation_line *al = browser->selection;
tools/perf/ui/browsers/annotate.c
676
list_for_each_entry_continue(al, ¬es->src->source, node) {
tools/perf/ui/browsers/annotate.c
677
if (annotation_line__filter(al))
tools/perf/ui/browsers/annotate.c
68
return annotation_line__filter(al);
tools/perf/ui/browsers/annotate.c
682
if (al->line && strstr(al->line, s) != NULL)
tools/perf/ui/browsers/annotate.c
683
return al;
tools/perf/ui/browsers/annotate.c
691
struct annotation_line *al;
tools/perf/ui/browsers/annotate.c
694
al = annotate_browser__find_string(browser, browser->search_bf, &idx);
tools/perf/ui/browsers/annotate.c
695
if (al == NULL) {
tools/perf/ui/browsers/annotate.c
700
annotate_browser__set_top(browser, al, idx);
tools/perf/ui/browsers/annotate.c
710
struct annotation_line *al = browser->selection;
tools/perf/ui/browsers/annotate.c
713
list_for_each_entry_continue_reverse(al, ¬es->src->source, node) {
tools/perf/ui/browsers/annotate.c
714
if (annotation_line__filter(al))
tools/perf/ui/browsers/annotate.c
719
if (al->line && strstr(al->line, s) != NULL)
tools/perf/ui/browsers/annotate.c
720
return al;
tools/perf/ui/browsers/annotate.c
728
struct annotation_line *al;
tools/perf/ui/browsers/annotate.c
731
al = annotate_browser__find_string_reverse(browser, browser->search_bf, &idx);
tools/perf/ui/browsers/annotate.c
732
if (al == NULL) {
tools/perf/ui/browsers/annotate.c
737
annotate_browser__set_top(browser, al, idx);
tools/perf/ui/browsers/annotate.c
860
struct annotation_line *al = NULL;
tools/perf/ui/browsers/annotate.c
863
al = rb_entry(browser->curr_hot, struct annotation_line, rb_node);
tools/perf/ui/browsers/annotate.c
865
return al ? al->offset : 0;
tools/perf/ui/gtk/annotate.c
136
list_for_each_entry(pos, ¬es->src->source, al.node) {
tools/perf/ui/gtk/annotate.c
166
list_for_each_entry_safe(pos, n, ¬es->src->source, al.node) {
tools/perf/ui/gtk/annotate.c
167
list_del_init(&pos->al.node);
tools/perf/ui/gtk/annotate.c
42
if (dl->al.offset == (s64) -1)
tools/perf/ui/gtk/annotate.c
47
entry = annotated_source__hist_entry(notes->src, evsel, dl->al.offset);
tools/perf/ui/gtk/annotate.c
73
if (dl->al.offset == (s64) -1)
tools/perf/ui/gtk/annotate.c
76
return scnprintf(buf, size, "%"PRIx64, start + dl->al.offset);
tools/perf/ui/gtk/annotate.c
82
char *line = g_markup_escape_text(dl->al.line, -1);
tools/perf/ui/gtk/annotate.c
90
if (dl->al.offset != (s64) -1)
tools/perf/util/addr_location.c
10
al->map = NULL;
tools/perf/util/addr_location.c
11
al->sym = NULL;
tools/perf/util/addr_location.c
12
al->srcline = NULL;
tools/perf/util/addr_location.c
13
al->addr = 0;
tools/perf/util/addr_location.c
14
al->level = 0;
tools/perf/util/addr_location.c
15
al->filtered = 0;
tools/perf/util/addr_location.c
16
al->cpumode = 0;
tools/perf/util/addr_location.c
17
al->cpu = 0;
tools/perf/util/addr_location.c
18
al->socket = 0;
tools/perf/util/addr_location.c
19
al->parallelism = 1;
tools/perf/util/addr_location.c
28
void addr_location__exit(struct addr_location *al)
tools/perf/util/addr_location.c
30
map__zput(al->map);
tools/perf/util/addr_location.c
31
thread__zput(al->thread);
tools/perf/util/addr_location.c
7
void addr_location__init(struct addr_location *al)
tools/perf/util/addr_location.c
9
al->thread = NULL;
tools/perf/util/addr_location.h
29
void addr_location__init(struct addr_location *al);
tools/perf/util/addr_location.h
30
void addr_location__exit(struct addr_location *al);
tools/perf/util/annotate-arch/annotate-powerpc.c
355
u32 insn_offset = dl->al.offset;
tools/perf/util/annotate-arch/annotate-x86.c
226
u32 insn_offset = dl->al.offset;
tools/perf/util/annotate-arch/annotate-x86.c
255
dloc->ms->sym->start + dl->al.offset);
tools/perf/util/annotate-arch/annotate-x86.c
287
u64 ip = ms->sym->start + dl->al.offset;
tools/perf/util/annotate-arch/annotate-x86.c
488
u64 ip = dloc->ms->sym->start + dl->al.offset;
tools/perf/util/annotate-arch/annotate-x86.c
505
u64 ip = dloc->ms->sym->start + dl->al.offset;
tools/perf/util/annotate-arch/annotate-x86.c
654
u64 ip = ms->sym->start + dl->al.offset;
tools/perf/util/annotate-arch/annotate-x86.c
679
u64 ip = dloc->ms->sym->start + dl->al.offset;
tools/perf/util/annotate-data.c
1040
last_bb->end->al.offset, first_bb->begin->al.offset);
tools/perf/util/annotate-data.c
1052
last_bb->end = list_prev_entry(last_bb->end, al.node);
tools/perf/util/annotate-data.c
1116
u32 insn_offset = dl->al.offset;
tools/perf/util/annotate-data.c
1394
BUG_ON(bb->begin->al.offset == -1 || bb->end->al.offset == -1);
tools/perf/util/annotate-data.c
1397
bb->begin->al.offset, bb->end->al.offset);
tools/perf/util/annotate-data.c
1399
list_for_each_entry_from(dl, ¬es->src->source, al.node) {
tools/perf/util/annotate-data.c
1400
u64 this_ip = sym->start + dl->al.offset;
tools/perf/util/annotate-data.c
1404
if (dl->al.offset == -1)
tools/perf/util/annotate-data.c
1408
update_var_state(&state, dloc, addr, dl->al.offset, var_types);
tools/perf/util/annotate-data.c
729
struct addr_location al;
tools/perf/util/annotate-data.c
736
addr_location__init(&al);
tools/perf/util/annotate-data.c
738
mem_addr, &al);
tools/perf/util/annotate-data.c
742
*var_offset = mem_addr - map__unmap_ip(al.map, sym->start);
tools/perf/util/annotate-data.c
746
addr_location__exit(&al);
tools/perf/util/annotate.c
1061
static void insert_source_line(struct rb_root *root, struct annotation_line *al)
tools/perf/util/annotate.c
1073
ret = strcmp(iter->path, al->path);
tools/perf/util/annotate.c
1075
for (i = 0; i < al->data_nr; i++) {
tools/perf/util/annotate.c
1076
iter->data[i].percent_sum += annotation_data__percent(&al->data[i],
tools/perf/util/annotate.c
1088
for (i = 0; i < al->data_nr; i++) {
tools/perf/util/annotate.c
1089
al->data[i].percent_sum = annotation_data__percent(&al->data[i],
tools/perf/util/annotate.c
1093
rb_link_node(&al->rb_node, parent, p);
tools/perf/util/annotate.c
1094
rb_insert_color(&al->rb_node, root);
tools/perf/util/annotate.c
1110
static void __resort_source_line(struct rb_root *root, struct annotation_line *al)
tools/perf/util/annotate.c
1120
if (cmp_source_line(al, iter))
tools/perf/util/annotate.c
1126
rb_link_node(&al->rb_node, parent, p);
tools/perf/util/annotate.c
1127
rb_insert_color(&al->rb_node, root);
tools/perf/util/annotate.c
1132
struct annotation_line *al;
tools/perf/util/annotate.c
1139
al = rb_entry(node, struct annotation_line, rb_node);
tools/perf/util/annotate.c
1143
__resort_source_line(dest_root, al);
tools/perf/util/annotate.c
1150
struct annotation_line *al;
tools/perf/util/annotate.c
1168
al = rb_entry(node, struct annotation_line, rb_node);
tools/perf/util/annotate.c
1169
for (i = 0; i < al->data_nr; i++) {
tools/perf/util/annotate.c
1170
percent = al->data[i].percent_sum;
tools/perf/util/annotate.c
1178
path = al->path;
tools/perf/util/annotate.c
1371
struct annotation_line *al;
tools/perf/util/annotate.c
1378
list_for_each_entry(al, ¬es->src->source, node) {
tools/perf/util/annotate.c
1379
if (annotation_line__filter(al))
tools/perf/util/annotate.c
1381
annotation_line__write(al, notes, &wops, apd);
tools/perf/util/annotate.c
1440
struct annotation_line *al;
tools/perf/util/annotate.c
1443
list_for_each_entry(al, ¬es->src->source, node) {
tools/perf/util/annotate.c
1446
if (al->offset == -1)
tools/perf/util/annotate.c
1449
entry = annotated_source__hist_entry(notes->src, evsel, al->offset);
tools/perf/util/annotate.c
1460
struct annotation_line *al, *n;
tools/perf/util/annotate.c
1462
list_for_each_entry_safe(al, n, &as->source, node) {
tools/perf/util/annotate.c
1463
list_del_init(&al->node);
tools/perf/util/annotate.c
1464
disasm_line__free(disasm_line(al));
tools/perf/util/annotate.c
1473
if (dl->al.offset == -1)
tools/perf/util/annotate.c
1474
return fprintf(fp, "%s\n", dl->al.line);
tools/perf/util/annotate.c
1476
printed = fprintf(fp, "%#" PRIx64 " %s", dl->al.offset, dl->ins.name);
tools/perf/util/annotate.c
1491
list_for_each_entry(pos, head, al.node)
tools/perf/util/annotate.c
1510
struct annotation_line *al;
tools/perf/util/annotate.c
1516
list_for_each_entry(al, ¬es->src->source, node) {
tools/perf/util/annotate.c
1520
dl = disasm_line(al);
tools/perf/util/annotate.c
1541
struct annotation_line *al;
tools/perf/util/annotate.c
1548
list_for_each_entry(al, &src->source, node) {
tools/perf/util/annotate.c
1549
size_t line_len = strlen(al->line);
tools/perf/util/annotate.c
1553
al->idx = src->nr_entries++;
tools/perf/util/annotate.c
1554
if (al->offset != -1)
tools/perf/util/annotate.c
1555
al->idx_asm = src->nr_asm_entries++;
tools/perf/util/annotate.c
1557
al->idx_asm = -1;
tools/perf/util/annotate.c
1573
struct annotation_line *al;
tools/perf/util/annotate.c
1575
list_for_each_entry(al, ¬es->src->source, node) {
tools/perf/util/annotate.c
1576
if (al->offset == -1)
tools/perf/util/annotate.c
1579
len = strlen(disasm_line(al)->ins.name);
tools/perf/util/annotate.c
1627
struct annotation_line *al;
tools/perf/util/annotate.c
1630
list_for_each_entry(al, ¬es->src->source, node) {
tools/perf/util/annotate.c
1635
for (i = 0; i < al->data_nr; i++) {
tools/perf/util/annotate.c
1638
percent = annotation_data__percent(&al->data[i],
tools/perf/util/annotate.c
1649
al->path = get_srcline(map__dso(ms->map), addr + al->offset, NULL,
tools/perf/util/annotate.c
1650
false, true, ms->sym->start + al->offset);
tools/perf/util/annotate.c
1651
insert_source_line(&tmp_root, al);
tools/perf/util/annotate.c
1743
static double annotation_line__max_percent(struct annotation_line *al,
tools/perf/util/annotate.c
1749
for (i = 0; i < al->data_nr; i++) {
tools/perf/util/annotate.c
1752
percent = annotation_data__percent(&al->data[i],
tools/perf/util/annotate.c
1773
fwd = dl->ops.target.offset > dl->al.offset;
tools/perf/util/annotate.c
1975
hashmap__find(apd->type_hash, dl->al.offset, &entry);
tools/perf/util/annotate.c
1990
hashmap__add(apd->type_hash, dl->al.offset, entry);
tools/perf/util/annotate.c
2009
void annotation_line__write(struct annotation_line *al, struct annotation *notes,
tools/perf/util/annotate.c
2015
double percent_max = annotation_line__max_percent(al, annotate_opts.percent_type);
tools/perf/util/annotate.c
2029
if (wops->first_line && (al->offset == -1 || percent_max == 0.0)) {
tools/perf/util/annotate.c
2030
if (notes->branch && al->cycles) {
tools/perf/util/annotate.c
2031
if (al->cycles->ipc == 0.0 && al->cycles->avg == 0)
tools/perf/util/annotate.c
2037
if (al->offset != -1 && percent_max != 0.0) {
tools/perf/util/annotate.c
2040
for (i = 0; i < al->data_nr; i++) {
tools/perf/util/annotate.c
2043
percent = annotation_data__percent(&al->data[i],
tools/perf/util/annotate.c
2048
obj__printf(obj, "%11" PRIu64 " ", al->data[i].he.period);
tools/perf/util/annotate.c
2051
al->data[i].he.nr_samples);
tools/perf/util/annotate.c
2070
if (al->cycles && al->cycles->ipc)
tools/perf/util/annotate.c
2071
obj__printf(obj, "%*.2f ", ANNOTATION__IPC_WIDTH - 1, al->cycles->ipc);
tools/perf/util/annotate.c
2078
if (al->cycles && al->cycles->avg)
tools/perf/util/annotate.c
2080
ANNOTATION__CYCLES_WIDTH - 1, al->cycles->avg);
tools/perf/util/annotate.c
2089
if (al->cycles) {
tools/perf/util/annotate.c
2094
al->cycles->avg, al->cycles->min,
tools/perf/util/annotate.c
2095
al->cycles->max);
tools/perf/util/annotate.c
2118
if (!annotation_br_cntr_entry(&buf, al->br_cntr_nr, al->br_cntr,
tools/perf/util/annotate.c
2119
al->num_aggr, al->evsel)) {
tools/perf/util/annotate.c
2126
if (show_title && !*al->line) {
tools/perf/util/annotate.c
2136
if (!*al->line)
tools/perf/util/annotate.c
2138
else if (al->offset == -1) {
tools/perf/util/annotate.c
2139
if (al->line_nr && annotate_opts.show_linenr)
tools/perf/util/annotate.c
2141
notes->src->widths.addr + 1, al->line_nr);
tools/perf/util/annotate.c
2147
obj__printf(obj, "%-*s", width, al->line);
tools/perf/util/annotate.c
2149
u64 addr = al->offset;
tools/perf/util/annotate.c
2158
if (al->jump_sources &&
tools/perf/util/annotate.c
2164
al->jump_sources);
tools/perf/util/annotate.c
2165
prev = obj__set_jumps_percent_color(obj, al->jump_sources,
tools/perf/util/annotate.c
2173
} else if (ins__is_call(&disasm_line(al)->ins) &&
tools/perf/util/annotate.c
2192
printed = disasm_line__write(disasm_line(al), notes, obj, bf, sizeof(bf),
tools/perf/util/annotate.c
2198
disasm_line__snprint_type_info(disasm_line(al), bf, sizeof(bf), apd);
tools/perf/util/annotate.c
2632
list_for_each_entry(dl, ¬es->src->source, al.node) {
tools/perf/util/annotate.c
2633
if (dl->al.offset == -1)
tools/perf/util/annotate.c
2636
if (sym->start + dl->al.offset == ip) {
tools/perf/util/annotate.c
2721
if (curr == list_first_entry(sources, struct disasm_line, al.node))
tools/perf/util/annotate.c
2724
prev = list_prev_entry(curr, al.node);
tools/perf/util/annotate.c
2725
while (prev->al.offset == -1 &&
tools/perf/util/annotate.c
2726
prev != list_first_entry(sources, struct disasm_line, al.node))
tools/perf/util/annotate.c
2727
prev = list_prev_entry(prev, al.node);
tools/perf/util/annotate.c
2729
if (prev->al.offset == -1)
tools/perf/util/annotate.c
2741
if (curr == list_last_entry(sources, struct disasm_line, al.node))
tools/perf/util/annotate.c
2744
next = list_next_entry(curr, al.node);
tools/perf/util/annotate.c
2745
while (next->al.offset == -1 &&
tools/perf/util/annotate.c
2746
next != list_last_entry(sources, struct disasm_line, al.node))
tools/perf/util/annotate.c
2747
next = list_next_entry(next, al.node);
tools/perf/util/annotate.c
2749
if (next->al.offset == -1)
tools/perf/util/annotate.c
2774
addr = ip + (next->al.offset - dl->al.offset) + offset;
tools/perf/util/annotate.c
2834
.ip = ms->sym->start + dl->al.offset,
tools/perf/util/annotate.c
2963
if (dl->al.offset > 0) {
tools/perf/util/annotate.c
3006
s64 begin_offset = link->bb->begin->al.offset;
tools/perf/util/annotate.c
3007
s64 end_offset = link->bb->end->al.offset;
tools/perf/util/annotate.c
3018
s64 offset = dl->al.offset;
tools/perf/util/annotate.c
3072
if (basic_block_has_offset(&bb_data->visited, dl->al.offset))
tools/perf/util/annotate.c
3076
struct disasm_line, al.node);
tools/perf/util/annotate.c
3077
if (last_dl->al.offset == -1)
tools/perf/util/annotate.c
3083
list_for_each_entry_from(dl, ¬es->src->source, al.node) {
tools/perf/util/annotate.c
3085
if (dl->al.offset == -1)
tools/perf/util/annotate.c
3088
if (sym->start + dl->al.offset == target) {
tools/perf/util/annotate.c
435
struct annotation_line *al;
tools/perf/util/annotate.c
437
list_for_each_entry(al, &src->source, node) {
tools/perf/util/annotate.c
438
if (al->offset == offset)
tools/perf/util/annotate.c
439
return al;
tools/perf/util/annotate.c
446
struct annotation_line *al;
tools/perf/util/annotate.c
449
al = annotated_source__get_line(notes->src, start);
tools/perf/util/annotate.c
450
if (al == NULL)
tools/perf/util/annotate.c
453
list_for_each_entry_from(al, ¬es->src->source, node) {
tools/perf/util/annotate.c
454
if (al->offset == -1)
tools/perf/util/annotate.c
456
if ((u64)al->offset > end)
tools/perf/util/annotate.c
479
struct annotation_line *al;
tools/perf/util/annotate.c
487
al = annotated_source__get_line(notes->src, start);
tools/perf/util/annotate.c
488
if (al == NULL)
tools/perf/util/annotate.c
491
list_for_each_entry_from(al, ¬es->src->source, node) {
tools/perf/util/annotate.c
492
if (al->offset == -1)
tools/perf/util/annotate.c
494
if ((u64)al->offset > end)
tools/perf/util/annotate.c
496
if (al->cycles && al->cycles->ipc == 0.0) {
tools/perf/util/annotate.c
497
al->cycles->ipc = ipc;
tools/perf/util/annotate.c
532
struct annotation_line *al;
tools/perf/util/annotate.c
534
al = annotated_source__get_line(notes->src, offset);
tools/perf/util/annotate.c
535
if (al && al->cycles == NULL) {
tools/perf/util/annotate.c
536
al->cycles = zalloc(sizeof(*al->cycles));
tools/perf/util/annotate.c
537
if (al->cycles == NULL) {
tools/perf/util/annotate.c
544
if (al && ch->num_aggr) {
tools/perf/util/annotate.c
545
al->cycles->avg = ch->cycles_aggr / ch->num_aggr;
tools/perf/util/annotate.c
546
al->cycles->max = ch->cycles_max;
tools/perf/util/annotate.c
547
al->cycles->min = ch->cycles_min;
tools/perf/util/annotate.c
549
if (al && notes->branch->br_cntr) {
tools/perf/util/annotate.c
550
if (!al->br_cntr) {
tools/perf/util/annotate.c
551
al->br_cntr = calloc(br_cntr_nr, sizeof(u64));
tools/perf/util/annotate.c
552
if (!al->br_cntr) {
tools/perf/util/annotate.c
557
al->num_aggr = ch->num_aggr;
tools/perf/util/annotate.c
558
al->br_cntr_nr = br_cntr_nr;
tools/perf/util/annotate.c
559
al->evsel = evsel;
tools/perf/util/annotate.c
560
memcpy(al->br_cntr, ¬es->branch->br_cntr[offset * br_cntr_nr],
tools/perf/util/annotate.c
571
struct annotation_line *al;
tools/perf/util/annotate.c
573
al = annotated_source__get_line(notes->src, offset);
tools/perf/util/annotate.c
574
if (al) {
tools/perf/util/annotate.c
575
zfree(&al->cycles);
tools/perf/util/annotate.c
576
zfree(&al->br_cntr);
tools/perf/util/annotate.c
655
void annotation_line__add(struct annotation_line *al, struct list_head *head)
tools/perf/util/annotate.c
657
list_add_tail(&al->node, head);
tools/perf/util/annotate.c
754
s64 offset = dl->al.offset;
tools/perf/util/annotate.c
760
color_fprintf(stdout, annotate__asm_color(br), "%s", dl->al.line);
tools/perf/util/annotate.c
782
annotation_line__print(struct annotation_line *al, struct annotation_print_data *apd,
tools/perf/util/annotate.c
787
struct disasm_line *dl = container_of(al, struct disasm_line, al);
tools/perf/util/annotate.c
793
if (al->offset != -1) {
tools/perf/util/annotate.c
798
for (i = 0; i < al->data_nr; i++) {
tools/perf/util/annotate.c
801
percent = annotation_data__percent(&al->data[i],
tools/perf/util/annotate.c
808
if (al->data_nr > nr_percent)
tools/perf/util/annotate.c
809
nr_percent = al->data_nr;
tools/perf/util/annotate.c
824
if (queue == al)
tools/perf/util/annotate.c
834
struct annotation_data *data = &al->data[i];
tools/perf/util/annotate.c
883
if (al->path) {
tools/perf/util/annotate.c
884
if (!prev_line || strcmp(prev_line, al->path)) {
tools/perf/util/annotate.c
885
color_fprintf(stdout, color, " // %s", al->path);
tools/perf/util/annotate.c
886
prev_line = al->path;
tools/perf/util/annotate.c
899
if (!*al->line)
tools/perf/util/annotate.c
903
al->line_nr, al->line);
tools/perf/util/annotate.c
949
struct annotation_line *al, *next;
tools/perf/util/annotate.c
952
list_for_each_entry(al, ¬es->src->source, node) {
tools/perf/util/annotate.c
956
if (al->offset == -1)
tools/perf/util/annotate.c
959
next = annotation_line__next(al, ¬es->src->source);
tools/perf/util/annotate.c
965
BUG_ON(i >= al->data_nr);
tools/perf/util/annotate.c
971
data = &al->data[i++];
tools/perf/util/annotate.c
973
calc_percent(notes, evsel, data, al->offset, end);
tools/perf/util/annotate.h
140
struct annotation_line al;
tools/perf/util/annotate.h
145
void annotation_line__add(struct annotation_line *al, struct list_head *head);
tools/perf/util/annotate.h
168
static inline struct disasm_line *disasm_line(struct annotation_line *al)
tools/perf/util/annotate.h
170
return al ? container_of(al, struct disasm_line, al) : NULL;
tools/perf/util/annotate.h
213
void annotation_line__write(struct annotation_line *al, struct annotation *notes,
tools/perf/util/annotate.h
384
static inline bool annotation_line__filter(struct annotation_line *al)
tools/perf/util/annotate.h
386
return annotate_opts.hide_src_code && al->offset == -1;
tools/perf/util/aslr.c
144
struct addr_location al;
tools/perf/util/aslr.c
155
addr_location__init(&al);
tools/perf/util/aslr.c
156
if (!thread__find_map(aslr_thread, cpumode, addr, &al)) {
tools/perf/util/aslr.c
170
if (!thread__find_map(aslr_thread, effective_cpumode, addr, &al)) {
tools/perf/util/aslr.c
171
addr_location__exit(&al);
tools/perf/util/aslr.c
176
dso = map__dso(al.map);
tools/perf/util/aslr.c
182
key.invariant = map__start(al.map) - map__pgoff(al.map);
tools/perf/util/aslr.c
184
key.invariant = map__start(al.map);
tools/perf/util/aslr.c
190
remap_addr = *remapped_invariant_ptr + map__pgoff(al.map) +
tools/perf/util/aslr.c
191
(addr - map__start(al.map));
tools/perf/util/aslr.c
194
addr, map__start(al.map), map__size(al.map), key.pid);
tools/perf/util/aslr.c
197
addr_location__exit(&al);
tools/perf/util/aslr.c
258
struct addr_location al;
tools/perf/util/aslr.c
282
addr_location__init(&al);
tools/perf/util/aslr.c
287
if (thread__find_map(aslr_thread, cpumode, start, &al)) {
tools/perf/util/aslr.c
288
struct dso *dso = map__dso(al.map);
tools/perf/util/aslr.c
293
remap_key.invariant = map__start(al.map) - map__pgoff(al.map);
tools/perf/util/aslr.c
295
remap_key.invariant = map__start(al.map);
tools/perf/util/aslr.c
309
if (al.map) {
tools/perf/util/aslr.c
315
remap_addr = *remapped_invariant_ptr + map__pgoff(al.map) +
tools/perf/util/aslr.c
316
(start - map__start(al.map));
tools/perf/util/aslr.c
332
addr_location__exit(&al);
tools/perf/util/aslr.c
388
addr_location__exit(&al);
tools/perf/util/aslr.c
402
if (al.map) {
tools/perf/util/aslr.c
404
(start - map__start(al.map)) -
tools/perf/util/aslr.c
405
map__pgoff(al.map);
tools/perf/util/aslr.c
415
*new_remap_val = remap_addr - (al.map ? (start - map__start(al.map)) +
tools/perf/util/aslr.c
416
map__pgoff(al.map) : pgoff);
tools/perf/util/aslr.c
427
addr_location__exit(&al);
tools/perf/util/aslr.c
430
addr_location__exit(&al);
tools/perf/util/block-info.c
134
static struct addr_location al;
tools/perf/util/block-info.c
140
memset(&al, 0, sizeof(al));
tools/perf/util/block-info.c
141
al.map = he->ms.map;
tools/perf/util/block-info.c
142
al.sym = he->ms.sym;
tools/perf/util/block-info.c
164
&al, bi);
tools/perf/util/build-id.c
61
struct addr_location al;
tools/perf/util/build-id.c
71
addr_location__init(&al);
tools/perf/util/build-id.c
72
if (thread__find_map(thread, sample->cpumode, sample->ip, &al))
tools/perf/util/build-id.c
73
dso__set_hit(map__dso(al.map));
tools/perf/util/build-id.c
75
addr_location__exit(&al);
tools/perf/util/callchain.c
1173
struct addr_location *al,
tools/perf/util/callchain.c
1181
return thread__resolve_callchain(al->thread, cursor, sample,
tools/perf/util/callchain.c
1182
parent, al, max_stack);
tools/perf/util/callchain.c
1195
int fill_callchain_info(struct addr_location *al, struct callchain_cursor_node *node,
tools/perf/util/callchain.c
1203
map__put(al->map);
tools/perf/util/callchain.c
1204
al->map = map__get(node->ms.map);
tools/perf/util/callchain.c
1205
al->sym = node->ms.sym;
tools/perf/util/callchain.c
1206
al->srcline = node->srcline;
tools/perf/util/callchain.c
1207
al->addr = node->ip;
tools/perf/util/callchain.c
1209
if (al->sym == NULL) {
tools/perf/util/callchain.c
1212
if (al->map == NULL)
tools/perf/util/callchain.c
1215
if (maps__equal(thread__maps(al->thread), machine__kernel_maps(machine))) {
tools/perf/util/callchain.c
1217
al->cpumode = PERF_RECORD_MISC_KERNEL;
tools/perf/util/callchain.c
1218
al->level = 'k';
tools/perf/util/callchain.c
1220
al->cpumode = PERF_RECORD_MISC_GUEST_KERNEL;
tools/perf/util/callchain.c
1221
al->level = 'g';
tools/perf/util/callchain.c
1225
al->cpumode = PERF_RECORD_MISC_USER;
tools/perf/util/callchain.c
1226
al->level = '.';
tools/perf/util/callchain.c
1228
al->cpumode = PERF_RECORD_MISC_GUEST_USER;
tools/perf/util/callchain.c
1229
al->level = 'u';
tools/perf/util/callchain.c
1231
al->cpumode = PERF_RECORD_MISC_HYPERVISOR;
tools/perf/util/callchain.c
1232
al->level = 'H';
tools/perf/util/callchain.h
246
struct addr_location *al,
tools/perf/util/callchain.h
249
int fill_callchain_info(struct addr_location *al, struct callchain_cursor_node *node,
tools/perf/util/capstone.c
229
struct addr_location al;
tools/perf/util/capstone.c
235
addr_location__init(&al);
tools/perf/util/capstone.c
237
thread__find_symbol(thread, cpumode, op->imm, &al)) {
tools/perf/util/capstone.c
239
printed += symbol__fprintf_symname_offs(al.sym, &al, fp);
tools/perf/util/capstone.c
242
addr_location__exit(&al);
tools/perf/util/capstone.c
245
addr_location__exit(&al);
tools/perf/util/capstone.c
408
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/capstone.c
440
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/capstone.c
451
dl = list_first_entry(list, struct disasm_line, al.node);
tools/perf/util/capstone.c
453
list_del_init(&dl->al.node);
tools/perf/util/capstone.c
476
list_for_each_entry_safe(dl, tmp, ¬es->src->source, al.node) {
tools/perf/util/capstone.c
477
list_del(&dl->al.node);
tools/perf/util/capstone.c
564
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/capstone.c
585
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/capstone.c
596
dl = list_first_entry(list, struct disasm_line, al.node);
tools/perf/util/capstone.c
598
list_del_init(&dl->al.node);
tools/perf/util/cs-etm.c
1110
struct addr_location al;
tools/perf/util/cs-etm.c
1117
addr_location__init(&al);
tools/perf/util/cs-etm.c
1138
if (!thread__find_map(thread, cpumode, address, &al))
tools/perf/util/cs-etm.c
1141
dso = map__dso(al.map);
tools/perf/util/cs-etm.c
1149
offset = map__map_ip(al.map, address);
tools/perf/util/cs-etm.c
1151
map__load(al.map);
tools/perf/util/cs-etm.c
1169
addr_location__exit(&al);
tools/perf/util/data-convert-json.c
133
u64 ip, struct addr_location *al)
tools/perf/util/data-convert-json.c
141
if (al && al->sym && al->sym->namelen) {
tools/perf/util/data-convert-json.c
142
struct dso *dso = al->map ? map__dso(al->map) : NULL;
tools/perf/util/data-convert-json.c
145
output_json_key_string(out, false, 5, "symbol", al->sym->name);
tools/perf/util/data-convert-json.c
167
struct addr_location al;
tools/perf/util/data-convert-json.c
171
addr_location__init(&al);
tools/perf/util/data-convert-json.c
172
if (machine__resolve(machine, &al, sample) < 0) {
tools/perf/util/data-convert-json.c
174
addr_location__exit(&al);
tools/perf/util/data-convert-json.c
180
addr_location__exit(&al);
tools/perf/util/data-convert-json.c
193
output_json_key_format(out, true, 3, "pid", "%i", thread__pid(al.thread));
tools/perf/util/data-convert-json.c
194
output_json_key_format(out, true, 3, "tid", "%i", thread__tid(al.thread));
tools/perf/util/data-convert-json.c
198
else if (thread__cpu(al.thread) >= 0)
tools/perf/util/data-convert-json.c
199
output_json_key_format(out, true, 3, "cpu", "%i", thread__cpu(al.thread));
tools/perf/util/data-convert-json.c
201
output_json_key_string(out, true, 3, "comm", thread__comm_str(al.thread));
tools/perf/util/data-convert-json.c
238
ok = thread__find_symbol(al.thread, cpumode, ip, &tal);
tools/perf/util/data-convert-json.c
243
output_sample_callchain_entry(tool, sample->ip, &al);
tools/perf/util/data-convert-json.c
269
addr_location__exit(&al);
tools/perf/util/db-export.c
175
static int db_ids_from_al(struct db_export *dbe, struct addr_location *al,
tools/perf/util/db-export.c
180
if (al->map) {
tools/perf/util/db-export.c
181
struct dso *dso = map__dso(al->map);
tools/perf/util/db-export.c
183
err = db_export__dso(dbe, dso, maps__machine(thread__maps(al->thread)));
tools/perf/util/db-export.c
188
if (!al->sym) {
tools/perf/util/db-export.c
189
al->sym = symbol__new(al->addr, 0, 0, 0, "unknown");
tools/perf/util/db-export.c
190
if (al->sym)
tools/perf/util/db-export.c
191
dso__insert_symbol(dso, al->sym);
tools/perf/util/db-export.c
194
if (al->sym) {
tools/perf/util/db-export.c
195
u64 *db_id = symbol__priv(al->sym);
tools/perf/util/db-export.c
197
err = db_export__symbol(dbe, al->sym, dso);
tools/perf/util/db-export.c
201
*offset = al->addr - al->sym->start;
tools/perf/util/db-export.c
239
struct addr_location al;
tools/perf/util/db-export.c
252
addr_location__init(&al);
tools/perf/util/db-export.c
253
al.sym = node->ms.sym;
tools/perf/util/db-export.c
254
al.map = map__get(node->ms.map);
tools/perf/util/db-export.c
255
al.addr = node->ip;
tools/perf/util/db-export.c
256
al.thread = thread__get(thread);
tools/perf/util/db-export.c
258
if (al.map && !al.sym)
tools/perf/util/db-export.c
259
al.sym = dso__find_symbol(map__dso(al.map), al.addr);
tools/perf/util/db-export.c
261
db_ids_from_al(dbe, &al, &dso_db_id, &sym_db_id, &offset);
tools/perf/util/db-export.c
265
al.sym, node->ip,
tools/perf/util/db-export.c
269
addr_location__exit(&al);
tools/perf/util/db-export.c
348
struct addr_location *al, struct addr_location *addr_al)
tools/perf/util/db-export.c
350
struct thread *thread = al->thread;
tools/perf/util/db-export.c
354
.al = al,
tools/perf/util/db-export.c
385
err = db_ids_from_al(dbe, al, &es.dso_db_id, &es.sym_db_id, &es.offset);
tools/perf/util/db-export.c
404
err = thread_stack__process(thread, comm, sample, al,
tools/perf/util/db-export.h
28
struct addr_location *al;
tools/perf/util/db-export.h
99
struct addr_location *al, struct addr_location *addr_al);
tools/perf/util/debug.c
337
struct addr_location al;
tools/perf/util/debug.c
341
addr_location__init(&al);
tools/perf/util/debug.c
342
if (thread && thread__find_map(thread, PERF_RECORD_MISC_USER, addr, &al)) {
tools/perf/util/debug.c
343
al.sym = map__find_symbol(al.map, al.addr);
tools/perf/util/debug.c
344
if (al.sym) {
tools/perf/util/debug.c
345
fprintf(file, " #%zd %p in %s ", i, stackdump[i], al.sym->name);
tools/perf/util/debug.c
352
map__fprintf_srcline(al.map, al.addr, "", file);
tools/perf/util/debug.c
354
addr_location__exit(&al);
tools/perf/util/disasm.c
1078
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/disasm.c
1089
dl = list_entry(list->prev, struct disasm_line, al.node);
tools/perf/util/disasm.c
1095
if (!strstr(dl->al.line, " nop ") &&
tools/perf/util/disasm.c
1096
!strstr(dl->al.line, " nopl ") &&
tools/perf/util/disasm.c
1097
!strstr(dl->al.line, " nopw "))
tools/perf/util/disasm.c
1101
list_del_init(&dl->al.node);
tools/perf/util/disasm.c
1282
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/disasm.c
1294
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/disasm.c
1304
dl = list_first_entry(list, struct disasm_line, al.node);
tools/perf/util/disasm.c
1306
list_del_init(&dl->al.node);
tools/perf/util/disasm.c
1392
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/disasm.c
873
char *line = dl->al.line;
tools/perf/util/disasm.c
905
static void annotation_line__init(struct annotation_line *al,
tools/perf/util/disasm.c
909
al->offset = args->offset;
tools/perf/util/disasm.c
910
al->line = strdup(args->line);
tools/perf/util/disasm.c
911
al->line_nr = args->line_nr;
tools/perf/util/disasm.c
912
al->fileloc = args->fileloc ? strdup(args->fileloc) : NULL;
tools/perf/util/disasm.c
913
al->data_nr = nr;
tools/perf/util/disasm.c
916
static void annotation_line__exit(struct annotation_line *al)
tools/perf/util/disasm.c
918
zfree_srcline(&al->path);
tools/perf/util/disasm.c
919
zfree(&al->fileloc);
tools/perf/util/disasm.c
920
zfree(&al->line);
tools/perf/util/disasm.c
921
zfree(&al->cycles);
tools/perf/util/disasm.c
922
zfree(&al->br_cntr);
tools/perf/util/disasm.c
927
struct annotation_line *al;
tools/perf/util/disasm.c
929
return (sizeof(struct disasm_line) + (sizeof(al->data[0]) * nr));
tools/perf/util/disasm.c
953
annotation_line__init(&dl->al, args, nr);
tools/perf/util/disasm.c
954
if (dl->al.line == NULL)
tools/perf/util/disasm.c
961
} else if (disasm_line__parse(dl->al.line, &dl->ins.name, &dl->ops.raw) < 0)
tools/perf/util/disasm.c
970
annotation_line__exit(&dl->al);
tools/perf/util/disasm.c
982
annotation_line__exit(&dl->al);
tools/perf/util/dlfilter.c
102
al = get_al(d);
tools/perf/util/dlfilter.c
103
if (!al)
tools/perf/util/dlfilter.c
106
al_to_d_al(al, d_al);
tools/perf/util/dlfilter.c
109
d_al->comm = al->thread ? thread__comm_str(al->thread) : ":-1";
tools/perf/util/dlfilter.c
110
d_al->filtered = al->filtered;
tools/perf/util/dlfilter.c
168
struct addr_location al;
tools/perf/util/dlfilter.c
179
addr_location__init(&al);
tools/perf/util/dlfilter.c
180
thread__find_symbol_fb(thread, d->sample->cpumode, address, &al);
tools/perf/util/dlfilter.c
182
al_to_d_al(&al, &d_al);
tools/perf/util/dlfilter.c
191
d_al_p->priv = memdup(&al, sizeof(al));
tools/perf/util/dlfilter.c
193
addr_location__exit(&al);
tools/perf/util/dlfilter.c
200
struct addr_location *al;
tools/perf/util/dlfilter.c
206
al = d_al_p->priv;
tools/perf/util/dlfilter.c
210
addr_location__exit(al);
tools/perf/util/dlfilter.c
212
free(al);
tools/perf/util/dlfilter.c
228
struct addr_location *al = d->al;
tools/perf/util/dlfilter.c
230
if (!al->thread && machine__resolve(d->machine, al, d->sample) < 0)
tools/perf/util/dlfilter.c
233
if (thread__maps(al->thread)) {
tools/perf/util/dlfilter.c
234
struct machine *machine = maps__machine(thread__maps(al->thread));
tools/perf/util/dlfilter.c
237
perf_sample__fetch_insn(d->sample, al->thread, machine);
tools/perf/util/dlfilter.c
252
struct addr_location *al;
tools/perf/util/dlfilter.c
262
al = get_al(d);
tools/perf/util/dlfilter.c
263
if (!al)
tools/perf/util/dlfilter.c
266
map = al->map;
tools/perf/util/dlfilter.c
267
addr = al->addr;
tools/perf/util/dlfilter.c
28
static void al_to_d_al(struct addr_location *al, struct perf_dlfilter_al *d_al)
tools/perf/util/dlfilter.c
30
struct symbol *sym = al->sym;
tools/perf/util/dlfilter.c
300
struct addr_location *al;
tools/perf/util/dlfilter.c
307
al = get_al(d);
tools/perf/util/dlfilter.c
308
if (!al)
tools/perf/util/dlfilter.c
311
if (al->map && ip >= map__start(al->map) && ip < map__end(al->map) &&
tools/perf/util/dlfilter.c
313
return code_read(ip, al->map, d->machine, buf, len);
tools/perf/util/dlfilter.c
317
thread__find_map_fb(al->thread, d->sample->cpumode, ip, &a);
tools/perf/util/dlfilter.c
33
if (al->map) {
tools/perf/util/dlfilter.c
34
struct dso *dso = map__dso(al->map);
tools/perf/util/dlfilter.c
495
struct addr_location *al,
tools/perf/util/dlfilter.c
508
d->al = al;
tools/perf/util/dlfilter.c
53
if (al->addr < sym->end)
tools/perf/util/dlfilter.c
54
d_al->symoff = al->addr - sym->start;
tools/perf/util/dlfilter.c
55
else if (al->map)
tools/perf/util/dlfilter.c
56
d_al->symoff = al->addr - map__start(al->map) - sym->start;
tools/perf/util/dlfilter.c
67
d_al->addr = al->addr;
tools/perf/util/dlfilter.c
75
struct addr_location *al = d->al;
tools/perf/util/dlfilter.c
77
if (!al->thread && machine__resolve(d->machine, al, d->sample) < 0)
tools/perf/util/dlfilter.c
79
return al;
tools/perf/util/dlfilter.c
84
struct addr_location *al = get_al(d);
tools/perf/util/dlfilter.c
86
return al ? al->thread : NULL;
tools/perf/util/dlfilter.c
93
struct addr_location *al;
tools/perf/util/dlfilter.h
35
struct addr_location *al;
tools/perf/util/dlfilter.h
63
struct addr_location *al,
tools/perf/util/dlfilter.h
74
struct addr_location *al,
tools/perf/util/dlfilter.h
79
return dlfilter__do_filter_event(d, event, sample, evsel, machine, al, addr_al, false);
tools/perf/util/dlfilter.h
87
struct addr_location *al,
tools/perf/util/dlfilter.h
92
return dlfilter__do_filter_event(d, event, sample, evsel, machine, al, addr_al, true);
tools/perf/util/event.c
554
struct addr_location al;
tools/perf/util/event.c
556
addr_location__init(&al);
tools/perf/util/event.c
557
al.map = maps__find(machine__kernel_maps(machine), tp->addr);
tools/perf/util/event.c
558
if (al.map && map__load(al.map) >= 0) {
tools/perf/util/event.c
559
al.addr = map__map_ip(al.map, tp->addr);
tools/perf/util/event.c
560
al.sym = map__find_symbol(al.map, al.addr);
tools/perf/util/event.c
561
if (al.sym)
tools/perf/util/event.c
562
ret += symbol__fprintf_symname_offs(al.sym, &al, fp);
tools/perf/util/event.c
564
addr_location__exit(&al);
tools/perf/util/event.c
695
struct addr_location *al)
tools/perf/util/event.c
701
map__zput(al->map);
tools/perf/util/event.c
702
thread__zput(al->thread);
tools/perf/util/event.c
703
al->thread = thread__get(thread);
tools/perf/util/event.c
705
al->addr = addr;
tools/perf/util/event.c
706
al->cpumode = cpumode;
tools/perf/util/event.c
707
al->filtered = 0;
tools/perf/util/event.c
713
al->level = 'k';
tools/perf/util/event.c
717
al->level = '.';
tools/perf/util/event.c
719
al->level = 'g';
tools/perf/util/event.c
723
al->level = 'u';
tools/perf/util/event.c
725
al->level = 'H';
tools/perf/util/event.c
730
al->filtered |= (1 << HIST_FILTER__GUEST);
tools/perf/util/event.c
734
al->filtered |= (1 << HIST_FILTER__HOST);
tools/perf/util/event.c
738
al->map = maps__find(maps, al->addr);
tools/perf/util/event.c
739
if (al->map != NULL) {
tools/perf/util/event.c
745
map__load(al->map);
tools/perf/util/event.c
746
al->addr = map__map_ip(al->map, al->addr);
tools/perf/util/event.c
749
return al->map;
tools/perf/util/event.c
758
struct addr_location *al)
tools/perf/util/event.c
760
struct map *map = thread__find_map(thread, cpumode, addr, al);
tools/perf/util/event.c
767
return thread__find_map(thread, addr_cpumode, addr, al);
tools/perf/util/event.c
771
u64 addr, struct addr_location *al)
tools/perf/util/event.c
773
al->sym = NULL;
tools/perf/util/event.c
774
if (thread__find_map(thread, cpumode, addr, al))
tools/perf/util/event.c
775
al->sym = map__find_symbol(al->map, al->addr);
tools/perf/util/event.c
776
return al->sym;
tools/perf/util/event.c
780
u64 addr, struct addr_location *al)
tools/perf/util/event.c
782
al->sym = NULL;
tools/perf/util/event.c
783
if (thread__find_map_fb(thread, cpumode, addr, al))
tools/perf/util/event.c
784
al->sym = map__find_symbol(al->map, al->addr);
tools/perf/util/event.c
785
return al->sym;
tools/perf/util/event.c
805
int machine__resolve(struct machine *machine, struct addr_location *al,
tools/perf/util/event.c
819
thread__find_map(thread, sample->cpumode, sample->ip, al);
tools/perf/util/event.c
820
dso = al->map ? map__dso(al->map) : NULL;
tools/perf/util/event.c
824
: (al->level == 'H' ? "[hypervisor]" : "<not found>"));
tools/perf/util/event.c
827
al->filtered |= (1 << HIST_FILTER__THREAD);
tools/perf/util/event.c
832
al->sym = NULL;
tools/perf/util/event.c
833
al->cpu = sample->cpu;
tools/perf/util/event.c
834
al->socket = -1;
tools/perf/util/event.c
835
al->srcline = NULL;
tools/perf/util/event.c
837
if (al->cpu >= 0) {
tools/perf/util/event.c
845
if (env && al->cpu < env->nr_cpus_avail) {
tools/perf/util/event.c
848
topo = perf_env__get_cpu_topology(env, (struct perf_cpu){ al->cpu });
tools/perf/util/event.c
850
al->socket = topo->socket_id;
tools/perf/util/event.c
855
al->parallelism = max(1, min(machine->parallelism, machine__nr_cpus_avail(machine)));
tools/perf/util/event.c
856
if (test_bit(al->parallelism, symbol_conf.parallelism_filter))
tools/perf/util/event.c
857
al->filtered |= (1 << HIST_FILTER__PARALLELISM);
tools/perf/util/event.c
863
al->latency = sample->period * 1000 / al->parallelism;
tools/perf/util/event.c
865
if (al->map) {
tools/perf/util/event.c
872
al->filtered |= (1 << HIST_FILTER__DSO);
tools/perf/util/event.c
875
al->sym = map__find_symbol(al->map, al->addr);
tools/perf/util/event.c
877
al->filtered |= (1 << HIST_FILTER__DSO);
tools/perf/util/event.c
885
if (al->sym) {
tools/perf/util/event.c
887
al->sym->name);
tools/perf/util/event.c
889
if (!ret && al->sym) {
tools/perf/util/event.c
891
map__unmap_ip(al->map, al->sym->start));
tools/perf/util/event.c
895
if (!ret && symbol_conf.addr_list && al->map) {
tools/perf/util/event.c
896
unsigned long addr = map__unmap_ip(al->map, al->addr);
tools/perf/util/event.c
907
al->filtered |= (1 << HIST_FILTER__SYMBOL);
tools/perf/util/event.c
934
void thread__resolve(struct thread *thread, struct addr_location *al,
tools/perf/util/event.c
937
thread__find_map_fb(thread, sample->cpumode, sample->addr, al);
tools/perf/util/event.c
939
al->cpu = sample->cpu;
tools/perf/util/event.c
940
al->sym = NULL;
tools/perf/util/event.c
942
if (al->map)
tools/perf/util/event.c
943
al->sym = map__find_symbol(al->map, al->addr);
tools/perf/util/evsel_fprintf.c
216
int sample__fprintf_sym(struct perf_sample *sample, struct addr_location *al,
tools/perf/util/evsel_fprintf.c
241
printed += __symbol__fprintf_symname_offs(al->sym, al,
tools/perf/util/evsel_fprintf.c
245
printed += __symbol__fprintf_symname(al->sym, al,
tools/perf/util/evsel_fprintf.c
251
printed += map__fprintf_dsoname_dsoff(al->map, print_dsoff, al->addr, fp);
tools/perf/util/evsel_fprintf.c
254
printed += map__fprintf_srcline(al->map, al->addr, "\n ", fp);
tools/perf/util/evsel_fprintf.h
41
int sample__fprintf_sym(struct perf_sample *sample, struct addr_location *al,
tools/perf/util/hist.c
1009
struct addr_location *al __maybe_unused)
tools/perf/util/hist.c
1015
iter_next_branch_entry(struct hist_entry_iter *iter, struct addr_location *al)
tools/perf/util/hist.c
1026
thread__put(al->thread);
tools/perf/util/hist.c
1027
al->thread = thread__get(bi[i].to.ms.thread);
tools/perf/util/hist.c
1028
map__put(al->map);
tools/perf/util/hist.c
1029
al->map = map__get(bi[i].to.ms.map);
tools/perf/util/hist.c
1030
al->sym = bi[i].to.ms.sym;
tools/perf/util/hist.c
1031
al->addr = bi[i].to.addr;
tools/perf/util/hist.c
1036
iter_add_next_branch_entry(struct hist_entry_iter *iter, struct addr_location *al)
tools/perf/util/hist.c
1058
he = hists__add_entry(hists, al, iter->parent, &bi[i], NULL, NULL,
tools/perf/util/hist.c
1079
struct addr_location *al __maybe_unused)
tools/perf/util/hist.c
1098
struct addr_location *al __maybe_unused)
tools/perf/util/hist.c
1104
iter_add_single_normal_entry(struct hist_entry_iter *iter, struct addr_location *al)
tools/perf/util/hist.c
1110
he = hists__add_entry(evsel__hists(evsel), al, iter->parent, NULL, NULL,
tools/perf/util/hist.c
1121
struct addr_location *al __maybe_unused)
tools/perf/util/hist.c
1139
struct addr_location *al __maybe_unused)
tools/perf/util/hist.c
1166
struct addr_location *al)
tools/perf/util/hist.c
1175
he = hists__add_entry(hists, al, iter->parent, NULL, NULL, NULL,
tools/perf/util/hist.c
1198
struct addr_location *al)
tools/perf/util/hist.c
1206
return fill_callchain_info(al, node, iter->hide_unresolved);
tools/perf/util/hist.c
1225
struct addr_location *al)
tools/perf/util/hist.c
1233
.cpu = al->cpu,
tools/perf/util/hist.c
1234
.thread = al->thread,
tools/perf/util/hist.c
1235
.comm = thread__comm(al->thread),
tools/perf/util/hist.c
1236
.ip = al->addr,
tools/perf/util/hist.c
1238
.thread = al->thread,
tools/perf/util/hist.c
1239
.map = al->map,
tools/perf/util/hist.c
1240
.sym = al->sym,
tools/perf/util/hist.c
1242
.srcline = (char *) al->srcline,
tools/perf/util/hist.c
1278
he = hists__add_entry(evsel__hists(evsel), al, iter->parent, NULL, NULL,
tools/perf/util/hist.c
1293
struct addr_location *al __maybe_unused)
tools/perf/util/hist.c
1335
int hist_entry_iter__add(struct hist_entry_iter *iter, struct addr_location *al,
tools/perf/util/hist.c
1341
if (al)
tools/perf/util/hist.c
1342
alm = map__get(al->map);
tools/perf/util/hist.c
1345
al, max_stack_depth);
tools/perf/util/hist.c
1351
err = iter->ops->prepare_entry(iter, al);
tools/perf/util/hist.c
1355
err = iter->ops->add_single_entry(iter, al);
tools/perf/util/hist.c
1360
err = iter->add_entry_cb(iter, al, true, arg);
tools/perf/util/hist.c
1365
while (iter->ops->next_entry(iter, al)) {
tools/perf/util/hist.c
1366
err = iter->ops->add_next_entry(iter, al);
tools/perf/util/hist.c
1371
err = iter->add_entry_cb(iter, al, false, arg);
tools/perf/util/hist.c
1378
err2 = iter->ops->finish_entry(iter, al);
tools/perf/util/hist.c
2827
void hist__account_cycles(struct branch_stack *bs, struct addr_location *al,
tools/perf/util/hist.c
2836
bi = sample__resolve_bstack(sample, al);
tools/perf/util/hist.c
684
const struct addr_location *al,
tools/perf/util/hist.c
758
he_stat__add_cpumode_period(&he->stat, al->cpumode, period);
tools/perf/util/hist.c
760
he_stat__add_cpumode_period(he->stat_acc, al->cpumode, period);
tools/perf/util/hist.c
796
struct addr_location *al,
tools/perf/util/hist.c
806
struct namespaces *ns = thread__namespaces(al->thread);
tools/perf/util/hist.c
808
.thread = al->thread,
tools/perf/util/hist.c
809
.comm = thread__comm(al->thread),
tools/perf/util/hist.c
816
.thread = al->thread,
tools/perf/util/hist.c
817
.map = al->map,
tools/perf/util/hist.c
818
.sym = al->sym,
tools/perf/util/hist.c
820
.srcline = (char *) al->srcline,
tools/perf/util/hist.c
821
.socket = al->socket,
tools/perf/util/hist.c
822
.cpu = al->cpu,
tools/perf/util/hist.c
823
.cpumode = al->cpumode,
tools/perf/util/hist.c
824
.ip = al->addr,
tools/perf/util/hist.c
825
.level = al->level,
tools/perf/util/hist.c
827
.parallelism = al->parallelism,
tools/perf/util/hist.c
834
.latency = al->latency,
tools/perf/util/hist.c
837
.filtered = symbol__parent_filter(sym_parent) | al->filtered,
tools/perf/util/hist.c
852
}, *he = hists__findnew_entry(hists, &entry, al, sample_self);
tools/perf/util/hist.c
862
struct addr_location *al,
tools/perf/util/hist.c
870
return __hists__add_entry(hists, al, sym_parent, bi, mi, ki, NULL,
tools/perf/util/hist.c
876
struct addr_location *al,
tools/perf/util/hist.c
884
return __hists__add_entry(hists, al, sym_parent, bi, mi, ki, NULL,
tools/perf/util/hist.c
889
struct addr_location *al,
tools/perf/util/hist.c
896
.thread = al->thread,
tools/perf/util/hist.c
897
.map = al->map,
tools/perf/util/hist.c
898
.sym = al->sym,
tools/perf/util/hist.c
900
}, *he = hists__findnew_entry(hists, &entry, al, false);
tools/perf/util/hist.c
907
struct addr_location *al __maybe_unused)
tools/perf/util/hist.c
914
struct addr_location *al __maybe_unused)
tools/perf/util/hist.c
920
iter_prepare_mem_entry(struct hist_entry_iter *iter, struct addr_location *al)
tools/perf/util/hist.c
925
mi = sample__resolve_mem(sample, al);
tools/perf/util/hist.c
934
iter_add_single_mem_entry(struct hist_entry_iter *iter, struct addr_location *al)
tools/perf/util/hist.c
958
he = hists__add_entry(hists, al, iter->parent, NULL, mi, NULL,
tools/perf/util/hist.c
969
struct addr_location *al __maybe_unused)
tools/perf/util/hist.c
991
iter_prepare_branch_entry(struct hist_entry_iter *iter, struct addr_location *al)
tools/perf/util/hist.c
996
bi = sample__resolve_bstack(sample, al);
tools/perf/util/hist.h
170
struct addr_location *al, bool single, void *arg);
tools/perf/util/hist.h
345
struct addr_location *al,
tools/perf/util/hist.h
355
struct addr_location *al,
tools/perf/util/hist.h
364
struct addr_location *al,
tools/perf/util/hist.h
367
int hist_entry_iter__add(struct hist_entry_iter *iter, struct addr_location *al,
tools/perf/util/hist.h
800
void hist__account_cycles(struct branch_stack *bs, struct addr_location *al,
tools/perf/util/intel-pt.c
1009
addr_location__init(&al);
tools/perf/util/intel-pt.c
1010
if (!thread__find_map(thread, cpumode, ip, &al) || !map__dso(al.map))
tools/perf/util/intel-pt.c
1013
offset = map__map_ip(al.map, ip);
tools/perf/util/intel-pt.c
1015
res = intel_pt_match_pgd_ip(ptq->pt, ip, offset, dso__long_name(map__dso(al.map)));
tools/perf/util/intel-pt.c
1016
addr_location__exit(&al);
tools/perf/util/intel-pt.c
3654
struct addr_location *al)
tools/perf/util/intel-pt.c
3656
if (!al->map || addr < map__start(al->map) || addr >= map__end(al->map)) {
tools/perf/util/intel-pt.c
3657
if (!thread__find_map(thread, cpumode, addr, al))
tools/perf/util/intel-pt.c
3672
struct addr_location al;
tools/perf/util/intel-pt.c
3678
addr_location__init(&al);
tools/perf/util/intel-pt.c
3685
if (intel_pt_find_map(thread, cpumode, addr, &al)) {
tools/perf/util/intel-pt.c
3691
dso = map__dso(al.map);
tools/perf/util/intel-pt.c
3695
offset = map__map_ip(al.map, addr);
tools/perf/util/intel-pt.c
3716
addr_location__exit(&al);
tools/perf/util/intel-pt.c
756
struct addr_location al;
tools/perf/util/intel-pt.c
767
addr_location__init(&al);
tools/perf/util/intel-pt.c
815
if (!thread__find_map(thread, cpumode, *ip, &al) || !map__dso(al.map)) {
tools/perf/util/intel-pt.c
816
if (al.map)
tools/perf/util/intel-pt.c
820
addr_location__exit(&al);
tools/perf/util/intel-pt.c
824
dso = map__dso(al.map);
tools/perf/util/intel-pt.c
832
offset = map__map_ip(al.map, *ip);
tools/perf/util/intel-pt.c
858
map__load(al.map);
tools/perf/util/intel-pt.c
908
if (*ip >= map__end(al.map))
tools/perf/util/intel-pt.c
928
e = intel_pt_cache_lookup(map__dso(al.map), machine, start_offset);
tools/perf/util/intel-pt.c
934
intel_pt_cache_add(map__dso(al.map), machine, start_offset, insn_cnt,
tools/perf/util/intel-pt.c
938
addr_location__exit(&al);
tools/perf/util/intel-pt.c
943
addr_location__exit(&al);
tools/perf/util/intel-pt.c
989
struct addr_location al;
tools/perf/util/kvm-stat.h
88
struct addr_location al;
tools/perf/util/libbfd.c
618
annotation_line__add(&dl->al,
tools/perf/util/libbfd.c
630
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/llvm.c
199
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/llvm.c
260
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/machine.c
2047
struct addr_location al;
tools/perf/util/machine.c
2049
addr_location__init(&al);
tools/perf/util/machine.c
2057
thread__find_cpumode_addr_location(thread, ip, /*symbols=*/true, &al);
tools/perf/util/machine.c
2060
ams->al_addr = al.addr;
tools/perf/util/machine.c
2061
ams->al_level = al.level;
tools/perf/util/machine.c
2062
ams->ms.thread = thread__get(al.thread);
tools/perf/util/machine.c
2063
ams->ms.sym = al.sym;
tools/perf/util/machine.c
2064
ams->ms.map = map__get(al.map);
tools/perf/util/machine.c
2067
addr_location__exit(&al);
tools/perf/util/machine.c
2074
struct addr_location al;
tools/perf/util/machine.c
2076
addr_location__init(&al);
tools/perf/util/machine.c
2078
thread__find_symbol(thread, m, addr, &al);
tools/perf/util/machine.c
2081
ams->al_addr = al.addr;
tools/perf/util/machine.c
2082
ams->al_level = al.level;
tools/perf/util/machine.c
2083
ams->ms.thread = thread__get(al.thread);
tools/perf/util/machine.c
2084
ams->ms.sym = al.sym;
tools/perf/util/machine.c
2085
ams->ms.map = map__get(al.map);
tools/perf/util/machine.c
2088
addr_location__exit(&al);
tools/perf/util/machine.c
2092
struct addr_location *al)
tools/perf/util/machine.c
2099
ip__resolve_ams(al->thread, mem_info__iaddr(mi), sample->ip);
tools/perf/util/machine.c
2100
ip__resolve_data(al->thread, al->cpumode, mem_info__daddr(mi),
tools/perf/util/machine.c
2202
struct addr_location al;
tools/perf/util/machine.c
2207
addr_location__init(&al);
tools/perf/util/machine.c
2208
al.filtered = 0;
tools/perf/util/machine.c
2209
al.sym = NULL;
tools/perf/util/machine.c
2210
al.srcline = NULL;
tools/perf/util/machine.c
2212
thread__find_cpumode_addr_location(thread, ip, symbols, &al);
tools/perf/util/machine.c
2240
thread__find_symbol(thread, *cpumode, ip, &al);
tools/perf/util/machine.c
2242
thread__find_map(thread, *cpumode, ip, &al);
tools/perf/util/machine.c
2245
if (al.sym != NULL) {
tools/perf/util/machine.c
2247
symbol__match_regex(al.sym, &parent_regex))
tools/perf/util/machine.c
2248
*parent = al.sym;
tools/perf/util/machine.c
2250
symbol__match_regex(al.sym, &ignore_callees_regex)) {
tools/perf/util/machine.c
2253
addr_location__copy(root_al, &al);
tools/perf/util/machine.c
2258
if (symbol_conf.hide_unresolved && al.sym == NULL)
tools/perf/util/machine.c
2266
ms.thread = thread__get(al.thread);
tools/perf/util/machine.c
2267
ms.map = map__get(al.map);
tools/perf/util/machine.c
2268
ms.sym = al.sym;
tools/perf/util/machine.c
2274
srcline = callchain_srcline(&ms, al.addr);
tools/perf/util/machine.c
2279
addr_location__exit(&al);
tools/perf/util/machine.c
2285
struct addr_location *al)
tools/perf/util/machine.c
2297
ip__resolve_ams(al->thread, &bi[i].to, entries[i].to);
tools/perf/util/machine.c
2298
ip__resolve_ams(al->thread, &bi[i].from, entries[i].from);
tools/perf/util/machine.h
182
struct addr_location *al);
tools/perf/util/machine.h
184
struct addr_location *al);
tools/perf/util/machine.h
326
int machine__resolve(struct machine *machine, struct addr_location *al,
tools/perf/util/perf-regs-arch/perf_regs_x86.c
27
SDT_NAME_REG(al, ax),
tools/perf/util/print_insn.c
38
static bool is64bitip(struct machine *machine, struct addr_location *al)
tools/perf/util/print_insn.c
40
const struct dso *dso = al->map ? map__dso(al->map) : NULL;
tools/perf/util/print_insn.c
60
struct addr_location *al)
tools/perf/util/print_insn.c
62
bool is64bit = is64bitip(machine, al);
tools/perf/util/print_insn.h
19
struct machine *machine, FILE *fp, struct addr_location *al);
tools/perf/util/scripting-engines/trace-event-perl.c
260
struct addr_location *al)
tools/perf/util/scripting-engines/trace-event-perl.c
274
if (thread__resolve_callchain(al->thread, cursor,
tools/perf/util/scripting-engines/trace-event-perl.c
342
struct addr_location *al)
tools/perf/util/scripting-engines/trace-event-perl.c
344
struct thread *thread = al->thread;
tools/perf/util/scripting-engines/trace-event-perl.c
391
XPUSHs(sv_2mortal(perl_process_callchain(sample, al)));
tools/perf/util/scripting-engines/trace-event-perl.c
428
XPUSHs(sv_2mortal(perl_process_callchain(sample, al)));
tools/perf/util/scripting-engines/trace-event-perl.c
462
struct addr_location *al,
tools/perf/util/scripting-engines/trace-event-perl.c
465
scripting_context__update(scripting_context, event, sample, al, addr_al);
tools/perf/util/scripting-engines/trace-event-perl.c
466
perl_process_tracepoint(sample, al);
tools/perf/util/scripting-engines/trace-event-python.c
1050
all_entries_dict = get_perf_sample_dict(sample, al, addr_al,
tools/perf/util/scripting-engines/trace-event-python.c
1069
struct addr_location *al __maybe_unused,
tools/perf/util/scripting-engines/trace-event-python.c
1311
tuple_set_d64(t, 2, maps__machine(thread__maps(es->al->thread))->db_id);
tools/perf/util/scripting-engines/trace-event-python.c
1312
tuple_set_d64(t, 3, thread__db_id(es->al->thread));
tools/perf/util/scripting-engines/trace-event-python.c
1463
struct addr_location *al,
tools/perf/util/scripting-engines/trace-event-python.c
1485
callchain = python_process_callchain(sample, al);
tools/perf/util/scripting-engines/trace-event-python.c
1486
dict = get_perf_sample_dict(sample, al, addr_al, callchain);
tools/perf/util/scripting-engines/trace-event-python.c
1499
struct addr_location *al,
tools/perf/util/scripting-engines/trace-event-python.c
1504
scripting_context__update(scripting_context, event, sample, al, addr_al);
tools/perf/util/scripting-engines/trace-event-python.c
1508
python_process_tracepoint(sample, al, addr_al);
tools/perf/util/scripting-engines/trace-event-python.c
1513
db_export__sample(&tables->dbe, event, sample, al, addr_al);
tools/perf/util/scripting-engines/trace-event-python.c
1515
python_process_general_event(sample, al, addr_al);
tools/perf/util/scripting-engines/trace-event-python.c
380
static unsigned long get_offset(struct symbol *sym, struct addr_location *al)
tools/perf/util/scripting-engines/trace-event-python.c
384
if (al->addr < sym->end)
tools/perf/util/scripting-engines/trace-event-python.c
385
offset = al->addr - sym->start;
tools/perf/util/scripting-engines/trace-event-python.c
387
offset = al->addr - map__start(al->map) - sym->start;
tools/perf/util/scripting-engines/trace-event-python.c
393
struct addr_location *al)
tools/perf/util/scripting-engines/trace-event-python.c
406
if (thread__resolve_callchain(al->thread, cursor,
tools/perf/util/scripting-engines/trace-event-python.c
500
struct addr_location al;
tools/perf/util/scripting-engines/trace-event-python.c
522
addr_location__init(&al);
tools/perf/util/scripting-engines/trace-event-python.c
524
entries[i].from, &al);
tools/perf/util/scripting-engines/trace-event-python.c
525
dsoname = get_dsoname(al.map);
tools/perf/util/scripting-engines/trace-event-python.c
530
entries[i].to, &al);
tools/perf/util/scripting-engines/trace-event-python.c
531
dsoname = get_dsoname(al.map);
tools/perf/util/scripting-engines/trace-event-python.c
535
addr_location__exit(&al);
tools/perf/util/scripting-engines/trace-event-python.c
544
static int get_symoff(struct symbol *sym, struct addr_location *al,
tools/perf/util/scripting-engines/trace-event-python.c
555
offset = get_offset(sym, al);
tools/perf/util/scripting-engines/trace-event-python.c
589
struct addr_location al;
tools/perf/util/scripting-engines/trace-event-python.c
591
addr_location__init(&al);
tools/perf/util/scripting-engines/trace-event-python.c
597
entries[i].from, &al);
tools/perf/util/scripting-engines/trace-event-python.c
598
get_symoff(al.sym, &al, true, bf, sizeof(bf));
tools/perf/util/scripting-engines/trace-event-python.c
603
entries[i].to, &al);
tools/perf/util/scripting-engines/trace-event-python.c
604
get_symoff(al.sym, &al, true, bf, sizeof(bf));
tools/perf/util/scripting-engines/trace-event-python.c
630
addr_location__exit(&al);
tools/perf/util/scripting-engines/trace-event-python.c
776
static void set_sym_in_dict(PyObject *dict, struct addr_location *al,
tools/perf/util/scripting-engines/trace-event-python.c
782
if (al->map) {
tools/perf/util/scripting-engines/trace-event-python.c
784
struct dso *dso = map__dso(al->map);
tools/perf/util/scripting-engines/trace-event-python.c
792
PyLong_FromUnsignedLong(map__start(al->map)));
tools/perf/util/scripting-engines/trace-event-python.c
794
PyLong_FromUnsignedLong(map__end(al->map)));
tools/perf/util/scripting-engines/trace-event-python.c
796
PyLong_FromUnsignedLongLong(map__pgoff(al->map)));
tools/perf/util/scripting-engines/trace-event-python.c
798
if (al->sym) {
tools/perf/util/scripting-engines/trace-event-python.c
800
_PyUnicode_FromString(al->sym->name));
tools/perf/util/scripting-engines/trace-event-python.c
802
PyLong_FromUnsignedLong(get_offset(al->sym, al)));
tools/perf/util/scripting-engines/trace-event-python.c
830
struct addr_location *al,
tools/perf/util/scripting-engines/trace-event-python.c
883
_PyUnicode_FromString(thread__comm_str(al->thread)));
tools/perf/util/scripting-engines/trace-event-python.c
884
set_sym_in_dict(dict, al, "dso", "dso_bid", "dso_map_start", "dso_map_end",
tools/perf/util/scripting-engines/trace-event-python.c
889
brstack = python_process_brstack(sample, al->thread);
tools/perf/util/scripting-engines/trace-event-python.c
892
brstacksym = python_process_brstacksym(sample, al->thread);
tools/perf/util/scripting-engines/trace-event-python.c
924
if (al->thread)
tools/perf/util/scripting-engines/trace-event-python.c
925
e_machine = thread__e_machine(al->thread, /*machine=*/NULL, &e_flags);
tools/perf/util/scripting-engines/trace-event-python.c
935
struct addr_location *al,
tools/perf/util/scripting-engines/trace-event-python.c
949
const char *comm = thread__comm_str(al->thread);
tools/perf/util/scripting-engines/trace-event-python.c
994
callchain = python_process_callchain(sample, al);
tools/perf/util/symbol.h
227
const struct addr_location *al,
tools/perf/util/symbol.h
231
const struct addr_location *al, FILE *fp);
tools/perf/util/symbol.h
233
const struct addr_location *al,
tools/perf/util/symbol_fprintf.c
20
const struct addr_location *al,
tools/perf/util/symbol_fprintf.c
29
if (al && print_offsets) {
tools/perf/util/symbol_fprintf.c
30
if (al->addr < sym->end)
tools/perf/util/symbol_fprintf.c
31
offset = al->addr - sym->start;
tools/perf/util/symbol_fprintf.c
33
offset = al->addr - map__start(al->map) - sym->start;
tools/perf/util/symbol_fprintf.c
37
} else if (al && unknown_as_addr)
tools/perf/util/symbol_fprintf.c
38
return fprintf(fp, "[%#" PRIx64 "]", al->addr);
tools/perf/util/symbol_fprintf.c
44
const struct addr_location *al,
tools/perf/util/symbol_fprintf.c
47
return __symbol__fprintf_symname_offs(sym, al, false, true, fp);
tools/perf/util/symbol_fprintf.c
51
const struct addr_location *al,
tools/perf/util/symbol_fprintf.c
54
return __symbol__fprintf_symname_offs(sym, al, unknown_as_addr, false, fp);
tools/perf/util/thread.c
417
bool symbols, struct addr_location *al)
tools/perf/util/thread.c
429
thread__find_symbol(thread, cpumodes[i], addr, al);
tools/perf/util/thread.c
431
thread__find_map(thread, cpumodes[i], addr, al);
tools/perf/util/thread.c
433
if (al->map)
tools/perf/util/thread.c
584
struct addr_location al;
tools/perf/util/thread.c
591
addr_location__init(&al);
tools/perf/util/thread.c
592
if (!thread__find_map(thread, cpumode, ip, &al)) {
tools/perf/util/thread.c
593
addr_location__exit(&al);
tools/perf/util/thread.c
597
dso = map__dso(al.map);
tools/perf/util/thread.c
599
if (!dso || dso__data(dso)->status == DSO_DATA_STATUS_ERROR || map__load(al.map) < 0) {
tools/perf/util/thread.c
600
addr_location__exit(&al);
tools/perf/util/thread.c
604
offset = map__map_ip(al.map, ip);
tools/perf/util/thread.c
608
addr_location__exit(&al);
tools/perf/util/thread.h
128
struct addr_location *al);
tools/perf/util/thread.h
130
struct addr_location *al);
tools/perf/util/thread.h
133
u64 addr, struct addr_location *al);
tools/perf/util/thread.h
135
u64 addr, struct addr_location *al);
tools/perf/util/thread.h
138
bool symbols, struct addr_location *al);
tools/perf/util/thread.h
395
void thread__resolve(struct thread *thread, struct addr_location *al,
tools/perf/util/trace-event-scripting.c
106
struct addr_location *al,
tools/perf/util/trace-event-scripting.c
119
c->al = al;
tools/perf/util/trace-event-scripting.c
135
struct addr_location *al __maybe_unused,
tools/perf/util/trace-event.h
126
struct addr_location *al;
tools/perf/util/trace-event.h
134
struct addr_location *al,
tools/perf/util/trace-event.h
97
struct addr_location *al,
tools/perf/util/unwind-libdw.c
138
struct addr_location al;
tools/perf/util/unwind-libdw.c
141
addr_location__init(&al);
tools/perf/util/unwind-libdw.c
142
res = __report_module(&al, ip, ui);
tools/perf/util/unwind-libdw.c
143
addr_location__exit(&al);
tools/perf/util/unwind-libdw.c
155
struct addr_location al;
tools/perf/util/unwind-libdw.c
157
addr_location__init(&al);
tools/perf/util/unwind-libdw.c
158
if (__report_module(&al, ip, ui)) {
tools/perf/util/unwind-libdw.c
159
addr_location__exit(&al);
tools/perf/util/unwind-libdw.c
164
e->ms.thread = thread__get(al.thread);
tools/perf/util/unwind-libdw.c
165
e->ms.map = map__get(al.map);
tools/perf/util/unwind-libdw.c
166
e->ms.sym = al.sym;
tools/perf/util/unwind-libdw.c
169
al.sym ? al.sym->name : "''",
tools/perf/util/unwind-libdw.c
171
al.map ? map__map_ip(al.map, ip) : (u64) 0);
tools/perf/util/unwind-libdw.c
172
addr_location__exit(&al);
tools/perf/util/unwind-libdw.c
189
struct addr_location al;
tools/perf/util/unwind-libdw.c
193
addr_location__init(&al);
tools/perf/util/unwind-libdw.c
194
if (!thread__find_map(ui->thread, PERF_RECORD_MISC_USER, addr, &al)) {
tools/perf/util/unwind-libdw.c
198
dso = map__dso(al.map);
tools/perf/util/unwind-libdw.c
202
size = dso__data_read_addr(dso, al.map, ui->machine, addr, (u8 *) data, sizeof(*data));
tools/perf/util/unwind-libdw.c
204
addr_location__exit(&al);
tools/perf/util/unwind-libdw.c
207
addr_location__exit(&al);
tools/perf/util/unwind-libdw.c
69
static int __report_module(struct addr_location *al, u64 ip,
tools/perf/util/unwind-libdw.c
79
thread__find_symbol(ui->thread, PERF_RECORD_MISC_USER, ip, al);
tools/perf/util/unwind-libdw.c
81
if (al->map)
tools/perf/util/unwind-libdw.c
82
dso = map__dso(al->map);
tools/perf/util/unwind-libdw.c
95
base = map__start(al->map);
tools/perf/util/unwind-libdw.c
97
base = map__start(al->map) - map__pgoff(al->map);
tools/perf/util/unwind-libunwind.c
350
struct addr_location al;
tools/perf/util/unwind-libunwind.c
353
addr_location__init(&al);
tools/perf/util/unwind-libunwind.c
354
thread__find_map(ui->thread, PERF_RECORD_MISC_USER, ip, &al);
tools/perf/util/unwind-libunwind.c
355
ret = map__get(al.map);
tools/perf/util/unwind-libunwind.c
356
addr_location__exit(&al);
tools/perf/util/unwind-libunwind.c
595
struct addr_location al;
tools/perf/util/unwind-libunwind.c
598
addr_location__init(&al);
tools/perf/util/unwind-libunwind.c
599
e.ms.sym = thread__find_symbol(thread, PERF_RECORD_MISC_USER, ip, &al);
tools/perf/util/unwind-libunwind.c
601
e.ms.map = al.map;
tools/perf/util/unwind-libunwind.c
602
e.ms.thread = thread__get(al.thread);
tools/perf/util/unwind-libunwind.c
605
al.sym ? al.sym->name : "''",
tools/perf/util/unwind-libunwind.c
607
al.map ? map__map_ip(al.map, ip) : (u64) 0);
tools/perf/util/unwind-libunwind.c
610
addr_location__exit(&al);