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
563
.if (((\val) >> 31) == 0 || ((\val) >> 31) == 0x1ffffffff)
arch/arm64/include/asm/assembler.h
564
movz \reg, :abs_g1_s:\val
arch/arm64/include/asm/assembler.h
566
.if (((\val) >> 47) == 0 || ((\val) >> 47) == 0x1ffff)
arch/arm64/include/asm/assembler.h
567
movz \reg, :abs_g2_s:\val
arch/arm64/include/asm/assembler.h
569
movz \reg, :abs_g3:\val
arch/arm64/include/asm/assembler.h
570
movk \reg, :abs_g2_nc:\val
arch/arm64/include/asm/assembler.h
572
movk \reg, :abs_g1_nc:\val
arch/arm64/include/asm/assembler.h
574
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
3007
u8 al, old_al;
arch/x86/kvm/emulate.c
3011
al = ctxt->dst.val;
arch/x86/kvm/emulate.c
3013
old_al = al;
arch/x86/kvm/emulate.c
3017
if ((al & 0x0f) > 9 || af) {
arch/x86/kvm/emulate.c
3018
al -= 6;
arch/x86/kvm/emulate.c
3019
cf = old_cf | (al >= 250);
arch/x86/kvm/emulate.c
3025
al -= 0x60;
arch/x86/kvm/emulate.c
3029
ctxt->dst.val = al;
arch/x86/kvm/emulate.c
3045
u8 al, ah;
arch/x86/kvm/emulate.c
3050
al = ctxt->dst.val & 0xff;
arch/x86/kvm/emulate.c
3051
ah = al / ctxt->src.val;
arch/x86/kvm/emulate.c
3052
al %= ctxt->src.val;
arch/x86/kvm/emulate.c
3054
ctxt->dst.val = (ctxt->dst.val & 0xffff0000) | al | (ah << 8);
arch/x86/kvm/emulate.c
3067
u8 al = ctxt->dst.val & 0xff;
arch/x86/kvm/emulate.c
3070
al = (al + (ah * ctxt->src.val)) & 0xff;
arch/x86/kvm/emulate.c
3072
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
800
static int ep93xx_pata_softreset(struct ata_link *al, unsigned int *classes,
drivers/ata/pata_ep93xx.c
803
struct ata_port *ap = al->ap;
drivers/ata/pata_ep93xx.c
816
ap->ops->sff_dev_select(al->ap, 0);
drivers/ata/pata_ep93xx.c
821
if (rc && (rc != -ENODEV || sata_scr_valid(al))) {
drivers/ata/pata_ep93xx.c
822
ata_link_err(al, "SRST failed (errno=%d)\n", rc);
drivers/ata/pata_ep93xx.c
827
classes[0] = ata_sff_dev_classify(&al->device[0], devmask & (1 << 0),
drivers/ata/pata_ep93xx.c
830
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
3371
u32 k, a, ah, al;
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
3382
al = a - ah;
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
3385
*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
908
bool al;
drivers/net/wireless/mediatek/mt76/mt7603/init.c
359
if (mphy->leds.al)
drivers/net/wireless/mediatek/mt76/mt7615/init.c
492
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
308
if (mphy->leds.al)
drivers/nvme/host/auth.c
82
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
407
static int nvmet_auth_challenge(struct nvmet_req *req, void *d, int al)
drivers/nvme/target/fabrics-cmd-auth.c
417
if (al < data_size) {
drivers/nvme/target/fabrics-cmd-auth.c
419
al, data_size);
drivers/nvme/target/fabrics-cmd-auth.c
447
static int nvmet_auth_success1(struct nvmet_req *req, void *d, int al)
drivers/nvme/target/fabrics-cmd-auth.c
453
WARN_ON(al < sizeof(*data));
drivers/nvme/target/fabrics-cmd-auth.c
474
static void nvmet_auth_failure1(struct nvmet_req *req, void *d, int al)
drivers/nvme/target/fabrics-cmd-auth.c
478
WARN_ON(al < sizeof(*data));
drivers/nvme/target/fabrics-cmd-auth.c
488
return le32_to_cpu(req->cmd->auth_receive.al);
drivers/nvme/target/fabrics-cmd-auth.c
495
u32 al;
drivers/nvme/target/fabrics-cmd-auth.c
516
al = nvmet_auth_receive_data_len(req);
drivers/nvme/target/fabrics-cmd-auth.c
517
if (!al) {
drivers/nvme/target/fabrics-cmd-auth.c
520
offsetof(struct nvmf_auth_receive_command, al);
drivers/nvme/target/fabrics-cmd-auth.c
523
if (!nvmet_check_transfer_len(req, al)) {
drivers/nvme/target/fabrics-cmd-auth.c
524
pr_debug("%s: transfer length mismatch (%u)\n", __func__, al);
drivers/nvme/target/fabrics-cmd-auth.c
528
d = kmalloc(al, GFP_KERNEL);
drivers/nvme/target/fabrics-cmd-auth.c
537
if (nvmet_auth_challenge(req, d, al) < 0) {
drivers/nvme/target/fabrics-cmd-auth.c
546
status = nvmet_auth_success1(req, d, al);
drivers/nvme/target/fabrics-cmd-auth.c
550
nvmet_auth_failure1(req, d, al);
drivers/nvme/target/fabrics-cmd-auth.c
560
nvmet_auth_failure1(req, d, al);
drivers/nvme/target/fabrics-cmd-auth.c
569
nvmet_auth_failure1(req, d, al);
drivers/nvme/target/fabrics-cmd-auth.c
574
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
510
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/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
1794
__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
9539
struct saved_alias *al;
mm/slub.c
9554
al = kmalloc_obj(struct saved_alias);
mm/slub.c
9555
if (!al)
mm/slub.c
9558
al->s = s;
mm/slub.c
9559
al->name = name;
mm/slub.c
9560
al->next = alias_list;
mm/slub.c
9561
alias_list = al;
mm/slub.c
9562
kmsan_unpoison_memory(al, sizeof(*al));
mm/slub.c
9590
struct saved_alias *al = alias_list;
mm/slub.c
9593
err = sysfs_slab_alias(al->s, al->name);
mm/slub.c
9596
al->name);
mm/slub.c
9597
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
146
static void process_branch_stack(struct branch_stack *bs, struct addr_location *al,
tools/perf/builtin-annotate.c
156
bi = sample__resolve_bstack(sample, al);
tools/perf/builtin-annotate.c
173
struct addr_location *al __maybe_unused,
tools/perf/builtin-annotate.c
197
struct addr_location *al,
tools/perf/builtin-annotate.c
225
hist__account_cycles(sample->branch_stack, al, sample, false,
tools/perf/builtin-annotate.c
240
struct addr_location *al, struct perf_annotate *ann,
tools/perf/builtin-annotate.c
249
(al->sym == NULL ||
tools/perf/builtin-annotate.c
250
strcmp(ann->sym_hist_filter, al->sym->name) != 0)) {
tools/perf/builtin-annotate.c
256
if (al->sym != NULL) {
tools/perf/builtin-annotate.c
257
struct dso *dso = map__dso(al->map);
tools/perf/builtin-annotate.c
259
rb_erase_cached(&al->sym->rb_node, dso__symbols(dso));
tools/perf/builtin-annotate.c
260
symbol__delete(al->sym);
tools/perf/builtin-annotate.c
270
process_branch_stack(sample->branch_stack, al, sample);
tools/perf/builtin-annotate.c
273
return process_branch_callback(evsel, sample, al, ann, machine);
tools/perf/builtin-annotate.c
275
he = hists__add_entry(hists, al, NULL, NULL, NULL, NULL, sample, true);
tools/perf/builtin-annotate.c
279
ret = hist_entry__inc_addr_samples(he, sample, evsel, al->addr);
tools/perf/builtin-annotate.c
291
struct addr_location al;
tools/perf/builtin-annotate.c
294
addr_location__init(&al);
tools/perf/builtin-annotate.c
295
if (machine__resolve(machine, &al, sample) < 0) {
tools/perf/builtin-annotate.c
305
if (!al.filtered &&
tools/perf/builtin-annotate.c
306
evsel__add_sample(evsel, sample, &al, ann, machine)) {
tools/perf/builtin-annotate.c
312
addr_location__exit(&al);
tools/perf/builtin-c2c.c
324
struct addr_location al;
tools/perf/builtin-c2c.c
329
addr_location__init(&al);
tools/perf/builtin-c2c.c
330
if (machine__resolve(machine, &al, sample) < 0) {
tools/perf/builtin-c2c.c
338
thread__set_lbr_stitch_enable(al.thread, true);
tools/perf/builtin-c2c.c
342
evsel, &al, sysctl_perf_event_max_stack);
tools/perf/builtin-c2c.c
346
mi = sample__resolve_mem(sample, &al);
tools/perf/builtin-c2c.c
355
&al, NULL, NULL, mi, NULL,
tools/perf/builtin-c2c.c
398
&al, NULL, NULL, mi, NULL,
tools/perf/builtin-c2c.c
422
addr_location__exit(&al);
tools/perf/builtin-diff.c
397
struct addr_location al;
tools/perf/builtin-diff.c
411
addr_location__init(&al);
tools/perf/builtin-diff.c
412
if (machine__resolve(machine, &al, sample) < 0) {
tools/perf/builtin-diff.c
426
if (!hists__add_entry_ops(hists, &block_hist_ops, &al, NULL,
tools/perf/builtin-diff.c
433
hist__account_cycles(sample->branch_stack, &al, sample,
tools/perf/builtin-diff.c
438
if (hist_entry_iter__add(&iter, &al, PERF_MAX_STACK_DEPTH,
tools/perf/builtin-diff.c
446
if (!hists__add_entry(hists, &al, NULL, NULL, NULL, NULL, sample,
tools/perf/builtin-diff.c
461
if (!al.filtered)
tools/perf/builtin-diff.c
465
addr_location__exit(&al);
tools/perf/builtin-inject.c
1011
addr_location__init(&al);
tools/perf/builtin-inject.c
1019
if (thread__find_map(thread, sample->cpumode, sample->ip, &al)) {
tools/perf/builtin-inject.c
1020
mark_dso_hit(inject, tool, sample, machine, args.mmap_evsel, al.map,
tools/perf/builtin-inject.c
1030
addr_location__exit(&al);
tools/perf/builtin-inject.c
996
struct addr_location al;
tools/perf/builtin-kmem.c
399
struct addr_location al;
tools/perf/builtin-kmem.c
405
addr_location__init(&al);
tools/perf/builtin-kmem.c
411
al.thread = machine__findnew_thread(machine, sample->pid, sample->tid);
tools/perf/builtin-kmem.c
417
sample__resolve_callchain(sample, cursor, NULL, evsel, &al, 16);
tools/perf/builtin-kmem.c
448
addr_location__exit(&al);
tools/perf/builtin-kvm.c
1147
if (machine__resolve(machine, &kvm->al, sample) < 0) {
tools/perf/builtin-kvm.c
739
&kvm->al, NULL, NULL, NULL, ki, sample, true);
tools/perf/builtin-kwork.c
742
struct addr_location *al)
tools/perf/builtin-kwork.c
803
sample__fprintf_sym(sample, al, 0,
tools/perf/builtin-kwork.c
854
struct addr_location al;
tools/perf/builtin-kwork.c
857
addr_location__init(&al);
tools/perf/builtin-kwork.c
858
if (machine__resolve(machine, &al, sample) < 0) {
tools/perf/builtin-kwork.c
874
timehist_print_event(kwork, work, atom, sample, &al);
tools/perf/builtin-kwork.c
879
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
167
struct addr_location *al, bool single,
tools/perf/builtin-report.c
195
err = hist_entry__inc_addr_samples(he, sample, evsel, al->addr);
tools/perf/builtin-report.c
199
err = hist_entry__inc_addr_samples(he, sample, evsel, al->addr);
tools/perf/builtin-report.c
201
err = hist_entry__inc_addr_samples(he, sample, evsel, al->addr);
tools/perf/builtin-report.c
209
struct addr_location *al __maybe_unused,
tools/perf/builtin-report.c
276
struct addr_location al;
tools/perf/builtin-report.c
293
addr_location__init(&al);
tools/perf/builtin-report.c
294
if (machine__resolve(machine, &al, sample) < 0) {
tools/perf/builtin-report.c
302
thread__set_lbr_stitch_enable(al.thread, true);
tools/perf/builtin-report.c
304
if (symbol_conf.hide_unresolved && al.sym == NULL)
tools/perf/builtin-report.c
328
if (al.map != NULL)
tools/perf/builtin-report.c
329
dso__set_hit(map__dso(al.map));
tools/perf/builtin-report.c
332
hist__account_cycles(sample->branch_stack, &al, sample,
tools/perf/builtin-report.c
338
if (al.parallelism == 1)
tools/perf/builtin-report.c
341
ret = hist_entry_iter__add(&iter, &al, rep->max_stack, rep);
tools/perf/builtin-report.c
345
addr_location__exit(&al);
tools/perf/builtin-sched.c
2166
struct addr_location *al,
tools/perf/builtin-sched.c
2235
sample__fprintf_sym(sample, al, 0,
tools/perf/builtin-sched.c
2796
struct addr_location al;
tools/perf/builtin-sched.c
2803
addr_location__init(&al);
tools/perf/builtin-sched.c
2804
if (machine__resolve(machine, &al, sample) < 0) {
tools/perf/builtin-sched.c
2894
timehist_print_sample(sched, evsel, sample, &al, thread, t, state);
tools/perf/builtin-sched.c
2922
addr_location__exit(&al);
tools/perf/builtin-script.c
1102
struct addr_location al;
tools/perf/builtin-script.c
1135
addr_location__init(&al);
tools/perf/builtin-script.c
1136
if (!thread__find_map(thread, *cpumode, start, &al) || (dso = map__dso(al.map)) == NULL) {
tools/perf/builtin-script.c
1146
map__load(al.map);
tools/perf/builtin-script.c
1148
offset = map__map_ip(al.map, start);
tools/perf/builtin-script.c
1158
addr_location__exit(&al);
tools/perf/builtin-script.c
1207
struct addr_location al;
tools/perf/builtin-script.c
1210
addr_location__init(&al);
tools/perf/builtin-script.c
1211
thread__find_map(thread, cpumode, addr, &al);
tools/perf/builtin-script.c
1212
if (!al.map)
tools/perf/builtin-script.c
1214
ret = map__fprintf_srccode(al.map, al.addr, stdout,
tools/perf/builtin-script.c
1219
addr_location__exit(&al);
tools/perf/builtin-script.c
1263
struct addr_location al;
tools/perf/builtin-script.c
1265
addr_location__init(&al);
tools/perf/builtin-script.c
1266
thread__find_map(thread, x->cpumode, ip, &al);
tools/perf/builtin-script.c
1267
printed += map__fprintf_srcline(al.map, al.addr, " srcline: ", fp);
tools/perf/builtin-script.c
1269
addr_location__exit(&al);
tools/perf/builtin-script.c
1314
struct addr_location al;
tools/perf/builtin-script.c
1317
addr_location__init(&al);
tools/perf/builtin-script.c
1318
thread__find_map(thread, cpumode, addr, &al);
tools/perf/builtin-script.c
1320
if ((*lastsym) && al.addr >= (*lastsym)->start && al.addr < (*lastsym)->end)
tools/perf/builtin-script.c
1323
al.cpu = cpu;
tools/perf/builtin-script.c
1324
al.sym = NULL;
tools/perf/builtin-script.c
1325
if (al.map)
tools/perf/builtin-script.c
1326
al.sym = map__find_symbol(al.map, al.addr);
tools/perf/builtin-script.c
1328
if (!al.sym)
tools/perf/builtin-script.c
1331
if (al.addr < al.sym->end)
tools/perf/builtin-script.c
1332
off = al.addr - al.sym->start;
tools/perf/builtin-script.c
1334
off = al.addr - map__start(al.map) - al.sym->start;
tools/perf/builtin-script.c
1335
printed += fprintf(fp, "\t%s", al.sym->name);
tools/perf/builtin-script.c
1340
printed += map__fprintf_srcline(al.map, al.addr, "\t", fp);
tools/perf/builtin-script.c
1342
*lastsym = al.sym;
tools/perf/builtin-script.c
1346
addr_location__exit(&al);
tools/perf/builtin-script.c
1516
struct addr_location al;
tools/perf/builtin-script.c
1519
addr_location__init(&al);
tools/perf/builtin-script.c
1523
thread__resolve(thread, &al, sample);
tools/perf/builtin-script.c
1528
printed += symbol__fprintf_symname_offs(al.sym, &al, fp);
tools/perf/builtin-script.c
1530
printed += symbol__fprintf_symname(al.sym, fp);
tools/perf/builtin-script.c
1534
printed += map__fprintf_dsoname_dsoff(al.map, PRINT_FIELD(DSOFF), al.addr, fp);
tools/perf/builtin-script.c
1536
addr_location__exit(&al);
tools/perf/builtin-script.c
1543
struct addr_location *al,
tools/perf/builtin-script.c
1561
if (al->sym)
tools/perf/builtin-script.c
1562
name = al->sym->name;
tools/perf/builtin-script.c
1572
struct addr_location *al,
tools/perf/builtin-script.c
1590
name = resolve_branch_sym(sample, evsel, thread, al, addr_al, &ip);
tools/perf/builtin-script.c
1594
dlen += map__fprintf_dsoname(al->map, fp);
tools/perf/builtin-script.c
1624
struct addr_location *al)
tools/perf/builtin-script.c
1638
printed += sample__fprintf_insn_asm(sample, thread, machine, fp, al);
tools/perf/builtin-script.c
1663
struct addr_location *al,
tools/perf/builtin-script.c
1673
printed += perf_sample__fprintf_callindent(sample, evsel, thread, al, addr_al, fp);
tools/perf/builtin-script.c
1682
if (thread__resolve_callchain(al->thread, cursor, evsel,
tools/perf/builtin-script.c
1696
printed += sample__fprintf_sym(sample, al, 0, print_opts, cursor,
tools/perf/builtin-script.c
1711
printed += map__fprintf_srcline(al->map, al->addr, "\n ", fp);
tools/perf/builtin-script.c
1713
printed += perf_sample__fprintf_insn(sample, evsel, attr, thread, machine, fp, al);
tools/perf/builtin-script.c
1716
int ret = map__fprintf_srccode(al->map, al->addr, stdout,
tools/perf/builtin-script.c
2377
struct addr_location *al,
tools/perf/builtin-script.c
2394
const char *name = resolve_branch_sym(sample, evsel, thread, al, addr_al,
tools/perf/builtin-script.c
2418
struct addr_location *al,
tools/perf/builtin-script.c
2422
struct thread *thread = al->thread;
tools/perf/builtin-script.c
2454
perf_sample__fprintf_bts(sample, evsel, thread, al, addr_al, machine, fp);
tools/perf/builtin-script.c
2501
thread__set_lbr_stitch_enable(al->thread, true);
tools/perf/builtin-script.c
2505
if (thread__resolve_callchain(al->thread, cursor, evsel,
tools/perf/builtin-script.c
2511
sample__fprintf_sym(sample, al, 0, output[type].print_ip_opts, cursor,
tools/perf/builtin-script.c
2538
perf_sample__fprintf_insn(sample, evsel, attr, thread, machine, fp, al);
tools/perf/builtin-script.c
2554
if (map__fprintf_srccode(al->map, al->addr, stdout,
tools/perf/builtin-script.c
2647
struct addr_location al;
tools/perf/builtin-script.c
2652
addr_location__init(&al);
tools/perf/builtin-script.c
2655
ret = dlfilter__filter_event_early(dlfilter, event, sample, evsel, machine, &al, &addr_al);
tools/perf/builtin-script.c
2681
if (!al.thread && machine__resolve(machine, &al, sample) < 0) {
tools/perf/builtin-script.c
2688
if (al.filtered)
tools/perf/builtin-script.c
2691
if (!show_event(sample, evsel, al.thread, &al, &addr_al))
tools/perf/builtin-script.c
2697
ret = dlfilter__filter_event(dlfilter, event, sample, evsel, machine, &al, &addr_al);
tools/perf/builtin-script.c
2710
thread__resolve(al.thread, &addr_al, sample);
tools/perf/builtin-script.c
2713
scripting_ops->process_event(event, sample, evsel, &al, addr_al_ptr);
tools/perf/builtin-script.c
2715
process_event(scr, sample, evsel, &al, &addr_al, machine);
tools/perf/builtin-script.c
2720
addr_location__exit(&al);
tools/perf/builtin-script.c
2734
struct addr_location al;
tools/perf/builtin-script.c
2742
addr_location__init(&al);
tools/perf/builtin-script.c
2763
if (machine__resolve(machine, &al, sample) < 0) {
tools/perf/builtin-script.c
2770
if (al.filtered)
tools/perf/builtin-script.c
2773
if (!show_event(sample, evsel, al.thread, &al, NULL))
tools/perf/builtin-script.c
2779
perf_sample__fprintf_start(scr, sample, al.thread, evsel,
tools/perf/builtin-script.c
2789
if (thread__resolve_callchain(al.thread, cursor, evsel,
tools/perf/builtin-script.c
2798
sample__fprintf_sym(sample, &al, 0, output[type].print_ip_opts,
tools/perf/builtin-script.c
2808
addr_location__exit(&al);
tools/perf/builtin-timechart.c
496
struct addr_location al;
tools/perf/builtin-timechart.c
509
addr_location__init(&al);
tools/perf/builtin-timechart.c
513
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
729
struct addr_location *al, bool single,
tools/perf/builtin-top.c
737
perf_top__record_precise_ip(top, iter->he, iter->sample, evsel, al->addr);
tools/perf/builtin-top.c
739
hist__account_cycles(iter->sample->branch_stack, al, iter->sample,
tools/perf/builtin-top.c
752
struct addr_location al;
tools/perf/builtin-top.c
777
addr_location__init(&al);
tools/perf/builtin-top.c
778
if (machine__resolve(machine, &al, sample) < 0)
tools/perf/builtin-top.c
782
thread__set_lbr_stitch_enable(al.thread, true);
tools/perf/builtin-top.c
786
al.cpumode == PERF_RECORD_MISC_KERNEL) {
tools/perf/builtin-top.c
792
al.map && map__has_symbols(al.map) ?
tools/perf/builtin-top.c
800
if (al.sym == NULL && al.map != NULL) {
tools/perf/builtin-top.c
814
__map__is_kernel(al.map) && !map__has_symbols(al.map)) {
tools/perf/builtin-top.c
818
dso__strerror_load(map__dso(al.map), serr, sizeof(serr));
tools/perf/builtin-top.c
832
if (al.sym == NULL || !al.sym->idle) {
tools/perf/builtin-top.c
847
if (hist_entry_iter__add(&iter, &al, top->max_stack, top) < 0)
tools/perf/builtin-top.c
854
addr_location__exit(&al);
tools/perf/builtin-trace.c
2897
struct addr_location al;
tools/perf/builtin-trace.c
2903
addr_location__init(&al);
tools/perf/builtin-trace.c
2904
if (machine__resolve(trace->host, &al, sample) < 0)
tools/perf/builtin-trace.c
2907
err = thread__resolve_callchain(al.thread, cursor, evsel, sample, NULL, NULL, max_stack);
tools/perf/builtin-trace.c
2909
addr_location__exit(&al);
tools/perf/builtin-trace.c
3346
struct addr_location *al,
tools/perf/builtin-trace.c
3350
if ((verbose > 0 || print_dso) && al->map)
tools/perf/builtin-trace.c
3351
fprintf(f, "%s@", dso__long_name(map__dso(al->map)));
tools/perf/builtin-trace.c
3353
if ((verbose > 0 || print_sym) && al->sym)
tools/perf/builtin-trace.c
3354
fprintf(f, "%s+0x%" PRIx64, al->sym->name,
tools/perf/builtin-trace.c
3355
al->addr - al->sym->start);
tools/perf/builtin-trace.c
3356
else if (al->map)
tools/perf/builtin-trace.c
3357
fprintf(f, "0x%" PRIx64, al->addr);
tools/perf/builtin-trace.c
3368
struct addr_location al;
tools/perf/builtin-trace.c
3374
addr_location__init(&al);
tools/perf/builtin-trace.c
3403
thread__find_symbol(thread, sample->cpumode, sample->ip, &al);
tools/perf/builtin-trace.c
3411
print_location(trace->output, sample, &al, false, true);
tools/perf/builtin-trace.c
3415
thread__find_symbol(thread, sample->cpumode, sample->addr, &al);
tools/perf/builtin-trace.c
3417
if (!al.map) {
tools/perf/builtin-trace.c
3418
thread__find_symbol(thread, sample->cpumode, sample->addr, &al);
tools/perf/builtin-trace.c
3420
if (al.map)
tools/perf/builtin-trace.c
3426
print_location(trace->output, sample, &al, true, false);
tools/perf/builtin-trace.c
3428
fprintf(trace->output, " (%c%c)\n", map_type, al.level);
tools/perf/builtin-trace.c
3440
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
381
struct addr_location al;
tools/perf/tests/code-reading.c
395
addr_location__init(&al);
tools/perf/tests/code-reading.c
396
if (!thread__find_map(thread, cpumode, addr, &al) || !map__dso(al.map)) {
tools/perf/tests/code-reading.c
406
dso = map__dso(al.map);
tools/perf/tests/code-reading.c
418
skip_addr = dso__is_kcore(dso) ? map__start(al.map) : al.addr;
tools/perf/tests/code-reading.c
426
pr_debug("On file address is: %#"PRIx64"\n", al.addr);
tools/perf/tests/code-reading.c
432
if (addr + len > map__end(al.map))
tools/perf/tests/code-reading.c
433
len = map__end(al.map) - addr;
tools/perf/tests/code-reading.c
440
if (dso__is_kmod(dso) && al.addr > dso__text_end(dso)) {
tools/perf/tests/code-reading.c
441
pr_debug("skipping the module address %#"PRIx64" after text end\n", al.addr);
tools/perf/tests/code-reading.c
447
al.addr, buf1, len);
tools/perf/tests/code-reading.c
458
if (map__load(al.map)) {
tools/perf/tests/code-reading.c
478
objdump_addr = map__rip_2objdump(al.map, al.addr);
tools/perf/tests/code-reading.c
525
addr_location__exit(&al);
tools/perf/tests/hists_cumulate.c
106
if (machine__resolve(machine, &al, &sample) < 0)
tools/perf/tests/hists_cumulate.c
109
if (hist_entry_iter__add(&iter, &al, sysctl_perf_event_max_stack,
tools/perf/tests/hists_cumulate.c
115
fake_samples[i].thread = thread__get(al.thread);
tools/perf/tests/hists_cumulate.c
117
fake_samples[i].map = map__get(al.map);
tools/perf/tests/hists_cumulate.c
118
fake_samples[i].sym = al.sym;
tools/perf/tests/hists_cumulate.c
121
addr_location__exit(&al);
tools/perf/tests/hists_cumulate.c
126
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
72
if (machine__resolve(machine, &al, &sample) < 0)
tools/perf/tests/hists_output.c
75
if (hist_entry_iter__add(&iter, &al, sysctl_perf_event_max_stack,
tools/perf/tests/hists_output.c
80
fake_samples[i].thread = al.thread;
tools/perf/tests/hists_output.c
82
fake_samples[i].map = map__get(al.map);
tools/perf/tests/hists_output.c
83
fake_samples[i].sym = al.sym;
tools/perf/tests/hists_output.c
86
addr_location__exit(&al);
tools/perf/tests/hists_output.c
91
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
1008
al = annotated_source__get_line(notes->src, offset);
tools/perf/ui/browsers/annotate.c
1009
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
1241
struct annotation_line *al = annotated_source__get_line(notes->src,
tools/perf/ui/browsers/annotate.c
1244
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
453
al = list_entry(browser->b.top, struct annotation_line, node);
tools/perf/ui/browsers/annotate.c
465
int orig_idx_asm = al->idx_asm;
tools/perf/ui/browsers/annotate.c
480
al = annotate_browser__find_new_asm_line(browser, orig_idx_asm);
tools/perf/ui/browsers/annotate.c
481
if (unlikely(al == NULL)) {
tools/perf/ui/browsers/annotate.c
482
al = list_first_entry(¬es->src->source,
tools/perf/ui/browsers/annotate.c
485
browser->b.seek(&browser->b, al->idx_asm, SEEK_SET);
tools/perf/ui/browsers/annotate.c
489
if (al->idx_asm < offset)
tools/perf/ui/browsers/annotate.c
490
offset = al->idx;
tools/perf/ui/browsers/annotate.c
495
browser->b.top_idx = al->idx - offset;
tools/perf/ui/browsers/annotate.c
496
browser->b.index = al->idx;
tools/perf/ui/browsers/annotate.c
498
if (al->idx_asm < 0) {
tools/perf/ui/browsers/annotate.c
500
al = annotate_browser__find_next_asm_line(browser, al);
tools/perf/ui/browsers/annotate.c
501
if (!al) {
tools/perf/ui/browsers/annotate.c
507
if (al->idx_asm < offset)
tools/perf/ui/browsers/annotate.c
508
offset = al->idx_asm;
tools/perf/ui/browsers/annotate.c
513
browser->b.top_idx = al->idx_asm - offset;
tools/perf/ui/browsers/annotate.c
514
browser->b.index = al->idx_asm;
tools/perf/ui/browsers/annotate.c
529
struct annotation_line *al = &cursor->al;
tools/perf/ui/browsers/annotate.c
531
if (al->offset != -1)
tools/perf/ui/browsers/annotate.c
533
else if (al->fileloc == NULL)
tools/perf/ui/browsers/annotate.c
537
sprintf (help_line, "Source file location: %s", al->fileloc);
tools/perf/ui/browsers/annotate.c
627
list_for_each_entry(pos, ¬es->src->source, al.node) {
tools/perf/ui/browsers/annotate.c
628
if (pos->al.offset == offset)
tools/perf/ui/browsers/annotate.c
630
if (!annotation_line__filter(&pos->al))
tools/perf/ui/browsers/annotate.c
660
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
670
struct annotation_line *al = browser->selection;
tools/perf/ui/browsers/annotate.c
673
list_for_each_entry_continue(al, ¬es->src->source, node) {
tools/perf/ui/browsers/annotate.c
674
if (annotation_line__filter(al))
tools/perf/ui/browsers/annotate.c
679
if (al->line && strstr(al->line, s) != NULL)
tools/perf/ui/browsers/annotate.c
68
return annotation_line__filter(al);
tools/perf/ui/browsers/annotate.c
680
return al;
tools/perf/ui/browsers/annotate.c
688
struct annotation_line *al;
tools/perf/ui/browsers/annotate.c
691
al = annotate_browser__find_string(browser, browser->search_bf, &idx);
tools/perf/ui/browsers/annotate.c
692
if (al == NULL) {
tools/perf/ui/browsers/annotate.c
697
annotate_browser__set_top(browser, al, idx);
tools/perf/ui/browsers/annotate.c
707
struct annotation_line *al = browser->selection;
tools/perf/ui/browsers/annotate.c
710
list_for_each_entry_continue_reverse(al, ¬es->src->source, node) {
tools/perf/ui/browsers/annotate.c
711
if (annotation_line__filter(al))
tools/perf/ui/browsers/annotate.c
716
if (al->line && strstr(al->line, s) != NULL)
tools/perf/ui/browsers/annotate.c
717
return al;
tools/perf/ui/browsers/annotate.c
725
struct annotation_line *al;
tools/perf/ui/browsers/annotate.c
728
al = annotate_browser__find_string_reverse(browser, browser->search_bf, &idx);
tools/perf/ui/browsers/annotate.c
729
if (al == NULL) {
tools/perf/ui/browsers/annotate.c
734
annotate_browser__set_top(browser, al, idx);
tools/perf/ui/browsers/annotate.c
857
struct annotation_line *al = NULL;
tools/perf/ui/browsers/annotate.c
860
al = rb_entry(browser->curr_hot, struct annotation_line, rb_node);
tools/perf/ui/browsers/annotate.c
862
return al ? al->offset : 0;
tools/perf/ui/browsers/annotate.c
999
struct annotation_line *al = NULL;
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
216
u32 insn_offset = dl->al.offset;
tools/perf/util/annotate-arch/annotate-x86.c
261
u64 ip = ms->sym->start + dl->al.offset;
tools/perf/util/annotate-arch/annotate-x86.c
458
u64 ip = dloc->ms->sym->start + dl->al.offset;
tools/perf/util/annotate-arch/annotate-x86.c
475
u64 ip = dloc->ms->sym->start + dl->al.offset;
tools/perf/util/annotate-arch/annotate-x86.c
622
u64 ip = ms->sym->start + dl->al.offset;
tools/perf/util/annotate-arch/annotate-x86.c
647
u64 ip = dloc->ms->sym->start + dl->al.offset;
tools/perf/util/annotate-data.c
1017
last_bb->end->al.offset, first_bb->begin->al.offset);
tools/perf/util/annotate-data.c
1029
last_bb->end = list_prev_entry(last_bb->end, al.node);
tools/perf/util/annotate-data.c
1093
u32 insn_offset = dl->al.offset;
tools/perf/util/annotate-data.c
1363
BUG_ON(bb->begin->al.offset == -1 || bb->end->al.offset == -1);
tools/perf/util/annotate-data.c
1366
bb->begin->al.offset, bb->end->al.offset);
tools/perf/util/annotate-data.c
1368
list_for_each_entry_from(dl, ¬es->src->source, al.node) {
tools/perf/util/annotate-data.c
1369
u64 this_ip = sym->start + dl->al.offset;
tools/perf/util/annotate-data.c
1373
if (dl->al.offset == -1)
tools/perf/util/annotate-data.c
1377
update_var_state(&state, dloc, addr, dl->al.offset, var_types);
tools/perf/util/annotate-data.c
724
struct addr_location al;
tools/perf/util/annotate-data.c
731
addr_location__init(&al);
tools/perf/util/annotate-data.c
733
mem_addr, &al);
tools/perf/util/annotate-data.c
737
*var_offset = mem_addr - map__unmap_ip(al.map, sym->start);
tools/perf/util/annotate-data.c
741
addr_location__exit(&al);
tools/perf/util/annotate.c
1062
static void insert_source_line(struct rb_root *root, struct annotation_line *al)
tools/perf/util/annotate.c
1074
ret = strcmp(iter->path, al->path);
tools/perf/util/annotate.c
1076
for (i = 0; i < al->data_nr; i++) {
tools/perf/util/annotate.c
1077
iter->data[i].percent_sum += annotation_data__percent(&al->data[i],
tools/perf/util/annotate.c
1089
for (i = 0; i < al->data_nr; i++) {
tools/perf/util/annotate.c
1090
al->data[i].percent_sum = annotation_data__percent(&al->data[i],
tools/perf/util/annotate.c
1094
rb_link_node(&al->rb_node, parent, p);
tools/perf/util/annotate.c
1095
rb_insert_color(&al->rb_node, root);
tools/perf/util/annotate.c
1111
static void __resort_source_line(struct rb_root *root, struct annotation_line *al)
tools/perf/util/annotate.c
1121
if (cmp_source_line(al, iter))
tools/perf/util/annotate.c
1127
rb_link_node(&al->rb_node, parent, p);
tools/perf/util/annotate.c
1128
rb_insert_color(&al->rb_node, root);
tools/perf/util/annotate.c
1133
struct annotation_line *al;
tools/perf/util/annotate.c
1140
al = rb_entry(node, struct annotation_line, rb_node);
tools/perf/util/annotate.c
1144
__resort_source_line(dest_root, al);
tools/perf/util/annotate.c
1151
struct annotation_line *al;
tools/perf/util/annotate.c
1169
al = rb_entry(node, struct annotation_line, rb_node);
tools/perf/util/annotate.c
1170
for (i = 0; i < al->data_nr; i++) {
tools/perf/util/annotate.c
1171
percent = al->data[i].percent_sum;
tools/perf/util/annotate.c
1179
path = al->path;
tools/perf/util/annotate.c
1372
struct annotation_line *al;
tools/perf/util/annotate.c
1379
list_for_each_entry(al, ¬es->src->source, node) {
tools/perf/util/annotate.c
1380
if (annotation_line__filter(al))
tools/perf/util/annotate.c
1382
annotation_line__write(al, notes, &wops, apd);
tools/perf/util/annotate.c
1441
struct annotation_line *al;
tools/perf/util/annotate.c
1444
list_for_each_entry(al, ¬es->src->source, node) {
tools/perf/util/annotate.c
1447
if (al->offset == -1)
tools/perf/util/annotate.c
1450
entry = annotated_source__hist_entry(notes->src, evsel, al->offset);
tools/perf/util/annotate.c
1461
struct annotation_line *al, *n;
tools/perf/util/annotate.c
1463
list_for_each_entry_safe(al, n, &as->source, node) {
tools/perf/util/annotate.c
1464
list_del_init(&al->node);
tools/perf/util/annotate.c
1465
disasm_line__free(disasm_line(al));
tools/perf/util/annotate.c
1474
if (dl->al.offset == -1)
tools/perf/util/annotate.c
1475
return fprintf(fp, "%s\n", dl->al.line);
tools/perf/util/annotate.c
1477
printed = fprintf(fp, "%#" PRIx64 " %s", dl->al.offset, dl->ins.name);
tools/perf/util/annotate.c
1492
list_for_each_entry(pos, head, al.node)
tools/perf/util/annotate.c
1511
struct annotation_line *al;
tools/perf/util/annotate.c
1517
list_for_each_entry(al, ¬es->src->source, node) {
tools/perf/util/annotate.c
1521
dl = disasm_line(al);
tools/perf/util/annotate.c
1542
struct annotation_line *al;
tools/perf/util/annotate.c
1549
list_for_each_entry(al, &src->source, node) {
tools/perf/util/annotate.c
1550
size_t line_len = strlen(al->line);
tools/perf/util/annotate.c
1554
al->idx = src->nr_entries++;
tools/perf/util/annotate.c
1555
if (al->offset != -1)
tools/perf/util/annotate.c
1556
al->idx_asm = src->nr_asm_entries++;
tools/perf/util/annotate.c
1558
al->idx_asm = -1;
tools/perf/util/annotate.c
1574
struct annotation_line *al;
tools/perf/util/annotate.c
1576
list_for_each_entry(al, ¬es->src->source, node) {
tools/perf/util/annotate.c
1577
if (al->offset == -1)
tools/perf/util/annotate.c
1580
len = strlen(disasm_line(al)->ins.name);
tools/perf/util/annotate.c
1628
struct annotation_line *al;
tools/perf/util/annotate.c
1631
list_for_each_entry(al, ¬es->src->source, node) {
tools/perf/util/annotate.c
1636
for (i = 0; i < al->data_nr; i++) {
tools/perf/util/annotate.c
1639
percent = annotation_data__percent(&al->data[i],
tools/perf/util/annotate.c
1650
al->path = get_srcline(map__dso(ms->map), addr + al->offset, NULL,
tools/perf/util/annotate.c
1651
false, true, ms->sym->start + al->offset);
tools/perf/util/annotate.c
1652
insert_source_line(&tmp_root, al);
tools/perf/util/annotate.c
1744
static double annotation_line__max_percent(struct annotation_line *al,
tools/perf/util/annotate.c
1750
for (i = 0; i < al->data_nr; i++) {
tools/perf/util/annotate.c
1753
percent = annotation_data__percent(&al->data[i],
tools/perf/util/annotate.c
1774
fwd = dl->ops.target.offset > dl->al.offset;
tools/perf/util/annotate.c
1976
hashmap__find(apd->type_hash, dl->al.offset, &entry);
tools/perf/util/annotate.c
1991
hashmap__add(apd->type_hash, dl->al.offset, entry);
tools/perf/util/annotate.c
2010
void annotation_line__write(struct annotation_line *al, struct annotation *notes,
tools/perf/util/annotate.c
2016
double percent_max = annotation_line__max_percent(al, annotate_opts.percent_type);
tools/perf/util/annotate.c
2030
if (wops->first_line && (al->offset == -1 || percent_max == 0.0)) {
tools/perf/util/annotate.c
2031
if (notes->branch && al->cycles) {
tools/perf/util/annotate.c
2032
if (al->cycles->ipc == 0.0 && al->cycles->avg == 0)
tools/perf/util/annotate.c
2038
if (al->offset != -1 && percent_max != 0.0) {
tools/perf/util/annotate.c
2041
for (i = 0; i < al->data_nr; i++) {
tools/perf/util/annotate.c
2044
percent = annotation_data__percent(&al->data[i],
tools/perf/util/annotate.c
2049
obj__printf(obj, "%11" PRIu64 " ", al->data[i].he.period);
tools/perf/util/annotate.c
2052
al->data[i].he.nr_samples);
tools/perf/util/annotate.c
2071
if (al->cycles && al->cycles->ipc)
tools/perf/util/annotate.c
2072
obj__printf(obj, "%*.2f ", ANNOTATION__IPC_WIDTH - 1, al->cycles->ipc);
tools/perf/util/annotate.c
2079
if (al->cycles && al->cycles->avg)
tools/perf/util/annotate.c
2081
ANNOTATION__CYCLES_WIDTH - 1, al->cycles->avg);
tools/perf/util/annotate.c
2090
if (al->cycles) {
tools/perf/util/annotate.c
2095
al->cycles->avg, al->cycles->min,
tools/perf/util/annotate.c
2096
al->cycles->max);
tools/perf/util/annotate.c
2119
if (!annotation_br_cntr_entry(&buf, al->br_cntr_nr, al->br_cntr,
tools/perf/util/annotate.c
2120
al->num_aggr, al->evsel)) {
tools/perf/util/annotate.c
2127
if (show_title && !*al->line) {
tools/perf/util/annotate.c
2137
if (!*al->line)
tools/perf/util/annotate.c
2139
else if (al->offset == -1) {
tools/perf/util/annotate.c
2140
if (al->line_nr && annotate_opts.show_linenr)
tools/perf/util/annotate.c
2142
notes->src->widths.addr + 1, al->line_nr);
tools/perf/util/annotate.c
2148
obj__printf(obj, "%-*s", width, al->line);
tools/perf/util/annotate.c
2150
u64 addr = al->offset;
tools/perf/util/annotate.c
2159
if (al->jump_sources &&
tools/perf/util/annotate.c
2165
al->jump_sources);
tools/perf/util/annotate.c
2166
prev = obj__set_jumps_percent_color(obj, al->jump_sources,
tools/perf/util/annotate.c
2174
} else if (ins__is_call(&disasm_line(al)->ins) &&
tools/perf/util/annotate.c
2193
printed = disasm_line__write(disasm_line(al), notes, obj, bf, sizeof(bf),
tools/perf/util/annotate.c
2199
disasm_line__snprint_type_info(disasm_line(al), bf, sizeof(bf), apd);
tools/perf/util/annotate.c
2633
list_for_each_entry(dl, ¬es->src->source, al.node) {
tools/perf/util/annotate.c
2634
if (dl->al.offset == -1)
tools/perf/util/annotate.c
2637
if (sym->start + dl->al.offset == ip) {
tools/perf/util/annotate.c
2722
if (curr == list_first_entry(sources, struct disasm_line, al.node))
tools/perf/util/annotate.c
2725
prev = list_prev_entry(curr, al.node);
tools/perf/util/annotate.c
2726
while (prev->al.offset == -1 &&
tools/perf/util/annotate.c
2727
prev != list_first_entry(sources, struct disasm_line, al.node))
tools/perf/util/annotate.c
2728
prev = list_prev_entry(prev, al.node);
tools/perf/util/annotate.c
2730
if (prev->al.offset == -1)
tools/perf/util/annotate.c
2742
if (curr == list_last_entry(sources, struct disasm_line, al.node))
tools/perf/util/annotate.c
2745
next = list_next_entry(curr, al.node);
tools/perf/util/annotate.c
2746
while (next->al.offset == -1 &&
tools/perf/util/annotate.c
2747
next != list_last_entry(sources, struct disasm_line, al.node))
tools/perf/util/annotate.c
2748
next = list_next_entry(next, al.node);
tools/perf/util/annotate.c
2750
if (next->al.offset == -1)
tools/perf/util/annotate.c
2775
addr = ip + (next->al.offset - dl->al.offset) + offset;
tools/perf/util/annotate.c
2835
.ip = ms->sym->start + dl->al.offset,
tools/perf/util/annotate.c
2964
if (dl->al.offset > 0) {
tools/perf/util/annotate.c
3007
s64 begin_offset = link->bb->begin->al.offset;
tools/perf/util/annotate.c
3008
s64 end_offset = link->bb->end->al.offset;
tools/perf/util/annotate.c
3019
s64 offset = dl->al.offset;
tools/perf/util/annotate.c
3073
if (basic_block_has_offset(&bb_data->visited, dl->al.offset))
tools/perf/util/annotate.c
3077
struct disasm_line, al.node);
tools/perf/util/annotate.c
3078
if (last_dl->al.offset == -1)
tools/perf/util/annotate.c
3084
list_for_each_entry_from(dl, ¬es->src->source, al.node) {
tools/perf/util/annotate.c
3086
if (dl->al.offset == -1)
tools/perf/util/annotate.c
3089
if (sym->start + dl->al.offset == target) {
tools/perf/util/annotate.c
434
struct annotation_line *al;
tools/perf/util/annotate.c
436
list_for_each_entry(al, &src->source, node) {
tools/perf/util/annotate.c
437
if (al->offset == offset)
tools/perf/util/annotate.c
438
return al;
tools/perf/util/annotate.c
445
struct annotation_line *al;
tools/perf/util/annotate.c
448
al = annotated_source__get_line(notes->src, start);
tools/perf/util/annotate.c
449
if (al == NULL)
tools/perf/util/annotate.c
452
list_for_each_entry_from(al, ¬es->src->source, node) {
tools/perf/util/annotate.c
453
if (al->offset == -1)
tools/perf/util/annotate.c
455
if ((u64)al->offset > end)
tools/perf/util/annotate.c
478
struct annotation_line *al;
tools/perf/util/annotate.c
486
al = annotated_source__get_line(notes->src, start);
tools/perf/util/annotate.c
487
if (al == NULL)
tools/perf/util/annotate.c
490
list_for_each_entry_from(al, ¬es->src->source, node) {
tools/perf/util/annotate.c
491
if (al->offset == -1)
tools/perf/util/annotate.c
493
if ((u64)al->offset > end)
tools/perf/util/annotate.c
495
if (al->cycles && al->cycles->ipc == 0.0) {
tools/perf/util/annotate.c
496
al->cycles->ipc = ipc;
tools/perf/util/annotate.c
531
struct annotation_line *al;
tools/perf/util/annotate.c
533
al = annotated_source__get_line(notes->src, offset);
tools/perf/util/annotate.c
534
if (al && al->cycles == NULL) {
tools/perf/util/annotate.c
535
al->cycles = zalloc(sizeof(*al->cycles));
tools/perf/util/annotate.c
536
if (al->cycles == NULL) {
tools/perf/util/annotate.c
543
if (al && ch->num_aggr) {
tools/perf/util/annotate.c
544
al->cycles->avg = ch->cycles_aggr / ch->num_aggr;
tools/perf/util/annotate.c
545
al->cycles->max = ch->cycles_max;
tools/perf/util/annotate.c
546
al->cycles->min = ch->cycles_min;
tools/perf/util/annotate.c
548
if (al && notes->branch->br_cntr) {
tools/perf/util/annotate.c
549
if (!al->br_cntr) {
tools/perf/util/annotate.c
550
al->br_cntr = calloc(br_cntr_nr, sizeof(u64));
tools/perf/util/annotate.c
551
if (!al->br_cntr) {
tools/perf/util/annotate.c
556
al->num_aggr = ch->num_aggr;
tools/perf/util/annotate.c
557
al->br_cntr_nr = br_cntr_nr;
tools/perf/util/annotate.c
558
al->evsel = evsel;
tools/perf/util/annotate.c
559
memcpy(al->br_cntr, ¬es->branch->br_cntr[offset * br_cntr_nr],
tools/perf/util/annotate.c
570
struct annotation_line *al;
tools/perf/util/annotate.c
572
al = annotated_source__get_line(notes->src, offset);
tools/perf/util/annotate.c
573
if (al) {
tools/perf/util/annotate.c
574
zfree(&al->cycles);
tools/perf/util/annotate.c
575
zfree(&al->br_cntr);
tools/perf/util/annotate.c
656
void annotation_line__add(struct annotation_line *al, struct list_head *head)
tools/perf/util/annotate.c
658
list_add_tail(&al->node, head);
tools/perf/util/annotate.c
755
s64 offset = dl->al.offset;
tools/perf/util/annotate.c
761
color_fprintf(stdout, annotate__asm_color(br), "%s", dl->al.line);
tools/perf/util/annotate.c
783
annotation_line__print(struct annotation_line *al, struct annotation_print_data *apd,
tools/perf/util/annotate.c
788
struct disasm_line *dl = container_of(al, struct disasm_line, al);
tools/perf/util/annotate.c
794
if (al->offset != -1) {
tools/perf/util/annotate.c
799
for (i = 0; i < al->data_nr; i++) {
tools/perf/util/annotate.c
802
percent = annotation_data__percent(&al->data[i],
tools/perf/util/annotate.c
809
if (al->data_nr > nr_percent)
tools/perf/util/annotate.c
810
nr_percent = al->data_nr;
tools/perf/util/annotate.c
825
if (queue == al)
tools/perf/util/annotate.c
835
struct annotation_data *data = &al->data[i];
tools/perf/util/annotate.c
884
if (al->path) {
tools/perf/util/annotate.c
885
if (!prev_line || strcmp(prev_line, al->path)) {
tools/perf/util/annotate.c
886
color_fprintf(stdout, color, " // %s", al->path);
tools/perf/util/annotate.c
887
prev_line = al->path;
tools/perf/util/annotate.c
900
if (!*al->line)
tools/perf/util/annotate.c
904
al->line_nr, al->line);
tools/perf/util/annotate.c
950
struct annotation_line *al, *next;
tools/perf/util/annotate.c
953
list_for_each_entry(al, ¬es->src->source, node) {
tools/perf/util/annotate.c
957
if (al->offset == -1)
tools/perf/util/annotate.c
960
next = annotation_line__next(al, ¬es->src->source);
tools/perf/util/annotate.c
966
BUG_ON(i >= al->data_nr);
tools/perf/util/annotate.c
972
data = &al->data[i++];
tools/perf/util/annotate.c
974
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/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
1126
struct evsel *evsel, struct addr_location *al,
tools/perf/util/callchain.c
1134
return thread__resolve_callchain(al->thread, cursor, evsel, sample,
tools/perf/util/callchain.c
1135
parent, al, max_stack);
tools/perf/util/callchain.c
1148
int fill_callchain_info(struct addr_location *al, struct callchain_cursor_node *node,
tools/perf/util/callchain.c
1156
map__put(al->map);
tools/perf/util/callchain.c
1157
al->map = map__get(node->ms.map);
tools/perf/util/callchain.c
1158
al->sym = node->ms.sym;
tools/perf/util/callchain.c
1159
al->srcline = node->srcline;
tools/perf/util/callchain.c
1160
al->addr = node->ip;
tools/perf/util/callchain.c
1162
if (al->sym == NULL) {
tools/perf/util/callchain.c
1165
if (al->map == NULL)
tools/perf/util/callchain.c
1168
if (maps__equal(thread__maps(al->thread), machine__kernel_maps(machine))) {
tools/perf/util/callchain.c
1170
al->cpumode = PERF_RECORD_MISC_KERNEL;
tools/perf/util/callchain.c
1171
al->level = 'k';
tools/perf/util/callchain.c
1173
al->cpumode = PERF_RECORD_MISC_GUEST_KERNEL;
tools/perf/util/callchain.c
1174
al->level = 'g';
tools/perf/util/callchain.c
1178
al->cpumode = PERF_RECORD_MISC_USER;
tools/perf/util/callchain.c
1179
al->level = '.';
tools/perf/util/callchain.c
1181
al->cpumode = PERF_RECORD_MISC_GUEST_USER;
tools/perf/util/callchain.c
1182
al->level = 'u';
tools/perf/util/callchain.c
1184
al->cpumode = PERF_RECORD_MISC_HYPERVISOR;
tools/perf/util/callchain.c
1185
al->level = 'H';
tools/perf/util/callchain.h
254
struct evsel *evsel, struct addr_location *al,
tools/perf/util/callchain.h
257
int fill_callchain_info(struct addr_location *al, struct callchain_cursor_node *node,
tools/perf/util/capstone.c
191
struct addr_location al;
tools/perf/util/capstone.c
197
addr_location__init(&al);
tools/perf/util/capstone.c
199
thread__find_symbol(thread, cpumode, op->imm, &al)) {
tools/perf/util/capstone.c
201
printed += symbol__fprintf_symname_offs(al.sym, &al, fp);
tools/perf/util/capstone.c
204
addr_location__exit(&al);
tools/perf/util/capstone.c
207
addr_location__exit(&al);
tools/perf/util/capstone.c
370
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/capstone.c
400
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/capstone.c
411
dl = list_first_entry(list, struct disasm_line, al.node);
tools/perf/util/capstone.c
413
list_del_init(&dl->al.node);
tools/perf/util/capstone.c
436
list_for_each_entry_safe(dl, tmp, ¬es->src->source, al.node) {
tools/perf/util/capstone.c
437
list_del(&dl->al.node);
tools/perf/util/capstone.c
520
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/capstone.c
541
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/capstone.c
552
dl = list_first_entry(list, struct disasm_line, al.node);
tools/perf/util/capstone.c
554
list_del_init(&dl->al.node);
tools/perf/util/cs-etm.c
1093
struct addr_location al;
tools/perf/util/cs-etm.c
1101
addr_location__init(&al);
tools/perf/util/cs-etm.c
1126
if (!thread__find_map(tidq->thread, cpumode, address, &al))
tools/perf/util/cs-etm.c
1129
dso = map__dso(al.map);
tools/perf/util/cs-etm.c
1137
offset = map__map_ip(al.map, address);
tools/perf/util/cs-etm.c
1139
map__load(al.map);
tools/perf/util/cs-etm.c
1157
addr_location__exit(&al);
tools/perf/util/data-convert-json.c
132
u64 ip, struct addr_location *al)
tools/perf/util/data-convert-json.c
140
if (al && al->sym && al->sym->namelen) {
tools/perf/util/data-convert-json.c
141
struct dso *dso = al->map ? map__dso(al->map) : NULL;
tools/perf/util/data-convert-json.c
144
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
192
output_json_key_format(out, true, 3, "pid", "%i", thread__pid(al.thread));
tools/perf/util/data-convert-json.c
193
output_json_key_format(out, true, 3, "tid", "%i", thread__tid(al.thread));
tools/perf/util/data-convert-json.c
197
else if (thread__cpu(al.thread) >= 0)
tools/perf/util/data-convert-json.c
198
output_json_key_format(out, true, 3, "cpu", "%i", thread__cpu(al.thread));
tools/perf/util/data-convert-json.c
200
output_json_key_string(out, true, 3, "comm", thread__comm_str(al.thread));
tools/perf/util/data-convert-json.c
237
ok = thread__find_symbol(al.thread, cpumode, ip, &tal);
tools/perf/util/data-convert-json.c
242
output_sample_callchain_entry(tool, sample->ip, &al);
tools/perf/util/data-convert-json.c
268
addr_location__exit(&al);
tools/perf/util/db-export.c
176
static int db_ids_from_al(struct db_export *dbe, struct addr_location *al,
tools/perf/util/db-export.c
181
if (al->map) {
tools/perf/util/db-export.c
182
struct dso *dso = map__dso(al->map);
tools/perf/util/db-export.c
184
err = db_export__dso(dbe, dso, maps__machine(thread__maps(al->thread)));
tools/perf/util/db-export.c
189
if (!al->sym) {
tools/perf/util/db-export.c
190
al->sym = symbol__new(al->addr, 0, 0, 0, "unknown");
tools/perf/util/db-export.c
191
if (al->sym)
tools/perf/util/db-export.c
192
dso__insert_symbol(dso, al->sym);
tools/perf/util/db-export.c
195
if (al->sym) {
tools/perf/util/db-export.c
196
u64 *db_id = symbol__priv(al->sym);
tools/perf/util/db-export.c
198
err = db_export__symbol(dbe, al->sym, dso);
tools/perf/util/db-export.c
202
*offset = al->addr - al->sym->start;
tools/perf/util/db-export.c
241
struct addr_location al;
tools/perf/util/db-export.c
254
addr_location__init(&al);
tools/perf/util/db-export.c
255
al.sym = node->ms.sym;
tools/perf/util/db-export.c
256
al.map = map__get(node->ms.map);
tools/perf/util/db-export.c
257
al.addr = node->ip;
tools/perf/util/db-export.c
258
al.thread = thread__get(thread);
tools/perf/util/db-export.c
260
if (al.map && !al.sym)
tools/perf/util/db-export.c
261
al.sym = dso__find_symbol(map__dso(al.map), al.addr);
tools/perf/util/db-export.c
263
db_ids_from_al(dbe, &al, &dso_db_id, &sym_db_id, &offset);
tools/perf/util/db-export.c
267
al.sym, node->ip,
tools/perf/util/db-export.c
271
addr_location__exit(&al);
tools/perf/util/db-export.c
350
struct addr_location *al, struct addr_location *addr_al)
tools/perf/util/db-export.c
352
struct thread *thread = al->thread;
tools/perf/util/db-export.c
357
.al = al,
tools/perf/util/db-export.c
388
err = db_ids_from_al(dbe, al, &es.dso_db_id, &es.sym_db_id, &es.offset);
tools/perf/util/db-export.c
408
err = thread_stack__process(thread, comm, sample, al,
tools/perf/util/db-export.h
100
struct addr_location *al, struct addr_location *addr_al);
tools/perf/util/db-export.h
29
struct addr_location *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
1077
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/disasm.c
1088
dl = list_entry(list->prev, struct disasm_line, al.node);
tools/perf/util/disasm.c
1094
if (!strstr(dl->al.line, " nop ") &&
tools/perf/util/disasm.c
1095
!strstr(dl->al.line, " nopl ") &&
tools/perf/util/disasm.c
1096
!strstr(dl->al.line, " nopw "))
tools/perf/util/disasm.c
1100
list_del_init(&dl->al.node);
tools/perf/util/disasm.c
1281
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/disasm.c
1293
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/disasm.c
1303
dl = list_first_entry(list, struct disasm_line, al.node);
tools/perf/util/disasm.c
1305
list_del_init(&dl->al.node);
tools/perf/util/disasm.c
1391
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/disasm.c
872
char *line = dl->al.line;
tools/perf/util/disasm.c
904
static void annotation_line__init(struct annotation_line *al,
tools/perf/util/disasm.c
908
al->offset = args->offset;
tools/perf/util/disasm.c
909
al->line = strdup(args->line);
tools/perf/util/disasm.c
910
al->line_nr = args->line_nr;
tools/perf/util/disasm.c
911
al->fileloc = args->fileloc;
tools/perf/util/disasm.c
912
al->data_nr = nr;
tools/perf/util/disasm.c
915
static void annotation_line__exit(struct annotation_line *al)
tools/perf/util/disasm.c
917
zfree_srcline(&al->path);
tools/perf/util/disasm.c
918
zfree(&al->line);
tools/perf/util/disasm.c
919
zfree(&al->cycles);
tools/perf/util/disasm.c
920
zfree(&al->br_cntr);
tools/perf/util/disasm.c
925
struct annotation_line *al;
tools/perf/util/disasm.c
927
return (sizeof(struct disasm_line) + (sizeof(al->data[0]) * nr));
tools/perf/util/disasm.c
951
annotation_line__init(&dl->al, args, nr);
tools/perf/util/disasm.c
952
if (dl->al.line == NULL)
tools/perf/util/disasm.c
959
} else if (disasm_line__parse(dl->al.line, &dl->ins.name, &dl->ops.raw) < 0)
tools/perf/util/disasm.c
968
zfree(&dl->al.line);
tools/perf/util/disasm.c
981
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
841
al->socket = env->cpu[al->cpu].socket_id;
tools/perf/util/event.c
845
al->parallelism = max(1, min(machine->parallelism, machine__nr_cpus_avail(machine)));
tools/perf/util/event.c
846
if (test_bit(al->parallelism, symbol_conf.parallelism_filter))
tools/perf/util/event.c
847
al->filtered |= (1 << HIST_FILTER__PARALLELISM);
tools/perf/util/event.c
853
al->latency = sample->period * 1000 / al->parallelism;
tools/perf/util/event.c
855
if (al->map) {
tools/perf/util/event.c
862
al->filtered |= (1 << HIST_FILTER__DSO);
tools/perf/util/event.c
865
al->sym = map__find_symbol(al->map, al->addr);
tools/perf/util/event.c
867
al->filtered |= (1 << HIST_FILTER__DSO);
tools/perf/util/event.c
875
if (al->sym) {
tools/perf/util/event.c
877
al->sym->name);
tools/perf/util/event.c
879
if (!ret && al->sym) {
tools/perf/util/event.c
881
map__unmap_ip(al->map, al->sym->start));
tools/perf/util/event.c
885
if (!ret && symbol_conf.addr_list && al->map) {
tools/perf/util/event.c
886
unsigned long addr = map__unmap_ip(al->map, al->addr);
tools/perf/util/event.c
897
al->filtered |= (1 << HIST_FILTER__SYMBOL);
tools/perf/util/event.c
924
void thread__resolve(struct thread *thread, struct addr_location *al,
tools/perf/util/event.c
927
thread__find_map_fb(thread, sample->cpumode, sample->addr, al);
tools/perf/util/event.c
929
al->cpu = sample->cpu;
tools/perf/util/event.c
930
al->sym = NULL;
tools/perf/util/event.c
932
if (al->map)
tools/perf/util/event.c
933
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
1006
struct addr_location *al __maybe_unused)
tools/perf/util/hist.c
1012
iter_next_branch_entry(struct hist_entry_iter *iter, struct addr_location *al)
tools/perf/util/hist.c
1023
thread__put(al->thread);
tools/perf/util/hist.c
1024
al->thread = thread__get(bi[i].to.ms.thread);
tools/perf/util/hist.c
1025
map__put(al->map);
tools/perf/util/hist.c
1026
al->map = map__get(bi[i].to.ms.map);
tools/perf/util/hist.c
1027
al->sym = bi[i].to.ms.sym;
tools/perf/util/hist.c
1028
al->addr = bi[i].to.addr;
tools/perf/util/hist.c
1033
iter_add_next_branch_entry(struct hist_entry_iter *iter, struct addr_location *al)
tools/perf/util/hist.c
1055
he = hists__add_entry(hists, al, iter->parent, &bi[i], NULL, NULL,
tools/perf/util/hist.c
1076
struct addr_location *al __maybe_unused)
tools/perf/util/hist.c
1095
struct addr_location *al __maybe_unused)
tools/perf/util/hist.c
1101
iter_add_single_normal_entry(struct hist_entry_iter *iter, struct addr_location *al)
tools/perf/util/hist.c
1107
he = hists__add_entry(evsel__hists(evsel), al, iter->parent, NULL, NULL,
tools/perf/util/hist.c
1118
struct addr_location *al __maybe_unused)
tools/perf/util/hist.c
1136
struct addr_location *al __maybe_unused)
tools/perf/util/hist.c
1163
struct addr_location *al)
tools/perf/util/hist.c
1172
he = hists__add_entry(hists, al, iter->parent, NULL, NULL, NULL,
tools/perf/util/hist.c
1195
struct addr_location *al)
tools/perf/util/hist.c
1203
return fill_callchain_info(al, node, iter->hide_unresolved);
tools/perf/util/hist.c
1222
struct addr_location *al)
tools/perf/util/hist.c
1230
.cpu = al->cpu,
tools/perf/util/hist.c
1231
.thread = al->thread,
tools/perf/util/hist.c
1232
.comm = thread__comm(al->thread),
tools/perf/util/hist.c
1233
.ip = al->addr,
tools/perf/util/hist.c
1235
.thread = al->thread,
tools/perf/util/hist.c
1236
.map = al->map,
tools/perf/util/hist.c
1237
.sym = al->sym,
tools/perf/util/hist.c
1239
.srcline = (char *) al->srcline,
tools/perf/util/hist.c
1275
he = hists__add_entry(evsel__hists(evsel), al, iter->parent, NULL, NULL,
tools/perf/util/hist.c
1290
struct addr_location *al __maybe_unused)
tools/perf/util/hist.c
1332
int hist_entry_iter__add(struct hist_entry_iter *iter, struct addr_location *al,
tools/perf/util/hist.c
1338
if (al)
tools/perf/util/hist.c
1339
alm = map__get(al->map);
tools/perf/util/hist.c
1342
iter->evsel, al, max_stack_depth);
tools/perf/util/hist.c
1348
err = iter->ops->prepare_entry(iter, al);
tools/perf/util/hist.c
1352
err = iter->ops->add_single_entry(iter, al);
tools/perf/util/hist.c
1357
err = iter->add_entry_cb(iter, al, true, arg);
tools/perf/util/hist.c
1362
while (iter->ops->next_entry(iter, al)) {
tools/perf/util/hist.c
1363
err = iter->ops->add_next_entry(iter, al);
tools/perf/util/hist.c
1368
err = iter->add_entry_cb(iter, al, false, arg);
tools/perf/util/hist.c
1375
err2 = iter->ops->finish_entry(iter, al);
tools/perf/util/hist.c
2824
void hist__account_cycles(struct branch_stack *bs, struct addr_location *al,
tools/perf/util/hist.c
2833
bi = sample__resolve_bstack(sample, al);
tools/perf/util/hist.c
681
const struct addr_location *al,
tools/perf/util/hist.c
755
he_stat__add_cpumode_period(&he->stat, al->cpumode, period);
tools/perf/util/hist.c
757
he_stat__add_cpumode_period(he->stat_acc, al->cpumode, period);
tools/perf/util/hist.c
793
struct addr_location *al,
tools/perf/util/hist.c
803
struct namespaces *ns = thread__namespaces(al->thread);
tools/perf/util/hist.c
805
.thread = al->thread,
tools/perf/util/hist.c
806
.comm = thread__comm(al->thread),
tools/perf/util/hist.c
813
.thread = al->thread,
tools/perf/util/hist.c
814
.map = al->map,
tools/perf/util/hist.c
815
.sym = al->sym,
tools/perf/util/hist.c
817
.srcline = (char *) al->srcline,
tools/perf/util/hist.c
818
.socket = al->socket,
tools/perf/util/hist.c
819
.cpu = al->cpu,
tools/perf/util/hist.c
820
.cpumode = al->cpumode,
tools/perf/util/hist.c
821
.ip = al->addr,
tools/perf/util/hist.c
822
.level = al->level,
tools/perf/util/hist.c
824
.parallelism = al->parallelism,
tools/perf/util/hist.c
831
.latency = al->latency,
tools/perf/util/hist.c
834
.filtered = symbol__parent_filter(sym_parent) | al->filtered,
tools/perf/util/hist.c
849
}, *he = hists__findnew_entry(hists, &entry, al, sample_self);
tools/perf/util/hist.c
859
struct addr_location *al,
tools/perf/util/hist.c
867
return __hists__add_entry(hists, al, sym_parent, bi, mi, ki, NULL,
tools/perf/util/hist.c
873
struct addr_location *al,
tools/perf/util/hist.c
881
return __hists__add_entry(hists, al, sym_parent, bi, mi, ki, NULL,
tools/perf/util/hist.c
886
struct addr_location *al,
tools/perf/util/hist.c
893
.thread = al->thread,
tools/perf/util/hist.c
894
.map = al->map,
tools/perf/util/hist.c
895
.sym = al->sym,
tools/perf/util/hist.c
897
}, *he = hists__findnew_entry(hists, &entry, al, false);
tools/perf/util/hist.c
904
struct addr_location *al __maybe_unused)
tools/perf/util/hist.c
911
struct addr_location *al __maybe_unused)
tools/perf/util/hist.c
917
iter_prepare_mem_entry(struct hist_entry_iter *iter, struct addr_location *al)
tools/perf/util/hist.c
922
mi = sample__resolve_mem(sample, al);
tools/perf/util/hist.c
931
iter_add_single_mem_entry(struct hist_entry_iter *iter, struct addr_location *al)
tools/perf/util/hist.c
955
he = hists__add_entry(hists, al, iter->parent, NULL, mi, NULL,
tools/perf/util/hist.c
966
struct addr_location *al __maybe_unused)
tools/perf/util/hist.c
988
iter_prepare_branch_entry(struct hist_entry_iter *iter, struct addr_location *al)
tools/perf/util/hist.c
993
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
798
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
3633
struct addr_location *al)
tools/perf/util/intel-pt.c
3635
if (!al->map || addr < map__start(al->map) || addr >= map__end(al->map)) {
tools/perf/util/intel-pt.c
3636
if (!thread__find_map(thread, cpumode, addr, al))
tools/perf/util/intel-pt.c
3651
struct addr_location al;
tools/perf/util/intel-pt.c
3657
addr_location__init(&al);
tools/perf/util/intel-pt.c
3664
if (intel_pt_find_map(thread, cpumode, addr, &al)) {
tools/perf/util/intel-pt.c
3670
dso = map__dso(al.map);
tools/perf/util/intel-pt.c
3674
offset = map__map_ip(al.map, addr);
tools/perf/util/intel-pt.c
3695
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
91
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
193
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/llvm.c
254
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/machine.c
2004
struct addr_location al;
tools/perf/util/machine.c
2006
addr_location__init(&al);
tools/perf/util/machine.c
2014
thread__find_cpumode_addr_location(thread, ip, /*symbols=*/true, &al);
tools/perf/util/machine.c
2017
ams->al_addr = al.addr;
tools/perf/util/machine.c
2018
ams->al_level = al.level;
tools/perf/util/machine.c
2019
ams->ms.thread = thread__get(al.thread);
tools/perf/util/machine.c
2020
ams->ms.sym = al.sym;
tools/perf/util/machine.c
2021
ams->ms.map = map__get(al.map);
tools/perf/util/machine.c
2024
addr_location__exit(&al);
tools/perf/util/machine.c
2031
struct addr_location al;
tools/perf/util/machine.c
2033
addr_location__init(&al);
tools/perf/util/machine.c
2035
thread__find_symbol(thread, m, addr, &al);
tools/perf/util/machine.c
2038
ams->al_addr = al.addr;
tools/perf/util/machine.c
2039
ams->al_level = al.level;
tools/perf/util/machine.c
2040
ams->ms.thread = thread__get(al.thread);
tools/perf/util/machine.c
2041
ams->ms.sym = al.sym;
tools/perf/util/machine.c
2042
ams->ms.map = map__get(al.map);
tools/perf/util/machine.c
2045
addr_location__exit(&al);
tools/perf/util/machine.c
2049
struct addr_location *al)
tools/perf/util/machine.c
2056
ip__resolve_ams(al->thread, mem_info__iaddr(mi), sample->ip);
tools/perf/util/machine.c
2057
ip__resolve_data(al->thread, al->cpumode, mem_info__daddr(mi),
tools/perf/util/machine.c
2159
struct addr_location al;
tools/perf/util/machine.c
2164
addr_location__init(&al);
tools/perf/util/machine.c
2165
al.filtered = 0;
tools/perf/util/machine.c
2166
al.sym = NULL;
tools/perf/util/machine.c
2167
al.srcline = NULL;
tools/perf/util/machine.c
2169
thread__find_cpumode_addr_location(thread, ip, symbols, &al);
tools/perf/util/machine.c
2197
thread__find_symbol(thread, *cpumode, ip, &al);
tools/perf/util/machine.c
2199
thread__find_map(thread, *cpumode, ip, &al);
tools/perf/util/machine.c
2202
if (al.sym != NULL) {
tools/perf/util/machine.c
2204
symbol__match_regex(al.sym, &parent_regex))
tools/perf/util/machine.c
2205
*parent = al.sym;
tools/perf/util/machine.c
2207
symbol__match_regex(al.sym, &ignore_callees_regex)) {
tools/perf/util/machine.c
2210
addr_location__copy(root_al, &al);
tools/perf/util/machine.c
2215
if (symbol_conf.hide_unresolved && al.sym == NULL)
tools/perf/util/machine.c
2223
ms.thread = thread__get(al.thread);
tools/perf/util/machine.c
2224
ms.map = map__get(al.map);
tools/perf/util/machine.c
2225
ms.sym = al.sym;
tools/perf/util/machine.c
2231
srcline = callchain_srcline(&ms, al.addr);
tools/perf/util/machine.c
2236
addr_location__exit(&al);
tools/perf/util/machine.c
2242
struct addr_location *al)
tools/perf/util/machine.c
2254
ip__resolve_ams(al->thread, &bi[i].to, entries[i].to);
tools/perf/util/machine.c
2255
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
331
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
33
static bool is64bitip(struct machine *machine, struct addr_location *al)
tools/perf/util/print_insn.c
35
const struct dso *dso = al->map ? map__dso(al->map) : NULL;
tools/perf/util/print_insn.c
55
struct addr_location *al)
tools/perf/util/print_insn.c
57
bool is64bit = is64bitip(machine, al);
tools/perf/util/print_insn.h
16
struct machine *machine, FILE *fp, struct addr_location *al);
tools/perf/util/scripting-engines/trace-event-perl.c
261
struct addr_location *al)
tools/perf/util/scripting-engines/trace-event-perl.c
275
if (thread__resolve_callchain(al->thread, cursor, evsel,
tools/perf/util/scripting-engines/trace-event-perl.c
344
struct addr_location *al)
tools/perf/util/scripting-engines/trace-event-perl.c
346
struct thread *thread = al->thread;
tools/perf/util/scripting-engines/trace-event-perl.c
392
XPUSHs(sv_2mortal(perl_process_callchain(sample, evsel, al)));
tools/perf/util/scripting-engines/trace-event-perl.c
429
XPUSHs(sv_2mortal(perl_process_callchain(sample, evsel, al)));
tools/perf/util/scripting-engines/trace-event-perl.c
465
struct addr_location *al,
tools/perf/util/scripting-engines/trace-event-perl.c
468
scripting_context__update(scripting_context, event, sample, evsel, al, addr_al);
tools/perf/util/scripting-engines/trace-event-perl.c
469
perl_process_tracepoint(sample, evsel, al);
tools/perf/util/scripting-engines/trace-event-python.c
1054
all_entries_dict = get_perf_sample_dict(sample, evsel, al, addr_al,
tools/perf/util/scripting-engines/trace-event-python.c
1074
struct addr_location *al __maybe_unused,
tools/perf/util/scripting-engines/trace-event-python.c
1316
tuple_set_d64(t, 2, maps__machine(thread__maps(es->al->thread))->db_id);
tools/perf/util/scripting-engines/trace-event-python.c
1317
tuple_set_d64(t, 3, thread__db_id(es->al->thread));
tools/perf/util/scripting-engines/trace-event-python.c
1469
struct addr_location *al,
tools/perf/util/scripting-engines/trace-event-python.c
1491
callchain = python_process_callchain(sample, evsel, al);
tools/perf/util/scripting-engines/trace-event-python.c
1492
dict = get_perf_sample_dict(sample, evsel, al, addr_al, callchain);
tools/perf/util/scripting-engines/trace-event-python.c
1506
struct addr_location *al,
tools/perf/util/scripting-engines/trace-event-python.c
1511
scripting_context__update(scripting_context, event, sample, evsel, al, addr_al);
tools/perf/util/scripting-engines/trace-event-python.c
1515
python_process_tracepoint(sample, evsel, al, addr_al);
tools/perf/util/scripting-engines/trace-event-python.c
1520
db_export__sample(&tables->dbe, event, sample, evsel, al, addr_al);
tools/perf/util/scripting-engines/trace-event-python.c
1522
python_process_general_event(sample, evsel, 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
394
struct addr_location *al)
tools/perf/util/scripting-engines/trace-event-python.c
407
if (thread__resolve_callchain(al->thread, cursor, evsel,
tools/perf/util/scripting-engines/trace-event-python.c
501
struct addr_location al;
tools/perf/util/scripting-engines/trace-event-python.c
523
addr_location__init(&al);
tools/perf/util/scripting-engines/trace-event-python.c
525
entries[i].from, &al);
tools/perf/util/scripting-engines/trace-event-python.c
526
dsoname = get_dsoname(al.map);
tools/perf/util/scripting-engines/trace-event-python.c
531
entries[i].to, &al);
tools/perf/util/scripting-engines/trace-event-python.c
532
dsoname = get_dsoname(al.map);
tools/perf/util/scripting-engines/trace-event-python.c
536
addr_location__exit(&al);
tools/perf/util/scripting-engines/trace-event-python.c
545
static int get_symoff(struct symbol *sym, struct addr_location *al,
tools/perf/util/scripting-engines/trace-event-python.c
556
offset = get_offset(sym, al);
tools/perf/util/scripting-engines/trace-event-python.c
590
struct addr_location al;
tools/perf/util/scripting-engines/trace-event-python.c
592
addr_location__init(&al);
tools/perf/util/scripting-engines/trace-event-python.c
598
entries[i].from, &al);
tools/perf/util/scripting-engines/trace-event-python.c
599
get_symoff(al.sym, &al, true, bf, sizeof(bf));
tools/perf/util/scripting-engines/trace-event-python.c
604
entries[i].to, &al);
tools/perf/util/scripting-engines/trace-event-python.c
605
get_symoff(al.sym, &al, true, bf, sizeof(bf));
tools/perf/util/scripting-engines/trace-event-python.c
631
addr_location__exit(&al);
tools/perf/util/scripting-engines/trace-event-python.c
780
static void set_sym_in_dict(PyObject *dict, struct addr_location *al,
tools/perf/util/scripting-engines/trace-event-python.c
786
if (al->map) {
tools/perf/util/scripting-engines/trace-event-python.c
788
struct dso *dso = map__dso(al->map);
tools/perf/util/scripting-engines/trace-event-python.c
796
PyLong_FromUnsignedLong(map__start(al->map)));
tools/perf/util/scripting-engines/trace-event-python.c
798
PyLong_FromUnsignedLong(map__end(al->map)));
tools/perf/util/scripting-engines/trace-event-python.c
800
PyLong_FromUnsignedLongLong(map__pgoff(al->map)));
tools/perf/util/scripting-engines/trace-event-python.c
802
if (al->sym) {
tools/perf/util/scripting-engines/trace-event-python.c
804
_PyUnicode_FromString(al->sym->name));
tools/perf/util/scripting-engines/trace-event-python.c
806
PyLong_FromUnsignedLong(get_offset(al->sym, al)));
tools/perf/util/scripting-engines/trace-event-python.c
835
struct addr_location *al,
tools/perf/util/scripting-engines/trace-event-python.c
887
_PyUnicode_FromString(thread__comm_str(al->thread)));
tools/perf/util/scripting-engines/trace-event-python.c
888
set_sym_in_dict(dict, al, "dso", "dso_bid", "dso_map_start", "dso_map_end",
tools/perf/util/scripting-engines/trace-event-python.c
893
brstack = python_process_brstack(sample, al->thread);
tools/perf/util/scripting-engines/trace-event-python.c
896
brstacksym = python_process_brstacksym(sample, al->thread);
tools/perf/util/scripting-engines/trace-event-python.c
928
if (al->thread)
tools/perf/util/scripting-engines/trace-event-python.c
929
e_machine = thread__e_machine(al->thread, /*machine=*/NULL, &e_flags);
tools/perf/util/scripting-engines/trace-event-python.c
940
struct addr_location *al,
tools/perf/util/scripting-engines/trace-event-python.c
954
const char *comm = thread__comm_str(al->thread);
tools/perf/util/scripting-engines/trace-event-python.c
998
callchain = python_process_callchain(sample, evsel, al);
tools/perf/util/symbol.h
160
const struct addr_location *al,
tools/perf/util/symbol.h
164
const struct addr_location *al, FILE *fp);
tools/perf/util/symbol.h
166
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
431
bool symbols, struct addr_location *al)
tools/perf/util/thread.c
443
thread__find_symbol(thread, cpumodes[i], addr, al);
tools/perf/util/thread.c
445
thread__find_map(thread, cpumodes[i], addr, al);
tools/perf/util/thread.c
447
if (al->map)
tools/perf/util/thread.c
569
struct addr_location al;
tools/perf/util/thread.c
576
addr_location__init(&al);
tools/perf/util/thread.c
577
if (!thread__find_map(thread, cpumode, ip, &al)) {
tools/perf/util/thread.c
578
addr_location__exit(&al);
tools/perf/util/thread.c
582
dso = map__dso(al.map);
tools/perf/util/thread.c
584
if (!dso || dso__data(dso)->status == DSO_DATA_STATUS_ERROR || map__load(al.map) < 0) {
tools/perf/util/thread.c
585
addr_location__exit(&al);
tools/perf/util/thread.c
589
offset = map__map_ip(al.map, ip);
tools/perf/util/thread.c
593
addr_location__exit(&al);
tools/perf/util/thread.h
123
struct addr_location *al);
tools/perf/util/thread.h
125
struct addr_location *al);
tools/perf/util/thread.h
128
u64 addr, struct addr_location *al);
tools/perf/util/thread.h
130
u64 addr, struct addr_location *al);
tools/perf/util/thread.h
133
bool symbols, struct addr_location *al);
tools/perf/util/thread.h
374
void thread__resolve(struct thread *thread, struct addr_location *al,
tools/perf/util/trace-event-scripting.c
107
struct addr_location *al,
tools/perf/util/trace-event-scripting.c
121
c->al = al;
tools/perf/util/trace-event-scripting.c
138
struct addr_location *al __maybe_unused,
tools/perf/util/trace-event.h
128
struct addr_location *al;
tools/perf/util/trace-event.h
137
struct addr_location *al,
tools/perf/util/trace-event.h
98
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-local.c
435
struct addr_location al;
tools/perf/util/unwind-libunwind-local.c
438
addr_location__init(&al);
tools/perf/util/unwind-libunwind-local.c
439
thread__find_map(ui->thread, PERF_RECORD_MISC_USER, ip, &al);
tools/perf/util/unwind-libunwind-local.c
440
ret = map__get(al.map);
tools/perf/util/unwind-libunwind-local.c
441
addr_location__exit(&al);
tools/perf/util/unwind-libunwind-local.c
664
struct addr_location al;
tools/perf/util/unwind-libunwind-local.c
667
addr_location__init(&al);
tools/perf/util/unwind-libunwind-local.c
668
e.ms.sym = thread__find_symbol(thread, PERF_RECORD_MISC_USER, ip, &al);
tools/perf/util/unwind-libunwind-local.c
670
e.ms.map = al.map;
tools/perf/util/unwind-libunwind-local.c
671
e.ms.thread = thread__get(al.thread);
tools/perf/util/unwind-libunwind-local.c
674
al.sym ? al.sym->name : "''",
tools/perf/util/unwind-libunwind-local.c
676
al.map ? map__map_ip(al.map, ip) : (u64) 0);
tools/perf/util/unwind-libunwind-local.c
679
addr_location__exit(&al);