Home
last modified time | relevance | path

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

12

/linux-6.15/include/net/
H A 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()
286 nsh->ver_flags_ttl_len in __nsh_set_xflag()
287 = (nsh->ver_flags_ttl_len & ~htons(xmask)) | htons(xflag); in __nsh_set_xflag()
[all …]
/linux-6.15/arch/riscv/kvm/
H A Dvcpu.c582 void *nsh; in kvm_arch_vcpu_load() local
587 nsh = nacl_shmem(); in kvm_arch_vcpu_load()
647 void *nsh; in kvm_arch_vcpu_put() local
664 nsh = nacl_shmem(); in kvm_arch_vcpu_put()
781 void *nsh; in kvm_riscv_vcpu_enter_exit() local
797 nsh = nacl_shmem(); in kvm_riscv_vcpu_enter_exit()
801 nacl_csr_read(nsh, CSR_HSTATUS); in kvm_riscv_vcpu_enter_exit()
802 nacl_scratch_write_long(nsh, in kvm_riscv_vcpu_enter_exit()
806 nacl_scratch_write_long(nsh, in kvm_riscv_vcpu_enter_exit()
816 nacl_scratch_write_longs(nsh, in kvm_riscv_vcpu_enter_exit()
[all …]
H A Daia.c140 void *nsh; in kvm_riscv_vcpu_aia_load() local
146 nsh = nacl_shmem(); in kvm_riscv_vcpu_aia_load()
148 nacl_csr_write(nsh, CSR_HVIPRIO1, csr->hviprio1); in kvm_riscv_vcpu_aia_load()
149 nacl_csr_write(nsh, CSR_HVIPRIO2, csr->hviprio2); in kvm_riscv_vcpu_aia_load()
151 nacl_csr_write(nsh, CSR_VSIEH, csr->vsieh); in kvm_riscv_vcpu_aia_load()
152 nacl_csr_write(nsh, CSR_HVIPH, csr->hviph); in kvm_riscv_vcpu_aia_load()
172 void *nsh; in kvm_riscv_vcpu_aia_put() local
178 nsh = nacl_shmem(); in kvm_riscv_vcpu_aia_put()
180 csr->hviprio1 = nacl_csr_read(nsh, CSR_HVIPRIO1); in kvm_riscv_vcpu_aia_put()
183 csr->vsieh = nacl_csr_read(nsh, CSR_VSIEH); in kvm_riscv_vcpu_aia_put()
[all …]
/linux-6.15/drivers/bluetooth/
H A 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()
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()
407 nsh.zero = 0; in dtl1_hci_send_frame()
[all …]
/linux-6.15/arch/arm64/kvm/hyp/nvhe/
H A Dtlb.c21 bool nsh) in enter_vmid_context() argument
48 if (nsh) in enter_vmid_context()
49 dsb(nsh); in enter_vmid_context()
200 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh()
202 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh()
258 dsb(nsh); in __kvm_flush_cpu_context()
H A Dswitch.c327 dsb(nsh); in __kvm_vcpu_run()
368 dsb(nsh); in __kvm_vcpu_run()
/linux-6.15/drivers/net/dsa/hirschmann/
H A Dhellcreek_ptp.c33 u16 nsl, nsh; in hellcreek_ptp_clock_read() local
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()
48 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C); in hellcreek_ptp_clock_read()
53 return (u64)nsl | ((u64)nsh << 16); in hellcreek_ptp_clock_read()
108 u16 secl, nsh, nsl; in hellcreek_ptp_settime() local
111 nsh = ((u32)ts->tv_nsec & 0xffff0000) >> 16; in hellcreek_ptp_settime()
124 hellcreek_ptp_write(hellcreek, nsh, PR_CLOCK_WRITE_C); in hellcreek_ptp_settime()
H A 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.15/arch/arm64/kernel/
H A Drelocate_kernel.S80 dsb nsh
82 dsb nsh
H A Dhyp-stub.S170 dsb nsh
/linux-6.15/arch/arm64/kvm/hyp/vhe/
H A Dtlb.c148 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh()
150 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh()
210 dsb(nsh); in __kvm_flush_cpu_context()
/linux-6.15/net/nsh/
H A DMakefile2 obj-$(CONFIG_NET_NSH) += nsh.o
/linux-6.15/arch/arm/include/asm/
H A 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.15/net/openvswitch/
H A Dflow.c652 key->nsh.base.flags = nsh_get_flags(nh); in parse_nsh()
653 key->nsh.base.ttl = nsh_get_ttl(nh); in parse_nsh()
654 key->nsh.base.mdtype = nh->mdtype; in parse_nsh()
655 key->nsh.base.np = nh->np; in parse_nsh()
656 key->nsh.base.path_hdr = nh->path_hdr; in parse_nsh()
657 switch (key->nsh.base.mdtype) { in parse_nsh()
661 memcpy(key->nsh.context, nh->md1.context, in parse_nsh()
665 memset(key->nsh.context, 0, in parse_nsh()
H A Dflow_netlink.h68 int nsh_key_from_nlattr(const struct nlattr *attr, struct ovs_key_nsh *nsh,
H A Dflow_netlink.c1378 nsh->base = *base; in nsh_key_from_nlattr()
1445 SW_FLOW_KEY_PUT(match, nsh.base.flags, in nsh_key_put_from_nlattr()
1447 SW_FLOW_KEY_PUT(match, nsh.base.ttl, in nsh_key_put_from_nlattr()
1449 SW_FLOW_KEY_PUT(match, nsh.base.mdtype, in nsh_key_put_from_nlattr()
1451 SW_FLOW_KEY_PUT(match, nsh.base.np, in nsh_key_put_from_nlattr()
1453 SW_FLOW_KEY_PUT(match, nsh.base.path_hdr, in nsh_key_put_from_nlattr()
1462 SW_FLOW_KEY_PUT(match, nsh.context[i], in nsh_key_put_from_nlattr()
2005 if (nla_put(skb, OVS_NSH_KEY_ATTR_BASE, sizeof(nsh->base), &nsh->base)) in nsh_key_to_nlattr()
2008 if (is_mask || nsh->base.mdtype == NSH_M_TYPE1) { in nsh_key_to_nlattr()
2010 sizeof(nsh->context), nsh->context)) in nsh_key_to_nlattr()
[all …]
H A Dactions.c650 flow_key->nsh.base.flags = flags; in set_nsh()
653 flow_key->nsh.base.ttl = ttl; in set_nsh()
657 flow_key->nsh.base.path_hdr = nh->path_hdr; in set_nsh()
665 memcpy(flow_key->nsh.context, nh->md1.context, in set_nsh()
669 memset(flow_key->nsh.context, 0, in set_nsh()
670 sizeof(flow_key->nsh.context)); in set_nsh()
H A Dflow.h155 struct ovs_key_nsh nsh; /* network service header */ member
/linux-6.15/Documentation/netlink/specs/
H A Dovs_flow.yaml580 name: nsh
582 nested-attributes: ovs-nsh-key-attrs
688 name: push-nsh
690 nested-attributes: ovs-nsh-key-attrs
694 name: pop-nsh
852 name: ovs-nsh-key-attrs
853 enum-name: ovs-nsh-key-attr
854 name-prefix: ovs-nsh-key-attr-
/linux-6.15/arch/arm64/mm/
H A Dproc.S169 dsb nsh
232 dsb nsh
454 dsb nsh
/linux-6.15/arch/arm64/include/asm/
H A Dassembler.h101 dsb nsh
468 dsb nsh
724 dsb nsh
H A Dmte.h268 dsb(nsh); in mte_check_tfsr_exit()
/linux-6.15/net/
H A DMakefile72 obj-$(CONFIG_NET_NSH) += nsh/
/linux-6.15/drivers/md/
H A Draid5.c2559 if (!nsh) in resize_stripes()
2568 list_del(&nsh->lru); in resize_stripes()
2569 free_stripe(sc, nsh); in resize_stripes()
2646 list_del_init(&nsh->lru); in resize_stripes()
2650 if (nsh->pages[i]) in resize_stripes()
2653 if (!nsh->pages[i]) in resize_stripes()
2658 if (nsh->dev[i].page) in resize_stripes()
2660 nsh->dev[i].page = raid5_get_dev_page(nsh, i); in resize_stripes()
2661 nsh->dev[i].orig_page = nsh->dev[i].page; in resize_stripes()
2662 nsh->dev[i].offset = raid5_get_page_offset(nsh, i); in resize_stripes()
[all …]
/linux-6.15/arch/x86/boot/
H A Dgenimage.sh195 mcopy - "$1"startup.nsh

12