ph 271 arch/mips/boot/elf2ecoff.c Elf32_Phdr *ph; ph 329 arch/mips/boot/elf2ecoff.c ph = (Elf32_Phdr *) saveRead(infile, ex.e_phoff, ph 333 arch/mips/boot/elf2ecoff.c convert_elf_phdrs(ph, ex.e_phnum); ph 347 arch/mips/boot/elf2ecoff.c qsort(ph, ex.e_phnum, sizeof(Elf32_Phdr), phcmp); ph 351 arch/mips/boot/elf2ecoff.c switch (ph[i].p_type) { ph 361 arch/mips/boot/elf2ecoff.c if (ph[i].p_flags & PF_W) { ph 364 arch/mips/boot/elf2ecoff.c ndata.vaddr = ph[i].p_vaddr; ph 365 arch/mips/boot/elf2ecoff.c ndata.len = ph[i].p_filesz; ph 366 arch/mips/boot/elf2ecoff.c nbss.vaddr = ph[i].p_vaddr + ph[i].p_filesz; ph 367 arch/mips/boot/elf2ecoff.c nbss.len = ph[i].p_memsz - ph[i].p_filesz; ph 374 arch/mips/boot/elf2ecoff.c ntxt.vaddr = ph[i].p_vaddr; ph 375 arch/mips/boot/elf2ecoff.c ntxt.len = ph[i].p_filesz; ph 380 arch/mips/boot/elf2ecoff.c if (ph[i].p_vaddr < cur_vma) ph 381 arch/mips/boot/elf2ecoff.c cur_vma = ph[i].p_vaddr; ph 388 arch/mips/boot/elf2ecoff.c ex.e_phnum, ph[i].p_type); ph 567 arch/mips/boot/elf2ecoff.c if (ph[i].p_type == PT_LOAD && ph[i].p_filesz) { ph 568 arch/mips/boot/elf2ecoff.c if (cur_vma != ph[i].p_vaddr) { ph 569 arch/mips/boot/elf2ecoff.c uint32_t gap = ph[i].p_vaddr - cur_vma; ph 597 arch/mips/boot/elf2ecoff.c ph[i].p_filesz); ph 598 arch/mips/boot/elf2ecoff.c copy(outfile, infile, ph[i].p_offset, ph 599 arch/mips/boot/elf2ecoff.c ph[i].p_filesz); ph 600 arch/mips/boot/elf2ecoff.c cur_vma = ph[i].p_vaddr + ph[i].p_filesz; ph 597 arch/mips/cavium-octeon/octeon-platform.c u32 ph = be32_to_cpup(phy_handle); ph 598 arch/mips/cavium-octeon/octeon-platform.c int p = fdt_node_offset_by_phandle(initial_boot_params, ph); ph 118 arch/powerpc/boot/addnote.c unsigned long ph, ps, np; ph 151 arch/powerpc/boot/addnote.c ph = (e_class == ELFCLASS32 ? GET_32(E_PHOFF) : GET_64(E_PHOFF)); ph 154 arch/powerpc/boot/addnote.c if (ph < E_HSIZE || ps < PH_HSIZE || np < 1) ph 156 arch/powerpc/boot/addnote.c if (ph + (np + 2) * ps + nnote + nnote2 > n) ph 160 arch/powerpc/boot/addnote.c if (GET_32(ph + PH_TYPE) == PT_NOTE) { ph 165 arch/powerpc/boot/addnote.c ph += ps; ph 170 arch/powerpc/boot/addnote.c if (buf[ph + i] != 0) ph 174 arch/powerpc/boot/addnote.c ns = ph + 2 * ps; ph 175 arch/powerpc/boot/addnote.c PUT_32(ph + PH_TYPE, PT_NOTE); ph 177 arch/powerpc/boot/addnote.c PUT_32(ph + PH_OFFSET, ns); ph 179 arch/powerpc/boot/addnote.c PUT_64(ph + PH_OFFSET, ns); ph 182 arch/powerpc/boot/addnote.c PUT_32(ph + PH_FILESZ, nnote); ph 184 arch/powerpc/boot/addnote.c PUT_64(ph + PH_FILESZ, nnote); ph 197 arch/powerpc/boot/addnote.c ph += ps; ph 198 arch/powerpc/boot/addnote.c PUT_32(ph + PH_TYPE, PT_NOTE); ph 200 arch/powerpc/boot/addnote.c PUT_32(ph + PH_OFFSET, ns); ph 202 arch/powerpc/boot/addnote.c PUT_64(ph + PH_OFFSET, ns); ph 205 arch/powerpc/boot/addnote.c PUT_32(ph + PH_FILESZ, nnote); ph 207 arch/powerpc/boot/addnote.c PUT_64(ph + PH_FILESZ, nnote2); ph 265 arch/powerpc/include/asm/sfp-machine.h #define umul_ppmm(ph, pl, m0, m1) \ ph 268 arch/powerpc/include/asm/sfp-machine.h __asm__ ("mulhwu %0,%1,%2" : "=r" (ph) : "%r" (m0), "r" (m1)); \ ph 2815 arch/powerpc/kernel/prom_init.c phandle ph; ph 2822 arch/powerpc/kernel/prom_init.c ph = call_prom("finddevice", 1, 1, ADDR(name)); ph 2823 arch/powerpc/kernel/prom_init.c if (!PHANDLE_VALID(ph)) { ph 2825 arch/powerpc/kernel/prom_init.c ph = call_prom("finddevice", 1, 1, ADDR(name)); ph 2828 arch/powerpc/kernel/prom_init.c if (PHANDLE_VALID(ph)) { ph 2829 arch/powerpc/kernel/prom_init.c rc = prom_getproplen(ph, "ranges"); ph 2839 arch/powerpc/kernel/prom_init.c prom_setprop(ph, name, "ranges", prop, sizeof(prop)); ph 2844 arch/powerpc/kernel/prom_init.c ph = call_prom("finddevice", 1, 1, ADDR(name)); ph 2845 arch/powerpc/kernel/prom_init.c if (PHANDLE_VALID(ph)) { ph 2849 arch/powerpc/kernel/prom_init.c prom_setprop(ph, name, "interrupts", prop, 2*sizeof(u32)); ph 2851 arch/powerpc/kernel/prom_init.c rc = prom_getprop(ph, "class-code", prop, sizeof(u32)); ph 2854 arch/powerpc/kernel/prom_init.c prom_setprop(ph, name, "class-code", prop, sizeof(u32)); ph 154 arch/powerpc/platforms/cell/axon_msi.c const phandle *ph; ph 164 arch/powerpc/platforms/cell/axon_msi.c ph = of_get_property(dn, "msi-translator", NULL); ph 165 arch/powerpc/platforms/cell/axon_msi.c if (ph) ph 169 arch/powerpc/platforms/cell/axon_msi.c if (!ph) { ph 176 arch/powerpc/platforms/cell/axon_msi.c dn = of_find_node_by_phandle(*ph); ph 816 arch/powerpc/platforms/powermac/pfunc_core.c u32 ph; ph 826 arch/powerpc/platforms/powermac/pfunc_core.c ph = *prop; ph 827 arch/powerpc/platforms/powermac/pfunc_core.c if (ph == 0) ph 835 arch/powerpc/platforms/powermac/pfunc_core.c actor = of_find_node_by_phandle(ph); ph 77 arch/powerpc/sysdev/tsi108_dev.c const phandle *ph; ph 108 arch/powerpc/sysdev/tsi108_dev.c ph = of_get_property(np, "mdio-handle", NULL); ph 109 arch/powerpc/sysdev/tsi108_dev.c mdio = of_find_node_by_phandle(*ph); ph 115 arch/powerpc/sysdev/tsi108_dev.c ph = of_get_property(np, "phy-handle", NULL); ph 116 arch/powerpc/sysdev/tsi108_dev.c phy = of_find_node_by_phandle(*ph); ph 115 arch/x86/kernel/irq_32.c struct page *ph, *ps; ph 120 arch/x86/kernel/irq_32.c ph = alloc_pages_node(node, THREADINFO_GFP, THREAD_SIZE_ORDER); ph 121 arch/x86/kernel/irq_32.c if (!ph) ph 125 arch/x86/kernel/irq_32.c __free_pages(ph, THREAD_SIZE_ORDER); ph 129 arch/x86/kernel/irq_32.c per_cpu(hardirq_stack_ptr, cpu) = page_address(ph); ph 67 block/partitions/ldm.c static bool ldm_parse_privhead(const u8 *data, struct privhead *ph) ph 71 block/partitions/ldm.c BUG_ON(!data || !ph); ph 77 block/partitions/ldm.c ph->ver_major = get_unaligned_be16(data + 0x000C); ph 78 block/partitions/ldm.c ph->ver_minor = get_unaligned_be16(data + 0x000E); ph 79 block/partitions/ldm.c ph->logical_disk_start = get_unaligned_be64(data + 0x011B); ph 80 block/partitions/ldm.c ph->logical_disk_size = get_unaligned_be64(data + 0x0123); ph 81 block/partitions/ldm.c ph->config_start = get_unaligned_be64(data + 0x012B); ph 82 block/partitions/ldm.c ph->config_size = get_unaligned_be64(data + 0x0133); ph 84 block/partitions/ldm.c if (ph->ver_major == 2 && ph->ver_minor == 12) ph 86 block/partitions/ldm.c if (!is_vista && (ph->ver_major != 2 || ph->ver_minor != 11)) { ph 88 block/partitions/ldm.c " Aborting.", ph->ver_major, ph->ver_minor); ph 91 block/partitions/ldm.c ldm_debug("PRIVHEAD version %d.%d (Windows %s).", ph->ver_major, ph 92 block/partitions/ldm.c ph->ver_minor, is_vista ? "Vista" : "2000/XP"); ph 93 block/partitions/ldm.c if (ph->config_size != LDM_DB_SIZE) { /* 1 MiB in sectors. */ ph 97 block/partitions/ldm.c (unsigned long long)ph->config_size); ph 99 block/partitions/ldm.c if ((ph->logical_disk_size == 0) || (ph->logical_disk_start + ph 100 block/partitions/ldm.c ph->logical_disk_size > ph->config_start)) { ph 104 block/partitions/ldm.c if (uuid_parse(data + 0x0030, &ph->disk_id)) { ph 269 block/partitions/ldm.c struct privhead *ph[3] = { ph1 }; ph 278 block/partitions/ldm.c ph[1] = kmalloc (sizeof (*ph[1]), GFP_KERNEL); ph 279 block/partitions/ldm.c ph[2] = kmalloc (sizeof (*ph[2]), GFP_KERNEL); ph 280 block/partitions/ldm.c if (!ph[1] || !ph[2]) { ph 286 block/partitions/ldm.c ph[0]->config_start = 0; ph 290 block/partitions/ldm.c data = read_part_sector(state, ph[0]->config_start + off[i], ph 296 block/partitions/ldm.c result = ldm_parse_privhead (data, ph[i]); ph 309 block/partitions/ldm.c if ((ph[0]->config_start > num_sects) || ph 310 block/partitions/ldm.c ((ph[0]->config_start + ph[0]->config_size) > num_sects)) { ph 315 block/partitions/ldm.c if ((ph[0]->logical_disk_start > ph[0]->config_start) || ph 316 block/partitions/ldm.c ((ph[0]->logical_disk_start + ph[0]->logical_disk_size) ph 317 block/partitions/ldm.c > ph[0]->config_start)) { ph 322 block/partitions/ldm.c if (!ldm_compare_privheads (ph[0], ph[1])) { ph 334 block/partitions/ldm.c kfree (ph[1]); ph 335 block/partitions/ldm.c kfree (ph[2]); ph 358 block/partitions/ldm.c struct privhead *ph; ph 365 block/partitions/ldm.c ph = &ldb->ph; ph 395 block/partitions/ldm.c if (((tb[0]->bitmap1_start + tb[0]->bitmap1_size) > ph->config_size) || ph 397 block/partitions/ldm.c ph->config_size)) { ph 546 block/partitions/ldm.c if (uuid_equal(&v->vblk.disk.disk_id, &ldb->ph.disk_id)) ph 597 block/partitions/ldm.c put_partition (pp, part_num, ldb->ph.logical_disk_start + ph 1459 block/partitions/ldm.c if (!ldm_validate_privheads(state, &ldb->ph)) ph 1463 block/partitions/ldm.c base = ldb->ph.config_start; ph 186 block/partitions/ldm.h struct privhead ph; ph 99 drivers/block/paride/epat.c { int k, ph, a, b; ph 104 drivers/block/paride/epat.c ph = 0; ph 107 drivers/block/paride/epat.c w2(6+ph); a = r1(); ph 109 drivers/block/paride/epat.c else { w2(4+ph); b = r1(); } ph 111 drivers/block/paride/epat.c ph = 1 - ph; ph 117 drivers/block/paride/epat.c ph = 0; ph 120 drivers/block/paride/epat.c w2(4+ph); ph 123 drivers/block/paride/epat.c ph = 1 - ph; ph 129 drivers/block/paride/epat.c ph = 0; ph 131 drivers/block/paride/epat.c w2(0x24+ph); ph 133 drivers/block/paride/epat.c ph = 1 - ph; ph 164 drivers/block/paride/epat.c { int ph, k; ph 171 drivers/block/paride/epat.c ph = 0; ph 174 drivers/block/paride/epat.c w2(4+ph); ph 175 drivers/block/paride/epat.c ph = 1 - ph; ph 138 drivers/block/paride/epia.c { int k, ph, a, b; ph 143 drivers/block/paride/epia.c ph = 1; ph 145 drivers/block/paride/epia.c w2(2+ph); a = r1(); ph 146 drivers/block/paride/epia.c w2(4+ph); b = r1(); ph 148 drivers/block/paride/epia.c ph = 1 - ph; ph 155 drivers/block/paride/epia.c ph = 1; ph 157 drivers/block/paride/epia.c w2(4+ph); ph 160 drivers/block/paride/epia.c ph = 1 - ph; ph 166 drivers/block/paride/epia.c ph = 1; ph 168 drivers/block/paride/epia.c w2(0x24+ph); ph 170 drivers/block/paride/epia.c ph = 1 - ph; ph 198 drivers/block/paride/epia.c { int ph, k, last, d; ph 205 drivers/block/paride/epia.c ph = 0; last = 0x8000; ph 209 drivers/block/paride/epia.c w2(4+ph); ph 210 drivers/block/paride/epia.c ph = 1 - ph; ph 79 drivers/block/paride/friq.c { int h, l, k, ph; ph 92 drivers/block/paride/friq.c case 1: ph = 2; ph 96 drivers/block/paride/friq.c w2(0xa4 + ph); ph 98 drivers/block/paride/friq.c ph = 2 - ph; ph 76 drivers/block/paride/frpw.c { int h, l, k, ph; ph 89 drivers/block/paride/frpw.c case 1: ph = 2; ph 93 drivers/block/paride/frpw.c w2(0xa4 + ph); ph 95 drivers/block/paride/frpw.c ph = 2 - ph; ph 366 drivers/clk/meson/axg-audio.c .ph = { \ ph 43 drivers/clk/meson/clk-phase.c val = meson_parm_read(clk->map, &phase->ph); ph 45 drivers/clk/meson/clk-phase.c return meson_clk_degrees_from_val(val, phase->ph.width); ph 54 drivers/clk/meson/clk-phase.c val = meson_clk_degrees_to_val(degrees, phase->ph.width); ph 55 drivers/clk/meson/clk-phase.c meson_parm_write(clk->map, &phase->ph, val); ph 14 drivers/clk/meson/clk-phase.h struct parm ph; ph 1680 drivers/crypto/stm32/stm32-cryp.c u32 ph; ph 1693 drivers/crypto/stm32/stm32-cryp.c ph = stm32_cryp_read(cryp, CRYP_CR) & CR_PH_MASK; ph 1694 drivers/crypto/stm32/stm32-cryp.c if (unlikely(ph == CR_PH_HEADER)) ph 1702 drivers/crypto/stm32/stm32-cryp.c ph = stm32_cryp_read(cryp, CRYP_CR) & CR_PH_MASK; ph 1703 drivers/crypto/stm32/stm32-cryp.c if (unlikely(ph == CR_PH_HEADER)) ph 1179 drivers/misc/cxl/native.c int ph, ret = IRQ_HANDLED, res; ph 1189 drivers/misc/cxl/native.c ph = phreg & 0xffff; ph 1198 drivers/misc/cxl/native.c ctx = idr_find(&afu->contexts_idr, ph); ph 1209 drivers/misc/cxl/native.c " with outstanding transactions?)\n", ph, irq_info.dsisr, ph 1220 drivers/misc/cxl/native.c int ph; ph 1227 drivers/misc/cxl/native.c ph = cxl_p2n_read(ctx->afu, CXL_PSL_PEHandle_An) & 0xffff; ph 1228 drivers/misc/cxl/native.c if (ph != ctx->pe) ph 1245 drivers/misc/cxl/native.c " DSISR %016llx!\n", ph, dsisr); ph 275 drivers/net/ethernet/huawei/hinic/hinic_hw_if.c u8 st, u8 at, u8 ph, ph 293 drivers/net/ethernet/huawei/hinic/hinic_hw_if.c HINIC_DMA_ATTR_SET(ph, PH) | ph 418 drivers/net/ppp/pppoe.c struct pppoe_hdr *ph; ph 433 drivers/net/ppp/pppoe.c ph = pppoe_hdr(skb); ph 434 drivers/net/ppp/pppoe.c len = ntohs(ph->length); ph 436 drivers/net/ppp/pppoe.c skb_pull_rcsum(skb, sizeof(*ph)); ph 443 drivers/net/ppp/pppoe.c ph = pppoe_hdr(skb); ph 449 drivers/net/ppp/pppoe.c po = get_item(pn, ph->sid, eth_hdr(skb)->h_source, dev->ifindex); ph 487 drivers/net/ppp/pppoe.c struct pppoe_hdr *ph; ph 501 drivers/net/ppp/pppoe.c ph = pppoe_hdr(skb); ph 502 drivers/net/ppp/pppoe.c if (ph->code != PADT_CODE) ph 506 drivers/net/ppp/pppoe.c po = get_item(pn, ph->sid, eth_hdr(skb)->h_source, dev->ifindex); ph 846 drivers/net/ppp/pppoe.c struct pppoe_hdr *ph; ph 869 drivers/net/ppp/pppoe.c skb = sock_wmalloc(sk, hlen + sizeof(*ph) + total_len + ph 885 drivers/net/ppp/pppoe.c ph = skb_put(skb, total_len + sizeof(struct pppoe_hdr)); ph 886 drivers/net/ppp/pppoe.c start = (char *)&ph->tag[0]; ph 898 drivers/net/ppp/pppoe.c memcpy(ph, &hdr, sizeof(struct pppoe_hdr)); ph 900 drivers/net/ppp/pppoe.c ph->length = htons(total_len); ph 918 drivers/net/ppp/pppoe.c struct pppoe_hdr *ph; ph 938 drivers/net/ppp/pppoe.c if (skb_cow_head(skb, LL_RESERVED_SPACE(dev) + sizeof(*ph))) ph 941 drivers/net/ppp/pppoe.c __skb_push(skb, sizeof(*ph)); ph 944 drivers/net/ppp/pppoe.c ph = pppoe_hdr(skb); ph 945 drivers/net/ppp/pppoe.c ph->ver = 1; ph 946 drivers/net/ppp/pppoe.c ph->type = 1; ph 947 drivers/net/ppp/pppoe.c ph->code = 0; ph 948 drivers/net/ppp/pppoe.c ph->sid = po->num; ph 949 drivers/net/ppp/pppoe.c ph->length = htons(data_len); ph 108 drivers/pwm/pwm-rcar.c u32 cyc, ph; ph 119 drivers/pwm/pwm-rcar.c ph = tmp & RCAR_PWMCNT_PH0_MASK; ph 122 drivers/pwm/pwm-rcar.c if (cyc == 0 || ph == 0) ph 125 drivers/pwm/pwm-rcar.c rcar_pwm_write(rp, cyc | ph, RCAR_PWMCNT); ph 187 drivers/sbus/char/openprom.c phandle ph; ph 194 drivers/sbus/char/openprom.c ph = *((int *) op->oprom_array); ph 195 drivers/sbus/char/openprom.c if (ph) { ph 196 drivers/sbus/char/openprom.c dp = of_find_node_by_phandle(ph); ph 221 drivers/sbus/char/openprom.c ph = 0; ph 223 drivers/sbus/char/openprom.c ph = dp->phandle; ph 226 drivers/sbus/char/openprom.c *((int *) op->oprom_array) = ph; ph 260 drivers/sbus/char/openprom.c phandle ph = 0; ph 264 drivers/sbus/char/openprom.c ph = dp->phandle; ph 266 drivers/sbus/char/openprom.c *((int *)op->oprom_array) = ph; ph 518 drivers/scsi/arm/acornscsi.c host->status[target][ptr].ph); ph 2846 drivers/scsi/arm/acornscsi.c host->status[devidx][statptr].ph, ph 256 drivers/scsi/arm/acornscsi.h unsigned char ph; ph 265 drivers/scsi/arm/acornscsi.h host->status[(_q)][host->status_ptr[(_q)]].ph = (_ph); \ ph 349 drivers/scsi/arm/fas216.c static struct { int stat, ssr, isr, ph; } ph_list[PH_SIZE]; ph 352 drivers/scsi/arm/fas216.c static void add_debug_list(int stat, int ssr, int isr, int ph) ph 357 drivers/scsi/arm/fas216.c ph_list[ph_ptr].ph = ph; ph 385 drivers/scsi/arm/fas216.c ph_list[i].isr, ph_list[i].ph); ph 1385 drivers/scsi/arm/fas216.c #define STATE(st,ph) ((ph) << 3 | (st)) ph 150 drivers/scsi/pcmcia/nsp_debug.c char *ph[] = { ph 169 drivers/scsi/pcmcia/nsp_debug.c printk(KERN_DEBUG "scsi phase: %s\n", ph[i]); ph 150 drivers/soc/fsl/qe/qe_io.c const phandle *ph; ph 159 drivers/soc/fsl/qe/qe_io.c ph = of_get_property(np, "pio-handle", NULL); ph 160 drivers/soc/fsl/qe/qe_io.c if (ph == NULL) { ph 165 drivers/soc/fsl/qe/qe_io.c pio = of_find_node_by_phandle(*ph); ph 740 drivers/soc/ti/knav_qmss_queue.c dma_addr_t knav_pool_desc_virt_to_dma(void *ph, void *virt) ph 742 drivers/soc/ti/knav_qmss_queue.c struct knav_pool *pool = ph; ph 747 drivers/soc/ti/knav_qmss_queue.c void *knav_pool_desc_dma_to_virt(void *ph, dma_addr_t dma) ph 749 drivers/soc/ti/knav_qmss_queue.c struct knav_pool *pool = ph; ph 868 drivers/soc/ti/knav_qmss_queue.c void knav_pool_destroy(void *ph) ph 870 drivers/soc/ti/knav_qmss_queue.c struct knav_pool *pool = ph; ph 898 drivers/soc/ti/knav_qmss_queue.c void *knav_pool_desc_get(void *ph) ph 900 drivers/soc/ti/knav_qmss_queue.c struct knav_pool *pool = ph; ph 917 drivers/soc/ti/knav_qmss_queue.c void knav_pool_desc_put(void *ph, void *desc) ph 919 drivers/soc/ti/knav_qmss_queue.c struct knav_pool *pool = ph; ph 936 drivers/soc/ti/knav_qmss_queue.c int knav_pool_desc_map(void *ph, void *desc, unsigned size, ph 939 drivers/soc/ti/knav_qmss_queue.c struct knav_pool *pool = ph; ph 962 drivers/soc/ti/knav_qmss_queue.c void *knav_pool_desc_unmap(void *ph, dma_addr_t dma, unsigned dma_sz) ph 964 drivers/soc/ti/knav_qmss_queue.c struct knav_pool *pool = ph; ph 981 drivers/soc/ti/knav_qmss_queue.c int knav_pool_count(void *ph) ph 983 drivers/soc/ti/knav_qmss_queue.c struct knav_pool *pool = ph; ph 187 drivers/staging/gdm724x/gdm_lte.c } ph __packed; ph 192 drivers/staging/gdm724x/gdm_lte.c memcpy(&pseudo_header.ph.ph_src, &ipv6->saddr.in6_u.u6_addr8, 16); ph 193 drivers/staging/gdm724x/gdm_lte.c memcpy(&pseudo_header.ph.ph_dst, &ipv6->daddr.in6_u.u6_addr8, 16); ph 194 drivers/staging/gdm724x/gdm_lte.c pseudo_header.ph.ph_len = be16_to_cpu(ipv6->payload_len); ph 195 drivers/staging/gdm724x/gdm_lte.c pseudo_header.ph.ph_nxt = ipv6->nexthdr; ph 3580 fs/ceph/caps.c struct ceph_mds_cap_peer *ph, ph 3593 fs/ceph/caps.c if (ph) { ph 3594 fs/ceph/caps.c t_cap_id = le64_to_cpu(ph->cap_id); ph 3595 fs/ceph/caps.c t_seq = le32_to_cpu(ph->seq); ph 3596 fs/ceph/caps.c t_mseq = le32_to_cpu(ph->mseq); ph 3597 fs/ceph/caps.c target = le32_to_cpu(ph->mds); ph 3718 fs/ceph/caps.c struct ceph_mds_cap_peer *ph, ph 3736 fs/ceph/caps.c if (ph) { ph 3737 fs/ceph/caps.c p_cap_id = le64_to_cpu(ph->cap_id); ph 3738 fs/ceph/caps.c peer = le32_to_cpu(ph->mds); ph 3773 fs/ceph/caps.c ocap, peer, ph->flags); ph 3774 fs/ceph/caps.c if ((ph->flags & CEPH_CAP_FLAG_AUTH) && ph 3775 fs/ceph/caps.c (ocap->seq != le32_to_cpu(ph->seq) || ph 3776 fs/ceph/caps.c ocap->mseq != le32_to_cpu(ph->mseq))) { ph 3782 fs/ceph/caps.c ocap->mseq, mds, le32_to_cpu(ph->seq), ph 3783 fs/ceph/caps.c le32_to_cpu(ph->mseq)); ph 3785 fs/ceph/caps.c __ceph_remove_cap(ocap, (ph->flags & CEPH_CAP_FLAG_RELEASE)); ph 80 include/linux/soc/ti/knav_qmss.h void knav_pool_destroy(void *ph); ph 81 include/linux/soc/ti/knav_qmss.h int knav_pool_count(void *ph); ph 82 include/linux/soc/ti/knav_qmss.h void *knav_pool_desc_get(void *ph); ph 83 include/linux/soc/ti/knav_qmss.h void knav_pool_desc_put(void *ph, void *desc); ph 84 include/linux/soc/ti/knav_qmss.h int knav_pool_desc_map(void *ph, void *desc, unsigned size, ph 86 include/linux/soc/ti/knav_qmss.h void *knav_pool_desc_unmap(void *ph, dma_addr_t dma, unsigned dma_sz); ph 87 include/linux/soc/ti/knav_qmss.h dma_addr_t knav_pool_desc_virt_to_dma(void *ph, void *virt); ph 88 include/linux/soc/ti/knav_qmss.h void *knav_pool_desc_dma_to_virt(void *ph, dma_addr_t dma); ph 70 include/net/phonet/phonet.h struct phonethdr *ph = pn_hdr(skb); ph 71 include/net/phonet/phonet.h u16 obj = pn_object(ph->pn_sdev, ph->pn_sobj); ph 75 include/net/phonet/phonet.h pn_sockaddr_set_resource(sa, ph->pn_res); ph 82 include/net/phonet/phonet.h struct phonethdr *ph = pn_hdr(skb); ph 83 include/net/phonet/phonet.h u16 obj = pn_object(ph->pn_rdev, ph->pn_robj); ph 87 include/net/phonet/phonet.h pn_sockaddr_set_resource(sa, ph->pn_res); ph 154 lib/mpi/longlong.h #define umul_ppmm(ph, pl, m0, m1) \ ph 157 lib/mpi/longlong.h (ph) = __builtin_alpha_umulh(__m0, __m1); \ ph 281 lib/mpi/longlong.h #define umul_ppmm(ph, pl, m0, m1) \ ph 283 lib/mpi/longlong.h : "=g" ((USItype)(ph)), \ ph 786 lib/mpi/longlong.h #define umul_ppmm(ph, pl, m0, m1) \ ph 790 lib/mpi/longlong.h : "=r" (ph) \ ph 796 lib/mpi/longlong.h #define smul_ppmm(ph, pl, m0, m1) \ ph 800 lib/mpi/longlong.h : "=r" ((SItype) ph) \ ph 892 lib/mpi/longlong.h #define umul_ppmm(ph, pl, m0, m1) \ ph 916 lib/mpi/longlong.h : "=r" ((USItype)(ph)), \ ph 921 lib/mpi/longlong.h (ph) += ((((SItype) __m0 >> 31) & __m1) \ ph 1232 lib/mpi/longlong.h #define umul_ppmm(ph, pl, m0, m1) \ ph 1235 lib/mpi/longlong.h ph = (UWtype) (__ll >> W_TYPE_SIZE); \ ph 298 net/802/mrp.c struct mrp_pdu_hdr *ph; ph 311 net/802/mrp.c ph = __skb_put(skb, sizeof(*ph)); ph 312 net/802/mrp.c ph->version = app->app->version; ph 774 net/802/mrp.c const struct mrp_pdu_hdr *ph; ph 792 net/802/mrp.c ph = skb_header_pointer(skb, offset, sizeof(_ph), &_ph); ph 793 net/802/mrp.c if (!ph) ph 797 net/802/mrp.c if (ph->version != app->app->version) ph 2426 net/packet/af_packet.c void *ph; ph 2429 net/packet/af_packet.c ph = skb_zcopy_get_nouarg(skb); ph 2432 net/packet/af_packet.c ts = __packet_set_timestamp(po, ph, skb); ph 2433 net/packet/af_packet.c __packet_set_status(po, ph, TP_STATUS_AVAILABLE | ts); ph 2476 net/packet/af_packet.c union tpacket_uhdr ph; ph 2482 net/packet/af_packet.c ph.raw = frame; ph 2490 net/packet/af_packet.c skb_zcopy_set_nouarg(skb, ph.raw); ph 2554 net/packet/af_packet.c union tpacket_uhdr ph; ph 2557 net/packet/af_packet.c ph.raw = frame; ph 2561 net/packet/af_packet.c if (ph.h3->tp_next_offset != 0) { ph 2565 net/packet/af_packet.c tp_len = ph.h3->tp_len; ph 2568 net/packet/af_packet.c tp_len = ph.h2->tp_len; ph 2571 net/packet/af_packet.c tp_len = ph.h1->tp_len; ph 2587 net/packet/af_packet.c off = ph.h3->tp_net; ph 2590 net/packet/af_packet.c off = ph.h2->tp_net; ph 2593 net/packet/af_packet.c off = ph.h1->tp_net; ph 2599 net/packet/af_packet.c off = ph.h3->tp_mac; ph 2602 net/packet/af_packet.c off = ph.h2->tp_mac; ph 2605 net/packet/af_packet.c off = ph.h1->tp_mac; ph 2627 net/packet/af_packet.c void *ph; ph 2693 net/packet/af_packet.c ph = packet_current_frame(po, &po->tx_ring, ph 2695 net/packet/af_packet.c if (unlikely(ph == NULL)) { ph 2709 net/packet/af_packet.c tp_len = tpacket_parse_header(po, ph, size_max, &data); ph 2740 net/packet/af_packet.c tp_len = tpacket_fill_skb(po, skb, ph, dev, data, tp_len, proto, ph 2751 net/packet/af_packet.c __packet_set_status(po, ph, ph 2772 net/packet/af_packet.c __packet_set_status(po, ph, TP_STATUS_SENDING); ph 2779 net/packet/af_packet.c if (err && __packet_get_status(po, ph) == ph 2793 net/packet/af_packet.c } while (likely((ph != NULL) || ph 2806 net/packet/af_packet.c __packet_set_status(po, ph, status); ph 151 net/phonet/af_phonet.c struct phonethdr *ph; ph 170 net/phonet/af_phonet.c ph = pn_hdr(skb); ph 171 net/phonet/af_phonet.c ph->pn_rdev = pn_dev(dst); ph 172 net/phonet/af_phonet.c ph->pn_sdev = pn_dev(src); ph 173 net/phonet/af_phonet.c ph->pn_res = res; ph 174 net/phonet/af_phonet.c ph->pn_length = __cpu_to_be16(skb->len + 2 - sizeof(*ph)); ph 175 net/phonet/af_phonet.c ph->pn_robj = pn_obj(dst); ph 176 net/phonet/af_phonet.c ph->pn_sobj = pn_obj(src); ph 287 net/phonet/af_phonet.c const struct phonethdr *ph; ph 294 net/phonet/af_phonet.c ph = pn_hdr(skb); ph 295 net/phonet/af_phonet.c if (ph->pn_res == PN_PREFIX && !pskb_may_pull(skb, 5)) ph 297 net/phonet/af_phonet.c if (ph->pn_res == PN_COMMGR) /* indications */ ph 300 net/phonet/af_phonet.c ph = pn_hdr(skb); /* re-acquires the pointer */ ph 304 net/phonet/af_phonet.c submsg_id = (ph->pn_res == PN_PREFIX) ph 363 net/phonet/af_phonet.c struct phonethdr *ph; ph 376 net/phonet/af_phonet.c ph = pn_hdr(skb); ph 377 net/phonet/af_phonet.c len = get_unaligned_be16(&ph->pn_length); ph 52 net/phonet/pep.c } *ph, h; ph 55 net/phonet/pep.c ph = skb_header_pointer(skb, 0, 2, &h); ph 56 net/phonet/pep.c if (ph == NULL || ph->sb_len < 2 || !pskb_may_pull(skb, ph->sb_len)) ph 58 net/phonet/pep.c ph->sb_len -= 2; ph 59 net/phonet/pep.c *ptype = ph->sb_type; ph 60 net/phonet/pep.c *plen = ph->sb_len; ph 62 net/phonet/pep.c if (buflen > ph->sb_len) ph 63 net/phonet/pep.c buflen = ph->sb_len; ph 65 net/phonet/pep.c __skb_pull(skb, 2 + ph->sb_len); ph 89 net/phonet/pep.c struct pnpipehdr *ph; ph 97 net/phonet/pep.c ph = pnp_hdr(skb); ph 98 net/phonet/pep.c ph->utid = oph->utid; ph 99 net/phonet/pep.c ph->message_id = oph->message_id + 1; /* REQ -> RESP */ ph 100 net/phonet/pep.c ph->pipe_handle = oph->pipe_handle; ph 101 net/phonet/pep.c ph->error_code = code; ph 111 net/phonet/pep.c struct pnpipehdr *ph; ph 118 net/phonet/pep.c ph = pnp_hdr(skb); ph 119 net/phonet/pep.c ph->utid = 0; ph 120 net/phonet/pep.c ph->message_id = id; ph 121 net/phonet/pep.c ph->pipe_handle = pn->pipe_handle; ph 122 net/phonet/pep.c ph->error_code = code; ph 132 net/phonet/pep.c struct pnpipehdr *ph; ph 139 net/phonet/pep.c ph = pnp_hdr(skb); ph 140 net/phonet/pep.c ph->utid = id; /* whatever */ ph 141 net/phonet/pep.c ph->message_id = id; ph 142 net/phonet/pep.c ph->pipe_handle = pn->pipe_handle; ph 143 net/phonet/pep.c ph->error_code = code; ph 195 net/phonet/pep.c struct pnpipehdr *ph; ph 207 net/phonet/pep.c ph = pnp_hdr(skb); ph 208 net/phonet/pep.c ph->utid = oph->utid; ph 209 net/phonet/pep.c ph->message_id = PNS_PEP_CTRL_RESP; ph 210 net/phonet/pep.c ph->pipe_handle = oph->pipe_handle; ph 211 net/phonet/pep.c ph->data0 = oph->data[0]; /* CTRL id */ ph 718 net/phonet/pep.c struct pnpipehdr *ph; ph 725 net/phonet/pep.c ph = pnp_hdr(skb); ph 726 net/phonet/pep.c ph->utid = 0; ph 727 net/phonet/pep.c ph->message_id = PNS_PIPE_REMOVE_REQ; ph 728 net/phonet/pep.c ph->pipe_handle = pn->pipe_handle; ph 729 net/phonet/pep.c ph->data0 = PAD; ph 1084 net/phonet/pep.c struct pnpipehdr *ph; ph 1095 net/phonet/pep.c ph = pnp_hdr(skb); ph 1096 net/phonet/pep.c ph->utid = 0; ph 1098 net/phonet/pep.c ph->message_id = PNS_PIPE_ALIGNED_DATA; ph 1099 net/phonet/pep.c ph->data0 = 0; /* padding */ ph 1101 net/phonet/pep.c ph->message_id = PNS_PIPE_DATA; ph 1102 net/phonet/pep.c ph->pipe_handle = pn->pipe_handle; ph 178 net/xfrm/xfrm_input.c struct ip_beet_phdr *ph; ph 181 net/xfrm/xfrm_input.c if (!pskb_may_pull(skb, sizeof(*ph))) ph 184 net/xfrm/xfrm_input.c ph = (struct ip_beet_phdr *)skb->data; ph 186 net/xfrm/xfrm_input.c phlen = sizeof(*ph) + ph->padlen; ph 187 net/xfrm/xfrm_input.c optlen = ph->hdrlen * 8 + (IPV4_BEET_PHMAXLEN - phlen); ph 191 net/xfrm/xfrm_input.c XFRM_MODE_SKB_CB(skb)->protocol = ph->nexthdr; ph 144 net/xfrm/xfrm_output.c struct ip_beet_phdr *ph; ph 163 net/xfrm/xfrm_output.c ph = __skb_pull(skb, XFRM_MODE_SKB_CB(skb)->ihl - hdrlen); ph 171 net/xfrm/xfrm_output.c ph->padlen = 4 - (optlen & 4); ph 172 net/xfrm/xfrm_output.c ph->hdrlen = optlen / 8; ph 173 net/xfrm/xfrm_output.c ph->nexthdr = top_iph->protocol; ph 174 net/xfrm/xfrm_output.c if (ph->padlen) ph 175 net/xfrm/xfrm_output.c memset(ph + 1, IPOPT_NOP, ph->padlen); ph 274 net/xfrm/xfrm_output.c struct ip_beet_phdr *ph; ph 288 net/xfrm/xfrm_output.c ph = __skb_pull(skb, XFRM_MODE_SKB_CB(skb)->ihl - hdr_len); ph 297 net/xfrm/xfrm_output.c ph->padlen = 4 - (optlen & 4); ph 298 net/xfrm/xfrm_output.c ph->hdrlen = optlen / 8; ph 299 net/xfrm/xfrm_output.c ph->nexthdr = top_iph->nexthdr; ph 300 net/xfrm/xfrm_output.c if (ph->padlen) ph 301 net/xfrm/xfrm_output.c memset(ph + 1, IPOPT_NOP, ph->padlen); ph 1505 tools/perf/builtin-timechart.c struct perf_header *ph, ph 1514 tools/perf/builtin-timechart.c tchart->numcpus = ph->env.nr_cpus_avail; ph 1521 tools/perf/builtin-timechart.c if (svg_build_topology_map(&ph->env)) ph 1330 tools/perf/util/data-convert-bt.c struct perf_header *ph = &session->header; ph 1337 tools/perf/util/data-convert-bt.c ncpus = ph->env.nr_cpus_avail ?: MAX_CPUS; ph 223 tools/perf/util/header.c if (ff->ph->needs_swap) ph 236 tools/perf/util/header.c if (ff->ph->needs_swap) ph 311 tools/perf/util/header.c session = container_of(ff->ph, struct perf_session, header); ph 884 tools/perf/util/header.c session = container_of(ff->ph, struct perf_session, header); ph 895 tools/perf/util/header.c return do_write(ff, &ff->ph->env.clockid_res_ns, ph 896 tools/perf/util/header.c sizeof(ff->ph->env.clockid_res_ns)); ph 905 tools/perf/util/header.c session = container_of(ff->ph, struct perf_session, header); ph 918 tools/perf/util/header.c struct perf_env *env = &ff->ph->env; ph 967 tools/perf/util/header.c struct perf_env *env = &ff->ph->env; ph 1379 tools/perf/util/header.c ret = do_write(ff, &(ff->ph->env.comp_ver), sizeof(ff->ph->env.comp_ver)); ph 1383 tools/perf/util/header.c ret = do_write(ff, &(ff->ph->env.comp_type), sizeof(ff->ph->env.comp_type)); ph 1387 tools/perf/util/header.c ret = do_write(ff, &(ff->ph->env.comp_level), sizeof(ff->ph->env.comp_level)); ph 1391 tools/perf/util/header.c ret = do_write(ff, &(ff->ph->env.comp_ratio), sizeof(ff->ph->env.comp_ratio)); ph 1395 tools/perf/util/header.c return do_write(ff, &(ff->ph->env.comp_mmap_len), sizeof(ff->ph->env.comp_mmap_len)); ph 1400 tools/perf/util/header.c fprintf(fp, "# hostname : %s\n", ff->ph->env.hostname); ph 1405 tools/perf/util/header.c fprintf(fp, "# os release : %s\n", ff->ph->env.os_release); ph 1410 tools/perf/util/header.c fprintf(fp, "# arch : %s\n", ff->ph->env.arch); ph 1415 tools/perf/util/header.c fprintf(fp, "# cpudesc : %s\n", ff->ph->env.cpu_desc); ph 1420 tools/perf/util/header.c fprintf(fp, "# nrcpus online : %u\n", ff->ph->env.nr_cpus_online); ph 1421 tools/perf/util/header.c fprintf(fp, "# nrcpus avail : %u\n", ff->ph->env.nr_cpus_avail); ph 1426 tools/perf/util/header.c fprintf(fp, "# perf version : %s\n", ff->ph->env.version); ph 1433 tools/perf/util/header.c nr = ff->ph->env.nr_cmdline; ph 1438 tools/perf/util/header.c char *argv_i = strdup(ff->ph->env.cmdline_argv[i]); ph 1440 tools/perf/util/header.c fprintf(fp, "%s ", ff->ph->env.cmdline_argv[i]); ph 1460 tools/perf/util/header.c struct perf_header *ph = ff->ph; ph 1461 tools/perf/util/header.c int cpu_nr = ph->env.nr_cpus_avail; ph 1465 tools/perf/util/header.c nr = ph->env.nr_sibling_cores; ph 1466 tools/perf/util/header.c str = ph->env.sibling_cores; ph 1473 tools/perf/util/header.c if (ph->env.nr_sibling_dies) { ph 1474 tools/perf/util/header.c nr = ph->env.nr_sibling_dies; ph 1475 tools/perf/util/header.c str = ph->env.sibling_dies; ph 1483 tools/perf/util/header.c nr = ph->env.nr_sibling_threads; ph 1484 tools/perf/util/header.c str = ph->env.sibling_threads; ph 1491 tools/perf/util/header.c if (ph->env.nr_sibling_dies) { ph 1492 tools/perf/util/header.c if (ph->env.cpu != NULL) { ph 1496 tools/perf/util/header.c i, ph->env.cpu[i].core_id, ph 1497 tools/perf/util/header.c ph->env.cpu[i].die_id, ph 1498 tools/perf/util/header.c ph->env.cpu[i].socket_id); ph 1503 tools/perf/util/header.c if (ph->env.cpu != NULL) { ph 1507 tools/perf/util/header.c i, ph->env.cpu[i].core_id, ph 1508 tools/perf/util/header.c ph->env.cpu[i].socket_id); ph 1518 tools/perf/util/header.c ff->ph->env.clockid_res_ns * 1000); ph 1526 tools/perf/util/header.c session = container_of(ff->ph, struct perf_session, header); ph 1534 tools/perf/util/header.c struct perf_env *env = &ff->ph->env; ph 1558 tools/perf/util/header.c struct perf_env *env = &ff->ph->env; ph 1632 tools/perf/util/header.c if (ff->ph->needs_swap) ph 1640 tools/perf/util/header.c if (ff->ph->needs_swap) ph 1717 tools/perf/util/header.c fprintf(fp, "# total memory : %llu kB\n", ff->ph->env.total_mem); ph 1725 tools/perf/util/header.c for (i = 0; i < ff->ph->env.nr_numa_nodes; i++) { ph 1726 tools/perf/util/header.c n = &ff->ph->env.numa_nodes[i]; ph 1739 tools/perf/util/header.c fprintf(fp, "# cpuid : %s\n", ff->ph->env.cpuid); ph 1762 tools/perf/util/header.c for (i = 0; i < ff->ph->env.caches_cnt; i++) { ph 1764 tools/perf/util/header.c cpu_cache_level__fprintf(fp, &ff->ph->env.caches[i]); ph 1771 tools/perf/util/header.c ff->ph->env.comp_type == PERF_COMP_ZSTD ? "Zstd" : "Unknown", ph 1772 tools/perf/util/header.c ff->ph->env.comp_level, ff->ph->env.comp_ratio); ph 1782 tools/perf/util/header.c pmu_num = ff->ph->env.nr_pmu_mappings; ph 1788 tools/perf/util/header.c str = ff->ph->env.pmu_mappings; ph 1817 tools/perf/util/header.c session = container_of(ff->ph, struct perf_session, header); ph 1841 tools/perf/util/header.c session = container_of(ff->ph, struct perf_session, header); ph 1875 tools/perf/util/header.c nodes = ff->ph->env.memory_nodes; ph 1876 tools/perf/util/header.c nr = ff->ph->env.nr_memory_nodes; ph 1879 tools/perf/util/header.c nr, ff->ph->env.memory_bsize); ph 1882 tools/perf/util/header.c memory_node__fprintf(&nodes[i], ff->ph->env.memory_bsize, fp); ph 2045 tools/perf/util/header.c ff->ph->env.__feat_env = do_read_string(ff); \ ph 2046 tools/perf/util/header.c return ff->ph->env.__feat_env ? 0 : -ENOMEM; \ ph 2065 tools/perf/util/header.c if (perf_header__read_build_ids(ff->ph, ff->fd, ff->offset, ff->size)) ph 2082 tools/perf/util/header.c ff->ph->env.nr_cpus_avail = (int)nr_cpus_avail; ph 2083 tools/perf/util/header.c ff->ph->env.nr_cpus_online = (int)nr_cpus_online; ph 2095 tools/perf/util/header.c ff->ph->env.total_mem = (unsigned long long)total_mem; ph 2140 tools/perf/util/header.c session = container_of(ff->ph, struct perf_session, header); ph 2165 tools/perf/util/header.c ff->ph->env.nr_cmdline = nr; ph 2185 tools/perf/util/header.c ff->ph->env.cmdline = cmdline; ph 2186 tools/perf/util/header.c ff->ph->env.cmdline_argv = (const char **) argv; ph 2200 tools/perf/util/header.c int cpu_nr = ff->ph->env.nr_cpus_avail; ph 2202 tools/perf/util/header.c struct perf_header *ph = ff->ph; ph 2205 tools/perf/util/header.c ph->env.cpu = calloc(cpu_nr, sizeof(*ph->env.cpu)); ph 2206 tools/perf/util/header.c if (!ph->env.cpu) ph 2212 tools/perf/util/header.c ph->env.nr_sibling_cores = nr; ph 2228 tools/perf/util/header.c ph->env.sibling_cores = strbuf_detach(&sb, NULL); ph 2233 tools/perf/util/header.c ph->env.nr_sibling_threads = nr; ph 2247 tools/perf/util/header.c ph->env.sibling_threads = strbuf_detach(&sb, NULL); ph 2254 tools/perf/util/header.c zfree(&ph->env.cpu); ph 2263 tools/perf/util/header.c if (ph->env.arch && (!strncmp(ph->env.arch, "s390", 4) ph 2264 tools/perf/util/header.c || !strncmp(ph->env.arch, "aarch64", 7))) ph 2271 tools/perf/util/header.c ph->env.cpu[i].core_id = nr; ph 2283 tools/perf/util/header.c ph->env.cpu[i].socket_id = nr; ph 2297 tools/perf/util/header.c ph->env.nr_sibling_dies = nr; ph 2311 tools/perf/util/header.c ph->env.sibling_dies = strbuf_detach(&sb, NULL); ph 2317 tools/perf/util/header.c ph->env.cpu[i].die_id = nr; ph 2325 tools/perf/util/header.c zfree(&ph->env.cpu); ph 2366 tools/perf/util/header.c ff->ph->env.nr_numa_nodes = nr; ph 2367 tools/perf/util/header.c ff->ph->env.numa_nodes = nodes; ph 2390 tools/perf/util/header.c ff->ph->env.nr_pmu_mappings = pmu_num; ph 2409 tools/perf/util/header.c ff->ph->env.msr_pmu_type = type; ph 2414 tools/perf/util/header.c ff->ph->env.pmu_mappings = strbuf_detach(&sb, NULL); ph 2437 tools/perf/util/header.c ff->ph->env.nr_groups = nr_groups; ph 2462 tools/perf/util/header.c session = container_of(ff->ph, struct perf_session, header); ph 2511 tools/perf/util/header.c session = container_of(ff->ph, struct perf_session, header); ph 2514 tools/perf/util/header.c ff->ph->needs_swap); ph 2564 tools/perf/util/header.c ff->ph->env.caches = caches; ph 2565 tools/perf/util/header.c ff->ph->env.caches_cnt = cnt; ph 2578 tools/perf/util/header.c session = container_of(ff->ph, struct perf_session, header); ph 2634 tools/perf/util/header.c ff->ph->env.memory_bsize = bsize; ph 2635 tools/perf/util/header.c ff->ph->env.memory_nodes = nodes; ph 2636 tools/perf/util/header.c ff->ph->env.nr_memory_nodes = nr; ph 2648 tools/perf/util/header.c if (do_read_u64(ff, &ff->ph->env.clockid_res_ns)) ph 2660 tools/perf/util/header.c session = container_of(ff->ph, struct perf_session, header); ph 2674 tools/perf/util/header.c struct perf_env *env = &ff->ph->env; ph 2678 tools/perf/util/header.c if (ff->ph->needs_swap) { ph 2747 tools/perf/util/header.c struct perf_env *env = &ff->ph->env; ph 2752 tools/perf/util/header.c if (ff->ph->needs_swap) { ph 2794 tools/perf/util/header.c if (do_read_u32(ff, &(ff->ph->env.comp_ver))) ph 2797 tools/perf/util/header.c if (do_read_u32(ff, &(ff->ph->env.comp_type))) ph 2800 tools/perf/util/header.c if (do_read_u32(ff, &(ff->ph->env.comp_level))) ph 2803 tools/perf/util/header.c if (do_read_u32(ff, &(ff->ph->env.comp_ratio))) ph 2806 tools/perf/util/header.c if (do_read_u32(ff, &(ff->ph->env.comp_mmap_len))) ph 2877 tools/perf/util/header.c struct perf_header *ph, ph 2897 tools/perf/util/header.c .ph = ph, ph 2956 tools/perf/util/header.c if (perf_header__has_feat(ff->ph, type)) { ph 2993 tools/perf/util/header.c .ph = header, ph 3142 tools/perf/util/header.c struct perf_header *ph, ph 3193 tools/perf/util/header.c static int try_all_file_abis(uint64_t hdr_sz, struct perf_header *ph) ph 3206 tools/perf/util/header.c ph->needs_swap = true; ph 3210 tools/perf/util/header.c ph->needs_swap); ph 3231 tools/perf/util/header.c static int try_all_pipe_abis(uint64_t hdr_sz, struct perf_header *ph) ph 3242 tools/perf/util/header.c ph->needs_swap = true; ph 3261 tools/perf/util/header.c bool is_pipe, struct perf_header *ph) ph 3268 tools/perf/util/header.c ph->version = PERF_HEADER_VERSION_1; ph 3271 tools/perf/util/header.c return try_all_pipe_abis(hdr_sz, ph); ph 3273 tools/perf/util/header.c return try_all_file_abis(hdr_sz, ph); ph 3280 tools/perf/util/header.c ph->version = PERF_HEADER_VERSION_2; ph 3290 tools/perf/util/header.c ph->needs_swap = true; ph 3296 tools/perf/util/header.c struct perf_header *ph, int fd) ph 3307 tools/perf/util/header.c header->attr_size, false, ph) < 0) { ph 3312 tools/perf/util/header.c if (ph->needs_swap) { ph 3323 tools/perf/util/header.c } else if (ph->needs_swap) { ph 3358 tools/perf/util/header.c memcpy(&ph->adds_features, &header->adds_features, ph 3359 tools/perf/util/header.c sizeof(ph->adds_features)); ph 3361 tools/perf/util/header.c ph->data_offset = header->data.offset; ph 3362 tools/perf/util/header.c ph->data_size = header->data.size; ph 3363 tools/perf/util/header.c ph->feat_offset = header->data.offset + header->data.size; ph 3368 tools/perf/util/header.c struct perf_header *ph, ph 3373 tools/perf/util/header.c .ph = ph, ph 3396 tools/perf/util/header.c struct perf_header *ph, int fd, ph 3401 tools/perf/util/header.c .ph = ph, ph 3409 tools/perf/util/header.c if (check_magic_endian(header->magic, header->size, true, ph) < 0) { ph 3414 tools/perf/util/header.c if (ph->needs_swap) ph 3438 tools/perf/util/header.c static int read_attr(int fd, struct perf_header *ph, ph 3459 tools/perf/util/header.c if (ph->needs_swap) ph 3661 tools/perf/util/header.c ff.ph = &session->header; ph 83 tools/perf/util/header.h struct perf_header *ph, int fd); ph 96 tools/perf/util/header.h struct perf_header *ph; ph 133 tools/perf/util/header.h struct perf_header *ph, ph 1844 tools/perf/util/synthetic-events.c ff.ph = &session->header; ph 151 tools/testing/selftests/proc/proc-pid-vm.c struct elf64_phdr ph; ph 155 tools/testing/selftests/proc/proc-pid-vm.c {&ph, sizeof(struct elf64_phdr)}, ph 184 tools/testing/selftests/proc/proc-pid-vm.c memset(&ph, 0, sizeof(ph)); ph 185 tools/testing/selftests/proc/proc-pid-vm.c ph.p_type = 1; ph 186 tools/testing/selftests/proc/proc-pid-vm.c ph.p_flags = (1<<2)|1; ph 187 tools/testing/selftests/proc/proc-pid-vm.c ph.p_offset = 0; ph 188 tools/testing/selftests/proc/proc-pid-vm.c ph.p_vaddr = VADDR; ph 189 tools/testing/selftests/proc/proc-pid-vm.c ph.p_paddr = 0; ph 190 tools/testing/selftests/proc/proc-pid-vm.c ph.p_filesz = sizeof(struct elf64_hdr) + sizeof(struct elf64_phdr) + len; ph 191 tools/testing/selftests/proc/proc-pid-vm.c ph.p_memsz = sizeof(struct elf64_hdr) + sizeof(struct elf64_phdr) + len; ph 192 tools/testing/selftests/proc/proc-pid-vm.c ph.p_align = 4096;