Home
last modified time | relevance | path

Searched full:eh (Results 1 – 25 of 442) sorted by relevance

12345678910>>...18

/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
Dtrace.c253 union ib_ehdrs *eh = ehdrs; in parse_everbs_hdrs() local
270 be32_to_cpu(eh->imm_data)); in parse_everbs_hdrs()
276 get_ib_reth_vaddr(&eh->rc.reth), in parse_everbs_hdrs()
277 be32_to_cpu(eh->rc.reth.rkey), in parse_everbs_hdrs()
278 be32_to_cpu(eh->rc.reth.length), in parse_everbs_hdrs()
279 be32_to_cpu(eh->rc.imm_data)); in parse_everbs_hdrs()
288 get_ib_reth_vaddr(&eh->rc.reth), in parse_everbs_hdrs()
289 be32_to_cpu(eh->rc.reth.rkey), in parse_everbs_hdrs()
290 be32_to_cpu(eh->rc.reth.length)); in parse_everbs_hdrs()
296 trace_seq_printf(p, AETH_PRN, be32_to_cpu(eh->aeth) >> 24, in parse_everbs_hdrs()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dtrace.c290 union ib_ehdrs *eh = ehdrs; in parse_everbs_hdrs() local
307 be32_to_cpu(eh->imm_data)); in parse_everbs_hdrs()
313 get_ib_reth_vaddr(&eh->rc.reth), in parse_everbs_hdrs()
314 be32_to_cpu(eh->rc.reth.rkey), in parse_everbs_hdrs()
315 be32_to_cpu(eh->rc.reth.length), in parse_everbs_hdrs()
316 be32_to_cpu(eh->rc.imm_data)); in parse_everbs_hdrs()
325 get_ib_reth_vaddr(&eh->rc.reth), in parse_everbs_hdrs()
326 be32_to_cpu(eh->rc.reth.rkey), in parse_everbs_hdrs()
327 be32_to_cpu(eh->rc.reth.length)); in parse_everbs_hdrs()
333 trace_seq_printf(p, AETH_PRN, be32_to_cpu(eh->aeth) >> 24, in parse_everbs_hdrs()
[all …]
/kernel/linux/linux-6.6/Documentation/scsi/
Dscsi_eh.rst4 SCSI EH
13 [1] How SCSI commands travel through the midlayer and to EH
18 [1-3] How EH takes over
19 [2] How SCSI EH works
20 [2-1] EH through fine-grained callbacks
22 [2-1-2] Flow of scmds through EH
24 [2-2] EH through transportt->eh_strategy_handler()
30 1. How SCSI commands travel through the midlayer and to EH
39 per-device allocated scmd list and not of much interest to this EH
40 discussion. The latter is used for completion and EH lists and unless
[all …]
/kernel/linux/linux-5.10/Documentation/scsi/
Dscsi_eh.rst4 SCSI EH
13 [1] How SCSI commands travel through the midlayer and to EH
18 [1-3] How EH takes over
19 [2] How SCSI EH works
20 [2-1] EH through fine-grained callbacks
22 [2-1-2] Flow of scmds through EH
24 [2-2] EH through transportt->eh_strategy_handler()
30 1. How SCSI commands travel through the midlayer and to EH
39 per-device allocated scmd list and not of much interest to this EH
40 discussion. The latter is used for completion and EH lists and unless
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
Dxdp_features.c69 struct ethhdr *eh = data; in xdp_process_echo_packet() local
74 if (eh + 1 > (struct ethhdr *)data_end) in xdp_process_echo_packet()
77 if (eh->h_proto == bpf_htons(ETH_P_IP)) { in xdp_process_echo_packet()
78 struct iphdr *ih = (struct iphdr *)(eh + 1); in xdp_process_echo_packet()
84 ih = (struct iphdr *)(eh + 1); in xdp_process_echo_packet()
98 } else if (eh->h_proto == bpf_htons(ETH_P_IPV6)) { in xdp_process_echo_packet()
101 struct ipv6hdr *ih6 = (struct ipv6hdr *)(eh + 1); in xdp_process_echo_packet()
203 struct ethhdr *eh = data; in xdp_do_tx() local
209 __builtin_memcpy(tmp_mac, eh->h_source, ETH_ALEN); in xdp_do_tx()
210 __builtin_memcpy(eh->h_source, eh->h_dest, ETH_ALEN); in xdp_do_tx()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/8390/
Detherh.c119 static inline void etherh_set_ctrl(struct etherh_priv *eh, unsigned char mask) in etherh_set_ctrl() argument
121 unsigned char ctrl = eh->ctrl | mask; in etherh_set_ctrl()
122 eh->ctrl = ctrl; in etherh_set_ctrl()
123 writeb(ctrl, eh->ctrl_port); in etherh_set_ctrl()
126 static inline void etherh_clr_ctrl(struct etherh_priv *eh, unsigned char mask) in etherh_clr_ctrl() argument
128 unsigned char ctrl = eh->ctrl & ~mask; in etherh_clr_ctrl()
129 eh->ctrl = ctrl; in etherh_clr_ctrl()
130 writeb(ctrl, eh->ctrl_port); in etherh_clr_ctrl()
133 static inline unsigned int etherh_get_stat(struct etherh_priv *eh) in etherh_get_stat() argument
135 return readb(eh->ctrl_port); in etherh_get_stat()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/8390/
Detherh.c119 static inline void etherh_set_ctrl(struct etherh_priv *eh, unsigned char mask) in etherh_set_ctrl() argument
121 unsigned char ctrl = eh->ctrl | mask; in etherh_set_ctrl()
122 eh->ctrl = ctrl; in etherh_set_ctrl()
123 writeb(ctrl, eh->ctrl_port); in etherh_set_ctrl()
126 static inline void etherh_clr_ctrl(struct etherh_priv *eh, unsigned char mask) in etherh_clr_ctrl() argument
128 unsigned char ctrl = eh->ctrl & ~mask; in etherh_clr_ctrl()
129 eh->ctrl = ctrl; in etherh_clr_ctrl()
130 writeb(ctrl, eh->ctrl_port); in etherh_clr_ctrl()
133 static inline unsigned int etherh_get_stat(struct etherh_priv *eh) in etherh_get_stat() argument
135 return readb(eh->ctrl_port); in etherh_get_stat()
[all …]
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
Dsimple_spinlock.h52 unsigned int eh = IS_ENABLED(CONFIG_PPC64); in __arch_spin_trylock() local
56 "1: lwarx %0,0,%2,%[eh]\n\ in __arch_spin_trylock()
64 : "r" (token), "r" (&lock->slock), [eh] "n" (eh) in __arch_spin_trylock()
162 unsigned int eh = IS_ENABLED(CONFIG_PPC64); in __arch_read_trylock() local
165 "1: lwarx %0,0,%1,%[eh]\n" in __arch_read_trylock()
173 : "r" (&rw->lock), [eh] "n" (eh) in __arch_read_trylock()
186 unsigned int eh = IS_ENABLED(CONFIG_PPC64); in __arch_write_trylock() local
190 "1: lwarx %0,0,%2,%[eh]\n\ in __arch_write_trylock()
197 : "r" (token), "r" (&rw->lock), [eh] "n" (eh) in __arch_write_trylock()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/
Dprestera_hw.c408 struct prestera_fw_event_handler *eh; in __find_event_handler() local
410 list_for_each_entry_rcu(eh, &sw->event_handlers, list) { in __find_event_handler()
411 if (eh->type == type) in __find_event_handler()
412 return eh; in __find_event_handler()
420 struct prestera_fw_event_handler *eh) in prestera_find_event_handler() argument
428 *eh = *tmp; in prestera_find_event_handler()
440 struct prestera_fw_event_handler eh; in prestera_evt_recv() local
449 err = prestera_find_event_handler(sw, msg->type, &eh); in prestera_evt_recv()
459 eh.func(sw, &evt, eh.arg); in prestera_evt_recv()
467 struct prestera_fw_event_handler eh; in prestera_pkt_recv() local
[all …]
/kernel/linux/linux-6.6/net/bluetooth/bnep/
Dcore.c55 if (ether_addr_equal(dst, s->eh.h_source)) in __bnep_get_session()
349 s->eh.h_proto = get_unaligned((__be16 *) (skb->data - 2)); in bnep_rx_frame()
358 if (ntohs(s->eh.h_proto) == ETH_P_8021Q) { in bnep_rx_frame()
361 s->eh.h_proto = get_unaligned((__be16 *) (skb->data - 2)); in bnep_rx_frame()
377 __skb_put_data(nskb, &s->eh, ETH_HLEN); in bnep_rx_frame()
381 __skb_put_data(nskb, s->eh.h_dest, ETH_ALEN); in bnep_rx_frame()
383 put_unaligned(s->eh.h_proto, (__be16 *) __skb_put(nskb, 2)); in bnep_rx_frame()
388 __skb_put_data(nskb, s->eh.h_source, ETH_ALEN); in bnep_rx_frame()
389 put_unaligned(s->eh.h_proto, (__be16 *)__skb_put(nskb, 2)); in bnep_rx_frame()
394 put_unaligned(s->eh.h_proto, (__be16 *) __skb_put(nskb, 2)); in bnep_rx_frame()
[all …]
/kernel/linux/linux-5.10/net/bluetooth/bnep/
Dcore.c55 if (ether_addr_equal(dst, s->eh.h_source)) in __bnep_get_session()
349 s->eh.h_proto = get_unaligned((__be16 *) (skb->data - 2)); in bnep_rx_frame()
358 if (ntohs(s->eh.h_proto) == ETH_P_8021Q) { in bnep_rx_frame()
361 s->eh.h_proto = get_unaligned((__be16 *) (skb->data - 2)); in bnep_rx_frame()
377 __skb_put_data(nskb, &s->eh, ETH_HLEN); in bnep_rx_frame()
381 __skb_put_data(nskb, s->eh.h_dest, ETH_ALEN); in bnep_rx_frame()
383 put_unaligned(s->eh.h_proto, (__be16 *) __skb_put(nskb, 2)); in bnep_rx_frame()
388 __skb_put_data(nskb, s->eh.h_source, ETH_ALEN + 2); in bnep_rx_frame()
393 put_unaligned(s->eh.h_proto, (__be16 *) __skb_put(nskb, 2)); in bnep_rx_frame()
421 struct ethhdr *eh = (void *) skb->data; in bnep_tx_frame() local
[all …]
/kernel/linux/linux-5.10/Documentation/filesystems/ext4/
Difork.rst58 (``eh.eh_depth`` > 0), the header is followed by ``eh.eh_entries``
61 is a leaf node (``eh.eh_depth == 0``), then the header is followed by
62 ``eh.eh_entries`` instances of ``struct ext4_extent``; these instances
80 - eh\_magic
84 - eh\_entries
88 - eh\_max
92 - eh\_depth
100 - eh\_generation
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dbinfmt_loader.c11 struct exec *eh = (struct exec *)bprm->buf; in load_binary() local
16 if (eh->fh.f_magic != 0x183 || (eh->fh.f_flags & 0x3000) != 0x3000) in load_binary()
30 bprm->taso = eh->ah.entry < 0x100000000UL; in load_binary()
/kernel/linux/linux-6.6/drivers/ata/
Dlibata-eh.c3 * libata-eh.c - libata error handling
121 /* The following table determines timeouts to use for EH internal
328 * EH context.
351 * Notify EH that internal command @cmd for @dev timed out. This
356 * EH context.
446 /* doesn't make sense for port-wide EH actions */ in ata_eh_clear_action()
463 * ata_eh_acquire - acquire EH ownership
464 * @ap: ATA port to acquire EH ownership for
466 * Acquire EH ownership for @ap. This is the basic exclusion
468 * the same host can claim the ownership of EH.
[all …]
/kernel/linux/linux-5.10/drivers/ata/
Dlibata-eh.c3 * libata-eh.c - libata error handling
121 /* The following table determines timeouts to use for EH internal
324 * EH context.
347 * Notify EH that internal command @cmd for @dev timed out. This
352 * EH context.
442 /* doesn't make sense for port-wide EH actions */ in ata_eh_clear_action()
459 * ata_eh_acquire - acquire EH ownership
460 * @ap: ATA port to acquire EH ownership for
462 * Acquire EH ownership for @ap. This is the basic exclusion
464 * the same host can claim the ownership of EH.
[all …]
/kernel/linux/linux-5.10/net/802/
Dstp.c33 const struct ethhdr *eh = eth_hdr(skb); in stp_pdu_rcv() local
42 if (eh->h_dest[5] >= GARP_ADDR_MIN && eh->h_dest[5] <= GARP_ADDR_MAX) { in stp_pdu_rcv()
43 proto = rcu_dereference(garp_protos[eh->h_dest[5] - in stp_pdu_rcv()
46 !ether_addr_equal(eh->h_dest, proto->group_address)) in stp_pdu_rcv()
/kernel/linux/linux-6.6/net/802/
Dstp.c33 const struct ethhdr *eh = eth_hdr(skb); in stp_pdu_rcv() local
42 if (eh->h_dest[5] >= GARP_ADDR_MIN && eh->h_dest[5] <= GARP_ADDR_MAX) { in stp_pdu_rcv()
43 proto = rcu_dereference(garp_protos[eh->h_dest[5] - in stp_pdu_rcv()
46 !ether_addr_equal(eh->h_dest, proto->group_address)) in stp_pdu_rcv()
/kernel/linux/linux-5.10/arch/mips/tools/
Dloongson3-llsc-check.c239 Elf64_Ehdr *eh; in main() local
269 eh = vmlinux; in main()
270 if (memcmp(eh->e_ident, ELFMAG, SELFMAG)) { in main()
275 if (eh->e_ident[EI_CLASS] != ELFCLASS64) { in main()
280 if (eh->e_ident[EI_DATA] != ELFDATA2LSB) { in main()
285 for (i = 0; i < le16toh(eh->e_shnum); i++) { in main()
286 sh = vmlinux + le64toh(eh->e_shoff) + (i * le16toh(eh->e_shentsize)); in main()
/kernel/linux/linux-6.6/arch/mips/tools/
Dloongson3-llsc-check.c239 Elf64_Ehdr *eh; in main() local
269 eh = vmlinux; in main()
270 if (memcmp(eh->e_ident, ELFMAG, SELFMAG)) { in main()
275 if (eh->e_ident[EI_CLASS] != ELFCLASS64) { in main()
280 if (eh->e_ident[EI_DATA] != ELFDATA2LSB) { in main()
285 for (i = 0; i < le16toh(eh->e_shnum); i++) { in main()
286 sh = vmlinux + le64toh(eh->e_shoff) + (i * le16toh(eh->e_shentsize)); in main()
/kernel/linux/linux-5.10/fs/ext4/
Dextents.c50 struct ext4_extent_header *eh) in ext4_extent_block_csum() argument
56 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)eh, in ext4_extent_block_csum()
57 EXT4_EXTENT_TAIL_OFFSET(eh)); in ext4_extent_block_csum()
62 struct ext4_extent_header *eh) in ext4_extent_block_csum_verify() argument
69 et = find_ext4_extent_tail(eh); in ext4_extent_block_csum_verify()
70 if (et->et_checksum != ext4_extent_block_csum(inode, eh)) in ext4_extent_block_csum_verify()
76 struct ext4_extent_header *eh) in ext4_extent_block_csum_set() argument
83 et = find_ext4_extent_tail(eh); in ext4_extent_block_csum_set()
84 et->et_checksum = ext4_extent_block_csum(inode, eh); in ext4_extent_block_csum_set()
368 struct ext4_extent_header *eh, in ext4_valid_extent_entries() argument
[all …]
Dmigrate.c359 struct ext4_extent_header *eh; in free_ext_idx() local
366 eh = (struct ext4_extent_header *)bh->b_data; in free_ext_idx()
367 if (eh->eh_depth != 0) { in free_ext_idx()
368 ix = EXT_FIRST_INDEX(eh); in free_ext_idx()
369 for (i = 0; i < le16_to_cpu(eh->eh_entries); i++, ix++) { in free_ext_idx()
394 struct ext4_extent_header *eh = (struct ext4_extent_header *)ei->i_data; in free_ext_block() local
396 if (eh->eh_depth == 0) in free_ext_block()
401 ix = EXT_FIRST_INDEX(eh); in free_ext_block()
402 for (i = 0; i < le16_to_cpu(eh->eh_entries); i++, ix++) { in free_ext_block()
599 struct ext4_extent_header *eh; in ext4_ind_migrate() local
[all …]
/kernel/linux/linux-6.6/fs/ext4/
Dextents.c50 struct ext4_extent_header *eh) in ext4_extent_block_csum() argument
56 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)eh, in ext4_extent_block_csum()
57 EXT4_EXTENT_TAIL_OFFSET(eh)); in ext4_extent_block_csum()
62 struct ext4_extent_header *eh) in ext4_extent_block_csum_verify() argument
69 et = find_ext4_extent_tail(eh); in ext4_extent_block_csum_verify()
70 if (et->et_checksum != ext4_extent_block_csum(inode, eh)) in ext4_extent_block_csum_verify()
76 struct ext4_extent_header *eh) in ext4_extent_block_csum_set() argument
83 et = find_ext4_extent_tail(eh); in ext4_extent_block_csum_set()
84 et->et_checksum = ext4_extent_block_csum(inode, eh); in ext4_extent_block_csum_set()
388 struct ext4_extent_header *eh, in ext4_valid_extent_entries() argument
[all …]
Dmigrate.c358 struct ext4_extent_header *eh; in free_ext_idx() local
365 eh = (struct ext4_extent_header *)bh->b_data; in free_ext_idx()
366 if (eh->eh_depth != 0) { in free_ext_idx()
367 ix = EXT_FIRST_INDEX(eh); in free_ext_idx()
368 for (i = 0; i < le16_to_cpu(eh->eh_entries); i++, ix++) { in free_ext_idx()
393 struct ext4_extent_header *eh = (struct ext4_extent_header *)ei->i_data; in free_ext_block() local
395 if (eh->eh_depth == 0) in free_ext_block()
400 ix = EXT_FIRST_INDEX(eh); in free_ext_block()
401 for (i = 0; i < le16_to_cpu(eh->eh_entries); i++, ix++) { in free_ext_block()
598 struct ext4_extent_header *eh; in ext4_ind_migrate() local
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/primitives/asm/
Dasm-compat.h20 #define PPC_LLARX(t, a, b, eh) PPC_LDARX(t, a, b, eh) argument
53 #define PPC_LLARX(t, a, b, eh) PPC_LWARX(t, a, b, eh) argument
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dasm-compat.h20 #define PPC_LLARX(t, a, b, eh) PPC_LDARX(t, a, b, eh) argument
53 #define PPC_LLARX(t, a, b, eh) PPC_LWARX(t, a, b, eh) argument

12345678910>>...18