Home
last modified time | relevance | path

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

/linux/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()
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/arch/riscv/kvm/
H A Dvcpu.c580 void *nsh; in kvm_arch_vcpu_load() local
585 nsh = nacl_shmem(); in kvm_arch_vcpu_load()
586 nacl_csr_write(nsh, CSR_VSSTATUS, csr->vsstatus); in kvm_arch_vcpu_load()
587 nacl_csr_write(nsh, CSR_VSIE, csr->vsie); in kvm_arch_vcpu_load()
588 nacl_csr_write(nsh, CSR_VSTVEC, csr->vstvec); in kvm_arch_vcpu_load()
589 nacl_csr_write(nsh, CSR_VSSCRATCH, csr->vsscratch); in kvm_arch_vcpu_load()
590 nacl_csr_write(nsh, CSR_VSEPC, csr->vsepc); in kvm_arch_vcpu_load()
591 nacl_csr_write(nsh, CSR_VSCAUSE, csr->vscause); in kvm_arch_vcpu_load()
592 nacl_csr_write(nsh, CSR_VSTVAL, csr->vstval); in kvm_arch_vcpu_load()
593 nacl_csr_write(nsh, CSR_HEDELEG, cfg->hedeleg); in kvm_arch_vcpu_load()
[all …]
H A Daia.c114 void *nsh; in kvm_riscv_vcpu_aia_load() local
120 nsh = nacl_shmem(); in kvm_riscv_vcpu_aia_load()
121 nacl_csr_write(nsh, CSR_VSISELECT, csr->vsiselect); in kvm_riscv_vcpu_aia_load()
122 nacl_csr_write(nsh, CSR_HVIPRIO1, csr->hviprio1); in kvm_riscv_vcpu_aia_load()
123 nacl_csr_write(nsh, CSR_HVIPRIO2, csr->hviprio2); in kvm_riscv_vcpu_aia_load()
125 nacl_csr_write(nsh, CSR_VSIEH, csr->vsieh); in kvm_riscv_vcpu_aia_load()
126 nacl_csr_write(nsh, CSR_HVIPH, csr->hviph); in kvm_riscv_vcpu_aia_load()
127 nacl_csr_write(nsh, CSR_HVIPRIO1H, csr->hviprio1h); in kvm_riscv_vcpu_aia_load()
128 nacl_csr_write(nsh, CSR_HVIPRIO2H, csr->hviprio2h); in kvm_riscv_vcpu_aia_load()
149 void *nsh; in kvm_riscv_vcpu_aia_put() local
[all …]
/linux/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()
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/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.c286 dsb(nsh); in __kvm_vcpu_run()
327 dsb(nsh); in __kvm_vcpu_run()
H A Dhost.S130 dsb nsh
H A Dmem_protect.c349 dsb(nsh); in __pkvm_prot_finalize()
/linux/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()
/linux/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/arch/arm64/kernel/
H A Drelocate_kernel.S80 dsb nsh
82 dsb nsh
H A Dhyp-stub.S175 dsb nsh
H A Dmte.c357 dsb(nsh); in mte_suspend_enter()
H A Dentry.S454 dsb nsh
636 dsb nsh
/linux/arch/arm64/include/asm/
H A Dtlbflush.h294 dsb(nsh); in local_flush_tlb_all()
333 dsb(nsh); in local_flush_tlb_page_nonotify()
342 dsb(nsh); in local_flush_tlb_page()
539 dsb(nsh); in local_flush_tlb_contpte()
H A Dsysreg.h1116 dsb nsh
/linux/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/net/nsh/
H A DMakefile2 obj-$(CONFIG_NET_NSH) += nsh.o
/linux/arch/arm64/mm/
H A Dproc.S187 dsb nsh
250 dsb nsh
485 dsb nsh
/linux/net/openvswitch/
H A Dflow_netlink.c1408 SW_FLOW_KEY_PUT(match, nsh.base.flags, in nsh_key_put_from_nlattr()
1410 SW_FLOW_KEY_PUT(match, nsh.base.ttl, in nsh_key_put_from_nlattr()
1412 SW_FLOW_KEY_PUT(match, nsh.base.mdtype, in nsh_key_put_from_nlattr()
1414 SW_FLOW_KEY_PUT(match, nsh.base.np, in nsh_key_put_from_nlattr()
1416 SW_FLOW_KEY_PUT(match, nsh.base.path_hdr, in nsh_key_put_from_nlattr()
1425 SW_FLOW_KEY_PUT(match, nsh.context[i], in nsh_key_put_from_nlattr()
1959 static int nsh_key_to_nlattr(const struct ovs_key_nsh *nsh, bool is_mask, in nsh_key_to_nlattr() argument
1968 if (nla_put(skb, OVS_NSH_KEY_ATTR_BASE, sizeof(nsh->base), &nsh->base)) in nsh_key_to_nlattr()
1971 if (is_mask || nsh->base.mdtype == NSH_M_TYPE1) { in nsh_key_to_nlattr()
1973 sizeof(nsh->context), nsh->context)) in nsh_key_to_nlattr()
[all …]
H A Dflow.h155 struct ovs_key_nsh nsh; /* network service header */ member
/linux/drivers/md/
H A Draid5.c2533 struct stripe_head *osh, *nsh; in resize_stripes() local
2554 nsh = alloc_stripe(sc, GFP_KERNEL, newsize, conf); in resize_stripes()
2555 if (!nsh) in resize_stripes()
2558 list_add(&nsh->lru, &newstripes); in resize_stripes()
2563 nsh = list_entry(newstripes.next, struct stripe_head, lru); in resize_stripes()
2564 list_del(&nsh->lru); in resize_stripes()
2565 free_stripe(sc, nsh); in resize_stripes()
2577 list_for_each_entry(nsh, &newstripes, lru) { in resize_stripes()
2588 nsh->pages[i] = osh->pages[i]; in resize_stripes()
2593 nsh->dev[i].page = osh->dev[i].page; in resize_stripes()
[all …]
/linux/arch/arm/kernel/
H A Dentry-common.S156 dsb nsh
/linux/drivers/perf/
H A Darm_spe_pmu.c671 dsb(nsh); in arm_spe_pmu_disable_and_drain_local()
691 dsb(nsh); in arm_spe_pmu_buf_get_fault_act()
/linux/drivers/hwtracing/coresight/
H A Dcoresight-trbe.c215 dsb(nsh); in trbe_drain_buffer()