/linux-5.10/drivers/thunderbolt/ |
D | path.c | 16 static void tb_dump_hop(const struct tb_path_hop *hop, const struct tb_regs_hop *regs) in tb_dump_hop() argument 18 const struct tb_port *port = hop->in_port; in tb_dump_hop() 21 hop->in_hop_index, regs->out_port, regs->next_hop); in tb_dump_hop() 38 struct tb_regs_hop hop; in tb_path_find_dst_port() local 48 ret = tb_port_read(port, &hop, TB_CFG_HOPS, 2 * hopid, 2); in tb_path_find_dst_port() 54 if (!hop.enable) in tb_path_find_dst_port() 57 out_port = &sw->ports[hop.out_port]; in tb_path_find_dst_port() 58 hopid = hop.next_hop; in tb_path_find_dst_port() 105 struct tb_regs_hop hop; in tb_path_discover() local 132 ret = tb_port_read(p, &hop, TB_CFG_HOPS, 2 * h, 2); in tb_path_discover() [all …]
|
D | nhi.c | 41 int bit = ring->hop; in ring_interrupt_index() 66 index = ring->hop; in ring_interrupt_active() 68 index = ring->hop + ring->nhi->hop_count; in ring_interrupt_active() 103 RING_TYPE(ring), ring->hop, in ring_interrupt_active() 131 io += ring->hop * 16; in ring_desc_base() 139 io += ring->hop * 32; in ring_options_base() 445 if (ring->hop < 0) { in nhi_alloc_hop() 455 ring->hop = i; in nhi_alloc_hop() 460 ring->hop = i; in nhi_alloc_hop() 467 if (ring->hop < 0 || ring->hop >= nhi->hop_count) { in nhi_alloc_hop() [all …]
|
D | nhi_regs.h | 40 * 16 bytes per entry, one entry for every hop (REG_HOP_COUNT) 49 * 16 bytes per entry, one entry for every hop (REG_HOP_COUNT) 59 * 32 bytes per entry, one entry for every hop (REG_HOP_COUNT) 67 * 32 bytes per entry, one entry for every hop (REG_HOP_COUNT) 70 * the corresponding TX hop id. 80 * Every bitfield contains one bit for every hop (REG_HOP_COUNT). Registers are 89 * Both bitfields contains one bit for every hop (REG_HOP_COUNT). To
|
/linux-5.10/net/ipv6/ |
D | calipso.c | 771 /* Hop-by-hop hdr helper functions 775 * calipso_opt_update - Replaces socket's hop options with a new set 777 * @hop: new hop options 780 * Replaces @sk's hop options with @hop. @hop may be NULL to leave 781 * the socket with no hop options. 784 static int calipso_opt_update(struct sock *sk, struct ipv6_opt_hdr *hop) in calipso_opt_update() argument 788 txopts = ipv6_renew_options(sk, old, IPV6_HOPOPTS, hop); in calipso_opt_update() 830 * calipso_opt_find - Finds the CALIPSO option in an IPv6 hop options header 831 * @hop: the hop options header 840 * offsets within @hop of the start of padding before the first [all …]
|
/linux-5.10/net/6lowpan/ |
D | Kconfig | 41 tristate "Hop-by-Hop Options Header Support" 44 6LoWPAN IPv6 Hop-by-Hop Options Header compression according to 72 tristate "GHC Hop-by-Hop Options Header Support" 74 6LoWPAN IPv6 Hop-by-Hop option generic header compression according
|
D | nhc_hop.c | 3 * 6LoWPAN IPv6 Hop-by-Hop Options Header compression according to RFC6282 18 LOWPAN_NHC(nhc_hop, "RFC6282 Hop-by-Hop Options", NEXTHDR_HOP, 0, 22 MODULE_DESCRIPTION("6LoWPAN next header RFC6282 Hop-by-Hop Options compression");
|
D | nhc_ghc_ext_hop.c | 18 LOWPAN_NHC(ghc_ext_hop, "RFC7400 Hop-by-Hop Extension Header", NEXTHDR_HOP, 0, 22 MODULE_DESCRIPTION("6LoWPAN generic header hop-by-hop extension compression");
|
/linux-5.10/sound/synth/emux/ |
D | emux_oss.c | 27 void *private, int atomic, int hop); 30 int cmd, unsigned char *event, int atomic, int hop); 32 int cmd, unsigned char *event, int atomic, int hop); 34 int ch, int param, int val, int atomic, int hop); 288 int atomic, int hop) in snd_emux_event_oss_input() argument 301 return snd_emux_event_input(ev, direct, private_data, atomic, hop); in snd_emux_event_oss_input() 309 emuspec_control(emu, p, cmd, data, atomic, hop); in snd_emux_event_oss_input() 311 gusspec_control(emu, p, cmd, data, atomic, hop); in snd_emux_event_oss_input() 321 unsigned char *event, int atomic, int hop) in emuspec_control() argument 361 fake_event(emu, port, voice, MIDI_CTL_ALL_NOTES_OFF, 0, atomic, hop); in emuspec_control() [all …]
|
/linux-5.10/sound/core/seq/ |
D | seq_queue.c | 237 void snd_seq_check_queue(struct snd_seq_queue *q, int atomic, int hop) in snd_seq_check_queue() argument 264 snd_seq_dispatch_event(cell, atomic, hop); in snd_seq_check_queue() 273 snd_seq_dispatch_event(cell, atomic, hop); in snd_seq_check_queue() 289 int snd_seq_enqueue_event(struct snd_seq_event_cell *cell, int atomic, int hop) in snd_seq_enqueue_event() argument 333 snd_seq_check_queue(q, atomic, hop); in snd_seq_enqueue_event() 641 int atomic, int hop) in queue_broadcast_event() argument 656 snd_seq_kernel_client_dispatch(SNDRV_SEQ_CLIENT_SYSTEM, &sev, atomic, hop); in queue_broadcast_event() 665 int atomic, int hop) in snd_seq_queue_process_event() argument 672 queue_broadcast_event(q, ev, atomic, hop); in snd_seq_queue_process_event() 677 queue_broadcast_event(q, ev, atomic, hop); in snd_seq_queue_process_event() [all …]
|
D | seq_clientmgr.c | 68 int err, int atomic, int hop); 71 int filter, int atomic, int hop); 535 int err, int atomic, int hop) in bounce_error_event() argument 557 result = snd_seq_deliver_single_event(NULL, &bounce_ev, 0, atomic, hop + 1); in bounce_error_event() 603 int filter, int atomic, int hop) in snd_seq_deliver_single_event() argument 640 atomic, hop); in snd_seq_deliver_single_event() 653 result = bounce_error_event(client, event, result, atomic, hop); in snd_seq_deliver_single_event() 664 int atomic, int hop) in deliver_to_subscribers() argument 683 down_read_nested(&grp->list_mutex, hop); in deliver_to_subscribers() 694 0, atomic, hop); in deliver_to_subscribers() [all …]
|
D | seq_queue.h | 69 int snd_seq_enqueue_event(struct snd_seq_event_cell *cell, int atomic, int hop); 84 void snd_seq_check_queue(struct snd_seq_queue *q, int atomic, int hop); 96 int snd_seq_control_queue(struct snd_seq_event *ev, int atomic, int hop);
|
/linux-5.10/drivers/infiniband/core/ |
D | smi.c | 86 /* C14-9:5 -- Fail unreasonable hop pointer */ in __smi_handle_dr_smp_send() 120 /* C14-13:5 -- Check for unreasonable hop pointer */ in __smi_handle_dr_smp_send() 174 /* C14-9:2 -- intermediate hop */ in __smi_handle_dr_smp_recv() 197 /* C14-9:5 -- fail unreasonable hop pointer */ in __smi_handle_dr_smp_recv() 231 /* C14-13:5 -- Check for unreasonable hop pointer */ in __smi_handle_dr_smp_recv() 276 /* C14-9:2 -- intermediate hop */ in __smi_check_forward_dr_smp() 289 /* C14-13:2 -- intermediate hop */ in __smi_check_forward_dr_smp()
|
D | opa_smi.h | 57 /* C14-9:4 -- Hop Pointer = Hop Count + 1 -> give to SMA/SM */ in opa_smi_check_local_smp() 72 /* C14-13:4 -- Hop Pointer == 0 -> give to SM */ in opa_smi_check_local_returning_smp()
|
D | smi.h | 69 /* C14-9:4 -- Hop Pointer = Hop Count + 1 -> give to SMA/SM */ in smi_check_local_smp() 84 /* C14-13:4 -- Hop Pointer == 0 -> give to SM */ in smi_check_local_returning_smp()
|
/linux-5.10/tools/testing/selftests/net/forwarding/ |
D | mirror_gre_nh.sh | 8 # is reachable through a next-hop route (as opposed to directly-attached route). 91 log_test "mirror to gre with next-hop remote ($tcflags)" 102 log_test "mirror to ip6gre with next-hop remote ($tcflags)"
|
/linux-5.10/include/net/ |
D | ipv6.h | 32 #define NEXTHDR_HOP 0 /* Hop-by-hop option header. */ 52 /* Limits on Hop-by-Hop and Destination options. 55 * Hop-by-Hop or Destination options other then the packet must fit in an MTU. 60 * - Limit the number of options in a Hop-by-Hop or Destination options 62 * - Limit the byte length of a Hop-by-Hop or Destination options extension 74 * options or Hop-by-Hop options. If the number is less than zero then unknown 79 * Hop-by-Hop options extension header. Setting the value to INT_MAX 86 /* Default limits for Hop-by-Hop and Destination options */
|
/linux-5.10/net/ipv6/netfilter/ |
D | Kconfig | 118 tristate '"hbh" hop-by-hop and "dst" opts header match support' 121 This allows one to match packets based on the hop-by-hop
|
D | ip6t_hbh.c | 2 /* Kernel module to match Hop-by-Hop and Destination parameters. */ 21 MODULE_DESCRIPTION("Xtables: IPv6 Hop-By-Hop and Destination Header match");
|
/linux-5.10/drivers/misc/habanalabs/common/ |
D | mmu_v1.c | 109 * The value to write is actually the address of the next shadow hop + in write_pte() 112 * clear the 12 LSBs and translate the shadow hop to its associated in write_pte() 113 * physical hop, and add back the original 12 LSBs. in write_pte() 148 * put_pte - decrement the num of ptes and free the hop if possible 151 * @hop_addr: addr of the hop 153 * This function returns the number of ptes left on this hop. If the number is 242 /* translates shadow address inside hop to a physical address */ 286 dev_err(hdev->dev, "failed to alloc hop 1\n"); in dram_default_mapping_init() 295 dev_err(hdev->dev, "failed to alloc hop 2\n"); in dram_default_mapping_init() 305 dev_err(hdev->dev, "failed to alloc hop 3, i: %d\n", i); in dram_default_mapping_init()
|
/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
D | devlink_trap_control.sh | 278 -t ip hop=1,next=0,payload=$(mld_payload_get 130) -p 100 -q 286 -t ip hop=1,next=0,payload=$(mld_payload_get 131) -p 100 -q 294 -t ip hop=1,next=0,payload=$(mld_payload_get 143) -p 100 -q 302 -t ip hop=1,next=0,payload=$(mld_payload_get 132) -p 100 -q 358 -t ip hop=1,next=58,payload=$(icmpv6_header_get 135) -p 100 -q 366 -t ip hop=1,next=58,payload=$(icmpv6_header_get 136) -p 100 -q 566 # https://en.wikipedia.org/wiki/IPv6_packet#Hop-by-hop_options_and_destination_options 606 -t ip hop=1,next=58,payload=$(icmpv6_header_get 133) -p 100 -q 615 -t ip hop=1,next=58,payload=$(icmpv6_header_get 134) -p 100 -q 624 -t ip hop=1,next=58,payload=$(icmpv6_header_get 137) -p 100 -q
|
/linux-5.10/drivers/firewire/ |
D | core-topology.c | 121 * Compute the maximum hop count for this node and it's children. The 122 * maximum hop count is the maximum number of connections between any 126 * maintain the max hop count and the max depth, ie the number of hops 127 * to the furthest leaf. Computing the max hop count breaks down into 129 * the hop count is the sum of the two biggest child depths plus 2. 130 * Or it could be the case that the max hop path is entirely 131 * containted in a child tree, in which case the max hop count is just 132 * the max hop count of this child.
|
/linux-5.10/kernel/rcu/ |
D | tasks.h | 17 typedef void (*pertask_func_t)(struct task_struct *t, struct list_head *hop); 18 typedef void (*postscan_func_t)(struct list_head *hop); 19 typedef void (*holdouts_func_t)(struct list_head *hop, bool ndrpt, bool *frptp); 406 static void rcu_tasks_pertask(struct task_struct *t, struct list_head *hop) in rcu_tasks_pertask() argument 412 list_add(&t->rcu_tasks_holdout_list, hop); in rcu_tasks_pertask() 417 static void rcu_tasks_postscan(struct list_head *hop) in rcu_tasks_postscan() argument 462 static void check_all_holdout_tasks(struct list_head *hop, in check_all_holdout_tasks() argument 467 list_for_each_entry_safe(t, t1, hop, rcu_tasks_holdout_list) { in check_all_holdout_tasks() 976 struct list_head *hop) in rcu_tasks_trace_pertask() argument 981 trc_wait_for_one_reader(t, hop); in rcu_tasks_trace_pertask() [all …]
|
/linux-5.10/net/batman-adv/ |
D | bat_v_ogm.c | 461 * Initially the per hardif hop penalty is applied to the throughput. After 469 * - throughput * node hop penalty otherwise 482 /* Apply per hardif hop penalty */ in batadv_v_forward_penalty() 486 /* Don't apply hop penalty in default originator table. */ in batadv_v_forward_penalty() 499 /* hop penalty of 255 equals 100% */ in batadv_v_forward_penalty() 543 /* strict rule: forward packets coming from the best next hop only */ in batadv_v_ogm_forward() 734 /* if this neighbor already is our next hop there is nothing in batadv_v_ogm_route_update() 742 * the last received seqno from our best next hop. in batadv_v_ogm_route_update() 919 * - If this OGM traveled one hop so far (emitted by single hop in batadv_v_ogm_process() 921 * - For OGMs traversing more than hop the path throughput metric is in batadv_v_ogm_process()
|
/linux-5.10/include/uapi/linux/ |
D | ip6_tunnel.h | 32 __u8 hop_limit; /* hop limit for tunnel */ 44 __u8 hop_limit; /* hop limit for tunnel */
|
/linux-5.10/include/linux/ |
D | thunderbolt.h | 187 * @transmit_ring: Local ring (hop) where outgoing packets are pushed 189 * @receive_ring: Local ring (hop) where incoming packets arrive 462 * @hop: Hop (DMA channel) associated with this ring 484 int hop; member 552 struct tb_ring *tb_ring_alloc_tx(struct tb_nhi *nhi, int hop, int size, 554 struct tb_ring *tb_ring_alloc_rx(struct tb_nhi *nhi, int hop, int size,
|