Home
last modified time | relevance | path

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

123456789

/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/arch/powerpc/include/asm/
Dsimple_spinlock.h51 unsigned int eh = IS_ENABLED(CONFIG_PPC64); in __arch_spin_trylock() local
55 "1: lwarx %0,0,%2,%[eh]\n\ in __arch_spin_trylock()
63 : "r" (token), "r" (&lock->slock), [eh] "n" (eh) in __arch_spin_trylock()
160 unsigned int eh = IS_ENABLED(CONFIG_PPC64); in __arch_read_trylock() local
163 "1: lwarx %0,0,%1,%[eh]\n" in __arch_read_trylock()
171 : "r" (&rw->lock), [eh] "n" (eh) in __arch_read_trylock()
184 unsigned int eh = IS_ENABLED(CONFIG_PPC64); in __arch_write_trylock() local
188 "1: lwarx %0,0,%2,%[eh]\n\ in __arch_write_trylock()
195 : "r" (token), "r" (&rw->lock), [eh] "n" (eh) in __arch_write_trylock()
/Linux-v6.1/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 …]
Dnetdev.c124 struct ethhdr *eh = (void *) skb->data; in bnep_net_mc_filter() local
126 if ((eh->h_dest[0] & 1) && !test_bit(bnep_mc_hash(eh->h_dest), (ulong *) &s->mc_filter)) in bnep_net_mc_filter()
136 struct ethhdr *eh = (void *) skb->data; in bnep_net_eth_proto() local
137 u16 proto = ntohs(eh->h_proto); in bnep_net_eth_proto()
/Linux-v6.1/drivers/ata/
Dlibata-eh.c3 * libata-eh.c - libata error handling
121 /* The following table determines timeouts to use for EH internal
326 * EH context.
349 * Notify EH that internal command @cmd for @dev timed out. This
354 * EH context.
444 /* doesn't make sense for port-wide EH actions */ in ata_eh_clear_action()
461 * ata_eh_acquire - acquire EH ownership
462 * @ap: ATA port to acquire EH ownership for
464 * Acquire EH ownership for @ap. This is the basic exclusion
466 * the same host can claim the ownership of EH.
[all …]
/Linux-v6.1/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()
/Linux-v6.1/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 …]
/Linux-v6.1/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()
/Linux-v6.1/drivers/net/ethernet/sfc/
Drx.c70 u8 *eh, int hdr_len) in efx_rx_mk_skb() argument
86 memcpy(skb->data + efx->rx_ip_align, eh - efx->rx_prefix_size, in efx_rx_mk_skb()
208 static void efx_rx_deliver(struct efx_channel *channel, u8 *eh, in efx_rx_deliver() argument
215 skb = efx_rx_mk_skb(channel, rx_buf, n_frags, eh, hdr_len); in efx_rx_deliver()
365 u8 *eh = efx_rx_buf_va(rx_buf); in __efx_rx_packet() local
372 (eh + efx->rx_packet_len_offset)); in __efx_rx_packet()
380 efx_loopback_rx_packet(efx, eh, rx_buf->len); in __efx_rx_packet()
387 if (!efx_do_xdp(efx, channel, rx_buf, &eh)) in __efx_rx_packet()
394 efx_rx_packet_gro(channel, rx_buf, channel->rx_pkt_n_frags, eh, 0); in __efx_rx_packet()
396 efx_rx_deliver(channel, eh, rx_buf, channel->rx_pkt_n_frags); in __efx_rx_packet()
Drx_common.h32 static inline u32 efx_rx_buf_hash(struct efx_nic *efx, const u8 *eh) in efx_rx_buf_hash() argument
35 return __le32_to_cpup((const __le32 *)(eh + efx->rx_packet_hash_offset)); in efx_rx_buf_hash()
37 const u8 *data = eh + efx->rx_packet_hash_offset; in efx_rx_buf_hash()
85 unsigned int n_frags, u8 *eh, __wsum csum);
/Linux-v6.1/drivers/net/ethernet/sfc/siena/
Drx.c70 u8 *eh, int hdr_len) in efx_rx_mk_skb() argument
86 memcpy(skb->data + efx->rx_ip_align, eh - efx->rx_prefix_size, in efx_rx_mk_skb()
208 static void efx_rx_deliver(struct efx_channel *channel, u8 *eh, in efx_rx_deliver() argument
215 skb = efx_rx_mk_skb(channel, rx_buf, n_frags, eh, hdr_len); in efx_rx_deliver()
365 u8 *eh = efx_rx_buf_va(rx_buf); in __efx_siena_rx_packet() local
372 (eh + efx->rx_packet_len_offset)); in __efx_siena_rx_packet()
380 efx_siena_loopback_rx_packet(efx, eh, rx_buf->len); in __efx_siena_rx_packet()
387 if (!efx_do_xdp(efx, channel, rx_buf, &eh)) in __efx_siena_rx_packet()
395 channel->rx_pkt_n_frags, eh, 0); in __efx_siena_rx_packet()
397 efx_rx_deliver(channel, eh, rx_buf, channel->rx_pkt_n_frags); in __efx_siena_rx_packet()
Drx_common.h32 static inline u32 efx_rx_buf_hash(struct efx_nic *efx, const u8 *eh) in efx_rx_buf_hash() argument
35 return __le32_to_cpup((const __le32 *)(eh + efx->rx_packet_hash_offset)); in efx_rx_buf_hash()
37 const u8 *data = eh + efx->rx_packet_hash_offset; in efx_rx_buf_hash()
79 unsigned int n_frags, u8 *eh, __wsum csum);
/Linux-v6.1/Documentation/driver-api/
Dlibata.rst272 Exception and probe handling (EH)
311 with a set of EH hooks as arguments:
313 'prereset' hook (may be NULL) is called during an EH reset, before any
316 'postreset' hook (may be NULL) is called after the EH reset is
321 called to perform the low-level EH reset.
329 after executing a probe-time or EH-time command via
404 advised to read SCSI EH (Documentation/scsi/scsi_eh.rst) and ATA
530 will invoke EH for the scmd, and returning 1 makes :c:func:`ata_qc_complete`
545 If EH is invoked for timeout, :c:func:`ata_qc_timeout` stops BMDMA and
546 completes the qc. Note that as we're currently in EH, we cannot call
[all …]
/Linux-v6.1/Documentation/hwmon/
Dsmsc47b397.rst149 MOV DX,02EH
153 MOV DX,02EH
160 MOV DX,02EH
177 MOV DX,02EH
182 MOV DX,02EH
189 MOV DX,02EH
195 MOV DX,02EH
/Linux-v6.1/net/netfilter/
Dxt_esp.c38 const struct ip_esp_hdr *eh; in esp_mt() local
46 eh = skb_header_pointer(skb, par->thoff, sizeof(_esp), &_esp); in esp_mt()
47 if (eh == NULL) { in esp_mt()
56 return spi_match(espinfo->spis[0], espinfo->spis[1], ntohl(eh->spi), in esp_mt()
/Linux-v6.1/drivers/block/paride/
Daten.c5 aten.c is a low-level protocol driver for the ATEN EH-100
6 parallel port adapter. The EH-100 supports 4-bit and 8-bit
7 modes only. There is also an EH-132 which supports EPP mode
8 transfers. The EH-132 is not yet supported.
127 printk("%s: aten %s, ATEN EH-100 at 0x%x, ", in aten_log_adapter()
/Linux-v6.1/net/ethernet/
Deth.c410 struct ethhdr *eh, *eh2; in eth_gro_receive() local
416 hlen = off_eth + sizeof(*eh); in eth_gro_receive()
417 eh = skb_gro_header(skb, hlen, off_eth); in eth_gro_receive()
418 if (unlikely(!eh)) in eth_gro_receive()
428 if (compare_ether_header(eh, eh2)) { in eth_gro_receive()
434 type = eh->h_proto; in eth_gro_receive()
442 skb_gro_pull(skb, sizeof(*eh)); in eth_gro_receive()
443 skb_gro_postpull_rcsum(skb, eh, sizeof(*eh)); in eth_gro_receive()
458 struct ethhdr *eh = (struct ethhdr *)(skb->data + nhoff); in eth_gro_complete() local
459 __be16 type = eh->h_proto; in eth_gro_complete()
[all …]
/Linux-v6.1/drivers/net/ethernet/marvell/prestera/
Dprestera_hw.c919 struct prestera_fw_event_handler *eh; in __find_event_handler() local
921 list_for_each_entry_rcu(eh, &sw->event_handlers, list) { in __find_event_handler()
922 if (eh->type == type) in __find_event_handler()
923 return eh; in __find_event_handler()
931 struct prestera_fw_event_handler *eh) in prestera_find_event_handler() argument
939 *eh = *tmp; in prestera_find_event_handler()
951 struct prestera_fw_event_handler eh; in prestera_evt_recv() local
962 err = prestera_find_event_handler(sw, msg_type, &eh); in prestera_evt_recv()
972 eh.func(sw, &evt, eh.arg); in prestera_evt_recv()
980 struct prestera_fw_event_handler eh; in prestera_pkt_recv() local
[all …]
/Linux-v6.1/tools/perf/Documentation/
Djitdump-specification.txt159 uint64_t eh_frame_hdr_size : the size in bytes of the DWARF EH Frame Header at the start of the un…
161 …data[n]: an array of unwinding data, consisting of the EH Frame Header, followed by the actual EH
164 The EH Frame header follows the Linux Standard Base (LSB) specification as described in the documen…
167 The EH Frame follows the LSB specification as described in the document at https://refspecs.linuxba…
170 …apped by the process). If the unwinding data was not mapped, then only the EH Frame Header will be…
/Linux-v6.1/net/ncsi/
Dncsi-cmd.c323 struct ethhdr *eh; in ncsi_xmit_cmd() local
377 eh = skb_push(nr->cmd, sizeof(*eh)); in ncsi_xmit_cmd()
378 eh->h_proto = htons(ETH_P_NCSI); in ncsi_xmit_cmd()
379 eth_broadcast_addr(eh->h_dest); in ncsi_xmit_cmd()
386 memcpy(eh->h_source, nca->ndp->ndev.dev->dev_addr, ETH_ALEN); in ncsi_xmit_cmd()
388 eth_broadcast_addr(eh->h_source); in ncsi_xmit_cmd()
/Linux-v6.1/drivers/message/fusion/lsi/
Dmpi_fc.h98 U16 IOCStatus; /* 0Eh */
109 U16 Oxid; /* 2Eh */
166 U16 Oxid; /* 1Eh */
187 U16 IOCStatus; /* 0Eh */
229 U16 IOCStatus; /* 0Eh */
271 U16 IOCStatus; /* 0Eh */
290 U8 FsType; /* 0Eh */
315 U16 IOCStatus; /* 0Eh */
361 U16 IOCStatus; /* 0Eh */
/Linux-v6.1/drivers/firmware/arm_scmi/
Dnotify.c273 * @eh: A reference to pre-allocated buffer to be used as a scratch area by the
275 * @eh_sz: Size of the pre-allocated buffer @eh
300 struct scmi_event_header *eh; member
431 outs = kfifo_out(&eq->kfifo, pd->eh, in scmi_process_event_header()
441 r_evt = SCMI_GET_REVT_FROM_PD(pd, pd->eh->evt_id); in scmi_process_event_header()
470 outs = kfifo_out(&eq->kfifo, pd->eh->payld, pd->eh->payld_sz); in scmi_process_event_payload()
477 if (outs != pd->eh->payld_sz) { in scmi_process_event_payload()
486 pd->id, pd->eh->evt_id); in scmi_process_event_payload()
490 report = REVT_FILL_REPORT(r_evt, pd->eh->evt_id, pd->eh->timestamp, in scmi_process_event_payload()
491 pd->eh->payld, pd->eh->payld_sz, in scmi_process_event_payload()
[all …]

123456789