eh 11 arch/alpha/kernel/binfmt_loader.c struct exec *eh = (struct exec *)bprm->buf; eh 16 arch/alpha/kernel/binfmt_loader.c if (eh->fh.f_magic != 0x183 || (eh->fh.f_flags & 0x3000) != 0x3000) eh 34 arch/alpha/kernel/binfmt_loader.c bprm->taso = eh->ah.entry < 0x100000000UL; eh 1301 arch/ia64/kernel/unaligned.c const struct exception_table_entry *eh = NULL; eh 1321 arch/ia64/kernel/unaligned.c eh = search_exception_tables(regs->cr_iip + ia64_psr(regs)->ri); eh 1322 arch/ia64/kernel/unaligned.c if (user_mode(regs) || eh) { eh 1530 arch/ia64/kernel/unaligned.c if (eh) { eh 1531 arch/ia64/kernel/unaligned.c ia64_handle_exception(regs, eh); eh 20 arch/powerpc/include/asm/asm-compat.h #define PPC_LLARX(t, a, b, eh) PPC_LDARX(t, a, b, eh) eh 53 arch/powerpc/include/asm/asm-compat.h #define PPC_LLARX(t, a, b, eh) PPC_LWARX(t, a, b, eh) eh 111 arch/powerpc/include/asm/bitops.h #define DEFINE_TESTOP(fn, op, prefix, postfix, eh) \ eh 120 arch/powerpc/include/asm/bitops.h "1:" PPC_LLARX(%0,0,%3,eh) "\n" \ eh 426 arch/powerpc/include/asm/ppc-opcode.h #define __PPC_EH(eh) (((eh) & 0x1) << 0) eh 428 arch/powerpc/include/asm/ppc-opcode.h #define __PPC_EH(eh) 0 eh 442 arch/powerpc/include/asm/ppc-opcode.h #define PPC_LQARX(t, a, b, eh) stringify_in_c(.long PPC_INST_LQARX | \ eh 444 arch/powerpc/include/asm/ppc-opcode.h ___PPC_RB(b) | __PPC_EH(eh)) eh 445 arch/powerpc/include/asm/ppc-opcode.h #define PPC_LDARX(t, a, b, eh) stringify_in_c(.long PPC_INST_LDARX | \ eh 447 arch/powerpc/include/asm/ppc-opcode.h ___PPC_RB(b) | __PPC_EH(eh)) eh 448 arch/powerpc/include/asm/ppc-opcode.h #define PPC_LWARX(t, a, b, eh) stringify_in_c(.long PPC_INST_LWARX | \ eh 450 arch/powerpc/include/asm/ppc-opcode.h ___PPC_RB(b) | __PPC_EH(eh)) eh 29 arch/powerpc/lib/test_emulate_step.c #define TEST_LDARX(t, a, b, eh) (PPC_INST_LDARX | ___PPC_RT(t) | \ eh 31 arch/powerpc/lib/test_emulate_step.c __PPC_EH(eh)) eh 78 arch/powerpc/net/bpf_jit.h #define PPC_BPF_LDARX(t, a, b, eh) EMIT(PPC_INST_LDARX | ___PPC_RT(t) | \ eh 80 arch/powerpc/net/bpf_jit.h __PPC_EH(eh)) eh 81 arch/powerpc/net/bpf_jit.h #define PPC_BPF_LWARX(t, a, b, eh) EMIT(PPC_INST_LWARX | ___PPC_RT(t) | \ eh 83 arch/powerpc/net/bpf_jit.h __PPC_EH(eh)) eh 991 arch/powerpc/perf/core-book3s.c int eu = 0, ek = 0, eh = 0; eh 1017 arch/powerpc/perf/core-book3s.c eh = event->attr.exclude_hv; eh 1021 arch/powerpc/perf/core-book3s.c event->attr.exclude_hv != eh) { eh 1026 arch/powerpc/perf/core-book3s.c if (eu || ek || eh) eh 1316 arch/sparc/kernel/perf_event.c int eu = 0, ek = 0, eh = 0; eh 1333 arch/sparc/kernel/perf_event.c eh = event->attr.exclude_hv; eh 1337 arch/sparc/kernel/perf_event.c event->attr.exclude_hv != eh) { eh 1895 drivers/block/drbd/drbd_state.c enum drbd_io_error_p eh = EP_PASS_ON; eh 1903 drivers/block/drbd/drbd_state.c eh = rcu_dereference(device->ldev->disk_conf)->on_io_error; eh 1912 drivers/block/drbd/drbd_state.c if (was_io_error && eh == EP_CALL_HELPER) eh 452 drivers/bluetooth/bluecard_cs.c struct hci_event_hdr *eh; eh 459 drivers/bluetooth/bluecard_cs.c eh = hci_event_hdr(info->rx_skb); eh 461 drivers/bluetooth/bluecard_cs.c info->rx_count = eh->plen; eh 292 drivers/bluetooth/bt3c_cs.c struct hci_event_hdr *eh; eh 299 drivers/bluetooth/bt3c_cs.c eh = hci_event_hdr(info->rx_skb); eh 301 drivers/bluetooth/bt3c_cs.c info->rx_count = eh->plen; eh 663 drivers/cdrom/cdrom.c struct event_header *eh = (struct event_header *)buffer; eh 675 drivers/cdrom/cdrom.c if (be16_to_cpu(eh->data_len) < sizeof(*med)) eh 678 drivers/cdrom/cdrom.c if (eh->nea || eh->notification_class != 0x4) eh 681 drivers/cdrom/cdrom.c memcpy(med, &buffer[sizeof(*eh)], sizeof(*med)); eh 1158 drivers/crypto/chelsio/chtls/chtls_cm.c struct ethhdr *eh; eh 1208 drivers/crypto/chelsio/chtls/chtls_cm.c eh = (struct ethhdr *)(req + 1); eh 1209 drivers/crypto/chelsio/chtls/chtls_cm.c iph = (struct iphdr *)(eh + 1); eh 1210 drivers/crypto/chelsio/chtls/chtls_cm.c network_hdr = (void *)(eh + 1); eh 4059 drivers/infiniband/hw/cxgb4/cm.c struct ethhdr *eh = NULL; eh 4116 drivers/infiniband/hw/cxgb4/cm.c eh = (struct ethhdr *)(req + 1); eh 4117 drivers/infiniband/hw/cxgb4/cm.c iph = (struct iphdr *)(eh + 1); eh 288 drivers/infiniband/hw/hfi1/trace.c union ib_ehdrs *eh = ehdrs; eh 305 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->imm_data)); eh 311 drivers/infiniband/hw/hfi1/trace.c get_ib_reth_vaddr(&eh->rc.reth), eh 312 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->rc.reth.rkey), eh 313 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->rc.reth.length), eh 314 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->rc.imm_data)); eh 323 drivers/infiniband/hw/hfi1/trace.c get_ib_reth_vaddr(&eh->rc.reth), eh 324 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->rc.reth.rkey), eh 325 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->rc.reth.length)); eh 331 drivers/infiniband/hw/hfi1/trace.c trace_seq_printf(p, AETH_PRN, be32_to_cpu(eh->aeth) >> 24, eh 332 drivers/infiniband/hw/hfi1/trace.c parse_syndrome(be32_to_cpu(eh->aeth) >> 24), eh 333 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->aeth) & IB_MSN_MASK); eh 338 drivers/infiniband/hw/hfi1/trace.c le32_to_cpu(eh->tid_rdma.w_req.kdeth0), eh 339 drivers/infiniband/hw/hfi1/trace.c le32_to_cpu(eh->tid_rdma.w_req.kdeth1), eh 340 drivers/infiniband/hw/hfi1/trace.c ib_u64_get(&eh->tid_rdma.w_req.reth.vaddr), eh 341 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->tid_rdma.w_req.reth.rkey), eh 342 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->tid_rdma.w_req.reth.length), eh 343 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->tid_rdma.w_req.verbs_qp)); eh 348 drivers/infiniband/hw/hfi1/trace.c le32_to_cpu(eh->tid_rdma.w_rsp.kdeth0), eh 349 drivers/infiniband/hw/hfi1/trace.c le32_to_cpu(eh->tid_rdma.w_rsp.kdeth1), eh 350 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->tid_rdma.w_rsp.aeth) >> 24, eh 352 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->tid_rdma.w_rsp.aeth) eh 354 drivers/infiniband/hw/hfi1/trace.c (be32_to_cpu(eh->tid_rdma.w_rsp.aeth) & eh 356 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->tid_rdma.w_rsp.tid_flow_psn), eh 357 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->tid_rdma.w_rsp.tid_flow_qp), eh 358 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->tid_rdma.w_rsp.verbs_qp)); eh 363 drivers/infiniband/hw/hfi1/trace.c le32_to_cpu(eh->tid_rdma.w_data.kdeth0), eh 364 drivers/infiniband/hw/hfi1/trace.c KDETH_GET(eh->tid_rdma.w_data.kdeth0, KVER), eh 365 drivers/infiniband/hw/hfi1/trace.c KDETH_GET(eh->tid_rdma.w_data.kdeth0, SH), eh 366 drivers/infiniband/hw/hfi1/trace.c KDETH_GET(eh->tid_rdma.w_data.kdeth0, INTR), eh 367 drivers/infiniband/hw/hfi1/trace.c KDETH_GET(eh->tid_rdma.w_data.kdeth0, TIDCTRL), eh 368 drivers/infiniband/hw/hfi1/trace.c KDETH_GET(eh->tid_rdma.w_data.kdeth0, TID), eh 369 drivers/infiniband/hw/hfi1/trace.c KDETH_GET(eh->tid_rdma.w_data.kdeth0, OFFSET), eh 370 drivers/infiniband/hw/hfi1/trace.c le32_to_cpu(eh->tid_rdma.w_data.kdeth1), eh 371 drivers/infiniband/hw/hfi1/trace.c KDETH_GET(eh->tid_rdma.w_data.kdeth1, JKEY), eh 372 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->tid_rdma.w_data.verbs_qp)); eh 377 drivers/infiniband/hw/hfi1/trace.c le32_to_cpu(eh->tid_rdma.r_req.kdeth0), eh 378 drivers/infiniband/hw/hfi1/trace.c le32_to_cpu(eh->tid_rdma.r_req.kdeth1), eh 379 drivers/infiniband/hw/hfi1/trace.c ib_u64_get(&eh->tid_rdma.r_req.reth.vaddr), eh 380 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->tid_rdma.r_req.reth.rkey), eh 381 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->tid_rdma.r_req.reth.length), eh 382 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->tid_rdma.r_req.tid_flow_psn), eh 383 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->tid_rdma.r_req.tid_flow_qp), eh 384 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->tid_rdma.r_req.verbs_qp)); eh 389 drivers/infiniband/hw/hfi1/trace.c le32_to_cpu(eh->tid_rdma.r_rsp.kdeth0), eh 390 drivers/infiniband/hw/hfi1/trace.c KDETH_GET(eh->tid_rdma.r_rsp.kdeth0, KVER), eh 391 drivers/infiniband/hw/hfi1/trace.c KDETH_GET(eh->tid_rdma.r_rsp.kdeth0, SH), eh 392 drivers/infiniband/hw/hfi1/trace.c KDETH_GET(eh->tid_rdma.r_rsp.kdeth0, INTR), eh 393 drivers/infiniband/hw/hfi1/trace.c KDETH_GET(eh->tid_rdma.r_rsp.kdeth0, TIDCTRL), eh 394 drivers/infiniband/hw/hfi1/trace.c KDETH_GET(eh->tid_rdma.r_rsp.kdeth0, TID), eh 395 drivers/infiniband/hw/hfi1/trace.c KDETH_GET(eh->tid_rdma.r_rsp.kdeth0, OFFSET), eh 396 drivers/infiniband/hw/hfi1/trace.c le32_to_cpu(eh->tid_rdma.r_rsp.kdeth1), eh 397 drivers/infiniband/hw/hfi1/trace.c KDETH_GET(eh->tid_rdma.r_rsp.kdeth1, JKEY), eh 398 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->tid_rdma.r_rsp.aeth) >> 24, eh 400 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->tid_rdma.r_rsp.aeth) eh 402 drivers/infiniband/hw/hfi1/trace.c (be32_to_cpu(eh->tid_rdma.r_rsp.aeth) & eh 404 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->tid_rdma.r_rsp.verbs_qp)); eh 409 drivers/infiniband/hw/hfi1/trace.c le32_to_cpu(eh->tid_rdma.ack.kdeth0), eh 410 drivers/infiniband/hw/hfi1/trace.c le32_to_cpu(eh->tid_rdma.ack.kdeth1), eh 411 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->tid_rdma.ack.aeth) >> 24, eh 413 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->tid_rdma.ack.aeth) eh 415 drivers/infiniband/hw/hfi1/trace.c (be32_to_cpu(eh->tid_rdma.ack.aeth) & eh 417 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->tid_rdma.ack.tid_flow_psn), eh 418 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->tid_rdma.ack.verbs_psn), eh 419 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->tid_rdma.ack.tid_flow_qp), eh 420 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->tid_rdma.ack.verbs_qp)); eh 424 drivers/infiniband/hw/hfi1/trace.c le32_to_cpu(eh->tid_rdma.resync.kdeth0), eh 425 drivers/infiniband/hw/hfi1/trace.c le32_to_cpu(eh->tid_rdma.resync.kdeth1), eh 426 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->tid_rdma.resync.verbs_qp)); eh 431 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->at.aeth) >> 24, eh 432 drivers/infiniband/hw/hfi1/trace.c parse_syndrome(be32_to_cpu(eh->at.aeth) >> 24), eh 433 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->at.aeth) & IB_MSN_MASK, eh 434 drivers/infiniband/hw/hfi1/trace.c ib_u64_get(&eh->at.atomic_ack_eth)); eh 440 drivers/infiniband/hw/hfi1/trace.c get_ib_ateth_vaddr(&eh->atomic_eth), eh 441 drivers/infiniband/hw/hfi1/trace.c eh->atomic_eth.rkey, eh 442 drivers/infiniband/hw/hfi1/trace.c get_ib_ateth_swap(&eh->atomic_eth), eh 443 drivers/infiniband/hw/hfi1/trace.c get_ib_ateth_compare(&eh->atomic_eth)); eh 449 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->ud.deth[0]), eh 450 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->ud.deth[1]) & RVT_QPN_MASK); eh 456 drivers/infiniband/hw/hfi1/trace.c be32_to_cpu(eh->ieth)); eh 756 drivers/md/dm-snap.c static void dm_insert_exception(struct dm_exception_table *eh, eh 763 drivers/md/dm-snap.c l = &eh->table[exception_hash(eh, new_e->old_chunk)]; eh 766 drivers/md/dm-snap.c if (!eh->hash_shift) eh 119 drivers/net/ethernet/8390/etherh.c static inline void etherh_set_ctrl(struct etherh_priv *eh, unsigned char mask) eh 121 drivers/net/ethernet/8390/etherh.c unsigned char ctrl = eh->ctrl | mask; eh 122 drivers/net/ethernet/8390/etherh.c eh->ctrl = ctrl; eh 123 drivers/net/ethernet/8390/etherh.c writeb(ctrl, eh->ctrl_port); eh 126 drivers/net/ethernet/8390/etherh.c static inline void etherh_clr_ctrl(struct etherh_priv *eh, unsigned char mask) eh 128 drivers/net/ethernet/8390/etherh.c unsigned char ctrl = eh->ctrl & ~mask; eh 129 drivers/net/ethernet/8390/etherh.c eh->ctrl = ctrl; eh 130 drivers/net/ethernet/8390/etherh.c writeb(ctrl, eh->ctrl_port); eh 133 drivers/net/ethernet/8390/etherh.c static inline unsigned int etherh_get_stat(struct etherh_priv *eh) eh 135 drivers/net/ethernet/8390/etherh.c return readb(eh->ctrl_port); eh 143 drivers/net/ethernet/8390/etherh.c struct etherh_priv *eh = ec->irq_data; eh 145 drivers/net/ethernet/8390/etherh.c etherh_set_ctrl(eh, ETHERH_CP_IE); eh 150 drivers/net/ethernet/8390/etherh.c struct etherh_priv *eh = ec->irq_data; eh 152 drivers/net/ethernet/8390/etherh.c etherh_clr_ctrl(eh, ETHERH_CP_IE); eh 657 drivers/net/ethernet/8390/etherh.c struct etherh_priv *eh; eh 687 drivers/net/ethernet/8390/etherh.c eh = etherh_priv(dev); eh 688 drivers/net/ethernet/8390/etherh.c eh->supported = data->supported; eh 689 drivers/net/ethernet/8390/etherh.c eh->ctrl = 0; eh 690 drivers/net/ethernet/8390/etherh.c eh->id = ec->cid.product; eh 691 drivers/net/ethernet/8390/etherh.c eh->memc = ecardm_iomap(ec, ECARD_RES_MEMC, 0, PAGE_SIZE); eh 692 drivers/net/ethernet/8390/etherh.c if (!eh->memc) { eh 697 drivers/net/ethernet/8390/etherh.c eh->ctrl_port = eh->memc; eh 699 drivers/net/ethernet/8390/etherh.c eh->ioc_fast = ecardm_iomap(ec, ECARD_RES_IOCFAST, 0, PAGE_SIZE); eh 700 drivers/net/ethernet/8390/etherh.c if (!eh->ioc_fast) { eh 704 drivers/net/ethernet/8390/etherh.c eh->ctrl_port = eh->ioc_fast; eh 707 drivers/net/ethernet/8390/etherh.c dev->base_addr = (unsigned long)eh->memc + data->ns8390_offset; eh 708 drivers/net/ethernet/8390/etherh.c eh->dma_base = eh->memc + data->dataport_offset; eh 709 drivers/net/ethernet/8390/etherh.c eh->ctrl_port += data->ctrlport_offset; eh 715 drivers/net/ethernet/8390/etherh.c ecard_setirq(ec, ðerh_ops, eh); eh 720 drivers/net/ethernet/8390/etherh.c etherh_set_ctrl(eh, ETHERH_CP_IE); eh 599 drivers/net/ethernet/alacritech/slicoss.c struct ethhdr *eh = (struct ethhdr *)skb->data; eh 601 drivers/net/ethernet/alacritech/slicoss.c if (is_multicast_ether_addr(eh->h_dest)) eh 1094 drivers/net/ethernet/emulex/benet/be_main.c struct ethhdr *eh = (struct ethhdr *)skb->data; eh 1097 drivers/net/ethernet/emulex/benet/be_main.c if (eh->h_proto == htons(ETH_P_IPV6)) { eh 1257 drivers/net/ethernet/emulex/benet/be_main.c #define is_mc_allowed_on_bmc(adapter, eh) \ eh 1259 drivers/net/ethernet/emulex/benet/be_main.c is_multicast_ether_addr(eh->h_dest) && \ eh 1260 drivers/net/ethernet/emulex/benet/be_main.c !is_broadcast_ether_addr(eh->h_dest)) eh 1262 drivers/net/ethernet/emulex/benet/be_main.c #define is_bc_allowed_on_bmc(adapter, eh) \ eh 1264 drivers/net/ethernet/emulex/benet/be_main.c is_broadcast_ether_addr(eh->h_dest)) eh 1302 drivers/net/ethernet/emulex/benet/be_main.c struct ethhdr *eh = (struct ethhdr *)(*skb)->data; eh 1308 drivers/net/ethernet/emulex/benet/be_main.c if (!is_multicast_ether_addr(eh->h_dest)) eh 1311 drivers/net/ethernet/emulex/benet/be_main.c if (is_mc_allowed_on_bmc(adapter, eh) || eh 1312 drivers/net/ethernet/emulex/benet/be_main.c is_bc_allowed_on_bmc(adapter, eh) || eh 62 drivers/net/ethernet/sfc/falcon/rx.c static inline u32 ef4_rx_buf_hash(struct ef4_nic *efx, const u8 *eh) eh 65 drivers/net/ethernet/sfc/falcon/rx.c return __le32_to_cpup((const __le32 *)(eh + efx->rx_packet_hash_offset)); eh 67 drivers/net/ethernet/sfc/falcon/rx.c const u8 *data = eh + efx->rx_packet_hash_offset; eh 424 drivers/net/ethernet/sfc/falcon/rx.c unsigned int n_frags, u8 *eh) eh 440 drivers/net/ethernet/sfc/falcon/rx.c skb_set_hash(skb, ef4_rx_buf_hash(efx, eh), eh 469 drivers/net/ethernet/sfc/falcon/rx.c u8 *eh, int hdr_len) eh 485 drivers/net/ethernet/sfc/falcon/rx.c memcpy(skb->data + efx->rx_ip_align, eh - efx->rx_prefix_size, eh 610 drivers/net/ethernet/sfc/falcon/rx.c static void ef4_rx_deliver(struct ef4_channel *channel, u8 *eh, eh 617 drivers/net/ethernet/sfc/falcon/rx.c skb = ef4_rx_mk_skb(channel, rx_buf, n_frags, eh, hdr_len); eh 646 drivers/net/ethernet/sfc/falcon/rx.c u8 *eh = ef4_rx_buf_va(rx_buf); eh 653 drivers/net/ethernet/sfc/falcon/rx.c (eh + efx->rx_packet_len_offset)); eh 661 drivers/net/ethernet/sfc/falcon/rx.c ef4_loopback_rx_packet(efx, eh, rx_buf->len); eh 672 drivers/net/ethernet/sfc/falcon/rx.c ef4_rx_packet_gro(channel, rx_buf, channel->rx_pkt_n_frags, eh); eh 674 drivers/net/ethernet/sfc/falcon/rx.c ef4_rx_deliver(channel, eh, rx_buf, channel->rx_pkt_n_frags); eh 1991 drivers/net/ethernet/sfc/ptp.c static inline u32 efx_rx_buf_timestamp_minor(struct efx_nic *efx, const u8 *eh) eh 1994 drivers/net/ethernet/sfc/ptp.c return __le32_to_cpup((const __le32 *)(eh + efx->rx_packet_ts_offset)); eh 1996 drivers/net/ethernet/sfc/ptp.c const u8 *data = eh + efx->rx_packet_ts_offset; eh 62 drivers/net/ethernet/sfc/rx.c static inline u32 efx_rx_buf_hash(struct efx_nic *efx, const u8 *eh) eh 65 drivers/net/ethernet/sfc/rx.c return __le32_to_cpup((const __le32 *)(eh + efx->rx_packet_hash_offset)); eh 67 drivers/net/ethernet/sfc/rx.c const u8 *data = eh + efx->rx_packet_hash_offset; eh 412 drivers/net/ethernet/sfc/rx.c unsigned int n_frags, u8 *eh) eh 428 drivers/net/ethernet/sfc/rx.c skb_set_hash(skb, efx_rx_buf_hash(efx, eh), eh 458 drivers/net/ethernet/sfc/rx.c u8 *eh, int hdr_len) eh 474 drivers/net/ethernet/sfc/rx.c memcpy(skb->data + efx->rx_ip_align, eh - efx->rx_prefix_size, eh 599 drivers/net/ethernet/sfc/rx.c static void efx_rx_deliver(struct efx_channel *channel, u8 *eh, eh 606 drivers/net/ethernet/sfc/rx.c skb = efx_rx_mk_skb(channel, rx_buf, n_frags, eh, hdr_len); eh 644 drivers/net/ethernet/sfc/rx.c u8 *eh = efx_rx_buf_va(rx_buf); eh 651 drivers/net/ethernet/sfc/rx.c (eh + efx->rx_packet_len_offset)); eh 659 drivers/net/ethernet/sfc/rx.c efx_loopback_rx_packet(efx, eh, rx_buf->len); eh 670 drivers/net/ethernet/sfc/rx.c efx_rx_packet_gro(channel, rx_buf, channel->rx_pkt_n_frags, eh); eh 672 drivers/net/ethernet/sfc/rx.c efx_rx_deliver(channel, eh, rx_buf, channel->rx_pkt_n_frags); eh 474 drivers/net/ethernet/sgi/ioc3-eth.c struct ethhdr *eh = eth_hdr(skb); eh 494 drivers/net/ethernet/sgi/ioc3-eth.c if (eh->h_proto != htons(ETH_P_IP)) eh 497 drivers/net/ethernet/sgi/ioc3-eth.c ih = (struct iphdr *)((char *)eh + ETH_HLEN); eh 513 drivers/net/ethernet/sgi/ioc3-eth.c ew = (u16 *)eh; eh 524 drivers/net/ethernet/sgi/ioc3-eth.c cp = (char *)eh + len; /* points at trailing CRC */ eh 1388 drivers/net/ethernet/sgi/ioc3-eth.c u16 *eh; eh 1393 drivers/net/ethernet/sgi/ioc3-eth.c eh = (u16 *)skb->data; eh 1396 drivers/net/ethernet/sgi/ioc3-eth.c ehsum = eh[0] + eh[1] + eh[2] + eh[3] + eh[4] + eh[5] + eh[6]; eh 978 drivers/net/tun.c struct ethhdr *eh = (struct ethhdr *) skb->data; eh 983 drivers/net/tun.c if (ether_addr_equal(eh->h_dest, filter->addr[i])) eh 987 drivers/net/tun.c if (is_multicast_ether_addr(eh->h_dest)) eh 988 drivers/net/tun.c return addr_hash_test(filter->mask, eh->h_dest); eh 291 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c struct ethhdr *eh; eh 340 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c if (skb->len < sizeof(*eh)) { eh 346 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c eh = (struct ethhdr *)(skb->data); eh 348 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c if (eh->h_proto == htons(ETH_P_PAE)) eh 536 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c struct ethhdr *eh; eh 539 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c eh = (struct ethhdr *)(txp->data); eh 540 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c type = ntohs(eh->h_proto); eh 2122 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c struct ethhdr *eh = (struct ethhdr *)(skb->data); eh 2124 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c bool multicast = is_multicast_ether_addr(eh->h_dest); eh 2127 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c brcmf_dbg(DATA, "tx proto=0x%X\n", ntohs(eh->h_proto)); eh 2141 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c skcb->mac = brcmf_fws_macdesc_find(fws, ifp, eh->h_dest); eh 2143 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c eh->h_dest, multicast, fifo); eh 664 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c struct ethhdr *eh = (struct ethhdr *)(skb->data); eh 672 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c flowid = brcmf_flowring_create(msgbuf->flow, eh->h_dest, eh 681 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c memcpy(create->sa, eh->h_source, ETH_ALEN); eh 682 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c memcpy(create->da, eh->h_dest, ETH_ALEN); eh 800 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c struct ethhdr *eh = (struct ethhdr *)(skb->data); eh 805 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c flowid = brcmf_flowring_lookup(flow, eh->h_dest, skb->priority, ifidx); eh 363 drivers/net/wireless/intersil/orinoco/main.c struct ethhdr *eh; eh 375 drivers/net/wireless/intersil/orinoco/main.c eh = (struct ethhdr *)skb->data; eh 378 drivers/net/wireless/intersil/orinoco/main.c if (ntohs(eh->h_proto) > ETH_DATA_LEN) { /* Ethernet-II frame */ eh 394 drivers/net/wireless/intersil/orinoco/main.c memcpy(&hdr.eth, eh, 2 * ETH_ALEN); eh 399 drivers/net/wireless/intersil/orinoco/main.c eh = skb_push(skb, ENCAPS_OVERHEAD); eh 400 drivers/net/wireless/intersil/orinoco/main.c memcpy(eh, &hdr, sizeof(hdr)); eh 416 drivers/net/wireless/intersil/orinoco/main.c eh->h_dest, eh->h_source, 0 /* priority */, eh 8 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c #define RADAR_SPEC(m, len, el, eh, wl, wh, \ eh 15 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c .e_high = eh, \ eh 484 drivers/parisc/eisa_enumerator.c struct eeprom_header *eh; eh 493 drivers/parisc/eisa_enumerator.c eh = (struct eeprom_header*)(eeprom_buf); eh 494 drivers/parisc/eisa_enumerator.c for (i=0;i<eh->num_slots;i++) { eh 514 drivers/parisc/eisa_enumerator.c return eh->num_slots; eh 264 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct ethhdr *eh; eh 371 drivers/scsi/bnx2fc/bnx2fc_fcoe.c eh = eth_hdr(skb); eh 372 drivers/scsi/bnx2fc/bnx2fc_fcoe.c eh->h_proto = htons(ETH_P_FCOE); eh 374 drivers/scsi/bnx2fc/bnx2fc_fcoe.c fc_fcoe_set_mac(eh->h_dest, fh->fh_d_id); eh 377 drivers/scsi/bnx2fc/bnx2fc_fcoe.c memcpy(eh->h_dest, ctlr->dest_addr, ETH_ALEN); eh 380 drivers/scsi/bnx2fc/bnx2fc_fcoe.c memcpy(eh->h_source, ctlr->ctl_src_addr, ETH_ALEN); eh 382 drivers/scsi/bnx2fc/bnx2fc_fcoe.c memcpy(eh->h_source, port->data_src_addr, ETH_ALEN); eh 384 drivers/scsi/bnx2fc/bnx2fc_fcoe.c hp = (struct fcoe_hdr *)(eh + 1); eh 1344 drivers/scsi/fcoe/fcoe.c struct ethhdr *eh; eh 1369 drivers/scsi/fcoe/fcoe.c eh = eth_hdr(skb); eh 1372 drivers/scsi/fcoe/fcoe.c !ether_addr_equal(eh->h_source, ctlr->dest_addr)) { eh 1374 drivers/scsi/fcoe/fcoe.c eh->h_source); eh 1389 drivers/scsi/fcoe/fcoe.c if (ntoh24(&eh->h_dest[3]) != ntoh24(fh->fh_d_id)) { eh 1391 drivers/scsi/fcoe/fcoe.c eh->h_dest); eh 1475 drivers/scsi/fcoe/fcoe.c struct ethhdr *eh; eh 1563 drivers/scsi/fcoe/fcoe.c eh = eth_hdr(skb); eh 1564 drivers/scsi/fcoe/fcoe.c eh->h_proto = htons(ETH_P_FCOE); eh 1565 drivers/scsi/fcoe/fcoe.c memcpy(eh->h_dest, ctlr->dest_addr, ETH_ALEN); eh 1567 drivers/scsi/fcoe/fcoe.c memcpy(eh->h_dest + 3, fh->fh_d_id, 3); eh 1570 drivers/scsi/fcoe/fcoe.c memcpy(eh->h_source, ctlr->ctl_src_addr, ETH_ALEN); eh 1572 drivers/scsi/fcoe/fcoe.c memcpy(eh->h_source, port->data_src_addr, ETH_ALEN); eh 1574 drivers/scsi/fcoe/fcoe.c hp = (struct fcoe_hdr *)(eh + 1); eh 1327 drivers/scsi/fcoe/fcoe_ctlr.c struct ethhdr *eh = eth_hdr(skb); eh 1349 drivers/scsi/fcoe/fcoe_ctlr.c if (!ether_addr_equal(eh->h_source, fcf->fcf_mac)) { eh 1351 drivers/scsi/fcoe/fcoe_ctlr.c "mismatch with FCF src=%pM\n", eh->h_source); eh 1538 drivers/scsi/fcoe/fcoe_ctlr.c struct ethhdr *eh; eh 1548 drivers/scsi/fcoe/fcoe_ctlr.c eh = eth_hdr(skb); eh 1550 drivers/scsi/fcoe/fcoe_ctlr.c if (!ether_addr_equal(eh->h_dest, fip->ctl_src_addr) && eh 1551 drivers/scsi/fcoe/fcoe_ctlr.c !ether_addr_equal(eh->h_dest, fcoe_all_vn2vn) && eh 1552 drivers/scsi/fcoe/fcoe_ctlr.c !ether_addr_equal(eh->h_dest, fcoe_all_p2p)) eh 1554 drivers/scsi/fcoe/fcoe_ctlr.c } else if (!ether_addr_equal(eh->h_dest, fip->ctl_src_addr) && eh 1555 drivers/scsi/fcoe/fcoe_ctlr.c !ether_addr_equal(eh->h_dest, fcoe_all_enode)) eh 615 drivers/scsi/fnic/fnic_fcs.c struct ethhdr *eh; eh 635 drivers/scsi/fnic/fnic_fcs.c eh = (struct ethhdr *)skb->data; eh 636 drivers/scsi/fnic/fnic_fcs.c if (eh->h_proto == htons(ETH_P_FIP)) { eh 637 drivers/scsi/fnic/fnic_fcs.c skb_pull(skb, sizeof(*eh)); eh 671 drivers/scsi/fnic/fnic_fcs.c struct ethhdr *eh; eh 678 drivers/scsi/fnic/fnic_fcs.c eh = (struct ethhdr *)skb->data; eh 679 drivers/scsi/fnic/fnic_fcs.c if (eh->h_proto == htons(ETH_P_8021Q)) { eh 680 drivers/scsi/fnic/fnic_fcs.c memmove((u8 *)eh + VLAN_HLEN, eh, ETH_ALEN * 2); eh 681 drivers/scsi/fnic/fnic_fcs.c eh = skb_pull(skb, VLAN_HLEN); eh 684 drivers/scsi/fnic/fnic_fcs.c if (eh->h_proto == htons(ETH_P_FIP)) { eh 699 drivers/scsi/fnic/fnic_fcs.c if (eh->h_proto != htons(ETH_P_FCOE)) eh 701 drivers/scsi/fnic/fnic_fcs.c skb_set_network_header(skb, sizeof(*eh)); eh 702 drivers/scsi/fnic/fnic_fcs.c skb_pull(skb, sizeof(*eh)); eh 993 drivers/scsi/qedf/qedf_main.c struct ethhdr *eh; eh 1132 drivers/scsi/qedf/qedf_main.c eh = eth_hdr(skb); eh 1133 drivers/scsi/qedf/qedf_main.c eh->h_proto = htons(ETH_P_FCOE); eh 1135 drivers/scsi/qedf/qedf_main.c fc_fcoe_set_mac(eh->h_dest, fh->fh_d_id); eh 1138 drivers/scsi/qedf/qedf_main.c ether_addr_copy(eh->h_dest, qedf->ctlr.dest_addr); eh 1141 drivers/scsi/qedf/qedf_main.c ether_addr_copy(eh->h_source, qedf->data_src_addr); eh 1143 drivers/scsi/qedf/qedf_main.c hp = (struct fcoe_hdr *)(eh + 1); eh 2485 drivers/scsi/qedf/qedf_main.c struct ethhdr *eh; eh 2492 drivers/scsi/qedf/qedf_main.c eh = (struct ethhdr *)skb->data; eh 2495 drivers/scsi/qedf/qedf_main.c if (eh->h_proto == htons(ETH_P_8021Q)) { eh 2496 drivers/scsi/qedf/qedf_main.c memmove((u8 *)eh + VLAN_HLEN, eh, ETH_ALEN * 2); eh 2497 drivers/scsi/qedf/qedf_main.c eh = skb_pull(skb, VLAN_HLEN); eh 2506 drivers/scsi/qedf/qedf_main.c if (eh->h_proto == htons(ETH_P_FIP)) { eh 2509 drivers/scsi/qedf/qedf_main.c } else if (eh->h_proto == htons(ETH_P_FCOE)) { eh 663 drivers/scsi/qedi/qedi_main.c struct ethhdr *eh; eh 677 drivers/scsi/qedi/qedi_main.c eh = (struct ethhdr *)skb->data; eh 679 drivers/scsi/qedi/qedi_main.c if (eh->h_proto == htons(ETH_P_8021Q)) { eh 680 drivers/scsi/qedi/qedi_main.c memmove((u8 *)eh + VLAN_HLEN, eh, ETH_ALEN * 2); eh 681 drivers/scsi/qedi/qedi_main.c eh = (struct ethhdr *)skb_pull(skb, VLAN_HLEN); eh 686 drivers/scsi/qedi/qedi_main.c if (eh->h_proto != htons(ETH_P_ARP) && eh 687 drivers/scsi/qedi/qedi_main.c eh->h_proto != htons(ETH_P_IP) && eh 688 drivers/scsi/qedi/qedi_main.c eh->h_proto != htons(ETH_P_IPV6)) { eh 691 drivers/scsi/qedi/qedi_main.c eh->h_proto, skb->len); eh 698 drivers/scsi/qedi/qedi_main.c eh->h_proto, skb->len); eh 201 drivers/scsi/sr.c struct event_header *eh = (void *)buf; eh 211 drivers/scsi/sr.c if (result || be16_to_cpu(eh->data_len) < sizeof(*med)) eh 214 drivers/scsi/sr.c if (eh->nea || eh->notification_class != 0x4) eh 136 drivers/soc/qcom/cmd-db.c static int cmd_db_get_header(const char *id, const struct entry_header **eh, eh 159 drivers/soc/qcom/cmd-db.c if (eh) eh 160 drivers/soc/qcom/cmd-db.c *eh = ent; eh 101 fs/ext4/ext4_extents.h find_ext4_extent_tail(struct ext4_extent_header *eh) eh 103 fs/ext4/ext4_extents.h return (struct ext4_extent_tail *)(((void *)eh) + eh 104 fs/ext4/ext4_extents.h EXT4_EXTENT_TAIL_OFFSET(eh)); eh 49 fs/ext4/extents.c struct ext4_extent_header *eh) eh 55 fs/ext4/extents.c csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)eh, eh 56 fs/ext4/extents.c EXT4_EXTENT_TAIL_OFFSET(eh)); eh 61 fs/ext4/extents.c struct ext4_extent_header *eh) eh 68 fs/ext4/extents.c et = find_ext4_extent_tail(eh); eh 69 fs/ext4/extents.c if (et->et_checksum != ext4_extent_block_csum(inode, eh)) eh 75 fs/ext4/extents.c struct ext4_extent_header *eh) eh 82 fs/ext4/extents.c et = find_ext4_extent_tail(eh); eh 83 fs/ext4/extents.c et->et_checksum = ext4_extent_block_csum(inode, eh); eh 392 fs/ext4/extents.c struct ext4_extent_header *eh, eh 396 fs/ext4/extents.c if (eh->eh_entries == 0) eh 399 fs/ext4/extents.c entries = le16_to_cpu(eh->eh_entries); eh 403 fs/ext4/extents.c struct ext4_extent *ext = EXT_FIRST_EXTENT(eh); eh 426 fs/ext4/extents.c struct ext4_extent_idx *ext_idx = EXT_FIRST_INDEX(eh); eh 438 fs/ext4/extents.c struct inode *inode, struct ext4_extent_header *eh, eh 444 fs/ext4/extents.c if (unlikely(eh->eh_magic != EXT4_EXT_MAGIC)) { eh 448 fs/ext4/extents.c if (unlikely(le16_to_cpu(eh->eh_depth) != depth)) { eh 452 fs/ext4/extents.c if (unlikely(eh->eh_max == 0)) { eh 457 fs/ext4/extents.c if (unlikely(le16_to_cpu(eh->eh_max) > max)) { eh 461 fs/ext4/extents.c if (unlikely(le16_to_cpu(eh->eh_entries) > le16_to_cpu(eh->eh_max))) { eh 465 fs/ext4/extents.c if (!ext4_valid_extent_entries(inode, eh, depth)) { eh 475 fs/ext4/extents.c !ext4_extent_block_csum_verify(inode, eh)) { eh 487 fs/ext4/extents.c le16_to_cpu(eh->eh_magic), eh 488 fs/ext4/extents.c le16_to_cpu(eh->eh_entries), le16_to_cpu(eh->eh_max), eh 489 fs/ext4/extents.c max, le16_to_cpu(eh->eh_depth), depth); eh 493 fs/ext4/extents.c #define ext4_ext_check(inode, eh, depth, pblk) \ eh 494 fs/ext4/extents.c __ext4_ext_check(__func__, __LINE__, (inode), (eh), (depth), (pblk)) eh 502 fs/ext4/extents.c struct ext4_extent_header *eh) eh 504 fs/ext4/extents.c struct ext4_extent *ex = EXT_FIRST_EXTENT(eh); eh 508 fs/ext4/extents.c for (i = le16_to_cpu(eh->eh_entries); i > 0; i--, ex++) { eh 558 fs/ext4/extents.c struct ext4_extent_header *eh = ext_block_hdr(bh); eh 559 fs/ext4/extents.c ext4_cache_extents(inode, eh); eh 662 fs/ext4/extents.c struct ext4_extent_header *eh; eh 669 fs/ext4/extents.c eh = path[depth].p_hdr; eh 670 fs/ext4/extents.c ex = EXT_FIRST_EXTENT(eh); eh 674 fs/ext4/extents.c for (i = 0; i < le16_to_cpu(eh->eh_entries); i++, ex++) { eh 743 fs/ext4/extents.c struct ext4_extent_header *eh = path->p_hdr; eh 749 fs/ext4/extents.c l = EXT_FIRST_INDEX(eh) + 1; eh 750 fs/ext4/extents.c r = EXT_LAST_INDEX(eh); eh 771 fs/ext4/extents.c chix = ix = EXT_FIRST_INDEX(eh); eh 772 fs/ext4/extents.c for (k = 0; k < le16_to_cpu(eh->eh_entries); k++, ix++) { eh 777 fs/ext4/extents.c ix, EXT_FIRST_INDEX(eh)); eh 803 fs/ext4/extents.c struct ext4_extent_header *eh = path->p_hdr; eh 806 fs/ext4/extents.c if (eh->eh_entries == 0) { eh 816 fs/ext4/extents.c l = EXT_FIRST_EXTENT(eh) + 1; eh 817 fs/ext4/extents.c r = EXT_LAST_EXTENT(eh); eh 842 fs/ext4/extents.c chex = ex = EXT_FIRST_EXTENT(eh); eh 843 fs/ext4/extents.c for (k = 0; k < le16_to_cpu(eh->eh_entries); k++, ex++) { eh 858 fs/ext4/extents.c struct ext4_extent_header *eh; eh 860 fs/ext4/extents.c eh = ext_inode_hdr(inode); eh 861 fs/ext4/extents.c eh->eh_depth = 0; eh 862 fs/ext4/extents.c eh->eh_entries = 0; eh 863 fs/ext4/extents.c eh->eh_magic = EXT4_EXT_MAGIC; eh 864 fs/ext4/extents.c eh->eh_max = cpu_to_le16(ext4_ext_space_root(inode, 0)); eh 873 fs/ext4/extents.c struct ext4_extent_header *eh; eh 879 fs/ext4/extents.c eh = ext_inode_hdr(inode); eh 903 fs/ext4/extents.c path[0].p_hdr = eh; eh 908 fs/ext4/extents.c ext4_cache_extents(inode, eh); eh 912 fs/ext4/extents.c ppos, le16_to_cpu(eh->eh_entries), le16_to_cpu(eh->eh_max)); eh 926 fs/ext4/extents.c eh = ext_block_hdr(bh); eh 929 fs/ext4/extents.c path[ppos].p_hdr = eh; eh 1514 fs/ext4/extents.c struct ext4_extent_header *eh; eh 1591 fs/ext4/extents.c eh = ext_block_hdr(bh); eh 1592 fs/ext4/extents.c ix = EXT_FIRST_INDEX(eh); eh 1600 fs/ext4/extents.c eh = ext_block_hdr(bh); eh 1601 fs/ext4/extents.c ex = EXT_FIRST_EXTENT(eh); eh 1686 fs/ext4/extents.c struct ext4_extent_header *eh; eh 1692 fs/ext4/extents.c eh = path[depth].p_hdr; eh 1695 fs/ext4/extents.c if (unlikely(ex == NULL || eh == NULL)) { eh 1697 fs/ext4/extents.c "ex %p == NULL or eh %p == NULL", ex, eh); eh 1706 fs/ext4/extents.c if (ex != EXT_FIRST_EXTENT(eh)) { eh 1795 fs/ext4/extents.c struct ext4_extent_header *eh; eh 1801 fs/ext4/extents.c eh = path[depth].p_hdr; eh 1803 fs/ext4/extents.c while (ex < EXT_LAST_EXTENT(eh)) { eh 1813 fs/ext4/extents.c if (ex + 1 < EXT_LAST_EXTENT(eh)) { eh 1814 fs/ext4/extents.c len = (EXT_LAST_EXTENT(eh) - ex - 1) eh 1818 fs/ext4/extents.c le16_add_cpu(&eh->eh_entries, -1); eh 1820 fs/ext4/extents.c WARN_ON(eh->eh_entries == 0); eh 1821 fs/ext4/extents.c if (!eh->eh_entries) eh 1881 fs/ext4/extents.c struct ext4_extent_header *eh; eh 1887 fs/ext4/extents.c eh = path[depth].p_hdr; eh 1889 fs/ext4/extents.c if (ex > EXT_FIRST_EXTENT(eh)) eh 1960 fs/ext4/extents.c struct ext4_extent_header *eh; eh 1976 fs/ext4/extents.c eh = path[depth].p_hdr; eh 1992 fs/ext4/extents.c if (ex < EXT_LAST_EXTENT(eh) && eh 1998 fs/ext4/extents.c } else if ((ex > EXT_FIRST_EXTENT(eh)) && eh 2023 fs/ext4/extents.c eh = path[depth].p_hdr; eh 2052 fs/ext4/extents.c eh = path[depth].p_hdr; eh 2059 fs/ext4/extents.c eh = path[depth].p_hdr; eh 2060 fs/ext4/extents.c if (le16_to_cpu(eh->eh_entries) < le16_to_cpu(eh->eh_max)) eh 2064 fs/ext4/extents.c fex = EXT_LAST_EXTENT(eh); eh 2075 fs/ext4/extents.c eh = npath[depth].p_hdr; eh 2076 fs/ext4/extents.c if (le16_to_cpu(eh->eh_entries) < le16_to_cpu(eh->eh_max)) { eh 2078 fs/ext4/extents.c le16_to_cpu(eh->eh_entries)); eh 2083 fs/ext4/extents.c le16_to_cpu(eh->eh_entries), le16_to_cpu(eh->eh_max)); eh 2097 fs/ext4/extents.c eh = path[depth].p_hdr; eh 2113 fs/ext4/extents.c nearex = EXT_FIRST_EXTENT(eh); eh 2137 fs/ext4/extents.c len = EXT_LAST_EXTENT(eh) - nearex + 1; eh 2151 fs/ext4/extents.c le16_add_cpu(&eh->eh_entries, 1); eh 2738 fs/ext4/extents.c struct ext4_extent_header *eh; eh 2751 fs/ext4/extents.c eh = path[depth].p_hdr; eh 2759 fs/ext4/extents.c ex = EXT_LAST_EXTENT(eh); eh 2766 fs/ext4/extents.c while (ex >= EXT_FIRST_EXTENT(eh) && eh 2824 fs/ext4/extents.c if (ex == EXT_FIRST_EXTENT(eh)) { eh 2864 fs/ext4/extents.c memmove(ex, ex+1, (EXT_LAST_EXTENT(eh) - ex) * eh 2868 fs/ext4/extents.c memset(EXT_LAST_EXTENT(eh), 0, eh 2871 fs/ext4/extents.c le16_add_cpu(&eh->eh_entries, -1); eh 2885 fs/ext4/extents.c if (correct_index && eh->eh_entries) eh 2895 fs/ext4/extents.c if (partial->state == tofree && ex >= EXT_FIRST_EXTENT(eh)) { eh 2913 fs/ext4/extents.c if (err == 0 && eh->eh_entries == 0 && path[depth].p_bh != NULL) eh 3544 fs/ext4/extents.c struct ext4_extent_header *eh; eh 3565 fs/ext4/extents.c eh = path[depth].p_hdr; eh 3596 fs/ext4/extents.c (ex > EXT_FIRST_EXTENT(eh))) { /*L2*/ eh 3641 fs/ext4/extents.c ex < EXT_LAST_EXTENT(eh)) { /*L2*/ eh 3913 fs/ext4/extents.c struct ext4_extent_header *eh; eh 3920 fs/ext4/extents.c eh = path[depth].p_hdr; eh 3927 fs/ext4/extents.c if (unlikely(!eh->eh_entries)) eh 3929 fs/ext4/extents.c last_ex = EXT_LAST_EXTENT(eh); eh 382 fs/ext4/migrate.c struct ext4_extent_header *eh; eh 389 fs/ext4/migrate.c eh = (struct ext4_extent_header *)bh->b_data; eh 390 fs/ext4/migrate.c if (eh->eh_depth != 0) { eh 391 fs/ext4/migrate.c ix = EXT_FIRST_INDEX(eh); eh 392 fs/ext4/migrate.c for (i = 0; i < le16_to_cpu(eh->eh_entries); i++, ix++) { eh 412 fs/ext4/migrate.c struct ext4_extent_header *eh = (struct ext4_extent_header *)ei->i_data; eh 414 fs/ext4/migrate.c if (eh->eh_depth == 0) eh 419 fs/ext4/migrate.c ix = EXT_FIRST_INDEX(eh); eh 420 fs/ext4/migrate.c for (i = 0; i < le16_to_cpu(eh->eh_entries); i++, ix++) { eh 614 fs/ext4/migrate.c struct ext4_extent_header *eh; eh 653 fs/ext4/migrate.c eh = ext_inode_hdr(inode); eh 654 fs/ext4/migrate.c ex = EXT_FIRST_EXTENT(eh); eh 656 fs/ext4/migrate.c eh->eh_depth != 0 || le16_to_cpu(eh->eh_entries) > 1) { eh 660 fs/ext4/migrate.c if (eh->eh_entries == 0) eh 33 net/802/stp.c const struct ethhdr *eh = eth_hdr(skb); eh 42 net/802/stp.c if (eh->h_dest[5] >= GARP_ADDR_MIN && eh->h_dest[5] <= GARP_ADDR_MAX) { eh 43 net/802/stp.c proto = rcu_dereference(garp_protos[eh->h_dest[5] - eh 46 net/802/stp.c !ether_addr_equal(eh->h_dest, proto->group_address)) eh 154 net/bluetooth/bnep/bnep.h struct ethhdr eh; eh 55 net/bluetooth/bnep/core.c if (ether_addr_equal(dst, s->eh.h_source)) eh 349 net/bluetooth/bnep/core.c s->eh.h_proto = get_unaligned((__be16 *) (skb->data - 2)); eh 358 net/bluetooth/bnep/core.c if (ntohs(s->eh.h_proto) == ETH_P_8021Q) { eh 361 net/bluetooth/bnep/core.c s->eh.h_proto = get_unaligned((__be16 *) (skb->data - 2)); eh 377 net/bluetooth/bnep/core.c __skb_put_data(nskb, &s->eh, ETH_HLEN); eh 381 net/bluetooth/bnep/core.c __skb_put_data(nskb, s->eh.h_dest, ETH_ALEN); eh 383 net/bluetooth/bnep/core.c put_unaligned(s->eh.h_proto, (__be16 *) __skb_put(nskb, 2)); eh 388 net/bluetooth/bnep/core.c __skb_put_data(nskb, s->eh.h_source, ETH_ALEN + 2); eh 393 net/bluetooth/bnep/core.c put_unaligned(s->eh.h_proto, (__be16 *) __skb_put(nskb, 2)); eh 421 net/bluetooth/bnep/core.c struct ethhdr *eh = (void *) skb->data; eh 437 net/bluetooth/bnep/core.c if (compress_src && ether_addr_equal(eh->h_dest, s->eh.h_source)) eh 440 net/bluetooth/bnep/core.c if (compress_dst && ether_addr_equal(eh->h_source, s->eh.h_dest)) eh 449 net/bluetooth/bnep/core.c iv[il++] = (struct kvec) { eh->h_source, ETH_ALEN }; eh 454 net/bluetooth/bnep/core.c iv[il++] = (struct kvec) { eh->h_dest, ETH_ALEN }; eh 595 net/bluetooth/bnep/core.c memcpy(s->eh.h_dest, &src, ETH_ALEN); eh 596 net/bluetooth/bnep/core.c memcpy(s->eh.h_source, &dst, ETH_ALEN); eh 597 net/bluetooth/bnep/core.c memcpy(dev->dev_addr, s->eh.h_dest, ETH_ALEN); eh 679 net/bluetooth/bnep/core.c memcpy(ci->dst, s->eh.h_source, ETH_ALEN); eh 124 net/bluetooth/bnep/netdev.c struct ethhdr *eh = (void *) skb->data; eh 126 net/bluetooth/bnep/netdev.c if ((eh->h_dest[0] & 1) && !test_bit(bnep_mc_hash(eh->h_dest), (ulong *) &s->mc_filter)) eh 136 net/bluetooth/bnep/netdev.c struct ethhdr *eh = (void *) skb->data; eh 137 net/bluetooth/bnep/netdev.c u16 proto = ntohs(eh->h_proto); eh 458 net/ethernet/eth.c struct ethhdr *eh, *eh2; eh 464 net/ethernet/eth.c hlen = off_eth + sizeof(*eh); eh 465 net/ethernet/eth.c eh = skb_gro_header_fast(skb, off_eth); eh 467 net/ethernet/eth.c eh = skb_gro_header_slow(skb, hlen, off_eth); eh 468 net/ethernet/eth.c if (unlikely(!eh)) eh 479 net/ethernet/eth.c if (compare_ether_header(eh, eh2)) { eh 485 net/ethernet/eth.c type = eh->h_proto; eh 494 net/ethernet/eth.c skb_gro_pull(skb, sizeof(*eh)); eh 495 net/ethernet/eth.c skb_gro_postpull_rcsum(skb, eh, sizeof(*eh)); eh 509 net/ethernet/eth.c struct ethhdr *eh = (struct ethhdr *)(skb->data + nhoff); eh 510 net/ethernet/eth.c __be16 type = eh->h_proto; eh 97 net/ipv4/ip_tunnel_core.c struct ethhdr *eh; eh 102 net/ipv4/ip_tunnel_core.c eh = (struct ethhdr *)skb->data; eh 103 net/ipv4/ip_tunnel_core.c if (likely(eth_proto_is_802_3(eh->h_proto))) eh 104 net/ipv4/ip_tunnel_core.c skb->protocol = eh->h_proto; eh 223 net/ipv4/netfilter/nf_log_ipv4.c const struct ip_esp_hdr *eh; eh 232 net/ipv4/netfilter/nf_log_ipv4.c eh = skb_header_pointer(skb, iphoff+ih->ihl*4, eh 234 net/ipv4/netfilter/nf_log_ipv4.c if (eh == NULL) { eh 241 net/ipv4/netfilter/nf_log_ipv4.c nf_log_buf_add(m, "SPI=0x%x ", ntohl(eh->spi)); eh 163 net/ipv6/netfilter/nf_log_ipv6.c const struct ip_esp_hdr *eh; eh 176 net/ipv6/netfilter/nf_log_ipv6.c eh = skb_header_pointer(skb, ptr, sizeof(_esph), eh 178 net/ipv6/netfilter/nf_log_ipv6.c if (eh == NULL) { eh 186 net/ipv6/netfilter/nf_log_ipv6.c ntohl(eh->spi)); eh 315 net/ncsi/ncsi-cmd.c struct ethhdr *eh; eh 369 net/ncsi/ncsi-cmd.c eh = skb_push(nr->cmd, sizeof(*eh)); eh 370 net/ncsi/ncsi-cmd.c eh->h_proto = htons(ETH_P_NCSI); eh 371 net/ncsi/ncsi-cmd.c eth_broadcast_addr(eh->h_dest); eh 372 net/ncsi/ncsi-cmd.c eth_broadcast_addr(eh->h_source); eh 38 net/netfilter/xt_esp.c const struct ip_esp_hdr *eh; eh 46 net/netfilter/xt_esp.c eh = skb_header_pointer(skb, par->thoff, sizeof(_esp), &_esp); eh 47 net/netfilter/xt_esp.c if (eh == NULL) { eh 56 net/netfilter/xt_esp.c return spi_match(espinfo->spis[0], espinfo->spis[1], ntohl(eh->spi), eh 1595 tools/perf/util/parse-events.c int eh; eh 1612 tools/perf/util/parse-events.c int eh = evsel ? evsel->core.attr.exclude_hv : 0; eh 1621 tools/perf/util/parse-events.c int exclude = eu | ek | eh; eh 1630 tools/perf/util/parse-events.c exclude = eu = ek = eh = 1; eh 1634 tools/perf/util/parse-events.c exclude = eu = ek = eh = 1; eh 1638 tools/perf/util/parse-events.c exclude = eu = ek = eh = 1; eh 1639 tools/perf/util/parse-events.c eh = 0; eh 1684 tools/perf/util/parse-events.c mod->eh = eh; eh 1739 tools/perf/util/parse-events.c evsel->core.attr.exclude_hv = mod.eh; eh 20 tools/testing/selftests/powerpc/primitives/asm/asm-compat.h #define PPC_LLARX(t, a, b, eh) PPC_LDARX(t, a, b, eh) eh 53 tools/testing/selftests/powerpc/primitives/asm/asm-compat.h #define PPC_LLARX(t, a, b, eh) PPC_LWARX(t, a, b, eh)