Home
last modified time | relevance | path

Searched refs:nsh (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.6.21/include/net/
Dnsh.h260 static inline u16 nsh_hdr_len(const struct nshhdr *nsh) in nsh_hdr_len() argument
262 return ((ntohs(nsh->ver_flags_ttl_len) & NSH_LEN_MASK) in nsh_hdr_len()
266 static inline u8 nsh_get_ver(const struct nshhdr *nsh) in nsh_get_ver() argument
268 return (ntohs(nsh->ver_flags_ttl_len) & NSH_VER_MASK) in nsh_get_ver()
272 static inline u8 nsh_get_flags(const struct nshhdr *nsh) in nsh_get_flags() argument
274 return (ntohs(nsh->ver_flags_ttl_len) & NSH_FLAGS_MASK) in nsh_get_flags()
278 static inline u8 nsh_get_ttl(const struct nshhdr *nsh) in nsh_get_ttl() argument
280 return (ntohs(nsh->ver_flags_ttl_len) & NSH_TTL_MASK) in nsh_get_ttl()
284 static inline void __nsh_set_xflag(struct nshhdr *nsh, u16 xflag, u16 xmask) in __nsh_set_xflag() argument
286 nsh->ver_flags_ttl_len in __nsh_set_xflag()
[all …]
/linux-6.6.21/drivers/bluetooth/
Ddtl1_cs.c97 struct nsh { struct
205 struct nsh *nsh; in dtl1_receive() local
230 nsh = (struct nsh *)info->rx_skb->data; in dtl1_receive()
239 info->rx_count = nsh->len + (nsh->len & 0x0001); in dtl1_receive()
242 hci_skb_pkt_type(info->rx_skb) = nsh->type; in dtl1_receive()
245 if (nsh->len & 0x0001) { in dtl1_receive()
388 struct nsh nsh; in dtl1_hci_send_frame() local
393 nsh.type = 0x81; in dtl1_hci_send_frame()
397 nsh.type = 0x82; in dtl1_hci_send_frame()
401 nsh.type = 0x83; in dtl1_hci_send_frame()
[all …]
/linux-6.6.21/arch/arm64/kvm/hyp/nvhe/
Dtlb.c19 bool nsh) in __tlb_switch_to_guest() argument
38 if (nsh) in __tlb_switch_to_guest()
39 dsb(nsh); in __tlb_switch_to_guest()
155 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh()
157 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh()
238 dsb(nsh); in __kvm_flush_cpu_context()
Dswitch.c290 dsb(nsh); in __kvm_vcpu_run()
331 dsb(nsh); in __kvm_vcpu_run()
/linux-6.6.21/drivers/net/dsa/hirschmann/
Dhellcreek_ptp.c32 u16 nsl, nsh; in hellcreek_ptp_clock_read() local
44 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C); in hellcreek_ptp_clock_read()
45 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C); in hellcreek_ptp_clock_read()
46 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C); in hellcreek_ptp_clock_read()
47 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C); in hellcreek_ptp_clock_read()
50 return (u64)nsl | ((u64)nsh << 16); in hellcreek_ptp_clock_read()
103 u16 secl, nsh, nsl; in hellcreek_ptp_settime() local
106 nsh = ((u32)ts->tv_nsec & 0xffff0000) >> 16; in hellcreek_ptp_settime()
119 hellcreek_ptp_write(hellcreek, nsh, PR_CLOCK_WRITE_C); in hellcreek_ptp_settime()
Dhellcreek_hwtstamp.c202 u16 nsl, nsh; in hellcreek_ptp_hwtstamp_read() local
204 nsh = hellcreek_ptp_read(hellcreek, ts_reg); in hellcreek_ptp_hwtstamp_read()
205 nsh = hellcreek_ptp_read(hellcreek, ts_reg); in hellcreek_ptp_hwtstamp_read()
206 nsh = hellcreek_ptp_read(hellcreek, ts_reg); in hellcreek_ptp_hwtstamp_read()
207 nsh = hellcreek_ptp_read(hellcreek, ts_reg); in hellcreek_ptp_hwtstamp_read()
210 return (u64)nsl | ((u64)nsh << 16); in hellcreek_ptp_hwtstamp_read()
/linux-6.6.21/arch/arm64/kvm/hyp/vhe/
Dtlb.c138 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh()
140 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh()
199 dsb(nsh); in __kvm_flush_cpu_context()
Dsysreg-sr.c82 dsb(nsh); in kvm_vcpu_load_sysregs_vhe()
/linux-6.6.21/arch/arm64/kernel/
Drelocate_kernel.S80 dsb nsh
82 dsb nsh
Dhyp-stub.S170 dsb nsh
/linux-6.6.21/net/nsh/
DMakefile2 obj-$(CONFIG_NET_NSH) += nsh.o
/linux-6.6.21/arch/arm/include/asm/
Dtlbflush.h338 dsb(nsh); in local_flush_tlb_all()
391 dsb(nsh); in local_flush_tlb_mm()
448 dsb(nsh); in local_flush_tlb_page()
501 dsb(nsh); in local_flush_tlb_kernel_page()
/linux-6.6.21/net/openvswitch/
Dflow.c651 key->nsh.base.flags = nsh_get_flags(nh); in parse_nsh()
652 key->nsh.base.ttl = nsh_get_ttl(nh); in parse_nsh()
653 key->nsh.base.mdtype = nh->mdtype; in parse_nsh()
654 key->nsh.base.np = nh->np; in parse_nsh()
655 key->nsh.base.path_hdr = nh->path_hdr; in parse_nsh()
656 switch (key->nsh.base.mdtype) { in parse_nsh()
660 memcpy(key->nsh.context, nh->md1.context, in parse_nsh()
664 memset(key->nsh.context, 0, in parse_nsh()
Dflow_netlink.h68 int nsh_key_from_nlattr(const struct nlattr *attr, struct ovs_key_nsh *nsh,
Dflow_netlink.c1350 struct ovs_key_nsh *nsh, struct ovs_key_nsh *nsh_mask) in nsh_key_from_nlattr() argument
1365 nsh->base = *base; in nsh_key_from_nlattr()
1373 memcpy(nsh->context, md1->context, sizeof(*md1)); in nsh_key_from_nlattr()
1432 SW_FLOW_KEY_PUT(match, nsh.base.flags, in nsh_key_put_from_nlattr()
1434 SW_FLOW_KEY_PUT(match, nsh.base.ttl, in nsh_key_put_from_nlattr()
1436 SW_FLOW_KEY_PUT(match, nsh.base.mdtype, in nsh_key_put_from_nlattr()
1438 SW_FLOW_KEY_PUT(match, nsh.base.np, in nsh_key_put_from_nlattr()
1440 SW_FLOW_KEY_PUT(match, nsh.base.path_hdr, in nsh_key_put_from_nlattr()
1449 SW_FLOW_KEY_PUT(match, nsh.context[i], in nsh_key_put_from_nlattr()
1983 static int nsh_key_to_nlattr(const struct ovs_key_nsh *nsh, bool is_mask, in nsh_key_to_nlattr() argument
[all …]
Dactions.c634 flow_key->nsh.base.flags = flags; in set_nsh()
637 flow_key->nsh.base.ttl = ttl; in set_nsh()
641 flow_key->nsh.base.path_hdr = nh->path_hdr; in set_nsh()
649 memcpy(flow_key->nsh.context, nh->md1.context, in set_nsh()
653 memset(flow_key->nsh.context, 0, in set_nsh()
654 sizeof(flow_key->nsh.context)); in set_nsh()
Dflow.h155 struct ovs_key_nsh nsh; /* network service header */ member
/linux-6.6.21/arch/arm64/mm/
Dproc.S179 dsb nsh
233 dsb nsh
406 dsb nsh
/linux-6.6.21/Documentation/netlink/specs/
Dovs_flow.yaml576 name: nsh
578 nested-attributes: ovs-nsh-key-attrs
684 name: push-nsh
686 nested-attributes: ovs-nsh-key-attrs
690 name: pop-nsh
842 name: ovs-nsh-key-attrs
843 enum-name: ovs-nsh-key-attr
844 name-prefix: ovs-nsh-key-attr-
/linux-6.6.21/arch/arm64/include/asm/
Dmte.h201 dsb(nsh); in mte_check_tfsr_exit()
Dassembler.h109 dsb nsh
492 dsb nsh
750 dsb nsh
Dtlbflush.h235 dsb(nsh); in local_flush_tlb_all()
/linux-6.6.21/net/
DMakefile73 obj-$(CONFIG_NET_NSH) += nsh/
/linux-6.6.21/drivers/md/
Draid5.c2557 struct stripe_head *osh, *nsh; in resize_stripes() local
2578 nsh = alloc_stripe(sc, GFP_KERNEL, newsize, conf); in resize_stripes()
2579 if (!nsh) in resize_stripes()
2582 list_add(&nsh->lru, &newstripes); in resize_stripes()
2587 nsh = list_entry(newstripes.next, struct stripe_head, lru); in resize_stripes()
2588 list_del(&nsh->lru); in resize_stripes()
2589 free_stripe(sc, nsh); in resize_stripes()
2601 list_for_each_entry(nsh, &newstripes, lru) { in resize_stripes()
2612 nsh->pages[i] = osh->pages[i]; in resize_stripes()
2617 nsh->dev[i].page = osh->dev[i].page; in resize_stripes()
[all …]
/linux-6.6.21/arch/x86/boot/
Dgenimage.sh194 mcopy - "$1"startup.nsh

12